increase 0.4.0 → 0.5.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 +41 -0
- package/README.md +20 -5
- package/_shims/agent.node.ts +20 -0
- package/_shims/agent.ts +12 -0
- package/_shims/fetch.node.ts +11 -0
- package/_shims/fetch.ts +32 -0
- package/_shims/fileFromPath.node.ts +30 -0
- package/_shims/fileFromPath.ts +30 -0
- package/_shims/formdata.node.ts +9 -0
- package/_shims/formdata.ts +22 -0
- package/_shims/getMultipartRequestOptions.node.ts +24 -0
- package/_shims/getMultipartRequestOptions.ts +13 -0
- package/_shims/newFileArgs.ts +94 -0
- package/_shims/toFile.node.ts +25 -0
- package/_shims/toFile.ts +26 -0
- package/_shims/uploadable.node.ts +21 -0
- package/_shims/uploadable.ts +82 -0
- package/core.ts +34 -87
- package/dist/cjs/_shims/agent.d.ts +9 -0
- package/dist/cjs/_shims/agent.d.ts.map +1 -0
- package/dist/cjs/_shims/agent.js +14 -0
- package/dist/cjs/_shims/agent.js.map +1 -0
- package/dist/cjs/_shims/agent.node.d.ts +6 -0
- package/dist/cjs/_shims/agent.node.d.ts.map +1 -0
- package/dist/cjs/_shims/agent.node.js +28 -0
- package/dist/cjs/_shims/agent.node.js.map +1 -0
- package/dist/cjs/_shims/fetch.d.ts +19 -0
- package/dist/cjs/_shims/fetch.d.ts.map +1 -0
- package/dist/cjs/_shims/fetch.js +24 -0
- package/dist/cjs/_shims/fetch.js.map +1 -0
- package/dist/cjs/_shims/fetch.node.d.ts +9 -0
- package/dist/cjs/_shims/fetch.node.d.ts.map +1 -0
- package/dist/cjs/_shims/fetch.node.js +68 -0
- package/dist/cjs/_shims/fetch.node.js.map +1 -0
- package/dist/cjs/_shims/fileFromPath.d.ts +23 -0
- package/dist/cjs/_shims/fileFromPath.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/programs.test.js → _shims/fileFromPath.js} +16 -19
- package/dist/cjs/_shims/fileFromPath.js.map +1 -0
- package/dist/cjs/_shims/fileFromPath.node.d.ts +18 -0
- package/dist/cjs/_shims/fileFromPath.node.d.ts.map +1 -0
- package/dist/cjs/{tests/form.test.js → _shims/fileFromPath.node.js} +16 -27
- package/dist/cjs/_shims/fileFromPath.node.js.map +1 -0
- package/dist/cjs/_shims/formdata.d.ts +13 -0
- package/dist/cjs/_shims/formdata.d.ts.map +1 -0
- package/dist/cjs/_shims/formdata.js +20 -0
- package/dist/cjs/_shims/formdata.js.map +1 -0
- package/dist/cjs/_shims/formdata.node.d.ts +7 -0
- package/dist/cjs/_shims/formdata.node.d.ts.map +1 -0
- package/dist/cjs/_shims/formdata.node.js +27 -0
- package/dist/cjs/_shims/formdata.node.js.map +1 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +10 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/documents.test.js → _shims/getMultipartRequestOptions.js} +11 -19
- package/dist/cjs/_shims/getMultipartRequestOptions.js.map +1 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +10 -0
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/dist/cjs/{tests/api-resources/simulations/card-refunds.test.js → _shims/getMultipartRequestOptions.node.js} +19 -19
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/dist/cjs/_shims/newFileArgs.d.ts +19 -0
- package/dist/cjs/_shims/newFileArgs.d.ts.map +1 -0
- package/dist/cjs/_shims/newFileArgs.js +169 -0
- package/dist/cjs/_shims/newFileArgs.js.map +1 -0
- package/dist/cjs/_shims/toFile.d.ts +21 -0
- package/dist/cjs/_shims/toFile.d.ts.map +1 -0
- package/dist/cjs/_shims/toFile.js +56 -0
- package/dist/cjs/_shims/toFile.js.map +1 -0
- package/dist/cjs/_shims/toFile.node.d.ts +20 -0
- package/dist/cjs/_shims/toFile.node.d.ts.map +1 -0
- package/dist/cjs/_shims/toFile.node.js +56 -0
- package/dist/cjs/_shims/toFile.node.js.map +1 -0
- package/dist/cjs/_shims/uploadable.d.ts +56 -0
- package/dist/cjs/_shims/uploadable.d.ts.map +1 -0
- package/dist/cjs/_shims/uploadable.js +37 -0
- package/dist/cjs/_shims/uploadable.js.map +1 -0
- package/dist/cjs/_shims/uploadable.node.d.ts +7 -0
- package/dist/cjs/_shims/uploadable.node.d.ts.map +1 -0
- package/dist/cjs/_shims/uploadable.node.js +23 -0
- package/dist/cjs/_shims/uploadable.node.js.map +1 -0
- package/dist/cjs/core.d.ts +6 -17
- package/dist/cjs/core.d.ts.map +1 -1
- package/dist/cjs/core.js +45 -74
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.js +28 -28
- package/dist/cjs/error.js.map +1 -1
- package/dist/cjs/index.d.ts +43 -3
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +48 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/pagination.d.ts +3 -1
- package/dist/cjs/pagination.d.ts.map +1 -1
- package/dist/cjs/pagination.js.map +1 -1
- package/dist/cjs/resources/account-numbers.d.ts +12 -4
- package/dist/cjs/resources/account-numbers.d.ts.map +1 -1
- package/dist/cjs/resources/account-numbers.js +44 -0
- package/dist/cjs/resources/account-numbers.js.map +1 -1
- package/dist/cjs/resources/account-statements.d.ts +10 -4
- package/dist/cjs/resources/account-statements.d.ts.map +1 -1
- package/dist/cjs/resources/account-statements.js +44 -0
- package/dist/cjs/resources/account-statements.js.map +1 -1
- package/dist/cjs/resources/account-transfers.d.ts +11 -4
- package/dist/cjs/resources/account-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/account-transfers.js +44 -0
- package/dist/cjs/resources/account-transfers.js.map +1 -1
- package/dist/cjs/resources/accounts.d.ts +12 -4
- package/dist/cjs/resources/accounts.d.ts.map +1 -1
- package/dist/cjs/resources/accounts.js +44 -0
- package/dist/cjs/resources/accounts.js.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +11 -4
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +1 -1
- package/dist/cjs/resources/ach-prenotifications.js +44 -0
- package/dist/cjs/resources/ach-prenotifications.js.map +1 -1
- package/dist/cjs/resources/ach-transfers.d.ts +11 -5
- package/dist/cjs/resources/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/ach-transfers.js +44 -0
- package/dist/cjs/resources/ach-transfers.js.map +1 -1
- package/dist/cjs/resources/balance-lookups.d.ts +5 -0
- package/dist/cjs/resources/balance-lookups.d.ts.map +1 -1
- package/dist/cjs/resources/balance-lookups.js +1 -0
- package/dist/cjs/resources/balance-lookups.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +11 -4
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-accounts.js +44 -0
- package/dist/cjs/resources/bookkeeping-accounts.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-entries.d.ts +10 -4
- package/dist/cjs/resources/bookkeeping-entries.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-entries.js +44 -0
- package/dist/cjs/resources/bookkeeping-entries.js.map +1 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +17 -12
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.js +3 -0
- package/dist/cjs/resources/bookkeeping-entry-sets.js.map +1 -1
- package/dist/cjs/resources/card-disputes.d.ts +11 -4
- package/dist/cjs/resources/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/card-disputes.js +44 -0
- package/dist/cjs/resources/card-disputes.js.map +1 -1
- package/dist/cjs/resources/card-profiles.d.ts +11 -4
- package/dist/cjs/resources/card-profiles.d.ts.map +1 -1
- package/dist/cjs/resources/card-profiles.js +44 -0
- package/dist/cjs/resources/card-profiles.js.map +1 -1
- package/dist/cjs/resources/cards.d.ts +15 -6
- package/dist/cjs/resources/cards.d.ts.map +1 -1
- package/dist/cjs/resources/cards.js +44 -0
- package/dist/cjs/resources/cards.js.map +1 -1
- package/dist/cjs/resources/check-deposits.d.ts +11 -4
- package/dist/cjs/resources/check-deposits.d.ts.map +1 -1
- package/dist/cjs/resources/check-deposits.js +44 -0
- package/dist/cjs/resources/check-deposits.js.map +1 -1
- package/dist/cjs/resources/check-transfers.d.ts +83 -75
- package/dist/cjs/resources/check-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/check-transfers.js +44 -0
- package/dist/cjs/resources/check-transfers.js.map +1 -1
- package/dist/cjs/resources/declined-transactions.d.ts +10 -4
- package/dist/cjs/resources/declined-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/declined-transactions.js +44 -0
- package/dist/cjs/resources/declined-transactions.js.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +10 -4
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/dist/cjs/resources/digital-wallet-tokens.js +44 -0
- package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -1
- package/dist/cjs/resources/documents.d.ts +12 -105
- package/dist/cjs/resources/documents.d.ts.map +1 -1
- package/dist/cjs/resources/documents.js +44 -0
- package/dist/cjs/resources/documents.js.map +1 -1
- package/dist/cjs/resources/entities/entities.d.ts +291 -279
- package/dist/cjs/resources/entities/entities.d.ts.map +1 -1
- package/dist/cjs/resources/entities/entities.js +46 -0
- package/dist/cjs/resources/entities/entities.js.map +1 -1
- package/dist/cjs/resources/entities/index.d.ts +2 -1
- package/dist/cjs/resources/entities/index.d.ts.map +1 -1
- package/dist/cjs/resources/entities/index.js +17 -1
- package/dist/cjs/resources/entities/index.js.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +7 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +44 -0
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +12 -4
- package/dist/cjs/resources/event-subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/event-subscriptions.js +44 -0
- package/dist/cjs/resources/event-subscriptions.js.map +1 -1
- package/dist/cjs/resources/events.d.ts +10 -4
- package/dist/cjs/resources/events.d.ts.map +1 -1
- package/dist/cjs/resources/events.js +44 -0
- package/dist/cjs/resources/events.js.map +1 -1
- package/dist/cjs/resources/exports.d.ts +11 -4
- package/dist/cjs/resources/exports.d.ts.map +1 -1
- package/dist/cjs/resources/exports.js +44 -0
- package/dist/cjs/resources/exports.js.map +1 -1
- package/dist/cjs/resources/external-accounts.d.ts +12 -4
- package/dist/cjs/resources/external-accounts.d.ts.map +1 -1
- package/dist/cjs/resources/external-accounts.js +44 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -1
- package/dist/cjs/resources/files.d.ts +19 -6
- package/dist/cjs/resources/files.d.ts.map +1 -1
- package/dist/cjs/resources/files.js +82 -2
- package/dist/cjs/resources/files.js.map +1 -1
- package/dist/cjs/resources/groups.d.ts +8 -4
- package/dist/cjs/resources/groups.d.ts.map +1 -1
- package/dist/cjs/resources/groups.js +1 -0
- package/dist/cjs/resources/groups.js.map +1 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +7 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +46 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +10 -4
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +47 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/limits.d.ts +8 -0
- package/dist/cjs/resources/limits.d.ts.map +1 -1
- package/dist/cjs/resources/limits.js +44 -0
- package/dist/cjs/resources/limits.js.map +1 -1
- package/dist/cjs/resources/oauth-connections.d.ts +10 -4
- package/dist/cjs/resources/oauth-connections.d.ts.map +1 -1
- package/dist/cjs/resources/oauth-connections.js +44 -0
- package/dist/cjs/resources/oauth-connections.js.map +1 -1
- package/dist/cjs/resources/pending-transactions.d.ts +14 -8
- package/dist/cjs/resources/pending-transactions.d.ts.map +1 -1
- package/dist/cjs/resources/pending-transactions.js +44 -0
- package/dist/cjs/resources/pending-transactions.js.map +1 -1
- package/dist/cjs/resources/programs.d.ts +10 -4
- package/dist/cjs/resources/programs.d.ts.map +1 -1
- package/dist/cjs/resources/programs.js +44 -0
- package/dist/cjs/resources/programs.js.map +1 -1
- package/dist/cjs/resources/real-time-decisions.d.ts +33 -28
- package/dist/cjs/resources/real-time-decisions.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-decisions.js +3 -0
- package/dist/cjs/resources/real-time-decisions.js.map +1 -1
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +26 -19
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/real-time-payments-transfers.js +46 -0
- package/dist/cjs/resources/real-time-payments-transfers.js.map +1 -1
- package/dist/cjs/resources/routing-numbers.d.ts +6 -0
- package/dist/cjs/resources/routing-numbers.d.ts.map +1 -1
- package/dist/cjs/resources/routing-numbers.js +44 -0
- package/dist/cjs/resources/routing-numbers.js.map +1 -1
- package/dist/cjs/resources/simulations/account-statements.d.ts +4 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/account-statements.js +3 -0
- package/dist/cjs/resources/simulations/account-statements.js.map +1 -1
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +1236 -1201
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/ach-transfers.js +1 -0
- package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/card-disputes.d.ts +4 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/card-disputes.js +1 -0
- package/dist/cjs/resources/simulations/card-disputes.js.map +1 -1
- package/dist/cjs/resources/simulations/card-refunds.d.ts +4 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/card-refunds.js +1 -0
- package/dist/cjs/resources/simulations/card-refunds.js.map +1 -1
- package/dist/cjs/resources/simulations/cards.d.ts +453 -447
- package/dist/cjs/resources/simulations/cards.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/cards.js +1 -0
- package/dist/cjs/resources/simulations/cards.js.map +1 -1
- package/dist/cjs/resources/simulations/check-transfers.d.ts +4 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/check-transfers.js +1 -0
- package/dist/cjs/resources/simulations/check-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +5 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +4 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/dist/cjs/resources/simulations/documents.d.ts +4 -0
- package/dist/cjs/resources/simulations/documents.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/documents.js +1 -0
- package/dist/cjs/resources/simulations/documents.js.map +1 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +4 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/simulations/index.d.ts +23 -10
- package/dist/cjs/resources/simulations/index.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/index.js +129 -0
- package/dist/cjs/resources/simulations/index.js.map +1 -1
- package/dist/cjs/resources/simulations/interest-payments.d.ts +117 -82
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/interest-payments.js +3 -0
- package/dist/cjs/resources/simulations/interest-payments.js.map +1 -1
- package/dist/cjs/resources/simulations/programs.d.ts +4 -0
- package/dist/cjs/resources/simulations/programs.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/programs.js +1 -0
- package/dist/cjs/resources/simulations/programs.js.map +1 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1236 -1200
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +3 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +40 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/simulations.js +58 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +117 -82
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.js +1 -0
- package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -1
- package/dist/cjs/resources/transactions.d.ts +122 -85
- package/dist/cjs/resources/transactions.d.ts.map +1 -1
- package/dist/cjs/resources/transactions.js +44 -0
- package/dist/cjs/resources/transactions.js.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +11 -4
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/dist/cjs/resources/wire-drawdown-requests.js +44 -0
- package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -1
- package/dist/cjs/resources/wire-transfers.d.ts +11 -4
- package/dist/cjs/resources/wire-transfers.d.ts.map +1 -1
- package/dist/cjs/resources/wire-transfers.js +44 -0
- package/dist/cjs/resources/wire-transfers.js.map +1 -1
- package/dist/cjs/streaming.d.ts +1 -2
- package/dist/cjs/streaming.d.ts.map +1 -1
- package/dist/cjs/streaming.js +2 -0
- package/dist/cjs/streaming.js.map +1 -1
- package/dist/cjs/uploads.d.ts +24 -0
- package/dist/cjs/uploads.d.ts.map +1 -0
- package/dist/cjs/uploads.js +121 -0
- package/dist/cjs/uploads.js.map +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/_shims/agent.d.ts +9 -0
- package/dist/esm/_shims/agent.d.ts.map +1 -0
- package/dist/esm/_shims/agent.js +10 -0
- package/dist/esm/_shims/agent.js.map +1 -0
- package/dist/esm/_shims/agent.node.d.ts +6 -0
- package/dist/esm/_shims/agent.node.d.ts.map +1 -0
- package/dist/esm/_shims/agent.node.js +16 -0
- package/dist/esm/_shims/agent.node.js.map +1 -0
- package/dist/esm/_shims/fetch.d.ts +19 -0
- package/dist/esm/_shims/fetch.d.ts.map +1 -0
- package/dist/esm/_shims/fetch.js +18 -0
- package/dist/esm/_shims/fetch.js.map +1 -0
- package/dist/esm/_shims/fetch.node.d.ts +9 -0
- package/dist/esm/_shims/fetch.node.d.ts.map +1 -0
- package/dist/esm/_shims/fetch.node.js +7 -0
- package/dist/esm/_shims/fetch.node.js.map +1 -0
- package/dist/esm/_shims/fileFromPath.d.ts +23 -0
- package/dist/esm/_shims/fileFromPath.d.ts.map +1 -0
- package/dist/esm/_shims/fileFromPath.js +12 -0
- package/dist/esm/_shims/fileFromPath.js.map +1 -0
- package/dist/esm/_shims/fileFromPath.node.d.ts +18 -0
- package/dist/esm/_shims/fileFromPath.node.d.ts.map +1 -0
- package/dist/esm/_shims/fileFromPath.node.js +13 -0
- package/dist/esm/_shims/fileFromPath.node.js.map +1 -0
- package/dist/esm/_shims/formdata.d.ts +13 -0
- package/dist/esm/_shims/formdata.d.ts.map +1 -0
- package/dist/esm/_shims/formdata.js +15 -0
- package/dist/esm/_shims/formdata.js.map +1 -0
- package/dist/esm/_shims/formdata.node.d.ts +7 -0
- package/dist/esm/_shims/formdata.node.d.ts.map +1 -0
- package/dist/esm/_shims/formdata.node.js +7 -0
- package/dist/esm/_shims/formdata.node.js.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts +10 -0
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.js +7 -0
- package/dist/esm/_shims/getMultipartRequestOptions.js.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts +10 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.js +17 -0
- package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/dist/esm/_shims/newFileArgs.d.ts +19 -0
- package/dist/esm/_shims/newFileArgs.d.ts.map +1 -0
- package/dist/esm/_shims/newFileArgs.js +66 -0
- package/dist/esm/_shims/newFileArgs.js.map +1 -0
- package/dist/esm/_shims/toFile.d.ts +21 -0
- package/dist/esm/_shims/toFile.d.ts.map +1 -0
- package/dist/esm/_shims/toFile.js +19 -0
- package/dist/esm/_shims/toFile.js.map +1 -0
- package/dist/esm/_shims/toFile.node.d.ts +20 -0
- package/dist/esm/_shims/toFile.node.d.ts.map +1 -0
- package/dist/esm/_shims/toFile.node.js +19 -0
- package/dist/esm/_shims/toFile.node.js.map +1 -0
- package/dist/esm/_shims/uploadable.d.ts +56 -0
- package/dist/esm/_shims/uploadable.d.ts.map +1 -0
- package/dist/esm/_shims/uploadable.js +30 -0
- package/dist/esm/_shims/uploadable.js.map +1 -0
- package/dist/esm/_shims/uploadable.node.d.ts +7 -0
- package/dist/esm/_shims/uploadable.node.d.ts.map +1 -0
- package/dist/esm/_shims/uploadable.node.js +10 -0
- package/dist/esm/_shims/uploadable.node.js.map +1 -0
- package/dist/esm/check-version.d.ts +2 -0
- package/dist/esm/check-version.d.ts.map +1 -0
- package/dist/esm/check-version.js +16 -0
- package/dist/esm/check-version.js.map +1 -0
- package/dist/esm/core.d.ts +221 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +556 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/error.d.ts +208 -0
- package/dist/esm/error.d.ts.map +1 -0
- package/dist/esm/error.js +275 -0
- package/dist/esm/error.js.map +1 -0
- package/dist/esm/index.d.ts +301 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +213 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagination.d.ts +34 -0
- package/dist/esm/pagination.d.ts.map +1 -0
- package/dist/esm/pagination.js +26 -0
- package/dist/esm/pagination.js.map +1 -0
- package/dist/esm/resource.d.ts +12 -0
- package/dist/esm/resource.d.ts.map +1 -0
- package/dist/esm/resource.js +13 -0
- package/dist/esm/resource.js.map +1 -0
- package/dist/esm/resources/account-numbers.d.ts +137 -0
- package/dist/esm/resources/account-numbers.d.ts.map +1 -0
- package/dist/esm/resources/account-numbers.js +36 -0
- package/dist/esm/resources/account-numbers.js.map +1 -0
- package/dist/esm/resources/account-statements.d.ts +106 -0
- package/dist/esm/resources/account-statements.d.ts.map +1 -0
- package/dist/esm/resources/account-statements.js +24 -0
- package/dist/esm/resources/account-statements.js.map +1 -0
- package/dist/esm/resources/account-transfers.d.ts +205 -0
- package/dist/esm/resources/account-transfers.d.ts.map +1 -0
- package/dist/esm/resources/account-transfers.js +42 -0
- package/dist/esm/resources/account-transfers.js.map +1 -0
- package/dist/esm/resources/accounts.d.ts +163 -0
- package/dist/esm/resources/accounts.d.ts.map +1 -0
- package/dist/esm/resources/accounts.js +42 -0
- package/dist/esm/resources/accounts.js.map +1 -0
- package/dist/esm/resources/ach-prenotifications.d.ts +199 -0
- package/dist/esm/resources/ach-prenotifications.d.ts.map +1 -0
- package/dist/esm/resources/ach-prenotifications.js +30 -0
- package/dist/esm/resources/ach-prenotifications.js.map +1 -0
- package/dist/esm/resources/ach-transfers.d.ts +461 -0
- package/dist/esm/resources/ach-transfers.d.ts.map +1 -0
- package/dist/esm/resources/ach-transfers.js +42 -0
- package/dist/esm/resources/ach-transfers.js.map +1 -0
- package/dist/esm/resources/balance-lookups.d.ts +52 -0
- package/dist/esm/resources/balance-lookups.d.ts.map +1 -0
- package/dist/esm/resources/balance-lookups.js +12 -0
- package/dist/esm/resources/balance-lookups.js.map +1 -0
- package/dist/esm/resources/bookkeeping-accounts.d.ts +78 -0
- package/dist/esm/resources/bookkeeping-accounts.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-accounts.js +24 -0
- package/dist/esm/resources/bookkeeping-accounts.js.map +1 -0
- package/dist/esm/resources/bookkeeping-entries.d.ts +49 -0
- package/dist/esm/resources/bookkeeping-entries.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-entries.js +18 -0
- package/dist/esm/resources/bookkeeping-entries.js.map +1 -0
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts +88 -0
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +1 -0
- package/dist/esm/resources/bookkeeping-entry-sets.js +12 -0
- package/dist/esm/resources/bookkeeping-entry-sets.js.map +1 -0
- package/dist/esm/resources/card-disputes.d.ts +160 -0
- package/dist/esm/resources/card-disputes.d.ts.map +1 -0
- package/dist/esm/resources/card-disputes.js +30 -0
- package/dist/esm/resources/card-disputes.js.map +1 -0
- package/dist/esm/resources/card-profiles.d.ts +206 -0
- package/dist/esm/resources/card-profiles.d.ts.map +1 -0
- package/dist/esm/resources/card-profiles.js +30 -0
- package/dist/esm/resources/card-profiles.js.map +1 -0
- package/dist/esm/resources/cards.d.ts +354 -0
- package/dist/esm/resources/cards.d.ts.map +1 -0
- package/dist/esm/resources/cards.js +42 -0
- package/dist/esm/resources/cards.js.map +1 -0
- package/dist/esm/resources/check-deposits.d.ts +263 -0
- package/dist/esm/resources/check-deposits.d.ts.map +1 -0
- package/dist/esm/resources/check-deposits.js +30 -0
- package/dist/esm/resources/check-deposits.js.map +1 -0
- package/dist/esm/resources/check-transfers.d.ts +438 -0
- package/dist/esm/resources/check-transfers.d.ts.map +1 -0
- package/dist/esm/resources/check-transfers.js +48 -0
- package/dist/esm/resources/check-transfers.js.map +1 -0
- package/dist/esm/resources/declined-transactions.d.ts +492 -0
- package/dist/esm/resources/declined-transactions.d.ts.map +1 -0
- package/dist/esm/resources/declined-transactions.js +24 -0
- package/dist/esm/resources/declined-transactions.js.map +1 -0
- package/dist/esm/resources/digital-wallet-tokens.d.ts +92 -0
- package/dist/esm/resources/digital-wallet-tokens.d.ts.map +1 -0
- package/dist/esm/resources/digital-wallet-tokens.js +24 -0
- package/dist/esm/resources/digital-wallet-tokens.js.map +1 -0
- package/dist/esm/resources/documents.d.ts +95 -0
- package/dist/esm/resources/documents.d.ts.map +1 -0
- package/dist/esm/resources/documents.js +24 -0
- package/dist/esm/resources/documents.js.map +1 -0
- package/dist/esm/resources/entities/entities.d.ts +1622 -0
- package/dist/esm/resources/entities/entities.d.ts.map +1 -0
- package/dist/esm/resources/entities/entities.js +37 -0
- package/dist/esm/resources/entities/entities.js.map +1 -0
- package/dist/esm/resources/entities/index.d.ts +9 -0
- package/dist/esm/resources/entities/index.d.ts.map +1 -0
- package/dist/esm/resources/entities/index.js +4 -0
- package/dist/esm/resources/entities/index.js.map +1 -0
- package/dist/esm/resources/entities/supplemental-documents.d.ts +62 -0
- package/dist/esm/resources/entities/supplemental-documents.d.ts.map +1 -0
- package/dist/esm/resources/entities/supplemental-documents.js +26 -0
- package/dist/esm/resources/entities/supplemental-documents.js.map +1 -0
- package/dist/esm/resources/event-subscriptions.d.ts +209 -0
- package/dist/esm/resources/event-subscriptions.d.ts.map +1 -0
- package/dist/esm/resources/event-subscriptions.js +36 -0
- package/dist/esm/resources/event-subscriptions.js.map +1 -0
- package/dist/esm/resources/events.d.ts +195 -0
- package/dist/esm/resources/events.d.ts.map +1 -0
- package/dist/esm/resources/events.js +24 -0
- package/dist/esm/resources/events.js.map +1 -0
- package/dist/esm/resources/exports.d.ts +169 -0
- package/dist/esm/resources/exports.d.ts.map +1 -0
- package/dist/esm/resources/exports.js +30 -0
- package/dist/esm/resources/exports.js.map +1 -0
- package/dist/esm/resources/external-accounts.d.ts +131 -0
- package/dist/esm/resources/external-accounts.d.ts.map +1 -0
- package/dist/esm/resources/external-accounts.js +36 -0
- package/dist/esm/resources/external-accounts.js.map +1 -0
- package/dist/esm/resources/files.d.ts +167 -0
- package/dist/esm/resources/files.d.ts.map +1 -0
- package/dist/esm/resources/files.js +33 -0
- package/dist/esm/resources/files.js.map +1 -0
- package/dist/esm/resources/groups.d.ts +42 -0
- package/dist/esm/resources/groups.d.ts.map +1 -0
- package/dist/esm/resources/groups.js +12 -0
- package/dist/esm/resources/groups.js.map +1 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +117 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.js +33 -0
- package/dist/esm/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +131 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.js +27 -0
- package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/index.d.ts +199 -0
- package/dist/esm/resources/index.d.ts.map +1 -0
- package/dist/esm/resources/index.js +44 -0
- package/dist/esm/resources/index.js.map +1 -0
- package/dist/esm/resources/limits.d.ts +114 -0
- package/dist/esm/resources/limits.d.ts.map +1 -0
- package/dist/esm/resources/limits.js +36 -0
- package/dist/esm/resources/limits.js.map +1 -0
- package/dist/esm/resources/oauth-connections.d.ts +57 -0
- package/dist/esm/resources/oauth-connections.d.ts.map +1 -0
- package/dist/esm/resources/oauth-connections.js +24 -0
- package/dist/esm/resources/oauth-connections.js.map +1 -0
- package/dist/esm/resources/pending-transactions.d.ts +482 -0
- package/dist/esm/resources/pending-transactions.d.ts.map +1 -0
- package/dist/esm/resources/pending-transactions.js +24 -0
- package/dist/esm/resources/pending-transactions.js.map +1 -0
- package/dist/esm/resources/programs.d.ts +54 -0
- package/dist/esm/resources/programs.d.ts.map +1 -0
- package/dist/esm/resources/programs.js +24 -0
- package/dist/esm/resources/programs.js.map +1 -0
- package/dist/esm/resources/real-time-decisions.d.ts +330 -0
- package/dist/esm/resources/real-time-decisions.d.ts.map +1 -0
- package/dist/esm/resources/real-time-decisions.js +18 -0
- package/dist/esm/resources/real-time-decisions.js.map +1 -0
- package/dist/esm/resources/real-time-payments-transfers.d.ts +294 -0
- package/dist/esm/resources/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/esm/resources/real-time-payments-transfers.js +33 -0
- package/dist/esm/resources/real-time-payments-transfers.js.map +1 -0
- package/dist/esm/resources/routing-numbers.d.ts +56 -0
- package/dist/esm/resources/routing-numbers.d.ts.map +1 -0
- package/dist/esm/resources/routing-numbers.js +20 -0
- package/dist/esm/resources/routing-numbers.js.map +1 -0
- package/dist/esm/resources/shared.d.ts +16 -0
- package/dist/esm/resources/shared.d.ts.map +1 -0
- package/dist/esm/resources/shared.js +3 -0
- package/dist/esm/resources/shared.js.map +1 -0
- package/dist/esm/resources/simulations/account-statements.d.ts +24 -0
- package/dist/esm/resources/simulations/account-statements.d.ts.map +1 -0
- package/dist/esm/resources/simulations/account-statements.js +13 -0
- package/dist/esm/resources/simulations/account-statements.js.map +1 -0
- package/dist/esm/resources/simulations/account-transfers.d.ts +16 -0
- package/dist/esm/resources/simulations/account-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/account-transfers.js +14 -0
- package/dist/esm/resources/simulations/account-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/ach-transfers.d.ts +1836 -0
- package/dist/esm/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/ach-transfers.js +36 -0
- package/dist/esm/resources/simulations/ach-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/card-disputes.d.ts +31 -0
- package/dist/esm/resources/simulations/card-disputes.d.ts.map +1 -0
- package/dist/esm/resources/simulations/card-disputes.js +15 -0
- package/dist/esm/resources/simulations/card-disputes.js.map +1 -0
- package/dist/esm/resources/simulations/card-refunds.d.ts +25 -0
- package/dist/esm/resources/simulations/card-refunds.d.ts.map +1 -0
- package/dist/esm/resources/simulations/card-refunds.js +13 -0
- package/dist/esm/resources/simulations/card-refunds.js.map +1 -0
- package/dist/esm/resources/simulations/cards.d.ts +931 -0
- package/dist/esm/resources/simulations/cards.d.ts.map +1 -0
- package/dist/esm/resources/simulations/cards.js +28 -0
- package/dist/esm/resources/simulations/cards.js.map +1 -0
- package/dist/esm/resources/simulations/check-deposits.d.ts +31 -0
- package/dist/esm/resources/simulations/check-deposits.d.ts.map +1 -0
- package/dist/esm/resources/simulations/check-deposits.js +27 -0
- package/dist/esm/resources/simulations/check-deposits.js.map +1 -0
- package/dist/esm/resources/simulations/check-transfers.d.ts +42 -0
- package/dist/esm/resources/simulations/check-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/check-transfers.js +28 -0
- package/dist/esm/resources/simulations/check-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +49 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js +13 -0
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/dist/esm/resources/simulations/documents.d.ts +23 -0
- package/dist/esm/resources/simulations/documents.d.ts.map +1 -0
- package/dist/esm/resources/simulations/documents.js +12 -0
- package/dist/esm/resources/simulations/documents.js.map +1 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +15 -0
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/simulations/index.d.ts +38 -0
- package/dist/esm/resources/simulations/index.d.ts.map +1 -0
- package/dist/esm/resources/simulations/index.js +18 -0
- package/dist/esm/resources/simulations/index.js.map +1 -0
- package/dist/esm/resources/simulations/interest-payments.d.ts +1272 -0
- package/dist/esm/resources/simulations/interest-payments.d.ts.map +1 -0
- package/dist/esm/resources/simulations/interest-payments.js +13 -0
- package/dist/esm/resources/simulations/interest-payments.js.map +1 -0
- package/dist/esm/resources/simulations/programs.d.ts +25 -0
- package/dist/esm/resources/simulations/programs.d.ts.map +1 -0
- package/dist/esm/resources/simulations/programs.js +14 -0
- package/dist/esm/resources/simulations/programs.js.map +1 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +1782 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.js +24 -0
- package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/dist/esm/resources/simulations/simulations.d.ts +74 -0
- package/dist/esm/resources/simulations/simulations.d.ts.map +1 -0
- package/dist/esm/resources/simulations/simulations.js +56 -0
- package/dist/esm/resources/simulations/simulations.js.map +1 -0
- package/dist/esm/resources/simulations/wire-transfers.d.ts +1338 -0
- package/dist/esm/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/dist/esm/resources/simulations/wire-transfers.js +12 -0
- package/dist/esm/resources/simulations/wire-transfers.js.map +1 -0
- package/dist/esm/resources/transactions.d.ts +1326 -0
- package/dist/esm/resources/transactions.d.ts.map +1 -0
- package/dist/esm/resources/transactions.js +24 -0
- package/dist/esm/resources/transactions.js.map +1 -0
- package/dist/esm/resources/wire-drawdown-requests.d.ts +160 -0
- package/dist/esm/resources/wire-drawdown-requests.d.ts.map +1 -0
- package/dist/esm/resources/wire-drawdown-requests.js +30 -0
- package/dist/esm/resources/wire-drawdown-requests.js.map +1 -0
- package/dist/esm/resources/wire-transfers.d.ts +352 -0
- package/dist/esm/resources/wire-transfers.d.ts.map +1 -0
- package/dist/esm/resources/wire-transfers.js +59 -0
- package/dist/esm/resources/wire-transfers.js.map +1 -0
- package/dist/esm/streaming.d.ts +12 -0
- package/dist/esm/streaming.d.ts.map +1 -0
- package/dist/esm/streaming.js +150 -0
- package/dist/esm/streaming.js.map +1 -0
- package/dist/esm/uploads.d.ts +24 -0
- package/dist/esm/uploads.d.ts.map +1 -0
- package/dist/esm/uploads.js +61 -0
- package/dist/esm/uploads.js.map +1 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.d.ts.map +1 -0
- package/dist/esm/version.js +2 -0
- package/dist/esm/version.js.map +1 -0
- package/error.ts +29 -29
- package/index.ts +46 -7
- package/package.json +85 -5
- package/pagination.ts +4 -1
- package/resources/account-numbers.ts +14 -5
- package/resources/account-statements.ts +12 -5
- package/resources/account-transfers.ts +13 -5
- package/resources/accounts.ts +14 -5
- package/resources/ach-prenotifications.ts +13 -5
- package/resources/ach-transfers.ts +13 -6
- package/resources/balance-lookups.ts +6 -0
- package/resources/bookkeeping-accounts.ts +13 -5
- package/resources/bookkeeping-entries.ts +12 -5
- package/resources/bookkeeping-entry-sets.ts +20 -14
- package/resources/card-disputes.ts +13 -5
- package/resources/card-profiles.ts +13 -5
- package/resources/cards.ts +17 -7
- package/resources/check-deposits.ts +13 -5
- package/resources/check-transfers.ts +91 -82
- package/resources/declined-transactions.ts +12 -5
- package/resources/digital-wallet-tokens.ts +12 -5
- package/resources/documents.ts +14 -106
- package/resources/entities/entities.ts +349 -335
- package/resources/entities/index.ts +2 -1
- package/resources/entities/supplemental-documents.ts +8 -0
- package/resources/event-subscriptions.ts +13 -4
- package/resources/events.ts +12 -5
- package/resources/exports.ts +13 -5
- package/resources/external-accounts.ts +14 -5
- package/resources/files.ts +23 -10
- package/resources/groups.ts +10 -5
- package/resources/inbound-ach-transfer-returns.ts +8 -0
- package/resources/inbound-wire-drawdown-requests.ts +12 -5
- package/resources/limits.ts +9 -0
- package/resources/oauth-connections.ts +12 -5
- package/resources/pending-transactions.ts +17 -10
- package/resources/programs.ts +12 -5
- package/resources/real-time-decisions.ts +39 -33
- package/resources/real-time-payments-transfers.ts +30 -22
- package/resources/routing-numbers.ts +7 -0
- package/resources/simulations/account-statements.ts +5 -0
- package/resources/simulations/ach-transfers.ts +1372 -1331
- package/resources/simulations/card-disputes.ts +5 -0
- package/resources/simulations/card-refunds.ts +5 -0
- package/resources/simulations/cards.ts +530 -523
- package/resources/simulations/check-transfers.ts +5 -0
- package/resources/simulations/digital-wallet-token-requests.ts +6 -0
- package/resources/simulations/documents.ts +5 -0
- package/resources/simulations/inbound-wire-drawdown-requests.ts +5 -0
- package/resources/simulations/index.ts +23 -10
- package/resources/simulations/interest-payments.ts +145 -104
- package/resources/simulations/programs.ts +5 -0
- package/resources/simulations/real-time-payments-transfers.ts +1373 -1331
- package/resources/simulations/simulations.ts +55 -0
- package/resources/simulations/wire-transfers.ts +145 -104
- package/resources/transactions.ts +150 -107
- package/resources/wire-drawdown-requests.ts +13 -5
- package/resources/wire-transfers.ts +13 -5
- package/streaming.ts +3 -1
- package/uploads.ts +81 -0
- package/version.ts +1 -1
- package/.eslintrc.js +0 -10
- package/.prettierignore +0 -1
- package/.prettierrc +0 -6
- package/.release-please-manifest.json +0 -3
- package/.stats.yml +0 -1
- package/api.md +0 -576
- package/bin/check-release-environment +0 -25
- package/bin/check-test-server +0 -50
- package/bin/publish-npm +0 -6
- package/build +0 -12
- package/dist/cjs/examples/api-error.d.ts +0 -3
- package/dist/cjs/examples/api-error.d.ts.map +0 -1
- package/dist/cjs/examples/api-error.js +0 -92
- package/dist/cjs/examples/api-error.js.map +0 -1
- package/dist/cjs/fetch-polyfill.d.ts +0 -6
- package/dist/cjs/fetch-polyfill.d.ts.map +0 -1
- package/dist/cjs/fetch-polyfill.js +0 -57
- package/dist/cjs/fetch-polyfill.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-numbers.test.js +0 -101
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-statements.test.js +0 -88
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/account-transfers.test.js +0 -133
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/accounts.test.js +0 -118
- package/dist/cjs/tests/api-resources/accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +0 -113
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +0 -145
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/balance-lookups.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/balance-lookups.test.js +0 -55
- package/dist/cjs/tests/api-resources/balance-lookups.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js +0 -78
- package/dist/cjs/tests/api-resources/bookkeeping-accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js +0 -65
- package/dist/cjs/tests/api-resources/bookkeeping-entries.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js +0 -66
- package/dist/cjs/tests/api-resources/bookkeeping-entry-sets.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/card-disputes.test.js +0 -102
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/card-profiles.test.js +0 -106
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/cards.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/cards.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/cards.test.js +0 -116
- package/dist/cjs/tests/api-resources/cards.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/check-deposits.test.js +0 -110
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/check-transfers.test.js +0 -159
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +0 -91
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +0 -90
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/documents.test.js +0 -93
- package/dist/cjs/tests/api-resources/documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/entities/entities.test.js +0 -289
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +0 -68
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +0 -99
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/events.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/events.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/events.test.js +0 -87
- package/dist/cjs/tests/api-resources/events.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/exports.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/exports.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/exports.test.js +0 -101
- package/dist/cjs/tests/api-resources/exports.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/external-accounts.test.js +0 -99
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/files.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/files.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/files.test.js +0 -104
- package/dist/cjs/tests/api-resources/files.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/groups.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/groups.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/groups.test.js +0 -55
- package/dist/cjs/tests/api-resources/groups.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +0 -94
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +0 -80
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/limits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/limits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/limits.test.js +0 -97
- package/dist/cjs/tests/api-resources/limits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/oauth-connections.test.js +0 -75
- package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +0 -93
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/programs.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/programs.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/programs.test.js +0 -73
- package/dist/cjs/tests/api-resources/programs.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +0 -61
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js +0 -113
- package/dist/cjs/tests/api-resources/real-time-payments-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +0 -56
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +0 -52
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +0 -61
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +0 -86
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +0 -57
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +0 -72
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +0 -87
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +0 -92
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +0 -52
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +0 -82
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js +0 -58
- package/dist/cjs/tests/api-resources/simulations/interest-payments.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/programs.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/programs.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +0 -70
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +0 -71
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/transactions.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/transactions.test.js +0 -92
- package/dist/cjs/tests/api-resources/transactions.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +0 -107
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +0 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +0 -2
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts.map +0 -1
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +0 -170
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +0 -1
- package/dist/cjs/tests/form.test.d.ts +0 -2
- package/dist/cjs/tests/form.test.d.ts.map +0 -1
- package/dist/cjs/tests/form.test.js.map +0 -1
- package/dist/cjs/tests/index.test.d.ts +0 -2
- package/dist/cjs/tests/index.test.d.ts.map +0 -1
- package/dist/cjs/tests/index.test.js +0 -113
- package/dist/cjs/tests/index.test.js.map +0 -1
- package/dist/cjs/tests/responses.test.d.ts +0 -2
- package/dist/cjs/tests/responses.test.d.ts.map +0 -1
- package/dist/cjs/tests/responses.test.js +0 -60
- package/dist/cjs/tests/responses.test.js.map +0 -1
- package/examples/api-error.ts +0 -21
- package/fetch-polyfill.ts +0 -69
- package/jest.config.js +0 -8
- package/release-please-config.json +0 -61
- package/tests/api-resources/account-numbers.test.ts +0 -64
- package/tests/api-resources/account-statements.test.ts +0 -51
- package/tests/api-resources/account-transfers.test.ts +0 -96
- package/tests/api-resources/accounts.test.ts +0 -81
- package/tests/api-resources/ach-prenotifications.test.ts +0 -74
- package/tests/api-resources/ach-transfers.test.ts +0 -106
- package/tests/api-resources/balance-lookups.test.ts +0 -18
- package/tests/api-resources/bookkeeping-accounts.test.ts +0 -38
- package/tests/api-resources/bookkeeping-entries.test.ts +0 -25
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +0 -29
- package/tests/api-resources/card-disputes.test.ts +0 -65
- package/tests/api-resources/card-profiles.test.ts +0 -69
- package/tests/api-resources/cards.test.ts +0 -79
- package/tests/api-resources/check-deposits.test.ts +0 -71
- package/tests/api-resources/check-transfers.test.ts +0 -122
- package/tests/api-resources/declined-transactions.test.ts +0 -54
- package/tests/api-resources/digital-wallet-tokens.test.ts +0 -51
- package/tests/api-resources/documents.test.ts +0 -52
- package/tests/api-resources/entities/entities.test.ts +0 -249
- package/tests/api-resources/entities/supplemental-documents.test.ts +0 -31
- package/tests/api-resources/event-subscriptions.test.ts +0 -59
- package/tests/api-resources/events.test.ts +0 -50
- package/tests/api-resources/exports.test.ts +0 -64
- package/tests/api-resources/external-accounts.test.ts +0 -62
- package/tests/api-resources/files.test.ts +0 -67
- package/tests/api-resources/groups.test.ts +0 -18
- package/tests/api-resources/inbound-ach-transfer-returns.test.ts +0 -57
- package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +0 -43
- package/tests/api-resources/limits.test.ts +0 -60
- package/tests/api-resources/oauth-connections.test.ts +0 -38
- package/tests/api-resources/pending-transactions.test.ts +0 -54
- package/tests/api-resources/programs.test.ts +0 -36
- package/tests/api-resources/real-time-decisions.test.ts +0 -24
- package/tests/api-resources/real-time-payments-transfers.test.ts +0 -76
- package/tests/api-resources/routing-numbers.test.ts +0 -19
- package/tests/api-resources/simulations/account-statements.test.ts +0 -15
- package/tests/api-resources/simulations/account-transfers.test.ts +0 -24
- package/tests/api-resources/simulations/ach-transfers.test.ts +0 -46
- package/tests/api-resources/simulations/card-disputes.test.ts +0 -20
- package/tests/api-resources/simulations/card-refunds.test.ts +0 -15
- package/tests/api-resources/simulations/cards.test.ts +0 -35
- package/tests/api-resources/simulations/check-deposits.test.ts +0 -50
- package/tests/api-resources/simulations/check-transfers.test.ts +0 -47
- package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +0 -15
- package/tests/api-resources/simulations/documents.test.ts +0 -15
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +0 -45
- package/tests/api-resources/simulations/interest-payments.test.ts +0 -15
- package/tests/api-resources/simulations/programs.test.ts +0 -15
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +0 -33
- package/tests/api-resources/simulations/wire-transfers.test.ts +0 -34
- package/tests/api-resources/transactions.test.ts +0 -53
- package/tests/api-resources/wire-drawdown-requests.test.ts +0 -70
- package/tests/api-resources/wire-transfers.test.ts +0 -133
- package/tests/form.test.ts +0 -27
- package/tests/index.test.ts +0 -83
- package/tests/responses.test.ts +0 -25
- package/tsconfig.cjs.json +0 -8
- package/tsconfig.json +0 -39
- package/typings/digest-fetch/index.d.ts +0 -33
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
import * as Core from '../core.js';
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
import * as API from './index.js';
|
|
4
|
+
import { Page, PageParams } from '../pagination.js';
|
|
5
|
+
export declare class ACHTransfers extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create an ACH Transfer
|
|
8
|
+
*/
|
|
9
|
+
create(
|
|
10
|
+
body: ACHTransferCreateParams,
|
|
11
|
+
options?: Core.RequestOptions,
|
|
12
|
+
): Promise<Core.APIResponse<ACHTransfer>>;
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve an ACH Transfer
|
|
15
|
+
*/
|
|
16
|
+
retrieve(achTransferId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ACHTransfer>>;
|
|
17
|
+
/**
|
|
18
|
+
* List ACH Transfers
|
|
19
|
+
*/
|
|
20
|
+
list(query?: ACHTransferListParams, options?: Core.RequestOptions): Core.PagePromise<ACHTransfersPage>;
|
|
21
|
+
list(options?: Core.RequestOptions): Core.PagePromise<ACHTransfersPage>;
|
|
22
|
+
/**
|
|
23
|
+
* Approves an ACH Transfer in a pending_approval state.
|
|
24
|
+
*/
|
|
25
|
+
approve(achTransferId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ACHTransfer>>;
|
|
26
|
+
/**
|
|
27
|
+
* Cancels an ACH Transfer in a pending_approval state.
|
|
28
|
+
*/
|
|
29
|
+
cancel(achTransferId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<ACHTransfer>>;
|
|
30
|
+
}
|
|
31
|
+
export declare class ACHTransfersPage extends Page<ACHTransfer> {}
|
|
32
|
+
/**
|
|
33
|
+
* ACH transfers move funds between your Increase account and any other account
|
|
34
|
+
* accessible by the Automated Clearing House (ACH).
|
|
35
|
+
*/
|
|
36
|
+
export interface ACHTransfer {
|
|
37
|
+
/**
|
|
38
|
+
* The ACH transfer's identifier.
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
/**
|
|
42
|
+
* The Account to which the transfer belongs.
|
|
43
|
+
*/
|
|
44
|
+
account_id: string;
|
|
45
|
+
/**
|
|
46
|
+
* The destination account number.
|
|
47
|
+
*/
|
|
48
|
+
account_number: string;
|
|
49
|
+
/**
|
|
50
|
+
* Additional information that will be sent to the recipient.
|
|
51
|
+
*/
|
|
52
|
+
addendum: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* The transfer amount in USD cents. A positive amount indicates a credit transfer
|
|
55
|
+
* pushing funds to the receiving account. A negative amount indicates a debit
|
|
56
|
+
* transfer pulling funds from the receiving account.
|
|
57
|
+
*/
|
|
58
|
+
amount: number;
|
|
59
|
+
/**
|
|
60
|
+
* If your account requires approvals for transfers and the transfer was approved,
|
|
61
|
+
* this will contain details of the approval.
|
|
62
|
+
*/
|
|
63
|
+
approval: ACHTransfer.Approval | null;
|
|
64
|
+
/**
|
|
65
|
+
* If your account requires approvals for transfers and the transfer was not
|
|
66
|
+
* approved, this will contain details of the cancellation.
|
|
67
|
+
*/
|
|
68
|
+
cancellation: ACHTransfer.Cancellation | null;
|
|
69
|
+
/**
|
|
70
|
+
* The description of the date of the transfer.
|
|
71
|
+
*/
|
|
72
|
+
company_descriptive_date: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* The data you chose to associate with the transfer.
|
|
75
|
+
*/
|
|
76
|
+
company_discretionary_data: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* The description of the transfer you set to be shown to the recipient.
|
|
79
|
+
*/
|
|
80
|
+
company_entry_description: string | null;
|
|
81
|
+
/**
|
|
82
|
+
* The name by which the recipient knows you.
|
|
83
|
+
*/
|
|
84
|
+
company_name: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
87
|
+
* the transfer was created.
|
|
88
|
+
*/
|
|
89
|
+
created_at: string;
|
|
90
|
+
/**
|
|
91
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
|
|
92
|
+
* currency. For ACH transfers this is always equal to `usd`.
|
|
93
|
+
*/
|
|
94
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
95
|
+
/**
|
|
96
|
+
* The transfer effective date in
|
|
97
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
98
|
+
*/
|
|
99
|
+
effective_date: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* The identifier of the External Account the transfer was made to, if any.
|
|
102
|
+
*/
|
|
103
|
+
external_account_id: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* The type of the account to which the transfer will be sent.
|
|
106
|
+
*/
|
|
107
|
+
funding: 'checking' | 'savings';
|
|
108
|
+
/**
|
|
109
|
+
* Your identifer for the transfer recipient.
|
|
110
|
+
*/
|
|
111
|
+
individual_id: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the transfer recipient. This value is information and not verified
|
|
114
|
+
* by the recipient's bank.
|
|
115
|
+
*/
|
|
116
|
+
individual_name: string | null;
|
|
117
|
+
/**
|
|
118
|
+
* The transfer's network.
|
|
119
|
+
*/
|
|
120
|
+
network: 'ach';
|
|
121
|
+
/**
|
|
122
|
+
* If the receiving bank accepts the transfer but notifies that future transfers
|
|
123
|
+
* should use different details, this will contain those details.
|
|
124
|
+
*/
|
|
125
|
+
notifications_of_change: Array<ACHTransfer.NotificationsOfChange>;
|
|
126
|
+
/**
|
|
127
|
+
* If your transfer is returned, this will contain details of the return.
|
|
128
|
+
*/
|
|
129
|
+
return: ACHTransfer.Return | null;
|
|
130
|
+
/**
|
|
131
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN).
|
|
132
|
+
*/
|
|
133
|
+
routing_number: string;
|
|
134
|
+
/**
|
|
135
|
+
* The Standard Entry Class (SEC) code to use for the transfer.
|
|
136
|
+
*/
|
|
137
|
+
standard_entry_class_code:
|
|
138
|
+
| 'corporate_credit_or_debit'
|
|
139
|
+
| 'prearranged_payments_and_deposit'
|
|
140
|
+
| 'internet_initiated';
|
|
141
|
+
/**
|
|
142
|
+
* The descriptor that will show on the recipient's bank statement.
|
|
143
|
+
*/
|
|
144
|
+
statement_descriptor: string;
|
|
145
|
+
/**
|
|
146
|
+
* The lifecycle status of the transfer.
|
|
147
|
+
*/
|
|
148
|
+
status:
|
|
149
|
+
| 'pending_approval'
|
|
150
|
+
| 'canceled'
|
|
151
|
+
| 'pending_reviewing'
|
|
152
|
+
| 'pending_submission'
|
|
153
|
+
| 'submitted'
|
|
154
|
+
| 'returned'
|
|
155
|
+
| 'requires_attention'
|
|
156
|
+
| 'rejected';
|
|
157
|
+
/**
|
|
158
|
+
* After the transfer is submitted to FedACH, this will contain supplemental
|
|
159
|
+
* details.
|
|
160
|
+
*/
|
|
161
|
+
submission: ACHTransfer.Submission | null;
|
|
162
|
+
/**
|
|
163
|
+
* The ID for the transaction funding the transfer.
|
|
164
|
+
*/
|
|
165
|
+
transaction_id: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* A constant representing the object's type. For this resource it will always be
|
|
168
|
+
* `ach_transfer`.
|
|
169
|
+
*/
|
|
170
|
+
type: 'ach_transfer';
|
|
171
|
+
}
|
|
172
|
+
export declare namespace ACHTransfer {
|
|
173
|
+
/**
|
|
174
|
+
* If your account requires approvals for transfers and the transfer was approved,
|
|
175
|
+
* this will contain details of the approval.
|
|
176
|
+
*/
|
|
177
|
+
interface Approval {
|
|
178
|
+
/**
|
|
179
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
180
|
+
* the transfer was approved.
|
|
181
|
+
*/
|
|
182
|
+
approved_at: string;
|
|
183
|
+
/**
|
|
184
|
+
* If the Transfer was approved by a user in the dashboard, the email address of
|
|
185
|
+
* that user.
|
|
186
|
+
*/
|
|
187
|
+
approved_by: string | null;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* If your account requires approvals for transfers and the transfer was not
|
|
191
|
+
* approved, this will contain details of the cancellation.
|
|
192
|
+
*/
|
|
193
|
+
interface Cancellation {
|
|
194
|
+
/**
|
|
195
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
196
|
+
* the Transfer was canceled.
|
|
197
|
+
*/
|
|
198
|
+
canceled_at: string;
|
|
199
|
+
/**
|
|
200
|
+
* If the Transfer was canceled by a user in the dashboard, the email address of
|
|
201
|
+
* that user.
|
|
202
|
+
*/
|
|
203
|
+
canceled_by: string | null;
|
|
204
|
+
}
|
|
205
|
+
interface NotificationsOfChange {
|
|
206
|
+
/**
|
|
207
|
+
* The type of change that occurred.
|
|
208
|
+
*/
|
|
209
|
+
change_code: string;
|
|
210
|
+
/**
|
|
211
|
+
* The corrected data.
|
|
212
|
+
*/
|
|
213
|
+
corrected_data: string;
|
|
214
|
+
/**
|
|
215
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
216
|
+
* the notification occurred.
|
|
217
|
+
*/
|
|
218
|
+
created_at: string;
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* If your transfer is returned, this will contain details of the return.
|
|
222
|
+
*/
|
|
223
|
+
interface Return {
|
|
224
|
+
/**
|
|
225
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
226
|
+
* the transfer was created.
|
|
227
|
+
*/
|
|
228
|
+
created_at: string;
|
|
229
|
+
/**
|
|
230
|
+
* The three character ACH return code, in the range R01 to R85.
|
|
231
|
+
*/
|
|
232
|
+
raw_return_reason_code: string;
|
|
233
|
+
/**
|
|
234
|
+
* Why the ACH Transfer was returned.
|
|
235
|
+
*/
|
|
236
|
+
return_reason_code:
|
|
237
|
+
| 'insufficient_fund'
|
|
238
|
+
| 'no_account'
|
|
239
|
+
| 'account_closed'
|
|
240
|
+
| 'invalid_account_number_structure'
|
|
241
|
+
| 'account_frozen_entry_returned_per_ofac_instruction'
|
|
242
|
+
| 'credit_entry_refused_by_receiver'
|
|
243
|
+
| 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
|
|
244
|
+
| 'corporate_customer_advised_not_authorized'
|
|
245
|
+
| 'payment_stopped'
|
|
246
|
+
| 'non_transaction_account'
|
|
247
|
+
| 'uncollected_funds'
|
|
248
|
+
| 'routing_number_check_digit_error'
|
|
249
|
+
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
250
|
+
| 'amount_field_error'
|
|
251
|
+
| 'authorization_revoked_by_customer'
|
|
252
|
+
| 'invalid_ach_routing_number'
|
|
253
|
+
| 'file_record_edit_criteria'
|
|
254
|
+
| 'enr_invalid_individual_name'
|
|
255
|
+
| 'returned_per_odfi_request'
|
|
256
|
+
| 'limited_participation_dfi'
|
|
257
|
+
| 'incorrectly_coded_outbound_international_payment'
|
|
258
|
+
| 'account_sold_to_another_dfi'
|
|
259
|
+
| 'addenda_error'
|
|
260
|
+
| 'beneficiary_or_account_holder_deceased'
|
|
261
|
+
| 'customer_advised_not_within_authorization_terms'
|
|
262
|
+
| 'corrected_return'
|
|
263
|
+
| 'duplicate_entry'
|
|
264
|
+
| 'duplicate_return'
|
|
265
|
+
| 'enr_duplicate_enrollment'
|
|
266
|
+
| 'enr_invalid_dfi_account_number'
|
|
267
|
+
| 'enr_invalid_individual_id_number'
|
|
268
|
+
| 'enr_invalid_representative_payee_indicator'
|
|
269
|
+
| 'enr_invalid_transaction_code'
|
|
270
|
+
| 'enr_return_of_enr_entry'
|
|
271
|
+
| 'enr_routing_number_check_digit_error'
|
|
272
|
+
| 'entry_not_processed_by_gateway'
|
|
273
|
+
| 'field_error'
|
|
274
|
+
| 'foreign_receiving_dfi_unable_to_settle'
|
|
275
|
+
| 'iat_entry_coding_error'
|
|
276
|
+
| 'improper_effective_entry_date'
|
|
277
|
+
| 'improper_source_document_source_document_presented'
|
|
278
|
+
| 'invalid_company_id'
|
|
279
|
+
| 'invalid_foreign_receiving_dfi_identification'
|
|
280
|
+
| 'invalid_individual_id_number'
|
|
281
|
+
| 'item_and_rck_entry_presented_for_payment'
|
|
282
|
+
| 'item_related_to_rck_entry_is_ineligible'
|
|
283
|
+
| 'mandatory_field_error'
|
|
284
|
+
| 'misrouted_dishonored_return'
|
|
285
|
+
| 'misrouted_return'
|
|
286
|
+
| 'no_errors_found'
|
|
287
|
+
| 'non_acceptance_of_r62_dishonored_return'
|
|
288
|
+
| 'non_participant_in_iat_program'
|
|
289
|
+
| 'permissible_return_entry'
|
|
290
|
+
| 'permissible_return_entry_not_accepted'
|
|
291
|
+
| 'rdfi_non_settlement'
|
|
292
|
+
| 'rdfi_participant_in_check_truncation_program'
|
|
293
|
+
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
294
|
+
| 'return_not_a_duplicate'
|
|
295
|
+
| 'return_of_erroneous_or_reversing_debit'
|
|
296
|
+
| 'return_of_improper_credit_entry'
|
|
297
|
+
| 'return_of_improper_debit_entry'
|
|
298
|
+
| 'return_of_xck_entry'
|
|
299
|
+
| 'source_document_presented_for_payment'
|
|
300
|
+
| 'state_law_affecting_rck_acceptance'
|
|
301
|
+
| 'stop_payment_on_item_related_to_rck_entry'
|
|
302
|
+
| 'stop_payment_on_source_document'
|
|
303
|
+
| 'timely_original_return'
|
|
304
|
+
| 'trace_number_error'
|
|
305
|
+
| 'untimely_dishonored_return'
|
|
306
|
+
| 'untimely_return';
|
|
307
|
+
/**
|
|
308
|
+
* The identifier of the Tranasaction associated with this return.
|
|
309
|
+
*/
|
|
310
|
+
transaction_id: string;
|
|
311
|
+
/**
|
|
312
|
+
* The identifier of the ACH Transfer associated with this return.
|
|
313
|
+
*/
|
|
314
|
+
transfer_id: string;
|
|
315
|
+
}
|
|
316
|
+
/**
|
|
317
|
+
* After the transfer is submitted to FedACH, this will contain supplemental
|
|
318
|
+
* details.
|
|
319
|
+
*/
|
|
320
|
+
interface Submission {
|
|
321
|
+
/**
|
|
322
|
+
* When the ACH transfer was sent to FedACH.
|
|
323
|
+
*/
|
|
324
|
+
submitted_at: string;
|
|
325
|
+
/**
|
|
326
|
+
* The trace number for the submission.
|
|
327
|
+
*/
|
|
328
|
+
trace_number: string;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
export interface ACHTransferCreateParams {
|
|
332
|
+
/**
|
|
333
|
+
* The Increase identifier for the account that will send the transfer.
|
|
334
|
+
*/
|
|
335
|
+
account_id: string;
|
|
336
|
+
/**
|
|
337
|
+
* The transfer amount in cents. A positive amount originates a credit transfer
|
|
338
|
+
* pushing funds to the receiving account. A negative amount originates a debit
|
|
339
|
+
* transfer pulling funds from the receiving account.
|
|
340
|
+
*/
|
|
341
|
+
amount: number;
|
|
342
|
+
/**
|
|
343
|
+
* A description you choose to give the transfer. This will be saved with the
|
|
344
|
+
* transfer details, displayed in the dashboard, and returned by the API. If
|
|
345
|
+
* `individual_name` and `company_name` are not explicitly set by this API, the
|
|
346
|
+
* `statement_descriptor` will be sent in those fields to the receiving bank to
|
|
347
|
+
* help the customer recognize the transfer. You are highly encouraged to pass
|
|
348
|
+
* `individual_name` and `company_name` instead of relying on this fallback.
|
|
349
|
+
*/
|
|
350
|
+
statement_descriptor: string;
|
|
351
|
+
/**
|
|
352
|
+
* The account number for the destination account.
|
|
353
|
+
*/
|
|
354
|
+
account_number?: string;
|
|
355
|
+
/**
|
|
356
|
+
* Additional information that will be sent to the recipient. This is included in
|
|
357
|
+
* the transfer data sent to the receiving bank.
|
|
358
|
+
*/
|
|
359
|
+
addendum?: string;
|
|
360
|
+
/**
|
|
361
|
+
* The description of the date of the transfer, usually in the format `YYMMDD`.
|
|
362
|
+
* This is included in the transfer data sent to the receiving bank.
|
|
363
|
+
*/
|
|
364
|
+
company_descriptive_date?: string;
|
|
365
|
+
/**
|
|
366
|
+
* The data you choose to associate with the transfer. This is included in the
|
|
367
|
+
* transfer data sent to the receiving bank.
|
|
368
|
+
*/
|
|
369
|
+
company_discretionary_data?: string;
|
|
370
|
+
/**
|
|
371
|
+
* A description of the transfer. This is included in the transfer data sent to the
|
|
372
|
+
* receiving bank.
|
|
373
|
+
*/
|
|
374
|
+
company_entry_description?: string;
|
|
375
|
+
/**
|
|
376
|
+
* The name by which the recipient knows you. This is included in the transfer data
|
|
377
|
+
* sent to the receiving bank.
|
|
378
|
+
*/
|
|
379
|
+
company_name?: string;
|
|
380
|
+
/**
|
|
381
|
+
* The transfer effective date in
|
|
382
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
383
|
+
*/
|
|
384
|
+
effective_date?: string;
|
|
385
|
+
/**
|
|
386
|
+
* The ID of an External Account to initiate a transfer to. If this parameter is
|
|
387
|
+
* provided, `account_number`, `routing_number`, and `funding` must be absent.
|
|
388
|
+
*/
|
|
389
|
+
external_account_id?: string;
|
|
390
|
+
/**
|
|
391
|
+
* The type of the account to which the transfer will be sent.
|
|
392
|
+
*/
|
|
393
|
+
funding?: 'checking' | 'savings';
|
|
394
|
+
/**
|
|
395
|
+
* Your identifer for the transfer recipient.
|
|
396
|
+
*/
|
|
397
|
+
individual_id?: string;
|
|
398
|
+
/**
|
|
399
|
+
* The name of the transfer recipient. This value is informational and not verified
|
|
400
|
+
* by the recipient's bank.
|
|
401
|
+
*/
|
|
402
|
+
individual_name?: string;
|
|
403
|
+
/**
|
|
404
|
+
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
405
|
+
*/
|
|
406
|
+
require_approval?: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
|
409
|
+
* destination account.
|
|
410
|
+
*/
|
|
411
|
+
routing_number?: string;
|
|
412
|
+
/**
|
|
413
|
+
* The Standard Entry Class (SEC) code to use for the transfer.
|
|
414
|
+
*/
|
|
415
|
+
standard_entry_class_code?:
|
|
416
|
+
| 'corporate_credit_or_debit'
|
|
417
|
+
| 'prearranged_payments_and_deposit'
|
|
418
|
+
| 'internet_initiated';
|
|
419
|
+
}
|
|
420
|
+
export interface ACHTransferListParams extends PageParams {
|
|
421
|
+
/**
|
|
422
|
+
* Filter ACH Transfers to those that originated from the specified Account.
|
|
423
|
+
*/
|
|
424
|
+
account_id?: string;
|
|
425
|
+
created_at?: ACHTransferListParams.CreatedAt;
|
|
426
|
+
/**
|
|
427
|
+
* Filter ACH Transfers to those made to the specified External Account.
|
|
428
|
+
*/
|
|
429
|
+
external_account_id?: string;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace ACHTransferListParams {
|
|
432
|
+
interface CreatedAt {
|
|
433
|
+
/**
|
|
434
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
435
|
+
* timestamp.
|
|
436
|
+
*/
|
|
437
|
+
after?: string;
|
|
438
|
+
/**
|
|
439
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
440
|
+
* timestamp.
|
|
441
|
+
*/
|
|
442
|
+
before?: string;
|
|
443
|
+
/**
|
|
444
|
+
* Return results on or after this
|
|
445
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
446
|
+
*/
|
|
447
|
+
on_or_after?: string;
|
|
448
|
+
/**
|
|
449
|
+
* Return results on or before this
|
|
450
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
451
|
+
*/
|
|
452
|
+
on_or_before?: string;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
export declare namespace ACHTransfers {
|
|
456
|
+
export import ACHTransfer = API.ACHTransfer;
|
|
457
|
+
export import ACHTransfersPage = API.ACHTransfersPage;
|
|
458
|
+
export import ACHTransferCreateParams = API.ACHTransferCreateParams;
|
|
459
|
+
export import ACHTransferListParams = API.ACHTransferListParams;
|
|
460
|
+
}
|
|
461
|
+
//# sourceMappingURL=ach-transfers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../../../resources/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,KAAK,GAAG,MAAM,IAAI,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEhD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAIzC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAItG;;OAEG;IACH,IA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AgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,yBAAyB,CAAC,EACtB,2BAA2B,GAC3B,kCAAkC,GAClC,oBAAoB,CAAC;CAC1B;AAED,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC;IAE7C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,yBAAiB,YAAY,CAAC;IAC5B,MAAM,QAAQ,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC;IAC5C,MAAM,QAAQ,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC;IACtD,MAAM,QAAQ,uBAAuB,GAAG,GAAG,CAAC,uBAAuB,CAAC;IACpE,MAAM,QAAQ,qBAAqB,GAAG,GAAG,CAAC,qBAAqB,CAAC;CACjE"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
import { isRequestOptions } from '../core.js';
|
|
4
|
+
import * as API from './index.js';
|
|
5
|
+
import { Page } from '../pagination.js';
|
|
6
|
+
export class ACHTransfers extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create an ACH Transfer
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this.post('/ach_transfers', { body, ...options });
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve an ACH Transfer
|
|
15
|
+
*/
|
|
16
|
+
retrieve(achTransferId, options) {
|
|
17
|
+
return this.get(`/ach_transfers/${achTransferId}`, options);
|
|
18
|
+
}
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
if (isRequestOptions(query)) {
|
|
21
|
+
return this.list({}, query);
|
|
22
|
+
}
|
|
23
|
+
return this.getAPIList('/ach_transfers', ACHTransfersPage, { query, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Approves an ACH Transfer in a pending_approval state.
|
|
27
|
+
*/
|
|
28
|
+
approve(achTransferId, options) {
|
|
29
|
+
return this.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Cancels an ACH Transfer in a pending_approval state.
|
|
33
|
+
*/
|
|
34
|
+
cancel(achTransferId, options) {
|
|
35
|
+
return this.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export class ACHTransfersPage extends Page {}
|
|
39
|
+
(function (ACHTransfers) {
|
|
40
|
+
ACHTransfers.ACHTransfersPage = API.ACHTransfersPage;
|
|
41
|
+
})(ACHTransfers || (ACHTransfers = {}));
|
|
42
|
+
//# sourceMappingURL=ach-transfers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../../../resources/ach-transfers.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,IAAI,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAc,MAAM,cAAc,CAAC;AAEhD,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CACJ,IAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9D,CAAC;IAOD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,aAAqB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AA2e1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC;AAGxD,CAAC,EALgB,YAAY,KAAZ,YAAY,QAK5B"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as Core from '../core.js';
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
import * as API from './index.js';
|
|
4
|
+
export declare class BalanceLookups extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Look up the balance for an Account
|
|
7
|
+
*/
|
|
8
|
+
lookup(
|
|
9
|
+
body: BalanceLookupLookupParams,
|
|
10
|
+
options?: Core.RequestOptions,
|
|
11
|
+
): Promise<Core.APIResponse<BalanceLookupLookupResponse>>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Represents a request to lookup the balance of an Account at a given point in
|
|
15
|
+
* time.
|
|
16
|
+
*/
|
|
17
|
+
export interface BalanceLookupLookupResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The identifier for the account for which the balance was queried.
|
|
20
|
+
*/
|
|
21
|
+
account_id: string;
|
|
22
|
+
/**
|
|
23
|
+
* The Account's available balance, representing the current balance less any open
|
|
24
|
+
* Pending Transactions on the Account.
|
|
25
|
+
*/
|
|
26
|
+
available_balance: number;
|
|
27
|
+
/**
|
|
28
|
+
* The Account's current balance, representing the sum of all posted Transactions
|
|
29
|
+
* on the Account.
|
|
30
|
+
*/
|
|
31
|
+
current_balance: number;
|
|
32
|
+
/**
|
|
33
|
+
* A constant representing the object's type. For this resource it will always be
|
|
34
|
+
* `balance_lookup`.
|
|
35
|
+
*/
|
|
36
|
+
type: 'balance_lookup';
|
|
37
|
+
}
|
|
38
|
+
export interface BalanceLookupLookupParams {
|
|
39
|
+
/**
|
|
40
|
+
* The Account to query the balance for.
|
|
41
|
+
*/
|
|
42
|
+
account_id: string;
|
|
43
|
+
/**
|
|
44
|
+
* The moment to query the balance at. If not set, returns the current balances.
|
|
45
|
+
*/
|
|
46
|
+
at_time?: string;
|
|
47
|
+
}
|
|
48
|
+
export declare namespace BalanceLookups {
|
|
49
|
+
export import BalanceLookupLookupResponse = API.BalanceLookupLookupResponse;
|
|
50
|
+
export import BalanceLookupLookupParams = API.BalanceLookupLookupParams;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=balance-lookups.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balance-lookups.d.ts","sourceRoot":"","sources":["../../../resources/balance-lookups.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,KAAK,GAAG,MAAM,IAAI,CAAC;AAE1B,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC;CAG1D;AAED;;;GAGG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,IAAI,EAAE,gBAAgB,CAAC;CACxB;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yBAAiB,cAAc,CAAC;IAC9B,MAAM,QAAQ,2BAA2B,GAAG,GAAG,CAAC,2BAA2B,CAAC;IAC5E,MAAM,QAAQ,yBAAyB,GAAG,GAAG,CAAC,yBAAyB,CAAC;CACzE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
export class BalanceLookups extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Look up the balance for an Account
|
|
6
|
+
*/
|
|
7
|
+
lookup(body, options) {
|
|
8
|
+
return this.post('/balance_lookups', { body, ...options });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
(function (BalanceLookups) {})(BalanceLookups || (BalanceLookups = {}));
|
|
12
|
+
//# sourceMappingURL=balance-lookups.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balance-lookups.js","sourceRoot":"","sources":["../../../resources/balance-lookups.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAGzC,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;OAEG;IACH,MAAM,CACJ,IAA+B,EAC/B,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7D,CAAC;CACF;AA2CD,WAAiB,cAAc;AAG/B,CAAC,EAHgB,cAAc,KAAd,cAAc,QAG9B"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as Core from '../core.js';
|
|
2
|
+
import { APIResource } from '../resource.js';
|
|
3
|
+
import * as API from './index.js';
|
|
4
|
+
import { Page, PageParams } from '../pagination.js';
|
|
5
|
+
export declare class BookkeepingAccounts extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Create a Bookkeeping Account
|
|
8
|
+
*/
|
|
9
|
+
create(
|
|
10
|
+
body: BookkeepingAccountCreateParams,
|
|
11
|
+
options?: Core.RequestOptions,
|
|
12
|
+
): Promise<Core.APIResponse<BookkeepingAccount>>;
|
|
13
|
+
/**
|
|
14
|
+
* List Bookkeeping Accounts
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
query?: BookkeepingAccountListParams,
|
|
18
|
+
options?: Core.RequestOptions,
|
|
19
|
+
): Core.PagePromise<BookkeepingAccountsPage>;
|
|
20
|
+
list(options?: Core.RequestOptions): Core.PagePromise<BookkeepingAccountsPage>;
|
|
21
|
+
}
|
|
22
|
+
export declare class BookkeepingAccountsPage extends Page<BookkeepingAccount> {}
|
|
23
|
+
/**
|
|
24
|
+
* Accounts are T-accounts. They can store accounting entries.
|
|
25
|
+
*/
|
|
26
|
+
export interface BookkeepingAccount {
|
|
27
|
+
/**
|
|
28
|
+
* The account identifier.
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* The API Account associated with this bookkeeping account.
|
|
33
|
+
*/
|
|
34
|
+
account_id: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The compliance category of the account.
|
|
37
|
+
*/
|
|
38
|
+
compliance_category: 'commingled_cash' | 'customer_balance' | null;
|
|
39
|
+
/**
|
|
40
|
+
* The Entity associated with this bookkeeping account.
|
|
41
|
+
*/
|
|
42
|
+
entity_id: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The name you choose for the account.
|
|
45
|
+
*/
|
|
46
|
+
name: string;
|
|
47
|
+
/**
|
|
48
|
+
* A constant representing the object's type. For this resource it will always be
|
|
49
|
+
* `bookkeeping_account`.
|
|
50
|
+
*/
|
|
51
|
+
type: 'bookkeeping_account';
|
|
52
|
+
}
|
|
53
|
+
export interface BookkeepingAccountCreateParams {
|
|
54
|
+
/**
|
|
55
|
+
* The name you choose for the account.
|
|
56
|
+
*/
|
|
57
|
+
name: string;
|
|
58
|
+
/**
|
|
59
|
+
* The entity, if `compliance_category` is `commingled_cash`.
|
|
60
|
+
*/
|
|
61
|
+
account_id?: string;
|
|
62
|
+
/**
|
|
63
|
+
* The account compliance category.
|
|
64
|
+
*/
|
|
65
|
+
compliance_category?: 'commingled_cash' | 'customer_balance';
|
|
66
|
+
/**
|
|
67
|
+
* The entity, if `compliance_category` is `customer_balance`.
|
|
68
|
+
*/
|
|
69
|
+
entity_id?: string;
|
|
70
|
+
}
|
|
71
|
+
export interface BookkeepingAccountListParams extends PageParams {}
|
|
72
|
+
export declare namespace BookkeepingAccounts {
|
|
73
|
+
export import BookkeepingAccount = API.BookkeepingAccount;
|
|
74
|
+
export import BookkeepingAccountsPage = API.BookkeepingAccountsPage;
|
|
75
|
+
export import BookkeepingAccountCreateParams = API.BookkeepingAccountCreateParams;
|
|
76
|
+
export import BookkeepingAccountListParams = API.BookkeepingAccountListParams;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMapp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