diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c15669fd..e817625b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.440.0" + ".": "0.441.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 61f8a56f..3edafa84 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 236 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-2d7155feee87cb1c64ae2b6f31d769c46725b615f1622558f998f2a637cfb57c.yml -openapi_spec_hash: c3117360164f38ece4a984800813813c +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4a9671050881b7d7579bd118589b25ed43dccb69677f5ab8576df6f70de9a0dc.yml +openapi_spec_hash: b72da714aeef1e6652e6cc595ef65f94 config_hash: 25d7d7aa4882db6189b4b53e8e249e80 diff --git a/CHANGELOG.md b/CHANGELOG.md index 636916a6..40c78e3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.441.0 (2026-03-13) + +Full Changelog: [v0.440.0...v0.441.0](https://github.com/Increase/increase-python/compare/v0.440.0...v0.441.0) + +### Features + +* **api:** api update ([6318ae3](https://github.com/Increase/increase-python/commit/6318ae31a6610f2fde79c3e4089cc538fb7e9e53)) + ## 0.440.0 (2026-03-12) Full Changelog: [v0.439.0...v0.440.0](https://github.com/Increase/increase-python/compare/v0.439.0...v0.440.0) diff --git a/pyproject.toml b/pyproject.toml index 23388752..26696576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.440.0" +version = "0.441.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 3b399ee8..92535b14 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.440.0" # x-release-please-version +__version__ = "0.441.0" # x-release-please-version diff --git a/src/increase/types/intrafi_balance.py b/src/increase/types/intrafi_balance.py index 59011019..bab736f3 100644 --- a/src/increase/types/intrafi_balance.py +++ b/src/increase/types/intrafi_balance.py @@ -1,9 +1,11 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List, Optional +from typing import TYPE_CHECKING, Dict, List, Optional from datetime import date from typing_extensions import Literal +from pydantic import Field as FieldInfo + from .._models import BaseModel __all__ = ["IntrafiBalance", "Balance", "BalanceBankLocation"] @@ -20,9 +22,6 @@ class BalanceBankLocation(BaseModel): class Balance(BaseModel): - id: str - """The identifier of this balance.""" - balance: int """The balance, in minor units of `currency`, held with this bank.""" @@ -39,15 +38,24 @@ class Balance(BaseModel): identify the institution. """ + if TYPE_CHECKING: + # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a + # value to this field, so for compatibility we avoid doing it at runtime. + __pydantic_extra__: Dict[str, object] = FieldInfo(init=False) # pyright: ignore[reportIncompatibleVariableOverride] + + # Stub to indicate that arbitrary properties are accepted. + # To access properties that are not valid identifiers you can use `getattr`, e.g. + # `getattr(obj, '$type')` + def __getattr__(self, attr: str) -> object: ... + else: + __pydantic_extra__: Dict[str, object] + class IntrafiBalance(BaseModel): """ When using IntraFi, each account's balance over the standard FDIC insurance amount is swept to various other institutions. Funds are rebalanced across banks as needed once per business day. """ - id: str - """The identifier of this balance.""" - balances: List[Balance] """Each entry represents a balance held at a different bank. @@ -77,3 +85,15 @@ class IntrafiBalance(BaseModel): For this resource it will always be `intrafi_balance`. """ + + if TYPE_CHECKING: + # Some versions of Pydantic <2.8.0 have a bug and don’t allow assigning a + # value to this field, so for compatibility we avoid doing it at runtime. + __pydantic_extra__: Dict[str, object] = FieldInfo(init=False) # pyright: ignore[reportIncompatibleVariableOverride] + + # Stub to indicate that arbitrary properties are accepted. + # To access properties that are not valid identifiers you can use `getattr`, e.g. + # `getattr(obj, '$type')` + def __getattr__(self, attr: str) -> object: ... + else: + __pydantic_extra__: Dict[str, object]