telnyx 7.23.0 → 7.25.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 -12
- package/client.d.mts.map +1 -1
- package/client.d.ts +27 -12
- package/client.d.ts.map +1 -1
- package/client.js +15 -0
- package/client.js.map +1 -1
- package/client.mjs +15 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +11 -6
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +11 -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 +469 -35
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +469 -35
- 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 +38 -2
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +38 -2
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/chat.d.mts +7 -2
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +7 -2
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/collections/collections.d.mts +3 -3
- package/resources/ai/collections/collections.d.mts.map +1 -1
- package/resources/ai/collections/collections.d.ts +3 -3
- package/resources/ai/collections/collections.d.ts.map +1 -1
- package/resources/ai/collections/collections.js.map +1 -1
- package/resources/ai/collections/collections.mjs.map +1 -1
- package/resources/ai/collections/index.d.mts +1 -1
- package/resources/ai/collections/index.d.mts.map +1 -1
- package/resources/ai/collections/index.d.ts +1 -1
- package/resources/ai/collections/index.d.ts.map +1 -1
- package/resources/ai/collections/index.js.map +1 -1
- package/resources/ai/collections/index.mjs.map +1 -1
- package/resources/ai/collections/sources.d.mts +32 -5
- package/resources/ai/collections/sources.d.mts.map +1 -1
- package/resources/ai/collections/sources.d.ts +32 -5
- package/resources/ai/collections/sources.d.ts.map +1 -1
- package/resources/ai/collections/sources.js.map +1 -1
- package/resources/ai/collections/sources.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 +9 -7
- 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 +3 -0
- package/resources/ai/memory/index.d.mts.map +1 -0
- package/resources/ai/memory/index.d.ts +3 -0
- package/resources/ai/memory/index.d.ts.map +1 -0
- package/resources/ai/memory/index.js +9 -0
- package/resources/ai/memory/index.js.map +1 -0
- package/resources/ai/memory/index.mjs +4 -0
- package/resources/ai/memory/index.mjs.map +1 -0
- package/resources/ai/memory/memory.d.mts +10 -0
- package/resources/ai/memory/memory.d.mts.map +1 -0
- package/resources/ai/memory/memory.d.ts +10 -0
- package/resources/ai/memory/memory.d.ts.map +1 -0
- package/resources/ai/memory/memory.js +17 -0
- package/resources/ai/memory/memory.js.map +1 -0
- package/resources/ai/memory/memory.mjs +12 -0
- package/resources/ai/memory/memory.mjs.map +1 -0
- package/resources/ai/memory/namespaces/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/index.js +11 -0
- package/resources/ai/memory/namespaces/index.js.map +1 -0
- package/resources/ai/memory/namespaces/index.mjs +5 -0
- package/resources/ai/memory/namespaces/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts +110 -0
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts +110 -0
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.js +81 -0
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces/namespaces.mjs +76 -0
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts +4 -0
- package/resources/ai/memory/namespaces/profiles/index.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.js +11 -0
- package/resources/ai/memory/namespaces/profiles/index.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs +5 -0
- package/resources/ai/memory/namespaces/profiles/index.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts +118 -0
- package/resources/ai/memory/namespaces/profiles/memories.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.js +63 -0
- package/resources/ai/memory/namespaces/profiles/memories.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs +59 -0
- package/resources/ai/memory/namespaces/profiles/memories.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +324 -0
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js +161 -0
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs +156 -0
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts +163 -0
- package/resources/ai/memory/namespaces/profiles/sources.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.js +80 -0
- package/resources/ai/memory/namespaces/profiles/sources.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs +76 -0
- package/resources/ai/memory/namespaces/profiles/sources.mjs.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.mts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.d.ts +2 -0
- package/resources/ai/memory/namespaces/profiles.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/profiles.js +6 -0
- package/resources/ai/memory/namespaces/profiles.js.map +1 -0
- package/resources/ai/memory/namespaces/profiles.mjs +3 -0
- package/resources/ai/memory/namespaces/profiles.mjs.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.mts +108 -0
- package/resources/ai/memory/namespaces/settings.d.mts.map +1 -0
- package/resources/ai/memory/namespaces/settings.d.ts +108 -0
- package/resources/ai/memory/namespaces/settings.d.ts.map +1 -0
- package/resources/ai/memory/namespaces/settings.js +54 -0
- package/resources/ai/memory/namespaces/settings.js.map +1 -0
- package/resources/ai/memory/namespaces/settings.mjs +50 -0
- package/resources/ai/memory/namespaces/settings.mjs.map +1 -0
- package/resources/ai/memory/namespaces.d.mts +2 -0
- package/resources/ai/memory/namespaces.d.mts.map +1 -0
- package/resources/ai/memory/namespaces.d.ts +2 -0
- package/resources/ai/memory/namespaces.d.ts.map +1 -0
- package/resources/ai/memory/namespaces.js +6 -0
- package/resources/ai/memory/namespaces.js.map +1 -0
- package/resources/ai/memory/namespaces.mjs +3 -0
- package/resources/ai/memory/namespaces.mjs.map +1 -0
- package/resources/ai/memory.d.mts +2 -0
- package/resources/ai/memory.d.mts.map +1 -0
- package/resources/ai/memory.d.ts +2 -0
- package/resources/ai/memory.d.ts.map +1 -0
- package/resources/ai/memory.js +6 -0
- package/resources/ai/memory.js.map +1 -0
- package/resources/ai/memory.mjs +3 -0
- package/resources/ai/memory.mjs.map +1 -0
- package/resources/ai/openai/chat.d.mts +7 -2
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +7 -2
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +3 -4
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +3 -4
- 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/ai/typesafe/v1.d.mts +25 -14
- package/resources/ai/typesafe/v1.d.mts.map +1 -1
- package/resources/ai/typesafe/v1.d.ts +25 -14
- package/resources/ai/typesafe/v1.d.ts.map +1 -1
- package/resources/ai/typesafe/v1.js +15 -10
- package/resources/ai/typesafe/v1.js.map +1 -1
- package/resources/ai/typesafe/v1.mjs +15 -10
- package/resources/ai/typesafe/v1.mjs.map +1 -1
- package/resources/calls/actions.d.mts +119 -22
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +119 -22
- 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 +58 -15
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +58 -15
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js +3 -0
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs +3 -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/conferences/actions.d.mts +7 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +7 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/dir/dir.d.mts +220 -28
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +220 -28
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +77 -13
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +77 -13
- 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 -4
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +8 -4
- 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-blocks/email-blocks.d.mts +12 -4
- package/resources/email-blocks/email-blocks.d.mts.map +1 -1
- package/resources/email-blocks/email-blocks.d.ts +12 -4
- package/resources/email-blocks/email-blocks.d.ts.map +1 -1
- package/resources/email-blocks/email-blocks.js +5 -3
- package/resources/email-blocks/email-blocks.js.map +1 -1
- package/resources/email-blocks/email-blocks.mjs +5 -3
- package/resources/email-blocks/email-blocks.mjs.map +1 -1
- package/resources/email-blocks/imports.d.mts +20 -4
- package/resources/email-blocks/imports.d.mts.map +1 -1
- package/resources/email-blocks/imports.d.ts +20 -4
- package/resources/email-blocks/imports.d.ts.map +1 -1
- package/resources/email-blocks/imports.js +17 -3
- package/resources/email-blocks/imports.js.map +1 -1
- package/resources/email-blocks/imports.mjs +17 -3
- package/resources/email-blocks/imports.mjs.map +1 -1
- package/resources/email-domains/email-domains.d.mts +98 -1
- package/resources/email-domains/email-domains.d.mts.map +1 -1
- package/resources/email-domains/email-domains.d.ts +98 -1
- package/resources/email-domains/email-domains.d.ts.map +1 -1
- package/resources/email-domains/email-domains.js +21 -0
- package/resources/email-domains/email-domains.js.map +1 -1
- package/resources/email-domains/email-domains.mjs +21 -0
- package/resources/email-domains/email-domains.mjs.map +1 -1
- package/resources/email-domains/index.d.mts +1 -1
- package/resources/email-domains/index.d.mts.map +1 -1
- package/resources/email-domains/index.d.ts +1 -1
- package/resources/email-domains/index.d.ts.map +1 -1
- package/resources/email-domains/index.js.map +1 -1
- package/resources/email-domains/index.mjs.map +1 -1
- package/resources/email-domains/webhooks.d.mts +6 -4
- package/resources/email-domains/webhooks.d.mts.map +1 -1
- package/resources/email-domains/webhooks.d.ts +6 -4
- package/resources/email-domains/webhooks.d.ts.map +1 -1
- package/resources/email-events.d.mts +162 -28
- package/resources/email-events.d.mts.map +1 -1
- package/resources/email-events.d.ts +162 -28
- package/resources/email-events.d.ts.map +1 -1
- package/resources/email-events.js +15 -6
- package/resources/email-events.js.map +1 -1
- package/resources/email-events.mjs +15 -6
- package/resources/email-events.mjs.map +1 -1
- package/resources/email-inboxes/drafts.d.mts +31 -1
- package/resources/email-inboxes/drafts.d.mts.map +1 -1
- package/resources/email-inboxes/drafts.d.ts +31 -1
- package/resources/email-inboxes/drafts.d.ts.map +1 -1
- package/resources/email-inboxes/drafts.js.map +1 -1
- package/resources/email-inboxes/drafts.mjs.map +1 -1
- package/resources/email-messages/email-messages.d.mts +174 -43
- package/resources/email-messages/email-messages.d.mts.map +1 -1
- package/resources/email-messages/email-messages.d.ts +174 -43
- package/resources/email-messages/email-messages.d.ts.map +1 -1
- package/resources/email-messages/email-messages.js +39 -7
- package/resources/email-messages/email-messages.js.map +1 -1
- package/resources/email-messages/email-messages.mjs +39 -7
- package/resources/email-messages/email-messages.mjs.map +1 -1
- package/resources/email-messages/index.d.mts +1 -1
- package/resources/email-messages/index.d.mts.map +1 -1
- package/resources/email-messages/index.d.ts +1 -1
- package/resources/email-messages/index.d.ts.map +1 -1
- package/resources/email-messages/index.js.map +1 -1
- package/resources/email-messages/index.mjs.map +1 -1
- package/resources/email-messages/recipients.d.mts +2 -2
- package/resources/email-messages/recipients.d.mts.map +1 -1
- package/resources/email-messages/recipients.d.ts +2 -2
- package/resources/email-messages/recipients.d.ts.map +1 -1
- package/resources/email-templates.d.mts +170 -0
- package/resources/email-templates.d.mts.map +1 -1
- package/resources/email-templates.d.ts +170 -0
- package/resources/email-templates.d.ts.map +1 -1
- package/resources/email-templates.js +6 -0
- package/resources/email-templates.js.map +1 -1
- package/resources/email-templates.mjs +6 -0
- package/resources/email-templates.mjs.map +1 -1
- package/resources/enterprises/dir.d.mts +17 -1
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +17 -1
- package/resources/enterprises/dir.d.ts.map +1 -1
- package/resources/enterprises/enterprises.d.mts +237 -23
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +237 -23
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +26 -4
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +26 -4
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +1 -0
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -0
- 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/loa.d.mts +61 -1
- package/resources/enterprises/reputation/loa.d.mts.map +1 -1
- package/resources/enterprises/reputation/loa.d.ts +61 -1
- package/resources/enterprises/reputation/loa.d.ts.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/index.d.mts +8 -6
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -6
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -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 +3 -0
- package/resources/llm-token-gateway/index.d.mts.map +1 -0
- package/resources/llm-token-gateway/index.d.ts +3 -0
- package/resources/llm-token-gateway/index.d.ts.map +1 -0
- package/resources/llm-token-gateway/index.js +9 -0
- package/resources/llm-token-gateway/index.js.map +1 -0
- package/resources/llm-token-gateway/index.mjs +4 -0
- package/resources/llm-token-gateway/index.mjs.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts +10 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts +10 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.js +17 -0
- package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs +12 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -0
- package/resources/llm-token-gateway/usage.d.mts +260 -0
- package/resources/llm-token-gateway/usage.d.mts.map +1 -0
- package/resources/llm-token-gateway/usage.d.ts +260 -0
- package/resources/llm-token-gateway/usage.d.ts.map +1 -0
- package/resources/llm-token-gateway/usage.js +31 -0
- package/resources/llm-token-gateway/usage.js.map +1 -0
- package/resources/llm-token-gateway/usage.mjs +27 -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/actions.d.mts +7 -1
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +7 -1
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +7 -1
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +7 -1
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/artifacts.d.mts +38 -11
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
- package/resources/meeting-sessions/artifacts.d.ts +38 -11
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
- package/resources/meeting-sessions/artifacts.js +11 -5
- package/resources/meeting-sessions/artifacts.js.map +1 -1
- package/resources/meeting-sessions/artifacts.mjs +11 -5
- package/resources/meeting-sessions/artifacts.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +71 -32
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +71 -32
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +6 -8
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +6 -8
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.mts +12 -2
- package/resources/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/phone-numbers/phone-numbers.d.ts +12 -2
- package/resources/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/phone-numbers/phone-numbers.mjs.map +1 -1
- package/resources/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/private-wireless-gateways.d.mts +61 -7
- package/resources/private-wireless-gateways.d.mts.map +1 -1
- package/resources/private-wireless-gateways.d.ts +61 -7
- package/resources/private-wireless-gateways.d.ts.map +1 -1
- package/resources/private-wireless-gateways.js +1 -1
- package/resources/private-wireless-gateways.js.map +1 -1
- package/resources/private-wireless-gateways.mjs +1 -1
- package/resources/private-wireless-gateways.mjs.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/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/accounts/calls/calls.d.mts +9 -9
- package/resources/texml/accounts/calls/calls.d.mts.map +1 -1
- package/resources/texml/accounts/calls/calls.d.ts +9 -9
- package/resources/texml/accounts/calls/calls.d.ts.map +1 -1
- package/resources/texml/accounts/calls/calls.js +12 -2
- package/resources/texml/accounts/calls/calls.js.map +1 -1
- package/resources/texml/accounts/calls/calls.mjs +12 -2
- package/resources/texml/accounts/calls/calls.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +65 -11
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +65 -11
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +10 -3
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +10 -3
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/webhooks.d.mts +417 -9
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +417 -9
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts +89 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts +89 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js +65 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.mjs +61 -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/src/client.ts +67 -6
- package/src/resources/ai/ai.ts +21 -4
- package/src/resources/ai/assistants/assistants.ts +602 -36
- package/src/resources/ai/assistants/deleted.ts +86 -0
- package/src/resources/ai/assistants/index.ts +12 -0
- package/src/resources/ai/assistants/versions.ts +42 -2
- package/src/resources/ai/chat.ts +7 -2
- package/src/resources/ai/collections/collections.ts +3 -1
- package/src/resources/ai/collections/index.ts +2 -0
- package/src/resources/ai/collections/sources.ts +38 -4
- package/src/resources/ai/embeddings/embeddings.ts +1 -1
- package/src/resources/ai/index.ts +7 -1
- package/src/resources/ai/memory/index.ts +12 -0
- package/src/resources/ai/memory/memory.ts +31 -0
- package/src/resources/ai/memory/namespaces/index.ts +29 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +194 -0
- package/src/resources/ai/memory/namespaces/profiles/index.ts +35 -0
- package/src/resources/ai/memory/namespaces/profiles/memories.ts +170 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +482 -0
- package/src/resources/ai/memory/namespaces/profiles/sources.ts +226 -0
- package/src/resources/ai/memory/namespaces/profiles.ts +3 -0
- package/src/resources/ai/memory/namespaces/settings.ts +129 -0
- package/src/resources/ai/memory/namespaces.ts +3 -0
- package/src/resources/ai/memory.ts +3 -0
- package/src/resources/ai/openai/chat.ts +7 -2
- package/src/resources/ai/tools.ts +6 -6
- package/src/resources/ai/typesafe/v1.ts +26 -14
- package/src/resources/calls/actions.ts +126 -19
- package/src/resources/calls/calls.ts +61 -11
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/conferences/actions.ts +8 -1
- package/src/resources/dir/dir.ts +263 -32
- package/src/resources/dir/index.ts +6 -0
- package/src/resources/dir/phone-numbers.ts +8 -4
- package/src/resources/dir/references.ts +9 -6
- package/src/resources/email-blocks/email-blocks.ts +12 -4
- package/src/resources/email-blocks/imports.ts +20 -4
- package/src/resources/email-domains/email-domains.ts +120 -0
- package/src/resources/email-domains/index.ts +1 -0
- package/src/resources/email-domains/webhooks.ts +9 -4
- package/src/resources/email-events.ts +220 -35
- package/src/resources/email-inboxes/drafts.ts +32 -1
- package/src/resources/email-messages/email-messages.ts +191 -47
- package/src/resources/email-messages/index.ts +2 -1
- package/src/resources/email-messages/recipients.ts +6 -2
- package/src/resources/email-templates.ts +185 -0
- package/src/resources/enterprises/dir.ts +19 -1
- package/src/resources/enterprises/enterprises.ts +250 -23
- package/src/resources/enterprises/index.ts +5 -0
- package/src/resources/enterprises/reputation/loa.ts +73 -1
- package/src/resources/enterprises/verify-email.ts +117 -0
- package/src/resources/index.ts +26 -3
- package/src/resources/infringement-claims.ts +4 -0
- package/src/resources/llm-token-gateway/index.ts +4 -0
- package/src/resources/llm-token-gateway/llm-token-gateway.ts +19 -0
- package/src/resources/llm-token-gateway/usage.ts +336 -0
- package/src/resources/llm-token-gateway.ts +3 -0
- package/src/resources/meeting-sessions/actions.ts +7 -1
- package/src/resources/meeting-sessions/artifacts.ts +42 -11
- package/src/resources/meeting-sessions/meeting-sessions.ts +71 -33
- package/src/resources/phone-numbers/phone-numbers.ts +13 -2
- 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/private-wireless-gateways.ts +76 -8
- package/src/resources/requirements.ts +2 -2
- 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/accounts/calls/calls.ts +20 -10
- package/src/resources/text-to-speech/text-to-speech.ts +73 -11
- package/src/resources/webhooks.ts +511 -6
- package/src/resources/whatsapp/phone-numbers/calling-routing.ts +113 -0
- package/src/resources/whatsapp/phone-numbers/index.ts +7 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.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,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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,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
|
|
@@ -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,51 @@ 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` on create or when the Letter of
|
|
468
|
+
* Authorization is re-uploaded; an admin moves it to `approved` or `rejected`.
|
|
469
|
+
* Only an `approved` authorization adds the BPO to this DIR's authorized callers
|
|
470
|
+
* in the branded calling registry.
|
|
471
|
+
*/
|
|
472
|
+
status: 'pending' | 'approved' | 'rejected';
|
|
473
|
+
/**
|
|
474
|
+
* Why the authorization was rejected. `null` unless `status` is `rejected`.
|
|
475
|
+
*/
|
|
476
|
+
rejection_reason?: string | null;
|
|
477
|
+
}
|
|
478
|
+
}
|
|
312
479
|
export interface DirListParams extends DefaultFlatPaginationParams {
|
|
313
480
|
/**
|
|
314
481
|
* Case-insensitive partial match on call reason.
|
|
@@ -352,6 +519,15 @@ export interface DirUpdateParams {
|
|
|
352
519
|
* individual.
|
|
353
520
|
*/
|
|
354
521
|
authorizer_name?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Optional. Replace this DIR's authorized BPO (Business Process Outsourcer)
|
|
524
|
+
* accounts with these, each with its signed Letter of Authorization. The supplied
|
|
525
|
+
* list replaces the current one: a BPO left out has its authorization removed, and
|
|
526
|
+
* a new BPO (or a changed Letter of Authorization) is created `pending` admin
|
|
527
|
+
* review. Send an empty list to clear all authorizations; omit the field to leave
|
|
528
|
+
* them unchanged. Editing this list does not re-vet the DIR. Maximum 10.
|
|
529
|
+
*/
|
|
530
|
+
bpo_authorizations?: Array<BpoAuthorizationInput>;
|
|
355
531
|
/**
|
|
356
532
|
* 1–10 reasons your business calls customers. Validate phrasing against
|
|
357
533
|
* `POST /call_reasons/validate`.
|
|
@@ -392,6 +568,12 @@ export interface DirUpdateParams {
|
|
|
392
568
|
* (BPO/reseller). Updating this triggers re-vetting on next submit.
|
|
393
569
|
*/
|
|
394
570
|
reselling?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Optional `https://` URL that receives webhook notifications when this DIR's
|
|
573
|
+
* compliance review completes. Send `null` to clear. Changing only this field on a
|
|
574
|
+
* `verified` DIR does not re-vet it. Maximum 2048 characters.
|
|
575
|
+
*/
|
|
576
|
+
webhook_url?: string | null;
|
|
395
577
|
}
|
|
396
578
|
export interface DirListInfringementClaimsParams extends DefaultFlatPaginationParams {
|
|
397
579
|
}
|
|
@@ -405,7 +587,8 @@ export interface DirUpdateInfringementParams {
|
|
|
405
587
|
*/
|
|
406
588
|
certify_ip_ownership: true;
|
|
407
589
|
/**
|
|
408
|
-
*
|
|
590
|
+
* Check to certify that the brand no longer infringes anyone else's trademark or
|
|
591
|
+
* intellectual property.
|
|
409
592
|
*/
|
|
410
593
|
certify_no_infringement: true;
|
|
411
594
|
/**
|
|
@@ -417,6 +600,10 @@ export interface DirUpdateInfringementParams {
|
|
|
417
600
|
*/
|
|
418
601
|
infringement_resolution_notes: string;
|
|
419
602
|
call_reasons?: Array<string> | null;
|
|
603
|
+
/**
|
|
604
|
+
* The business name shown to call recipients, 1 to 35 characters, no emoji, not
|
|
605
|
+
* blank.
|
|
606
|
+
*/
|
|
420
607
|
display_name?: string | null;
|
|
421
608
|
/**
|
|
422
609
|
* Append-only supporting documents to attach while resolving the claim (e.g.
|
|
@@ -444,28 +631,33 @@ export interface DirNewLoaParams {
|
|
|
444
631
|
* name, and signed-at date. When absent the PDF is returned unsigned so the
|
|
445
632
|
* customer can sign externally and upload it via the Documents API.
|
|
446
633
|
*/
|
|
447
|
-
signature?:
|
|
634
|
+
signature?: SignaturePayload;
|
|
635
|
+
}
|
|
636
|
+
export interface DirRetrieveBpoAuthorizationsParams {
|
|
637
|
+
/**
|
|
638
|
+
* 1-based page number. Out-of-range values return an empty page with correct meta.
|
|
639
|
+
*/
|
|
640
|
+
'page[number]'?: number;
|
|
641
|
+
/**
|
|
642
|
+
* Items per page. Maximum 250; values above are clamped to 250.
|
|
643
|
+
*/
|
|
644
|
+
'page[size]'?: number;
|
|
448
645
|
}
|
|
449
|
-
export
|
|
646
|
+
export interface DirBpoLoaParams {
|
|
647
|
+
/**
|
|
648
|
+
* The approved BPO enterprise the Brand Owner is authorizing. Must be a BPO
|
|
649
|
+
* account on the caller's organization that has already been approved.
|
|
650
|
+
*/
|
|
651
|
+
bpo_enterprise_id: string;
|
|
450
652
|
/**
|
|
451
653
|
* 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
|
-
*
|
|
654
|
+
* name, and signed-at date. When absent the PDF is returned unsigned so the Brand
|
|
655
|
+
* Owner can sign externally and the BPO can upload it via the Documents API.
|
|
454
656
|
*/
|
|
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
|
-
}
|
|
657
|
+
signature?: SignaturePayload;
|
|
466
658
|
}
|
|
467
659
|
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, };
|
|
660
|
+
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
661
|
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
662
|
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
663
|
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,yBAAy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AsB,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
|
|
@@ -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,sDAUyB;AACzB,uEAA8C;AAC9C,gDAQsB;AACtB,0EAAiD;AACjD,oDAKwB;AAGxB,yDAA6G;AAC7G,uDAAsD;AAEtD,uDAAiD;AAEjD,MAAa,WAAY,SAAQ,sBAAW;IAA5C;;QACE,aAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxE,uBAAkB,GAA6C,IAAI,qBAA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