From 3a7675b6fc122421a5dc642989f063ba5e559d00 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 3 Jul 2025 18:13:43 +0000 Subject: [PATCH 1/3] feat(api): api update --- .stats.yml | 4 ++-- .../types/physical_card_create_params.py | 16 ++++++++++++++++ tests/api_resources/test_physical_cards.py | 2 ++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index a3c642efc..36159e51e 100644 --- a/.stats.yml +++ b/.stats.yml @@ -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-e6901efc888494eb4da789fe5dda70b211de1920b0d7f234bd17fcd35ce33fde.yml +openapi_spec_hash: 9691deaf77e6a5ac9fef7d7775d6426e config_hash: 97774f946585cecb19181a1817870d0b diff --git a/src/increase/types/physical_card_create_params.py b/src/increase/types/physical_card_create_params.py index 9ffed26dd..935d1cd31 100644 --- a/src/increase/types/physical_card_create_params.py +++ b/src/increase/types/physical_card_create_params.py @@ -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. + """ diff --git a/tests/api_resources/test_physical_cards.py b/tests/api_resources/test_physical_cards.py index bb65d8e39..e324b9b62 100644 --- a/tests/api_resources/test_physical_cards.py +++ b/tests/api_resources/test_physical_cards.py @@ -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", ) @@ -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", ) From eed9172908fa5d992a3f5fa4936836c0672f956e Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Jul 2025 03:19:11 +0000 Subject: [PATCH 2/3] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/physical_card.py | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 36159e51e..724183797 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-e6901efc888494eb4da789fe5dda70b211de1920b0d7f234bd17fcd35ce33fde.yml -openapi_spec_hash: 9691deaf77e6a5ac9fef7d7775d6426e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-aacfe98109b9754d30676d3e95714223190bca5543e8060a90d7b946589f1c16.yml +openapi_spec_hash: d6a090b406bd5936e2d939ce9b9e061b config_hash: 97774f946585cecb19181a1817870d0b diff --git a/src/increase/types/physical_card.py b/src/increase/types/physical_card.py index f7cde2203..8cf4a3b6e 100644 --- a/src/increase/types/physical_card.py +++ b/src/increase/types/physical_card.py @@ -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" ] From 43881be33c5bdf2037648359f6490d64bd94fa4f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 4 Jul 2025 03:19:33 +0000 Subject: [PATCH 3/3] release: 0.259.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b7101200d..8d6ed7aed 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.258.0" + ".": "0.259.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 00c87a614..d1300fa06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pyproject.toml b/pyproject.toml index c48d3433b..fdf679dd0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/src/increase/_version.py b/src/increase/_version.py index 4d97c4f52..ac81cf79a 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.258.0" # x-release-please-version +__version__ = "0.259.0" # x-release-please-version