From 8224e78bf5173b541cc36bdb79a8692f2714561f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 19:38:54 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/card_dispute.py | 3 +++ src/increase/types/card_dispute_create_params.py | 3 +++ .../types/card_dispute_submit_user_submission_params.py | 3 +++ tests/api_resources/test_card_disputes.py | 4 ++++ 5 files changed, 15 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a54aa529..ade5a460 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 227 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e32ea60c7028faaf552e2846c9a58f838b16922041d551664dcb1bfa343f38cf.yml -openapi_spec_hash: 8d3acf560b411999fee65eedda9e6a73 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9e8b4907003e0149ea10d8c95b2facfbc011f366cea40fe86b5f02940e68998d.yml +openapi_spec_hash: e93ee5c48421038334b8961b303465d6 config_hash: ca52ca9a2968f330339fd50c1a386e05 diff --git a/src/increase/types/card_dispute.py b/src/increase/types/card_dispute.py index a1a2a789..adc6f294 100644 --- a/src/increase/types/card_dispute.py +++ b/src/increase/types/card_dispute.py @@ -2032,6 +2032,9 @@ class VisaUserSubmissionChargebackConsumerServicesNotAsDescribed(BaseModel): cardholder_cancellation: VisaUserSubmissionChargebackConsumerServicesNotAsDescribedCardholderCancellation """Cardholder cancellation.""" + explanation: str + """Explanation of what was ordered and was not as described.""" + merchant_resolution_attempted: Literal["attempted", "prohibited_by_local_law"] """Merchant resolution attempted. diff --git a/src/increase/types/card_dispute_create_params.py b/src/increase/types/card_dispute_create_params.py index 5a90fd57..eca8fc70 100644 --- a/src/increase/types/card_dispute_create_params.py +++ b/src/increase/types/card_dispute_create_params.py @@ -1222,6 +1222,9 @@ class VisaConsumerServicesNotAsDescribed(TypedDict, total=False): cardholder_cancellation: Required[VisaConsumerServicesNotAsDescribedCardholderCancellation] """Cardholder cancellation.""" + explanation: Required[str] + """Explanation of what was ordered and was not as described.""" + merchant_resolution_attempted: Required[Literal["attempted", "prohibited_by_local_law"]] """Merchant resolution attempted. diff --git a/src/increase/types/card_dispute_submit_user_submission_params.py b/src/increase/types/card_dispute_submit_user_submission_params.py index 525a891b..ccb3fed2 100644 --- a/src/increase/types/card_dispute_submit_user_submission_params.py +++ b/src/increase/types/card_dispute_submit_user_submission_params.py @@ -1220,6 +1220,9 @@ class VisaChargebackConsumerServicesNotAsDescribed(TypedDict, total=False): cardholder_cancellation: Required[VisaChargebackConsumerServicesNotAsDescribedCardholderCancellation] """Cardholder cancellation.""" + explanation: Required[str] + """Explanation of what was ordered and was not as described.""" + merchant_resolution_attempted: Required[Literal["attempted", "prohibited_by_local_law"]] """Merchant resolution attempted. diff --git a/tests/api_resources/test_card_disputes.py b/tests/api_resources/test_card_disputes.py index 919ce4ef..0ce89508 100644 --- a/tests/api_resources/test_card_disputes.py +++ b/tests/api_resources/test_card_disputes.py @@ -251,6 +251,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None: "canceled_at": parse_date("2019-12-27"), "reason": "x", }, + "explanation": "x", "merchant_resolution_attempted": "attempted", "received_at": parse_date("2019-12-27"), }, @@ -618,6 +619,7 @@ def test_method_submit_user_submission_with_all_params(self, client: Increase) - "canceled_at": parse_date("2019-12-27"), "reason": "x", }, + "explanation": "x", "merchant_resolution_attempted": "attempted", "received_at": parse_date("2019-12-27"), }, @@ -967,6 +969,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) "canceled_at": parse_date("2019-12-27"), "reason": "x", }, + "explanation": "x", "merchant_resolution_attempted": "attempted", "received_at": parse_date("2019-12-27"), }, @@ -1334,6 +1337,7 @@ async def test_method_submit_user_submission_with_all_params(self, async_client: "canceled_at": parse_date("2019-12-27"), "reason": "x", }, + "explanation": "x", "merchant_resolution_attempted": "attempted", "received_at": parse_date("2019-12-27"), }, From 3904a88aa175099eb4bcd1d803edc42ac2374b9c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 7 Jan 2026 19:39:17 +0000 Subject: [PATCH 2/2] release: 0.422.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 d7ecdd05..6dc358e4 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.421.0" + ".": "0.422.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 402e849f..29596cac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.422.0 (2026-01-07) + +Full Changelog: [v0.421.0...v0.422.0](https://github.com/Increase/increase-python/compare/v0.421.0...v0.422.0) + +### Features + +* **api:** api update ([8224e78](https://github.com/Increase/increase-python/commit/8224e78bf5173b541cc36bdb79a8692f2714561f)) + ## 0.421.0 (2026-01-06) Full Changelog: [v0.420.0...v0.421.0](https://github.com/Increase/increase-python/compare/v0.420.0...v0.421.0) diff --git a/pyproject.toml b/pyproject.toml index f7d88d46..d3c55107 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.421.0" +version = "0.422.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 17799ef2..ea6c10c9 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.421.0" # x-release-please-version +__version__ = "0.422.0" # x-release-please-version