diff --git a/.gitignore b/.gitignore index 877974080..95ceb189a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ .prism.log -.vscode _dev __pycache__ diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a5928db68..5dc618705 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.271.0" + ".": "0.272.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index c8c782764..093b8c5d0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 202 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-c88cd4c32889125cd4b50b7d6c53436b4bf61f3f1fa4acbb7494e778aa891f40.yml -openapi_spec_hash: d381528847ebbd39bbf825f9fe678925 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-976ae14d2349a3599f9bd33dba52b3c12c265493a8af9e581c71b2e819b8de04.yml +openapi_spec_hash: d8a9fef4dfe082acdf834ac0339e800c config_hash: a185e9a72778cc4658ea73fb3a7f1354 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000..5b0103078 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "python.analysis.importFormat": "relative", +} diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa6df471..ed85eea6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.272.0 (2025-07-29) + +Full Changelog: [v0.271.0...v0.272.0](https://github.com/Increase/increase-python/compare/v0.271.0...v0.272.0) + +### Features + +* **api:** api update ([04322ae](https://github.com/Increase/increase-python/commit/04322ae0ae31fd7a121f067bbbb1083067cb6b38)) + + +### Chores + +* **project:** add settings file for vscode ([0aae372](https://github.com/Increase/increase-python/commit/0aae372fdf363e07b4f9f5cb35b24f53720d7270)) + ## 0.271.0 (2025-07-23) Full Changelog: [v0.270.0...v0.271.0](https://github.com/Increase/increase-python/compare/v0.270.0...v0.271.0) diff --git a/pyproject.toml b/pyproject.toml index 7dfa5156f..bf9cb4874 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.271.0" +version = "0.272.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 4ea8201c8..b295ac433 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.271.0" # x-release-please-version +__version__ = "0.272.0" # x-release-please-version diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 3e33714d5..c24bc4077 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -1933,12 +1933,24 @@ class ElementCardReversal(BaseModel): pending_transaction_id: Optional[str] = None """The identifier of the Pending Transaction associated with this Card Reversal.""" + presentment_currency: str + """ + The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's + presentment currency. + """ + reversal_amount: int """The amount of this reversal in the minor unit of the transaction's currency. For dollars, for example, this is cents. """ + reversal_presentment_amount: int + """ + The amount of this reversal in the minor unit of the transaction's presentment + currency. For dollars, for example, this is cents. + """ + reversal_reason: Optional[ Literal[ "reversed_by_customer", "reversed_by_network_or_acquirer", "reversed_by_point_of_sale", "partial_reversal" @@ -1973,6 +1985,12 @@ class ElementCardReversal(BaseModel): transaction's currency. For dollars, for example, this is cents. """ + updated_authorization_presentment_amount: int + """ + The amount left pending on the Card Authorization in the minor unit of the + transaction's presentment currency. For dollars, for example, this is cents. + """ + class ElementCardSettlementCashback(BaseModel): amount: str