increase 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +10 -0
- package/.prettierrc +6 -0
- package/.stats.yml +1 -0
- package/LICENSE +201 -0
- package/README.md +211 -0
- package/api.md +477 -0
- package/bin/check-test-server +50 -0
- package/build +12 -0
- package/check-version.ts +15 -0
- package/core.ts +908 -0
- package/dist/cjs/check-version.d.ts +1 -0
- package/dist/cjs/check-version.js +21 -0
- package/dist/cjs/check-version.js.map +1 -0
- package/dist/cjs/core.d.ts +262 -0
- package/dist/cjs/core.js +978 -0
- package/dist/cjs/core.js.map +1 -0
- package/dist/cjs/fetch-polyfill.d.ts +5 -0
- package/dist/cjs/fetch-polyfill.js +55 -0
- package/dist/cjs/fetch-polyfill.js.map +1 -0
- package/dist/cjs/index.d.ts +201 -0
- package/dist/cjs/index.js +180 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/pagination.d.ts +28 -0
- package/dist/cjs/pagination.js +30 -0
- package/dist/cjs/pagination.js.map +1 -0
- package/dist/cjs/resource.d.ts +11 -0
- package/dist/cjs/resource.js +17 -0
- package/dist/cjs/resource.js.map +1 -0
- package/dist/cjs/resources/account-numbers.d.ts +103 -0
- package/dist/cjs/resources/account-numbers.js +37 -0
- package/dist/cjs/resources/account-numbers.js.map +1 -0
- package/dist/cjs/resources/account-statements.d.ts +99 -0
- package/dist/cjs/resources/account-statements.js +25 -0
- package/dist/cjs/resources/account-statements.js.map +1 -0
- package/dist/cjs/resources/account-transfers.d.ts +189 -0
- package/dist/cjs/resources/account-transfers.js +43 -0
- package/dist/cjs/resources/account-transfers.js.map +1 -0
- package/dist/cjs/resources/accounts.d.ts +133 -0
- package/dist/cjs/resources/accounts.js +43 -0
- package/dist/cjs/resources/accounts.js.map +1 -0
- package/dist/cjs/resources/ach-prenotifications.d.ts +188 -0
- package/dist/cjs/resources/ach-prenotifications.js +35 -0
- package/dist/cjs/resources/ach-prenotifications.js.map +1 -0
- package/dist/cjs/resources/ach-transfers.d.ts +375 -0
- package/dist/cjs/resources/ach-transfers.js +43 -0
- package/dist/cjs/resources/ach-transfers.js.map +1 -0
- package/dist/cjs/resources/card-disputes.d.ts +143 -0
- package/dist/cjs/resources/card-disputes.js +31 -0
- package/dist/cjs/resources/card-disputes.js.map +1 -0
- package/dist/cjs/resources/card-profiles.d.ts +183 -0
- package/dist/cjs/resources/card-profiles.js +31 -0
- package/dist/cjs/resources/card-profiles.js.map +1 -0
- package/dist/cjs/resources/cards.d.ts +316 -0
- package/dist/cjs/resources/cards.js +43 -0
- package/dist/cjs/resources/cards.js.map +1 -0
- package/dist/cjs/resources/check-deposits.d.ts +241 -0
- package/dist/cjs/resources/check-deposits.js +31 -0
- package/dist/cjs/resources/check-deposits.js.map +1 -0
- package/dist/cjs/resources/check-transfers.d.ts +331 -0
- package/dist/cjs/resources/check-transfers.js +49 -0
- package/dist/cjs/resources/check-transfers.js.map +1 -0
- package/dist/cjs/resources/declined-transactions.d.ts +424 -0
- package/dist/cjs/resources/declined-transactions.js +29 -0
- package/dist/cjs/resources/declined-transactions.js.map +1 -0
- package/dist/cjs/resources/digital-wallet-tokens.d.ts +85 -0
- package/dist/cjs/resources/digital-wallet-tokens.js +29 -0
- package/dist/cjs/resources/digital-wallet-tokens.js.map +1 -0
- package/dist/cjs/resources/documents.d.ts +87 -0
- package/dist/cjs/resources/documents.js +25 -0
- package/dist/cjs/resources/documents.js.map +1 -0
- package/dist/cjs/resources/entities/entities.d.ts +1383 -0
- package/dist/cjs/resources/entities/entities.js +36 -0
- package/dist/cjs/resources/entities/entities.js.map +1 -0
- package/dist/cjs/resources/entities/index.d.ts +2 -0
- package/dist/cjs/resources/entities/index.js +12 -0
- package/dist/cjs/resources/entities/index.js.map +1 -0
- package/dist/cjs/resources/entities/supplemental-documents.d.ts +19 -0
- package/dist/cjs/resources/entities/supplemental-documents.js +15 -0
- package/dist/cjs/resources/entities/supplemental-documents.js.map +1 -0
- package/dist/cjs/resources/event-subscriptions.d.ts +196 -0
- package/dist/cjs/resources/event-subscriptions.js +37 -0
- package/dist/cjs/resources/event-subscriptions.js.map +1 -0
- package/dist/cjs/resources/events.d.ts +183 -0
- package/dist/cjs/resources/events.js +25 -0
- package/dist/cjs/resources/events.js.map +1 -0
- package/dist/cjs/resources/external-accounts.d.ts +121 -0
- package/dist/cjs/resources/external-accounts.js +37 -0
- package/dist/cjs/resources/external-accounts.js.map +1 -0
- package/dist/cjs/resources/files.d.ts +148 -0
- package/dist/cjs/resources/files.js +34 -0
- package/dist/cjs/resources/files.js.map +1 -0
- package/dist/cjs/resources/groups.d.ts +37 -0
- package/dist/cjs/resources/groups.js +15 -0
- package/dist/cjs/resources/groups.js.map +1 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.d.ts +106 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js +35 -0
- package/dist/cjs/resources/inbound-ach-transfer-returns.js.map +1 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.d.ts +124 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js +29 -0
- package/dist/cjs/resources/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/index.d.ts +163 -0
- package/dist/cjs/resources/index.js +478 -0
- package/dist/cjs/resources/index.js.map +1 -0
- package/dist/cjs/resources/limits.d.ts +105 -0
- package/dist/cjs/resources/limits.js +37 -0
- package/dist/cjs/resources/limits.js.map +1 -0
- package/dist/cjs/resources/oauth-connections.d.ts +50 -0
- package/dist/cjs/resources/oauth-connections.js +25 -0
- package/dist/cjs/resources/oauth-connections.js.map +1 -0
- package/dist/cjs/resources/pending-transactions.d.ts +397 -0
- package/dist/cjs/resources/pending-transactions.js +29 -0
- package/dist/cjs/resources/pending-transactions.js.map +1 -0
- package/dist/cjs/resources/real-time-decisions.d.ts +289 -0
- package/dist/cjs/resources/real-time-decisions.js +21 -0
- package/dist/cjs/resources/real-time-decisions.js.map +1 -0
- package/dist/cjs/resources/routing-numbers.d.ts +49 -0
- package/dist/cjs/resources/routing-numbers.js +21 -0
- package/dist/cjs/resources/routing-numbers.js.map +1 -0
- package/dist/cjs/resources/shared.d.ts +15 -0
- package/dist/cjs/resources/shared.js +4 -0
- package/dist/cjs/resources/shared.js.map +1 -0
- package/dist/cjs/resources/simulations/account-statements.d.ts +19 -0
- package/dist/cjs/resources/simulations/account-statements.js +16 -0
- package/dist/cjs/resources/simulations/account-statements.js.map +1 -0
- package/dist/cjs/resources/simulations/account-transfers.d.ts +15 -0
- package/dist/cjs/resources/simulations/account-transfers.js +18 -0
- package/dist/cjs/resources/simulations/account-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/ach-transfers.d.ts +1488 -0
- package/dist/cjs/resources/simulations/ach-transfers.js +39 -0
- package/dist/cjs/resources/simulations/ach-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/card-disputes.d.ts +26 -0
- package/dist/cjs/resources/simulations/card-disputes.js +18 -0
- package/dist/cjs/resources/simulations/card-disputes.js.map +1 -0
- package/dist/cjs/resources/simulations/card-refunds.d.ts +20 -0
- package/dist/cjs/resources/simulations/card-refunds.js +16 -0
- package/dist/cjs/resources/simulations/card-refunds.js.map +1 -0
- package/dist/cjs/resources/simulations/cards.d.ts +793 -0
- package/dist/cjs/resources/simulations/cards.js +31 -0
- package/dist/cjs/resources/simulations/cards.js.map +1 -0
- package/dist/cjs/resources/simulations/check-deposits.d.ts +30 -0
- package/dist/cjs/resources/simulations/check-deposits.js +31 -0
- package/dist/cjs/resources/simulations/check-deposits.js.map +1 -0
- package/dist/cjs/resources/simulations/check-transfers.d.ts +22 -0
- package/dist/cjs/resources/simulations/check-transfers.js +24 -0
- package/dist/cjs/resources/simulations/check-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.d.ts +43 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js +16 -0
- package/dist/cjs/resources/simulations/digital-wallet-token-requests.js.map +1 -0
- package/dist/cjs/resources/simulations/documents.d.ts +18 -0
- package/dist/cjs/resources/simulations/documents.js +15 -0
- package/dist/cjs/resources/simulations/documents.js.map +1 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.d.ts +101 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js +16 -0
- package/dist/cjs/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/simulations/index.d.ts +20 -0
- package/dist/cjs/resources/simulations/index.js +4 -0
- package/dist/cjs/resources/simulations/index.js.map +1 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.d.ts +1431 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js +16 -0
- package/dist/cjs/resources/simulations/real-time-payments-transfers.js.map +1 -0
- package/dist/cjs/resources/simulations/simulations.d.ts +29 -0
- package/dist/cjs/resources/simulations/simulations.js +44 -0
- package/dist/cjs/resources/simulations/simulations.js.map +1 -0
- package/dist/cjs/resources/simulations/wire-transfers.d.ts +1104 -0
- package/dist/cjs/resources/simulations/wire-transfers.js +15 -0
- package/dist/cjs/resources/simulations/wire-transfers.js.map +1 -0
- package/dist/cjs/resources/transactions.d.ts +1101 -0
- package/dist/cjs/resources/transactions.js +25 -0
- package/dist/cjs/resources/transactions.js.map +1 -0
- package/dist/cjs/resources/wire-drawdown-requests.d.ts +148 -0
- package/dist/cjs/resources/wire-drawdown-requests.js +35 -0
- package/dist/cjs/resources/wire-drawdown-requests.js.map +1 -0
- package/dist/cjs/resources/wire-transfers.d.ts +310 -0
- package/dist/cjs/resources/wire-transfers.js +60 -0
- package/dist/cjs/resources/wire-transfers.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js +104 -0
- package/dist/cjs/tests/api-resources/account-numbers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-statements.test.js +101 -0
- package/dist/cjs/tests/api-resources/account-statements.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.js +146 -0
- package/dist/cjs/tests/api-resources/account-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/accounts.test.js +119 -0
- package/dist/cjs/tests/api-resources/accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js +125 -0
- package/dist/cjs/tests/api-resources/ach-prenotifications.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.js +159 -0
- package/dist/cjs/tests/api-resources/ach-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.js +108 -0
- package/dist/cjs/tests/api-resources/card-disputes.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.js +97 -0
- package/dist/cjs/tests/api-resources/card-profiles.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/cards.test.js +138 -0
- package/dist/cjs/tests/api-resources/cards.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.js +113 -0
- package/dist/cjs/tests/api-resources/check-deposits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.js +172 -0
- package/dist/cjs/tests/api-resources/check-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.js +105 -0
- package/dist/cjs/tests/api-resources/declined-transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js +103 -0
- package/dist/cjs/tests/api-resources/digital-wallet-tokens.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/documents.test.js +101 -0
- package/dist/cjs/tests/api-resources/documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.js +280 -0
- package/dist/cjs/tests/api-resources/entities/entities.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js +49 -0
- package/dist/cjs/tests/api-resources/entities/supplemental-documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js +109 -0
- package/dist/cjs/tests/api-resources/event-subscriptions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/events.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/events.test.js +101 -0
- package/dist/cjs/tests/api-resources/events.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js +113 -0
- package/dist/cjs/tests/api-resources/external-accounts.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/files.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/files.test.js +117 -0
- package/dist/cjs/tests/api-resources/files.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/groups.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/groups.test.js +54 -0
- package/dist/cjs/tests/api-resources/groups.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js +90 -0
- package/dist/cjs/tests/api-resources/inbound-ach-transfer-returns.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js +83 -0
- package/dist/cjs/tests/api-resources/inbound-wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/limits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/limits.test.js +100 -0
- package/dist/cjs/tests/api-resources/limits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.js +78 -0
- package/dist/cjs/tests/api-resources/oauth-connections.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.js +97 -0
- package/dist/cjs/tests/api-resources/pending-transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js +71 -0
- package/dist/cjs/tests/api-resources/real-time-decisions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.js +55 -0
- package/dist/cjs/tests/api-resources/routing-numbers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/account-statements.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js +60 -0
- package/dist/cjs/tests/api-resources/simulations/account-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js +92 -0
- package/dist/cjs/tests/api-resources/simulations/ach-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js +56 -0
- package/dist/cjs/tests/api-resources/simulations/card-disputes.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/card-refunds.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.js +70 -0
- package/dist/cjs/tests/api-resources/simulations/cards.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js +86 -0
- package/dist/cjs/tests/api-resources/simulations/check-deposits.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js +73 -0
- package/dist/cjs/tests/api-resources/simulations/check-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/digital-wallet-token-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.js +49 -0
- package/dist/cjs/tests/api-resources/simulations/documents.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js +81 -0
- package/dist/cjs/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js +62 -0
- package/dist/cjs/tests/api-resources/simulations/real-time-payments-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js +70 -0
- package/dist/cjs/tests/api-resources/simulations/wire-transfers.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/transactions.test.js +109 -0
- package/dist/cjs/tests/api-resources/transactions.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js +110 -0
- package/dist/cjs/tests/api-resources/wire-drawdown-requests.test.js.map +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.d.ts +1 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.js +184 -0
- package/dist/cjs/tests/api-resources/wire-transfers.test.js.map +1 -0
- package/dist/cjs/tests/form.test.d.ts +1 -0
- package/dist/cjs/tests/form.test.js +60 -0
- package/dist/cjs/tests/form.test.js.map +1 -0
- package/dist/cjs/tests/index.test.d.ts +1 -0
- package/dist/cjs/tests/index.test.js +44 -0
- package/dist/cjs/tests/index.test.js.map +1 -0
- package/dist/cjs/tests/responses.test.d.ts +1 -0
- package/dist/cjs/tests/responses.test.js +59 -0
- package/dist/cjs/tests/responses.test.js.map +1 -0
- package/dist/cjs/version.d.ts +1 -0
- package/dist/cjs/version.js +5 -0
- package/dist/cjs/version.js.map +1 -0
- package/fetch-polyfill.ts +69 -0
- package/index.ts +276 -0
- package/jest.config.js +8 -0
- package/package.json +47 -0
- package/pagination.ts +58 -0
- package/resource.ts +24 -0
- package/resources/account-numbers.ts +141 -0
- package/resources/account-statements.ts +132 -0
- package/resources/account-transfers.ts +244 -0
- package/resources/accounts.ts +179 -0
- package/resources/ach-prenotifications.ts +242 -0
- package/resources/ach-transfers.ts +465 -0
- package/resources/card-disputes.ts +187 -0
- package/resources/card-profiles.ts +236 -0
- package/resources/cards.ts +398 -0
- package/resources/check-deposits.ts +303 -0
- package/resources/check-transfers.ts +422 -0
- package/resources/declined-transactions.ts +547 -0
- package/resources/digital-wallet-tokens.ts +115 -0
- package/resources/documents.ts +119 -0
- package/resources/entities/entities.ts +1668 -0
- package/resources/entities/index.ts +4 -0
- package/resources/entities/supplemental-documents.ts +25 -0
- package/resources/event-subscriptions.ts +232 -0
- package/resources/events.ts +215 -0
- package/resources/external-accounts.ts +162 -0
- package/resources/files.ts +188 -0
- package/resources/groups.ts +47 -0
- package/resources/inbound-ach-transfer-returns.ts +142 -0
- package/resources/inbound-wire-drawdown-requests.ts +168 -0
- package/resources/index.ts +165 -0
- package/resources/limits.ts +144 -0
- package/resources/oauth-connections.ts +74 -0
- package/resources/pending-transactions.ts +491 -0
- package/resources/real-time-decisions.ts +345 -0
- package/resources/routing-numbers.ts +62 -0
- package/resources/shared.ts +17 -0
- package/resources/simulations/account-statements.ts +25 -0
- package/resources/simulations/account-transfers.ts +20 -0
- package/resources/simulations/ach-transfers.ts +1873 -0
- package/resources/simulations/card-disputes.ts +33 -0
- package/resources/simulations/card-refunds.ts +26 -0
- package/resources/simulations/cards.ts +979 -0
- package/resources/simulations/check-deposits.ts +41 -0
- package/resources/simulations/check-transfers.ts +30 -0
- package/resources/simulations/digital-wallet-token-requests.ts +52 -0
- package/resources/simulations/documents.ts +24 -0
- package/resources/simulations/inbound-wire-drawdown-requests.ts +126 -0
- package/resources/simulations/index.ts +22 -0
- package/resources/simulations/real-time-payments-transfers.ts +1809 -0
- package/resources/simulations/simulations.ts +32 -0
- package/resources/simulations/wire-transfers.ts +1391 -0
- package/resources/transactions.ts +1393 -0
- package/resources/wire-drawdown-requests.ts +195 -0
- package/resources/wire-transfers.ts +399 -0
- package/tests/api-resources/account-numbers.test.ts +67 -0
- package/tests/api-resources/account-statements.test.ts +64 -0
- package/tests/api-resources/account-transfers.test.ts +109 -0
- package/tests/api-resources/accounts.test.ts +82 -0
- package/tests/api-resources/ach-prenotifications.test.ts +86 -0
- package/tests/api-resources/ach-transfers.test.ts +120 -0
- package/tests/api-resources/card-disputes.test.ts +71 -0
- package/tests/api-resources/card-profiles.test.ts +60 -0
- package/tests/api-resources/cards.test.ts +101 -0
- package/tests/api-resources/check-deposits.test.ts +74 -0
- package/tests/api-resources/check-transfers.test.ts +135 -0
- package/tests/api-resources/declined-transactions.test.ts +68 -0
- package/tests/api-resources/digital-wallet-tokens.test.ts +64 -0
- package/tests/api-resources/documents.test.ts +64 -0
- package/tests/api-resources/entities/entities.test.ts +243 -0
- package/tests/api-resources/entities/supplemental-documents.test.ts +12 -0
- package/tests/api-resources/event-subscriptions.test.ts +69 -0
- package/tests/api-resources/events.test.ts +64 -0
- package/tests/api-resources/external-accounts.test.ts +76 -0
- package/tests/api-resources/files.test.ts +81 -0
- package/tests/api-resources/groups.test.ts +17 -0
- package/tests/api-resources/inbound-ach-transfer-returns.test.ts +53 -0
- package/tests/api-resources/inbound-wire-drawdown-requests.test.ts +46 -0
- package/tests/api-resources/limits.test.ts +63 -0
- package/tests/api-resources/oauth-connections.test.ts +41 -0
- package/tests/api-resources/pending-transactions.test.ts +58 -0
- package/tests/api-resources/real-time-decisions.test.ts +34 -0
- package/tests/api-resources/routing-numbers.test.ts +18 -0
- package/tests/api-resources/simulations/account-statements.test.ts +12 -0
- package/tests/api-resources/simulations/account-transfers.test.ts +23 -0
- package/tests/api-resources/simulations/ach-transfers.test.ts +52 -0
- package/tests/api-resources/simulations/card-disputes.test.ts +19 -0
- package/tests/api-resources/simulations/card-refunds.test.ts +12 -0
- package/tests/api-resources/simulations/cards.test.ts +33 -0
- package/tests/api-resources/simulations/check-deposits.test.ts +49 -0
- package/tests/api-resources/simulations/check-transfers.test.ts +34 -0
- package/tests/api-resources/simulations/digital-wallet-token-requests.test.ts +12 -0
- package/tests/api-resources/simulations/documents.test.ts +12 -0
- package/tests/api-resources/simulations/inbound-wire-drawdown-requests.test.ts +44 -0
- package/tests/api-resources/simulations/real-time-payments-transfers.test.ts +25 -0
- package/tests/api-resources/simulations/wire-transfers.test.ts +33 -0
- package/tests/api-resources/transactions.test.ts +70 -0
- package/tests/api-resources/wire-drawdown-requests.test.ts +73 -0
- package/tests/api-resources/wire-transfers.test.ts +147 -0
- package/tests/form.test.ts +27 -0
- package/tests/index.test.ts +47 -0
- package/tests/responses.test.ts +25 -0
- package/tsconfig.cjs.json +8 -0
- package/tsconfig.json +37 -0
- package/typings/digest-fetch/index.d.ts +33 -0
- package/version.ts +1 -0
|
@@ -0,0 +1,1668 @@
|
|
|
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 { Page, PageParams } from '~/pagination';
|
|
7
|
+
import { SupplementalDocuments } from './supplemental-documents';
|
|
8
|
+
|
|
9
|
+
export class Entities extends APIResource {
|
|
10
|
+
supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Create an Entity
|
|
14
|
+
*/
|
|
15
|
+
create(body: EntityCreateParams, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
|
|
16
|
+
return this.post('/entities', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve an Entity
|
|
21
|
+
*/
|
|
22
|
+
retrieve(entityId: string, options?: Core.RequestOptions): Promise<Core.APIResponse<Entity>> {
|
|
23
|
+
return this.get(`/entities/${entityId}`, options);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* List Entities
|
|
28
|
+
*/
|
|
29
|
+
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
30
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
31
|
+
list(
|
|
32
|
+
query: EntityListParams | Core.RequestOptions = {},
|
|
33
|
+
options?: Core.RequestOptions,
|
|
34
|
+
): Core.PagePromise<EntitiesPage> {
|
|
35
|
+
if (isRequestOptions(query)) {
|
|
36
|
+
return this.list({}, query);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
return this.getAPIList('/entities', EntitiesPage, { query, ...options });
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export class EntitiesPage extends Page<Entity> {}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Entities are the legal entities that own accounts. They can be people,
|
|
47
|
+
* corporations, partnerships, or trusts.
|
|
48
|
+
*/
|
|
49
|
+
export interface Entity {
|
|
50
|
+
/**
|
|
51
|
+
* Details of the corporation entity. Will be present if `structure` is equal to
|
|
52
|
+
* `corporation`.
|
|
53
|
+
*/
|
|
54
|
+
corporation: Entity.Corporation | null;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The entity's description for display purposes.
|
|
58
|
+
*/
|
|
59
|
+
description: string | null;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The entity's identifier.
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
68
|
+
*/
|
|
69
|
+
joint: Entity.Joint | null;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Details of the natural person entity. Will be present if `structure` is equal to
|
|
73
|
+
* `natural_person`.
|
|
74
|
+
*/
|
|
75
|
+
natural_person: Entity.NaturalPerson | null;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The relationship between your group and the entity.
|
|
79
|
+
*/
|
|
80
|
+
relationship: 'affiliated' | 'informational' | 'unaffiliated';
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* The entity's legal structure.
|
|
84
|
+
*/
|
|
85
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Additional documentation associated with the entity.
|
|
89
|
+
*/
|
|
90
|
+
supplemental_documents: Array<Entity.SupplementalDocuments>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
94
|
+
*/
|
|
95
|
+
trust: Entity.Trust | null;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* A constant representing the object's type. For this resource it will always be
|
|
99
|
+
* `entity`.
|
|
100
|
+
*/
|
|
101
|
+
type: 'entity';
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export namespace Entity {
|
|
105
|
+
export interface Corporation {
|
|
106
|
+
/**
|
|
107
|
+
* The corporation's address.
|
|
108
|
+
*/
|
|
109
|
+
address: Corporation.Address;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
113
|
+
* corporation.
|
|
114
|
+
*/
|
|
115
|
+
beneficial_owners: Array<Corporation.BeneficialOwners>;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
119
|
+
* corporation's state of incorporation.
|
|
120
|
+
*/
|
|
121
|
+
incorporation_state: string | null;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The legal name of the corporation.
|
|
125
|
+
*/
|
|
126
|
+
name: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
130
|
+
*/
|
|
131
|
+
tax_identifier: string | null;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The website of the corporation.
|
|
135
|
+
*/
|
|
136
|
+
website: string | null;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export namespace Corporation {
|
|
140
|
+
export interface Address {
|
|
141
|
+
/**
|
|
142
|
+
* The city of the address.
|
|
143
|
+
*/
|
|
144
|
+
city: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* The first line of the address.
|
|
148
|
+
*/
|
|
149
|
+
line1: string;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The second line of the address.
|
|
153
|
+
*/
|
|
154
|
+
line2: string | null;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
158
|
+
* the address.
|
|
159
|
+
*/
|
|
160
|
+
state: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The ZIP code of the address.
|
|
164
|
+
*/
|
|
165
|
+
zip: string;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface BeneficialOwners {
|
|
169
|
+
/**
|
|
170
|
+
* This person's role or title within the entity.
|
|
171
|
+
*/
|
|
172
|
+
company_title: string | null;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Personal details for the beneficial owner.
|
|
176
|
+
*/
|
|
177
|
+
individual: BeneficialOwners.Individual;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Why this person is considered a beneficial owner of the entity.
|
|
181
|
+
*/
|
|
182
|
+
prong: 'ownership' | 'control';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export namespace BeneficialOwners {
|
|
186
|
+
export interface Individual {
|
|
187
|
+
/**
|
|
188
|
+
* The person's address.
|
|
189
|
+
*/
|
|
190
|
+
address: Individual.Address;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
194
|
+
*/
|
|
195
|
+
date_of_birth: string;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* A means of verifying the person's identity.
|
|
199
|
+
*/
|
|
200
|
+
identification: Individual.Identification;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* The person's legal name.
|
|
204
|
+
*/
|
|
205
|
+
name: string;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export namespace Individual {
|
|
209
|
+
export interface Address {
|
|
210
|
+
/**
|
|
211
|
+
* The city of the address.
|
|
212
|
+
*/
|
|
213
|
+
city: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* The first line of the address.
|
|
217
|
+
*/
|
|
218
|
+
line1: string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* The second line of the address.
|
|
222
|
+
*/
|
|
223
|
+
line2: string | null;
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
227
|
+
* the address.
|
|
228
|
+
*/
|
|
229
|
+
state: string;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The ZIP code of the address.
|
|
233
|
+
*/
|
|
234
|
+
zip: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface Identification {
|
|
238
|
+
/**
|
|
239
|
+
* A method that can be used to verify the individual's identity.
|
|
240
|
+
*/
|
|
241
|
+
method:
|
|
242
|
+
| 'social_security_number'
|
|
243
|
+
| 'individual_taxpayer_identification_number'
|
|
244
|
+
| 'passport'
|
|
245
|
+
| 'drivers_license'
|
|
246
|
+
| 'other';
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
250
|
+
* individual's identity.
|
|
251
|
+
*/
|
|
252
|
+
number_last4: string;
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
export interface NaturalPerson {
|
|
259
|
+
/**
|
|
260
|
+
* The person's address.
|
|
261
|
+
*/
|
|
262
|
+
address: NaturalPerson.Address;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
266
|
+
*/
|
|
267
|
+
date_of_birth: string;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* A means of verifying the person's identity.
|
|
271
|
+
*/
|
|
272
|
+
identification: NaturalPerson.Identification;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The person's legal name.
|
|
276
|
+
*/
|
|
277
|
+
name: string;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export namespace NaturalPerson {
|
|
281
|
+
export interface Address {
|
|
282
|
+
/**
|
|
283
|
+
* The city of the address.
|
|
284
|
+
*/
|
|
285
|
+
city: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The first line of the address.
|
|
289
|
+
*/
|
|
290
|
+
line1: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* The second line of the address.
|
|
294
|
+
*/
|
|
295
|
+
line2: string | null;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
299
|
+
* the address.
|
|
300
|
+
*/
|
|
301
|
+
state: string;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The ZIP code of the address.
|
|
305
|
+
*/
|
|
306
|
+
zip: string;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export interface Identification {
|
|
310
|
+
/**
|
|
311
|
+
* A method that can be used to verify the individual's identity.
|
|
312
|
+
*/
|
|
313
|
+
method:
|
|
314
|
+
| 'social_security_number'
|
|
315
|
+
| 'individual_taxpayer_identification_number'
|
|
316
|
+
| 'passport'
|
|
317
|
+
| 'drivers_license'
|
|
318
|
+
| 'other';
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
322
|
+
* individual's identity.
|
|
323
|
+
*/
|
|
324
|
+
number_last4: string;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface Joint {
|
|
329
|
+
/**
|
|
330
|
+
* The two individuals that share control of the entity.
|
|
331
|
+
*/
|
|
332
|
+
individuals: Array<Joint.Individuals>;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* The entity's name.
|
|
336
|
+
*/
|
|
337
|
+
name: string;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export namespace Joint {
|
|
341
|
+
export interface Individuals {
|
|
342
|
+
/**
|
|
343
|
+
* The person's address.
|
|
344
|
+
*/
|
|
345
|
+
address: Individuals.Address;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
349
|
+
*/
|
|
350
|
+
date_of_birth: string;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* A means of verifying the person's identity.
|
|
354
|
+
*/
|
|
355
|
+
identification: Individuals.Identification;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* The person's legal name.
|
|
359
|
+
*/
|
|
360
|
+
name: string;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
export namespace Individuals {
|
|
364
|
+
export interface Address {
|
|
365
|
+
/**
|
|
366
|
+
* The city of the address.
|
|
367
|
+
*/
|
|
368
|
+
city: string;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* The first line of the address.
|
|
372
|
+
*/
|
|
373
|
+
line1: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* The second line of the address.
|
|
377
|
+
*/
|
|
378
|
+
line2: string | null;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
382
|
+
* the address.
|
|
383
|
+
*/
|
|
384
|
+
state: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* The ZIP code of the address.
|
|
388
|
+
*/
|
|
389
|
+
zip: string;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export interface Identification {
|
|
393
|
+
/**
|
|
394
|
+
* A method that can be used to verify the individual's identity.
|
|
395
|
+
*/
|
|
396
|
+
method:
|
|
397
|
+
| 'social_security_number'
|
|
398
|
+
| 'individual_taxpayer_identification_number'
|
|
399
|
+
| 'passport'
|
|
400
|
+
| 'drivers_license'
|
|
401
|
+
| 'other';
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
405
|
+
* individual's identity.
|
|
406
|
+
*/
|
|
407
|
+
number_last4: string;
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export interface Trust {
|
|
413
|
+
/**
|
|
414
|
+
* The trust's address.
|
|
415
|
+
*/
|
|
416
|
+
address: Trust.Address;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Whether the trust is `revocable` or `irrevocable`.
|
|
420
|
+
*/
|
|
421
|
+
category: 'revocable' | 'irrevocable';
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* The ID for the File containing the formation document of the trust.
|
|
425
|
+
*/
|
|
426
|
+
formation_document_file_id: string | null;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
430
|
+
* which the trust was formed.
|
|
431
|
+
*/
|
|
432
|
+
formation_state: string | null;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* The grantor of the trust. Will be present if the `category` is `revocable`.
|
|
436
|
+
*/
|
|
437
|
+
grantor: Trust.Grantor | null;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* The trust's name
|
|
441
|
+
*/
|
|
442
|
+
name: string;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* The Employer Identification Number (EIN) of the trust itself.
|
|
446
|
+
*/
|
|
447
|
+
tax_identifier: string | null;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* The trustees of the trust.
|
|
451
|
+
*/
|
|
452
|
+
trustees: Array<Trust.Trustees>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export namespace Trust {
|
|
456
|
+
export interface Address {
|
|
457
|
+
/**
|
|
458
|
+
* The city of the address.
|
|
459
|
+
*/
|
|
460
|
+
city: string;
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* The first line of the address.
|
|
464
|
+
*/
|
|
465
|
+
line1: string;
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* The second line of the address.
|
|
469
|
+
*/
|
|
470
|
+
line2: string | null;
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
474
|
+
* the address.
|
|
475
|
+
*/
|
|
476
|
+
state: string;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* The ZIP code of the address.
|
|
480
|
+
*/
|
|
481
|
+
zip: string;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export interface Trustees {
|
|
485
|
+
/**
|
|
486
|
+
* The individual trustee of the trust. Will be present if the trustee's
|
|
487
|
+
* `structure` is equal to `individual`.
|
|
488
|
+
*/
|
|
489
|
+
individual: Trustees.Individual | null;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* The structure of the trustee. Will always be equal to `individual`.
|
|
493
|
+
*/
|
|
494
|
+
structure: 'individual';
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export namespace Trustees {
|
|
498
|
+
export interface Individual {
|
|
499
|
+
/**
|
|
500
|
+
* The person's address.
|
|
501
|
+
*/
|
|
502
|
+
address: Individual.Address;
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
506
|
+
*/
|
|
507
|
+
date_of_birth: string;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* A means of verifying the person's identity.
|
|
511
|
+
*/
|
|
512
|
+
identification: Individual.Identification;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* The person's legal name.
|
|
516
|
+
*/
|
|
517
|
+
name: string;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export namespace Individual {
|
|
521
|
+
export interface Address {
|
|
522
|
+
/**
|
|
523
|
+
* The city of the address.
|
|
524
|
+
*/
|
|
525
|
+
city: string;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* The first line of the address.
|
|
529
|
+
*/
|
|
530
|
+
line1: string;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* The second line of the address.
|
|
534
|
+
*/
|
|
535
|
+
line2: string | null;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
539
|
+
* the address.
|
|
540
|
+
*/
|
|
541
|
+
state: string;
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* The ZIP code of the address.
|
|
545
|
+
*/
|
|
546
|
+
zip: string;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface Identification {
|
|
550
|
+
/**
|
|
551
|
+
* A method that can be used to verify the individual's identity.
|
|
552
|
+
*/
|
|
553
|
+
method:
|
|
554
|
+
| 'social_security_number'
|
|
555
|
+
| 'individual_taxpayer_identification_number'
|
|
556
|
+
| 'passport'
|
|
557
|
+
| 'drivers_license'
|
|
558
|
+
| 'other';
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
562
|
+
* individual's identity.
|
|
563
|
+
*/
|
|
564
|
+
number_last4: string;
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export interface Grantor {
|
|
570
|
+
/**
|
|
571
|
+
* The person's address.
|
|
572
|
+
*/
|
|
573
|
+
address: Grantor.Address;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
577
|
+
*/
|
|
578
|
+
date_of_birth: string;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* A means of verifying the person's identity.
|
|
582
|
+
*/
|
|
583
|
+
identification: Grantor.Identification;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* The person's legal name.
|
|
587
|
+
*/
|
|
588
|
+
name: string;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
export namespace Grantor {
|
|
592
|
+
export interface Address {
|
|
593
|
+
/**
|
|
594
|
+
* The city of the address.
|
|
595
|
+
*/
|
|
596
|
+
city: string;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* The first line of the address.
|
|
600
|
+
*/
|
|
601
|
+
line1: string;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* The second line of the address.
|
|
605
|
+
*/
|
|
606
|
+
line2: string | null;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
610
|
+
* the address.
|
|
611
|
+
*/
|
|
612
|
+
state: string;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* The ZIP code of the address.
|
|
616
|
+
*/
|
|
617
|
+
zip: string;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export interface Identification {
|
|
621
|
+
/**
|
|
622
|
+
* A method that can be used to verify the individual's identity.
|
|
623
|
+
*/
|
|
624
|
+
method:
|
|
625
|
+
| 'social_security_number'
|
|
626
|
+
| 'individual_taxpayer_identification_number'
|
|
627
|
+
| 'passport'
|
|
628
|
+
| 'drivers_license'
|
|
629
|
+
| 'other';
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
633
|
+
* individual's identity.
|
|
634
|
+
*/
|
|
635
|
+
number_last4: string;
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export interface SupplementalDocuments {
|
|
641
|
+
/**
|
|
642
|
+
* The File containing the document.
|
|
643
|
+
*/
|
|
644
|
+
file_id: string;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export interface EntityCreateParams {
|
|
649
|
+
/**
|
|
650
|
+
* The relationship between your group and the entity.
|
|
651
|
+
*/
|
|
652
|
+
relationship: 'affiliated' | 'informational' | 'unaffiliated';
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* The type of Entity to create.
|
|
656
|
+
*/
|
|
657
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust';
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* Details of the corporation entity to create. Required if `structure` is equal to
|
|
661
|
+
* `corporation`.
|
|
662
|
+
*/
|
|
663
|
+
corporation?: EntityCreateParams.Corporation;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* The description you choose to give the entity.
|
|
667
|
+
*/
|
|
668
|
+
description?: string;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Details of the joint entity to create. Required if `structure` is equal to
|
|
672
|
+
* `joint`.
|
|
673
|
+
*/
|
|
674
|
+
joint?: EntityCreateParams.Joint;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Details of the natural person entity to create. Required if `structure` is equal
|
|
678
|
+
* to `natural_person`. Natural people entities should be submitted with
|
|
679
|
+
* `social_security_number` or `individual_taxpayer_identification_number`
|
|
680
|
+
* identification methods.
|
|
681
|
+
*/
|
|
682
|
+
natural_person?: EntityCreateParams.NaturalPerson;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Additional documentation associated with the entity.
|
|
686
|
+
*/
|
|
687
|
+
supplemental_documents?: Array<EntityCreateParams.SupplementalDocuments>;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Details of the trust entity to create. Required if `structure` is equal to
|
|
691
|
+
* `trust`.
|
|
692
|
+
*/
|
|
693
|
+
trust?: EntityCreateParams.Trust;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
export namespace EntityCreateParams {
|
|
697
|
+
export interface Corporation {
|
|
698
|
+
/**
|
|
699
|
+
* The corporation's address.
|
|
700
|
+
*/
|
|
701
|
+
address: Corporation.Address;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
705
|
+
* corporation.
|
|
706
|
+
*/
|
|
707
|
+
beneficial_owners: Array<Corporation.BeneficialOwners>;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* The legal name of the corporation.
|
|
711
|
+
*/
|
|
712
|
+
name: string;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
716
|
+
*/
|
|
717
|
+
tax_identifier: string;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
721
|
+
* corporation's state of incorporation.
|
|
722
|
+
*/
|
|
723
|
+
incorporation_state?: string;
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* The website of the corporation.
|
|
727
|
+
*/
|
|
728
|
+
website?: string;
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export namespace Corporation {
|
|
732
|
+
export interface Address {
|
|
733
|
+
/**
|
|
734
|
+
* The city of the address.
|
|
735
|
+
*/
|
|
736
|
+
city: string;
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* The first line of the address. This is usually the street number and street.
|
|
740
|
+
*/
|
|
741
|
+
line1: string;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
745
|
+
* the address.
|
|
746
|
+
*/
|
|
747
|
+
state: string;
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* The ZIP code of the address.
|
|
751
|
+
*/
|
|
752
|
+
zip: string;
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* The second line of the address. This might be the floor or room number.
|
|
756
|
+
*/
|
|
757
|
+
line2?: string;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
export interface BeneficialOwners {
|
|
761
|
+
/**
|
|
762
|
+
* Personal details for the beneficial owner.
|
|
763
|
+
*/
|
|
764
|
+
individual: BeneficialOwners.Individual;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Why this person is considered a beneficial owner of the entity.
|
|
768
|
+
*/
|
|
769
|
+
prong: 'ownership' | 'control';
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* This person's role or title within the entity.
|
|
773
|
+
*/
|
|
774
|
+
company_title?: string;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export namespace BeneficialOwners {
|
|
778
|
+
export interface Individual {
|
|
779
|
+
/**
|
|
780
|
+
* The individual's address.
|
|
781
|
+
*/
|
|
782
|
+
address: Individual.Address;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
786
|
+
*/
|
|
787
|
+
date_of_birth: string;
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* A means of verifying the person's identity.
|
|
791
|
+
*/
|
|
792
|
+
identification: Individual.Identification;
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* The person's legal name.
|
|
796
|
+
*/
|
|
797
|
+
name: string;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* The identification method for an individual can only be a passport, driver's
|
|
801
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
802
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
803
|
+
* Number).
|
|
804
|
+
*/
|
|
805
|
+
confirmed_no_us_tax_id?: boolean;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
export namespace Individual {
|
|
809
|
+
export interface Address {
|
|
810
|
+
/**
|
|
811
|
+
* The city of the address.
|
|
812
|
+
*/
|
|
813
|
+
city: string;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* The first line of the address. This is usually the street number and street.
|
|
817
|
+
*/
|
|
818
|
+
line1: string;
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
822
|
+
* the address.
|
|
823
|
+
*/
|
|
824
|
+
state: string;
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* The ZIP code of the address.
|
|
828
|
+
*/
|
|
829
|
+
zip: string;
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* The second line of the address. This might be the floor or room number.
|
|
833
|
+
*/
|
|
834
|
+
line2?: string;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export interface Identification {
|
|
838
|
+
/**
|
|
839
|
+
* A method that can be used to verify the individual's identity.
|
|
840
|
+
*/
|
|
841
|
+
method:
|
|
842
|
+
| 'social_security_number'
|
|
843
|
+
| 'individual_taxpayer_identification_number'
|
|
844
|
+
| 'passport'
|
|
845
|
+
| 'drivers_license'
|
|
846
|
+
| 'other';
|
|
847
|
+
|
|
848
|
+
/**
|
|
849
|
+
* An identification number that can be used to verify the individual's identity,
|
|
850
|
+
* such as a social security number.
|
|
851
|
+
*/
|
|
852
|
+
number: string;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Information about the United States driver's license used for identification.
|
|
856
|
+
* Required if `method` is equal to `drivers_license`.
|
|
857
|
+
*/
|
|
858
|
+
drivers_license?: Identification.DriversLicense;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* Information about the identification document provided. Required if `method` is
|
|
862
|
+
* equal to `other`.
|
|
863
|
+
*/
|
|
864
|
+
other?: Identification.Other;
|
|
865
|
+
|
|
866
|
+
/**
|
|
867
|
+
* Information about the passport used for identification. Required if `method` is
|
|
868
|
+
* equal to `passport`.
|
|
869
|
+
*/
|
|
870
|
+
passport?: Identification.Passport;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
export namespace Identification {
|
|
874
|
+
export interface Passport {
|
|
875
|
+
/**
|
|
876
|
+
* The country that issued the passport.
|
|
877
|
+
*/
|
|
878
|
+
country: string;
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
882
|
+
*/
|
|
883
|
+
expiration_date: string;
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* The identifier of the File containing the passport.
|
|
887
|
+
*/
|
|
888
|
+
file_id: string;
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export interface DriversLicense {
|
|
892
|
+
/**
|
|
893
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
894
|
+
*/
|
|
895
|
+
expiration_date: string;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* The identifier of the File containing the driver's license.
|
|
899
|
+
*/
|
|
900
|
+
file_id: string;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* The state that issued the provided driver's license.
|
|
904
|
+
*/
|
|
905
|
+
state: string;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export interface Other {
|
|
909
|
+
/**
|
|
910
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
911
|
+
* document.
|
|
912
|
+
*/
|
|
913
|
+
country: string;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* A description of the document submitted.
|
|
917
|
+
*/
|
|
918
|
+
description: string;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* The identifier of the File containing the document.
|
|
922
|
+
*/
|
|
923
|
+
file_id: string;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
927
|
+
*/
|
|
928
|
+
expiration_date?: string;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
export interface NaturalPerson {
|
|
936
|
+
/**
|
|
937
|
+
* The individual's address.
|
|
938
|
+
*/
|
|
939
|
+
address: NaturalPerson.Address;
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
943
|
+
*/
|
|
944
|
+
date_of_birth: string;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* A means of verifying the person's identity.
|
|
948
|
+
*/
|
|
949
|
+
identification: NaturalPerson.Identification;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* The person's legal name.
|
|
953
|
+
*/
|
|
954
|
+
name: string;
|
|
955
|
+
|
|
956
|
+
/**
|
|
957
|
+
* The identification method for an individual can only be a passport, driver's
|
|
958
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
959
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
960
|
+
* Number).
|
|
961
|
+
*/
|
|
962
|
+
confirmed_no_us_tax_id?: boolean;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export namespace NaturalPerson {
|
|
966
|
+
export interface Address {
|
|
967
|
+
/**
|
|
968
|
+
* The city of the address.
|
|
969
|
+
*/
|
|
970
|
+
city: string;
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* The first line of the address. This is usually the street number and street.
|
|
974
|
+
*/
|
|
975
|
+
line1: string;
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
979
|
+
* the address.
|
|
980
|
+
*/
|
|
981
|
+
state: string;
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* The ZIP code of the address.
|
|
985
|
+
*/
|
|
986
|
+
zip: string;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* The second line of the address. This might be the floor or room number.
|
|
990
|
+
*/
|
|
991
|
+
line2?: string;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export interface Identification {
|
|
995
|
+
/**
|
|
996
|
+
* A method that can be used to verify the individual's identity.
|
|
997
|
+
*/
|
|
998
|
+
method:
|
|
999
|
+
| 'social_security_number'
|
|
1000
|
+
| 'individual_taxpayer_identification_number'
|
|
1001
|
+
| 'passport'
|
|
1002
|
+
| 'drivers_license'
|
|
1003
|
+
| 'other';
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1007
|
+
* such as a social security number.
|
|
1008
|
+
*/
|
|
1009
|
+
number: string;
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* Information about the United States driver's license used for identification.
|
|
1013
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1014
|
+
*/
|
|
1015
|
+
drivers_license?: Identification.DriversLicense;
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Information about the identification document provided. Required if `method` is
|
|
1019
|
+
* equal to `other`.
|
|
1020
|
+
*/
|
|
1021
|
+
other?: Identification.Other;
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1025
|
+
* equal to `passport`.
|
|
1026
|
+
*/
|
|
1027
|
+
passport?: Identification.Passport;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export namespace Identification {
|
|
1031
|
+
export interface Passport {
|
|
1032
|
+
/**
|
|
1033
|
+
* The country that issued the passport.
|
|
1034
|
+
*/
|
|
1035
|
+
country: string;
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1039
|
+
*/
|
|
1040
|
+
expiration_date: string;
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* The identifier of the File containing the passport.
|
|
1044
|
+
*/
|
|
1045
|
+
file_id: string;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
export interface DriversLicense {
|
|
1049
|
+
/**
|
|
1050
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1051
|
+
*/
|
|
1052
|
+
expiration_date: string;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* The identifier of the File containing the driver's license.
|
|
1056
|
+
*/
|
|
1057
|
+
file_id: string;
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* The state that issued the provided driver's license.
|
|
1061
|
+
*/
|
|
1062
|
+
state: string;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
export interface Other {
|
|
1066
|
+
/**
|
|
1067
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1068
|
+
* document.
|
|
1069
|
+
*/
|
|
1070
|
+
country: string;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* A description of the document submitted.
|
|
1074
|
+
*/
|
|
1075
|
+
description: string;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* The identifier of the File containing the document.
|
|
1079
|
+
*/
|
|
1080
|
+
file_id: string;
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1084
|
+
*/
|
|
1085
|
+
expiration_date?: string;
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
export interface Joint {
|
|
1091
|
+
/**
|
|
1092
|
+
* The two individuals that share control of the entity.
|
|
1093
|
+
*/
|
|
1094
|
+
individuals: Array<Joint.Individuals>;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* The name of the joint entity.
|
|
1098
|
+
*/
|
|
1099
|
+
name?: string;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export namespace Joint {
|
|
1103
|
+
export interface Individuals {
|
|
1104
|
+
/**
|
|
1105
|
+
* The individual's address.
|
|
1106
|
+
*/
|
|
1107
|
+
address: Individuals.Address;
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1111
|
+
*/
|
|
1112
|
+
date_of_birth: string;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* A means of verifying the person's identity.
|
|
1116
|
+
*/
|
|
1117
|
+
identification: Individuals.Identification;
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* The person's legal name.
|
|
1121
|
+
*/
|
|
1122
|
+
name: string;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1126
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1127
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1128
|
+
* Number).
|
|
1129
|
+
*/
|
|
1130
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
export namespace Individuals {
|
|
1134
|
+
export interface Address {
|
|
1135
|
+
/**
|
|
1136
|
+
* The city of the address.
|
|
1137
|
+
*/
|
|
1138
|
+
city: string;
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* The first line of the address. This is usually the street number and street.
|
|
1142
|
+
*/
|
|
1143
|
+
line1: string;
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1147
|
+
* the address.
|
|
1148
|
+
*/
|
|
1149
|
+
state: string;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* The ZIP code of the address.
|
|
1153
|
+
*/
|
|
1154
|
+
zip: string;
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* The second line of the address. This might be the floor or room number.
|
|
1158
|
+
*/
|
|
1159
|
+
line2?: string;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export interface Identification {
|
|
1163
|
+
/**
|
|
1164
|
+
* A method that can be used to verify the individual's identity.
|
|
1165
|
+
*/
|
|
1166
|
+
method:
|
|
1167
|
+
| 'social_security_number'
|
|
1168
|
+
| 'individual_taxpayer_identification_number'
|
|
1169
|
+
| 'passport'
|
|
1170
|
+
| 'drivers_license'
|
|
1171
|
+
| 'other';
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1175
|
+
* such as a social security number.
|
|
1176
|
+
*/
|
|
1177
|
+
number: string;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Information about the United States driver's license used for identification.
|
|
1181
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1182
|
+
*/
|
|
1183
|
+
drivers_license?: Identification.DriversLicense;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Information about the identification document provided. Required if `method` is
|
|
1187
|
+
* equal to `other`.
|
|
1188
|
+
*/
|
|
1189
|
+
other?: Identification.Other;
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1193
|
+
* equal to `passport`.
|
|
1194
|
+
*/
|
|
1195
|
+
passport?: Identification.Passport;
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export namespace Identification {
|
|
1199
|
+
export interface Passport {
|
|
1200
|
+
/**
|
|
1201
|
+
* The country that issued the passport.
|
|
1202
|
+
*/
|
|
1203
|
+
country: string;
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1207
|
+
*/
|
|
1208
|
+
expiration_date: string;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* The identifier of the File containing the passport.
|
|
1212
|
+
*/
|
|
1213
|
+
file_id: string;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
export interface DriversLicense {
|
|
1217
|
+
/**
|
|
1218
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1219
|
+
*/
|
|
1220
|
+
expiration_date: string;
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* The identifier of the File containing the driver's license.
|
|
1224
|
+
*/
|
|
1225
|
+
file_id: string;
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* The state that issued the provided driver's license.
|
|
1229
|
+
*/
|
|
1230
|
+
state: string;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
export interface Other {
|
|
1234
|
+
/**
|
|
1235
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1236
|
+
* document.
|
|
1237
|
+
*/
|
|
1238
|
+
country: string;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* A description of the document submitted.
|
|
1242
|
+
*/
|
|
1243
|
+
description: string;
|
|
1244
|
+
|
|
1245
|
+
/**
|
|
1246
|
+
* The identifier of the File containing the document.
|
|
1247
|
+
*/
|
|
1248
|
+
file_id: string;
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1252
|
+
*/
|
|
1253
|
+
expiration_date?: string;
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
export interface Trust {
|
|
1260
|
+
/**
|
|
1261
|
+
* The trust's address.
|
|
1262
|
+
*/
|
|
1263
|
+
address: Trust.Address;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require
|
|
1267
|
+
* their own Employer Identification Number. Revocable trusts require information
|
|
1268
|
+
* about the individual `grantor` who created the trust.
|
|
1269
|
+
*/
|
|
1270
|
+
category: 'revocable' | 'irrevocable';
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* The legal name of the trust.
|
|
1274
|
+
*/
|
|
1275
|
+
name: string;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* The trustees of the trust.
|
|
1279
|
+
*/
|
|
1280
|
+
trustees: Array<Trust.Trustees>;
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* The identifier of the File containing the formation document of the trust.
|
|
1284
|
+
*/
|
|
1285
|
+
formation_document_file_id?: string;
|
|
1286
|
+
|
|
1287
|
+
/**
|
|
1288
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
1289
|
+
* which the trust was formed.
|
|
1290
|
+
*/
|
|
1291
|
+
formation_state?: string;
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* The grantor of the trust. Required if `category` is equal to `revocable`.
|
|
1295
|
+
*/
|
|
1296
|
+
grantor?: Trust.Grantor;
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* The Employer Identification Number (EIN) for the trust. Required if `category`
|
|
1300
|
+
* is equal to `irrevocable`.
|
|
1301
|
+
*/
|
|
1302
|
+
tax_identifier?: string;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
export namespace Trust {
|
|
1306
|
+
export interface Address {
|
|
1307
|
+
/**
|
|
1308
|
+
* The city of the address.
|
|
1309
|
+
*/
|
|
1310
|
+
city: string;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* The first line of the address. This is usually the street number and street.
|
|
1314
|
+
*/
|
|
1315
|
+
line1: string;
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1319
|
+
* the address.
|
|
1320
|
+
*/
|
|
1321
|
+
state: string;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* The ZIP code of the address.
|
|
1325
|
+
*/
|
|
1326
|
+
zip: string;
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* The second line of the address. This might be the floor or room number.
|
|
1330
|
+
*/
|
|
1331
|
+
line2?: string;
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
export interface Trustees {
|
|
1335
|
+
/**
|
|
1336
|
+
* The structure of the trustee.
|
|
1337
|
+
*/
|
|
1338
|
+
structure: 'individual';
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Details of the individual trustee. Required when the trustee `structure` is
|
|
1342
|
+
* equal to `individual`.
|
|
1343
|
+
*/
|
|
1344
|
+
individual?: Trustees.Individual;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
export namespace Trustees {
|
|
1348
|
+
export interface Individual {
|
|
1349
|
+
/**
|
|
1350
|
+
* The individual's address.
|
|
1351
|
+
*/
|
|
1352
|
+
address: Individual.Address;
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1356
|
+
*/
|
|
1357
|
+
date_of_birth: string;
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* A means of verifying the person's identity.
|
|
1361
|
+
*/
|
|
1362
|
+
identification: Individual.Identification;
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* The person's legal name.
|
|
1366
|
+
*/
|
|
1367
|
+
name: string;
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1371
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1372
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1373
|
+
* Number).
|
|
1374
|
+
*/
|
|
1375
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
export namespace Individual {
|
|
1379
|
+
export interface Address {
|
|
1380
|
+
/**
|
|
1381
|
+
* The city of the address.
|
|
1382
|
+
*/
|
|
1383
|
+
city: string;
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* The first line of the address. This is usually the street number and street.
|
|
1387
|
+
*/
|
|
1388
|
+
line1: string;
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1392
|
+
* the address.
|
|
1393
|
+
*/
|
|
1394
|
+
state: string;
|
|
1395
|
+
|
|
1396
|
+
/**
|
|
1397
|
+
* The ZIP code of the address.
|
|
1398
|
+
*/
|
|
1399
|
+
zip: string;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* The second line of the address. This might be the floor or room number.
|
|
1403
|
+
*/
|
|
1404
|
+
line2?: string;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
export interface Identification {
|
|
1408
|
+
/**
|
|
1409
|
+
* A method that can be used to verify the individual's identity.
|
|
1410
|
+
*/
|
|
1411
|
+
method:
|
|
1412
|
+
| 'social_security_number'
|
|
1413
|
+
| 'individual_taxpayer_identification_number'
|
|
1414
|
+
| 'passport'
|
|
1415
|
+
| 'drivers_license'
|
|
1416
|
+
| 'other';
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1420
|
+
* such as a social security number.
|
|
1421
|
+
*/
|
|
1422
|
+
number: string;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Information about the United States driver's license used for identification.
|
|
1426
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1427
|
+
*/
|
|
1428
|
+
drivers_license?: Identification.DriversLicense;
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* Information about the identification document provided. Required if `method` is
|
|
1432
|
+
* equal to `other`.
|
|
1433
|
+
*/
|
|
1434
|
+
other?: Identification.Other;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1438
|
+
* equal to `passport`.
|
|
1439
|
+
*/
|
|
1440
|
+
passport?: Identification.Passport;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export namespace Identification {
|
|
1444
|
+
export interface Passport {
|
|
1445
|
+
/**
|
|
1446
|
+
* The country that issued the passport.
|
|
1447
|
+
*/
|
|
1448
|
+
country: string;
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1452
|
+
*/
|
|
1453
|
+
expiration_date: string;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* The identifier of the File containing the passport.
|
|
1457
|
+
*/
|
|
1458
|
+
file_id: string;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export interface DriversLicense {
|
|
1462
|
+
/**
|
|
1463
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1464
|
+
*/
|
|
1465
|
+
expiration_date: string;
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* The identifier of the File containing the driver's license.
|
|
1469
|
+
*/
|
|
1470
|
+
file_id: string;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* The state that issued the provided driver's license.
|
|
1474
|
+
*/
|
|
1475
|
+
state: string;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
export interface Other {
|
|
1479
|
+
/**
|
|
1480
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1481
|
+
* document.
|
|
1482
|
+
*/
|
|
1483
|
+
country: string;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* A description of the document submitted.
|
|
1487
|
+
*/
|
|
1488
|
+
description: string;
|
|
1489
|
+
|
|
1490
|
+
/**
|
|
1491
|
+
* The identifier of the File containing the document.
|
|
1492
|
+
*/
|
|
1493
|
+
file_id: string;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1497
|
+
*/
|
|
1498
|
+
expiration_date?: string;
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
export interface Grantor {
|
|
1505
|
+
/**
|
|
1506
|
+
* The individual's address.
|
|
1507
|
+
*/
|
|
1508
|
+
address: Grantor.Address;
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1512
|
+
*/
|
|
1513
|
+
date_of_birth: string;
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* A means of verifying the person's identity.
|
|
1517
|
+
*/
|
|
1518
|
+
identification: Grantor.Identification;
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* The person's legal name.
|
|
1522
|
+
*/
|
|
1523
|
+
name: string;
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1527
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1528
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1529
|
+
* Number).
|
|
1530
|
+
*/
|
|
1531
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
export namespace Grantor {
|
|
1535
|
+
export interface Address {
|
|
1536
|
+
/**
|
|
1537
|
+
* The city of the address.
|
|
1538
|
+
*/
|
|
1539
|
+
city: string;
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* The first line of the address. This is usually the street number and street.
|
|
1543
|
+
*/
|
|
1544
|
+
line1: string;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1548
|
+
* the address.
|
|
1549
|
+
*/
|
|
1550
|
+
state: string;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* The ZIP code of the address.
|
|
1554
|
+
*/
|
|
1555
|
+
zip: string;
|
|
1556
|
+
|
|
1557
|
+
/**
|
|
1558
|
+
* The second line of the address. This might be the floor or room number.
|
|
1559
|
+
*/
|
|
1560
|
+
line2?: string;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
export interface Identification {
|
|
1564
|
+
/**
|
|
1565
|
+
* A method that can be used to verify the individual's identity.
|
|
1566
|
+
*/
|
|
1567
|
+
method:
|
|
1568
|
+
| 'social_security_number'
|
|
1569
|
+
| 'individual_taxpayer_identification_number'
|
|
1570
|
+
| 'passport'
|
|
1571
|
+
| 'drivers_license'
|
|
1572
|
+
| 'other';
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1576
|
+
* such as a social security number.
|
|
1577
|
+
*/
|
|
1578
|
+
number: string;
|
|
1579
|
+
|
|
1580
|
+
/**
|
|
1581
|
+
* Information about the United States driver's license used for identification.
|
|
1582
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1583
|
+
*/
|
|
1584
|
+
drivers_license?: Identification.DriversLicense;
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Information about the identification document provided. Required if `method` is
|
|
1588
|
+
* equal to `other`.
|
|
1589
|
+
*/
|
|
1590
|
+
other?: Identification.Other;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1594
|
+
* equal to `passport`.
|
|
1595
|
+
*/
|
|
1596
|
+
passport?: Identification.Passport;
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
export namespace Identification {
|
|
1600
|
+
export interface Passport {
|
|
1601
|
+
/**
|
|
1602
|
+
* The country that issued the passport.
|
|
1603
|
+
*/
|
|
1604
|
+
country: string;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1608
|
+
*/
|
|
1609
|
+
expiration_date: string;
|
|
1610
|
+
|
|
1611
|
+
/**
|
|
1612
|
+
* The identifier of the File containing the passport.
|
|
1613
|
+
*/
|
|
1614
|
+
file_id: string;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
export interface DriversLicense {
|
|
1618
|
+
/**
|
|
1619
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1620
|
+
*/
|
|
1621
|
+
expiration_date: string;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* The identifier of the File containing the driver's license.
|
|
1625
|
+
*/
|
|
1626
|
+
file_id: string;
|
|
1627
|
+
|
|
1628
|
+
/**
|
|
1629
|
+
* The state that issued the provided driver's license.
|
|
1630
|
+
*/
|
|
1631
|
+
state: string;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
export interface Other {
|
|
1635
|
+
/**
|
|
1636
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1637
|
+
* document.
|
|
1638
|
+
*/
|
|
1639
|
+
country: string;
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1642
|
+
* A description of the document submitted.
|
|
1643
|
+
*/
|
|
1644
|
+
description: string;
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* The identifier of the File containing the document.
|
|
1648
|
+
*/
|
|
1649
|
+
file_id: string;
|
|
1650
|
+
|
|
1651
|
+
/**
|
|
1652
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1653
|
+
*/
|
|
1654
|
+
expiration_date?: string;
|
|
1655
|
+
}
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export interface SupplementalDocuments {
|
|
1661
|
+
/**
|
|
1662
|
+
* The identifier of the File containing the document.
|
|
1663
|
+
*/
|
|
1664
|
+
file_id: string;
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
export interface EntityListParams extends PageParams {}
|