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/.stats.yml b/.stats.yml index 61aabba3..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-5fb150851a7b999aa231fd826e5365716f9c7d487a3fc1bb0a9df65bdfdfeca3.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-120670f0bcb7ab318b5b09e639e25e243d2cb7a630a27aebb4f94395b1fc337b.yml 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/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 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", 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 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."""