diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f8e2177..f24634e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.81.0" + ".": "0.82.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 8e3e051..e317ba8 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f3d22401feb4671870673cb67688b163ee7f26acb6d2f89dcf79b26b0675523f.yml -openapi_spec_hash: 4d6dbce33f5de203d92df4c20a957665 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a8fb0a78ec74e41f3c1f5d8d455b1496d567948e3a7a3ae375338173ced538e.yml +openapi_spec_hash: 6dbffca55fa0226c3603ee180594bd2b config_hash: 25d7d7aa4882db6189b4b53e8e249e80 diff --git a/CHANGELOG.md b/CHANGELOG.md index fe46ee0..aafe488 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.82.0 (2026-03-19) + +Full Changelog: [v0.81.0...v0.82.0](https://github.com/Increase/increase-php/compare/v0.81.0...v0.82.0) + +### Features + +* **api:** api update ([6d04d30](https://github.com/Increase/increase-php/commit/6d04d301cf15058399a963e3e123c0b0fbba55eb)) + ## 0.81.0 (2026-03-19) Full Changelog: [v0.80.0...v0.81.0](https://github.com/Increase/increase-php/compare/v0.80.0...v0.81.0) diff --git a/README.md b/README.md index 4550dac..a8bb022 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.81.0" +composer require "increase/increase 0.82.0" ``` diff --git a/src/FednowTransfers/FednowTransferCreateParams.php b/src/FednowTransfers/FednowTransferCreateParams.php index c9d95b9..0be2e81 100644 --- a/src/FednowTransfers/FednowTransferCreateParams.php +++ b/src/FednowTransfers/FednowTransferCreateParams.php @@ -21,7 +21,6 @@ * @phpstan-import-type DebtorAddressShape from \Increase\FednowTransfers\FednowTransferCreateParams\DebtorAddress * * @phpstan-type FednowTransferCreateParamsShape = array{ - * accountID: string, * amount: int, * creditorName: string, * debtorName: string, @@ -41,12 +40,6 @@ final class FednowTransferCreateParams implements BaseModel use SdkModel; use SdkParams; - /** - * The identifier for the account that will send the transfer. - */ - #[Required('account_id')] - public string $accountID; - /** * The amount, in minor units, to send to the creditor. */ @@ -119,7 +112,6 @@ final class FednowTransferCreateParams implements BaseModel * To enforce required parameters use * ``` * FednowTransferCreateParams::with( - * accountID: ..., * amount: ..., * creditorName: ..., * debtorName: ..., @@ -132,7 +124,6 @@ final class FednowTransferCreateParams implements BaseModel * * ``` * (new FednowTransferCreateParams) - * ->withAccountID(...) * ->withAmount(...) * ->withCreditorName(...) * ->withDebtorName(...) @@ -154,7 +145,6 @@ public function __construct() * @param DebtorAddress|DebtorAddressShape|null $debtorAddress */ public static function with( - string $accountID, int $amount, string $creditorName, string $debtorName, @@ -169,7 +159,6 @@ public static function with( ): self { $self = new self; - $self['accountID'] = $accountID; $self['amount'] = $amount; $self['creditorName'] = $creditorName; $self['debtorName'] = $debtorName; @@ -186,17 +175,6 @@ public static function with( return $self; } - /** - * The identifier for the account that will send the transfer. - */ - public function withAccountID(string $accountID): self - { - $self = clone $this; - $self['accountID'] = $accountID; - - return $self; - } - /** * The amount, in minor units, to send to the creditor. */ diff --git a/src/ServiceContracts/FednowTransfersContract.php b/src/ServiceContracts/FednowTransfersContract.php index 45d5587..db182b9 100644 --- a/src/ServiceContracts/FednowTransfersContract.php +++ b/src/ServiceContracts/FednowTransfersContract.php @@ -25,7 +25,6 @@ interface FednowTransfersContract /** * @api * - * @param string $accountID the identifier for the account that will send the transfer * @param int $amount the amount, in minor units, to send to the creditor * @param string $creditorName the creditor's name * @param string $debtorName the debtor's name @@ -42,7 +41,6 @@ interface FednowTransfersContract * @throws APIException */ public function create( - string $accountID, int $amount, string $creditorName, string $debtorName, diff --git a/src/Services/FednowTransfersRawService.php b/src/Services/FednowTransfersRawService.php index 8e29974..a6d1fd3 100644 --- a/src/Services/FednowTransfersRawService.php +++ b/src/Services/FednowTransfersRawService.php @@ -40,7 +40,6 @@ public function __construct(private Client $client) {} * Create a FedNow Transfer * * @param array{ - * accountID: string, * amount: int, * creditorName: string, * debtorName: string, diff --git a/src/Services/FednowTransfersService.php b/src/Services/FednowTransfersService.php index 3dc8fa3..a91c077 100644 --- a/src/Services/FednowTransfersService.php +++ b/src/Services/FednowTransfersService.php @@ -43,7 +43,6 @@ public function __construct(private Client $client) * * Create a FedNow Transfer * - * @param string $accountID the identifier for the account that will send the transfer * @param int $amount the amount, in minor units, to send to the creditor * @param string $creditorName the creditor's name * @param string $debtorName the debtor's name @@ -60,7 +59,6 @@ public function __construct(private Client $client) * @throws APIException */ public function create( - string $accountID, int $amount, string $creditorName, string $debtorName, @@ -76,7 +74,6 @@ public function create( ): FednowTransfer { $params = Util::removeNulls( [ - 'accountID' => $accountID, 'amount' => $amount, 'creditorName' => $creditorName, 'debtorName' => $debtorName, diff --git a/src/Version.php b/src/Version.php index 362c1e5..8ebbcad 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Increase; // x-release-please-start-version -const VERSION = '0.81.0'; +const VERSION = '0.82.0'; // x-release-please-end diff --git a/tests/Services/FednowTransfersTest.php b/tests/Services/FednowTransfersTest.php index 6e01330..e8437fe 100644 --- a/tests/Services/FednowTransfersTest.php +++ b/tests/Services/FednowTransfersTest.php @@ -32,7 +32,6 @@ protected function setUp(): void public function testCreate(): void { $result = $this->client->fednowTransfers->create( - accountID: 'account_in71c4amph0vgo2qllky', amount: 100, creditorName: 'Ian Crease', debtorName: 'National Phonograph Company', @@ -48,7 +47,6 @@ public function testCreate(): void public function testCreateWithOptionalParams(): void { $result = $this->client->fednowTransfers->create( - accountID: 'account_in71c4amph0vgo2qllky', amount: 100, creditorName: 'Ian Crease', debtorName: 'National Phonograph Company',