Skip to content

Commit 8224e78

Browse files
feat(api): api update
1 parent ee0a2fd commit 8224e78

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 227
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e32ea60c7028faaf552e2846c9a58f838b16922041d551664dcb1bfa343f38cf.yml
3-
openapi_spec_hash: 8d3acf560b411999fee65eedda9e6a73
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-9e8b4907003e0149ea10d8c95b2facfbc011f366cea40fe86b5f02940e68998d.yml
3+
openapi_spec_hash: e93ee5c48421038334b8961b303465d6
44
config_hash: ca52ca9a2968f330339fd50c1a386e05

src/increase/types/card_dispute.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2032,6 +2032,9 @@ class VisaUserSubmissionChargebackConsumerServicesNotAsDescribed(BaseModel):
20322032
cardholder_cancellation: VisaUserSubmissionChargebackConsumerServicesNotAsDescribedCardholderCancellation
20332033
"""Cardholder cancellation."""
20342034

2035+
explanation: str
2036+
"""Explanation of what was ordered and was not as described."""
2037+
20352038
merchant_resolution_attempted: Literal["attempted", "prohibited_by_local_law"]
20362039
"""Merchant resolution attempted.
20372040

src/increase/types/card_dispute_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,6 +1222,9 @@ class VisaConsumerServicesNotAsDescribed(TypedDict, total=False):
12221222
cardholder_cancellation: Required[VisaConsumerServicesNotAsDescribedCardholderCancellation]
12231223
"""Cardholder cancellation."""
12241224

1225+
explanation: Required[str]
1226+
"""Explanation of what was ordered and was not as described."""
1227+
12251228
merchant_resolution_attempted: Required[Literal["attempted", "prohibited_by_local_law"]]
12261229
"""Merchant resolution attempted.
12271230

src/increase/types/card_dispute_submit_user_submission_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,6 +1220,9 @@ class VisaChargebackConsumerServicesNotAsDescribed(TypedDict, total=False):
12201220
cardholder_cancellation: Required[VisaChargebackConsumerServicesNotAsDescribedCardholderCancellation]
12211221
"""Cardholder cancellation."""
12221222

1223+
explanation: Required[str]
1224+
"""Explanation of what was ordered and was not as described."""
1225+
12231226
merchant_resolution_attempted: Required[Literal["attempted", "prohibited_by_local_law"]]
12241227
"""Merchant resolution attempted.
12251228

tests/api_resources/test_card_disputes.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
251251
"canceled_at": parse_date("2019-12-27"),
252252
"reason": "x",
253253
},
254+
"explanation": "x",
254255
"merchant_resolution_attempted": "attempted",
255256
"received_at": parse_date("2019-12-27"),
256257
},
@@ -618,6 +619,7 @@ def test_method_submit_user_submission_with_all_params(self, client: Increase) -
618619
"canceled_at": parse_date("2019-12-27"),
619620
"reason": "x",
620621
},
622+
"explanation": "x",
621623
"merchant_resolution_attempted": "attempted",
622624
"received_at": parse_date("2019-12-27"),
623625
},
@@ -967,6 +969,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
967969
"canceled_at": parse_date("2019-12-27"),
968970
"reason": "x",
969971
},
972+
"explanation": "x",
970973
"merchant_resolution_attempted": "attempted",
971974
"received_at": parse_date("2019-12-27"),
972975
},
@@ -1334,6 +1337,7 @@ async def test_method_submit_user_submission_with_all_params(self, async_client:
13341337
"canceled_at": parse_date("2019-12-27"),
13351338
"reason": "x",
13361339
},
1340+
"explanation": "x",
13371341
"merchant_resolution_attempted": "attempted",
13381342
"received_at": parse_date("2019-12-27"),
13391343
},

0 commit comments

Comments
 (0)