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.258.0"
".": "0.259.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-86936f20d6eab34ef44aed8b323cea5043d733402022fd34c7e24e2234875306.yml
openapi_spec_hash: cb262d222b0031cce34498409149e4ae
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aacfe98109b9754d30676d3e95714223190bca5543e8060a90d7b946589f1c16.yml
openapi_spec_hash: d6a090b406bd5936e2d939ce9b9e061b
config_hash: 97774f946585cecb19181a1817870d0b
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.259.0 (2025-07-04)

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

### Features

* **api:** api update ([eed9172](https://github.com/Increase/increase-python/commit/eed9172908fa5d992a3f5fa4936836c0672f956e))
* **api:** api update ([3a7675b](https://github.com/Increase/increase-python/commit/3a7675b6fc122421a5dc642989f063ba5e559d00))

## 0.258.0 (2025-07-02)

Full Changelog: [v0.257.0...v0.258.0](https://github.com/Increase/increase-python/compare/v0.257.0...v0.258.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.258.0"
version = "0.259.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.258.0" # x-release-please-version
__version__ = "0.259.0" # x-release-please-version
16 changes: 16 additions & 0 deletions src/increase/types/physical_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,22 @@ class Shipment(BaseModel):
- `fedex_2_day` - FedEx 2-day.
"""

schedule: Literal["next_day", "same_day"]
"""When this physical card should be produced by the card printer.

The default timeline is the day after the card printer receives the order,
except for `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use
faster production methods, please reach out to
[support@increase.com](mailto:support@increase.com).

- `next_day` - The physical card will be shipped one business day after the
order is received by the card printer. A card that is submitted to Increase on
a Monday evening (Pacific Time) will ship out on Wednesday.
- `same_day` - The physical card will be shipped on the same business day that
the order is received by the card printer. A card that is submitted to
Increase on a Monday evening (Pacific Time) will ship out on Tuesday.
"""

status: Literal[
"pending", "canceled", "submitted", "acknowledged", "rejected", "shipped", "returned", "requires_attention"
]
Expand Down
16 changes: 16 additions & 0 deletions src/increase/types/physical_card_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,19 @@ class Shipment(TypedDict, total=False):
- `fedex_priority_overnight` - FedEx Priority Overnight, no signature.
- `fedex_2_day` - FedEx 2-day.
"""

schedule: Literal["next_day", "same_day"]
"""When this physical card should be produced by the card printer.

The default timeline is the day after the card printer receives the order,
except for `FEDEX_PRIORITY_OVERNIGHT` cards, which default to `SAME_DAY`. To use
faster production methods, please reach out to
[support@increase.com](mailto:support@increase.com).

- `next_day` - The physical card will be shipped one business day after the
order is received by the card printer. A card that is submitted to Increase on
a Monday evening (Pacific Time) will ship out on Wednesday.
- `same_day` - The physical card will be shipped on the same business day that
the order is received by the card printer. A card that is submitted to
Increase on a Monday evening (Pacific Time) will ship out on Tuesday.
"""
2 changes: 2 additions & 0 deletions tests/api_resources/test_physical_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_method_create_with_all_params(self, client: Increase) -> None:
"phone_number": "x",
},
"method": "usps",
"schedule": "next_day",
},
physical_card_profile_id="physical_card_profile_id",
)
Expand Down Expand Up @@ -287,6 +288,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease)
"phone_number": "x",
},
"method": "usps",
"schedule": "next_day",
},
physical_card_profile_id="physical_card_profile_id",
)
Expand Down