diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b65ebe518..f124d47b5 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.357.0" + ".": "0.358.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cc5e6cfd0..cce29e424 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 220 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-20e8d84deba6f3f35ffb7e8ad746f470aa7acbfa55d98bc7dcb931a768193243.yml -openapi_spec_hash: 7a807bc7bc882d53dc1df541c1ee0495 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-35cc701c6ebaf8655f27698ffe4994ae7fa9dd843a66ea241f5d16e6c821dd66.yml +openapi_spec_hash: 456373dd9bda8b3aee816045915f22a0 config_hash: f0b80170c2ea09811aeae3f1e94bc422 diff --git a/CHANGELOG.md b/CHANGELOG.md index 77ea336c9..65118b86b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.358.0 (2025-10-14) + +Full Changelog: [v0.357.0...v0.358.0](https://github.com/Increase/increase-python/compare/v0.357.0...v0.358.0) + +### Features + +* **api:** api update ([45dd4af](https://github.com/Increase/increase-python/commit/45dd4afcccc4f5465ef14b44aa80f5375098eaa8)) + ## 0.357.0 (2025-10-11) Full Changelog: [v0.356.0...v0.357.0](https://github.com/Increase/increase-python/compare/v0.356.0...v0.357.0) diff --git a/pyproject.toml b/pyproject.toml index 842d9db0c..a39586fbf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.357.0" +version = "0.358.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 1b296863d..49e3dbf36 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.357.0" # x-release-please-version +__version__ = "0.358.0" # x-release-please-version diff --git a/src/increase/types/card_dispute.py b/src/increase/types/card_dispute.py index 2ae7f8075..eced5df31 100644 --- a/src/increase/types/card_dispute.py +++ b/src/increase/types/card_dispute.py @@ -2161,10 +2161,11 @@ class CardDispute(BaseModel): dispute. """ - network: Literal["visa"] + network: Literal["visa", "pulse"] """The network that the Card Dispute is associated with. - `visa` - Visa: details will be under the `visa` object. + - `pulse` - Pulse: details will be under the `pulse` object. """ status: Literal[ diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index e7cfb1f58..1c37c9b1e 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -559,12 +559,16 @@ class ElementCardAuthorizationNetworkDetailsVisa(BaseModel): class ElementCardAuthorizationNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[ElementCardAuthorizationNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" @@ -865,10 +869,11 @@ class ElementCardAuthorizationExpiration(BaseModel): transaction's currency. For dollars, for example, this is cents. """ - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ type: Literal["card_authorization_expiration"] @@ -1163,12 +1168,16 @@ class ElementCardDeclineNetworkDetailsVisa(BaseModel): class ElementCardDeclineNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[ElementCardDeclineNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" @@ -1563,10 +1572,11 @@ class ElementCardFuelConfirmation(BaseModel): - `USD` - US Dollar (USD) """ - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ network_identifiers: ElementCardFuelConfirmationNetworkIdentifiers @@ -1822,10 +1832,11 @@ class ElementCardIncrement(BaseModel): - `USD` - US Dollar (USD) """ - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ network_identifiers: ElementCardIncrementNetworkIdentifiers @@ -2501,10 +2512,11 @@ class ElementCardReversal(BaseModel): merchant_state: Optional[str] = None """The state the merchant resides in.""" - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ network_identifiers: ElementCardReversalNetworkIdentifiers @@ -3120,10 +3132,11 @@ class ElementCardSettlement(BaseModel): merchant_state: Optional[str] = None """The state the merchant resides in.""" - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network on which this transaction was processed. - `visa` - Visa + - `pulse` - Pulse """ network_identifiers: ElementCardSettlementNetworkIdentifiers @@ -3450,12 +3463,16 @@ class ElementCardValidationNetworkDetailsVisa(BaseModel): class ElementCardValidationNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[ElementCardValidationNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index 9477d8071..e7597b082 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -407,12 +407,16 @@ class SourceCardDeclineNetworkDetailsVisa(BaseModel): class SourceCardDeclineNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[SourceCardDeclineNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index cf1aa1cea..c6c4d6448 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -357,12 +357,16 @@ class SourceCardAuthorizationNetworkDetailsVisa(BaseModel): class SourceCardAuthorizationNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[SourceCardAuthorizationNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" diff --git a/src/increase/types/real_time_decision.py b/src/increase/types/real_time_decision.py index 8d42faa94..a142aeae5 100644 --- a/src/increase/types/real_time_decision.py +++ b/src/increase/types/real_time_decision.py @@ -375,12 +375,16 @@ class CardAuthorizationNetworkDetailsVisa(BaseModel): class CardAuthorizationNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[CardAuthorizationNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index fef8583ca..82085b668 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -453,10 +453,11 @@ class SourceCardDisputeFinancial(BaseModel): amount: int """The amount of the financial event.""" - network: Literal["visa"] + network: Literal["visa", "pulse"] """The network that the Card Dispute is associated with. - `visa` - Visa: details will be under the `visa` object. + - `pulse` - Pulse: details will be under the `pulse` object. """ transaction_id: str @@ -775,12 +776,16 @@ class SourceCardFinancialNetworkDetailsVisa(BaseModel): class SourceCardFinancialNetworkDetails(BaseModel): - category: Literal["visa"] + category: Literal["visa", "pulse"] """The payment network used to process this card authorization. - `visa` - Visa + - `pulse` - Pulse """ + pulse: Optional[object] = None + """Fields specific to the `pulse` network.""" + visa: Optional[SourceCardFinancialNetworkDetailsVisa] = None """Fields specific to the `visa` network.""" @@ -2192,10 +2197,11 @@ class SourceCardSettlement(BaseModel): merchant_state: Optional[str] = None """The state the merchant resides in.""" - network: Literal["visa"] + network: Literal["visa", "pulse"] """The card network on which this transaction was processed. - `visa` - Visa + - `pulse` - Pulse """ network_identifiers: SourceCardSettlementNetworkIdentifiers