diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 478aa79df..cd23ac9ab 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.202.0" + ".": "0.203.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 9bb4654e7..0d44f79e9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ecd02bb92f99f15ee369204923a50283b42c9f2e46ed88e437771916e8495214.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9321195a045645c8811a82a028c4dfa4d365efbe1dfe47107a4a5b23679609cd.yml diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d0170b02..020f0311b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.203.0 (2025-03-04) + +Full Changelog: [v0.202.0...v0.203.0](https://github.com/Increase/increase-python/compare/v0.202.0...v0.203.0) + +### Features + +* **api:** api update ([#1008](https://github.com/Increase/increase-python/issues/1008)) ([7631ad2](https://github.com/Increase/increase-python/commit/7631ad24981d11fda220363286ff7dfbba74e300)) + ## 0.202.0 (2025-03-04) Full Changelog: [v0.201.0...v0.202.0](https://github.com/Increase/increase-python/compare/v0.201.0...v0.202.0) diff --git a/pyproject.toml b/pyproject.toml index 6f0f93d58..9a6066869 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.202.0" +version = "0.203.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 417e99b03..e432941ce 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.202.0" # x-release-please-version +__version__ = "0.203.0" # x-release-please-version diff --git a/src/increase/resources/simulations/card_authorizations.py b/src/increase/resources/simulations/card_authorizations.py index 2ff7b86d7..81fc40c65 100644 --- a/src/increase/resources/simulations/card_authorizations.py +++ b/src/increase/resources/simulations/card_authorizations.py @@ -55,6 +55,7 @@ def create( decline_reason: Literal[ "account_closed", "card_not_active", + "card_canceled", "physical_card_not_active", "entity_not_active", "group_locked", @@ -114,6 +115,7 @@ def create( - `account_closed` - The account has been closed. - `card_not_active` - The Card was not active. + - `card_canceled` - The Card has been canceled. - `physical_card_not_active` - The Physical Card was not active. - `entity_not_active` - The account's entity was not active. - `group_locked` - The account was inactive. @@ -245,6 +247,7 @@ async def create( decline_reason: Literal[ "account_closed", "card_not_active", + "card_canceled", "physical_card_not_active", "entity_not_active", "group_locked", @@ -304,6 +307,7 @@ async def create( - `account_closed` - The account has been closed. - `card_not_active` - The Card was not active. + - `card_canceled` - The Card has been canceled. - `physical_card_not_active` - The Physical Card was not active. - `entity_not_active` - The account's entity was not active. - `group_locked` - The account was inactive. diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 236e444fd..ffe464848 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -1039,6 +1039,7 @@ class ElementCardDecline(BaseModel): reason: Literal[ "account_closed", "card_not_active", + "card_canceled", "physical_card_not_active", "entity_not_active", "group_locked", @@ -1058,6 +1059,7 @@ class ElementCardDecline(BaseModel): - `account_closed` - The account has been closed. - `card_not_active` - The Card was not active. + - `card_canceled` - The Card has been canceled. - `physical_card_not_active` - The Physical Card was not active. - `entity_not_active` - The account's entity was not active. - `group_locked` - The account was inactive. diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index 8faa51eb3..246058e02 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -500,6 +500,7 @@ class SourceCardDecline(BaseModel): reason: Literal[ "account_closed", "card_not_active", + "card_canceled", "physical_card_not_active", "entity_not_active", "group_locked", @@ -519,6 +520,7 @@ class SourceCardDecline(BaseModel): - `account_closed` - The account has been closed. - `card_not_active` - The Card was not active. + - `card_canceled` - The Card has been canceled. - `physical_card_not_active` - The Physical Card was not active. - `entity_not_active` - The account's entity was not active. - `group_locked` - The account was inactive. diff --git a/src/increase/types/simulations/card_authorization_create_params.py b/src/increase/types/simulations/card_authorization_create_params.py index 323a950b4..29203d2ae 100644 --- a/src/increase/types/simulations/card_authorization_create_params.py +++ b/src/increase/types/simulations/card_authorization_create_params.py @@ -23,6 +23,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False): decline_reason: Literal[ "account_closed", "card_not_active", + "card_canceled", "physical_card_not_active", "entity_not_active", "group_locked", @@ -44,6 +45,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False): - `account_closed` - The account has been closed. - `card_not_active` - The Card was not active. + - `card_canceled` - The Card has been canceled. - `physical_card_not_active` - The Physical Card was not active. - `entity_not_active` - The account's entity was not active. - `group_locked` - The account was inactive.