Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.357.0"
".": "0.358.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion src/increase/types/card_dispute.py
Original file line number Diff line number Diff line change
Expand Up @@ -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[
Expand Down
33 changes: 25 additions & 8 deletions src/increase/types/card_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down Expand Up @@ -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"]
Expand Down Expand Up @@ -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."""

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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."""

Expand Down
6 changes: 5 additions & 1 deletion src/increase/types/declined_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
6 changes: 5 additions & 1 deletion src/increase/types/pending_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
6 changes: 5 additions & 1 deletion src/increase/types/real_time_decision.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down
12 changes: 9 additions & 3 deletions src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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."""

Expand Down Expand Up @@ -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
Expand Down