increase 0.5.0 → 0.7.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 +80 -0
- package/README.md +11 -6
- package/_shims/agent.d.ts +9 -0
- package/_shims/agent.d.ts.map +1 -0
- package/_shims/agent.js.map +1 -0
- package/_shims/agent.mjs +10 -0
- package/_shims/agent.mjs.map +1 -0
- package/_shims/agent.node.d.ts +7 -0
- package/_shims/agent.node.d.ts.map +1 -0
- package/_shims/agent.node.js.map +1 -0
- package/_shims/agent.node.mjs +16 -0
- package/_shims/agent.node.mjs.map +1 -0
- package/_shims/fetch.d.ts +52 -0
- package/_shims/fetch.js +13 -0
- package/_shims/fetch.mjs +15 -0
- package/_shims/fetch.node.d.ts +53 -0
- package/_shims/fetch.node.js +12 -0
- package/_shims/fetch.node.mjs +14 -0
- package/_shims/fileFromPath.d.ts +22 -0
- package/_shims/fileFromPath.d.ts.map +1 -0
- package/_shims/fileFromPath.js +16 -0
- package/_shims/fileFromPath.js.map +1 -0
- package/_shims/fileFromPath.mjs +12 -0
- package/_shims/fileFromPath.mjs.map +1 -0
- package/_shims/fileFromPath.node.d.ts +17 -0
- package/_shims/fileFromPath.node.d.ts.map +1 -0
- package/_shims/fileFromPath.node.js +17 -0
- package/_shims/fileFromPath.node.js.map +1 -0
- package/_shims/fileFromPath.node.mjs +13 -0
- package/_shims/fileFromPath.node.mjs.map +1 -0
- package/_shims/formdata.d.ts +43 -0
- package/_shims/formdata.js +9 -0
- package/_shims/formdata.mjs +11 -0
- package/_shims/formdata.node.d.ts +44 -0
- package/_shims/formdata.node.js +11 -0
- package/_shims/getMultipartRequestOptions.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.js +12 -0
- package/_shims/getMultipartRequestOptions.js.map +1 -0
- package/_shims/getMultipartRequestOptions.mjs +8 -0
- package/_shims/getMultipartRequestOptions.mjs.map +1 -0
- package/_shims/getMultipartRequestOptions.node.d.ts.map +1 -0
- package/_shims/getMultipartRequestOptions.node.js +22 -0
- package/_shims/getMultipartRequestOptions.node.js.map +1 -0
- package/_shims/getMultipartRequestOptions.node.mjs +18 -0
- package/_shims/getMultipartRequestOptions.node.mjs.map +1 -0
- package/_shims/node-readable.d.ts +23 -0
- package/_shims/node-readable.d.ts.map +1 -0
- package/_shims/node-readable.js +11 -0
- package/_shims/node-readable.js.map +1 -0
- package/_shims/node-readable.mjs +7 -0
- package/_shims/node-readable.mjs.map +1 -0
- package/_shims/node-readable.node.d.ts +8 -0
- package/_shims/node-readable.node.d.ts.map +1 -0
- package/_shims/node-readable.node.js +9 -0
- package/_shims/node-readable.node.js.map +1 -0
- package/_shims/node-readable.node.mjs +5 -0
- package/_shims/node-readable.node.mjs.map +1 -0
- package/core.d.ts +230 -0
- package/core.d.ts.map +1 -0
- package/core.js +717 -0
- package/core.js.map +1 -0
- package/core.mjs +621 -0
- package/core.mjs.map +1 -0
- package/error.d.ts +225 -0
- package/error.d.ts.map +1 -0
- package/error.js +350 -0
- package/error.js.map +1 -0
- package/error.mjs +297 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +355 -0
- package/index.d.ts +355 -0
- package/index.d.ts.map +1 -0
- package/index.js +292 -0
- package/index.js.map +1 -0
- package/index.mjs +221 -0
- package/index.mjs.map +1 -0
- package/package.json +34 -77
- package/pagination.d.ts.map +1 -0
- package/pagination.js +30 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +26 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.ts.map +1 -0
- package/resource.js.map +1 -0
- package/resource.mjs +13 -0
- package/resource.mjs.map +1 -0
- package/resources/account-numbers.d.ts +151 -0
- package/resources/account-numbers.d.ts.map +1 -0
- package/resources/account-numbers.js +38 -0
- package/resources/account-numbers.js.map +1 -0
- package/resources/account-numbers.mjs +33 -0
- package/resources/account-numbers.mjs.map +1 -0
- package/resources/account-statements.d.ts +108 -0
- package/resources/account-statements.d.ts.map +1 -0
- package/resources/account-statements.js +28 -0
- package/resources/account-statements.js.map +1 -0
- package/resources/account-statements.mjs +21 -0
- package/resources/account-statements.mjs.map +1 -0
- package/resources/account-transfers.d.ts +232 -0
- package/resources/account-transfers.d.ts.map +1 -0
- package/resources/account-transfers.js +46 -0
- package/resources/account-transfers.js.map +1 -0
- package/resources/account-transfers.mjs +39 -0
- package/resources/account-transfers.mjs.map +1 -0
- package/resources/accounts.d.ts +178 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +44 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +39 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/ach-prenotifications.d.ts +216 -0
- package/resources/ach-prenotifications.d.ts.map +1 -0
- package/resources/ach-prenotifications.js +34 -0
- package/resources/ach-prenotifications.js.map +1 -0
- package/resources/ach-prenotifications.mjs +27 -0
- package/resources/ach-prenotifications.mjs.map +1 -0
- package/resources/ach-transfers.d.ts +681 -0
- package/resources/ach-transfers.d.ts.map +1 -0
- package/resources/ach-transfers.js +44 -0
- package/resources/ach-transfers.js.map +1 -0
- package/resources/ach-transfers.mjs +39 -0
- package/resources/ach-transfers.mjs.map +1 -0
- package/resources/balance-lookups.d.ts +52 -0
- package/resources/balance-lookups.d.ts.map +1 -0
- package/resources/balance-lookups.js +16 -0
- package/resources/balance-lookups.js.map +1 -0
- package/resources/balance-lookups.mjs +12 -0
- package/resources/balance-lookups.mjs.map +1 -0
- package/resources/bookkeeping-accounts.d.ts +86 -0
- package/resources/bookkeeping-accounts.d.ts.map +1 -0
- package/resources/bookkeeping-accounts.js +28 -0
- package/resources/bookkeeping-accounts.js.map +1 -0
- package/resources/bookkeeping-accounts.mjs +21 -0
- package/resources/bookkeeping-accounts.mjs.map +1 -0
- package/resources/bookkeeping-entries.d.ts +51 -0
- package/resources/bookkeeping-entries.d.ts.map +1 -0
- package/resources/bookkeeping-entries.js +22 -0
- package/resources/bookkeeping-entries.js.map +1 -0
- package/resources/bookkeeping-entries.mjs +15 -0
- package/resources/bookkeeping-entries.mjs.map +1 -0
- package/resources/bookkeeping-entry-sets.d.ts +88 -0
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -0
- package/resources/bookkeeping-entry-sets.js +18 -0
- package/resources/bookkeeping-entry-sets.js.map +1 -0
- package/resources/bookkeeping-entry-sets.mjs +12 -0
- package/resources/bookkeeping-entry-sets.mjs.map +1 -0
- package/resources/card-disputes.d.ts +167 -0
- package/resources/card-disputes.d.ts.map +1 -0
- package/resources/card-disputes.js +32 -0
- package/resources/card-disputes.js.map +1 -0
- package/resources/card-disputes.mjs +27 -0
- package/resources/card-disputes.mjs.map +1 -0
- package/resources/card-profiles.d.ts +260 -0
- package/resources/card-profiles.d.ts.map +1 -0
- package/resources/card-profiles.js +32 -0
- package/resources/card-profiles.js.map +1 -0
- package/resources/card-profiles.mjs +27 -0
- package/resources/card-profiles.mjs.map +1 -0
- package/resources/cards.d.ts +364 -0
- package/resources/cards.d.ts.map +1 -0
- package/resources/cards.js +44 -0
- package/resources/cards.js.map +1 -0
- package/resources/cards.mjs +39 -0
- package/resources/cards.mjs.map +1 -0
- package/resources/check-deposits.d.ts +324 -0
- package/resources/check-deposits.d.ts.map +1 -0
- package/resources/check-deposits.js +32 -0
- package/resources/check-deposits.js.map +1 -0
- package/resources/check-deposits.mjs +27 -0
- package/resources/check-deposits.mjs.map +1 -0
- package/resources/check-transfers.d.ts +468 -0
- package/resources/check-transfers.d.ts.map +1 -0
- package/resources/check-transfers.js +50 -0
- package/resources/check-transfers.js.map +1 -0
- package/resources/check-transfers.mjs +45 -0
- package/resources/check-transfers.mjs.map +1 -0
- package/resources/declined-transactions.d.ts +633 -0
- package/resources/declined-transactions.d.ts.map +1 -0
- package/resources/declined-transactions.js +28 -0
- package/resources/declined-transactions.js.map +1 -0
- package/resources/declined-transactions.mjs +21 -0
- package/resources/declined-transactions.mjs.map +1 -0
- package/resources/digital-wallet-tokens.d.ts +103 -0
- package/resources/digital-wallet-tokens.d.ts.map +1 -0
- package/resources/digital-wallet-tokens.js +28 -0
- package/resources/digital-wallet-tokens.js.map +1 -0
- package/resources/digital-wallet-tokens.mjs +21 -0
- package/resources/digital-wallet-tokens.mjs.map +1 -0
- package/resources/documents.d.ts +103 -0
- package/resources/documents.d.ts.map +1 -0
- package/resources/documents.js +26 -0
- package/resources/documents.js.map +1 -0
- package/resources/documents.mjs +21 -0
- package/resources/documents.mjs.map +1 -0
- package/resources/entities/entities.d.ts +1779 -0
- package/resources/entities/entities.d.ts.map +1 -0
- package/resources/entities/entities.js +81 -0
- package/resources/entities/entities.js.map +1 -0
- package/resources/entities/entities.mjs +36 -0
- package/resources/entities/entities.mjs.map +1 -0
- package/resources/entities/index.d.ts.map +1 -0
- package/resources/entities/index.js +35 -0
- package/resources/entities/index.js.map +1 -0
- package/resources/entities/index.mjs +4 -0
- package/resources/entities/index.mjs.map +1 -0
- package/resources/entities/supplemental-documents.d.ts +64 -0
- package/resources/entities/supplemental-documents.d.ts.map +1 -0
- package/resources/entities/supplemental-documents.js +30 -0
- package/resources/entities/supplemental-documents.js.map +1 -0
- package/resources/entities/supplemental-documents.mjs +23 -0
- package/resources/entities/supplemental-documents.mjs.map +1 -0
- package/resources/event-subscriptions.d.ts +373 -0
- package/resources/event-subscriptions.d.ts.map +1 -0
- package/resources/event-subscriptions.js +40 -0
- package/resources/event-subscriptions.js.map +1 -0
- package/resources/event-subscriptions.mjs +33 -0
- package/resources/event-subscriptions.mjs.map +1 -0
- package/resources/events.d.ts +271 -0
- package/resources/events.d.ts.map +1 -0
- package/resources/events.js +26 -0
- package/resources/events.js.map +1 -0
- package/resources/events.mjs +21 -0
- package/resources/events.mjs.map +1 -0
- package/resources/exports.d.ts +182 -0
- package/resources/exports.d.ts.map +1 -0
- package/resources/exports.js +32 -0
- package/resources/exports.js.map +1 -0
- package/resources/exports.mjs +27 -0
- package/resources/exports.mjs.map +1 -0
- package/resources/external-accounts.d.ts +153 -0
- package/resources/external-accounts.d.ts.map +1 -0
- package/resources/external-accounts.js +40 -0
- package/resources/external-accounts.js.map +1 -0
- package/resources/external-accounts.mjs +33 -0
- package/resources/external-accounts.mjs.map +1 -0
- package/resources/files.d.ts +218 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +35 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +30 -0
- package/resources/files.mjs.map +1 -0
- package/resources/groups.d.ts +48 -0
- package/resources/groups.d.ts.map +1 -0
- package/resources/groups.js +16 -0
- package/resources/groups.js.map +1 -0
- package/resources/groups.mjs +12 -0
- package/resources/groups.mjs.map +1 -0
- package/resources/inbound-ach-transfer-returns.d.ts +159 -0
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -0
- package/resources/inbound-ach-transfer-returns.js +37 -0
- package/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/resources/inbound-ach-transfer-returns.mjs +30 -0
- package/resources/inbound-ach-transfer-returns.mjs.map +1 -0
- package/resources/inbound-wire-drawdown-requests.d.ts +133 -0
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/resources/inbound-wire-drawdown-requests.js +32 -0
- package/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/resources/inbound-wire-drawdown-requests.mjs +26 -0
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -0
- package/resources/index.d.ts +200 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +569 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +44 -0
- package/resources/index.mjs.map +1 -0
- package/resources/limits.d.ts +152 -0
- package/resources/limits.d.ts.map +1 -0
- package/resources/limits.js +38 -0
- package/resources/limits.js.map +1 -0
- package/resources/limits.mjs +33 -0
- package/resources/limits.mjs.map +1 -0
- package/resources/oauth-connections.d.ts +62 -0
- package/resources/oauth-connections.d.ts.map +1 -0
- package/resources/oauth-connections.js +28 -0
- package/resources/oauth-connections.js.map +1 -0
- package/resources/oauth-connections.mjs +21 -0
- package/resources/oauth-connections.mjs.map +1 -0
- package/resources/pending-transactions.d.ts +599 -0
- package/resources/pending-transactions.d.ts.map +1 -0
- package/resources/pending-transactions.js +28 -0
- package/resources/pending-transactions.js.map +1 -0
- package/resources/pending-transactions.mjs +21 -0
- package/resources/pending-transactions.mjs.map +1 -0
- package/resources/programs.d.ts +56 -0
- package/resources/programs.d.ts.map +1 -0
- package/resources/programs.js +26 -0
- package/resources/programs.js.map +1 -0
- package/resources/programs.mjs +21 -0
- package/resources/programs.mjs.map +1 -0
- package/resources/real-time-decisions.d.ts +400 -0
- package/resources/real-time-decisions.d.ts.map +1 -0
- package/resources/real-time-decisions.js +24 -0
- package/resources/real-time-decisions.js.map +1 -0
- package/resources/real-time-decisions.mjs +18 -0
- package/resources/real-time-decisions.mjs.map +1 -0
- package/resources/real-time-payments-transfers.d.ts +377 -0
- package/resources/real-time-payments-transfers.d.ts.map +1 -0
- package/resources/real-time-payments-transfers.js +37 -0
- package/resources/real-time-payments-transfers.js.map +1 -0
- package/resources/real-time-payments-transfers.mjs +30 -0
- package/resources/real-time-payments-transfers.mjs.map +1 -0
- package/resources/routing-numbers.d.ts +67 -0
- package/resources/routing-numbers.d.ts.map +1 -0
- package/resources/routing-numbers.js +22 -0
- package/resources/routing-numbers.js.map +1 -0
- package/resources/routing-numbers.mjs +17 -0
- package/resources/routing-numbers.mjs.map +1 -0
- package/resources/shared.d.ts +29 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/simulations/account-statements.d.ts +24 -0
- package/resources/simulations/account-statements.d.ts.map +1 -0
- package/resources/simulations/account-statements.js +19 -0
- package/resources/simulations/account-statements.js.map +1 -0
- package/resources/simulations/account-statements.mjs +13 -0
- package/resources/simulations/account-statements.mjs.map +1 -0
- package/resources/simulations/account-transfers.d.ts +16 -0
- package/resources/simulations/account-transfers.d.ts.map +1 -0
- package/resources/simulations/account-transfers.js +18 -0
- package/resources/simulations/account-transfers.js.map +1 -0
- package/resources/simulations/account-transfers.mjs +14 -0
- package/resources/simulations/account-transfers.mjs.map +1 -0
- package/resources/simulations/ach-transfers.d.ts +2439 -0
- package/resources/simulations/ach-transfers.d.ts.map +1 -0
- package/resources/simulations/ach-transfers.js +40 -0
- package/resources/simulations/ach-transfers.js.map +1 -0
- package/resources/simulations/ach-transfers.mjs +36 -0
- package/resources/simulations/ach-transfers.mjs.map +1 -0
- package/resources/simulations/card-disputes.d.ts +35 -0
- package/resources/simulations/card-disputes.d.ts.map +1 -0
- package/resources/simulations/card-disputes.js +19 -0
- package/resources/simulations/card-disputes.js.map +1 -0
- package/resources/simulations/card-disputes.mjs +15 -0
- package/resources/simulations/card-disputes.mjs.map +1 -0
- package/resources/simulations/card-profiles.d.ts +17 -0
- package/resources/simulations/card-profiles.d.ts.map +1 -0
- package/resources/simulations/card-profiles.js +19 -0
- package/resources/simulations/card-profiles.js.map +1 -0
- package/resources/simulations/card-profiles.mjs +15 -0
- package/resources/simulations/card-profiles.mjs.map +1 -0
- package/resources/simulations/card-refunds.d.ts +25 -0
- package/resources/simulations/card-refunds.d.ts.map +1 -0
- package/resources/simulations/card-refunds.js +17 -0
- package/resources/simulations/card-refunds.js.map +1 -0
- package/resources/simulations/card-refunds.mjs +13 -0
- package/resources/simulations/card-refunds.mjs.map +1 -0
- package/resources/simulations/cards.d.ts +1185 -0
- package/resources/simulations/cards.d.ts.map +1 -0
- package/resources/simulations/cards.js +32 -0
- package/resources/simulations/cards.js.map +1 -0
- package/resources/simulations/cards.mjs +28 -0
- package/resources/simulations/cards.mjs.map +1 -0
- package/resources/simulations/check-deposits.d.ts +31 -0
- package/resources/simulations/check-deposits.d.ts.map +1 -0
- package/resources/simulations/check-deposits.js +31 -0
- package/resources/simulations/check-deposits.js.map +1 -0
- package/resources/simulations/check-deposits.mjs +27 -0
- package/resources/simulations/check-deposits.mjs.map +1 -0
- package/resources/simulations/check-transfers.d.ts +23 -0
- package/resources/simulations/check-transfers.d.ts.map +1 -0
- package/resources/simulations/check-transfers.js +24 -0
- package/resources/simulations/check-transfers.js.map +1 -0
- package/resources/simulations/check-transfers.mjs +20 -0
- package/resources/simulations/check-transfers.mjs.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts +56 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.js +20 -0
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.mjs +13 -0
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -0
- package/resources/simulations/documents.d.ts +23 -0
- package/resources/simulations/documents.d.ts.map +1 -0
- package/resources/simulations/documents.js +16 -0
- package/resources/simulations/documents.js.map +1 -0
- package/resources/simulations/documents.mjs +12 -0
- package/resources/simulations/documents.mjs.map +1 -0
- package/resources/simulations/inbound-funds-holds.d.ts +74 -0
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
- package/resources/simulations/inbound-funds-holds.js +19 -0
- package/resources/simulations/inbound-funds-holds.js.map +1 -0
- package/resources/simulations/inbound-funds-holds.mjs +13 -0
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +106 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.js +20 -0
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +15 -0
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -0
- package/resources/simulations/index.d.ts +40 -0
- package/resources/simulations/index.d.ts.map +1 -0
- package/resources/simulations/index.js +149 -0
- package/resources/simulations/index.js.map +1 -0
- package/resources/simulations/index.mjs +20 -0
- package/resources/simulations/index.mjs.map +1 -0
- package/resources/simulations/interest-payments.d.ts +1591 -0
- package/resources/simulations/interest-payments.d.ts.map +1 -0
- package/resources/simulations/interest-payments.js +19 -0
- package/resources/simulations/interest-payments.js.map +1 -0
- package/resources/simulations/interest-payments.mjs +13 -0
- package/resources/simulations/interest-payments.mjs.map +1 -0
- package/resources/simulations/programs.d.ts +25 -0
- package/resources/simulations/programs.d.ts.map +1 -0
- package/resources/simulations/programs.js +18 -0
- package/resources/simulations/programs.js.map +1 -0
- package/resources/simulations/programs.mjs +14 -0
- package/resources/simulations/programs.mjs.map +1 -0
- package/resources/simulations/real-time-payments-transfers.d.ts +2289 -0
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -0
- package/resources/simulations/real-time-payments-transfers.js +30 -0
- package/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/resources/simulations/real-time-payments-transfers.mjs +24 -0
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -0
- package/resources/simulations/simulations.d.ts +80 -0
- package/resources/simulations/simulations.d.ts.map +1 -0
- package/resources/simulations/simulations.js +112 -0
- package/resources/simulations/simulations.js.map +1 -0
- package/resources/simulations/simulations.mjs +62 -0
- package/resources/simulations/simulations.mjs.map +1 -0
- package/resources/simulations/wire-transfers.d.ts +1657 -0
- package/resources/simulations/wire-transfers.d.ts.map +1 -0
- package/resources/simulations/wire-transfers.js +16 -0
- package/resources/simulations/wire-transfers.js.map +1 -0
- package/resources/simulations/wire-transfers.mjs +12 -0
- package/resources/simulations/wire-transfers.mjs.map +1 -0
- package/resources/transactions.d.ts +1646 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +26 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +21 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources/wire-drawdown-requests.d.ts +169 -0
- package/resources/wire-drawdown-requests.d.ts.map +1 -0
- package/resources/wire-drawdown-requests.js +34 -0
- package/resources/wire-drawdown-requests.js.map +1 -0
- package/resources/wire-drawdown-requests.mjs +27 -0
- package/resources/wire-drawdown-requests.mjs.map +1 -0
- package/resources/wire-transfers.d.ts +384 -0
- package/resources/wire-transfers.d.ts.map +1 -0
- package/resources/wire-transfers.js +61 -0
- package/resources/wire-transfers.js.map +1 -0
- package/resources/wire-transfers.mjs +56 -0
- package/resources/wire-transfers.mjs.map +1 -0
- package/src/_shims/agent.node.ts +22 -0
- package/src/_shims/agent.ts +12 -0
- package/src/_shims/fetch.d.ts +52 -0
- package/src/_shims/fetch.js +13 -0
- package/src/_shims/fetch.mjs +15 -0
- package/src/_shims/fetch.node.d.ts +53 -0
- package/src/_shims/fetch.node.js +12 -0
- package/src/_shims/fetch.node.mjs +14 -0
- package/src/_shims/fileFromPath.node.ts +29 -0
- package/src/_shims/fileFromPath.ts +29 -0
- package/src/_shims/formdata.d.ts +43 -0
- package/src/_shims/formdata.js +9 -0
- package/src/_shims/formdata.mjs +11 -0
- package/src/_shims/formdata.node.d.ts +44 -0
- package/src/_shims/formdata.node.js +11 -0
- package/src/_shims/formdata.node.mjs +9 -0
- package/src/_shims/getMultipartRequestOptions.node.ts +25 -0
- package/src/_shims/getMultipartRequestOptions.ts +14 -0
- package/src/_shims/node-readable.node.ts +10 -0
- package/src/_shims/node-readable.ts +30 -0
- package/src/core.ts +819 -0
- package/src/error.ts +545 -0
- package/src/index.ts +456 -0
- package/src/resources/account-numbers.ts +193 -0
- package/src/resources/account-statements.ts +140 -0
- package/src/resources/account-transfers.ts +290 -0
- package/src/resources/accounts.ts +228 -0
- package/src/resources/ach-prenotifications.ts +269 -0
- package/src/resources/ach-transfers.ts +776 -0
- package/src/resources/balance-lookups.ts +63 -0
- package/src/resources/bookkeeping-accounts.ts +114 -0
- package/src/resources/bookkeeping-entries.ts +71 -0
- package/src/resources/bookkeeping-entry-sets.ts +106 -0
- package/src/resources/card-disputes.ts +210 -0
- package/src/resources/card-profiles.ts +321 -0
- package/src/resources/cards.ts +445 -0
- package/src/resources/check-deposits.ts +385 -0
- package/src/resources/check-transfers.ts +573 -0
- package/src/resources/declined-transactions.ts +764 -0
- package/src/resources/digital-wallet-tokens.ts +132 -0
- package/src/resources/documents.ts +134 -0
- package/src/resources/entities/entities.ts +2080 -0
- package/src/resources/entities/supplemental-documents.ts +81 -0
- package/src/resources/event-subscriptions.ts +408 -0
- package/src/resources/events.ts +302 -0
- package/src/resources/exports.ts +225 -0
- package/src/resources/external-accounts.ts +193 -0
- package/src/resources/files.ts +256 -0
- package/src/resources/groups.ts +58 -0
- package/src/resources/inbound-ach-transfer-returns.ts +194 -0
- package/src/resources/inbound-wire-drawdown-requests.ts +176 -0
- package/src/resources/index.ts +194 -0
- package/src/resources/limits.ts +190 -0
- package/src/resources/oauth-connections.ts +85 -0
- package/src/resources/pending-transactions.ts +694 -0
- package/src/resources/programs.ts +79 -0
- package/src/resources/real-time-decisions.ts +456 -0
- package/src/resources/real-time-payments-transfers.ts +445 -0
- package/src/resources/routing-numbers.ts +80 -0
- package/src/resources/shared.ts +30 -0
- package/src/resources/simulations/account-statements.ts +30 -0
- package/src/resources/simulations/account-transfers.ts +20 -0
- package/src/resources/simulations/ach-transfers.ts +2826 -0
- package/src/resources/simulations/card-disputes.ts +42 -0
- package/src/resources/simulations/card-profiles.ts +21 -0
- package/src/resources/simulations/card-refunds.ts +31 -0
- package/src/resources/simulations/cards.ts +1378 -0
- package/src/resources/simulations/check-deposits.ts +41 -0
- package/src/resources/simulations/check-transfers.ts +30 -0
- package/src/resources/simulations/digital-wallet-token-requests.ts +65 -0
- package/src/resources/simulations/documents.ts +29 -0
- package/src/resources/simulations/inbound-funds-holds.ts +88 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +131 -0
- package/src/resources/simulations/index.ts +41 -0
- package/src/resources/simulations/interest-payments.ts +1858 -0
- package/src/resources/simulations/programs.ts +31 -0
- package/src/resources/simulations/real-time-payments-transfers.ts +2677 -0
- package/src/resources/simulations/simulations.ts +99 -0
- package/src/resources/simulations/wire-transfers.ts +1937 -0
- package/src/resources/transactions.ts +1930 -0
- package/src/resources/wire-drawdown-requests.ts +215 -0
- package/src/resources/wire-transfers.ts +479 -0
- package/src/streaming.ts +274 -0
- package/src/uploads.ts +249 -0
- package/src/version.ts +1 -0
- package/streaming.d.ts +14 -0
- package/streaming.d.ts.map +1 -0
- package/streaming.js +213 -0
- package/streaming.js.map +1 -0
- package/streaming.mjs +209 -0
- package/streaming.mjs.map +1 -0
- package/uploads.d.ts +90 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +208 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +175 -0
- package/uploads.mjs.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/_shims/agent.node.ts +0 -20
- package/_shims/agent.ts +0 -12
- package/_shims/fetch.node.ts +0 -11
- package/_shims/fetch.ts +0 -32
- package/_shims/fileFromPath.node.ts +0 -30
- package/_shims/fileFromPath.ts +0 -30
- package/_shims/formdata.ts +0 -22
- package/_shims/getMultipartRequestOptions.node.ts +0 -24
- package/_shims/getMultipartRequestOptions.ts +0 -13
- package/_shims/newFileArgs.ts +0 -94
- package/_shims/toFile.node.ts +0 -25
- package/_shims/toFile.ts +0 -26
- package/_shims/uploadable.node.ts +0 -21
- package/_shims/uploadable.ts +0 -82
- package/check-version.ts +0 -18
- package/core.ts +0 -761
- package/dist/cjs/_shims/agent.d.ts +0 -9
- package/dist/cjs/_shims/agent.d.ts.map +0 -1
- package/dist/cjs/_shims/agent.js.map +0 -1
- package/dist/cjs/_shims/agent.node.d.ts +0 -6
- package/dist/cjs/_shims/agent.node.d.ts.map +0 -1
- package/dist/cjs/_shims/agent.node.js.map +0 -1
- package/dist/cjs/_shims/fetch.d.ts +0 -19
- package/dist/cjs/_shims/fetch.d.ts.map +0 -1
- package/dist/cjs/_shims/fetch.js +0 -24
- package/dist/cjs/_shims/fetch.js.map +0 -1
- package/dist/cjs/_shims/fetch.node.d.ts +0 -9
- package/dist/cjs/_shims/fetch.node.d.ts.map +0 -1
- package/dist/cjs/_shims/fetch.node.js +0 -68
- package/dist/cjs/_shims/fetch.node.js.map +0 -1
- package/dist/cjs/_shims/fileFromPath.d.ts +0 -23
- package/dist/cjs/_shims/fileFromPath.d.ts.map +0 -1
- package/dist/cjs/_shims/fileFromPath.js +0 -49
- package/dist/cjs/_shims/fileFromPath.js.map +0 -1
- package/dist/cjs/_shims/fileFromPath.node.d.ts +0 -18
- package/dist/cjs/_shims/fileFromPath.node.d.ts.map +0 -1
- package/dist/cjs/_shims/fileFromPath.node.js +0 -50
- package/dist/cjs/_shims/fileFromPath.node.js.map +0 -1
- package/dist/cjs/_shims/formdata.d.ts +0 -13
- package/dist/cjs/_shims/formdata.d.ts.map +0 -1
- package/dist/cjs/_shims/formdata.js +0 -20
- package/dist/cjs/_shims/formdata.js.map +0 -1
- package/dist/cjs/_shims/formdata.node.d.ts +0 -7
- package/dist/cjs/_shims/formdata.node.d.ts.map +0 -1
- package/dist/cjs/_shims/formdata.node.js +0 -27
- package/dist/cjs/_shims/formdata.node.js.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts +0 -10
- package/dist/cjs/_shims/getMultipartRequestOptions.d.ts.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.js +0 -44
- package/dist/cjs/_shims/getMultipartRequestOptions.js.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts +0 -10
- package/dist/cjs/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js +0 -52
- package/dist/cjs/_shims/getMultipartRequestOptions.node.js.map +0 -1
- package/dist/cjs/_shims/newFileArgs.d.ts +0 -19
- package/dist/cjs/_shims/newFileArgs.d.ts.map +0 -1
- package/dist/cjs/_shims/newFileArgs.js +0 -169
- package/dist/cjs/_shims/newFileArgs.js.map +0 -1
- package/dist/cjs/_shims/toFile.d.ts +0 -21
- package/dist/cjs/_shims/toFile.d.ts.map +0 -1
- package/dist/cjs/_shims/toFile.js +0 -56
- package/dist/cjs/_shims/toFile.js.map +0 -1
- package/dist/cjs/_shims/toFile.node.d.ts +0 -20
- package/dist/cjs/_shims/toFile.node.d.ts.map +0 -1
- package/dist/cjs/_shims/toFile.node.js +0 -56
- package/dist/cjs/_shims/toFile.node.js.map +0 -1
- package/dist/cjs/_shims/uploadable.d.ts +0 -56
- package/dist/cjs/_shims/uploadable.d.ts.map +0 -1
- package/dist/cjs/_shims/uploadable.js +0 -37
- package/dist/cjs/_shims/uploadable.js.map +0 -1
- package/dist/cjs/_shims/uploadable.node.d.ts +0 -7
- package/dist/cjs/_shims/uploadable.node.d.ts.map +0 -1
- package/dist/cjs/_shims/uploadable.node.js +0 -23
- package/dist/cjs/_shims/uploadable.node.js.map +0 -1
- package/dist/cjs/check-version.d.ts +0 -2
- package/dist/cjs/check-version.d.ts.map +0 -1
- package/dist/cjs/check-version.js +0 -23
- package/dist/cjs/check-version.js.map +0 -1
- package/dist/cjs/core.d.ts +0 -221
- package/dist/cjs/core.d.ts.map +0 -1
- package/dist/cjs/core.js +0 -825
- package/dist/cjs/core.js.map +0 -1
- package/dist/cjs/error.d.ts +0 -208
- package/dist/cjs/error.d.ts.map +0 -1
- package/dist/cjs/error.js +0 -326
- package/dist/cjs/error.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -301
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -281
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/pagination.d.ts +0 -34
- package/dist/cjs/pagination.d.ts.map +0 -1
- package/dist/cjs/pagination.js +0 -30
- package/dist/cjs/pagination.js.map +0 -1
- package/dist/cjs/resource.d.ts +0 -12
- package/dist/cjs/resource.d.ts.map +0 -1
- package/dist/cjs/resource.js.map +0 -1
- package/dist/cjs/resources/account-numbers.d.ts +0 -137
- package/dist/cjs/resources/account-numbers.d.ts.map +0 -1
- package/dist/cjs/resources/account-numbers.js +0 -81
- package/dist/cjs/resources/account-numbers.js.map +0 -1
- package/dist/cjs/resources/account-statements.d.ts +0 -106
- package/dist/cjs/resources/account-statements.d.ts.map +0 -1
- package/dist/cjs/resources/account-statements.js +0 -69
- package/dist/cjs/resources/account-statements.js.map +0 -1
- package/dist/cjs/resources/account-transfers.d.ts +0 -205
- package/dist/cjs/resources/account-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/account-transfers.js +0 -87
- package/dist/cjs/resources/account-transfers.js.map +0 -1
- package/dist/cjs/resources/accounts.d.ts +0 -163
- package/dist/cjs/resources/accounts.d.ts.map +0 -1
- package/dist/cjs/resources/accounts.js +0 -87
- package/dist/cjs/resources/accounts.js.map +0 -1
- package/dist/cjs/resources/ach-prenotifications.d.ts +0 -199
- package/dist/cjs/resources/ach-prenotifications.d.ts.map +0 -1
- package/dist/cjs/resources/ach-prenotifications.js +0 -79
- package/dist/cjs/resources/ach-prenotifications.js.map +0 -1
- package/dist/cjs/resources/ach-transfers.d.ts +0 -461
- package/dist/cjs/resources/ach-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/ach-transfers.js +0 -87
- package/dist/cjs/resources/ach-transfers.js.map +0 -1
- package/dist/cjs/resources/balance-lookups.d.ts +0 -52
- package/dist/cjs/resources/balance-lookups.d.ts.map +0 -1
- package/dist/cjs/resources/balance-lookups.js +0 -16
- package/dist/cjs/resources/balance-lookups.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-accounts.d.ts +0 -78
- package/dist/cjs/resources/bookkeeping-accounts.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-accounts.js +0 -73
- package/dist/cjs/resources/bookkeeping-accounts.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-entries.d.ts +0 -49
- package/dist/cjs/resources/bookkeeping-entries.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-entries.js +0 -63
- package/dist/cjs/resources/bookkeeping-entries.js.map +0 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts +0 -88
- package/dist/cjs/resources/bookkeeping-entry-sets.d.ts.map +0 -1
- package/dist/cjs/resources/bookkeeping-entry-sets.js +0 -18
- package/dist/cjs/resources/bookkeeping-entry-sets.js.map +0 -1
- package/dist/cjs/resources/card-disputes.d.ts +0 -160
- package/dist/cjs/resources/card-disputes.d.ts.map +0 -1
- package/dist/cjs/resources/card-disputes.js +0 -75
- package/dist/cjs/resources/card-disputes.js.map +0 -1
- package/dist/cjs/resources/card-profiles.d.ts +0 -206
- package/dist/cjs/resources/card-profiles.d.ts.map +0 -1
- package/dist/cjs/resources/card-profiles.js +0 -75
- package/dist/cjs/resources/card-profiles.js.map +0 -1
- package/dist/cjs/resources/cards.d.ts +0 -354
- package/dist/cjs/resources/cards.d.ts.map +0 -1
- package/dist/cjs/resources/cards.js +0 -87
- package/dist/cjs/resources/cards.js.map +0 -1
- package/dist/cjs/resources/check-deposits.d.ts +0 -263
- package/dist/cjs/resources/check-deposits.d.ts.map +0 -1
- package/dist/cjs/resources/check-deposits.js +0 -75
- package/dist/cjs/resources/check-deposits.js.map +0 -1
- package/dist/cjs/resources/check-transfers.d.ts +0 -438
- package/dist/cjs/resources/check-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/check-transfers.js +0 -93
- package/dist/cjs/resources/check-transfers.js.map +0 -1
- package/dist/cjs/resources/declined-transactions.d.ts +0 -492
- package/dist/cjs/resources/declined-transactions.d.ts.map +0 -1
- package/dist/cjs/resources/declined-transactions.js +0 -73
- package/dist/cjs/resources/declined-transactions.js.map +0 -1
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +0 -92
- package/dist/cjs/resources/digital-wallet-tokens.d.ts.map +0 -1
- package/dist/cjs/resources/digital-wallet-tokens.js +0 -73
- package/dist/cjs/resources/digital-wallet-tokens.js.map +0 -1
- package/dist/cjs/resources/documents.d.ts +0 -95
- package/dist/cjs/resources/documents.d.ts.map +0 -1
- package/dist/cjs/resources/documents.js +0 -69
- package/dist/cjs/resources/documents.js.map +0 -1
- package/dist/cjs/resources/entities/entities.d.ts +0 -1622
- package/dist/cjs/resources/entities/entities.d.ts.map +0 -1
- package/dist/cjs/resources/entities/entities.js +0 -82
- package/dist/cjs/resources/entities/entities.js.map +0 -1
- package/dist/cjs/resources/entities/index.d.ts +0 -9
- package/dist/cjs/resources/entities/index.d.ts.map +0 -1
- package/dist/cjs/resources/entities/index.js +0 -35
- package/dist/cjs/resources/entities/index.js.map +0 -1
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +0 -62
- package/dist/cjs/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/dist/cjs/resources/entities/supplemental-documents.js +0 -72
- package/dist/cjs/resources/entities/supplemental-documents.js.map +0 -1
- package/dist/cjs/resources/event-subscriptions.d.ts +0 -209
- package/dist/cjs/resources/event-subscriptions.d.ts.map +0 -1
- package/dist/cjs/resources/event-subscriptions.js +0 -81
- package/dist/cjs/resources/event-subscriptions.js.map +0 -1
- package/dist/cjs/resources/events.d.ts +0 -195
- package/dist/cjs/resources/events.d.ts.map +0 -1
- package/dist/cjs/resources/events.js +0 -69
- package/dist/cjs/resources/events.js.map +0 -1
- package/dist/cjs/resources/exports.d.ts +0 -169
- package/dist/cjs/resources/exports.d.ts.map +0 -1
- package/dist/cjs/resources/exports.js +0 -75
- package/dist/cjs/resources/exports.js.map +0 -1
- package/dist/cjs/resources/external-accounts.d.ts +0 -131
- package/dist/cjs/resources/external-accounts.d.ts.map +0 -1
- package/dist/cjs/resources/external-accounts.js +0 -81
- package/dist/cjs/resources/external-accounts.js.map +0 -1
- package/dist/cjs/resources/files.d.ts +0 -167
- package/dist/cjs/resources/files.d.ts.map +0 -1
- package/dist/cjs/resources/files.js +0 -114
- package/dist/cjs/resources/files.js.map +0 -1
- package/dist/cjs/resources/groups.d.ts +0 -42
- package/dist/cjs/resources/groups.d.ts.map +0 -1
- package/dist/cjs/resources/groups.js +0 -16
- package/dist/cjs/resources/groups.js.map +0 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +0 -117
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +0 -81
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +0 -131
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +0 -76
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/index.d.ts +0 -192
- package/dist/cjs/resources/index.d.ts.map +0 -1
- package/dist/cjs/resources/index.js +0 -569
- package/dist/cjs/resources/index.js.map +0 -1
- package/dist/cjs/resources/limits.d.ts +0 -114
- package/dist/cjs/resources/limits.d.ts.map +0 -1
- package/dist/cjs/resources/limits.js +0 -81
- package/dist/cjs/resources/limits.js.map +0 -1
- package/dist/cjs/resources/oauth-connections.d.ts +0 -57
- package/dist/cjs/resources/oauth-connections.d.ts.map +0 -1
- package/dist/cjs/resources/oauth-connections.js +0 -69
- package/dist/cjs/resources/oauth-connections.js.map +0 -1
- package/dist/cjs/resources/pending-transactions.d.ts +0 -482
- package/dist/cjs/resources/pending-transactions.d.ts.map +0 -1
- package/dist/cjs/resources/pending-transactions.js +0 -73
- package/dist/cjs/resources/pending-transactions.js.map +0 -1
- package/dist/cjs/resources/programs.d.ts +0 -54
- package/dist/cjs/resources/programs.d.ts.map +0 -1
- package/dist/cjs/resources/programs.js +0 -69
- package/dist/cjs/resources/programs.js.map +0 -1
- package/dist/cjs/resources/real-time-decisions.d.ts +0 -330
- package/dist/cjs/resources/real-time-decisions.d.ts.map +0 -1
- package/dist/cjs/resources/real-time-decisions.js +0 -24
- package/dist/cjs/resources/real-time-decisions.js.map +0 -1
- package/dist/cjs/resources/real-time-payments-transfers.d.ts +0 -294
- package/dist/cjs/resources/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/real-time-payments-transfers.js +0 -81
- package/dist/cjs/resources/real-time-payments-transfers.js.map +0 -1
- package/dist/cjs/resources/routing-numbers.d.ts +0 -56
- package/dist/cjs/resources/routing-numbers.d.ts.map +0 -1
- package/dist/cjs/resources/routing-numbers.js +0 -65
- package/dist/cjs/resources/routing-numbers.js.map +0 -1
- package/dist/cjs/resources/shared.d.ts +0 -16
- package/dist/cjs/resources/shared.d.ts.map +0 -1
- package/dist/cjs/resources/shared.js.map +0 -1
- package/dist/cjs/resources/simulations/account-statements.d.ts +0 -24
- package/dist/cjs/resources/simulations/account-statements.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/account-statements.js +0 -19
- package/dist/cjs/resources/simulations/account-statements.js.map +0 -1
- package/dist/cjs/resources/simulations/account-transfers.d.ts +0 -16
- package/dist/cjs/resources/simulations/account-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/account-transfers.js +0 -18
- package/dist/cjs/resources/simulations/account-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +0 -1836
- package/dist/cjs/resources/simulations/ach-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/ach-transfers.js +0 -40
- package/dist/cjs/resources/simulations/ach-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/card-disputes.d.ts +0 -31
- package/dist/cjs/resources/simulations/card-disputes.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/card-disputes.js +0 -19
- package/dist/cjs/resources/simulations/card-disputes.js.map +0 -1
- package/dist/cjs/resources/simulations/card-refunds.d.ts +0 -25
- package/dist/cjs/resources/simulations/card-refunds.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/card-refunds.js +0 -17
- package/dist/cjs/resources/simulations/card-refunds.js.map +0 -1
- package/dist/cjs/resources/simulations/cards.d.ts +0 -931
- package/dist/cjs/resources/simulations/cards.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/cards.js +0 -32
- package/dist/cjs/resources/simulations/cards.js.map +0 -1
- package/dist/cjs/resources/simulations/check-deposits.d.ts +0 -31
- package/dist/cjs/resources/simulations/check-deposits.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/check-deposits.js +0 -31
- package/dist/cjs/resources/simulations/check-deposits.js.map +0 -1
- package/dist/cjs/resources/simulations/check-transfers.d.ts +0 -42
- package/dist/cjs/resources/simulations/check-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/check-transfers.js +0 -35
- package/dist/cjs/resources/simulations/check-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +0 -20
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +0 -1
- package/dist/cjs/resources/simulations/documents.d.ts +0 -23
- package/dist/cjs/resources/simulations/documents.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/documents.js +0 -16
- package/dist/cjs/resources/simulations/documents.js.map +0 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +0 -20
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/simulations/index.d.ts +0 -38
- package/dist/cjs/resources/simulations/index.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/index.js +0 -133
- package/dist/cjs/resources/simulations/index.js.map +0 -1
- package/dist/cjs/resources/simulations/interest-payments.d.ts +0 -1272
- package/dist/cjs/resources/simulations/interest-payments.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/interest-payments.js +0 -19
- package/dist/cjs/resources/simulations/interest-payments.js.map +0 -1
- package/dist/cjs/resources/simulations/programs.d.ts +0 -25
- package/dist/cjs/resources/simulations/programs.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/programs.js +0 -18
- package/dist/cjs/resources/simulations/programs.js.map +0 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +0 -30
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +0 -1
- package/dist/cjs/resources/simulations/simulations.d.ts +0 -74
- package/dist/cjs/resources/simulations/simulations.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/simulations.js +0 -106
- package/dist/cjs/resources/simulations/simulations.js.map +0 -1
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +0 -1338
- package/dist/cjs/resources/simulations/wire-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/simulations/wire-transfers.js +0 -16
- package/dist/cjs/resources/simulations/wire-transfers.js.map +0 -1
- package/dist/cjs/resources/transactions.d.ts +0 -1326
- package/dist/cjs/resources/transactions.d.ts.map +0 -1
- package/dist/cjs/resources/transactions.js +0 -69
- package/dist/cjs/resources/transactions.js.map +0 -1
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +0 -160
- package/dist/cjs/resources/wire-drawdown-requests.d.ts.map +0 -1
- package/dist/cjs/resources/wire-drawdown-requests.js +0 -79
- package/dist/cjs/resources/wire-drawdown-requests.js.map +0 -1
- package/dist/cjs/resources/wire-transfers.d.ts +0 -352
- package/dist/cjs/resources/wire-transfers.d.ts.map +0 -1
- package/dist/cjs/resources/wire-transfers.js +0 -104
- package/dist/cjs/resources/wire-transfers.js.map +0 -1
- package/dist/cjs/streaming.d.ts +0 -12
- package/dist/cjs/streaming.d.ts.map +0 -1
- package/dist/cjs/streaming.js +0 -284
- package/dist/cjs/streaming.js.map +0 -1
- package/dist/cjs/uploads.d.ts +0 -24
- package/dist/cjs/uploads.d.ts.map +0 -1
- package/dist/cjs/uploads.js +0 -121
- package/dist/cjs/uploads.js.map +0 -1
- package/dist/cjs/version.d.ts +0 -2
- package/dist/cjs/version.d.ts.map +0 -1
- package/dist/cjs/version.js +0 -5
- package/dist/cjs/version.js.map +0 -1
- package/dist/esm/_shims/agent.d.ts +0 -9
- package/dist/esm/_shims/agent.d.ts.map +0 -1
- package/dist/esm/_shims/agent.js +0 -10
- package/dist/esm/_shims/agent.js.map +0 -1
- package/dist/esm/_shims/agent.node.d.ts +0 -6
- package/dist/esm/_shims/agent.node.d.ts.map +0 -1
- package/dist/esm/_shims/agent.node.js +0 -16
- package/dist/esm/_shims/agent.node.js.map +0 -1
- package/dist/esm/_shims/fetch.d.ts +0 -19
- package/dist/esm/_shims/fetch.d.ts.map +0 -1
- package/dist/esm/_shims/fetch.js +0 -18
- package/dist/esm/_shims/fetch.js.map +0 -1
- package/dist/esm/_shims/fetch.node.d.ts +0 -9
- package/dist/esm/_shims/fetch.node.d.ts.map +0 -1
- package/dist/esm/_shims/fetch.node.js +0 -7
- package/dist/esm/_shims/fetch.node.js.map +0 -1
- package/dist/esm/_shims/fileFromPath.d.ts +0 -23
- package/dist/esm/_shims/fileFromPath.d.ts.map +0 -1
- package/dist/esm/_shims/fileFromPath.js +0 -12
- package/dist/esm/_shims/fileFromPath.js.map +0 -1
- package/dist/esm/_shims/fileFromPath.node.d.ts +0 -18
- package/dist/esm/_shims/fileFromPath.node.d.ts.map +0 -1
- package/dist/esm/_shims/fileFromPath.node.js +0 -13
- package/dist/esm/_shims/fileFromPath.node.js.map +0 -1
- package/dist/esm/_shims/formdata.d.ts +0 -13
- package/dist/esm/_shims/formdata.d.ts.map +0 -1
- package/dist/esm/_shims/formdata.js +0 -15
- package/dist/esm/_shims/formdata.js.map +0 -1
- package/dist/esm/_shims/formdata.node.d.ts +0 -7
- package/dist/esm/_shims/formdata.node.d.ts.map +0 -1
- package/dist/esm/_shims/formdata.node.js +0 -7
- package/dist/esm/_shims/formdata.node.js.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.d.ts.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.js +0 -7
- package/dist/esm/_shims/getMultipartRequestOptions.js.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
- package/dist/esm/_shims/getMultipartRequestOptions.node.js +0 -17
- package/dist/esm/_shims/getMultipartRequestOptions.node.js.map +0 -1
- package/dist/esm/_shims/newFileArgs.d.ts +0 -19
- package/dist/esm/_shims/newFileArgs.d.ts.map +0 -1
- package/dist/esm/_shims/newFileArgs.js +0 -66
- package/dist/esm/_shims/newFileArgs.js.map +0 -1
- package/dist/esm/_shims/toFile.d.ts +0 -21
- package/dist/esm/_shims/toFile.d.ts.map +0 -1
- package/dist/esm/_shims/toFile.js +0 -19
- package/dist/esm/_shims/toFile.js.map +0 -1
- package/dist/esm/_shims/toFile.node.d.ts +0 -20
- package/dist/esm/_shims/toFile.node.d.ts.map +0 -1
- package/dist/esm/_shims/toFile.node.js +0 -19
- package/dist/esm/_shims/toFile.node.js.map +0 -1
- package/dist/esm/_shims/uploadable.d.ts +0 -56
- package/dist/esm/_shims/uploadable.d.ts.map +0 -1
- package/dist/esm/_shims/uploadable.js +0 -30
- package/dist/esm/_shims/uploadable.js.map +0 -1
- package/dist/esm/_shims/uploadable.node.d.ts +0 -7
- package/dist/esm/_shims/uploadable.node.d.ts.map +0 -1
- package/dist/esm/_shims/uploadable.node.js +0 -10
- package/dist/esm/_shims/uploadable.node.js.map +0 -1
- package/dist/esm/check-version.d.ts +0 -2
- package/dist/esm/check-version.d.ts.map +0 -1
- package/dist/esm/check-version.js +0 -16
- package/dist/esm/check-version.js.map +0 -1
- package/dist/esm/core.d.ts +0 -221
- package/dist/esm/core.d.ts.map +0 -1
- package/dist/esm/core.js +0 -556
- package/dist/esm/core.js.map +0 -1
- package/dist/esm/error.d.ts +0 -208
- package/dist/esm/error.d.ts.map +0 -1
- package/dist/esm/error.js +0 -275
- package/dist/esm/error.js.map +0 -1
- package/dist/esm/index.d.ts +0 -301
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/index.js +0 -213
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/package.json +0 -3
- package/dist/esm/pagination.d.ts.map +0 -1
- package/dist/esm/pagination.js +0 -26
- package/dist/esm/pagination.js.map +0 -1
- package/dist/esm/resource.d.ts.map +0 -1
- package/dist/esm/resource.js +0 -13
- package/dist/esm/resource.js.map +0 -1
- package/dist/esm/resources/account-numbers.d.ts +0 -137
- package/dist/esm/resources/account-numbers.d.ts.map +0 -1
- package/dist/esm/resources/account-numbers.js +0 -36
- package/dist/esm/resources/account-numbers.js.map +0 -1
- package/dist/esm/resources/account-statements.d.ts +0 -106
- package/dist/esm/resources/account-statements.d.ts.map +0 -1
- package/dist/esm/resources/account-statements.js +0 -24
- package/dist/esm/resources/account-statements.js.map +0 -1
- package/dist/esm/resources/account-transfers.d.ts +0 -205
- package/dist/esm/resources/account-transfers.d.ts.map +0 -1
- package/dist/esm/resources/account-transfers.js +0 -42
- package/dist/esm/resources/account-transfers.js.map +0 -1
- package/dist/esm/resources/accounts.d.ts +0 -163
- package/dist/esm/resources/accounts.d.ts.map +0 -1
- package/dist/esm/resources/accounts.js +0 -42
- package/dist/esm/resources/accounts.js.map +0 -1
- package/dist/esm/resources/ach-prenotifications.d.ts +0 -199
- package/dist/esm/resources/ach-prenotifications.d.ts.map +0 -1
- package/dist/esm/resources/ach-prenotifications.js +0 -30
- package/dist/esm/resources/ach-prenotifications.js.map +0 -1
- package/dist/esm/resources/ach-transfers.d.ts +0 -461
- package/dist/esm/resources/ach-transfers.d.ts.map +0 -1
- package/dist/esm/resources/ach-transfers.js +0 -42
- package/dist/esm/resources/ach-transfers.js.map +0 -1
- package/dist/esm/resources/balance-lookups.d.ts +0 -52
- package/dist/esm/resources/balance-lookups.d.ts.map +0 -1
- package/dist/esm/resources/balance-lookups.js +0 -12
- package/dist/esm/resources/balance-lookups.js.map +0 -1
- package/dist/esm/resources/bookkeeping-accounts.d.ts +0 -78
- package/dist/esm/resources/bookkeeping-accounts.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-accounts.js +0 -24
- package/dist/esm/resources/bookkeeping-accounts.js.map +0 -1
- package/dist/esm/resources/bookkeeping-entries.d.ts +0 -49
- package/dist/esm/resources/bookkeeping-entries.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-entries.js +0 -18
- package/dist/esm/resources/bookkeeping-entries.js.map +0 -1
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts +0 -88
- package/dist/esm/resources/bookkeeping-entry-sets.d.ts.map +0 -1
- package/dist/esm/resources/bookkeeping-entry-sets.js +0 -12
- package/dist/esm/resources/bookkeeping-entry-sets.js.map +0 -1
- package/dist/esm/resources/card-disputes.d.ts +0 -160
- package/dist/esm/resources/card-disputes.d.ts.map +0 -1
- package/dist/esm/resources/card-disputes.js +0 -30
- package/dist/esm/resources/card-disputes.js.map +0 -1
- package/dist/esm/resources/card-profiles.d.ts +0 -206
- package/dist/esm/resources/card-profiles.d.ts.map +0 -1
- package/dist/esm/resources/card-profiles.js +0 -30
- package/dist/esm/resources/card-profiles.js.map +0 -1
- package/dist/esm/resources/cards.d.ts +0 -354
- package/dist/esm/resources/cards.d.ts.map +0 -1
- package/dist/esm/resources/cards.js +0 -42
- package/dist/esm/resources/cards.js.map +0 -1
- package/dist/esm/resources/check-deposits.d.ts +0 -263
- package/dist/esm/resources/check-deposits.d.ts.map +0 -1
- package/dist/esm/resources/check-deposits.js +0 -30
- package/dist/esm/resources/check-deposits.js.map +0 -1
- package/dist/esm/resources/check-transfers.d.ts +0 -438
- package/dist/esm/resources/check-transfers.d.ts.map +0 -1
- package/dist/esm/resources/check-transfers.js +0 -48
- package/dist/esm/resources/check-transfers.js.map +0 -1
- package/dist/esm/resources/declined-transactions.d.ts +0 -492
- package/dist/esm/resources/declined-transactions.d.ts.map +0 -1
- package/dist/esm/resources/declined-transactions.js +0 -24
- package/dist/esm/resources/declined-transactions.js.map +0 -1
- package/dist/esm/resources/digital-wallet-tokens.d.ts +0 -92
- package/dist/esm/resources/digital-wallet-tokens.d.ts.map +0 -1
- package/dist/esm/resources/digital-wallet-tokens.js +0 -24
- package/dist/esm/resources/digital-wallet-tokens.js.map +0 -1
- package/dist/esm/resources/documents.d.ts +0 -95
- package/dist/esm/resources/documents.d.ts.map +0 -1
- package/dist/esm/resources/documents.js +0 -24
- package/dist/esm/resources/documents.js.map +0 -1
- package/dist/esm/resources/entities/entities.d.ts +0 -1622
- package/dist/esm/resources/entities/entities.d.ts.map +0 -1
- package/dist/esm/resources/entities/entities.js +0 -37
- package/dist/esm/resources/entities/entities.js.map +0 -1
- package/dist/esm/resources/entities/index.d.ts.map +0 -1
- package/dist/esm/resources/entities/index.js +0 -4
- package/dist/esm/resources/entities/index.js.map +0 -1
- package/dist/esm/resources/entities/supplemental-documents.d.ts +0 -62
- package/dist/esm/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/dist/esm/resources/entities/supplemental-documents.js +0 -26
- package/dist/esm/resources/entities/supplemental-documents.js.map +0 -1
- package/dist/esm/resources/event-subscriptions.d.ts +0 -209
- package/dist/esm/resources/event-subscriptions.d.ts.map +0 -1
- package/dist/esm/resources/event-subscriptions.js +0 -36
- package/dist/esm/resources/event-subscriptions.js.map +0 -1
- package/dist/esm/resources/events.d.ts +0 -195
- package/dist/esm/resources/events.d.ts.map +0 -1
- package/dist/esm/resources/events.js +0 -24
- package/dist/esm/resources/events.js.map +0 -1
- package/dist/esm/resources/exports.d.ts +0 -169
- package/dist/esm/resources/exports.d.ts.map +0 -1
- package/dist/esm/resources/exports.js +0 -30
- package/dist/esm/resources/exports.js.map +0 -1
- package/dist/esm/resources/external-accounts.d.ts +0 -131
- package/dist/esm/resources/external-accounts.d.ts.map +0 -1
- package/dist/esm/resources/external-accounts.js +0 -36
- package/dist/esm/resources/external-accounts.js.map +0 -1
- package/dist/esm/resources/files.d.ts +0 -167
- package/dist/esm/resources/files.d.ts.map +0 -1
- package/dist/esm/resources/files.js +0 -33
- package/dist/esm/resources/files.js.map +0 -1
- package/dist/esm/resources/groups.d.ts +0 -42
- package/dist/esm/resources/groups.d.ts.map +0 -1
- package/dist/esm/resources/groups.js +0 -12
- package/dist/esm/resources/groups.js.map +0 -1
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts +0 -117
- package/dist/esm/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/dist/esm/resources/inbound-ach-transfer-returns.js +0 -33
- package/dist/esm/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts +0 -131
- package/dist/esm/resources/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/inbound-wire-drawdown-requests.js +0 -27
- package/dist/esm/resources/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/index.d.ts +0 -199
- package/dist/esm/resources/index.d.ts.map +0 -1
- package/dist/esm/resources/index.js +0 -44
- package/dist/esm/resources/index.js.map +0 -1
- package/dist/esm/resources/limits.d.ts +0 -114
- package/dist/esm/resources/limits.d.ts.map +0 -1
- package/dist/esm/resources/limits.js +0 -36
- package/dist/esm/resources/limits.js.map +0 -1
- package/dist/esm/resources/oauth-connections.d.ts +0 -57
- package/dist/esm/resources/oauth-connections.d.ts.map +0 -1
- package/dist/esm/resources/oauth-connections.js +0 -24
- package/dist/esm/resources/oauth-connections.js.map +0 -1
- package/dist/esm/resources/pending-transactions.d.ts +0 -482
- package/dist/esm/resources/pending-transactions.d.ts.map +0 -1
- package/dist/esm/resources/pending-transactions.js +0 -24
- package/dist/esm/resources/pending-transactions.js.map +0 -1
- package/dist/esm/resources/programs.d.ts +0 -54
- package/dist/esm/resources/programs.d.ts.map +0 -1
- package/dist/esm/resources/programs.js +0 -24
- package/dist/esm/resources/programs.js.map +0 -1
- package/dist/esm/resources/real-time-decisions.d.ts +0 -330
- package/dist/esm/resources/real-time-decisions.d.ts.map +0 -1
- package/dist/esm/resources/real-time-decisions.js +0 -18
- package/dist/esm/resources/real-time-decisions.js.map +0 -1
- package/dist/esm/resources/real-time-payments-transfers.d.ts +0 -294
- package/dist/esm/resources/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/esm/resources/real-time-payments-transfers.js +0 -33
- package/dist/esm/resources/real-time-payments-transfers.js.map +0 -1
- package/dist/esm/resources/routing-numbers.d.ts +0 -56
- package/dist/esm/resources/routing-numbers.d.ts.map +0 -1
- package/dist/esm/resources/routing-numbers.js +0 -20
- package/dist/esm/resources/routing-numbers.js.map +0 -1
- package/dist/esm/resources/shared.d.ts +0 -16
- package/dist/esm/resources/shared.d.ts.map +0 -1
- package/dist/esm/resources/shared.js +0 -3
- package/dist/esm/resources/shared.js.map +0 -1
- package/dist/esm/resources/simulations/account-statements.d.ts +0 -24
- package/dist/esm/resources/simulations/account-statements.d.ts.map +0 -1
- package/dist/esm/resources/simulations/account-statements.js +0 -13
- package/dist/esm/resources/simulations/account-statements.js.map +0 -1
- package/dist/esm/resources/simulations/account-transfers.d.ts +0 -16
- package/dist/esm/resources/simulations/account-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/account-transfers.js +0 -14
- package/dist/esm/resources/simulations/account-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/ach-transfers.d.ts +0 -1836
- package/dist/esm/resources/simulations/ach-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/ach-transfers.js +0 -36
- package/dist/esm/resources/simulations/ach-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/card-disputes.d.ts +0 -31
- package/dist/esm/resources/simulations/card-disputes.d.ts.map +0 -1
- package/dist/esm/resources/simulations/card-disputes.js +0 -15
- package/dist/esm/resources/simulations/card-disputes.js.map +0 -1
- package/dist/esm/resources/simulations/card-refunds.d.ts +0 -25
- package/dist/esm/resources/simulations/card-refunds.d.ts.map +0 -1
- package/dist/esm/resources/simulations/card-refunds.js +0 -13
- package/dist/esm/resources/simulations/card-refunds.js.map +0 -1
- package/dist/esm/resources/simulations/cards.d.ts +0 -931
- package/dist/esm/resources/simulations/cards.d.ts.map +0 -1
- package/dist/esm/resources/simulations/cards.js +0 -28
- package/dist/esm/resources/simulations/cards.js.map +0 -1
- package/dist/esm/resources/simulations/check-deposits.d.ts +0 -31
- package/dist/esm/resources/simulations/check-deposits.d.ts.map +0 -1
- package/dist/esm/resources/simulations/check-deposits.js +0 -27
- package/dist/esm/resources/simulations/check-deposits.js.map +0 -1
- package/dist/esm/resources/simulations/check-transfers.d.ts +0 -42
- package/dist/esm/resources/simulations/check-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/check-transfers.js +0 -28
- package/dist/esm/resources/simulations/check-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts +0 -49
- package/dist/esm/resources/simulations/digital-wallet-token-requests.d.ts.map +0 -1
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js +0 -13
- package/dist/esm/resources/simulations/digital-wallet-token-requests.js.map +0 -1
- package/dist/esm/resources/simulations/documents.d.ts +0 -23
- package/dist/esm/resources/simulations/documents.d.ts.map +0 -1
- package/dist/esm/resources/simulations/documents.js +0 -12
- package/dist/esm/resources/simulations/documents.js.map +0 -1
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts +0 -106
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js +0 -15
- package/dist/esm/resources/simulations/inbound-wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/simulations/index.d.ts +0 -38
- package/dist/esm/resources/simulations/index.d.ts.map +0 -1
- package/dist/esm/resources/simulations/index.js +0 -18
- package/dist/esm/resources/simulations/index.js.map +0 -1
- package/dist/esm/resources/simulations/interest-payments.d.ts +0 -1272
- package/dist/esm/resources/simulations/interest-payments.d.ts.map +0 -1
- package/dist/esm/resources/simulations/interest-payments.js +0 -13
- package/dist/esm/resources/simulations/interest-payments.js.map +0 -1
- package/dist/esm/resources/simulations/programs.d.ts +0 -25
- package/dist/esm/resources/simulations/programs.d.ts.map +0 -1
- package/dist/esm/resources/simulations/programs.js +0 -14
- package/dist/esm/resources/simulations/programs.js.map +0 -1
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts +0 -1782
- package/dist/esm/resources/simulations/real-time-payments-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/real-time-payments-transfers.js +0 -24
- package/dist/esm/resources/simulations/real-time-payments-transfers.js.map +0 -1
- package/dist/esm/resources/simulations/simulations.d.ts +0 -74
- package/dist/esm/resources/simulations/simulations.d.ts.map +0 -1
- package/dist/esm/resources/simulations/simulations.js +0 -56
- package/dist/esm/resources/simulations/simulations.js.map +0 -1
- package/dist/esm/resources/simulations/wire-transfers.d.ts +0 -1338
- package/dist/esm/resources/simulations/wire-transfers.d.ts.map +0 -1
- package/dist/esm/resources/simulations/wire-transfers.js +0 -12
- package/dist/esm/resources/simulations/wire-transfers.js.map +0 -1
- package/dist/esm/resources/transactions.d.ts +0 -1326
- package/dist/esm/resources/transactions.d.ts.map +0 -1
- package/dist/esm/resources/transactions.js +0 -24
- package/dist/esm/resources/transactions.js.map +0 -1
- package/dist/esm/resources/wire-drawdown-requests.d.ts +0 -160
- package/dist/esm/resources/wire-drawdown-requests.d.ts.map +0 -1
- package/dist/esm/resources/wire-drawdown-requests.js +0 -30
- package/dist/esm/resources/wire-drawdown-requests.js.map +0 -1
- package/dist/esm/resources/wire-transfers.d.ts +0 -352
- package/dist/esm/resources/wire-transfers.d.ts.map +0 -1
- package/dist/esm/resources/wire-transfers.js +0 -59
- package/dist/esm/resources/wire-transfers.js.map +0 -1
- package/dist/esm/streaming.d.ts +0 -12
- package/dist/esm/streaming.d.ts.map +0 -1
- package/dist/esm/streaming.js +0 -150
- package/dist/esm/streaming.js.map +0 -1
- package/dist/esm/uploads.d.ts +0 -24
- package/dist/esm/uploads.d.ts.map +0 -1
- package/dist/esm/uploads.js +0 -61
- package/dist/esm/uploads.js.map +0 -1
- package/dist/esm/version.d.ts +0 -2
- package/dist/esm/version.d.ts.map +0 -1
- package/dist/esm/version.js +0 -2
- package/dist/esm/version.js.map +0 -1
- package/error.ts +0 -505
- package/index.ts +0 -388
- package/resources/account-numbers.ts +0 -179
- package/resources/account-statements.ts +0 -138
- package/resources/account-transfers.ts +0 -260
- package/resources/accounts.ts +0 -213
- package/resources/ach-prenotifications.ts +0 -252
- package/resources/ach-transfers.ts +0 -553
- package/resources/balance-lookups.ts +0 -63
- package/resources/bookkeeping-accounts.ts +0 -106
- package/resources/bookkeeping-entries.ts +0 -69
- package/resources/bookkeeping-entry-sets.ts +0 -106
- package/resources/card-disputes.ts +0 -203
- package/resources/card-profiles.ts +0 -258
- package/resources/cards.ts +0 -435
- package/resources/check-deposits.ts +0 -324
- package/resources/check-transfers.ts +0 -541
- package/resources/declined-transactions.ts +0 -623
- package/resources/digital-wallet-tokens.ts +0 -121
- package/resources/documents.ts +0 -126
- package/resources/entities/entities.ts +0 -1913
- package/resources/entities/supplemental-documents.ts +0 -79
- package/resources/event-subscriptions.ts +0 -244
- package/resources/events.ts +0 -226
- package/resources/exports.ts +0 -212
- package/resources/external-accounts.ts +0 -171
- package/resources/files.ts +0 -205
- package/resources/groups.ts +0 -52
- package/resources/inbound-ach-transfer-returns.ts +0 -152
- package/resources/inbound-wire-drawdown-requests.ts +0 -174
- package/resources/index.ts +0 -193
- package/resources/limits.ts +0 -152
- package/resources/oauth-connections.ts +0 -80
- package/resources/pending-transactions.ts +0 -576
- package/resources/programs.ts +0 -77
- package/resources/real-time-decisions.ts +0 -386
- package/resources/real-time-payments-transfers.ts +0 -359
- package/resources/routing-numbers.ts +0 -69
- package/resources/shared.ts +0 -17
- package/resources/simulations/account-statements.ts +0 -30
- package/resources/simulations/account-transfers.ts +0 -20
- package/resources/simulations/ach-transfers.ts +0 -2226
- package/resources/simulations/card-disputes.ts +0 -38
- package/resources/simulations/card-refunds.ts +0 -31
- package/resources/simulations/cards.ts +0 -1123
- package/resources/simulations/check-deposits.ts +0 -41
- package/resources/simulations/check-transfers.ts +0 -54
- package/resources/simulations/digital-wallet-token-requests.ts +0 -58
- package/resources/simulations/documents.ts +0 -29
- package/resources/simulations/inbound-wire-drawdown-requests.ts +0 -131
- package/resources/simulations/index.ts +0 -39
- package/resources/simulations/interest-payments.ts +0 -1542
- package/resources/simulations/programs.ts +0 -31
- package/resources/simulations/real-time-payments-transfers.ts +0 -2173
- package/resources/simulations/simulations.ts +0 -91
- package/resources/simulations/wire-transfers.ts +0 -1621
- package/resources/transactions.ts +0 -1613
- package/resources/wire-drawdown-requests.ts +0 -206
- package/resources/wire-transfers.ts +0 -444
- package/streaming.ts +0 -201
- package/uploads.ts +0 -81
- package/version.ts +0 -1
- /package/{dist/cjs/_shims → _shims}/agent.js +0 -0
- /package/{dist/cjs/_shims → _shims}/agent.node.js +0 -0
- /package/_shims/{formdata.node.ts → formdata.node.mjs} +0 -0
- /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.d.ts +0 -0
- /package/{dist/esm/_shims → _shims}/getMultipartRequestOptions.node.d.ts +0 -0
- /package/{dist/esm/pagination.d.ts → pagination.d.ts} +0 -0
- /package/{dist/esm/resource.d.ts → resource.d.ts} +0 -0
- /package/{dist/cjs/resource.js → resource.js} +0 -0
- /package/{dist/esm/resources → resources}/entities/index.d.ts +0 -0
- /package/{dist/cjs/resources → resources}/shared.js +0 -0
- /package/{pagination.ts → src/pagination.ts} +0 -0
- /package/{resource.ts → src/resource.ts} +0 -0
- /package/{resources → src/resources}/entities/index.ts +0 -0
|
@@ -0,0 +1,2080 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
+
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import { isRequestOptions } from '../../core';
|
|
6
|
+
import { SupplementalDocuments } from './supplemental-documents';
|
|
7
|
+
import * as API from '.';
|
|
8
|
+
import { Page, PageParams } from '../../pagination';
|
|
9
|
+
|
|
10
|
+
export class Entities extends APIResource {
|
|
11
|
+
supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Create an Entity
|
|
15
|
+
*/
|
|
16
|
+
create(body: EntityCreateParams, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
|
|
17
|
+
return this.post('/entities', { body, ...options });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve an Entity
|
|
22
|
+
*/
|
|
23
|
+
retrieve(entityId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
|
|
24
|
+
return this.get(`/entities/${entityId}`, options);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* List Entities
|
|
29
|
+
*/
|
|
30
|
+
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
31
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
32
|
+
list(
|
|
33
|
+
query: EntityListParams | Core.RequestOptions = {},
|
|
34
|
+
options?: Core.RequestOptions,
|
|
35
|
+
): Core.PagePromise<EntitiesPage> {
|
|
36
|
+
if (isRequestOptions(query)) {
|
|
37
|
+
return this.list({}, query);
|
|
38
|
+
}
|
|
39
|
+
return this.getAPIList('/entities', EntitiesPage, { query, ...options });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class EntitiesPage extends Page<Entity> {}
|
|
44
|
+
// alias so we can export it in the namespace
|
|
45
|
+
type _EntitiesPage = EntitiesPage;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Entities are the legal entities that own accounts. They can be people,
|
|
49
|
+
* corporations, partnerships, or trusts.
|
|
50
|
+
*/
|
|
51
|
+
export interface Entity {
|
|
52
|
+
/**
|
|
53
|
+
* The entity's identifier.
|
|
54
|
+
*/
|
|
55
|
+
id: string;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Details of the corporation entity. Will be present if `structure` is equal to
|
|
59
|
+
* `corporation`.
|
|
60
|
+
*/
|
|
61
|
+
corporation: Entity.Corporation | null;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* The entity's description for display purposes.
|
|
65
|
+
*/
|
|
66
|
+
description: string | null;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
70
|
+
*/
|
|
71
|
+
joint: Entity.Joint | null;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Details of the natural person entity. Will be present if `structure` is equal to
|
|
75
|
+
* `natural_person`.
|
|
76
|
+
*/
|
|
77
|
+
natural_person: Entity.NaturalPerson | null;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* The relationship between your group and the entity.
|
|
81
|
+
*
|
|
82
|
+
* - `affiliated` - The entity is controlled by your group.
|
|
83
|
+
* - `informational` - The entity is for informational purposes only.
|
|
84
|
+
* - `unaffiliated` - The entity is not controlled by your group, but can still
|
|
85
|
+
* directly open accounts.
|
|
86
|
+
*/
|
|
87
|
+
relationship: 'affiliated' | 'informational' | 'unaffiliated';
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The entity's legal structure.
|
|
91
|
+
*
|
|
92
|
+
* - `corporation` - A corporation.
|
|
93
|
+
* - `natural_person` - An individual person.
|
|
94
|
+
* - `joint` - Multiple individual people.
|
|
95
|
+
* - `trust` - A trust.
|
|
96
|
+
*/
|
|
97
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Additional documentation associated with the entity. This is limited to the
|
|
101
|
+
* first 10 documents for an entity. If an entity has more than 10 documents, use
|
|
102
|
+
* the GET /entity_supplemental_documents list endpoint to retrieve them.
|
|
103
|
+
*/
|
|
104
|
+
supplemental_documents: Array<Entity.SupplementalDocument>;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
108
|
+
*/
|
|
109
|
+
trust: Entity.Trust | null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* A constant representing the object's type. For this resource it will always be
|
|
113
|
+
* `entity`.
|
|
114
|
+
*/
|
|
115
|
+
type: 'entity';
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export namespace Entity {
|
|
119
|
+
/**
|
|
120
|
+
* Details of the corporation entity. Will be present if `structure` is equal to
|
|
121
|
+
* `corporation`.
|
|
122
|
+
*/
|
|
123
|
+
export interface Corporation {
|
|
124
|
+
/**
|
|
125
|
+
* The corporation's address.
|
|
126
|
+
*/
|
|
127
|
+
address: Corporation.Address;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
131
|
+
* corporation.
|
|
132
|
+
*/
|
|
133
|
+
beneficial_owners: Array<Corporation.BeneficialOwner>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
137
|
+
* corporation's state of incorporation.
|
|
138
|
+
*/
|
|
139
|
+
incorporation_state: string | null;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* The legal name of the corporation.
|
|
143
|
+
*/
|
|
144
|
+
name: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
148
|
+
*/
|
|
149
|
+
tax_identifier: string | null;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The website of the corporation.
|
|
153
|
+
*/
|
|
154
|
+
website: string | null;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export namespace Corporation {
|
|
158
|
+
/**
|
|
159
|
+
* The corporation's address.
|
|
160
|
+
*/
|
|
161
|
+
export interface Address {
|
|
162
|
+
/**
|
|
163
|
+
* The city of the address.
|
|
164
|
+
*/
|
|
165
|
+
city: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The first line of the address.
|
|
169
|
+
*/
|
|
170
|
+
line1: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The second line of the address.
|
|
174
|
+
*/
|
|
175
|
+
line2: string | null;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
179
|
+
* the address.
|
|
180
|
+
*/
|
|
181
|
+
state: string;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* The ZIP code of the address.
|
|
185
|
+
*/
|
|
186
|
+
zip: string;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export interface BeneficialOwner {
|
|
190
|
+
/**
|
|
191
|
+
* This person's role or title within the entity.
|
|
192
|
+
*/
|
|
193
|
+
company_title: string | null;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Personal details for the beneficial owner.
|
|
197
|
+
*/
|
|
198
|
+
individual: BeneficialOwner.Individual;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Why this person is considered a beneficial owner of the entity.
|
|
202
|
+
*
|
|
203
|
+
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
204
|
+
* entity.
|
|
205
|
+
* - `control` - A person who manages, directs, or has significant control of the
|
|
206
|
+
* entity.
|
|
207
|
+
*/
|
|
208
|
+
prong: 'ownership' | 'control';
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export namespace BeneficialOwner {
|
|
212
|
+
/**
|
|
213
|
+
* Personal details for the beneficial owner.
|
|
214
|
+
*/
|
|
215
|
+
export interface Individual {
|
|
216
|
+
/**
|
|
217
|
+
* The person's address.
|
|
218
|
+
*/
|
|
219
|
+
address: Individual.Address;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
223
|
+
*/
|
|
224
|
+
date_of_birth: string;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* A means of verifying the person's identity.
|
|
228
|
+
*/
|
|
229
|
+
identification: Individual.Identification;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The person's legal name.
|
|
233
|
+
*/
|
|
234
|
+
name: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export namespace Individual {
|
|
238
|
+
/**
|
|
239
|
+
* The person's address.
|
|
240
|
+
*/
|
|
241
|
+
export interface Address {
|
|
242
|
+
/**
|
|
243
|
+
* The city of the address.
|
|
244
|
+
*/
|
|
245
|
+
city: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* The first line of the address.
|
|
249
|
+
*/
|
|
250
|
+
line1: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* The second line of the address.
|
|
254
|
+
*/
|
|
255
|
+
line2: string | null;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
259
|
+
* the address.
|
|
260
|
+
*/
|
|
261
|
+
state: string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The ZIP code of the address.
|
|
265
|
+
*/
|
|
266
|
+
zip: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* A means of verifying the person's identity.
|
|
271
|
+
*/
|
|
272
|
+
export interface Identification {
|
|
273
|
+
/**
|
|
274
|
+
* A method that can be used to verify the individual's identity.
|
|
275
|
+
*
|
|
276
|
+
* - `social_security_number` - A social security number.
|
|
277
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
278
|
+
* identification number (ITIN).
|
|
279
|
+
* - `passport` - A passport number.
|
|
280
|
+
* - `drivers_license` - A driver's license number.
|
|
281
|
+
* - `other` - Another identifying document.
|
|
282
|
+
*/
|
|
283
|
+
method:
|
|
284
|
+
| 'social_security_number'
|
|
285
|
+
| 'individual_taxpayer_identification_number'
|
|
286
|
+
| 'passport'
|
|
287
|
+
| 'drivers_license'
|
|
288
|
+
| 'other';
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
292
|
+
* individual's identity.
|
|
293
|
+
*/
|
|
294
|
+
number_last4: string;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
302
|
+
*/
|
|
303
|
+
export interface Joint {
|
|
304
|
+
/**
|
|
305
|
+
* The two individuals that share control of the entity.
|
|
306
|
+
*/
|
|
307
|
+
individuals: Array<Joint.Individual>;
|
|
308
|
+
|
|
309
|
+
/**
|
|
310
|
+
* The entity's name.
|
|
311
|
+
*/
|
|
312
|
+
name: string;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export namespace Joint {
|
|
316
|
+
export interface Individual {
|
|
317
|
+
/**
|
|
318
|
+
* The person's address.
|
|
319
|
+
*/
|
|
320
|
+
address: Individual.Address;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
324
|
+
*/
|
|
325
|
+
date_of_birth: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* A means of verifying the person's identity.
|
|
329
|
+
*/
|
|
330
|
+
identification: Individual.Identification;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The person's legal name.
|
|
334
|
+
*/
|
|
335
|
+
name: string;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export namespace Individual {
|
|
339
|
+
/**
|
|
340
|
+
* The person's address.
|
|
341
|
+
*/
|
|
342
|
+
export interface Address {
|
|
343
|
+
/**
|
|
344
|
+
* The city of the address.
|
|
345
|
+
*/
|
|
346
|
+
city: string;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* The first line of the address.
|
|
350
|
+
*/
|
|
351
|
+
line1: string;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* The second line of the address.
|
|
355
|
+
*/
|
|
356
|
+
line2: string | null;
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
360
|
+
* the address.
|
|
361
|
+
*/
|
|
362
|
+
state: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* The ZIP code of the address.
|
|
366
|
+
*/
|
|
367
|
+
zip: string;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* A means of verifying the person's identity.
|
|
372
|
+
*/
|
|
373
|
+
export interface Identification {
|
|
374
|
+
/**
|
|
375
|
+
* A method that can be used to verify the individual's identity.
|
|
376
|
+
*
|
|
377
|
+
* - `social_security_number` - A social security number.
|
|
378
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
379
|
+
* identification number (ITIN).
|
|
380
|
+
* - `passport` - A passport number.
|
|
381
|
+
* - `drivers_license` - A driver's license number.
|
|
382
|
+
* - `other` - Another identifying document.
|
|
383
|
+
*/
|
|
384
|
+
method:
|
|
385
|
+
| 'social_security_number'
|
|
386
|
+
| 'individual_taxpayer_identification_number'
|
|
387
|
+
| 'passport'
|
|
388
|
+
| 'drivers_license'
|
|
389
|
+
| 'other';
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
393
|
+
* individual's identity.
|
|
394
|
+
*/
|
|
395
|
+
number_last4: string;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* Details of the natural person entity. Will be present if `structure` is equal to
|
|
402
|
+
* `natural_person`.
|
|
403
|
+
*/
|
|
404
|
+
export interface NaturalPerson {
|
|
405
|
+
/**
|
|
406
|
+
* The person's address.
|
|
407
|
+
*/
|
|
408
|
+
address: NaturalPerson.Address;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
412
|
+
*/
|
|
413
|
+
date_of_birth: string;
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* A means of verifying the person's identity.
|
|
417
|
+
*/
|
|
418
|
+
identification: NaturalPerson.Identification;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* The person's legal name.
|
|
422
|
+
*/
|
|
423
|
+
name: string;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export namespace NaturalPerson {
|
|
427
|
+
/**
|
|
428
|
+
* The person's address.
|
|
429
|
+
*/
|
|
430
|
+
export interface Address {
|
|
431
|
+
/**
|
|
432
|
+
* The city of the address.
|
|
433
|
+
*/
|
|
434
|
+
city: string;
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* The first line of the address.
|
|
438
|
+
*/
|
|
439
|
+
line1: string;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* The second line of the address.
|
|
443
|
+
*/
|
|
444
|
+
line2: string | null;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
448
|
+
* the address.
|
|
449
|
+
*/
|
|
450
|
+
state: string;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* The ZIP code of the address.
|
|
454
|
+
*/
|
|
455
|
+
zip: string;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/**
|
|
459
|
+
* A means of verifying the person's identity.
|
|
460
|
+
*/
|
|
461
|
+
export interface Identification {
|
|
462
|
+
/**
|
|
463
|
+
* A method that can be used to verify the individual's identity.
|
|
464
|
+
*
|
|
465
|
+
* - `social_security_number` - A social security number.
|
|
466
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
467
|
+
* identification number (ITIN).
|
|
468
|
+
* - `passport` - A passport number.
|
|
469
|
+
* - `drivers_license` - A driver's license number.
|
|
470
|
+
* - `other` - Another identifying document.
|
|
471
|
+
*/
|
|
472
|
+
method:
|
|
473
|
+
| 'social_security_number'
|
|
474
|
+
| 'individual_taxpayer_identification_number'
|
|
475
|
+
| 'passport'
|
|
476
|
+
| 'drivers_license'
|
|
477
|
+
| 'other';
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
481
|
+
* individual's identity.
|
|
482
|
+
*/
|
|
483
|
+
number_last4: string;
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Supplemental Documents are uploaded files connected to an Entity during
|
|
489
|
+
* onboarding.
|
|
490
|
+
*/
|
|
491
|
+
export interface SupplementalDocument {
|
|
492
|
+
/**
|
|
493
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
494
|
+
* Supplemental Document was created.
|
|
495
|
+
*/
|
|
496
|
+
created_at: string;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* The File containing the document.
|
|
500
|
+
*/
|
|
501
|
+
file_id: string;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* A constant representing the object's type. For this resource it will always be
|
|
505
|
+
* `entity_supplemental_document`.
|
|
506
|
+
*/
|
|
507
|
+
type: 'entity_supplemental_document';
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
512
|
+
*/
|
|
513
|
+
export interface Trust {
|
|
514
|
+
/**
|
|
515
|
+
* The trust's address.
|
|
516
|
+
*/
|
|
517
|
+
address: Trust.Address;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Whether the trust is `revocable` or `irrevocable`.
|
|
521
|
+
*
|
|
522
|
+
* - `revocable` - The trust is revocable by the grantor.
|
|
523
|
+
* - `irrevocable` - The trust cannot be revoked.
|
|
524
|
+
*/
|
|
525
|
+
category: 'revocable' | 'irrevocable';
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* The ID for the File containing the formation document of the trust.
|
|
529
|
+
*/
|
|
530
|
+
formation_document_file_id: string | null;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
534
|
+
* which the trust was formed.
|
|
535
|
+
*/
|
|
536
|
+
formation_state: string | null;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* The grantor of the trust. Will be present if the `category` is `revocable`.
|
|
540
|
+
*/
|
|
541
|
+
grantor: Trust.Grantor | null;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* The trust's name
|
|
545
|
+
*/
|
|
546
|
+
name: string;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* The Employer Identification Number (EIN) of the trust itself.
|
|
550
|
+
*/
|
|
551
|
+
tax_identifier: string | null;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* The trustees of the trust.
|
|
555
|
+
*/
|
|
556
|
+
trustees: Array<Trust.Trustee>;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export namespace Trust {
|
|
560
|
+
/**
|
|
561
|
+
* The trust's address.
|
|
562
|
+
*/
|
|
563
|
+
export interface Address {
|
|
564
|
+
/**
|
|
565
|
+
* The city of the address.
|
|
566
|
+
*/
|
|
567
|
+
city: string;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* The first line of the address.
|
|
571
|
+
*/
|
|
572
|
+
line1: string;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* The second line of the address.
|
|
576
|
+
*/
|
|
577
|
+
line2: string | null;
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
581
|
+
* the address.
|
|
582
|
+
*/
|
|
583
|
+
state: string;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* The ZIP code of the address.
|
|
587
|
+
*/
|
|
588
|
+
zip: string;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* The grantor of the trust. Will be present if the `category` is `revocable`.
|
|
593
|
+
*/
|
|
594
|
+
export interface Grantor {
|
|
595
|
+
/**
|
|
596
|
+
* The person's address.
|
|
597
|
+
*/
|
|
598
|
+
address: Grantor.Address;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
602
|
+
*/
|
|
603
|
+
date_of_birth: string;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* A means of verifying the person's identity.
|
|
607
|
+
*/
|
|
608
|
+
identification: Grantor.Identification;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* The person's legal name.
|
|
612
|
+
*/
|
|
613
|
+
name: string;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export namespace Grantor {
|
|
617
|
+
/**
|
|
618
|
+
* The person's address.
|
|
619
|
+
*/
|
|
620
|
+
export interface Address {
|
|
621
|
+
/**
|
|
622
|
+
* The city of the address.
|
|
623
|
+
*/
|
|
624
|
+
city: string;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* The first line of the address.
|
|
628
|
+
*/
|
|
629
|
+
line1: string;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* The second line of the address.
|
|
633
|
+
*/
|
|
634
|
+
line2: string | null;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
638
|
+
* the address.
|
|
639
|
+
*/
|
|
640
|
+
state: string;
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* The ZIP code of the address.
|
|
644
|
+
*/
|
|
645
|
+
zip: string;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* A means of verifying the person's identity.
|
|
650
|
+
*/
|
|
651
|
+
export interface Identification {
|
|
652
|
+
/**
|
|
653
|
+
* A method that can be used to verify the individual's identity.
|
|
654
|
+
*
|
|
655
|
+
* - `social_security_number` - A social security number.
|
|
656
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
657
|
+
* identification number (ITIN).
|
|
658
|
+
* - `passport` - A passport number.
|
|
659
|
+
* - `drivers_license` - A driver's license number.
|
|
660
|
+
* - `other` - Another identifying document.
|
|
661
|
+
*/
|
|
662
|
+
method:
|
|
663
|
+
| 'social_security_number'
|
|
664
|
+
| 'individual_taxpayer_identification_number'
|
|
665
|
+
| 'passport'
|
|
666
|
+
| 'drivers_license'
|
|
667
|
+
| 'other';
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
671
|
+
* individual's identity.
|
|
672
|
+
*/
|
|
673
|
+
number_last4: string;
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export interface Trustee {
|
|
678
|
+
/**
|
|
679
|
+
* The individual trustee of the trust. Will be present if the trustee's
|
|
680
|
+
* `structure` is equal to `individual`.
|
|
681
|
+
*/
|
|
682
|
+
individual: Trustee.Individual | null;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* The structure of the trustee. Will always be equal to `individual`.
|
|
686
|
+
*
|
|
687
|
+
* - `individual` - The trustee is an individual.
|
|
688
|
+
*/
|
|
689
|
+
structure: 'individual';
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export namespace Trustee {
|
|
693
|
+
/**
|
|
694
|
+
* The individual trustee of the trust. Will be present if the trustee's
|
|
695
|
+
* `structure` is equal to `individual`.
|
|
696
|
+
*/
|
|
697
|
+
export interface Individual {
|
|
698
|
+
/**
|
|
699
|
+
* The person's address.
|
|
700
|
+
*/
|
|
701
|
+
address: Individual.Address;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
705
|
+
*/
|
|
706
|
+
date_of_birth: string;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* A means of verifying the person's identity.
|
|
710
|
+
*/
|
|
711
|
+
identification: Individual.Identification;
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* The person's legal name.
|
|
715
|
+
*/
|
|
716
|
+
name: string;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
export namespace Individual {
|
|
720
|
+
/**
|
|
721
|
+
* The person's address.
|
|
722
|
+
*/
|
|
723
|
+
export interface Address {
|
|
724
|
+
/**
|
|
725
|
+
* The city of the address.
|
|
726
|
+
*/
|
|
727
|
+
city: string;
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* The first line of the address.
|
|
731
|
+
*/
|
|
732
|
+
line1: string;
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* The second line of the address.
|
|
736
|
+
*/
|
|
737
|
+
line2: string | null;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
741
|
+
* the address.
|
|
742
|
+
*/
|
|
743
|
+
state: string;
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* The ZIP code of the address.
|
|
747
|
+
*/
|
|
748
|
+
zip: string;
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* A means of verifying the person's identity.
|
|
753
|
+
*/
|
|
754
|
+
export interface Identification {
|
|
755
|
+
/**
|
|
756
|
+
* A method that can be used to verify the individual's identity.
|
|
757
|
+
*
|
|
758
|
+
* - `social_security_number` - A social security number.
|
|
759
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
760
|
+
* identification number (ITIN).
|
|
761
|
+
* - `passport` - A passport number.
|
|
762
|
+
* - `drivers_license` - A driver's license number.
|
|
763
|
+
* - `other` - Another identifying document.
|
|
764
|
+
*/
|
|
765
|
+
method:
|
|
766
|
+
| 'social_security_number'
|
|
767
|
+
| 'individual_taxpayer_identification_number'
|
|
768
|
+
| 'passport'
|
|
769
|
+
| 'drivers_license'
|
|
770
|
+
| 'other';
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
774
|
+
* individual's identity.
|
|
775
|
+
*/
|
|
776
|
+
number_last4: string;
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
export interface EntityCreateParams {
|
|
784
|
+
/**
|
|
785
|
+
* The relationship between your group and the entity.
|
|
786
|
+
*
|
|
787
|
+
* - `affiliated` - The entity is controlled by your group.
|
|
788
|
+
* - `informational` - The entity is for informational purposes only.
|
|
789
|
+
* - `unaffiliated` - The entity is not controlled by your group, but can still
|
|
790
|
+
* directly open accounts.
|
|
791
|
+
*/
|
|
792
|
+
relationship: 'affiliated' | 'informational' | 'unaffiliated';
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* The type of Entity to create.
|
|
796
|
+
*
|
|
797
|
+
* - `corporation` - A corporation.
|
|
798
|
+
* - `natural_person` - An individual person.
|
|
799
|
+
* - `joint` - Multiple individual people.
|
|
800
|
+
* - `trust` - A trust.
|
|
801
|
+
*/
|
|
802
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* Details of the corporation entity to create. Required if `structure` is equal to
|
|
806
|
+
* `corporation`.
|
|
807
|
+
*/
|
|
808
|
+
corporation?: EntityCreateParams.Corporation;
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* The description you choose to give the entity.
|
|
812
|
+
*/
|
|
813
|
+
description?: string;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Details of the joint entity to create. Required if `structure` is equal to
|
|
817
|
+
* `joint`.
|
|
818
|
+
*/
|
|
819
|
+
joint?: EntityCreateParams.Joint;
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Details of the natural person entity to create. Required if `structure` is equal
|
|
823
|
+
* to `natural_person`. Natural people entities should be submitted with
|
|
824
|
+
* `social_security_number` or `individual_taxpayer_identification_number`
|
|
825
|
+
* identification methods.
|
|
826
|
+
*/
|
|
827
|
+
natural_person?: EntityCreateParams.NaturalPerson;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Additional documentation associated with the entity.
|
|
831
|
+
*/
|
|
832
|
+
supplemental_documents?: Array<EntityCreateParams.SupplementalDocument>;
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Details of the trust entity to create. Required if `structure` is equal to
|
|
836
|
+
* `trust`.
|
|
837
|
+
*/
|
|
838
|
+
trust?: EntityCreateParams.Trust;
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
export namespace EntityCreateParams {
|
|
842
|
+
/**
|
|
843
|
+
* Details of the corporation entity to create. Required if `structure` is equal to
|
|
844
|
+
* `corporation`.
|
|
845
|
+
*/
|
|
846
|
+
export interface Corporation {
|
|
847
|
+
/**
|
|
848
|
+
* The corporation's address.
|
|
849
|
+
*/
|
|
850
|
+
address: Corporation.Address;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
854
|
+
* corporation.
|
|
855
|
+
*/
|
|
856
|
+
beneficial_owners: Array<Corporation.BeneficialOwner>;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* The legal name of the corporation.
|
|
860
|
+
*/
|
|
861
|
+
name: string;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
865
|
+
*/
|
|
866
|
+
tax_identifier: string;
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
870
|
+
* corporation's state of incorporation.
|
|
871
|
+
*/
|
|
872
|
+
incorporation_state?: string;
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* The website of the corporation.
|
|
876
|
+
*/
|
|
877
|
+
website?: string;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export namespace Corporation {
|
|
881
|
+
/**
|
|
882
|
+
* The corporation's address.
|
|
883
|
+
*/
|
|
884
|
+
export interface Address {
|
|
885
|
+
/**
|
|
886
|
+
* The city of the address.
|
|
887
|
+
*/
|
|
888
|
+
city: string;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* The first line of the address. This is usually the street number and street.
|
|
892
|
+
*/
|
|
893
|
+
line1: string;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
897
|
+
* the address.
|
|
898
|
+
*/
|
|
899
|
+
state: string;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The ZIP code of the address.
|
|
903
|
+
*/
|
|
904
|
+
zip: string;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* The second line of the address. This might be the floor or room number.
|
|
908
|
+
*/
|
|
909
|
+
line2?: string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export interface BeneficialOwner {
|
|
913
|
+
/**
|
|
914
|
+
* Personal details for the beneficial owner.
|
|
915
|
+
*/
|
|
916
|
+
individual: BeneficialOwner.Individual;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Why this person is considered a beneficial owner of the entity.
|
|
920
|
+
*
|
|
921
|
+
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
922
|
+
* entity.
|
|
923
|
+
* - `control` - A person who manages, directs, or has significant control of the
|
|
924
|
+
* entity.
|
|
925
|
+
*/
|
|
926
|
+
prong: 'ownership' | 'control';
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* This person's role or title within the entity.
|
|
930
|
+
*/
|
|
931
|
+
company_title?: string;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export namespace BeneficialOwner {
|
|
935
|
+
/**
|
|
936
|
+
* Personal details for the beneficial owner.
|
|
937
|
+
*/
|
|
938
|
+
export interface Individual {
|
|
939
|
+
/**
|
|
940
|
+
* The individual's address.
|
|
941
|
+
*/
|
|
942
|
+
address: Individual.Address;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
946
|
+
*/
|
|
947
|
+
date_of_birth: string;
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* A means of verifying the person's identity.
|
|
951
|
+
*/
|
|
952
|
+
identification: Individual.Identification;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* The person's legal name.
|
|
956
|
+
*/
|
|
957
|
+
name: string;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* The identification method for an individual can only be a passport, driver's
|
|
961
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
962
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
963
|
+
* Number).
|
|
964
|
+
*/
|
|
965
|
+
confirmed_no_us_tax_id?: boolean;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export namespace Individual {
|
|
969
|
+
/**
|
|
970
|
+
* The individual's address.
|
|
971
|
+
*/
|
|
972
|
+
export interface Address {
|
|
973
|
+
/**
|
|
974
|
+
* The city of the address.
|
|
975
|
+
*/
|
|
976
|
+
city: string;
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* The first line of the address. This is usually the street number and street.
|
|
980
|
+
*/
|
|
981
|
+
line1: string;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
985
|
+
* the address.
|
|
986
|
+
*/
|
|
987
|
+
state: string;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* The ZIP code of the address.
|
|
991
|
+
*/
|
|
992
|
+
zip: string;
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* The second line of the address. This might be the floor or room number.
|
|
996
|
+
*/
|
|
997
|
+
line2?: string;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* A means of verifying the person's identity.
|
|
1002
|
+
*/
|
|
1003
|
+
export interface Identification {
|
|
1004
|
+
/**
|
|
1005
|
+
* A method that can be used to verify the individual's identity.
|
|
1006
|
+
*
|
|
1007
|
+
* - `social_security_number` - A social security number.
|
|
1008
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1009
|
+
* identification number (ITIN).
|
|
1010
|
+
* - `passport` - A passport number.
|
|
1011
|
+
* - `drivers_license` - A driver's license number.
|
|
1012
|
+
* - `other` - Another identifying document.
|
|
1013
|
+
*/
|
|
1014
|
+
method:
|
|
1015
|
+
| 'social_security_number'
|
|
1016
|
+
| 'individual_taxpayer_identification_number'
|
|
1017
|
+
| 'passport'
|
|
1018
|
+
| 'drivers_license'
|
|
1019
|
+
| 'other';
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1023
|
+
* such as a social security number.
|
|
1024
|
+
*/
|
|
1025
|
+
number: string;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Information about the United States driver's license used for identification.
|
|
1029
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1030
|
+
*/
|
|
1031
|
+
drivers_license?: Identification.DriversLicense;
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* Information about the identification document provided. Required if `method` is
|
|
1035
|
+
* equal to `other`.
|
|
1036
|
+
*/
|
|
1037
|
+
other?: Identification.Other;
|
|
1038
|
+
|
|
1039
|
+
/**
|
|
1040
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1041
|
+
* equal to `passport`.
|
|
1042
|
+
*/
|
|
1043
|
+
passport?: Identification.Passport;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export namespace Identification {
|
|
1047
|
+
/**
|
|
1048
|
+
* Information about the United States driver's license used for identification.
|
|
1049
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1050
|
+
*/
|
|
1051
|
+
export interface DriversLicense {
|
|
1052
|
+
/**
|
|
1053
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1054
|
+
*/
|
|
1055
|
+
expiration_date: string;
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1059
|
+
*/
|
|
1060
|
+
file_id: string;
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* The state that issued the provided driver's license.
|
|
1064
|
+
*/
|
|
1065
|
+
state: string;
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1069
|
+
*/
|
|
1070
|
+
back_file_id?: string;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* Information about the identification document provided. Required if `method` is
|
|
1075
|
+
* equal to `other`.
|
|
1076
|
+
*/
|
|
1077
|
+
export interface Other {
|
|
1078
|
+
/**
|
|
1079
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1080
|
+
* document.
|
|
1081
|
+
*/
|
|
1082
|
+
country: string;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* A description of the document submitted.
|
|
1086
|
+
*/
|
|
1087
|
+
description: string;
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* The identifier of the File containing the front of the document.
|
|
1091
|
+
*/
|
|
1092
|
+
file_id: string;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1096
|
+
* document has a reverse side.
|
|
1097
|
+
*/
|
|
1098
|
+
back_file_id?: string;
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1102
|
+
*/
|
|
1103
|
+
expiration_date?: string;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1108
|
+
* equal to `passport`.
|
|
1109
|
+
*/
|
|
1110
|
+
export interface Passport {
|
|
1111
|
+
/**
|
|
1112
|
+
* The country that issued the passport.
|
|
1113
|
+
*/
|
|
1114
|
+
country: string;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1118
|
+
*/
|
|
1119
|
+
expiration_date: string;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* The identifier of the File containing the passport.
|
|
1123
|
+
*/
|
|
1124
|
+
file_id: string;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Details of the joint entity to create. Required if `structure` is equal to
|
|
1133
|
+
* `joint`.
|
|
1134
|
+
*/
|
|
1135
|
+
export interface Joint {
|
|
1136
|
+
/**
|
|
1137
|
+
* The two individuals that share control of the entity.
|
|
1138
|
+
*/
|
|
1139
|
+
individuals: Array<Joint.Individual>;
|
|
1140
|
+
|
|
1141
|
+
/**
|
|
1142
|
+
* The name of the joint entity.
|
|
1143
|
+
*/
|
|
1144
|
+
name?: string;
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
export namespace Joint {
|
|
1148
|
+
export interface Individual {
|
|
1149
|
+
/**
|
|
1150
|
+
* The individual's address.
|
|
1151
|
+
*/
|
|
1152
|
+
address: Individual.Address;
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1156
|
+
*/
|
|
1157
|
+
date_of_birth: string;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* A means of verifying the person's identity.
|
|
1161
|
+
*/
|
|
1162
|
+
identification: Individual.Identification;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* The person's legal name.
|
|
1166
|
+
*/
|
|
1167
|
+
name: string;
|
|
1168
|
+
|
|
1169
|
+
/**
|
|
1170
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1171
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1172
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1173
|
+
* Number).
|
|
1174
|
+
*/
|
|
1175
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export namespace Individual {
|
|
1179
|
+
/**
|
|
1180
|
+
* The individual's address.
|
|
1181
|
+
*/
|
|
1182
|
+
export interface Address {
|
|
1183
|
+
/**
|
|
1184
|
+
* The city of the address.
|
|
1185
|
+
*/
|
|
1186
|
+
city: string;
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* The first line of the address. This is usually the street number and street.
|
|
1190
|
+
*/
|
|
1191
|
+
line1: string;
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1195
|
+
* the address.
|
|
1196
|
+
*/
|
|
1197
|
+
state: string;
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* The ZIP code of the address.
|
|
1201
|
+
*/
|
|
1202
|
+
zip: string;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* The second line of the address. This might be the floor or room number.
|
|
1206
|
+
*/
|
|
1207
|
+
line2?: string;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* A means of verifying the person's identity.
|
|
1212
|
+
*/
|
|
1213
|
+
export interface Identification {
|
|
1214
|
+
/**
|
|
1215
|
+
* A method that can be used to verify the individual's identity.
|
|
1216
|
+
*
|
|
1217
|
+
* - `social_security_number` - A social security number.
|
|
1218
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1219
|
+
* identification number (ITIN).
|
|
1220
|
+
* - `passport` - A passport number.
|
|
1221
|
+
* - `drivers_license` - A driver's license number.
|
|
1222
|
+
* - `other` - Another identifying document.
|
|
1223
|
+
*/
|
|
1224
|
+
method:
|
|
1225
|
+
| 'social_security_number'
|
|
1226
|
+
| 'individual_taxpayer_identification_number'
|
|
1227
|
+
| 'passport'
|
|
1228
|
+
| 'drivers_license'
|
|
1229
|
+
| 'other';
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1233
|
+
* such as a social security number.
|
|
1234
|
+
*/
|
|
1235
|
+
number: string;
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Information about the United States driver's license used for identification.
|
|
1239
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1240
|
+
*/
|
|
1241
|
+
drivers_license?: Identification.DriversLicense;
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* Information about the identification document provided. Required if `method` is
|
|
1245
|
+
* equal to `other`.
|
|
1246
|
+
*/
|
|
1247
|
+
other?: Identification.Other;
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1251
|
+
* equal to `passport`.
|
|
1252
|
+
*/
|
|
1253
|
+
passport?: Identification.Passport;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
export namespace Identification {
|
|
1257
|
+
/**
|
|
1258
|
+
* Information about the United States driver's license used for identification.
|
|
1259
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1260
|
+
*/
|
|
1261
|
+
export interface DriversLicense {
|
|
1262
|
+
/**
|
|
1263
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1264
|
+
*/
|
|
1265
|
+
expiration_date: string;
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1269
|
+
*/
|
|
1270
|
+
file_id: string;
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* The state that issued the provided driver's license.
|
|
1274
|
+
*/
|
|
1275
|
+
state: string;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1279
|
+
*/
|
|
1280
|
+
back_file_id?: string;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Information about the identification document provided. Required if `method` is
|
|
1285
|
+
* equal to `other`.
|
|
1286
|
+
*/
|
|
1287
|
+
export interface Other {
|
|
1288
|
+
/**
|
|
1289
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1290
|
+
* document.
|
|
1291
|
+
*/
|
|
1292
|
+
country: string;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* A description of the document submitted.
|
|
1296
|
+
*/
|
|
1297
|
+
description: string;
|
|
1298
|
+
|
|
1299
|
+
/**
|
|
1300
|
+
* The identifier of the File containing the front of the document.
|
|
1301
|
+
*/
|
|
1302
|
+
file_id: string;
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1306
|
+
* document has a reverse side.
|
|
1307
|
+
*/
|
|
1308
|
+
back_file_id?: string;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1312
|
+
*/
|
|
1313
|
+
expiration_date?: string;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1318
|
+
* equal to `passport`.
|
|
1319
|
+
*/
|
|
1320
|
+
export interface Passport {
|
|
1321
|
+
/**
|
|
1322
|
+
* The country that issued the passport.
|
|
1323
|
+
*/
|
|
1324
|
+
country: string;
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1328
|
+
*/
|
|
1329
|
+
expiration_date: string;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* The identifier of the File containing the passport.
|
|
1333
|
+
*/
|
|
1334
|
+
file_id: string;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Details of the natural person entity to create. Required if `structure` is equal
|
|
1342
|
+
* to `natural_person`. Natural people entities should be submitted with
|
|
1343
|
+
* `social_security_number` or `individual_taxpayer_identification_number`
|
|
1344
|
+
* identification methods.
|
|
1345
|
+
*/
|
|
1346
|
+
export interface NaturalPerson {
|
|
1347
|
+
/**
|
|
1348
|
+
* The individual's address.
|
|
1349
|
+
*/
|
|
1350
|
+
address: NaturalPerson.Address;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1354
|
+
*/
|
|
1355
|
+
date_of_birth: string;
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* A means of verifying the person's identity.
|
|
1359
|
+
*/
|
|
1360
|
+
identification: NaturalPerson.Identification;
|
|
1361
|
+
|
|
1362
|
+
/**
|
|
1363
|
+
* The person's legal name.
|
|
1364
|
+
*/
|
|
1365
|
+
name: string;
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1369
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1370
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1371
|
+
* Number).
|
|
1372
|
+
*/
|
|
1373
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
export namespace NaturalPerson {
|
|
1377
|
+
/**
|
|
1378
|
+
* The individual's address.
|
|
1379
|
+
*/
|
|
1380
|
+
export interface Address {
|
|
1381
|
+
/**
|
|
1382
|
+
* The city of the address.
|
|
1383
|
+
*/
|
|
1384
|
+
city: string;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* The first line of the address. This is usually the street number and street.
|
|
1388
|
+
*/
|
|
1389
|
+
line1: string;
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1393
|
+
* the address.
|
|
1394
|
+
*/
|
|
1395
|
+
state: string;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* The ZIP code of the address.
|
|
1399
|
+
*/
|
|
1400
|
+
zip: string;
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* The second line of the address. This might be the floor or room number.
|
|
1404
|
+
*/
|
|
1405
|
+
line2?: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* A means of verifying the person's identity.
|
|
1410
|
+
*/
|
|
1411
|
+
export interface Identification {
|
|
1412
|
+
/**
|
|
1413
|
+
* A method that can be used to verify the individual's identity.
|
|
1414
|
+
*
|
|
1415
|
+
* - `social_security_number` - A social security number.
|
|
1416
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1417
|
+
* identification number (ITIN).
|
|
1418
|
+
* - `passport` - A passport number.
|
|
1419
|
+
* - `drivers_license` - A driver's license number.
|
|
1420
|
+
* - `other` - Another identifying document.
|
|
1421
|
+
*/
|
|
1422
|
+
method:
|
|
1423
|
+
| 'social_security_number'
|
|
1424
|
+
| 'individual_taxpayer_identification_number'
|
|
1425
|
+
| 'passport'
|
|
1426
|
+
| 'drivers_license'
|
|
1427
|
+
| 'other';
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1431
|
+
* such as a social security number.
|
|
1432
|
+
*/
|
|
1433
|
+
number: string;
|
|
1434
|
+
|
|
1435
|
+
/**
|
|
1436
|
+
* Information about the United States driver's license used for identification.
|
|
1437
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1438
|
+
*/
|
|
1439
|
+
drivers_license?: Identification.DriversLicense;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* Information about the identification document provided. Required if `method` is
|
|
1443
|
+
* equal to `other`.
|
|
1444
|
+
*/
|
|
1445
|
+
other?: Identification.Other;
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1449
|
+
* equal to `passport`.
|
|
1450
|
+
*/
|
|
1451
|
+
passport?: Identification.Passport;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
export namespace Identification {
|
|
1455
|
+
/**
|
|
1456
|
+
* Information about the United States driver's license used for identification.
|
|
1457
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1458
|
+
*/
|
|
1459
|
+
export interface DriversLicense {
|
|
1460
|
+
/**
|
|
1461
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1462
|
+
*/
|
|
1463
|
+
expiration_date: string;
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1467
|
+
*/
|
|
1468
|
+
file_id: string;
|
|
1469
|
+
|
|
1470
|
+
/**
|
|
1471
|
+
* The state that issued the provided driver's license.
|
|
1472
|
+
*/
|
|
1473
|
+
state: string;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1477
|
+
*/
|
|
1478
|
+
back_file_id?: string;
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
/**
|
|
1482
|
+
* Information about the identification document provided. Required if `method` is
|
|
1483
|
+
* equal to `other`.
|
|
1484
|
+
*/
|
|
1485
|
+
export interface Other {
|
|
1486
|
+
/**
|
|
1487
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1488
|
+
* document.
|
|
1489
|
+
*/
|
|
1490
|
+
country: string;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* A description of the document submitted.
|
|
1494
|
+
*/
|
|
1495
|
+
description: string;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* The identifier of the File containing the front of the document.
|
|
1499
|
+
*/
|
|
1500
|
+
file_id: string;
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1504
|
+
* document has a reverse side.
|
|
1505
|
+
*/
|
|
1506
|
+
back_file_id?: string;
|
|
1507
|
+
|
|
1508
|
+
/**
|
|
1509
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1510
|
+
*/
|
|
1511
|
+
expiration_date?: string;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1516
|
+
* equal to `passport`.
|
|
1517
|
+
*/
|
|
1518
|
+
export interface Passport {
|
|
1519
|
+
/**
|
|
1520
|
+
* The country that issued the passport.
|
|
1521
|
+
*/
|
|
1522
|
+
country: string;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1526
|
+
*/
|
|
1527
|
+
expiration_date: string;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* The identifier of the File containing the passport.
|
|
1531
|
+
*/
|
|
1532
|
+
file_id: string;
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
export interface SupplementalDocument {
|
|
1538
|
+
/**
|
|
1539
|
+
* The identifier of the File containing the document.
|
|
1540
|
+
*/
|
|
1541
|
+
file_id: string;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* Details of the trust entity to create. Required if `structure` is equal to
|
|
1546
|
+
* `trust`.
|
|
1547
|
+
*/
|
|
1548
|
+
export interface Trust {
|
|
1549
|
+
/**
|
|
1550
|
+
* The trust's address.
|
|
1551
|
+
*/
|
|
1552
|
+
address: Trust.Address;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require
|
|
1556
|
+
* their own Employer Identification Number. Revocable trusts require information
|
|
1557
|
+
* about the individual `grantor` who created the trust.
|
|
1558
|
+
*
|
|
1559
|
+
* - `revocable` - The trust is revocable by the grantor.
|
|
1560
|
+
* - `irrevocable` - The trust cannot be revoked.
|
|
1561
|
+
*/
|
|
1562
|
+
category: 'revocable' | 'irrevocable';
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* The legal name of the trust.
|
|
1566
|
+
*/
|
|
1567
|
+
name: string;
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* The trustees of the trust.
|
|
1571
|
+
*/
|
|
1572
|
+
trustees: Array<Trust.Trustee>;
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* The identifier of the File containing the formation document of the trust.
|
|
1576
|
+
*/
|
|
1577
|
+
formation_document_file_id?: string;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
1581
|
+
* which the trust was formed.
|
|
1582
|
+
*/
|
|
1583
|
+
formation_state?: string;
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* The grantor of the trust. Required if `category` is equal to `revocable`.
|
|
1587
|
+
*/
|
|
1588
|
+
grantor?: Trust.Grantor;
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* The Employer Identification Number (EIN) for the trust. Required if `category`
|
|
1592
|
+
* is equal to `irrevocable`.
|
|
1593
|
+
*/
|
|
1594
|
+
tax_identifier?: string;
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
export namespace Trust {
|
|
1598
|
+
/**
|
|
1599
|
+
* The trust's address.
|
|
1600
|
+
*/
|
|
1601
|
+
export interface Address {
|
|
1602
|
+
/**
|
|
1603
|
+
* The city of the address.
|
|
1604
|
+
*/
|
|
1605
|
+
city: string;
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* The first line of the address. This is usually the street number and street.
|
|
1609
|
+
*/
|
|
1610
|
+
line1: string;
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1614
|
+
* the address.
|
|
1615
|
+
*/
|
|
1616
|
+
state: string;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* The ZIP code of the address.
|
|
1620
|
+
*/
|
|
1621
|
+
zip: string;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* The second line of the address. This might be the floor or room number.
|
|
1625
|
+
*/
|
|
1626
|
+
line2?: string;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
export interface Trustee {
|
|
1630
|
+
/**
|
|
1631
|
+
* The structure of the trustee.
|
|
1632
|
+
*
|
|
1633
|
+
* - `individual` - The trustee is an individual.
|
|
1634
|
+
*/
|
|
1635
|
+
structure: 'individual';
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* Details of the individual trustee. Required when the trustee `structure` is
|
|
1639
|
+
* equal to `individual`.
|
|
1640
|
+
*/
|
|
1641
|
+
individual?: Trustee.Individual;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
export namespace Trustee {
|
|
1645
|
+
/**
|
|
1646
|
+
* Details of the individual trustee. Required when the trustee `structure` is
|
|
1647
|
+
* equal to `individual`.
|
|
1648
|
+
*/
|
|
1649
|
+
export interface Individual {
|
|
1650
|
+
/**
|
|
1651
|
+
* The individual's address.
|
|
1652
|
+
*/
|
|
1653
|
+
address: Individual.Address;
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1657
|
+
*/
|
|
1658
|
+
date_of_birth: string;
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* A means of verifying the person's identity.
|
|
1662
|
+
*/
|
|
1663
|
+
identification: Individual.Identification;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* The person's legal name.
|
|
1667
|
+
*/
|
|
1668
|
+
name: string;
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1672
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1673
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1674
|
+
* Number).
|
|
1675
|
+
*/
|
|
1676
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
export namespace Individual {
|
|
1680
|
+
/**
|
|
1681
|
+
* The individual's address.
|
|
1682
|
+
*/
|
|
1683
|
+
export interface Address {
|
|
1684
|
+
/**
|
|
1685
|
+
* The city of the address.
|
|
1686
|
+
*/
|
|
1687
|
+
city: string;
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* The first line of the address. This is usually the street number and street.
|
|
1691
|
+
*/
|
|
1692
|
+
line1: string;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1696
|
+
* the address.
|
|
1697
|
+
*/
|
|
1698
|
+
state: string;
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* The ZIP code of the address.
|
|
1702
|
+
*/
|
|
1703
|
+
zip: string;
|
|
1704
|
+
|
|
1705
|
+
/**
|
|
1706
|
+
* The second line of the address. This might be the floor or room number.
|
|
1707
|
+
*/
|
|
1708
|
+
line2?: string;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* A means of verifying the person's identity.
|
|
1713
|
+
*/
|
|
1714
|
+
export interface Identification {
|
|
1715
|
+
/**
|
|
1716
|
+
* A method that can be used to verify the individual's identity.
|
|
1717
|
+
*
|
|
1718
|
+
* - `social_security_number` - A social security number.
|
|
1719
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1720
|
+
* identification number (ITIN).
|
|
1721
|
+
* - `passport` - A passport number.
|
|
1722
|
+
* - `drivers_license` - A driver's license number.
|
|
1723
|
+
* - `other` - Another identifying document.
|
|
1724
|
+
*/
|
|
1725
|
+
method:
|
|
1726
|
+
| 'social_security_number'
|
|
1727
|
+
| 'individual_taxpayer_identification_number'
|
|
1728
|
+
| 'passport'
|
|
1729
|
+
| 'drivers_license'
|
|
1730
|
+
| 'other';
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1734
|
+
* such as a social security number.
|
|
1735
|
+
*/
|
|
1736
|
+
number: string;
|
|
1737
|
+
|
|
1738
|
+
/**
|
|
1739
|
+
* Information about the United States driver's license used for identification.
|
|
1740
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1741
|
+
*/
|
|
1742
|
+
drivers_license?: Identification.DriversLicense;
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Information about the identification document provided. Required if `method` is
|
|
1746
|
+
* equal to `other`.
|
|
1747
|
+
*/
|
|
1748
|
+
other?: Identification.Other;
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1752
|
+
* equal to `passport`.
|
|
1753
|
+
*/
|
|
1754
|
+
passport?: Identification.Passport;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
export namespace Identification {
|
|
1758
|
+
/**
|
|
1759
|
+
* Information about the United States driver's license used for identification.
|
|
1760
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1761
|
+
*/
|
|
1762
|
+
export interface DriversLicense {
|
|
1763
|
+
/**
|
|
1764
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1765
|
+
*/
|
|
1766
|
+
expiration_date: string;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1770
|
+
*/
|
|
1771
|
+
file_id: string;
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* The state that issued the provided driver's license.
|
|
1775
|
+
*/
|
|
1776
|
+
state: string;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1780
|
+
*/
|
|
1781
|
+
back_file_id?: string;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Information about the identification document provided. Required if `method` is
|
|
1786
|
+
* equal to `other`.
|
|
1787
|
+
*/
|
|
1788
|
+
export interface Other {
|
|
1789
|
+
/**
|
|
1790
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1791
|
+
* document.
|
|
1792
|
+
*/
|
|
1793
|
+
country: string;
|
|
1794
|
+
|
|
1795
|
+
/**
|
|
1796
|
+
* A description of the document submitted.
|
|
1797
|
+
*/
|
|
1798
|
+
description: string;
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* The identifier of the File containing the front of the document.
|
|
1802
|
+
*/
|
|
1803
|
+
file_id: string;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1807
|
+
* document has a reverse side.
|
|
1808
|
+
*/
|
|
1809
|
+
back_file_id?: string;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1813
|
+
*/
|
|
1814
|
+
expiration_date?: string;
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1819
|
+
* equal to `passport`.
|
|
1820
|
+
*/
|
|
1821
|
+
export interface Passport {
|
|
1822
|
+
/**
|
|
1823
|
+
* The country that issued the passport.
|
|
1824
|
+
*/
|
|
1825
|
+
country: string;
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1829
|
+
*/
|
|
1830
|
+
expiration_date: string;
|
|
1831
|
+
|
|
1832
|
+
/**
|
|
1833
|
+
* The identifier of the File containing the passport.
|
|
1834
|
+
*/
|
|
1835
|
+
file_id: string;
|
|
1836
|
+
}
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
/**
|
|
1842
|
+
* The grantor of the trust. Required if `category` is equal to `revocable`.
|
|
1843
|
+
*/
|
|
1844
|
+
export interface Grantor {
|
|
1845
|
+
/**
|
|
1846
|
+
* The individual's address.
|
|
1847
|
+
*/
|
|
1848
|
+
address: Grantor.Address;
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1852
|
+
*/
|
|
1853
|
+
date_of_birth: string;
|
|
1854
|
+
|
|
1855
|
+
/**
|
|
1856
|
+
* A means of verifying the person's identity.
|
|
1857
|
+
*/
|
|
1858
|
+
identification: Grantor.Identification;
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* The person's legal name.
|
|
1862
|
+
*/
|
|
1863
|
+
name: string;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1867
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1868
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1869
|
+
* Number).
|
|
1870
|
+
*/
|
|
1871
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
export namespace Grantor {
|
|
1875
|
+
/**
|
|
1876
|
+
* The individual's address.
|
|
1877
|
+
*/
|
|
1878
|
+
export interface Address {
|
|
1879
|
+
/**
|
|
1880
|
+
* The city of the address.
|
|
1881
|
+
*/
|
|
1882
|
+
city: string;
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* The first line of the address. This is usually the street number and street.
|
|
1886
|
+
*/
|
|
1887
|
+
line1: string;
|
|
1888
|
+
|
|
1889
|
+
/**
|
|
1890
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1891
|
+
* the address.
|
|
1892
|
+
*/
|
|
1893
|
+
state: string;
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* The ZIP code of the address.
|
|
1897
|
+
*/
|
|
1898
|
+
zip: string;
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* The second line of the address. This might be the floor or room number.
|
|
1902
|
+
*/
|
|
1903
|
+
line2?: string;
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* A means of verifying the person's identity.
|
|
1908
|
+
*/
|
|
1909
|
+
export interface Identification {
|
|
1910
|
+
/**
|
|
1911
|
+
* A method that can be used to verify the individual's identity.
|
|
1912
|
+
*
|
|
1913
|
+
* - `social_security_number` - A social security number.
|
|
1914
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1915
|
+
* identification number (ITIN).
|
|
1916
|
+
* - `passport` - A passport number.
|
|
1917
|
+
* - `drivers_license` - A driver's license number.
|
|
1918
|
+
* - `other` - Another identifying document.
|
|
1919
|
+
*/
|
|
1920
|
+
method:
|
|
1921
|
+
| 'social_security_number'
|
|
1922
|
+
| 'individual_taxpayer_identification_number'
|
|
1923
|
+
| 'passport'
|
|
1924
|
+
| 'drivers_license'
|
|
1925
|
+
| 'other';
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1929
|
+
* such as a social security number.
|
|
1930
|
+
*/
|
|
1931
|
+
number: string;
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* Information about the United States driver's license used for identification.
|
|
1935
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1936
|
+
*/
|
|
1937
|
+
drivers_license?: Identification.DriversLicense;
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* Information about the identification document provided. Required if `method` is
|
|
1941
|
+
* equal to `other`.
|
|
1942
|
+
*/
|
|
1943
|
+
other?: Identification.Other;
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1947
|
+
* equal to `passport`.
|
|
1948
|
+
*/
|
|
1949
|
+
passport?: Identification.Passport;
|
|
1950
|
+
}
|
|
1951
|
+
|
|
1952
|
+
export namespace Identification {
|
|
1953
|
+
/**
|
|
1954
|
+
* Information about the United States driver's license used for identification.
|
|
1955
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1956
|
+
*/
|
|
1957
|
+
export interface DriversLicense {
|
|
1958
|
+
/**
|
|
1959
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1960
|
+
*/
|
|
1961
|
+
expiration_date: string;
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1965
|
+
*/
|
|
1966
|
+
file_id: string;
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* The state that issued the provided driver's license.
|
|
1970
|
+
*/
|
|
1971
|
+
state: string;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1975
|
+
*/
|
|
1976
|
+
back_file_id?: string;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
/**
|
|
1980
|
+
* Information about the identification document provided. Required if `method` is
|
|
1981
|
+
* equal to `other`.
|
|
1982
|
+
*/
|
|
1983
|
+
export interface Other {
|
|
1984
|
+
/**
|
|
1985
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1986
|
+
* document.
|
|
1987
|
+
*/
|
|
1988
|
+
country: string;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* A description of the document submitted.
|
|
1992
|
+
*/
|
|
1993
|
+
description: string;
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* The identifier of the File containing the front of the document.
|
|
1997
|
+
*/
|
|
1998
|
+
file_id: string;
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* The identifier of the File containing the back of the document. Not every
|
|
2002
|
+
* document has a reverse side.
|
|
2003
|
+
*/
|
|
2004
|
+
back_file_id?: string;
|
|
2005
|
+
|
|
2006
|
+
/**
|
|
2007
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
2008
|
+
*/
|
|
2009
|
+
expiration_date?: string;
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* Information about the passport used for identification. Required if `method` is
|
|
2014
|
+
* equal to `passport`.
|
|
2015
|
+
*/
|
|
2016
|
+
export interface Passport {
|
|
2017
|
+
/**
|
|
2018
|
+
* The country that issued the passport.
|
|
2019
|
+
*/
|
|
2020
|
+
country: string;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
2024
|
+
*/
|
|
2025
|
+
expiration_date: string;
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* The identifier of the File containing the passport.
|
|
2029
|
+
*/
|
|
2030
|
+
file_id: string;
|
|
2031
|
+
}
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
export interface EntityListParams extends PageParams {
|
|
2038
|
+
created_at?: EntityListParams.CreatedAt;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
export namespace EntityListParams {
|
|
2042
|
+
export interface CreatedAt {
|
|
2043
|
+
/**
|
|
2044
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
2045
|
+
* timestamp.
|
|
2046
|
+
*/
|
|
2047
|
+
after?: string;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
2051
|
+
* timestamp.
|
|
2052
|
+
*/
|
|
2053
|
+
before?: string;
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* Return results on or after this
|
|
2057
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
2058
|
+
*/
|
|
2059
|
+
on_or_after?: string;
|
|
2060
|
+
|
|
2061
|
+
/**
|
|
2062
|
+
* Return results on or before this
|
|
2063
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
2064
|
+
*/
|
|
2065
|
+
on_or_before?: string;
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
export namespace Entities {
|
|
2070
|
+
export import Entity = API.Entity;
|
|
2071
|
+
export type EntitiesPage = _EntitiesPage;
|
|
2072
|
+
export import EntityCreateParams = API.EntityCreateParams;
|
|
2073
|
+
export import EntityListParams = API.EntityListParams;
|
|
2074
|
+
|
|
2075
|
+
export import SupplementalDocuments = API.SupplementalDocuments;
|
|
2076
|
+
export import SupplementalDocument = API.SupplementalDocument;
|
|
2077
|
+
export import SupplementalDocumentsPage = API.SupplementalDocumentsPage;
|
|
2078
|
+
export import SupplementalDocumentCreateParams = API.SupplementalDocumentCreateParams;
|
|
2079
|
+
export import SupplementalDocumentListParams = API.SupplementalDocumentListParams;
|
|
2080
|
+
}
|