diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a36746b..caf5ca3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.25.0" + ".": "0.26.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index ce6e103..1b4f11d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 232 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aad9dbf54c66e9aa31deefc9ea241e0c1c2155207f61d606e94478bb5d650c38.yml -openapi_spec_hash: f5e641b92f8a3feaefad8bdbc278db77 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a466a501f72055942acea051bd2b1c735b70d65f3dd2710c5484e6125c8b640d.yml +openapi_spec_hash: d68789006ab658b380a02da2f03599b4 config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/CHANGELOG.md b/CHANGELOG.md index 56682a7..76d35a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.26.0 (2026-02-05) + +Full Changelog: [v0.25.0...v0.26.0](https://github.com/Increase/increase-php/compare/v0.25.0...v0.26.0) + +### Features + +* **api:** api update ([b675252](https://github.com/Increase/increase-php/commit/b6752520e42b304bcc2e32d6fbbd2bd93ddacd35)) + ## 0.25.0 (2026-02-05) Full Changelog: [v0.24.0...v0.25.0](https://github.com/Increase/increase-php/compare/v0.24.0...v0.25.0) diff --git a/README.md b/README.md index f1a990f..34c2a6d 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.25.0" +composer require "increase/increase 0.26.0" ``` diff --git a/src/PendingTransactions/PendingTransaction/Source.php b/src/PendingTransactions/PendingTransaction/Source.php index 1ce1757..ea4d439 100644 --- a/src/PendingTransactions/PendingTransaction/Source.php +++ b/src/PendingTransactions/PendingTransaction/Source.php @@ -10,7 +10,6 @@ use Increase\PendingTransactions\PendingTransaction\Source\AccountTransferInstruction; use Increase\PendingTransactions\PendingTransaction\Source\ACHTransferInstruction; use Increase\PendingTransactions\PendingTransaction\Source\BlockchainOfframpTransferInstruction; -use Increase\PendingTransactions\PendingTransaction\Source\BlockchainOfframpTransferIntention; use Increase\PendingTransactions\PendingTransaction\Source\BlockchainOnrampTransferInstruction; use Increase\PendingTransactions\PendingTransaction\Source\CardAuthorization; use Increase\PendingTransactions\PendingTransaction\Source\CardPushTransferInstruction; @@ -31,7 +30,6 @@ * @phpstan-import-type AccountTransferInstructionShape from \Increase\PendingTransactions\PendingTransaction\Source\AccountTransferInstruction * @phpstan-import-type ACHTransferInstructionShape from \Increase\PendingTransactions\PendingTransaction\Source\ACHTransferInstruction * @phpstan-import-type BlockchainOfframpTransferInstructionShape from \Increase\PendingTransactions\PendingTransaction\Source\BlockchainOfframpTransferInstruction - * @phpstan-import-type BlockchainOfframpTransferIntentionShape from \Increase\PendingTransactions\PendingTransaction\Source\BlockchainOfframpTransferIntention * @phpstan-import-type BlockchainOnrampTransferInstructionShape from \Increase\PendingTransactions\PendingTransaction\Source\BlockchainOnrampTransferInstruction * @phpstan-import-type CardAuthorizationShape from \Increase\PendingTransactions\PendingTransaction\Source\CardAuthorization * @phpstan-import-type CardPushTransferInstructionShape from \Increase\PendingTransactions\PendingTransaction\Source\CardPushTransferInstruction @@ -49,7 +47,6 @@ * accountTransferInstruction: null|AccountTransferInstruction|AccountTransferInstructionShape, * achTransferInstruction: null|ACHTransferInstruction|ACHTransferInstructionShape, * blockchainOfframpTransferInstruction: null|BlockchainOfframpTransferInstruction|BlockchainOfframpTransferInstructionShape, - * blockchainOfframpTransferIntention: null|BlockchainOfframpTransferIntention|BlockchainOfframpTransferIntentionShape, * blockchainOnrampTransferInstruction: null|BlockchainOnrampTransferInstruction|BlockchainOnrampTransferInstructionShape, * cardAuthorization: null|CardAuthorization|CardAuthorizationShape, * cardPushTransferInstruction: null|CardPushTransferInstruction|CardPushTransferInstructionShape, @@ -89,12 +86,6 @@ final class Source implements BaseModel #[Required('blockchain_offramp_transfer_instruction')] public ?BlockchainOfframpTransferInstruction $blockchainOfframpTransferInstruction; - /** - * A Blockchain Off-Ramp Transfer Intention object. This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer_intention`. - */ - #[Required('blockchain_offramp_transfer_intention')] - public ?BlockchainOfframpTransferIntention $blockchainOfframpTransferIntention; - /** * A Blockchain On-Ramp Transfer Instruction object. This field will be present in the JSON response if and only if `category` is equal to `blockchain_onramp_transfer_instruction`. */ @@ -192,7 +183,6 @@ final class Source implements BaseModel * accountTransferInstruction: ..., * achTransferInstruction: ..., * blockchainOfframpTransferInstruction: ..., - * blockchainOfframpTransferIntention: ..., * blockchainOnrampTransferInstruction: ..., * cardAuthorization: ..., * cardPushTransferInstruction: ..., @@ -217,7 +207,6 @@ final class Source implements BaseModel * ->withAccountTransferInstruction(...) * ->withACHTransferInstruction(...) * ->withBlockchainOfframpTransferInstruction(...) - * ->withBlockchainOfframpTransferIntention(...) * ->withBlockchainOnrampTransferInstruction(...) * ->withCardAuthorization(...) * ->withCardPushTransferInstruction(...) @@ -247,7 +236,6 @@ public function __construct() * @param AccountTransferInstruction|AccountTransferInstructionShape|null $accountTransferInstruction * @param ACHTransferInstruction|ACHTransferInstructionShape|null $achTransferInstruction * @param BlockchainOfframpTransferInstruction|BlockchainOfframpTransferInstructionShape|null $blockchainOfframpTransferInstruction - * @param BlockchainOfframpTransferIntention|BlockchainOfframpTransferIntentionShape|null $blockchainOfframpTransferIntention * @param BlockchainOnrampTransferInstruction|BlockchainOnrampTransferInstructionShape|null $blockchainOnrampTransferInstruction * @param CardAuthorization|CardAuthorizationShape|null $cardAuthorization * @param CardPushTransferInstruction|CardPushTransferInstructionShape|null $cardPushTransferInstruction @@ -267,7 +255,6 @@ public static function with( AccountTransferInstruction|array|null $accountTransferInstruction, ACHTransferInstruction|array|null $achTransferInstruction, BlockchainOfframpTransferInstruction|array|null $blockchainOfframpTransferInstruction, - BlockchainOfframpTransferIntention|array|null $blockchainOfframpTransferIntention, BlockchainOnrampTransferInstruction|array|null $blockchainOnrampTransferInstruction, CardAuthorization|array|null $cardAuthorization, CardPushTransferInstruction|array|null $cardPushTransferInstruction, @@ -288,7 +275,6 @@ public static function with( $self['accountTransferInstruction'] = $accountTransferInstruction; $self['achTransferInstruction'] = $achTransferInstruction; $self['blockchainOfframpTransferInstruction'] = $blockchainOfframpTransferInstruction; - $self['blockchainOfframpTransferIntention'] = $blockchainOfframpTransferIntention; $self['blockchainOnrampTransferInstruction'] = $blockchainOnrampTransferInstruction; $self['cardAuthorization'] = $cardAuthorization; $self['cardPushTransferInstruction'] = $cardPushTransferInstruction; @@ -349,20 +335,6 @@ public function withBlockchainOfframpTransferInstruction( return $self; } - /** - * A Blockchain Off-Ramp Transfer Intention object. This field will be present in the JSON response if and only if `category` is equal to `blockchain_offramp_transfer_intention`. - * - * @param BlockchainOfframpTransferIntention|BlockchainOfframpTransferIntentionShape|null $blockchainOfframpTransferIntention - */ - public function withBlockchainOfframpTransferIntention( - BlockchainOfframpTransferIntention|array|null $blockchainOfframpTransferIntention, - ): self { - $self = clone $this; - $self['blockchainOfframpTransferIntention'] = $blockchainOfframpTransferIntention; - - return $self; - } - /** * A Blockchain On-Ramp Transfer Instruction object. This field will be present in the JSON response if and only if `category` is equal to `blockchain_onramp_transfer_instruction`. * diff --git a/src/PendingTransactions/PendingTransaction/Source/BlockchainOfframpTransferIntention.php b/src/PendingTransactions/PendingTransaction/Source/BlockchainOfframpTransferIntention.php deleted file mode 100644 index cdae76e..0000000 --- a/src/PendingTransactions/PendingTransaction/Source/BlockchainOfframpTransferIntention.php +++ /dev/null @@ -1,97 +0,0 @@ - */ - use SdkModel; - - /** - * The identifier of the Blockchain Address the funds were received at. - */ - #[Required('source_blockchain_address_id')] - public string $sourceBlockchainAddressID; - - /** - * The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction. - */ - #[Required('transfer_id')] - public string $transferID; - - /** - * `new BlockchainOfframpTransferIntention()` is missing required properties by the API. - * - * To enforce required parameters use - * ``` - * BlockchainOfframpTransferIntention::with( - * sourceBlockchainAddressID: ..., transferID: ... - * ) - * ``` - * - * Otherwise ensure the following setters are called - * - * ``` - * (new BlockchainOfframpTransferIntention) - * ->withSourceBlockchainAddressID(...) - * ->withTransferID(...) - * ``` - */ - public function __construct() - { - $this->initialize(); - } - - /** - * Construct an instance from the required parameters. - * - * You must use named parameters to construct any parameters with a default value. - */ - public static function with( - string $sourceBlockchainAddressID, - string $transferID - ): self { - $self = new self; - - $self['sourceBlockchainAddressID'] = $sourceBlockchainAddressID; - $self['transferID'] = $transferID; - - return $self; - } - - /** - * The identifier of the Blockchain Address the funds were received at. - */ - public function withSourceBlockchainAddressID( - string $sourceBlockchainAddressID - ): self { - $self = clone $this; - $self['sourceBlockchainAddressID'] = $sourceBlockchainAddressID; - - return $self; - } - - /** - * The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction. - */ - public function withTransferID(string $transferID): self - { - $self = clone $this; - $self['transferID'] = $transferID; - - return $self; - } -} diff --git a/src/PendingTransactions/PendingTransaction/Source/Category.php b/src/PendingTransactions/PendingTransaction/Source/Category.php index e932dda..641d62d 100644 --- a/src/PendingTransactions/PendingTransaction/Source/Category.php +++ b/src/PendingTransactions/PendingTransaction/Source/Category.php @@ -39,7 +39,5 @@ enum Category: string case BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = 'blockchain_offramp_transfer_instruction'; - case BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION = 'blockchain_offramp_transfer_intention'; - case OTHER = 'other'; } diff --git a/src/PendingTransactions/PendingTransactionListParams/Category/In.php b/src/PendingTransactions/PendingTransactionListParams/Category/In.php index 1ebbda3..8bc6116 100644 --- a/src/PendingTransactions/PendingTransactionListParams/Category/In.php +++ b/src/PendingTransactions/PendingTransactionListParams/Category/In.php @@ -36,7 +36,5 @@ enum In: string case BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = 'blockchain_offramp_transfer_instruction'; - case BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION = 'blockchain_offramp_transfer_intention'; - case OTHER = 'other'; } diff --git a/src/Version.php b/src/Version.php index dd80a90..5fb94f0 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Increase; // x-release-please-start-version -const VERSION = '0.25.0'; +const VERSION = '0.26.0'; // x-release-please-end