@surgeapi/node 0.25.6 → 0.26.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 +11 -0
- package/LICENSE +201 -21
- package/README.md +318 -115
- 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/client.d.mts +208 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +208 -0
- package/client.d.ts.map +1 -0
- package/client.js +476 -0
- package/client.js.map +1 -0
- package/client.mjs +472 -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 +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.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 +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/index.d.mts +6 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +6 -4
- package/index.d.ts.map +1 -0
- package/index.js +28 -42
- package/index.js.map +1 -0
- package/index.mjs +7 -0
- package/index.mjs.map +1 -0
- 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 +7 -0
- package/internal/qs/formats.d.ts.map +1 -0
- package/internal/qs/formats.js +13 -0
- package/internal/qs/formats.js.map +1 -0
- package/internal/qs/formats.mjs +9 -0
- package/internal/qs/formats.mjs.map +1 -0
- package/internal/qs/index.d.mts +10 -0
- package/internal/qs/index.d.mts.map +1 -0
- package/internal/qs/index.d.ts +10 -0
- package/internal/qs/index.d.ts.map +1 -0
- package/internal/qs/index.js +14 -0
- package/internal/qs/index.js.map +1 -0
- package/internal/qs/index.mjs +10 -0
- package/internal/qs/index.mjs.map +1 -0
- package/internal/qs/stringify.d.mts +3 -0
- package/internal/qs/stringify.d.mts.map +1 -0
- package/internal/qs/stringify.d.ts +3 -0
- package/internal/qs/stringify.d.ts.map +1 -0
- package/internal/qs/stringify.js +277 -0
- package/internal/qs/stringify.js.map +1 -0
- package/internal/qs/stringify.mjs +274 -0
- package/internal/qs/stringify.mjs.map +1 -0
- package/internal/qs/types.d.mts +57 -0
- package/internal/qs/types.d.mts.map +1 -0
- package/internal/qs/types.d.ts +57 -0
- package/internal/qs/types.d.ts.map +1 -0
- package/internal/qs/types.js +3 -0
- package/internal/qs/types.js.map +1 -0
- package/internal/qs/types.mjs +2 -0
- package/internal/qs/types.mjs.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 +15 -0
- package/internal/qs/utils.d.ts.map +1 -0
- package/internal/qs/utils.js +230 -0
- package/internal/qs/utils.js.map +1 -0
- package/internal/qs/utils.mjs +217 -0
- package/internal/qs/utils.mjs.map +1 -0
- 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 +139 -44
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/accounts.d.mts +526 -0
- package/resources/accounts.d.mts.map +1 -0
- package/resources/accounts.d.ts +526 -0
- package/resources/accounts.d.ts.map +1 -0
- package/resources/accounts.js +49 -0
- package/resources/accounts.js.map +1 -0
- package/resources/accounts.mjs +45 -0
- package/resources/accounts.mjs.map +1 -0
- package/resources/blasts.d.mts +110 -0
- package/resources/blasts.d.mts.map +1 -0
- package/resources/blasts.d.ts +110 -0
- package/resources/blasts.d.ts.map +1 -0
- package/resources/blasts.js +23 -0
- package/resources/blasts.js.map +1 -0
- package/resources/blasts.mjs +19 -0
- package/resources/blasts.mjs.map +1 -0
- package/resources/campaigns.d.mts +346 -0
- package/resources/campaigns.d.mts.map +1 -0
- package/resources/campaigns.d.ts +346 -0
- package/resources/campaigns.d.ts.map +1 -0
- package/resources/campaigns.js +41 -0
- package/resources/campaigns.js.map +1 -0
- package/resources/campaigns.mjs +37 -0
- package/resources/campaigns.mjs.map +1 -0
- package/resources/contacts.d.mts +151 -0
- package/resources/contacts.d.mts.map +1 -0
- package/resources/contacts.d.ts +151 -0
- package/resources/contacts.d.ts.map +1 -0
- package/resources/contacts.js +52 -0
- package/resources/contacts.js.map +1 -0
- package/resources/contacts.mjs +48 -0
- package/resources/contacts.mjs.map +1 -0
- package/resources/index.d.mts +11 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +11 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +25 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +12 -0
- package/resources/index.mjs.map +1 -0
- package/resources/messages.d.mts +263 -0
- package/resources/messages.d.mts.map +1 -0
- package/resources/messages.d.ts +263 -0
- package/resources/messages.d.ts.map +1 -0
- package/resources/messages.js +52 -0
- package/resources/messages.js.map +1 -0
- package/resources/messages.mjs +48 -0
- package/resources/messages.mjs.map +1 -0
- package/resources/phone-numbers.d.mts +90 -0
- package/resources/phone-numbers.d.mts.map +1 -0
- package/resources/phone-numbers.d.ts +90 -0
- package/resources/phone-numbers.d.ts.map +1 -0
- package/resources/phone-numbers.js +24 -0
- package/resources/phone-numbers.js.map +1 -0
- package/resources/phone-numbers.mjs +20 -0
- package/resources/phone-numbers.mjs.map +1 -0
- package/resources/shared.d.mts +20 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +20 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/users.d.mts +170 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +170 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +65 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +61 -0
- package/resources/users.mjs.map +1 -0
- package/resources/verifications.d.mts +96 -0
- package/resources/verifications.d.mts.map +1 -0
- package/resources/verifications.d.ts +96 -0
- package/resources/verifications.d.ts.map +1 -0
- package/resources/verifications.js +37 -0
- package/resources/verifications.js.map +1 -0
- package/resources/verifications.mjs +33 -0
- package/resources/verifications.mjs.map +1 -0
- package/resources/webhooks.d.mts +484 -0
- package/resources/webhooks.d.mts.map +1 -0
- package/resources/webhooks.d.ts +484 -0
- package/resources/webhooks.d.ts.map +1 -0
- package/resources/webhooks.js +20 -0
- package/resources/webhooks.js.map +1 -0
- package/resources/webhooks.mjs +16 -0
- package/resources/webhooks.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +874 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/index.ts +22 -0
- 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/LICENSE.md +13 -0
- package/src/internal/qs/README.md +3 -0
- package/src/internal/qs/formats.ts +10 -0
- package/src/internal/qs/index.ts +13 -0
- package/src/internal/qs/stringify.ts +385 -0
- package/src/internal/qs/types.ts +71 -0
- package/src/internal/qs/utils.ts +265 -0
- 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/lib/.keep +4 -0
- package/src/resource.ts +2 -0
- package/src/resources/accounts.ts +778 -0
- package/src/resources/blasts.ts +140 -0
- package/src/resources/campaigns.ts +417 -0
- package/src/resources/contacts.ts +181 -0
- package/src/resources/index.ts +60 -0
- package/src/resources/messages.ts +314 -0
- package/src/resources/phone-numbers.ts +111 -0
- package/src/resources/shared.ts +21 -0
- package/src/resources/users.ts +209 -0
- package/src/resources/verifications.ts +121 -0
- package/src/resources/webhooks.ts +605 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -1
- package/version.d.ts.map +1 -0
- package/version.js +3 -2
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
- package/Client.d.ts +0 -49
- package/Client.js +0 -47
- package/api/errors/ConflictError.d.ts +0 -9
- package/api/errors/ConflictError.js +0 -52
- package/api/errors/UnprocessableEntityError.d.ts +0 -9
- package/api/errors/UnprocessableEntityError.js +0 -52
- package/api/errors/index.d.ts +0 -2
- package/api/errors/index.js +0 -18
- package/api/index.d.ts +0 -3
- package/api/index.js +0 -19
- package/api/resources/accounts/client/Client.d.ts +0 -59
- package/api/resources/accounts/client/Client.js +0 -179
- package/api/resources/accounts/client/index.d.ts +0 -1
- package/api/resources/accounts/client/index.js +0 -17
- package/api/resources/accounts/client/requests/CreateAccountRequest.d.ts +0 -16
- package/api/resources/accounts/client/requests/CreateAccountRequest.js +0 -5
- package/api/resources/accounts/client/requests/UpdateAccountRequest.d.ts +0 -16
- package/api/resources/accounts/client/requests/UpdateAccountRequest.js +0 -5
- package/api/resources/accounts/client/requests/index.d.ts +0 -2
- package/api/resources/accounts/client/requests/index.js +0 -2
- package/api/resources/accounts/index.d.ts +0 -1
- package/api/resources/accounts/index.js +0 -17
- package/api/resources/blasts/client/Client.d.ts +0 -51
- package/api/resources/blasts/client/Client.js +0 -129
- package/api/resources/blasts/client/index.d.ts +0 -1
- package/api/resources/blasts/client/index.js +0 -17
- package/api/resources/blasts/client/requests/BlastRequest.d.ts +0 -30
- package/api/resources/blasts/client/requests/BlastRequest.js +0 -5
- package/api/resources/blasts/client/requests/index.d.ts +0 -1
- package/api/resources/blasts/client/requests/index.js +0 -2
- package/api/resources/blasts/index.d.ts +0 -1
- package/api/resources/blasts/index.js +0 -17
- package/api/resources/contacts/client/Client.d.ts +0 -81
- package/api/resources/contacts/client/Client.js +0 -242
- package/api/resources/contacts/client/index.d.ts +0 -1
- package/api/resources/contacts/client/index.js +0 -2
- package/api/resources/contacts/index.d.ts +0 -1
- package/api/resources/contacts/index.js +0 -17
- package/api/resources/index.d.ts +0 -14
- package/api/resources/index.js +0 -53
- package/api/resources/messages/client/Client.d.ts +0 -54
- package/api/resources/messages/client/Client.js +0 -132
- package/api/resources/messages/client/index.d.ts +0 -1
- package/api/resources/messages/client/index.js +0 -17
- package/api/resources/messages/client/requests/MessageRequest.d.ts +0 -28
- package/api/resources/messages/client/requests/MessageRequest.js +0 -5
- package/api/resources/messages/client/requests/index.d.ts +0 -1
- package/api/resources/messages/client/requests/index.js +0 -2
- package/api/resources/messages/index.d.ts +0 -1
- package/api/resources/messages/index.js +0 -17
- package/api/resources/phoneNumbers/client/Client.d.ts +0 -45
- package/api/resources/phoneNumbers/client/Client.js +0 -123
- package/api/resources/phoneNumbers/client/index.d.ts +0 -1
- package/api/resources/phoneNumbers/client/index.js +0 -17
- package/api/resources/phoneNumbers/client/requests/CreatePhoneNumberRequest.d.ts +0 -17
- package/api/resources/phoneNumbers/client/requests/CreatePhoneNumberRequest.js +0 -5
- package/api/resources/phoneNumbers/client/requests/index.d.ts +0 -1
- package/api/resources/phoneNumbers/client/requests/index.js +0 -2
- package/api/resources/phoneNumbers/index.d.ts +0 -2
- package/api/resources/phoneNumbers/index.js +0 -18
- package/api/resources/phoneNumbers/types/CreatePhoneNumberRequestType.d.ts +0 -11
- package/api/resources/phoneNumbers/types/CreatePhoneNumberRequestType.js +0 -10
- package/api/resources/phoneNumbers/types/index.d.ts +0 -1
- package/api/resources/phoneNumbers/types/index.js +0 -17
- package/api/resources/users/client/Client.d.ts +0 -61
- package/api/resources/users/client/Client.js +0 -180
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/index.js +0 -17
- package/api/resources/users/client/requests/UserRequest.d.ts +0 -25
- package/api/resources/users/client/requests/UserRequest.js +0 -5
- package/api/resources/users/client/requests/index.d.ts +0 -1
- package/api/resources/users/client/requests/index.js +0 -2
- package/api/resources/users/index.d.ts +0 -1
- package/api/resources/users/index.js +0 -17
- package/api/resources/verifications/client/Client.d.ts +0 -60
- package/api/resources/verifications/client/Client.js +0 -188
- package/api/resources/verifications/client/index.d.ts +0 -1
- package/api/resources/verifications/client/index.js +0 -17
- package/api/resources/verifications/client/requests/VerificationCheckRequest.d.ts +0 -13
- package/api/resources/verifications/client/requests/VerificationCheckRequest.js +0 -5
- package/api/resources/verifications/client/requests/VerificationRequest.d.ts +0 -13
- package/api/resources/verifications/client/requests/VerificationRequest.js +0 -5
- package/api/resources/verifications/client/requests/index.d.ts +0 -2
- package/api/resources/verifications/client/requests/index.js +0 -2
- package/api/resources/verifications/index.d.ts +0 -1
- package/api/resources/verifications/index.js +0 -17
- package/api/types/AccountResponse.d.ts +0 -14
- package/api/types/AccountResponse.js +0 -5
- package/api/types/AttachmentParams.d.ts +0 -10
- package/api/types/AttachmentParams.js +0 -5
- package/api/types/AttachmentResponse.d.ts +0 -14
- package/api/types/AttachmentResponse.js +0 -5
- package/api/types/BlastResponse.d.ts +0 -18
- package/api/types/BlastResponse.js +0 -5
- package/api/types/BlastResponseAttachmentsItem.d.ts +0 -7
- package/api/types/BlastResponseAttachmentsItem.js +0 -5
- package/api/types/Contact.d.ts +0 -16
- package/api/types/Contact.js +0 -5
- package/api/types/ContactRequest.d.ts +0 -18
- package/api/types/ContactRequest.js +0 -5
- package/api/types/ContactResponse.d.ts +0 -20
- package/api/types/ContactResponse.js +0 -5
- package/api/types/Conversation.d.ts +0 -13
- package/api/types/Conversation.js +0 -5
- package/api/types/ConversationPhoneNumber.d.ts +0 -15
- package/api/types/ConversationPhoneNumber.js +0 -5
- package/api/types/ConversationPhoneNumberType.d.ts +0 -13
- package/api/types/ConversationPhoneNumberType.js +0 -12
- package/api/types/MessageConversationContactParams.d.ts +0 -14
- package/api/types/MessageConversationContactParams.js +0 -5
- package/api/types/MessageConversationParams.d.ts +0 -12
- package/api/types/MessageConversationParams.js +0 -5
- package/api/types/MessageResponse.d.ts +0 -15
- package/api/types/MessageResponse.js +0 -5
- package/api/types/PhoneNumber.d.ts +0 -15
- package/api/types/PhoneNumber.js +0 -5
- package/api/types/PhoneNumberType.d.ts +0 -11
- package/api/types/PhoneNumberType.js +0 -10
- package/api/types/UserResponse.d.ts +0 -18
- package/api/types/UserResponse.js +0 -5
- package/api/types/Verification.d.ts +0 -17
- package/api/types/Verification.js +0 -5
- package/api/types/VerificationCheckAlreadyVerifiedResponse.d.ts +0 -12
- package/api/types/VerificationCheckAlreadyVerifiedResponse.js +0 -5
- package/api/types/VerificationCheckAlreadyVerifiedResponseResult.d.ts +0 -14
- package/api/types/VerificationCheckAlreadyVerifiedResponseResult.js +0 -13
- package/api/types/VerificationCheckIncorrectResponse.d.ts +0 -12
- package/api/types/VerificationCheckIncorrectResponse.js +0 -5
- package/api/types/VerificationCheckIncorrectResponseResult.d.ts +0 -12
- package/api/types/VerificationCheckIncorrectResponseResult.js +0 -11
- package/api/types/VerificationCheckOkResponse.d.ts +0 -21
- package/api/types/VerificationCheckOkResponse.js +0 -5
- package/api/types/VerificationCheckOkResponseResult.d.ts +0 -21
- package/api/types/VerificationCheckOkResponseResult.js +0 -13
- package/api/types/VerificationStatus.d.ts +0 -13
- package/api/types/VerificationStatus.js +0 -12
- package/api/types/index.d.ts +0 -25
- package/api/types/index.js +0 -41
- package/core/auth/BasicAuth.d.ts +0 -8
- package/core/auth/BasicAuth.js +0 -26
- package/core/auth/BearerToken.d.ts +0 -5
- package/core/auth/BearerToken.js +0 -15
- package/core/auth/index.d.ts +0 -2
- package/core/auth/index.js +0 -7
- package/core/fetcher/APIResponse.d.ts +0 -20
- package/core/fetcher/APIResponse.js +0 -2
- package/core/fetcher/Fetcher.d.ts +0 -39
- package/core/fetcher/Fetcher.js +0 -107
- package/core/fetcher/Headers.d.ts +0 -2
- package/core/fetcher/Headers.js +0 -84
- package/core/fetcher/HttpResponsePromise.d.ts +0 -58
- package/core/fetcher/HttpResponsePromise.js +0 -103
- package/core/fetcher/RawResponse.d.ts +0 -29
- package/core/fetcher/RawResponse.js +0 -44
- package/core/fetcher/Supplier.d.ts +0 -4
- package/core/fetcher/Supplier.js +0 -22
- package/core/fetcher/createRequestUrl.d.ts +0 -1
- package/core/fetcher/createRequestUrl.js +0 -12
- package/core/fetcher/getFetchFn.d.ts +0 -4
- package/core/fetcher/getFetchFn.js +0 -68
- package/core/fetcher/getHeader.d.ts +0 -1
- package/core/fetcher/getHeader.js +0 -11
- package/core/fetcher/getRequestBody.d.ts +0 -7
- package/core/fetcher/getRequestBody.js +0 -23
- package/core/fetcher/getResponseBody.d.ts +0 -1
- package/core/fetcher/getResponseBody.js +0 -54
- package/core/fetcher/index.d.ts +0 -8
- package/core/fetcher/index.js +0 -15
- package/core/fetcher/makeRequest.d.ts +0 -1
- package/core/fetcher/makeRequest.js +0 -42
- package/core/fetcher/requestWithRetries.d.ts +0 -1
- package/core/fetcher/requestWithRetries.js +0 -40
- package/core/fetcher/signals.d.ts +0 -11
- package/core/fetcher/signals.js +0 -36
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/core/index.d.ts +0 -3
- package/core/index.js +0 -19
- package/core/json.d.ts +0 -15
- package/core/json.js +0 -24
- package/core/runtime/index.d.ts +0 -1
- package/core/runtime/index.js +0 -5
- package/core/runtime/runtime.d.ts +0 -9
- package/core/runtime/runtime.js +0 -103
- package/dist/Client.d.ts +0 -49
- package/dist/Client.js +0 -47
- package/dist/api/errors/ConflictError.d.ts +0 -9
- package/dist/api/errors/ConflictError.js +0 -52
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -9
- package/dist/api/errors/UnprocessableEntityError.js +0 -52
- package/dist/api/errors/index.d.ts +0 -2
- package/dist/api/errors/index.js +0 -18
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/accounts/client/Client.d.ts +0 -59
- package/dist/api/resources/accounts/client/Client.js +0 -179
- package/dist/api/resources/accounts/client/index.d.ts +0 -1
- package/dist/api/resources/accounts/client/index.js +0 -17
- package/dist/api/resources/accounts/client/requests/CreateAccountRequest.d.ts +0 -16
- package/dist/api/resources/accounts/client/requests/CreateAccountRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/UpdateAccountRequest.d.ts +0 -16
- package/dist/api/resources/accounts/client/requests/UpdateAccountRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/index.d.ts +0 -2
- package/dist/api/resources/accounts/client/requests/index.js +0 -2
- package/dist/api/resources/accounts/index.d.ts +0 -1
- package/dist/api/resources/accounts/index.js +0 -17
- package/dist/api/resources/blasts/client/Client.d.ts +0 -51
- package/dist/api/resources/blasts/client/Client.js +0 -129
- package/dist/api/resources/blasts/client/index.d.ts +0 -1
- package/dist/api/resources/blasts/client/index.js +0 -17
- package/dist/api/resources/blasts/client/requests/BlastRequest.d.ts +0 -30
- package/dist/api/resources/blasts/client/requests/BlastRequest.js +0 -5
- package/dist/api/resources/blasts/client/requests/index.d.ts +0 -1
- package/dist/api/resources/blasts/client/requests/index.js +0 -2
- package/dist/api/resources/blasts/index.d.ts +0 -1
- package/dist/api/resources/blasts/index.js +0 -17
- package/dist/api/resources/contacts/client/Client.d.ts +0 -81
- package/dist/api/resources/contacts/client/Client.js +0 -242
- package/dist/api/resources/contacts/client/index.d.ts +0 -1
- package/dist/api/resources/contacts/client/index.js +0 -2
- package/dist/api/resources/contacts/index.d.ts +0 -1
- package/dist/api/resources/contacts/index.js +0 -17
- package/dist/api/resources/index.d.ts +0 -14
- package/dist/api/resources/index.js +0 -53
- package/dist/api/resources/messages/client/Client.d.ts +0 -54
- package/dist/api/resources/messages/client/Client.js +0 -132
- package/dist/api/resources/messages/client/index.d.ts +0 -1
- package/dist/api/resources/messages/client/index.js +0 -17
- package/dist/api/resources/messages/client/requests/MessageRequest.d.ts +0 -28
- package/dist/api/resources/messages/client/requests/MessageRequest.js +0 -5
- package/dist/api/resources/messages/client/requests/index.d.ts +0 -1
- package/dist/api/resources/messages/client/requests/index.js +0 -2
- package/dist/api/resources/messages/index.d.ts +0 -1
- package/dist/api/resources/messages/index.js +0 -17
- package/dist/api/resources/phoneNumbers/client/Client.d.ts +0 -45
- package/dist/api/resources/phoneNumbers/client/Client.js +0 -123
- package/dist/api/resources/phoneNumbers/client/index.d.ts +0 -1
- package/dist/api/resources/phoneNumbers/client/index.js +0 -17
- package/dist/api/resources/phoneNumbers/client/requests/CreatePhoneNumberRequest.d.ts +0 -17
- package/dist/api/resources/phoneNumbers/client/requests/CreatePhoneNumberRequest.js +0 -5
- package/dist/api/resources/phoneNumbers/client/requests/index.d.ts +0 -1
- package/dist/api/resources/phoneNumbers/client/requests/index.js +0 -2
- package/dist/api/resources/phoneNumbers/index.d.ts +0 -2
- package/dist/api/resources/phoneNumbers/index.js +0 -18
- package/dist/api/resources/phoneNumbers/types/CreatePhoneNumberRequestType.d.ts +0 -11
- package/dist/api/resources/phoneNumbers/types/CreatePhoneNumberRequestType.js +0 -10
- package/dist/api/resources/phoneNumbers/types/index.d.ts +0 -1
- package/dist/api/resources/phoneNumbers/types/index.js +0 -17
- package/dist/api/resources/users/client/Client.d.ts +0 -61
- package/dist/api/resources/users/client/Client.js +0 -180
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -17
- package/dist/api/resources/users/client/requests/UserRequest.d.ts +0 -25
- package/dist/api/resources/users/client/requests/UserRequest.js +0 -5
- package/dist/api/resources/users/client/requests/index.d.ts +0 -1
- package/dist/api/resources/users/client/requests/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/resources/verifications/client/Client.d.ts +0 -60
- package/dist/api/resources/verifications/client/Client.js +0 -188
- package/dist/api/resources/verifications/client/index.d.ts +0 -1
- package/dist/api/resources/verifications/client/index.js +0 -17
- package/dist/api/resources/verifications/client/requests/VerificationCheckRequest.d.ts +0 -13
- package/dist/api/resources/verifications/client/requests/VerificationCheckRequest.js +0 -5
- package/dist/api/resources/verifications/client/requests/VerificationRequest.d.ts +0 -13
- package/dist/api/resources/verifications/client/requests/VerificationRequest.js +0 -5
- package/dist/api/resources/verifications/client/requests/index.d.ts +0 -2
- package/dist/api/resources/verifications/client/requests/index.js +0 -2
- package/dist/api/resources/verifications/index.d.ts +0 -1
- package/dist/api/resources/verifications/index.js +0 -17
- package/dist/api/types/AccountResponse.d.ts +0 -14
- package/dist/api/types/AccountResponse.js +0 -5
- package/dist/api/types/AttachmentParams.d.ts +0 -10
- package/dist/api/types/AttachmentParams.js +0 -5
- package/dist/api/types/AttachmentResponse.d.ts +0 -14
- package/dist/api/types/AttachmentResponse.js +0 -5
- package/dist/api/types/BlastResponse.d.ts +0 -18
- package/dist/api/types/BlastResponse.js +0 -5
- package/dist/api/types/BlastResponseAttachmentsItem.d.ts +0 -7
- package/dist/api/types/BlastResponseAttachmentsItem.js +0 -5
- package/dist/api/types/Contact.d.ts +0 -16
- package/dist/api/types/Contact.js +0 -5
- package/dist/api/types/ContactRequest.d.ts +0 -18
- package/dist/api/types/ContactRequest.js +0 -5
- package/dist/api/types/ContactResponse.d.ts +0 -20
- package/dist/api/types/ContactResponse.js +0 -5
- package/dist/api/types/Conversation.d.ts +0 -13
- package/dist/api/types/Conversation.js +0 -5
- package/dist/api/types/ConversationPhoneNumber.d.ts +0 -15
- package/dist/api/types/ConversationPhoneNumber.js +0 -5
- package/dist/api/types/ConversationPhoneNumberType.d.ts +0 -13
- package/dist/api/types/ConversationPhoneNumberType.js +0 -12
- package/dist/api/types/MessageConversationContactParams.d.ts +0 -14
- package/dist/api/types/MessageConversationContactParams.js +0 -5
- package/dist/api/types/MessageConversationParams.d.ts +0 -12
- package/dist/api/types/MessageConversationParams.js +0 -5
- package/dist/api/types/MessageResponse.d.ts +0 -15
- package/dist/api/types/MessageResponse.js +0 -5
- package/dist/api/types/PhoneNumber.d.ts +0 -15
- package/dist/api/types/PhoneNumber.js +0 -5
- package/dist/api/types/PhoneNumberType.d.ts +0 -11
- package/dist/api/types/PhoneNumberType.js +0 -10
- package/dist/api/types/UserResponse.d.ts +0 -18
- package/dist/api/types/UserResponse.js +0 -5
- package/dist/api/types/Verification.d.ts +0 -17
- package/dist/api/types/Verification.js +0 -5
- package/dist/api/types/VerificationCheckAlreadyVerifiedResponse.d.ts +0 -12
- package/dist/api/types/VerificationCheckAlreadyVerifiedResponse.js +0 -5
- package/dist/api/types/VerificationCheckAlreadyVerifiedResponseResult.d.ts +0 -14
- package/dist/api/types/VerificationCheckAlreadyVerifiedResponseResult.js +0 -13
- package/dist/api/types/VerificationCheckIncorrectResponse.d.ts +0 -12
- package/dist/api/types/VerificationCheckIncorrectResponse.js +0 -5
- package/dist/api/types/VerificationCheckIncorrectResponseResult.d.ts +0 -12
- package/dist/api/types/VerificationCheckIncorrectResponseResult.js +0 -11
- package/dist/api/types/VerificationCheckOkResponse.d.ts +0 -21
- package/dist/api/types/VerificationCheckOkResponse.js +0 -5
- package/dist/api/types/VerificationCheckOkResponseResult.d.ts +0 -21
- package/dist/api/types/VerificationCheckOkResponseResult.js +0 -13
- package/dist/api/types/VerificationStatus.d.ts +0 -13
- package/dist/api/types/VerificationStatus.js +0 -12
- package/dist/api/types/index.d.ts +0 -25
- package/dist/api/types/index.js +0 -41
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/core/fetcher/APIResponse.d.ts +0 -20
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -107
- package/dist/core/fetcher/Headers.d.ts +0 -2
- package/dist/core/fetcher/Headers.js +0 -84
- package/dist/core/fetcher/HttpResponsePromise.d.ts +0 -58
- package/dist/core/fetcher/HttpResponsePromise.js +0 -103
- package/dist/core/fetcher/RawResponse.d.ts +0 -29
- package/dist/core/fetcher/RawResponse.js +0 -44
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.d.ts +0 -8
- package/dist/core/fetcher/index.js +0 -15
- package/dist/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.d.ts +0 -11
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -19
- package/dist/core/json.d.ts +0 -15
- package/dist/core/json.js +0 -24
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -103
- package/dist/environments.d.ts +0 -7
- package/dist/environments.js +0 -9
- package/dist/errors/SurgeError.d.ts +0 -15
- package/dist/errors/SurgeError.js +0 -30
- package/dist/errors/SurgeTimeoutError.d.ts +0 -6
- package/dist/errors/SurgeTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -44
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/environments.d.ts +0 -7
- package/environments.js +0 -9
- package/errors/SurgeError.d.ts +0 -15
- package/errors/SurgeError.js +0 -30
- package/errors/SurgeTimeoutError.d.ts +0 -6
- package/errors/SurgeTimeoutError.js +0 -13
- package/errors/index.d.ts +0 -2
- package/errors/index.js +0 -7
- package/jest.config.mjs +0 -8
- package/reference.md +0 -897
- package/scripts/rename-to-esm-files.js +0 -115
|
@@ -0,0 +1,526 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class Accounts extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new Account within the calling Platform.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const account = await client.accounts.create({
|
|
11
|
+
* name: 'Account #2840 - DT Precision Auto',
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
create(body: AccountCreateParams, options?: RequestOptions): APIPromise<Account>;
|
|
16
|
+
/**
|
|
17
|
+
* Updates an Account
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```ts
|
|
21
|
+
* const account = await client.accounts.update(
|
|
22
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
23
|
+
* );
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
update(id: string, body: AccountUpdateParams, options?: RequestOptions): APIPromise<Account>;
|
|
27
|
+
/**
|
|
28
|
+
* Check an account's status and capabilities
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const accountStatus = await client.accounts.retrieveStatus(
|
|
33
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
34
|
+
* );
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieveStatus(accountID: string, query?: AccountRetrieveStatusParams | null | undefined, options?: RequestOptions): APIPromise<AccountStatus>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Response containing account information.
|
|
41
|
+
*/
|
|
42
|
+
export interface Account {
|
|
43
|
+
/**
|
|
44
|
+
* The account ID
|
|
45
|
+
*/
|
|
46
|
+
id: string;
|
|
47
|
+
/**
|
|
48
|
+
* The name by which the people this account communicates with know it. If not
|
|
49
|
+
* provided, this will match the name field.
|
|
50
|
+
*/
|
|
51
|
+
brand_name: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the account that will be visible for your internal organizational
|
|
54
|
+
* purposes. This will also be the default public-facing brand name unless you also
|
|
55
|
+
* set a `brand_name`, but otherwise the account name will never be displayed
|
|
56
|
+
* anywhere outside of Surge HQ, and may include your ID for the account or
|
|
57
|
+
* anything else that may help you.
|
|
58
|
+
*/
|
|
59
|
+
name: string;
|
|
60
|
+
/**
|
|
61
|
+
* The legal entity on whose behalf the account will be operated.
|
|
62
|
+
*/
|
|
63
|
+
organization: Organization;
|
|
64
|
+
/**
|
|
65
|
+
* This is the time zone in which the account is headquartered. This time zone may
|
|
66
|
+
* be used for compliance with TCPA restrictions on when messages may be sent.
|
|
67
|
+
*/
|
|
68
|
+
time_zone: string | null;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Parameters for creating a new account.
|
|
72
|
+
*/
|
|
73
|
+
export interface AccountParams {
|
|
74
|
+
/**
|
|
75
|
+
* The name of the account that will be visible for your internal organizational
|
|
76
|
+
* purposes. This will also be the default public-facing brand name unless you also
|
|
77
|
+
* set a `brand_name`, but otherwise the account name will never be displayed
|
|
78
|
+
* anywhere outside of Surge HQ, and may include your ID for the account or
|
|
79
|
+
* anything else that may help you.
|
|
80
|
+
*/
|
|
81
|
+
name: string;
|
|
82
|
+
/**
|
|
83
|
+
* The name by which the people this account communicates with know it. If not
|
|
84
|
+
* provided, this will match the name field.
|
|
85
|
+
*/
|
|
86
|
+
brand_name?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* Parameters describing the legal entity on whose behalf the account will be
|
|
89
|
+
* operated.
|
|
90
|
+
*/
|
|
91
|
+
organization?: OrganizationParams;
|
|
92
|
+
/**
|
|
93
|
+
* This is the time zone in which the account is headquartered. This time zone may
|
|
94
|
+
* be used for compliance with TCPA restrictions on when messages may be sent.
|
|
95
|
+
*/
|
|
96
|
+
time_zone?: string;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Response containing account status information
|
|
100
|
+
*/
|
|
101
|
+
export interface AccountStatus {
|
|
102
|
+
/**
|
|
103
|
+
* An object where the fields are the capabilities passed in the `capabilities`
|
|
104
|
+
* query param, as in `local_messaging`.
|
|
105
|
+
*/
|
|
106
|
+
capabilities: {
|
|
107
|
+
[key: string]: AccountStatus.Capabilities;
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
export declare namespace AccountStatus {
|
|
111
|
+
interface Capabilities {
|
|
112
|
+
/**
|
|
113
|
+
* A list of errors that will need corrected before capability is available to
|
|
114
|
+
* account.
|
|
115
|
+
*/
|
|
116
|
+
errors: Array<Capabilities.Error>;
|
|
117
|
+
/**
|
|
118
|
+
* A list of missing fields that are required for the capability. Nested field
|
|
119
|
+
* names are dot-delimited, as in `organization.address.region`.
|
|
120
|
+
*/
|
|
121
|
+
fields_needed: Array<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Whether the account is ready for the capability, has errors that need corrected,
|
|
124
|
+
* or is incomplete and requires missing data. If account has both missing and
|
|
125
|
+
* invalid fields, `error` will be preferred over `incomplete`.
|
|
126
|
+
*/
|
|
127
|
+
status: 'error' | 'incomplete' | 'ready';
|
|
128
|
+
}
|
|
129
|
+
namespace Capabilities {
|
|
130
|
+
interface Error {
|
|
131
|
+
/**
|
|
132
|
+
* A dot-delimited string representing the field that has an error, as in
|
|
133
|
+
* `organization.contact.phone_number`.
|
|
134
|
+
*/
|
|
135
|
+
field: string;
|
|
136
|
+
/**
|
|
137
|
+
* A human-readable string explaining the error.
|
|
138
|
+
*/
|
|
139
|
+
message: string;
|
|
140
|
+
/**
|
|
141
|
+
* A slug for the error type
|
|
142
|
+
*/
|
|
143
|
+
type: string;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Parameters for updating an existing account.
|
|
149
|
+
*/
|
|
150
|
+
export interface AccountUpdateParams {
|
|
151
|
+
/**
|
|
152
|
+
* The name by which the people this account communicates with know it. If not
|
|
153
|
+
* provided, this will match the name field.
|
|
154
|
+
*/
|
|
155
|
+
brand_name?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The name of the account that will be visible for your internal organizational
|
|
158
|
+
* purposes. This will also be the default public-facing brand name unless you also
|
|
159
|
+
* set a `brand_name`, but otherwise the account name will never be displayed
|
|
160
|
+
* anywhere outside of Surge HQ, and may include your ID for the account or
|
|
161
|
+
* anything else that may help you.
|
|
162
|
+
*/
|
|
163
|
+
name?: string;
|
|
164
|
+
/**
|
|
165
|
+
* Parameters describing the legal entity on whose behalf the account will be
|
|
166
|
+
* operated.
|
|
167
|
+
*/
|
|
168
|
+
organization?: OrganizationParams;
|
|
169
|
+
/**
|
|
170
|
+
* The time zone for the account
|
|
171
|
+
*/
|
|
172
|
+
time_zone?: string | null;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* The legal entity on whose behalf the account will be operated.
|
|
176
|
+
*/
|
|
177
|
+
export interface Organization {
|
|
178
|
+
/**
|
|
179
|
+
* The address of the organization's headquarters.
|
|
180
|
+
*/
|
|
181
|
+
address: Organization.Address;
|
|
182
|
+
/**
|
|
183
|
+
* An object representing an individual who can be contacted if the carriers have
|
|
184
|
+
* any questions about the business.
|
|
185
|
+
*/
|
|
186
|
+
contact: Organization.Contact;
|
|
187
|
+
/**
|
|
188
|
+
* The two character ISO 3166 country code for the country in which the
|
|
189
|
+
* organization is headquartered.
|
|
190
|
+
*/
|
|
191
|
+
country: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* For publicly traded companies, an email for a representative of the company to
|
|
194
|
+
* whom a verification email will be sent. This must be an email on the same domain
|
|
195
|
+
* as the company's website (e.g. with a website domain of
|
|
196
|
+
* `https://dtprecisionauto.com`, the email must use the same
|
|
197
|
+
* `@dtprecisionauto.com`)
|
|
198
|
+
*/
|
|
199
|
+
email: string | null;
|
|
200
|
+
/**
|
|
201
|
+
* The value of the identifier whose type is specified in the identifier_type
|
|
202
|
+
* field. Typically this will be an EIN, and can be formatted with or without the
|
|
203
|
+
* hyphen.
|
|
204
|
+
*/
|
|
205
|
+
identifier: string | null;
|
|
206
|
+
/**
|
|
207
|
+
* The type of identifier being provided for the organization. Support for more
|
|
208
|
+
* values will be added in the future.
|
|
209
|
+
*/
|
|
210
|
+
identifier_type: 'ein' | null;
|
|
211
|
+
/**
|
|
212
|
+
* The industry in which the organization operates.
|
|
213
|
+
*/
|
|
214
|
+
industry: 'agriculture' | 'automotive' | 'banking' | 'construction' | 'consumer' | 'education' | 'electronics' | 'energy' | 'engineering' | 'fast_moving_consumer_goods' | 'financial' | 'fintech' | 'food_and_beverage' | 'government' | 'healthcare' | 'hospitality' | 'insurance' | 'jewelry' | 'legal' | 'manufacturing' | 'media' | 'not_for_profit' | 'oil_and_gas' | 'online' | 'professional_services' | 'raw_materials' | 'real_estate' | 'religion' | 'retail' | 'technology' | 'telecommunications' | 'transportation' | 'travel' | null;
|
|
215
|
+
/**
|
|
216
|
+
* For sole proprietors, this must be a valid US mobile phone number to which a
|
|
217
|
+
* verification text message will be sent. (E.164 format)
|
|
218
|
+
*/
|
|
219
|
+
mobile_number: string | null;
|
|
220
|
+
/**
|
|
221
|
+
* An array of regions in which the organization operates.
|
|
222
|
+
*/
|
|
223
|
+
regions_of_operation: Array<'africa' | 'asia' | 'australia' | 'europe' | 'latin_america' | 'usa_and_canada'> | null;
|
|
224
|
+
/**
|
|
225
|
+
* The legal name of the organization as registered with the IRS or other relevant
|
|
226
|
+
* authorities. For some applications, this will be matched against government
|
|
227
|
+
* records and should include all punctuation and everything else as well.
|
|
228
|
+
*/
|
|
229
|
+
registered_name: string | null;
|
|
230
|
+
/**
|
|
231
|
+
* For publicly traded companies, this is the exchange on which the company's stock
|
|
232
|
+
* is traded.
|
|
233
|
+
*/
|
|
234
|
+
stock_exchange: 'amex' | 'amx' | 'asx' | 'b3' | 'bme' | 'bse' | 'fra' | 'icex' | 'jpx' | 'jse' | 'krx' | 'lon' | 'nasdaq' | 'none' | 'nyse' | 'nse' | 'omx' | 'other' | 'sehk' | 'sgx' | 'sse' | 'sto' | 'swx' | 'szse' | 'tsx' | 'twse' | 'vse' | null;
|
|
235
|
+
/**
|
|
236
|
+
* For publicly traded companies, the ticker symbol for the company's stock
|
|
237
|
+
*/
|
|
238
|
+
stock_symbol: string | null;
|
|
239
|
+
/**
|
|
240
|
+
* The type of organization
|
|
241
|
+
*/
|
|
242
|
+
type: 'co_op' | 'government' | 'llc' | 'non_profit' | 'partnership' | 'private_corporation' | 'public_corporation' | 'sole_proprietor' | null;
|
|
243
|
+
/**
|
|
244
|
+
* The URL of the website for this organization. The website should be publicly
|
|
245
|
+
* available, clearly reflect the organization's purpose, and the URL should start
|
|
246
|
+
* with `https://`
|
|
247
|
+
*/
|
|
248
|
+
website: string | null;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace Organization {
|
|
251
|
+
/**
|
|
252
|
+
* The address of the organization's headquarters.
|
|
253
|
+
*/
|
|
254
|
+
interface Address {
|
|
255
|
+
/**
|
|
256
|
+
* The two character ISO 3166 country code. If none is provided, the organization's
|
|
257
|
+
* country code will be used.
|
|
258
|
+
*/
|
|
259
|
+
country: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* The first line of the address, typically the number and street name
|
|
262
|
+
*/
|
|
263
|
+
line1: string | null;
|
|
264
|
+
/**
|
|
265
|
+
* The second line of the address if needed, typically an apartment or suite number
|
|
266
|
+
*/
|
|
267
|
+
line2: string | null;
|
|
268
|
+
/**
|
|
269
|
+
* The city or locality
|
|
270
|
+
*/
|
|
271
|
+
locality: string | null;
|
|
272
|
+
/**
|
|
273
|
+
* The name to which any mail should be addressed. If none is provided, this will
|
|
274
|
+
* default to the organization's registered_name
|
|
275
|
+
*/
|
|
276
|
+
name: string | null;
|
|
277
|
+
/**
|
|
278
|
+
* The postal code
|
|
279
|
+
*/
|
|
280
|
+
postal_code: string | null;
|
|
281
|
+
/**
|
|
282
|
+
* The state or region
|
|
283
|
+
*/
|
|
284
|
+
region: string | null;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* An object representing an individual who can be contacted if the carriers have
|
|
288
|
+
* any questions about the business.
|
|
289
|
+
*/
|
|
290
|
+
interface Contact {
|
|
291
|
+
/**
|
|
292
|
+
* An email address at which the individual can be reached. Typically an email
|
|
293
|
+
* using the same domain name as the website URL will be preferred (e.g. with a
|
|
294
|
+
* website domain of `https://dtprecisionauto.com`, an email like
|
|
295
|
+
* `dom@dtprecisionauto.com` will be preferred over one like
|
|
296
|
+
* `dom@anothergarage.com` or `dom.toretto@gmail.com`)
|
|
297
|
+
*/
|
|
298
|
+
email: string | null;
|
|
299
|
+
/**
|
|
300
|
+
* The first name (or given name) of the individual
|
|
301
|
+
*/
|
|
302
|
+
first_name: string | null;
|
|
303
|
+
/**
|
|
304
|
+
* The last name (or family name) of the individual
|
|
305
|
+
*/
|
|
306
|
+
last_name: string | null;
|
|
307
|
+
/**
|
|
308
|
+
* A phone number at which the individual can be reached (E.164 format)
|
|
309
|
+
*/
|
|
310
|
+
phone_number: string | null;
|
|
311
|
+
/**
|
|
312
|
+
* The job title of the individual.
|
|
313
|
+
*/
|
|
314
|
+
title: 'ceo' | 'cfo' | 'director' | 'gm' | 'vp' | 'general_counsel' | 'other' | null;
|
|
315
|
+
/**
|
|
316
|
+
* If `other` is provided for the `title` field, this field should be used to
|
|
317
|
+
* provide the title of the individual
|
|
318
|
+
*/
|
|
319
|
+
title_other: string | null;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Parameters describing the legal entity on whose behalf the account will be
|
|
324
|
+
* operated.
|
|
325
|
+
*/
|
|
326
|
+
export interface OrganizationParams {
|
|
327
|
+
/**
|
|
328
|
+
* The address of the organization's headquarters.
|
|
329
|
+
*/
|
|
330
|
+
address?: OrganizationParams.Address;
|
|
331
|
+
/**
|
|
332
|
+
* An object representing an individual who can be contacted if the carriers have
|
|
333
|
+
* any questions about the business.
|
|
334
|
+
*/
|
|
335
|
+
contact?: OrganizationParams.Contact | null;
|
|
336
|
+
/**
|
|
337
|
+
* The two character ISO 3166 country code for the country in which the
|
|
338
|
+
* organization is headquartered.
|
|
339
|
+
*/
|
|
340
|
+
country?: string | null;
|
|
341
|
+
/**
|
|
342
|
+
* For publicly traded companies, an email for a representative of the company to
|
|
343
|
+
* whom a verification email will be sent. This must be an email on the same domain
|
|
344
|
+
* as the company's website (e.g. with a website domain of
|
|
345
|
+
* `https://dtprecisionauto.com`, the email must use the same
|
|
346
|
+
* `@dtprecisionauto.com`)
|
|
347
|
+
*/
|
|
348
|
+
email?: string | null;
|
|
349
|
+
/**
|
|
350
|
+
* The value of the identifier whose type is specified in the identifier_type
|
|
351
|
+
* field. Typically this will be an EIN, and can be formatted with or without the
|
|
352
|
+
* hyphen.
|
|
353
|
+
*/
|
|
354
|
+
identifier?: string | null;
|
|
355
|
+
/**
|
|
356
|
+
* The type of identifier being provided for the organization. Support for more
|
|
357
|
+
* values will be added in the future.
|
|
358
|
+
*/
|
|
359
|
+
identifier_type?: 'ein' | null;
|
|
360
|
+
/**
|
|
361
|
+
* The industry in which the organization operates.
|
|
362
|
+
*/
|
|
363
|
+
industry?: 'agriculture' | 'automotive' | 'banking' | 'construction' | 'consumer' | 'education' | 'electronics' | 'energy' | 'engineering' | 'fast_moving_consumer_goods' | 'financial' | 'fintech' | 'food_and_beverage' | 'government' | 'healthcare' | 'hospitality' | 'insurance' | 'jewelry' | 'legal' | 'manufacturing' | 'media' | 'not_for_profit' | 'oil_and_gas' | 'online' | 'professional_services' | 'raw_materials' | 'real_estate' | 'religion' | 'retail' | 'technology' | 'telecommunications' | 'transportation' | 'travel' | null;
|
|
364
|
+
/**
|
|
365
|
+
* For sole proprietors, this must be a valid US mobile phone number to which a
|
|
366
|
+
* verification text message will be sent. (E.164 format)
|
|
367
|
+
*/
|
|
368
|
+
mobile_number?: string | null;
|
|
369
|
+
/**
|
|
370
|
+
* An array of regions in which the organization operates.
|
|
371
|
+
*/
|
|
372
|
+
regions_of_operation?: Array<'africa' | 'asia' | 'australia' | 'europe' | 'latin_america' | 'usa_and_canada'> | null;
|
|
373
|
+
/**
|
|
374
|
+
* The legal name of the organization as registered with the IRS or other relevant
|
|
375
|
+
* authorities. For some applications, this will be matched against government
|
|
376
|
+
* records and should include all punctuation and everything else as well.
|
|
377
|
+
*/
|
|
378
|
+
registered_name?: string | null;
|
|
379
|
+
/**
|
|
380
|
+
* For publicly traded companies, this is the exchange on which the company's stock
|
|
381
|
+
* is traded.
|
|
382
|
+
*/
|
|
383
|
+
stock_exchange?: 'amex' | 'amx' | 'asx' | 'b3' | 'bme' | 'bse' | 'fra' | 'icex' | 'jpx' | 'jse' | 'krx' | 'lon' | 'nasdaq' | 'none' | 'nyse' | 'nse' | 'omx' | 'other' | 'sehk' | 'sgx' | 'sse' | 'sto' | 'swx' | 'szse' | 'tsx' | 'twse' | 'vse' | null;
|
|
384
|
+
/**
|
|
385
|
+
* For publicly traded companies, the ticker symbol for the company's stock
|
|
386
|
+
*/
|
|
387
|
+
stock_symbol?: string | null;
|
|
388
|
+
/**
|
|
389
|
+
* The type of organization
|
|
390
|
+
*/
|
|
391
|
+
type?: 'co_op' | 'government' | 'llc' | 'non_profit' | 'partnership' | 'private_corporation' | 'public_corporation' | 'sole_proprietor' | null;
|
|
392
|
+
/**
|
|
393
|
+
* The URL of the website for this organization. The website should be publicly
|
|
394
|
+
* available, clearly reflect the organization's purpose, and the URL should start
|
|
395
|
+
* with `https://`
|
|
396
|
+
*/
|
|
397
|
+
website?: string | null;
|
|
398
|
+
}
|
|
399
|
+
export declare namespace OrganizationParams {
|
|
400
|
+
/**
|
|
401
|
+
* The address of the organization's headquarters.
|
|
402
|
+
*/
|
|
403
|
+
interface Address {
|
|
404
|
+
/**
|
|
405
|
+
* The two character ISO 3166 country code. If none is provided, the organization's
|
|
406
|
+
* country code will be used.
|
|
407
|
+
*/
|
|
408
|
+
country?: string | null;
|
|
409
|
+
/**
|
|
410
|
+
* The first line of the address, typically the number and street name
|
|
411
|
+
*/
|
|
412
|
+
line1?: string | null;
|
|
413
|
+
/**
|
|
414
|
+
* The second line of the address if needed, typically an apartment or suite number
|
|
415
|
+
*/
|
|
416
|
+
line2?: string | null;
|
|
417
|
+
/**
|
|
418
|
+
* The city or locality
|
|
419
|
+
*/
|
|
420
|
+
locality?: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* The name to which any mail should be addressed. If none is provided, this will
|
|
423
|
+
* default to the organization's registered_name
|
|
424
|
+
*/
|
|
425
|
+
name?: string | null;
|
|
426
|
+
/**
|
|
427
|
+
* The postal code
|
|
428
|
+
*/
|
|
429
|
+
postal_code?: string | null;
|
|
430
|
+
/**
|
|
431
|
+
* The state or region
|
|
432
|
+
*/
|
|
433
|
+
region?: string | null;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
* An object representing an individual who can be contacted if the carriers have
|
|
437
|
+
* any questions about the business.
|
|
438
|
+
*/
|
|
439
|
+
interface Contact {
|
|
440
|
+
/**
|
|
441
|
+
* An email address at which the individual can be reached. Typically an email
|
|
442
|
+
* using the same domain name as the website URL will be preferred (e.g. with a
|
|
443
|
+
* website domain of `https://dtprecisionauto.com`, an email like
|
|
444
|
+
* `dom@dtprecisionauto.com` will be preferred over one like
|
|
445
|
+
* `dom@anothergarage.com` or `dom.toretto@gmail.com`)
|
|
446
|
+
*/
|
|
447
|
+
email?: string | null;
|
|
448
|
+
/**
|
|
449
|
+
* The first name (or given name) of the individual
|
|
450
|
+
*/
|
|
451
|
+
first_name?: string | null;
|
|
452
|
+
/**
|
|
453
|
+
* The last name (or family name) of the individual
|
|
454
|
+
*/
|
|
455
|
+
last_name?: string | null;
|
|
456
|
+
/**
|
|
457
|
+
* A phone number at which the individual can be reached (E.164 format)
|
|
458
|
+
*/
|
|
459
|
+
phone_number?: string | null;
|
|
460
|
+
/**
|
|
461
|
+
* The job title of the individual.
|
|
462
|
+
*/
|
|
463
|
+
title?: 'ceo' | 'cfo' | 'director' | 'gm' | 'vp' | 'general_counsel' | 'other' | null;
|
|
464
|
+
/**
|
|
465
|
+
* If `other` is provided for the `title` field, this field should be used to
|
|
466
|
+
* provide the title of the individual
|
|
467
|
+
*/
|
|
468
|
+
title_other?: string | null;
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
export interface AccountCreateParams {
|
|
472
|
+
/**
|
|
473
|
+
* The name of the account that will be visible for your internal organizational
|
|
474
|
+
* purposes. This will also be the default public-facing brand name unless you also
|
|
475
|
+
* set a `brand_name`, but otherwise the account name will never be displayed
|
|
476
|
+
* anywhere outside of Surge HQ, and may include your ID for the account or
|
|
477
|
+
* anything else that may help you.
|
|
478
|
+
*/
|
|
479
|
+
name: string;
|
|
480
|
+
/**
|
|
481
|
+
* The name by which the people this account communicates with know it. If not
|
|
482
|
+
* provided, this will match the name field.
|
|
483
|
+
*/
|
|
484
|
+
brand_name?: string | null;
|
|
485
|
+
/**
|
|
486
|
+
* Parameters describing the legal entity on whose behalf the account will be
|
|
487
|
+
* operated.
|
|
488
|
+
*/
|
|
489
|
+
organization?: OrganizationParams;
|
|
490
|
+
/**
|
|
491
|
+
* This is the time zone in which the account is headquartered. This time zone may
|
|
492
|
+
* be used for compliance with TCPA restrictions on when messages may be sent.
|
|
493
|
+
*/
|
|
494
|
+
time_zone?: string;
|
|
495
|
+
}
|
|
496
|
+
export interface AccountUpdateParams {
|
|
497
|
+
/**
|
|
498
|
+
* The name by which the people this account communicates with know it. If not
|
|
499
|
+
* provided, this will match the name field.
|
|
500
|
+
*/
|
|
501
|
+
brand_name?: string;
|
|
502
|
+
/**
|
|
503
|
+
* The name of the account that will be visible for your internal organizational
|
|
504
|
+
* purposes. This will also be the default public-facing brand name unless you also
|
|
505
|
+
* set a `brand_name`, but otherwise the account name will never be displayed
|
|
506
|
+
* anywhere outside of Surge HQ, and may include your ID for the account or
|
|
507
|
+
* anything else that may help you.
|
|
508
|
+
*/
|
|
509
|
+
name?: string;
|
|
510
|
+
/**
|
|
511
|
+
* Parameters describing the legal entity on whose behalf the account will be
|
|
512
|
+
* operated.
|
|
513
|
+
*/
|
|
514
|
+
organization?: OrganizationParams;
|
|
515
|
+
/**
|
|
516
|
+
* The time zone for the account
|
|
517
|
+
*/
|
|
518
|
+
time_zone?: string | null;
|
|
519
|
+
}
|
|
520
|
+
export interface AccountRetrieveStatusParams {
|
|
521
|
+
capabilities?: Array<'local_messaging'>;
|
|
522
|
+
}
|
|
523
|
+
export declare namespace Accounts {
|
|
524
|
+
export { type Account as Account, type AccountParams as AccountParams, type AccountStatus as AccountStatus, type AccountUpdateParams as AccountUpdateParams, type Organization as Organization, type OrganizationParams as OrganizationParams, type AccountCreateParams as AccountCreateParams, type AccountRetrieveStatusParams as AccountRetrieveStatusParams, };
|
|
525
|
+
}
|
|
526
|
+
//# sourceMappingURL=accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EA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AAG,IAAI,CAAC;CAC3B;AAED,MAAM,WAAW,2BAA2B;IAC1C,YAAY,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Accounts = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
class Accounts extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new Account within the calling Platform.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const account = await client.accounts.create({
|
|
14
|
+
* name: 'Account #2840 - DT Precision Auto',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
create(body, options) {
|
|
19
|
+
return this._client.post('/accounts', { body, ...options });
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Updates an Account
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const account = await client.accounts.update(
|
|
27
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
update(id, body, options) {
|
|
32
|
+
return this._client.patch((0, path_1.path) `/accounts/${id}`, { body, ...options });
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check an account's status and capabilities
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```ts
|
|
39
|
+
* const accountStatus = await client.accounts.retrieveStatus(
|
|
40
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
41
|
+
* );
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
retrieveStatus(accountID, query = {}, options) {
|
|
45
|
+
return this._client.get((0, path_1.path) `/accounts/${accountID}/status`, { query, ...options });
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.Accounts = Accounts;
|
|
49
|
+
//# sourceMappingURL=accounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,IAAyB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;OASG;IACH,cAAc,CACZ,SAAiB,EACjB,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,SAAS,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF;AA9CD,4BA8CC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
export class Accounts extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new Account within the calling Platform.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const account = await client.accounts.create({
|
|
11
|
+
* name: 'Account #2840 - DT Precision Auto',
|
|
12
|
+
* });
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
create(body, options) {
|
|
16
|
+
return this._client.post('/accounts', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Updates an Account
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const account = await client.accounts.update(
|
|
24
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
update(id, body, options) {
|
|
29
|
+
return this._client.patch(path `/accounts/${id}`, { body, ...options });
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check an account's status and capabilities
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* const accountStatus = await client.accounts.retrieveStatus(
|
|
37
|
+
* 'acct_01jpqjvfg9enpt7pyxd60pcmxj',
|
|
38
|
+
* );
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
retrieveStatus(accountID, query = {}, options) {
|
|
42
|
+
return this._client.get(path `/accounts/${accountID}/status`, { query, ...options });
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=accounts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAyB,EAAE,OAAwB;QACxD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAU,EAAE,IAAyB,EAAE,OAAwB;QACpE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;OASG;IACH,cAAc,CACZ,SAAiB,EACjB,QAAwD,EAAE,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,SAAS,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtF,CAAC;CACF"}
|