Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.297.0"
".": "0.298.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/increase/_version.py
Original file line number Diff line number Diff line change
@@ -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
9 changes: 8 additions & 1 deletion src/increase/types/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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".
"""
Expand Down
74 changes: 0 additions & 74 deletions src/increase/types/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
"SourceInboundCheckAdjustment",
"SourceInboundCheckDepositReturnIntention",
"SourceInboundRealTimePaymentsTransferConfirmation",
"SourceInboundRealTimePaymentsTransferDecline",
"SourceInboundWireReversal",
"SourceInboundWireTransfer",
"SourceInboundWireTransferReversal",
Expand Down Expand Up @@ -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."""
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down
1 change: 0 additions & 1 deletion src/increase/types/transaction_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading