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
package/resources/dir/dir.mjs
CHANGED
|
@@ -58,22 +58,23 @@ export class DirResource extends APIResource {
|
|
|
58
58
|
return this._client.get('/dir/document_types', options);
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* Request deletion of a DIR. This does not remove the DIR on this call: it records
|
|
62
|
+
* the request, moves the DIR to `delete_requested`, and Telnyx completes the
|
|
63
|
+
* removal (de-registration and cleanup) shortly after. A verified DIR keeps
|
|
64
|
+
* serving its branded identity, and keeps billing, until the removal is executed.
|
|
65
|
+
* Failure modes: `400` if a child phone number is still attached or the DIR is
|
|
66
|
+
* `in_review` (wait for the review to finish), `409` if the DIR has an unresolved
|
|
67
|
+
* infringement claim, `404` if the DIR is not yours.
|
|
64
68
|
*
|
|
65
69
|
* @example
|
|
66
70
|
* ```ts
|
|
67
|
-
* await client.dir.delete(
|
|
71
|
+
* const dir = await client.dir.delete(
|
|
68
72
|
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
69
73
|
* );
|
|
70
74
|
* ```
|
|
71
75
|
*/
|
|
72
76
|
delete(dirID, options) {
|
|
73
|
-
return this._client.delete(path `/dir/${dirID}`,
|
|
74
|
-
...options,
|
|
75
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
76
|
-
});
|
|
77
|
+
return this._client.delete(path `/dir/${dirID}`, options);
|
|
77
78
|
}
|
|
78
79
|
/**
|
|
79
80
|
* Returns a single DIR by id. The enterprise is resolved server-side from the DIR
|
|
@@ -93,11 +94,14 @@ export class DirResource extends APIResource {
|
|
|
93
94
|
* Edit a DIR. DIRs in `draft`, `rejected`, `unsuccessful`, or `suspended` can be
|
|
94
95
|
* edited freely: PATCH is a pure edit, `status` is never changed, and you re-vet
|
|
95
96
|
* by calling `POST /v2/dir/{dir_id}/submit` explicitly. A `verified` DIR can also
|
|
96
|
-
* be edited in place: a PATCH that changes any value returns the DIR to `draft
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
97
|
+
* be edited in place: a PATCH that changes any value returns the DIR to `draft`;
|
|
98
|
+
* the currently approved identity keeps displaying, and the edited content goes
|
|
99
|
+
* live only after you re-submit and the DIR is approved again. A PATCH that
|
|
100
|
+
* changes nothing (an empty body or values identical to the current ones) leaves
|
|
101
|
+
* the DIR `verified`, so idempotent retries are safe. Changing only
|
|
102
|
+
* `bpo_authorizations` or `webhook_url` is the exception: the DIR stays
|
|
103
|
+
* `verified`. Each BPO authorization is reviewed on its own instead. DIRs in any
|
|
104
|
+
* other status (`submitted`, `in_review`, `expired`, `infringement_claimed`,
|
|
101
105
|
* `permanently_rejected`) cannot be edited.
|
|
102
106
|
*
|
|
103
107
|
* @example
|
|
@@ -176,7 +180,7 @@ export class DirResource extends APIResource {
|
|
|
176
180
|
*
|
|
177
181
|
* Returns `400` from `submitted`/`in_review`/`permanently_rejected`. Returns `400`
|
|
178
182
|
* if the DIR's business and financial references have not been submitted. Returns
|
|
179
|
-
* `
|
|
183
|
+
* `400` if the DIR has an unresolved infringement claim.
|
|
180
184
|
*
|
|
181
185
|
* @example
|
|
182
186
|
* ```ts
|
|
@@ -219,6 +223,66 @@ export class DirResource extends APIResource {
|
|
|
219
223
|
__binaryResponse: true,
|
|
220
224
|
});
|
|
221
225
|
}
|
|
226
|
+
/**
|
|
227
|
+
* List the BPO (Business Process Outsourcer) accounts a Brand Owner has authorized
|
|
228
|
+
* on this DIR, together with the review state of each authorization.
|
|
229
|
+
*
|
|
230
|
+
* Authorizations are supplied as the `bpo_authorizations` array when creating or
|
|
231
|
+
* updating a DIR, and each one is reviewed on its own. Only an `approved`
|
|
232
|
+
* authorization adds that BPO to this DIR's authorized callers in the branded
|
|
233
|
+
* calling registry; `pending` and `rejected` authorizations do not. Each entry
|
|
234
|
+
* includes the `loa_document_id` you submitted: because `bpo_authorizations`
|
|
235
|
+
* replaces the whole list on every DIR update, send each entry you want to keep
|
|
236
|
+
* back with its `loa_document_id` unchanged, and it keeps its review state. A
|
|
237
|
+
* rejected entry carries a `rejection_reason`. Returns an empty list when the DIR
|
|
238
|
+
* has authorized no BPOs.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* ```ts
|
|
242
|
+
* const response = await client.dir.retrieveBpoAuthorizations(
|
|
243
|
+
* '16635d38-75a6-4481-82e8-69af60e05011',
|
|
244
|
+
* );
|
|
245
|
+
* ```
|
|
246
|
+
*/
|
|
247
|
+
retrieveBpoAuthorizations(dirID, query = {}, options) {
|
|
248
|
+
return this._client.get(path `/dir/${dirID}/bpo_authorizations`, { query, ...options });
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* The Letter of Authorization in which a Brand Owner authorizes an approved BPO
|
|
252
|
+
* (Business Process Outsourcer) to place branded calls that display this DIR on
|
|
253
|
+
* the owner's behalf. Both parties are read from the caller's account: the Brand
|
|
254
|
+
* Owner is the enterprise that owns the DIR, and the BPO is `bpo_enterprise_id`.
|
|
255
|
+
* No business identity is accepted in the body.
|
|
256
|
+
*
|
|
257
|
+
* When `signature` is omitted the PDF is returned unsigned so the Brand Owner can
|
|
258
|
+
* sign it externally and the BPO can upload it via the Documents API. When
|
|
259
|
+
* `signature` is present the PDF embeds the supplied image, printed name, and
|
|
260
|
+
* signed-at date.
|
|
261
|
+
*
|
|
262
|
+
* Returns `application/pdf`.
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* ```ts
|
|
266
|
+
* const response = await client.dir.bpoLoa(
|
|
267
|
+
* '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
|
|
268
|
+
* {
|
|
269
|
+
* bpo_enterprise_id:
|
|
270
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
271
|
+
* },
|
|
272
|
+
* );
|
|
273
|
+
*
|
|
274
|
+
* const content = await response.blob();
|
|
275
|
+
* console.log(content);
|
|
276
|
+
* ```
|
|
277
|
+
*/
|
|
278
|
+
bpoLoa(dirID, body, options) {
|
|
279
|
+
return this._client.post(path `/dir/${dirID}/bpo_loa`, {
|
|
280
|
+
body,
|
|
281
|
+
...options,
|
|
282
|
+
headers: buildHeaders([{ Accept: 'application/pdf' }, options?.headers]),
|
|
283
|
+
__binaryResponse: true,
|
|
284
|
+
});
|
|
285
|
+
}
|
|
222
286
|
}
|
|
223
287
|
DirResource.Comments = Comments;
|
|
224
288
|
DirResource.PhoneNumberBatches = PhoneNumberBatches;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,KAAK,WAAW,uBAAmB;AAC1C,OAAO,EAKL,QAAQ,GAGT,uBAAmB;AACpB,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAML,kBAAkB,GAEnB,mCAA+B;AAChC,OAAO,KAAK,eAAe,4BAAwB;AACnD,OAAO,EAQL,YAAY,GAEb,4BAAwB;AACzB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EAOL,UAAU,GACX,yBAAqB;AACtB,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EAGL,WAAW,GAEZ,2BAAuB;AAGxB,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,uBAAkB,GAA6C,IAAI,qBAAqB,CAAC,kBAAkB,CACzG,IAAI,CAAC,OAAO,CACb,CAAC;QACF,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAClF,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../../src/resources/dir/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,E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C;AACpD,WAAW,CAAC,YAAY,GAAG,YAAY,CAAC;AACxC,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;AACpC,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Comments, type CommentType, type DirComment, type CommentCreateResponse, type CommentListParams, type CommentCreateParams, type DirCommentsDefaultFlatPagination, } from "./comments.mjs";
|
|
2
|
-
export { DirResource, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type DirListDocumentTypesResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirsDefaultFlatPagination, } from "./dir.mjs";
|
|
2
|
+
export { DirResource, type BpoAuthorizationInput, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type SignaturePayload, type DirDeleteResponse, type DirListDocumentTypesResponse, type DirRetrieveBpoAuthorizationsResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirRetrieveBpoAuthorizationsParams, type DirBpoLoaParams, type DirsDefaultFlatPagination, } from "./dir.mjs";
|
|
3
3
|
export { PhoneNumberBatches, type DirPhoneNumberStatus, type PhoneNumberBatch, type PhoneNumberBatchRetrieveResponse, type PhoneNumberBatchListParams, type PhoneNumberBatchRetrieveParams, type PhoneNumberBatchesDefaultFlatPagination, } from "./phone-number-batches.mjs";
|
|
4
4
|
export { PhoneNumbers, type DirPhoneNumber, type RejectionReason, type PhoneNumberAddResponse, type PhoneNumberRemoveResponse, type PhoneNumberRemoveParams, type PhoneNumberListParams, type PhoneNumberAddParams, type DirPhoneNumbersDefaultFlatPagination, } from "./phone-numbers.mjs";
|
|
5
5
|
export { References, type Reference, type ReferenceInput, type ReferenceList, type ReferenceUpdateResponse, type ReferenceCreateParams, type ReferenceUpdateParams, } from "./references.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC,uBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,yBAAyB,GAC/B,kBAAc;AACf,OAAO,EACL,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,GAC7C,mCAA+B;AAChC,OAAO,EACL,YAAY,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,4BAAwB;AACzB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,yBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC9B,2BAAuB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC,uBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,GAAG,EACR,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,kCAAkC,EACvC,KAAK,eAAe,EACpB,KAAK,yBAAyB,GAC/B,kBAAc;AACf,OAAO,EACL,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,GAC7C,mCAA+B;AAChC,OAAO,EACL,YAAY,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,4BAAwB;AACzB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,yBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC9B,2BAAuB"}
|
package/resources/dir/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Comments, type CommentType, type DirComment, type CommentCreateResponse, type CommentListParams, type CommentCreateParams, type DirCommentsDefaultFlatPagination, } from "./comments.js";
|
|
2
|
-
export { DirResource, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type DirListDocumentTypesResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirsDefaultFlatPagination, } from "./dir.js";
|
|
2
|
+
export { DirResource, type BpoAuthorizationInput, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type SignaturePayload, type DirDeleteResponse, type DirListDocumentTypesResponse, type DirRetrieveBpoAuthorizationsResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirRetrieveBpoAuthorizationsParams, type DirBpoLoaParams, type DirsDefaultFlatPagination, } from "./dir.js";
|
|
3
3
|
export { PhoneNumberBatches, type DirPhoneNumberStatus, type PhoneNumberBatch, type PhoneNumberBatchRetrieveResponse, type PhoneNumberBatchListParams, type PhoneNumberBatchRetrieveParams, type PhoneNumberBatchesDefaultFlatPagination, } from "./phone-number-batches.js";
|
|
4
4
|
export { PhoneNumbers, type DirPhoneNumber, type RejectionReason, type PhoneNumberAddResponse, type PhoneNumberRemoveResponse, type PhoneNumberRemoveParams, type PhoneNumberListParams, type PhoneNumberAddParams, type DirPhoneNumbersDefaultFlatPagination, } from "./phone-numbers.js";
|
|
5
5
|
export { References, type Reference, type ReferenceInput, type ReferenceList, type ReferenceUpdateResponse, type ReferenceCreateParams, type ReferenceUpdateParams, } from "./references.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC,sBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,GAAG,EACR,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,4BAA4B,EACjC,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,yBAAyB,GAC/B,iBAAc;AACf,OAAO,EACL,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,GAC7C,kCAA+B;AAChC,OAAO,EACL,YAAY,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,2BAAwB;AACzB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,wBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC9B,0BAAuB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,gCAAgC,GACtC,sBAAmB;AACpB,OAAO,EACL,WAAW,EACX,KAAK,qBAAqB,EAC1B,KAAK,GAAG,EACR,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,oCAAoC,EACzC,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,+BAA+B,EACpC,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,kCAAkC,EACvC,KAAK,eAAe,EACpB,KAAK,yBAAyB,GAC/B,iBAAc;AACf,OAAO,EACL,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,EAC/B,KAAK,8BAA8B,EACnC,KAAK,uCAAuC,GAC7C,kCAA+B;AAChC,OAAO,EACL,YAAY,EACZ,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oCAAoC,GAC1C,2BAAwB;AACzB,OAAO,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B,wBAAqB;AACtB,OAAO,EACL,WAAW,EACX,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,GAC9B,0BAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0CAQoB;AAPlB,oGAAA,QAAQ,OAAA;AAQV,gCAoBe;AAnBb,kGAAA,WAAW,OAAA;AAoBb,kEAQgC;AAP9B,0HAAA,kBAAkB,OAAA;AAQpB,oDAUyB;AATvB,6GAAA,YAAY,OAAA;AAUd,8CAQsB;AAPpB,wGAAA,UAAU,OAAA;AAQZ,kDAKwB;AAJtB,2GAAA,WAAW,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAOT,uBAAmB;AACpB,OAAO,EACL,WAAW,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/dir/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,QAAQ,GAOT,uBAAmB;AACpB,OAAO,EACL,WAAW,GAmBZ,kBAAc;AACf,OAAO,EACL,kBAAkB,GAOnB,mCAA+B;AAChC,OAAO,EACL,YAAY,GASb,4BAAwB;AACzB,OAAO,EACL,UAAU,GAOX,yBAAqB;AACtB,OAAO,EACL,WAAW,GAIZ,2BAAuB"}
|
|
@@ -38,11 +38,11 @@ export declare class PhoneNumbers extends APIResource {
|
|
|
38
38
|
list(dirID: string, query?: PhoneNumberListParams | null | undefined, options?: RequestOptions): PagePromise<DirPhoneNumbersDefaultFlatPagination, DirPhoneNumber>;
|
|
39
39
|
/**
|
|
40
40
|
* Register phone numbers under a DIR. The enterprise is resolved server-side from
|
|
41
|
-
* the DIR id.
|
|
42
|
-
* you use.
|
|
41
|
+
* the DIR id.
|
|
43
42
|
*
|
|
44
|
-
* **Pricing:**
|
|
45
|
-
*
|
|
43
|
+
* **Pricing:** Adding phone numbers is free. Branded Calling fees are charged per
|
|
44
|
+
* DIR and per branded call. See https://telnyx.com/pricing/branded-calling for
|
|
45
|
+
* current pricing.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```ts
|
|
@@ -173,13 +173,13 @@ export declare namespace PhoneNumberRemoveResponse {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
export interface PhoneNumberRemoveParams {
|
|
176
|
+
/**
|
|
177
|
+
* The phone numbers to remove from this brand, in E.164 format, up to 100 per
|
|
178
|
+
* request. They must currently be attached to this brand.
|
|
179
|
+
*/
|
|
176
180
|
phone_numbers: Array<string>;
|
|
177
181
|
}
|
|
178
182
|
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
|
|
179
|
-
/**
|
|
180
|
-
* Filter by phone-number status.
|
|
181
|
-
*/
|
|
182
|
-
status?: PhoneNumberBatchesAPI.DirPhoneNumberStatus;
|
|
183
183
|
}
|
|
184
184
|
export interface PhoneNumberAddParams {
|
|
185
185
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.d.mts","sourceRoot":"","sources":["../../src/resources/dir/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,KAAK,qBAAqB,mCAA+B;AAChE,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,yBAAyB,CAAC;IAIxC;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,EAAE,MAAM,EACb,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,oCAAoC,EAAE,cAAc,CAAC;IAOpE;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,GAAG,CACD,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,oBAAoB,EAC1B,OAAO,CAAC,EAA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B;;;WAGG;QACH,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KAC3B;IAED,UAAiB,IAAI,CAAC;QACpB;;;;WAIG;QACH,UAAiB,KAAK;YACpB;;;eAGG;YACH,IAAI,EAAE,gBAAgB,CAAC;YAEvB,MAAM,EAAE,MAAM,CAAC;YAEf,YAAY,EAAE,MAAM,CAAC;YAErB,KAAK,EAAE,MAAM,CAAC;SACf;KACF;CACF;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAsB,SAAQ,2BAA2B;CAAG;AAE7E,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAElC;;;OAGG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,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;CACH"}
|
|
@@ -38,11 +38,11 @@ export declare class PhoneNumbers extends APIResource {
|
|
|
38
38
|
list(dirID: string, query?: PhoneNumberListParams | null | undefined, options?: RequestOptions): PagePromise<DirPhoneNumbersDefaultFlatPagination, DirPhoneNumber>;
|
|
39
39
|
/**
|
|
40
40
|
* Register phone numbers under a DIR. The enterprise is resolved server-side from
|
|
41
|
-
* the DIR id.
|
|
42
|
-
* you use.
|
|
41
|
+
* the DIR id.
|
|
43
42
|
*
|
|
44
|
-
* **Pricing:**
|
|
45
|
-
*
|
|
43
|
+
* **Pricing:** Adding phone numbers is free. Branded Calling fees are charged per
|
|
44
|
+
* DIR and per branded call. See https://telnyx.com/pricing/branded-calling for
|
|
45
|
+
* current pricing.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```ts
|
|
@@ -173,13 +173,13 @@ export declare namespace PhoneNumberRemoveResponse {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
export interface PhoneNumberRemoveParams {
|
|
176
|
+
/**
|
|
177
|
+
* The phone numbers to remove from this brand, in E.164 format, up to 100 per
|
|
178
|
+
* request. They must currently be attached to this brand.
|
|
179
|
+
*/
|
|
176
180
|
phone_numbers: Array<string>;
|
|
177
181
|
}
|
|
178
182
|
export interface PhoneNumberListParams extends DefaultFlatPaginationParams {
|
|
179
|
-
/**
|
|
180
|
-
* Filter by phone-number status.
|
|
181
|
-
*/
|
|
182
|
-
status?: PhoneNumberBatchesAPI.DirPhoneNumberStatus;
|
|
183
183
|
}
|
|
184
184
|
export interface PhoneNumberAddParams {
|
|
185
185
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-numbers.d.ts","sourceRoot":"","sources":["../../src/resources/dir/phone-numbers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,iBAAc;AAChC,OAAO,KAAK,qBAAqB,kCAA+B;AAChE,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAC7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,G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ACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
|
@@ -46,11 +46,11 @@ class PhoneNumbers extends resource_1.APIResource {
|
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
48
|
* Register phone numbers under a DIR. The enterprise is resolved server-side from
|
|
49
|
-
* the DIR id.
|
|
50
|
-
* you use.
|
|
49
|
+
* the DIR id.
|
|
51
50
|
*
|
|
52
|
-
* **Pricing:**
|
|
53
|
-
*
|
|
51
|
+
* **Pricing:** Adding phone numbers is free. Branded Calling fees are charged per
|
|
52
|
+
* DIR and per branded call. See https://telnyx.com/pricing/branded-calling for
|
|
53
|
+
* current pricing.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* ```ts
|
|
@@ -43,11 +43,11 @@ export class PhoneNumbers extends APIResource {
|
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Register phone numbers under a DIR. The enterprise is resolved server-side from
|
|
46
|
-
* the DIR id.
|
|
47
|
-
* you use.
|
|
46
|
+
* the DIR id.
|
|
48
47
|
*
|
|
49
|
-
* **Pricing:**
|
|
50
|
-
*
|
|
48
|
+
* **Pricing:** Adding phone numbers is free. Branded Calling fees are charged per
|
|
49
|
+
* DIR and per branded call. See https://telnyx.com/pricing/branded-calling for
|
|
50
|
+
* current pricing.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* ```ts
|
|
@@ -227,23 +227,25 @@ export interface ReferenceUpdateParams {
|
|
|
227
227
|
*/
|
|
228
228
|
ref_type: 'business' | 'financial';
|
|
229
229
|
/**
|
|
230
|
-
* Body param:
|
|
230
|
+
* Body param: The reference's email address. We email them scheduling and dial-in
|
|
231
|
+
* instructions before we call, so use an address they check.
|
|
231
232
|
*/
|
|
232
233
|
email?: string;
|
|
233
234
|
/**
|
|
234
|
-
* Body param:
|
|
235
|
+
* Body param: The full name of the person we should contact as your reference.
|
|
235
236
|
*/
|
|
236
237
|
full_name?: string;
|
|
237
238
|
/**
|
|
238
|
-
* Body param:
|
|
239
|
+
* Body param: The reference contact's job title, for example CFO or Owner.
|
|
239
240
|
*/
|
|
240
241
|
job_title?: string | null;
|
|
241
242
|
/**
|
|
242
|
-
* Body param:
|
|
243
|
+
* Body param: The name of the organization the reference contact works for.
|
|
243
244
|
*/
|
|
244
245
|
organization?: string | null;
|
|
245
246
|
/**
|
|
246
|
-
* Body param:
|
|
247
|
+
* Body param: The reference's phone number in E.164 format, for example
|
|
248
|
+
* +14155550123. We call this number during their local business hours.
|
|
247
249
|
*/
|
|
248
250
|
phone_e164?: string;
|
|
249
251
|
/**
|
|
@@ -251,7 +253,8 @@ export interface ReferenceUpdateParams {
|
|
|
251
253
|
*/
|
|
252
254
|
relationship_to_registrant?: string | null;
|
|
253
255
|
/**
|
|
254
|
-
* Body param: IANA
|
|
256
|
+
* Body param: The reference's IANA time zone, for example America/New_York. We
|
|
257
|
+
* only call during their local 8am to 9pm hours, which is why we need it.
|
|
255
258
|
*/
|
|
256
259
|
timezone?: string;
|
|
257
260
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.d.mts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAA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G,WAAW,CAAC;IAEnC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -227,23 +227,25 @@ export interface ReferenceUpdateParams {
|
|
|
227
227
|
*/
|
|
228
228
|
ref_type: 'business' | 'financial';
|
|
229
229
|
/**
|
|
230
|
-
* Body param:
|
|
230
|
+
* Body param: The reference's email address. We email them scheduling and dial-in
|
|
231
|
+
* instructions before we call, so use an address they check.
|
|
231
232
|
*/
|
|
232
233
|
email?: string;
|
|
233
234
|
/**
|
|
234
|
-
* Body param:
|
|
235
|
+
* Body param: The full name of the person we should contact as your reference.
|
|
235
236
|
*/
|
|
236
237
|
full_name?: string;
|
|
237
238
|
/**
|
|
238
|
-
* Body param:
|
|
239
|
+
* Body param: The reference contact's job title, for example CFO or Owner.
|
|
239
240
|
*/
|
|
240
241
|
job_title?: string | null;
|
|
241
242
|
/**
|
|
242
|
-
* Body param:
|
|
243
|
+
* Body param: The name of the organization the reference contact works for.
|
|
243
244
|
*/
|
|
244
245
|
organization?: string | null;
|
|
245
246
|
/**
|
|
246
|
-
* Body param:
|
|
247
|
+
* Body param: The reference's phone number in E.164 format, for example
|
|
248
|
+
* +14155550123. We call this number during their local business hours.
|
|
247
249
|
*/
|
|
248
250
|
phone_e164?: string;
|
|
249
251
|
/**
|
|
@@ -251,7 +253,8 @@ export interface ReferenceUpdateParams {
|
|
|
251
253
|
*/
|
|
252
254
|
relationship_to_registrant?: string | null;
|
|
253
255
|
/**
|
|
254
|
-
* Body param: IANA
|
|
256
|
+
* Body param: The reference's IANA time zone, for example America/New_York. We
|
|
257
|
+
* only call during their local 8am to 9pm hours, which is why we need it.
|
|
255
258
|
*/
|
|
256
259
|
timezone?: string;
|
|
257
260
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"references.d.ts","sourceRoot":"","sources":["../../src/resources/dir/references.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2DG;IACH,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC;IAIvG;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;CAIvC;AAED;;;GAGG;AACH,MAAM,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