diff --git a/.release-please-manifest.json b/.release-please-manifest.json index eb7cbd88c..1d84b5149 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.323.0" + ".": "0.324.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cb9d34e48..7efaaa57e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 217 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-10d8a2e25ff71893e14a81477ef7dbbf761af689e6ff074e13da10729a75cc9d.yml -openapi_spec_hash: 77a4f7c4b166e73a84c3b7f4e177631c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-94d559b14c3611637885b103aa75adb26dff816369b1fdb758440e288d1ea83b.yml +openapi_spec_hash: 4e257b20b410526bc54fd6ced9db3a5d config_hash: e1885b38eded054b77308a024c5d80cc diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c85c9076..6ffcd3055 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.324.0 (2025-09-09) + +Full Changelog: [v0.323.0...v0.324.0](https://github.com/Increase/increase-python/compare/v0.323.0...v0.324.0) + +### Features + +* **api:** api update ([e92e8b4](https://github.com/Increase/increase-python/commit/e92e8b43bc4207ffc6a6f4c2b53bef35865a4ae6)) + ## 0.323.0 (2025-09-09) Full Changelog: [v0.322.0...v0.323.0](https://github.com/Increase/increase-python/compare/v0.322.0...v0.323.0) diff --git a/pyproject.toml b/pyproject.toml index 2e3370f09..cfe0471c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.323.0" +version = "0.324.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 260e926a6..1c34ccef5 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.323.0" # x-release-please-version +__version__ = "0.324.0" # x-release-please-version diff --git a/src/increase/types/real_time_decision_action_params.py b/src/increase/types/real_time_decision_action_params.py index c237c1b8f..a1e1d2887 100644 --- a/src/increase/types/real_time_decision_action_params.py +++ b/src/increase/types/real_time_decision_action_params.py @@ -165,34 +165,6 @@ class CardAuthorization(TypedDict, total=False): decline. """ - decline_reason: Literal[ - "insufficient_funds", - "transaction_never_allowed", - "exceeds_approval_limit", - "card_temporarily_disabled", - "suspected_fraud", - "other", - ] - """The reason the card authorization was declined. - - This translates to a specific decline code that is sent to the card network. - This field is deprecated, please transition to using the `decline` object as - this field will be removed in a future release. - - - `insufficient_funds` - The cardholder does not have sufficient funds to cover - the transaction. The merchant may attempt to process the transaction again. - - `transaction_never_allowed` - This type of transaction is not allowed for this - card. This transaction should not be retried. - - `exceeds_approval_limit` - The transaction amount exceeds the cardholder's - approval limit. The merchant may attempt to process the transaction again. - - `card_temporarily_disabled` - The card has been temporarily disabled or not - yet activated. The merchant may attempt to process the transaction again. - - `suspected_fraud` - The transaction is suspected to be fraudulent. The - merchant may attempt to process the transaction again. - - `other` - The transaction was declined for another reason. The merchant may - attempt to process the transaction again. This should be used sparingly. - """ - class DigitalWalletAuthenticationSuccess(TypedDict, total=False): email: str diff --git a/tests/api_resources/test_real_time_decisions.py b/tests/api_resources/test_real_time_decisions.py index 90365816b..eae0309ae 100644 --- a/tests/api_resources/test_real_time_decisions.py +++ b/tests/api_resources/test_real_time_decisions.py @@ -77,7 +77,6 @@ def test_method_action_with_all_params(self, client: Increase) -> None: } }, "decline": {"reason": "insufficient_funds"}, - "decline_reason": "insufficient_funds", }, digital_wallet_authentication={ "result": "success", @@ -193,7 +192,6 @@ async def test_method_action_with_all_params(self, async_client: AsyncIncrease) } }, "decline": {"reason": "insufficient_funds"}, - "decline_reason": "insufficient_funds", }, digital_wallet_authentication={ "result": "success",