From 4a9d67754fef78e9124fe6f08e169db8377431d2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 19:23:22 +0000 Subject: [PATCH 1/5] feat(api): api update --- .stats.yml | 4 +-- .../ExportCreateParams/TransactionCsv.php | 25 ++----------------- tests/Services/ExportsTest.php | 1 - 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/.stats.yml b/.stats.yml index eaede9e..8254caf 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-42d3718c22feafafc0c3b9952574f79ed506e2fe6a3b336743d2cc3442d3455c.yml -openapi_spec_hash: 5ce48171c112d3c6addb850db1c9535d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-678bc51903293a8f061efcb7c431360a3e7b87ca7c5a3cf7ea8ea8f07926633d.yml +openapi_spec_hash: 5131d1a4954d2ff8790761438bb889fc config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/src/Exports/ExportCreateParams/TransactionCsv.php b/src/Exports/ExportCreateParams/TransactionCsv.php index b2a6e79..e0ca1ca 100644 --- a/src/Exports/ExportCreateParams/TransactionCsv.php +++ b/src/Exports/ExportCreateParams/TransactionCsv.php @@ -15,9 +15,7 @@ * @phpstan-import-type CreatedAtShape from \Increase\Exports\ExportCreateParams\TransactionCsv\CreatedAt * * @phpstan-type TransactionCsvShape = array{ - * accountID?: string|null, - * createdAt?: null|CreatedAt|CreatedAtShape, - * programID?: string|null, + * accountID?: string|null, createdAt?: null|CreatedAt|CreatedAtShape * } */ final class TransactionCsv implements BaseModel @@ -37,12 +35,6 @@ final class TransactionCsv implements BaseModel #[Optional('created_at')] public ?CreatedAt $createdAt; - /** - * Filter exported Transactions to the specified Program. - */ - #[Optional('program_id')] - public ?string $programID; - public function __construct() { $this->initialize(); @@ -57,14 +49,12 @@ public function __construct() */ public static function with( ?string $accountID = null, - CreatedAt|array|null $createdAt = null, - ?string $programID = null, + CreatedAt|array|null $createdAt = null ): self { $self = new self; null !== $accountID && $self['accountID'] = $accountID; null !== $createdAt && $self['createdAt'] = $createdAt; - null !== $programID && $self['programID'] = $programID; return $self; } @@ -92,15 +82,4 @@ public function withCreatedAt(CreatedAt|array $createdAt): self return $self; } - - /** - * Filter exported Transactions to the specified Program. - */ - public function withProgramID(string $programID): self - { - $self = clone $this; - $self['programID'] = $programID; - - return $self; - } } diff --git a/tests/Services/ExportsTest.php b/tests/Services/ExportsTest.php index b5a1b17..867a250 100644 --- a/tests/Services/ExportsTest.php +++ b/tests/Services/ExportsTest.php @@ -87,7 +87,6 @@ public function testCreateWithOptionalParams(): void 'onOrAfter' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'), 'onOrBefore' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'), ], - 'programID' => 'program_id', ], vendorCsv: [], ); From 784971597b134e7435b77212b41a9c4fee57f596 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 19:46:15 +0000 Subject: [PATCH 2/5] feat(api): api update --- .stats.yml | 4 +- src/Exports/ExportCreateParams/EntityCsv.php | 35 +-------- .../ExportCreateParams/EntityCsv/Status.php | 77 ------------------- .../EntityCsv/Status/In.php | 14 ---- tests/Services/ExportsTest.php | 2 +- 5 files changed, 6 insertions(+), 126 deletions(-) delete mode 100644 src/Exports/ExportCreateParams/EntityCsv/Status.php delete mode 100644 src/Exports/ExportCreateParams/EntityCsv/Status/In.php diff --git a/.stats.yml b/.stats.yml index 8254caf..59c0dc7 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-678bc51903293a8f061efcb7c431360a3e7b87ca7c5a3cf7ea8ea8f07926633d.yml -openapi_spec_hash: 5131d1a4954d2ff8790761438bb889fc +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9dec0094dc893c97344611be679e9ba11d0e4405538c4ac163633b48b4d3755d.yml +openapi_spec_hash: 00bca190205d5763c023911b5f013db3 config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/src/Exports/ExportCreateParams/EntityCsv.php b/src/Exports/ExportCreateParams/EntityCsv.php index 71ce737..cdbc9fd 100644 --- a/src/Exports/ExportCreateParams/EntityCsv.php +++ b/src/Exports/ExportCreateParams/EntityCsv.php @@ -4,29 +4,19 @@ namespace Increase\Exports\ExportCreateParams; -use Increase\Core\Attributes\Optional; use Increase\Core\Concerns\SdkModel; use Increase\Core\Contracts\BaseModel; -use Increase\Exports\ExportCreateParams\EntityCsv\Status; /** * Options for the created export. Required if `category` is equal to `entity_csv`. * - * @phpstan-import-type StatusShape from \Increase\Exports\ExportCreateParams\EntityCsv\Status - * - * @phpstan-type EntityCsvShape = array{status?: null|Status|StatusShape} + * @phpstan-type EntityCsvShape = array */ final class EntityCsv implements BaseModel { /** @use SdkModel */ use SdkModel; - /** - * Entity statuses to filter by. - */ - #[Optional] - public ?Status $status; - public function __construct() { $this->initialize(); @@ -36,28 +26,9 @@ public function __construct() * Construct an instance from the required parameters. * * You must use named parameters to construct any parameters with a default value. - * - * @param Status|StatusShape|null $status - */ - public static function with(Status|array|null $status = null): self - { - $self = new self; - - null !== $status && $self['status'] = $status; - - return $self; - } - - /** - * Entity statuses to filter by. - * - * @param Status|StatusShape $status */ - public function withStatus(Status|array $status): self + public static function with(): self { - $self = clone $this; - $self['status'] = $status; - - return $self; + return new self; } } diff --git a/src/Exports/ExportCreateParams/EntityCsv/Status.php b/src/Exports/ExportCreateParams/EntityCsv/Status.php deleted file mode 100644 index 68e0275..0000000 --- a/src/Exports/ExportCreateParams/EntityCsv/Status.php +++ /dev/null @@ -1,77 +0,0 @@ ->} - */ -final class Status implements BaseModel -{ - /** @use SdkModel */ - use SdkModel; - - /** - * Entity statuses to filter by. For GET requests, this should be encoded as a comma-delimited string, such as `?in=one,two,three`. - * - * @var list> $in - */ - #[Required(list: In::class)] - public array $in; - - /** - * `new Status()` is missing required properties by the API. - * - * To enforce required parameters use - * ``` - * Status::with(in: ...) - * ``` - * - * Otherwise ensure the following setters are called - * - * ``` - * (new Status)->withIn(...) - * ``` - */ - 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. - * - * @param list> $in - */ - public static function with(array $in): self - { - $self = new self; - - $self['in'] = $in; - - return $self; - } - - /** - * Entity statuses to filter by. For GET requests, this should be encoded as a comma-delimited string, such as `?in=one,two,three`. - * - * @param list> $in - */ - public function withIn(array $in): self - { - $self = clone $this; - $self['in'] = $in; - - return $self; - } -} diff --git a/src/Exports/ExportCreateParams/EntityCsv/Status/In.php b/src/Exports/ExportCreateParams/EntityCsv/Status/In.php deleted file mode 100644 index 41c215b..0000000 --- a/src/Exports/ExportCreateParams/EntityCsv/Status/In.php +++ /dev/null @@ -1,14 +0,0 @@ - new \DateTimeImmutable('2019-12-27T18:11:19.117Z'), ], ], - entityCsv: ['status' => ['in' => ['active']]], + entityCsv: [], fundingInstructions: ['accountNumberID' => 'account_number_id'], transactionCsv: [ 'accountID' => 'account_in71c4amph0vgo2qllky', From 3943f32095eb547c381ad43c8229333eba077031 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 20:33:26 +0000 Subject: [PATCH 3/5] chore(internal): php cs fixer should not be memory limited --- .php-cs-fixer.dist.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index e01ea3b..d46a37f 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -4,6 +4,8 @@ use PhpCsFixer\Finder; use PhpCsFixer\Runner\Parallel\ParallelConfigFactory; +ini_set('memory_limit', -1); + return (new Config) ->setParallelConfig(ParallelConfigFactory::detect()) ->setFinder(Finder::create()->in([__DIR__.'/src', __DIR__.'/tests'])) From ba4d459cd4eb63959d51b7a9884ccd9bd1d4fe80 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 23:35:48 +0000 Subject: [PATCH 4/5] feat(api): api update --- .stats.yml | 4 +-- src/Exports/ExportCreateParams/BalanceCsv.php | 25 ++----------------- tests/Services/ExportsTest.php | 1 - 3 files changed, 4 insertions(+), 26 deletions(-) diff --git a/.stats.yml b/.stats.yml index 59c0dc7..3faa674 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-9dec0094dc893c97344611be679e9ba11d0e4405538c4ac163633b48b4d3755d.yml -openapi_spec_hash: 00bca190205d5763c023911b5f013db3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c4cfc1e3f7a08dfe8be37b73f7da951caaff66d967512d5dd15956b908cda488.yml +openapi_spec_hash: 458dc62dd9bc06b1a103e010feca1d9f config_hash: 27e44ed36b9c5617b580ead7231a594a diff --git a/src/Exports/ExportCreateParams/BalanceCsv.php b/src/Exports/ExportCreateParams/BalanceCsv.php index 7defc70..4f97a44 100644 --- a/src/Exports/ExportCreateParams/BalanceCsv.php +++ b/src/Exports/ExportCreateParams/BalanceCsv.php @@ -15,9 +15,7 @@ * @phpstan-import-type CreatedAtShape from \Increase\Exports\ExportCreateParams\BalanceCsv\CreatedAt * * @phpstan-type BalanceCsvShape = array{ - * accountID?: string|null, - * createdAt?: null|CreatedAt|CreatedAtShape, - * programID?: string|null, + * accountID?: string|null, createdAt?: null|CreatedAt|CreatedAtShape * } */ final class BalanceCsv implements BaseModel @@ -37,12 +35,6 @@ final class BalanceCsv implements BaseModel #[Optional('created_at')] public ?CreatedAt $createdAt; - /** - * Filter exported Balances to the specified Program. - */ - #[Optional('program_id')] - public ?string $programID; - public function __construct() { $this->initialize(); @@ -57,14 +49,12 @@ public function __construct() */ public static function with( ?string $accountID = null, - CreatedAt|array|null $createdAt = null, - ?string $programID = null, + CreatedAt|array|null $createdAt = null ): self { $self = new self; null !== $accountID && $self['accountID'] = $accountID; null !== $createdAt && $self['createdAt'] = $createdAt; - null !== $programID && $self['programID'] = $programID; return $self; } @@ -92,15 +82,4 @@ public function withCreatedAt(CreatedAt|array $createdAt): self return $self; } - - /** - * Filter exported Balances to the specified Program. - */ - public function withProgramID(string $programID): self - { - $self = clone $this; - $self['programID'] = $programID; - - return $self; - } } diff --git a/tests/Services/ExportsTest.php b/tests/Services/ExportsTest.php index 281bb81..311ce37 100644 --- a/tests/Services/ExportsTest.php +++ b/tests/Services/ExportsTest.php @@ -66,7 +66,6 @@ public function testCreateWithOptionalParams(): void 'onOrAfter' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'), 'onOrBefore' => new \DateTimeImmutable('2019-12-27T18:11:19.117Z'), ], - 'programID' => 'program_id', ], bookkeepingAccountBalanceCsv: [ 'bookkeepingAccountID' => 'bookkeeping_account_id', From 00814aa0a7a16bfc9254d61930622ee58b7e0455 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Feb 2026 23:36:04 +0000 Subject: [PATCH 5/5] release: 0.17.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- src/Version.php | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b4e9013..6db19b9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.16.0" + ".": "0.17.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4095306..654be4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.17.0 (2026-02-02) + +Full Changelog: [v0.16.0...v0.17.0](https://github.com/Increase/increase-php/compare/v0.16.0...v0.17.0) + +### Features + +* **api:** api update ([ba4d459](https://github.com/Increase/increase-php/commit/ba4d459cd4eb63959d51b7a9884ccd9bd1d4fe80)) +* **api:** api update ([7849715](https://github.com/Increase/increase-php/commit/784971597b134e7435b77212b41a9c4fee57f596)) +* **api:** api update ([4a9d677](https://github.com/Increase/increase-php/commit/4a9d67754fef78e9124fe6f08e169db8377431d2)) + + +### Chores + +* **internal:** php cs fixer should not be memory limited ([3943f32](https://github.com/Increase/increase-php/commit/3943f32095eb547c381ad43c8229333eba077031)) + ## 0.16.0 (2026-01-31) Full Changelog: [v0.15.1...v0.16.0](https://github.com/Increase/increase-php/compare/v0.15.1...v0.16.0) diff --git a/README.md b/README.md index 0da4ab8..ea69f2b 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.16.0" +composer require "increase/increase 0.17.0" ``` diff --git a/src/Version.php b/src/Version.php index 1f8fabe..6ed2c2e 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace Increase; // x-release-please-start-version -const VERSION = '0.16.0'; +const VERSION = '0.17.0'; // x-release-please-end