diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5a33988a2..7c7974f09 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.343.0" + ".": "0.344.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 7badc572d..bfdb060b4 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 214 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-911c3719c8d84e1119e71e0cf93ae1f2c52f42529e56671731f07273feb5ac88.yml -openapi_spec_hash: 462c4c10440c2f87e0624d8c25a89b75 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-fed69da53ddecc70b62e9a7331c3b561ef0a14c385d4ac5a03d74177c2ea21cd.yml +openapi_spec_hash: 0a90c512d3fd1348b78af6f98435c31a config_hash: a143293c5450ae8f52acad08f3102575 diff --git a/CHANGELOG.md b/CHANGELOG.md index 279daf495..66df129bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.344.0 (2025-09-26) + +Full Changelog: [v0.343.0...v0.344.0](https://github.com/Increase/increase-python/compare/v0.343.0...v0.344.0) + +### Features + +* **api:** api update ([05e6439](https://github.com/Increase/increase-python/commit/05e643990605887ec18c34c31c98eb39fb485626)) + ## 0.343.0 (2025-09-26) Full Changelog: [v0.342.0...v0.343.0](https://github.com/Increase/increase-python/compare/v0.342.0...v0.343.0) diff --git a/pyproject.toml b/pyproject.toml index 26c3380ec..1f9c186c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.343.0" +version = "0.344.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 3489c461f..c5bb412de 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.343.0" # x-release-please-version +__version__ = "0.344.0" # x-release-please-version diff --git a/src/increase/resources/physical_card_profiles.py b/src/increase/resources/physical_card_profiles.py index d33b520e9..67e2b910e 100644 --- a/src/increase/resources/physical_card_profiles.py +++ b/src/increase/resources/physical_card_profiles.py @@ -2,8 +2,6 @@ from __future__ import annotations -from typing_extensions import Literal - import httpx from ..types import ( @@ -56,10 +54,6 @@ def create( description: str, front_image_file_id: str, program_id: str, - back_color: Literal["black", "white"] | Omit = omit, - card_stock_reference: str | Omit = omit, - carrier_stock_reference: str | Omit = omit, - front_color: Literal["black", "white"] | Omit = omit, front_text: physical_card_profile_create_params.FrontText | Omit = omit, # 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. @@ -83,22 +77,6 @@ def create( program_id: The identifier for the Program that this Physical Card Profile falls under. - back_color: The color of the text on the back of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - - card_stock_reference: A reference ID provided by the fulfillment provider for the card stock used. - Only used if you've ordered card stock separately. - - carrier_stock_reference: A reference ID provided by the fulfillment provider for the carrier stock used. - Only used if you've ordered carrier stock separately. - - front_color: The color of the design on the front of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - front_text: Text printed on the front of the card. Reach out to [support@increase.com](mailto:support@increase.com) for more information. @@ -121,10 +99,6 @@ def create( "description": description, "front_image_file_id": front_image_file_id, "program_id": program_id, - "back_color": back_color, - "card_stock_reference": card_stock_reference, - "carrier_stock_reference": carrier_stock_reference, - "front_color": front_color, "front_text": front_text, }, physical_card_profile_create_params.PhysicalCardProfileCreateParams, @@ -380,10 +354,6 @@ async def create( description: str, front_image_file_id: str, program_id: str, - back_color: Literal["black", "white"] | Omit = omit, - card_stock_reference: str | Omit = omit, - carrier_stock_reference: str | Omit = omit, - front_color: Literal["black", "white"] | Omit = omit, front_text: physical_card_profile_create_params.FrontText | Omit = omit, # 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. @@ -407,22 +377,6 @@ async def create( program_id: The identifier for the Program that this Physical Card Profile falls under. - back_color: The color of the text on the back of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - - card_stock_reference: A reference ID provided by the fulfillment provider for the card stock used. - Only used if you've ordered card stock separately. - - carrier_stock_reference: A reference ID provided by the fulfillment provider for the carrier stock used. - Only used if you've ordered carrier stock separately. - - front_color: The color of the design on the front of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - front_text: Text printed on the front of the card. Reach out to [support@increase.com](mailto:support@increase.com) for more information. @@ -445,10 +399,6 @@ async def create( "description": description, "front_image_file_id": front_image_file_id, "program_id": program_id, - "back_color": back_color, - "card_stock_reference": card_stock_reference, - "carrier_stock_reference": carrier_stock_reference, - "front_color": front_color, "front_text": front_text, }, physical_card_profile_create_params.PhysicalCardProfileCreateParams, diff --git a/src/increase/types/physical_card_profile_create_params.py b/src/increase/types/physical_card_profile_create_params.py index 96af44dd6..6544cf53f 100644 --- a/src/increase/types/physical_card_profile_create_params.py +++ b/src/increase/types/physical_card_profile_create_params.py @@ -2,7 +2,7 @@ from __future__ import annotations -from typing_extensions import Literal, Required, TypedDict +from typing_extensions import Required, TypedDict __all__ = ["PhysicalCardProfileCreateParams", "FrontText"] @@ -23,32 +23,6 @@ class PhysicalCardProfileCreateParams(TypedDict, total=False): program_id: Required[str] """The identifier for the Program that this Physical Card Profile falls under.""" - back_color: Literal["black", "white"] - """The color of the text on the back of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - """ - - card_stock_reference: str - """A reference ID provided by the fulfillment provider for the card stock used. - - Only used if you've ordered card stock separately. - """ - - carrier_stock_reference: str - """A reference ID provided by the fulfillment provider for the carrier stock used. - - Only used if you've ordered carrier stock separately. - """ - - front_color: Literal["black", "white"] - """The color of the design on the front of the card. Defaults to "black". - - - `black` - Black personalization color. - - `white` - White personalization color. - """ - front_text: FrontText """Text printed on the front of the card. diff --git a/tests/api_resources/test_physical_card_profiles.py b/tests/api_resources/test_physical_card_profiles.py index 3301adf31..012a20306 100644 --- a/tests/api_resources/test_physical_card_profiles.py +++ b/tests/api_resources/test_physical_card_profiles.py @@ -39,10 +39,6 @@ def test_method_create_with_all_params(self, client: Increase) -> None: description="My Card Profile", front_image_file_id="file_o6aex13wm1jcc36sgcj1", program_id="program_i2v2os4mwza1oetokh9i", - back_color="black", - card_stock_reference="x", - carrier_stock_reference="x", - front_color="black", front_text={ "line1": "x", "line2": "x", @@ -278,10 +274,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncIncrease) description="My Card Profile", front_image_file_id="file_o6aex13wm1jcc36sgcj1", program_id="program_i2v2os4mwza1oetokh9i", - back_color="black", - card_stock_reference="x", - carrier_stock_reference="x", - front_color="black", front_text={ "line1": "x", "line2": "x",