From 1ad12d79749986a3bd9cdf4faadbfe02214b30bf Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 21:43:39 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 3a8d9d1b8..5b1101662 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-8ba0a76a7d25f12b1aa44ebd3283129560f7a65c95a098ad89deeee6ea46c8a8.yml -openapi_spec_hash: 30519b66ae8c018865d8de252d6f5d2d +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-26cf97b4b05afc71ff1d3546e3412c4e9d30c3ac2f05a3c76444a0c945c390ea.yml +openapi_spec_hash: 0a885f91c1947c633734f6702320f2e3 config_hash: 97774f946585cecb19181a1817870d0b From 2008cead28cfe23a8ed33860dac3ad60e101ae57 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Jun 2025 18:28:31 +0000 Subject: [PATCH 2/4] feat(api): api update --- .stats.yml | 4 ++-- src/increase/types/card_payment.py | 10 ++++++++++ src/increase/types/declined_transaction.py | 5 +++++ src/increase/types/pending_transaction.py | 5 +++++ src/increase/types/real_time_decision.py | 5 +++++ 5 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5b1101662..56ae88a7d 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-26cf97b4b05afc71ff1d3546e3412c4e9d30c3ac2f05a3c76444a0c945c390ea.yml -openapi_spec_hash: 0a885f91c1947c633734f6702320f2e3 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1808ec74d811de7f25be15e6bdedfa927081d8b9bc87545c7caee71c6770f434.yml +openapi_spec_hash: c0d89f59c9870f7f3c862c313c312015 config_hash: 97774f946585cecb19181a1817870d0b diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 12eb7958b..37c019e64 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -576,6 +576,8 @@ class ElementCardAuthorization(BaseModel): "purchase", "quasi_cash", "refund", + "cash_disbursement", + "unknown", ] """ The processing category describes the intent behind the authorization, such as @@ -595,6 +597,9 @@ class ElementCardAuthorization(BaseModel): be convertible to cash. - `refund` - A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. + - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash + from an ATM or a point of sale. + - `unknown` - The processing category is unknown. """ real_time_decision_id: Optional[str] = None @@ -997,6 +1002,8 @@ class ElementCardDecline(BaseModel): "purchase", "quasi_cash", "refund", + "cash_disbursement", + "unknown", ] """ The processing category describes the intent behind the authorization, such as @@ -1016,6 +1023,9 @@ class ElementCardDecline(BaseModel): be convertible to cash. - `refund` - A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. + - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash + from an ATM or a point of sale. + - `unknown` - The processing category is unknown. """ real_time_decision_id: Optional[str] = None diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index 3ae15a06c..47a2968b2 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -450,6 +450,8 @@ class SourceCardDecline(BaseModel): "purchase", "quasi_cash", "refund", + "cash_disbursement", + "unknown", ] """ The processing category describes the intent behind the authorization, such as @@ -469,6 +471,9 @@ class SourceCardDecline(BaseModel): be convertible to cash. - `refund` - A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. + - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash + from an ATM or a point of sale. + - `unknown` - The processing category is unknown. """ real_time_decision_id: Optional[str] = None diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index 5af66d521..cc78b0eaf 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -404,6 +404,8 @@ class SourceCardAuthorization(BaseModel): "purchase", "quasi_cash", "refund", + "cash_disbursement", + "unknown", ] """ The processing category describes the intent behind the authorization, such as @@ -423,6 +425,9 @@ class SourceCardAuthorization(BaseModel): be convertible to cash. - `refund` - A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. + - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash + from an ATM or a point of sale. + - `unknown` - The processing category is unknown. """ real_time_decision_id: Optional[str] = None diff --git a/src/increase/types/real_time_decision.py b/src/increase/types/real_time_decision.py index 65d0e6e8a..3fb13abc1 100644 --- a/src/increase/types/real_time_decision.py +++ b/src/increase/types/real_time_decision.py @@ -418,6 +418,8 @@ class CardAuthorization(BaseModel): "purchase", "quasi_cash", "refund", + "cash_disbursement", + "unknown", ] """ The processing category describes the intent behind the authorization, such as @@ -437,6 +439,9 @@ class CardAuthorization(BaseModel): be convertible to cash. - `refund` - A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. + - `cash_disbursement` - Cash disbursement transactions are used to withdraw cash + from an ATM or a point of sale. + - `unknown` - The processing category is unknown. """ request_details: CardAuthorizationRequestDetails From 27dece27f460f4989ad115d116037dfd5e7a8ec6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:40:31 +0000 Subject: [PATCH 3/4] feat(api): api update --- .stats.yml | 4 +-- .../entity_create_beneficial_owner_params.py | 7 ++-- src/increase/types/entity_create_params.py | 35 +++++++++++++------ 3 files changed, 32 insertions(+), 14 deletions(-) diff --git a/.stats.yml b/.stats.yml index 56ae88a7d..1a71796b1 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-1808ec74d811de7f25be15e6bdedfa927081d8b9bc87545c7caee71c6770f434.yml -openapi_spec_hash: c0d89f59c9870f7f3c862c313c312015 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-96d05b8e37bf249bf8308adae52fd62efc5a37bf7dff2911bdfddb89c503bb30.yml +openapi_spec_hash: 35c0fded197228fc0680fe6ce04f6c82 config_hash: 97774f946585cecb19181a1817870d0b diff --git a/src/increase/types/entity_create_beneficial_owner_params.py b/src/increase/types/entity_create_beneficial_owner_params.py index 4735ba3d8..bdc31d5d7 100644 --- a/src/increase/types/entity_create_beneficial_owner_params.py +++ b/src/increase/types/entity_create_beneficial_owner_params.py @@ -72,7 +72,7 @@ class BeneficialOwnerIndividualIdentificationOther(TypedDict, total=False): country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -93,7 +93,10 @@ class BeneficialOwnerIndividualIdentificationOther(TypedDict, total=False): class BeneficialOwnerIndividualIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + document (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" diff --git a/src/increase/types/entity_create_params.py b/src/increase/types/entity_create_params.py index fcfe1a3f7..60fb6227c 100644 --- a/src/increase/types/entity_create_params.py +++ b/src/increase/types/entity_create_params.py @@ -175,7 +175,7 @@ class CorporationBeneficialOwnerIndividualIdentificationOther(TypedDict, total=F country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -196,7 +196,10 @@ class CorporationBeneficialOwnerIndividualIdentificationOther(TypedDict, total=F class CorporationBeneficialOwnerIndividualIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + document (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" @@ -431,7 +434,7 @@ class JointIndividualIdentificationOther(TypedDict, total=False): country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -452,7 +455,10 @@ class JointIndividualIdentificationOther(TypedDict, total=False): class JointIndividualIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + passport (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" @@ -577,7 +583,7 @@ class NaturalPersonIdentificationOther(TypedDict, total=False): country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -598,7 +604,10 @@ class NaturalPersonIdentificationOther(TypedDict, total=False): class NaturalPersonIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + passport (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" @@ -753,7 +762,7 @@ class TrustTrusteeIndividualIdentificationOther(TypedDict, total=False): country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -774,7 +783,10 @@ class TrustTrusteeIndividualIdentificationOther(TypedDict, total=False): class TrustTrusteeIndividualIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + passport (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" @@ -905,7 +917,7 @@ class TrustGrantorIdentificationOther(TypedDict, total=False): country: Required[str] """ The two-character ISO 3166-1 code representing the country that issued the - document. + document (e.g., `US`). """ description: Required[str] @@ -926,7 +938,10 @@ class TrustGrantorIdentificationOther(TypedDict, total=False): class TrustGrantorIdentificationPassport(TypedDict, total=False): country: Required[str] - """The country that issued the passport.""" + """ + The two-character ISO 3166-1 code representing the country that issued the + passport (e.g., `US`). + """ expiration_date: Required[Annotated[Union[str, date], PropertyInfo(format="iso8601")]] """The passport's expiration date in YYYY-MM-DD format.""" From 22f42aa4c5b37fa4b2eaa9d6b083a83cd874c278 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 25 Jun 2025 21:41:02 +0000 Subject: [PATCH 4/4] release: 0.255.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 82432f4e3..e5534a5d1 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.254.0" + ".": "0.255.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a81bbc90..a1b2f2133 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.255.0 (2025-06-25) + +Full Changelog: [v0.254.0...v0.255.0](https://github.com/Increase/increase-python/compare/v0.254.0...v0.255.0) + +### Features + +* **api:** api update ([27dece2](https://github.com/Increase/increase-python/commit/27dece27f460f4989ad115d116037dfd5e7a8ec6)) +* **api:** api update ([2008cea](https://github.com/Increase/increase-python/commit/2008cead28cfe23a8ed33860dac3ad60e101ae57)) + ## 0.254.0 (2025-06-24) Full Changelog: [v0.253.0...v0.254.0](https://github.com/Increase/increase-python/compare/v0.253.0...v0.254.0) diff --git a/pyproject.toml b/pyproject.toml index dbb5e4b2d..cfb831943 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.254.0" +version = "0.255.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 4f4dc567c..f47493c39 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.254.0" # x-release-please-version +__version__ = "0.255.0" # x-release-please-version