telnyx 7.24.0 → 7.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/client.d.mts +27 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +27 -6
- package/client.d.ts.map +1 -1
- package/client.js +21 -0
- package/client.js.map +1 -1
- package/client.mjs +21 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +16 -6
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +16 -6
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js +4 -0
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs +4 -0
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +551 -33
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +551 -33
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +79 -2
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +79 -2
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/deleted.d.mts +60 -0
- package/resources/ai/assistants/deleted.d.mts.map +1 -0
- package/resources/ai/assistants/deleted.d.ts +60 -0
- package/resources/ai/assistants/deleted.d.ts.map +1 -0
- package/resources/ai/assistants/deleted.js +49 -0
- package/resources/ai/assistants/deleted.js.map +1 -0
- package/resources/ai/assistants/deleted.mjs +45 -0
- package/resources/ai/assistants/deleted.mjs.map +1 -0
- package/resources/ai/assistants/index.d.mts +2 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js +3 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs +1 -0
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +48 -0
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +48 -0
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/avatars.d.mts +187 -0
- package/resources/ai/avatars.d.mts.map +1 -0
- package/resources/ai/avatars.d.ts +187 -0
- package/resources/ai/avatars.d.ts.map +1 -0
- package/resources/ai/avatars.js +93 -0
- package/resources/ai/avatars.js.map +1 -0
- package/resources/ai/avatars.mjs +89 -0
- package/resources/ai/avatars.mjs.map +1 -0
- package/resources/ai/chat.d.mts +21 -2
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +21 -2
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.d.mts +8 -0
- package/resources/ai/conversations/conversations.d.mts.map +1 -1
- package/resources/ai/conversations/conversations.d.ts +8 -0
- package/resources/ai/conversations/conversations.d.ts.map +1 -1
- package/resources/ai/conversations/conversations.js.map +1 -1
- package/resources/ai/conversations/conversations.mjs.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +1 -1
- package/resources/ai/embeddings/embeddings.js +1 -1
- package/resources/ai/embeddings/embeddings.mjs +1 -1
- package/resources/ai/index.d.mts +3 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +3 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js +3 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs +1 -0
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/index.d.mts +1 -1
- package/resources/ai/memory/index.d.mts.map +1 -1
- package/resources/ai/memory/index.d.ts +1 -1
- package/resources/ai/memory/index.d.ts.map +1 -1
- package/resources/ai/memory/index.js.map +1 -1
- package/resources/ai/memory/index.mjs +1 -1
- package/resources/ai/memory/index.mjs.map +1 -1
- package/resources/ai/memory/memory.d.mts +2 -2
- package/resources/ai/memory/memory.d.mts.map +1 -1
- package/resources/ai/memory/memory.d.ts +2 -2
- package/resources/ai/memory/memory.d.ts.map +1 -1
- package/resources/ai/memory/memory.js.map +1 -1
- package/resources/ai/memory/memory.mjs +1 -1
- package/resources/ai/memory/memory.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +2 -2
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +2 -2
- 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 +62 -6
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +62 -6
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js +41 -3
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs +41 -3
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +54 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +54 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.js +31 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.mjs +31 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
- package/resources/ai/openai/chat.d.mts +21 -2
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +21 -2
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +20 -5
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +20 -5
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +5 -2
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +5 -2
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/calls/actions.d.mts +135 -30
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +135 -30
- 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 +72 -25
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +72 -25
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js +11 -0
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs +11 -0
- 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/dir/dir.d.mts +226 -31
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +226 -31
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +78 -14
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +78 -14
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/index.d.mts +1 -1
- package/resources/dir/index.d.mts.map +1 -1
- package/resources/dir/index.d.ts +1 -1
- package/resources/dir/index.d.ts.map +1 -1
- package/resources/dir/index.js.map +1 -1
- package/resources/dir/index.mjs.map +1 -1
- package/resources/dir/phone-numbers.d.mts +8 -8
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +8 -8
- package/resources/dir/phone-numbers.d.ts.map +1 -1
- package/resources/dir/phone-numbers.js +4 -4
- package/resources/dir/phone-numbers.mjs +4 -4
- package/resources/dir/references.d.mts +9 -6
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +9 -6
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/email-templates.d.mts +109 -18
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +109 -18
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +5 -1
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +5 -1
- package/resources/email-templates.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +25 -3
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +25 -3
- package/resources/enterprises/dir.d.ts.map +1 -1
- package/resources/enterprises/dir.js +8 -2
- package/resources/enterprises/dir.js.map +1 -1
- package/resources/enterprises/dir.mjs +8 -2
- package/resources/enterprises/dir.mjs.map +1 -1
- package/resources/enterprises/enterprises.d.mts +244 -28
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +244 -28
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +31 -7
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +31 -7
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +2 -1
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +2 -1
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js +3 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs +1 -0
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/external-verification.d.mts +94 -0
- package/resources/enterprises/reputation/external-verification.d.mts.map +1 -0
- package/resources/enterprises/reputation/external-verification.d.ts +94 -0
- package/resources/enterprises/reputation/external-verification.d.ts.map +1 -0
- package/resources/enterprises/reputation/external-verification.js +54 -0
- package/resources/enterprises/reputation/external-verification.js.map +1 -0
- package/resources/enterprises/reputation/external-verification.mjs +50 -0
- package/resources/enterprises/reputation/external-verification.mjs.map +1 -0
- package/resources/enterprises/reputation/index.d.mts +3 -2
- package/resources/enterprises/reputation/index.d.mts.map +1 -1
- package/resources/enterprises/reputation/index.d.ts +3 -2
- package/resources/enterprises/reputation/index.d.ts.map +1 -1
- package/resources/enterprises/reputation/index.js +3 -1
- package/resources/enterprises/reputation/index.js.map +1 -1
- package/resources/enterprises/reputation/index.mjs +1 -0
- package/resources/enterprises/reputation/index.mjs.map +1 -1
- package/resources/enterprises/reputation/loa.d.mts +64 -3
- package/resources/enterprises/reputation/loa.d.mts.map +1 -1
- package/resources/enterprises/reputation/loa.d.ts +64 -3
- package/resources/enterprises/reputation/loa.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.mts +197 -4
- package/resources/enterprises/reputation/numbers.d.mts.map +1 -1
- package/resources/enterprises/reputation/numbers.d.ts +197 -4
- package/resources/enterprises/reputation/numbers.d.ts.map +1 -1
- package/resources/enterprises/reputation/numbers.js +58 -2
- package/resources/enterprises/reputation/numbers.js.map +1 -1
- package/resources/enterprises/reputation/numbers.mjs +58 -2
- package/resources/enterprises/reputation/numbers.mjs.map +1 -1
- package/resources/enterprises/reputation/remediation.d.mts +3 -2
- package/resources/enterprises/reputation/remediation.d.mts.map +1 -1
- package/resources/enterprises/reputation/remediation.d.ts +3 -2
- package/resources/enterprises/reputation/remediation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.mts +39 -3
- package/resources/enterprises/reputation/reputation.d.mts.map +1 -1
- package/resources/enterprises/reputation/reputation.d.ts +39 -3
- package/resources/enterprises/reputation/reputation.d.ts.map +1 -1
- package/resources/enterprises/reputation/reputation.js +22 -0
- package/resources/enterprises/reputation/reputation.js.map +1 -1
- package/resources/enterprises/reputation/reputation.mjs +22 -0
- package/resources/enterprises/reputation/reputation.mjs.map +1 -1
- package/resources/enterprises/verify-email.d.mts +91 -0
- package/resources/enterprises/verify-email.d.mts.map +1 -0
- package/resources/enterprises/verify-email.d.ts +91 -0
- package/resources/enterprises/verify-email.d.ts.map +1 -0
- package/resources/enterprises/verify-email.js +55 -0
- package/resources/enterprises/verify-email.js.map +1 -0
- package/resources/enterprises/verify-email.mjs +51 -0
- package/resources/enterprises/verify-email.mjs.map +1 -0
- package/resources/global-ip-assignment-health.d.mts +4 -4
- package/resources/global-ip-assignment-health.d.mts.map +1 -1
- package/resources/global-ip-assignment-health.d.ts +4 -4
- package/resources/global-ip-assignment-health.d.ts.map +1 -1
- package/resources/global-ip-assignments-usage.d.mts +4 -4
- package/resources/global-ip-assignments-usage.d.mts.map +1 -1
- package/resources/global-ip-assignments-usage.d.ts +4 -4
- package/resources/global-ip-assignments-usage.d.ts.map +1 -1
- package/resources/index.d.mts +6 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/infringement-claims.d.mts +4 -0
- package/resources/infringement-claims.d.mts.map +1 -1
- package/resources/infringement-claims.d.ts +4 -0
- package/resources/infringement-claims.d.ts.map +1 -1
- package/resources/llm-token-gateway/index.d.mts +6 -0
- package/resources/llm-token-gateway/index.d.mts.map +1 -0
- package/resources/llm-token-gateway/index.d.ts +6 -0
- package/resources/llm-token-gateway/index.d.ts.map +1 -0
- package/resources/llm-token-gateway/index.js +15 -0
- package/resources/llm-token-gateway/index.js.map +1 -0
- package/resources/llm-token-gateway/index.mjs +7 -0
- package/resources/llm-token-gateway/index.mjs.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts +22 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts +22 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.js +29 -0
- package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs +24 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -0
- package/resources/llm-token-gateway/spend.d.mts +223 -0
- package/resources/llm-token-gateway/spend.d.mts.map +1 -0
- package/resources/llm-token-gateway/spend.d.ts +223 -0
- package/resources/llm-token-gateway/spend.d.ts.map +1 -0
- package/resources/llm-token-gateway/spend.js +56 -0
- package/resources/llm-token-gateway/spend.js.map +1 -0
- package/resources/llm-token-gateway/spend.mjs +52 -0
- package/resources/llm-token-gateway/spend.mjs.map +1 -0
- package/resources/llm-token-gateway/token-groups.d.mts +577 -0
- package/resources/llm-token-gateway/token-groups.d.mts.map +1 -0
- package/resources/llm-token-gateway/token-groups.d.ts +577 -0
- package/resources/llm-token-gateway/token-groups.d.ts.map +1 -0
- package/resources/llm-token-gateway/token-groups.js +139 -0
- package/resources/llm-token-gateway/token-groups.js.map +1 -0
- package/resources/llm-token-gateway/token-groups.mjs +135 -0
- package/resources/llm-token-gateway/token-groups.mjs.map +1 -0
- package/resources/llm-token-gateway/token-keys.d.mts +318 -0
- package/resources/llm-token-gateway/token-keys.d.mts.map +1 -0
- package/resources/llm-token-gateway/token-keys.d.ts +318 -0
- package/resources/llm-token-gateway/token-keys.d.ts.map +1 -0
- package/resources/llm-token-gateway/token-keys.js +127 -0
- package/resources/llm-token-gateway/token-keys.js.map +1 -0
- package/resources/llm-token-gateway/token-keys.mjs +123 -0
- package/resources/llm-token-gateway/token-keys.mjs.map +1 -0
- package/resources/llm-token-gateway/usage.d.mts +319 -0
- package/resources/llm-token-gateway/usage.d.mts.map +1 -0
- package/resources/llm-token-gateway/usage.d.ts +319 -0
- package/resources/llm-token-gateway/usage.d.ts.map +1 -0
- package/resources/llm-token-gateway/usage.js +63 -0
- package/resources/llm-token-gateway/usage.js.map +1 -0
- package/resources/llm-token-gateway/usage.mjs +59 -0
- package/resources/llm-token-gateway/usage.mjs.map +1 -0
- package/resources/llm-token-gateway.d.mts +2 -0
- package/resources/llm-token-gateway.d.mts.map +1 -0
- package/resources/llm-token-gateway.d.ts +2 -0
- package/resources/llm-token-gateway.d.ts.map +1 -0
- package/resources/llm-token-gateway.js +6 -0
- package/resources/llm-token-gateway.js.map +1 -0
- package/resources/llm-token-gateway.mjs +3 -0
- package/resources/llm-token-gateway.mjs.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.d.mts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +6 -6
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +6 -6
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/phone-numbers/jobs.d.mts +17 -5
- package/resources/phone-numbers/jobs.d.mts.map +1 -1
- package/resources/phone-numbers/jobs.d.ts +17 -5
- package/resources/phone-numbers/jobs.d.ts.map +1 -1
- package/resources/phone-numbers/jobs.js +4 -3
- package/resources/phone-numbers/jobs.js.map +1 -1
- package/resources/phone-numbers/jobs.mjs +4 -3
- package/resources/phone-numbers/jobs.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +1 -1
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +1 -1
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +1 -1
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +1 -1
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/reputation/numbers.d.mts +10 -0
- package/resources/reputation/numbers.d.mts.map +1 -1
- package/resources/reputation/numbers.d.ts +10 -0
- package/resources/reputation/numbers.d.ts.map +1 -1
- package/resources/requirements.d.mts +2 -2
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +2 -2
- package/resources/requirements.d.ts.map +1 -1
- package/resources/sip-registration-status.d.mts +149 -0
- package/resources/sip-registration-status.d.mts.map +1 -0
- package/resources/sip-registration-status.d.ts +149 -0
- package/resources/sip-registration-status.d.ts.map +1 -0
- package/resources/sip-registration-status.js +32 -0
- package/resources/sip-registration-status.js.map +1 -0
- package/resources/sip-registration-status.mjs +28 -0
- package/resources/sip-registration-status.mjs.map +1 -0
- package/resources/spend-limits.d.mts +335 -0
- package/resources/spend-limits.d.mts.map +1 -0
- package/resources/spend-limits.d.ts +335 -0
- package/resources/spend-limits.d.ts.map +1 -0
- package/resources/spend-limits.js +91 -0
- package/resources/spend-limits.js.map +1 -0
- package/resources/spend-limits.mjs +87 -0
- package/resources/spend-limits.mjs.map +1 -0
- package/resources/terms-of-service/agreements.d.mts +12 -0
- package/resources/terms-of-service/agreements.d.mts.map +1 -1
- package/resources/terms-of-service/agreements.d.ts +12 -0
- package/resources/terms-of-service/agreements.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.mts +15 -0
- package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.ts +15 -0
- package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.js.map +1 -1
- package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
- package/resources/texml/texml.d.mts +7 -3
- package/resources/texml/texml.d.mts.map +1 -1
- package/resources/texml/texml.d.ts +7 -3
- package/resources/texml/texml.d.ts.map +1 -1
- package/resources/texml/texml.js +4 -2
- package/resources/texml/texml.js.map +1 -1
- package/resources/texml/texml.mjs +4 -2
- package/resources/texml/texml.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +4 -2
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +4 -2
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/webhooks.d.mts +967 -6
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +967 -6
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/webhooks.js.map +1 -1
- package/resources/webhooks.mjs.map +1 -1
- package/resources/whatsapp/index.d.mts +1 -0
- package/resources/whatsapp/index.d.mts.map +1 -1
- package/resources/whatsapp/index.d.ts +1 -0
- package/resources/whatsapp/index.d.ts.map +1 -1
- package/resources/whatsapp/index.js +3 -1
- package/resources/whatsapp/index.js.map +1 -1
- package/resources/whatsapp/index.mjs +1 -0
- package/resources/whatsapp/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts +90 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts +90 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js +66 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.mjs +62 -0
- package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -0
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -0
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.js +3 -1
- package/resources/whatsapp/phone-numbers/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/index.mjs +1 -0
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/whatsapp/signup.d.mts +128 -0
- package/resources/whatsapp/signup.d.mts.map +1 -0
- package/resources/whatsapp/signup.d.ts +128 -0
- package/resources/whatsapp/signup.d.ts.map +1 -0
- package/resources/whatsapp/signup.js +42 -0
- package/resources/whatsapp/signup.js.map +1 -0
- package/resources/whatsapp/signup.mjs +38 -0
- package/resources/whatsapp/signup.mjs.map +1 -0
- package/resources/whatsapp/whatsapp.d.mts +4 -0
- package/resources/whatsapp/whatsapp.d.mts.map +1 -1
- package/resources/whatsapp/whatsapp.d.ts +4 -0
- package/resources/whatsapp/whatsapp.d.ts.map +1 -1
- package/resources/whatsapp/whatsapp.js +4 -0
- package/resources/whatsapp/whatsapp.js.map +1 -1
- package/resources/whatsapp/whatsapp.mjs +4 -0
- package/resources/whatsapp/whatsapp.mjs.map +1 -1
- package/src/client.ts +83 -0
- package/src/resources/ai/ai.ts +48 -4
- package/src/resources/ai/assistants/assistants.ts +676 -33
- package/src/resources/ai/assistants/deleted.ts +86 -0
- package/src/resources/ai/assistants/index.ts +13 -0
- package/src/resources/ai/assistants/versions.ts +54 -0
- package/src/resources/ai/avatars.ts +238 -0
- package/src/resources/ai/chat.ts +21 -2
- package/src/resources/ai/conversations/conversations.ts +9 -0
- package/src/resources/ai/embeddings/embeddings.ts +1 -1
- package/src/resources/ai/index.ts +18 -1
- package/src/resources/ai/memory/index.ts +9 -1
- package/src/resources/ai/memory/memory.ts +13 -1
- package/src/resources/ai/memory/namespaces/index.ts +11 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +85 -3
- package/src/resources/ai/memory/namespaces/profiles/index.ts +2 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +71 -0
- package/src/resources/ai/openai/chat.ts +21 -2
- package/src/resources/ai/tools.ts +25 -7
- package/src/resources/calls/actions.ts +141 -25
- package/src/resources/calls/calls.ts +73 -17
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/dir/dir.ts +269 -35
- package/src/resources/dir/index.ts +6 -0
- package/src/resources/dir/phone-numbers.ts +9 -10
- package/src/resources/dir/references.ts +9 -6
- package/src/resources/email-templates.ts +121 -19
- package/src/resources/enterprises/dir.ts +27 -3
- package/src/resources/enterprises/enterprises.ts +257 -26
- package/src/resources/enterprises/index.ts +6 -0
- package/src/resources/enterprises/reputation/external-verification.ts +125 -0
- package/src/resources/enterprises/reputation/index.ts +12 -0
- package/src/resources/enterprises/reputation/loa.ts +76 -3
- package/src/resources/enterprises/reputation/numbers.ts +256 -3
- package/src/resources/enterprises/reputation/remediation.ts +3 -2
- package/src/resources/enterprises/reputation/reputation.ts +70 -0
- package/src/resources/enterprises/verify-email.ts +117 -0
- package/src/resources/global-ip-assignment-health.ts +4 -4
- package/src/resources/global-ip-assignments-usage.ts +4 -4
- package/src/resources/index.ts +31 -0
- package/src/resources/infringement-claims.ts +4 -0
- package/src/resources/llm-token-gateway/index.ts +41 -0
- package/src/resources/llm-token-gateway/llm-token-gateway.ts +101 -0
- package/src/resources/llm-token-gateway/spend.ts +309 -0
- package/src/resources/llm-token-gateway/token-groups.ts +724 -0
- package/src/resources/llm-token-gateway/token-keys.ts +422 -0
- package/src/resources/llm-token-gateway/usage.ts +460 -0
- package/src/resources/llm-token-gateway.ts +3 -0
- package/src/resources/meeting-sessions/meeting-sessions.ts +8 -9
- package/src/resources/phone-numbers/jobs.ts +18 -5
- package/src/resources/porting-orders/phone-number-blocks.ts +9 -1
- package/src/resources/porting-orders/porting-orders.ts +9 -1
- package/src/resources/porting-phone-numbers.ts +9 -1
- package/src/resources/reputation/numbers.ts +12 -0
- package/src/resources/requirements.ts +2 -2
- package/src/resources/sip-registration-status.ts +188 -0
- package/src/resources/spend-limits.ts +428 -0
- package/src/resources/terms-of-service/agreements.ts +12 -0
- package/src/resources/terms-of-service/terms-of-service.ts +15 -0
- package/src/resources/texml/texml.ts +7 -3
- package/src/resources/text-to-speech/text-to-speech.ts +4 -2
- package/src/resources/webhooks.ts +1460 -228
- package/src/resources/whatsapp/index.ts +7 -0
- package/src/resources/whatsapp/phone-numbers/calling-routing.ts +114 -0
- package/src/resources/whatsapp/phone-numbers/index.ts +7 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +18 -0
- package/src/resources/whatsapp/signup.ts +188 -0
- package/src/resources/whatsapp/whatsapp.ts +18 -0
- 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,8 +1,10 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ExternalVerificationAPI from "./external-verification.js";
|
|
3
|
+
import { ExternalVerification, ExternalVerificationCreateParams, ExternalVerificationStatus, ExternalVerificationWrapped } from "./external-verification.js";
|
|
2
4
|
import * as LoaAPI from "./loa.js";
|
|
3
5
|
import { AgentInput, Loa, LoaRenderParams, LoaUpdateParams } from "./loa.js";
|
|
4
6
|
import * as NumbersAPI from "./numbers.js";
|
|
5
|
-
import { NumberAssociateParams, NumberDisassociateParams, NumberListParams, NumberRefreshParams, NumberRefreshResponse, NumberRetrieveParams, Numbers, ReputationPhoneNumber, ReputationPhoneNumberList, ReputationPhoneNumberListWithReputation, ReputationPhoneNumberWithReputation, ReputationPhoneNumbersDefaultFlatPagination } from "./numbers.js";
|
|
7
|
+
import { NumberAssociateParams, NumberDisassociateParams, NumberListParams, NumberOwnershipConfirmParams, NumberRefreshParams, NumberRefreshResponse, NumberRetrieveOwnershipParams, NumberRetrieveOwnershipResponse, NumberRetrieveParams, Numbers, ReputationNumberSource, ReputationOwnershipStatus, ReputationPhoneNumber, ReputationPhoneNumberList, ReputationPhoneNumberListWithReputation, ReputationPhoneNumberWithReputation, ReputationPhoneNumbersDefaultFlatPagination } from "./numbers.js";
|
|
6
8
|
import * as RemediationAPI from "./remediation.js";
|
|
7
9
|
import { Remediation, RemediationCreateParams, RemediationListParams, RemediationListResponse, RemediationListResponsesDefaultFlatPagination, RemediationPerNumberResults, RemediationRequest, RemediationRequestWrapped, RemediationRetrieveParams, RemediationStatus } from "./remediation.js";
|
|
8
10
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
@@ -14,6 +16,7 @@ export declare class Reputation extends APIResource {
|
|
|
14
16
|
numbers: NumbersAPI.Numbers;
|
|
15
17
|
loa: LoaAPI.Loa;
|
|
16
18
|
remediation: RemediationAPI.Remediation;
|
|
19
|
+
externalVerification: ExternalVerificationAPI.ExternalVerification;
|
|
17
20
|
/**
|
|
18
21
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
19
22
|
* cascade. The enterprise itself is unaffected. Returns `204` on success, `404` if
|
|
@@ -95,6 +98,22 @@ export declare class Reputation extends APIResource {
|
|
|
95
98
|
* ```
|
|
96
99
|
*/
|
|
97
100
|
updateFrequency(enterpriseID: string, body: ReputationUpdateFrequencyParams, options?: RequestOptions): APIPromise<EnterpriseReputationPublicWrapped>;
|
|
101
|
+
/**
|
|
102
|
+
* Set the HTTPS URL that receives number-ownership events for this enterprise:
|
|
103
|
+
* `number_reputation.number.flagged`, `number_reputation.number.removed` and
|
|
104
|
+
* `number_reputation.external_verification.status_changed`. Send
|
|
105
|
+
* `webhook_url: null` to stop receiving them.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* ```ts
|
|
109
|
+
* const enterpriseReputationPublicWrapped =
|
|
110
|
+
* await client.enterprises.reputation.updateWebhook(
|
|
111
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
112
|
+
* { webhook_url: 'https://example.com/webhooks/telnyx' },
|
|
113
|
+
* );
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
updateWebhook(enterpriseID: string, body: ReputationUpdateWebhookParams, options?: RequestOptions): APIPromise<EnterpriseReputationPublicWrapped>;
|
|
98
117
|
}
|
|
99
118
|
export interface EnterpriseReputationPublic {
|
|
100
119
|
/**
|
|
@@ -104,6 +123,11 @@ export interface EnterpriseReputationPublic {
|
|
|
104
123
|
check_frequency?: ReputationCheckFrequency;
|
|
105
124
|
created_at?: string;
|
|
106
125
|
enterprise_id?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
128
|
+
* another provider.
|
|
129
|
+
*/
|
|
130
|
+
external_verification_status?: ExternalVerificationAPI.ExternalVerificationStatus | null;
|
|
107
131
|
/**
|
|
108
132
|
* Id of the signed LOA document.
|
|
109
133
|
*/
|
|
@@ -122,6 +146,10 @@ export interface EnterpriseReputationPublic {
|
|
|
122
146
|
*/
|
|
123
147
|
status?: 'pending' | 'approved' | 'deleted' | 'rejected';
|
|
124
148
|
updated_at?: string;
|
|
149
|
+
/**
|
|
150
|
+
* HTTPS URL that receives number-ownership webhook events for this enterprise.
|
|
151
|
+
*/
|
|
152
|
+
webhook_url?: string | null;
|
|
125
153
|
}
|
|
126
154
|
export interface EnterpriseReputationPublicWrapped {
|
|
127
155
|
data: EnterpriseReputationPublic;
|
|
@@ -151,10 +179,18 @@ export interface ReputationUpdateFrequencyParams {
|
|
|
151
179
|
*/
|
|
152
180
|
check_frequency: ReputationCheckFrequency;
|
|
153
181
|
}
|
|
182
|
+
export interface ReputationUpdateWebhookParams {
|
|
183
|
+
/**
|
|
184
|
+
* HTTPS URL on a publicly routable host. Send `null` to stop receiving
|
|
185
|
+
* number-ownership events.
|
|
186
|
+
*/
|
|
187
|
+
webhook_url: string | null;
|
|
188
|
+
}
|
|
154
189
|
export declare namespace Reputation {
|
|
155
|
-
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, };
|
|
156
|
-
export { Numbers as Numbers, type ReputationPhoneNumber as ReputationPhoneNumber, type ReputationPhoneNumberList as ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation as ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation as ReputationPhoneNumberWithReputation, type NumberRefreshResponse as NumberRefreshResponse, type ReputationPhoneNumbersDefaultFlatPagination as ReputationPhoneNumbersDefaultFlatPagination, type NumberListParams as NumberListParams, type NumberAssociateParams as NumberAssociateParams, type NumberDisassociateParams as NumberDisassociateParams, type NumberRetrieveParams as NumberRetrieveParams, type NumberRefreshParams as NumberRefreshParams, };
|
|
190
|
+
export { type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams as ReputationUpdateWebhookParams, };
|
|
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, };
|
|
157
192
|
export { Loa as Loa, type AgentInput as AgentInput, type LoaUpdateParams as LoaUpdateParams, type LoaRenderParams as LoaRenderParams, };
|
|
158
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, };
|
|
159
195
|
}
|
|
160
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,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,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACpB,OAAO,EACP,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;
|
|
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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K,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,oBAAoB,IAAI,oBAAoB,EAC5C,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Reputation = void 0;
|
|
5
5
|
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const ExternalVerificationAPI = tslib_1.__importStar(require("./external-verification.js"));
|
|
8
|
+
const external_verification_1 = require("./external-verification.js");
|
|
7
9
|
const LoaAPI = tslib_1.__importStar(require("./loa.js"));
|
|
8
10
|
const loa_1 = require("./loa.js");
|
|
9
11
|
const NumbersAPI = tslib_1.__importStar(require("./numbers.js"));
|
|
@@ -21,6 +23,7 @@ class Reputation extends resource_1.APIResource {
|
|
|
21
23
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
22
24
|
this.loa = new LoaAPI.Loa(this._client);
|
|
23
25
|
this.remediation = new RemediationAPI.Remediation(this._client);
|
|
26
|
+
this.externalVerification = new ExternalVerificationAPI.ExternalVerification(this._client);
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
29
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
@@ -114,9 +117,28 @@ class Reputation extends resource_1.APIResource {
|
|
|
114
117
|
updateFrequency(enterpriseID, body, options) {
|
|
115
118
|
return this._client.patch((0, path_1.path) `/enterprises/${enterpriseID}/reputation/frequency`, { body, ...options });
|
|
116
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* Set the HTTPS URL that receives number-ownership events for this enterprise:
|
|
122
|
+
* `number_reputation.number.flagged`, `number_reputation.number.removed` and
|
|
123
|
+
* `number_reputation.external_verification.status_changed`. Send
|
|
124
|
+
* `webhook_url: null` to stop receiving them.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```ts
|
|
128
|
+
* const enterpriseReputationPublicWrapped =
|
|
129
|
+
* await client.enterprises.reputation.updateWebhook(
|
|
130
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
131
|
+
* { webhook_url: 'https://example.com/webhooks/telnyx' },
|
|
132
|
+
* );
|
|
133
|
+
* ```
|
|
134
|
+
*/
|
|
135
|
+
updateWebhook(enterpriseID, body, options) {
|
|
136
|
+
return this._client.patch((0, path_1.path) `/enterprises/${enterpriseID}/reputation/webhook`, { body, ...options });
|
|
137
|
+
}
|
|
117
138
|
}
|
|
118
139
|
exports.Reputation = Reputation;
|
|
119
140
|
Reputation.Numbers = numbers_1.Numbers;
|
|
120
141
|
Reputation.Loa = loa_1.Loa;
|
|
121
142
|
Reputation.Remediation = remediation_1.Remediation;
|
|
143
|
+
Reputation.ExternalVerification = external_verification_1.ExternalVerification;
|
|
122
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,yDAAgC;AAChC,kCAA0E;AAC1E,iEAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"reputation.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/reputation.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,4FAAmE;AACnE,sEAKiC;AACjC,yDAAgC;AAChC,kCAA0E;AAC1E,iEAAwC;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;;;;;;;;;OAgBG;IACH,eAAe,CACb,YAAoB,EACpB,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,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,IAAA,WAAI,EAAA,gBAAgB,YAAY,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;CACF;AArID,gCAqIC;AA+FD,UAAU,CAAC,OAAO,GAAG,iBAAO,CAAC;AAC7B,UAAU,CAAC,GAAG,GAAG,SAAG,CAAC;AACrB,UAAU,CAAC,WAAW,GAAG,yBAAW,CAAC;AACrC,UAAU,CAAC,oBAAoB,GAAG,4CAAoB,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as ExternalVerificationAPI from "./external-verification.mjs";
|
|
4
|
+
import { ExternalVerification, } from "./external-verification.mjs";
|
|
3
5
|
import * as LoaAPI from "./loa.mjs";
|
|
4
6
|
import { Loa } from "./loa.mjs";
|
|
5
7
|
import * as NumbersAPI from "./numbers.mjs";
|
|
@@ -17,6 +19,7 @@ export class Reputation extends APIResource {
|
|
|
17
19
|
this.numbers = new NumbersAPI.Numbers(this._client);
|
|
18
20
|
this.loa = new LoaAPI.Loa(this._client);
|
|
19
21
|
this.remediation = new RemediationAPI.Remediation(this._client);
|
|
22
|
+
this.externalVerification = new ExternalVerificationAPI.ExternalVerification(this._client);
|
|
20
23
|
}
|
|
21
24
|
/**
|
|
22
25
|
* Disable Phone Number Reputation. All registered numbers are de-registered as a
|
|
@@ -110,8 +113,27 @@ export class Reputation extends APIResource {
|
|
|
110
113
|
updateFrequency(enterpriseID, body, options) {
|
|
111
114
|
return this._client.patch(path `/enterprises/${enterpriseID}/reputation/frequency`, { body, ...options });
|
|
112
115
|
}
|
|
116
|
+
/**
|
|
117
|
+
* Set the HTTPS URL that receives number-ownership events for this enterprise:
|
|
118
|
+
* `number_reputation.number.flagged`, `number_reputation.number.removed` and
|
|
119
|
+
* `number_reputation.external_verification.status_changed`. Send
|
|
120
|
+
* `webhook_url: null` to stop receiving them.
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* ```ts
|
|
124
|
+
* const enterpriseReputationPublicWrapped =
|
|
125
|
+
* await client.enterprises.reputation.updateWebhook(
|
|
126
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
127
|
+
* { webhook_url: 'https://example.com/webhooks/telnyx' },
|
|
128
|
+
* );
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
updateWebhook(enterpriseID, body, options) {
|
|
132
|
+
return this._client.patch(path `/enterprises/${enterpriseID}/reputation/webhook`, { body, ...options });
|
|
133
|
+
}
|
|
113
134
|
}
|
|
114
135
|
Reputation.Numbers = Numbers;
|
|
115
136
|
Reputation.Loa = Loa;
|
|
116
137
|
Reputation.Remediation = Remediation;
|
|
138
|
+
Reputation.ExternalVerification = ExternalVerification;
|
|
117
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,MAAM,kBAAc;AAChC,OAAO,EAAc,GAAG,EAAoC,kBAAc;AAC1E,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,
|
|
1
|
+
{"version":3,"file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,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,YAAY,aAAa,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,oBAAoB,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID: string, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
29
|
+
/**
|
|
30
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
31
|
+
* email. On success the contact email is marked verified.
|
|
32
|
+
*
|
|
33
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
34
|
+
* returns the same generic message.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
39
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
40
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
41
|
+
* { code: '482915' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
confirm(enterpriseID: string, body: VerifyEmailConfirmParams, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
46
|
+
}
|
|
47
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
48
|
+
/**
|
|
49
|
+
* Verification state for an enterprise account's contact email.
|
|
50
|
+
*/
|
|
51
|
+
data: EnterpriseEmailVerificationStatusWrapped.Data;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace EnterpriseEmailVerificationStatusWrapped {
|
|
54
|
+
/**
|
|
55
|
+
* Verification state for an enterprise account's contact email.
|
|
56
|
+
*/
|
|
57
|
+
interface Data {
|
|
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
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface VerifyEmailConfirmParams {
|
|
83
|
+
/**
|
|
84
|
+
* The 6-digit code sent to the enterprise account's contact email.
|
|
85
|
+
*/
|
|
86
|
+
code: string;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace VerifyEmail {
|
|
89
|
+
export { type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=verify-email.d.mts.map
|
|
@@ -0,0 +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,wCAAwC;IACvD;;OAEG;IACH,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;QAE5B;;;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,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID: string, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
29
|
+
/**
|
|
30
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
31
|
+
* email. On success the contact email is marked verified.
|
|
32
|
+
*
|
|
33
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
34
|
+
* returns the same generic message.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
39
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
40
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
41
|
+
* { code: '482915' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
confirm(enterpriseID: string, body: VerifyEmailConfirmParams, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
46
|
+
}
|
|
47
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
48
|
+
/**
|
|
49
|
+
* Verification state for an enterprise account's contact email.
|
|
50
|
+
*/
|
|
51
|
+
data: EnterpriseEmailVerificationStatusWrapped.Data;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace EnterpriseEmailVerificationStatusWrapped {
|
|
54
|
+
/**
|
|
55
|
+
* Verification state for an enterprise account's contact email.
|
|
56
|
+
*/
|
|
57
|
+
interface Data {
|
|
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
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface VerifyEmailConfirmParams {
|
|
83
|
+
/**
|
|
84
|
+
* The 6-digit code sent to the enterprise account's contact email.
|
|
85
|
+
*/
|
|
86
|
+
code: string;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace VerifyEmail {
|
|
89
|
+
export { type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=verify-email.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/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;;;;;;;;;;;;;;;;;;;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,wCAAwC;IACvD;;OAEG;IACH,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;QAE5B;;;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,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VerifyEmail = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
9
|
+
*/
|
|
10
|
+
class VerifyEmail extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
13
|
+
* ownership of that address.
|
|
14
|
+
*
|
|
15
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
16
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
17
|
+
* approved for use until this contact email is verified.
|
|
18
|
+
*
|
|
19
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
20
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
21
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
26
|
+
* await client.enterprises.verifyEmail.create(
|
|
27
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
create(enterpriseID, options) {
|
|
32
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/verify_email`, options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
36
|
+
* email. On success the contact email is marked verified.
|
|
37
|
+
*
|
|
38
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
39
|
+
* returns the same generic message.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
44
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
45
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
46
|
+
* { code: '482915' },
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
confirm(enterpriseID, body, options) {
|
|
51
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/verify_email/confirm`, { body, ...options });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.VerifyEmail = VerifyEmail;
|
|
55
|
+
//# sourceMappingURL=verify-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.js","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,eAAe,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AAnDD,kCAmDC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID, options) {
|
|
29
|
+
return this._client.post(path `/enterprises/${enterpriseID}/verify_email`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
33
|
+
* email. On success the contact email is marked verified.
|
|
34
|
+
*
|
|
35
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
36
|
+
* returns the same generic message.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
41
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
42
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
43
|
+
* { code: '482915' },
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
confirm(enterpriseID, body, options) {
|
|
48
|
+
return this._client.post(path `/enterprises/${enterpriseID}/verify_email/confirm`, { body, ...options });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=verify-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,eAAe,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
|
@@ -85,17 +85,17 @@ export declare namespace GlobalIPAssignmentHealthRetrieveParams {
|
|
|
85
85
|
/**
|
|
86
86
|
* Filter by exact Global IP Assignment ID
|
|
87
87
|
*/
|
|
88
|
-
global_ip_assignment_id?: string | Filter.
|
|
88
|
+
global_ip_assignment_id?: string | Filter.GlobalIPAssignmentIDIn;
|
|
89
89
|
/**
|
|
90
90
|
* Filter by exact Global IP ID
|
|
91
91
|
*/
|
|
92
|
-
global_ip_id?: string | Filter.
|
|
92
|
+
global_ip_id?: string | Filter.GlobalIPIDIn;
|
|
93
93
|
}
|
|
94
94
|
namespace Filter {
|
|
95
95
|
/**
|
|
96
96
|
* Filtering operations
|
|
97
97
|
*/
|
|
98
|
-
interface
|
|
98
|
+
interface GlobalIPAssignmentIDIn {
|
|
99
99
|
/**
|
|
100
100
|
* Filter by Global IP Assignment ID(s) separated by commas
|
|
101
101
|
*/
|
|
@@ -104,7 +104,7 @@ export declare namespace GlobalIPAssignmentHealthRetrieveParams {
|
|
|
104
104
|
/**
|
|
105
105
|
* Filtering operations
|
|
106
106
|
*/
|
|
107
|
-
interface
|
|
107
|
+
interface GlobalIPIDIn {
|
|
108
108
|
/**
|
|
109
109
|
* Filter by Global IP ID(s) separated by commas
|
|
110
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-ip-assignment-health.d.mts","sourceRoot":"","sources":["../src/resources/global-ip-assignment-health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,QAAQ,CACN,KAAK,GAAE,sCAAsC,GAAG,IAAI,GAAG,SAAc,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,yBAAiB,wCAAwC,CAAC;IACxD,UAAiB,IAAI;QACnB,SAAS,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC;QAE1B,oBAAoB,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAE/C,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC;QAErB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,QAAQ;YACvB;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ;;eAEG;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB;QAED,UAAiB,kBAAkB;YACjC;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ,cAAc,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC;YAElD;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;SAC5B;QAED,UAAiB,kBAAkB,CAAC;YAClC,UAAiB,aAAa;gBAC5B;;mBAEG;gBACH,UAAU,CAAC,EAAE,MAAM,CAAC;gBAEpB;;mBAEG;gBACH,IAAI,CAAC,EAAE,MAAM,CAAC;aACf;SACF;QAED,UAAiB,MAAM;YACrB;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD;;;OAGG;IACH,MAAM,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC;CACxD;AAED,yBAAiB,sCAAsC,CAAC;IACtD;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"global-ip-assignment-health.d.mts","sourceRoot":"","sources":["../src/resources/global-ip-assignment-health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAE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M,CAAC;CACxD;AAED,yBAAiB,sCAAsC,CAAC;IACtD;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,sBAAsB,CAAC;QAEjE;;WAEG;QACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,YAAY,CAAC;KAC7C;IAED,UAAiB,MAAM,CAAC;QACtB;;WAEG;QACH,UAAiB,sBAAsB;YACrC;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;SACb;QAED;;WAEG;QACH,UAAiB,YAAY;YAC3B;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,wBAAwB,CAAC;IAChD,OAAO,EACL,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,sCAAsC,IAAI,sCAAsC,GACtF,CAAC;CACH"}
|
|
@@ -85,17 +85,17 @@ export declare namespace GlobalIPAssignmentHealthRetrieveParams {
|
|
|
85
85
|
/**
|
|
86
86
|
* Filter by exact Global IP Assignment ID
|
|
87
87
|
*/
|
|
88
|
-
global_ip_assignment_id?: string | Filter.
|
|
88
|
+
global_ip_assignment_id?: string | Filter.GlobalIPAssignmentIDIn;
|
|
89
89
|
/**
|
|
90
90
|
* Filter by exact Global IP ID
|
|
91
91
|
*/
|
|
92
|
-
global_ip_id?: string | Filter.
|
|
92
|
+
global_ip_id?: string | Filter.GlobalIPIDIn;
|
|
93
93
|
}
|
|
94
94
|
namespace Filter {
|
|
95
95
|
/**
|
|
96
96
|
* Filtering operations
|
|
97
97
|
*/
|
|
98
|
-
interface
|
|
98
|
+
interface GlobalIPAssignmentIDIn {
|
|
99
99
|
/**
|
|
100
100
|
* Filter by Global IP Assignment ID(s) separated by commas
|
|
101
101
|
*/
|
|
@@ -104,7 +104,7 @@ export declare namespace GlobalIPAssignmentHealthRetrieveParams {
|
|
|
104
104
|
/**
|
|
105
105
|
* Filtering operations
|
|
106
106
|
*/
|
|
107
|
-
interface
|
|
107
|
+
interface GlobalIPIDIn {
|
|
108
108
|
/**
|
|
109
109
|
* Filter by Global IP ID(s) separated by commas
|
|
110
110
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"global-ip-assignment-health.d.ts","sourceRoot":"","sources":["../src/resources/global-ip-assignment-health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,QAAQ,CACN,KAAK,GAAE,sCAAsC,GAAG,IAAI,GAAG,SAAc,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,yBAAiB,wCAAwC,CAAC;IACxD,UAAiB,IAAI;QACnB,SAAS,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC;QAE1B,oBAAoB,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAE/C,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC;QAErB;;WAEG;QACH,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB;IAED,UAAiB,IAAI,CAAC;QACpB,UAAiB,QAAQ;YACvB;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ;;eAEG;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;SACrB;QAED,UAAiB,kBAAkB;YACjC;;eAEG;YACH,EAAE,CAAC,EAAE,MAAM,CAAC;YAEZ,cAAc,CAAC,EAAE,kBAAkB,CAAC,aAAa,CAAC;YAElD;;eAEG;YACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;SAC5B;QAED,UAAiB,kBAAkB,CAAC;YAClC,UAAiB,aAAa;gBAC5B;;mBAEG;gBACH,UAAU,CAAC,EAAE,MAAM,CAAC;gBAEpB;;mBAEG;gBACH,IAAI,CAAC,EAAE,MAAM,CAAC;aACf;SACF;QAED,UAAiB,MAAM;YACrB;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;YAEd;;eAEG;YACH,IAAI,CAAC,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD;;;OAGG;IACH,MAAM,CAAC,EAAE,sCAAsC,CAAC,MAAM,CAAC;CACxD;AAED,yBAAiB,sCAAsC,CAAC;IACtD;;;OAGG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"global-ip-assignment-health.d.ts","sourceRoot":"","sources":["../src/resources/global-ip-assignment-health.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,wBAAyB,SAAQ,WAAW;IACvD;;OAEG;IACH,QAAQ,CACN,KAAK,GAAE,sCAAsC,GAAG,IAAI,GAAG,SAAc,EACrE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,wCAAwC;IACvD,IAAI,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,IAAI,CAAC,CAAC;CAC7D;AAED,yBAAiB,wCAAwC,CAAC;IACxD,UAAiB,IAAI;QACnB,SAAS,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC;QAE1B,oBAAoB,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC;QAE/C,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC;QAEr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