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.194.0"
".": "0.195.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 201
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-15ead2ecf5c1d979cfa951c578d25ba20f9f5c1b987d109b6eaa4e8eeda973e1.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5c3b5c54f9deac8411f40a4a8e14715ed60acd2ae56c5e36e83664586ef5aafd.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.195.0 (2025-02-24)

Full Changelog: [v0.194.0...v0.195.0](https://github.com/Increase/increase-python/compare/v0.194.0...v0.195.0)

### Features

* **api:** api update ([#980](https://github.com/Increase/increase-python/issues/980)) ([327dd31](https://github.com/Increase/increase-python/commit/327dd314e50476aa9a7852375d73deed9da790be))

## 0.194.0 (2025-02-22)

Full Changelog: [v0.193.0...v0.194.0](https://github.com/Increase/increase-python/compare/v0.193.0...v0.194.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.194.0"
version = "0.195.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.194.0" # x-release-please-version
__version__ = "0.195.0" # x-release-please-version
4 changes: 4 additions & 0 deletions src/increase/resources/simulations/card_authorizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def create(
authenticated_card_payment_id: str | NotGiven = NOT_GIVEN,
card_id: str | NotGiven = NOT_GIVEN,
decline_reason: Literal[
"account_closed",
"card_not_active",
"physical_card_not_active",
"entity_not_active",
Expand Down Expand Up @@ -111,6 +112,7 @@ def create(
decline_reason: Forces a card decline with a specific reason. No real time decision will be
sent.

- `account_closed` - The account has been closed.
- `card_not_active` - The Card was not active.
- `physical_card_not_active` - The Physical Card was not active.
- `entity_not_active` - The account's entity was not active.
Expand Down Expand Up @@ -241,6 +243,7 @@ async def create(
authenticated_card_payment_id: str | NotGiven = NOT_GIVEN,
card_id: str | NotGiven = NOT_GIVEN,
decline_reason: Literal[
"account_closed",
"card_not_active",
"physical_card_not_active",
"entity_not_active",
Expand Down Expand Up @@ -299,6 +302,7 @@ async def create(
decline_reason: Forces a card decline with a specific reason. No real time decision will be
sent.

- `account_closed` - The account has been closed.
- `card_not_active` - The Card was not active.
- `physical_card_not_active` - The Physical Card was not active.
- `entity_not_active` - The account's entity was not active.
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/card_payment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1037,6 +1037,7 @@ class ElementCardDecline(BaseModel):
"""

reason: Literal[
"account_closed",
"card_not_active",
"physical_card_not_active",
"entity_not_active",
Expand All @@ -1055,6 +1056,7 @@ class ElementCardDecline(BaseModel):
]
"""Why the transaction was declined.

- `account_closed` - The account has been closed.
- `card_not_active` - The Card was not active.
- `physical_card_not_active` - The Physical Card was not active.
- `entity_not_active` - The account's entity was not active.
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/declined_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ class SourceCardDecline(BaseModel):
"""

reason: Literal[
"account_closed",
"card_not_active",
"physical_card_not_active",
"entity_not_active",
Expand All @@ -516,6 +517,7 @@ class SourceCardDecline(BaseModel):
]
"""Why the transaction was declined.

- `account_closed` - The account has been closed.
- `card_not_active` - The Card was not active.
- `physical_card_not_active` - The Physical Card was not active.
- `entity_not_active` - The account's entity was not active.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False):
"""The identifier of the Card to be authorized."""

decline_reason: Literal[
"account_closed",
"card_not_active",
"physical_card_not_active",
"entity_not_active",
Expand All @@ -41,6 +42,7 @@ class CardAuthorizationCreateParams(TypedDict, total=False):

No real time decision will be sent.

- `account_closed` - The account has been closed.
- `card_not_active` - The Card was not active.
- `physical_card_not_active` - The Physical Card was not active.
- `entity_not_active` - The account's entity was not active.
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/simulations/test_card_authorizations.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
amount=1000,
authenticated_card_payment_id="authenticated_card_payment_id",
card_id="card_oubs0hwk5rn6knuecxg2",
decline_reason="card_not_active",
decline_reason="account_closed",
digital_wallet_token_id="digital_wallet_token_id",
direction="settlement",
event_subscription_id="event_subscription_001dzz0r20rcdxgb013zqb8m04g",
Expand Down Expand Up @@ -87,7 +87,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
amount=1000,
authenticated_card_payment_id="authenticated_card_payment_id",
card_id="card_oubs0hwk5rn6knuecxg2",
decline_reason="card_not_active",
decline_reason="account_closed",
digital_wallet_token_id="digital_wallet_token_id",
direction="settlement",
event_subscription_id="event_subscription_001dzz0r20rcdxgb013zqb8m04g",
Expand Down