telnyx 7.24.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 +7 -0
- package/client.d.mts +19 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -4
- 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 +7 -6
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +7 -6
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +320 -28
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +320 -28
- 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 +36 -0
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +36 -0
- 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/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 +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/index.d.mts +1 -1
- package/resources/ai/memory/index.d.mts.map +1 -1
- package/resources/ai/memory/index.d.ts +1 -1
- package/resources/ai/memory/index.d.ts.map +1 -1
- package/resources/ai/memory/index.js.map +1 -1
- package/resources/ai/memory/index.mjs +1 -1
- package/resources/ai/memory/index.mjs.map +1 -1
- package/resources/ai/memory/memory.d.mts +2 -2
- package/resources/ai/memory/memory.d.mts.map +1 -1
- package/resources/ai/memory/memory.d.ts +2 -2
- package/resources/ai/memory/memory.d.ts.map +1 -1
- package/resources/ai/memory/memory.js.map +1 -1
- package/resources/ai/memory/memory.mjs +1 -1
- package/resources/ai/memory/memory.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +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 +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +60 -4
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +60 -4
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js +41 -3
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs +41 -3
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/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/calls/actions.d.mts +76 -17
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +76 -17
- 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 +48 -11
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +48 -11
- 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/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/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 +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- 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/meeting-sessions.d.mts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +6 -6
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +6 -6
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/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/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/text-to-speech/text-to-speech.d.mts +4 -2
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +4 -2
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/webhooks.d.mts +403 -5
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +403 -5
- 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 +55 -0
- package/src/resources/ai/ai.ts +13 -4
- package/src/resources/ai/assistants/assistants.ts +384 -28
- package/src/resources/ai/assistants/deleted.ts +86 -0
- package/src/resources/ai/assistants/index.ts +11 -0
- package/src/resources/ai/assistants/versions.ts +40 -0
- package/src/resources/ai/chat.ts +7 -2
- package/src/resources/ai/embeddings/embeddings.ts +1 -1
- package/src/resources/ai/index.ts +5 -1
- package/src/resources/ai/memory/index.ts +9 -1
- package/src/resources/ai/memory/memory.ts +13 -1
- package/src/resources/ai/memory/namespaces/index.ts +9 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +81 -3
- package/src/resources/ai/openai/chat.ts +7 -2
- package/src/resources/ai/tools.ts +6 -6
- package/src/resources/calls/actions.ts +76 -15
- package/src/resources/calls/calls.ts +49 -9
- 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/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 +20 -0
- 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/meeting-sessions.ts +8 -9
- 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/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/text-to-speech/text-to-speech.ts +4 -2
- package/src/resources/webhooks.ts +495 -2
- 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
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
import { path } from '../../internal/utils/path';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
10
|
+
*/
|
|
11
|
+
export class VerifyEmail extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
14
|
+
* ownership of that address.
|
|
15
|
+
*
|
|
16
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
17
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
18
|
+
* approved for use until this contact email is verified.
|
|
19
|
+
*
|
|
20
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
21
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
22
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
27
|
+
* await client.enterprises.verifyEmail.create(
|
|
28
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
create(
|
|
33
|
+
enterpriseID: string,
|
|
34
|
+
options?: RequestOptions,
|
|
35
|
+
): APIPromise<EnterpriseEmailVerificationStatusWrapped> {
|
|
36
|
+
return this._client.post(path`/enterprises/${enterpriseID}/verify_email`, options);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
41
|
+
* email. On success the contact email is marked verified.
|
|
42
|
+
*
|
|
43
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
44
|
+
* returns the same generic message.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
49
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
50
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
51
|
+
* { code: '482915' },
|
|
52
|
+
* );
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
confirm(
|
|
56
|
+
enterpriseID: string,
|
|
57
|
+
body: VerifyEmailConfirmParams,
|
|
58
|
+
options?: RequestOptions,
|
|
59
|
+
): APIPromise<EnterpriseEmailVerificationStatusWrapped> {
|
|
60
|
+
return this._client.post(path`/enterprises/${enterpriseID}/verify_email/confirm`, { body, ...options });
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
65
|
+
/**
|
|
66
|
+
* Verification state for an enterprise account's contact email.
|
|
67
|
+
*/
|
|
68
|
+
data: EnterpriseEmailVerificationStatusWrapped.Data;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export namespace EnterpriseEmailVerificationStatusWrapped {
|
|
72
|
+
/**
|
|
73
|
+
* Verification state for an enterprise account's contact email.
|
|
74
|
+
*/
|
|
75
|
+
export interface Data {
|
|
76
|
+
/**
|
|
77
|
+
* Whether the enterprise account's contact email has been confirmed.
|
|
78
|
+
*/
|
|
79
|
+
email_verified: boolean;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Always `email_verification`.
|
|
83
|
+
*/
|
|
84
|
+
record_type: 'email_verification';
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* `sent` after a code is emailed; `verified` after a successful confirm.
|
|
88
|
+
*/
|
|
89
|
+
status: 'sent' | 'verified';
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* When the code just sent stops being accepted. Present on a send response; null
|
|
93
|
+
* on a confirm response.
|
|
94
|
+
*/
|
|
95
|
+
expires_at?: string | null;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* How many more codes may be requested for this enterprise account today. Present
|
|
99
|
+
* on a send response; null on a confirm response.
|
|
100
|
+
*/
|
|
101
|
+
sends_remaining_today?: number | null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface VerifyEmailConfirmParams {
|
|
106
|
+
/**
|
|
107
|
+
* The 6-digit code sent to the enterprise account's contact email.
|
|
108
|
+
*/
|
|
109
|
+
code: string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export declare namespace VerifyEmail {
|
|
113
|
+
export {
|
|
114
|
+
type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped,
|
|
115
|
+
type VerifyEmailConfirmParams as VerifyEmailConfirmParams,
|
|
116
|
+
};
|
|
117
|
+
}
|
package/src/resources/index.ts
CHANGED
|
@@ -287,17 +287,23 @@ export {
|
|
|
287
287
|
} from './dialogflow-connections';
|
|
288
288
|
export {
|
|
289
289
|
DirResource,
|
|
290
|
+
type BpoAuthorizationInput,
|
|
290
291
|
type Dir,
|
|
291
292
|
type DirList,
|
|
292
293
|
type DirStatus,
|
|
293
294
|
type DirWrapped,
|
|
294
295
|
type Document,
|
|
296
|
+
type SignaturePayload,
|
|
297
|
+
type DirDeleteResponse,
|
|
295
298
|
type DirListDocumentTypesResponse,
|
|
299
|
+
type DirRetrieveBpoAuthorizationsResponse,
|
|
296
300
|
type DirListParams,
|
|
297
301
|
type DirUpdateParams,
|
|
298
302
|
type DirListInfringementClaimsParams,
|
|
299
303
|
type DirUpdateInfringementParams,
|
|
300
304
|
type DirNewLoaParams,
|
|
305
|
+
type DirRetrieveBpoAuthorizationsParams,
|
|
306
|
+
type DirBpoLoaParams,
|
|
301
307
|
type DirsDefaultFlatPagination,
|
|
302
308
|
} from './dir/dir';
|
|
303
309
|
export {
|
|
@@ -663,6 +669,7 @@ export {
|
|
|
663
669
|
} from './ledger-billing-group-reports';
|
|
664
670
|
export { Legacy } from './legacy/legacy';
|
|
665
671
|
export { List, type ListRetrieveAllResponse, type ListRetrieveByZoneResponse } from './list';
|
|
672
|
+
export { LlmTokenGateway } from './llm-token-gateway/llm-token-gateway';
|
|
666
673
|
export {
|
|
667
674
|
MachinePayments,
|
|
668
675
|
type MachinePaymentAccountCreditResponse,
|
|
@@ -1358,6 +1365,16 @@ export {
|
|
|
1358
1365
|
type SpeechToTextListProvidersParams,
|
|
1359
1366
|
type SpeechToTextRetrieveTranscriptionParams,
|
|
1360
1367
|
} from './speech-to-text';
|
|
1368
|
+
export {
|
|
1369
|
+
SpendLimits,
|
|
1370
|
+
type SpendLimit,
|
|
1371
|
+
type SpendLimitPeriod,
|
|
1372
|
+
type SpendLimitResponse,
|
|
1373
|
+
type SpendLimitListResponse,
|
|
1374
|
+
type SpendLimitCreateParams,
|
|
1375
|
+
type SpendLimitDeleteParams,
|
|
1376
|
+
type SpendLimitUpdateParams,
|
|
1377
|
+
} from './spend-limits';
|
|
1361
1378
|
export { Storage, type StorageListMigrationSourceCoverageResponse } from './storage/storage';
|
|
1362
1379
|
export {
|
|
1363
1380
|
SubNumberOrders,
|
|
@@ -1660,6 +1677,7 @@ export {
|
|
|
1660
1677
|
type ArtifactFailedWebhookEvent,
|
|
1661
1678
|
type CallAnsweredWebhookEvent,
|
|
1662
1679
|
type CallBridgedWebhookEvent,
|
|
1680
|
+
type CallConversationCreatedWebhookEvent,
|
|
1663
1681
|
type CallConversationEndedWebhookEvent,
|
|
1664
1682
|
type CallConversationInsightsGeneratedWebhookEvent,
|
|
1665
1683
|
type CallCostWebhookEvent,
|
|
@@ -1676,7 +1694,9 @@ export {
|
|
|
1676
1694
|
type CallLeftQueueWebhookEvent,
|
|
1677
1695
|
type CallMachineDetectionEndedWebhookEvent,
|
|
1678
1696
|
type CallMachineGreetingEndedWebhookEvent,
|
|
1697
|
+
type CallMachinePremiumCallScreeningDetectedWebhookEvent,
|
|
1679
1698
|
type CallMachinePremiumDetectionEndedWebhookEvent,
|
|
1699
|
+
type CallMachinePremiumDetectionStartedWebhookEvent,
|
|
1680
1700
|
type CallMachinePremiumGreetingEndedWebhookEvent,
|
|
1681
1701
|
type CallPaymentCompletedWebhookEvent,
|
|
1682
1702
|
type CallPaymentProgressWebhookEvent,
|
|
@@ -175,6 +175,10 @@ export namespace InfringementClaim {
|
|
|
175
175
|
* - `infringement_claimed` - a trademark/impersonation claim is open against this
|
|
176
176
|
* DIR.
|
|
177
177
|
* - `permanently_rejected` - terminal; cannot be resubmitted.
|
|
178
|
+
* - `delete_requested` - you have requested deletion; the DIR still exists and
|
|
179
|
+
* Telnyx is completing the removal (de-registration and cleanup). A verified DIR
|
|
180
|
+
* keeps serving its branded identity, and keeps billing, until the removal
|
|
181
|
+
* finishes.
|
|
178
182
|
*/
|
|
179
183
|
status?: DirAPI.DirStatus;
|
|
180
184
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as UsageAPI from './usage';
|
|
5
|
+
import { Usage, UsageRetrieveSummaryParams, UsageRetrieveSummaryResponse } from './usage';
|
|
6
|
+
|
|
7
|
+
export class LlmTokenGateway extends APIResource {
|
|
8
|
+
usage: UsageAPI.Usage = new UsageAPI.Usage(this._client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
LlmTokenGateway.Usage = Usage;
|
|
12
|
+
|
|
13
|
+
export declare namespace LlmTokenGateway {
|
|
14
|
+
export {
|
|
15
|
+
Usage as Usage,
|
|
16
|
+
type UsageRetrieveSummaryResponse as UsageRetrieveSummaryResponse,
|
|
17
|
+
type UsageRetrieveSummaryParams as UsageRetrieveSummaryParams,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { APIPromise } from '../../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Manage and report AI Gateway traffic.
|
|
9
|
+
*/
|
|
10
|
+
export class Usage extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Return complete usage totals, UTC daily and model breakdowns, and guardrail
|
|
13
|
+
* event counts for one token group owned by the authenticated account. Requires
|
|
14
|
+
* the llm_token_gateway.usage.read permission; spend and guardrail read
|
|
15
|
+
* permissions do not grant this combined report. All sections share one database
|
|
16
|
+
* snapshot and include the latest usage corrections. Dates use an inclusive start
|
|
17
|
+
* and exclusive end spanning 1 to 31 days. Only token_group_id, start_date and
|
|
18
|
+
* end_date are accepted; pagination, group_by and other filters are rejected.
|
|
19
|
+
* Spend is reference/enforcement USD, not invoice truth or BYOK provider charges.
|
|
20
|
+
* Unknown cost is excluded from spend and reported through unknown_requests and
|
|
21
|
+
* reserved_spend. Daily rows include zero-activity days. Model rows are ordered by
|
|
22
|
+
* request count descending, then model name, and are limited to 1,000. Guardrail
|
|
23
|
+
* counts count events, not distinct requests; recent_events contains at most 20
|
|
24
|
+
* newest events. A report that exceeds model or query limits returns 503 rather
|
|
25
|
+
* than a truncated success.
|
|
26
|
+
*/
|
|
27
|
+
retrieveSummary(
|
|
28
|
+
query: UsageRetrieveSummaryParams,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<UsageRetrieveSummaryResponse> {
|
|
31
|
+
return this._client.get('/llm_token_gateway/usage/summary', { query, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export interface UsageRetrieveSummaryResponse {
|
|
36
|
+
data: UsageRetrieveSummaryResponse.Data;
|
|
37
|
+
|
|
38
|
+
meta: UsageRetrieveSummaryResponse.Meta;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export namespace UsageRetrieveSummaryResponse {
|
|
42
|
+
export interface Data {
|
|
43
|
+
/**
|
|
44
|
+
* One row per UTC day, including zero-activity days.
|
|
45
|
+
*/
|
|
46
|
+
by_day: Array<Data.ByDay>;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* One row per model, ordered by request count descending then model name.
|
|
50
|
+
*/
|
|
51
|
+
by_model: Array<Data.ByModel>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Complete guardrail event counts and bounded recent findings for the same group
|
|
55
|
+
* and range.
|
|
56
|
+
*/
|
|
57
|
+
guardrails: Data.Guardrails;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Metrics for all matching requests.
|
|
61
|
+
*/
|
|
62
|
+
totals: Data.Totals;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export namespace Data {
|
|
66
|
+
export interface ByDay {
|
|
67
|
+
/**
|
|
68
|
+
* Requests served from the gateway cache.
|
|
69
|
+
*/
|
|
70
|
+
cache_hits: number;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* UTC day.
|
|
74
|
+
*/
|
|
75
|
+
date: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Requests classified as failed.
|
|
79
|
+
*/
|
|
80
|
+
failed_requests: number;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Independently known input tokens across attempts, including corrected usage.
|
|
84
|
+
*/
|
|
85
|
+
input_tokens: number;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Independently known output tokens across attempts, including corrected usage.
|
|
89
|
+
*/
|
|
90
|
+
output_tokens: number;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Requests classified as partial after streaming began.
|
|
94
|
+
*/
|
|
95
|
+
partial_requests: number;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Number of matching requests.
|
|
99
|
+
*/
|
|
100
|
+
requests: number;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Unresolved budget reservations in USD.
|
|
104
|
+
*/
|
|
105
|
+
reserved_spend: number;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Sum of known reference/enforcement cost in USD.
|
|
109
|
+
*/
|
|
110
|
+
spend: number;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Requests classified as succeeded.
|
|
114
|
+
*/
|
|
115
|
+
succeeded_requests: number;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Requests whose cost remains unresolved; unknown cost is excluded from spend.
|
|
119
|
+
*/
|
|
120
|
+
unknown_requests: number;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export interface ByModel {
|
|
124
|
+
/**
|
|
125
|
+
* Requests served from the gateway cache.
|
|
126
|
+
*/
|
|
127
|
+
cache_hits: number;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Requests classified as failed.
|
|
131
|
+
*/
|
|
132
|
+
failed_requests: number;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Independently known input tokens across attempts, including corrected usage.
|
|
136
|
+
*/
|
|
137
|
+
input_tokens: number;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Model identifier.
|
|
141
|
+
*/
|
|
142
|
+
model: string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Independently known output tokens across attempts, including corrected usage.
|
|
146
|
+
*/
|
|
147
|
+
output_tokens: number;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Requests classified as partial after streaming began.
|
|
151
|
+
*/
|
|
152
|
+
partial_requests: number;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Number of matching requests.
|
|
156
|
+
*/
|
|
157
|
+
requests: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Unresolved budget reservations in USD.
|
|
161
|
+
*/
|
|
162
|
+
reserved_spend: number;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Sum of known reference/enforcement cost in USD.
|
|
166
|
+
*/
|
|
167
|
+
spend: number;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Requests classified as succeeded.
|
|
171
|
+
*/
|
|
172
|
+
succeeded_requests: number;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Requests whose cost remains unresolved; unknown cost is excluded from spend.
|
|
176
|
+
*/
|
|
177
|
+
unknown_requests: number;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Complete guardrail event counts and bounded recent findings for the same group
|
|
182
|
+
* and range.
|
|
183
|
+
*/
|
|
184
|
+
export interface Guardrails {
|
|
185
|
+
/**
|
|
186
|
+
* Total blocked guardrail events, not distinct requests.
|
|
187
|
+
*/
|
|
188
|
+
blocked_events: number;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Total flagged guardrail events, not distinct requests.
|
|
192
|
+
*/
|
|
193
|
+
flagged_events: number;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Up to 20 newest privacy-safe guardrail events, ordered by creation time
|
|
197
|
+
* descending and event ID.
|
|
198
|
+
*/
|
|
199
|
+
recent_events: Array<Guardrails.RecentEvent>;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export namespace Guardrails {
|
|
203
|
+
export interface RecentEvent {
|
|
204
|
+
id: string;
|
|
205
|
+
|
|
206
|
+
created_at: string;
|
|
207
|
+
|
|
208
|
+
end_user_id: string | null;
|
|
209
|
+
|
|
210
|
+
evaluation_input_tokens: number | null;
|
|
211
|
+
|
|
212
|
+
evaluation_output_tokens: number | null;
|
|
213
|
+
|
|
214
|
+
findings: Array<RecentEvent.Finding>;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Model identifier.
|
|
218
|
+
*/
|
|
219
|
+
model: string;
|
|
220
|
+
|
|
221
|
+
outcome: 'evaluated' | 'flagged' | 'blocked' | 'unevaluated';
|
|
222
|
+
|
|
223
|
+
record_type: 'guardrail_event';
|
|
224
|
+
|
|
225
|
+
request_id: string;
|
|
226
|
+
|
|
227
|
+
stage: 'prompt' | 'response';
|
|
228
|
+
|
|
229
|
+
token_group_id: string;
|
|
230
|
+
|
|
231
|
+
token_key_id: string;
|
|
232
|
+
|
|
233
|
+
token_user_id: string | null;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
export namespace RecentEvent {
|
|
237
|
+
export interface Finding {
|
|
238
|
+
action: 'flag' | 'block';
|
|
239
|
+
|
|
240
|
+
code: string;
|
|
241
|
+
|
|
242
|
+
count: number;
|
|
243
|
+
|
|
244
|
+
detector: 'secrets' | 'dlp' | 'safety';
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Metrics for all matching requests.
|
|
251
|
+
*/
|
|
252
|
+
export interface Totals {
|
|
253
|
+
/**
|
|
254
|
+
* Requests served from the gateway cache.
|
|
255
|
+
*/
|
|
256
|
+
cache_hits: number;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Requests classified as failed.
|
|
260
|
+
*/
|
|
261
|
+
failed_requests: number;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Independently known input tokens across attempts, including corrected usage.
|
|
265
|
+
*/
|
|
266
|
+
input_tokens: number;
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Independently known output tokens across attempts, including corrected usage.
|
|
270
|
+
*/
|
|
271
|
+
output_tokens: number;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Requests classified as partial after streaming began.
|
|
275
|
+
*/
|
|
276
|
+
partial_requests: number;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Number of matching requests.
|
|
280
|
+
*/
|
|
281
|
+
requests: number;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Unresolved budget reservations in USD.
|
|
285
|
+
*/
|
|
286
|
+
reserved_spend: number;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Sum of known reference/enforcement cost in USD.
|
|
290
|
+
*/
|
|
291
|
+
spend: number;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Requests classified as succeeded.
|
|
295
|
+
*/
|
|
296
|
+
succeeded_requests: number;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Requests whose cost remains unresolved; unknown cost is excluded from spend.
|
|
300
|
+
*/
|
|
301
|
+
unknown_requests: number;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export interface Meta {
|
|
306
|
+
end_date: string;
|
|
307
|
+
|
|
308
|
+
start_date: string;
|
|
309
|
+
|
|
310
|
+
token_group_id: string;
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface UsageRetrieveSummaryParams {
|
|
315
|
+
/**
|
|
316
|
+
* Exclusive UTC date in YYYY-MM-DD format. Must follow start_date by 1 to 31 days.
|
|
317
|
+
*/
|
|
318
|
+
end_date: string;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Inclusive UTC date in YYYY-MM-DD format. Must precede end_date by 1 to 31 days.
|
|
322
|
+
*/
|
|
323
|
+
start_date: string;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* ID of a token group owned by the authenticated account.
|
|
327
|
+
*/
|
|
328
|
+
token_group_id: string;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export declare namespace Usage {
|
|
332
|
+
export {
|
|
333
|
+
type UsageRetrieveSummaryResponse as UsageRetrieveSummaryResponse,
|
|
334
|
+
type UsageRetrieveSummaryParams as UsageRetrieveSummaryParams,
|
|
335
|
+
};
|
|
336
|
+
}
|
|
@@ -139,12 +139,12 @@ export class MeetingSessions extends APIResource {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
* Irreversibly requests deletion of
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
142
|
+
* Irreversibly requests deletion of the aggregate recording media for the session.
|
|
143
|
+
* The operation retains the Telnyx-local Meeting session, transcript segments,
|
|
144
|
+
* events, artifacts, and usage records. It is separate from
|
|
145
|
+
* `DELETE /meeting_sessions/{id}`, which stops or cancels participation without
|
|
146
|
+
* deleting the persisted session. A missing/foreign session returns 404; provider
|
|
147
|
+
* deletion failures return 502.
|
|
148
148
|
*
|
|
149
149
|
* @example
|
|
150
150
|
* ```ts
|
|
@@ -438,7 +438,7 @@ export namespace MeetingSessionDeleteRecordingMediaResponse {
|
|
|
438
438
|
*/
|
|
439
439
|
meeting_session_id: string;
|
|
440
440
|
|
|
441
|
-
provider: '
|
|
441
|
+
provider: 'telnyx';
|
|
442
442
|
|
|
443
443
|
scope: 'provider_recording_media';
|
|
444
444
|
}
|
|
@@ -467,8 +467,7 @@ export interface MeetingSessionRetrieveRecordingsResponse {
|
|
|
467
467
|
export namespace MeetingSessionRetrieveRecordingsResponse {
|
|
468
468
|
export interface Data {
|
|
469
469
|
/**
|
|
470
|
-
* Expiry timestamp when
|
|
471
|
-
* returns null.
|
|
470
|
+
* Expiry timestamp when available, or null. Currently returns null.
|
|
472
471
|
*/
|
|
473
472
|
expires_at: string | null;
|
|
474
473
|
|
|
@@ -130,7 +130,15 @@ export interface PortingPhoneNumberBlock {
|
|
|
130
130
|
/**
|
|
131
131
|
* Specifies the phone number type for this porting phone number block.
|
|
132
132
|
*/
|
|
133
|
-
phone_number_type?:
|
|
133
|
+
phone_number_type?:
|
|
134
|
+
| 'landline'
|
|
135
|
+
| 'local'
|
|
136
|
+
| 'mobile'
|
|
137
|
+
| 'multipurpose'
|
|
138
|
+
| 'national'
|
|
139
|
+
| 'other'
|
|
140
|
+
| 'shared_cost'
|
|
141
|
+
| 'toll_free';
|
|
134
142
|
|
|
135
143
|
/**
|
|
136
144
|
* Identifies the type of the resource.
|
|
@@ -417,7 +417,15 @@ export interface PortingOrder {
|
|
|
417
417
|
/**
|
|
418
418
|
* The type of the phone number
|
|
419
419
|
*/
|
|
420
|
-
phone_number_type?:
|
|
420
|
+
phone_number_type?:
|
|
421
|
+
| 'landline'
|
|
422
|
+
| 'local'
|
|
423
|
+
| 'mobile'
|
|
424
|
+
| 'multipurpose'
|
|
425
|
+
| 'national'
|
|
426
|
+
| 'other'
|
|
427
|
+
| 'shared_cost'
|
|
428
|
+
| 'toll_free';
|
|
421
429
|
|
|
422
430
|
/**
|
|
423
431
|
* List of phone numbers associated with this porting order
|
|
@@ -56,7 +56,15 @@ export interface PortingPhoneNumber {
|
|
|
56
56
|
/**
|
|
57
57
|
* The type of the phone number
|
|
58
58
|
*/
|
|
59
|
-
phone_number_type?:
|
|
59
|
+
phone_number_type?:
|
|
60
|
+
| 'landline'
|
|
61
|
+
| 'local'
|
|
62
|
+
| 'mobile'
|
|
63
|
+
| 'multipurpose'
|
|
64
|
+
| 'national'
|
|
65
|
+
| 'other'
|
|
66
|
+
| 'shared_cost'
|
|
67
|
+
| 'toll_free';
|
|
60
68
|
|
|
61
69
|
/**
|
|
62
70
|
* Specifies whether Telnyx is able to confirm portability this number in the
|
|
@@ -97,7 +97,7 @@ export interface DocReqsRequirement {
|
|
|
97
97
|
* Indicates the phone_number_type this requirement applies to. Leave blank if this
|
|
98
98
|
* requirement applies to all number_types.
|
|
99
99
|
*/
|
|
100
|
-
phone_number_type?: 'local' | 'national' | 'toll_free';
|
|
100
|
+
phone_number_type?: 'local' | 'mobile' | 'multipurpose' | 'national' | 'shared_cost' | 'toll_free';
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* Identifies the type of the resource.
|
|
@@ -173,7 +173,7 @@ export namespace RequirementListParams {
|
|
|
173
173
|
/**
|
|
174
174
|
* Filters results to those applying to a specific phone_number_type
|
|
175
175
|
*/
|
|
176
|
-
phone_number_type?: 'local' | 'national' | 'toll_free';
|
|
176
|
+
phone_number_type?: 'local' | 'mobile' | 'multipurpose' | 'national' | 'shared_cost' | 'toll_free';
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
|