From 5ad6d002efd41580d8f622502a4112c9ecc046c4 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 1 Feb 2025 00:12:48 +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 d901d3705..99b864742 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8682653c46661e7abcd90fefb10194ac68a8caf701a5fbf7ae887fa50c12b0a6.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b56097acbd972355f7273284b58a110f07bc250b3559042f6a55c4d10678b4b5.yml From 6b0d00da37b507b8d5b95ebe971a8eaa59629792 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 14:41:32 +0000 Subject: [PATCH 2/5] chore(internal): change default timeout to an int (#944) --- src/increase/_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/increase/_constants.py b/src/increase/_constants.py index a2ac3b6f3..6ddf2c717 100644 --- a/src/increase/_constants.py +++ b/src/increase/_constants.py @@ -6,7 +6,7 @@ OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to" # default timeout is 1 minute -DEFAULT_TIMEOUT = httpx.Timeout(timeout=60.0, connect=5.0) +DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0) DEFAULT_MAX_RETRIES = 2 DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20) From 05366ec5dd9db014cad46d13038886b51a114ae7 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:11:15 +0000 Subject: [PATCH 3/5] chore(internal): bummp ruff dependency (#946) --- pyproject.toml | 2 +- requirements-dev.lock | 2 +- scripts/utils/ruffen-docs.py | 4 ++-- src/increase/_models.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bd2a1eb9c..509ccf091 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -177,7 +177,7 @@ select = [ "T201", "T203", # misuse of typing.TYPE_CHECKING - "TCH004", + "TC004", # import rules "TID251", ] diff --git a/requirements-dev.lock b/requirements-dev.lock index 06d5e5ce5..cd83e41fd 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -78,7 +78,7 @@ pytz==2023.3.post1 # via dirty-equals respx==0.22.0 rich==13.7.1 -ruff==0.6.9 +ruff==0.9.4 setuptools==68.2.2 # via nodeenv six==1.16.0 diff --git a/scripts/utils/ruffen-docs.py b/scripts/utils/ruffen-docs.py index 37b3d94f0..0cf2bd2fd 100644 --- a/scripts/utils/ruffen-docs.py +++ b/scripts/utils/ruffen-docs.py @@ -47,7 +47,7 @@ def _md_match(match: Match[str]) -> str: with _collect_error(match): code = format_code_block(code) code = textwrap.indent(code, match["indent"]) - return f'{match["before"]}{code}{match["after"]}' + return f"{match['before']}{code}{match['after']}" def _pycon_match(match: Match[str]) -> str: code = "" @@ -97,7 +97,7 @@ def finish_fragment() -> None: def _md_pycon_match(match: Match[str]) -> str: code = _pycon_match(match) code = textwrap.indent(code, match["indent"]) - return f'{match["before"]}{code}{match["after"]}' + return f"{match['before']}{code}{match['after']}" src = MD_RE.sub(_md_match, src) src = MD_PYCON_RE.sub(_md_pycon_match, src) diff --git a/src/increase/_models.py b/src/increase/_models.py index 9a918aabf..12c34b7d1 100644 --- a/src/increase/_models.py +++ b/src/increase/_models.py @@ -172,7 +172,7 @@ def to_json( @override def __str__(self) -> str: # mypy complains about an invalid self arg - return f'{self.__repr_name__()}({self.__repr_str__(", ")})' # type: ignore[misc] + return f"{self.__repr_name__()}({self.__repr_str__(', ')})" # type: ignore[misc] # Override the 'construct' method in a way that supports recursive parsing without validation. # Based on https://github.com/samuelcolvin/pydantic/issues/1168#issuecomment-817742836. From ebc6366684c351e67a475b06b896b1eb6fa1cdbc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:55:43 +0000 Subject: [PATCH 4/5] feat(api): api update (#947) --- .stats.yml | 2 +- src/increase/types/inbound_ach_transfer.py | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 99b864742..a1005b8ce 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 201 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-b56097acbd972355f7273284b58a110f07bc250b3559042f6a55c4d10678b4b5.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-28ffd3b61bd618b2a60b46dd2afb8f52370c43e02cab2e9106465c3cffafb95a.yml diff --git a/src/increase/types/inbound_ach_transfer.py b/src/increase/types/inbound_ach_transfer.py index c7238fa24..f3a799cab 100644 --- a/src/increase/types/inbound_ach_transfer.py +++ b/src/increase/types/inbound_ach_transfer.py @@ -409,6 +409,12 @@ class InboundACHTransfer(BaseModel): automatically_resolves_at: datetime """The time at which the transfer will be automatically resolved.""" + created_at: datetime + """ + The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which + the inbound ACH transfer was created. + """ + decline: Optional[Decline] = None """If your transfer is declined, this will contain details of the decline.""" From 82a984b192e5b63e230fc8c65cfab5d3fddf7e36 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 16:56:10 +0000 Subject: [PATCH 5/5] release: 0.186.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 68019aa59..b62648db9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.185.0" + ".": "0.186.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index df93c2269..84022cb3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.186.0 (2025-02-03) + +Full Changelog: [v0.185.0...v0.186.0](https://github.com/Increase/increase-python/compare/v0.185.0...v0.186.0) + +### Features + +* **api:** api update ([#947](https://github.com/Increase/increase-python/issues/947)) ([ebc6366](https://github.com/Increase/increase-python/commit/ebc6366684c351e67a475b06b896b1eb6fa1cdbc)) + + +### Chores + +* **internal:** bummp ruff dependency ([#946](https://github.com/Increase/increase-python/issues/946)) ([05366ec](https://github.com/Increase/increase-python/commit/05366ec5dd9db014cad46d13038886b51a114ae7)) +* **internal:** change default timeout to an int ([#944](https://github.com/Increase/increase-python/issues/944)) ([6b0d00d](https://github.com/Increase/increase-python/commit/6b0d00da37b507b8d5b95ebe971a8eaa59629792)) + ## 0.185.0 (2025-01-31) Full Changelog: [v0.184.0...v0.185.0](https://github.com/Increase/increase-python/compare/v0.184.0...v0.185.0) diff --git a/pyproject.toml b/pyproject.toml index 509ccf091..dddc7eb6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.185.0" +version = "0.186.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 39f9c5038..585b0c3b3 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.185.0" # x-release-please-version +__version__ = "0.186.0" # x-release-please-version