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
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../core/pagination.js";
|
|
4
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
|
+
export declare class Signup extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List finished WhatsApp Embedded Signup sessions, with status `SUCCESS` or
|
|
8
|
+
* `FAILURE`, newest first. Use the `errors` of a failed session to see why
|
|
9
|
+
* provisioning stopped.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* // Automatically fetches more pages as needed.
|
|
14
|
+
* for await (const signupListResponse of client.whatsapp.signup.list()) {
|
|
15
|
+
* // ...
|
|
16
|
+
* }
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
list(query?: SignupListParams | null | undefined, options?: RequestOptions): PagePromise<SignupListResponsesDefaultFlatPagination, SignupListResponse>;
|
|
20
|
+
/**
|
|
21
|
+
* Retrieve the current state and status of a WhatsApp Embedded Signup session.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const response =
|
|
26
|
+
* await client.whatsapp.signup.retrieveStatus('id');
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
retrieveStatus(id: string, options?: RequestOptions): APIPromise<SignupRetrieveStatusResponse>;
|
|
30
|
+
}
|
|
31
|
+
export type SignupListResponsesDefaultFlatPagination = DefaultFlatPagination<SignupListResponse>;
|
|
32
|
+
export interface SignupListResponse {
|
|
33
|
+
created_at?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Tech provider customer reference submitted with the signup
|
|
36
|
+
*/
|
|
37
|
+
customer_id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Errors recorded during provisioning
|
|
40
|
+
*/
|
|
41
|
+
errors?: Array<string>;
|
|
42
|
+
record_type?: 'whatsapp_session_id';
|
|
43
|
+
/**
|
|
44
|
+
* Signup session ID
|
|
45
|
+
*/
|
|
46
|
+
session_id?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Current provisioning step, or the step that failed. `REGISTER_PHONE_NUMBER` is
|
|
49
|
+
* skipped for coexistence signups.
|
|
50
|
+
*/
|
|
51
|
+
state?: 'SUBSCRIBE_WEBHOOKS' | 'ASSIGNED_USERS' | 'SHARE_CREDIT_LINE' | 'REGISTER_PHONE_NUMBER' | 'ADD_WABA_TO_DB' | 'ADD_PHONE_NUMBERS_TO_DB' | 'COMPLETE';
|
|
52
|
+
/**
|
|
53
|
+
* `INCOMPLETE` waits for the Meta signup code, `PENDING` is in progress, `SUCCESS`
|
|
54
|
+
* finished provisioning, and `FAILURE` stopped at `state`.
|
|
55
|
+
*/
|
|
56
|
+
status?: 'INCOMPLETE' | 'PENDING' | 'SUCCESS' | 'FAILURE';
|
|
57
|
+
updated_at?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Telnyx user ID that owns the signup session
|
|
60
|
+
*/
|
|
61
|
+
user_id?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Meta WhatsApp Business Account ID
|
|
64
|
+
*/
|
|
65
|
+
waba_id?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface SignupRetrieveStatusResponse {
|
|
68
|
+
data?: SignupRetrieveStatusResponse.Data;
|
|
69
|
+
}
|
|
70
|
+
export declare namespace SignupRetrieveStatusResponse {
|
|
71
|
+
interface Data {
|
|
72
|
+
created_at?: string;
|
|
73
|
+
/**
|
|
74
|
+
* Tech provider customer reference submitted with the signup
|
|
75
|
+
*/
|
|
76
|
+
customer_id?: string;
|
|
77
|
+
/**
|
|
78
|
+
* Errors recorded during provisioning
|
|
79
|
+
*/
|
|
80
|
+
errors?: Array<string>;
|
|
81
|
+
record_type?: 'whatsapp_session_id';
|
|
82
|
+
/**
|
|
83
|
+
* Signup session ID
|
|
84
|
+
*/
|
|
85
|
+
session_id?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Current provisioning step, or the step that failed. `REGISTER_PHONE_NUMBER` is
|
|
88
|
+
* skipped for coexistence signups.
|
|
89
|
+
*/
|
|
90
|
+
state?: 'SUBSCRIBE_WEBHOOKS' | 'ASSIGNED_USERS' | 'SHARE_CREDIT_LINE' | 'REGISTER_PHONE_NUMBER' | 'ADD_WABA_TO_DB' | 'ADD_PHONE_NUMBERS_TO_DB' | 'COMPLETE';
|
|
91
|
+
/**
|
|
92
|
+
* `INCOMPLETE` waits for the Meta signup code, `PENDING` is in progress, `SUCCESS`
|
|
93
|
+
* finished provisioning, and `FAILURE` stopped at `state`.
|
|
94
|
+
*/
|
|
95
|
+
status?: 'INCOMPLETE' | 'PENDING' | 'SUCCESS' | 'FAILURE';
|
|
96
|
+
updated_at?: string;
|
|
97
|
+
/**
|
|
98
|
+
* Telnyx user ID that owns the signup session
|
|
99
|
+
*/
|
|
100
|
+
user_id?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Meta WhatsApp Business Account ID
|
|
103
|
+
*/
|
|
104
|
+
waba_id?: string;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
export interface SignupListParams extends DefaultFlatPaginationParams {
|
|
108
|
+
/**
|
|
109
|
+
* Return sessions created at or after this time (RFC 3339)
|
|
110
|
+
*/
|
|
111
|
+
'filter[created_at][gte]'?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Return sessions created at or before this time (RFC 3339)
|
|
114
|
+
*/
|
|
115
|
+
'filter[created_at][lte]'?: string;
|
|
116
|
+
/**
|
|
117
|
+
* Filter by the tech provider customer reference
|
|
118
|
+
*/
|
|
119
|
+
'filter[customer_id]'?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Filter by Meta WABA ID
|
|
122
|
+
*/
|
|
123
|
+
'filter[waba_id]'?: string;
|
|
124
|
+
}
|
|
125
|
+
export declare namespace Signup {
|
|
126
|
+
export { type SignupListResponse as SignupListResponse, type SignupRetrieveStatusResponse as SignupRetrieveStatusResponse, type SignupListResponsesDefaultFlatPagination as SignupListResponsesDefaultFlatPagination, type SignupListParams as SignupListParams, };
|
|
127
|
+
}
|
|
128
|
+
//# sourceMappingURL=signup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/signup.ts"],"names":[],"mappings":"AAEA,OAAO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
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Signup = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
7
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
8
|
+
class Signup extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* List finished WhatsApp Embedded Signup sessions, with status `SUCCESS` or
|
|
11
|
+
* `FAILURE`, newest first. Use the `errors` of a failed session to see why
|
|
12
|
+
* provisioning stopped.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* // Automatically fetches more pages as needed.
|
|
17
|
+
* for await (const signupListResponse of client.whatsapp.signup.list()) {
|
|
18
|
+
* // ...
|
|
19
|
+
* }
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
list(query = {}, options) {
|
|
23
|
+
return this._client.getAPIList('/whatsapp/signup', (pagination_1.DefaultFlatPagination), {
|
|
24
|
+
query,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Retrieve the current state and status of a WhatsApp Embedded Signup session.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const response =
|
|
34
|
+
* await client.whatsapp.signup.retrieveStatus('id');
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
retrieveStatus(id, options) {
|
|
38
|
+
return this._client.get((0, path_1.path) `/whatsapp/signup/${id}/status`, options);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.Signup = Signup;
|
|
42
|
+
//# sourceMappingURL=signup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.js","sourceRoot":"","sources":["../../src/resources/whatsapp/signup.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAA6G;AAE7G,uDAAiD;AAEjD,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,kCAAyC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,oBAAoB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CACF;AApCD,wBAoCC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { DefaultFlatPagination } from "../../core/pagination.mjs";
|
|
4
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
5
|
+
export class Signup extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* List finished WhatsApp Embedded Signup sessions, with status `SUCCESS` or
|
|
8
|
+
* `FAILURE`, newest first. Use the `errors` of a failed session to see why
|
|
9
|
+
* provisioning stopped.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* // Automatically fetches more pages as needed.
|
|
14
|
+
* for await (const signupListResponse of client.whatsapp.signup.list()) {
|
|
15
|
+
* // ...
|
|
16
|
+
* }
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
list(query = {}, options) {
|
|
20
|
+
return this._client.getAPIList('/whatsapp/signup', (DefaultFlatPagination), {
|
|
21
|
+
query,
|
|
22
|
+
...options,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Retrieve the current state and status of a WhatsApp Embedded Signup session.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const response =
|
|
31
|
+
* await client.whatsapp.signup.retrieveStatus('id');
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
retrieveStatus(id, options) {
|
|
35
|
+
return this._client.get(path `/whatsapp/signup/${id}/status`, options);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=signup.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signup.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/signup.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,qBAAyC,CAAA,EAAE;YAC5F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAU,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,oBAAoB,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;CACF"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as SignupAPI from "./signup.mjs";
|
|
3
|
+
import { Signup, SignupListParams, SignupListResponse, SignupListResponsesDefaultFlatPagination, SignupRetrieveStatusResponse } from "./signup.mjs";
|
|
2
4
|
import * as TemplatesAPI from "./templates.mjs";
|
|
3
5
|
import { TemplateCreateParams, TemplateCreateResponse, TemplateListParams, Templates, WhatsappTemplateBodyComponent, WhatsappTemplateButtonsComponent, WhatsappTemplateCarouselComponent, WhatsappTemplateFooterComponent, WhatsappTemplateHeaderComponent } from "./templates.mjs";
|
|
4
6
|
import * as UserDataAPI from "./user-data.mjs";
|
|
@@ -12,11 +14,13 @@ export declare class Whatsapp extends APIResource {
|
|
|
12
14
|
templates: TemplatesAPI.Templates;
|
|
13
15
|
phoneNumbers: PhoneNumbersAPI.PhoneNumbers;
|
|
14
16
|
userData: UserDataAPI.UserData;
|
|
17
|
+
signup: SignupAPI.Signup;
|
|
15
18
|
}
|
|
16
19
|
export declare namespace Whatsapp {
|
|
17
20
|
export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
|
|
18
21
|
export { Templates as Templates, type WhatsappTemplateBodyComponent as WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent as WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent as WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent as WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent as WhatsappTemplateHeaderComponent, type TemplateCreateResponse as TemplateCreateResponse, type TemplateListParams as TemplateListParams, type TemplateCreateParams as TemplateCreateParams, };
|
|
19
22
|
export { PhoneNumbers as PhoneNumbers, type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberGetResponse as PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse as PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams as PhoneNumberGetParams, };
|
|
20
23
|
export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
24
|
+
export { Signup as Signup, type SignupListResponse as SignupListResponse, type SignupRetrieveStatusResponse as SignupRetrieveStatusResponse, type SignupListResponsesDefaultFlatPagination as SignupListResponsesDefaultFlatPagination, type SignupListParams as SignupListParams, };
|
|
21
25
|
}
|
|
22
26
|
//# sourceMappingURL=whatsapp.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAChC,wBAAoB;AACrB,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EACjB,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,EAC/B,gBAAgB,EACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,mCAAmC,EACnC,2CAA2C,EAC3C,6CAA6C,EAC7C,sCAAsC,EACtC,uBAAuB,EACvB,YAAY,EACb,0CAAsC;AAEvC,qBAAa,QAAS,SAAQ,WAAW;IACvC,gBAAgB,EAAE,mBAAmB,CAAC,gBAAgB,CAEpD;IACF,SAAS,EAAE,YAAY,CAAC,SAAS,CAA4C;IAC7E,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;
|
|
1
|
+
{"version":3,"file":"whatsapp.d.mts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,MAAM,EACN,gBAAgB,EAChB,kBAAkB,EAClB,wCAAwC,EACxC,4BAA4B,EAC7B,qBAAiB;AAClB,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,SAAS,EACT,6BAA6B,EAC7B,gCAAgC,EAChC,iCAAiC,EACjC,+BAA+B,EAC/B,+BAA+B,EAChC,wBAAoB;AACrB,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,EACR,wBAAwB,EACxB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EACjB,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EACL,yBAAyB,EACzB,2BAA2B,EAC3B,iDAAiD,EACjD,+BAA+B,EAC/B,gBAAgB,EACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,6CAA6C,EAC7C,mCAAmC,EACnC,2CAA2C,EAC3C,6CAA6C,EAC7C,sCAAsC,EACtC,uBAAuB,EACvB,YAAY,EACb,0CAA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CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as SignupAPI from "./signup.js";
|
|
3
|
+
import { Signup, SignupListParams, SignupListResponse, SignupListResponsesDefaultFlatPagination, SignupRetrieveStatusResponse } from "./signup.js";
|
|
2
4
|
import * as TemplatesAPI from "./templates.js";
|
|
3
5
|
import { TemplateCreateParams, TemplateCreateResponse, TemplateListParams, Templates, WhatsappTemplateBodyComponent, WhatsappTemplateButtonsComponent, WhatsappTemplateCarouselComponent, WhatsappTemplateFooterComponent, WhatsappTemplateHeaderComponent } from "./templates.js";
|
|
4
6
|
import * as UserDataAPI from "./user-data.js";
|
|
@@ -12,11 +14,13 @@ export declare class Whatsapp extends APIResource {
|
|
|
12
14
|
templates: TemplatesAPI.Templates;
|
|
13
15
|
phoneNumbers: PhoneNumbersAPI.PhoneNumbers;
|
|
14
16
|
userData: UserDataAPI.UserData;
|
|
17
|
+
signup: SignupAPI.Signup;
|
|
15
18
|
}
|
|
16
19
|
export declare namespace Whatsapp {
|
|
17
20
|
export { BusinessAccounts as BusinessAccounts, type BusinessAccountRetrieveResponse as BusinessAccountRetrieveResponse, type BusinessAccountListResponse as BusinessAccountListResponse, type BusinessAccountListResponsesDefaultFlatPagination as BusinessAccountListResponsesDefaultFlatPagination, type BusinessAccountListParams as BusinessAccountListParams, };
|
|
18
21
|
export { Templates as Templates, type WhatsappTemplateBodyComponent as WhatsappTemplateBodyComponent, type WhatsappTemplateButtonsComponent as WhatsappTemplateButtonsComponent, type WhatsappTemplateCarouselComponent as WhatsappTemplateCarouselComponent, type WhatsappTemplateFooterComponent as WhatsappTemplateFooterComponent, type WhatsappTemplateHeaderComponent as WhatsappTemplateHeaderComponent, type TemplateCreateResponse as TemplateCreateResponse, type TemplateListParams as TemplateListParams, type TemplateCreateParams as TemplateCreateParams, };
|
|
19
22
|
export { PhoneNumbers as PhoneNumbers, type PhoneNumberListResponse as PhoneNumberListResponse, type PhoneNumberGetResponse as PhoneNumberGetResponse, type PhoneNumberRetrieveConversationWindowResponse as PhoneNumberRetrieveConversationWindowResponse, type PhoneNumberRetrievePhoneNumberResponse as PhoneNumberRetrievePhoneNumberResponse, type PhoneNumberListResponsesDefaultFlatPagination as PhoneNumberListResponsesDefaultFlatPagination, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberResendVerificationParams as PhoneNumberResendVerificationParams, type PhoneNumberVerifyParams as PhoneNumberVerifyParams, type PhoneNumberRetrieveConversationWindowParams as PhoneNumberRetrieveConversationWindowParams, type PhoneNumberGetParams as PhoneNumberGetParams, };
|
|
20
23
|
export { UserData as UserData, type WhatsappUserData as WhatsappUserData, type UserDataRetrieveResponse as UserDataRetrieveResponse, type UserDataUpdateResponse as UserDataUpdateResponse, type UserDataUpdateParams as UserDataUpdateParams, };
|
|
24
|
+
export { Signup as Signup, type SignupListResponse as SignupListResponse, type SignupRetrieveStatusResponse as SignupRetrieveStatusResponse, type SignupListResponsesDefaultFlatPagination as SignupListResponsesDefaultFlatPagination, type SignupListParams as SignupListParams, };
|
|
21
25
|
}
|
|
22
26
|
//# sourceMappingURL=whatsapp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.d.ts","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAEA,OAAO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KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,sCAAsC,IAAI,sCAAsC,EACrF,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2CAA2C,IAAI,2CAA2C,EAC/F,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Whatsapp = void 0;
|
|
5
5
|
const tslib_1 = require("../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const SignupAPI = tslib_1.__importStar(require("./signup.js"));
|
|
8
|
+
const signup_1 = require("./signup.js");
|
|
7
9
|
const TemplatesAPI = tslib_1.__importStar(require("./templates.js"));
|
|
8
10
|
const templates_1 = require("./templates.js");
|
|
9
11
|
const UserDataAPI = tslib_1.__importStar(require("./user-data.js"));
|
|
@@ -19,6 +21,7 @@ class Whatsapp extends resource_1.APIResource {
|
|
|
19
21
|
this.templates = new TemplatesAPI.Templates(this._client);
|
|
20
22
|
this.phoneNumbers = new PhoneNumbersAPI.PhoneNumbers(this._client);
|
|
21
23
|
this.userData = new UserDataAPI.UserData(this._client);
|
|
24
|
+
this.signup = new SignupAPI.Signup(this._client);
|
|
22
25
|
}
|
|
23
26
|
}
|
|
24
27
|
exports.Whatsapp = Whatsapp;
|
|
@@ -26,4 +29,5 @@ Whatsapp.BusinessAccounts = business_accounts_1.BusinessAccounts;
|
|
|
26
29
|
Whatsapp.Templates = templates_1.Templates;
|
|
27
30
|
Whatsapp.PhoneNumbers = phone_numbers_1.PhoneNumbers;
|
|
28
31
|
Whatsapp.UserData = user_data_1.UserData;
|
|
32
|
+
Whatsapp.Signup = signup_1.Signup;
|
|
29
33
|
//# sourceMappingURL=whatsapp.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.js","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,qEAA4C;AAC5C,8CAUqB;AACrB,oEAA2C;AAC3C,8CAMqB;AACrB,sGAA6E;AAC7E,gFAM+C;AAC/C,0FAAiE;AACjE,oEAYuC;AAEvC,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"whatsapp.js","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAMkB;AAClB,qEAA4C;AAC5C,8CAUqB;AACrB,oEAA2C;AAC3C,8CAMqB;AACrB,sGAA6E;AAC7E,gFAM+C;AAC/C,0FAAiE;AACjE,oEAYuC;AAEvC,MAAa,QAAS,SAAQ,sBAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,GAA2B,IAAI,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7E,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AARD,4BAQC;AAED,QAAQ,CAAC,gBAAgB,GAAG,oCAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,qBAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,4BAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,oBAAQ,CAAC;AAC7B,QAAQ,CAAC,MAAM,GAAG,eAAM,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 SignupAPI from "./signup.mjs";
|
|
4
|
+
import { Signup, } from "./signup.mjs";
|
|
3
5
|
import * as TemplatesAPI from "./templates.mjs";
|
|
4
6
|
import { Templates, } from "./templates.mjs";
|
|
5
7
|
import * as UserDataAPI from "./user-data.mjs";
|
|
@@ -15,10 +17,12 @@ export class Whatsapp extends APIResource {
|
|
|
15
17
|
this.templates = new TemplatesAPI.Templates(this._client);
|
|
16
18
|
this.phoneNumbers = new PhoneNumbersAPI.PhoneNumbers(this._client);
|
|
17
19
|
this.userData = new UserDataAPI.UserData(this._client);
|
|
20
|
+
this.signup = new SignupAPI.Signup(this._client);
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
Whatsapp.BusinessAccounts = BusinessAccounts;
|
|
21
24
|
Whatsapp.Templates = Templates;
|
|
22
25
|
Whatsapp.PhoneNumbers = PhoneNumbers;
|
|
23
26
|
Whatsapp.UserData = UserData;
|
|
27
|
+
Whatsapp.Signup = Signup;
|
|
24
28
|
//# sourceMappingURL=whatsapp.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whatsapp.mjs","sourceRoot":"","sources":["../../src/resources/whatsapp/whatsapp.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,YAAY,wBAAoB;AAC5C,OAAO,EAIL,SAAS,GAMV,wBAAoB;AACrB,OAAO,KAAK,WAAW,wBAAoB;AAC3C,OAAO,EACL,QAAQ,GAKT,wBAAoB;AACrB,OAAO,KAAK,mBAAmB,kDAA8C;AAC7E,OAAO,EAKL,gBAAgB,GACjB,kDAA8C;AAC/C,OAAO,KAAK,eAAe,0CAAsC;AACjE,OAAO,EAWL,YAAY,GACb,0CAAsC;AAEvC,MAAM,OAAO,QAAS,SAAQ,WAAW;IAAzC;;QACE,qBAAgB,GAAyC,IAAI,mBAAmB,CAAC,gBAAgB,CAC/F,IAAI,CAAC,OAAO,CACb,CAAC;QACF,cAAS,G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gBAAgB,GAAG,gBAAgB,CAAC;AAC7C,QAAQ,CAAC,SAAS,GAAG,SAAS,CAAC;AAC/B,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC;AACrC,QAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAC;AAC7B,QAAQ,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
package/src/client.ts
CHANGED
|
@@ -305,6 +305,7 @@ import {
|
|
|
305
305
|
} from './resources/email-events';
|
|
306
306
|
import {
|
|
307
307
|
EmailTemplate,
|
|
308
|
+
EmailTemplateCommon,
|
|
308
309
|
EmailTemplateCreateParams,
|
|
309
310
|
EmailTemplateListParams,
|
|
310
311
|
EmailTemplateRenderParams,
|
|
@@ -872,12 +873,27 @@ import {
|
|
|
872
873
|
SimCardOrders,
|
|
873
874
|
SimCardOrdersDefaultFlatPagination,
|
|
874
875
|
} from './resources/sim-card-orders';
|
|
876
|
+
import {
|
|
877
|
+
SipRegistrationStatus,
|
|
878
|
+
SipRegistrationStatusListParams,
|
|
879
|
+
SipRegistrationStatusListResponse,
|
|
880
|
+
} from './resources/sip-registration-status';
|
|
875
881
|
import {
|
|
876
882
|
SiprecConnectorCreateParams,
|
|
877
883
|
SiprecConnectorResponse,
|
|
878
884
|
SiprecConnectorUpdateParams,
|
|
879
885
|
SiprecConnectors,
|
|
880
886
|
} from './resources/siprec-connectors';
|
|
887
|
+
import {
|
|
888
|
+
SpendLimit,
|
|
889
|
+
SpendLimitCreateParams,
|
|
890
|
+
SpendLimitDeleteParams,
|
|
891
|
+
SpendLimitListResponse,
|
|
892
|
+
SpendLimitPeriod,
|
|
893
|
+
SpendLimitResponse,
|
|
894
|
+
SpendLimitUpdateParams,
|
|
895
|
+
SpendLimits,
|
|
896
|
+
} from './resources/spend-limits';
|
|
881
897
|
import {
|
|
882
898
|
NumbersSubNumberOrder,
|
|
883
899
|
SubNumberOrder,
|
|
@@ -1050,10 +1066,12 @@ import {
|
|
|
1050
1066
|
CallAnsweredWebhookEvent,
|
|
1051
1067
|
CallBridged,
|
|
1052
1068
|
CallBridgedWebhookEvent,
|
|
1069
|
+
CallConversationCreatedWebhookEvent,
|
|
1053
1070
|
CallConversationEnded,
|
|
1054
1071
|
CallConversationEndedWebhookEvent,
|
|
1055
1072
|
CallConversationInsightsGenerated,
|
|
1056
1073
|
CallConversationInsightsGeneratedWebhookEvent,
|
|
1074
|
+
CallConversationStartFailedWebhookEvent,
|
|
1057
1075
|
CallCostWebhookEvent,
|
|
1058
1076
|
CallDeepfakeDetectionErrorWebhookEvent,
|
|
1059
1077
|
CallDeepfakeDetectionResultWebhookEvent,
|
|
@@ -1078,8 +1096,10 @@ import {
|
|
|
1078
1096
|
CallMachineDetectionEndedWebhookEvent,
|
|
1079
1097
|
CallMachineGreetingEnded,
|
|
1080
1098
|
CallMachineGreetingEndedWebhookEvent,
|
|
1099
|
+
CallMachinePremiumCallScreeningDetectedWebhookEvent,
|
|
1081
1100
|
CallMachinePremiumDetectionEnded,
|
|
1082
1101
|
CallMachinePremiumDetectionEndedWebhookEvent,
|
|
1102
|
+
CallMachinePremiumDetectionStartedWebhookEvent,
|
|
1083
1103
|
CallMachinePremiumGreetingEnded,
|
|
1084
1104
|
CallMachinePremiumGreetingEndedWebhookEvent,
|
|
1085
1105
|
CallPaymentCompletedWebhookEvent,
|
|
@@ -1158,6 +1178,9 @@ import {
|
|
|
1158
1178
|
MessagingInboundMessage,
|
|
1159
1179
|
NumberOrderStatusUpdate,
|
|
1160
1180
|
NumberOrderStatusUpdateWebhookEvent,
|
|
1181
|
+
NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
1182
|
+
NumberReputationNumberFlaggedWebhookEvent,
|
|
1183
|
+
NumberReputationNumberRemovedWebhookEvent,
|
|
1161
1184
|
OutboundMessage,
|
|
1162
1185
|
RecordingAvailableWebhookEvent,
|
|
1163
1186
|
ReplacedLinkClick,
|
|
@@ -1171,6 +1194,7 @@ import {
|
|
|
1171
1194
|
Webhooks,
|
|
1172
1195
|
WhatsappAccountUpdate,
|
|
1173
1196
|
WhatsappMessageEcho,
|
|
1197
|
+
WhatsappWabaAddedWebhookEvent,
|
|
1174
1198
|
} from './resources/webhooks';
|
|
1175
1199
|
import {
|
|
1176
1200
|
WellKnown,
|
|
@@ -1304,19 +1328,25 @@ import {
|
|
|
1304
1328
|
EncryptedMedia,
|
|
1305
1329
|
} from './resources/credential-connections/credential-connections';
|
|
1306
1330
|
import {
|
|
1331
|
+
BpoAuthorizationInput,
|
|
1307
1332
|
Dir,
|
|
1333
|
+
DirBpoLoaParams,
|
|
1334
|
+
DirDeleteResponse,
|
|
1308
1335
|
DirList,
|
|
1309
1336
|
DirListDocumentTypesResponse,
|
|
1310
1337
|
DirListInfringementClaimsParams,
|
|
1311
1338
|
DirListParams,
|
|
1312
1339
|
DirNewLoaParams,
|
|
1313
1340
|
DirResource,
|
|
1341
|
+
DirRetrieveBpoAuthorizationsParams,
|
|
1342
|
+
DirRetrieveBpoAuthorizationsResponse,
|
|
1314
1343
|
DirStatus,
|
|
1315
1344
|
DirUpdateInfringementParams,
|
|
1316
1345
|
DirUpdateParams,
|
|
1317
1346
|
DirWrapped,
|
|
1318
1347
|
DirsDefaultFlatPagination,
|
|
1319
1348
|
Document,
|
|
1349
|
+
SignaturePayload,
|
|
1320
1350
|
} from './resources/dir/dir';
|
|
1321
1351
|
import {
|
|
1322
1352
|
EmailBlock,
|
|
@@ -1450,6 +1480,7 @@ import {
|
|
|
1450
1480
|
WebhookAPIVersion,
|
|
1451
1481
|
} from './resources/fqdn-connections/fqdn-connections';
|
|
1452
1482
|
import { Legacy } from './resources/legacy/legacy';
|
|
1483
|
+
import { LlmTokenGateway } from './resources/llm-token-gateway/llm-token-gateway';
|
|
1453
1484
|
import {
|
|
1454
1485
|
ManagedAccount,
|
|
1455
1486
|
ManagedAccountBalance,
|
|
@@ -3292,6 +3323,21 @@ export class Telnyx {
|
|
|
3292
3323
|
* Machine payment (MPP) account-credit operations. Fund your Telnyx account programmatically from a machine or agent using the Machine Payment Protocol, an HTTP-402 flow settled via Stripe or Tempo.
|
|
3293
3324
|
*/
|
|
3294
3325
|
machinePayments: API.MachinePayments = new API.MachinePayments(this);
|
|
3326
|
+
/**
|
|
3327
|
+
* Daily and monthly spend limits per product. A limit applies to the organization of the authenticated user, or to the user's own account when they belong to no organization; every user of the organization sees and changes the same limits.
|
|
3328
|
+
*
|
|
3329
|
+
* - **Periods.** `daily` covers the current UTC day and `monthly` the current UTC calendar month. The two limits are independent: you can set either, both or neither.
|
|
3330
|
+
* - **Blocking.** When spend in a period goes above the limit (strictly greater), the product is blocked until the period ends: 00:00 UTC the next day for `daily`, 00:00 UTC on the 1st of the next month for `monthly`. A block appears within about 2 minutes (daily) or 10 minutes (monthly) of the spend being recorded.
|
|
3331
|
+
* - **Changes apply immediately.** Creating, updating or deleting a limit checks the period's spend in the same request: raising the limit above the spend, or removing it, lifts that period's block, and lowering it below the spend blocks the product at once. The `evaluation` object in the response says what happened.
|
|
3332
|
+
* - **Supported products.** Today only `inference` supports spend limits. A blocked account gets HTTP 403 with the error title `Inference spend limit reached` (code `10039`) on new billable chat completions, Responses, Anthropic Messages and classification requests; requests already running finish normally. Take the list of products from the list operation.
|
|
3333
|
+
* - **Limits set by Telnyx.** Telnyx support can also set a limit on your account. It is listed with `origin: operator` and you can update or delete it like your own.
|
|
3334
|
+
*/
|
|
3335
|
+
spendLimits: API.SpendLimits = new API.SpendLimits(this);
|
|
3336
|
+
llmTokenGateway: API.LlmTokenGateway = new API.LlmTokenGateway(this);
|
|
3337
|
+
/**
|
|
3338
|
+
* UAC connection operations
|
|
3339
|
+
*/
|
|
3340
|
+
sipRegistrationStatus: API.SipRegistrationStatus = new API.SipRegistrationStatus(this);
|
|
3295
3341
|
}
|
|
3296
3342
|
|
|
3297
3343
|
Telnyx.Legacy = Legacy;
|
|
@@ -3482,6 +3528,9 @@ Telnyx.BotChallenge = BotChallenge;
|
|
|
3482
3528
|
Telnyx.BotSessions = BotSessions;
|
|
3483
3529
|
Telnyx.BotSignup = BotSignup;
|
|
3484
3530
|
Telnyx.MachinePayments = MachinePayments;
|
|
3531
|
+
Telnyx.SpendLimits = SpendLimits;
|
|
3532
|
+
Telnyx.LlmTokenGateway = LlmTokenGateway;
|
|
3533
|
+
Telnyx.SipRegistrationStatus = SipRegistrationStatus;
|
|
3485
3534
|
|
|
3486
3535
|
export declare namespace Telnyx {
|
|
3487
3536
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -3672,8 +3721,10 @@ export declare namespace Telnyx {
|
|
|
3672
3721
|
type ArtifactFailedWebhookEvent as ArtifactFailedWebhookEvent,
|
|
3673
3722
|
type CallAnsweredWebhookEvent as CallAnsweredWebhookEvent,
|
|
3674
3723
|
type CallBridgedWebhookEvent as CallBridgedWebhookEvent,
|
|
3724
|
+
type CallConversationCreatedWebhookEvent as CallConversationCreatedWebhookEvent,
|
|
3675
3725
|
type CallConversationEndedWebhookEvent as CallConversationEndedWebhookEvent,
|
|
3676
3726
|
type CallConversationInsightsGeneratedWebhookEvent as CallConversationInsightsGeneratedWebhookEvent,
|
|
3727
|
+
type CallConversationStartFailedWebhookEvent as CallConversationStartFailedWebhookEvent,
|
|
3677
3728
|
type CallCostWebhookEvent as CallCostWebhookEvent,
|
|
3678
3729
|
type CallDeepfakeDetectionErrorWebhookEvent as CallDeepfakeDetectionErrorWebhookEvent,
|
|
3679
3730
|
type CallDeepfakeDetectionResultWebhookEvent as CallDeepfakeDetectionResultWebhookEvent,
|
|
@@ -3688,7 +3739,9 @@ export declare namespace Telnyx {
|
|
|
3688
3739
|
type CallLeftQueueWebhookEvent as CallLeftQueueWebhookEvent,
|
|
3689
3740
|
type CallMachineDetectionEndedWebhookEvent as CallMachineDetectionEndedWebhookEvent,
|
|
3690
3741
|
type CallMachineGreetingEndedWebhookEvent as CallMachineGreetingEndedWebhookEvent,
|
|
3742
|
+
type CallMachinePremiumCallScreeningDetectedWebhookEvent as CallMachinePremiumCallScreeningDetectedWebhookEvent,
|
|
3691
3743
|
type CallMachinePremiumDetectionEndedWebhookEvent as CallMachinePremiumDetectionEndedWebhookEvent,
|
|
3744
|
+
type CallMachinePremiumDetectionStartedWebhookEvent as CallMachinePremiumDetectionStartedWebhookEvent,
|
|
3692
3745
|
type CallMachinePremiumGreetingEndedWebhookEvent as CallMachinePremiumGreetingEndedWebhookEvent,
|
|
3693
3746
|
type CallPaymentCompletedWebhookEvent as CallPaymentCompletedWebhookEvent,
|
|
3694
3747
|
type CallPaymentProgressWebhookEvent as CallPaymentProgressWebhookEvent,
|
|
@@ -3726,11 +3779,15 @@ export declare namespace Telnyx {
|
|
|
3726
3779
|
type HostedNumberOrderEventWebhookEvent as HostedNumberOrderEventWebhookEvent,
|
|
3727
3780
|
type InboundMessageWebhookEvent as InboundMessageWebhookEvent,
|
|
3728
3781
|
type NumberOrderStatusUpdateWebhookEvent as NumberOrderStatusUpdateWebhookEvent,
|
|
3782
|
+
type NumberReputationExternalVerificationStatusChangedWebhookEvent as NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
3783
|
+
type NumberReputationNumberFlaggedWebhookEvent as NumberReputationNumberFlaggedWebhookEvent,
|
|
3784
|
+
type NumberReputationNumberRemovedWebhookEvent as NumberReputationNumberRemovedWebhookEvent,
|
|
3729
3785
|
type RecordingAvailableWebhookEvent as RecordingAvailableWebhookEvent,
|
|
3730
3786
|
type ReplacedLinkClickWebhookEvent as ReplacedLinkClickWebhookEvent,
|
|
3731
3787
|
type SessionStatusChangedWebhookEvent as SessionStatusChangedWebhookEvent,
|
|
3732
3788
|
type TranscriptCompletedWebhookEvent as TranscriptCompletedWebhookEvent,
|
|
3733
3789
|
type TranscriptionWebhookEvent as TranscriptionWebhookEvent,
|
|
3790
|
+
type WhatsappWabaAddedWebhookEvent as WhatsappWabaAddedWebhookEvent,
|
|
3734
3791
|
type UnsafeUnwrapWebhookEvent as UnsafeUnwrapWebhookEvent,
|
|
3735
3792
|
type UnwrapWebhookEvent as UnwrapWebhookEvent,
|
|
3736
3793
|
};
|
|
@@ -5352,18 +5409,24 @@ export declare namespace Telnyx {
|
|
|
5352
5409
|
|
|
5353
5410
|
export {
|
|
5354
5411
|
DirResource as DirResource,
|
|
5412
|
+
type BpoAuthorizationInput as BpoAuthorizationInput,
|
|
5355
5413
|
type Dir as Dir,
|
|
5356
5414
|
type DirList as DirList,
|
|
5357
5415
|
type DirStatus as DirStatus,
|
|
5358
5416
|
type DirWrapped as DirWrapped,
|
|
5359
5417
|
type Document as Document,
|
|
5418
|
+
type SignaturePayload as SignaturePayload,
|
|
5419
|
+
type DirDeleteResponse as DirDeleteResponse,
|
|
5360
5420
|
type DirListDocumentTypesResponse as DirListDocumentTypesResponse,
|
|
5421
|
+
type DirRetrieveBpoAuthorizationsResponse as DirRetrieveBpoAuthorizationsResponse,
|
|
5361
5422
|
type DirsDefaultFlatPagination as DirsDefaultFlatPagination,
|
|
5362
5423
|
type DirListParams as DirListParams,
|
|
5363
5424
|
type DirUpdateParams as DirUpdateParams,
|
|
5364
5425
|
type DirListInfringementClaimsParams as DirListInfringementClaimsParams,
|
|
5365
5426
|
type DirUpdateInfringementParams as DirUpdateInfringementParams,
|
|
5366
5427
|
type DirNewLoaParams as DirNewLoaParams,
|
|
5428
|
+
type DirRetrieveBpoAuthorizationsParams as DirRetrieveBpoAuthorizationsParams,
|
|
5429
|
+
type DirBpoLoaParams as DirBpoLoaParams,
|
|
5367
5430
|
};
|
|
5368
5431
|
|
|
5369
5432
|
export {
|
|
@@ -5449,6 +5512,7 @@ export declare namespace Telnyx {
|
|
|
5449
5512
|
export {
|
|
5450
5513
|
EmailTemplates as EmailTemplates,
|
|
5451
5514
|
type EmailTemplate as EmailTemplate,
|
|
5515
|
+
type EmailTemplateCommon as EmailTemplateCommon,
|
|
5452
5516
|
type EmailTemplateResponse as EmailTemplateResponse,
|
|
5453
5517
|
type UpdateEmailTemplateRequest as UpdateEmailTemplateRequest,
|
|
5454
5518
|
type EmailTemplateRenderResponse as EmailTemplateRenderResponse,
|
|
@@ -5548,6 +5612,25 @@ export declare namespace Telnyx {
|
|
|
5548
5612
|
type MachinePaymentAccountCreditParams as MachinePaymentAccountCreditParams,
|
|
5549
5613
|
};
|
|
5550
5614
|
|
|
5615
|
+
export {
|
|
5616
|
+
SpendLimits as SpendLimits,
|
|
5617
|
+
type SpendLimit as SpendLimit,
|
|
5618
|
+
type SpendLimitPeriod as SpendLimitPeriod,
|
|
5619
|
+
type SpendLimitResponse as SpendLimitResponse,
|
|
5620
|
+
type SpendLimitListResponse as SpendLimitListResponse,
|
|
5621
|
+
type SpendLimitCreateParams as SpendLimitCreateParams,
|
|
5622
|
+
type SpendLimitDeleteParams as SpendLimitDeleteParams,
|
|
5623
|
+
type SpendLimitUpdateParams as SpendLimitUpdateParams,
|
|
5624
|
+
};
|
|
5625
|
+
|
|
5626
|
+
export { LlmTokenGateway as LlmTokenGateway };
|
|
5627
|
+
|
|
5628
|
+
export {
|
|
5629
|
+
SipRegistrationStatus as SipRegistrationStatus,
|
|
5630
|
+
type SipRegistrationStatusListResponse as SipRegistrationStatusListResponse,
|
|
5631
|
+
type SipRegistrationStatusListParams as SipRegistrationStatusListParams,
|
|
5632
|
+
};
|
|
5633
|
+
|
|
5551
5634
|
export type APIError = API.APIError;
|
|
5552
5635
|
export type AvailablePhoneNumbersMetadata = API.AvailablePhoneNumbersMetadata;
|
|
5553
5636
|
export type AzureVoiceSettings = API.AzureVoiceSettings;
|