diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f275b5aa1..4929c13ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,7 @@ jobs: run: ./scripts/lint build: - if: github.repository == 'stainless-sdks/increase-python' && (github.event_name == 'push' || github.event.pull_request.head.repo.fork) + if: github.event_name == 'push' || github.event.pull_request.head.repo.fork timeout-minutes: 10 name: build permissions: @@ -61,12 +61,14 @@ jobs: run: rye build - name: Get GitHub OIDC Token + if: github.repository == 'stainless-sdks/increase-python' id: github-oidc uses: actions/github-script@v6 with: script: core.setOutput('github_token', await core.getIDToken()); - name: Upload tarball + if: github.repository == 'stainless-sdks/increase-python' env: URL: https://pkg.stainless.com/s AUTH: ${{ steps.github-oidc.outputs.github_token }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 5739e4841..62a56493a 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.297.0" + ".": "0.298.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 372ce8332..267b1ca2c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 215 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-ead33c34bfbcc450c88d09e7d880fa5be57c504a66102e098ac03c5b220dea80.yml -openapi_spec_hash: 1544de50d73f80b843d5761009764ab6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-47271d8ef6b398d5273312e3c39405688f782f8ec811ddee55283f5c0bd1a355.yml +openapi_spec_hash: 304a3d8409f0cc03144052411acab7a1 config_hash: 0b0a2503208283b283fc5bc6df6a07a5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 915e97c45..2165c93d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.298.0 (2025-08-22) + +Full Changelog: [v0.297.0...v0.298.0](https://github.com/Increase/increase-python/compare/v0.297.0...v0.298.0) + +### Features + +* **api:** api update ([5cef34f](https://github.com/Increase/increase-python/commit/5cef34f7fe43f7a82f315a53e0f59938c4bb7885)) +* **api:** api update ([58beb3f](https://github.com/Increase/increase-python/commit/58beb3f7aa0d89787f2aac817926b89eb74e212d)) + + +### Chores + +* update github action ([72a863f](https://github.com/Increase/increase-python/commit/72a863f01af3fea1e41f0d0dc5e0571a5b88c246)) + ## 0.297.0 (2025-08-21) Full Changelog: [v0.296.0...v0.297.0](https://github.com/Increase/increase-python/compare/v0.296.0...v0.297.0) diff --git a/pyproject.toml b/pyproject.toml index a98446804..a6e4cbd48 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.297.0" +version = "0.298.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 a76a6901d..3d047f0f1 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.297.0" # x-release-please-version +__version__ = "0.298.0" # x-release-please-version diff --git a/src/increase/types/account.py b/src/increase/types/account.py index 5921c7098..de69efb7e 100644 --- a/src/increase/types/account.py +++ b/src/increase/types/account.py @@ -13,6 +13,13 @@ class Account(BaseModel): id: str """The Account identifier.""" + account_revenue_rate: Optional[str] = None + """ + 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". + """ + bank: Literal["core_bank", "first_internet_bank", "grasshopper_bank"] """The bank the Account is with. @@ -77,7 +84,7 @@ class Account(BaseModel): interest_rate: str """ - The Interest Rate currently being earned on the account, as a string containing + The interest rate currently being earned on the account, as a string containing a decimal number. For example, a 1% interest rate would be represented as "0.01". """ diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index 0b3762cf5..0af672c4a 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -54,7 +54,6 @@ "SourceInboundCheckAdjustment", "SourceInboundCheckDepositReturnIntention", "SourceInboundRealTimePaymentsTransferConfirmation", - "SourceInboundRealTimePaymentsTransferDecline", "SourceInboundWireReversal", "SourceInboundWireTransfer", "SourceInboundWireTransferReversal", @@ -2024,68 +2023,6 @@ class SourceInboundRealTimePaymentsTransferConfirmation(BaseModel): """The identifier of the Real-Time Payments Transfer that led to this Transaction.""" -class SourceInboundRealTimePaymentsTransferDecline(BaseModel): - amount: int - """The declined amount in the minor unit of the destination account currency. - - For dollars, for example, this is cents. - """ - - creditor_name: str - """The name the sender of the transfer specified as the recipient of the transfer.""" - - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] - """ - The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined - transfer's currency. This will always be "USD" for a Real-Time Payments - transfer. - - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - - `USD` - US Dollar (USD) - """ - - debtor_account_number: str - """The account number of the account that sent the transfer.""" - - debtor_name: str - """The name provided by the sender of the transfer.""" - - debtor_routing_number: str - """The routing number of the account that sent the transfer.""" - - reason: Literal[ - "account_number_canceled", - "account_number_disabled", - "account_restricted", - "group_locked", - "entity_not_active", - "real_time_payments_not_enabled", - ] - """Why the transfer was declined. - - - `account_number_canceled` - The account number is canceled. - - `account_number_disabled` - The account number is disabled. - - `account_restricted` - Your account is restricted. - - `group_locked` - Your account is inactive. - - `entity_not_active` - The account's entity is not active. - - `real_time_payments_not_enabled` - Your account is not enabled to receive - Real-Time Payments transfers. - """ - - remittance_information: Optional[str] = None - """Additional information included with the transfer.""" - - transaction_identification: str - """The Real-Time Payments network identification of the declined transfer.""" - - transfer_id: str - """The identifier of the Real-Time Payments Transfer that led to this Transaction.""" - - class SourceInboundWireReversal(BaseModel): amount: int """The amount that was reversed in USD cents.""" @@ -2494,7 +2431,6 @@ class Source(BaseModel): "inbound_check_deposit_return_intention", "inbound_check_adjustment", "inbound_real_time_payments_transfer_confirmation", - "inbound_real_time_payments_transfer_decline", "inbound_wire_reversal", "inbound_wire_transfer", "inbound_wire_transfer_reversal", @@ -2554,9 +2490,6 @@ class Source(BaseModel): - `inbound_real_time_payments_transfer_confirmation` - Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object. - - `inbound_real_time_payments_transfer_decline` - Inbound Real-Time Payments - Transfer Decline: details will be under the - `inbound_real_time_payments_transfer_decline` object. - `inbound_wire_reversal` - Inbound Wire Reversal: details will be under the `inbound_wire_reversal` object. - `inbound_wire_transfer` - Inbound Wire Transfer Intention: details will be @@ -2662,13 +2595,6 @@ class Source(BaseModel): transfer is initiated at another bank and received by Increase. """ - inbound_real_time_payments_transfer_decline: Optional[SourceInboundRealTimePaymentsTransferDecline] = None - """An Inbound Real-Time Payments Transfer Decline object. - - This field will be present in the JSON response if and only if `category` is - equal to `inbound_real_time_payments_transfer_decline`. - """ - inbound_wire_reversal: Optional[SourceInboundWireReversal] = None """An Inbound Wire Reversal object. diff --git a/src/increase/types/transaction_list_params.py b/src/increase/types/transaction_list_params.py index e7f4a3fa4..d975132b9 100644 --- a/src/increase/types/transaction_list_params.py +++ b/src/increase/types/transaction_list_params.py @@ -60,7 +60,6 @@ class TransactionListParams(TypedDict, total=False): "inbound_check_deposit_return_intention", "inbound_check_adjustment", "inbound_real_time_payments_transfer_confirmation", - "inbound_real_time_payments_transfer_decline", "inbound_wire_reversal", "inbound_wire_transfer", "inbound_wire_transfer_reversal",