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.343.0"
".": "0.344.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: 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.343.0"
version = "0.344.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.343.0" # x-release-please-version
__version__ = "0.344.0" # x-release-please-version
50 changes: 0 additions & 50 deletions src/increase/resources/physical_card_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

from __future__ import annotations

from typing_extensions import Literal

import httpx

from ..types import (
Expand Down Expand Up @@ -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.
Expand All @@ -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.

Expand All @@ -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,
Expand Down Expand Up @@ -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.
Expand All @@ -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.

Expand All @@ -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,
Expand Down
28 changes: 1 addition & 27 deletions src/increase/types/physical_card_profile_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from __future__ import annotations

from typing_extensions import Literal, Required, TypedDict
from typing_extensions import Required, TypedDict

__all__ = ["PhysicalCardProfileCreateParams", "FrontText"]

Expand All @@ -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.

Expand Down
8 changes: 0 additions & 8 deletions tests/api_resources/test_physical_card_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down