increase 0.377.0 → 0.378.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 +180 -4442
- package/README.md +115 -50
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/bin/cli +46 -0
- package/bin/migration-config.json +6 -0
- package/client.d.mts +382 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +382 -0
- package/client.d.ts.map +1 -0
- package/client.js +650 -0
- package/client.js.map +1 -0
- package/client.mjs +646 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +145 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +145 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +280 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +253 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +67 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +67 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +101 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +95 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +1 -145
- package/error.d.ts.map +1 -1
- package/error.js +3 -277
- package/error.js.map +1 -1
- package/error.mjs +1 -252
- package/error.mjs.map +1 -1
- package/index.d.mts +7 -320
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -319
- package/index.d.ts.map +1 -1
- package/index.js +14 -358
- package/index.js.map +1 -1
- package/index.mjs +6 -331
- package/index.mjs.map +1 -1
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/qs/formats.d.mts +7 -0
- package/internal/qs/formats.d.mts.map +1 -0
- package/internal/qs/formats.d.ts +1 -0
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/formats.js +4 -2
- package/internal/qs/formats.js.map +1 -1
- package/internal/qs/formats.mjs +2 -1
- package/internal/qs/formats.mjs.map +1 -1
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.js +16 -19
- package/internal/qs/stringify.js.map +1 -1
- package/internal/qs/stringify.mjs +17 -19
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/utils.d.mts +15 -0
- package/internal/qs/utils.d.mts.map +1 -0
- package/internal/qs/utils.d.ts +1 -0
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.js +22 -21
- package/internal/qs/utils.js.map +1 -1
- package/internal/qs/utils.mjs +12 -12
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +114 -66
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +1 -30
- package/pagination.d.ts.map +1 -1
- package/pagination.js +3 -37
- package/pagination.js.map +1 -1
- package/pagination.mjs +1 -35
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +1 -5
- package/resource.d.ts.map +1 -1
- package/resource.js +3 -8
- package/resource.js.map +1 -1
- package/resource.mjs +1 -6
- package/resource.mjs.map +1 -1
- package/resources/account-numbers.d.mts +309 -0
- package/resources/account-numbers.d.mts.map +1 -0
- package/resources/account-numbers.d.ts +10 -11
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js +20 -16
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +19 -14
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.mts +113 -0
- package/resources/account-statements.d.mts.map +1 -0
- package/resources/account-statements.d.ts +8 -9
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +18 -14
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +17 -12
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.mts +325 -0
- package/resources/account-transfers.d.mts.map +1 -0
- package/resources/account-transfers.d.ts +11 -12
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +22 -18
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +21 -16
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.mts +291 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +12 -14
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +35 -23
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +34 -21
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.mts +473 -0
- package/resources/ach-prenotifications.d.mts.map +1 -0
- package/resources/ach-prenotifications.d.ts +9 -10
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +18 -14
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +17 -12
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.mts +1091 -0
- package/resources/ach-transfers.d.mts.map +1 -0
- package/resources/ach-transfers.d.ts +11 -12
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +22 -18
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +21 -16
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.mts +164 -0
- package/resources/bookkeeping-accounts.d.mts.map +1 -0
- package/resources/bookkeeping-accounts.d.ts +10 -12
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +34 -19
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +33 -17
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.mts +74 -0
- package/resources/bookkeeping-entries.d.mts.map +1 -0
- package/resources/bookkeeping-entries.d.ts +8 -9
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +18 -14
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +17 -12
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.mts +156 -0
- package/resources/bookkeeping-entry-sets.d.mts.map +1 -0
- package/resources/bookkeeping-entry-sets.d.ts +9 -10
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +18 -14
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +17 -12
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.mts +5657 -0
- package/resources/card-disputes.d.mts.map +1 -0
- package/resources/card-disputes.d.ts +11 -12
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +25 -18
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +24 -16
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.mts +4523 -0
- package/resources/card-payments.d.mts.map +1 -0
- package/resources/card-payments.d.ts +8 -9
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +18 -14
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +17 -12
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.mts +266 -0
- package/resources/card-purchase-supplements.d.mts.map +1 -0
- package/resources/card-purchase-supplements.d.ts +8 -9
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +18 -14
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +17 -12
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/card-push-transfers.d.mts +992 -0
- package/resources/card-push-transfers.d.mts.map +1 -0
- package/resources/card-push-transfers.d.ts +11 -12
- package/resources/card-push-transfers.d.ts.map +1 -1
- package/resources/card-push-transfers.js +22 -18
- package/resources/card-push-transfers.js.map +1 -1
- package/resources/card-push-transfers.mjs +21 -16
- package/resources/card-push-transfers.mjs.map +1 -1
- package/resources/card-tokens.d.mts +153 -0
- package/resources/card-tokens.d.mts.map +1 -0
- package/resources/card-tokens.d.ts +9 -10
- package/resources/card-tokens.d.ts.map +1 -1
- package/resources/card-tokens.js +20 -16
- package/resources/card-tokens.js.map +1 -1
- package/resources/card-tokens.mjs +19 -14
- package/resources/card-tokens.mjs.map +1 -1
- package/resources/card-validations.d.mts +513 -0
- package/resources/card-validations.d.mts.map +1 -0
- package/resources/card-validations.d.ts +9 -10
- package/resources/card-validations.d.ts.map +1 -1
- package/resources/card-validations.js +18 -14
- package/resources/card-validations.js.map +1 -1
- package/resources/card-validations.mjs +17 -12
- package/resources/card-validations.mjs.map +1 -1
- package/resources/cards.d.mts +486 -0
- package/resources/cards.d.mts.map +1 -0
- package/resources/cards.d.ts +13 -14
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +26 -22
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +25 -20
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.mts +453 -0
- package/resources/check-deposits.d.mts.map +1 -0
- package/resources/check-deposits.d.ts +9 -10
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +18 -14
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +17 -12
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.mts +874 -0
- package/resources/check-transfers.d.mts.map +1 -0
- package/resources/check-transfers.d.ts +12 -13
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +24 -20
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +23 -18
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.mts +1161 -0
- package/resources/declined-transactions.d.mts.map +1 -0
- package/resources/declined-transactions.d.ts +8 -9
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +21 -14
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +20 -12
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-card-profiles.d.mts +303 -0
- package/resources/digital-card-profiles.d.mts.map +1 -0
- package/resources/digital-card-profiles.d.ts +11 -12
- package/resources/digital-card-profiles.d.ts.map +1 -1
- package/resources/digital-card-profiles.js +25 -18
- package/resources/digital-card-profiles.js.map +1 -1
- package/resources/digital-card-profiles.mjs +24 -16
- package/resources/digital-card-profiles.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.mts +181 -0
- package/resources/digital-wallet-tokens.d.mts.map +1 -0
- package/resources/digital-wallet-tokens.d.ts +8 -9
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +18 -14
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +17 -12
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.mts +213 -0
- package/resources/documents.d.mts.map +1 -0
- package/resources/documents.d.ts +9 -10
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +18 -14
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +17 -12
- package/resources/documents.mjs.map +1 -1
- package/resources/entities.d.mts +2759 -0
- package/resources/entities.d.mts.map +1 -0
- package/resources/entities.d.ts +17 -18
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js +37 -30
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs +36 -28
- package/resources/entities.mjs.map +1 -1
- package/resources/event-subscriptions.d.mts +471 -0
- package/resources/event-subscriptions.d.mts.map +1 -0
- package/resources/event-subscriptions.d.ts +10 -11
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +20 -16
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +19 -14
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.mts +261 -0
- package/resources/events.d.mts.map +1 -0
- package/resources/events.d.ts +8 -9
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +18 -14
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +17 -12
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.mts +440 -0
- package/resources/exports.d.mts.map +1 -0
- package/resources/exports.d.ts +9 -10
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +18 -14
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +17 -12
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.mts +212 -0
- package/resources/external-accounts.d.mts.map +1 -0
- package/resources/external-accounts.d.ts +10 -11
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js +20 -16
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +19 -14
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/fednow-transfers.d.mts +474 -0
- package/resources/fednow-transfers.d.mts.map +1 -0
- package/resources/fednow-transfers.d.ts +11 -12
- package/resources/fednow-transfers.d.ts.map +1 -1
- package/resources/fednow-transfers.js +22 -18
- package/resources/fednow-transfers.js.map +1 -1
- package/resources/fednow-transfers.mjs +21 -16
- package/resources/fednow-transfers.mjs.map +1 -1
- package/resources/file-links.d.mts +72 -0
- package/resources/file-links.d.mts.map +1 -0
- package/resources/file-links.d.ts +4 -3
- package/resources/file-links.d.ts.map +1 -1
- package/resources/file-links.js +1 -1
- package/resources/file-links.js.map +1 -1
- package/resources/file-links.mjs +1 -1
- package/resources/file-links.mjs.map +1 -1
- package/resources/files.d.mts +242 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +11 -11
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +20 -39
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +19 -14
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.mts +54 -0
- package/resources/groups.d.mts.map +1 -0
- package/resources/groups.d.ts +4 -3
- package/resources/groups.d.ts.map +1 -1
- package/resources/groups.js +1 -1
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +1 -1
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.mts +704 -0
- package/resources/inbound-ach-transfers.d.mts.map +1 -0
- package/resources/inbound-ach-transfers.d.ts +11 -12
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +27 -23
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +26 -21
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.mts +278 -0
- package/resources/inbound-check-deposits.d.mts.map +1 -0
- package/resources/inbound-check-deposits.d.ts +10 -11
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +25 -18
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +24 -16
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-fednow-transfers.d.mts +188 -0
- package/resources/inbound-fednow-transfers.d.mts.map +1 -0
- package/resources/inbound-fednow-transfers.d.ts +8 -9
- package/resources/inbound-fednow-transfers.d.ts.map +1 -1
- package/resources/inbound-fednow-transfers.js +18 -14
- package/resources/inbound-fednow-transfers.js.map +1 -1
- package/resources/inbound-fednow-transfers.mjs +17 -12
- package/resources/inbound-fednow-transfers.mjs.map +1 -1
- package/resources/inbound-mail-items.d.mts +187 -0
- package/resources/inbound-mail-items.d.mts.map +1 -0
- package/resources/inbound-mail-items.d.ts +9 -10
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js +20 -16
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs +19 -14
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.mts +192 -0
- package/resources/inbound-real-time-payments-transfers.d.mts.map +1 -0
- package/resources/inbound-real-time-payments-transfers.d.ts +8 -9
- package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/inbound-real-time-payments-transfers.js +18 -14
- package/resources/inbound-real-time-payments-transfers.js.map +1 -1
- package/resources/inbound-real-time-payments-transfers.mjs +17 -12
- package/resources/inbound-real-time-payments-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.mts +138 -0
- package/resources/inbound-wire-drawdown-requests.d.mts.map +1 -0
- package/resources/inbound-wire-drawdown-requests.d.ts +8 -9
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +18 -14
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +17 -12
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.mts +245 -0
- package/resources/inbound-wire-transfers.d.mts.map +1 -0
- package/resources/inbound-wire-transfers.d.ts +9 -10
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js +20 -16
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs +19 -14
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.mts +58 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +51 -52
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +4 -58
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +51 -52
- package/resources/index.mjs.map +1 -1
- package/resources/intrafi-account-enrollments.d.mts +153 -0
- package/resources/intrafi-account-enrollments.d.mts.map +1 -0
- package/resources/intrafi-account-enrollments.d.ts +10 -11
- package/resources/intrafi-account-enrollments.d.ts.map +1 -1
- package/resources/intrafi-account-enrollments.js +20 -16
- package/resources/intrafi-account-enrollments.js.map +1 -1
- package/resources/intrafi-account-enrollments.mjs +19 -14
- package/resources/intrafi-account-enrollments.mjs.map +1 -1
- package/resources/intrafi-balances.d.mts +101 -0
- package/resources/intrafi-balances.d.mts.map +1 -0
- package/resources/intrafi-balances.d.ts +4 -3
- package/resources/intrafi-balances.d.ts.map +1 -1
- package/resources/intrafi-balances.js +4 -3
- package/resources/intrafi-balances.js.map +1 -1
- package/resources/intrafi-balances.mjs +4 -3
- package/resources/intrafi-balances.mjs.map +1 -1
- package/resources/intrafi-exclusions.d.mts +141 -0
- package/resources/intrafi-exclusions.d.mts.map +1 -0
- package/resources/intrafi-exclusions.d.ts +10 -11
- package/resources/intrafi-exclusions.d.ts.map +1 -1
- package/resources/intrafi-exclusions.js +20 -16
- package/resources/intrafi-exclusions.js.map +1 -1
- package/resources/intrafi-exclusions.mjs +19 -14
- package/resources/intrafi-exclusions.mjs.map +1 -1
- package/resources/lockboxes.d.mts +215 -0
- package/resources/lockboxes.d.mts.map +1 -0
- package/resources/lockboxes.d.ts +10 -11
- package/resources/lockboxes.d.ts.map +1 -1
- package/resources/lockboxes.js +20 -16
- package/resources/lockboxes.js.map +1 -1
- package/resources/lockboxes.mjs +19 -14
- package/resources/lockboxes.mjs.map +1 -1
- package/resources/oauth-applications.d.mts +113 -0
- package/resources/oauth-applications.d.mts.map +1 -0
- package/resources/oauth-applications.d.ts +8 -9
- package/resources/oauth-applications.d.ts.map +1 -1
- package/resources/oauth-applications.js +18 -14
- package/resources/oauth-applications.js.map +1 -1
- package/resources/oauth-applications.mjs +17 -12
- package/resources/oauth-applications.mjs.map +1 -1
- package/resources/oauth-connections.d.mts +94 -0
- package/resources/oauth-connections.d.mts.map +1 -0
- package/resources/oauth-connections.d.ts +8 -9
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +18 -14
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +17 -12
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/oauth-tokens.d.mts +77 -0
- package/resources/oauth-tokens.d.mts.map +1 -0
- package/resources/oauth-tokens.d.ts +4 -3
- package/resources/oauth-tokens.d.ts.map +1 -1
- package/resources/oauth-tokens.js +1 -1
- package/resources/oauth-tokens.js.map +1 -1
- package/resources/oauth-tokens.mjs +1 -1
- package/resources/oauth-tokens.mjs.map +1 -1
- package/resources/pending-transactions.d.mts +1182 -0
- package/resources/pending-transactions.d.mts.map +1 -0
- package/resources/pending-transactions.d.ts +10 -11
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +20 -16
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +19 -14
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-card-profiles.d.mts +268 -0
- package/resources/physical-card-profiles.d.mts.map +1 -0
- package/resources/physical-card-profiles.d.ts +11 -12
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-card-profiles.js +25 -18
- package/resources/physical-card-profiles.js.map +1 -1
- package/resources/physical-card-profiles.mjs +24 -16
- package/resources/physical-card-profiles.mjs.map +1 -1
- package/resources/physical-cards.d.mts +455 -0
- package/resources/physical-cards.d.mts.map +1 -0
- package/resources/physical-cards.d.ts +10 -11
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js +20 -16
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +19 -14
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.mts +89 -0
- package/resources/programs.d.mts.map +1 -0
- package/resources/programs.d.ts +8 -9
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +18 -14
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +17 -12
- package/resources/programs.mjs.map +1 -1
- package/resources/real-time-decisions.d.mts +1132 -0
- package/resources/real-time-decisions.d.mts.map +1 -0
- package/resources/real-time-decisions.d.ts +5 -4
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +6 -5
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +6 -5
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.mts +504 -0
- package/resources/real-time-payments-transfers.d.mts.map +1 -0
- package/resources/real-time-payments-transfers.d.ts +11 -12
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +22 -18
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +21 -16
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.mts +79 -0
- package/resources/routing-numbers.d.mts.map +1 -0
- package/resources/routing-numbers.d.ts +6 -7
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +7 -8
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +6 -6
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.mts +29 -0
- package/resources/simulations/account-statements.d.mts.map +1 -0
- package/resources/simulations/account-statements.d.ts +4 -3
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-statements.js +1 -1
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +1 -1
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.d.mts +22 -0
- package/resources/simulations/account-transfers.d.mts.map +1 -0
- package/resources/simulations/account-transfers.d.ts +4 -3
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/account-transfers.js +4 -3
- package/resources/simulations/account-transfers.js.map +1 -1
- package/resources/simulations/account-transfers.mjs +4 -3
- package/resources/simulations/account-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.mts +307 -0
- package/resources/simulations/ach-transfers.d.mts.map +1 -0
- package/resources/simulations/ach-transfers.d.ts +8 -7
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +12 -14
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +12 -14
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-authorization-expirations.d.mts +30 -0
- package/resources/simulations/card-authorization-expirations.d.mts.map +1 -0
- package/resources/simulations/card-authorization-expirations.d.ts +4 -3
- package/resources/simulations/card-authorization-expirations.d.ts.map +1 -1
- package/resources/simulations/card-authorization-expirations.js +1 -1
- package/resources/simulations/card-authorization-expirations.js.map +1 -1
- package/resources/simulations/card-authorization-expirations.mjs +1 -1
- package/resources/simulations/card-authorization-expirations.mjs.map +1 -1
- package/resources/simulations/card-authorizations.d.mts +244 -0
- package/resources/simulations/card-authorizations.d.mts.map +1 -0
- package/resources/simulations/card-authorizations.d.ts +4 -3
- package/resources/simulations/card-authorizations.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.js +1 -1
- package/resources/simulations/card-authorizations.js.map +1 -1
- package/resources/simulations/card-authorizations.mjs +1 -1
- package/resources/simulations/card-authorizations.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.mts +192 -0
- package/resources/simulations/card-disputes.d.mts.map +1 -0
- package/resources/simulations/card-disputes.d.ts +4 -3
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-disputes.js +4 -3
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +4 -3
- package/resources/simulations/card-disputes.mjs.map +1 -1
- package/resources/simulations/card-fuel-confirmations.d.mts +36 -0
- package/resources/simulations/card-fuel-confirmations.d.mts.map +1 -0
- package/resources/simulations/card-fuel-confirmations.d.ts +4 -3
- package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -1
- package/resources/simulations/card-fuel-confirmations.js +1 -1
- package/resources/simulations/card-fuel-confirmations.js.map +1 -1
- package/resources/simulations/card-fuel-confirmations.mjs +1 -1
- package/resources/simulations/card-fuel-confirmations.mjs.map +1 -1
- package/resources/simulations/card-increments.d.mts +41 -0
- package/resources/simulations/card-increments.d.mts.map +1 -0
- package/resources/simulations/card-increments.d.ts +4 -3
- package/resources/simulations/card-increments.d.ts.map +1 -1
- package/resources/simulations/card-increments.js +1 -1
- package/resources/simulations/card-increments.js.map +1 -1
- package/resources/simulations/card-increments.mjs +1 -1
- package/resources/simulations/card-increments.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.mts +39 -0
- package/resources/simulations/card-refunds.d.mts.map +1 -0
- package/resources/simulations/card-refunds.d.ts +4 -3
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/card-refunds.js +1 -1
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +1 -1
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/card-reversals.d.mts +36 -0
- package/resources/simulations/card-reversals.d.mts.map +1 -0
- package/resources/simulations/card-reversals.d.ts +4 -3
- package/resources/simulations/card-reversals.d.ts.map +1 -1
- package/resources/simulations/card-reversals.js +1 -1
- package/resources/simulations/card-reversals.js.map +1 -1
- package/resources/simulations/card-reversals.mjs +1 -1
- package/resources/simulations/card-reversals.mjs.map +1 -1
- package/resources/simulations/card-settlements.d.mts +44 -0
- package/resources/simulations/card-settlements.d.mts.map +1 -0
- package/resources/simulations/card-settlements.d.ts +4 -3
- package/resources/simulations/card-settlements.d.ts.map +1 -1
- package/resources/simulations/card-settlements.js +1 -1
- package/resources/simulations/card-settlements.js.map +1 -1
- package/resources/simulations/card-settlements.mjs +1 -1
- package/resources/simulations/card-settlements.mjs.map +1 -1
- package/resources/simulations/card-tokens.d.mts +67 -0
- package/resources/simulations/card-tokens.d.mts.map +1 -0
- package/resources/simulations/card-tokens.d.ts +4 -3
- package/resources/simulations/card-tokens.d.ts.map +1 -1
- package/resources/simulations/card-tokens.js +1 -1
- package/resources/simulations/card-tokens.js.map +1 -1
- package/resources/simulations/card-tokens.mjs +1 -1
- package/resources/simulations/card-tokens.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.mts +47 -0
- package/resources/simulations/check-deposits.d.mts.map +1 -0
- package/resources/simulations/check-deposits.d.ts +6 -5
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-deposits.js +8 -7
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +8 -7
- package/resources/simulations/check-deposits.mjs.map +1 -1
- package/resources/simulations/check-transfers.d.mts +22 -0
- package/resources/simulations/check-transfers.d.mts.map +1 -0
- package/resources/simulations/check-transfers.d.ts +4 -3
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/check-transfers.js +4 -3
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +4 -3
- package/resources/simulations/check-transfers.mjs.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.mts +55 -0
- package/resources/simulations/digital-wallet-token-requests.d.mts.map +1 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts +4 -3
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +1 -1
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
- package/resources/simulations/documents.d.mts +27 -0
- package/resources/simulations/documents.d.mts.map +1 -0
- package/resources/simulations/documents.d.ts +4 -3
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.mts +140 -0
- package/resources/simulations/inbound-ach-transfers.d.mts.map +1 -0
- package/resources/simulations/inbound-ach-transfers.d.ts +4 -3
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-ach-transfers.js +1 -1
- package/resources/simulations/inbound-ach-transfers.js.map +1 -1
- package/resources/simulations/inbound-ach-transfers.mjs +1 -1
- package/resources/simulations/inbound-ach-transfers.mjs.map +1 -1
- package/resources/simulations/inbound-check-deposits.d.mts +56 -0
- package/resources/simulations/inbound-check-deposits.d.mts.map +1 -0
- package/resources/simulations/inbound-check-deposits.d.ts +4 -3
- package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
- package/resources/simulations/inbound-check-deposits.js +1 -1
- package/resources/simulations/inbound-check-deposits.js.map +1 -1
- package/resources/simulations/inbound-check-deposits.mjs +1 -1
- package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
- package/resources/simulations/inbound-fednow-transfers.d.mts +51 -0
- package/resources/simulations/inbound-fednow-transfers.d.mts.map +1 -0
- package/resources/simulations/inbound-fednow-transfers.d.ts +4 -3
- package/resources/simulations/inbound-fednow-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-fednow-transfers.js +1 -1
- package/resources/simulations/inbound-fednow-transfers.js.map +1 -1
- package/resources/simulations/inbound-fednow-transfers.mjs +1 -1
- package/resources/simulations/inbound-fednow-transfers.mjs.map +1 -1
- package/resources/simulations/inbound-mail-items.d.mts +39 -0
- package/resources/simulations/inbound-mail-items.d.mts.map +1 -0
- package/resources/simulations/inbound-mail-items.d.ts +4 -3
- package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.js +1 -1
- package/resources/simulations/inbound-mail-items.js.map +1 -1
- package/resources/simulations/inbound-mail-items.mjs +1 -1
- package/resources/simulations/inbound-mail-items.mjs.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.d.mts +59 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.mts.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts +4 -3
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.js +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.mjs +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.mts +117 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.mts.map +1 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -3
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/inbound-wire-transfers.d.mts +104 -0
- package/resources/simulations/inbound-wire-transfers.d.mts.map +1 -0
- package/resources/simulations/inbound-wire-transfers.d.ts +4 -3
- package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-transfers.js +1 -1
- package/resources/simulations/inbound-wire-transfers.js.map +1 -1
- package/resources/simulations/inbound-wire-transfers.mjs +1 -1
- package/resources/simulations/inbound-wire-transfers.mjs.map +1 -1
- package/resources/simulations/index.d.mts +32 -0
- package/resources/simulations/index.d.mts.map +1 -0
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.mts +46 -0
- package/resources/simulations/interest-payments.d.mts.map +1 -0
- package/resources/simulations/interest-payments.d.ts +4 -3
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/pending-transactions.d.mts +20 -0
- package/resources/simulations/pending-transactions.d.mts.map +1 -0
- package/resources/simulations/pending-transactions.d.ts +4 -3
- package/resources/simulations/pending-transactions.d.ts.map +1 -1
- package/resources/simulations/pending-transactions.js +4 -3
- package/resources/simulations/pending-transactions.js.map +1 -1
- package/resources/simulations/pending-transactions.mjs +4 -3
- package/resources/simulations/pending-transactions.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.mts +88 -0
- package/resources/simulations/physical-cards.d.mts.map +1 -0
- package/resources/simulations/physical-cards.d.ts +5 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +6 -5
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +6 -5
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.d.mts +46 -0
- package/resources/simulations/programs.d.mts.map +1 -0
- package/resources/simulations/programs.d.ts +4 -3
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.mts +91 -0
- package/resources/simulations/real-time-payments-transfers.d.mts.map +1 -0
- package/resources/simulations/real-time-payments-transfers.d.ts +4 -3
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +4 -3
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +4 -3
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.mts +126 -0
- package/resources/simulations/simulations.d.mts.map +1 -0
- package/resources/simulations/simulations.d.ts +1 -1
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +32 -54
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +1 -1
- package/resources/simulations/wire-drawdown-requests.d.mts +31 -0
- package/resources/simulations/wire-drawdown-requests.d.mts.map +1 -0
- package/resources/simulations/wire-drawdown-requests.d.ts +5 -4
- package/resources/simulations/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/wire-drawdown-requests.js +6 -5
- package/resources/simulations/wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/wire-drawdown-requests.mjs +6 -5
- package/resources/simulations/wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.mts +36 -0
- package/resources/simulations/wire-transfers.d.mts.map +1 -0
- package/resources/simulations/wire-transfers.d.ts +5 -4
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +6 -5
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +6 -5
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/simulations.d.mts +2 -0
- package/resources/simulations.d.mts.map +1 -0
- package/resources/simulations.d.ts.map +1 -1
- package/resources/simulations.js +2 -15
- package/resources/simulations.js.map +1 -1
- package/resources/supplemental-documents.d.mts +92 -0
- package/resources/supplemental-documents.d.mts.map +1 -0
- package/resources/supplemental-documents.d.ts +8 -8
- package/resources/supplemental-documents.d.ts.map +1 -1
- package/resources/supplemental-documents.js +4 -8
- package/resources/supplemental-documents.js.map +1 -1
- package/resources/supplemental-documents.mjs +3 -6
- package/resources/supplemental-documents.mjs.map +1 -1
- package/resources/transactions.d.mts +3483 -0
- package/resources/transactions.d.mts.map +1 -0
- package/resources/transactions.d.ts +8 -9
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +18 -14
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +17 -12
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.mts +362 -0
- package/resources/wire-drawdown-requests.d.mts.map +1 -0
- package/resources/wire-drawdown-requests.d.ts +9 -10
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +18 -14
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +17 -12
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.mts +751 -0
- package/resources/wire-transfers.d.mts.map +1 -0
- package/resources/wire-transfers.d.ts +11 -12
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +22 -18
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +21 -16
- package/resources/wire-transfers.mjs.map +1 -1
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts.map +1 -1
- package/resources.js +2 -15
- package/resources.js.map +1 -1
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1692 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +443 -0
- package/src/core/pagination.ts +165 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -443
- package/src/index.ts +6 -1199
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/qs/formats.ts +2 -1
- package/src/internal/qs/stringify.ts +17 -20
- package/src/internal/qs/utils.ts +14 -14
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/pagination.ts +2 -68
- package/src/resource.ts +2 -11
- package/src/resources/account-numbers.ts +18 -27
- package/src/resources/account-statements.ts +13 -22
- package/src/resources/account-transfers.ts +18 -27
- package/src/resources/accounts.ts +23 -42
- package/src/resources/ach-prenotifications.ts +14 -26
- package/src/resources/ach-transfers.ts +18 -27
- package/src/resources/bookkeeping-accounts.ts +24 -45
- package/src/resources/bookkeeping-entries.ts +13 -22
- package/src/resources/bookkeeping-entry-sets.ts +14 -29
- package/src/resources/card-disputes.ts +23 -29
- package/src/resources/card-payments.ts +13 -22
- package/src/resources/card-purchase-supplements.ts +13 -25
- package/src/resources/card-push-transfers.ts +18 -30
- package/src/resources/card-tokens.ts +15 -24
- package/src/resources/card-validations.ts +14 -23
- package/src/resources/cards.ts +24 -34
- package/src/resources/check-deposits.ts +14 -23
- package/src/resources/check-transfers.ts +22 -31
- package/src/resources/declined-transactions.ts +16 -25
- package/src/resources/digital-card-profiles.ts +23 -32
- package/src/resources/digital-wallet-tokens.ts +13 -22
- package/src/resources/documents.ts +14 -20
- package/src/resources/entities.ts +43 -50
- package/src/resources/event-subscriptions.ts +18 -30
- package/src/resources/events.ts +13 -19
- package/src/resources/exports.ts +14 -20
- package/src/resources/external-accounts.ts +18 -27
- package/src/resources/fednow-transfers.ts +18 -27
- package/src/resources/file-links.ts +4 -3
- package/src/resources/files.ts +18 -22
- package/src/resources/groups.ts +4 -3
- package/src/resources/inbound-ach-transfers.ts +31 -37
- package/src/resources/inbound-check-deposits.ts +22 -34
- package/src/resources/inbound-fednow-transfers.ts +13 -25
- package/src/resources/inbound-mail-items.ts +17 -26
- package/src/resources/inbound-real-time-payments-transfers.ts +15 -26
- package/src/resources/inbound-wire-drawdown-requests.ts +15 -26
- package/src/resources/inbound-wire-transfers.ts +17 -29
- package/src/resources/index.ts +68 -58
- package/src/resources/intrafi-account-enrollments.ts +24 -32
- package/src/resources/intrafi-balances.ts +6 -4
- package/src/resources/intrafi-exclusions.ts +16 -28
- package/src/resources/lockboxes.ts +16 -26
- package/src/resources/oauth-applications.ts +13 -22
- package/src/resources/oauth-connections.ts +13 -22
- package/src/resources/oauth-tokens.ts +4 -3
- package/src/resources/pending-transactions.ts +16 -28
- package/src/resources/physical-card-profiles.ts +23 -38
- package/src/resources/physical-cards.ts +18 -27
- package/src/resources/programs.ts +13 -19
- package/src/resources/real-time-decisions.ts +10 -8
- package/src/resources/real-time-payments-transfers.ts +29 -37
- package/src/resources/routing-numbers.ts +11 -10
- package/src/resources/simulations/account-statements.ts +5 -4
- package/src/resources/simulations/account-transfers.ts +8 -6
- package/src/resources/simulations/ach-transfers.ts +23 -24
- package/src/resources/simulations/card-authorization-expirations.ts +5 -4
- package/src/resources/simulations/card-authorizations.ts +5 -4
- package/src/resources/simulations/card-disputes.ts +8 -6
- package/src/resources/simulations/card-fuel-confirmations.ts +5 -4
- package/src/resources/simulations/card-increments.ts +4 -6
- package/src/resources/simulations/card-refunds.ts +4 -6
- package/src/resources/simulations/card-reversals.ts +4 -6
- package/src/resources/simulations/card-settlements.ts +5 -4
- package/src/resources/simulations/card-tokens.ts +4 -6
- package/src/resources/simulations/check-deposits.ts +10 -17
- package/src/resources/simulations/check-transfers.ts +6 -7
- package/src/resources/simulations/digital-wallet-token-requests.ts +5 -4
- package/src/resources/simulations/documents.ts +4 -3
- package/src/resources/simulations/inbound-ach-transfers.ts +5 -4
- package/src/resources/simulations/inbound-check-deposits.ts +5 -4
- package/src/resources/simulations/inbound-fednow-transfers.ts +5 -4
- package/src/resources/simulations/inbound-mail-items.ts +5 -4
- package/src/resources/simulations/inbound-real-time-payments-transfers.ts +5 -4
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +5 -4
- package/src/resources/simulations/inbound-wire-transfers.ts +5 -4
- package/src/resources/simulations/interest-payments.ts +5 -4
- package/src/resources/simulations/pending-transactions.ts +8 -6
- package/src/resources/simulations/physical-cards.ts +12 -10
- package/src/resources/simulations/programs.ts +4 -3
- package/src/resources/simulations/real-time-payments-transfers.ts +8 -6
- package/src/resources/simulations/simulations.ts +1 -1
- package/src/resources/simulations/wire-drawdown-requests.ts +18 -10
- package/src/resources/simulations/wire-transfers.ts +8 -12
- package/src/resources/supplemental-documents.ts +11 -12
- package/src/resources/transactions.ts +13 -22
- package/src/resources/wire-drawdown-requests.ts +14 -29
- package/src/resources/wire-transfers.ts +18 -27
- package/src/tsconfig.json +2 -2
- package/src/uploads.ts +2 -255
- package/src/version.ts +1 -1
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +1 -74
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -168
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -157
- package/uploads.mjs.map +1 -1
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/_shims/MultipartBody.d.ts +0 -9
- package/_shims/MultipartBody.d.ts.map +0 -1
- package/_shims/MultipartBody.js +0 -16
- package/_shims/MultipartBody.js.map +0 -1
- package/_shims/MultipartBody.mjs +0 -12
- package/_shims/MultipartBody.mjs.map +0 -1
- package/_shims/README.md +0 -46
- package/_shims/auto/runtime-bun.d.ts +0 -5
- package/_shims/auto/runtime-bun.d.ts.map +0 -1
- package/_shims/auto/runtime-bun.js +0 -21
- package/_shims/auto/runtime-bun.js.map +0 -1
- package/_shims/auto/runtime-bun.mjs +0 -2
- package/_shims/auto/runtime-bun.mjs.map +0 -1
- package/_shims/auto/runtime-node.d.ts +0 -5
- package/_shims/auto/runtime-node.d.ts.map +0 -1
- package/_shims/auto/runtime-node.js +0 -21
- package/_shims/auto/runtime-node.js.map +0 -1
- package/_shims/auto/runtime-node.mjs +0 -2
- package/_shims/auto/runtime-node.mjs.map +0 -1
- package/_shims/auto/runtime.d.ts +0 -5
- package/_shims/auto/runtime.d.ts.map +0 -1
- package/_shims/auto/runtime.js +0 -21
- package/_shims/auto/runtime.js.map +0 -1
- package/_shims/auto/runtime.mjs +0 -2
- package/_shims/auto/runtime.mjs.map +0 -1
- package/_shims/auto/types-node.d.ts +0 -5
- package/_shims/auto/types-node.d.ts.map +0 -1
- package/_shims/auto/types-node.js +0 -21
- package/_shims/auto/types-node.js.map +0 -1
- package/_shims/auto/types-node.mjs +0 -2
- package/_shims/auto/types-node.mjs.map +0 -1
- package/_shims/auto/types.d.ts +0 -101
- package/_shims/auto/types.js +0 -3
- package/_shims/auto/types.mjs +0 -3
- package/_shims/bun-runtime.d.ts +0 -6
- package/_shims/bun-runtime.d.ts.map +0 -1
- package/_shims/bun-runtime.js +0 -14
- package/_shims/bun-runtime.js.map +0 -1
- package/_shims/bun-runtime.mjs +0 -10
- package/_shims/bun-runtime.mjs.map +0 -1
- package/_shims/index.d.ts +0 -83
- package/_shims/index.js +0 -17
- package/_shims/index.mjs +0 -11
- package/_shims/manual-types.d.ts +0 -12
- package/_shims/manual-types.js +0 -3
- package/_shims/manual-types.mjs +0 -3
- package/_shims/node-runtime.d.ts +0 -3
- package/_shims/node-runtime.d.ts.map +0 -1
- package/_shims/node-runtime.js +0 -89
- package/_shims/node-runtime.js.map +0 -1
- package/_shims/node-runtime.mjs +0 -56
- package/_shims/node-runtime.mjs.map +0 -1
- package/_shims/node-types.d.ts +0 -42
- package/_shims/node-types.js +0 -3
- package/_shims/node-types.mjs +0 -3
- package/_shims/registry.d.ts +0 -37
- package/_shims/registry.d.ts.map +0 -1
- package/_shims/registry.js +0 -41
- package/_shims/registry.js.map +0 -1
- package/_shims/registry.mjs +0 -37
- package/_shims/registry.mjs.map +0 -1
- package/_shims/web-runtime.d.ts +0 -5
- package/_shims/web-runtime.d.ts.map +0 -1
- package/_shims/web-runtime.js +0 -78
- package/_shims/web-runtime.js.map +0 -1
- package/_shims/web-runtime.mjs +0 -71
- package/_shims/web-runtime.mjs.map +0 -1
- package/_shims/web-types.d.ts +0 -83
- package/_shims/web-types.js +0 -3
- package/_shims/web-types.mjs +0 -3
- package/core.d.ts +0 -255
- package/core.d.ts.map +0 -1
- package/core.js +0 -924
- package/core.js.map +0 -1
- package/core.mjs +0 -892
- package/core.mjs.map +0 -1
- package/resources/webhooks.d.ts +0 -22
- package/resources/webhooks.d.ts.map +0 -1
- package/resources/webhooks.js +0 -82
- package/resources/webhooks.js.map +0 -1
- package/resources/webhooks.mjs +0 -78
- package/resources/webhooks.mjs.map +0 -1
- package/shims/node.d.ts +0 -30
- package/shims/node.d.ts.map +0 -1
- package/shims/node.js +0 -31
- package/shims/node.js.map +0 -1
- package/shims/node.mjs +0 -5
- package/shims/node.mjs.map +0 -1
- package/shims/web.d.ts +0 -26
- package/shims/web.d.ts.map +0 -1
- package/shims/web.js +0 -31
- package/shims/web.js.map +0 -1
- package/shims/web.mjs +0 -5
- package/shims/web.mjs.map +0 -1
- package/src/_shims/MultipartBody.ts +0 -9
- package/src/_shims/README.md +0 -46
- package/src/_shims/auto/runtime-bun.ts +0 -4
- package/src/_shims/auto/runtime-node.ts +0 -4
- package/src/_shims/auto/runtime.ts +0 -4
- package/src/_shims/auto/types-node.ts +0 -4
- package/src/_shims/auto/types.d.ts +0 -101
- package/src/_shims/auto/types.js +0 -3
- package/src/_shims/auto/types.mjs +0 -3
- package/src/_shims/bun-runtime.ts +0 -14
- package/src/_shims/index.d.ts +0 -83
- package/src/_shims/index.js +0 -17
- package/src/_shims/index.mjs +0 -11
- package/src/_shims/manual-types.d.ts +0 -12
- package/src/_shims/manual-types.js +0 -3
- package/src/_shims/manual-types.mjs +0 -3
- package/src/_shims/node-runtime.ts +0 -81
- package/src/_shims/node-types.d.ts +0 -42
- package/src/_shims/node-types.js +0 -3
- package/src/_shims/node-types.mjs +0 -3
- package/src/_shims/registry.ts +0 -67
- package/src/_shims/web-runtime.ts +0 -103
- package/src/_shims/web-types.d.ts +0 -83
- package/src/_shims/web-types.js +0 -3
- package/src/_shims/web-types.mjs +0 -3
- package/src/core.ts +0 -1236
- package/src/resources/webhooks.ts +0 -110
- package/src/shims/node.ts +0 -50
- package/src/shims/web.ts +0 -50
|
@@ -0,0 +1,2759 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as SupplementalDocumentsAPI from "./supplemental-documents.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { Page, type PageParams, PagePromise } from "../core/pagination.mjs";
|
|
5
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
+
export declare class Entities extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Create an Entity
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* const entity = await client.entities.create({
|
|
13
|
+
* structure: 'corporation',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
create(body: EntityCreateParams, options?: RequestOptions): APIPromise<Entity>;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieve an Entity
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const entity = await client.entities.retrieve(
|
|
24
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
retrieve(entityID: string, options?: RequestOptions): APIPromise<Entity>;
|
|
29
|
+
/**
|
|
30
|
+
* Update an Entity
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* const entity = await client.entities.update(
|
|
35
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
36
|
+
* );
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
update(entityID: string, body: EntityUpdateParams, options?: RequestOptions): APIPromise<Entity>;
|
|
40
|
+
/**
|
|
41
|
+
* List Entities
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* // Automatically fetches more pages as needed.
|
|
46
|
+
* for await (const entity of client.entities.list()) {
|
|
47
|
+
* // ...
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
list(query?: EntityListParams | null | undefined, options?: RequestOptions): PagePromise<EntitiesPage, Entity>;
|
|
52
|
+
/**
|
|
53
|
+
* Archive an Entity
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* const entity = await client.entities.archive(
|
|
58
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
59
|
+
* );
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
archive(entityID: string, options?: RequestOptions): APIPromise<Entity>;
|
|
63
|
+
/**
|
|
64
|
+
* Archive a beneficial owner for a corporate Entity
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* const entity = await client.entities.archiveBeneficialOwner(
|
|
69
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
70
|
+
* {
|
|
71
|
+
* beneficial_owner_id:
|
|
72
|
+
* 'entity_setup_beneficial_owner_submission_vgkyk7dj5eb4sfhdbkx7',
|
|
73
|
+
* },
|
|
74
|
+
* );
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
archiveBeneficialOwner(entityID: string, body: EntityArchiveBeneficialOwnerParams, options?: RequestOptions): APIPromise<Entity>;
|
|
78
|
+
/**
|
|
79
|
+
* Depending on your program, you may be required to re-confirm an Entity's details
|
|
80
|
+
* on a recurring basis. After making any required updates, call this endpoint to
|
|
81
|
+
* record that your user confirmed their details.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const entity = await client.entities.confirm(
|
|
86
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
87
|
+
* );
|
|
88
|
+
* ```
|
|
89
|
+
*/
|
|
90
|
+
confirm(entityID: string, body: EntityConfirmParams, options?: RequestOptions): APIPromise<Entity>;
|
|
91
|
+
/**
|
|
92
|
+
* Create a beneficial owner for a corporate Entity
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ```ts
|
|
96
|
+
* const entity = await client.entities.createBeneficialOwner(
|
|
97
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
98
|
+
* {
|
|
99
|
+
* beneficial_owner: {
|
|
100
|
+
* individual: {
|
|
101
|
+
* address: {
|
|
102
|
+
* city: 'New York',
|
|
103
|
+
* country: 'US',
|
|
104
|
+
* line1: '33 Liberty Street',
|
|
105
|
+
* },
|
|
106
|
+
* date_of_birth: '1970-01-31',
|
|
107
|
+
* identification: {
|
|
108
|
+
* method: 'social_security_number',
|
|
109
|
+
* number: '078051120',
|
|
110
|
+
* },
|
|
111
|
+
* name: 'Ian Crease',
|
|
112
|
+
* },
|
|
113
|
+
* prongs: ['control'],
|
|
114
|
+
* },
|
|
115
|
+
* },
|
|
116
|
+
* );
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
createBeneficialOwner(entityID: string, body: EntityCreateBeneficialOwnerParams, options?: RequestOptions): APIPromise<Entity>;
|
|
120
|
+
/**
|
|
121
|
+
* Update a Natural Person or Corporation's address
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```ts
|
|
125
|
+
* const entity = await client.entities.updateAddress(
|
|
126
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
127
|
+
* {
|
|
128
|
+
* address: {
|
|
129
|
+
* city: 'New York',
|
|
130
|
+
* line1: '33 Liberty Street',
|
|
131
|
+
* state: 'NY',
|
|
132
|
+
* zip: '10045',
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* );
|
|
136
|
+
* ```
|
|
137
|
+
*/
|
|
138
|
+
updateAddress(entityID: string, body: EntityUpdateAddressParams, options?: RequestOptions): APIPromise<Entity>;
|
|
139
|
+
/**
|
|
140
|
+
* Update the address for a beneficial owner belonging to a corporate Entity
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```ts
|
|
144
|
+
* const entity =
|
|
145
|
+
* await client.entities.updateBeneficialOwnerAddress(
|
|
146
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
147
|
+
* {
|
|
148
|
+
* address: {
|
|
149
|
+
* city: 'New York',
|
|
150
|
+
* country: 'US',
|
|
151
|
+
* line1: '33 Liberty Street',
|
|
152
|
+
* },
|
|
153
|
+
* beneficial_owner_id:
|
|
154
|
+
* 'entity_setup_beneficial_owner_submission_vgkyk7dj5eb4sfhdbkx7',
|
|
155
|
+
* },
|
|
156
|
+
* );
|
|
157
|
+
* ```
|
|
158
|
+
*/
|
|
159
|
+
updateBeneficialOwnerAddress(entityID: string, body: EntityUpdateBeneficialOwnerAddressParams, options?: RequestOptions): APIPromise<Entity>;
|
|
160
|
+
/**
|
|
161
|
+
* Update the industry code for a corporate Entity
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* ```ts
|
|
165
|
+
* const entity = await client.entities.updateIndustryCode(
|
|
166
|
+
* 'entity_n8y8tnk2p9339ti393yi',
|
|
167
|
+
* { industry_code: '5132' },
|
|
168
|
+
* );
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
updateIndustryCode(entityID: string, body: EntityUpdateIndustryCodeParams, options?: RequestOptions): APIPromise<Entity>;
|
|
172
|
+
}
|
|
173
|
+
export type EntitiesPage = Page<Entity>;
|
|
174
|
+
/**
|
|
175
|
+
* Entities are the legal entities that own accounts. They can be people,
|
|
176
|
+
* corporations, partnerships, government authorities, or trusts.
|
|
177
|
+
*/
|
|
178
|
+
export interface Entity {
|
|
179
|
+
/**
|
|
180
|
+
* The entity's identifier.
|
|
181
|
+
*/
|
|
182
|
+
id: string;
|
|
183
|
+
/**
|
|
184
|
+
* Details of the corporation entity. Will be present if `structure` is equal to
|
|
185
|
+
* `corporation`.
|
|
186
|
+
*/
|
|
187
|
+
corporation: Entity.Corporation | null;
|
|
188
|
+
/**
|
|
189
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity
|
|
190
|
+
* was created.
|
|
191
|
+
*/
|
|
192
|
+
created_at: string;
|
|
193
|
+
/**
|
|
194
|
+
* The entity's description for display purposes.
|
|
195
|
+
*/
|
|
196
|
+
description: string | null;
|
|
197
|
+
/**
|
|
198
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
199
|
+
* Entity's details were most recently confirmed.
|
|
200
|
+
*/
|
|
201
|
+
details_confirmed_at: string | null;
|
|
202
|
+
/**
|
|
203
|
+
* Details of the government authority entity. Will be present if `structure` is
|
|
204
|
+
* equal to `government_authority`.
|
|
205
|
+
*/
|
|
206
|
+
government_authority: Entity.GovernmentAuthority | null;
|
|
207
|
+
/**
|
|
208
|
+
* The idempotency key you chose for this object. This value is unique across
|
|
209
|
+
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
210
|
+
* about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
211
|
+
*/
|
|
212
|
+
idempotency_key: string | null;
|
|
213
|
+
/**
|
|
214
|
+
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
215
|
+
*/
|
|
216
|
+
joint: Entity.Joint | null;
|
|
217
|
+
/**
|
|
218
|
+
* Details of the natural person entity. Will be present if `structure` is equal to
|
|
219
|
+
* `natural_person`.
|
|
220
|
+
*/
|
|
221
|
+
natural_person: Entity.NaturalPerson | null;
|
|
222
|
+
/**
|
|
223
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
224
|
+
* such as money laundering.
|
|
225
|
+
*/
|
|
226
|
+
risk_rating: Entity.RiskRating | null;
|
|
227
|
+
/**
|
|
228
|
+
* The status of the entity.
|
|
229
|
+
*
|
|
230
|
+
* - `active` - The entity is active.
|
|
231
|
+
* - `archived` - The entity is archived, and can no longer be used to create
|
|
232
|
+
* accounts.
|
|
233
|
+
* - `disabled` - The entity is temporarily disabled and cannot be used for
|
|
234
|
+
* financial activity.
|
|
235
|
+
*/
|
|
236
|
+
status: 'active' | 'archived' | 'disabled';
|
|
237
|
+
/**
|
|
238
|
+
* The entity's legal structure.
|
|
239
|
+
*
|
|
240
|
+
* - `corporation` - A corporation.
|
|
241
|
+
* - `natural_person` - An individual person.
|
|
242
|
+
* - `joint` - Multiple individual people.
|
|
243
|
+
* - `trust` - A trust.
|
|
244
|
+
* - `government_authority` - A government authority.
|
|
245
|
+
*/
|
|
246
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust' | 'government_authority';
|
|
247
|
+
/**
|
|
248
|
+
* Additional documentation associated with the entity. This is limited to the
|
|
249
|
+
* first 10 documents for an entity. If an entity has more than 10 documents, use
|
|
250
|
+
* the GET /entity_supplemental_documents list endpoint to retrieve them.
|
|
251
|
+
*/
|
|
252
|
+
supplemental_documents: Array<SupplementalDocumentsAPI.EntitySupplementalDocument>;
|
|
253
|
+
/**
|
|
254
|
+
* If you are using a third-party service for identity verification, you can use
|
|
255
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
256
|
+
* that service.
|
|
257
|
+
*/
|
|
258
|
+
third_party_verification: Entity.ThirdPartyVerification | null;
|
|
259
|
+
/**
|
|
260
|
+
* Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
261
|
+
*/
|
|
262
|
+
trust: Entity.Trust | null;
|
|
263
|
+
/**
|
|
264
|
+
* A constant representing the object's type. For this resource it will always be
|
|
265
|
+
* `entity`.
|
|
266
|
+
*/
|
|
267
|
+
type: 'entity';
|
|
268
|
+
}
|
|
269
|
+
export declare namespace Entity {
|
|
270
|
+
/**
|
|
271
|
+
* Details of the corporation entity. Will be present if `structure` is equal to
|
|
272
|
+
* `corporation`.
|
|
273
|
+
*/
|
|
274
|
+
interface Corporation {
|
|
275
|
+
/**
|
|
276
|
+
* The corporation's address.
|
|
277
|
+
*/
|
|
278
|
+
address: Corporation.Address;
|
|
279
|
+
/**
|
|
280
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
281
|
+
* corporation.
|
|
282
|
+
*/
|
|
283
|
+
beneficial_owners: Array<Corporation.BeneficialOwner>;
|
|
284
|
+
/**
|
|
285
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
286
|
+
* corporation's state of incorporation.
|
|
287
|
+
*/
|
|
288
|
+
incorporation_state: string | null;
|
|
289
|
+
/**
|
|
290
|
+
* The numeric North American Industry Classification System (NAICS) code submitted
|
|
291
|
+
* for the corporation.
|
|
292
|
+
*/
|
|
293
|
+
industry_code: string | null;
|
|
294
|
+
/**
|
|
295
|
+
* The legal name of the corporation.
|
|
296
|
+
*/
|
|
297
|
+
name: string;
|
|
298
|
+
/**
|
|
299
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
300
|
+
*/
|
|
301
|
+
tax_identifier: string | null;
|
|
302
|
+
/**
|
|
303
|
+
* The website of the corporation.
|
|
304
|
+
*/
|
|
305
|
+
website: string | null;
|
|
306
|
+
}
|
|
307
|
+
namespace Corporation {
|
|
308
|
+
/**
|
|
309
|
+
* The corporation's address.
|
|
310
|
+
*/
|
|
311
|
+
interface Address {
|
|
312
|
+
/**
|
|
313
|
+
* The city of the address.
|
|
314
|
+
*/
|
|
315
|
+
city: string;
|
|
316
|
+
/**
|
|
317
|
+
* The first line of the address.
|
|
318
|
+
*/
|
|
319
|
+
line1: string;
|
|
320
|
+
/**
|
|
321
|
+
* The second line of the address.
|
|
322
|
+
*/
|
|
323
|
+
line2: string | null;
|
|
324
|
+
/**
|
|
325
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
326
|
+
* the address.
|
|
327
|
+
*/
|
|
328
|
+
state: string;
|
|
329
|
+
/**
|
|
330
|
+
* The ZIP code of the address.
|
|
331
|
+
*/
|
|
332
|
+
zip: string;
|
|
333
|
+
}
|
|
334
|
+
interface BeneficialOwner {
|
|
335
|
+
/**
|
|
336
|
+
* The identifier of this beneficial owner.
|
|
337
|
+
*/
|
|
338
|
+
beneficial_owner_id: string;
|
|
339
|
+
/**
|
|
340
|
+
* This person's role or title within the entity.
|
|
341
|
+
*/
|
|
342
|
+
company_title: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* Personal details for the beneficial owner.
|
|
345
|
+
*/
|
|
346
|
+
individual: BeneficialOwner.Individual;
|
|
347
|
+
/**
|
|
348
|
+
* Why this person is considered a beneficial owner of the entity.
|
|
349
|
+
*
|
|
350
|
+
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
351
|
+
* entity.
|
|
352
|
+
* - `control` - A person who manages, directs, or has significant control of the
|
|
353
|
+
* entity.
|
|
354
|
+
*/
|
|
355
|
+
prong: 'ownership' | 'control';
|
|
356
|
+
}
|
|
357
|
+
namespace BeneficialOwner {
|
|
358
|
+
/**
|
|
359
|
+
* Personal details for the beneficial owner.
|
|
360
|
+
*/
|
|
361
|
+
interface Individual {
|
|
362
|
+
/**
|
|
363
|
+
* The person's address.
|
|
364
|
+
*/
|
|
365
|
+
address: Individual.Address;
|
|
366
|
+
/**
|
|
367
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
368
|
+
*/
|
|
369
|
+
date_of_birth: string;
|
|
370
|
+
/**
|
|
371
|
+
* A means of verifying the person's identity.
|
|
372
|
+
*/
|
|
373
|
+
identification: Individual.Identification;
|
|
374
|
+
/**
|
|
375
|
+
* The person's legal name.
|
|
376
|
+
*/
|
|
377
|
+
name: string;
|
|
378
|
+
}
|
|
379
|
+
namespace Individual {
|
|
380
|
+
/**
|
|
381
|
+
* The person's address.
|
|
382
|
+
*/
|
|
383
|
+
interface Address {
|
|
384
|
+
/**
|
|
385
|
+
* The city, district, town, or village of the address.
|
|
386
|
+
*/
|
|
387
|
+
city: string | null;
|
|
388
|
+
/**
|
|
389
|
+
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
390
|
+
*/
|
|
391
|
+
country: string;
|
|
392
|
+
/**
|
|
393
|
+
* The first line of the address.
|
|
394
|
+
*/
|
|
395
|
+
line1: string;
|
|
396
|
+
/**
|
|
397
|
+
* The second line of the address.
|
|
398
|
+
*/
|
|
399
|
+
line2: string | null;
|
|
400
|
+
/**
|
|
401
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
402
|
+
* state, province, or region of the address.
|
|
403
|
+
*/
|
|
404
|
+
state: string | null;
|
|
405
|
+
/**
|
|
406
|
+
* The ZIP or postal code of the address.
|
|
407
|
+
*/
|
|
408
|
+
zip: string | null;
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* A means of verifying the person's identity.
|
|
412
|
+
*/
|
|
413
|
+
interface Identification {
|
|
414
|
+
/**
|
|
415
|
+
* A method that can be used to verify the individual's identity.
|
|
416
|
+
*
|
|
417
|
+
* - `social_security_number` - A social security number.
|
|
418
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
419
|
+
* identification number (ITIN).
|
|
420
|
+
* - `passport` - A passport number.
|
|
421
|
+
* - `drivers_license` - A driver's license number.
|
|
422
|
+
* - `other` - Another identifying document.
|
|
423
|
+
*/
|
|
424
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
425
|
+
/**
|
|
426
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
427
|
+
* individual's identity.
|
|
428
|
+
*/
|
|
429
|
+
number_last4: string;
|
|
430
|
+
[k: string]: unknown;
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* Details of the government authority entity. Will be present if `structure` is
|
|
437
|
+
* equal to `government_authority`.
|
|
438
|
+
*/
|
|
439
|
+
interface GovernmentAuthority {
|
|
440
|
+
/**
|
|
441
|
+
* The government authority's address.
|
|
442
|
+
*/
|
|
443
|
+
address: GovernmentAuthority.Address;
|
|
444
|
+
/**
|
|
445
|
+
* The identifying details of authorized persons of the government authority.
|
|
446
|
+
*/
|
|
447
|
+
authorized_persons: Array<GovernmentAuthority.AuthorizedPerson>;
|
|
448
|
+
/**
|
|
449
|
+
* The category of the government authority.
|
|
450
|
+
*
|
|
451
|
+
* - `municipality` - A municipality.
|
|
452
|
+
* - `state_agency` - A state agency.
|
|
453
|
+
* - `state_government` - A state government.
|
|
454
|
+
* - `federal_agency` - A federal agency.
|
|
455
|
+
*/
|
|
456
|
+
category: 'municipality' | 'state_agency' | 'state_government' | 'federal_agency';
|
|
457
|
+
/**
|
|
458
|
+
* The government authority's name.
|
|
459
|
+
*/
|
|
460
|
+
name: string;
|
|
461
|
+
/**
|
|
462
|
+
* The Employer Identification Number (EIN) of the government authority.
|
|
463
|
+
*/
|
|
464
|
+
tax_identifier: string | null;
|
|
465
|
+
/**
|
|
466
|
+
* The government authority's website.
|
|
467
|
+
*/
|
|
468
|
+
website: string | null;
|
|
469
|
+
}
|
|
470
|
+
namespace GovernmentAuthority {
|
|
471
|
+
/**
|
|
472
|
+
* The government authority's address.
|
|
473
|
+
*/
|
|
474
|
+
interface Address {
|
|
475
|
+
/**
|
|
476
|
+
* The city of the address.
|
|
477
|
+
*/
|
|
478
|
+
city: string;
|
|
479
|
+
/**
|
|
480
|
+
* The first line of the address.
|
|
481
|
+
*/
|
|
482
|
+
line1: string;
|
|
483
|
+
/**
|
|
484
|
+
* The second line of the address.
|
|
485
|
+
*/
|
|
486
|
+
line2: string | null;
|
|
487
|
+
/**
|
|
488
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
489
|
+
* the address.
|
|
490
|
+
*/
|
|
491
|
+
state: string;
|
|
492
|
+
/**
|
|
493
|
+
* The ZIP code of the address.
|
|
494
|
+
*/
|
|
495
|
+
zip: string;
|
|
496
|
+
}
|
|
497
|
+
interface AuthorizedPerson {
|
|
498
|
+
/**
|
|
499
|
+
* The identifier of this authorized person.
|
|
500
|
+
*/
|
|
501
|
+
authorized_person_id: string;
|
|
502
|
+
/**
|
|
503
|
+
* The person's legal name.
|
|
504
|
+
*/
|
|
505
|
+
name: string;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* Details of the joint entity. Will be present if `structure` is equal to `joint`.
|
|
510
|
+
*/
|
|
511
|
+
interface Joint {
|
|
512
|
+
/**
|
|
513
|
+
* The two individuals that share control of the entity.
|
|
514
|
+
*/
|
|
515
|
+
individuals: Array<Joint.Individual>;
|
|
516
|
+
/**
|
|
517
|
+
* The entity's name.
|
|
518
|
+
*/
|
|
519
|
+
name: string;
|
|
520
|
+
}
|
|
521
|
+
namespace Joint {
|
|
522
|
+
interface Individual {
|
|
523
|
+
/**
|
|
524
|
+
* The person's address.
|
|
525
|
+
*/
|
|
526
|
+
address: Individual.Address;
|
|
527
|
+
/**
|
|
528
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
529
|
+
*/
|
|
530
|
+
date_of_birth: string;
|
|
531
|
+
/**
|
|
532
|
+
* A means of verifying the person's identity.
|
|
533
|
+
*/
|
|
534
|
+
identification: Individual.Identification;
|
|
535
|
+
/**
|
|
536
|
+
* The person's legal name.
|
|
537
|
+
*/
|
|
538
|
+
name: string;
|
|
539
|
+
}
|
|
540
|
+
namespace Individual {
|
|
541
|
+
/**
|
|
542
|
+
* The person's address.
|
|
543
|
+
*/
|
|
544
|
+
interface Address {
|
|
545
|
+
/**
|
|
546
|
+
* The city of the address.
|
|
547
|
+
*/
|
|
548
|
+
city: string;
|
|
549
|
+
/**
|
|
550
|
+
* The first line of the address.
|
|
551
|
+
*/
|
|
552
|
+
line1: string;
|
|
553
|
+
/**
|
|
554
|
+
* The second line of the address.
|
|
555
|
+
*/
|
|
556
|
+
line2: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
559
|
+
* the address.
|
|
560
|
+
*/
|
|
561
|
+
state: string;
|
|
562
|
+
/**
|
|
563
|
+
* The ZIP code of the address.
|
|
564
|
+
*/
|
|
565
|
+
zip: string;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* A means of verifying the person's identity.
|
|
569
|
+
*/
|
|
570
|
+
interface Identification {
|
|
571
|
+
/**
|
|
572
|
+
* A method that can be used to verify the individual's identity.
|
|
573
|
+
*
|
|
574
|
+
* - `social_security_number` - A social security number.
|
|
575
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
576
|
+
* identification number (ITIN).
|
|
577
|
+
* - `passport` - A passport number.
|
|
578
|
+
* - `drivers_license` - A driver's license number.
|
|
579
|
+
* - `other` - Another identifying document.
|
|
580
|
+
*/
|
|
581
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
582
|
+
/**
|
|
583
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
584
|
+
* individual's identity.
|
|
585
|
+
*/
|
|
586
|
+
number_last4: string;
|
|
587
|
+
[k: string]: unknown;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
* Details of the natural person entity. Will be present if `structure` is equal to
|
|
593
|
+
* `natural_person`.
|
|
594
|
+
*/
|
|
595
|
+
interface NaturalPerson {
|
|
596
|
+
/**
|
|
597
|
+
* The person's address.
|
|
598
|
+
*/
|
|
599
|
+
address: NaturalPerson.Address;
|
|
600
|
+
/**
|
|
601
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
602
|
+
*/
|
|
603
|
+
date_of_birth: string;
|
|
604
|
+
/**
|
|
605
|
+
* A means of verifying the person's identity.
|
|
606
|
+
*/
|
|
607
|
+
identification: NaturalPerson.Identification;
|
|
608
|
+
/**
|
|
609
|
+
* The person's legal name.
|
|
610
|
+
*/
|
|
611
|
+
name: string;
|
|
612
|
+
}
|
|
613
|
+
namespace NaturalPerson {
|
|
614
|
+
/**
|
|
615
|
+
* The person's address.
|
|
616
|
+
*/
|
|
617
|
+
interface Address {
|
|
618
|
+
/**
|
|
619
|
+
* The city of the address.
|
|
620
|
+
*/
|
|
621
|
+
city: string;
|
|
622
|
+
/**
|
|
623
|
+
* The first line of the address.
|
|
624
|
+
*/
|
|
625
|
+
line1: string;
|
|
626
|
+
/**
|
|
627
|
+
* The second line of the address.
|
|
628
|
+
*/
|
|
629
|
+
line2: string | null;
|
|
630
|
+
/**
|
|
631
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
632
|
+
* the address.
|
|
633
|
+
*/
|
|
634
|
+
state: string;
|
|
635
|
+
/**
|
|
636
|
+
* The ZIP code of the address.
|
|
637
|
+
*/
|
|
638
|
+
zip: string;
|
|
639
|
+
}
|
|
640
|
+
/**
|
|
641
|
+
* A means of verifying the person's identity.
|
|
642
|
+
*/
|
|
643
|
+
interface Identification {
|
|
644
|
+
/**
|
|
645
|
+
* A method that can be used to verify the individual's identity.
|
|
646
|
+
*
|
|
647
|
+
* - `social_security_number` - A social security number.
|
|
648
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
649
|
+
* identification number (ITIN).
|
|
650
|
+
* - `passport` - A passport number.
|
|
651
|
+
* - `drivers_license` - A driver's license number.
|
|
652
|
+
* - `other` - Another identifying document.
|
|
653
|
+
*/
|
|
654
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
655
|
+
/**
|
|
656
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
657
|
+
* individual's identity.
|
|
658
|
+
*/
|
|
659
|
+
number_last4: string;
|
|
660
|
+
[k: string]: unknown;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
665
|
+
* such as money laundering.
|
|
666
|
+
*/
|
|
667
|
+
interface RiskRating {
|
|
668
|
+
/**
|
|
669
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
670
|
+
* rating was performed.
|
|
671
|
+
*/
|
|
672
|
+
rated_at: string;
|
|
673
|
+
/**
|
|
674
|
+
* The rating given to this entity.
|
|
675
|
+
*
|
|
676
|
+
* - `low` - Minimal risk of involvement in financial crime.
|
|
677
|
+
* - `medium` - Moderate risk of involvement in financial crime.
|
|
678
|
+
* - `high` - Elevated risk of involvement in financial crime.
|
|
679
|
+
*/
|
|
680
|
+
rating: 'low' | 'medium' | 'high';
|
|
681
|
+
}
|
|
682
|
+
/**
|
|
683
|
+
* If you are using a third-party service for identity verification, you can use
|
|
684
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
685
|
+
* that service.
|
|
686
|
+
*/
|
|
687
|
+
interface ThirdPartyVerification {
|
|
688
|
+
/**
|
|
689
|
+
* The reference identifier for the third party verification.
|
|
690
|
+
*/
|
|
691
|
+
reference: string;
|
|
692
|
+
/**
|
|
693
|
+
* The vendor that was used to perform the verification.
|
|
694
|
+
*
|
|
695
|
+
* - `alloy` - Alloy. See https://alloy.com for more information.
|
|
696
|
+
* - `middesk` - Middesk. See https://middesk.com for more information.
|
|
697
|
+
* - `oscilar` - Oscilar. See https://oscilar.com for more information.
|
|
698
|
+
*/
|
|
699
|
+
vendor: 'alloy' | 'middesk' | 'oscilar';
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Details of the trust entity. Will be present if `structure` is equal to `trust`.
|
|
703
|
+
*/
|
|
704
|
+
interface Trust {
|
|
705
|
+
/**
|
|
706
|
+
* The trust's address.
|
|
707
|
+
*/
|
|
708
|
+
address: Trust.Address;
|
|
709
|
+
/**
|
|
710
|
+
* Whether the trust is `revocable` or `irrevocable`.
|
|
711
|
+
*
|
|
712
|
+
* - `revocable` - The trust is revocable by the grantor.
|
|
713
|
+
* - `irrevocable` - The trust cannot be revoked.
|
|
714
|
+
*/
|
|
715
|
+
category: 'revocable' | 'irrevocable';
|
|
716
|
+
/**
|
|
717
|
+
* The ID for the File containing the formation document of the trust.
|
|
718
|
+
*/
|
|
719
|
+
formation_document_file_id: string | null;
|
|
720
|
+
/**
|
|
721
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
722
|
+
* which the trust was formed.
|
|
723
|
+
*/
|
|
724
|
+
formation_state: string | null;
|
|
725
|
+
/**
|
|
726
|
+
* The grantor of the trust. Will be present if the `category` is `revocable`.
|
|
727
|
+
*/
|
|
728
|
+
grantor: Trust.Grantor | null;
|
|
729
|
+
/**
|
|
730
|
+
* The trust's name.
|
|
731
|
+
*/
|
|
732
|
+
name: string;
|
|
733
|
+
/**
|
|
734
|
+
* The Employer Identification Number (EIN) of the trust itself.
|
|
735
|
+
*/
|
|
736
|
+
tax_identifier: string | null;
|
|
737
|
+
/**
|
|
738
|
+
* The trustees of the trust.
|
|
739
|
+
*/
|
|
740
|
+
trustees: Array<Trust.Trustee>;
|
|
741
|
+
}
|
|
742
|
+
namespace Trust {
|
|
743
|
+
/**
|
|
744
|
+
* The trust's address.
|
|
745
|
+
*/
|
|
746
|
+
interface Address {
|
|
747
|
+
/**
|
|
748
|
+
* The city of the address.
|
|
749
|
+
*/
|
|
750
|
+
city: string;
|
|
751
|
+
/**
|
|
752
|
+
* The first line of the address.
|
|
753
|
+
*/
|
|
754
|
+
line1: string;
|
|
755
|
+
/**
|
|
756
|
+
* The second line of the address.
|
|
757
|
+
*/
|
|
758
|
+
line2: string | null;
|
|
759
|
+
/**
|
|
760
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
761
|
+
* the address.
|
|
762
|
+
*/
|
|
763
|
+
state: string;
|
|
764
|
+
/**
|
|
765
|
+
* The ZIP code of the address.
|
|
766
|
+
*/
|
|
767
|
+
zip: string;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* The grantor of the trust. Will be present if the `category` is `revocable`.
|
|
771
|
+
*/
|
|
772
|
+
interface Grantor {
|
|
773
|
+
/**
|
|
774
|
+
* The person's address.
|
|
775
|
+
*/
|
|
776
|
+
address: Grantor.Address;
|
|
777
|
+
/**
|
|
778
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
779
|
+
*/
|
|
780
|
+
date_of_birth: string;
|
|
781
|
+
/**
|
|
782
|
+
* A means of verifying the person's identity.
|
|
783
|
+
*/
|
|
784
|
+
identification: Grantor.Identification;
|
|
785
|
+
/**
|
|
786
|
+
* The person's legal name.
|
|
787
|
+
*/
|
|
788
|
+
name: string;
|
|
789
|
+
}
|
|
790
|
+
namespace Grantor {
|
|
791
|
+
/**
|
|
792
|
+
* The person's address.
|
|
793
|
+
*/
|
|
794
|
+
interface Address {
|
|
795
|
+
/**
|
|
796
|
+
* The city of the address.
|
|
797
|
+
*/
|
|
798
|
+
city: string;
|
|
799
|
+
/**
|
|
800
|
+
* The first line of the address.
|
|
801
|
+
*/
|
|
802
|
+
line1: string;
|
|
803
|
+
/**
|
|
804
|
+
* The second line of the address.
|
|
805
|
+
*/
|
|
806
|
+
line2: string | null;
|
|
807
|
+
/**
|
|
808
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
809
|
+
* the address.
|
|
810
|
+
*/
|
|
811
|
+
state: string;
|
|
812
|
+
/**
|
|
813
|
+
* The ZIP code of the address.
|
|
814
|
+
*/
|
|
815
|
+
zip: string;
|
|
816
|
+
}
|
|
817
|
+
/**
|
|
818
|
+
* A means of verifying the person's identity.
|
|
819
|
+
*/
|
|
820
|
+
interface Identification {
|
|
821
|
+
/**
|
|
822
|
+
* A method that can be used to verify the individual's identity.
|
|
823
|
+
*
|
|
824
|
+
* - `social_security_number` - A social security number.
|
|
825
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
826
|
+
* identification number (ITIN).
|
|
827
|
+
* - `passport` - A passport number.
|
|
828
|
+
* - `drivers_license` - A driver's license number.
|
|
829
|
+
* - `other` - Another identifying document.
|
|
830
|
+
*/
|
|
831
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
832
|
+
/**
|
|
833
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
834
|
+
* individual's identity.
|
|
835
|
+
*/
|
|
836
|
+
number_last4: string;
|
|
837
|
+
[k: string]: unknown;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
interface Trustee {
|
|
841
|
+
/**
|
|
842
|
+
* The individual trustee of the trust. Will be present if the trustee's
|
|
843
|
+
* `structure` is equal to `individual`.
|
|
844
|
+
*/
|
|
845
|
+
individual: Trustee.Individual | null;
|
|
846
|
+
/**
|
|
847
|
+
* The structure of the trustee. Will always be equal to `individual`.
|
|
848
|
+
*
|
|
849
|
+
* - `individual` - The trustee is an individual.
|
|
850
|
+
*/
|
|
851
|
+
structure: 'individual';
|
|
852
|
+
}
|
|
853
|
+
namespace Trustee {
|
|
854
|
+
/**
|
|
855
|
+
* The individual trustee of the trust. Will be present if the trustee's
|
|
856
|
+
* `structure` is equal to `individual`.
|
|
857
|
+
*/
|
|
858
|
+
interface Individual {
|
|
859
|
+
/**
|
|
860
|
+
* The person's address.
|
|
861
|
+
*/
|
|
862
|
+
address: Individual.Address;
|
|
863
|
+
/**
|
|
864
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
865
|
+
*/
|
|
866
|
+
date_of_birth: string;
|
|
867
|
+
/**
|
|
868
|
+
* A means of verifying the person's identity.
|
|
869
|
+
*/
|
|
870
|
+
identification: Individual.Identification;
|
|
871
|
+
/**
|
|
872
|
+
* The person's legal name.
|
|
873
|
+
*/
|
|
874
|
+
name: string;
|
|
875
|
+
}
|
|
876
|
+
namespace Individual {
|
|
877
|
+
/**
|
|
878
|
+
* The person's address.
|
|
879
|
+
*/
|
|
880
|
+
interface Address {
|
|
881
|
+
/**
|
|
882
|
+
* The city of the address.
|
|
883
|
+
*/
|
|
884
|
+
city: string;
|
|
885
|
+
/**
|
|
886
|
+
* The first line of the address.
|
|
887
|
+
*/
|
|
888
|
+
line1: string;
|
|
889
|
+
/**
|
|
890
|
+
* The second line of the address.
|
|
891
|
+
*/
|
|
892
|
+
line2: string | null;
|
|
893
|
+
/**
|
|
894
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
895
|
+
* the address.
|
|
896
|
+
*/
|
|
897
|
+
state: string;
|
|
898
|
+
/**
|
|
899
|
+
* The ZIP code of the address.
|
|
900
|
+
*/
|
|
901
|
+
zip: string;
|
|
902
|
+
}
|
|
903
|
+
/**
|
|
904
|
+
* A means of verifying the person's identity.
|
|
905
|
+
*/
|
|
906
|
+
interface Identification {
|
|
907
|
+
/**
|
|
908
|
+
* A method that can be used to verify the individual's identity.
|
|
909
|
+
*
|
|
910
|
+
* - `social_security_number` - A social security number.
|
|
911
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
912
|
+
* identification number (ITIN).
|
|
913
|
+
* - `passport` - A passport number.
|
|
914
|
+
* - `drivers_license` - A driver's license number.
|
|
915
|
+
* - `other` - Another identifying document.
|
|
916
|
+
*/
|
|
917
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
918
|
+
/**
|
|
919
|
+
* The last 4 digits of the identification number that can be used to verify the
|
|
920
|
+
* individual's identity.
|
|
921
|
+
*/
|
|
922
|
+
number_last4: string;
|
|
923
|
+
[k: string]: unknown;
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
export interface EntityCreateParams {
|
|
930
|
+
/**
|
|
931
|
+
* The type of Entity to create.
|
|
932
|
+
*
|
|
933
|
+
* - `corporation` - A corporation.
|
|
934
|
+
* - `natural_person` - An individual person.
|
|
935
|
+
* - `joint` - Multiple individual people.
|
|
936
|
+
* - `trust` - A trust.
|
|
937
|
+
* - `government_authority` - A government authority.
|
|
938
|
+
*/
|
|
939
|
+
structure: 'corporation' | 'natural_person' | 'joint' | 'trust' | 'government_authority';
|
|
940
|
+
/**
|
|
941
|
+
* Details of the corporation entity to create. Required if `structure` is equal to
|
|
942
|
+
* `corporation`.
|
|
943
|
+
*/
|
|
944
|
+
corporation?: EntityCreateParams.Corporation;
|
|
945
|
+
/**
|
|
946
|
+
* The description you choose to give the entity.
|
|
947
|
+
*/
|
|
948
|
+
description?: string;
|
|
949
|
+
/**
|
|
950
|
+
* Details of the Government Authority entity to create. Required if `structure` is
|
|
951
|
+
* equal to `government_authority`.
|
|
952
|
+
*/
|
|
953
|
+
government_authority?: EntityCreateParams.GovernmentAuthority;
|
|
954
|
+
/**
|
|
955
|
+
* Details of the joint entity to create. Required if `structure` is equal to
|
|
956
|
+
* `joint`.
|
|
957
|
+
*/
|
|
958
|
+
joint?: EntityCreateParams.Joint;
|
|
959
|
+
/**
|
|
960
|
+
* Details of the natural person entity to create. Required if `structure` is equal
|
|
961
|
+
* to `natural_person`. Natural people entities should be submitted with
|
|
962
|
+
* `social_security_number` or `individual_taxpayer_identification_number`
|
|
963
|
+
* identification methods.
|
|
964
|
+
*/
|
|
965
|
+
natural_person?: EntityCreateParams.NaturalPerson;
|
|
966
|
+
/**
|
|
967
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
968
|
+
* such as money laundering.
|
|
969
|
+
*/
|
|
970
|
+
risk_rating?: EntityCreateParams.RiskRating;
|
|
971
|
+
/**
|
|
972
|
+
* Additional documentation associated with the entity.
|
|
973
|
+
*/
|
|
974
|
+
supplemental_documents?: Array<EntityCreateParams.SupplementalDocument>;
|
|
975
|
+
/**
|
|
976
|
+
* If you are using a third-party service for identity verification, you can use
|
|
977
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
978
|
+
* that service.
|
|
979
|
+
*/
|
|
980
|
+
third_party_verification?: EntityCreateParams.ThirdPartyVerification;
|
|
981
|
+
/**
|
|
982
|
+
* Details of the trust entity to create. Required if `structure` is equal to
|
|
983
|
+
* `trust`.
|
|
984
|
+
*/
|
|
985
|
+
trust?: EntityCreateParams.Trust;
|
|
986
|
+
[k: string]: unknown;
|
|
987
|
+
}
|
|
988
|
+
export declare namespace EntityCreateParams {
|
|
989
|
+
/**
|
|
990
|
+
* Details of the corporation entity to create. Required if `structure` is equal to
|
|
991
|
+
* `corporation`.
|
|
992
|
+
*/
|
|
993
|
+
interface Corporation {
|
|
994
|
+
/**
|
|
995
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
996
|
+
* are disallowed.
|
|
997
|
+
*/
|
|
998
|
+
address: Corporation.Address;
|
|
999
|
+
/**
|
|
1000
|
+
* The identifying details of each person who owns 25% or more of the business and
|
|
1001
|
+
* one control person, like the CEO, CFO, or other executive. You can submit
|
|
1002
|
+
* between 1 and 5 people to this list.
|
|
1003
|
+
*/
|
|
1004
|
+
beneficial_owners: Array<Corporation.BeneficialOwner>;
|
|
1005
|
+
/**
|
|
1006
|
+
* The legal name of the corporation.
|
|
1007
|
+
*/
|
|
1008
|
+
name: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* The Employer Identification Number (EIN) for the corporation.
|
|
1011
|
+
*/
|
|
1012
|
+
tax_identifier: string;
|
|
1013
|
+
/**
|
|
1014
|
+
* If the entity is exempt from the requirement to submit beneficial owners,
|
|
1015
|
+
* provide the justification. If a reason is provided, you do not need to submit a
|
|
1016
|
+
* list of beneficial owners.
|
|
1017
|
+
*
|
|
1018
|
+
* - `regulated_financial_institution` - A regulated financial institution.
|
|
1019
|
+
* - `publicly_traded_company` - A publicly traded company.
|
|
1020
|
+
* - `public_entity` - A public entity acting on behalf of the federal or a state
|
|
1021
|
+
* government.
|
|
1022
|
+
* - `other` - Any other reason why this entity is exempt from the requirement to
|
|
1023
|
+
* submit beneficial owners. You can only use this exemption after approval from
|
|
1024
|
+
* your bank partner.
|
|
1025
|
+
*/
|
|
1026
|
+
beneficial_ownership_exemption_reason?: 'regulated_financial_institution' | 'publicly_traded_company' | 'public_entity' | 'other';
|
|
1027
|
+
/**
|
|
1028
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the
|
|
1029
|
+
* corporation's state of incorporation.
|
|
1030
|
+
*/
|
|
1031
|
+
incorporation_state?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The North American Industry Classification System (NAICS) code for the
|
|
1034
|
+
* corporation's primary line of business. This is a number, like `5132` for
|
|
1035
|
+
* `Software Publishers`. A full list of classification codes is available
|
|
1036
|
+
* [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
1037
|
+
*/
|
|
1038
|
+
industry_code?: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* The website of the corporation.
|
|
1041
|
+
*/
|
|
1042
|
+
website?: string;
|
|
1043
|
+
}
|
|
1044
|
+
namespace Corporation {
|
|
1045
|
+
/**
|
|
1046
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
1047
|
+
* are disallowed.
|
|
1048
|
+
*/
|
|
1049
|
+
interface Address {
|
|
1050
|
+
/**
|
|
1051
|
+
* The city of the address.
|
|
1052
|
+
*/
|
|
1053
|
+
city: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* The first line of the address. This is usually the street number and street.
|
|
1056
|
+
*/
|
|
1057
|
+
line1: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1060
|
+
* the address.
|
|
1061
|
+
*/
|
|
1062
|
+
state: string;
|
|
1063
|
+
/**
|
|
1064
|
+
* The ZIP code of the address.
|
|
1065
|
+
*/
|
|
1066
|
+
zip: string;
|
|
1067
|
+
/**
|
|
1068
|
+
* The second line of the address. This might be the floor or room number.
|
|
1069
|
+
*/
|
|
1070
|
+
line2?: string;
|
|
1071
|
+
}
|
|
1072
|
+
interface BeneficialOwner {
|
|
1073
|
+
/**
|
|
1074
|
+
* Personal details for the beneficial owner.
|
|
1075
|
+
*/
|
|
1076
|
+
individual: BeneficialOwner.Individual;
|
|
1077
|
+
/**
|
|
1078
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
1079
|
+
* option is required, if a person is both a control person and owner, submit an
|
|
1080
|
+
* array containing both.
|
|
1081
|
+
*/
|
|
1082
|
+
prongs: Array<'ownership' | 'control'>;
|
|
1083
|
+
/**
|
|
1084
|
+
* This person's role or title within the entity.
|
|
1085
|
+
*/
|
|
1086
|
+
company_title?: string;
|
|
1087
|
+
[k: string]: unknown;
|
|
1088
|
+
}
|
|
1089
|
+
namespace BeneficialOwner {
|
|
1090
|
+
/**
|
|
1091
|
+
* Personal details for the beneficial owner.
|
|
1092
|
+
*/
|
|
1093
|
+
interface Individual {
|
|
1094
|
+
/**
|
|
1095
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1096
|
+
* PMB's are disallowed.
|
|
1097
|
+
*/
|
|
1098
|
+
address: Individual.Address;
|
|
1099
|
+
/**
|
|
1100
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1101
|
+
*/
|
|
1102
|
+
date_of_birth: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* A means of verifying the person's identity.
|
|
1105
|
+
*/
|
|
1106
|
+
identification: Individual.Identification;
|
|
1107
|
+
/**
|
|
1108
|
+
* The person's legal name.
|
|
1109
|
+
*/
|
|
1110
|
+
name: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1113
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1114
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1115
|
+
* Number).
|
|
1116
|
+
*/
|
|
1117
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1118
|
+
}
|
|
1119
|
+
namespace Individual {
|
|
1120
|
+
/**
|
|
1121
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1122
|
+
* PMB's are disallowed.
|
|
1123
|
+
*/
|
|
1124
|
+
interface Address {
|
|
1125
|
+
/**
|
|
1126
|
+
* The city, district, town, or village of the address.
|
|
1127
|
+
*/
|
|
1128
|
+
city: string;
|
|
1129
|
+
/**
|
|
1130
|
+
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1131
|
+
*/
|
|
1132
|
+
country: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* The first line of the address. This is usually the street number and street.
|
|
1135
|
+
*/
|
|
1136
|
+
line1: string;
|
|
1137
|
+
/**
|
|
1138
|
+
* The second line of the address. This might be the floor or room number.
|
|
1139
|
+
*/
|
|
1140
|
+
line2?: string;
|
|
1141
|
+
/**
|
|
1142
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
1143
|
+
* state, province, or region of the address. Required in certain countries.
|
|
1144
|
+
*/
|
|
1145
|
+
state?: string;
|
|
1146
|
+
/**
|
|
1147
|
+
* The ZIP or postal code of the address. Required in certain countries.
|
|
1148
|
+
*/
|
|
1149
|
+
zip?: string;
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* A means of verifying the person's identity.
|
|
1153
|
+
*/
|
|
1154
|
+
interface Identification {
|
|
1155
|
+
/**
|
|
1156
|
+
* A method that can be used to verify the individual's identity.
|
|
1157
|
+
*
|
|
1158
|
+
* - `social_security_number` - A social security number.
|
|
1159
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1160
|
+
* identification number (ITIN).
|
|
1161
|
+
* - `passport` - A passport number.
|
|
1162
|
+
* - `drivers_license` - A driver's license number.
|
|
1163
|
+
* - `other` - Another identifying document.
|
|
1164
|
+
*/
|
|
1165
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
1166
|
+
/**
|
|
1167
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1168
|
+
* such as a social security number.
|
|
1169
|
+
*/
|
|
1170
|
+
number: string;
|
|
1171
|
+
/**
|
|
1172
|
+
* Information about the United States driver's license used for identification.
|
|
1173
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1174
|
+
*/
|
|
1175
|
+
drivers_license?: Identification.DriversLicense;
|
|
1176
|
+
/**
|
|
1177
|
+
* Information about the identification document provided. Required if `method` is
|
|
1178
|
+
* equal to `other`.
|
|
1179
|
+
*/
|
|
1180
|
+
other?: Identification.Other;
|
|
1181
|
+
/**
|
|
1182
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1183
|
+
* equal to `passport`.
|
|
1184
|
+
*/
|
|
1185
|
+
passport?: Identification.Passport;
|
|
1186
|
+
[k: string]: unknown;
|
|
1187
|
+
}
|
|
1188
|
+
namespace Identification {
|
|
1189
|
+
/**
|
|
1190
|
+
* Information about the United States driver's license used for identification.
|
|
1191
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1192
|
+
*/
|
|
1193
|
+
interface DriversLicense {
|
|
1194
|
+
/**
|
|
1195
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1196
|
+
*/
|
|
1197
|
+
expiration_date: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1200
|
+
*/
|
|
1201
|
+
file_id: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* The state that issued the provided driver's license.
|
|
1204
|
+
*/
|
|
1205
|
+
state: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1208
|
+
*/
|
|
1209
|
+
back_file_id?: string;
|
|
1210
|
+
}
|
|
1211
|
+
/**
|
|
1212
|
+
* Information about the identification document provided. Required if `method` is
|
|
1213
|
+
* equal to `other`.
|
|
1214
|
+
*/
|
|
1215
|
+
interface Other {
|
|
1216
|
+
/**
|
|
1217
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1218
|
+
* document (e.g., `US`).
|
|
1219
|
+
*/
|
|
1220
|
+
country: string;
|
|
1221
|
+
/**
|
|
1222
|
+
* A description of the document submitted.
|
|
1223
|
+
*/
|
|
1224
|
+
description: string;
|
|
1225
|
+
/**
|
|
1226
|
+
* The identifier of the File containing the front of the document.
|
|
1227
|
+
*/
|
|
1228
|
+
file_id: string;
|
|
1229
|
+
/**
|
|
1230
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1231
|
+
* document has a reverse side.
|
|
1232
|
+
*/
|
|
1233
|
+
back_file_id?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1236
|
+
*/
|
|
1237
|
+
expiration_date?: string;
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1241
|
+
* equal to `passport`.
|
|
1242
|
+
*/
|
|
1243
|
+
interface Passport {
|
|
1244
|
+
/**
|
|
1245
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1246
|
+
* document (e.g., `US`).
|
|
1247
|
+
*/
|
|
1248
|
+
country: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1251
|
+
*/
|
|
1252
|
+
expiration_date: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* The identifier of the File containing the passport.
|
|
1255
|
+
*/
|
|
1256
|
+
file_id: string;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
/**
|
|
1263
|
+
* Details of the Government Authority entity to create. Required if `structure` is
|
|
1264
|
+
* equal to `government_authority`.
|
|
1265
|
+
*/
|
|
1266
|
+
interface GovernmentAuthority {
|
|
1267
|
+
/**
|
|
1268
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
1269
|
+
* are disallowed.
|
|
1270
|
+
*/
|
|
1271
|
+
address: GovernmentAuthority.Address;
|
|
1272
|
+
/**
|
|
1273
|
+
* The identifying details of authorized officials acting on the entity's behalf.
|
|
1274
|
+
*/
|
|
1275
|
+
authorized_persons: Array<GovernmentAuthority.AuthorizedPerson>;
|
|
1276
|
+
/**
|
|
1277
|
+
* The category of the government authority.
|
|
1278
|
+
*
|
|
1279
|
+
* - `municipality` - A municipality.
|
|
1280
|
+
* - `state_agency` - A state agency.
|
|
1281
|
+
* - `state_government` - A state government.
|
|
1282
|
+
* - `federal_agency` - A federal agency.
|
|
1283
|
+
*/
|
|
1284
|
+
category: 'municipality' | 'state_agency' | 'state_government' | 'federal_agency';
|
|
1285
|
+
/**
|
|
1286
|
+
* The legal name of the government authority.
|
|
1287
|
+
*/
|
|
1288
|
+
name: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* The Employer Identification Number (EIN) for the government authority.
|
|
1291
|
+
*/
|
|
1292
|
+
tax_identifier: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* The website of the government authority.
|
|
1295
|
+
*/
|
|
1296
|
+
website?: string;
|
|
1297
|
+
}
|
|
1298
|
+
namespace GovernmentAuthority {
|
|
1299
|
+
/**
|
|
1300
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
1301
|
+
* are disallowed.
|
|
1302
|
+
*/
|
|
1303
|
+
interface Address {
|
|
1304
|
+
/**
|
|
1305
|
+
* The city of the address.
|
|
1306
|
+
*/
|
|
1307
|
+
city: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* The first line of the address. This is usually the street number and street.
|
|
1310
|
+
*/
|
|
1311
|
+
line1: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1314
|
+
* the address.
|
|
1315
|
+
*/
|
|
1316
|
+
state: string;
|
|
1317
|
+
/**
|
|
1318
|
+
* The ZIP code of the address.
|
|
1319
|
+
*/
|
|
1320
|
+
zip: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* The second line of the address. This might be the floor or room number.
|
|
1323
|
+
*/
|
|
1324
|
+
line2?: string;
|
|
1325
|
+
}
|
|
1326
|
+
interface AuthorizedPerson {
|
|
1327
|
+
/**
|
|
1328
|
+
* The person's legal name.
|
|
1329
|
+
*/
|
|
1330
|
+
name: string;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
/**
|
|
1334
|
+
* Details of the joint entity to create. Required if `structure` is equal to
|
|
1335
|
+
* `joint`.
|
|
1336
|
+
*/
|
|
1337
|
+
interface Joint {
|
|
1338
|
+
/**
|
|
1339
|
+
* The two individuals that share control of the entity.
|
|
1340
|
+
*/
|
|
1341
|
+
individuals: Array<Joint.Individual>;
|
|
1342
|
+
}
|
|
1343
|
+
namespace Joint {
|
|
1344
|
+
interface Individual {
|
|
1345
|
+
/**
|
|
1346
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1347
|
+
* PMB's are disallowed.
|
|
1348
|
+
*/
|
|
1349
|
+
address: Individual.Address;
|
|
1350
|
+
/**
|
|
1351
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1352
|
+
*/
|
|
1353
|
+
date_of_birth: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* A means of verifying the person's identity.
|
|
1356
|
+
*/
|
|
1357
|
+
identification: Individual.Identification;
|
|
1358
|
+
/**
|
|
1359
|
+
* The person's legal name.
|
|
1360
|
+
*/
|
|
1361
|
+
name: string;
|
|
1362
|
+
/**
|
|
1363
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1364
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1365
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1366
|
+
* Number).
|
|
1367
|
+
*/
|
|
1368
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1369
|
+
}
|
|
1370
|
+
namespace Individual {
|
|
1371
|
+
/**
|
|
1372
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1373
|
+
* PMB's are disallowed.
|
|
1374
|
+
*/
|
|
1375
|
+
interface Address {
|
|
1376
|
+
/**
|
|
1377
|
+
* The city of the address.
|
|
1378
|
+
*/
|
|
1379
|
+
city: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* The first line of the address. This is usually the street number and street.
|
|
1382
|
+
*/
|
|
1383
|
+
line1: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1386
|
+
* the address.
|
|
1387
|
+
*/
|
|
1388
|
+
state: string;
|
|
1389
|
+
/**
|
|
1390
|
+
* The ZIP code of the address.
|
|
1391
|
+
*/
|
|
1392
|
+
zip: string;
|
|
1393
|
+
/**
|
|
1394
|
+
* The second line of the address. This might be the floor or room number.
|
|
1395
|
+
*/
|
|
1396
|
+
line2?: string;
|
|
1397
|
+
}
|
|
1398
|
+
/**
|
|
1399
|
+
* A means of verifying the person's identity.
|
|
1400
|
+
*/
|
|
1401
|
+
interface Identification {
|
|
1402
|
+
/**
|
|
1403
|
+
* A method that can be used to verify the individual's identity.
|
|
1404
|
+
*
|
|
1405
|
+
* - `social_security_number` - A social security number.
|
|
1406
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1407
|
+
* identification number (ITIN).
|
|
1408
|
+
* - `passport` - A passport number.
|
|
1409
|
+
* - `drivers_license` - A driver's license number.
|
|
1410
|
+
* - `other` - Another identifying document.
|
|
1411
|
+
*/
|
|
1412
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
1413
|
+
/**
|
|
1414
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1415
|
+
* such as a social security number.
|
|
1416
|
+
*/
|
|
1417
|
+
number: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* Information about the United States driver's license used for identification.
|
|
1420
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1421
|
+
*/
|
|
1422
|
+
drivers_license?: Identification.DriversLicense;
|
|
1423
|
+
/**
|
|
1424
|
+
* Information about the identification document provided. Required if `method` is
|
|
1425
|
+
* equal to `other`.
|
|
1426
|
+
*/
|
|
1427
|
+
other?: Identification.Other;
|
|
1428
|
+
/**
|
|
1429
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1430
|
+
* equal to `passport`.
|
|
1431
|
+
*/
|
|
1432
|
+
passport?: Identification.Passport;
|
|
1433
|
+
[k: string]: unknown;
|
|
1434
|
+
}
|
|
1435
|
+
namespace Identification {
|
|
1436
|
+
/**
|
|
1437
|
+
* Information about the United States driver's license used for identification.
|
|
1438
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1439
|
+
*/
|
|
1440
|
+
interface DriversLicense {
|
|
1441
|
+
/**
|
|
1442
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1443
|
+
*/
|
|
1444
|
+
expiration_date: string;
|
|
1445
|
+
/**
|
|
1446
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1447
|
+
*/
|
|
1448
|
+
file_id: string;
|
|
1449
|
+
/**
|
|
1450
|
+
* The state that issued the provided driver's license.
|
|
1451
|
+
*/
|
|
1452
|
+
state: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1455
|
+
*/
|
|
1456
|
+
back_file_id?: string;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Information about the identification document provided. Required if `method` is
|
|
1460
|
+
* equal to `other`.
|
|
1461
|
+
*/
|
|
1462
|
+
interface Other {
|
|
1463
|
+
/**
|
|
1464
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1465
|
+
* document (e.g., `US`).
|
|
1466
|
+
*/
|
|
1467
|
+
country: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* A description of the document submitted.
|
|
1470
|
+
*/
|
|
1471
|
+
description: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* The identifier of the File containing the front of the document.
|
|
1474
|
+
*/
|
|
1475
|
+
file_id: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1478
|
+
* document has a reverse side.
|
|
1479
|
+
*/
|
|
1480
|
+
back_file_id?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1483
|
+
*/
|
|
1484
|
+
expiration_date?: string;
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1488
|
+
* equal to `passport`.
|
|
1489
|
+
*/
|
|
1490
|
+
interface Passport {
|
|
1491
|
+
/**
|
|
1492
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1493
|
+
* passport (e.g., `US`).
|
|
1494
|
+
*/
|
|
1495
|
+
country: string;
|
|
1496
|
+
/**
|
|
1497
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1498
|
+
*/
|
|
1499
|
+
expiration_date: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* The identifier of the File containing the passport.
|
|
1502
|
+
*/
|
|
1503
|
+
file_id: string;
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
/**
|
|
1509
|
+
* Details of the natural person entity to create. Required if `structure` is equal
|
|
1510
|
+
* to `natural_person`. Natural people entities should be submitted with
|
|
1511
|
+
* `social_security_number` or `individual_taxpayer_identification_number`
|
|
1512
|
+
* identification methods.
|
|
1513
|
+
*/
|
|
1514
|
+
interface NaturalPerson {
|
|
1515
|
+
/**
|
|
1516
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1517
|
+
* PMB's are disallowed.
|
|
1518
|
+
*/
|
|
1519
|
+
address: NaturalPerson.Address;
|
|
1520
|
+
/**
|
|
1521
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1522
|
+
*/
|
|
1523
|
+
date_of_birth: string;
|
|
1524
|
+
/**
|
|
1525
|
+
* A means of verifying the person's identity.
|
|
1526
|
+
*/
|
|
1527
|
+
identification: NaturalPerson.Identification;
|
|
1528
|
+
/**
|
|
1529
|
+
* The person's legal name.
|
|
1530
|
+
*/
|
|
1531
|
+
name: string;
|
|
1532
|
+
/**
|
|
1533
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1534
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1535
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1536
|
+
* Number).
|
|
1537
|
+
*/
|
|
1538
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1539
|
+
}
|
|
1540
|
+
namespace NaturalPerson {
|
|
1541
|
+
/**
|
|
1542
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1543
|
+
* PMB's are disallowed.
|
|
1544
|
+
*/
|
|
1545
|
+
interface Address {
|
|
1546
|
+
/**
|
|
1547
|
+
* The city of the address.
|
|
1548
|
+
*/
|
|
1549
|
+
city: string;
|
|
1550
|
+
/**
|
|
1551
|
+
* The first line of the address. This is usually the street number and street.
|
|
1552
|
+
*/
|
|
1553
|
+
line1: string;
|
|
1554
|
+
/**
|
|
1555
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1556
|
+
* the address.
|
|
1557
|
+
*/
|
|
1558
|
+
state: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* The ZIP code of the address.
|
|
1561
|
+
*/
|
|
1562
|
+
zip: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* The second line of the address. This might be the floor or room number.
|
|
1565
|
+
*/
|
|
1566
|
+
line2?: string;
|
|
1567
|
+
}
|
|
1568
|
+
/**
|
|
1569
|
+
* A means of verifying the person's identity.
|
|
1570
|
+
*/
|
|
1571
|
+
interface Identification {
|
|
1572
|
+
/**
|
|
1573
|
+
* A method that can be used to verify the individual's identity.
|
|
1574
|
+
*
|
|
1575
|
+
* - `social_security_number` - A social security number.
|
|
1576
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1577
|
+
* identification number (ITIN).
|
|
1578
|
+
* - `passport` - A passport number.
|
|
1579
|
+
* - `drivers_license` - A driver's license number.
|
|
1580
|
+
* - `other` - Another identifying document.
|
|
1581
|
+
*/
|
|
1582
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
1583
|
+
/**
|
|
1584
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1585
|
+
* such as a social security number.
|
|
1586
|
+
*/
|
|
1587
|
+
number: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Information about the United States driver's license used for identification.
|
|
1590
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1591
|
+
*/
|
|
1592
|
+
drivers_license?: Identification.DriversLicense;
|
|
1593
|
+
/**
|
|
1594
|
+
* Information about the identification document provided. Required if `method` is
|
|
1595
|
+
* equal to `other`.
|
|
1596
|
+
*/
|
|
1597
|
+
other?: Identification.Other;
|
|
1598
|
+
/**
|
|
1599
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1600
|
+
* equal to `passport`.
|
|
1601
|
+
*/
|
|
1602
|
+
passport?: Identification.Passport;
|
|
1603
|
+
[k: string]: unknown;
|
|
1604
|
+
}
|
|
1605
|
+
namespace Identification {
|
|
1606
|
+
/**
|
|
1607
|
+
* Information about the United States driver's license used for identification.
|
|
1608
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1609
|
+
*/
|
|
1610
|
+
interface DriversLicense {
|
|
1611
|
+
/**
|
|
1612
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1613
|
+
*/
|
|
1614
|
+
expiration_date: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1617
|
+
*/
|
|
1618
|
+
file_id: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* The state that issued the provided driver's license.
|
|
1621
|
+
*/
|
|
1622
|
+
state: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1625
|
+
*/
|
|
1626
|
+
back_file_id?: string;
|
|
1627
|
+
}
|
|
1628
|
+
/**
|
|
1629
|
+
* Information about the identification document provided. Required if `method` is
|
|
1630
|
+
* equal to `other`.
|
|
1631
|
+
*/
|
|
1632
|
+
interface Other {
|
|
1633
|
+
/**
|
|
1634
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1635
|
+
* document (e.g., `US`).
|
|
1636
|
+
*/
|
|
1637
|
+
country: string;
|
|
1638
|
+
/**
|
|
1639
|
+
* A description of the document submitted.
|
|
1640
|
+
*/
|
|
1641
|
+
description: string;
|
|
1642
|
+
/**
|
|
1643
|
+
* The identifier of the File containing the front of the document.
|
|
1644
|
+
*/
|
|
1645
|
+
file_id: string;
|
|
1646
|
+
/**
|
|
1647
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1648
|
+
* document has a reverse side.
|
|
1649
|
+
*/
|
|
1650
|
+
back_file_id?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1653
|
+
*/
|
|
1654
|
+
expiration_date?: string;
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1658
|
+
* equal to `passport`.
|
|
1659
|
+
*/
|
|
1660
|
+
interface Passport {
|
|
1661
|
+
/**
|
|
1662
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1663
|
+
* passport (e.g., `US`).
|
|
1664
|
+
*/
|
|
1665
|
+
country: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1668
|
+
*/
|
|
1669
|
+
expiration_date: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* The identifier of the File containing the passport.
|
|
1672
|
+
*/
|
|
1673
|
+
file_id: string;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
/**
|
|
1678
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
1679
|
+
* such as money laundering.
|
|
1680
|
+
*/
|
|
1681
|
+
interface RiskRating {
|
|
1682
|
+
/**
|
|
1683
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
1684
|
+
* rating was performed.
|
|
1685
|
+
*/
|
|
1686
|
+
rated_at: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* The rating given to this entity.
|
|
1689
|
+
*
|
|
1690
|
+
* - `low` - Minimal risk of involvement in financial crime.
|
|
1691
|
+
* - `medium` - Moderate risk of involvement in financial crime.
|
|
1692
|
+
* - `high` - Elevated risk of involvement in financial crime.
|
|
1693
|
+
*/
|
|
1694
|
+
rating: 'low' | 'medium' | 'high';
|
|
1695
|
+
}
|
|
1696
|
+
interface SupplementalDocument {
|
|
1697
|
+
/**
|
|
1698
|
+
* The identifier of the File containing the document.
|
|
1699
|
+
*/
|
|
1700
|
+
file_id: string;
|
|
1701
|
+
}
|
|
1702
|
+
/**
|
|
1703
|
+
* If you are using a third-party service for identity verification, you can use
|
|
1704
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
1705
|
+
* that service.
|
|
1706
|
+
*/
|
|
1707
|
+
interface ThirdPartyVerification {
|
|
1708
|
+
/**
|
|
1709
|
+
* The reference identifier for the third party verification.
|
|
1710
|
+
*/
|
|
1711
|
+
reference: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* The vendor that was used to perform the verification.
|
|
1714
|
+
*
|
|
1715
|
+
* - `alloy` - Alloy. See https://alloy.com for more information.
|
|
1716
|
+
* - `middesk` - Middesk. See https://middesk.com for more information.
|
|
1717
|
+
* - `oscilar` - Oscilar. See https://oscilar.com for more information.
|
|
1718
|
+
*/
|
|
1719
|
+
vendor: 'alloy' | 'middesk' | 'oscilar';
|
|
1720
|
+
}
|
|
1721
|
+
/**
|
|
1722
|
+
* Details of the trust entity to create. Required if `structure` is equal to
|
|
1723
|
+
* `trust`.
|
|
1724
|
+
*/
|
|
1725
|
+
interface Trust {
|
|
1726
|
+
/**
|
|
1727
|
+
* The trust's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
1728
|
+
* are disallowed.
|
|
1729
|
+
*/
|
|
1730
|
+
address: Trust.Address;
|
|
1731
|
+
/**
|
|
1732
|
+
* Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require
|
|
1733
|
+
* their own Employer Identification Number. Revocable trusts require information
|
|
1734
|
+
* about the individual `grantor` who created the trust.
|
|
1735
|
+
*
|
|
1736
|
+
* - `revocable` - The trust is revocable by the grantor.
|
|
1737
|
+
* - `irrevocable` - The trust cannot be revoked.
|
|
1738
|
+
*/
|
|
1739
|
+
category: 'revocable' | 'irrevocable';
|
|
1740
|
+
/**
|
|
1741
|
+
* The legal name of the trust.
|
|
1742
|
+
*/
|
|
1743
|
+
name: string;
|
|
1744
|
+
/**
|
|
1745
|
+
* The trustees of the trust.
|
|
1746
|
+
*/
|
|
1747
|
+
trustees: Array<Trust.Trustee>;
|
|
1748
|
+
/**
|
|
1749
|
+
* The identifier of the File containing the formation document of the trust.
|
|
1750
|
+
*/
|
|
1751
|
+
formation_document_file_id?: string;
|
|
1752
|
+
/**
|
|
1753
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state in
|
|
1754
|
+
* which the trust was formed.
|
|
1755
|
+
*/
|
|
1756
|
+
formation_state?: string;
|
|
1757
|
+
/**
|
|
1758
|
+
* The grantor of the trust. Required if `category` is equal to `revocable`.
|
|
1759
|
+
*/
|
|
1760
|
+
grantor?: Trust.Grantor;
|
|
1761
|
+
/**
|
|
1762
|
+
* The Employer Identification Number (EIN) for the trust. Required if `category`
|
|
1763
|
+
* is equal to `irrevocable`.
|
|
1764
|
+
*/
|
|
1765
|
+
tax_identifier?: string;
|
|
1766
|
+
}
|
|
1767
|
+
namespace Trust {
|
|
1768
|
+
/**
|
|
1769
|
+
* The trust's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
1770
|
+
* are disallowed.
|
|
1771
|
+
*/
|
|
1772
|
+
interface Address {
|
|
1773
|
+
/**
|
|
1774
|
+
* The city of the address.
|
|
1775
|
+
*/
|
|
1776
|
+
city: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* The first line of the address. This is usually the street number and street.
|
|
1779
|
+
*/
|
|
1780
|
+
line1: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1783
|
+
* the address.
|
|
1784
|
+
*/
|
|
1785
|
+
state: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* The ZIP code of the address.
|
|
1788
|
+
*/
|
|
1789
|
+
zip: string;
|
|
1790
|
+
/**
|
|
1791
|
+
* The second line of the address. This might be the floor or room number.
|
|
1792
|
+
*/
|
|
1793
|
+
line2?: string;
|
|
1794
|
+
}
|
|
1795
|
+
interface Trustee {
|
|
1796
|
+
/**
|
|
1797
|
+
* The structure of the trustee.
|
|
1798
|
+
*
|
|
1799
|
+
* - `individual` - The trustee is an individual.
|
|
1800
|
+
*/
|
|
1801
|
+
structure: 'individual';
|
|
1802
|
+
/**
|
|
1803
|
+
* Details of the individual trustee. Within the trustee object, this is required
|
|
1804
|
+
* if `structure` is equal to `individual`.
|
|
1805
|
+
*/
|
|
1806
|
+
individual?: Trustee.Individual;
|
|
1807
|
+
}
|
|
1808
|
+
namespace Trustee {
|
|
1809
|
+
/**
|
|
1810
|
+
* Details of the individual trustee. Within the trustee object, this is required
|
|
1811
|
+
* if `structure` is equal to `individual`.
|
|
1812
|
+
*/
|
|
1813
|
+
interface Individual {
|
|
1814
|
+
/**
|
|
1815
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1816
|
+
* PMB's are disallowed.
|
|
1817
|
+
*/
|
|
1818
|
+
address: Individual.Address;
|
|
1819
|
+
/**
|
|
1820
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1821
|
+
*/
|
|
1822
|
+
date_of_birth: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* A means of verifying the person's identity.
|
|
1825
|
+
*/
|
|
1826
|
+
identification: Individual.Identification;
|
|
1827
|
+
/**
|
|
1828
|
+
* The person's legal name.
|
|
1829
|
+
*/
|
|
1830
|
+
name: string;
|
|
1831
|
+
/**
|
|
1832
|
+
* The identification method for an individual can only be a passport, driver's
|
|
1833
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
1834
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
1835
|
+
* Number).
|
|
1836
|
+
*/
|
|
1837
|
+
confirmed_no_us_tax_id?: boolean;
|
|
1838
|
+
}
|
|
1839
|
+
namespace Individual {
|
|
1840
|
+
/**
|
|
1841
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1842
|
+
* PMB's are disallowed.
|
|
1843
|
+
*/
|
|
1844
|
+
interface Address {
|
|
1845
|
+
/**
|
|
1846
|
+
* The city of the address.
|
|
1847
|
+
*/
|
|
1848
|
+
city: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* The first line of the address. This is usually the street number and street.
|
|
1851
|
+
*/
|
|
1852
|
+
line1: string;
|
|
1853
|
+
/**
|
|
1854
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
1855
|
+
* the address.
|
|
1856
|
+
*/
|
|
1857
|
+
state: string;
|
|
1858
|
+
/**
|
|
1859
|
+
* The ZIP code of the address.
|
|
1860
|
+
*/
|
|
1861
|
+
zip: string;
|
|
1862
|
+
/**
|
|
1863
|
+
* The second line of the address. This might be the floor or room number.
|
|
1864
|
+
*/
|
|
1865
|
+
line2?: string;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* A means of verifying the person's identity.
|
|
1869
|
+
*/
|
|
1870
|
+
interface Identification {
|
|
1871
|
+
/**
|
|
1872
|
+
* A method that can be used to verify the individual's identity.
|
|
1873
|
+
*
|
|
1874
|
+
* - `social_security_number` - A social security number.
|
|
1875
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
1876
|
+
* identification number (ITIN).
|
|
1877
|
+
* - `passport` - A passport number.
|
|
1878
|
+
* - `drivers_license` - A driver's license number.
|
|
1879
|
+
* - `other` - Another identifying document.
|
|
1880
|
+
*/
|
|
1881
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
1882
|
+
/**
|
|
1883
|
+
* An identification number that can be used to verify the individual's identity,
|
|
1884
|
+
* such as a social security number.
|
|
1885
|
+
*/
|
|
1886
|
+
number: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Information about the United States driver's license used for identification.
|
|
1889
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1890
|
+
*/
|
|
1891
|
+
drivers_license?: Identification.DriversLicense;
|
|
1892
|
+
/**
|
|
1893
|
+
* Information about the identification document provided. Required if `method` is
|
|
1894
|
+
* equal to `other`.
|
|
1895
|
+
*/
|
|
1896
|
+
other?: Identification.Other;
|
|
1897
|
+
/**
|
|
1898
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1899
|
+
* equal to `passport`.
|
|
1900
|
+
*/
|
|
1901
|
+
passport?: Identification.Passport;
|
|
1902
|
+
[k: string]: unknown;
|
|
1903
|
+
}
|
|
1904
|
+
namespace Identification {
|
|
1905
|
+
/**
|
|
1906
|
+
* Information about the United States driver's license used for identification.
|
|
1907
|
+
* Required if `method` is equal to `drivers_license`.
|
|
1908
|
+
*/
|
|
1909
|
+
interface DriversLicense {
|
|
1910
|
+
/**
|
|
1911
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
1912
|
+
*/
|
|
1913
|
+
expiration_date: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1916
|
+
*/
|
|
1917
|
+
file_id: string;
|
|
1918
|
+
/**
|
|
1919
|
+
* The state that issued the provided driver's license.
|
|
1920
|
+
*/
|
|
1921
|
+
state: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1924
|
+
*/
|
|
1925
|
+
back_file_id?: string;
|
|
1926
|
+
}
|
|
1927
|
+
/**
|
|
1928
|
+
* Information about the identification document provided. Required if `method` is
|
|
1929
|
+
* equal to `other`.
|
|
1930
|
+
*/
|
|
1931
|
+
interface Other {
|
|
1932
|
+
/**
|
|
1933
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1934
|
+
* document (e.g., `US`).
|
|
1935
|
+
*/
|
|
1936
|
+
country: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* A description of the document submitted.
|
|
1939
|
+
*/
|
|
1940
|
+
description: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* The identifier of the File containing the front of the document.
|
|
1943
|
+
*/
|
|
1944
|
+
file_id: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1947
|
+
* document has a reverse side.
|
|
1948
|
+
*/
|
|
1949
|
+
back_file_id?: string;
|
|
1950
|
+
/**
|
|
1951
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
1952
|
+
*/
|
|
1953
|
+
expiration_date?: string;
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Information about the passport used for identification. Required if `method` is
|
|
1957
|
+
* equal to `passport`.
|
|
1958
|
+
*/
|
|
1959
|
+
interface Passport {
|
|
1960
|
+
/**
|
|
1961
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
1962
|
+
* passport (e.g., `US`).
|
|
1963
|
+
*/
|
|
1964
|
+
country: string;
|
|
1965
|
+
/**
|
|
1966
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
1967
|
+
*/
|
|
1968
|
+
expiration_date: string;
|
|
1969
|
+
/**
|
|
1970
|
+
* The identifier of the File containing the passport.
|
|
1971
|
+
*/
|
|
1972
|
+
file_id: string;
|
|
1973
|
+
}
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
/**
|
|
1978
|
+
* The grantor of the trust. Required if `category` is equal to `revocable`.
|
|
1979
|
+
*/
|
|
1980
|
+
interface Grantor {
|
|
1981
|
+
/**
|
|
1982
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
1983
|
+
* PMB's are disallowed.
|
|
1984
|
+
*/
|
|
1985
|
+
address: Grantor.Address;
|
|
1986
|
+
/**
|
|
1987
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
1988
|
+
*/
|
|
1989
|
+
date_of_birth: string;
|
|
1990
|
+
/**
|
|
1991
|
+
* A means of verifying the person's identity.
|
|
1992
|
+
*/
|
|
1993
|
+
identification: Grantor.Identification;
|
|
1994
|
+
/**
|
|
1995
|
+
* The person's legal name.
|
|
1996
|
+
*/
|
|
1997
|
+
name: string;
|
|
1998
|
+
/**
|
|
1999
|
+
* The identification method for an individual can only be a passport, driver's
|
|
2000
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
2001
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
2002
|
+
* Number).
|
|
2003
|
+
*/
|
|
2004
|
+
confirmed_no_us_tax_id?: boolean;
|
|
2005
|
+
}
|
|
2006
|
+
namespace Grantor {
|
|
2007
|
+
/**
|
|
2008
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2009
|
+
* PMB's are disallowed.
|
|
2010
|
+
*/
|
|
2011
|
+
interface Address {
|
|
2012
|
+
/**
|
|
2013
|
+
* The city of the address.
|
|
2014
|
+
*/
|
|
2015
|
+
city: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* The first line of the address. This is usually the street number and street.
|
|
2018
|
+
*/
|
|
2019
|
+
line1: string;
|
|
2020
|
+
/**
|
|
2021
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2022
|
+
* the address.
|
|
2023
|
+
*/
|
|
2024
|
+
state: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* The ZIP code of the address.
|
|
2027
|
+
*/
|
|
2028
|
+
zip: string;
|
|
2029
|
+
/**
|
|
2030
|
+
* The second line of the address. This might be the floor or room number.
|
|
2031
|
+
*/
|
|
2032
|
+
line2?: string;
|
|
2033
|
+
}
|
|
2034
|
+
/**
|
|
2035
|
+
* A means of verifying the person's identity.
|
|
2036
|
+
*/
|
|
2037
|
+
interface Identification {
|
|
2038
|
+
/**
|
|
2039
|
+
* A method that can be used to verify the individual's identity.
|
|
2040
|
+
*
|
|
2041
|
+
* - `social_security_number` - A social security number.
|
|
2042
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
2043
|
+
* identification number (ITIN).
|
|
2044
|
+
* - `passport` - A passport number.
|
|
2045
|
+
* - `drivers_license` - A driver's license number.
|
|
2046
|
+
* - `other` - Another identifying document.
|
|
2047
|
+
*/
|
|
2048
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
2049
|
+
/**
|
|
2050
|
+
* An identification number that can be used to verify the individual's identity,
|
|
2051
|
+
* such as a social security number.
|
|
2052
|
+
*/
|
|
2053
|
+
number: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* Information about the United States driver's license used for identification.
|
|
2056
|
+
* Required if `method` is equal to `drivers_license`.
|
|
2057
|
+
*/
|
|
2058
|
+
drivers_license?: Identification.DriversLicense;
|
|
2059
|
+
/**
|
|
2060
|
+
* Information about the identification document provided. Required if `method` is
|
|
2061
|
+
* equal to `other`.
|
|
2062
|
+
*/
|
|
2063
|
+
other?: Identification.Other;
|
|
2064
|
+
/**
|
|
2065
|
+
* Information about the passport used for identification. Required if `method` is
|
|
2066
|
+
* equal to `passport`.
|
|
2067
|
+
*/
|
|
2068
|
+
passport?: Identification.Passport;
|
|
2069
|
+
[k: string]: unknown;
|
|
2070
|
+
}
|
|
2071
|
+
namespace Identification {
|
|
2072
|
+
/**
|
|
2073
|
+
* Information about the United States driver's license used for identification.
|
|
2074
|
+
* Required if `method` is equal to `drivers_license`.
|
|
2075
|
+
*/
|
|
2076
|
+
interface DriversLicense {
|
|
2077
|
+
/**
|
|
2078
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
2079
|
+
*/
|
|
2080
|
+
expiration_date: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* The identifier of the File containing the front of the driver's license.
|
|
2083
|
+
*/
|
|
2084
|
+
file_id: string;
|
|
2085
|
+
/**
|
|
2086
|
+
* The state that issued the provided driver's license.
|
|
2087
|
+
*/
|
|
2088
|
+
state: string;
|
|
2089
|
+
/**
|
|
2090
|
+
* The identifier of the File containing the back of the driver's license.
|
|
2091
|
+
*/
|
|
2092
|
+
back_file_id?: string;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* Information about the identification document provided. Required if `method` is
|
|
2096
|
+
* equal to `other`.
|
|
2097
|
+
*/
|
|
2098
|
+
interface Other {
|
|
2099
|
+
/**
|
|
2100
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
2101
|
+
* document (e.g., `US`).
|
|
2102
|
+
*/
|
|
2103
|
+
country: string;
|
|
2104
|
+
/**
|
|
2105
|
+
* A description of the document submitted.
|
|
2106
|
+
*/
|
|
2107
|
+
description: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* The identifier of the File containing the front of the document.
|
|
2110
|
+
*/
|
|
2111
|
+
file_id: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* The identifier of the File containing the back of the document. Not every
|
|
2114
|
+
* document has a reverse side.
|
|
2115
|
+
*/
|
|
2116
|
+
back_file_id?: string;
|
|
2117
|
+
/**
|
|
2118
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
2119
|
+
*/
|
|
2120
|
+
expiration_date?: string;
|
|
2121
|
+
}
|
|
2122
|
+
/**
|
|
2123
|
+
* Information about the passport used for identification. Required if `method` is
|
|
2124
|
+
* equal to `passport`.
|
|
2125
|
+
*/
|
|
2126
|
+
interface Passport {
|
|
2127
|
+
/**
|
|
2128
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
2129
|
+
* passport (e.g., `US`).
|
|
2130
|
+
*/
|
|
2131
|
+
country: string;
|
|
2132
|
+
/**
|
|
2133
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
2134
|
+
*/
|
|
2135
|
+
expiration_date: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* The identifier of the File containing the passport.
|
|
2138
|
+
*/
|
|
2139
|
+
file_id: string;
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
export interface EntityUpdateParams {
|
|
2146
|
+
/**
|
|
2147
|
+
* Details of the corporation entity to update. If you specify this parameter and
|
|
2148
|
+
* the entity is not a corporation, the request will fail.
|
|
2149
|
+
*/
|
|
2150
|
+
corporation?: EntityUpdateParams.Corporation;
|
|
2151
|
+
/**
|
|
2152
|
+
* When your user last confirmed the Entity's details. Depending on your program,
|
|
2153
|
+
* you may be required to affirmatively confirm details with your users on an
|
|
2154
|
+
* annual basis.
|
|
2155
|
+
*/
|
|
2156
|
+
details_confirmed_at?: string;
|
|
2157
|
+
/**
|
|
2158
|
+
* Details of the government authority entity to update. If you specify this
|
|
2159
|
+
* parameter and the entity is not a government authority, the request will fail.
|
|
2160
|
+
*/
|
|
2161
|
+
government_authority?: EntityUpdateParams.GovernmentAuthority;
|
|
2162
|
+
/**
|
|
2163
|
+
* Details of the natural person entity to update. If you specify this parameter
|
|
2164
|
+
* and the entity is not a natural person, the request will fail.
|
|
2165
|
+
*/
|
|
2166
|
+
natural_person?: EntityUpdateParams.NaturalPerson;
|
|
2167
|
+
/**
|
|
2168
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
2169
|
+
* such as money laundering.
|
|
2170
|
+
*/
|
|
2171
|
+
risk_rating?: EntityUpdateParams.RiskRating;
|
|
2172
|
+
/**
|
|
2173
|
+
* If you are using a third-party service for identity verification, you can use
|
|
2174
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
2175
|
+
* that service.
|
|
2176
|
+
*/
|
|
2177
|
+
third_party_verification?: EntityUpdateParams.ThirdPartyVerification;
|
|
2178
|
+
/**
|
|
2179
|
+
* Details of the trust entity to update. If you specify this parameter and the
|
|
2180
|
+
* entity is not a trust, the request will fail.
|
|
2181
|
+
*/
|
|
2182
|
+
trust?: EntityUpdateParams.Trust;
|
|
2183
|
+
}
|
|
2184
|
+
export declare namespace EntityUpdateParams {
|
|
2185
|
+
/**
|
|
2186
|
+
* Details of the corporation entity to update. If you specify this parameter and
|
|
2187
|
+
* the entity is not a corporation, the request will fail.
|
|
2188
|
+
*/
|
|
2189
|
+
interface Corporation {
|
|
2190
|
+
/**
|
|
2191
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2192
|
+
* are disallowed.
|
|
2193
|
+
*/
|
|
2194
|
+
address?: Corporation.Address;
|
|
2195
|
+
/**
|
|
2196
|
+
* The North American Industry Classification System (NAICS) code for the
|
|
2197
|
+
* corporation's primary line of business. This is a number, like `5132` for
|
|
2198
|
+
* `Software Publishers`. A full list of classification codes is available
|
|
2199
|
+
* [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
2200
|
+
*/
|
|
2201
|
+
industry_code?: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* The legal name of the corporation.
|
|
2204
|
+
*/
|
|
2205
|
+
name?: string;
|
|
2206
|
+
}
|
|
2207
|
+
namespace Corporation {
|
|
2208
|
+
/**
|
|
2209
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2210
|
+
* are disallowed.
|
|
2211
|
+
*/
|
|
2212
|
+
interface Address {
|
|
2213
|
+
/**
|
|
2214
|
+
* The city of the address.
|
|
2215
|
+
*/
|
|
2216
|
+
city: string;
|
|
2217
|
+
/**
|
|
2218
|
+
* The first line of the address. This is usually the street number and street.
|
|
2219
|
+
*/
|
|
2220
|
+
line1: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2223
|
+
* the address.
|
|
2224
|
+
*/
|
|
2225
|
+
state: string;
|
|
2226
|
+
/**
|
|
2227
|
+
* The ZIP code of the address.
|
|
2228
|
+
*/
|
|
2229
|
+
zip: string;
|
|
2230
|
+
/**
|
|
2231
|
+
* The second line of the address. This might be the floor or room number.
|
|
2232
|
+
*/
|
|
2233
|
+
line2?: string;
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
/**
|
|
2237
|
+
* Details of the government authority entity to update. If you specify this
|
|
2238
|
+
* parameter and the entity is not a government authority, the request will fail.
|
|
2239
|
+
*/
|
|
2240
|
+
interface GovernmentAuthority {
|
|
2241
|
+
/**
|
|
2242
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2243
|
+
* are disallowed.
|
|
2244
|
+
*/
|
|
2245
|
+
address?: GovernmentAuthority.Address;
|
|
2246
|
+
/**
|
|
2247
|
+
* The legal name of the government authority.
|
|
2248
|
+
*/
|
|
2249
|
+
name?: string;
|
|
2250
|
+
}
|
|
2251
|
+
namespace GovernmentAuthority {
|
|
2252
|
+
/**
|
|
2253
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2254
|
+
* are disallowed.
|
|
2255
|
+
*/
|
|
2256
|
+
interface Address {
|
|
2257
|
+
/**
|
|
2258
|
+
* The city of the address.
|
|
2259
|
+
*/
|
|
2260
|
+
city: string;
|
|
2261
|
+
/**
|
|
2262
|
+
* The first line of the address. This is usually the street number and street.
|
|
2263
|
+
*/
|
|
2264
|
+
line1: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2267
|
+
* the address.
|
|
2268
|
+
*/
|
|
2269
|
+
state: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* The ZIP code of the address.
|
|
2272
|
+
*/
|
|
2273
|
+
zip: string;
|
|
2274
|
+
/**
|
|
2275
|
+
* The second line of the address. This might be the floor or room number.
|
|
2276
|
+
*/
|
|
2277
|
+
line2?: string;
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
/**
|
|
2281
|
+
* Details of the natural person entity to update. If you specify this parameter
|
|
2282
|
+
* and the entity is not a natural person, the request will fail.
|
|
2283
|
+
*/
|
|
2284
|
+
interface NaturalPerson {
|
|
2285
|
+
/**
|
|
2286
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2287
|
+
* are disallowed.
|
|
2288
|
+
*/
|
|
2289
|
+
address?: NaturalPerson.Address;
|
|
2290
|
+
/**
|
|
2291
|
+
* The legal name of the natural person.
|
|
2292
|
+
*/
|
|
2293
|
+
name?: string;
|
|
2294
|
+
}
|
|
2295
|
+
namespace NaturalPerson {
|
|
2296
|
+
/**
|
|
2297
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2298
|
+
* are disallowed.
|
|
2299
|
+
*/
|
|
2300
|
+
interface Address {
|
|
2301
|
+
/**
|
|
2302
|
+
* The city of the address.
|
|
2303
|
+
*/
|
|
2304
|
+
city: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* The first line of the address. This is usually the street number and street.
|
|
2307
|
+
*/
|
|
2308
|
+
line1: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2311
|
+
* the address.
|
|
2312
|
+
*/
|
|
2313
|
+
state: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* The ZIP code of the address.
|
|
2316
|
+
*/
|
|
2317
|
+
zip: string;
|
|
2318
|
+
/**
|
|
2319
|
+
* The second line of the address. This might be the floor or room number.
|
|
2320
|
+
*/
|
|
2321
|
+
line2?: string;
|
|
2322
|
+
}
|
|
2323
|
+
}
|
|
2324
|
+
/**
|
|
2325
|
+
* An assessment of the entity’s potential risk of involvement in financial crimes,
|
|
2326
|
+
* such as money laundering.
|
|
2327
|
+
*/
|
|
2328
|
+
interface RiskRating {
|
|
2329
|
+
/**
|
|
2330
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the risk
|
|
2331
|
+
* rating was performed.
|
|
2332
|
+
*/
|
|
2333
|
+
rated_at: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* The rating given to this entity.
|
|
2336
|
+
*
|
|
2337
|
+
* - `low` - Minimal risk of involvement in financial crime.
|
|
2338
|
+
* - `medium` - Moderate risk of involvement in financial crime.
|
|
2339
|
+
* - `high` - Elevated risk of involvement in financial crime.
|
|
2340
|
+
*/
|
|
2341
|
+
rating: 'low' | 'medium' | 'high';
|
|
2342
|
+
}
|
|
2343
|
+
/**
|
|
2344
|
+
* If you are using a third-party service for identity verification, you can use
|
|
2345
|
+
* this field to associate this Entity with the identifier that represents them in
|
|
2346
|
+
* that service.
|
|
2347
|
+
*/
|
|
2348
|
+
interface ThirdPartyVerification {
|
|
2349
|
+
/**
|
|
2350
|
+
* The reference identifier for the third party verification.
|
|
2351
|
+
*/
|
|
2352
|
+
reference: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* The vendor that was used to perform the verification.
|
|
2355
|
+
*
|
|
2356
|
+
* - `alloy` - Alloy. See https://alloy.com for more information.
|
|
2357
|
+
* - `middesk` - Middesk. See https://middesk.com for more information.
|
|
2358
|
+
* - `oscilar` - Oscilar. See https://oscilar.com for more information.
|
|
2359
|
+
*/
|
|
2360
|
+
vendor: 'alloy' | 'middesk' | 'oscilar';
|
|
2361
|
+
}
|
|
2362
|
+
/**
|
|
2363
|
+
* Details of the trust entity to update. If you specify this parameter and the
|
|
2364
|
+
* entity is not a trust, the request will fail.
|
|
2365
|
+
*/
|
|
2366
|
+
interface Trust {
|
|
2367
|
+
/**
|
|
2368
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2369
|
+
* are disallowed.
|
|
2370
|
+
*/
|
|
2371
|
+
address?: Trust.Address;
|
|
2372
|
+
/**
|
|
2373
|
+
* The legal name of the trust.
|
|
2374
|
+
*/
|
|
2375
|
+
name?: string;
|
|
2376
|
+
}
|
|
2377
|
+
namespace Trust {
|
|
2378
|
+
/**
|
|
2379
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2380
|
+
* are disallowed.
|
|
2381
|
+
*/
|
|
2382
|
+
interface Address {
|
|
2383
|
+
/**
|
|
2384
|
+
* The city of the address.
|
|
2385
|
+
*/
|
|
2386
|
+
city: string;
|
|
2387
|
+
/**
|
|
2388
|
+
* The first line of the address. This is usually the street number and street.
|
|
2389
|
+
*/
|
|
2390
|
+
line1: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2393
|
+
* the address.
|
|
2394
|
+
*/
|
|
2395
|
+
state: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* The ZIP code of the address.
|
|
2398
|
+
*/
|
|
2399
|
+
zip: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* The second line of the address. This might be the floor or room number.
|
|
2402
|
+
*/
|
|
2403
|
+
line2?: string;
|
|
2404
|
+
}
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
export interface EntityListParams extends PageParams {
|
|
2408
|
+
created_at?: EntityListParams.CreatedAt;
|
|
2409
|
+
/**
|
|
2410
|
+
* Filter records to the one with the specified `idempotency_key` you chose for
|
|
2411
|
+
* that object. This value is unique across Increase and is used to ensure that a
|
|
2412
|
+
* request is only processed once. Learn more about
|
|
2413
|
+
* [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
2414
|
+
*/
|
|
2415
|
+
idempotency_key?: string;
|
|
2416
|
+
status?: EntityListParams.Status;
|
|
2417
|
+
}
|
|
2418
|
+
export declare namespace EntityListParams {
|
|
2419
|
+
interface CreatedAt {
|
|
2420
|
+
/**
|
|
2421
|
+
* Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
2422
|
+
* timestamp.
|
|
2423
|
+
*/
|
|
2424
|
+
after?: string;
|
|
2425
|
+
/**
|
|
2426
|
+
* Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
2427
|
+
* timestamp.
|
|
2428
|
+
*/
|
|
2429
|
+
before?: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Return results on or after this
|
|
2432
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
2433
|
+
*/
|
|
2434
|
+
on_or_after?: string;
|
|
2435
|
+
/**
|
|
2436
|
+
* Return results on or before this
|
|
2437
|
+
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
2438
|
+
*/
|
|
2439
|
+
on_or_before?: string;
|
|
2440
|
+
}
|
|
2441
|
+
interface Status {
|
|
2442
|
+
/**
|
|
2443
|
+
* Filter Entities for those with the specified status or statuses. For GET
|
|
2444
|
+
* requests, this should be encoded as a comma-delimited string, such as
|
|
2445
|
+
* `?in=one,two,three`.
|
|
2446
|
+
*/
|
|
2447
|
+
in?: Array<'active' | 'archived' | 'disabled'>;
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
export interface EntityArchiveBeneficialOwnerParams {
|
|
2451
|
+
/**
|
|
2452
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2453
|
+
* corporation.
|
|
2454
|
+
*/
|
|
2455
|
+
beneficial_owner_id: string;
|
|
2456
|
+
}
|
|
2457
|
+
export interface EntityConfirmParams {
|
|
2458
|
+
/**
|
|
2459
|
+
* When your user confirmed the Entity's details. If not provided, the current time
|
|
2460
|
+
* will be used.
|
|
2461
|
+
*/
|
|
2462
|
+
confirmed_at?: string;
|
|
2463
|
+
}
|
|
2464
|
+
export interface EntityCreateBeneficialOwnerParams {
|
|
2465
|
+
/**
|
|
2466
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2467
|
+
* corporation.
|
|
2468
|
+
*/
|
|
2469
|
+
beneficial_owner: EntityCreateBeneficialOwnerParams.BeneficialOwner;
|
|
2470
|
+
}
|
|
2471
|
+
export declare namespace EntityCreateBeneficialOwnerParams {
|
|
2472
|
+
/**
|
|
2473
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2474
|
+
* corporation.
|
|
2475
|
+
*/
|
|
2476
|
+
interface BeneficialOwner {
|
|
2477
|
+
/**
|
|
2478
|
+
* Personal details for the beneficial owner.
|
|
2479
|
+
*/
|
|
2480
|
+
individual: BeneficialOwner.Individual;
|
|
2481
|
+
/**
|
|
2482
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
2483
|
+
* option is required, if a person is both a control person and owner, submit an
|
|
2484
|
+
* array containing both.
|
|
2485
|
+
*/
|
|
2486
|
+
prongs: Array<'ownership' | 'control'>;
|
|
2487
|
+
/**
|
|
2488
|
+
* This person's role or title within the entity.
|
|
2489
|
+
*/
|
|
2490
|
+
company_title?: string;
|
|
2491
|
+
[k: string]: unknown;
|
|
2492
|
+
}
|
|
2493
|
+
namespace BeneficialOwner {
|
|
2494
|
+
/**
|
|
2495
|
+
* Personal details for the beneficial owner.
|
|
2496
|
+
*/
|
|
2497
|
+
interface Individual {
|
|
2498
|
+
/**
|
|
2499
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2500
|
+
* PMB's are disallowed.
|
|
2501
|
+
*/
|
|
2502
|
+
address: Individual.Address;
|
|
2503
|
+
/**
|
|
2504
|
+
* The person's date of birth in YYYY-MM-DD format.
|
|
2505
|
+
*/
|
|
2506
|
+
date_of_birth: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* A means of verifying the person's identity.
|
|
2509
|
+
*/
|
|
2510
|
+
identification: Individual.Identification;
|
|
2511
|
+
/**
|
|
2512
|
+
* The person's legal name.
|
|
2513
|
+
*/
|
|
2514
|
+
name: string;
|
|
2515
|
+
/**
|
|
2516
|
+
* The identification method for an individual can only be a passport, driver's
|
|
2517
|
+
* license, or other document if you've confirmed the individual does not have a US
|
|
2518
|
+
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
2519
|
+
* Number).
|
|
2520
|
+
*/
|
|
2521
|
+
confirmed_no_us_tax_id?: boolean;
|
|
2522
|
+
}
|
|
2523
|
+
namespace Individual {
|
|
2524
|
+
/**
|
|
2525
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2526
|
+
* PMB's are disallowed.
|
|
2527
|
+
*/
|
|
2528
|
+
interface Address {
|
|
2529
|
+
/**
|
|
2530
|
+
* The city, district, town, or village of the address.
|
|
2531
|
+
*/
|
|
2532
|
+
city: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2535
|
+
*/
|
|
2536
|
+
country: string;
|
|
2537
|
+
/**
|
|
2538
|
+
* The first line of the address. This is usually the street number and street.
|
|
2539
|
+
*/
|
|
2540
|
+
line1: string;
|
|
2541
|
+
/**
|
|
2542
|
+
* The second line of the address. This might be the floor or room number.
|
|
2543
|
+
*/
|
|
2544
|
+
line2?: string;
|
|
2545
|
+
/**
|
|
2546
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2547
|
+
* state, province, or region of the address. Required in certain countries.
|
|
2548
|
+
*/
|
|
2549
|
+
state?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* The ZIP or postal code of the address. Required in certain countries.
|
|
2552
|
+
*/
|
|
2553
|
+
zip?: string;
|
|
2554
|
+
}
|
|
2555
|
+
/**
|
|
2556
|
+
* A means of verifying the person's identity.
|
|
2557
|
+
*/
|
|
2558
|
+
interface Identification {
|
|
2559
|
+
/**
|
|
2560
|
+
* A method that can be used to verify the individual's identity.
|
|
2561
|
+
*
|
|
2562
|
+
* - `social_security_number` - A social security number.
|
|
2563
|
+
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
2564
|
+
* identification number (ITIN).
|
|
2565
|
+
* - `passport` - A passport number.
|
|
2566
|
+
* - `drivers_license` - A driver's license number.
|
|
2567
|
+
* - `other` - Another identifying document.
|
|
2568
|
+
*/
|
|
2569
|
+
method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
|
|
2570
|
+
/**
|
|
2571
|
+
* An identification number that can be used to verify the individual's identity,
|
|
2572
|
+
* such as a social security number.
|
|
2573
|
+
*/
|
|
2574
|
+
number: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* Information about the United States driver's license used for identification.
|
|
2577
|
+
* Required if `method` is equal to `drivers_license`.
|
|
2578
|
+
*/
|
|
2579
|
+
drivers_license?: Identification.DriversLicense;
|
|
2580
|
+
/**
|
|
2581
|
+
* Information about the identification document provided. Required if `method` is
|
|
2582
|
+
* equal to `other`.
|
|
2583
|
+
*/
|
|
2584
|
+
other?: Identification.Other;
|
|
2585
|
+
/**
|
|
2586
|
+
* Information about the passport used for identification. Required if `method` is
|
|
2587
|
+
* equal to `passport`.
|
|
2588
|
+
*/
|
|
2589
|
+
passport?: Identification.Passport;
|
|
2590
|
+
[k: string]: unknown;
|
|
2591
|
+
}
|
|
2592
|
+
namespace Identification {
|
|
2593
|
+
/**
|
|
2594
|
+
* Information about the United States driver's license used for identification.
|
|
2595
|
+
* Required if `method` is equal to `drivers_license`.
|
|
2596
|
+
*/
|
|
2597
|
+
interface DriversLicense {
|
|
2598
|
+
/**
|
|
2599
|
+
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
2600
|
+
*/
|
|
2601
|
+
expiration_date: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* The identifier of the File containing the front of the driver's license.
|
|
2604
|
+
*/
|
|
2605
|
+
file_id: string;
|
|
2606
|
+
/**
|
|
2607
|
+
* The state that issued the provided driver's license.
|
|
2608
|
+
*/
|
|
2609
|
+
state: string;
|
|
2610
|
+
/**
|
|
2611
|
+
* The identifier of the File containing the back of the driver's license.
|
|
2612
|
+
*/
|
|
2613
|
+
back_file_id?: string;
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* Information about the identification document provided. Required if `method` is
|
|
2617
|
+
* equal to `other`.
|
|
2618
|
+
*/
|
|
2619
|
+
interface Other {
|
|
2620
|
+
/**
|
|
2621
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
2622
|
+
* document (e.g., `US`).
|
|
2623
|
+
*/
|
|
2624
|
+
country: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* A description of the document submitted.
|
|
2627
|
+
*/
|
|
2628
|
+
description: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* The identifier of the File containing the front of the document.
|
|
2631
|
+
*/
|
|
2632
|
+
file_id: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* The identifier of the File containing the back of the document. Not every
|
|
2635
|
+
* document has a reverse side.
|
|
2636
|
+
*/
|
|
2637
|
+
back_file_id?: string;
|
|
2638
|
+
/**
|
|
2639
|
+
* The document's expiration date in YYYY-MM-DD format.
|
|
2640
|
+
*/
|
|
2641
|
+
expiration_date?: string;
|
|
2642
|
+
}
|
|
2643
|
+
/**
|
|
2644
|
+
* Information about the passport used for identification. Required if `method` is
|
|
2645
|
+
* equal to `passport`.
|
|
2646
|
+
*/
|
|
2647
|
+
interface Passport {
|
|
2648
|
+
/**
|
|
2649
|
+
* The two-character ISO 3166-1 code representing the country that issued the
|
|
2650
|
+
* document (e.g., `US`).
|
|
2651
|
+
*/
|
|
2652
|
+
country: string;
|
|
2653
|
+
/**
|
|
2654
|
+
* The passport's expiration date in YYYY-MM-DD format.
|
|
2655
|
+
*/
|
|
2656
|
+
expiration_date: string;
|
|
2657
|
+
/**
|
|
2658
|
+
* The identifier of the File containing the passport.
|
|
2659
|
+
*/
|
|
2660
|
+
file_id: string;
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
}
|
|
2664
|
+
}
|
|
2665
|
+
}
|
|
2666
|
+
export interface EntityUpdateAddressParams {
|
|
2667
|
+
/**
|
|
2668
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2669
|
+
* are disallowed.
|
|
2670
|
+
*/
|
|
2671
|
+
address: EntityUpdateAddressParams.Address;
|
|
2672
|
+
}
|
|
2673
|
+
export declare namespace EntityUpdateAddressParams {
|
|
2674
|
+
/**
|
|
2675
|
+
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
2676
|
+
* are disallowed.
|
|
2677
|
+
*/
|
|
2678
|
+
interface Address {
|
|
2679
|
+
/**
|
|
2680
|
+
* The city of the address.
|
|
2681
|
+
*/
|
|
2682
|
+
city: string;
|
|
2683
|
+
/**
|
|
2684
|
+
* The first line of the address. This is usually the street number and street.
|
|
2685
|
+
*/
|
|
2686
|
+
line1: string;
|
|
2687
|
+
/**
|
|
2688
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2689
|
+
* the address.
|
|
2690
|
+
*/
|
|
2691
|
+
state: string;
|
|
2692
|
+
/**
|
|
2693
|
+
* The ZIP code of the address.
|
|
2694
|
+
*/
|
|
2695
|
+
zip: string;
|
|
2696
|
+
/**
|
|
2697
|
+
* The second line of the address. This might be the floor or room number.
|
|
2698
|
+
*/
|
|
2699
|
+
line2?: string;
|
|
2700
|
+
}
|
|
2701
|
+
}
|
|
2702
|
+
export interface EntityUpdateBeneficialOwnerAddressParams {
|
|
2703
|
+
/**
|
|
2704
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2705
|
+
* PMB's are disallowed.
|
|
2706
|
+
*/
|
|
2707
|
+
address: EntityUpdateBeneficialOwnerAddressParams.Address;
|
|
2708
|
+
/**
|
|
2709
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2710
|
+
* corporation.
|
|
2711
|
+
*/
|
|
2712
|
+
beneficial_owner_id: string;
|
|
2713
|
+
}
|
|
2714
|
+
export declare namespace EntityUpdateBeneficialOwnerAddressParams {
|
|
2715
|
+
/**
|
|
2716
|
+
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2717
|
+
* PMB's are disallowed.
|
|
2718
|
+
*/
|
|
2719
|
+
interface Address {
|
|
2720
|
+
/**
|
|
2721
|
+
* The city, district, town, or village of the address.
|
|
2722
|
+
*/
|
|
2723
|
+
city: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2726
|
+
*/
|
|
2727
|
+
country: string;
|
|
2728
|
+
/**
|
|
2729
|
+
* The first line of the address. This is usually the street number and street.
|
|
2730
|
+
*/
|
|
2731
|
+
line1: string;
|
|
2732
|
+
/**
|
|
2733
|
+
* The second line of the address. This might be the floor or room number.
|
|
2734
|
+
*/
|
|
2735
|
+
line2?: string;
|
|
2736
|
+
/**
|
|
2737
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2738
|
+
* state, province, or region of the address. Required in certain countries.
|
|
2739
|
+
*/
|
|
2740
|
+
state?: string;
|
|
2741
|
+
/**
|
|
2742
|
+
* The ZIP or postal code of the address. Required in certain countries.
|
|
2743
|
+
*/
|
|
2744
|
+
zip?: string;
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
export interface EntityUpdateIndustryCodeParams {
|
|
2748
|
+
/**
|
|
2749
|
+
* The North American Industry Classification System (NAICS) code for the
|
|
2750
|
+
* corporation's primary line of business. This is a number, like `5132` for
|
|
2751
|
+
* `Software Publishers`. A full list of classification codes is available
|
|
2752
|
+
* [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
2753
|
+
*/
|
|
2754
|
+
industry_code: string;
|
|
2755
|
+
}
|
|
2756
|
+
export declare namespace Entities {
|
|
2757
|
+
export { type Entity as Entity, type EntitiesPage as EntitiesPage, type EntityCreateParams as EntityCreateParams, type EntityUpdateParams as EntityUpdateParams, type EntityListParams as EntityListParams, type EntityArchiveBeneficialOwnerParams as EntityArchiveBeneficialOwnerParams, type EntityConfirmParams as EntityConfirmParams, type EntityCreateBeneficialOwnerParams as EntityCreateBeneficialOwnerParams, type EntityUpdateAddressParams as EntityUpdateAddressParams, type EntityUpdateBeneficialOwnerAddressParams as EntityUpdateBeneficialOwnerAddressParams, type EntityUpdateIndustryCodeParams as EntityUpdateIndustryCodeParams, };
|
|
2758
|
+
}
|
|
2759
|
+
//# sourceMappingURL=entities.d.mts.map
|