diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7915eb1e2..b2fb223c6 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.303.0" + ".": "0.304.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index cb84ec279..c5bae0923 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 216 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-a98d22578526265c9d1ef5ee69db277ab4e3548d5f12ab740eabc7babd33ba1c.yml -openapi_spec_hash: eefa018725a526a04f4fda690fedf0ec +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-1c5db818b8692ac57a83f3785c2f0a1d1ea95b9ed35fd4632619947448c22526.yml +openapi_spec_hash: 0b2954fbe726a422219f22f5cddda6d6 config_hash: 632b628b59d8f0b717153b3d8133f6cb diff --git a/CHANGELOG.md b/CHANGELOG.md index c3e8a2771..a5595ed0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.304.0 (2025-08-27) + +Full Changelog: [v0.303.0...v0.304.0](https://github.com/Increase/increase-python/compare/v0.303.0...v0.304.0) + +### Features + +* **api:** api update ([8c0b48a](https://github.com/Increase/increase-python/commit/8c0b48a9309ccf197c219575a9fd244460dc781f)) + ## 0.303.0 (2025-08-27) Full Changelog: [v0.302.0...v0.303.0](https://github.com/Increase/increase-python/compare/v0.302.0...v0.303.0) diff --git a/pyproject.toml b/pyproject.toml index 2a79813bb..03e2a99f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.303.0" +version = "0.304.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 8fb795242..70b741f31 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.303.0" # x-release-please-version +__version__ = "0.304.0" # x-release-please-version diff --git a/src/increase/types/account.py b/src/increase/types/account.py index de69efb7e..a10f4b4ee 100644 --- a/src/increase/types/account.py +++ b/src/increase/types/account.py @@ -17,7 +17,8 @@ class Account(BaseModel): """ The account revenue rate currently being earned on the account, as a string containing a decimal number. For example, a 1% account revenue rate would be - represented as "0.01". + represented as "0.01". Account revenue is a type of non-interest income accrued + on the account. """ bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"] diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index 877dd1687..64341588d 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -9,6 +9,7 @@ __all__ = [ "Transaction", "Source", + "SourceAccountRevenuePayment", "SourceAccountTransferIntention", "SourceACHTransferIntention", "SourceACHTransferRejection", @@ -67,6 +68,17 @@ ] +class SourceAccountRevenuePayment(BaseModel): + accrued_on_account_id: str + """The account on which the account revenue was accrued.""" + + period_end: datetime + """The end of the period for which this transaction paid account revenue.""" + + period_start: datetime + """The start of the period for which this transaction paid account revenue.""" + + class SourceAccountTransferIntention(BaseModel): amount: int """The pending amount in the minor unit of the transaction's currency. @@ -2284,6 +2296,15 @@ class SourceWireTransferIntention(BaseModel): class Source(BaseModel): + account_revenue_payment: Optional[SourceAccountRevenuePayment] = None + """An Account Revenue Payment object. + + This field will be present in the JSON response if and only if `category` is + equal to `account_revenue_payment`. A Account Revenue Payment represents a + payment made to an account from the bank. Account revenue is a type of + non-interest income. + """ + account_transfer_intention: Optional[SourceAccountTransferIntention] = None """An Account Transfer Intention object. @@ -2419,6 +2440,7 @@ class Source(BaseModel): "swift_transfer_intention", "swift_transfer_return", "card_push_transfer_acceptance", + "account_revenue_payment", "other", ] """The type of the resource. @@ -2490,6 +2512,8 @@ class Source(BaseModel): `swift_transfer_return` object. - `card_push_transfer_acceptance` - Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object. + - `account_revenue_payment` - Account Revenue Payment: details will be under the + `account_revenue_payment` object. - `other` - The Transaction was made for an undocumented or deprecated reason. """ diff --git a/src/increase/types/transaction_list_params.py b/src/increase/types/transaction_list_params.py index d975132b9..9ad7e745f 100644 --- a/src/increase/types/transaction_list_params.py +++ b/src/increase/types/transaction_list_params.py @@ -71,6 +71,7 @@ class TransactionListParams(TypedDict, total=False): "swift_transfer_intention", "swift_transfer_return", "card_push_transfer_acceptance", + "account_revenue_payment", "other", ] ],