increase 0.11.6 → 0.11.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/_shims/node-runtime.js +2 -2
- package/_shims/node-runtime.js.map +1 -1
- package/_shims/node-runtime.mjs +2 -2
- package/_shims/node-runtime.mjs.map +1 -1
- package/core.js +17 -21
- package/core.js.map +1 -1
- package/core.mjs +17 -21
- package/core.mjs.map +1 -1
- package/error.js +76 -76
- package/error.js.map +1 -1
- package/error.mjs +76 -76
- package/error.mjs.map +1 -1
- package/index.d.mts +109 -109
- package/index.d.ts +109 -109
- package/index.d.ts.map +1 -1
- package/index.js +3 -4
- package/index.js.map +1 -1
- package/index.mjs +3 -4
- package/index.mjs.map +1 -1
- package/package.json +2 -1
- package/resources/account-numbers.d.ts +7 -9
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js +25 -0
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +2 -0
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +5 -7
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +25 -0
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +2 -0
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +6 -8
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +25 -0
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +2 -0
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +7 -9
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +25 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +2 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +6 -8
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +25 -0
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +2 -0
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +6 -8
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +25 -0
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +2 -0
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/balance-lookups.d.ts +3 -3
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/balance-lookups.js +0 -2
- package/resources/balance-lookups.js.map +1 -1
- package/resources/balance-lookups.mjs +0 -2
- package/resources/balance-lookups.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +6 -8
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +25 -0
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +2 -0
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +5 -7
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +25 -0
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +2 -0
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +3 -3
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +0 -2
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +0 -2
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.ts +6 -8
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +25 -0
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +2 -0
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +5 -7
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +25 -0
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +2 -0
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-profiles.d.ts +6 -8
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js +25 -0
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +2 -0
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +5 -7
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +25 -0
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +2 -0
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.d.ts +8 -10
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +25 -0
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +2 -0
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +6 -8
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +25 -0
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +2 -0
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +7 -9
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +25 -0
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +2 -0
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +5 -7
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +25 -0
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +2 -0
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +5 -7
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +25 -0
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +2 -0
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +5 -7
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +25 -0
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -0
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +8 -8
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +0 -2
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +0 -2
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +20 -22
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +9 -8
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +9 -8
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +8 -10
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/entities/supplemental-documents.js +25 -0
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +2 -0
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +7 -9
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +25 -0
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +2 -0
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +5 -7
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +25 -0
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +2 -0
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +6 -8
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +25 -0
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +2 -0
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +7 -9
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js +25 -0
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +2 -0
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +6 -8
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +25 -0
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -0
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +2 -2
- package/resources/groups.d.ts.map +1 -1
- package/resources/groups.js +0 -2
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +0 -2
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +7 -9
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +25 -0
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +2 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +5 -7
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +25 -0
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +2 -0
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +5 -7
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +25 -0
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +2 -0
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +5 -7
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +25 -0
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +2 -0
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-cards.d.ts +7 -9
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js +25 -0
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +2 -0
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.ts +5 -7
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +25 -0
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +2 -0
- package/resources/programs.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +3 -3
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +0 -2
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +0 -2
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -8
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +25 -0
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +2 -0
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +5 -7
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +25 -0
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +2 -0
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +4 -4
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-statements.js +0 -2
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +0 -2
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.d.ts +2 -2
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +7 -7
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +0 -2
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +0 -2
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +4 -4
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-disputes.js +0 -2
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +0 -2
- package/resources/simulations/card-disputes.mjs.map +1 -1
- package/resources/simulations/card-profiles.d.ts +2 -2
- package/resources/simulations/card-profiles.d.ts.map +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.ts +4 -4
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/card-refunds.js +0 -2
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +0 -2
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +6 -6
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js +0 -2
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs +0 -2
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +4 -4
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-transfers.d.ts +3 -3
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +3 -3
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +0 -2
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +0 -2
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
- package/resources/simulations/documents.d.ts +4 -4
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js +0 -2
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +0 -2
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +2 -2
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.js +0 -2
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs +0 -2
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -4
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +0 -2
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +0 -2
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +3 -3
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js +0 -2
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +0 -2
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts +4 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +0 -2
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +0 -2
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +4 -4
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js +0 -2
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +0 -2
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +6 -6
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +0 -2
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +0 -2
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +77 -78
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +54 -55
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +54 -55
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +3 -3
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +0 -2
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +0 -2
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +5 -7
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +25 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +2 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +6 -8
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +25 -0
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +2 -0
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +6 -8
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +25 -0
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +2 -0
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/node-runtime.ts +2 -2
- package/src/index.ts +109 -109
- package/src/resources/account-numbers.ts +7 -9
- package/src/resources/account-statements.ts +5 -7
- package/src/resources/account-transfers.ts +6 -8
- package/src/resources/accounts.ts +7 -9
- package/src/resources/ach-prenotifications.ts +6 -8
- package/src/resources/ach-transfers.ts +6 -8
- package/src/resources/balance-lookups.ts +3 -3
- package/src/resources/bookkeeping-accounts.ts +6 -8
- package/src/resources/bookkeeping-entries.ts +5 -7
- package/src/resources/bookkeeping-entry-sets.ts +3 -3
- package/src/resources/card-disputes.ts +6 -8
- package/src/resources/card-payments.ts +5 -7
- package/src/resources/card-profiles.ts +6 -8
- package/src/resources/card-purchase-supplements.ts +5 -7
- package/src/resources/cards.ts +8 -10
- package/src/resources/check-deposits.ts +6 -8
- package/src/resources/check-transfers.ts +7 -9
- package/src/resources/declined-transactions.ts +5 -7
- package/src/resources/digital-wallet-tokens.ts +5 -7
- package/src/resources/documents.ts +5 -7
- package/src/resources/entities/beneficial-owners.ts +11 -8
- package/src/resources/entities/entities.ts +23 -24
- package/src/resources/entities/supplemental-documents.ts +8 -10
- package/src/resources/event-subscriptions.ts +7 -9
- package/src/resources/events.ts +5 -7
- package/src/resources/exports.ts +6 -8
- package/src/resources/external-accounts.ts +7 -9
- package/src/resources/files.ts +6 -8
- package/src/resources/groups.ts +2 -2
- package/src/resources/inbound-ach-transfers.ts +9 -9
- package/src/resources/inbound-wire-drawdown-requests.ts +6 -7
- package/src/resources/oauth-connections.ts +5 -7
- package/src/resources/pending-transactions.ts +5 -7
- package/src/resources/physical-cards.ts +7 -9
- package/src/resources/programs.ts +5 -7
- package/src/resources/real-time-decisions.ts +3 -3
- package/src/resources/real-time-payments-transfers.ts +8 -8
- package/src/resources/routing-numbers.ts +5 -7
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +2 -2
- package/src/resources/simulations/ach-transfers.ts +7 -7
- package/src/resources/simulations/card-disputes.ts +4 -4
- package/src/resources/simulations/card-profiles.ts +5 -2
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +6 -6
- package/src/resources/simulations/check-deposits.ts +4 -4
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +5 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +2 -2
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +5 -4
- package/src/resources/simulations/interest-payments.ts +3 -3
- package/src/resources/simulations/physical-cards.ts +5 -4
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +9 -6
- package/src/resources/simulations/simulations.ts +94 -95
- package/src/resources/simulations/wire-transfers.ts +3 -3
- package/src/resources/transactions.ts +5 -7
- package/src/resources/wire-drawdown-requests.ts +6 -8
- package/src/resources/wire-transfers.ts +6 -8
- package/src/version.ts +1 -1
- package/uploads.js +5 -9
- package/uploads.js.map +1 -1
- package/uploads.mjs +5 -9
- package/uploads.mjs.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/src/resources/files.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
6
|
+
import * as FilesAPI from "../e/resources/files";
|
|
7
7
|
import { type Uploadable, multipartFormRequestOptions } from "../e/core";
|
|
8
|
-
import { Page, PageParams } from "../e/pagination";
|
|
8
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
9
9
|
|
|
10
10
|
export class Files extends APIResource {
|
|
11
11
|
/**
|
|
@@ -41,8 +41,6 @@ export class Files extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export class FilesPage extends Page<File> {}
|
|
44
|
-
// alias so we can export it in the namespace
|
|
45
|
-
type _FilesPage = FilesPage;
|
|
46
44
|
|
|
47
45
|
/**
|
|
48
46
|
* Files are objects that represent a file hosted on Increase's servers. The file
|
|
@@ -259,8 +257,8 @@ export namespace FileListParams {
|
|
|
259
257
|
}
|
|
260
258
|
|
|
261
259
|
export namespace Files {
|
|
262
|
-
export
|
|
263
|
-
export
|
|
264
|
-
export
|
|
265
|
-
export
|
|
260
|
+
export type File = FilesAPI.File;
|
|
261
|
+
export import FilesPage = FilesAPI.FilesPage;
|
|
262
|
+
export type FileCreateParams = FilesAPI.FileCreateParams;
|
|
263
|
+
export type FileListParams = FilesAPI.FileListParams;
|
|
266
264
|
}
|
package/src/resources/groups.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as GroupsAPI from "../e/resources/groups";
|
|
6
6
|
|
|
7
7
|
export class Groups extends APIResource {
|
|
8
8
|
/**
|
|
@@ -54,5 +54,5 @@ export interface Group {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export namespace Groups {
|
|
57
|
-
export
|
|
57
|
+
export type Group = GroupsAPI.Group;
|
|
58
58
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as InboundACHTransfersAPI from "../e/resources/inbound-ach-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class InboundACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -66,8 +66,6 @@ export class InboundACHTransfers extends APIResource {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export class InboundACHTransfersPage extends Page<InboundACHTransfer> {}
|
|
69
|
-
// alias so we can export it in the namespace
|
|
70
|
-
type _InboundACHTransfersPage = InboundACHTransfersPage;
|
|
71
69
|
|
|
72
70
|
/**
|
|
73
71
|
* An Inbound ACH Transfer is an ACH transfer initiated outside of Increase to your
|
|
@@ -417,9 +415,11 @@ export interface InboundACHTransferTransferReturnParams {
|
|
|
417
415
|
}
|
|
418
416
|
|
|
419
417
|
export namespace InboundACHTransfers {
|
|
420
|
-
export
|
|
421
|
-
export
|
|
422
|
-
export
|
|
423
|
-
export
|
|
424
|
-
|
|
418
|
+
export type InboundACHTransfer = InboundACHTransfersAPI.InboundACHTransfer;
|
|
419
|
+
export import InboundACHTransfersPage = InboundACHTransfersAPI.InboundACHTransfersPage;
|
|
420
|
+
export type InboundACHTransferListParams = InboundACHTransfersAPI.InboundACHTransferListParams;
|
|
421
|
+
export type InboundACHTransferNotificationOfChangeParams =
|
|
422
|
+
InboundACHTransfersAPI.InboundACHTransferNotificationOfChangeParams;
|
|
423
|
+
export type InboundACHTransferTransferReturnParams =
|
|
424
|
+
InboundACHTransfersAPI.InboundACHTransferTransferReturnParams;
|
|
425
425
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as InboundWireDrawdownRequestsAPI from "../e/resources/inbound-wire-drawdown-requests";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class InboundWireDrawdownRequests extends APIResource {
|
|
10
10
|
/**
|
|
@@ -42,8 +42,6 @@ export class InboundWireDrawdownRequests extends APIResource {
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export class InboundWireDrawdownRequestsPage extends Page<InboundWireDrawdownRequest> {}
|
|
45
|
-
// alias so we can export it in the namespace
|
|
46
|
-
type _InboundWireDrawdownRequestsPage = InboundWireDrawdownRequestsPage;
|
|
47
45
|
|
|
48
46
|
/**
|
|
49
47
|
* Inbound wire drawdown requests are requests from someone else to send them a
|
|
@@ -172,7 +170,8 @@ export interface InboundWireDrawdownRequest {
|
|
|
172
170
|
export interface InboundWireDrawdownRequestListParams extends PageParams {}
|
|
173
171
|
|
|
174
172
|
export namespace InboundWireDrawdownRequests {
|
|
175
|
-
export
|
|
176
|
-
export
|
|
177
|
-
export
|
|
173
|
+
export type InboundWireDrawdownRequest = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequest;
|
|
174
|
+
export import InboundWireDrawdownRequestsPage = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestsPage;
|
|
175
|
+
export type InboundWireDrawdownRequestListParams =
|
|
176
|
+
InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequestListParams;
|
|
178
177
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as OauthConnectionsAPI from "../e/resources/oauth-connections";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class OauthConnections extends APIResource {
|
|
10
10
|
/**
|
|
@@ -34,8 +34,6 @@ export class OauthConnections extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class OauthConnectionsPage extends Page<OauthConnection> {}
|
|
37
|
-
// alias so we can export it in the namespace
|
|
38
|
-
type _OauthConnectionsPage = OauthConnectionsPage;
|
|
39
37
|
|
|
40
38
|
/**
|
|
41
39
|
* When a user authorizes your OAuth application, an OAuth Connection object is
|
|
@@ -76,7 +74,7 @@ export interface OauthConnection {
|
|
|
76
74
|
export interface OauthConnectionListParams extends PageParams {}
|
|
77
75
|
|
|
78
76
|
export namespace OauthConnections {
|
|
79
|
-
export
|
|
80
|
-
export
|
|
81
|
-
export
|
|
77
|
+
export type OauthConnection = OauthConnectionsAPI.OauthConnection;
|
|
78
|
+
export import OauthConnectionsPage = OauthConnectionsAPI.OauthConnectionsPage;
|
|
79
|
+
export type OauthConnectionListParams = OauthConnectionsAPI.OauthConnectionListParams;
|
|
82
80
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as PendingTransactionsAPI from "../e/resources/pending-transactions";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class PendingTransactions extends APIResource {
|
|
10
10
|
/**
|
|
@@ -34,8 +34,6 @@ export class PendingTransactions extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class PendingTransactionsPage extends Page<PendingTransaction> {}
|
|
37
|
-
// alias so we can export it in the namespace
|
|
38
|
-
type _PendingTransactionsPage = PendingTransactionsPage;
|
|
39
37
|
|
|
40
38
|
/**
|
|
41
39
|
* Pending Transactions are potential future additions and removals of money from
|
|
@@ -763,7 +761,7 @@ export namespace PendingTransactionListParams {
|
|
|
763
761
|
}
|
|
764
762
|
|
|
765
763
|
export namespace PendingTransactions {
|
|
766
|
-
export
|
|
767
|
-
export
|
|
768
|
-
export
|
|
764
|
+
export type PendingTransaction = PendingTransactionsAPI.PendingTransaction;
|
|
765
|
+
export import PendingTransactionsPage = PendingTransactionsAPI.PendingTransactionsPage;
|
|
766
|
+
export type PendingTransactionListParams = PendingTransactionsAPI.PendingTransactionListParams;
|
|
769
767
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as PhysicalCardsAPI from "../e/resources/physical-cards";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class PhysicalCards extends APIResource {
|
|
10
10
|
/**
|
|
@@ -52,8 +52,6 @@ export class PhysicalCards extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export class PhysicalCardsPage extends Page<PhysicalCard> {}
|
|
55
|
-
// alias so we can export it in the namespace
|
|
56
|
-
type _PhysicalCardsPage = PhysicalCardsPage;
|
|
57
55
|
|
|
58
56
|
/**
|
|
59
57
|
* Custom physical Visa cards that are shipped to your customers. The artwork is
|
|
@@ -386,9 +384,9 @@ export namespace PhysicalCardListParams {
|
|
|
386
384
|
}
|
|
387
385
|
|
|
388
386
|
export namespace PhysicalCards {
|
|
389
|
-
export
|
|
390
|
-
export
|
|
391
|
-
export
|
|
392
|
-
export
|
|
393
|
-
export
|
|
387
|
+
export type PhysicalCard = PhysicalCardsAPI.PhysicalCard;
|
|
388
|
+
export import PhysicalCardsPage = PhysicalCardsAPI.PhysicalCardsPage;
|
|
389
|
+
export type PhysicalCardCreateParams = PhysicalCardsAPI.PhysicalCardCreateParams;
|
|
390
|
+
export type PhysicalCardUpdateParams = PhysicalCardsAPI.PhysicalCardUpdateParams;
|
|
391
|
+
export type PhysicalCardListParams = PhysicalCardsAPI.PhysicalCardListParams;
|
|
394
392
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as ProgramsAPI from "../e/resources/programs";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class Programs extends APIResource {
|
|
10
10
|
/**
|
|
@@ -31,8 +31,6 @@ export class Programs extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export class ProgramsPage extends Page<Program> {}
|
|
34
|
-
// alias so we can export it in the namespace
|
|
35
|
-
type _ProgramsPage = ProgramsPage;
|
|
36
34
|
|
|
37
35
|
/**
|
|
38
36
|
* Programs determine the compliance and commercial terms of Accounts. By default,
|
|
@@ -73,7 +71,7 @@ export interface Program {
|
|
|
73
71
|
export interface ProgramListParams extends PageParams {}
|
|
74
72
|
|
|
75
73
|
export namespace Programs {
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
74
|
+
export type Program = ProgramsAPI.Program;
|
|
75
|
+
export import ProgramsPage = ProgramsAPI.ProgramsPage;
|
|
76
|
+
export type ProgramListParams = ProgramsAPI.ProgramListParams;
|
|
79
77
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as RealTimeDecisionsAPI from "../e/resources/real-time-decisions";
|
|
6
6
|
|
|
7
7
|
export class RealTimeDecisions extends APIResource {
|
|
8
8
|
/**
|
|
@@ -534,6 +534,6 @@ export namespace RealTimeDecisionActionParams {
|
|
|
534
534
|
}
|
|
535
535
|
|
|
536
536
|
export namespace RealTimeDecisions {
|
|
537
|
-
export
|
|
538
|
-
export
|
|
537
|
+
export type RealTimeDecision = RealTimeDecisionsAPI.RealTimeDecision;
|
|
538
|
+
export type RealTimeDecisionActionParams = RealTimeDecisionsAPI.RealTimeDecisionActionParams;
|
|
539
539
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as RealTimePaymentsTransfersAPI from "../e/resources/real-time-payments-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class RealTimePaymentsTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -52,8 +52,6 @@ export class RealTimePaymentsTransfers extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export class RealTimePaymentsTransfersPage extends Page<RealTimePaymentsTransfer> {}
|
|
55
|
-
// alias so we can export it in the namespace
|
|
56
|
-
type _RealTimePaymentsTransfersPage = RealTimePaymentsTransfersPage;
|
|
57
55
|
|
|
58
56
|
/**
|
|
59
57
|
* Real-Time Payments transfers move funds, within seconds, between your Increase
|
|
@@ -448,8 +446,10 @@ export namespace RealTimePaymentsTransferListParams {
|
|
|
448
446
|
}
|
|
449
447
|
|
|
450
448
|
export namespace RealTimePaymentsTransfers {
|
|
451
|
-
export
|
|
452
|
-
export
|
|
453
|
-
export
|
|
454
|
-
|
|
449
|
+
export type RealTimePaymentsTransfer = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfer;
|
|
450
|
+
export import RealTimePaymentsTransfersPage = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfersPage;
|
|
451
|
+
export type RealTimePaymentsTransferCreateParams =
|
|
452
|
+
RealTimePaymentsTransfersAPI.RealTimePaymentsTransferCreateParams;
|
|
453
|
+
export type RealTimePaymentsTransferListParams =
|
|
454
|
+
RealTimePaymentsTransfersAPI.RealTimePaymentsTransferListParams;
|
|
455
455
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import { Page, PageParams } from "../e/pagination";
|
|
5
|
+
import * as RoutingNumbersAPI from "../e/resources/routing-numbers";
|
|
6
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
7
7
|
|
|
8
8
|
export class RoutingNumbers extends APIResource {
|
|
9
9
|
/**
|
|
@@ -21,8 +21,6 @@ export class RoutingNumbers extends APIResource {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export class RoutingNumbersPage extends Page<RoutingNumber> {}
|
|
24
|
-
// alias so we can export it in the namespace
|
|
25
|
-
type _RoutingNumbersPage = RoutingNumbersPage;
|
|
26
24
|
|
|
27
25
|
/**
|
|
28
26
|
* Routing numbers are used to identify your bank in a financial transaction.
|
|
@@ -77,7 +75,7 @@ export interface RoutingNumberListParams extends PageParams {
|
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
export namespace RoutingNumbers {
|
|
80
|
-
export
|
|
81
|
-
export
|
|
82
|
-
export
|
|
78
|
+
export type RoutingNumber = RoutingNumbersAPI.RoutingNumber;
|
|
79
|
+
export import RoutingNumbersPage = RoutingNumbersAPI.RoutingNumbersPage;
|
|
80
|
+
export type RoutingNumberListParams = RoutingNumbersAPI.RoutingNumberListParams;
|
|
83
81
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as SimulationsAccountStatementsAPI from "../../e/resources/simulations/account-statements";
|
|
6
|
+
import * as AccountStatementsAPI from "../../e/resources/account-statements";
|
|
7
7
|
|
|
8
8
|
export class AccountStatements extends APIResource {
|
|
9
9
|
/**
|
|
@@ -13,7 +13,7 @@ export class AccountStatements extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: AccountStatementCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
): Core.APIPromise<
|
|
16
|
+
): Core.APIPromise<AccountStatementsAPI.AccountStatement> {
|
|
17
17
|
return this.post('/simulations/account_statements', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -26,5 +26,5 @@ export interface AccountStatementCreateParams {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
export namespace AccountStatements {
|
|
29
|
-
export
|
|
29
|
+
export type AccountStatementCreateParams = SimulationsAccountStatementsAPI.AccountStatementCreateParams;
|
|
30
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as AccountTransfersAPI from "../../e/resources/account-transfers";
|
|
6
6
|
|
|
7
7
|
export class AccountTransfers extends APIResource {
|
|
8
8
|
/**
|
|
@@ -14,7 +14,7 @@ export class AccountTransfers extends APIResource {
|
|
|
14
14
|
complete(
|
|
15
15
|
accountTransferId: string,
|
|
16
16
|
options?: Core.RequestOptions,
|
|
17
|
-
): Core.APIPromise<
|
|
17
|
+
): Core.APIPromise<AccountTransfersAPI.AccountTransfer> {
|
|
18
18
|
return this.post(`/simulations/account_transfers/${accountTransferId}/complete`, options);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as SimulationsACHTransfersAPI from "../../e/resources/simulations/ach-transfers";
|
|
6
|
+
import * as ACHTransfersAPI from "../../e/resources/ach-transfers";
|
|
7
7
|
|
|
8
8
|
export class ACHTransfers extends APIResource {
|
|
9
9
|
/**
|
|
@@ -34,7 +34,7 @@ export class ACHTransfers extends APIResource {
|
|
|
34
34
|
achTransferId: string,
|
|
35
35
|
body: ACHTransferReturnParams,
|
|
36
36
|
options?: Core.RequestOptions,
|
|
37
|
-
): Core.APIPromise<
|
|
37
|
+
): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
|
|
38
38
|
return this.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ export class ACHTransfers extends APIResource {
|
|
|
46
46
|
* not submitted to the Federal Reserve, this endpoint allows you to skip that
|
|
47
47
|
* delay and transition the ACH Transfer to a status of `submitted`.
|
|
48
48
|
*/
|
|
49
|
-
submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<
|
|
49
|
+
submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
|
|
50
50
|
return this.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -4909,7 +4909,7 @@ export interface ACHTransferReturnParams {
|
|
|
4909
4909
|
}
|
|
4910
4910
|
|
|
4911
4911
|
export namespace ACHTransfers {
|
|
4912
|
-
export
|
|
4913
|
-
export
|
|
4914
|
-
export
|
|
4912
|
+
export type ACHTransferSimulation = SimulationsACHTransfersAPI.ACHTransferSimulation;
|
|
4913
|
+
export type ACHTransferCreateInboundParams = SimulationsACHTransfersAPI.ACHTransferCreateInboundParams;
|
|
4914
|
+
export type ACHTransferReturnParams = SimulationsACHTransfersAPI.ACHTransferReturnParams;
|
|
4915
4915
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as SimulationsCardDisputesAPI from "../../e/resources/simulations/card-disputes";
|
|
6
|
+
import * as CardDisputesAPI from "../../e/resources/card-disputes";
|
|
7
7
|
|
|
8
8
|
export class CardDisputes extends APIResource {
|
|
9
9
|
/**
|
|
@@ -16,7 +16,7 @@ export class CardDisputes extends APIResource {
|
|
|
16
16
|
cardDisputeId: string,
|
|
17
17
|
body: CardDisputeActionParams,
|
|
18
18
|
options?: Core.RequestOptions,
|
|
19
|
-
): Core.APIPromise<
|
|
19
|
+
): Core.APIPromise<CardDisputesAPI.CardDispute> {
|
|
20
20
|
return this.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -38,5 +38,5 @@ export interface CardDisputeActionParams {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export namespace CardDisputes {
|
|
41
|
-
export
|
|
41
|
+
export type CardDisputeActionParams = SimulationsCardDisputesAPI.CardDisputeActionParams;
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as CardProfilesAPI from "../../e/resources/card-profiles";
|
|
6
6
|
|
|
7
7
|
export class CardProfiles extends APIResource {
|
|
8
8
|
/**
|
|
@@ -12,7 +12,10 @@ export class CardProfiles extends APIResource {
|
|
|
12
12
|
* the webhooks Increase sends when the Card Profile is approved and updates the
|
|
13
13
|
* status of the Card Profile.
|
|
14
14
|
*/
|
|
15
|
-
approve(
|
|
15
|
+
approve(
|
|
16
|
+
cardProfileId: string,
|
|
17
|
+
options?: Core.RequestOptions,
|
|
18
|
+
): Core.APIPromise<CardProfilesAPI.CardProfile> {
|
|
16
19
|
return this.post(`/simulations/card_profiles/${cardProfileId}/approve`, options);
|
|
17
20
|
}
|
|
18
21
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as CardRefundsAPI from "../../e/resources/simulations/card-refunds";
|
|
6
|
+
import * as TransactionsAPI from "../../e/resources/transactions";
|
|
7
7
|
|
|
8
8
|
export class CardRefunds extends APIResource {
|
|
9
9
|
/**
|
|
@@ -13,7 +13,7 @@ export class CardRefunds extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: CardRefundCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
): Core.APIPromise<
|
|
16
|
+
): Core.APIPromise<TransactionsAPI.Transaction> {
|
|
17
17
|
return this.post('/simulations/card_refunds', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -27,5 +27,5 @@ export interface CardRefundCreateParams {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export namespace CardRefunds {
|
|
30
|
-
export
|
|
30
|
+
export type CardRefundCreateParams = CardRefundsAPI.CardRefundCreateParams;
|
|
31
31
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as CardsAPI from "../../e/resources/simulations/cards";
|
|
6
|
+
import * as TransactionsAPI from "../../e/resources/transactions";
|
|
7
7
|
|
|
8
8
|
export class Cards extends APIResource {
|
|
9
9
|
/**
|
|
@@ -32,7 +32,7 @@ export class Cards extends APIResource {
|
|
|
32
32
|
settlement(
|
|
33
33
|
body: CardSettlementParams,
|
|
34
34
|
options?: Core.RequestOptions,
|
|
35
|
-
): Core.APIPromise<
|
|
35
|
+
): Core.APIPromise<TransactionsAPI.Transaction> {
|
|
36
36
|
return this.post('/simulations/card_settlements', { body, ...options });
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1774,7 +1774,7 @@ export interface CardSettlementParams {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
|
|
1776
1776
|
export namespace Cards {
|
|
1777
|
-
export
|
|
1778
|
-
export
|
|
1779
|
-
export
|
|
1777
|
+
export type CardAuthorizationSimulation = CardsAPI.CardAuthorizationSimulation;
|
|
1778
|
+
export type CardAuthorizeParams = CardsAPI.CardAuthorizeParams;
|
|
1779
|
+
export type CardSettlementParams = CardsAPI.CardSettlementParams;
|
|
1780
1780
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as CheckDepositsAPI from "../../e/resources/check-deposits";
|
|
6
6
|
|
|
7
7
|
export class CheckDeposits extends APIResource {
|
|
8
8
|
/**
|
|
@@ -13,7 +13,7 @@ export class CheckDeposits extends APIResource {
|
|
|
13
13
|
reject(
|
|
14
14
|
checkDepositId: string,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
): Core.APIPromise<
|
|
16
|
+
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
17
17
|
return this.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ export class CheckDeposits extends APIResource {
|
|
|
24
24
|
return(
|
|
25
25
|
checkDepositId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
|
-
): Core.APIPromise<
|
|
27
|
+
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
28
28
|
return this.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ export class CheckDeposits extends APIResource {
|
|
|
35
35
|
submit(
|
|
36
36
|
checkDepositId: string,
|
|
37
37
|
options?: Core.RequestOptions,
|
|
38
|
-
): Core.APIPromise<
|
|
38
|
+
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
39
39
|
return this.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as CheckTransfersAPI from "../../e/resources/check-transfers";
|
|
6
6
|
|
|
7
7
|
export class CheckTransfers extends APIResource {
|
|
8
8
|
/**
|
|
@@ -12,7 +12,7 @@ export class CheckTransfers extends APIResource {
|
|
|
12
12
|
deposit(
|
|
13
13
|
checkTransferId: string,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
|
-
): Core.APIPromise<
|
|
15
|
+
): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
|
|
16
16
|
return this.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ export class CheckTransfers extends APIResource {
|
|
|
24
24
|
mail(
|
|
25
25
|
checkTransferId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
|
-
): Core.APIPromise<
|
|
27
|
+
): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
|
|
28
28
|
return this.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as DigitalWalletTokenRequestsAPI from "../../e/resources/simulations/digital-wallet-token-requests";
|
|
6
6
|
|
|
7
7
|
export class DigitalWalletTokenRequests extends APIResource {
|
|
8
8
|
/**
|
|
@@ -60,6 +60,8 @@ export interface DigitalWalletTokenRequestCreateParams {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
export namespace DigitalWalletTokenRequests {
|
|
63
|
-
export
|
|
64
|
-
|
|
63
|
+
export type DigitalWalletTokenRequestCreateResponse =
|
|
64
|
+
DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateResponse;
|
|
65
|
+
export type DigitalWalletTokenRequestCreateParams =
|
|
66
|
+
DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequestCreateParams;
|
|
65
67
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as SimulationsDocumentsAPI from "../../e/resources/simulations/documents";
|
|
6
|
+
import * as DocumentsAPI from "../../e/resources/documents";
|
|
7
7
|
|
|
8
8
|
export class Documents extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Simulates an tax document being created for an account.
|
|
11
11
|
*/
|
|
12
|
-
create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
12
|
+
create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<DocumentsAPI.Document> {
|
|
13
13
|
return this.post('/simulations/documents', { body, ...options });
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -22,5 +22,5 @@ export interface DocumentCreateParams {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
export namespace Documents {
|
|
25
|
-
export
|
|
25
|
+
export type DocumentCreateParams = SimulationsDocumentsAPI.DocumentCreateParams;
|
|
26
26
|
}
|