telnyx 7.12.0 → 7.13.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 +7 -0
- package/client.d.mts +56 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +56 -2
- package/client.d.ts.map +1 -1
- package/client.js +54 -0
- package/client.js.map +1 -1
- package/client.mjs +54 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +6 -0
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +6 -0
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/anthropic/v1.d.mts +3 -1
- package/resources/ai/anthropic/v1.d.mts.map +1 -1
- package/resources/ai/anthropic/v1.d.ts +3 -1
- package/resources/ai/anthropic/v1.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +6 -2
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +6 -2
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/chat.d.mts +6 -0
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +6 -0
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/openai/chat.d.mts +6 -0
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +6 -0
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/openai/openai.d.mts +6 -0
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +6 -0
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +223 -48
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +223 -48
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +31 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +31 -0
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +3 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +3 -2
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/custom-storage-credentials.d.mts +110 -14
- package/resources/custom-storage-credentials.d.mts.map +1 -1
- package/resources/custom-storage-credentials.d.ts +110 -14
- package/resources/custom-storage-credentials.d.ts.map +1 -1
- package/resources/dir/dir.d.mts +3 -2
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +3 -2
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +3 -2
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +3 -2
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/references.d.mts +41 -11
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +41 -11
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/dir/references.js +30 -8
- package/resources/dir/references.js.map +1 -1
- package/resources/dir/references.mjs +30 -8
- package/resources/dir/references.mjs.map +1 -1
- package/resources/dir/verify-email.d.mts +10 -0
- package/resources/dir/verify-email.d.mts.map +1 -1
- package/resources/dir/verify-email.d.ts +10 -0
- package/resources/dir/verify-email.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.d.mts +255 -0
- package/resources/email-blocks/email-blocks.d.mts.map +1 -0
- package/resources/email-blocks/email-blocks.d.ts +255 -0
- package/resources/email-blocks/email-blocks.d.ts.map +1 -0
- package/resources/email-blocks/email-blocks.js +99 -0
- package/resources/email-blocks/email-blocks.js.map +1 -0
- package/resources/email-blocks/email-blocks.mjs +94 -0
- package/resources/email-blocks/email-blocks.mjs.map +1 -0
- package/resources/email-blocks/import.d.mts +111 -0
- package/resources/email-blocks/import.d.mts.map +1 -0
- package/resources/email-blocks/import.d.ts +111 -0
- package/resources/email-blocks/import.d.ts.map +1 -0
- package/resources/email-blocks/import.js +40 -0
- package/resources/email-blocks/import.js.map +1 -0
- package/resources/email-blocks/import.mjs +36 -0
- package/resources/email-blocks/import.mjs.map +1 -0
- package/resources/email-blocks/index.d.mts +3 -0
- package/resources/email-blocks/index.d.mts.map +1 -0
- package/resources/email-blocks/index.d.ts +3 -0
- package/resources/email-blocks/index.d.ts.map +1 -0
- package/resources/email-blocks/index.js +9 -0
- package/resources/email-blocks/index.js.map +1 -0
- package/resources/email-blocks/index.mjs +4 -0
- package/resources/email-blocks/index.mjs.map +1 -0
- package/resources/email-blocks.d.mts +2 -0
- package/resources/email-blocks.d.mts.map +1 -0
- package/resources/email-blocks.d.ts +2 -0
- package/resources/email-blocks.d.ts.map +1 -0
- package/resources/email-blocks.js +6 -0
- package/resources/email-blocks.js.map +1 -0
- package/resources/email-blocks.mjs +3 -0
- package/resources/email-blocks.mjs.map +1 -0
- package/resources/email-domains/email-domains.d.mts +344 -0
- package/resources/email-domains/email-domains.d.mts.map +1 -0
- package/resources/email-domains/email-domains.d.ts +344 -0
- package/resources/email-domains/email-domains.d.ts.map +1 -0
- package/resources/email-domains/email-domains.js +146 -0
- package/resources/email-domains/email-domains.js.map +1 -0
- package/resources/email-domains/email-domains.mjs +141 -0
- package/resources/email-domains/email-domains.mjs.map +1 -0
- package/resources/email-domains/index.d.mts +3 -0
- package/resources/email-domains/index.d.mts.map +1 -0
- package/resources/email-domains/index.d.ts +3 -0
- package/resources/email-domains/index.d.ts.map +1 -0
- package/resources/email-domains/index.js +9 -0
- package/resources/email-domains/index.js.map +1 -0
- package/resources/email-domains/index.mjs +4 -0
- package/resources/email-domains/index.mjs.map +1 -0
- package/resources/email-domains/webhooks.d.mts +170 -0
- package/resources/email-domains/webhooks.d.mts.map +1 -0
- package/resources/email-domains/webhooks.d.ts +170 -0
- package/resources/email-domains/webhooks.d.ts.map +1 -0
- package/resources/email-domains/webhooks.js +110 -0
- package/resources/email-domains/webhooks.js.map +1 -0
- package/resources/email-domains/webhooks.mjs +106 -0
- package/resources/email-domains/webhooks.mjs.map +1 -0
- package/resources/email-domains.d.mts +2 -0
- package/resources/email-domains.d.mts.map +1 -0
- package/resources/email-domains.d.ts +2 -0
- package/resources/email-domains.d.ts.map +1 -0
- package/resources/email-domains.js +6 -0
- package/resources/email-domains.js.map +1 -0
- package/resources/email-domains.mjs +3 -0
- package/resources/email-domains.mjs.map +1 -0
- package/resources/email-events.d.mts +186 -0
- package/resources/email-events.d.mts.map +1 -0
- package/resources/email-events.d.ts +186 -0
- package/resources/email-events.d.ts.map +1 -0
- package/resources/email-events.js +26 -0
- package/resources/email-events.js.map +1 -0
- package/resources/email-events.mjs +22 -0
- package/resources/email-events.mjs.map +1 -0
- package/resources/email-inboxes/drafts.d.mts +549 -0
- package/resources/email-inboxes/drafts.d.mts.map +1 -0
- package/resources/email-inboxes/drafts.d.ts +549 -0
- package/resources/email-inboxes/drafts.d.ts.map +1 -0
- package/resources/email-inboxes/drafts.js +161 -0
- package/resources/email-inboxes/drafts.js.map +1 -0
- package/resources/email-inboxes/drafts.mjs +157 -0
- package/resources/email-inboxes/drafts.mjs.map +1 -0
- package/resources/email-inboxes/email-inboxes.d.mts +131 -0
- package/resources/email-inboxes/email-inboxes.d.mts.map +1 -0
- package/resources/email-inboxes/email-inboxes.d.ts +131 -0
- package/resources/email-inboxes/email-inboxes.d.ts.map +1 -0
- package/resources/email-inboxes/email-inboxes.js +93 -0
- package/resources/email-inboxes/email-inboxes.js.map +1 -0
- package/resources/email-inboxes/email-inboxes.mjs +88 -0
- package/resources/email-inboxes/email-inboxes.mjs.map +1 -0
- package/resources/email-inboxes/filters.d.mts +137 -0
- package/resources/email-inboxes/filters.d.mts.map +1 -0
- package/resources/email-inboxes/filters.d.ts +137 -0
- package/resources/email-inboxes/filters.d.ts.map +1 -0
- package/resources/email-inboxes/filters.js +81 -0
- package/resources/email-inboxes/filters.js.map +1 -0
- package/resources/email-inboxes/filters.mjs +77 -0
- package/resources/email-inboxes/filters.mjs.map +1 -0
- package/resources/email-inboxes/index.d.mts +6 -0
- package/resources/email-inboxes/index.d.mts.map +1 -0
- package/resources/email-inboxes/index.d.ts +6 -0
- package/resources/email-inboxes/index.d.ts.map +1 -0
- package/resources/email-inboxes/index.js +15 -0
- package/resources/email-inboxes/index.js.map +1 -0
- package/resources/email-inboxes/index.mjs +7 -0
- package/resources/email-inboxes/index.mjs.map +1 -0
- package/resources/email-inboxes/messages/actions.d.mts +190 -0
- package/resources/email-inboxes/messages/actions.d.mts.map +1 -0
- package/resources/email-inboxes/messages/actions.d.ts +190 -0
- package/resources/email-inboxes/messages/actions.d.ts.map +1 -0
- package/resources/email-inboxes/messages/actions.js +106 -0
- package/resources/email-inboxes/messages/actions.js.map +1 -0
- package/resources/email-inboxes/messages/actions.mjs +102 -0
- package/resources/email-inboxes/messages/actions.mjs.map +1 -0
- package/resources/email-inboxes/messages/index.d.mts +4 -0
- package/resources/email-inboxes/messages/index.d.mts.map +1 -0
- package/resources/email-inboxes/messages/index.d.ts +4 -0
- package/resources/email-inboxes/messages/index.d.ts.map +1 -0
- package/resources/email-inboxes/messages/index.js +11 -0
- package/resources/email-inboxes/messages/index.js.map +1 -0
- package/resources/email-inboxes/messages/index.mjs +5 -0
- package/resources/email-inboxes/messages/index.mjs.map +1 -0
- package/resources/email-inboxes/messages/labels.d.mts +101 -0
- package/resources/email-inboxes/messages/labels.d.mts.map +1 -0
- package/resources/email-inboxes/messages/labels.d.ts +101 -0
- package/resources/email-inboxes/messages/labels.d.ts.map +1 -0
- package/resources/email-inboxes/messages/labels.js +69 -0
- package/resources/email-inboxes/messages/labels.js.map +1 -0
- package/resources/email-inboxes/messages/labels.mjs +65 -0
- package/resources/email-inboxes/messages/labels.mjs.map +1 -0
- package/resources/email-inboxes/messages/messages.d.mts +212 -0
- package/resources/email-inboxes/messages/messages.d.mts.map +1 -0
- package/resources/email-inboxes/messages/messages.d.ts +212 -0
- package/resources/email-inboxes/messages/messages.d.ts.map +1 -0
- package/resources/email-inboxes/messages/messages.js +89 -0
- package/resources/email-inboxes/messages/messages.js.map +1 -0
- package/resources/email-inboxes/messages/messages.mjs +84 -0
- package/resources/email-inboxes/messages/messages.mjs.map +1 -0
- package/resources/email-inboxes/messages.d.mts +2 -0
- package/resources/email-inboxes/messages.d.mts.map +1 -0
- package/resources/email-inboxes/messages.d.ts +2 -0
- package/resources/email-inboxes/messages.d.ts.map +1 -0
- package/resources/email-inboxes/messages.js +6 -0
- package/resources/email-inboxes/messages.js.map +1 -0
- package/resources/email-inboxes/messages.mjs +3 -0
- package/resources/email-inboxes/messages.mjs.map +1 -0
- package/resources/email-inboxes/threads/index.d.mts +3 -0
- package/resources/email-inboxes/threads/index.d.mts.map +1 -0
- package/resources/email-inboxes/threads/index.d.ts +3 -0
- package/resources/email-inboxes/threads/index.d.ts.map +1 -0
- package/resources/email-inboxes/threads/index.js +9 -0
- package/resources/email-inboxes/threads/index.js.map +1 -0
- package/resources/email-inboxes/threads/index.mjs +4 -0
- package/resources/email-inboxes/threads/index.mjs.map +1 -0
- package/resources/email-inboxes/threads/labels.d.mts +99 -0
- package/resources/email-inboxes/threads/labels.d.mts.map +1 -0
- package/resources/email-inboxes/threads/labels.d.ts +99 -0
- package/resources/email-inboxes/threads/labels.d.ts.map +1 -0
- package/resources/email-inboxes/threads/labels.js +64 -0
- package/resources/email-inboxes/threads/labels.js.map +1 -0
- package/resources/email-inboxes/threads/labels.mjs +60 -0
- package/resources/email-inboxes/threads/labels.mjs.map +1 -0
- package/resources/email-inboxes/threads/threads.d.mts +199 -0
- package/resources/email-inboxes/threads/threads.d.mts.map +1 -0
- package/resources/email-inboxes/threads/threads.d.ts +199 -0
- package/resources/email-inboxes/threads/threads.d.ts.map +1 -0
- package/resources/email-inboxes/threads/threads.js +51 -0
- package/resources/email-inboxes/threads/threads.js.map +1 -0
- package/resources/email-inboxes/threads/threads.mjs +46 -0
- package/resources/email-inboxes/threads/threads.mjs.map +1 -0
- package/resources/email-inboxes/threads.d.mts +2 -0
- package/resources/email-inboxes/threads.d.mts.map +1 -0
- package/resources/email-inboxes/threads.d.ts +2 -0
- package/resources/email-inboxes/threads.d.ts.map +1 -0
- package/resources/email-inboxes/threads.js +6 -0
- package/resources/email-inboxes/threads.js.map +1 -0
- package/resources/email-inboxes/threads.mjs +3 -0
- package/resources/email-inboxes/threads.mjs.map +1 -0
- package/resources/email-inboxes.d.mts +2 -0
- package/resources/email-inboxes.d.mts.map +1 -0
- package/resources/email-inboxes.d.ts +2 -0
- package/resources/email-inboxes.d.ts.map +1 -0
- package/resources/email-inboxes.js +6 -0
- package/resources/email-inboxes.js.map +1 -0
- package/resources/email-inboxes.mjs +3 -0
- package/resources/email-inboxes.mjs.map +1 -0
- package/resources/email-messages/email-messages.d.mts +543 -0
- package/resources/email-messages/email-messages.d.mts.map +1 -0
- package/resources/email-messages/email-messages.d.ts +543 -0
- package/resources/email-messages/email-messages.d.ts.map +1 -0
- package/resources/email-messages/email-messages.js +186 -0
- package/resources/email-messages/email-messages.js.map +1 -0
- package/resources/email-messages/email-messages.mjs +181 -0
- package/resources/email-messages/email-messages.mjs.map +1 -0
- package/resources/email-messages/index.d.mts +3 -0
- package/resources/email-messages/index.d.mts.map +1 -0
- package/resources/email-messages/index.d.ts +3 -0
- package/resources/email-messages/index.d.ts.map +1 -0
- package/resources/email-messages/index.js +9 -0
- package/resources/email-messages/index.js.map +1 -0
- package/resources/email-messages/index.mjs +4 -0
- package/resources/email-messages/index.mjs.map +1 -0
- package/resources/email-messages/recipients.d.mts +118 -0
- package/resources/email-messages/recipients.d.mts.map +1 -0
- package/resources/email-messages/recipients.d.ts +118 -0
- package/resources/email-messages/recipients.d.ts.map +1 -0
- package/resources/email-messages/recipients.js +48 -0
- package/resources/email-messages/recipients.js.map +1 -0
- package/resources/email-messages/recipients.mjs +44 -0
- package/resources/email-messages/recipients.mjs.map +1 -0
- package/resources/email-messages.d.mts +2 -0
- package/resources/email-messages.d.mts.map +1 -0
- package/resources/email-messages.d.ts +2 -0
- package/resources/email-messages.d.ts.map +1 -0
- package/resources/email-messages.js +6 -0
- package/resources/email-messages.js.map +1 -0
- package/resources/email-messages.mjs +3 -0
- package/resources/email-messages.mjs.map +1 -0
- package/resources/email-templates.d.mts +236 -0
- package/resources/email-templates.d.mts.map +1 -0
- package/resources/email-templates.d.ts +236 -0
- package/resources/email-templates.d.ts.map +1 -0
- package/resources/email-templates.js +124 -0
- package/resources/email-templates.js.map +1 -0
- package/resources/email-templates.mjs +120 -0
- package/resources/email-templates.mjs.map +1 -0
- package/resources/email-threads.d.mts +71 -0
- package/resources/email-threads.d.mts.map +1 -0
- package/resources/email-threads.d.ts +71 -0
- package/resources/email-threads.d.ts.map +1 -0
- package/resources/email-threads.js +34 -0
- package/resources/email-threads.js.map +1 -0
- package/resources/email-threads.mjs +30 -0
- package/resources/email-threads.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts +90 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts +90 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js +70 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.js.map +1 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs +65 -0
- package/resources/email-unsubscribe-groups/email-unsubscribe-groups.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/index.d.mts +3 -0
- package/resources/email-unsubscribe-groups/index.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/index.d.ts +3 -0
- package/resources/email-unsubscribe-groups/index.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/index.js +9 -0
- package/resources/email-unsubscribe-groups/index.js.map +1 -0
- package/resources/email-unsubscribe-groups/index.mjs +4 -0
- package/resources/email-unsubscribe-groups/index.mjs.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.d.mts +54 -0
- package/resources/email-unsubscribe-groups/suppressions.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.d.ts +54 -0
- package/resources/email-unsubscribe-groups/suppressions.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.js +52 -0
- package/resources/email-unsubscribe-groups/suppressions.js.map +1 -0
- package/resources/email-unsubscribe-groups/suppressions.mjs +48 -0
- package/resources/email-unsubscribe-groups/suppressions.mjs.map +1 -0
- package/resources/email-unsubscribe-groups.d.mts +2 -0
- package/resources/email-unsubscribe-groups.d.mts.map +1 -0
- package/resources/email-unsubscribe-groups.d.ts +2 -0
- package/resources/email-unsubscribe-groups.d.ts.map +1 -0
- package/resources/email-unsubscribe-groups.js +6 -0
- package/resources/email-unsubscribe-groups.js.map +1 -0
- package/resources/email-unsubscribe-groups.mjs +3 -0
- package/resources/email-unsubscribe-groups.mjs.map +1 -0
- package/resources/email-validations/batch.d.mts +136 -0
- package/resources/email-validations/batch.d.mts.map +1 -0
- package/resources/email-validations/batch.d.ts +136 -0
- package/resources/email-validations/batch.d.ts.map +1 -0
- package/resources/email-validations/batch.js +51 -0
- package/resources/email-validations/batch.js.map +1 -0
- package/resources/email-validations/batch.mjs +47 -0
- package/resources/email-validations/batch.mjs.map +1 -0
- package/resources/email-validations/email-validations.d.mts +87 -0
- package/resources/email-validations/email-validations.d.mts.map +1 -0
- package/resources/email-validations/email-validations.d.ts +87 -0
- package/resources/email-validations/email-validations.d.ts.map +1 -0
- package/resources/email-validations/email-validations.js +43 -0
- package/resources/email-validations/email-validations.js.map +1 -0
- package/resources/email-validations/email-validations.mjs +38 -0
- package/resources/email-validations/email-validations.mjs.map +1 -0
- package/resources/email-validations/index.d.mts +3 -0
- package/resources/email-validations/index.d.mts.map +1 -0
- package/resources/email-validations/index.d.ts +3 -0
- package/resources/email-validations/index.d.ts.map +1 -0
- package/resources/email-validations/index.js +9 -0
- package/resources/email-validations/index.js.map +1 -0
- package/resources/email-validations/index.mjs +4 -0
- package/resources/email-validations/index.mjs.map +1 -0
- package/resources/email-validations.d.mts +2 -0
- package/resources/email-validations.d.mts.map +1 -0
- package/resources/email-validations.d.ts +2 -0
- package/resources/email-validations.d.ts.map +1 -0
- package/resources/email-validations.js +6 -0
- package/resources/email-validations.js.map +1 -0
- package/resources/email-validations.mjs +3 -0
- package/resources/email-validations.mjs.map +1 -0
- package/resources/index.d.mts +11 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +24 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +10 -0
- package/resources/index.mjs.map +1 -1
- package/resources/pricing/index.d.mts +3 -0
- package/resources/pricing/index.d.mts.map +1 -0
- package/resources/pricing/index.d.ts +3 -0
- package/resources/pricing/index.d.ts.map +1 -0
- package/resources/pricing/index.js +9 -0
- package/resources/pricing/index.js.map +1 -0
- package/resources/pricing/index.mjs +4 -0
- package/resources/pricing/index.mjs.map +1 -0
- package/resources/pricing/pricing.d.mts +10 -0
- package/resources/pricing/pricing.d.mts.map +1 -0
- package/resources/pricing/pricing.d.ts +10 -0
- package/resources/pricing/pricing.d.ts.map +1 -0
- package/resources/pricing/pricing.js +17 -0
- package/resources/pricing/pricing.js.map +1 -0
- package/resources/pricing/pricing.mjs +12 -0
- package/resources/pricing/pricing.mjs.map +1 -0
- package/resources/pricing/products.d.mts +161 -0
- package/resources/pricing/products.d.mts.map +1 -0
- package/resources/pricing/products.d.ts +161 -0
- package/resources/pricing/products.d.ts.map +1 -0
- package/resources/pricing/products.js +32 -0
- package/resources/pricing/products.js.map +1 -0
- package/resources/pricing/products.mjs +28 -0
- package/resources/pricing/products.mjs.map +1 -0
- package/resources/pricing.d.mts +2 -0
- package/resources/pricing.d.mts.map +1 -0
- package/resources/pricing.d.ts +2 -0
- package/resources/pricing.d.ts.map +1 -0
- package/resources/pricing.js +6 -0
- package/resources/pricing.js.map +1 -0
- package/resources/pricing.mjs +3 -0
- package/resources/pricing.mjs.map +1 -0
- package/resources/speech-to-text/speech-to-text.d.mts +4 -4
- package/resources/speech-to-text/speech-to-text.d.mts.map +1 -1
- package/resources/speech-to-text/speech-to-text.d.ts +4 -4
- package/resources/speech-to-text/speech-to-text.d.ts.map +1 -1
- package/resources/speech-to-text/speech-to-text.js +1 -1
- package/resources/speech-to-text/speech-to-text.mjs +1 -1
- package/resources/uac-connections/uac-connections.d.mts +5 -0
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +5 -0
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/webhooks.d.mts +483 -85
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +483 -85
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/src/client.ts +260 -0
- package/src/resources/ai/ai.ts +7 -0
- package/src/resources/ai/anthropic/v1.ts +3 -1
- package/src/resources/ai/assistants/assistants.ts +6 -1
- package/src/resources/ai/chat.ts +7 -0
- package/src/resources/ai/openai/chat.ts +7 -0
- package/src/resources/ai/openai/openai.ts +7 -0
- package/src/resources/calls/actions.ts +269 -51
- package/src/resources/calls/calls.ts +8 -0
- package/src/resources/calls/index.ts +3 -0
- package/src/resources/custom-storage-credentials.ts +140 -14
- package/src/resources/dir/dir.ts +3 -2
- package/src/resources/dir/references.ts +41 -11
- package/src/resources/dir/verify-email.ts +12 -0
- package/src/resources/email-blocks/email-blocks.ts +358 -0
- package/src/resources/email-blocks/import.ts +143 -0
- package/src/resources/email-blocks/index.ts +16 -0
- package/src/resources/email-blocks.ts +3 -0
- package/src/resources/email-domains/email-domains.ts +510 -0
- package/src/resources/email-domains/index.ts +33 -0
- package/src/resources/email-domains/webhooks.ts +267 -0
- package/src/resources/email-domains.ts +3 -0
- package/src/resources/email-events.ts +269 -0
- package/src/resources/email-inboxes/drafts.ts +746 -0
- package/src/resources/email-inboxes/email-inboxes.ts +276 -0
- package/src/resources/email-inboxes/filters.ts +193 -0
- package/src/resources/email-inboxes/index.ts +58 -0
- package/src/resources/email-inboxes/messages/actions.ts +258 -0
- package/src/resources/email-inboxes/messages/index.ts +27 -0
- package/src/resources/email-inboxes/messages/labels.ts +139 -0
- package/src/resources/email-inboxes/messages/messages.ts +313 -0
- package/src/resources/email-inboxes/messages.ts +3 -0
- package/src/resources/email-inboxes/threads/index.ts +21 -0
- package/src/resources/email-inboxes/threads/labels.ts +143 -0
- package/src/resources/email-inboxes/threads/threads.ts +292 -0
- package/src/resources/email-inboxes/threads.ts +3 -0
- package/src/resources/email-inboxes.ts +3 -0
- package/src/resources/email-messages/email-messages.ts +713 -0
- package/src/resources/email-messages/index.ts +26 -0
- package/src/resources/email-messages/recipients.ts +182 -0
- package/src/resources/email-messages.ts +3 -0
- package/src/resources/email-templates.ts +333 -0
- package/src/resources/email-threads.ts +100 -0
- package/src/resources/email-unsubscribe-groups/email-unsubscribe-groups.ts +171 -0
- package/src/resources/email-unsubscribe-groups/index.ts +19 -0
- package/src/resources/email-unsubscribe-groups/suppressions.ts +90 -0
- package/src/resources/email-unsubscribe-groups.ts +3 -0
- package/src/resources/email-validations/batch.ts +187 -0
- package/src/resources/email-validations/email-validations.ts +141 -0
- package/src/resources/email-validations/index.ts +15 -0
- package/src/resources/email-validations.ts +3 -0
- package/src/resources/index.ts +103 -0
- package/src/resources/pricing/index.ts +13 -0
- package/src/resources/pricing/pricing.ts +33 -0
- package/src/resources/pricing/products.ts +226 -0
- package/src/resources/pricing.ts +3 -0
- package/src/resources/speech-to-text/speech-to-text.ts +6 -3
- package/src/resources/uac-connections/uac-connections.ts +6 -0
- package/src/resources/webhooks.ts +636 -110
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.d.mts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,4BAAwB;AAClD,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,mCAA+B;AACjF,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,EACV,gCAAgC,EACjC,uBAAmB;AACpB,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,kBAAkB,EAClB,uCAAuC,EACxC,mCAA+B;AAChC,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EACL,cAAc,EACd,oCAAoC,EACpC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACZ,eAAe,EAChB,4BAAwB;AACzB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACvB,UAAU,EACX,yBAAqB;AACtB,OAAO,KAAK,cAAc,2BAAuB;AACjD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,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,+BAA+B,GAAG,IAAI,GAAG,SAAc,EAC9D,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,uCAAuC,EAAE,qBAAqB,CAAC,iBAAiB,CAAC;IAQhG;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,kBAAkB,CAChB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,UAAU,CAAC;IAIzB
|
|
1
|
+
{"version":3,"file":"dir.d.mts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,4BAAwB;AAClD,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,mCAA+B;AACjF,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,EACV,gCAAgC,EACjC,uBAAmB;AACpB,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,kBAAkB,EAClB,uCAAuC,EACxC,mCAA+B;AAChC,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EACL,cAAc,EACd,oCAAoC,EACpC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACZ,eAAe,EAChB,4BAAwB;AACzB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACvB,UAAU,EACX,yBAAqB;AACtB,OAAO,KAAK,cAAc,2BAAuB;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ACL,UAAU,IAAI,UAAU,EACxB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,uCAAuC,EAAE,CAAC"}
|
package/resources/dir/dir.d.ts
CHANGED
|
@@ -157,8 +157,9 @@ export declare class DirResource extends APIResource {
|
|
|
157
157
|
* numbers flip back to `submitted`. When re-submitting from `verified`, the
|
|
158
158
|
* existing registration stays live throughout the new vetting cycle.
|
|
159
159
|
*
|
|
160
|
-
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `
|
|
161
|
-
* if the DIR
|
|
160
|
+
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
161
|
+
* if the DIR's business and financial references have not been submitted. Returns
|
|
162
|
+
* `409` if the DIR has an unresolved infringement claim.
|
|
162
163
|
*
|
|
163
164
|
* @example
|
|
164
165
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.d.ts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,2BAAwB;AAClD,OAAO,KAAK,qBAAqB,kCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,kCAA+B;AACjF,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,EACV,gCAAgC,EACjC,sBAAmB;A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AoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,uCAAuC,EAAE,CAAC"}
|
package/resources/dir/dir.js
CHANGED
|
@@ -178,8 +178,9 @@ class DirResource extends resource_1.APIResource {
|
|
|
178
178
|
* numbers flip back to `submitted`. When re-submitting from `verified`, the
|
|
179
179
|
* existing registration stays live throughout the new vetting cycle.
|
|
180
180
|
*
|
|
181
|
-
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `
|
|
182
|
-
* if the DIR
|
|
181
|
+
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
182
|
+
* if the DIR's business and financial references have not been submitted. Returns
|
|
183
|
+
* `409` if the DIR has an unresolved infringement claim.
|
|
183
184
|
*
|
|
184
185
|
* @example
|
|
185
186
|
* ```ts
|
package/resources/dir/dir.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.js","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAIlD,mEAA0C;AAC1C,4CAQoB;AACpB,yFAAgE;AAChE,oEAQgC;AAChC,4EAAmD;AACnD,sDAUyB;AACzB,uEAA8C;AAC9C,gDAQsB;AACtB,0EAAiD;AACjD,oDAAuG;AAGvG,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,uBAAkB,GAA6C,IAAI,qBAAqB,CAAC,kBAAkB,CACzG,IAAI,CAAC,OAAO,CACb,CAAC;QACF,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"dir.js","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAIlD,mEAA0C;AAC1C,4CAQoB;AACpB,yFAAgE;AAChE,oEAQgC;AAChC,4EAAmD;AACnD,sDAUyB;AACzB,uEAA8C;AAC9C,gDAQsB;AACtB,0EAAiD;AACjD,oDAAuG;AAGvG,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD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,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACxE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AArOD,kCAqOC;AAgXD,WAAW,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAChC,WAAW,CAAC,kBAAkB,GAAG,yCAAkB,CAAC;AACpD,WAAW,CAAC,YAAY,GAAG,4BAAY,CAAC;AACxC,WAAW,CAAC,UAAU,GAAG,uBAAU,CAAC;AACpC,WAAW,CAAC,WAAW,GAAG,0BAAW,CAAC"}
|
package/resources/dir/dir.mjs
CHANGED
|
@@ -174,8 +174,9 @@ export class DirResource extends APIResource {
|
|
|
174
174
|
* numbers flip back to `submitted`. When re-submitting from `verified`, the
|
|
175
175
|
* existing registration stays live throughout the new vetting cycle.
|
|
176
176
|
*
|
|
177
|
-
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `
|
|
178
|
-
* if the DIR
|
|
177
|
+
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
178
|
+
* if the DIR's business and financial references have not been submitted. Returns
|
|
179
|
+
* `409` if the DIR has an unresolved infringement claim.
|
|
179
180
|
*
|
|
180
181
|
* @example
|
|
181
182
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAKL,QAAQ,GAGT,uBAAmB;AACpB,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAML,kBAAkB,GAEnB,mCAA+B;AAChC,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EAQL,YAAY,GAEb,4BAAwB;A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C,IAAI,CAAC,IAAI,CAAA,QAAQ,KAAK,MAAM,EAAE;YAChD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;YACxE,gBAAgB,EAAE,IAAI;SACvB,CAAC,CAAC;IACL,CAAC;CACF;AAgXD,WAAW,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAChC,WAAW,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AACpD,WAAW,CAAC,YAAY,GAAG,YAAY,CAAC;AACxC,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;AACpC,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -8,10 +8,12 @@ export declare class References extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* List the business and financial references submitted for a DIR.
|
|
10
10
|
*
|
|
11
|
-
* Returns the two business references (slots
|
|
12
|
-
* financial reference. Each entry carries
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* Returns the two business references (slots 1 and 2) followed by the single
|
|
12
|
+
* financial reference. Each entry carries its `ref_type` and `slot`, which
|
|
13
|
+
* together address the reference when updating it, alongside the details supplied
|
|
14
|
+
* when it was submitted (name, title, organization, relationship, phone, email,
|
|
15
|
+
* timezone). No internal identifiers are exposed. Returns an empty list when no
|
|
16
|
+
* references were submitted.
|
|
15
17
|
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
@@ -28,9 +30,29 @@ export declare class References extends APIResource {
|
|
|
28
30
|
* endpoint). Until it is, this returns `409` and no references are stored.
|
|
29
31
|
*
|
|
30
32
|
* The request body carries exactly two business references plus one financial
|
|
31
|
-
* reference.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
33
|
+
* reference. The first submission stores them and returns `201`. Resubmitting
|
|
34
|
+
* returns `200`: identical values are simply confirmed and nothing is written,
|
|
35
|
+
* while changed values replace those references.
|
|
36
|
+
*
|
|
37
|
+
* Replacing a reference is allowed only while the DIR itself is still editable,
|
|
38
|
+
* the same window in which a single reference may be updated; once the DIR has
|
|
39
|
+
* been submitted for vetting this returns `400`. A replaced reference's pending
|
|
40
|
+
* verification call is cancelled and its dial-in code stops working, and the
|
|
41
|
+
* replacement contact is emailed fresh scheduling details. References whose
|
|
42
|
+
* details did not change keep their existing call, code, and the notice already
|
|
43
|
+
* sent to them.
|
|
44
|
+
*
|
|
45
|
+
* The response always echoes the stored references in the same shape as the GET.
|
|
46
|
+
*
|
|
47
|
+
* Who qualifies: the two business references confirm the company's reputation and
|
|
48
|
+
* operations. Each should be a senior contact at an organization the business
|
|
49
|
+
* works with, such as a vendor, partner, or client: a C-suite executive (CEO, CFO,
|
|
50
|
+
* CTO, COO), an owner or founder as reflected in the company's corporate records,
|
|
51
|
+
* or a senior manager, director, or executive. The financial reference confirms
|
|
52
|
+
* the company pays its bills and should be a licensed certified public accountant
|
|
53
|
+
* (CPA) the company uses, a contact at a bank or financial institution that has a
|
|
54
|
+
* relationship with the company, or a reasonable alternative banking or financial
|
|
55
|
+
* reference.
|
|
34
56
|
*
|
|
35
57
|
* @example
|
|
36
58
|
* ```ts
|
|
@@ -74,7 +96,7 @@ export declare class References extends APIResource {
|
|
|
74
96
|
*
|
|
75
97
|
* @example
|
|
76
98
|
* ```ts
|
|
77
|
-
* const reference = await client.dir.references.update(
|
|
99
|
+
* const reference = await client.dir.references.update(1, {
|
|
78
100
|
* dir_id: '16635d38-75a6-4481-82e8-69af60e05011',
|
|
79
101
|
* ref_type: 'business',
|
|
80
102
|
* });
|
|
@@ -104,8 +126,10 @@ export interface Reference {
|
|
|
104
126
|
*/
|
|
105
127
|
ref_type: 'business' | 'financial';
|
|
106
128
|
/**
|
|
107
|
-
* Position within the reference type. Business references occupy
|
|
108
|
-
* the
|
|
129
|
+
* Position within the reference type, counting from 1. Business references occupy
|
|
130
|
+
* slots 1 and 2, in the order they were sent in the `business_references` array;
|
|
131
|
+
* the financial reference occupies slot 1. Use this value together with `ref_type`
|
|
132
|
+
* to address the reference when updating it.
|
|
109
133
|
*/
|
|
110
134
|
slot: number;
|
|
111
135
|
/**
|
|
@@ -178,7 +202,13 @@ export interface ReferenceUpdateResponse {
|
|
|
178
202
|
}
|
|
179
203
|
export interface ReferenceCreateParams {
|
|
180
204
|
/**
|
|
181
|
-
* Exactly two business references.
|
|
205
|
+
* Exactly two business references. Array order determines each one's slot: the
|
|
206
|
+
* first entry becomes slot 1 and the second becomes slot 2. Those slots are what
|
|
207
|
+
* you pass when updating a single reference later. Each should be a senior contact
|
|
208
|
+
* who can speak to your company's reputation and operations: a C-suite executive
|
|
209
|
+
* (CEO, CFO, CTO, COO), an owner or founder as reflected in your corporate
|
|
210
|
+
* records, or a senior manager, director, or executive at an organization you work
|
|
211
|
+
* with, such as a vendor, partner, or client.
|
|
182
212
|
*/
|
|
183
213
|
business_references: Array<ReferenceInput>;
|
|
184
214
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.d.mts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"references.d.mts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;I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|
|
8
8
|
/**
|
|
9
9
|
* List the business and financial references submitted for a DIR.
|
|
10
10
|
*
|
|
11
|
-
* Returns the two business references (slots
|
|
12
|
-
* financial reference. Each entry carries
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* Returns the two business references (slots 1 and 2) followed by the single
|
|
12
|
+
* financial reference. Each entry carries its `ref_type` and `slot`, which
|
|
13
|
+
* together address the reference when updating it, alongside the details supplied
|
|
14
|
+
* when it was submitted (name, title, organization, relationship, phone, email,
|
|
15
|
+
* timezone). No internal identifiers are exposed. Returns an empty list when no
|
|
16
|
+
* references were submitted.
|
|
15
17
|
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
@@ -28,9 +30,29 @@ export declare class References extends APIResource {
|
|
|
28
30
|
* endpoint). Until it is, this returns `409` and no references are stored.
|
|
29
31
|
*
|
|
30
32
|
* The request body carries exactly two business references plus one financial
|
|
31
|
-
* reference.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
33
|
+
* reference. The first submission stores them and returns `201`. Resubmitting
|
|
34
|
+
* returns `200`: identical values are simply confirmed and nothing is written,
|
|
35
|
+
* while changed values replace those references.
|
|
36
|
+
*
|
|
37
|
+
* Replacing a reference is allowed only while the DIR itself is still editable,
|
|
38
|
+
* the same window in which a single reference may be updated; once the DIR has
|
|
39
|
+
* been submitted for vetting this returns `400`. A replaced reference's pending
|
|
40
|
+
* verification call is cancelled and its dial-in code stops working, and the
|
|
41
|
+
* replacement contact is emailed fresh scheduling details. References whose
|
|
42
|
+
* details did not change keep their existing call, code, and the notice already
|
|
43
|
+
* sent to them.
|
|
44
|
+
*
|
|
45
|
+
* The response always echoes the stored references in the same shape as the GET.
|
|
46
|
+
*
|
|
47
|
+
* Who qualifies: the two business references confirm the company's reputation and
|
|
48
|
+
* operations. Each should be a senior contact at an organization the business
|
|
49
|
+
* works with, such as a vendor, partner, or client: a C-suite executive (CEO, CFO,
|
|
50
|
+
* CTO, COO), an owner or founder as reflected in the company's corporate records,
|
|
51
|
+
* or a senior manager, director, or executive. The financial reference confirms
|
|
52
|
+
* the company pays its bills and should be a licensed certified public accountant
|
|
53
|
+
* (CPA) the company uses, a contact at a bank or financial institution that has a
|
|
54
|
+
* relationship with the company, or a reasonable alternative banking or financial
|
|
55
|
+
* reference.
|
|
34
56
|
*
|
|
35
57
|
* @example
|
|
36
58
|
* ```ts
|
|
@@ -74,7 +96,7 @@ export declare class References extends APIResource {
|
|
|
74
96
|
*
|
|
75
97
|
* @example
|
|
76
98
|
* ```ts
|
|
77
|
-
* const reference = await client.dir.references.update(
|
|
99
|
+
* const reference = await client.dir.references.update(1, {
|
|
78
100
|
* dir_id: '16635d38-75a6-4481-82e8-69af60e05011',
|
|
79
101
|
* ref_type: 'business',
|
|
80
102
|
* });
|
|
@@ -104,8 +126,10 @@ export interface Reference {
|
|
|
104
126
|
*/
|
|
105
127
|
ref_type: 'business' | 'financial';
|
|
106
128
|
/**
|
|
107
|
-
* Position within the reference type. Business references occupy
|
|
108
|
-
* the
|
|
129
|
+
* Position within the reference type, counting from 1. Business references occupy
|
|
130
|
+
* slots 1 and 2, in the order they were sent in the `business_references` array;
|
|
131
|
+
* the financial reference occupies slot 1. Use this value together with `ref_type`
|
|
132
|
+
* to address the reference when updating it.
|
|
109
133
|
*/
|
|
110
134
|
slot: number;
|
|
111
135
|
/**
|
|
@@ -178,7 +202,13 @@ export interface ReferenceUpdateResponse {
|
|
|
178
202
|
}
|
|
179
203
|
export interface ReferenceCreateParams {
|
|
180
204
|
/**
|
|
181
|
-
* Exactly two business references.
|
|
205
|
+
* Exactly two business references. Array order determines each one's slot: the
|
|
206
|
+
* first entry becomes slot 1 and the second becomes slot 2. Those slots are what
|
|
207
|
+
* you pass when updating a single reference later. Each should be a senior contact
|
|
208
|
+
* who can speak to your company's reputation and operations: a C-suite executive
|
|
209
|
+
* (CEO, CFO, CTO, COO), an owner or founder as reflected in your corporate
|
|
210
|
+
* records, or a senior manager, director, or executive at an organization you work
|
|
211
|
+
* with, such as a vendor, partner, or client.
|
|
182
212
|
*/
|
|
183
213
|
business_references: Array<ReferenceInput>;
|
|
184
214
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIvG;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAIvC;AAED;;;GAGG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH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UAAU,GAAG,WAAW,CAAC;IAEnC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -11,10 +11,12 @@ class References extends resource_1.APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* List the business and financial references submitted for a DIR.
|
|
13
13
|
*
|
|
14
|
-
* Returns the two business references (slots
|
|
15
|
-
* financial reference. Each entry carries
|
|
16
|
-
*
|
|
17
|
-
*
|
|
14
|
+
* Returns the two business references (slots 1 and 2) followed by the single
|
|
15
|
+
* financial reference. Each entry carries its `ref_type` and `slot`, which
|
|
16
|
+
* together address the reference when updating it, alongside the details supplied
|
|
17
|
+
* when it was submitted (name, title, organization, relationship, phone, email,
|
|
18
|
+
* timezone). No internal identifiers are exposed. Returns an empty list when no
|
|
19
|
+
* references were submitted.
|
|
18
20
|
*
|
|
19
21
|
* @example
|
|
20
22
|
* ```ts
|
|
@@ -33,9 +35,29 @@ class References extends resource_1.APIResource {
|
|
|
33
35
|
* endpoint). Until it is, this returns `409` and no references are stored.
|
|
34
36
|
*
|
|
35
37
|
* The request body carries exactly two business references plus one financial
|
|
36
|
-
* reference.
|
|
37
|
-
*
|
|
38
|
-
*
|
|
38
|
+
* reference. The first submission stores them and returns `201`. Resubmitting
|
|
39
|
+
* returns `200`: identical values are simply confirmed and nothing is written,
|
|
40
|
+
* while changed values replace those references.
|
|
41
|
+
*
|
|
42
|
+
* Replacing a reference is allowed only while the DIR itself is still editable,
|
|
43
|
+
* the same window in which a single reference may be updated; once the DIR has
|
|
44
|
+
* been submitted for vetting this returns `400`. A replaced reference's pending
|
|
45
|
+
* verification call is cancelled and its dial-in code stops working, and the
|
|
46
|
+
* replacement contact is emailed fresh scheduling details. References whose
|
|
47
|
+
* details did not change keep their existing call, code, and the notice already
|
|
48
|
+
* sent to them.
|
|
49
|
+
*
|
|
50
|
+
* The response always echoes the stored references in the same shape as the GET.
|
|
51
|
+
*
|
|
52
|
+
* Who qualifies: the two business references confirm the company's reputation and
|
|
53
|
+
* operations. Each should be a senior contact at an organization the business
|
|
54
|
+
* works with, such as a vendor, partner, or client: a C-suite executive (CEO, CFO,
|
|
55
|
+
* CTO, COO), an owner or founder as reflected in the company's corporate records,
|
|
56
|
+
* or a senior manager, director, or executive. The financial reference confirms
|
|
57
|
+
* the company pays its bills and should be a licensed certified public accountant
|
|
58
|
+
* (CPA) the company uses, a contact at a bank or financial institution that has a
|
|
59
|
+
* relationship with the company, or a reasonable alternative banking or financial
|
|
60
|
+
* reference.
|
|
39
61
|
*
|
|
40
62
|
* @example
|
|
41
63
|
* ```ts
|
|
@@ -81,7 +103,7 @@ class References extends resource_1.APIResource {
|
|
|
81
103
|
*
|
|
82
104
|
* @example
|
|
83
105
|
* ```ts
|
|
84
|
-
* const reference = await client.dir.references.update(
|
|
106
|
+
* const reference = await client.dir.references.update(1, {
|
|
85
107
|
* dir_id: '16635d38-75a6-4481-82e8-69af60e05011',
|
|
86
108
|
* ref_type: 'business',
|
|
87
109
|
* });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.js","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC
|
|
1
|
+
{"version":3,"file":"references.js","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAa,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,QAAQ,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,KAAa,EAAE,IAA2B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,QAAQ,KAAK,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAAY,EACZ,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,QAAQ,MAAM,eAAe,QAAQ,IAAI,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF;AAhHD,gCAgHC"}
|
|
@@ -8,10 +8,12 @@ export class References extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* List the business and financial references submitted for a DIR.
|
|
10
10
|
*
|
|
11
|
-
* Returns the two business references (slots
|
|
12
|
-
* financial reference. Each entry carries
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* Returns the two business references (slots 1 and 2) followed by the single
|
|
12
|
+
* financial reference. Each entry carries its `ref_type` and `slot`, which
|
|
13
|
+
* together address the reference when updating it, alongside the details supplied
|
|
14
|
+
* when it was submitted (name, title, organization, relationship, phone, email,
|
|
15
|
+
* timezone). No internal identifiers are exposed. Returns an empty list when no
|
|
16
|
+
* references were submitted.
|
|
15
17
|
*
|
|
16
18
|
* @example
|
|
17
19
|
* ```ts
|
|
@@ -30,9 +32,29 @@ export class References extends APIResource {
|
|
|
30
32
|
* endpoint). Until it is, this returns `409` and no references are stored.
|
|
31
33
|
*
|
|
32
34
|
* The request body carries exactly two business references plus one financial
|
|
33
|
-
* reference.
|
|
34
|
-
*
|
|
35
|
-
*
|
|
35
|
+
* reference. The first submission stores them and returns `201`. Resubmitting
|
|
36
|
+
* returns `200`: identical values are simply confirmed and nothing is written,
|
|
37
|
+
* while changed values replace those references.
|
|
38
|
+
*
|
|
39
|
+
* Replacing a reference is allowed only while the DIR itself is still editable,
|
|
40
|
+
* the same window in which a single reference may be updated; once the DIR has
|
|
41
|
+
* been submitted for vetting this returns `400`. A replaced reference's pending
|
|
42
|
+
* verification call is cancelled and its dial-in code stops working, and the
|
|
43
|
+
* replacement contact is emailed fresh scheduling details. References whose
|
|
44
|
+
* details did not change keep their existing call, code, and the notice already
|
|
45
|
+
* sent to them.
|
|
46
|
+
*
|
|
47
|
+
* The response always echoes the stored references in the same shape as the GET.
|
|
48
|
+
*
|
|
49
|
+
* Who qualifies: the two business references confirm the company's reputation and
|
|
50
|
+
* operations. Each should be a senior contact at an organization the business
|
|
51
|
+
* works with, such as a vendor, partner, or client: a C-suite executive (CEO, CFO,
|
|
52
|
+
* CTO, COO), an owner or founder as reflected in the company's corporate records,
|
|
53
|
+
* or a senior manager, director, or executive. The financial reference confirms
|
|
54
|
+
* the company pays its bills and should be a licensed certified public accountant
|
|
55
|
+
* (CPA) the company uses, a contact at a bank or financial institution that has a
|
|
56
|
+
* relationship with the company, or a reasonable alternative banking or financial
|
|
57
|
+
* reference.
|
|
36
58
|
*
|
|
37
59
|
* @example
|
|
38
60
|
* ```ts
|
|
@@ -78,7 +100,7 @@ export class References extends APIResource {
|
|
|
78
100
|
*
|
|
79
101
|
* @example
|
|
80
102
|
* ```ts
|
|
81
|
-
* const reference = await client.dir.references.update(
|
|
103
|
+
* const reference = await client.dir.references.update(1, {
|
|
82
104
|
* dir_id: '16635d38-75a6-4481-82e8-69af60e05011',
|
|
83
105
|
* ref_type: 'business',
|
|
84
106
|
* });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.mjs","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC
|
|
1
|
+
{"version":3,"file":"references.mjs","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAa,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,QAAQ,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,KAAa,EAAE,IAA2B,EAAE,OAAwB;QACzE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,QAAQ,KAAK,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAAY,EACZ,MAA6B,EAC7B,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC7C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,QAAQ,MAAM,eAAe,QAAQ,IAAI,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvG,CAAC;CACF"}
|
|
@@ -76,6 +76,16 @@ export declare namespace EmailVerificationStatusWrapped {
|
|
|
76
76
|
* `unverified` when no verification is in progress.
|
|
77
77
|
*/
|
|
78
78
|
status: 'sent' | 'verified' | 'unverified';
|
|
79
|
+
/**
|
|
80
|
+
* When the outstanding code stops being accepted. Null when no verification is in
|
|
81
|
+
* progress.
|
|
82
|
+
*/
|
|
83
|
+
expires_at?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* How many more codes may be requested for this DIR today. Null when the daily cap
|
|
86
|
+
* does not apply.
|
|
87
|
+
*/
|
|
88
|
+
sends_remaining_today?: number | null;
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
91
|
export interface VerifyEmailConfirmParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-email.d.mts","sourceRoot":"","sources":["../../src/resources/dir/verify-email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;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G;IACH,OAAO,CACL,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC,IAAI,CAAC;CAC3C;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC;QAE3C;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvC;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -76,6 +76,16 @@ export declare namespace EmailVerificationStatusWrapped {
|
|
|
76
76
|
* `unverified` when no verification is in progress.
|
|
77
77
|
*/
|
|
78
78
|
status: 'sent' | 'verified' | 'unverified';
|
|
79
|
+
/**
|
|
80
|
+
* When the outstanding code stops being accepted. Null when no verification is in
|
|
81
|
+
* progress.
|
|
82
|
+
*/
|
|
83
|
+
expires_at?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* How many more codes may be requested for this DIR today. Null when the daily cap
|
|
86
|
+
* does not apply.
|
|
87
|
+
*/
|
|
88
|
+
sends_remaining_today?: number | null;
|
|
79
89
|
}
|
|
80
90
|
}
|
|
81
91
|
export interface VerifyEmailConfirmParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../src/resources/dir/verify-email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;OAUG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAIzF;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAI3F;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;CAG9C;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,IAAI,EAAE,8BAA8B,CAAC,IAAI,CAAC;CAC3C;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../src/resources/dir/verify-email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;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