increase 0.1.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/.eslintrc.js +10 -0
- package/.prettierrc +6 -0
- package/.stats.yml +1 -0
- package/LICENSE +201 -0
- package/README.md +211 -0
- package/api.md +477 -0
- package/bin/check-test-server +50 -0
- package/build +12 -0
- package/check-version.ts +15 -0
- package/core.ts +908 -0
- package/dist/cjs/check-version.d.ts +1 -0
- package/dist/cjs/check-version.js +21 -0
- package/dist/cjs/check-version.js.map +1 -0
- package/dist/cjs/core.d.ts +262 -0
- package/dist/cjs/core.js +978 -0
- package/dist/cjs/core.js.map +1 -0
- package/dist/cjs/fetch-polyfill.d.ts +5 -0
- package/dist/cjs/fetch-polyfill.js +55 -0
- package/dist/cjs/fetch-polyfill.js.map +1 -0
- package/dist/cjs/index.d.ts +201 -0
- package/dist/cjs/index.js +180 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/pagination.d.ts +28 -0
- package/dist/cjs/pagination.js +30 -0
- package/dist/cjs/pagination.js.map +1 -0
- package/dist/cjs/resource.d.ts +11 -0
- package/dist/cjs/resource.js +17 -0
- package/dist/cjs/resource.js.map +1 -0
- package/dist/cjs/resources/account-numbers.d.ts +103 -0
- package/dist/cjs/resources/account-numbers.js +37 -0
- package/dist/cjs/resources/account-numbers.js.map +1 -0
- package/dist/cjs/resources/account-statements.d.ts +99 -0
- package/dist/cjs/resources/account-statements.js +25 -0
- package/dist/cjs/resources/account-statements.js.map +1 -0
- package/dist/cjs/resources/account-transfers.d.ts +189 -0
- package/dist/cjs/resources/account-transfers.js +43 -0
- package/dist/cjs/resources/account-transfers.js.map +1 -0
- package/dist/cjs/resources/accounts.d.ts +133 -0
- package/dist/cjs/resources/accounts.js +43 -0
- package/dist/cjs/resources/accounts.js.map +1 -0
- package/dist/cjs/resources/ach-prenotifications.d.ts +188 -0
- package/dist/cjs/resources/ach-prenotifications.js +35 -0
- package/dist/cjs/resources/ach-prenotifications.js.map +1 -0
- package/dist/cjs/resources/ach-transfers.d.ts +375 -0
- package/dist/cjs/resources/ach-transfers.js +43 -0
- package/dist/cjs/resources/ach-transfers.js.map +1 -0
- package/dist/cjs/resources/card-disputes.d.ts +143 -0
- package/dist/cjs/resources/card-disputes.js +31 -0
- package/dist/cjs/resources/card-disputes.js.map +1 -0
- package/dist/cjs/resources/card-profiles.d.ts +183 -0
- package/dist/cjs/resources/card-profiles.js +31 -0
- package/dist/cjs/resources/card-profiles.js.map +1 -0
- package/dist/cjs/resources/cards.d.ts +316 -0
- package/dist/cjs/resources/cards.js +43 -0
- package/dist/cjs/resources/cards.js.map +1 -0
- package/dist/cjs/resources/check-deposits.d.ts +241 -0
- package/dist/cjs/resources/check-deposits.js +31 -0
- package/dist/cjs/resources/check-deposits.js.map +1 -0
- package/dist/cjs/resources/check-transfers.d.ts +331 -0
- package/dist/cjs/resources/check-transfers.js +49 -0
- package/dist/cjs/resources/check-transfers.js.map +1 -0
- package/dist/cjs/resources/declined-transactions.d.ts +424 -0
- package/dist/cjs/resources/declined-transactions.js +29 -0
- package/dist/cjs/resources/declined-transactions.js.map +1 -0
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +85 -0
- package/dist/cjs/resources/digital-wallet-tokens.js +29 -0
- package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -0
- package/dist/cjs/resources/documents.d.ts +87 -0
- package/dist/cjs/resources/documents.js +25 -0
- package/dist/cjs/resources/documents.js.map +1 -0
- package/dist/cjs/resources/entities/entities.d.ts +1383 -0
- package/dist/cjs/resources/entities/entities.js +36 -0
- package/dist/cjs/resources/entities/entities.js.map +1 -0
- package/dist/cjs/resources/entities/index.d.ts +2 -0
- package/dist/cjs/resources/entities/index.js +12 -0
- package/dist/cjs/resources/entities/index.js.map +1 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +19 -0
- package/dist/cjs/resources/entities/supplemental-documents.js +15 -0
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -0
- package/dist/cjs/resources/event-subscriptions.d.ts +196 -0
- package/dist/cjs/resources/event-subscriptions.js +37 -0
- package/dist/cjs/resources/event-subscriptions.js.map +1 -0
- package/dist/cjs/resources/events.d.ts +183 -0
- package/dist/cjs/resources/events.js +25 -0
- package/dist/cjs/resources/events.js.map +1 -0
- package/dist/cjs/resources/external-accounts.d.ts +121 -0
- package/dist/cjs/resources/external-accounts.js +37 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -0
- package/dist/cjs/resources/files.d.ts +148 -0
- package/dist/cjs/resources/files.js +34 -0
- package/dist/cjs/resources/files.js.map +1 -0
- package/dist/cjs/resources/groups.d.ts +37 -0
- package/dist/cjs/resources/groups.js +15 -0
- package/dist/cjs/resources/groups.js.map +1 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +106 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +35 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +124 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +29 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/index.d.ts +163 -0
- package/dist/cjs/resources/index.js +478 -0
- package/dist/cjs/resources/index.js.map +1 -0
- package/dist/cjs/resources/limits.d.ts +105 -0
- package/dist/cjs/resources/limits.js +37 -0
- package/dist/cjs/resources/limits.js.map +1 -0
- package/dist/cjs/resources/oauth-connections.d.ts +50 -0
- package/dist/cjs/resources/oauth-connections.js +25 -0
- package/dist/cjs/resources/oauth-connections.js.map +1 -0
- package/dist/cjs/resources/pending-transactions.d.ts +397 -0
- package/dist/cjs/resources/pending-transactions.js +29 -0
- package/dist/cjs/resources/pending-transactions.js.map +1 -0
- package/dist/cjs/resources/real-time-decisions.d.ts +289 -0
- package/dist/cjs/resources/real-time-decisions.js +21 -0
- package/dist/cjs/resources/real-time-decisions.js.map +1 -0
- package/dist/cjs/resources/routing-numbers.d.ts +49 -0
- package/dist/cjs/resources/routing-numbers.js +21 -0
- package/dist/cjs/resources/routing-numbers.js.map +1 -0
- package/dist/cjs/resources/shared.d.ts +15 -0
- package/dist/cjs/resources/shared.js +4 -0
- package/dist/cjs/resources/shared.js.map +1 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts +19 -0
- package/dist/cjs/resources/simulations/account-statements.js +16 -0
- package/dist/cjs/resources/simulations/account-statements.js.map +1 -0
- package/dist/cjs/resources/simulations/account-transfers.d.ts +15 -0
- package/dist/cjs/resources/simulations/account-transfers.js +18 -0
- package/dist/cjs/resources/simulations/account-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +1488 -0
- package/dist/cjs/resources/simulations/ach-transfers.js +39 -0
- package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts +26 -0
- package/dist/cjs/resources/simulations/card-disputes.js +18 -0
- package/dist/cjs/resources/simulations/card-disputes.js.map +1 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts +20 -0
- package/dist/cjs/resources/simulations/card-refunds.js +16 -0
- package/dist/cjs/resources/simulations/card-refunds.js.map +1 -0
- package/dist/cjs/resources/simulations/cards.d.ts +793 -0
- package/dist/cjs/resources/simulations/cards.js +31 -0
- package/dist/cjs/resources/simulations/cards.js.map +1 -0
- package/dist/cjs/resources/simulations/check-deposits.d.ts +30 -0
- package/dist/cjs/resources/simulations/check-deposits.js +31 -0
- package/dist/cjs/resources/simulations/check-deposits.js.map +1 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts +22 -0
- package/dist/cjs/resources/simulations/check-transfers.js +24 -0
- package/dist/cjs/resources/simulations/check-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +43 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +16 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/dist/cjs/resources/simulations/documents.d.ts +18 -0
- package/dist/cjs/resources/simulations/documents.js +15 -0
- package/dist/cjs/resources/simulations/documents.js.map +1 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +101 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +16 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/simulations/index.d.ts +20 -0
- package/dist/cjs/resources/simulations/index.js +4 -0
- package/dist/cjs/resources/simulations/index.js.map +1 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1431 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +16 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/simulations.d.ts +29 -0
- package/dist/cjs/resources/simulations/simulations.js +44 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -0
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +1104 -0
- package/dist/cjs/resources/simulations/wire-transfers.js +15 -0
- package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -0
- package/dist/cjs/resources/transactions.d.ts +1101 -0
- package/dist/cjs/resources/transactions.js +25 -0
- package/dist/cjs/resources/transactions.js.map +1 -0
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +148 -0
- package/dist/cjs/resources/wire-drawdown-requests.js +35 -0
- package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/wire-transfers.d.ts +310 -0
- package/dist/cjs/resources/wire-transfers.js +60 -0
- package/dist/cjs/resources/wire-transfers.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js +104 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.js +101 -0
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.js +146 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.js +119 -0
- package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +125 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +159 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.js +108 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.js +97 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/cards.test.js +138 -0
- package/dist/cjs/tests/api-resources/cards.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.js +113 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.js +172 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +105 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +103 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/documents.test.js +101 -0
- package/dist/cjs/tests/api-resources/documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.js +280 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +49 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +109 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/events.test.js +101 -0
- package/dist/cjs/tests/api-resources/events.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js +113 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/files.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/files.test.js +117 -0
- package/dist/cjs/tests/api-resources/files.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/groups.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/groups.test.js +54 -0
- package/dist/cjs/tests/api-resources/groups.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +90 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +83 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/limits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/limits.test.js +100 -0
- package/dist/cjs/tests/api-resources/limits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.js +78 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +97 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +71 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +55 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +60 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +92 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +56 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +70 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +86 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +73 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +81 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +62 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +70 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.js +109 -0
- package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +110 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +184 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -0
- package/dist/cjs/tests/form.test.d.ts +1 -0
- package/dist/cjs/tests/form.test.js +60 -0
- package/dist/cjs/tests/form.test.js.map +1 -0
- package/dist/cjs/tests/index.test.d.ts +1 -0
- package/dist/cjs/tests/index.test.js +44 -0
- package/dist/cjs/tests/index.test.js.map +1 -0
- package/dist/cjs/tests/responses.test.d.ts +1 -0
- package/dist/cjs/tests/responses.test.js +59 -0
- package/dist/cjs/tests/responses.test.js.map +1 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +5 -0
- package/dist/cjs/version.js.map +1 -0
- package/fetch-polyfill.ts +69 -0
- package/index.ts +276 -0
- package/jest.config.js +8 -0
- package/package.json +47 -0
- package/pagination.ts +58 -0
- package/resource.ts +24 -0
- package/resources/account-numbers.ts +141 -0
- package/resources/account-statements.ts +132 -0
- package/resources/account-transfers.ts +244 -0
- package/resources/accounts.ts +179 -0
- package/resources/ach-prenotifications.ts +242 -0
- package/resources/ach-transfers.ts +465 -0
- package/resources/card-disputes.ts +187 -0
- package/resources/card-profiles.ts +236 -0
- package/resources/cards.ts +398 -0
- package/resources/check-deposits.ts +303 -0
- package/resources/check-transfers.ts +422 -0
- package/resources/declined-transactions.ts +547 -0
- package/resources/digital-wallet-tokens.ts +115 -0
- package/resources/documents.ts +119 -0
- package/resources/entities/entities.ts +1668 -0
- package/resources/entities/index.ts +4 -0
- package/resources/entities/supplemental-documents.ts +25 -0
- package/resources/event-subscriptions.ts +232 -0
- package/resources/events.ts +215 -0
- package/resources/external-accounts.ts +162 -0
- package/resources/files.ts +188 -0
- package/resources/groups.ts +47 -0
- package/resources/inbound-ach-transfer-returns.ts +142 -0
- package/resources/inbound-wire-drawdown-requests.ts +168 -0
- package/resources/index.ts +165 -0
- package/resources/limits.ts +144 -0
- package/resources/oauth-connections.ts +74 -0
- package/resources/pending-transactions.ts +491 -0
- package/resources/real-time-decisions.ts +345 -0
- package/resources/routing-numbers.ts +62 -0
- package/resources/shared.ts +17 -0
- package/resources/simulations/account-statements.ts +25 -0
- package/resources/simulations/account-transfers.ts +20 -0
- package/resources/simulations/ach-transfers.ts +1873 -0
- package/resources/simulations/card-disputes.ts +33 -0
- package/resources/simulations/card-refunds.ts +26 -0
- package/resources/simulations/cards.ts +979 -0
- package/resources/simulations/check-deposits.ts +41 -0
- package/resources/simulations/check-transfers.ts +30 -0
- package/resources/simulations/digital-wallet-token-requests.ts +52 -0
- package/resources/simulations/documents.ts +24 -0
- package/resources/simulations/inbound-wire-drawdown-requests.ts +126 -0
- package/resources/simulations/index.ts +22 -0
- package/resources/simulations/real-time-payments-transfers.ts +1809 -0
- package/resources/simulations/simulations.ts +32 -0
- package/resources/simulations/wire-transfers.ts +1391 -0
- package/resources/transactions.ts +1393 -0
- package/resources/wire-drawdown-requests.ts +195 -0
- package/resources/wire-transfers.ts +399 -0
- package/tests/api-resources/account-numbers.test.ts +67 -0
- package/tests/api-resources/account-statements.test.ts +64 -0
- package/tests/api-resources/account-transfers.test.ts +109 -0
- package/tests/api-resources/accounts.test.ts +82 -0
- package/tests/api-resources/ach-prenotifications.test.ts +86 -0
- package/tests/api-resources/ach-transfers.test.ts +120 -0
- package/tests/api-resources/card-disputes.test.ts +71 -0
- package/tests/api-resources/card-profiles.test.ts +60 -0
- package/tests/api-resources/cards.test.ts +101 -0
- package/tests/api-resources/check-deposits.test.ts +74 -0
- package/tests/api-resources/check-transfers.test.ts +135 -0
- package/tests/api-resources/declined-transactions.test.ts +68 -0
- package/tests/api-resources/digital-wallet-tokens.test.ts +64 -0
- package/tests/api-resources/documents.test.ts +64 -0
- package/tests/api-resources/entities/entities.test.ts +243 -0
- package/tests/api-resources/entities/supplemental-documents.test.ts +12 -0
- package/tests/api-resources/event-subscriptions.test.ts +69 -0
- package/tests/api-resources/events.test.ts +64 -0
- package/tests/api-resources/external-accounts.test.ts +76 -0
- package/tests/api-resources/files.test.ts +81 -0
- package/tests/api-resources/groups.test.ts +17 -0
- package/tests/api-resources/inbound-ach-transfer-returns.test.ts +53 -0
- package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +46 -0
- package/tests/api-resources/limits.test.ts +63 -0
- package/tests/api-resources/oauth-connections.test.ts +41 -0
- package/tests/api-resources/pending-transactions.test.ts +58 -0
- package/tests/api-resources/real-time-decisions.test.ts +34 -0
- package/tests/api-resources/routing-numbers.test.ts +18 -0
- package/tests/api-resources/simulations/account-statements.test.ts +12 -0
- package/tests/api-resources/simulations/account-transfers.test.ts +23 -0
- package/tests/api-resources/simulations/ach-transfers.test.ts +52 -0
- package/tests/api-resources/simulations/card-disputes.test.ts +19 -0
- package/tests/api-resources/simulations/card-refunds.test.ts +12 -0
- package/tests/api-resources/simulations/cards.test.ts +33 -0
- package/tests/api-resources/simulations/check-deposits.test.ts +49 -0
- package/tests/api-resources/simulations/check-transfers.test.ts +34 -0
- package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +12 -0
- package/tests/api-resources/simulations/documents.test.ts +12 -0
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +44 -0
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +25 -0
- package/tests/api-resources/simulations/wire-transfers.test.ts +33 -0
- package/tests/api-resources/transactions.test.ts +70 -0
- package/tests/api-resources/wire-drawdown-requests.test.ts +73 -0
- package/tests/api-resources/wire-transfers.test.ts +147 -0
- package/tests/form.test.ts +27 -0
- package/tests/index.test.ts +47 -0
- package/tests/responses.test.ts +25 -0
- package/tsconfig.cjs.json +8 -0
- package/tsconfig.json +37 -0
- package/typings/digest-fetch/index.d.ts +33 -0
- package/version.ts +1 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.Cards = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class Cards extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates a purchase authorization on a [Card](#cards). Depending on the balance
|
|
9
|
+
* available to the card and the `amount` submitted, the authorization activity
|
|
10
|
+
* will result in a [Pending Transaction](#pending-transactions) of type
|
|
11
|
+
* `card_authorization` or a [Declined Transaction](#declined-transactions) of type
|
|
12
|
+
* `card_decline`. You can pass either a Card id or a
|
|
13
|
+
* [Digital Wallet Token](#digital-wallet-tokens) id to simulate the two different
|
|
14
|
+
* ways purchases can be made.
|
|
15
|
+
*/
|
|
16
|
+
authorize(body, options) {
|
|
17
|
+
return this.post('/simulations/card_authorizations', Object.assign({ body }, options));
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Simulates the settlement of an authorization by a card acquirer. After a card
|
|
21
|
+
* authorization is created, the merchant will eventually send a settlement. This
|
|
22
|
+
* simulates that event, which may occur many days after the purchase in
|
|
23
|
+
* production. The amount settled can be different from the amount originally
|
|
24
|
+
* authorized, for example, when adding a tip to a restaurant bill.
|
|
25
|
+
*/
|
|
26
|
+
settlement(body, options) {
|
|
27
|
+
return this.post('/simulations/card_settlements', Object.assign({ body }, options));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.Cards = Cards;
|
|
31
|
+
//# sourceMappingURL=cards.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cards.js","sourceRoot":"","sources":["../../../../resources/simulations/cards.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAIzC,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;OAQG;IACH,SAAS,CACP,IAAyB,EACzB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,kCAAkC,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAC7E,CAAC;IAED;;;;;;OAMG;IACH,UAAU,CACR,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IAC1E,CAAC;CACF;AA9BD,sBA8BC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as Core from '../../core';
|
|
2
|
+
import { APIResource } from '../../resource';
|
|
3
|
+
import * as CheckDeposits_ from '../../resources/check-deposits';
|
|
4
|
+
export declare class CheckDeposits extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simulates the rejection of a [Check Deposit](#check-deposits) by Increase due to
|
|
7
|
+
* factors like poor image quality. This Check Deposit must first have a `status`
|
|
8
|
+
* of `pending`.
|
|
9
|
+
*/
|
|
10
|
+
reject(
|
|
11
|
+
checkDepositId: string,
|
|
12
|
+
options?: Core.RequestOptions,
|
|
13
|
+
): Promise<Core.APIResponse<CheckDeposits_.CheckDeposit>>;
|
|
14
|
+
/**
|
|
15
|
+
* Simulates the return of a [Check Deposit](#check-deposits). This Check Deposit
|
|
16
|
+
* must first have a `status` of `submitted`.
|
|
17
|
+
*/
|
|
18
|
+
return(
|
|
19
|
+
checkDepositId: string,
|
|
20
|
+
options?: Core.RequestOptions,
|
|
21
|
+
): Promise<Core.APIResponse<CheckDeposits_.CheckDeposit>>;
|
|
22
|
+
/**
|
|
23
|
+
* Simulates the submission of a [Check Deposit](#check-deposits) to the Federal
|
|
24
|
+
* Reserve. This Check Deposit must first have a `status` of `pending`.
|
|
25
|
+
*/
|
|
26
|
+
submit(
|
|
27
|
+
checkDepositId: string,
|
|
28
|
+
options?: Core.RequestOptions,
|
|
29
|
+
): Promise<Core.APIResponse<CheckDeposits_.CheckDeposit>>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.CheckDeposits = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class CheckDeposits extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates the rejection of a [Check Deposit](#check-deposits) by Increase due to
|
|
9
|
+
* factors like poor image quality. This Check Deposit must first have a `status`
|
|
10
|
+
* of `pending`.
|
|
11
|
+
*/
|
|
12
|
+
reject(checkDepositId, options) {
|
|
13
|
+
return this.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Simulates the return of a [Check Deposit](#check-deposits). This Check Deposit
|
|
17
|
+
* must first have a `status` of `submitted`.
|
|
18
|
+
*/
|
|
19
|
+
return(checkDepositId, options) {
|
|
20
|
+
return this.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Simulates the submission of a [Check Deposit](#check-deposits) to the Federal
|
|
24
|
+
* Reserve. This Check Deposit must first have a `status` of `pending`.
|
|
25
|
+
*/
|
|
26
|
+
submit(checkDepositId, options) {
|
|
27
|
+
return this.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.CheckDeposits = CheckDeposits;
|
|
31
|
+
//# sourceMappingURL=check-deposits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-deposits.js","sourceRoot":"","sources":["../../../../resources/simulations/check-deposits.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAGzC,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;OAIG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAED;;;OAGG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AAlCD,sCAkCC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as Core from '../../core';
|
|
2
|
+
import { APIResource } from '../../resource';
|
|
3
|
+
import * as CheckTransfers_ from '../../resources/check-transfers';
|
|
4
|
+
export declare class CheckTransfers extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simulates a [Check Transfer](#check-transfers) being deposited at a bank. This
|
|
7
|
+
* transfer must first have a `status` of `mailed`.
|
|
8
|
+
*/
|
|
9
|
+
deposit(
|
|
10
|
+
checkTransferId: string,
|
|
11
|
+
options?: Core.RequestOptions,
|
|
12
|
+
): Promise<Core.APIResponse<CheckTransfers_.CheckTransfer>>;
|
|
13
|
+
/**
|
|
14
|
+
* Simulates the mailing of a [Check Transfer](#check-transfers), which happens
|
|
15
|
+
* once per weekday in production but can be sped up in sandbox. This transfer must
|
|
16
|
+
* first have a `status` of `pending_approval` or `pending_submission`.
|
|
17
|
+
*/
|
|
18
|
+
mail(
|
|
19
|
+
checkTransferId: string,
|
|
20
|
+
options?: Core.RequestOptions,
|
|
21
|
+
): Promise<Core.APIResponse<CheckTransfers_.CheckTransfer>>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.CheckTransfers = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class CheckTransfers extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates a [Check Transfer](#check-transfers) being deposited at a bank. This
|
|
9
|
+
* transfer must first have a `status` of `mailed`.
|
|
10
|
+
*/
|
|
11
|
+
deposit(checkTransferId, options) {
|
|
12
|
+
return this.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Simulates the mailing of a [Check Transfer](#check-transfers), which happens
|
|
16
|
+
* once per weekday in production but can be sped up in sandbox. This transfer must
|
|
17
|
+
* first have a `status` of `pending_approval` or `pending_submission`.
|
|
18
|
+
*/
|
|
19
|
+
mail(checkTransferId, options) {
|
|
20
|
+
return this.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.CheckTransfers = CheckTransfers;
|
|
24
|
+
//# sourceMappingURL=check-transfers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-transfers.js","sourceRoot":"","sources":["../../../../resources/simulations/check-transfers.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAGzC,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;OAGG;IACH,OAAO,CACL,eAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,gCAAgC,eAAe,UAAU,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAED;;;;OAIG;IACH,IAAI,CACF,eAAuB,EACvB,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,gCAAgC,eAAe,OAAO,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AAvBD,wCAuBC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as Core from '../../core';
|
|
2
|
+
import { APIResource } from '../../resource';
|
|
3
|
+
export declare class DigitalWalletTokenRequests extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* Simulates a user attempting add a [Card](#cards) to a digital wallet such as
|
|
6
|
+
* Apple Pay.
|
|
7
|
+
*/
|
|
8
|
+
create(
|
|
9
|
+
body: DigitalWalletTokenRequestCreateParams,
|
|
10
|
+
options?: Core.RequestOptions,
|
|
11
|
+
): Promise<Core.APIResponse<DigitalWalletTokenRequestCreateResponse>>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* The results of a Digital Wallet Token simulation.
|
|
15
|
+
*/
|
|
16
|
+
export interface DigitalWalletTokenRequestCreateResponse {
|
|
17
|
+
/**
|
|
18
|
+
* If the simulated tokenization attempt was declined, this field contains details
|
|
19
|
+
* as to why.
|
|
20
|
+
*/
|
|
21
|
+
decline_reason:
|
|
22
|
+
| 'card_not_active'
|
|
23
|
+
| 'no_verification_method'
|
|
24
|
+
| 'webhook_timed_out'
|
|
25
|
+
| 'webhook_declined'
|
|
26
|
+
| null;
|
|
27
|
+
/**
|
|
28
|
+
* If the simulated tokenization attempt was accepted, this field contains the id
|
|
29
|
+
* of the Digital Wallet Token that was created.
|
|
30
|
+
*/
|
|
31
|
+
digital_wallet_token_id: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* A constant representing the object's type. For this resource it will always be
|
|
34
|
+
* `inbound_digital_wallet_token_request_simulation_result`.
|
|
35
|
+
*/
|
|
36
|
+
type: 'inbound_digital_wallet_token_request_simulation_result';
|
|
37
|
+
}
|
|
38
|
+
export interface DigitalWalletTokenRequestCreateParams {
|
|
39
|
+
/**
|
|
40
|
+
* The identifier of the Card to be authorized.
|
|
41
|
+
*/
|
|
42
|
+
card_id: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.DigitalWalletTokenRequests = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class DigitalWalletTokenRequests extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates a user attempting add a [Card](#cards) to a digital wallet such as
|
|
9
|
+
* Apple Pay.
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this.post('/simulations/digital_wallet_token_requests', Object.assign({ body }, options));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.DigitalWalletTokenRequests = DigitalWalletTokenRequests;
|
|
16
|
+
//# sourceMappingURL=digital-wallet-token-requests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"digital-wallet-token-requests.js","sourceRoot":"","sources":["../../../../resources/simulations/digital-wallet-token-requests.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAEzC,MAAa,0BAA2B,SAAQ,sBAAW;IACzD;;;OAGG;IACH,MAAM,CACJ,IAA2C,EAC3C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,4CAA4C,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IACvF,CAAC;CACF;AAXD,gEAWC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as Core from '../../core';
|
|
2
|
+
import { APIResource } from '../../resource';
|
|
3
|
+
import * as Documents_ from '../../resources/documents';
|
|
4
|
+
export declare class Documents extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simulates an tax document being created for an account.
|
|
7
|
+
*/
|
|
8
|
+
create(
|
|
9
|
+
body: DocumentCreateParams,
|
|
10
|
+
options?: Core.RequestOptions,
|
|
11
|
+
): Promise<Core.APIResponse<Documents_.Document>>;
|
|
12
|
+
}
|
|
13
|
+
export interface DocumentCreateParams {
|
|
14
|
+
/**
|
|
15
|
+
* The identifier of the Account the tax document is for.
|
|
16
|
+
*/
|
|
17
|
+
account_id: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.Documents = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class Documents extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates an tax document being created for an account.
|
|
9
|
+
*/
|
|
10
|
+
create(body, options) {
|
|
11
|
+
return this.post('/simulations/documents', Object.assign({ body }, options));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.Documents = Documents;
|
|
15
|
+
//# sourceMappingURL=documents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documents.js","sourceRoot":"","sources":["../../../../resources/simulations/documents.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAGzC,MAAa,SAAU,SAAQ,sBAAW;IACxC;;OAEG;IACH,MAAM,CACJ,IAA0B,EAC1B,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,wBAAwB,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IACnE,CAAC;CACF;AAVD,8BAUC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as Core from '../../core';
|
|
2
|
+
import { APIResource } from '../../resource';
|
|
3
|
+
import * as InboundWireDrawdownRequests_ from '../../resources/inbound-wire-drawdown-requests';
|
|
4
|
+
export declare class InboundWireDrawdownRequests extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Simulates the receival of an
|
|
7
|
+
* [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests).
|
|
8
|
+
*/
|
|
9
|
+
create(
|
|
10
|
+
body: InboundWireDrawdownRequestCreateParams,
|
|
11
|
+
options?: Core.RequestOptions,
|
|
12
|
+
): Promise<Core.APIResponse<InboundWireDrawdownRequests_.InboundWireDrawdownRequest>>;
|
|
13
|
+
}
|
|
14
|
+
export interface InboundWireDrawdownRequestCreateParams {
|
|
15
|
+
/**
|
|
16
|
+
* The amount being requested in cents.
|
|
17
|
+
*/
|
|
18
|
+
amount: number;
|
|
19
|
+
/**
|
|
20
|
+
* The drawdown request's beneficiary's account number.
|
|
21
|
+
*/
|
|
22
|
+
beneficiary_account_number: string;
|
|
23
|
+
/**
|
|
24
|
+
* The drawdown request's beneficiary's routing number.
|
|
25
|
+
*/
|
|
26
|
+
beneficiary_routing_number: string;
|
|
27
|
+
/**
|
|
28
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the amount being
|
|
29
|
+
* requested. Will always be "USD".
|
|
30
|
+
*/
|
|
31
|
+
currency: string;
|
|
32
|
+
/**
|
|
33
|
+
* A message from the drawdown request's originator.
|
|
34
|
+
*/
|
|
35
|
+
message_to_recipient: string;
|
|
36
|
+
/**
|
|
37
|
+
* The drawdown request's originator's account number.
|
|
38
|
+
*/
|
|
39
|
+
originator_account_number: string;
|
|
40
|
+
/**
|
|
41
|
+
* The drawdown request's originator's routing number.
|
|
42
|
+
*/
|
|
43
|
+
originator_routing_number: string;
|
|
44
|
+
/**
|
|
45
|
+
* The Account Number to which the recipient of this request is being requested to
|
|
46
|
+
* send funds from.
|
|
47
|
+
*/
|
|
48
|
+
recipient_account_number_id: string;
|
|
49
|
+
/**
|
|
50
|
+
* Line 1 of the drawdown request's beneficiary's address.
|
|
51
|
+
*/
|
|
52
|
+
beneficiary_address_line1?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Line 2 of the drawdown request's beneficiary's address.
|
|
55
|
+
*/
|
|
56
|
+
beneficiary_address_line2?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Line 3 of the drawdown request's beneficiary's address.
|
|
59
|
+
*/
|
|
60
|
+
beneficiary_address_line3?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The drawdown request's beneficiary's name.
|
|
63
|
+
*/
|
|
64
|
+
beneficiary_name?: string;
|
|
65
|
+
/**
|
|
66
|
+
* Line 1 of the drawdown request's originator's address.
|
|
67
|
+
*/
|
|
68
|
+
originator_address_line1?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Line 2 of the drawdown request's originator's address.
|
|
71
|
+
*/
|
|
72
|
+
originator_address_line2?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Line 3 of the drawdown request's originator's address.
|
|
75
|
+
*/
|
|
76
|
+
originator_address_line3?: string;
|
|
77
|
+
/**
|
|
78
|
+
* The drawdown request's originator's name.
|
|
79
|
+
*/
|
|
80
|
+
originator_name?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Line 1 of the information conveyed from the originator of the message to the
|
|
83
|
+
* beneficiary.
|
|
84
|
+
*/
|
|
85
|
+
originator_to_beneficiary_information_line1?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Line 2 of the information conveyed from the originator of the message to the
|
|
88
|
+
* beneficiary.
|
|
89
|
+
*/
|
|
90
|
+
originator_to_beneficiary_information_line2?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Line 3 of the information conveyed from the originator of the message to the
|
|
93
|
+
* beneficiary.
|
|
94
|
+
*/
|
|
95
|
+
originator_to_beneficiary_information_line3?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Line 4 of the information conveyed from the originator of the message to the
|
|
98
|
+
* beneficiary.
|
|
99
|
+
*/
|
|
100
|
+
originator_to_beneficiary_information_line4?: string;
|
|
101
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
exports.InboundWireDrawdownRequests = void 0;
|
|
5
|
+
const resource_1 = require('../../resource');
|
|
6
|
+
class InboundWireDrawdownRequests extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Simulates the receival of an
|
|
9
|
+
* [Inbound Wire Drawdown Request](#inbound-wire-drawdown-requests).
|
|
10
|
+
*/
|
|
11
|
+
create(body, options) {
|
|
12
|
+
return this.post('/simulations/inbound_wire_drawdown_requests', Object.assign({ body }, options));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.InboundWireDrawdownRequests = InboundWireDrawdownRequests;
|
|
16
|
+
//# sourceMappingURL=inbound-wire-drawdown-requests.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inbound-wire-drawdown-requests.js","sourceRoot":"","sources":["../../../../resources/simulations/inbound-wire-drawdown-requests.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,yCAAyC;AAGzC,MAAa,2BAA4B,SAAQ,sBAAW;IAC1D;;;OAGG;IACH,MAAM,CACJ,IAA4C,EAC5C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,6CAA6C,kBAAI,IAAI,IAAK,OAAO,EAAG,CAAC;IACxF,CAAC;CACF;AAXD,kEAWC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export {
|
|
2
|
+
ACHTransferSimulation,
|
|
3
|
+
ACHTransferCreateInboundParams,
|
|
4
|
+
ACHTransferReturnParams,
|
|
5
|
+
} from './ach-transfers';
|
|
6
|
+
export { AccountStatementCreateParams } from './account-statements';
|
|
7
|
+
export { CardAuthorizationSimulation, CardAuthorizeParams, CardSettlementParams } from './cards';
|
|
8
|
+
export { CardDisputeActionParams } from './card-disputes';
|
|
9
|
+
export { CardRefundCreateParams } from './card-refunds';
|
|
10
|
+
export {
|
|
11
|
+
DigitalWalletTokenRequestCreateResponse,
|
|
12
|
+
DigitalWalletTokenRequestCreateParams,
|
|
13
|
+
} from './digital-wallet-token-requests';
|
|
14
|
+
export { DocumentCreateParams } from './documents';
|
|
15
|
+
export {
|
|
16
|
+
InboundRealTimePaymentsTransferSimulationResult,
|
|
17
|
+
RealTimePaymentsTransferCreateInboundParams,
|
|
18
|
+
} from './real-time-payments-transfers';
|
|
19
|
+
export { InboundWireDrawdownRequestCreateParams } from './inbound-wire-drawdown-requests';
|
|
20
|
+
export { WireTransferSimulation, WireTransferCreateInboundParams } from './wire-transfers';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../resources/simulations/index.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
|