diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 9318fbe87..3c0bbe3e9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.381.0" + ".": "0.382.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 6ba32829f..748c5a918 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 228 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-04156469b84df056ff40f1cd402b851af019c7433591a072e02f90f3bd5e5d62.yml -openapi_spec_hash: c3ff2c35ac0bdadd4290ad7f063deb5e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-f55c7bc0881d1c7bcc906156155a0e43c6b8866050f778db3befebe14d42208f.yml +openapi_spec_hash: 78c5274b08b5e7ae5e16da80d733bc10 config_hash: eb2035151c7b49c2f12caf55469b8f9a diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e225764..96e58b954 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.382.0 (2025-11-05) + +Full Changelog: [v0.381.0...v0.382.0](https://github.com/Increase/increase-python/compare/v0.381.0...v0.382.0) + +### Features + +* **api:** api update ([f21d519](https://github.com/Increase/increase-python/commit/f21d519ccc3fce65c456b1c1f4e52e0e4805c9d9)) + ## 0.381.0 (2025-11-05) Full Changelog: [v0.380.0...v0.381.0](https://github.com/Increase/increase-python/compare/v0.380.0...v0.381.0) diff --git a/pyproject.toml b/pyproject.toml index d8dde1a58..e886b5017 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "increase" -version = "0.381.0" +version = "0.382.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 cd13059c3..d50ea171d 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.381.0" # x-release-please-version +__version__ = "0.382.0" # x-release-please-version diff --git a/src/increase/types/account.py b/src/increase/types/account.py index 468c92274..afc80739b 100644 --- a/src/increase/types/account.py +++ b/src/increase/types/account.py @@ -43,16 +43,11 @@ class Account(BaseModel): was created. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/account_transfer.py b/src/increase/types/account_transfer.py index a2b627c00..d0fcf9ab5 100644 --- a/src/increase/types/account_transfer.py +++ b/src/increase/types/account_transfer.py @@ -118,16 +118,11 @@ class AccountTransfer(BaseModel): created_by: Optional[CreatedBy] = None """What object created the transfer, either via the API or the dashboard.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/ach_transfer.py b/src/increase/types/ach_transfer.py index b405e01b6..d9a0af757 100644 --- a/src/increase/types/ach_transfer.py +++ b/src/increase/types/ach_transfer.py @@ -174,16 +174,11 @@ class InboundFundsHold(BaseModel): was created. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -705,16 +700,11 @@ class ACHTransfer(BaseModel): created_by: Optional[CreatedBy] = None """What object created the transfer, either via the API or the dashboard.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. For ACH transfers this is always equal to `usd`. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/card_payment.py b/src/increase/types/card_payment.py index 4def0c304..c243faf76 100644 --- a/src/increase/types/card_payment.py +++ b/src/increase/types/card_payment.py @@ -758,16 +758,11 @@ class ElementCardAuthorization(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -932,16 +927,11 @@ class ElementCardAuthorizationExpiration(BaseModel): card_authorization_id: str """The identifier for the Card Authorization this reverses.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1420,16 +1410,11 @@ class ElementCardDecline(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2109,16 +2094,11 @@ class ElementCardFinancial(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2304,16 +2284,11 @@ class ElementCardFuelConfirmation(BaseModel): card_authorization_id: str """The identifier for the Card Authorization this updates.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2600,16 +2575,11 @@ class ElementCardIncrement(BaseModel): card_authorization_id: str """The identifier for the Card Authorization this increments.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2684,14 +2654,9 @@ class ElementCardRefundCashback(BaseModel): settlements) and a negative number if it will be debited (e.g., refunds). """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2708,16 +2673,11 @@ class ElementCardRefundInterchange(BaseModel): code: Optional[str] = None """The card network specific interchange code.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3171,16 +3131,11 @@ class ElementCardRefund(BaseModel): Cashback is paid out in aggregate, monthly. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's settlement currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3285,16 +3240,11 @@ class ElementCardReversal(BaseModel): card_authorization_id: str """The identifier for the Card Authorization this reverses.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3421,14 +3371,9 @@ class ElementCardSettlementCashback(BaseModel): settlements) and a negative number if it will be debited (e.g., refunds). """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3445,16 +3390,11 @@ class ElementCardSettlementInterchange(BaseModel): code: Optional[str] = None """The card network specific interchange code.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3927,16 +3867,11 @@ class ElementCardSettlement(BaseModel): Cashback is paid out in aggregate, monthly. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's settlement currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -4462,16 +4397,11 @@ class ElementCardValidation(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/card_push_transfer.py b/src/increase/types/card_push_transfer.py index 516072251..0ec3dadf8 100644 --- a/src/increase/types/card_push_transfer.py +++ b/src/increase/types/card_push_transfer.py @@ -337,16 +337,11 @@ class CardPushTransfer(BaseModel): created_by: Optional[CreatedBy] = None """What object created the transfer, either via the API or the dashboard.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/check_deposit.py b/src/increase/types/check_deposit.py index 4f6cd1a2d..dbbc7091a 100644 --- a/src/increase/types/check_deposit.py +++ b/src/increase/types/check_deposit.py @@ -40,16 +40,11 @@ class DepositAcceptance(BaseModel): check_deposit_id: str """The ID of the Check Deposit that was accepted.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -89,16 +84,11 @@ class DepositRejection(BaseModel): check_deposit_id: str """The identifier of the Check Deposit that was rejected.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -162,16 +152,11 @@ class DepositReturn(BaseModel): check_deposit_id: str """The identifier of the Check Deposit that was returned.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -315,16 +300,11 @@ class InboundFundsHold(BaseModel): was created. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/check_transfer.py b/src/increase/types/check_transfer.py index 2c3866bde..51c8a57b4 100644 --- a/src/increase/types/check_transfer.py +++ b/src/increase/types/check_transfer.py @@ -395,16 +395,11 @@ class CheckTransfer(BaseModel): created_by: Optional[CreatedBy] = None """What object created the transfer, either via the API or the dashboard.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/declined_transaction.py b/src/increase/types/declined_transaction.py index b09705907..f15808ce7 100644 --- a/src/increase/types/declined_transaction.py +++ b/src/increase/types/declined_transaction.py @@ -582,16 +582,11 @@ class SourceCardDecline(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -928,16 +923,11 @@ class SourceCheckDepositRejection(BaseModel): check_deposit_id: str """The identifier of the Check Deposit that was rejected.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1040,17 +1030,12 @@ class SourceInboundRealTimePaymentsTransferDecline(BaseModel): 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"] + currency: Literal["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) """ @@ -1253,17 +1238,12 @@ class DeclinedTransaction(BaseModel): Transaction occurred. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined Transaction's currency. This will match the currency on the Declined Transaction's Account. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/fednow_transfer.py b/src/increase/types/fednow_transfer.py index 2336f52bf..5de9bf2e9 100644 --- a/src/increase/types/fednow_transfer.py +++ b/src/increase/types/fednow_transfer.py @@ -167,16 +167,11 @@ class FednowTransfer(BaseModel): This is set by the sender when creating the transfer. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. For FedNow transfers this is always equal to `USD`. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/inbound_check_deposit.py b/src/increase/types/inbound_check_deposit.py index 84e949c0c..7a21b8368 100644 --- a/src/increase/types/inbound_check_deposit.py +++ b/src/increase/types/inbound_check_deposit.py @@ -108,14 +108,9 @@ class InboundCheckDeposit(BaseModel): the deposit was attempted. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/inbound_fednow_transfer.py b/src/increase/types/inbound_fednow_transfer.py index 6dc720184..6dcfe37b2 100644 --- a/src/increase/types/inbound_fednow_transfer.py +++ b/src/increase/types/inbound_fednow_transfer.py @@ -89,16 +89,11 @@ class InboundFednowTransfer(BaseModel): 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"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's currency. This will always be "USD" for a FedNow transfer. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/inbound_real_time_payments_transfer.py b/src/increase/types/inbound_real_time_payments_transfer.py index f116452c3..39888f6c6 100755 --- a/src/increase/types/inbound_real_time_payments_transfer.py +++ b/src/increase/types/inbound_real_time_payments_transfer.py @@ -69,16 +69,11 @@ class InboundRealTimePaymentsTransfer(BaseModel): 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"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the 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) """ diff --git a/src/increase/types/intrafi_balance.py b/src/increase/types/intrafi_balance.py index 7c79445d6..6c929d872 100644 --- a/src/increase/types/intrafi_balance.py +++ b/src/increase/types/intrafi_balance.py @@ -49,16 +49,11 @@ class IntrafiBalance(BaseModel): network. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/pending_transaction.py b/src/increase/types/pending_transaction.py index 33666c110..9858faeb8 100644 --- a/src/increase/types/pending_transaction.py +++ b/src/increase/types/pending_transaction.py @@ -52,16 +52,11 @@ class SourceAccountTransferInstruction(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -544,16 +539,11 @@ class SourceCardAuthorization(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -732,16 +722,11 @@ class SourceCheckDepositInstruction(BaseModel): check_deposit_id: Optional[str] = None """The identifier of the Check Deposit.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -768,16 +753,11 @@ class SourceCheckTransferInstruction(BaseModel): amount: int """The transfer amount in USD cents.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -833,16 +813,11 @@ class SourceInboundFundsHold(BaseModel): was created. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1156,17 +1131,12 @@ class PendingTransaction(BaseModel): Transaction occurred. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending Transaction's currency. This will match the currency on the Pending Transaction's Account. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/real_time_payments_transfer.py b/src/increase/types/real_time_payments_transfer.py index 07b182dd7..8934f40aa 100644 --- a/src/increase/types/real_time_payments_transfer.py +++ b/src/increase/types/real_time_payments_transfer.py @@ -236,16 +236,11 @@ class RealTimePaymentsTransfer(BaseModel): This is set by the sender when creating the transfer. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. For real-time payments transfers this is always equal to `USD`. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/transaction.py b/src/increase/types/transaction.py index 2b4499a50..59a589414 100644 --- a/src/increase/types/transaction.py +++ b/src/increase/types/transaction.py @@ -123,16 +123,11 @@ class SourceAccountTransferIntention(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination account currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1035,16 +1030,11 @@ class SourceCardFinancial(BaseModel): card_payment_id: str """The ID of the Card Payment this transaction belongs to.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1224,14 +1214,9 @@ class SourceCardRefundCashback(BaseModel): settlements) and a negative number if it will be debited (e.g., refunds). """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1248,16 +1233,11 @@ class SourceCardRefundInterchange(BaseModel): code: Optional[str] = None """The card network specific interchange code.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1711,16 +1691,11 @@ class SourceCardRefund(BaseModel): Cashback is paid out in aggregate, monthly. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's settlement currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1798,16 +1773,11 @@ class SourceCardRevenuePayment(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1841,14 +1811,9 @@ class SourceCardSettlementCashback(BaseModel): settlements) and a negative number if it will be debited (e.g., refunds). """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -1865,16 +1830,11 @@ class SourceCardSettlementInterchange(BaseModel): code: Optional[str] = None """The card network specific interchange code.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange reimbursement. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2347,16 +2307,11 @@ class SourceCardSettlement(BaseModel): Cashback is paid out in aggregate, monthly. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's settlement currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2455,16 +2410,11 @@ class SourceCashbackPayment(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2509,16 +2459,11 @@ class SourceCheckDepositAcceptance(BaseModel): check_deposit_id: str """The ID of the Check Deposit that was accepted.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2555,16 +2500,11 @@ class SourceCheckDepositReturn(BaseModel): check_deposit_id: str """The identifier of the Check Deposit that was returned.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction's currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2746,16 +2686,11 @@ class SourceFeePayment(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -2956,16 +2891,11 @@ class SourceInboundRealTimePaymentsTransferConfirmation(BaseModel): 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"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the 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) """ @@ -3172,16 +3102,11 @@ class SourceInterestPayment(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3211,16 +3136,11 @@ class SourceInternalSource(BaseModel): For dollars, for example, this is cents. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction currency. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ @@ -3848,17 +3768,12 @@ class Transaction(BaseModel): Transaction occurred. """ - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Transaction's currency. This will match the currency on the Transaction's Account. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """ diff --git a/src/increase/types/wire_transfer.py b/src/increase/types/wire_transfer.py index d14ac9c66..218fa97c9 100644 --- a/src/increase/types/wire_transfer.py +++ b/src/increase/types/wire_transfer.py @@ -301,16 +301,11 @@ class WireTransfer(BaseModel): creditor: Optional[Creditor] = None """The person or business that is receiving the funds from the transfer.""" - currency: Literal["CAD", "CHF", "EUR", "GBP", "JPY", "USD"] + currency: Literal["USD"] """ The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's currency. For wire transfers this is always equal to `usd`. - - `CAD` - Canadian Dollar (CAD) - - `CHF` - Swiss Franc (CHF) - - `EUR` - Euro (EUR) - - `GBP` - British Pound (GBP) - - `JPY` - Japanese Yen (JPY) - `USD` - US Dollar (USD) """