increase 0.54.0 → 0.57.0
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 +61 -0
- package/README.md +1 -1
- package/core.d.ts +4 -2
- package/core.d.ts.map +1 -1
- package/core.js +17 -4
- package/core.js.map +1 -1
- package/core.mjs +18 -5
- package/core.mjs.map +1 -1
- package/index.d.mts +22 -6
- package/index.d.ts +22 -6
- package/index.d.ts.map +1 -1
- package/index.js +13 -5
- package/index.js.map +1 -1
- package/index.mjs +13 -5
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-numbers.d.ts +4 -4
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js +4 -4
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +4 -4
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +4 -4
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +4 -4
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +4 -4
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +64 -4
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +4 -4
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +4 -4
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +9 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +4 -4
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +4 -4
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +4 -4
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +4 -4
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +4 -4
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +151 -16
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +4 -4
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +4 -4
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +4 -4
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +4 -4
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +4 -4
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +4 -4
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +4 -4
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +4 -4
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +4 -4
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +4 -4
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +4 -4
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.ts +60 -7
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +4 -4
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +4 -4
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +54 -13
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +4 -4
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +4 -4
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +8 -4
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +4 -4
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +4 -4
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.d.ts +4 -4
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +4 -4
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +4 -4
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +36 -19
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +4 -4
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +4 -4
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +74 -4
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +4 -4
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +4 -4
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +84 -10
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +4 -4
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +4 -4
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-card-profiles.d.ts +4 -9
- package/resources/digital-card-profiles.d.ts.map +1 -1
- package/resources/digital-card-profiles.js +4 -4
- package/resources/digital-card-profiles.js.map +1 -1
- package/resources/digital-card-profiles.mjs +4 -4
- package/resources/digital-card-profiles.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +4 -4
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +4 -4
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +4 -4
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +4 -4
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +4 -4
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +4 -4
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +4 -4
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +1 -1
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +1 -1
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +160 -10
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +7 -7
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +7 -7
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/industry-code.d.ts +4 -4
- package/resources/entities/industry-code.d.ts.map +1 -1
- package/resources/entities/industry-code.js +1 -1
- package/resources/entities/industry-code.js.map +1 -1
- package/resources/entities/industry-code.mjs +1 -1
- package/resources/entities/industry-code.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +5 -5
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/entities/supplemental-documents.js +3 -3
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +3 -3
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +10 -6
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +4 -4
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +4 -4
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +8 -6
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +4 -4
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +4 -4
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +15 -7
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +4 -4
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +4 -4
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +4 -4
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js +4 -4
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +4 -4
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +11 -8
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +6 -6
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +6 -6
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +3 -3
- package/resources/groups.d.ts.map +1 -1
- package/resources/groups.js +1 -1
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +1 -1
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +26 -5
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +4 -4
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +4 -4
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.ts +4 -4
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +4 -4
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +4 -4
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-mail-items.d.ts +151 -0
- package/resources/inbound-mail-items.d.ts.map +1 -0
- package/resources/inbound-mail-items.js +53 -0
- package/resources/inbound-mail-items.js.map +1 -0
- package/resources/inbound-mail-items.mjs +25 -0
- package/resources/inbound-mail-items.mjs.map +1 -0
- package/resources/inbound-wire-drawdown-requests.d.ts +4 -4
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +4 -4
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +4 -4
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -4
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js +4 -4
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs +4 -4
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intrafi/account-enrollments.d.ts +4 -4
- package/resources/intrafi/account-enrollments.d.ts.map +1 -1
- package/resources/intrafi/account-enrollments.js +4 -4
- package/resources/intrafi/account-enrollments.js.map +1 -1
- package/resources/intrafi/account-enrollments.mjs +4 -4
- package/resources/intrafi/account-enrollments.mjs.map +1 -1
- package/resources/intrafi/balances.d.ts +11 -3
- package/resources/intrafi/balances.d.ts.map +1 -1
- package/resources/intrafi/balances.js +1 -1
- package/resources/intrafi/balances.js.map +1 -1
- package/resources/intrafi/balances.mjs +1 -1
- package/resources/intrafi/balances.mjs.map +1 -1
- package/resources/intrafi/exclusions.d.ts +4 -4
- package/resources/intrafi/exclusions.d.ts.map +1 -1
- package/resources/intrafi/exclusions.js +4 -4
- package/resources/intrafi/exclusions.js.map +1 -1
- package/resources/intrafi/exclusions.mjs +4 -4
- package/resources/intrafi/exclusions.mjs.map +1 -1
- package/resources/intrafi/intrafi.d.ts +4 -4
- package/resources/intrafi/intrafi.d.ts.map +1 -1
- package/resources/intrafi/intrafi.js +4 -4
- package/resources/intrafi/intrafi.js.map +1 -1
- package/resources/intrafi/intrafi.mjs +4 -4
- package/resources/intrafi/intrafi.mjs.map +1 -1
- package/resources/lockboxes.d.ts +186 -0
- package/resources/lockboxes.d.ts.map +1 -0
- package/resources/lockboxes.js +65 -0
- package/resources/lockboxes.js.map +1 -0
- package/resources/lockboxes.mjs +37 -0
- package/resources/lockboxes.mjs.map +1 -0
- package/resources/oauth-connections.d.ts +4 -4
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +4 -4
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +4 -4
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/oauth-tokens.d.ts +3 -3
- package/resources/oauth-tokens.d.ts.map +1 -1
- package/resources/oauth-tokens.js +1 -1
- package/resources/oauth-tokens.js.map +1 -1
- package/resources/oauth-tokens.mjs +1 -1
- package/resources/oauth-tokens.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +16 -6
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +4 -4
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +4 -4
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-card-profiles.d.ts +4 -4
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-card-profiles.js +4 -4
- package/resources/physical-card-profiles.js.map +1 -1
- package/resources/physical-card-profiles.mjs +4 -4
- package/resources/physical-card-profiles.mjs.map +1 -1
- package/resources/physical-cards.d.ts +4 -4
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js +4 -4
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +4 -4
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.ts +14 -4
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +4 -4
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +4 -4
- package/resources/programs.mjs.map +1 -1
- package/resources/proof-of-authorization-request-submissions.d.ts +4 -4
- package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -1
- package/resources/proof-of-authorization-request-submissions.js +4 -4
- package/resources/proof-of-authorization-request-submissions.js.map +1 -1
- package/resources/proof-of-authorization-request-submissions.mjs +4 -4
- package/resources/proof-of-authorization-request-submissions.mjs.map +1 -1
- package/resources/proof-of-authorization-requests.d.ts +4 -4
- package/resources/proof-of-authorization-requests.d.ts.map +1 -1
- package/resources/proof-of-authorization-requests.js +4 -4
- package/resources/proof-of-authorization-requests.js.map +1 -1
- package/resources/proof-of-authorization-requests.mjs +4 -4
- package/resources/proof-of-authorization-requests.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +8 -3
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-request-for-payments.d.ts +4 -4
- package/resources/real-time-payments-request-for-payments.d.ts.map +1 -1
- package/resources/real-time-payments-request-for-payments.js +4 -4
- package/resources/real-time-payments-request-for-payments.js.map +1 -1
- package/resources/real-time-payments-request-for-payments.mjs +4 -4
- package/resources/real-time-payments-request-for-payments.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +78 -13
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +4 -4
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +4 -4
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +4 -4
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +3 -3
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +3 -3
- 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 +1 -1
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +1 -1
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.d.ts +3 -3
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/account-transfers.js +1 -1
- package/resources/simulations/account-transfers.js.map +1 -1
- package/resources/simulations/account-transfers.mjs +1 -1
- package/resources/simulations/account-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +5 -5
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +10 -6
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-disputes.js +1 -1
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +1 -1
- package/resources/simulations/card-disputes.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 +1 -1
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +1 -1
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +95 -11
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +3 -3
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-deposits.js +1 -1
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +1 -1
- package/resources/simulations/check-deposits.mjs.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/check-transfers.js +1 -1
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +1 -1
- package/resources/simulations/check-transfers.mjs.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 +1 -1
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
- 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 +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-check-deposits.d.ts +4 -4
- package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
- package/resources/simulations/inbound-check-deposits.js +1 -1
- package/resources/simulations/inbound-check-deposits.js.map +1 -1
- package/resources/simulations/inbound-check-deposits.mjs +1 -1
- package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +3 -3
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.js +1 -1
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs +1 -1
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-international-ach-transfers.d.ts +281 -0
- package/resources/simulations/inbound-international-ach-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-international-ach-transfers.js +21 -0
- package/resources/simulations/inbound-international-ach-transfers.js.map +1 -0
- package/resources/simulations/inbound-international-ach-transfers.mjs +17 -0
- package/resources/simulations/inbound-international-ach-transfers.mjs.map +1 -0
- 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 +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/index.d.ts +1 -0
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +3 -1
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +1 -0
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +4 -4
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- 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 +1 -1
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +1 -1
- 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 +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +143 -16
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +27 -22
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +22 -19
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +22 -19
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +4 -4
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +65 -12
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +4 -4
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +4 -4
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +4 -4
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +4 -4
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +4 -4
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +64 -4
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +4 -4
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +4 -4
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +27 -8
- package/src/index.ts +25 -6
- package/src/resources/account-numbers.ts +5 -5
- package/src/resources/account-statements.ts +5 -5
- package/src/resources/account-transfers.ts +73 -5
- package/src/resources/accounts.ts +11 -5
- package/src/resources/ach-prenotifications.ts +5 -5
- package/src/resources/ach-transfers.ts +168 -18
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +5 -5
- package/src/resources/bookkeeping-entry-sets.ts +5 -5
- package/src/resources/card-disputes.ts +69 -8
- package/src/resources/card-payments.ts +64 -13
- package/src/resources/card-purchase-supplements.ts +10 -5
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +43 -21
- package/src/resources/check-transfers.ts +85 -5
- package/src/resources/declined-transactions.ts +104 -7
- package/src/resources/digital-card-profiles.ts +5 -11
- package/src/resources/digital-wallet-tokens.ts +5 -5
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/beneficial-owners.ts +4 -4
- package/src/resources/entities/entities.ts +188 -11
- package/src/resources/entities/industry-code.ts +4 -4
- package/src/resources/entities/supplemental-documents.ts +5 -5
- package/src/resources/event-subscriptions.ts +13 -5
- package/src/resources/events.ts +11 -5
- package/src/resources/exports.ts +19 -7
- package/src/resources/external-accounts.ts +5 -5
- package/src/resources/files.ts +15 -8
- package/src/resources/groups.ts +3 -3
- package/src/resources/inbound-ach-transfers.ts +43 -5
- package/src/resources/inbound-check-deposits.ts +5 -5
- package/src/resources/inbound-mail-items.ts +193 -0
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
- package/src/resources/inbound-wire-transfers.ts +5 -5
- package/src/resources/index.ts +16 -0
- package/src/resources/intrafi/account-enrollments.ts +5 -5
- package/src/resources/intrafi/balances.ts +13 -3
- package/src/resources/intrafi/exclusions.ts +5 -5
- package/src/resources/intrafi/intrafi.ts +4 -4
- package/src/resources/lockboxes.ts +238 -0
- package/src/resources/oauth-connections.ts +5 -5
- package/src/resources/oauth-tokens.ts +3 -3
- package/src/resources/pending-transactions.ts +19 -7
- package/src/resources/physical-card-profiles.ts +5 -5
- package/src/resources/physical-cards.ts +5 -5
- package/src/resources/programs.ts +17 -5
- package/src/resources/proof-of-authorization-request-submissions.ts +5 -5
- package/src/resources/proof-of-authorization-requests.ts +5 -5
- package/src/resources/real-time-decisions.ts +9 -3
- package/src/resources/real-time-payments-request-for-payments.ts +5 -5
- package/src/resources/real-time-payments-transfers.ts +87 -14
- package/src/resources/routing-numbers.ts +4 -4
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +3 -3
- package/src/resources/simulations/ach-transfers.ts +5 -5
- package/src/resources/simulations/card-disputes.ts +10 -6
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +116 -8
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-check-deposits.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +3 -3
- package/src/resources/simulations/inbound-international-ach-transfers.ts +362 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/index.ts +5 -0
- package/src/resources/simulations/interest-payments.ts +4 -4
- package/src/resources/simulations/physical-cards.ts +4 -4
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +171 -12
- package/src/resources/simulations/simulations.ts +28 -22
- package/src/resources/simulations/wire-transfers.ts +4 -4
- package/src/resources/transactions.ts +75 -11
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +73 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import * as WireDrawdownRequestsAPI from
|
|
4
|
-
import { Page, type PageParams } from
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import * as WireDrawdownRequestsAPI from "./wire-drawdown-requests.js";
|
|
4
|
+
import { Page, type PageParams } from "../pagination.js";
|
|
5
5
|
export declare class WireDrawdownRequests extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create a Wire Drawdown Request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-drawdown-requests.d.ts","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"wire-drawdown-requests.d.ts","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,uBAAuB,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,+BAA+B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;OAEG;IACH,QAAQ,CACN,qBAAqB,EAAE,MAAM,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC;IAIvC;;OAEG;IACH,IAAI,CACF,KAAK,C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Q,mBAAmB,GAAG,uBAAuB,CAAC,mBAAmB,CAAC;IAChF,MAAM,QAAQ,wBAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;IAC1F,MAAM,QAAQ,+BAA+B,GAAG,uBAAuB,CAAC,+BAA+B,CAAC;IACxG,MAAM,QAAQ,6BAA6B,GAAG,uBAAuB,CAAC,6BAA6B,CAAC;CACrG"}
|
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.WireDrawdownRequestsPage = exports.WireDrawdownRequests = void 0;
|
|
28
|
-
const resource_1 = require("
|
|
29
|
-
const core_1 = require("
|
|
30
|
-
const WireDrawdownRequestsAPI = __importStar(require("
|
|
31
|
-
const pagination_1 = require("
|
|
28
|
+
const resource_1 = require("../resource.js");
|
|
29
|
+
const core_1 = require("../core.js");
|
|
30
|
+
const WireDrawdownRequestsAPI = __importStar(require("./wire-drawdown-requests.js"));
|
|
31
|
+
const pagination_1 = require("../pagination.js");
|
|
32
32
|
class WireDrawdownRequests extends resource_1.APIResource {
|
|
33
33
|
/**
|
|
34
34
|
* Create a Wire Drawdown Request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-drawdown-requests.js","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"wire-drawdown-requests.js","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,qFAAoE;AACpE,iDAAsD;AAEtD,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAzCD,oDAyCC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;AA0O1E,WAAiB,oBAAoB;IAErB,6CAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;AAG5F,CAAC,EALgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAKpC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from
|
|
3
|
-
import { isRequestOptions } from
|
|
4
|
-
import * as WireDrawdownRequestsAPI from
|
|
5
|
-
import { Page } from
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
import { isRequestOptions } from "../core.mjs";
|
|
4
|
+
import * as WireDrawdownRequestsAPI from "./wire-drawdown-requests.mjs";
|
|
5
|
+
import { Page } from "../pagination.mjs";
|
|
6
6
|
export class WireDrawdownRequests extends APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Create a Wire Drawdown Request
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-drawdown-requests.mjs","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"wire-drawdown-requests.mjs","sourceRoot":"","sources":["../src/resources/wire-drawdown-requests.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,uBAAuB;OAC5B,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,IAAyB;CAAG;AA0O1E,WAAiB,oBAAoB;IAErB,6CAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;AAG5F,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import * as WireTransfersAPI from
|
|
4
|
-
import { Page, type PageParams } from
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
|
+
import * as WireTransfersAPI from "./wire-transfers.js";
|
|
4
|
+
import { Page, type PageParams } from "../pagination.js";
|
|
5
5
|
export declare class WireTransfers extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create a Wire Transfer
|
|
@@ -92,6 +92,10 @@ export interface WireTransfer {
|
|
|
92
92
|
* the transfer was created.
|
|
93
93
|
*/
|
|
94
94
|
created_at: string;
|
|
95
|
+
/**
|
|
96
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
97
|
+
*/
|
|
98
|
+
created_by: WireTransfer.CreatedBy | null;
|
|
95
99
|
/**
|
|
96
100
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
|
|
97
101
|
* currency. For wire transfers this is always equal to `usd`.
|
|
@@ -215,6 +219,62 @@ export declare namespace WireTransfer {
|
|
|
215
219
|
*/
|
|
216
220
|
canceled_by: string | null;
|
|
217
221
|
}
|
|
222
|
+
/**
|
|
223
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
224
|
+
*/
|
|
225
|
+
interface CreatedBy {
|
|
226
|
+
/**
|
|
227
|
+
* If present, details about the API key that created the transfer.
|
|
228
|
+
*/
|
|
229
|
+
api_key: CreatedBy.APIKey | null;
|
|
230
|
+
/**
|
|
231
|
+
* The type of object that created this transfer.
|
|
232
|
+
*
|
|
233
|
+
* - `api_key` - An API key. Details will be under the `api_key` object.
|
|
234
|
+
* - `oauth_application` - An OAuth application you connected to Increase. Details
|
|
235
|
+
* will be under the `oauth_application` object.
|
|
236
|
+
* - `user` - A User in the Increase dashboard. Details will be under the `user`
|
|
237
|
+
* object.
|
|
238
|
+
*/
|
|
239
|
+
category: 'api_key' | 'oauth_application' | 'user';
|
|
240
|
+
/**
|
|
241
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
242
|
+
*/
|
|
243
|
+
oauth_application: CreatedBy.OAuthApplication | null;
|
|
244
|
+
/**
|
|
245
|
+
* If present, details about the User that created the transfer.
|
|
246
|
+
*/
|
|
247
|
+
user: CreatedBy.User | null;
|
|
248
|
+
}
|
|
249
|
+
namespace CreatedBy {
|
|
250
|
+
/**
|
|
251
|
+
* If present, details about the API key that created the transfer.
|
|
252
|
+
*/
|
|
253
|
+
interface APIKey {
|
|
254
|
+
/**
|
|
255
|
+
* The description set for the API key when it was created.
|
|
256
|
+
*/
|
|
257
|
+
description: string | null;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
261
|
+
*/
|
|
262
|
+
interface OAuthApplication {
|
|
263
|
+
/**
|
|
264
|
+
* The name of the OAuth Application.
|
|
265
|
+
*/
|
|
266
|
+
name: string;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* If present, details about the User that created the transfer.
|
|
270
|
+
*/
|
|
271
|
+
interface User {
|
|
272
|
+
/**
|
|
273
|
+
* The email address of the User.
|
|
274
|
+
*/
|
|
275
|
+
email: string;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
218
278
|
/**
|
|
219
279
|
* If your transfer is reversed, this will contain details of the reversal.
|
|
220
280
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,gBAAgB,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,aAAc,SA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AM,QAAQ,wBAAwB,GAAG,gBAAgB,CAAC,wBAAwB,CAAC;IACnF,MAAM,QAAQ,sBAAsB,GAAG,gBAAgB,CAAC,sBAAsB,CAAC;CAChF"}
|
|
@@ -25,10 +25,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
27
|
exports.WireTransfersPage = exports.WireTransfers = void 0;
|
|
28
|
-
const resource_1 = require("
|
|
29
|
-
const core_1 = require("
|
|
30
|
-
const WireTransfersAPI = __importStar(require("
|
|
31
|
-
const pagination_1 = require("
|
|
28
|
+
const resource_1 = require("../resource.js");
|
|
29
|
+
const core_1 = require("../core.js");
|
|
30
|
+
const WireTransfersAPI = __importStar(require("./wire-transfers.js"));
|
|
31
|
+
const pagination_1 = require("../pagination.js");
|
|
32
32
|
class WireTransfers extends resource_1.APIResource {
|
|
33
33
|
/**
|
|
34
34
|
* Create a Wire Transfer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,sEAAqD;AACrD,iDAAsD;AAEtD,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC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@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from
|
|
3
|
-
import { isRequestOptions } from
|
|
4
|
-
import * as WireTransfersAPI from
|
|
5
|
-
import { Page } from
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
|
+
import { isRequestOptions } from "../core.mjs";
|
|
4
|
+
import * as WireTransfersAPI from "./wire-transfers.mjs";
|
|
5
|
+
import { Page } from "../pagination.mjs";
|
|
6
6
|
export class WireTransfers extends APIResource {
|
|
7
7
|
/**
|
|
8
8
|
* Create a Wire Transfer
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;
|
|
1
|
+
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../src/resources/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,KAAK,gBAAgB;OACrB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;OAEG;IACH,MAAM,CAAC,IAA8B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,cAAsB,EAAE,OAA6B;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,cAAc,EAAE,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAUD,IAAI,CACF,QAAsD,EAAE,EACxD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAED;;;;;OAKG;IACH,OAAO,CAAC,cAAsB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,cAAsB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF;AAED,MAAM,OAAO,iBAAkB,SAAQ,IAAkB;CAAG;AA4gB5D,WAAiB,aAAa;IAEd,+BAAiB,GAAG,gBAAgB,CAAC,iBAAiB,CAAC;AAGvE,CAAC,EALgB,aAAa,KAAb,aAAa,QAK7B"}
|
package/src/core.ts
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
type HeadersInit,
|
|
19
19
|
} from './_shims/index';
|
|
20
20
|
export { type Response };
|
|
21
|
-
import { isMultipartBody } from './uploads';
|
|
21
|
+
import { BlobLike, isBlobLike, isMultipartBody } from './uploads';
|
|
22
22
|
export {
|
|
23
23
|
maybeMultipartFormRequestOptions,
|
|
24
24
|
multipartFormRequestOptions,
|
|
@@ -235,7 +235,17 @@ export abstract class APIClient {
|
|
|
235
235
|
path: string,
|
|
236
236
|
opts?: PromiseOrValue<RequestOptions<Req>>,
|
|
237
237
|
): APIPromise<Rsp> {
|
|
238
|
-
return this.request(
|
|
238
|
+
return this.request(
|
|
239
|
+
Promise.resolve(opts).then(async (opts) => {
|
|
240
|
+
const body =
|
|
241
|
+
opts && isBlobLike(opts?.body) ? new DataView(await opts.body.arrayBuffer())
|
|
242
|
+
: opts?.body instanceof DataView ? opts.body
|
|
243
|
+
: opts?.body instanceof ArrayBuffer ? new DataView(opts.body)
|
|
244
|
+
: opts && ArrayBuffer.isView(opts?.body) ? new DataView(opts.body.buffer)
|
|
245
|
+
: opts?.body;
|
|
246
|
+
return { method, path, ...opts, body };
|
|
247
|
+
}),
|
|
248
|
+
);
|
|
239
249
|
}
|
|
240
250
|
|
|
241
251
|
getAPIList<Item, PageClass extends AbstractPage<Item> = AbstractPage<Item>>(
|
|
@@ -257,6 +267,8 @@ export abstract class APIClient {
|
|
|
257
267
|
const encoded = encoder.encode(body);
|
|
258
268
|
return encoded.length.toString();
|
|
259
269
|
}
|
|
270
|
+
} else if (ArrayBuffer.isView(body)) {
|
|
271
|
+
return body.byteLength.toString();
|
|
260
272
|
}
|
|
261
273
|
|
|
262
274
|
return null;
|
|
@@ -266,7 +278,9 @@ export abstract class APIClient {
|
|
|
266
278
|
const { method, path, query, headers: headers = {} } = options;
|
|
267
279
|
|
|
268
280
|
const body =
|
|
269
|
-
|
|
281
|
+
ArrayBuffer.isView(options.body) || (options.__binaryRequest && typeof options.body === 'string') ?
|
|
282
|
+
options.body
|
|
283
|
+
: isMultipartBody(options.body) ? options.body.body
|
|
270
284
|
: options.body ? JSON.stringify(options.body, null, 2)
|
|
271
285
|
: null;
|
|
272
286
|
const contentLength = this.calculateContentLength(body);
|
|
@@ -721,7 +735,9 @@ export type Headers = Record<string, string | null | undefined>;
|
|
|
721
735
|
export type DefaultQuery = Record<string, string | undefined>;
|
|
722
736
|
export type KeysEnum<T> = { [P in keyof Required<T>]: true };
|
|
723
737
|
|
|
724
|
-
export type RequestOptions<
|
|
738
|
+
export type RequestOptions<
|
|
739
|
+
Req = unknown | Record<string, unknown> | Readable | BlobLike | ArrayBufferView | ArrayBuffer,
|
|
740
|
+
> = {
|
|
725
741
|
method?: HTTPMethod;
|
|
726
742
|
path?: string;
|
|
727
743
|
query?: Req | undefined;
|
|
@@ -735,6 +751,7 @@ export type RequestOptions<Req = unknown | Record<string, unknown> | Readable> =
|
|
|
735
751
|
signal?: AbortSignal | undefined | null;
|
|
736
752
|
idempotencyKey?: string;
|
|
737
753
|
|
|
754
|
+
__binaryRequest?: boolean | undefined;
|
|
738
755
|
__binaryResponse?: boolean | undefined;
|
|
739
756
|
};
|
|
740
757
|
|
|
@@ -755,6 +772,7 @@ const requestOptionsKeys: KeysEnum<RequestOptions> = {
|
|
|
755
772
|
signal: true,
|
|
756
773
|
idempotencyKey: true,
|
|
757
774
|
|
|
775
|
+
__binaryRequest: true,
|
|
758
776
|
__binaryResponse: true,
|
|
759
777
|
};
|
|
760
778
|
|
|
@@ -767,10 +785,11 @@ export const isRequestOptions = (obj: unknown): obj is RequestOptions => {
|
|
|
767
785
|
);
|
|
768
786
|
};
|
|
769
787
|
|
|
770
|
-
export type FinalRequestOptions<Req = unknown | Record<string, unknown> | Readable
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
788
|
+
export type FinalRequestOptions<Req = unknown | Record<string, unknown> | Readable | DataView> =
|
|
789
|
+
RequestOptions<Req> & {
|
|
790
|
+
method: HTTPMethod;
|
|
791
|
+
path: string;
|
|
792
|
+
};
|
|
774
793
|
|
|
775
794
|
declare const Deno: any;
|
|
776
795
|
declare const EdgeRuntime: any;
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import * as Core from './core';
|
|
4
3
|
import * as Errors from './error';
|
|
5
|
-
import { type Agent } from './_shims/index';
|
|
6
4
|
import * as Uploads from './uploads';
|
|
5
|
+
import { type Agent } from './_shims/index';
|
|
7
6
|
import * as qs from 'qs';
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
7
|
+
import * as Core from './core';
|
|
8
|
+
import * as Pagination from './pagination';
|
|
9
|
+
import * as API from './resources/index';
|
|
10
10
|
|
|
11
11
|
const environments = {
|
|
12
12
|
production: 'https://api.increase.com',
|
|
@@ -91,7 +91,9 @@ export interface ClientOptions {
|
|
|
91
91
|
defaultQuery?: Core.DefaultQuery;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* API Client for interfacing with the Increase API.
|
|
96
|
+
*/
|
|
95
97
|
export class Increase extends Core.APIClient {
|
|
96
98
|
apiKey: string;
|
|
97
99
|
webhookSecret: string | null;
|
|
@@ -145,6 +147,7 @@ export class Increase extends Core.APIClient {
|
|
|
145
147
|
maxRetries: options.maxRetries,
|
|
146
148
|
fetch: options.fetch,
|
|
147
149
|
});
|
|
150
|
+
|
|
148
151
|
this._options = options;
|
|
149
152
|
this.idempotencyHeader = 'Idempotency-Key';
|
|
150
153
|
|
|
@@ -194,14 +197,16 @@ export class Increase extends Core.APIClient {
|
|
|
194
197
|
proofOfAuthorizationRequestSubmissions: API.ProofOfAuthorizationRequestSubmissions =
|
|
195
198
|
new API.ProofOfAuthorizationRequestSubmissions(this);
|
|
196
199
|
intrafi: API.Intrafi = new API.Intrafi(this);
|
|
200
|
+
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
197
201
|
realTimePaymentsRequestForPayments: API.RealTimePaymentsRequestForPayments =
|
|
198
202
|
new API.RealTimePaymentsRequestForPayments(this);
|
|
199
|
-
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
200
203
|
oauthTokens: API.OAuthTokens = new API.OAuthTokens(this);
|
|
201
204
|
inboundWireTransfers: API.InboundWireTransfers = new API.InboundWireTransfers(this);
|
|
202
205
|
digitalCardProfiles: API.DigitalCardProfiles = new API.DigitalCardProfiles(this);
|
|
203
206
|
physicalCardProfiles: API.PhysicalCardProfiles = new API.PhysicalCardProfiles(this);
|
|
204
207
|
inboundCheckDeposits: API.InboundCheckDeposits = new API.InboundCheckDeposits(this);
|
|
208
|
+
inboundMailItems: API.InboundMailItems = new API.InboundMailItems(this);
|
|
209
|
+
lockboxes: API.Lockboxes = new API.Lockboxes(this);
|
|
205
210
|
|
|
206
211
|
protected override defaultQuery(): Core.DefaultQuery | undefined {
|
|
207
212
|
return this._options.defaultQuery;
|
|
@@ -563,6 +568,20 @@ export namespace Increase {
|
|
|
563
568
|
export import InboundCheckDeposit = API.InboundCheckDeposit;
|
|
564
569
|
export import InboundCheckDepositsPage = API.InboundCheckDepositsPage;
|
|
565
570
|
export import InboundCheckDepositListParams = API.InboundCheckDepositListParams;
|
|
571
|
+
|
|
572
|
+
export import InboundMailItems = API.InboundMailItems;
|
|
573
|
+
export import InboundMailItem = API.InboundMailItem;
|
|
574
|
+
export import InboundMailItemList = API.InboundMailItemList;
|
|
575
|
+
export import InboundMailItemsPage = API.InboundMailItemsPage;
|
|
576
|
+
export import InboundMailItemListParams = API.InboundMailItemListParams;
|
|
577
|
+
|
|
578
|
+
export import Lockboxes = API.Lockboxes;
|
|
579
|
+
export import Lockbox = API.Lockbox;
|
|
580
|
+
export import LockboxList = API.LockboxList;
|
|
581
|
+
export import LockboxesPage = API.LockboxesPage;
|
|
582
|
+
export import LockboxCreateParams = API.LockboxCreateParams;
|
|
583
|
+
export import LockboxUpdateParams = API.LockboxUpdateParams;
|
|
584
|
+
export import LockboxListParams = API.LockboxListParams;
|
|
566
585
|
}
|
|
567
586
|
|
|
568
587
|
export default Increase;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as AccountNumbersAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as AccountNumbersAPI from './account-numbers';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class AccountNumbers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as AccountStatementsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as AccountStatementsAPI from './account-statements';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class AccountStatements extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as AccountTransfersAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as AccountTransfersAPI from './account-transfers';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class AccountTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -94,6 +94,11 @@ export interface AccountTransfer {
|
|
|
94
94
|
*/
|
|
95
95
|
created_at: string;
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
99
|
+
*/
|
|
100
|
+
created_by: AccountTransfer.CreatedBy | null;
|
|
101
|
+
|
|
97
102
|
/**
|
|
98
103
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
99
104
|
* account currency.
|
|
@@ -199,6 +204,69 @@ export namespace AccountTransfer {
|
|
|
199
204
|
*/
|
|
200
205
|
canceled_by: string | null;
|
|
201
206
|
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
210
|
+
*/
|
|
211
|
+
export interface CreatedBy {
|
|
212
|
+
/**
|
|
213
|
+
* If present, details about the API key that created the transfer.
|
|
214
|
+
*/
|
|
215
|
+
api_key: CreatedBy.APIKey | null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* The type of object that created this transfer.
|
|
219
|
+
*
|
|
220
|
+
* - `api_key` - An API key. Details will be under the `api_key` object.
|
|
221
|
+
* - `oauth_application` - An OAuth application you connected to Increase. Details
|
|
222
|
+
* will be under the `oauth_application` object.
|
|
223
|
+
* - `user` - A User in the Increase dashboard. Details will be under the `user`
|
|
224
|
+
* object.
|
|
225
|
+
*/
|
|
226
|
+
category: 'api_key' | 'oauth_application' | 'user';
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
230
|
+
*/
|
|
231
|
+
oauth_application: CreatedBy.OAuthApplication | null;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* If present, details about the User that created the transfer.
|
|
235
|
+
*/
|
|
236
|
+
user: CreatedBy.User | null;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export namespace CreatedBy {
|
|
240
|
+
/**
|
|
241
|
+
* If present, details about the API key that created the transfer.
|
|
242
|
+
*/
|
|
243
|
+
export interface APIKey {
|
|
244
|
+
/**
|
|
245
|
+
* The description set for the API key when it was created.
|
|
246
|
+
*/
|
|
247
|
+
description: string | null;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
252
|
+
*/
|
|
253
|
+
export interface OAuthApplication {
|
|
254
|
+
/**
|
|
255
|
+
* The name of the OAuth Application.
|
|
256
|
+
*/
|
|
257
|
+
name: string;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* If present, details about the User that created the transfer.
|
|
262
|
+
*/
|
|
263
|
+
export interface User {
|
|
264
|
+
/**
|
|
265
|
+
* The email address of the User.
|
|
266
|
+
*/
|
|
267
|
+
email: string;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
202
270
|
}
|
|
203
271
|
|
|
204
272
|
export interface AccountTransferCreateParams {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as AccountsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as AccountsAPI from './accounts';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Accounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -95,6 +95,12 @@ export interface Account {
|
|
|
95
95
|
*/
|
|
96
96
|
bank: 'blue_ridge_bank' | 'first_internet_bank';
|
|
97
97
|
|
|
98
|
+
/**
|
|
99
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
|
|
100
|
+
* was closed.
|
|
101
|
+
*/
|
|
102
|
+
closed_at: string | null;
|
|
103
|
+
|
|
98
104
|
/**
|
|
99
105
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
|
|
100
106
|
* was created.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as ACHPrenotificationsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as ACHPrenotificationsAPI from './ach-prenotifications';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class ACHPrenotifications extends APIResource {
|
|
10
10
|
/**
|