telnyx 7.25.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 +7 -0
- package/client.d.mts +10 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -4
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +14 -5
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +14 -5
- 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 +232 -6
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +232 -6
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/index.d.mts +1 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +1 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +12 -0
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +12 -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 +20 -6
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +20 -6
- 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/index.d.mts +2 -1
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -1
- 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/namespaces/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +1 -1
- 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.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +2 -2
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- 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 +20 -6
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +20 -6
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +17 -1
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +17 -1
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/calls/actions.d.mts +59 -13
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +59 -13
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +24 -14
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +24 -14
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js +8 -0
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs +8 -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 +10 -7
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +10 -7
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +1 -1
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +1 -1
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/phone-numbers.d.mts +0 -4
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +0 -4
- package/resources/dir/phone-numbers.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 +8 -2
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +8 -2
- 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 +7 -5
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +7 -5
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +5 -3
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +5 -3
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +1 -1
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -1
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js.map +1 -1
- 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 +3 -2
- package/resources/enterprises/reputation/loa.d.mts.map +1 -1
- package/resources/enterprises/reputation/loa.d.ts +3 -2
- 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/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 +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/llm-token-gateway/index.d.mts +4 -1
- package/resources/llm-token-gateway/index.d.mts.map +1 -1
- package/resources/llm-token-gateway/index.d.ts +4 -1
- package/resources/llm-token-gateway/index.d.ts.map +1 -1
- package/resources/llm-token-gateway/index.js +7 -1
- package/resources/llm-token-gateway/index.js.map +1 -1
- package/resources/llm-token-gateway/index.mjs +4 -1
- package/resources/llm-token-gateway/index.mjs.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.d.mts +14 -2
- package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.d.ts +14 -2
- package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.js +12 -0
- package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -1
- package/resources/llm-token-gateway/llm-token-gateway.mjs +13 -1
- package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -1
- 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 +205 -146
- package/resources/llm-token-gateway/usage.d.mts.map +1 -1
- package/resources/llm-token-gateway/usage.d.ts +205 -146
- package/resources/llm-token-gateway/usage.d.ts.map +1 -1
- package/resources/llm-token-gateway/usage.js +47 -15
- package/resources/llm-token-gateway/usage.js.map +1 -1
- package/resources/llm-token-gateway/usage.mjs +47 -15
- package/resources/llm-token-gateway/usage.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/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/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/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/webhooks.d.mts +566 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +566 -3
- 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 +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.js +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.mjs +6 -5
- package/resources/whatsapp/phone-numbers/calling-routing.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 +28 -0
- package/src/resources/ai/ai.ts +38 -3
- package/src/resources/ai/assistants/assistants.ts +292 -5
- package/src/resources/ai/assistants/index.ts +2 -0
- package/src/resources/ai/assistants/versions.ts +14 -0
- package/src/resources/ai/avatars.ts +238 -0
- package/src/resources/ai/chat.ts +20 -6
- package/src/resources/ai/conversations/conversations.ts +9 -0
- package/src/resources/ai/index.ts +13 -0
- package/src/resources/ai/memory/namespaces/index.ts +2 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +4 -0
- 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 +20 -6
- package/src/resources/ai/tools.ts +19 -1
- package/src/resources/calls/actions.ts +65 -10
- package/src/resources/calls/calls.ts +24 -8
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/dir/dir.ts +10 -7
- package/src/resources/dir/phone-numbers.ts +1 -6
- package/src/resources/email-templates.ts +121 -19
- package/src/resources/enterprises/dir.ts +8 -2
- package/src/resources/enterprises/enterprises.ts +7 -3
- package/src/resources/enterprises/index.ts +1 -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 +3 -2
- 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/global-ip-assignment-health.ts +4 -4
- package/src/resources/global-ip-assignments-usage.ts +4 -4
- package/src/resources/index.ts +11 -0
- package/src/resources/llm-token-gateway/index.ts +38 -1
- package/src/resources/llm-token-gateway/llm-token-gateway.ts +83 -1
- 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 +273 -149
- package/src/resources/phone-numbers/jobs.ts +18 -5
- package/src/resources/reputation/numbers.ts +12 -0
- package/src/resources/sip-registration-status.ts +188 -0
- package/src/resources/texml/texml.ts +7 -3
- package/src/resources/webhooks.ts +754 -15
- package/src/resources/whatsapp/index.ts +7 -0
- package/src/resources/whatsapp/phone-numbers/calling-routing.ts +6 -5
- 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
|
@@ -52,10 +52,16 @@ export class Dir extends APIResource {
|
|
|
52
52
|
*
|
|
53
53
|
* **Failure modes**
|
|
54
54
|
*
|
|
55
|
-
* - `
|
|
56
|
-
* - `
|
|
55
|
+
* - `400` - validation error; `errors[].source.pointer` names the offending field.
|
|
56
|
+
* - `400` - a certification field is not `true`.
|
|
57
|
+
* - `400` - Branded Calling not activated on this enterprise (see
|
|
57
58
|
* `POST /enterprises/{id}/branded_calling`).
|
|
59
|
+
* - `400` - the enterprise is a BPO enterprise (`role_type` `bpo`), which cannot
|
|
60
|
+
* own a DIR.
|
|
61
|
+
* - `400` - a `bpo_authorizations` entry is not an approved BPO enterprise in your
|
|
62
|
+
* account, or its `loa_document_id` could not be validated.
|
|
58
63
|
* - `404` - enterprise does not exist or does not belong to your account.
|
|
64
|
+
* - `503` - the document check is temporarily unavailable; retry.
|
|
59
65
|
*
|
|
60
66
|
* @example
|
|
61
67
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,YAAoB,EACpB,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,gBAAgB,YAAY,MAAM,EACtC,CAAA,qBAAiC,CAAA,EACjC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED
|
|
1
|
+
{"version":3,"file":"dir.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/dir.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAE7G,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CACF,YAAoB,EACpB,QAA0C,EAAE,EAC5C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAI,CAAA,gBAAgB,YAAY,MAAM,EACtC,CAAA,qBAAiC,CAAA,EACjC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAqB,EACrB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,MAAM,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;CACF"}
|
|
@@ -4,7 +4,7 @@ import { Dir, DirCreateParams, DirListParams } from "./dir.mjs";
|
|
|
4
4
|
import * as VerifyEmailAPI from "./verify-email.mjs";
|
|
5
5
|
import { EnterpriseEmailVerificationStatusWrapped, VerifyEmail, VerifyEmailConfirmParams } from "./verify-email.mjs";
|
|
6
6
|
import * as ReputationAPI from "./reputation/reputation.mjs";
|
|
7
|
-
import { EnterpriseReputationPublic, EnterpriseReputationPublicWrapped, Reputation, ReputationCheckFrequency, ReputationEnableParams, ReputationUpdateFrequencyParams } from "./reputation/reputation.mjs";
|
|
7
|
+
import { EnterpriseReputationPublic, EnterpriseReputationPublicWrapped, Reputation, ReputationCheckFrequency, ReputationEnableParams, ReputationUpdateFrequencyParams, ReputationUpdateWebhookParams } from "./reputation/reputation.mjs";
|
|
8
8
|
import { APIPromise } from "../../core/api-promise.mjs";
|
|
9
9
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../core/pagination.mjs";
|
|
10
10
|
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
@@ -192,11 +192,13 @@ export declare class Enterprises extends APIResource {
|
|
|
192
192
|
/**
|
|
193
193
|
* Branded Calling must be activated on each enterprise. Activation is idempotent:
|
|
194
194
|
*
|
|
195
|
-
* - First call: marks the enterprise as activated
|
|
196
|
-
*
|
|
195
|
+
* - First call: marks the enterprise as activated, effective immediately; you can
|
|
196
|
+
* create a DIR right away. The enterprise is registered with the Branded Calling
|
|
197
|
+
* platform later, after its first DIR is approved. Returns `200` with
|
|
197
198
|
* `branded_calling_enabled: true`.
|
|
198
199
|
* - Re-call after success: no-op, returns the same enterprise body.
|
|
199
|
-
* - Re-call after a
|
|
200
|
+
* - Re-call after a failed registration: re-queues the registration, returns
|
|
201
|
+
* `200`.
|
|
200
202
|
*
|
|
201
203
|
* Prerequisite: the calling user must have agreed to the Branded Calling Terms of
|
|
202
204
|
* Service (`POST /terms_of_service/branded_calling/agree`). Without that, this
|
|
@@ -640,7 +642,7 @@ export interface EnterpriseUpdateParams {
|
|
|
640
642
|
}
|
|
641
643
|
export declare namespace Enterprises {
|
|
642
644
|
export { type BillingContact as BillingContact, type EnterprisePublic as EnterprisePublic, type EnterprisePublicWrapped as EnterprisePublicWrapped, type NumberReputationPaginationMeta as NumberReputationPaginationMeta, type OrganizationContact as OrganizationContact, type PhysicalAddress as PhysicalAddress, type EnterprisePublicsDefaultFlatPagination as EnterprisePublicsDefaultFlatPagination, type EnterpriseListParams as EnterpriseListParams, type EnterpriseCreateParams as EnterpriseCreateParams, type EnterpriseUpdateParams as EnterpriseUpdateParams, };
|
|
643
|
-
export { Reputation as Reputation, type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, };
|
|
645
|
+
export { Reputation as Reputation, type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams as ReputationUpdateWebhookParams, };
|
|
644
646
|
export { Dir as Dir, type DirListParams as DirListParams, type DirCreateParams as DirCreateParams };
|
|
645
647
|
export { VerifyEmail as VerifyEmail, type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
646
648
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterprises.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAc;AAC5D,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EACL,wCAAwC,EACxC,WAAW,EACX,wBAAwB,EACzB,2BAAuB;AACxB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,UAAU,EACV,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"enterprises.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,kBAAc;AAC5D,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EACL,wCAAwC,EACxC,WAAW,EACX,wBAAwB,EACzB,2BAAuB;AACxB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,UAAU,EACV,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,6BAA6B,EAC9B,oCAAgC;AACjC,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,kCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,UAAU,EAAE,aAAa,CAAC,UAAU,C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IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EAAE,GAAG,IAAI,GAAG,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;IAEpG,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -4,7 +4,7 @@ import { Dir, DirCreateParams, DirListParams } from "./dir.js";
|
|
|
4
4
|
import * as VerifyEmailAPI from "./verify-email.js";
|
|
5
5
|
import { EnterpriseEmailVerificationStatusWrapped, VerifyEmail, VerifyEmailConfirmParams } from "./verify-email.js";
|
|
6
6
|
import * as ReputationAPI from "./reputation/reputation.js";
|
|
7
|
-
import { EnterpriseReputationPublic, EnterpriseReputationPublicWrapped, Reputation, ReputationCheckFrequency, ReputationEnableParams, ReputationUpdateFrequencyParams } from "./reputation/reputation.js";
|
|
7
|
+
import { EnterpriseReputationPublic, EnterpriseReputationPublicWrapped, Reputation, ReputationCheckFrequency, ReputationEnableParams, ReputationUpdateFrequencyParams, ReputationUpdateWebhookParams } from "./reputation/reputation.js";
|
|
8
8
|
import { APIPromise } from "../../core/api-promise.js";
|
|
9
9
|
import { DefaultFlatPagination, type DefaultFlatPaginationParams, PagePromise } from "../../core/pagination.js";
|
|
10
10
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
@@ -192,11 +192,13 @@ export declare class Enterprises extends APIResource {
|
|
|
192
192
|
/**
|
|
193
193
|
* Branded Calling must be activated on each enterprise. Activation is idempotent:
|
|
194
194
|
*
|
|
195
|
-
* - First call: marks the enterprise as activated
|
|
196
|
-
*
|
|
195
|
+
* - First call: marks the enterprise as activated, effective immediately; you can
|
|
196
|
+
* create a DIR right away. The enterprise is registered with the Branded Calling
|
|
197
|
+
* platform later, after its first DIR is approved. Returns `200` with
|
|
197
198
|
* `branded_calling_enabled: true`.
|
|
198
199
|
* - Re-call after success: no-op, returns the same enterprise body.
|
|
199
|
-
* - Re-call after a
|
|
200
|
+
* - Re-call after a failed registration: re-queues the registration, returns
|
|
201
|
+
* `200`.
|
|
200
202
|
*
|
|
201
203
|
* Prerequisite: the calling user must have agreed to the Branded Calling Terms of
|
|
202
204
|
* Service (`POST /terms_of_service/branded_calling/agree`). Without that, this
|
|
@@ -640,7 +642,7 @@ export interface EnterpriseUpdateParams {
|
|
|
640
642
|
}
|
|
641
643
|
export declare namespace Enterprises {
|
|
642
644
|
export { type BillingContact as BillingContact, type EnterprisePublic as EnterprisePublic, type EnterprisePublicWrapped as EnterprisePublicWrapped, type NumberReputationPaginationMeta as NumberReputationPaginationMeta, type OrganizationContact as OrganizationContact, type PhysicalAddress as PhysicalAddress, type EnterprisePublicsDefaultFlatPagination as EnterprisePublicsDefaultFlatPagination, type EnterpriseListParams as EnterpriseListParams, type EnterpriseCreateParams as EnterpriseCreateParams, type EnterpriseUpdateParams as EnterpriseUpdateParams, };
|
|
643
|
-
export { Reputation as Reputation, type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, };
|
|
645
|
+
export { Reputation as Reputation, type EnterpriseReputationPublic as EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped as EnterpriseReputationPublicWrapped, type ReputationCheckFrequency as ReputationCheckFrequency, type ReputationEnableParams as ReputationEnableParams, type ReputationUpdateFrequencyParams as ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams as ReputationUpdateWebhookParams, };
|
|
644
646
|
export { Dir as Dir, type DirListParams as DirListParams, type DirCreateParams as DirCreateParams };
|
|
645
647
|
export { VerifyEmail as VerifyEmail, type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
646
648
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterprises.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,iBAAc;AAChC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAc;AAC5D,OAAO,KAAK,cAAc,0BAAuB;AACjD,OAAO,EACL,wCAAwC,EACxC,WAAW,EACX,wBAAwB,EACzB,0BAAuB;AACxB,OAAO,KAAK,aAAa,mCAAgC;AACzD,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,UAAU,EACV,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,
|
|
1
|
+
{"version":3,"file":"enterprises.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,MAAM,iBAAc;AAChC,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,iBAAc;AAC5D,OAAO,KAAK,cAAc,0BAAuB;AACjD,OAAO,EACL,wCAAwC,EACxC,WAAW,EACX,wBAAwB,EACzB,0BAAuB;AACxB,OAAO,KAAK,aAAa,mCAAgC;AACzD,OAAO,EACL,0BAA0B,EAC1B,iCAAiC,EACjC,UAAU,EACV,wBAAwB,EACxB,sBAAsB,EACtB,+BAA+B,EAC/B,6BAA6B,EAC9B,mCAAgC;AACjC,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,qBAAqB,EAAE,KAAK,2BAA2B,EAAE,WAAW,EAAE,iCAA8B;AAE7G,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AAC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,0BAA0B,EAC7D,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EAAE,GAAG,IAAI,GAAG,EAAE,KAAK,aAAa,IAAI,aAAa,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;IAEpG,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -216,11 +216,13 @@ class Enterprises extends resource_1.APIResource {
|
|
|
216
216
|
/**
|
|
217
217
|
* Branded Calling must be activated on each enterprise. Activation is idempotent:
|
|
218
218
|
*
|
|
219
|
-
* - First call: marks the enterprise as activated
|
|
220
|
-
*
|
|
219
|
+
* - First call: marks the enterprise as activated, effective immediately; you can
|
|
220
|
+
* create a DIR right away. The enterprise is registered with the Branded Calling
|
|
221
|
+
* platform later, after its first DIR is approved. Returns `200` with
|
|
221
222
|
* `branded_calling_enabled: true`.
|
|
222
223
|
* - Re-call after success: no-op, returns the same enterprise body.
|
|
223
|
-
* - Re-call after a
|
|
224
|
+
* - Re-call after a failed registration: re-queues the registration, returns
|
|
225
|
+
* `200`.
|
|
224
226
|
*
|
|
225
227
|
* Prerequisite: the calling user must have agreed to the Branded Calling Terms of
|
|
226
228
|
* Service (`POST /terms_of_service/branded_calling/agree`). Without that, this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterprises.js","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yDAAgC;AAChC,kCAA4D;AAC5D,0EAAiD;AACjD,oDAIwB;AACxB,kFAAyD;AACzD,
|
|
1
|
+
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AM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,YAAoB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkEG;IACH,MAAM,CACJ,YAAoB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,cAAc,CAAC,YAAoB,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;CACF;AArPD,kCAqPC;AA8kBD,WAAW,CAAC,UAAU,GAAG,uBAAU,CAAC;AACpC,WAAW,CAAC,GAAG,GAAG,SAAG,CAAC;AACtB,WAAW,CAAC,WAAW,GAAG,0BAAW,CAAC"}
|
|
@@ -212,11 +212,13 @@ export class Enterprises extends APIResource {
|
|
|
212
212
|
/**
|
|
213
213
|
* Branded Calling must be activated on each enterprise. Activation is idempotent:
|
|
214
214
|
*
|
|
215
|
-
* - First call: marks the enterprise as activated
|
|
216
|
-
*
|
|
215
|
+
* - First call: marks the enterprise as activated, effective immediately; you can
|
|
216
|
+
* create a DIR right away. The enterprise is registered with the Branded Calling
|
|
217
|
+
* platform later, after its first DIR is approved. Returns `200` with
|
|
217
218
|
* `branded_calling_enabled: true`.
|
|
218
219
|
* - Re-call after success: no-op, returns the same enterprise body.
|
|
219
|
-
* - Re-call after a
|
|
220
|
+
* - Re-call after a failed registration: re-queues the registration, returns
|
|
221
|
+
* `200`.
|
|
220
222
|
*
|
|
221
223
|
* Prerequisite: the calling user must have agreed to the Branded Calling Terms of
|
|
222
224
|
* Service (`POST /terms_of_service/branded_calling/agree`). Without that, this
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enterprises.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,GAAG,EAAkC,kBAAc;AAC5D,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EAEL,WAAW,GAEZ,2BAAuB;AACxB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAGL,UAAU,
|
|
1
|
+
{"version":3,"file":"enterprises.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/enterprises.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,MAAM,kBAAc;AAChC,OAAO,EAAE,GAAG,EAAkC,kBAAc;AAC5D,OAAO,KAAK,cAAc,2BAAuB;AACjD,OAAO,EAEL,WAAW,GAEZ,2BAAuB;AACxB,OAAO,KAAK,aAAa,oCAAgC;AACzD,OAAO,EAGL,UAAU,GAKX,oCAAgC;AAEjC,OAAO,EAAE,qBAAqB,EAAiD,kCAA8B;AAC7G,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAA5C;;QACE,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,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oB,EACpB,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,cAAc,CAAC,YAAoB,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,kBAAkB,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;CACF;AA8kBD,WAAW,CAAC,UAAU,GAAG,UAAU,CAAC;AACpC,WAAW,CAAC,GAAG,GAAG,GAAG,CAAC;AACtB,WAAW,CAAC,WAAW,GAAG,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Dir, type DirListParams, type DirCreateParams } from "./dir.mjs";
|
|
2
2
|
export { Enterprises, type BillingContact, type EnterprisePublic, type EnterprisePublicWrapped, type NumberReputationPaginationMeta, type OrganizationContact, type PhysicalAddress, type EnterpriseListParams, type EnterpriseCreateParams, type EnterpriseUpdateParams, type EnterprisePublicsDefaultFlatPagination, } from "./enterprises.mjs";
|
|
3
|
-
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, } from "./reputation/index.mjs";
|
|
3
|
+
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams, } from "./reputation/index.mjs";
|
|
4
4
|
export { VerifyEmail, type EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams, } from "./verify-email.mjs";
|
|
5
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,+BAA2B;AAC5B,OAAO,EACL,WAAW,EACX,KAAK,wCAAwC,EAC7C,KAAK,wBAAwB,GAC9B,2BAAuB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Dir, type DirListParams, type DirCreateParams } from "./dir.js";
|
|
2
2
|
export { Enterprises, type BillingContact, type EnterprisePublic, type EnterprisePublicWrapped, type NumberReputationPaginationMeta, type OrganizationContact, type PhysicalAddress, type EnterpriseListParams, type EnterpriseCreateParams, type EnterpriseUpdateParams, type EnterprisePublicsDefaultFlatPagination, } from "./enterprises.js";
|
|
3
|
-
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, } from "./reputation/index.js";
|
|
3
|
+
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams, } from "./reputation/index.js";
|
|
4
4
|
export { VerifyEmail, type EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams, } from "./verify-email.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,iBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,iBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,8BAA2B;AAC5B,OAAO,EACL,WAAW,EACX,KAAK,wCAAwC,EAC7C,KAAK,wBAAwB,GAC9B,0BAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gCAAsE;AAA7D,0FAAA,GAAG,OAAA;AACZ,gDAYuB;AAXrB,0GAAA,WAAW,OAAA;AAYb,+
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gCAAsE;AAA7D,0FAAA,GAAG,OAAA;AACZ,gDAYuB;AAXrB,0GAAA,WAAW,OAAA;AAYb,+CAQ4B;AAP1B,mGAAA,UAAU,OAAA;AAQZ,kDAIwB;AAHtB,2GAAA,WAAW,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,GAAG,EAA4C,kBAAc;AACtE,OAAO,EACL,WAAW,GAWZ,0BAAsB;AACvB,OAAO,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,GAAG,EAA4C,kBAAc;AACtE,OAAO,EACL,WAAW,GAWZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAOX,+BAA2B;AAC5B,OAAO,EACL,WAAW,GAGZ,2BAAuB"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ExternalVerificationAPI from "./external-verification.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
7
|
+
*/
|
|
8
|
+
export declare class ExternalVerification extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
11
|
+
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const externalVerificationWrapped =
|
|
16
|
+
* await client.enterprises.reputation.externalVerification.list(
|
|
17
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(enterpriseID: string, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
22
|
+
/**
|
|
23
|
+
* Request permission to add phone numbers that the enterprise owns but that are
|
|
24
|
+
* hosted with another provider. Submit one or more uploaded documents proving
|
|
25
|
+
* ownership, such as a carrier invoice or account statement. The request is
|
|
26
|
+
* reviewed once per enterprise. While it is `pending` or `rejected` you can submit
|
|
27
|
+
* again to replace the documents; once `approved` it cannot be changed.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const externalVerificationWrapped =
|
|
32
|
+
* await client.enterprises.reputation.externalVerification.create(
|
|
33
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
34
|
+
* {
|
|
35
|
+
* document_ids: [
|
|
36
|
+
* '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
create(enterpriseID: string, body: ExternalVerificationCreateParams, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
46
|
+
* another provider.
|
|
47
|
+
*/
|
|
48
|
+
export type ExternalVerificationStatus = 'pending' | 'approved' | 'rejected';
|
|
49
|
+
export interface ExternalVerificationWrapped {
|
|
50
|
+
data: ExternalVerificationWrapped.Data;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace ExternalVerificationWrapped {
|
|
53
|
+
interface Data {
|
|
54
|
+
/**
|
|
55
|
+
* The ownership-proof documents on file.
|
|
56
|
+
*/
|
|
57
|
+
document_ids?: Array<string>;
|
|
58
|
+
enterprise_id?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The phone numbers you listed with the documents.
|
|
61
|
+
*/
|
|
62
|
+
phone_numbers?: Array<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
65
|
+
*/
|
|
66
|
+
rejection_reason?: string | null;
|
|
67
|
+
reviewed_at?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
70
|
+
* another provider.
|
|
71
|
+
*/
|
|
72
|
+
status?: ExternalVerificationAPI.ExternalVerificationStatus;
|
|
73
|
+
submitted_at?: string | null;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export interface ExternalVerificationCreateParams {
|
|
77
|
+
/**
|
|
78
|
+
* Ids of uploaded documents (Documents API) proving the enterprise owns its phone
|
|
79
|
+
* numbers hosted with another provider, for example a carrier invoice or account
|
|
80
|
+
* statement.
|
|
81
|
+
*/
|
|
82
|
+
document_ids: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Optional. The phone numbers hosted with another provider that the documents
|
|
85
|
+
* cover, in E.164 format. Shown to the reviewer to match the documents to your
|
|
86
|
+
* numbers; you can still add numbers that are not listed here, and each is checked
|
|
87
|
+
* on its own.
|
|
88
|
+
*/
|
|
89
|
+
phone_numbers?: Array<string>;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace ExternalVerification {
|
|
92
|
+
export { type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=external-verification.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-verification.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,uBAAuB,oCAAgC;AACnE,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI7F;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAM3C;AAED;;;GAGG;AACH,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AAE7E,MAAM,WAAW,2BAA2B;IAC1C,IAAI,EAAE,2BAA2B,CAAC,IAAI,CAAC;CACxC;AAED,yBAAiB,2BAA2B,CAAC;IAC3C,UAAiB,IAAI;QACnB;;WAEG;QACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE7B,aAAa,CAAC,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAE9B;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEjC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE5B;;;WAGG;QACH,MAAM,CAAC,EAAE,uBAAuB,CAAC,0BAA0B,CAAC;QAE5D,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC9B;CACF;AAED,MAAM,WAAW,gCAAgC;IAC/C;;;;OAIG;IACH,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ExternalVerificationAPI from "./external-verification.js";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
7
|
+
*/
|
|
8
|
+
export declare class ExternalVerification extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
11
|
+
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const externalVerificationWrapped =
|
|
16
|
+
* await client.enterprises.reputation.externalVerification.list(
|
|
17
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
list(enterpriseID: string, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
22
|
+
/**
|
|
23
|
+
* Request permission to add phone numbers that the enterprise owns but that are
|
|
24
|
+
* hosted with another provider. Submit one or more uploaded documents proving
|
|
25
|
+
* ownership, such as a carrier invoice or account statement. The request is
|
|
26
|
+
* reviewed once per enterprise. While it is `pending` or `rejected` you can submit
|
|
27
|
+
* again to replace the documents; once `approved` it cannot be changed.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const externalVerificationWrapped =
|
|
32
|
+
* await client.enterprises.reputation.externalVerification.create(
|
|
33
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
34
|
+
* {
|
|
35
|
+
* document_ids: [
|
|
36
|
+
* '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
create(enterpriseID: string, body: ExternalVerificationCreateParams, options?: RequestOptions): APIPromise<ExternalVerificationWrapped>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
46
|
+
* another provider.
|
|
47
|
+
*/
|
|
48
|
+
export type ExternalVerificationStatus = 'pending' | 'approved' | 'rejected';
|
|
49
|
+
export interface ExternalVerificationWrapped {
|
|
50
|
+
data: ExternalVerificationWrapped.Data;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace ExternalVerificationWrapped {
|
|
53
|
+
interface Data {
|
|
54
|
+
/**
|
|
55
|
+
* The ownership-proof documents on file.
|
|
56
|
+
*/
|
|
57
|
+
document_ids?: Array<string>;
|
|
58
|
+
enterprise_id?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The phone numbers you listed with the documents.
|
|
61
|
+
*/
|
|
62
|
+
phone_numbers?: Array<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Why the proof was rejected. Set only when `status` is `rejected`.
|
|
65
|
+
*/
|
|
66
|
+
rejection_reason?: string | null;
|
|
67
|
+
reviewed_at?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Review state of the ownership proof that allows adding phone numbers hosted with
|
|
70
|
+
* another provider.
|
|
71
|
+
*/
|
|
72
|
+
status?: ExternalVerificationAPI.ExternalVerificationStatus;
|
|
73
|
+
submitted_at?: string | null;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
export interface ExternalVerificationCreateParams {
|
|
77
|
+
/**
|
|
78
|
+
* Ids of uploaded documents (Documents API) proving the enterprise owns its phone
|
|
79
|
+
* numbers hosted with another provider, for example a carrier invoice or account
|
|
80
|
+
* statement.
|
|
81
|
+
*/
|
|
82
|
+
document_ids: Array<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Optional. The phone numbers hosted with another provider that the documents
|
|
85
|
+
* cover, in E.164 format. Shown to the reviewer to match the documents to your
|
|
86
|
+
* numbers; you can still add numbers that are not listed here, and each is checked
|
|
87
|
+
* on its own.
|
|
88
|
+
*/
|
|
89
|
+
phone_numbers?: Array<string>;
|
|
90
|
+
}
|
|
91
|
+
export declare namespace ExternalVerification {
|
|
92
|
+
export { type ExternalVerificationStatus as ExternalVerificationStatus, type ExternalVerificationWrapped as ExternalVerificationWrapped, type ExternalVerificationCreateParams as ExternalVerificationCreateParams, };
|
|
93
|
+
}
|
|
94
|
+
//# sourceMappingURL=external-verification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-verification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E,KAAK,CAAC,MAAM,CAAC,CAAC;IAE5B;;;;;OAKG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,oBAAoB,CAAC;IAC5C,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ExternalVerification = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
9
|
+
*/
|
|
10
|
+
class ExternalVerification extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
13
|
+
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const externalVerificationWrapped =
|
|
18
|
+
* await client.enterprises.reputation.externalVerification.list(
|
|
19
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(enterpriseID, options) {
|
|
24
|
+
return this._client.get((0, path_1.path) `/enterprises/${enterpriseID}/reputation/external_verification`, options);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Request permission to add phone numbers that the enterprise owns but that are
|
|
28
|
+
* hosted with another provider. Submit one or more uploaded documents proving
|
|
29
|
+
* ownership, such as a carrier invoice or account statement. The request is
|
|
30
|
+
* reviewed once per enterprise. While it is `pending` or `rejected` you can submit
|
|
31
|
+
* again to replace the documents; once `approved` it cannot be changed.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const externalVerificationWrapped =
|
|
36
|
+
* await client.enterprises.reputation.externalVerification.create(
|
|
37
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
38
|
+
* {
|
|
39
|
+
* document_ids: [
|
|
40
|
+
* '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* );
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
create(enterpriseID, body, options) {
|
|
47
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/reputation/external_verification`, {
|
|
48
|
+
body,
|
|
49
|
+
...options,
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.ExternalVerification = ExternalVerification;
|
|
54
|
+
//# sourceMappingURL=external-verification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-verification.js","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAoB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,mCAAmC,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA/CD,oDA+CC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Phone-number reputation monitoring (spam-score lookup and tracking).
|
|
6
|
+
*/
|
|
7
|
+
export class ExternalVerification extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get the review status of the enterprise's ownership proof for phone numbers
|
|
10
|
+
* hosted with another provider. Returns 404 when no proof has been submitted.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const externalVerificationWrapped =
|
|
15
|
+
* await client.enterprises.reputation.externalVerification.list(
|
|
16
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
list(enterpriseID, options) {
|
|
21
|
+
return this._client.get(path `/enterprises/${enterpriseID}/reputation/external_verification`, options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Request permission to add phone numbers that the enterprise owns but that are
|
|
25
|
+
* hosted with another provider. Submit one or more uploaded documents proving
|
|
26
|
+
* ownership, such as a carrier invoice or account statement. The request is
|
|
27
|
+
* reviewed once per enterprise. While it is `pending` or `rejected` you can submit
|
|
28
|
+
* again to replace the documents; once `approved` it cannot be changed.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const externalVerificationWrapped =
|
|
33
|
+
* await client.enterprises.reputation.externalVerification.create(
|
|
34
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
35
|
+
* {
|
|
36
|
+
* document_ids: [
|
|
37
|
+
* '2a7e8337-e803-4057-a4ae-26c40eb0bc6c',
|
|
38
|
+
* ],
|
|
39
|
+
* },
|
|
40
|
+
* );
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
create(enterpriseID, body, options) {
|
|
44
|
+
return this._client.post(path `/enterprises/${enterpriseID}/reputation/external_verification`, {
|
|
45
|
+
body,
|
|
46
|
+
...options,
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=external-verification.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-verification.mjs","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/external-verification.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,YAAoB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,YAAY,mCAAmC,EAAE,OAAO,CAAC,CAAC;IACxG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,IAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,mCAAmC,EAAE;YAC5F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
export { ExternalVerification, type ExternalVerificationStatus, type ExternalVerificationWrapped, type ExternalVerificationCreateParams, } from "./external-verification.mjs";
|
|
1
2
|
export { Loa, type AgentInput, type LoaUpdateParams, type LoaRenderParams } from "./loa.mjs";
|
|
2
|
-
export { Numbers, type ReputationPhoneNumber, type ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation, type NumberRefreshResponse, type NumberListParams, type NumberAssociateParams, type NumberDisassociateParams, type NumberRetrieveParams, type NumberRefreshParams, type ReputationPhoneNumbersDefaultFlatPagination, } from "./numbers.mjs";
|
|
3
|
+
export { Numbers, type ReputationNumberSource, type ReputationOwnershipStatus, type ReputationPhoneNumber, type ReputationPhoneNumberList, type ReputationPhoneNumberListWithReputation, type ReputationPhoneNumberWithReputation, type NumberRefreshResponse, type NumberRetrieveOwnershipResponse, type NumberListParams, type NumberAssociateParams, type NumberDisassociateParams, type NumberRetrieveParams, type NumberRefreshParams, type NumberRetrieveOwnershipParams, type NumberOwnershipConfirmParams, type ReputationPhoneNumbersDefaultFlatPagination, } from "./numbers.mjs";
|
|
3
4
|
export { Remediation, type RemediationPerNumberResults, type RemediationRequest, type RemediationRequestWrapped, type RemediationStatus, type RemediationListResponse, type RemediationListParams, type RemediationCreateParams, type RemediationRetrieveParams, type RemediationListResponsesDefaultFlatPagination, } from "./remediation.mjs";
|
|
4
|
-
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, } from "./reputation.mjs";
|
|
5
|
+
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, type ReputationUpdateWebhookParams, } from "./reputation.mjs";
|
|
5
6
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,kBAAc;AACzF,OAAO,EACL,OAAO,EACP,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,2CAA2C,GACjD,sBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6CAA6C,GACnD,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,oBAAoB,EACpB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gCAAgC,GACtC,oCAAgC;AACjC,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,kBAAc;AACzF,OAAO,EACL,OAAO,EACP,KAAK,sBAAsB,EAC3B,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,uCAAuC,EAC5C,KAAK,mCAAmC,EACxC,KAAK,qBAAqB,EAC1B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,6BAA6B,EAClC,KAAK,4BAA4B,EACjC,KAAK,2CAA2C,GACjD,sBAAkB;AACnB,OAAO,EACL,WAAW,EACX,KAAK,2BAA2B,EAChC,KAAK,kBAAkB,EACvB,KAAK,yBAAyB,EAC9B,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,6CAA6C,GACnD,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,EACpC,KAAK,6BAA6B,GACnC,yBAAqB"}
|