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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.d.mts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,4BAAwB;AAClD,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,mCAA+B;AACjF,OAAO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ACF,KAAK,GAAE,aAAa,GAAG,IAAI,GAAG,SAAc,EAC5C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yBAAyB,EAAE,GAAG,CAAC;IAI9C;;;;;;;;;;OAUG;IACH,iBAAiB,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAIrF
|
|
1
|
+
{"version":3,"file":"dir.d.mts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,4BAAwB;AAClD,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,mCAA+B;AACjF,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,EACV,gCAAgC,EACjC,uBAAmB;AACpB,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,kBAAkB,EAClB,uCAAuC,EACxC,mCAA+B;AAChC,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EACL,cAAc,EACd,oCAAoC,EACpC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,YAAY,EACZ,eAAe,EAChB,4BAAwB;AACzB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,SAAS,EACT,qBAAqB,EACrB,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,uBAAuB,EACvB,UAAU,EACX,yBAAqB;AACtB,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EACL,uBAAuB,EACvB,8BAA8B,EAC9B,WAAW,EACX,wBAAwB,EACzB,2BAAuB;AACxB,OAAO,KAAK,MAA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iBAAiB,EAC3C,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,kBAAkB,IAAI,kBAAkB,EACxC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;IAEF,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,uCAAuC,EAAE,CAAC"}
|
package/resources/dir/dir.d.ts
CHANGED
|
@@ -54,18 +54,22 @@ export declare class DirResource extends APIResource {
|
|
|
54
54
|
*/
|
|
55
55
|
listDocumentTypes(options?: RequestOptions): APIPromise<DirListDocumentTypesResponse>;
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
* Request deletion of a DIR. This does not remove the DIR on this call: it records
|
|
58
|
+
* the request, moves the DIR to `delete_requested`, and Telnyx completes the
|
|
59
|
+
* removal (de-registration and cleanup) shortly after. A verified DIR keeps
|
|
60
|
+
* serving its branded identity, and keeps billing, until the removal is executed.
|
|
61
|
+
* Failure modes: `400` if a child phone number is still attached or the DIR is
|
|
62
|
+
* `in_review` (wait for the review to finish), `409` if the DIR has an unresolved
|
|
63
|
+
* infringement claim, `404` if the DIR is not yours.
|
|
60
64
|
*
|
|
61
65
|
* @example
|
|
62
66
|
* ```ts
|
|
63
|
-
* await client.dir.delete(
|
|
67
|
+
* const dir = await client.dir.delete(
|
|
64
68
|
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
65
69
|
* );
|
|
66
70
|
* ```
|
|
67
71
|
*/
|
|
68
|
-
delete(dirID: string, options?: RequestOptions): APIPromise<
|
|
72
|
+
delete(dirID: string, options?: RequestOptions): APIPromise<DirDeleteResponse>;
|
|
69
73
|
/**
|
|
70
74
|
* Returns a single DIR by id. The enterprise is resolved server-side from the DIR
|
|
71
75
|
* id. Returns `404` if the DIR does not exist or is not yours.
|
|
@@ -82,11 +86,14 @@ export declare class DirResource extends APIResource {
|
|
|
82
86
|
* Edit a DIR. DIRs in `draft`, `rejected`, `unsuccessful`, or `suspended` can be
|
|
83
87
|
* edited freely: PATCH is a pure edit, `status` is never changed, and you re-vet
|
|
84
88
|
* by calling `POST /v2/dir/{dir_id}/submit` explicitly. A `verified` DIR can also
|
|
85
|
-
* be edited in place: a PATCH that changes any value returns the DIR to `draft
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
89
|
+
* be edited in place: a PATCH that changes any value returns the DIR to `draft`;
|
|
90
|
+
* the currently approved identity keeps displaying, and the edited content goes
|
|
91
|
+
* live only after you re-submit and the DIR is approved again. A PATCH that
|
|
92
|
+
* changes nothing (an empty body or values identical to the current ones) leaves
|
|
93
|
+
* the DIR `verified`, so idempotent retries are safe. Changing only
|
|
94
|
+
* `bpo_authorizations` or `webhook_url` is the exception: the DIR stays
|
|
95
|
+
* `verified`. Each BPO authorization is reviewed on its own instead. DIRs in any
|
|
96
|
+
* other status (`submitted`, `in_review`, `expired`, `infringement_claimed`,
|
|
90
97
|
* `permanently_rejected`) cannot be edited.
|
|
91
98
|
*
|
|
92
99
|
* @example
|
|
@@ -159,7 +166,7 @@ export declare class DirResource extends APIResource {
|
|
|
159
166
|
*
|
|
160
167
|
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
161
168
|
* if the DIR's business and financial references have not been submitted. Returns
|
|
162
|
-
* `
|
|
169
|
+
* `400` if the DIR has an unresolved infringement claim.
|
|
163
170
|
*
|
|
164
171
|
* @example
|
|
165
172
|
* ```ts
|
|
@@ -193,8 +200,76 @@ export declare class DirResource extends APIResource {
|
|
|
193
200
|
* ```
|
|
194
201
|
*/
|
|
195
202
|
newLoa(dirID: string, body: DirNewLoaParams, options?: RequestOptions): APIPromise<Response>;
|
|
203
|
+
/**
|
|
204
|
+
* List the BPO (Business Process Outsourcer) accounts a Brand Owner has authorized
|
|
205
|
+
* on this DIR, together with the review state of each authorization.
|
|
206
|
+
*
|
|
207
|
+
* Authorizations are supplied as the `bpo_authorizations` array when creating or
|
|
208
|
+
* updating a DIR, and each one is reviewed on its own. Only an `approved`
|
|
209
|
+
* authorization adds that BPO to this DIR's authorized callers in the branded
|
|
210
|
+
* calling registry; `pending` and `rejected` authorizations do not. Each entry
|
|
211
|
+
* includes the `loa_document_id` you submitted: because `bpo_authorizations`
|
|
212
|
+
* replaces the whole list on every DIR update, send each entry you want to keep
|
|
213
|
+
* back with its `loa_document_id` unchanged, and it keeps its review state. A
|
|
214
|
+
* rejected entry carries a `rejection_reason`. Returns an empty list when the DIR
|
|
215
|
+
* has authorized no BPOs.
|
|
216
|
+
*
|
|
217
|
+
* @example
|
|
218
|
+
* ```ts
|
|
219
|
+
* const response = await client.dir.retrieveBpoAuthorizations(
|
|
220
|
+
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
221
|
+
* );
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
retrieveBpoAuthorizations(dirID: string, query?: DirRetrieveBpoAuthorizationsParams | null | undefined, options?: RequestOptions): APIPromise<DirRetrieveBpoAuthorizationsResponse>;
|
|
225
|
+
/**
|
|
226
|
+
* The Letter of Authorization in which a Brand Owner authorizes an approved BPO
|
|
227
|
+
* (Business Process Outsourcer) to place branded calls that display this DIR on
|
|
228
|
+
* the owner's behalf. Both parties are read from the caller's account: the Brand
|
|
229
|
+
* Owner is the enterprise that owns the DIR, and the BPO is `bpo_enterprise_id`.
|
|
230
|
+
* No business identity is accepted in the body.
|
|
231
|
+
*
|
|
232
|
+
* When `signature` is omitted the PDF is returned unsigned so the Brand Owner can
|
|
233
|
+
* sign it externally and the BPO can upload it via the Documents API. When
|
|
234
|
+
* `signature` is present the PDF embeds the supplied image, printed name, and
|
|
235
|
+
* signed-at date.
|
|
236
|
+
*
|
|
237
|
+
* Returns `application/pdf`.
|
|
238
|
+
*
|
|
239
|
+
* @example
|
|
240
|
+
* ```ts
|
|
241
|
+
* const response = await client.dir.bpoLoa(
|
|
242
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
243
|
+
* {
|
|
244
|
+
* bpo_enterprise_id:
|
|
245
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
246
|
+
* },
|
|
247
|
+
* );
|
|
248
|
+
*
|
|
249
|
+
* const content = await response.blob();
|
|
250
|
+
* console.log(content);
|
|
251
|
+
* ```
|
|
252
|
+
*/
|
|
253
|
+
bpoLoa(dirID: string, body: DirBpoLoaParams, options?: RequestOptions): APIPromise<Response>;
|
|
196
254
|
}
|
|
197
255
|
export type DirsDefaultFlatPagination = DefaultFlatPagination<Dir>;
|
|
256
|
+
/**
|
|
257
|
+
* One authorization to include when creating or updating a DIR: an approved BPO
|
|
258
|
+
* (Business Process Outsourcer) account plus the signed Letter of Authorization
|
|
259
|
+
* the Brand Owner granted it.
|
|
260
|
+
*/
|
|
261
|
+
export interface BpoAuthorizationInput {
|
|
262
|
+
/**
|
|
263
|
+
* Enterprise id of an approved BPO (Business Process Outsourcer) account on your
|
|
264
|
+
* organization to authorize for this DIR.
|
|
265
|
+
*/
|
|
266
|
+
bpo_enterprise_id: string;
|
|
267
|
+
/**
|
|
268
|
+
* Id of the signed Letter of Authorization document (uploaded via the Telnyx
|
|
269
|
+
* Documents API) in which the Brand Owner authorizes this BPO.
|
|
270
|
+
*/
|
|
271
|
+
loa_document_id: string;
|
|
272
|
+
}
|
|
198
273
|
export interface Dir {
|
|
199
274
|
id?: string;
|
|
200
275
|
authorizer_email?: string | null;
|
|
@@ -204,6 +279,11 @@ export interface Dir {
|
|
|
204
279
|
certify_ip_ownership?: boolean;
|
|
205
280
|
certify_no_shaft_content?: boolean;
|
|
206
281
|
created_at?: string;
|
|
282
|
+
/**
|
|
283
|
+
* When deletion was requested. Set once the DIR enters `delete_requested`; `null`
|
|
284
|
+
* otherwise.
|
|
285
|
+
*/
|
|
286
|
+
delete_requested_at?: string | null;
|
|
207
287
|
display_name?: string;
|
|
208
288
|
documents?: Array<Document> | null;
|
|
209
289
|
enterprise_id?: string;
|
|
@@ -231,11 +311,20 @@ export interface Dir {
|
|
|
231
311
|
* - `infringement_claimed` - a trademark/impersonation claim is open against this
|
|
232
312
|
* DIR.
|
|
233
313
|
* - `permanently_rejected` - terminal; cannot be resubmitted.
|
|
314
|
+
* - `delete_requested` - you have requested deletion; the DIR still exists and
|
|
315
|
+
* Telnyx is completing the removal (de-registration and cleanup). A verified DIR
|
|
316
|
+
* keeps serving its branded identity, and keeps billing, until the removal
|
|
317
|
+
* finishes.
|
|
234
318
|
*/
|
|
235
319
|
status?: DirStatus;
|
|
236
320
|
submitted_at?: string | null;
|
|
237
321
|
updated_at?: string;
|
|
238
322
|
verified_at?: string | null;
|
|
323
|
+
/**
|
|
324
|
+
* `https://` URL that receives webhook notifications for this DIR's
|
|
325
|
+
* compliance-review outcomes. `null` when not subscribed.
|
|
326
|
+
*/
|
|
327
|
+
webhook_url?: string | null;
|
|
239
328
|
}
|
|
240
329
|
export declare namespace Dir {
|
|
241
330
|
interface CallReason {
|
|
@@ -268,8 +357,12 @@ export interface DirList {
|
|
|
268
357
|
* - `infringement_claimed` - a trademark/impersonation claim is open against this
|
|
269
358
|
* DIR.
|
|
270
359
|
* - `permanently_rejected` - terminal; cannot be resubmitted.
|
|
360
|
+
* - `delete_requested` - you have requested deletion; the DIR still exists and
|
|
361
|
+
* Telnyx is completing the removal (de-registration and cleanup). A verified DIR
|
|
362
|
+
* keeps serving its branded identity, and keeps billing, until the removal
|
|
363
|
+
* finishes.
|
|
271
364
|
*/
|
|
272
|
-
export type DirStatus = 'draft' | 'submitted' | 'in_review' | 'verified' | 'rejected' | 'unsuccessful' | 'suspended' | 'expired' | 'infringement_claimed' | 'permanently_rejected';
|
|
365
|
+
export type DirStatus = 'draft' | 'submitted' | 'in_review' | 'verified' | 'rejected' | 'unsuccessful' | 'suspended' | 'expired' | 'infringement_claimed' | 'permanently_rejected' | 'delete_requested';
|
|
273
366
|
export interface DirWrapped {
|
|
274
367
|
data: Dir;
|
|
275
368
|
}
|
|
@@ -285,8 +378,37 @@ export interface Document {
|
|
|
285
378
|
* short_name reference list is at `GET /v2/dir/document_types`.
|
|
286
379
|
*/
|
|
287
380
|
document_type: 'letter_of_authorization' | 'business_registration' | 'articles_of_incorporation' | 'tax_document' | 'ein_letter' | 'trademark_registration' | 'website_ownership' | 'business_license' | 'professional_license' | 'government_id' | 'utility_bill' | 'bank_statement' | 'other';
|
|
381
|
+
/**
|
|
382
|
+
* An optional note describing this document, for example what it proves.
|
|
383
|
+
*/
|
|
288
384
|
description?: string;
|
|
289
385
|
}
|
|
386
|
+
export interface SignaturePayload {
|
|
387
|
+
/**
|
|
388
|
+
* PNG image, base64-encoded.
|
|
389
|
+
*/
|
|
390
|
+
image_base64: string;
|
|
391
|
+
/**
|
|
392
|
+
* Optional. When absent the rendered PDF falls back to the enterprise contact's
|
|
393
|
+
* legal name.
|
|
394
|
+
*/
|
|
395
|
+
signer_name?: string | null;
|
|
396
|
+
}
|
|
397
|
+
export interface DirDeleteResponse {
|
|
398
|
+
data: DirDeleteResponse.Data;
|
|
399
|
+
}
|
|
400
|
+
export declare namespace DirDeleteResponse {
|
|
401
|
+
interface Data {
|
|
402
|
+
/**
|
|
403
|
+
* Id of the DIR whose deletion was requested.
|
|
404
|
+
*/
|
|
405
|
+
id: string;
|
|
406
|
+
/**
|
|
407
|
+
* Always `delete_requested`: the DIR has been queued for removal, not yet removed.
|
|
408
|
+
*/
|
|
409
|
+
status: 'delete_requested';
|
|
410
|
+
}
|
|
411
|
+
}
|
|
290
412
|
export interface DirListDocumentTypesResponse {
|
|
291
413
|
data: Array<DirListDocumentTypesResponse.Data>;
|
|
292
414
|
/**
|
|
@@ -309,6 +431,53 @@ export declare namespace DirListDocumentTypesResponse {
|
|
|
309
431
|
short_name?: string;
|
|
310
432
|
}
|
|
311
433
|
}
|
|
434
|
+
/**
|
|
435
|
+
* Paginated list of a DIR's BPO authorizations.
|
|
436
|
+
*/
|
|
437
|
+
export interface DirRetrieveBpoAuthorizationsResponse {
|
|
438
|
+
data: Array<DirRetrieveBpoAuthorizationsResponse.Data>;
|
|
439
|
+
/**
|
|
440
|
+
* JSON:API pagination metadata returned with every paginated list response. Page
|
|
441
|
+
* numbering is 1-based. `page_size` reports the number of items actually returned
|
|
442
|
+
* in `data` for this page; the requested size is taken from the `page[size]` query
|
|
443
|
+
* parameter.
|
|
444
|
+
*/
|
|
445
|
+
meta: CallReasonsAPI.BrandedCallingPaginationMeta;
|
|
446
|
+
}
|
|
447
|
+
export declare namespace DirRetrieveBpoAuthorizationsResponse {
|
|
448
|
+
/**
|
|
449
|
+
* A single authorization of a BPO (Business Process Outsourcer) account on a DIR.
|
|
450
|
+
*/
|
|
451
|
+
interface Data {
|
|
452
|
+
/**
|
|
453
|
+
* The authorized BPO account's enterprise id.
|
|
454
|
+
*/
|
|
455
|
+
bpo_enterprise_id: string;
|
|
456
|
+
/**
|
|
457
|
+
* Id of the signed Letter of Authorization document submitted for this BPO. Send
|
|
458
|
+
* it back unchanged in `bpo_authorizations` when updating the DIR to keep this
|
|
459
|
+
* authorization and its review state.
|
|
460
|
+
*/
|
|
461
|
+
loa_document_id: string;
|
|
462
|
+
/**
|
|
463
|
+
* Always `bpo_authorization`.
|
|
464
|
+
*/
|
|
465
|
+
record_type: 'bpo_authorization';
|
|
466
|
+
/**
|
|
467
|
+
* Review state of this authorization. `pending` when the authorization is first
|
|
468
|
+
* added, or when you send a different `loa_document_id` for this BPO in
|
|
469
|
+
* `bpo_authorizations` (uploading a document alone changes nothing). Approving the
|
|
470
|
+
* DIR approves its pending authorizations; an admin can also approve or reject one
|
|
471
|
+
* on its own. Only an `approved` authorization adds the BPO to this DIR's
|
|
472
|
+
* authorized callers in the branded calling registry.
|
|
473
|
+
*/
|
|
474
|
+
status: 'pending' | 'approved' | 'rejected';
|
|
475
|
+
/**
|
|
476
|
+
* Why the authorization was rejected. `null` unless `status` is `rejected`.
|
|
477
|
+
*/
|
|
478
|
+
rejection_reason?: string | null;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
312
481
|
export interface DirListParams extends DefaultFlatPaginationParams {
|
|
313
482
|
/**
|
|
314
483
|
* Case-insensitive partial match on call reason.
|
|
@@ -352,6 +521,15 @@ export interface DirUpdateParams {
|
|
|
352
521
|
* individual.
|
|
353
522
|
*/
|
|
354
523
|
authorizer_name?: string;
|
|
524
|
+
/**
|
|
525
|
+
* Optional. Replace this DIR's authorized BPO (Business Process Outsourcer)
|
|
526
|
+
* accounts with these, each with its signed Letter of Authorization. The supplied
|
|
527
|
+
* list replaces the current one: a BPO left out has its authorization removed, and
|
|
528
|
+
* a new BPO (or a changed Letter of Authorization) is created `pending` admin
|
|
529
|
+
* review. Send an empty list to clear all authorizations; omit the field to leave
|
|
530
|
+
* them unchanged. Editing this list does not re-vet the DIR. Maximum 10.
|
|
531
|
+
*/
|
|
532
|
+
bpo_authorizations?: Array<BpoAuthorizationInput>;
|
|
355
533
|
/**
|
|
356
534
|
* 1–10 reasons your business calls customers. Validate phrasing against
|
|
357
535
|
* `POST /call_reasons/validate`.
|
|
@@ -392,6 +570,12 @@ export interface DirUpdateParams {
|
|
|
392
570
|
* (BPO/reseller). Updating this triggers re-vetting on next submit.
|
|
393
571
|
*/
|
|
394
572
|
reselling?: boolean;
|
|
573
|
+
/**
|
|
574
|
+
* Optional `https://` URL that receives webhook notifications when this DIR's
|
|
575
|
+
* compliance review completes. Send `null` to clear. Changing only this field on a
|
|
576
|
+
* `verified` DIR does not re-vet it. Maximum 2048 characters.
|
|
577
|
+
*/
|
|
578
|
+
webhook_url?: string | null;
|
|
395
579
|
}
|
|
396
580
|
export interface DirListInfringementClaimsParams extends DefaultFlatPaginationParams {
|
|
397
581
|
}
|
|
@@ -405,7 +589,8 @@ export interface DirUpdateInfringementParams {
|
|
|
405
589
|
*/
|
|
406
590
|
certify_ip_ownership: true;
|
|
407
591
|
/**
|
|
408
|
-
*
|
|
592
|
+
* Check to certify that the brand no longer infringes anyone else's trademark or
|
|
593
|
+
* intellectual property.
|
|
409
594
|
*/
|
|
410
595
|
certify_no_infringement: true;
|
|
411
596
|
/**
|
|
@@ -417,6 +602,10 @@ export interface DirUpdateInfringementParams {
|
|
|
417
602
|
*/
|
|
418
603
|
infringement_resolution_notes: string;
|
|
419
604
|
call_reasons?: Array<string> | null;
|
|
605
|
+
/**
|
|
606
|
+
* The business name shown to call recipients, 1 to 35 characters, no emoji, not
|
|
607
|
+
* blank.
|
|
608
|
+
*/
|
|
420
609
|
display_name?: string | null;
|
|
421
610
|
/**
|
|
422
611
|
* Append-only supporting documents to attach while resolving the claim (e.g.
|
|
@@ -435,8 +624,9 @@ export interface DirNewLoaParams {
|
|
|
435
624
|
*/
|
|
436
625
|
phone_numbers: Array<string>;
|
|
437
626
|
/**
|
|
438
|
-
* Third-party reseller / partner managing the enterprise's phone numbers
|
|
439
|
-
*
|
|
627
|
+
* Third-party reseller / partner managing the enterprise's phone numbers on its
|
|
628
|
+
* behalf, such as a call center (BPO) acting for a client. Omit when the
|
|
629
|
+
* enterprise manages its own numbers.
|
|
440
630
|
*/
|
|
441
631
|
agent?: LoaAPI.AgentInput;
|
|
442
632
|
/**
|
|
@@ -444,28 +634,33 @@ export interface DirNewLoaParams {
|
|
|
444
634
|
* name, and signed-at date. When absent the PDF is returned unsigned so the
|
|
445
635
|
* customer can sign externally and upload it via the Documents API.
|
|
446
636
|
*/
|
|
447
|
-
signature?:
|
|
637
|
+
signature?: SignaturePayload;
|
|
638
|
+
}
|
|
639
|
+
export interface DirRetrieveBpoAuthorizationsParams {
|
|
640
|
+
/**
|
|
641
|
+
* 1-based page number. Out-of-range values return an empty page with correct meta.
|
|
642
|
+
*/
|
|
643
|
+
'page[number]'?: number;
|
|
644
|
+
/**
|
|
645
|
+
* Items per page. Maximum 250; values above are clamped to 250.
|
|
646
|
+
*/
|
|
647
|
+
'page[size]'?: number;
|
|
448
648
|
}
|
|
449
|
-
export
|
|
649
|
+
export interface DirBpoLoaParams {
|
|
650
|
+
/**
|
|
651
|
+
* The approved BPO enterprise the Brand Owner is authorizing. Must be a BPO
|
|
652
|
+
* account on the caller's organization that has already been approved.
|
|
653
|
+
*/
|
|
654
|
+
bpo_enterprise_id: string;
|
|
450
655
|
/**
|
|
451
656
|
* Optional. When provided the rendered PDF embeds the signature image, printed
|
|
452
|
-
* name, and signed-at date. When absent the PDF is returned unsigned so the
|
|
453
|
-
*
|
|
657
|
+
* name, and signed-at date. When absent the PDF is returned unsigned so the Brand
|
|
658
|
+
* Owner can sign externally and the BPO can upload it via the Documents API.
|
|
454
659
|
*/
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* PNG image, base64-encoded.
|
|
458
|
-
*/
|
|
459
|
-
image_base64: string;
|
|
460
|
-
/**
|
|
461
|
-
* Optional. When absent the rendered PDF falls back to the enterprise contact's
|
|
462
|
-
* legal name.
|
|
463
|
-
*/
|
|
464
|
-
signer_name?: string | null;
|
|
465
|
-
}
|
|
660
|
+
signature?: SignaturePayload;
|
|
466
661
|
}
|
|
467
662
|
export declare namespace DirResource {
|
|
468
|
-
export { type Dir as Dir, type DirList as DirList, type DirStatus as DirStatus, type DirWrapped as DirWrapped, type Document as Document, type DirListDocumentTypesResponse as DirListDocumentTypesResponse, type DirsDefaultFlatPagination as DirsDefaultFlatPagination, type DirListParams as DirListParams, type DirUpdateParams as DirUpdateParams, type DirListInfringementClaimsParams as DirListInfringementClaimsParams, type DirUpdateInfringementParams as DirUpdateInfringementParams, type DirNewLoaParams as DirNewLoaParams, };
|
|
663
|
+
export { type BpoAuthorizationInput as BpoAuthorizationInput, type Dir as Dir, type DirList as DirList, type DirStatus as DirStatus, type DirWrapped as DirWrapped, type Document as Document, type SignaturePayload as SignaturePayload, type DirDeleteResponse as DirDeleteResponse, type DirListDocumentTypesResponse as DirListDocumentTypesResponse, type DirRetrieveBpoAuthorizationsResponse as DirRetrieveBpoAuthorizationsResponse, type DirsDefaultFlatPagination as DirsDefaultFlatPagination, type DirListParams as DirListParams, type DirUpdateParams as DirUpdateParams, type DirListInfringementClaimsParams as DirListInfringementClaimsParams, type DirUpdateInfringementParams as DirUpdateInfringementParams, type DirNewLoaParams as DirNewLoaParams, type DirRetrieveBpoAuthorizationsParams as DirRetrieveBpoAuthorizationsParams, type DirBpoLoaParams as DirBpoLoaParams, };
|
|
469
664
|
export { Comments as Comments, type CommentType as CommentType, type DirComment as DirComment, type CommentCreateResponse as CommentCreateResponse, type DirCommentsDefaultFlatPagination as DirCommentsDefaultFlatPagination, type CommentListParams as CommentListParams, type CommentCreateParams as CommentCreateParams, };
|
|
470
665
|
export { PhoneNumberBatches as PhoneNumberBatches, type DirPhoneNumberStatus as DirPhoneNumberStatus, type PhoneNumberBatch as PhoneNumberBatch, type PhoneNumberBatchRetrieveResponse as PhoneNumberBatchRetrieveResponse, type PhoneNumberBatchesDefaultFlatPagination as PhoneNumberBatchesDefaultFlatPagination, type PhoneNumberBatchListParams as PhoneNumberBatchListParams, type PhoneNumberBatchRetrieveParams as PhoneNumberBatchRetrieveParams, };
|
|
471
666
|
export { PhoneNumbers as PhoneNumbers, type DirPhoneNumber as DirPhoneNumber, type RejectionReason as RejectionReason, type PhoneNumberAddResponse as PhoneNumberAddResponse, type PhoneNumberRemoveResponse as PhoneNumberRemoveResponse, type DirPhoneNumbersDefaultFlatPagination as DirPhoneNumbersDefaultFlatPagination, type PhoneNumberRemoveParams as PhoneNumberRemoveParams, type PhoneNumberListParams as PhoneNumberListParams, type PhoneNumberAddParams as PhoneNumberAddParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.d.ts","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,2BAAwB;AAClD,OAAO,KAAK,qBAAqB,kCAA+B;AAChE,OAAO,EAAE,uCAAuC,EAAE,kCAA+B;AACjF,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EACL,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,UAAU,EACV,gCAAgC,EACjC,sBAAmB;AACpB,OAAO,KAAK,qBAAqB,kCAA+B;AAChE,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,kBAAkB,EAClB,uCAAuC,EACxC,kCAA+B;AAChC,OAAO,KAAK,eAAe,2BAAwB;AACnD,OAAO,EACL,cAAc,EACd,oCAAoC,EACpC,oBAAoB,EACpB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,yBA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I,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,oCAAoC,IAAI,oCAAoC,EACjF,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH;AAED,OAAO,EAAE,KAAK,uCAAuC,EAAE,CAAC"}
|
package/resources/dir/dir.js
CHANGED
|
@@ -62,22 +62,23 @@ class DirResource extends resource_1.APIResource {
|
|
|
62
62
|
return this._client.get('/dir/document_types', options);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
65
|
+
* Request deletion of a DIR. This does not remove the DIR on this call: it records
|
|
66
|
+
* the request, moves the DIR to `delete_requested`, and Telnyx completes the
|
|
67
|
+
* removal (de-registration and cleanup) shortly after. A verified DIR keeps
|
|
68
|
+
* serving its branded identity, and keeps billing, until the removal is executed.
|
|
69
|
+
* Failure modes: `400` if a child phone number is still attached or the DIR is
|
|
70
|
+
* `in_review` (wait for the review to finish), `409` if the DIR has an unresolved
|
|
71
|
+
* infringement claim, `404` if the DIR is not yours.
|
|
68
72
|
*
|
|
69
73
|
* @example
|
|
70
74
|
* ```ts
|
|
71
|
-
* await client.dir.delete(
|
|
75
|
+
* const dir = await client.dir.delete(
|
|
72
76
|
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
73
77
|
* );
|
|
74
78
|
* ```
|
|
75
79
|
*/
|
|
76
80
|
delete(dirID, options) {
|
|
77
|
-
return this._client.delete((0, path_1.path) `/dir/${dirID}`,
|
|
78
|
-
...options,
|
|
79
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
80
|
-
});
|
|
81
|
+
return this._client.delete((0, path_1.path) `/dir/${dirID}`, options);
|
|
81
82
|
}
|
|
82
83
|
/**
|
|
83
84
|
* Returns a single DIR by id. The enterprise is resolved server-side from the DIR
|
|
@@ -97,11 +98,14 @@ class DirResource extends resource_1.APIResource {
|
|
|
97
98
|
* Edit a DIR. DIRs in `draft`, `rejected`, `unsuccessful`, or `suspended` can be
|
|
98
99
|
* edited freely: PATCH is a pure edit, `status` is never changed, and you re-vet
|
|
99
100
|
* by calling `POST /v2/dir/{dir_id}/submit` explicitly. A `verified` DIR can also
|
|
100
|
-
* be edited in place: a PATCH that changes any value returns the DIR to `draft
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* be edited in place: a PATCH that changes any value returns the DIR to `draft`;
|
|
102
|
+
* the currently approved identity keeps displaying, and the edited content goes
|
|
103
|
+
* live only after you re-submit and the DIR is approved again. A PATCH that
|
|
104
|
+
* changes nothing (an empty body or values identical to the current ones) leaves
|
|
105
|
+
* the DIR `verified`, so idempotent retries are safe. Changing only
|
|
106
|
+
* `bpo_authorizations` or `webhook_url` is the exception: the DIR stays
|
|
107
|
+
* `verified`. Each BPO authorization is reviewed on its own instead. DIRs in any
|
|
108
|
+
* other status (`submitted`, `in_review`, `expired`, `infringement_claimed`,
|
|
105
109
|
* `permanently_rejected`) cannot be edited.
|
|
106
110
|
*
|
|
107
111
|
* @example
|
|
@@ -180,7 +184,7 @@ class DirResource extends resource_1.APIResource {
|
|
|
180
184
|
*
|
|
181
185
|
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
182
186
|
* if the DIR's business and financial references have not been submitted. Returns
|
|
183
|
-
* `
|
|
187
|
+
* `400` if the DIR has an unresolved infringement claim.
|
|
184
188
|
*
|
|
185
189
|
* @example
|
|
186
190
|
* ```ts
|
|
@@ -223,6 +227,66 @@ class DirResource extends resource_1.APIResource {
|
|
|
223
227
|
__binaryResponse: true,
|
|
224
228
|
});
|
|
225
229
|
}
|
|
230
|
+
/**
|
|
231
|
+
* List the BPO (Business Process Outsourcer) accounts a Brand Owner has authorized
|
|
232
|
+
* on this DIR, together with the review state of each authorization.
|
|
233
|
+
*
|
|
234
|
+
* Authorizations are supplied as the `bpo_authorizations` array when creating or
|
|
235
|
+
* updating a DIR, and each one is reviewed on its own. Only an `approved`
|
|
236
|
+
* authorization adds that BPO to this DIR's authorized callers in the branded
|
|
237
|
+
* calling registry; `pending` and `rejected` authorizations do not. Each entry
|
|
238
|
+
* includes the `loa_document_id` you submitted: because `bpo_authorizations`
|
|
239
|
+
* replaces the whole list on every DIR update, send each entry you want to keep
|
|
240
|
+
* back with its `loa_document_id` unchanged, and it keeps its review state. A
|
|
241
|
+
* rejected entry carries a `rejection_reason`. Returns an empty list when the DIR
|
|
242
|
+
* has authorized no BPOs.
|
|
243
|
+
*
|
|
244
|
+
* @example
|
|
245
|
+
* ```ts
|
|
246
|
+
* const response = await client.dir.retrieveBpoAuthorizations(
|
|
247
|
+
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
248
|
+
* );
|
|
249
|
+
* ```
|
|
250
|
+
*/
|
|
251
|
+
retrieveBpoAuthorizations(dirID, query = {}, options) {
|
|
252
|
+
return this._client.get((0, path_1.path) `/dir/${dirID}/bpo_authorizations`, { query, ...options });
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* The Letter of Authorization in which a Brand Owner authorizes an approved BPO
|
|
256
|
+
* (Business Process Outsourcer) to place branded calls that display this DIR on
|
|
257
|
+
* the owner's behalf. Both parties are read from the caller's account: the Brand
|
|
258
|
+
* Owner is the enterprise that owns the DIR, and the BPO is `bpo_enterprise_id`.
|
|
259
|
+
* No business identity is accepted in the body.
|
|
260
|
+
*
|
|
261
|
+
* When `signature` is omitted the PDF is returned unsigned so the Brand Owner can
|
|
262
|
+
* sign it externally and the BPO can upload it via the Documents API. When
|
|
263
|
+
* `signature` is present the PDF embeds the supplied image, printed name, and
|
|
264
|
+
* signed-at date.
|
|
265
|
+
*
|
|
266
|
+
* Returns `application/pdf`.
|
|
267
|
+
*
|
|
268
|
+
* @example
|
|
269
|
+
* ```ts
|
|
270
|
+
* const response = await client.dir.bpoLoa(
|
|
271
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
272
|
+
* {
|
|
273
|
+
* bpo_enterprise_id:
|
|
274
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
275
|
+
* },
|
|
276
|
+
* );
|
|
277
|
+
*
|
|
278
|
+
* const content = await response.blob();
|
|
279
|
+
* console.log(content);
|
|
280
|
+
* ```
|
|
281
|
+
*/
|
|
282
|
+
bpoLoa(dirID, body, options) {
|
|
283
|
+
return this._client.post((0, path_1.path) `/dir/${dirID}/bpo_loa`, {
|
|
284
|
+
body,
|
|
285
|
+
...options,
|
|
286
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: 'application/pdf' }, options?.headers]),
|
|
287
|
+
__binaryResponse: true,
|
|
288
|
+
});
|
|
289
|
+
}
|
|
226
290
|
}
|
|
227
291
|
exports.DirResource = DirResource;
|
|
228
292
|
DirResource.Comments = comments_1.Comments;
|
package/resources/dir/dir.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.js","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAIlD,mEAA0C;AAC1C,4CAQoB;AACpB,yFAAgE;AAChE,oEAQgC;AAChC,4EAAmD;AACnD,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