From b0d9d6a5ae79c8786f6f1e98ab07f7caea323d77 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 01:49:00 +0000 Subject: [PATCH 1/3] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 564ef9424..269d73dce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9a5905fe541badfa11ad0641e7aea625c9fb0bc59ba33b1d43d8e88cbbdd71b2.yml -openapi_spec_hash: 4347de40c3142cd56c2185aac9a6739e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml +openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 From a3265e7a7890d393b3e9e335a295b426b1c46a79 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:28:54 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/transaction.py | 17 +++++++++++++++++ src/increase/types/transaction_list_params.py | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 269d73dce..0b576c5e5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4ee4bd7629047dec495946c846442763038ad4cf85d4fd51c97df7efb047df15.yml -openapi_spec_hash: d123ec2ac3a99520926a3dd8d6a98074 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-289025fcb79a47841395734231b11fd75ad3d80dec533e0eb4533e6afaf82cdf.yml +openapi_spec_hash: 511ad2e7d8c798641f073775ccdab523 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index 38db4f4b2..d922d8722 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -63,6 +63,7 @@ "SourceRealTimePaymentsTransferAcknowledgement", "SourceSampleFunds", "SourceSwiftTransferIntention", + "SourceSwiftTransferReturn", "SourceWireTransferIntention", ] @@ -2348,6 +2349,11 @@ class SourceSwiftTransferIntention(BaseModel): """The identifier of the Swift Transfer that led to this Transaction.""" +class SourceSwiftTransferReturn(BaseModel): + transfer_id: str + """The identifier of the Swift Transfer that led to this Transaction.""" + + class SourceWireTransferIntention(BaseModel): account_number: str """The destination account number.""" @@ -2500,6 +2506,7 @@ class Source(BaseModel): "sample_funds", "wire_transfer_intention", "swift_transfer_intention", + "swift_transfer_return", "card_push_transfer_acceptance", "other", ] @@ -2571,6 +2578,8 @@ class Source(BaseModel): `wire_transfer_intention` object. - `swift_transfer_intention` - Swift Transfer Intention: details will be under the `swift_transfer_intention` object. + - `swift_transfer_return` - Swift Transfer Return: details will be under the + `swift_transfer_return` object. - `card_push_transfer_acceptance` - Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. - `other` - The Transaction was made for an undocumented or deprecated reason. @@ -2734,6 +2743,14 @@ class Source(BaseModel): equal to `swift_transfer_intention`. A Swift Transfer initiated via Increase. """ + swift_transfer_return: Optional[SourceSwiftTransferReturn] = None + """A Swift Transfer Return object. + + This field will be present in the JSON response if and only if `category` is + equal to `swift_transfer_return`. A Swift Transfer Return is created when a + Swift Transfer is returned by the receiving bank. + """ + wire_transfer_intention: Optional[SourceWireTransferIntention] = None """A Wire Transfer Intention object. diff --git a/src/increase/types/transaction_list_params.py b/src/increase/types/transaction_list_params.py index 6f94d99c2..e7f4a3fa4 100644 --- a/src/increase/types/transaction_list_params.py +++ b/src/increase/types/transaction_list_params.py @@ -70,6 +70,7 @@ class TransactionListParams(TypedDict, total=False): "sample_funds", "wire_transfer_intention", "swift_transfer_intention", + "swift_transfer_return", "card_push_transfer_acceptance", "other", ] From d5ab8048372bce284c86544ec7caa2cd1823695c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 20 Aug 2025 02:29:17 +0000 Subject: [PATCH 3/3] release: 0.293.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0c3706a77..db7ac1523 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.292.0" + ".": "0.293.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f134c73c..e02727349 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.293.0 (2025-08-20) + +Full Changelog: [v0.292.0...v0.293.0](https://github.com/Increase/increase-python/compare/v0.292.0...v0.293.0) + +### Features + +* **api:** api update ([a3265e7](https://github.com/Increase/increase-python/commit/a3265e7a7890d393b3e9e335a295b426b1c46a79)) + ## 0.292.0 (2025-08-20) Full Changelog: [v0.291.0...v0.292.0](https://github.com/Increase/increase-python/compare/v0.291.0...v0.292.0) diff --git a/pyproject.toml b/pyproject.toml index 0c9c7af4c..25b8df650 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.292.0" +version = "0.293.0" description = "The official Python library for the increase API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/increase/_version.py b/src/increase/_version.py index d0a7bf6b3..bd2e4e701 100644 --- a/src/increase/_version.py +++ b/src/increase/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "increase" -__version__ = "0.292.0" # x-release-please-version +__version__ = "0.293.0" # x-release-please-version