telnyx 7.30.0 → 7.31.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 +22 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -4
- package/client.d.ts.map +1 -1
- package/client.js +18 -0
- package/client.js.map +1 -1
- package/client.mjs +18 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/agent-gateways/agent-gateways.d.mts +360 -0
- package/resources/agent-gateways/agent-gateways.d.mts.map +1 -0
- package/resources/agent-gateways/agent-gateways.d.ts +360 -0
- package/resources/agent-gateways/agent-gateways.d.ts.map +1 -0
- package/resources/agent-gateways/agent-gateways.js +140 -0
- package/resources/agent-gateways/agent-gateways.js.map +1 -0
- package/resources/agent-gateways/agent-gateways.mjs +135 -0
- package/resources/agent-gateways/agent-gateways.mjs.map +1 -0
- package/resources/agent-gateways/apis.d.mts +300 -0
- package/resources/agent-gateways/apis.d.mts.map +1 -0
- package/resources/agent-gateways/apis.d.ts +300 -0
- package/resources/agent-gateways/apis.d.ts.map +1 -0
- package/resources/agent-gateways/apis.js +89 -0
- package/resources/agent-gateways/apis.js.map +1 -0
- package/resources/agent-gateways/apis.mjs +85 -0
- package/resources/agent-gateways/apis.mjs.map +1 -0
- package/resources/agent-gateways/guardrails.d.mts +210 -0
- package/resources/agent-gateways/guardrails.d.mts.map +1 -0
- package/resources/agent-gateways/guardrails.d.ts +210 -0
- package/resources/agent-gateways/guardrails.d.ts.map +1 -0
- package/resources/agent-gateways/guardrails.js +96 -0
- package/resources/agent-gateways/guardrails.js.map +1 -0
- package/resources/agent-gateways/guardrails.mjs +92 -0
- package/resources/agent-gateways/guardrails.mjs.map +1 -0
- package/resources/agent-gateways/index.d.mts +9 -0
- package/resources/agent-gateways/index.d.mts.map +1 -0
- package/resources/agent-gateways/index.d.ts +9 -0
- package/resources/agent-gateways/index.d.ts.map +1 -0
- package/resources/agent-gateways/index.js +21 -0
- package/resources/agent-gateways/index.js.map +1 -0
- package/resources/agent-gateways/index.mjs +10 -0
- package/resources/agent-gateways/index.mjs.map +1 -0
- package/resources/agent-gateways/keys/index.d.mts +3 -0
- package/resources/agent-gateways/keys/index.d.mts.map +1 -0
- package/resources/agent-gateways/keys/index.d.ts +3 -0
- package/resources/agent-gateways/keys/index.d.ts.map +1 -0
- package/resources/agent-gateways/keys/index.js +9 -0
- package/resources/agent-gateways/keys/index.js.map +1 -0
- package/resources/agent-gateways/keys/index.mjs +4 -0
- package/resources/agent-gateways/keys/index.mjs.map +1 -0
- package/resources/agent-gateways/keys/keys.d.mts +329 -0
- package/resources/agent-gateways/keys/keys.d.mts.map +1 -0
- package/resources/agent-gateways/keys/keys.d.ts +329 -0
- package/resources/agent-gateways/keys/keys.d.ts.map +1 -0
- package/resources/agent-gateways/keys/keys.js +99 -0
- package/resources/agent-gateways/keys/keys.js.map +1 -0
- package/resources/agent-gateways/keys/keys.mjs +94 -0
- package/resources/agent-gateways/keys/keys.mjs.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.d.mts +103 -0
- package/resources/agent-gateways/keys/tool-permissions.d.mts.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.d.ts +103 -0
- package/resources/agent-gateways/keys/tool-permissions.d.ts.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.js +62 -0
- package/resources/agent-gateways/keys/tool-permissions.js.map +1 -0
- package/resources/agent-gateways/keys/tool-permissions.mjs +58 -0
- package/resources/agent-gateways/keys/tool-permissions.mjs.map +1 -0
- package/resources/agent-gateways/keys.d.mts +2 -0
- package/resources/agent-gateways/keys.d.mts.map +1 -0
- package/resources/agent-gateways/keys.d.ts +2 -0
- package/resources/agent-gateways/keys.d.ts.map +1 -0
- package/resources/agent-gateways/keys.js +6 -0
- package/resources/agent-gateways/keys.js.map +1 -0
- package/resources/agent-gateways/keys.mjs +3 -0
- package/resources/agent-gateways/keys.mjs.map +1 -0
- package/resources/agent-gateways/mcp-servers.d.mts +246 -0
- package/resources/agent-gateways/mcp-servers.d.mts.map +1 -0
- package/resources/agent-gateways/mcp-servers.d.ts +246 -0
- package/resources/agent-gateways/mcp-servers.d.ts.map +1 -0
- package/resources/agent-gateways/mcp-servers.js +97 -0
- package/resources/agent-gateways/mcp-servers.js.map +1 -0
- package/resources/agent-gateways/mcp-servers.mjs +93 -0
- package/resources/agent-gateways/mcp-servers.mjs.map +1 -0
- package/resources/agent-gateways/policies.d.mts +266 -0
- package/resources/agent-gateways/policies.d.mts.map +1 -0
- package/resources/agent-gateways/policies.d.ts +266 -0
- package/resources/agent-gateways/policies.d.ts.map +1 -0
- package/resources/agent-gateways/policies.js +97 -0
- package/resources/agent-gateways/policies.js.map +1 -0
- package/resources/agent-gateways/policies.mjs +93 -0
- package/resources/agent-gateways/policies.mjs.map +1 -0
- package/resources/agent-gateways/policy-attachments.d.mts +123 -0
- package/resources/agent-gateways/policy-attachments.d.mts.map +1 -0
- package/resources/agent-gateways/policy-attachments.d.ts +123 -0
- package/resources/agent-gateways/policy-attachments.d.ts.map +1 -0
- package/resources/agent-gateways/policy-attachments.js +63 -0
- package/resources/agent-gateways/policy-attachments.js.map +1 -0
- package/resources/agent-gateways/policy-attachments.mjs +59 -0
- package/resources/agent-gateways/policy-attachments.mjs.map +1 -0
- package/resources/agent-gateways/teams/index.d.mts +3 -0
- package/resources/agent-gateways/teams/index.d.mts.map +1 -0
- package/resources/agent-gateways/teams/index.d.ts +3 -0
- package/resources/agent-gateways/teams/index.d.ts.map +1 -0
- package/resources/agent-gateways/teams/index.js +9 -0
- package/resources/agent-gateways/teams/index.js.map +1 -0
- package/resources/agent-gateways/teams/index.mjs +4 -0
- package/resources/agent-gateways/teams/index.mjs.map +1 -0
- package/resources/agent-gateways/teams/teams.d.mts +210 -0
- package/resources/agent-gateways/teams/teams.d.mts.map +1 -0
- package/resources/agent-gateways/teams/teams.d.ts +210 -0
- package/resources/agent-gateways/teams/teams.d.ts.map +1 -0
- package/resources/agent-gateways/teams/teams.js +98 -0
- package/resources/agent-gateways/teams/teams.js.map +1 -0
- package/resources/agent-gateways/teams/teams.mjs +93 -0
- package/resources/agent-gateways/teams/teams.mjs.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.d.mts +82 -0
- package/resources/agent-gateways/teams/tool-permissions.d.mts.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.d.ts +82 -0
- package/resources/agent-gateways/teams/tool-permissions.d.ts.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.js +62 -0
- package/resources/agent-gateways/teams/tool-permissions.js.map +1 -0
- package/resources/agent-gateways/teams/tool-permissions.mjs +58 -0
- package/resources/agent-gateways/teams/tool-permissions.mjs.map +1 -0
- package/resources/agent-gateways/teams.d.mts +2 -0
- package/resources/agent-gateways/teams.d.mts.map +1 -0
- package/resources/agent-gateways/teams.d.ts +2 -0
- package/resources/agent-gateways/teams.d.ts.map +1 -0
- package/resources/agent-gateways/teams.js +6 -0
- package/resources/agent-gateways/teams.js.map +1 -0
- package/resources/agent-gateways/teams.mjs +3 -0
- package/resources/agent-gateways/teams.mjs.map +1 -0
- package/resources/agent-gateways.d.mts +2 -0
- package/resources/agent-gateways.d.mts.map +1 -0
- package/resources/agent-gateways.d.ts +2 -0
- package/resources/agent-gateways.d.ts.map +1 -0
- package/resources/agent-gateways.js +6 -0
- package/resources/agent-gateways.js.map +1 -0
- package/resources/agent-gateways.mjs +3 -0
- package/resources/agent-gateways.mjs.map +1 -0
- package/resources/ai/assistants/assistants.d.mts +23 -9
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +23 -9
- 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/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 +20 -2
- package/resources/ai/memory/namespaces/profiles/profiles.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts +20 -2
- package/resources/ai/memory/namespaces/profiles/profiles.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.js.map +1 -1
- package/resources/ai/memory/namespaces/profiles/profiles.mjs.map +1 -1
- package/resources/calendar-connections/calendar-connections.d.mts +380 -0
- package/resources/calendar-connections/calendar-connections.d.mts.map +1 -0
- package/resources/calendar-connections/calendar-connections.d.ts +380 -0
- package/resources/calendar-connections/calendar-connections.d.ts.map +1 -0
- package/resources/calendar-connections/calendar-connections.js +102 -0
- package/resources/calendar-connections/calendar-connections.js.map +1 -0
- package/resources/calendar-connections/calendar-connections.mjs +97 -0
- package/resources/calendar-connections/calendar-connections.mjs.map +1 -0
- package/resources/calendar-connections/index.d.mts +3 -0
- package/resources/calendar-connections/index.d.mts.map +1 -0
- package/resources/calendar-connections/index.d.ts +3 -0
- package/resources/calendar-connections/index.d.ts.map +1 -0
- package/resources/calendar-connections/index.js +9 -0
- package/resources/calendar-connections/index.js.map +1 -0
- package/resources/calendar-connections/index.mjs +4 -0
- package/resources/calendar-connections/index.mjs.map +1 -0
- package/resources/calendar-connections/meetings.d.mts +149 -0
- package/resources/calendar-connections/meetings.d.mts.map +1 -0
- package/resources/calendar-connections/meetings.d.ts +149 -0
- package/resources/calendar-connections/meetings.d.ts.map +1 -0
- package/resources/calendar-connections/meetings.js +47 -0
- package/resources/calendar-connections/meetings.js.map +1 -0
- package/resources/calendar-connections/meetings.mjs +43 -0
- package/resources/calendar-connections/meetings.mjs.map +1 -0
- package/resources/calendar-connections.d.mts +2 -0
- package/resources/calendar-connections.d.mts.map +1 -0
- package/resources/calendar-connections.d.ts +2 -0
- package/resources/calendar-connections.d.ts.map +1 -0
- package/resources/calendar-connections.js +6 -0
- package/resources/calendar-connections.js.map +1 -0
- package/resources/calendar-connections.mjs +3 -0
- package/resources/calendar-connections.mjs.map +1 -0
- package/resources/calls/actions.d.mts +11 -5
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +11 -5
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +4 -4
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +4 -4
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/calls/index.d.mts +1 -1
- package/resources/calls/index.d.mts.map +1 -1
- package/resources/calls/index.d.ts +1 -1
- package/resources/calls/index.d.ts.map +1 -1
- package/resources/calls/index.js.map +1 -1
- package/resources/calls/index.mjs.map +1 -1
- package/resources/conferences/actions.d.mts +1 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +6 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +6 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +13 -4
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -0
- package/resources/index.mjs.map +1 -1
- package/resources/meeting-bot/calendar.d.mts +34 -0
- package/resources/meeting-bot/calendar.d.mts.map +1 -0
- package/resources/meeting-bot/calendar.d.ts +34 -0
- package/resources/meeting-bot/calendar.d.ts.map +1 -0
- package/resources/meeting-bot/calendar.js +26 -0
- package/resources/meeting-bot/calendar.js.map +1 -0
- package/resources/meeting-bot/calendar.mjs +22 -0
- package/resources/meeting-bot/calendar.mjs.map +1 -0
- package/resources/meeting-bot/index.d.mts +3 -0
- package/resources/meeting-bot/index.d.mts.map +1 -0
- package/resources/meeting-bot/index.d.ts +3 -0
- package/resources/meeting-bot/index.d.ts.map +1 -0
- package/resources/meeting-bot/index.js +9 -0
- package/resources/meeting-bot/index.js.map +1 -0
- package/resources/meeting-bot/index.mjs +4 -0
- package/resources/meeting-bot/index.mjs.map +1 -0
- package/resources/meeting-bot/meeting-bot.d.mts +10 -0
- package/resources/meeting-bot/meeting-bot.d.mts.map +1 -0
- package/resources/meeting-bot/meeting-bot.d.ts +10 -0
- package/resources/meeting-bot/meeting-bot.d.ts.map +1 -0
- package/resources/meeting-bot/meeting-bot.js +17 -0
- package/resources/meeting-bot/meeting-bot.js.map +1 -0
- package/resources/meeting-bot/meeting-bot.mjs +12 -0
- package/resources/meeting-bot/meeting-bot.mjs.map +1 -0
- package/resources/meeting-bot.d.mts +2 -0
- package/resources/meeting-bot.d.mts.map +1 -0
- package/resources/meeting-bot.d.ts +2 -0
- package/resources/meeting-bot.d.ts.map +1 -0
- package/resources/meeting-bot.js +6 -0
- package/resources/meeting-bot.js.map +1 -0
- package/resources/meeting-bot.mjs +3 -0
- package/resources/meeting-bot.mjs.map +1 -0
- package/resources/meeting-sessions/actions.d.mts +17 -11
- package/resources/meeting-sessions/actions.d.mts.map +1 -1
- package/resources/meeting-sessions/actions.d.ts +17 -11
- package/resources/meeting-sessions/actions.d.ts.map +1 -1
- package/resources/meeting-sessions/actions.js +14 -10
- package/resources/meeting-sessions/actions.js.map +1 -1
- package/resources/meeting-sessions/actions.mjs +14 -10
- package/resources/meeting-sessions/actions.mjs.map +1 -1
- package/resources/meeting-sessions/artifacts.d.mts +8 -7
- package/resources/meeting-sessions/artifacts.d.mts.map +1 -1
- package/resources/meeting-sessions/artifacts.d.ts +8 -7
- package/resources/meeting-sessions/artifacts.d.ts.map +1 -1
- package/resources/meeting-sessions/artifacts.js +8 -7
- package/resources/meeting-sessions/artifacts.js.map +1 -1
- package/resources/meeting-sessions/artifacts.mjs +8 -7
- package/resources/meeting-sessions/artifacts.mjs.map +1 -1
- package/resources/meeting-sessions/index.d.mts +1 -1
- package/resources/meeting-sessions/index.d.mts.map +1 -1
- package/resources/meeting-sessions/index.d.ts +1 -1
- package/resources/meeting-sessions/index.d.ts.map +1 -1
- package/resources/meeting-sessions/index.js.map +1 -1
- package/resources/meeting-sessions/index.mjs.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.mts +281 -103
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +281 -103
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +53 -21
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +53 -21
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +45 -5
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +45 -5
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-speech/text-to-speech.js +8 -2
- package/resources/text-to-speech/text-to-speech.js.map +1 -1
- package/resources/text-to-speech/text-to-speech.mjs +8 -2
- package/resources/text-to-speech/text-to-speech.mjs.map +1 -1
- package/resources/user-profile.d.mts +284 -0
- package/resources/user-profile.d.mts.map +1 -0
- package/resources/user-profile.d.ts +284 -0
- package/resources/user-profile.d.ts.map +1 -0
- package/resources/user-profile.js +42 -0
- package/resources/user-profile.js.map +1 -0
- package/resources/user-profile.mjs +38 -0
- package/resources/user-profile.mjs.map +1 -0
- package/resources/webhooks.d.mts +129 -3
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +129 -3
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +90 -0
- package/src/resources/agent-gateways/agent-gateways.ts +605 -0
- package/src/resources/agent-gateways/apis.ts +388 -0
- package/src/resources/agent-gateways/guardrails.ts +304 -0
- package/src/resources/agent-gateways/index.ts +87 -0
- package/src/resources/agent-gateways/keys/index.ts +20 -0
- package/src/resources/agent-gateways/keys/keys.ts +437 -0
- package/src/resources/agent-gateways/keys/tool-permissions.ts +139 -0
- package/src/resources/agent-gateways/keys.ts +3 -0
- package/src/resources/agent-gateways/mcp-servers.ts +328 -0
- package/src/resources/agent-gateways/policies.ts +348 -0
- package/src/resources/agent-gateways/policy-attachments.ts +167 -0
- package/src/resources/agent-gateways/teams/index.ts +16 -0
- package/src/resources/agent-gateways/teams/teams.ts +282 -0
- package/src/resources/agent-gateways/teams/tool-permissions.ts +112 -0
- package/src/resources/agent-gateways/teams.ts +3 -0
- package/src/resources/agent-gateways.ts +3 -0
- package/src/resources/ai/assistants/assistants.ts +24 -9
- package/src/resources/ai/memory/namespaces/index.ts +1 -0
- package/src/resources/ai/memory/namespaces/namespaces.ts +2 -0
- package/src/resources/ai/memory/namespaces/profiles/index.ts +1 -0
- package/src/resources/ai/memory/namespaces/profiles/profiles.ts +24 -1
- package/src/resources/calendar-connections/calendar-connections.ts +486 -0
- package/src/resources/calendar-connections/index.ts +21 -0
- package/src/resources/calendar-connections/meetings.ts +205 -0
- package/src/resources/calendar-connections.ts +3 -0
- package/src/resources/calls/actions.ts +16 -4
- package/src/resources/calls/calls.ts +6 -2
- package/src/resources/calls/index.ts +1 -0
- package/src/resources/conferences/actions.ts +2 -1
- package/src/resources/index.ts +36 -0
- package/src/resources/meeting-bot/calendar.ts +54 -0
- package/src/resources/meeting-bot/index.ts +8 -0
- package/src/resources/meeting-bot/meeting-bot.ts +23 -0
- package/src/resources/meeting-bot.ts +3 -0
- package/src/resources/meeting-sessions/actions.ts +17 -11
- package/src/resources/meeting-sessions/artifacts.ts +8 -7
- package/src/resources/meeting-sessions/index.ts +4 -0
- package/src/resources/meeting-sessions/meeting-sessions.ts +321 -102
- package/src/resources/text-to-speech/text-to-speech.ts +81 -5
- package/src/resources/user-profile.ts +357 -0
- package/src/resources/webhooks.ts +216 -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,205 @@
|
|
|
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
|
+
* Connect calendars and manage automatic meeting joins.
|
|
10
|
+
*/
|
|
11
|
+
export class Meetings extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* List tracked meetings in a window. Defaults from now through seven days from
|
|
14
|
+
* now. from must not exceed to and the window must not exceed 31 days.
|
|
15
|
+
* bot_will_join is the effective policy decision; check session_id and the linked
|
|
16
|
+
* session status for actual attendance.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```ts
|
|
20
|
+
* const meetings =
|
|
21
|
+
* await client.calendarConnections.meetings.list('id');
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
list(
|
|
25
|
+
id: string,
|
|
26
|
+
query: MeetingListParams | null | undefined = {},
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): APIPromise<MeetingListResponse> {
|
|
29
|
+
return this._client.get(path`/calendar_connections/${id}/meetings`, { query, ...options });
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Set an individual meeting override: true opts in, false opts out, null follows
|
|
34
|
+
* the connection policy. A supported meeting link is required. Changes re-evaluate
|
|
35
|
+
* the meeting immediately; poll the linked session for its final lifecycle
|
|
36
|
+
* outcome.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const meeting =
|
|
41
|
+
* await client.calendarConnections.meetings.update(
|
|
42
|
+
* 'meeting_id',
|
|
43
|
+
* { id: 'id', bot_will_join: false },
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
update(
|
|
48
|
+
meetingID: string,
|
|
49
|
+
params: MeetingUpdateParams,
|
|
50
|
+
options?: RequestOptions,
|
|
51
|
+
): APIPromise<MeetingUpdateResponse> {
|
|
52
|
+
const { id, ...body } = params;
|
|
53
|
+
return this._client.patch(path`/calendar_connections/${id}/meetings/${meetingID}`, { body, ...options });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export interface CalendarMeeting {
|
|
58
|
+
/**
|
|
59
|
+
* Tracked calendar meeting ID.
|
|
60
|
+
*/
|
|
61
|
+
id: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Calendar attendees; identity fields are cleared after the retention window.
|
|
65
|
+
*/
|
|
66
|
+
attendees: Array<CalendarMeeting.Attendee>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Effective policy decision, not proof that the bot has joined.
|
|
70
|
+
*/
|
|
71
|
+
bot_will_join: boolean;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Explicit override; null follows the connection policy.
|
|
75
|
+
*/
|
|
76
|
+
bot_will_join_override: boolean | null;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Scheduling decision.
|
|
80
|
+
*/
|
|
81
|
+
decision:
|
|
82
|
+
| 'pending'
|
|
83
|
+
| 'scheduled'
|
|
84
|
+
| 'skipped_policy'
|
|
85
|
+
| 'skipped_no_url'
|
|
86
|
+
| 'skipped_duplicate'
|
|
87
|
+
| 'skipped_unsupported'
|
|
88
|
+
| 'cancelled';
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Event end time.
|
|
92
|
+
*/
|
|
93
|
+
end_time: string | null;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Whether the connected calendar user is not the organizer.
|
|
97
|
+
*/
|
|
98
|
+
is_external_organizer: boolean | null;
|
|
99
|
+
|
|
100
|
+
organizer: CalendarMeeting.Organizer | null;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Detected meeting platform.
|
|
104
|
+
*/
|
|
105
|
+
platform: 'zoom' | 'google_meet' | 'teams' | 'webex' | 'unknown';
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Linked meeting session ID, or null until one exists.
|
|
109
|
+
*/
|
|
110
|
+
session_id: string | null;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Event start time.
|
|
114
|
+
*/
|
|
115
|
+
start_time: string;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export namespace CalendarMeeting {
|
|
119
|
+
export interface Attendee {
|
|
120
|
+
/**
|
|
121
|
+
* Display name.
|
|
122
|
+
*/
|
|
123
|
+
display_name: string | null;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Email address.
|
|
127
|
+
*/
|
|
128
|
+
email: string | null;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Whether attendance is optional.
|
|
132
|
+
*/
|
|
133
|
+
optional: boolean | null;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Calendar RSVP status.
|
|
137
|
+
*/
|
|
138
|
+
response_status: string | null;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Whether this is the connected calendar user.
|
|
142
|
+
*/
|
|
143
|
+
self: boolean | null;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export interface Organizer {
|
|
147
|
+
/**
|
|
148
|
+
* Display name.
|
|
149
|
+
*/
|
|
150
|
+
display_name: string | null;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Email address.
|
|
154
|
+
*/
|
|
155
|
+
email: string | null;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Whether this is the connected calendar user.
|
|
159
|
+
*/
|
|
160
|
+
self: boolean | null;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface MeetingUpdateResponse {
|
|
165
|
+
data: CalendarMeeting;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export interface MeetingListResponse {
|
|
169
|
+
data: Array<CalendarMeeting>;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface MeetingListParams {
|
|
173
|
+
/**
|
|
174
|
+
* Window start; defaults to now.
|
|
175
|
+
*/
|
|
176
|
+
from?: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Window end; defaults to seven days from now.
|
|
180
|
+
*/
|
|
181
|
+
to?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface MeetingUpdateParams {
|
|
185
|
+
/**
|
|
186
|
+
* Path param: Calendar connection ID.
|
|
187
|
+
*/
|
|
188
|
+
id: string;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Body param: True opts in, false opts out, null follows connection policy. A
|
|
192
|
+
* supported meeting URL is still required.
|
|
193
|
+
*/
|
|
194
|
+
bot_will_join: boolean | null;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export declare namespace Meetings {
|
|
198
|
+
export {
|
|
199
|
+
type CalendarMeeting as CalendarMeeting,
|
|
200
|
+
type MeetingUpdateResponse as MeetingUpdateResponse,
|
|
201
|
+
type MeetingListResponse as MeetingListResponse,
|
|
202
|
+
type MeetingListParams as MeetingListParams,
|
|
203
|
+
type MeetingUpdateParams as MeetingUpdateParams,
|
|
204
|
+
};
|
|
205
|
+
}
|
|
@@ -1092,6 +1092,13 @@ export interface AIAssistantJoinParticipant {
|
|
|
1092
1092
|
on_hangup?: 'continue_conversation' | 'end_conversation';
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
|
+
export interface AssemblyAIVoiceSettings {
|
|
1096
|
+
/**
|
|
1097
|
+
* Voice settings provider type
|
|
1098
|
+
*/
|
|
1099
|
+
type: 'assemblyai';
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1095
1102
|
/**
|
|
1096
1103
|
* Messages sent by the model in response to user messages.
|
|
1097
1104
|
*/
|
|
@@ -3653,7 +3660,8 @@ export interface ActionGatherUsingAIParams {
|
|
|
3653
3660
|
| Shared.AzureVoiceSettings
|
|
3654
3661
|
| Shared.ResembleVoiceSettings
|
|
3655
3662
|
| Shared.XaiVoiceSettings
|
|
3656
|
-
| SonioxVoiceSettings
|
|
3663
|
+
| SonioxVoiceSettings
|
|
3664
|
+
| AssemblyAIVoiceSettings;
|
|
3657
3665
|
}
|
|
3658
3666
|
|
|
3659
3667
|
export namespace ActionGatherUsingAIParams {
|
|
@@ -3943,7 +3951,8 @@ export interface ActionGatherUsingSpeakParams {
|
|
|
3943
3951
|
| Shared.ResembleVoiceSettings
|
|
3944
3952
|
| Shared.InworldVoiceSettings
|
|
3945
3953
|
| Shared.XaiVoiceSettings
|
|
3946
|
-
| SonioxVoiceSettings
|
|
3954
|
+
| SonioxVoiceSettings
|
|
3955
|
+
| AssemblyAIVoiceSettings;
|
|
3947
3956
|
}
|
|
3948
3957
|
|
|
3949
3958
|
export interface ActionHangupParams {
|
|
@@ -4828,7 +4837,8 @@ export interface ActionSpeakParams {
|
|
|
4828
4837
|
| Shared.ResembleVoiceSettings
|
|
4829
4838
|
| Shared.InworldVoiceSettings
|
|
4830
4839
|
| Shared.XaiVoiceSettings
|
|
4831
|
-
| SonioxVoiceSettings
|
|
4840
|
+
| SonioxVoiceSettings
|
|
4841
|
+
| AssemblyAIVoiceSettings;
|
|
4832
4842
|
}
|
|
4833
4843
|
|
|
4834
4844
|
export interface ActionStartStreamingParams {
|
|
@@ -5815,7 +5825,8 @@ export interface ActionStartConversationRelayParams {
|
|
|
5815
5825
|
| Shared.ResembleVoiceSettings
|
|
5816
5826
|
| Shared.InworldVoiceSettings
|
|
5817
5827
|
| Shared.XaiVoiceSettings
|
|
5818
|
-
| SonioxVoiceSettings
|
|
5828
|
+
| SonioxVoiceSettings
|
|
5829
|
+
| AssemblyAIVoiceSettings;
|
|
5819
5830
|
}
|
|
5820
5831
|
|
|
5821
5832
|
export namespace ActionStartConversationRelayParams {
|
|
@@ -6052,6 +6063,7 @@ export namespace ActionPayParams {
|
|
|
6052
6063
|
export declare namespace Actions {
|
|
6053
6064
|
export {
|
|
6054
6065
|
type AIAssistantJoinParticipant as AIAssistantJoinParticipant,
|
|
6066
|
+
type AssemblyAIVoiceSettings as AssemblyAIVoiceSettings,
|
|
6055
6067
|
type AssistantMessage as AssistantMessage,
|
|
6056
6068
|
type AwsVoiceSettings as AwsVoiceSettings,
|
|
6057
6069
|
type CallControlCommandResult as CallControlCommandResult,
|
|
@@ -88,6 +88,7 @@ import {
|
|
|
88
88
|
ActionUpdateClientStateParams,
|
|
89
89
|
ActionUpdateClientStateResponse,
|
|
90
90
|
Actions,
|
|
91
|
+
AssemblyAIVoiceSettings,
|
|
91
92
|
AssistantMessage,
|
|
92
93
|
AwsVoiceSettings,
|
|
93
94
|
CallControlCommandResult,
|
|
@@ -595,7 +596,8 @@ export interface ConversationRelayEmbeddedConfig {
|
|
|
595
596
|
| Shared.ResembleVoiceSettings
|
|
596
597
|
| Shared.InworldVoiceSettings
|
|
597
598
|
| Shared.XaiVoiceSettings
|
|
598
|
-
| ActionsAPI.SonioxVoiceSettings
|
|
599
|
+
| ActionsAPI.SonioxVoiceSettings
|
|
600
|
+
| ActionsAPI.AssemblyAIVoiceSettings;
|
|
599
601
|
}
|
|
600
602
|
|
|
601
603
|
/**
|
|
@@ -704,7 +706,8 @@ export interface ConversationRelayLanguage {
|
|
|
704
706
|
| Shared.ResembleVoiceSettings
|
|
705
707
|
| Shared.InworldVoiceSettings
|
|
706
708
|
| Shared.XaiVoiceSettings
|
|
707
|
-
| ActionsAPI.SonioxVoiceSettings
|
|
709
|
+
| ActionsAPI.SonioxVoiceSettings
|
|
710
|
+
| ActionsAPI.AssemblyAIVoiceSettings;
|
|
708
711
|
}
|
|
709
712
|
|
|
710
713
|
export interface CustomSipHeader {
|
|
@@ -1654,6 +1657,7 @@ export declare namespace Calls {
|
|
|
1654
1657
|
export {
|
|
1655
1658
|
Actions as Actions,
|
|
1656
1659
|
type AIAssistantJoinParticipant as AIAssistantJoinParticipant,
|
|
1660
|
+
type AssemblyAIVoiceSettings as AssemblyAIVoiceSettings,
|
|
1657
1661
|
type AssistantMessage as AssistantMessage,
|
|
1658
1662
|
type AwsVoiceSettings as AwsVoiceSettings,
|
|
1659
1663
|
type CallControlCommandResult as CallControlCommandResult,
|
|
@@ -888,7 +888,8 @@ export interface ActionSpeakParams {
|
|
|
888
888
|
| Shared.ResembleVoiceSettings
|
|
889
889
|
| Shared.InworldVoiceSettings
|
|
890
890
|
| Shared.XaiVoiceSettings
|
|
891
|
-
| ActionsAPI.SonioxVoiceSettings
|
|
891
|
+
| ActionsAPI.SonioxVoiceSettings
|
|
892
|
+
| ActionsAPI.AssemblyAIVoiceSettings;
|
|
892
893
|
}
|
|
893
894
|
|
|
894
895
|
export interface ActionStopParams {
|
package/src/resources/index.ts
CHANGED
|
@@ -46,6 +46,17 @@ export {
|
|
|
46
46
|
type AdvancedOrderCreateParams,
|
|
47
47
|
type AdvancedOrderUpdateRequirementGroupParams,
|
|
48
48
|
} from './advanced-orders';
|
|
49
|
+
export {
|
|
50
|
+
AgentGateways,
|
|
51
|
+
type AgentGateway,
|
|
52
|
+
type AgentGatewayResponse,
|
|
53
|
+
type AgentGatewayRetrieveModelsResponse,
|
|
54
|
+
type AgentGatewayRetrieveSpendLogsResponse,
|
|
55
|
+
type AgentGatewayListParams,
|
|
56
|
+
type AgentGatewayCreateParams,
|
|
57
|
+
type AgentGatewayRetrieveSpendLogsParams,
|
|
58
|
+
type AgentGatewaysDefaultFlatPagination,
|
|
59
|
+
} from './agent-gateways/agent-gateways';
|
|
49
60
|
export {
|
|
50
61
|
AlphanumericSenderIDs,
|
|
51
62
|
type AlphanumericSenderID,
|
|
@@ -134,6 +145,17 @@ export {
|
|
|
134
145
|
type BulkSimCardActionDetailedsDefaultFlatPagination,
|
|
135
146
|
} from './bulk-sim-card-actions';
|
|
136
147
|
export { BundlePricing } from './bundle-pricing/bundle-pricing';
|
|
148
|
+
export {
|
|
149
|
+
CalendarConnections,
|
|
150
|
+
type CalendarConnection,
|
|
151
|
+
type CalendarConnectionResponse,
|
|
152
|
+
type MeetingSessionAssistant,
|
|
153
|
+
type CalendarConnectionCreateResponse,
|
|
154
|
+
type CalendarConnectionUpdateResponse,
|
|
155
|
+
type CalendarConnectionListResponse,
|
|
156
|
+
type CalendarConnectionCreateParams,
|
|
157
|
+
type CalendarConnectionUpdateParams,
|
|
158
|
+
} from './calendar-connections/calendar-connections';
|
|
137
159
|
export {
|
|
138
160
|
CallControlApplications,
|
|
139
161
|
type CallControlApplication,
|
|
@@ -725,13 +747,18 @@ export {
|
|
|
725
747
|
type MediaUploadParams,
|
|
726
748
|
type MediaUpdateParams,
|
|
727
749
|
} from './media';
|
|
750
|
+
export { MeetingBot } from './meeting-bot/meeting-bot';
|
|
728
751
|
export {
|
|
729
752
|
MeetingSessions,
|
|
730
753
|
type MeetingSession,
|
|
754
|
+
type MeetingSessionLeavePolicy,
|
|
755
|
+
type MeetingSessionRecordingDestination,
|
|
756
|
+
type MeetingSessionRecordingExport,
|
|
731
757
|
type MeetingSessionResponse,
|
|
732
758
|
type MeetingSessionListResponse,
|
|
733
759
|
type MeetingSessionDeleteRecordingMediaResponse,
|
|
734
760
|
type MeetingSessionRetrieveEventsResponse,
|
|
761
|
+
type MeetingSessionRetrieveRecordingsResponse,
|
|
735
762
|
type MeetingSessionRetrieveTranscriptResponse,
|
|
736
763
|
type MeetingSessionListParams,
|
|
737
764
|
type MeetingSessionCreateParams,
|
|
@@ -1573,6 +1600,13 @@ export {
|
|
|
1573
1600
|
type UserAddressCreateParams,
|
|
1574
1601
|
type UserAddressesUserAddressesDefaultFlatPagination,
|
|
1575
1602
|
} from './user-addresses';
|
|
1603
|
+
export {
|
|
1604
|
+
UserProfileResource,
|
|
1605
|
+
type UserProfile,
|
|
1606
|
+
type UserProfileListResponse,
|
|
1607
|
+
type UserProfilePatchAllResponse,
|
|
1608
|
+
type UserProfilePatchAllParams,
|
|
1609
|
+
} from './user-profile';
|
|
1576
1610
|
export { UserTags, type UserTagListResponse, type UserTagListParams } from './user-tags';
|
|
1577
1611
|
export {
|
|
1578
1612
|
Verifications,
|
|
@@ -1814,6 +1848,8 @@ export {
|
|
|
1814
1848
|
type NumberReputationExternalVerificationStatusChangedWebhookEvent,
|
|
1815
1849
|
type NumberReputationNumberFlaggedWebhookEvent,
|
|
1816
1850
|
type NumberReputationNumberRemovedWebhookEvent,
|
|
1851
|
+
type RecordingExportFailedWebhookEvent,
|
|
1852
|
+
type RecordingExportedWebhookEvent,
|
|
1817
1853
|
type ReplacedLinkClickWebhookEvent,
|
|
1818
1854
|
type SessionStatusChangedWebhookEvent,
|
|
1819
1855
|
type TranscriptCompletedWebhookEvent,
|
|
@@ -0,0 +1,54 @@
|
|
|
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 { buildHeaders } from '../../internal/headers';
|
|
6
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Connect calendars and manage automatic meeting joins.
|
|
10
|
+
*/
|
|
11
|
+
export class Calendar extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Browser redirect after calendar consent. Use the returned oauth_url rather than
|
|
14
|
+
* constructing this request. Verified state identifies the connecting user.
|
|
15
|
+
* Returns HTML for success, cancellation, or failure; no JSON error envelope or
|
|
16
|
+
* bearer token is used.
|
|
17
|
+
*/
|
|
18
|
+
retrieveOAuthCallback(
|
|
19
|
+
query: CalendarRetrieveOAuthCallbackParams | null | undefined = {},
|
|
20
|
+
options?: RequestOptions,
|
|
21
|
+
): APIPromise<string> {
|
|
22
|
+
return this._client.get('/meeting_bot/calendar/oauth_callback', {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
headers: buildHeaders([{ Accept: 'text/html' }, options?.headers]),
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type CalendarRetrieveOAuthCallbackResponse = string;
|
|
31
|
+
|
|
32
|
+
export interface CalendarRetrieveOAuthCallbackParams {
|
|
33
|
+
/**
|
|
34
|
+
* Authorization code supplied by the calendar provider.
|
|
35
|
+
*/
|
|
36
|
+
code?: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Authorization error supplied by the calendar provider, such as access_denied.
|
|
40
|
+
*/
|
|
41
|
+
error?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Unmodified signed state from the authorization URL.
|
|
45
|
+
*/
|
|
46
|
+
state?: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export declare namespace Calendar {
|
|
50
|
+
export {
|
|
51
|
+
type CalendarRetrieveOAuthCallbackResponse as CalendarRetrieveOAuthCallbackResponse,
|
|
52
|
+
type CalendarRetrieveOAuthCallbackParams as CalendarRetrieveOAuthCallbackParams,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Calendar,
|
|
5
|
+
type CalendarRetrieveOAuthCallbackResponse,
|
|
6
|
+
type CalendarRetrieveOAuthCallbackParams,
|
|
7
|
+
} from './calendar';
|
|
8
|
+
export { MeetingBot } from './meeting-bot';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as CalendarAPI from './calendar';
|
|
5
|
+
import {
|
|
6
|
+
Calendar,
|
|
7
|
+
CalendarRetrieveOAuthCallbackParams,
|
|
8
|
+
CalendarRetrieveOAuthCallbackResponse,
|
|
9
|
+
} from './calendar';
|
|
10
|
+
|
|
11
|
+
export class MeetingBot extends APIResource {
|
|
12
|
+
calendar: CalendarAPI.Calendar = new CalendarAPI.Calendar(this._client);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
MeetingBot.Calendar = Calendar;
|
|
16
|
+
|
|
17
|
+
export declare namespace MeetingBot {
|
|
18
|
+
export {
|
|
19
|
+
Calendar as Calendar,
|
|
20
|
+
type CalendarRetrieveOAuthCallbackResponse as CalendarRetrieveOAuthCallbackResponse,
|
|
21
|
+
type CalendarRetrieveOAuthCallbackParams as CalendarRetrieveOAuthCallbackParams,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -10,7 +10,13 @@ import { path } from '../../internal/utils/path';
|
|
|
10
10
|
*/
|
|
11
11
|
export class Actions extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Send chat as the bot in an active meeting. Returns 202 with data.accepted=true.
|
|
14
|
+
* Google Meet and Teams confirm sending before success; 502 chat_not_sent means
|
|
15
|
+
* not sent, while chat_delivery_unknown means delivery may have occurred. Inspect
|
|
16
|
+
* chat and chat.sent events before retrying an uncertain send. Each request is a
|
|
17
|
+
* new message and is not idempotent. Google Meet and Teams allow at most 1000 chat
|
|
18
|
+
* requests per session, including an entrance message; exceeding this returns 409
|
|
19
|
+
* invalid_state.
|
|
14
20
|
*
|
|
15
21
|
* @example
|
|
16
22
|
* ```ts
|
|
@@ -31,15 +37,13 @@ export class Actions extends APIResource {
|
|
|
31
37
|
|
|
32
38
|
/**
|
|
33
39
|
* Sends audio / text-to-speech into a meeting session. With a Telnyx AI Assistant
|
|
34
|
-
* attached, the
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* (message prefix `avatar_requires_assistant_speech:`): the avatar renders only
|
|
42
|
-
* the assistant's own speech.
|
|
40
|
+
* attached, wait for the assistant to connect before requesting speech. If audio
|
|
41
|
+
* delivery fails, the response can be 502, which may arrive without an error
|
|
42
|
+
* envelope, so branch on the status code before parsing a body. The assistant is
|
|
43
|
+
* designed to own the conversation, so prefer letting it speak or use `send_chat`.
|
|
44
|
+
* With a digital avatar (`assistant.avatar: true`), speak is refused with 409
|
|
45
|
+
* `invalid_state` (message prefix `avatar_requires_assistant_speech:`): the avatar
|
|
46
|
+
* renders only the assistant's own speech.
|
|
43
47
|
*
|
|
44
48
|
* @example
|
|
45
49
|
* ```ts
|
|
@@ -87,7 +91,9 @@ export namespace ActionAcceptedResponse {
|
|
|
87
91
|
|
|
88
92
|
export interface ActionSendChatParams {
|
|
89
93
|
/**
|
|
90
|
-
*
|
|
94
|
+
* Message text, 1–4000 characters. On Google Meet and Teams, also at most 4096
|
|
95
|
+
* UTF-8 bytes and nonblank; control characters other than tab and line breaks are
|
|
96
|
+
* rejected. CRLF is normalized to LF.
|
|
91
97
|
*/
|
|
92
98
|
text: string;
|
|
93
99
|
}
|
|
@@ -29,13 +29,14 @@ export class Artifacts extends APIResource {
|
|
|
29
29
|
* `decisions`, `topics`, `open_questions`, or `custom`. Each request produces one
|
|
30
30
|
* artifact. `custom` is answered from a `prompt` you supply, which is required for
|
|
31
31
|
* `custom` and rejected on the five named types. Generation requires transcript
|
|
32
|
-
* content
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
32
|
+
* content. Input is limited to 10,000 segments and 1,000,000 UTF-8 bytes including
|
|
33
|
+
* segment text, speaker labels, timestamps, and sequence numbers. An oversized
|
|
34
|
+
* transcript returns 409 invalid_state before an artifact is created; it is not
|
|
35
|
+
* silently truncated. Model context limits can still cause an accepted artifact to
|
|
36
|
+
* fail. **Not idempotent, and every call is billed**: each request is a separate
|
|
37
|
+
* inference run, so a retry or a duplicate POST produces a second artifact and a
|
|
38
|
+
* second charge. Guard the call rather than relying on the service to collapse it.
|
|
39
|
+
* The automatic `summarize_on_end` attempt is billed on the same basis.
|
|
39
40
|
*
|
|
40
41
|
* @example
|
|
41
42
|
* ```ts
|
|
@@ -17,10 +17,14 @@ export {
|
|
|
17
17
|
export {
|
|
18
18
|
MeetingSessions,
|
|
19
19
|
type MeetingSession,
|
|
20
|
+
type MeetingSessionLeavePolicy,
|
|
21
|
+
type MeetingSessionRecordingDestination,
|
|
22
|
+
type MeetingSessionRecordingExport,
|
|
20
23
|
type MeetingSessionResponse,
|
|
21
24
|
type MeetingSessionListResponse,
|
|
22
25
|
type MeetingSessionDeleteRecordingMediaResponse,
|
|
23
26
|
type MeetingSessionRetrieveEventsResponse,
|
|
27
|
+
type MeetingSessionRetrieveRecordingsResponse,
|
|
24
28
|
type MeetingSessionRetrieveTranscriptResponse,
|
|
25
29
|
type MeetingSessionListParams,
|
|
26
30
|
type MeetingSessionCreateParams,
|