diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3ca4935..c37434e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.109.0" + ".": "0.110.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index fcb6c73..52a1884 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ -configured_endpoints: 241 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ec147e2dbcccb835ada48a743903d43ab228330e476558ba74dc87f248345303.yml -openapi_spec_hash: 333fdaec2de515a123cc44401b432aa2 -config_hash: d48e9f65bcf642f92610034d6c43f07a +configured_endpoints: 240 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c9957e6ab1c9adef0dfb9a3956c8e7505a1661d22e79531eaee71b2a3a699b61.yml +openapi_spec_hash: 1190741469af674747df81908239a601 +config_hash: 82cb0fb1fae47b3467cd6da4273541de diff --git a/CHANGELOG.md b/CHANGELOG.md index e39b2ec..f6e924e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.110.0 (2026-04-13) + +Full Changelog: [v0.109.0...v0.110.0](https://github.com/Increase/increase-php/compare/v0.109.0...v0.110.0) + +### Features + +* **api:** api update ([0311b3c](https://github.com/Increase/increase-php/commit/0311b3cfa678e38fffb749f8d79a431f72a33f88)) + ## 0.109.0 (2026-04-13) Full Changelog: [v0.108.0...v0.109.0](https://github.com/Increase/increase-php/compare/v0.108.0...v0.109.0) diff --git a/README.md b/README.md index 135bfa6..8f34e62 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The REST API documentation can be found on [increase.com](https://increase.com/d ``` -composer require "increase/increase 0.109.0" +composer require "increase/increase 0.110.0" ``` diff --git a/src/ServiceContracts/Simulations/AccountTransfersContract.php b/src/ServiceContracts/Simulations/AccountTransfersContract.php deleted file mode 100644 index fb25751..0000000 --- a/src/ServiceContracts/Simulations/AccountTransfersContract.php +++ /dev/null @@ -1,28 +0,0 @@ - - * - * @throws APIException - */ - public function complete( - string $accountTransferID, - RequestOptions|array|null $requestOptions = null, - ): BaseResponse; -} diff --git a/src/Services/Simulations/AccountTransfersRawService.php b/src/Services/Simulations/AccountTransfersRawService.php deleted file mode 100644 index f297def..0000000 --- a/src/Services/Simulations/AccountTransfersRawService.php +++ /dev/null @@ -1,49 +0,0 @@ - - * - * @throws APIException - */ - public function complete( - string $accountTransferID, - RequestOptions|array|null $requestOptions = null - ): BaseResponse { - // @phpstan-ignore-next-line return.type - return $this->client->request( - method: 'post', - path: ['simulations/account_transfers/%1$s/complete', $accountTransferID], - options: $requestOptions, - convert: AccountTransfer::class, - ); - } -} diff --git a/src/Services/Simulations/AccountTransfersService.php b/src/Services/Simulations/AccountTransfersService.php deleted file mode 100644 index 2e726b1..0000000 --- a/src/Services/Simulations/AccountTransfersService.php +++ /dev/null @@ -1,50 +0,0 @@ -raw = new AccountTransfersRawService($client); - } - - /** - * @api - * - * If your account is configured to require approval for each transfer, this endpoint simulates the approval of an [Account Transfer](#account-transfers). You can also approve sandbox Account Transfers in the dashboard. This transfer must first have a `status` of `pending_approval`. - * - * @param string $accountTransferID the identifier of the Account Transfer you wish to complete - * @param RequestOpts|null $requestOptions - * - * @throws APIException - */ - public function complete( - string $accountTransferID, - RequestOptions|array|null $requestOptions = null - ): AccountTransfer { - // @phpstan-ignore-next-line argument.type - $response = $this->raw->complete($accountTransferID, requestOptions: $requestOptions); - - return $response->parse(); - } -} diff --git a/src/Services/SimulationsService.php b/src/Services/SimulationsService.php index 1eee0dc..6586446 100644 --- a/src/Services/SimulationsService.php +++ b/src/Services/SimulationsService.php @@ -7,7 +7,6 @@ use Increase\Client; use Increase\ServiceContracts\SimulationsContract; use Increase\Services\Simulations\AccountStatementsService; -use Increase\Services\Simulations\AccountTransfersService; use Increase\Services\Simulations\ACHTransfersService; use Increase\Services\Simulations\CardAuthenticationsService; use Increase\Services\Simulations\CardAuthorizationExpirationsService; @@ -52,11 +51,6 @@ final class SimulationsService implements SimulationsContract */ public InterestPaymentsService $interestPayments; - /** - * @api - */ - public AccountTransfersService $accountTransfers; - /** * @api */ @@ -219,7 +213,6 @@ public function __construct(private Client $client) { $this->raw = new SimulationsRawService($client); $this->interestPayments = new InterestPaymentsService($client); - $this->accountTransfers = new AccountTransfersService($client); $this->cardAuthorizations = new CardAuthorizationsService($client); $this->cardBalanceInquiries = new CardBalanceInquiriesService($client); $this->cardAuthorizationExpirations = new CardAuthorizationExpirationsService($client); diff --git a/src/Version.php b/src/Version.php index f7ce253..0b584d5 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Increase; // x-release-please-start-version -const VERSION = '0.109.0'; +const VERSION = '0.110.0'; // x-release-please-end diff --git a/tests/Services/Simulations/AccountTransfersTest.php b/tests/Services/Simulations/AccountTransfersTest.php deleted file mode 100644 index dd6f890..0000000 --- a/tests/Services/Simulations/AccountTransfersTest.php +++ /dev/null @@ -1,40 +0,0 @@ -client = $client; - } - - #[Test] - public function testComplete(): void - { - $result = $this->client->simulations->accountTransfers->complete( - 'account_transfer_7k9qe1ysdgqztnt63l7n' - ); - - // @phpstan-ignore-next-line method.alreadyNarrowedType - $this->assertInstanceOf(AccountTransfer::class, $result); - } -}