diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 41099d3..ca2197d 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -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 }}" diff --git a/.github/workflows/php-cs-fixer.yml b/.github/workflows/php-cs-fixer.yml index e92e1e1..6f40ac8 100644 --- a/.github/workflows/php-cs-fixer.yml +++ b/.github/workflows/php-cs-fixer.yml @@ -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 }} diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index f5c07c2..50abeac 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -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 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 693961c..90fbf15 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -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 diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index ea9674f..b73eedb 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3.1.0 + uses: actions/checkout@v3.6.0 with: ref: main diff --git a/CHANGELOG.md b/CHANGELOG.md index fc5521e..ce24646 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/Contracts/Resources/Programmatic/SaleContract.php b/src/Contracts/Resources/Programmatic/SaleContract.php index 0533f67..d8b36b8 100644 --- a/src/Contracts/Resources/Programmatic/SaleContract.php +++ b/src/Contracts/Resources/Programmatic/SaleContract.php @@ -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 */ diff --git a/src/Resources/Programmatic/Sale.php b/src/Resources/Programmatic/Sale.php index c5d3bb5..a35fbb4 100644 --- a/src/Resources/Programmatic/Sale.php +++ b/src/Resources/Programmatic/Sale.php @@ -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