telnyx 7.29.0 → 7.30.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/README.md +27 -0
- package/client.d.mts +9 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +9 -10
- package/client.d.ts.map +1 -1
- package/client.js +0 -3
- package/client.js.map +1 -1
- package/client.mjs +0 -3
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts +20 -0
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts +20 -0
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.js +25 -1
- package/core/pagination.js.map +1 -1
- package/core/pagination.mjs +23 -0
- package/core/pagination.mjs.map +1 -1
- package/lib/login-token.d.mts +91 -0
- package/lib/login-token.d.mts.map +1 -0
- package/lib/login-token.d.ts +91 -0
- package/lib/login-token.d.ts.map +1 -0
- package/lib/login-token.js +190 -0
- package/lib/login-token.js.map +1 -0
- package/lib/login-token.mjs +151 -0
- package/lib/login-token.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +9 -4
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +9 -4
- 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/assistants/assistants.d.mts +191 -109
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +191 -109
- 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/assistants/index.d.mts +1 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +1 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/chat.d.mts +3 -5
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +3 -5
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +27 -2
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +27 -2
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js +23 -1
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs +23 -1
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/conversations/index.d.mts +1 -1
- package/resources/ai/conversations/index.d.mts.map +1 -1
- package/resources/ai/conversations/index.d.ts +1 -1
- package/resources/ai/conversations/index.d.ts.map +1 -1
- package/resources/ai/conversations/index.js.map +1 -1
- package/resources/ai/conversations/index.mjs.map +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/index.js.map +1 -1
- package/resources/ai/memory/namespaces/index.mjs +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +3 -3
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +3 -3
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
- package/resources/ai/memory/namespaces/settings.d.mts +23 -27
- package/resources/ai/memory/namespaces/settings.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/settings.d.ts +23 -27
- package/resources/ai/memory/namespaces/settings.d.ts.map +1 -1
- package/resources/ai/openai/chat.d.mts +3 -5
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +3 -5
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tests/test-framework/v1/v1.d.mts +15 -5
- package/resources/ai/tests/test-framework/v1/v1.d.mts.map +1 -1
- package/resources/ai/tests/test-framework/v1/v1.d.ts +15 -5
- package/resources/ai/tests/test-framework/v1/v1.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +222 -0
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +222 -0
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/browser-sessions/actions.d.mts +13 -7
- package/resources/browser-sessions/actions.d.mts.map +1 -1
- package/resources/browser-sessions/actions.d.ts +13 -7
- package/resources/browser-sessions/actions.d.ts.map +1 -1
- package/resources/browser-sessions/browser-sessions.d.mts +6 -2
- package/resources/browser-sessions/browser-sessions.d.mts.map +1 -1
- package/resources/browser-sessions/browser-sessions.d.ts +6 -2
- package/resources/browser-sessions/browser-sessions.d.ts.map +1 -1
- package/resources/compute/funcs/export.d.mts +33 -35
- package/resources/compute/funcs/export.d.mts.map +1 -1
- package/resources/compute/funcs/export.d.ts +33 -35
- package/resources/compute/funcs/export.d.ts.map +1 -1
- package/resources/compute/funcs/funcs.d.mts +2 -2
- package/resources/compute/funcs/funcs.d.mts.map +1 -1
- package/resources/compute/funcs/funcs.d.ts +2 -2
- package/resources/compute/funcs/funcs.d.ts.map +1 -1
- package/resources/compute/funcs/funcs.js.map +1 -1
- package/resources/compute/funcs/funcs.mjs.map +1 -1
- package/resources/compute/funcs/index.d.mts +1 -1
- package/resources/compute/funcs/index.d.mts.map +1 -1
- package/resources/compute/funcs/index.d.ts +1 -1
- package/resources/compute/funcs/index.d.ts.map +1 -1
- package/resources/compute/funcs/index.js.map +1 -1
- package/resources/compute/funcs/index.mjs +1 -1
- package/resources/compute/funcs/index.mjs.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.d.mts.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.d.ts.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.js +2 -2
- package/resources/email/dedicated-ips/dedicated-ips.js.map +1 -1
- package/resources/email/dedicated-ips/dedicated-ips.mjs +2 -2
- package/resources/email/dedicated-ips/dedicated-ips.mjs.map +1 -1
- package/resources/email-events.d.mts +84 -106
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +84 -106
- package/resources/email-events.d.ts.map +1 -1
- package/resources/email-events.js +5 -1
- package/resources/email-events.js.map +1 -1
- package/resources/email-events.mjs +5 -1
- package/resources/email-events.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +1 -7
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +1 -7
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-templates.d.mts +16 -70
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +16 -70
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/enterprises/enterprises.d.mts +2 -2
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +2 -2
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +1 -1
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -1
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/external-verification.d.mts +26 -29
- package/resources/enterprises/reputation/external-verification.d.mts.map +1 -1
- package/resources/enterprises/reputation/external-verification.d.ts +26 -29
- package/resources/enterprises/reputation/external-verification.d.ts.map +1 -1
- package/resources/enterprises/reputation/external-verification.js +3 -3
- package/resources/enterprises/reputation/external-verification.js.map +1 -1
- package/resources/enterprises/reputation/external-verification.mjs +1 -1
- package/resources/enterprises/reputation/external-verification.mjs.map +1 -1
- package/resources/enterprises/reputation/index.d.mts +1 -1
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +1 -1
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +2 -2
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +1 -1
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +3 -3
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +3 -3
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +2 -2
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +3 -3
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/enterprises/verify-email.d.mts +27 -29
- package/resources/enterprises/verify-email.d.mts.map +1 -1
- package/resources/enterprises/verify-email.d.ts +27 -29
- package/resources/enterprises/verify-email.d.ts.map +1 -1
- package/resources/index.d.mts +3 -4
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +1 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/messages/messages.d.mts +32 -2
- package/resources/messages/messages.d.mts.map +1 -1
- package/resources/messages/messages.d.ts +32 -2
- package/resources/messages/messages.d.ts.map +1 -1
- package/resources/messages/messages.js.map +1 -1
- package/resources/messages/messages.mjs.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.mts +11 -0
- package/resources/messaging-profiles/messaging-profiles.d.mts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.d.ts +11 -0
- package/resources/messaging-profiles/messaging-profiles.d.ts.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.js.map +1 -1
- package/resources/messaging-profiles/messaging-profiles.mjs.map +1 -1
- package/resources/number-lookup.d.mts +5 -0
- package/resources/number-lookup.d.mts.map +1 -1
- package/resources/number-lookup.d.ts +5 -0
- package/resources/number-lookup.d.ts.map +1 -1
- package/resources/pay-connectors.d.mts +7 -7
- package/resources/pay-connectors.d.mts.map +1 -1
- package/resources/pay-connectors.d.ts +7 -7
- package/resources/pay-connectors.d.ts.map +1 -1
- package/resources/phone-numbers/index.d.mts +1 -1
- package/resources/phone-numbers/index.d.mts.map +1 -1
- package/resources/phone-numbers/index.d.ts +1 -1
- package/resources/phone-numbers/index.d.ts.map +1 -1
- package/resources/phone-numbers/index.js.map +1 -1
- package/resources/phone-numbers/index.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +21 -57
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +21 -57
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +2 -2
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +2 -2
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/portouts/portouts.d.mts +2 -1
- package/resources/portouts/portouts.d.mts.map +1 -1
- package/resources/portouts/portouts.d.ts +2 -1
- package/resources/portouts/portouts.d.ts.map +1 -1
- package/resources/portouts/portouts.js +2 -1
- package/resources/portouts/portouts.js.map +1 -1
- package/resources/portouts/portouts.mjs +2 -1
- package/resources/portouts/portouts.mjs.map +1 -1
- package/resources/telephony-credentials.d.mts +78 -2
- package/resources/telephony-credentials.d.mts.map +1 -1
- package/resources/telephony-credentials.d.ts +78 -2
- package/resources/telephony-credentials.d.ts.map +1 -1
- package/resources/telephony-credentials.js +50 -2
- package/resources/telephony-credentials.js.map +1 -1
- package/resources/telephony-credentials.mjs +50 -2
- package/resources/telephony-credentials.mjs.map +1 -1
- package/resources/voice-clones.d.mts +4 -4
- package/resources/voice-clones.d.mts.map +1 -1
- package/resources/voice-clones.d.ts +4 -4
- package/resources/voice-clones.d.ts.map +1 -1
- package/resources/webhooks.d.mts +10 -20
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +10 -20
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.mts +2 -2
- package/resources/whatsapp/business-accounts/business-accounts.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.d.ts +2 -2
- package/resources/whatsapp/business-accounts/business-accounts.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.js.map +1 -1
- package/resources/whatsapp/business-accounts/business-accounts.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/index.d.mts +1 -1
- package/resources/whatsapp/business-accounts/index.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/index.d.ts +1 -1
- package/resources/whatsapp/business-accounts/index.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/index.js.map +1 -1
- package/resources/whatsapp/business-accounts/index.mjs.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts +7 -66
- package/resources/whatsapp/business-accounts/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts +7 -66
- package/resources/whatsapp/business-accounts/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.js +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.js.map +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.mjs +1 -1
- package/resources/whatsapp/business-accounts/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/hosted-signups.d.mts +11 -73
- package/resources/whatsapp/hosted-signups.d.mts.map +1 -1
- package/resources/whatsapp/hosted-signups.d.ts +11 -73
- package/resources/whatsapp/hosted-signups.d.ts.map +1 -1
- package/resources/whatsapp/hosted-signups.js +5 -2
- package/resources/whatsapp/hosted-signups.js.map +1 -1
- package/resources/whatsapp/hosted-signups.mjs +5 -2
- package/resources/whatsapp/hosted-signups.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +2 -2
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +2 -2
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +9 -135
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +9 -135
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/whatsapp.d.mts +4 -4
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +4 -4
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +16 -5
- package/src/core/pagination.ts +58 -0
- package/src/lib/login-token.ts +223 -0
- package/src/resources/ai/ai.ts +12 -0
- package/src/resources/ai/assistants/assistants.ts +227 -144
- package/src/resources/ai/assistants/index.ts +2 -0
- package/src/resources/ai/chat.ts +3 -5
- package/src/resources/ai/conversations/conversations.ts +39 -1
- package/src/resources/ai/conversations/index.ts +1 -0
- package/src/resources/ai/index.ts +3 -0
- package/src/resources/ai/memory/namespaces/index.ts +7 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +9 -1
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +5 -3
- package/src/resources/ai/memory/namespaces/settings.ts +25 -27
- package/src/resources/ai/openai/chat.ts +3 -5
- package/src/resources/ai/tests/test-framework/v1/v1.ts +5 -5
- package/src/resources/ai/tools.ts +366 -0
- package/src/resources/browser-sessions/actions.ts +7 -7
- package/src/resources/browser-sessions/browser-sessions.ts +2 -2
- package/src/resources/compute/funcs/export.ts +41 -42
- package/src/resources/compute/funcs/funcs.ts +2 -1
- package/src/resources/compute/funcs/index.ts +6 -1
- package/src/resources/email/dedicated-ips/dedicated-ips.ts +3 -2
- package/src/resources/email-events.ts +128 -147
- package/src/resources/email-messages/email-messages.ts +1 -7
- package/src/resources/email-templates.ts +17 -78
- package/src/resources/enterprises/enterprises.ts +2 -0
- package/src/resources/enterprises/index.ts +1 -0
- package/src/resources/enterprises/reputation/external-verification.ts +32 -34
- package/src/resources/enterprises/reputation/index.ts +2 -1
- package/src/resources/enterprises/reputation/reputation.ts +6 -4
- package/src/resources/enterprises/verify-email.ts +29 -30
- package/src/resources/index.ts +4 -1
- package/src/resources/messages/messages.ts +32 -2
- package/src/resources/messaging-profiles/messaging-profiles.ts +12 -0
- package/src/resources/number-lookup.ts +6 -0
- package/src/resources/pay-connectors.ts +7 -7
- package/src/resources/phone-numbers/index.ts +2 -0
- package/src/resources/phone-numbers/jobs.ts +22 -60
- package/src/resources/phone-numbers/phone-numbers.ts +4 -0
- package/src/resources/portouts/portouts.ts +2 -1
- package/src/resources/telephony-credentials.ts +108 -2
- package/src/resources/voice-clones.ts +4 -4
- package/src/resources/webhooks.ts +10 -20
- package/src/resources/whatsapp/business-accounts/business-accounts.ts +0 -4
- package/src/resources/whatsapp/business-accounts/index.ts +0 -2
- package/src/resources/whatsapp/business-accounts/phone-numbers.ts +7 -98
- package/src/resources/whatsapp/hosted-signups.ts +18 -97
- package/src/resources/whatsapp/index.ts +4 -4
- package/src/resources/whatsapp/phone-numbers/index.ts +2 -2
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +11 -197
- package/src/resources/whatsapp/whatsapp.ts +8 -8
- 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
- package/resources/tts-integrations/actions.d.mts +0 -4
- package/resources/tts-integrations/actions.d.mts.map +0 -1
- package/resources/tts-integrations/actions.d.ts +0 -4
- package/resources/tts-integrations/actions.d.ts.map +0 -1
- package/resources/tts-integrations/actions.js +0 -9
- package/resources/tts-integrations/actions.js.map +0 -1
- package/resources/tts-integrations/actions.mjs +0 -5
- package/resources/tts-integrations/actions.mjs.map +0 -1
- package/resources/tts-integrations/index.d.mts +0 -3
- package/resources/tts-integrations/index.d.mts.map +0 -1
- package/resources/tts-integrations/index.d.ts +0 -3
- package/resources/tts-integrations/index.d.ts.map +0 -1
- package/resources/tts-integrations/index.js +0 -9
- package/resources/tts-integrations/index.js.map +0 -1
- package/resources/tts-integrations/index.mjs +0 -4
- package/resources/tts-integrations/index.mjs.map +0 -1
- package/resources/tts-integrations/tts-integrations.d.mts +0 -10
- package/resources/tts-integrations/tts-integrations.d.mts.map +0 -1
- package/resources/tts-integrations/tts-integrations.d.ts +0 -10
- package/resources/tts-integrations/tts-integrations.d.ts.map +0 -1
- package/resources/tts-integrations/tts-integrations.js +0 -17
- package/resources/tts-integrations/tts-integrations.js.map +0 -1
- package/resources/tts-integrations/tts-integrations.mjs +0 -12
- package/resources/tts-integrations/tts-integrations.mjs.map +0 -1
- package/resources/tts-integrations.d.mts +0 -2
- package/resources/tts-integrations.d.mts.map +0 -1
- package/resources/tts-integrations.d.ts +0 -2
- package/resources/tts-integrations.d.ts.map +0 -1
- package/resources/tts-integrations.js +0 -6
- package/resources/tts-integrations.js.map +0 -1
- package/resources/tts-integrations.mjs +0 -3
- package/resources/tts-integrations.mjs.map +0 -1
- package/src/resources/tts-integrations/actions.ts +0 -5
- package/src/resources/tts-integrations/index.ts +0 -4
- package/src/resources/tts-integrations/tts-integrations.ts +0 -15
- package/src/resources/tts-integrations.ts +0 -3
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import * as ExternalVerificationAPI from "./external-verification.mjs";
|
|
3
2
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
4
|
/**
|
|
6
5
|
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
7
6
|
*/
|
|
8
|
-
export declare class
|
|
7
|
+
export declare class ExternalVerificationResource extends APIResource {
|
|
9
8
|
/**
|
|
10
9
|
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
11
10
|
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
@@ -41,37 +40,35 @@ export declare class ExternalVerification extends APIResource {
|
|
|
41
40
|
*/
|
|
42
41
|
create(enterpriseID: string, body: ExternalVerificationCreateParams, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
43
42
|
}
|
|
43
|
+
export interface ExternalVerification {
|
|
44
|
+
/**
|
|
45
|
+
* The ownership-proof documents on file.
|
|
46
|
+
*/
|
|
47
|
+
document_ids?: Array<string>;
|
|
48
|
+
enterprise_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The phone numbers you listed with the documents.
|
|
51
|
+
*/
|
|
52
|
+
phone_numbers?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
55
|
+
*/
|
|
56
|
+
rejection_reason?: string | null;
|
|
57
|
+
reviewed_at?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
60
|
+
* another provider.
|
|
61
|
+
*/
|
|
62
|
+
status?: ExternalVerificationStatus;
|
|
63
|
+
submitted_at?: string | null;
|
|
64
|
+
}
|
|
44
65
|
/**
|
|
45
66
|
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
46
67
|
* another provider.
|
|
47
68
|
*/
|
|
48
69
|
export type ExternalVerificationStatus = 'pending' | 'approved' | 'rejected';
|
|
49
70
|
export interface ExternalVerificationWrapped {
|
|
50
|
-
data:
|
|
51
|
-
}
|
|
52
|
-
export declare namespace ExternalVerificationWrapped {
|
|
53
|
-
interface Data {
|
|
54
|
-
/**
|
|
55
|
-
* The ownership-proof documents on file.
|
|
56
|
-
*/
|
|
57
|
-
document_ids?: Array<string>;
|
|
58
|
-
enterprise_id?: string;
|
|
59
|
-
/**
|
|
60
|
-
* The phone numbers you listed with the documents.
|
|
61
|
-
*/
|
|
62
|
-
phone_numbers?: Array<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
65
|
-
*/
|
|
66
|
-
rejection_reason?: string | null;
|
|
67
|
-
reviewed_at?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
70
|
-
* another provider.
|
|
71
|
-
*/
|
|
72
|
-
status?: ExternalVerificationAPI.ExternalVerificationStatus;
|
|
73
|
-
submitted_at?: string | null;
|
|
74
|
-
}
|
|
71
|
+
data: ExternalVerification;
|
|
75
72
|
}
|
|
76
73
|
export interface ExternalVerificationCreateParams {
|
|
77
74
|
/**
|
|
@@ -88,7 +85,7 @@ export interface ExternalVerificationCreateParams {
|
|
|
88
85
|
*/
|
|
89
86
|
phone_numbers?: Array<string>;
|
|
90
87
|
}
|
|
91
|
-
export declare namespace
|
|
92
|
-
export { type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
88
|
+
export declare namespace ExternalVerificationResource {
|
|
89
|
+
export { type ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
93
90
|
}
|
|
94
91
|
//# sourceMappingURL=external-verification.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-verification.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"external-verification.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,WAAW;IAC3D;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI7F;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAM3C;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE7B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE9B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;;OAGG;IACH,MAAM,CAAC,EAAE,0BAA0B,CAAC;IAEpC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE7E,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,oBAAoB,CAAC;CAC5B;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,4BAA4B,CAAC;IACpD,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import * as ExternalVerificationAPI from "./external-verification.js";
|
|
3
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
4
|
/**
|
|
6
5
|
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
7
6
|
*/
|
|
8
|
-
export declare class
|
|
7
|
+
export declare class ExternalVerificationResource extends APIResource {
|
|
9
8
|
/**
|
|
10
9
|
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
11
10
|
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
@@ -41,37 +40,35 @@ export declare class ExternalVerification extends APIResource {
|
|
|
41
40
|
*/
|
|
42
41
|
create(enterpriseID: string, body: ExternalVerificationCreateParams, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
43
42
|
}
|
|
43
|
+
export interface ExternalVerification {
|
|
44
|
+
/**
|
|
45
|
+
* The ownership-proof documents on file.
|
|
46
|
+
*/
|
|
47
|
+
document_ids?: Array<string>;
|
|
48
|
+
enterprise_id?: string;
|
|
49
|
+
/**
|
|
50
|
+
* The phone numbers you listed with the documents.
|
|
51
|
+
*/
|
|
52
|
+
phone_numbers?: Array<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
55
|
+
*/
|
|
56
|
+
rejection_reason?: string | null;
|
|
57
|
+
reviewed_at?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
60
|
+
* another provider.
|
|
61
|
+
*/
|
|
62
|
+
status?: ExternalVerificationStatus;
|
|
63
|
+
submitted_at?: string | null;
|
|
64
|
+
}
|
|
44
65
|
/**
|
|
45
66
|
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
46
67
|
* another provider.
|
|
47
68
|
*/
|
|
48
69
|
export type ExternalVerificationStatus = 'pending' | 'approved' | 'rejected';
|
|
49
70
|
export interface ExternalVerificationWrapped {
|
|
50
|
-
data:
|
|
51
|
-
}
|
|
52
|
-
export declare namespace ExternalVerificationWrapped {
|
|
53
|
-
interface Data {
|
|
54
|
-
/**
|
|
55
|
-
* The ownership-proof documents on file.
|
|
56
|
-
*/
|
|
57
|
-
document_ids?: Array<string>;
|
|
58
|
-
enterprise_id?: string;
|
|
59
|
-
/**
|
|
60
|
-
* The phone numbers you listed with the documents.
|
|
61
|
-
*/
|
|
62
|
-
phone_numbers?: Array<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
65
|
-
*/
|
|
66
|
-
rejection_reason?: string | null;
|
|
67
|
-
reviewed_at?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
70
|
-
* another provider.
|
|
71
|
-
*/
|
|
72
|
-
status?: ExternalVerificationAPI.ExternalVerificationStatus;
|
|
73
|
-
submitted_at?: string | null;
|
|
74
|
-
}
|
|
71
|
+
data: ExternalVerification;
|
|
75
72
|
}
|
|
76
73
|
export interface ExternalVerificationCreateParams {
|
|
77
74
|
/**
|
|
@@ -88,7 +85,7 @@ export interface ExternalVerificationCreateParams {
|
|
|
88
85
|
*/
|
|
89
86
|
phone_numbers?: Array<string>;
|
|
90
87
|
}
|
|
91
|
-
export declare namespace
|
|
92
|
-
export { type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
88
|
+
export declare namespace ExternalVerificationResource {
|
|
89
|
+
export { type ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
93
90
|
}
|
|
94
91
|
//# sourceMappingURL=external-verification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-verification.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"external-verification.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],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,CAAC;IACpD,OAAO,EACL,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.ExternalVerificationResource = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
const path_1 = require("../../../internal/utils/path.js");
|
|
7
7
|
/**
|
|
8
8
|
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
9
9
|
*/
|
|
10
|
-
class
|
|
10
|
+
class ExternalVerificationResource extends resource_1.APIResource {
|
|
11
11
|
/**
|
|
12
12
|
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
13
13
|
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
@@ -50,5 +50,5 @@ class ExternalVerification extends resource_1.APIResource {
|
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
exports.
|
|
53
|
+
exports.ExternalVerificationResource = ExternalVerificationResource;
|
|
54
54
|
//# sourceMappingURL=external-verification.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-verification.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"external-verification.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,4BAA6B,SAAQ,sBAAW;IAC3D;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAoB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,mCAAmC,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA/CD,oEA+CC"}
|
|
@@ -4,7 +4,7 @@ import { path } from "../../../internal/utils/path.mjs";
|
|
|
4
4
|
/**
|
|
5
5
|
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
6
6
|
*/
|
|
7
|
-
export class
|
|
7
|
+
export class ExternalVerificationResource extends APIResource {
|
|
8
8
|
/**
|
|
9
9
|
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
10
10
|
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"external-verification.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;
|
|
1
|
+
{"version":3,"file":"external-verification.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAGrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,4BAA6B,SAAQ,WAAW;IAC3D;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAoB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,YAAY,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,mCAAmC,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ExternalVerification, type ExternalVerificationStatus, type ExternalVerificationWrapped, type ExternalVerificationCreateParams, } from "./external-verification.mjs";
|
|
1
|
+
export { ExternalVerificationResource, type ExternalVerification, type ExternalVerificationStatus, type ExternalVerificationWrapped, type ExternalVerificationCreateParams, } from "./external-verification.mjs";
|
|
2
2
|
export { Loa, type AgentInput, type LoaUpdateParams, type LoaRenderParams } from "./loa.mjs";
|
|
3
3
|
export { Numbers, type ReputationNumberSource, type ReputationOwnershipStatus, type ReputationPhoneNumber, type ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation, type NumberRefreshResponse, type NumberRetrieveOwnershipResponse, type NumberListParams, type NumberAssociateParams, type NumberDisassociateParams, type NumberRetrieveParams, type NumberRefreshParams, type NumberRetrieveOwnershipParams, type NumberOwnershipConfirmParams, type ReputationPhoneNumbersDefaultFlatPagination, } from "./numbers.mjs";
|
|
4
4
|
export { Remediation, type RemediationPerNumberResults, type RemediationRequest, type RemediationRequestWrapped, type RemediationStatus, type RemediationListResponse, type RemediationListParams, type RemediationCreateParams, type RemediationRetrieveParams, type RemediationListResponsesDefaultFlatPagination, } from "./remediation.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,4BAA4B,EAC5B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,GACtC,oCAAgC;AACjC,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,kBAAc;AACzF,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,2CAA2C,GACjD,sBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6CAA6C,GACnD,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,yBAAqB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ExternalVerification, type ExternalVerificationStatus, type ExternalVerificationWrapped, type ExternalVerificationCreateParams, } from "./external-verification.js";
|
|
1
|
+
export { ExternalVerificationResource, type ExternalVerification, type ExternalVerificationStatus, type ExternalVerificationWrapped, type ExternalVerificationCreateParams, } from "./external-verification.js";
|
|
2
2
|
export { Loa, type AgentInput, type LoaUpdateParams, type LoaRenderParams } from "./loa.js";
|
|
3
3
|
export { Numbers, type ReputationNumberSource, type ReputationOwnershipStatus, type ReputationPhoneNumber, type ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation, type NumberRefreshResponse, type NumberRetrieveOwnershipResponse, type NumberListParams, type NumberAssociateParams, type NumberDisassociateParams, type NumberRetrieveParams, type NumberRefreshParams, type NumberRetrieveOwnershipParams, type NumberOwnershipConfirmParams, type ReputationPhoneNumbersDefaultFlatPagination, } from "./numbers.js";
|
|
4
4
|
export { Remediation, type RemediationPerNumberResults, type RemediationRequest, type RemediationRequestWrapped, type RemediationStatus, type RemediationListResponse, type RemediationListParams, type RemediationCreateParams, type RemediationRetrieveParams, type RemediationListResponsesDefaultFlatPagination, } from "./remediation.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,4BAA4B,EAC5B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,GACtC,mCAAgC;AACjC,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,iBAAc;AACzF,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,2CAA2C,GACjD,qBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6CAA6C,GACnD,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,wBAAqB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Reputation = exports.Remediation = exports.Numbers = exports.Loa = exports.
|
|
4
|
+
exports.Reputation = exports.Remediation = exports.Numbers = exports.Loa = exports.ExternalVerificationResource = void 0;
|
|
5
5
|
var external_verification_1 = require("./external-verification.js");
|
|
6
|
-
Object.defineProperty(exports, "
|
|
6
|
+
Object.defineProperty(exports, "ExternalVerificationResource", { enumerable: true, get: function () { return external_verification_1.ExternalVerificationResource; } });
|
|
7
7
|
var loa_1 = require("./loa.js");
|
|
8
8
|
Object.defineProperty(exports, "Loa", { enumerable: true, get: function () { return loa_1.Loa; } });
|
|
9
9
|
var numbers_1 = require("./numbers.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oEAMiC;AAL/B,qIAAA,4BAA4B,OAAA;AAM9B,gCAAyF;AAAhF,0FAAA,GAAG,OAAA;AACZ,wCAkBmB;AAjBjB,kGAAA,OAAO,OAAA;AAkBT,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CAQsB;AAPpB,wGAAA,UAAU,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export {
|
|
2
|
+
export { ExternalVerificationResource, } from "./external-verification.mjs";
|
|
3
3
|
export { Loa } from "./loa.mjs";
|
|
4
4
|
export { Numbers, } from "./numbers.mjs";
|
|
5
5
|
export { Remediation, } from "./remediation.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,4BAA4B,GAK7B,oCAAgC;AACjC,OAAO,EAAE,GAAG,EAA+D,kBAAc;AACzF,OAAO,EACL,OAAO,GAiBR,sBAAkB;AACnB,OAAO,EACL,WAAW,GAUZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAOX,yBAAqB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
2
|
import * as ExternalVerificationAPI from "./external-verification.mjs";
|
|
3
|
-
import { ExternalVerification, ExternalVerificationCreateParams, ExternalVerificationStatus, ExternalVerificationWrapped } from "./external-verification.mjs";
|
|
3
|
+
import { ExternalVerification, ExternalVerificationCreateParams, ExternalVerificationResource, ExternalVerificationStatus, ExternalVerificationWrapped } from "./external-verification.mjs";
|
|
4
4
|
import * as LoaAPI from "./loa.mjs";
|
|
5
5
|
import { AgentInput, Loa, LoaRenderParams, LoaUpdateParams } from "./loa.mjs";
|
|
6
6
|
import * as NumbersAPI from "./numbers.mjs";
|
|
@@ -16,7 +16,7 @@ export declare class Reputation extends APIResource {
|
|
|
16
16
|
numbers: NumbersAPI.Numbers;
|
|
17
17
|
loa: LoaAPI.Loa;
|
|
18
18
|
remediation: RemediationAPI.Remediation;
|
|
19
|
-
externalVerification: ExternalVerificationAPI.
|
|
19
|
+
externalVerification: ExternalVerificationAPI.ExternalVerificationResource;
|
|
20
20
|
/**
|
|
21
21
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
22
22
|
* cascade. The enterprise itself is unaffected. Returns `204` on success, `404` if
|
|
@@ -191,6 +191,6 @@ export declare namespace Reputation {
|
|
|
191
191
|
export { Numbers as Numbers, type ReputationNumberSource as ReputationNumberSource, type ReputationOwnershipStatus as ReputationOwnershipStatus, type ReputationPhoneNumber as ReputationPhoneNumber, type ReputationPhoneNumberList as ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation as ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation as ReputationPhoneNumberWithReputation, type NumberRefreshResponse as NumberRefreshResponse, type NumberRetrieveOwnershipResponse as NumberRetrieveOwnershipResponse, type ReputationPhoneNumbersDefaultFlatPagination as ReputationPhoneNumbersDefaultFlatPagination, type NumberListParams as NumberListParams, type NumberAssociateParams as NumberAssociateParams, type NumberDisassociateParams as NumberDisassociateParams, type NumberRetrieveParams as NumberRetrieveParams, type NumberRefreshParams as NumberRefreshParams, type NumberRetrieveOwnershipParams as NumberRetrieveOwnershipParams, type NumberOwnershipConfirmParams as NumberOwnershipConfirmParams, };
|
|
192
192
|
export { Loa as Loa, type AgentInput as AgentInput, type LoaUpdateParams as LoaUpdateParams, type LoaRenderParams as LoaRenderParams, };
|
|
193
193
|
export { Remediation as Remediation, type RemediationPerNumberResults as RemediationPerNumberResults, type RemediationRequest as RemediationRequest, type RemediationRequestWrapped as RemediationRequestWrapped, type RemediationStatus as RemediationStatus, type RemediationListResponse as RemediationListResponse, type RemediationListResponsesDefaultFlatPagination as RemediationListResponsesDefaultFlatPagination, type RemediationListParams as RemediationListParams, type RemediationCreateParams as RemediationCreateParams, type RemediationRetrieveParams as RemediationRetrieveParams, };
|
|
194
|
-
export { ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
194
|
+
export { ExternalVerificationResource as ExternalVerificationResource, type ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
195
195
|
}
|
|
196
196
|
//# sourceMappingURL=reputation.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,uBAAuB,oCAAgC;AACnE,OAAO,EACL,oBAAoB,EACpB,gCAAgC,EAChC,0BAA0B,EAC1B,2BAA2B,EAC5B,oCAAgC;AACjC,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAc;AAC1E,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,OAAO,EACP,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,uCAAuC,EACvC,mCAAmC,EACnC,2CAA2C,EAC5C,sBAAkB;AACnB,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,2BAA2B,EAC3B,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EAClB,0BAAsB;AACvB,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAC/C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,oBAAoB,EAAE,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"reputation.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,uBAAuB,oCAAgC;AACnE,OAAO,EACL,oBAAoB,EACpB,gCAAgC,EAChC,4BAA4B,EAC5B,0BAA0B,EAC1B,2BAA2B,EAC5B,oCAAgC;AACjC,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,eAAe,EAAE,eAAe,EAAE,kBAAc;AAC1E,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,OAAO,EACP,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,uCAAuC,EACvC,mCAAmC,EACnC,2C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EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,4BAA4B,IAAI,4BAA4B,EAC5D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as ExternalVerificationAPI from "./external-verification.js";
|
|
3
|
-
import { ExternalVerification, ExternalVerificationCreateParams, ExternalVerificationStatus, ExternalVerificationWrapped } from "./external-verification.js";
|
|
3
|
+
import { ExternalVerification, ExternalVerificationCreateParams, ExternalVerificationResource, ExternalVerificationStatus, ExternalVerificationWrapped } from "./external-verification.js";
|
|
4
4
|
import * as LoaAPI from "./loa.js";
|
|
5
5
|
import { AgentInput, Loa, LoaRenderParams, LoaUpdateParams } from "./loa.js";
|
|
6
6
|
import * as NumbersAPI from "./numbers.js";
|
|
@@ -16,7 +16,7 @@ export declare class Reputation extends APIResource {
|
|
|
16
16
|
numbers: NumbersAPI.Numbers;
|
|
17
17
|
loa: LoaAPI.Loa;
|
|
18
18
|
remediation: RemediationAPI.Remediation;
|
|
19
|
-
externalVerification: ExternalVerificationAPI.
|
|
19
|
+
externalVerification: ExternalVerificationAPI.ExternalVerificationResource;
|
|
20
20
|
/**
|
|
21
21
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
22
22
|
* cascade. The enterprise itself is unaffected. Returns `204` on success, `404` if
|
|
@@ -191,6 +191,6 @@ export declare namespace Reputation {
|
|
|
191
191
|
export { Numbers as Numbers, type ReputationNumberSource as ReputationNumberSource, type ReputationOwnershipStatus as ReputationOwnershipStatus, type ReputationPhoneNumber as ReputationPhoneNumber, type ReputationPhoneNumberList as ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation as ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation as ReputationPhoneNumberWithReputation, type NumberRefreshResponse as NumberRefreshResponse, type NumberRetrieveOwnershipResponse as NumberRetrieveOwnershipResponse, type ReputationPhoneNumbersDefaultFlatPagination as ReputationPhoneNumbersDefaultFlatPagination, type NumberListParams as NumberListParams, type NumberAssociateParams as NumberAssociateParams, type NumberDisassociateParams as NumberDisassociateParams, type NumberRetrieveParams as NumberRetrieveParams, type NumberRefreshParams as NumberRefreshParams, type NumberRetrieveOwnershipParams as NumberRetrieveOwnershipParams, type NumberOwnershipConfirmParams as NumberOwnershipConfirmParams, };
|
|
192
192
|
export { Loa as Loa, type AgentInput as AgentInput, type LoaUpdateParams as LoaUpdateParams, type LoaRenderParams as LoaRenderParams, };
|
|
193
193
|
export { Remediation as Remediation, type RemediationPerNumberResults as RemediationPerNumberResults, type RemediationRequest as RemediationRequest, type RemediationRequestWrapped as RemediationRequestWrapped, type RemediationStatus as RemediationStatus, type RemediationListResponse as RemediationListResponse, type RemediationListResponsesDefaultFlatPagination as RemediationListResponsesDefaultFlatPagination, type RemediationListParams as RemediationListParams, type RemediationCreateParams as RemediationCreateParams, type RemediationRetrieveParams as RemediationRetrieveParams, };
|
|
194
|
-
export { ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
194
|
+
export { ExternalVerificationResource as ExternalVerificationResource, type ExternalVerification as ExternalVerification, type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
195
195
|
}
|
|
196
196
|
//# sourceMappingURL=reputation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,uBAAuB,mCAAgC;AACnE,OAAO,EACL,oBAAoB,EACpB,gCAAgC,EAChC,0BAA0B,EAC1B,2BAA2B,EAC5B,mCAAgC;AACjC,OAAO,KAAK,MAAM,iBAAc;AAChC,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,eAAe,EAAE,eAAe,EAAE,iBAAc;AAC1E,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,4BAA4B,EAC5B,mBAAmB,EACnB,qBAAqB,EACrB,6BAA6B,EAC7B,+BAA+B,EAC/B,oBAAoB,EACpB,OAAO,EACP,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,uCAAuC,EACvC,mCAAmC,EACnC,2CAA2C,EAC5C,qBAAkB;AACnB,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,2BAA2B,EAC3B,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,iBAAiB,EAClB,yBAAsB;AACvB,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IACnE,GAAG,EAAE,MAAM,CAAC,GAAG,CAAgC;IAC/C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,oBAAoB,EAAE,uBAAuB,CAAC,
|
|
1
|
+
{"version":3,"file":"reputation.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,uBAAuB,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KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;IAEF,OAAO,EACL,GAAG,IAAI,GAAG,EACV,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EACL,4BAA4B,IAAI,4BAA4B,EAC5D,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -23,7 +23,7 @@ class Reputation extends resource_1.APIResource {
|
|
|
23
23
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
24
24
|
this.loa = new LoaAPI.Loa(this._client);
|
|
25
25
|
this.remediation = new RemediationAPI.Remediation(this._client);
|
|
26
|
-
this.externalVerification = new ExternalVerificationAPI.
|
|
26
|
+
this.externalVerification = new ExternalVerificationAPI.ExternalVerificationResource(this._client);
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
@@ -140,5 +140,5 @@ exports.Reputation = Reputation;
|
|
|
140
140
|
Reputation.Numbers = numbers_1.Numbers;
|
|
141
141
|
Reputation.Loa = loa_1.Loa;
|
|
142
142
|
Reputation.Remediation = remediation_1.Remediation;
|
|
143
|
-
Reputation.
|
|
143
|
+
Reputation.ExternalVerificationResource = external_verification_1.ExternalVerificationResource;
|
|
144
144
|
//# sourceMappingURL=reputation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4FAAmE;AACnE,
|
|
1
|
+
{"version":3,"file":"reputation.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4FAAmE;AACnE,sEAMiC;AACjC,yDAAgC;AAChC,kCAA0E;AAC1E,iEAAwC;AACxC,0CAkBmB;AACnB,yEAAgD;AAChD,kDAWuB;AAEvB,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IAA3C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACnE,QAAG,GAAe,IAAI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/C,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,yBAAoB,GAClB,IAAI,uBAAuB,CAAC,4BAA4B,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgI3E,CAAC;IA9HC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,YAAoB,EAAE,OAAwB;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,aAAa,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EA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by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import * as ExternalVerificationAPI from "./external-verification.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { ExternalVerificationResource, } from "./external-verification.mjs";
|
|
5
5
|
import * as LoaAPI from "./loa.mjs";
|
|
6
6
|
import { Loa } from "./loa.mjs";
|
|
7
7
|
import * as NumbersAPI from "./numbers.mjs";
|
|
@@ -19,7 +19,7 @@ export class Reputation extends APIResource {
|
|
|
19
19
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
20
20
|
this.loa = new LoaAPI.Loa(this._client);
|
|
21
21
|
this.remediation = new RemediationAPI.Remediation(this._client);
|
|
22
|
-
this.externalVerification = new ExternalVerificationAPI.
|
|
22
|
+
this.externalVerification = new ExternalVerificationAPI.ExternalVerificationResource(this._client);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
@@ -135,5 +135,5 @@ export class Reputation extends APIResource {
|
|
|
135
135
|
Reputation.Numbers = Numbers;
|
|
136
136
|
Reputation.Loa = Loa;
|
|
137
137
|
Reputation.Remediation = Remediation;
|
|
138
|
-
Reputation.
|
|
138
|
+
Reputation.ExternalVerificationResource = ExternalVerificationResource;
|
|
139
139
|
//# sourceMappingURL=reputation.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reputation.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,uBAAuB,oCAAgC;AACnE,OAAO,
|
|
1
|
+
{"version":3,"file":"reputation.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,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ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,aAAa,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,eAAe,CACb,YAAoB,EACpB,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,aAAa,CACX,YAAoB,EACpB,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,YAAY,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;CACF;AA+FD,UAAU,CAAC,OAAO,GAAG,OAAO,CAAC;AAC7B,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC;AACrB,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;AACrC,UAAU,CAAC,4BAA4B,GAAG,4BAA4B,CAAC"}
|
|
@@ -44,40 +44,38 @@ export declare class VerifyEmail extends APIResource {
|
|
|
44
44
|
*/
|
|
45
45
|
confirm(enterpriseID: string, body: VerifyEmailConfirmParams, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
/**
|
|
48
|
+
* Verification state for an enterprise account's contact email.
|
|
49
|
+
*/
|
|
50
|
+
export interface EnterpriseEmailVerificationStatus {
|
|
48
51
|
/**
|
|
49
|
-
*
|
|
52
|
+
* Whether the enterprise account's contact email has been confirmed.
|
|
50
53
|
*/
|
|
51
|
-
|
|
54
|
+
email_verified: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Always `email_verification`.
|
|
57
|
+
*/
|
|
58
|
+
record_type: 'email_verification';
|
|
59
|
+
/**
|
|
60
|
+
* `sent` after a code is emailed; `verified` after a successful confirm.
|
|
61
|
+
*/
|
|
62
|
+
status: 'sent' | 'verified';
|
|
63
|
+
/**
|
|
64
|
+
* When the code just sent stops being accepted. Present on a send response; null
|
|
65
|
+
* on a confirm response.
|
|
66
|
+
*/
|
|
67
|
+
expires_at?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* How many more codes may be requested for this enterprise account today. Present
|
|
70
|
+
* on a send response; null on a confirm response.
|
|
71
|
+
*/
|
|
72
|
+
sends_remaining_today?: number | null;
|
|
52
73
|
}
|
|
53
|
-
export
|
|
74
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
54
75
|
/**
|
|
55
76
|
* Verification state for an enterprise account's contact email.
|
|
56
77
|
*/
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Whether the enterprise account's contact email has been confirmed.
|
|
60
|
-
*/
|
|
61
|
-
email_verified: boolean;
|
|
62
|
-
/**
|
|
63
|
-
* Always `email_verification`.
|
|
64
|
-
*/
|
|
65
|
-
record_type: 'email_verification';
|
|
66
|
-
/**
|
|
67
|
-
* `sent` after a code is emailed; `verified` after a successful confirm.
|
|
68
|
-
*/
|
|
69
|
-
status: 'sent' | 'verified';
|
|
70
|
-
/**
|
|
71
|
-
* When the code just sent stops being accepted. Present on a send response; null
|
|
72
|
-
* on a confirm response.
|
|
73
|
-
*/
|
|
74
|
-
expires_at?: string | null;
|
|
75
|
-
/**
|
|
76
|
-
* How many more codes may be requested for this enterprise account today. Present
|
|
77
|
-
* on a send response; null on a confirm response.
|
|
78
|
-
*/
|
|
79
|
-
sends_remaining_today?: number | null;
|
|
80
|
-
}
|
|
78
|
+
data: EnterpriseEmailVerificationStatus;
|
|
81
79
|
}
|
|
82
80
|
export interface VerifyEmailConfirmParams {
|
|
83
81
|
/**
|
|
@@ -86,6 +84,6 @@ export interface VerifyEmailConfirmParams {
|
|
|
86
84
|
code: string;
|
|
87
85
|
}
|
|
88
86
|
export declare namespace VerifyEmail {
|
|
89
|
-
export { type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
87
|
+
export { type EnterpriseEmailVerificationStatus as EnterpriseEmailVerificationStatus, type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
90
88
|
}
|
|
91
89
|
//# sourceMappingURL=verify-email.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-email.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/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;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"verify-email.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/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;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IAExB;;OAEG;IACH,WAAW,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;IAE5B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,wCAAwC;IACvD;;OAEG;IACH,IAAI,EAAE,iCAAiC,CAAC;CACzC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|