Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programmatic Sales integration removal #51

Merged
merged 15 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.4
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.6.0
with:
ref: ${{ github.head_ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: phpstan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.6.0

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.6.0

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3.1.0
uses: actions/checkout@v3.6.0
with:
ref: main

Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `iss-vendas` will be documented in this file.

## v0.0.14 - 2022-11-04

Programmatic Unit url fixes

## v0.0.13 - 2022-11-04

Programmatic Units refactor

## v0.0.12 - 2022-10-12

Programmatic unit update
Expand Down
5 changes: 0 additions & 5 deletions src/Contracts/Resources/Programmatic/SaleContract.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ interface SaleContract
*/
public const ENDPOINT_FIND_BY_UUID = self::ENDPOINT_PREFIX.'/%s';

/**
* @const string
*/
public const ENDPOINT_INTEGRATIONS = self::ENDPOINT_PREFIX.'/integrations';

/**
* @const string
*/
Expand Down
10 changes: 0 additions & 10 deletions src/Resources/Programmatic/Sale.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,6 @@ public function find(string $uuid): object
return $this->programmatic->vendas->request->get(vsprintf(self::ENDPOINT_FIND_BY_UUID, [$uuid]))->throw()->object();
}

/**
* @param array $query
*
* @return object
*/
public function integrations(array $query = []): object
{
return $this->programmatic->vendas->request->get(self::ENDPOINT_INTEGRATIONS, $query)->throw()->object();
}

/**
* @param string $uuid
* @param array $data
Expand Down
Loading