From 825fb6cc31d4840a1962241e781287265272d144 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Sun, 1 Dec 2024 01:15:16 +0000 Subject: [PATCH 1/5] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 61aabba3..89b31271 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 199 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-5fb150851a7b999aa231fd826e5365716f9c7d487a3fc1bb0a9df65bdfdfeca3.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cfcf5db7f516232df0d5bd6dee501dd267b0d3882f84bc15cb57545161ef221b.yml From 9864983dea855e3020afd63004a52cb0fc8c8697 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 2 Dec 2024 20:41:34 +0000 Subject: [PATCH 2/5] chore(internal): bump pyright (#854) --- requirements-dev.lock | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-dev.lock b/requirements-dev.lock index f26949ee..8e2af7ec 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -68,7 +68,7 @@ pydantic-core==2.23.4 # via pydantic pygments==2.18.0 # via rich -pyright==1.1.380 +pyright==1.1.389 pytest==8.3.3 # via pytest-asyncio pytest-asyncio==0.24.0 @@ -97,6 +97,7 @@ typing-extensions==4.12.2 # via mypy # via pydantic # via pydantic-core + # via pyright virtualenv==20.24.5 # via nox zipp==3.17.0 From b194c784d2209ea7b5e7473a33c9d72f78a836b3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 02:12:46 +0000 Subject: [PATCH 3/5] chore: make the `Omit` type public (#856) --- src/increase/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/increase/__init__.py b/src/increase/__init__.py index 519cb0b5..3e9191eb 100644 --- a/src/increase/__init__.py +++ b/src/increase/__init__.py @@ -1,7 +1,7 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. from . import types -from ._types import NOT_GIVEN, NoneType, NotGiven, Transport, ProxiesTypes +from ._types import NOT_GIVEN, Omit, NoneType, NotGiven, Transport, ProxiesTypes from ._utils import file_from_path from ._client import ( ENVIRONMENTS, @@ -58,6 +58,7 @@ "ProxiesTypes", "NotGiven", "NOT_GIVEN", + "Omit", "IncreaseError", "APIError", "APIStatusError", From d57f9f2c3df5e7fd69cba167d259d535989bddd5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 19:44:38 +0000 Subject: [PATCH 4/5] feat(api): api update (#857) --- .stats.yml | 2 +- src/increase/types/real_time_payments_transfer.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 89b31271..bf1915dc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 199 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-cfcf5db7f516232df0d5bd6dee501dd267b0d3882f84bc15cb57545161ef221b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-120670f0bcb7ab318b5b09e639e25e243d2cb7a630a27aebb4f94395b1fc337b.yml diff --git a/src/increase/types/real_time_payments_transfer.py b/src/increase/types/real_time_payments_transfer.py index 1ad2cee2..eec89c8f 100644 --- a/src/increase/types/real_time_payments_transfer.py +++ b/src/increase/types/real_time_payments_transfer.py @@ -8,6 +8,7 @@ __all__ = [ "RealTimePaymentsTransfer", + "Acknowledgement", "Approval", "Cancellation", "CreatedBy", @@ -19,6 +20,11 @@ ] +class Acknowledgement(BaseModel): + acknowledged_at: datetime + """When the transfer was acknowledged.""" + + class Approval(BaseModel): approved_at: datetime """ @@ -192,6 +198,12 @@ class RealTimePaymentsTransfer(BaseModel): account_id: str """The Account from which the transfer was sent.""" + acknowledgement: Optional[Acknowledgement] = None + """ + If the transfer is acknowledged by the recipient bank, this will contain + supplemental details. + """ + amount: int """The transfer amount in USD cents.""" From 8d1698f247694ce8295079ae356c322bf479cf9c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 4 Dec 2024 19:45:04 +0000 Subject: [PATCH 5/5] release: 0.166.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 14 ++++++++++++++ pyproject.toml | 2 +- src/increase/_version.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ef7a1f97..bc66e223 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.165.1" + ".": "0.166.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 35e4ffc1..ed9e403b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.166.0 (2024-12-04) + +Full Changelog: [v0.165.1...v0.166.0](https://github.com/Increase/increase-python/compare/v0.165.1...v0.166.0) + +### Features + +* **api:** api update ([#857](https://github.com/Increase/increase-python/issues/857)) ([d57f9f2](https://github.com/Increase/increase-python/commit/d57f9f2c3df5e7fd69cba167d259d535989bddd5)) + + +### Chores + +* **internal:** bump pyright ([#854](https://github.com/Increase/increase-python/issues/854)) ([9864983](https://github.com/Increase/increase-python/commit/9864983dea855e3020afd63004a52cb0fc8c8697)) +* make the `Omit` type public ([#856](https://github.com/Increase/increase-python/issues/856)) ([b194c78](https://github.com/Increase/increase-python/commit/b194c784d2209ea7b5e7473a33c9d72f78a836b3)) + ## 0.165.1 (2024-11-28) Full Changelog: [v0.165.0...v0.165.1](https://github.com/Increase/increase-python/compare/v0.165.0...v0.165.1) diff --git a/pyproject.toml b/pyproject.toml index 1eb95e68..5256f366 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.165.1" +version = "0.166.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 4e2aeb6c..34fb8ca2 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.165.1" # x-release-please-version +__version__ = "0.166.0" # x-release-please-version