diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e5534a5d1..41a5b5529 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.255.0" + ".": "0.256.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 1a71796b1..246713324 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-96d05b8e37bf249bf8308adae52fd62efc5a37bf7dff2911bdfddb89c503bb30.yml -openapi_spec_hash: 35c0fded197228fc0680fe6ce04f6c82 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a027ea8bf72e85055306ceaf380c0311b8ed5e6e83962de0ccf48f62c85403fc.yml +openapi_spec_hash: 5a69ed697dee32af7deae0c6ebf27377 config_hash: 97774f946585cecb19181a1817870d0b diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b2f2133..521353934 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.256.0 (2025-06-26) + +Full Changelog: [v0.255.0...v0.256.0](https://github.com/Increase/increase-python/compare/v0.255.0...v0.256.0) + +### Features + +* **api:** api update ([73b7aa4](https://github.com/Increase/increase-python/commit/73b7aa47dae1e144bbe3692775a6942b25663c88)) +* **api:** api update ([e47b0b0](https://github.com/Increase/increase-python/commit/e47b0b050e5a0c22a58c43d143853bf1bfe39b9e)) + ## 0.255.0 (2025-06-25) Full Changelog: [v0.254.0...v0.255.0](https://github.com/Increase/increase-python/compare/v0.254.0...v0.255.0) diff --git a/pyproject.toml b/pyproject.toml index cfb831943..6058c39b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.255.0" +version = "0.256.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 f47493c39..691796c3c 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.255.0" # x-release-please-version +__version__ = "0.256.0" # x-release-please-version diff --git a/src/increase/resources/simulations/card_authorizations.py b/src/increase/resources/simulations/card_authorizations.py index 66912d863..708dee077 100644 --- a/src/increase/resources/simulations/card_authorizations.py +++ b/src/increase/resources/simulations/card_authorizations.py @@ -58,6 +58,7 @@ def create( "group_locked", "insufficient_funds", "cvv2_mismatch", + "pin_mismatch", "card_expiration_mismatch", "transaction_not_allowed", "breaches_limit", @@ -121,6 +122,7 @@ def create( - `insufficient_funds` - The Card's Account did not have a sufficient available balance. - `cvv2_mismatch` - The given CVV2 did not match the card's value. + - `pin_mismatch` - The given PIN did not match the card's value. - `card_expiration_mismatch` - The given expiration date did not match the card's value. Only applies when a CVV2 is present. - `transaction_not_allowed` - The attempted card transaction is not allowed per @@ -258,6 +260,7 @@ async def create( "group_locked", "insufficient_funds", "cvv2_mismatch", + "pin_mismatch", "card_expiration_mismatch", "transaction_not_allowed", "breaches_limit", @@ -321,6 +324,7 @@ async def create( - `insufficient_funds` - The Card's Account did not have a sufficient available balance. - `cvv2_mismatch` - The given CVV2 did not match the card's value. + - `pin_mismatch` - The given PIN did not match the card's value. - `card_expiration_mismatch` - The given expiration date did not match the card's value. Only applies when a CVV2 is present. - `transaction_not_allowed` - The attempted card transaction is not allowed per diff --git a/src/increase/resources/wire_transfers.py b/src/increase/resources/wire_transfers.py index bfa9cb500..6e961865d 100644 --- a/src/increase/resources/wire_transfers.py +++ b/src/increase/resources/wire_transfers.py @@ -54,6 +54,7 @@ def create( beneficiary_address_line2: str | NotGiven = NOT_GIVEN, beneficiary_address_line3: str | NotGiven = NOT_GIVEN, external_account_id: str | NotGiven = NOT_GIVEN, + inbound_wire_drawdown_request_id: str | NotGiven = NOT_GIVEN, originator_address_line1: str | NotGiven = NOT_GIVEN, originator_address_line2: str | NotGiven = NOT_GIVEN, originator_address_line3: str | NotGiven = NOT_GIVEN, @@ -92,6 +93,9 @@ def create( external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is provided, `account_number` and `routing_number` must be absent. + inbound_wire_drawdown_request_id: The ID of an Inbound Wire Drawdown Request in response to which this transfer is + being sent. + originator_address_line1: The originator's address line 1. This is only necessary if you're transferring from a commingled account. Otherwise, we'll use the associated entity's details. @@ -134,6 +138,7 @@ def create( "beneficiary_address_line2": beneficiary_address_line2, "beneficiary_address_line3": beneficiary_address_line3, "external_account_id": external_account_id, + "inbound_wire_drawdown_request_id": inbound_wire_drawdown_request_id, "originator_address_line1": originator_address_line1, "originator_address_line2": originator_address_line2, "originator_address_line3": originator_address_line3, @@ -371,6 +376,7 @@ async def create( beneficiary_address_line2: str | NotGiven = NOT_GIVEN, beneficiary_address_line3: str | NotGiven = NOT_GIVEN, external_account_id: str | NotGiven = NOT_GIVEN, + inbound_wire_drawdown_request_id: str | NotGiven = NOT_GIVEN, originator_address_line1: str | NotGiven = NOT_GIVEN, originator_address_line2: str | NotGiven = NOT_GIVEN, originator_address_line3: str | NotGiven = NOT_GIVEN, @@ -409,6 +415,9 @@ async def create( external_account_id: The ID of an External Account to initiate a transfer to. If this parameter is provided, `account_number` and `routing_number` must be absent. + inbound_wire_drawdown_request_id: The ID of an Inbound Wire Drawdown Request in response to which this transfer is + being sent. + originator_address_line1: The originator's address line 1. This is only necessary if you're transferring from a commingled account. Otherwise, we'll use the associated entity's details. @@ -451,6 +460,7 @@ async def create( "beneficiary_address_line2": beneficiary_address_line2, "beneficiary_address_line3": beneficiary_address_line3, "external_account_id": external_account_id, + "inbound_wire_drawdown_request_id": inbound_wire_drawdown_request_id, "originator_address_line1": originator_address_line1, "originator_address_line2": originator_address_line2, "originator_address_line3": originator_address_line3, diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 37c019e64..9793d7e1e 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -1071,6 +1071,7 @@ class ElementCardDecline(BaseModel): "group_locked", "insufficient_funds", "cvv2_mismatch", + "pin_mismatch", "card_expiration_mismatch", "transaction_not_allowed", "breaches_limit", @@ -1093,6 +1094,7 @@ class ElementCardDecline(BaseModel): - `insufficient_funds` - The Card's Account did not have a sufficient available balance. - `cvv2_mismatch` - The given CVV2 did not match the card's value. + - `pin_mismatch` - The given PIN did not match the card's value. - `card_expiration_mismatch` - The given expiration date did not match the card's value. Only applies when a CVV2 is present. - `transaction_not_allowed` - The attempted card transaction is not allowed per diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index 47a2968b2..7b0334515 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -519,6 +519,7 @@ class SourceCardDecline(BaseModel): "group_locked", "insufficient_funds", "cvv2_mismatch", + "pin_mismatch", "card_expiration_mismatch", "transaction_not_allowed", "breaches_limit", @@ -541,6 +542,7 @@ class SourceCardDecline(BaseModel): - `insufficient_funds` - The Card's Account did not have a sufficient available balance. - `cvv2_mismatch` - The given CVV2 did not match the card's value. + - `pin_mismatch` - The given PIN did not match the card's value. - `card_expiration_mismatch` - The given expiration date did not match the card's value. Only applies when a CVV2 is present. - `transaction_not_allowed` - The attempted card transaction is not allowed per diff --git a/src/increase/types/simulations/card_authorization_create_params.py b/src/increase/types/simulations/card_authorization_create_params.py index 5d0c2e506..83b5349b6 100644 --- a/src/increase/types/simulations/card_authorization_create_params.py +++ b/src/increase/types/simulations/card_authorization_create_params.py @@ -29,6 +29,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False): "group_locked", "insufficient_funds", "cvv2_mismatch", + "pin_mismatch", "card_expiration_mismatch", "transaction_not_allowed", "breaches_limit", @@ -53,6 +54,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False): - `insufficient_funds` - The Card's Account did not have a sufficient available balance. - `cvv2_mismatch` - The given CVV2 did not match the card's value. + - `pin_mismatch` - The given PIN did not match the card's value. - `card_expiration_mismatch` - The given expiration date did not match the card's value. Only applies when a CVV2 is present. - `transaction_not_allowed` - The attempted card transaction is not allowed per diff --git a/src/increase/types/wire_transfer.py b/src/increase/types/wire_transfer.py index 52e1b5178..969711df4 100644 --- a/src/increase/types/wire_transfer.py +++ b/src/increase/types/wire_transfer.py @@ -232,6 +232,12 @@ class WireTransfer(BaseModel): [idempotency](https://increase.com/documentation/idempotency-keys). """ + inbound_wire_drawdown_request_id: Optional[str] = None + """ + The ID of an Inbound Wire Drawdown Request in response to which this transfer + was sent. + """ + message_to_recipient: Optional[str] = None """The message that will show on the recipient's bank statement.""" diff --git a/src/increase/types/wire_transfer_create_params.py b/src/increase/types/wire_transfer_create_params.py index 894fb6349..16fb3ca6e 100644 --- a/src/increase/types/wire_transfer_create_params.py +++ b/src/increase/types/wire_transfer_create_params.py @@ -39,6 +39,12 @@ class WireTransferCreateParams(TypedDict, total=False): absent. """ + inbound_wire_drawdown_request_id: str + """ + The ID of an Inbound Wire Drawdown Request in response to which this transfer is + being sent. + """ + originator_address_line1: str """The originator's address line 1. diff --git a/tests/api_resources/test_wire_transfers.py b/tests/api_resources/test_wire_transfers.py index 4fa783c00..1208531c7 100644 --- a/tests/api_resources/test_wire_transfers.py +++ b/tests/api_resources/test_wire_transfers.py @@ -41,6 +41,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: beneficiary_address_line2="New York", beneficiary_address_line3="NY 10045", external_account_id="external_account_id", + inbound_wire_drawdown_request_id="inbound_wire_drawdown_request_id", originator_address_line1="x", originator_address_line2="x", originator_address_line3="x", @@ -265,6 +266,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) beneficiary_address_line2="New York", beneficiary_address_line3="NY 10045", external_account_id="external_account_id", + inbound_wire_drawdown_request_id="inbound_wire_drawdown_request_id", originator_address_line1="x", originator_address_line2="x", originator_address_line3="x",