increase 0.3.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 +87 -0
- package/README.md +22 -8
- 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 +38 -227
- 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/documents.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/card-refunds.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/account-statements.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 +9 -70
- package/dist/cjs/core.d.ts.map +1 -1
- package/dist/cjs/core.js +57 -253
- package/dist/cjs/core.js.map +1 -1
- package/dist/cjs/error.d.ts +72 -27
- package/dist/cjs/error.d.ts.map +1 -1
- package/dist/cjs/error.js +203 -81
- package/dist/cjs/error.js.map +1 -1
- package/dist/cjs/index.d.ts +68 -31
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +77 -80
- 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 +13 -24
- 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 +11 -24
- 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 +12 -24
- 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 +29 -29
- 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 +17 -29
- 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 +80 -41
- 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 +15 -8
- 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 +20 -27
- 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 +13 -30
- 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 +12 -67
- 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 +16 -122
- 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 +14 -25
- 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 +92 -132
- 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 +12 -52
- 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 +11 -24
- 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 +14 -181
- 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 +297 -1225
- 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 +8 -2
- package/dist/cjs/resources/entities/index.d.ts.map +1 -1
- package/dist/cjs/resources/entities/index.js +24 -1
- package/dist/cjs/resources/entities/index.js.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +42 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +58 -1
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +16 -8
- 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 +34 -103
- 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 +15 -90
- 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 +17 -14
- 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 +25 -49
- 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 +12 -4
- 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 +25 -94
- 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 -97
- 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 +35 -47
- 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 +1264 -1335
- 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 +8 -4
- 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 +449 -520
- 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 +29 -25
- 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 -9
- 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 +173 -265
- 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 +25 -0
- package/dist/cjs/resources/simulations/programs.d.ts.map +1 -0
- package/dist/cjs/resources/simulations/programs.js +18 -0
- package/dist/cjs/resources/simulations/programs.js.map +1 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1225 -1373
- 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 +42 -0
- package/dist/cjs/resources/simulations/simulations.d.ts.map +1 -1
- package/dist/cjs/resources/simulations/simulations.js +60 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +173 -265
- 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 +202 -365
- 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 +19 -12
- 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 +24 -36
- 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 +12 -0
- package/dist/cjs/streaming.d.ts.map +1 -0
- package/dist/cjs/streaming.js +284 -0
- package/dist/cjs/streaming.js.map +1 -0
- 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 +222 -54
- package/index.ts +71 -100
- package/package.json +85 -5
- package/pagination.ts +4 -1
- package/resources/account-numbers.ts +15 -28
- package/resources/account-statements.ts +13 -28
- package/resources/account-transfers.ts +14 -28
- package/resources/accounts.ts +33 -33
- package/resources/ach-prenotifications.ts +20 -34
- package/resources/ach-transfers.ts +85 -47
- package/resources/balance-lookups.ts +6 -0
- package/resources/bookkeeping-accounts.ts +18 -10
- package/resources/bookkeeping-entries.ts +12 -5
- package/resources/bookkeeping-entry-sets.ts +23 -31
- package/resources/card-disputes.ts +15 -34
- package/resources/card-profiles.ts +14 -79
- package/resources/cards.ts +18 -142
- package/resources/check-deposits.ts +16 -29
- package/resources/check-transfers.ts +101 -149
- package/resources/declined-transactions.ts +14 -65
- package/resources/digital-wallet-tokens.ts +13 -28
- package/resources/documents.ts +16 -185
- package/resources/entities/entities.ts +393 -1477
- package/resources/entities/index.ts +8 -2
- package/resources/entities/supplemental-documents.ts +54 -0
- package/resources/event-subscriptions.ts +18 -9
- package/resources/events.ts +40 -111
- package/resources/exports.ts +18 -104
- package/resources/external-accounts.ts +20 -16
- package/resources/files.ts +29 -56
- 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 +14 -5
- package/resources/oauth-connections.ts +12 -5
- package/resources/pending-transactions.ts +29 -114
- package/resources/programs.ts +12 -5
- package/resources/real-time-decisions.ts +39 -110
- package/resources/real-time-payments-transfers.ts +41 -55
- package/resources/routing-numbers.ts +7 -0
- package/resources/simulations/account-statements.ts +5 -0
- package/resources/simulations/ach-transfers.ts +1398 -1511
- package/resources/simulations/card-disputes.ts +9 -4
- package/resources/simulations/card-refunds.ts +5 -0
- package/resources/simulations/cards.ts +542 -635
- 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 +32 -27
- package/resources/simulations/index.ts +23 -9
- package/resources/simulations/interest-payments.ts +202 -327
- package/resources/simulations/programs.ts +31 -0
- package/resources/simulations/real-time-payments-transfers.ts +1400 -1591
- package/resources/simulations/simulations.ts +57 -0
- package/resources/simulations/wire-transfers.ts +202 -327
- package/resources/transactions.ts +235 -434
- package/resources/wire-drawdown-requests.ts +23 -15
- package/resources/wire-transfers.ts +28 -42
- package/streaming.ts +201 -0
- package/uploads.ts +81 -0
- package/version.ts +1 -1
- package/.eslintrc.js +0 -10
- package/.github/workflows/publish-npm.yml +0 -28
- package/.github/workflows/release-doctor.yml +0 -20
- package/.github/workflows/release.yml +0 -38
- package/.prettierignore +0 -1
- package/.prettierrc +0 -6
- package/.release-please-manifest.json +0 -3
- package/.stats.yml +0 -1
- package/api.md +0 -565
- 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 -102
- 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 -86
- 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 -132
- 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 -120
- 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 -121
- 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 -157
- 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 -58
- 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 -83
- 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 -68
- 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 -100
- 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 -124
- 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 -108
- 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 -161
- 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 -89
- 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 -88
- 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 -89
- 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 -357
- 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 -56
- 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 -103
- 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 -85
- 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 -105
- 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 -103
- 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 -103
- 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 -102
- 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 -91
- 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 -65
- 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 -115
- 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 -60
- 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.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 -90
- 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 -58
- 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 -78
- 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 -94
- 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/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 -75
- 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 -84
- 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 -110
- 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 -175
- 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 -108
- 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 -64
- package/tests/api-resources/account-numbers.test.ts +0 -65
- package/tests/api-resources/account-statements.test.ts +0 -49
- package/tests/api-resources/account-transfers.test.ts +0 -95
- package/tests/api-resources/accounts.test.ts +0 -83
- package/tests/api-resources/ach-prenotifications.test.ts +0 -82
- package/tests/api-resources/ach-transfers.test.ts +0 -118
- package/tests/api-resources/balance-lookups.test.ts +0 -21
- package/tests/api-resources/bookkeeping-accounts.test.ts +0 -43
- package/tests/api-resources/bookkeeping-entries.test.ts +0 -25
- package/tests/api-resources/bookkeeping-entry-sets.test.ts +0 -31
- package/tests/api-resources/card-disputes.test.ts +0 -63
- package/tests/api-resources/card-profiles.test.ts +0 -69
- package/tests/api-resources/cards.test.ts +0 -87
- package/tests/api-resources/check-deposits.test.ts +0 -69
- package/tests/api-resources/check-transfers.test.ts +0 -124
- package/tests/api-resources/declined-transactions.test.ts +0 -52
- package/tests/api-resources/digital-wallet-tokens.test.ts +0 -49
- package/tests/api-resources/documents.test.ts +0 -52
- package/tests/api-resources/entities/entities.test.ts +0 -320
- package/tests/api-resources/entities/supplemental-documents.test.ts +0 -19
- package/tests/api-resources/event-subscriptions.test.ts +0 -63
- package/tests/api-resources/events.test.ts +0 -48
- package/tests/api-resources/exports.test.ts +0 -68
- package/tests/api-resources/external-accounts.test.ts +0 -66
- package/tests/api-resources/files.test.ts +0 -66
- 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 -65
- package/tests/api-resources/oauth-connections.test.ts +0 -38
- package/tests/api-resources/pending-transactions.test.ts +0 -52
- package/tests/api-resources/programs.test.ts +0 -36
- package/tests/api-resources/real-time-decisions.test.ts +0 -28
- package/tests/api-resources/real-time-payments-transfers.test.ts +0 -78
- package/tests/api-resources/routing-numbers.test.ts +0 -23
- 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 -53
- package/tests/api-resources/simulations/card-disputes.test.ts +0 -21
- package/tests/api-resources/simulations/card-refunds.test.ts +0 -15
- package/tests/api-resources/simulations/cards.test.ts +0 -41
- 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 -57
- package/tests/api-resources/simulations/interest-payments.test.ts +0 -15
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +0 -38
- package/tests/api-resources/simulations/wire-transfers.test.ts +0 -47
- package/tests/api-resources/transactions.test.ts +0 -53
- package/tests/api-resources/wire-drawdown-requests.test.ts +0 -73
- package/tests/api-resources/wire-transfers.test.ts +0 -138
- package/tests/form.test.ts +0 -27
- package/tests/index.test.ts +0 -78
- 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
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import * as Core from '~/core';
|
|
4
4
|
import { APIResource } from '~/resource';
|
|
5
5
|
import { isRequestOptions } from '~/core';
|
|
6
|
+
import * as API from './';
|
|
6
7
|
import { Page, PageParams } from '~/pagination';
|
|
7
8
|
|
|
8
9
|
export class Transactions extends APIResource {
|
|
@@ -36,6 +37,11 @@ export class TransactionsPage extends Page<Transaction> {}
|
|
|
36
37
|
* account. They're the equivalent of line items on your bank statement.
|
|
37
38
|
*/
|
|
38
39
|
export interface Transaction {
|
|
40
|
+
/**
|
|
41
|
+
* The Transaction identifier.
|
|
42
|
+
*/
|
|
43
|
+
id: string;
|
|
44
|
+
|
|
39
45
|
/**
|
|
40
46
|
* The identifier for the Account the Transaction belongs to.
|
|
41
47
|
*/
|
|
@@ -67,11 +73,6 @@ export interface Transaction {
|
|
|
67
73
|
*/
|
|
68
74
|
description: string;
|
|
69
75
|
|
|
70
|
-
/**
|
|
71
|
-
* The Transaction identifier.
|
|
72
|
-
*/
|
|
73
|
-
id: string;
|
|
74
|
-
|
|
75
76
|
/**
|
|
76
77
|
* The identifier for the route this Transaction came through. Routes are things
|
|
77
78
|
* like cards and ACH details.
|
|
@@ -112,18 +113,6 @@ export namespace Transaction {
|
|
|
112
113
|
*/
|
|
113
114
|
account_transfer_intention: Source.AccountTransferIntention | null;
|
|
114
115
|
|
|
115
|
-
/**
|
|
116
|
-
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
117
|
-
* if and only if `category` is equal to `ach_check_conversion`.
|
|
118
|
-
*/
|
|
119
|
-
ach_check_conversion: Source.ACHCheckConversion | null;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
123
|
-
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
124
|
-
*/
|
|
125
|
-
ach_check_conversion_return: Source.ACHCheckConversionReturn | null;
|
|
126
|
-
|
|
127
116
|
/**
|
|
128
117
|
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
129
118
|
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
@@ -160,18 +149,6 @@ export namespace Transaction {
|
|
|
160
149
|
*/
|
|
161
150
|
card_revenue_payment: Source.CardRevenuePayment | null;
|
|
162
151
|
|
|
163
|
-
/**
|
|
164
|
-
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
165
|
-
* if and only if `category` is equal to `card_route_refund`.
|
|
166
|
-
*/
|
|
167
|
-
card_route_refund: Source.CardRouteRefund | null;
|
|
168
|
-
|
|
169
|
-
/**
|
|
170
|
-
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
171
|
-
* response if and only if `category` is equal to `card_route_settlement`.
|
|
172
|
-
*/
|
|
173
|
-
card_route_settlement: Source.CardRouteSettlement | null;
|
|
174
|
-
|
|
175
152
|
/**
|
|
176
153
|
* A Card Settlement object. This field will be present in the JSON response if and
|
|
177
154
|
* only if `category` is equal to `card_settlement`.
|
|
@@ -185,42 +162,34 @@ export namespace Transaction {
|
|
|
185
162
|
*/
|
|
186
163
|
category:
|
|
187
164
|
| 'account_transfer_intention'
|
|
188
|
-
| 'ach_check_conversion_return'
|
|
189
|
-
| 'ach_check_conversion'
|
|
190
165
|
| 'ach_transfer_intention'
|
|
191
166
|
| 'ach_transfer_rejection'
|
|
192
167
|
| 'ach_transfer_return'
|
|
193
168
|
| 'card_dispute_acceptance'
|
|
194
169
|
| 'card_refund'
|
|
195
|
-
| 'card_settlement'
|
|
196
170
|
| 'card_revenue_payment'
|
|
171
|
+
| 'card_settlement'
|
|
197
172
|
| 'check_deposit_acceptance'
|
|
198
173
|
| 'check_deposit_return'
|
|
174
|
+
| 'check_transfer_deposit'
|
|
199
175
|
| 'check_transfer_intention'
|
|
200
|
-
| 'check_transfer_return'
|
|
201
176
|
| 'check_transfer_rejection'
|
|
177
|
+
| 'check_transfer_return'
|
|
202
178
|
| 'check_transfer_stop_payment_request'
|
|
203
|
-
| 'dispute_resolution'
|
|
204
|
-
| 'empyreal_cash_deposit'
|
|
205
179
|
| 'fee_payment'
|
|
206
180
|
| 'inbound_ach_transfer'
|
|
207
181
|
| 'inbound_ach_transfer_return_intention'
|
|
208
182
|
| 'inbound_check'
|
|
209
183
|
| 'inbound_international_ach_transfer'
|
|
210
184
|
| 'inbound_real_time_payments_transfer_confirmation'
|
|
211
|
-
| 'inbound_wire_drawdown_payment_reversal'
|
|
212
185
|
| 'inbound_wire_drawdown_payment'
|
|
186
|
+
| 'inbound_wire_drawdown_payment_reversal'
|
|
213
187
|
| 'inbound_wire_reversal'
|
|
214
188
|
| 'inbound_wire_transfer'
|
|
215
189
|
| 'interest_payment'
|
|
216
|
-
| 'internal_general_ledger_transaction'
|
|
217
190
|
| 'internal_source'
|
|
218
|
-
| 'card_route_refund'
|
|
219
|
-
| 'card_route_settlement'
|
|
220
191
|
| 'real_time_payments_transfer_acknowledgement'
|
|
221
192
|
| 'sample_funds'
|
|
222
|
-
| 'wire_drawdown_payment_intention'
|
|
223
|
-
| 'wire_drawdown_payment_rejection'
|
|
224
193
|
| 'wire_transfer_intention'
|
|
225
194
|
| 'wire_transfer_rejection'
|
|
226
195
|
| 'other';
|
|
@@ -237,6 +206,12 @@ export namespace Transaction {
|
|
|
237
206
|
*/
|
|
238
207
|
check_deposit_return: Source.CheckDepositReturn | null;
|
|
239
208
|
|
|
209
|
+
/**
|
|
210
|
+
* A Check Transfer Deposit object. This field will be present in the JSON response
|
|
211
|
+
* if and only if `category` is equal to `check_transfer_deposit`.
|
|
212
|
+
*/
|
|
213
|
+
check_transfer_deposit: Source.CheckTransferDeposit | null;
|
|
214
|
+
|
|
240
215
|
/**
|
|
241
216
|
* A Check Transfer Intention object. This field will be present in the JSON
|
|
242
217
|
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
@@ -262,18 +237,6 @@ export namespace Transaction {
|
|
|
262
237
|
*/
|
|
263
238
|
check_transfer_stop_payment_request: Source.CheckTransferStopPaymentRequest | null;
|
|
264
239
|
|
|
265
|
-
/**
|
|
266
|
-
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
267
|
-
* and only if `category` is equal to `dispute_resolution`.
|
|
268
|
-
*/
|
|
269
|
-
dispute_resolution: Source.DisputeResolution | null;
|
|
270
|
-
|
|
271
|
-
/**
|
|
272
|
-
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
273
|
-
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
274
|
-
*/
|
|
275
|
-
empyreal_cash_deposit: Source.EmpyrealCashDeposit | null;
|
|
276
|
-
|
|
277
240
|
/**
|
|
278
241
|
* A Fee Payment object. This field will be present in the JSON response if and
|
|
279
242
|
* only if `category` is equal to `fee_payment`.
|
|
@@ -356,20 +319,6 @@ export namespace Transaction {
|
|
|
356
319
|
*/
|
|
357
320
|
sample_funds: Source.SampleFunds | null;
|
|
358
321
|
|
|
359
|
-
/**
|
|
360
|
-
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
361
|
-
* response if and only if `category` is equal to
|
|
362
|
-
* `wire_drawdown_payment_intention`.
|
|
363
|
-
*/
|
|
364
|
-
wire_drawdown_payment_intention: Source.WireDrawdownPaymentIntention | null;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
368
|
-
* response if and only if `category` is equal to
|
|
369
|
-
* `wire_drawdown_payment_rejection`.
|
|
370
|
-
*/
|
|
371
|
-
wire_drawdown_payment_rejection: Source.WireDrawdownPaymentRejection | null;
|
|
372
|
-
|
|
373
322
|
/**
|
|
374
323
|
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
375
324
|
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
@@ -422,40 +371,6 @@ export namespace Transaction {
|
|
|
422
371
|
transfer_id: string;
|
|
423
372
|
}
|
|
424
373
|
|
|
425
|
-
/**
|
|
426
|
-
* A ACH Check Conversion Return object. This field will be present in the JSON
|
|
427
|
-
* response if and only if `category` is equal to `ach_check_conversion_return`.
|
|
428
|
-
*/
|
|
429
|
-
export interface ACHCheckConversionReturn {
|
|
430
|
-
/**
|
|
431
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
432
|
-
* example, this is cents.
|
|
433
|
-
*/
|
|
434
|
-
amount: number;
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Why the transfer was returned.
|
|
438
|
-
*/
|
|
439
|
-
return_reason_code: string;
|
|
440
|
-
}
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* A ACH Check Conversion object. This field will be present in the JSON response
|
|
444
|
-
* if and only if `category` is equal to `ach_check_conversion`.
|
|
445
|
-
*/
|
|
446
|
-
export interface ACHCheckConversion {
|
|
447
|
-
/**
|
|
448
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
449
|
-
* example, this is cents.
|
|
450
|
-
*/
|
|
451
|
-
amount: number;
|
|
452
|
-
|
|
453
|
-
/**
|
|
454
|
-
* The identifier of the File containing an image of the returned check.
|
|
455
|
-
*/
|
|
456
|
-
file_id: string;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
374
|
/**
|
|
460
375
|
* A ACH Transfer Intention object. This field will be present in the JSON response
|
|
461
376
|
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
@@ -501,6 +416,11 @@ export namespace Transaction {
|
|
|
501
416
|
*/
|
|
502
417
|
created_at: string;
|
|
503
418
|
|
|
419
|
+
/**
|
|
420
|
+
* The three character ACH return code, in the range R01 to R85.
|
|
421
|
+
*/
|
|
422
|
+
raw_return_reason_code: string;
|
|
423
|
+
|
|
504
424
|
/**
|
|
505
425
|
* Why the ACH Transfer was returned.
|
|
506
426
|
*/
|
|
@@ -524,10 +444,57 @@ export namespace Transaction {
|
|
|
524
444
|
| 'file_record_edit_criteria'
|
|
525
445
|
| 'enr_invalid_individual_name'
|
|
526
446
|
| 'returned_per_odfi_request'
|
|
527
|
-
| 'addenda_error'
|
|
528
447
|
| 'limited_participation_dfi'
|
|
529
448
|
| 'incorrectly_coded_outbound_international_payment'
|
|
530
|
-
| '
|
|
449
|
+
| 'account_sold_to_another_dfi'
|
|
450
|
+
| 'addenda_error'
|
|
451
|
+
| 'beneficiary_or_account_holder_deceased'
|
|
452
|
+
| 'customer_advised_not_within_authorization_terms'
|
|
453
|
+
| 'corrected_return'
|
|
454
|
+
| 'duplicate_entry'
|
|
455
|
+
| 'duplicate_return'
|
|
456
|
+
| 'enr_duplicate_enrollment'
|
|
457
|
+
| 'enr_invalid_dfi_account_number'
|
|
458
|
+
| 'enr_invalid_individual_id_number'
|
|
459
|
+
| 'enr_invalid_representative_payee_indicator'
|
|
460
|
+
| 'enr_invalid_transaction_code'
|
|
461
|
+
| 'enr_return_of_enr_entry'
|
|
462
|
+
| 'enr_routing_number_check_digit_error'
|
|
463
|
+
| 'entry_not_processed_by_gateway'
|
|
464
|
+
| 'field_error'
|
|
465
|
+
| 'foreign_receiving_dfi_unable_to_settle'
|
|
466
|
+
| 'iat_entry_coding_error'
|
|
467
|
+
| 'improper_effective_entry_date'
|
|
468
|
+
| 'improper_source_document_source_document_presented'
|
|
469
|
+
| 'invalid_company_id'
|
|
470
|
+
| 'invalid_foreign_receiving_dfi_identification'
|
|
471
|
+
| 'invalid_individual_id_number'
|
|
472
|
+
| 'item_and_rck_entry_presented_for_payment'
|
|
473
|
+
| 'item_related_to_rck_entry_is_ineligible'
|
|
474
|
+
| 'mandatory_field_error'
|
|
475
|
+
| 'misrouted_dishonored_return'
|
|
476
|
+
| 'misrouted_return'
|
|
477
|
+
| 'no_errors_found'
|
|
478
|
+
| 'non_acceptance_of_r62_dishonored_return'
|
|
479
|
+
| 'non_participant_in_iat_program'
|
|
480
|
+
| 'permissible_return_entry'
|
|
481
|
+
| 'permissible_return_entry_not_accepted'
|
|
482
|
+
| 'rdfi_non_settlement'
|
|
483
|
+
| 'rdfi_participant_in_check_truncation_program'
|
|
484
|
+
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
485
|
+
| 'return_not_a_duplicate'
|
|
486
|
+
| 'return_of_erroneous_or_reversing_debit'
|
|
487
|
+
| 'return_of_improper_credit_entry'
|
|
488
|
+
| 'return_of_improper_debit_entry'
|
|
489
|
+
| 'return_of_xck_entry'
|
|
490
|
+
| 'source_document_presented_for_payment'
|
|
491
|
+
| 'state_law_affecting_rck_acceptance'
|
|
492
|
+
| 'stop_payment_on_item_related_to_rck_entry'
|
|
493
|
+
| 'stop_payment_on_source_document'
|
|
494
|
+
| 'timely_original_return'
|
|
495
|
+
| 'trace_number_error'
|
|
496
|
+
| 'untimely_dishonored_return'
|
|
497
|
+
| 'untimely_return';
|
|
531
498
|
|
|
532
499
|
/**
|
|
533
500
|
* The identifier of the Tranasaction associated with this return.
|
|
@@ -568,6 +535,11 @@ export namespace Transaction {
|
|
|
568
535
|
* only if `category` is equal to `card_refund`.
|
|
569
536
|
*/
|
|
570
537
|
export interface CardRefund {
|
|
538
|
+
/**
|
|
539
|
+
* The Card Refund identifier.
|
|
540
|
+
*/
|
|
541
|
+
id: string;
|
|
542
|
+
|
|
571
543
|
/**
|
|
572
544
|
* The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
573
545
|
* for example, this is cents.
|
|
@@ -580,11 +552,6 @@ export namespace Transaction {
|
|
|
580
552
|
*/
|
|
581
553
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
582
554
|
|
|
583
|
-
/**
|
|
584
|
-
* The Card Refund identifier.
|
|
585
|
-
*/
|
|
586
|
-
id: string;
|
|
587
|
-
|
|
588
555
|
/**
|
|
589
556
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
590
557
|
* is transacting with.
|
|
@@ -623,11 +590,49 @@ export namespace Transaction {
|
|
|
623
590
|
type: 'card_refund';
|
|
624
591
|
}
|
|
625
592
|
|
|
593
|
+
/**
|
|
594
|
+
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
595
|
+
* if and only if `category` is equal to `card_revenue_payment`.
|
|
596
|
+
*/
|
|
597
|
+
export interface CardRevenuePayment {
|
|
598
|
+
/**
|
|
599
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
600
|
+
* example, this is cents.
|
|
601
|
+
*/
|
|
602
|
+
amount: number;
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
606
|
+
* currency.
|
|
607
|
+
*/
|
|
608
|
+
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* The end of the period for which this transaction paid interest.
|
|
612
|
+
*/
|
|
613
|
+
period_end: string;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* The start of the period for which this transaction paid interest.
|
|
617
|
+
*/
|
|
618
|
+
period_start: string;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* The account the card belonged to.
|
|
622
|
+
*/
|
|
623
|
+
transacted_on_account_id: string | null;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
626
|
/**
|
|
627
627
|
* A Card Settlement object. This field will be present in the JSON response if and
|
|
628
628
|
* only if `category` is equal to `card_settlement`.
|
|
629
629
|
*/
|
|
630
630
|
export interface CardSettlement {
|
|
631
|
+
/**
|
|
632
|
+
* The Card Settlement identifier.
|
|
633
|
+
*/
|
|
634
|
+
id: string;
|
|
635
|
+
|
|
631
636
|
/**
|
|
632
637
|
* The amount in the minor unit of the transaction's settlement currency. For
|
|
633
638
|
* dollars, for example, this is cents.
|
|
@@ -646,11 +651,6 @@ export namespace Transaction {
|
|
|
646
651
|
*/
|
|
647
652
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
648
653
|
|
|
649
|
-
/**
|
|
650
|
-
* The Card Settlement identifier.
|
|
651
|
-
*/
|
|
652
|
-
id: string;
|
|
653
|
-
|
|
654
654
|
/**
|
|
655
655
|
* The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
656
656
|
* is transacting with.
|
|
@@ -705,39 +705,6 @@ export namespace Transaction {
|
|
|
705
705
|
type: 'card_settlement';
|
|
706
706
|
}
|
|
707
707
|
|
|
708
|
-
/**
|
|
709
|
-
* A Card Revenue Payment object. This field will be present in the JSON response
|
|
710
|
-
* if and only if `category` is equal to `card_revenue_payment`.
|
|
711
|
-
*/
|
|
712
|
-
export interface CardRevenuePayment {
|
|
713
|
-
/**
|
|
714
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
715
|
-
* example, this is cents.
|
|
716
|
-
*/
|
|
717
|
-
amount: number;
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction
|
|
721
|
-
* currency.
|
|
722
|
-
*/
|
|
723
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
724
|
-
|
|
725
|
-
/**
|
|
726
|
-
* The end of the period for which this transaction paid interest.
|
|
727
|
-
*/
|
|
728
|
-
period_end: string;
|
|
729
|
-
|
|
730
|
-
/**
|
|
731
|
-
* The start of the period for which this transaction paid interest.
|
|
732
|
-
*/
|
|
733
|
-
period_start: string;
|
|
734
|
-
|
|
735
|
-
/**
|
|
736
|
-
* The account the card belonged to.
|
|
737
|
-
*/
|
|
738
|
-
transacted_on_account_id: string | null;
|
|
739
|
-
}
|
|
740
|
-
|
|
741
708
|
/**
|
|
742
709
|
* A Check Deposit Acceptance object. This field will be present in the JSON
|
|
743
710
|
* response if and only if `category` is equal to `check_deposit_acceptance`.
|
|
@@ -816,7 +783,8 @@ export namespace Transaction {
|
|
|
816
783
|
| 'stop_payment'
|
|
817
784
|
| 'unknown_reason'
|
|
818
785
|
| 'unmatched_details'
|
|
819
|
-
| 'unreadable_image'
|
|
786
|
+
| 'unreadable_image'
|
|
787
|
+
| 'endorsement_irregular';
|
|
820
788
|
|
|
821
789
|
/**
|
|
822
790
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -831,6 +799,35 @@ export namespace Transaction {
|
|
|
831
799
|
transaction_id: string;
|
|
832
800
|
}
|
|
833
801
|
|
|
802
|
+
/**
|
|
803
|
+
* A Check Transfer Deposit object. This field will be present in the JSON response
|
|
804
|
+
* if and only if `category` is equal to `check_transfer_deposit`.
|
|
805
|
+
*/
|
|
806
|
+
export interface CheckTransferDeposit {
|
|
807
|
+
/**
|
|
808
|
+
* The identifier of the API File object containing an image of the back of the
|
|
809
|
+
* deposited check.
|
|
810
|
+
*/
|
|
811
|
+
back_image_file_id: string | null;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* When the check was deposited.
|
|
815
|
+
*/
|
|
816
|
+
deposited_at: string;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* The identifier of the API File object containing an image of the front of the
|
|
820
|
+
* deposited check.
|
|
821
|
+
*/
|
|
822
|
+
front_image_file_id: string | null;
|
|
823
|
+
|
|
824
|
+
/**
|
|
825
|
+
* A constant representing the object's type. For this resource it will always be
|
|
826
|
+
* `check_transfer_deposit`.
|
|
827
|
+
*/
|
|
828
|
+
type: 'check_transfer_deposit';
|
|
829
|
+
}
|
|
830
|
+
|
|
834
831
|
/**
|
|
835
832
|
* A Check Transfer Intention object. This field will be present in the JSON
|
|
836
833
|
* response if and only if `category` is equal to `check_transfer_intention`.
|
|
@@ -839,12 +836,12 @@ export namespace Transaction {
|
|
|
839
836
|
/**
|
|
840
837
|
* The city of the check's destination.
|
|
841
838
|
*/
|
|
842
|
-
address_city: string;
|
|
839
|
+
address_city: string | null;
|
|
843
840
|
|
|
844
841
|
/**
|
|
845
842
|
* The street address of the check's destination.
|
|
846
843
|
*/
|
|
847
|
-
address_line1: string;
|
|
844
|
+
address_line1: string | null;
|
|
848
845
|
|
|
849
846
|
/**
|
|
850
847
|
* The second line of the address of the check's destination.
|
|
@@ -854,12 +851,12 @@ export namespace Transaction {
|
|
|
854
851
|
/**
|
|
855
852
|
* The state of the check's destination.
|
|
856
853
|
*/
|
|
857
|
-
address_state: string;
|
|
854
|
+
address_state: string | null;
|
|
858
855
|
|
|
859
856
|
/**
|
|
860
857
|
* The postal code of the check's destination.
|
|
861
858
|
*/
|
|
862
|
-
address_zip: string;
|
|
859
|
+
address_zip: string | null;
|
|
863
860
|
|
|
864
861
|
/**
|
|
865
862
|
* The transfer amount in USD cents.
|
|
@@ -875,7 +872,7 @@ export namespace Transaction {
|
|
|
875
872
|
/**
|
|
876
873
|
* The name that will be printed on the check.
|
|
877
874
|
*/
|
|
878
|
-
recipient_name: string;
|
|
875
|
+
recipient_name: string | null;
|
|
879
876
|
|
|
880
877
|
/**
|
|
881
878
|
* The identifier of the Check Transfer with which this is associated.
|
|
@@ -883,6 +880,17 @@ export namespace Transaction {
|
|
|
883
880
|
transfer_id: string;
|
|
884
881
|
}
|
|
885
882
|
|
|
883
|
+
/**
|
|
884
|
+
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
885
|
+
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
886
|
+
*/
|
|
887
|
+
export interface CheckTransferRejection {
|
|
888
|
+
/**
|
|
889
|
+
* The identifier of the Check Transfer that led to this Transaction.
|
|
890
|
+
*/
|
|
891
|
+
transfer_id: string;
|
|
892
|
+
}
|
|
893
|
+
|
|
886
894
|
/**
|
|
887
895
|
* A Check Transfer Return object. This field will be present in the JSON response
|
|
888
896
|
* if and only if `category` is equal to `check_transfer_return`.
|
|
@@ -916,17 +924,6 @@ export namespace Transaction {
|
|
|
916
924
|
transfer_id: string;
|
|
917
925
|
}
|
|
918
926
|
|
|
919
|
-
/**
|
|
920
|
-
* A Check Transfer Rejection object. This field will be present in the JSON
|
|
921
|
-
* response if and only if `category` is equal to `check_transfer_rejection`.
|
|
922
|
-
*/
|
|
923
|
-
export interface CheckTransferRejection {
|
|
924
|
-
/**
|
|
925
|
-
* The identifier of the Check Transfer that led to this Transaction.
|
|
926
|
-
*/
|
|
927
|
-
transfer_id: string;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
927
|
/**
|
|
931
928
|
* A Check Transfer Stop Payment Request object. This field will be present in the
|
|
932
929
|
* JSON response if and only if `category` is equal to
|
|
@@ -955,45 +952,6 @@ export namespace Transaction {
|
|
|
955
952
|
type: 'check_transfer_stop_payment_request';
|
|
956
953
|
}
|
|
957
954
|
|
|
958
|
-
/**
|
|
959
|
-
* A Dispute Resolution object. This field will be present in the JSON response if
|
|
960
|
-
* and only if `category` is equal to `dispute_resolution`.
|
|
961
|
-
*/
|
|
962
|
-
export interface DisputeResolution {
|
|
963
|
-
/**
|
|
964
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
965
|
-
* example, this is cents.
|
|
966
|
-
*/
|
|
967
|
-
amount: number;
|
|
968
|
-
|
|
969
|
-
/**
|
|
970
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
971
|
-
* transaction's currency.
|
|
972
|
-
*/
|
|
973
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* The identifier of the Transaction that was disputed.
|
|
977
|
-
*/
|
|
978
|
-
disputed_transaction_id: string;
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
/**
|
|
982
|
-
* A Empyreal Cash Deposit object. This field will be present in the JSON response
|
|
983
|
-
* if and only if `category` is equal to `empyreal_cash_deposit`.
|
|
984
|
-
*/
|
|
985
|
-
export interface EmpyrealCashDeposit {
|
|
986
|
-
/**
|
|
987
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
988
|
-
* example, this is cents.
|
|
989
|
-
*/
|
|
990
|
-
amount: number;
|
|
991
|
-
|
|
992
|
-
bag_id: string;
|
|
993
|
-
|
|
994
|
-
deposit_date: string;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
955
|
/**
|
|
998
956
|
* A Fee Payment object. This field will be present in the JSON response if and
|
|
999
957
|
* only if `category` is equal to `fee_payment`.
|
|
@@ -1196,6 +1154,42 @@ export namespace Transaction {
|
|
|
1196
1154
|
transaction_identification: string;
|
|
1197
1155
|
}
|
|
1198
1156
|
|
|
1157
|
+
/**
|
|
1158
|
+
* A Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
1159
|
+
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
1160
|
+
*/
|
|
1161
|
+
export interface InboundWireDrawdownPayment {
|
|
1162
|
+
/**
|
|
1163
|
+
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
1164
|
+
* example, this is cents.
|
|
1165
|
+
*/
|
|
1166
|
+
amount: number;
|
|
1167
|
+
|
|
1168
|
+
beneficiary_address_line1: string | null;
|
|
1169
|
+
|
|
1170
|
+
beneficiary_address_line2: string | null;
|
|
1171
|
+
|
|
1172
|
+
beneficiary_address_line3: string | null;
|
|
1173
|
+
|
|
1174
|
+
beneficiary_name: string | null;
|
|
1175
|
+
|
|
1176
|
+
beneficiary_reference: string | null;
|
|
1177
|
+
|
|
1178
|
+
description: string;
|
|
1179
|
+
|
|
1180
|
+
input_message_accountability_data: string | null;
|
|
1181
|
+
|
|
1182
|
+
originator_address_line1: string | null;
|
|
1183
|
+
|
|
1184
|
+
originator_address_line2: string | null;
|
|
1185
|
+
|
|
1186
|
+
originator_address_line3: string | null;
|
|
1187
|
+
|
|
1188
|
+
originator_name: string | null;
|
|
1189
|
+
|
|
1190
|
+
originator_to_beneficiary_information: string | null;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1199
1193
|
/**
|
|
1200
1194
|
* A Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
1201
1195
|
* the JSON response if and only if `category` is equal to
|
|
@@ -1253,42 +1247,6 @@ export namespace Transaction {
|
|
|
1253
1247
|
previous_message_input_source: string;
|
|
1254
1248
|
}
|
|
1255
1249
|
|
|
1256
|
-
/**
|
|
1257
|
-
* A Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
1258
|
-
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
1259
|
-
*/
|
|
1260
|
-
export interface InboundWireDrawdownPayment {
|
|
1261
|
-
/**
|
|
1262
|
-
* The amount in the minor unit of the transaction's currency. For dollars, for
|
|
1263
|
-
* example, this is cents.
|
|
1264
|
-
*/
|
|
1265
|
-
amount: number;
|
|
1266
|
-
|
|
1267
|
-
beneficiary_address_line1: string | null;
|
|
1268
|
-
|
|
1269
|
-
beneficiary_address_line2: string | null;
|
|
1270
|
-
|
|
1271
|
-
beneficiary_address_line3: string | null;
|
|
1272
|
-
|
|
1273
|
-
beneficiary_name: string | null;
|
|
1274
|
-
|
|
1275
|
-
beneficiary_reference: string | null;
|
|
1276
|
-
|
|
1277
|
-
description: string;
|
|
1278
|
-
|
|
1279
|
-
input_message_accountability_data: string | null;
|
|
1280
|
-
|
|
1281
|
-
originator_address_line1: string | null;
|
|
1282
|
-
|
|
1283
|
-
originator_address_line2: string | null;
|
|
1284
|
-
|
|
1285
|
-
originator_address_line3: string | null;
|
|
1286
|
-
|
|
1287
|
-
originator_name: string | null;
|
|
1288
|
-
|
|
1289
|
-
originator_to_beneficiary_information: string | null;
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
1250
|
/**
|
|
1293
1251
|
* A Inbound Wire Reversal object. This field will be present in the JSON response
|
|
1294
1252
|
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
@@ -1467,6 +1425,7 @@ export namespace Transaction {
|
|
|
1467
1425
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1468
1426
|
|
|
1469
1427
|
reason:
|
|
1428
|
+
| 'account_closure'
|
|
1470
1429
|
| 'bank_migration'
|
|
1471
1430
|
| 'cashback'
|
|
1472
1431
|
| 'collection_receivable'
|
|
@@ -1480,66 +1439,6 @@ export namespace Transaction {
|
|
|
1480
1439
|
| 'sample_funds_return';
|
|
1481
1440
|
}
|
|
1482
1441
|
|
|
1483
|
-
/**
|
|
1484
|
-
* A Deprecated Card Refund object. This field will be present in the JSON response
|
|
1485
|
-
* if and only if `category` is equal to `card_route_refund`.
|
|
1486
|
-
*/
|
|
1487
|
-
export interface CardRouteRefund {
|
|
1488
|
-
/**
|
|
1489
|
-
* The refunded amount in the minor unit of the refunded currency. For dollars, for
|
|
1490
|
-
* example, this is cents.
|
|
1491
|
-
*/
|
|
1492
|
-
amount: number;
|
|
1493
|
-
|
|
1494
|
-
/**
|
|
1495
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the refund
|
|
1496
|
-
* currency.
|
|
1497
|
-
*/
|
|
1498
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1499
|
-
|
|
1500
|
-
merchant_acceptor_id: string;
|
|
1501
|
-
|
|
1502
|
-
merchant_category_code: string | null;
|
|
1503
|
-
|
|
1504
|
-
merchant_city: string | null;
|
|
1505
|
-
|
|
1506
|
-
merchant_country: string;
|
|
1507
|
-
|
|
1508
|
-
merchant_descriptor: string;
|
|
1509
|
-
|
|
1510
|
-
merchant_state: string | null;
|
|
1511
|
-
}
|
|
1512
|
-
|
|
1513
|
-
/**
|
|
1514
|
-
* A Deprecated Card Settlement object. This field will be present in the JSON
|
|
1515
|
-
* response if and only if `category` is equal to `card_route_settlement`.
|
|
1516
|
-
*/
|
|
1517
|
-
export interface CardRouteSettlement {
|
|
1518
|
-
/**
|
|
1519
|
-
* The settled amount in the minor unit of the settlement currency. For dollars,
|
|
1520
|
-
* for example, this is cents.
|
|
1521
|
-
*/
|
|
1522
|
-
amount: number;
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the settlement
|
|
1526
|
-
* currency.
|
|
1527
|
-
*/
|
|
1528
|
-
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
1529
|
-
|
|
1530
|
-
merchant_acceptor_id: string;
|
|
1531
|
-
|
|
1532
|
-
merchant_category_code: string | null;
|
|
1533
|
-
|
|
1534
|
-
merchant_city: string | null;
|
|
1535
|
-
|
|
1536
|
-
merchant_country: string | null;
|
|
1537
|
-
|
|
1538
|
-
merchant_descriptor: string;
|
|
1539
|
-
|
|
1540
|
-
merchant_state: string | null;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
1442
|
/**
|
|
1544
1443
|
* A Real Time Payments Transfer Acknowledgement object. This field will be present
|
|
1545
1444
|
* in the JSON response if and only if `category` is equal to
|
|
@@ -1583,35 +1482,6 @@ export namespace Transaction {
|
|
|
1583
1482
|
originator: string;
|
|
1584
1483
|
}
|
|
1585
1484
|
|
|
1586
|
-
/**
|
|
1587
|
-
* A Wire Drawdown Payment Intention object. This field will be present in the JSON
|
|
1588
|
-
* response if and only if `category` is equal to
|
|
1589
|
-
* `wire_drawdown_payment_intention`.
|
|
1590
|
-
*/
|
|
1591
|
-
export interface WireDrawdownPaymentIntention {
|
|
1592
|
-
account_number: string;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* The transfer amount in USD cents.
|
|
1596
|
-
*/
|
|
1597
|
-
amount: number;
|
|
1598
|
-
|
|
1599
|
-
message_to_recipient: string;
|
|
1600
|
-
|
|
1601
|
-
routing_number: string;
|
|
1602
|
-
|
|
1603
|
-
transfer_id: string;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* A Wire Drawdown Payment Rejection object. This field will be present in the JSON
|
|
1608
|
-
* response if and only if `category` is equal to
|
|
1609
|
-
* `wire_drawdown_payment_rejection`.
|
|
1610
|
-
*/
|
|
1611
|
-
export interface WireDrawdownPaymentRejection {
|
|
1612
|
-
transfer_id: string;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
1485
|
/**
|
|
1616
1486
|
* A Wire Transfer Intention object. This field will be present in the JSON
|
|
1617
1487
|
* response if and only if `category` is equal to `wire_transfer_intention`.
|
|
@@ -1656,76 +1526,9 @@ export interface TransactionListParams extends PageParams {
|
|
|
1656
1526
|
*/
|
|
1657
1527
|
account_id?: string;
|
|
1658
1528
|
|
|
1659
|
-
|
|
1660
|
-
* Return results whose value is in the provided list. For GET requests, this
|
|
1661
|
-
* should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
1662
|
-
*/
|
|
1663
|
-
'category.in'?: Array<
|
|
1664
|
-
| 'account_transfer_intention'
|
|
1665
|
-
| 'ach_check_conversion_return'
|
|
1666
|
-
| 'ach_check_conversion'
|
|
1667
|
-
| 'ach_transfer_intention'
|
|
1668
|
-
| 'ach_transfer_rejection'
|
|
1669
|
-
| 'ach_transfer_return'
|
|
1670
|
-
| 'card_dispute_acceptance'
|
|
1671
|
-
| 'card_refund'
|
|
1672
|
-
| 'card_settlement'
|
|
1673
|
-
| 'card_revenue_payment'
|
|
1674
|
-
| 'check_deposit_acceptance'
|
|
1675
|
-
| 'check_deposit_return'
|
|
1676
|
-
| 'check_transfer_intention'
|
|
1677
|
-
| 'check_transfer_return'
|
|
1678
|
-
| 'check_transfer_rejection'
|
|
1679
|
-
| 'check_transfer_stop_payment_request'
|
|
1680
|
-
| 'dispute_resolution'
|
|
1681
|
-
| 'empyreal_cash_deposit'
|
|
1682
|
-
| 'fee_payment'
|
|
1683
|
-
| 'inbound_ach_transfer'
|
|
1684
|
-
| 'inbound_ach_transfer_return_intention'
|
|
1685
|
-
| 'inbound_check'
|
|
1686
|
-
| 'inbound_international_ach_transfer'
|
|
1687
|
-
| 'inbound_real_time_payments_transfer_confirmation'
|
|
1688
|
-
| 'inbound_wire_drawdown_payment_reversal'
|
|
1689
|
-
| 'inbound_wire_drawdown_payment'
|
|
1690
|
-
| 'inbound_wire_reversal'
|
|
1691
|
-
| 'inbound_wire_transfer'
|
|
1692
|
-
| 'interest_payment'
|
|
1693
|
-
| 'internal_general_ledger_transaction'
|
|
1694
|
-
| 'internal_source'
|
|
1695
|
-
| 'card_route_refund'
|
|
1696
|
-
| 'card_route_settlement'
|
|
1697
|
-
| 'real_time_payments_transfer_acknowledgement'
|
|
1698
|
-
| 'sample_funds'
|
|
1699
|
-
| 'wire_drawdown_payment_intention'
|
|
1700
|
-
| 'wire_drawdown_payment_rejection'
|
|
1701
|
-
| 'wire_transfer_intention'
|
|
1702
|
-
| 'wire_transfer_rejection'
|
|
1703
|
-
| 'other'
|
|
1704
|
-
>;
|
|
1529
|
+
category?: TransactionListParams.Category;
|
|
1705
1530
|
|
|
1706
|
-
|
|
1707
|
-
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1708
|
-
* timestamp.
|
|
1709
|
-
*/
|
|
1710
|
-
'created_at.after'?: string;
|
|
1711
|
-
|
|
1712
|
-
/**
|
|
1713
|
-
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1714
|
-
* timestamp.
|
|
1715
|
-
*/
|
|
1716
|
-
'created_at.before'?: string;
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* Return results on or after this
|
|
1720
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1721
|
-
*/
|
|
1722
|
-
'created_at.on_or_after'?: string;
|
|
1723
|
-
|
|
1724
|
-
/**
|
|
1725
|
-
* Return results on or before this
|
|
1726
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1727
|
-
*/
|
|
1728
|
-
'created_at.on_or_before'?: string;
|
|
1531
|
+
created_at?: TransactionListParams.CreatedAt;
|
|
1729
1532
|
|
|
1730
1533
|
/**
|
|
1731
1534
|
* Filter Transactions for those belonging to the specified route. This could be a
|
|
@@ -1735,32 +1538,6 @@ export interface TransactionListParams extends PageParams {
|
|
|
1735
1538
|
}
|
|
1736
1539
|
|
|
1737
1540
|
export namespace TransactionListParams {
|
|
1738
|
-
export interface CreatedAt {
|
|
1739
|
-
/**
|
|
1740
|
-
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1741
|
-
* timestamp.
|
|
1742
|
-
*/
|
|
1743
|
-
after?: string;
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
1746
|
-
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1747
|
-
* timestamp.
|
|
1748
|
-
*/
|
|
1749
|
-
before?: string;
|
|
1750
|
-
|
|
1751
|
-
/**
|
|
1752
|
-
* Return results on or after this
|
|
1753
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1754
|
-
*/
|
|
1755
|
-
on_or_after?: string;
|
|
1756
|
-
|
|
1757
|
-
/**
|
|
1758
|
-
* Return results on or before this
|
|
1759
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1760
|
-
*/
|
|
1761
|
-
on_or_before?: string;
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
1541
|
export interface Category {
|
|
1765
1542
|
/**
|
|
1766
1543
|
* Return results whose value is in the provided list. For GET requests, this
|
|
@@ -1768,45 +1545,69 @@ export namespace TransactionListParams {
|
|
|
1768
1545
|
*/
|
|
1769
1546
|
in?: Array<
|
|
1770
1547
|
| 'account_transfer_intention'
|
|
1771
|
-
| 'ach_check_conversion_return'
|
|
1772
|
-
| 'ach_check_conversion'
|
|
1773
1548
|
| 'ach_transfer_intention'
|
|
1774
1549
|
| 'ach_transfer_rejection'
|
|
1775
1550
|
| 'ach_transfer_return'
|
|
1776
1551
|
| 'card_dispute_acceptance'
|
|
1777
1552
|
| 'card_refund'
|
|
1778
|
-
| 'card_settlement'
|
|
1779
1553
|
| 'card_revenue_payment'
|
|
1554
|
+
| 'card_settlement'
|
|
1780
1555
|
| 'check_deposit_acceptance'
|
|
1781
1556
|
| 'check_deposit_return'
|
|
1557
|
+
| 'check_transfer_deposit'
|
|
1782
1558
|
| 'check_transfer_intention'
|
|
1783
|
-
| 'check_transfer_return'
|
|
1784
1559
|
| 'check_transfer_rejection'
|
|
1560
|
+
| 'check_transfer_return'
|
|
1785
1561
|
| 'check_transfer_stop_payment_request'
|
|
1786
|
-
| 'dispute_resolution'
|
|
1787
|
-
| 'empyreal_cash_deposit'
|
|
1788
1562
|
| 'fee_payment'
|
|
1789
1563
|
| 'inbound_ach_transfer'
|
|
1790
1564
|
| 'inbound_ach_transfer_return_intention'
|
|
1791
1565
|
| 'inbound_check'
|
|
1792
1566
|
| 'inbound_international_ach_transfer'
|
|
1793
1567
|
| 'inbound_real_time_payments_transfer_confirmation'
|
|
1794
|
-
| 'inbound_wire_drawdown_payment_reversal'
|
|
1795
1568
|
| 'inbound_wire_drawdown_payment'
|
|
1569
|
+
| 'inbound_wire_drawdown_payment_reversal'
|
|
1796
1570
|
| 'inbound_wire_reversal'
|
|
1797
1571
|
| 'inbound_wire_transfer'
|
|
1798
1572
|
| 'interest_payment'
|
|
1799
|
-
| 'internal_general_ledger_transaction'
|
|
1800
1573
|
| 'internal_source'
|
|
1801
|
-
| 'card_route_refund'
|
|
1802
|
-
| 'card_route_settlement'
|
|
1803
1574
|
| 'real_time_payments_transfer_acknowledgement'
|
|
1804
1575
|
| 'sample_funds'
|
|
1805
|
-
| 'wire_drawdown_payment_intention'
|
|
1806
|
-
| 'wire_drawdown_payment_rejection'
|
|
1807
1576
|
| 'wire_transfer_intention'
|
|
1808
1577
|
| 'wire_transfer_rejection'
|
|
1809
1578
|
| 'other'
|
|
1810
1579
|
>;
|
|
1811
1580
|
}
|
|
1581
|
+
|
|
1582
|
+
export interface CreatedAt {
|
|
1583
|
+
/**
|
|
1584
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1585
|
+
* timestamp.
|
|
1586
|
+
*/
|
|
1587
|
+
after?: string;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1591
|
+
* timestamp.
|
|
1592
|
+
*/
|
|
1593
|
+
before?: string;
|
|
1594
|
+
|
|
1595
|
+
/**
|
|
1596
|
+
* Return results on or after this
|
|
1597
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1598
|
+
*/
|
|
1599
|
+
on_or_after?: string;
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Return results on or before this
|
|
1603
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
1604
|
+
*/
|
|
1605
|
+
on_or_before?: string;
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
export namespace Transactions {
|
|
1610
|
+
export import Transaction = API.Transaction;
|
|
1611
|
+
export import TransactionsPage = API.TransactionsPage;
|
|
1612
|
+
export import TransactionListParams = API.TransactionListParams;
|
|
1812
1613
|
}
|