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.251.1"
".": "0.252.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: 201
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2c62370ab61731722fddc5be1652ccfd9188ae052be44fae639b4a7920afc3b3.yml
openapi_spec_hash: aefdd344388757e80e1fea0ad0506be8
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-28729916b00389bc7694a721eac0688ab5405bbc29b7df60708d6abaabd89c29.yml
openapi_spec_hash: e28396bf17aa29a4454a73b2e21ba852
config_hash: 97774f946585cecb19181a1817870d0b
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.252.0 (2025-06-13)

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

### Features

* **api:** api update ([b78d53f](https://github.com/Increase/increase-python/commit/b78d53ff1b080b53eab870fed1879bfbf9e87b00))

## 0.251.1 (2025-06-12)

Full Changelog: [v0.251.0...v0.251.1](https://github.com/Increase/increase-python/compare/v0.251.0...v0.251.1)
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.251.1"
version = "0.252.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.251.1" # x-release-please-version
__version__ = "0.252.0" # x-release-please-version
12 changes: 10 additions & 2 deletions src/increase/resources/simulations/physical_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def advance_shipment(
self,
physical_card_id: str,
*,
shipment_status: Literal["pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned"],
shipment_status: Literal[
"pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned", "requires_attention"
],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -79,6 +81,8 @@ def advance_shipment(
- `shipped` - The physical card has been shipped.
- `returned` - The physical card shipment was returned to the sender and
destroyed by the production facility.
- `requires_attention` - The physical card shipment requires attention from
Increase before progressing.

extra_headers: Send extra headers

Expand Down Expand Up @@ -208,7 +212,9 @@ async def advance_shipment(
self,
physical_card_id: str,
*,
shipment_status: Literal["pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned"],
shipment_status: Literal[
"pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned", "requires_attention"
],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
Expand Down Expand Up @@ -238,6 +244,8 @@ async def advance_shipment(
- `shipped` - The physical card has been shipped.
- `returned` - The physical card shipment was returned to the sender and
destroyed by the production facility.
- `requires_attention` - The physical card shipment requires attention from
Increase before progressing.

extra_headers: Send extra headers

Expand Down
6 changes: 5 additions & 1 deletion src/increase/types/physical_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ class Shipment(BaseModel):
- `fedex_2_day` - FedEx 2-day.
"""

status: Literal["pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned"]
status: Literal[
"pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned", "requires_attention"
]
"""The status of this shipment.

- `pending` - The physical card has not yet been shipped.
Expand All @@ -120,6 +122,8 @@ class Shipment(BaseModel):
- `shipped` - The physical card has been shipped.
- `returned` - The physical card shipment was returned to the sender and
destroyed by the production facility.
- `requires_attention` - The physical card shipment requires attention from
Increase before progressing.
"""

tracking: Optional[ShipmentTracking] = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

class PhysicalCardAdvanceShipmentParams(TypedDict, total=False):
shipment_status: Required[
Literal["pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned"]
Literal[
"pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned", "requires_attention"
]
]
"""The shipment status to move the Physical Card to.

Expand All @@ -24,4 +26,6 @@ class PhysicalCardAdvanceShipmentParams(TypedDict, total=False):
- `shipped` - The physical card has been shipped.
- `returned` - The physical card shipment was returned to the sender and
destroyed by the production facility.
- `requires_attention` - The physical card shipment requires attention from
Increase before progressing.
"""