From 0e3c198155c74cbfe3aa1c279caf3cc64bbe456f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Sep 2025 23:23:00 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +- src/increase/types/card_payment.py | 216 +++++++++++++++++---- src/increase/types/declined_transaction.py | 54 +++++- src/increase/types/pending_transaction.py | 54 +++++- src/increase/types/real_time_decision.py | 54 +++++- 5 files changed, 317 insertions(+), 65 deletions(-) diff --git a/.stats.yml b/.stats.yml index d265c5e45..776d32426 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c92eec60054dfe853fc3f3147d60329d0b24e65d6e29a707d17f1e8c1b44bd7b.yml -openapi_spec_hash: cbe8d84401e587a8ebfd5037cf2bf7be +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-beb9032c2ea0fb6fb46727701c252d27d8f2f77688472dc922fb10afb142dd1c.yml +openapi_spec_hash: dc5aa90744d4e0958a9a2d652adda0ba config_hash: 8dadd60eab7ab858cf06c6a8633ed9f3 diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index eb82c52b2..f73f50d33 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -276,7 +276,11 @@ class ElementCardAuthentication(BaseModel): class ElementCardAuthorizationAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -287,7 +291,11 @@ class ElementCardAuthorizationAdditionalAmountsClinic(BaseModel): class ElementCardAuthorizationAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -298,7 +306,11 @@ class ElementCardAuthorizationAdditionalAmountsDental(BaseModel): class ElementCardAuthorizationAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -309,7 +321,11 @@ class ElementCardAuthorizationAdditionalAmountsPrescription(BaseModel): class ElementCardAuthorizationAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -320,7 +336,11 @@ class ElementCardAuthorizationAdditionalAmountsSurcharge(BaseModel): class ElementCardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -331,7 +351,11 @@ class ElementCardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): class ElementCardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -342,7 +366,11 @@ class ElementCardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): class ElementCardAuthorizationAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -353,7 +381,11 @@ class ElementCardAuthorizationAdditionalAmountsTransit(BaseModel): class ElementCardAuthorizationAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -364,7 +396,11 @@ class ElementCardAuthorizationAdditionalAmountsUnknown(BaseModel): class ElementCardAuthorizationAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -844,7 +880,11 @@ class ElementCardAuthorizationExpiration(BaseModel): class ElementCardDeclineAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -855,7 +895,11 @@ class ElementCardDeclineAdditionalAmountsClinic(BaseModel): class ElementCardDeclineAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -866,7 +910,11 @@ class ElementCardDeclineAdditionalAmountsDental(BaseModel): class ElementCardDeclineAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -877,7 +925,11 @@ class ElementCardDeclineAdditionalAmountsPrescription(BaseModel): class ElementCardDeclineAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -888,7 +940,11 @@ class ElementCardDeclineAdditionalAmountsSurcharge(BaseModel): class ElementCardDeclineAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -899,7 +955,11 @@ class ElementCardDeclineAdditionalAmountsTotalCumulative(BaseModel): class ElementCardDeclineAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -910,7 +970,11 @@ class ElementCardDeclineAdditionalAmountsTotalHealthcare(BaseModel): class ElementCardDeclineAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -921,7 +985,11 @@ class ElementCardDeclineAdditionalAmountsTransit(BaseModel): class ElementCardDeclineAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -932,7 +1000,11 @@ class ElementCardDeclineAdditionalAmountsUnknown(BaseModel): class ElementCardDeclineAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1521,7 +1593,11 @@ class ElementCardFuelConfirmation(BaseModel): class ElementCardIncrementAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1532,7 +1608,11 @@ class ElementCardIncrementAdditionalAmountsClinic(BaseModel): class ElementCardIncrementAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1543,7 +1623,11 @@ class ElementCardIncrementAdditionalAmountsDental(BaseModel): class ElementCardIncrementAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1554,7 +1638,11 @@ class ElementCardIncrementAdditionalAmountsPrescription(BaseModel): class ElementCardIncrementAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1565,7 +1653,11 @@ class ElementCardIncrementAdditionalAmountsSurcharge(BaseModel): class ElementCardIncrementAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1576,7 +1668,11 @@ class ElementCardIncrementAdditionalAmountsTotalCumulative(BaseModel): class ElementCardIncrementAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1587,7 +1683,11 @@ class ElementCardIncrementAdditionalAmountsTotalHealthcare(BaseModel): class ElementCardIncrementAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1598,7 +1698,11 @@ class ElementCardIncrementAdditionalAmountsTransit(BaseModel): class ElementCardIncrementAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -1609,7 +1713,11 @@ class ElementCardIncrementAdditionalAmountsUnknown(BaseModel): class ElementCardIncrementAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3059,7 +3167,11 @@ class ElementCardSettlement(BaseModel): class ElementCardValidationAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3070,7 +3182,11 @@ class ElementCardValidationAdditionalAmountsClinic(BaseModel): class ElementCardValidationAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3081,7 +3197,11 @@ class ElementCardValidationAdditionalAmountsDental(BaseModel): class ElementCardValidationAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3092,7 +3212,11 @@ class ElementCardValidationAdditionalAmountsPrescription(BaseModel): class ElementCardValidationAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3103,7 +3227,11 @@ class ElementCardValidationAdditionalAmountsSurcharge(BaseModel): class ElementCardValidationAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3114,7 +3242,11 @@ class ElementCardValidationAdditionalAmountsTotalCumulative(BaseModel): class ElementCardValidationAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3125,7 +3257,11 @@ class ElementCardValidationAdditionalAmountsTotalHealthcare(BaseModel): class ElementCardValidationAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3136,7 +3272,11 @@ class ElementCardValidationAdditionalAmountsTransit(BaseModel): class ElementCardValidationAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -3147,7 +3287,11 @@ class ElementCardValidationAdditionalAmountsUnknown(BaseModel): class ElementCardValidationAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index 763d18f40..6acd90e51 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -124,7 +124,11 @@ class SourceACHDecline(BaseModel): class SourceCardDeclineAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -135,7 +139,11 @@ class SourceCardDeclineAdditionalAmountsClinic(BaseModel): class SourceCardDeclineAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -146,7 +154,11 @@ class SourceCardDeclineAdditionalAmountsDental(BaseModel): class SourceCardDeclineAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -157,7 +169,11 @@ class SourceCardDeclineAdditionalAmountsPrescription(BaseModel): class SourceCardDeclineAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -168,7 +184,11 @@ class SourceCardDeclineAdditionalAmountsSurcharge(BaseModel): class SourceCardDeclineAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -179,7 +199,11 @@ class SourceCardDeclineAdditionalAmountsTotalCumulative(BaseModel): class SourceCardDeclineAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -190,7 +214,11 @@ class SourceCardDeclineAdditionalAmountsTotalHealthcare(BaseModel): class SourceCardDeclineAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -201,7 +229,11 @@ class SourceCardDeclineAdditionalAmountsTransit(BaseModel): class SourceCardDeclineAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -212,7 +244,11 @@ class SourceCardDeclineAdditionalAmountsUnknown(BaseModel): class SourceCardDeclineAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index 42543f655..65fd7f687 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -74,7 +74,11 @@ class SourceACHTransferInstruction(BaseModel): class SourceCardAuthorizationAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -85,7 +89,11 @@ class SourceCardAuthorizationAdditionalAmountsClinic(BaseModel): class SourceCardAuthorizationAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -96,7 +104,11 @@ class SourceCardAuthorizationAdditionalAmountsDental(BaseModel): class SourceCardAuthorizationAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -107,7 +119,11 @@ class SourceCardAuthorizationAdditionalAmountsPrescription(BaseModel): class SourceCardAuthorizationAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -118,7 +134,11 @@ class SourceCardAuthorizationAdditionalAmountsSurcharge(BaseModel): class SourceCardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -129,7 +149,11 @@ class SourceCardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): class SourceCardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -140,7 +164,11 @@ class SourceCardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): class SourceCardAuthorizationAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -151,7 +179,11 @@ class SourceCardAuthorizationAdditionalAmountsTransit(BaseModel): class SourceCardAuthorizationAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -162,7 +194,11 @@ class SourceCardAuthorizationAdditionalAmountsUnknown(BaseModel): class SourceCardAuthorizationAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ diff --git a/src/increase/types/real_time_decision.py b/src/increase/types/real_time_decision.py index 1f73b1556..4090167e0 100644 --- a/src/increase/types/real_time_decision.py +++ b/src/increase/types/real_time_decision.py @@ -87,7 +87,11 @@ class CardAuthenticationChallenge(BaseModel): class CardAuthorizationAdditionalAmountsClinic(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -98,7 +102,11 @@ class CardAuthorizationAdditionalAmountsClinic(BaseModel): class CardAuthorizationAdditionalAmountsDental(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -109,7 +117,11 @@ class CardAuthorizationAdditionalAmountsDental(BaseModel): class CardAuthorizationAdditionalAmountsPrescription(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -120,7 +132,11 @@ class CardAuthorizationAdditionalAmountsPrescription(BaseModel): class CardAuthorizationAdditionalAmountsSurcharge(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -131,7 +147,11 @@ class CardAuthorizationAdditionalAmountsSurcharge(BaseModel): class CardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -142,7 +162,11 @@ class CardAuthorizationAdditionalAmountsTotalCumulative(BaseModel): class CardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -153,7 +177,11 @@ class CardAuthorizationAdditionalAmountsTotalHealthcare(BaseModel): class CardAuthorizationAdditionalAmountsTransit(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -164,7 +192,11 @@ class CardAuthorizationAdditionalAmountsTransit(BaseModel): class CardAuthorizationAdditionalAmountsUnknown(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ @@ -175,7 +207,11 @@ class CardAuthorizationAdditionalAmountsUnknown(BaseModel): class CardAuthorizationAdditionalAmountsVision(BaseModel): amount: int - """The amount in minor units of the `currency` field.""" + """The amount in minor units of the `currency` field. + + The amount is positive if it is added to the amount (such as an ATM surcharge + fee) and negative if it is subtracted from the amount (such as a discount). + """ currency: str """ From ef9a9642d949aa0ad1c922056c2573cad551343e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 23 Sep 2025 23:23:22 +0000 Subject: [PATCH 2/2] release: 0.337.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 b054780a6..cf2147414 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.336.0" + ".": "0.337.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ee4f0d7e..0bf09604d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.337.0 (2025-09-23) + +Full Changelog: [v0.336.0...v0.337.0](https://github.com/Increase/increase-python/compare/v0.336.0...v0.337.0) + +### Features + +* **api:** api update ([0e3c198](https://github.com/Increase/increase-python/commit/0e3c198155c74cbfe3aa1c279caf3cc64bbe456f)) + ## 0.336.0 (2025-09-23) Full Changelog: [v0.335.0...v0.336.0](https://github.com/Increase/increase-python/compare/v0.335.0...v0.336.0) diff --git a/pyproject.toml b/pyproject.toml index 70e30010e..67dcc8a75 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.336.0" +version = "0.337.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 66fcbcaba..9ea9b6303 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.336.0" # x-release-please-version +__version__ = "0.337.0" # x-release-please-version