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,82 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
+
import * as ToolPermissionsAPI from "../keys/tool-permissions.mjs";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* The MCP servers and tools a key or team may use.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ToolPermissions extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the MCP servers and APIs the team's keys may use, and the tools within
|
|
11
|
+
* each. `servers: []` means none. The instance must be `ready`; otherwise the
|
|
12
|
+
* request answers `409`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const agentGatewayToolPermissionsResponse =
|
|
17
|
+
* await client.agentGateways.teams.toolPermissions.list(
|
|
18
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
19
|
+
* { instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a' },
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(teamID: string, params: ToolPermissionListParams, options?: RequestOptions): APIPromise<ToolPermissionsAPI.AgentGatewayToolPermissionsResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Replaces the grant whole and returns it. Every server must be one of the
|
|
26
|
+
* instance's MCP servers or APIs, named once. A key reaches the servers granted to
|
|
27
|
+
* it or to its team, and the servers open to every key; when both grant, only the
|
|
28
|
+
* servers in both. The instance must be `ready`; otherwise the request answers
|
|
29
|
+
* `409`.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const agentGatewayToolPermissionsResponse =
|
|
34
|
+
* await client.agentGateways.teams.toolPermissions.create(
|
|
35
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
36
|
+
* {
|
|
37
|
+
* instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a',
|
|
38
|
+
* servers: [
|
|
39
|
+
* {
|
|
40
|
+
* id: '88d5a97b-4080-4855-8bac-a39811b1dc24',
|
|
41
|
+
* tools: ['get_order'],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
create(teamID: string, params: ToolPermissionCreateParams, options?: RequestOptions): APIPromise<ToolPermissionsAPI.AgentGatewayToolPermissionsResponse>;
|
|
49
|
+
}
|
|
50
|
+
export interface ToolPermissionListParams {
|
|
51
|
+
/**
|
|
52
|
+
* The Agent Gateway's `id`.
|
|
53
|
+
*/
|
|
54
|
+
instance_id: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ToolPermissionCreateParams {
|
|
57
|
+
/**
|
|
58
|
+
* Path param: The Agent Gateway's `id`.
|
|
59
|
+
*/
|
|
60
|
+
instance_id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Body param: The servers granted, each with its tools. `[]` grants none.
|
|
63
|
+
*/
|
|
64
|
+
servers: Array<ToolPermissionCreateParams.Server>;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace ToolPermissionCreateParams {
|
|
67
|
+
interface Server {
|
|
68
|
+
/**
|
|
69
|
+
* An MCP server's or API's `id` on the instance.
|
|
70
|
+
*/
|
|
71
|
+
id: string;
|
|
72
|
+
/**
|
|
73
|
+
* The tools the grant covers, by name without the server prefix. `[]` covers every
|
|
74
|
+
* tool the server exposes.
|
|
75
|
+
*/
|
|
76
|
+
tools?: Array<string>;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export declare namespace ToolPermissions {
|
|
80
|
+
export { type ToolPermissionListParams as ToolPermissionListParams, type ToolPermissionCreateParams as ToolPermissionCreateParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=tool-permissions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-permissions.d.mts","sourceRoot":"","sources":["../../../src/resources/agent-gateways/teams/tool-permissions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,kBAAkB,qCAAiC;AAC/D,OAAO,EAAE,UAAU,EAAE,sCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC,mCAAmC,CAAC;IAKrE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC,mCAAmC,CAAC;CAOtE;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;CACnD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;;WAGG;QACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { APIResource } from "../../../core/resource.js";
|
|
2
|
+
import * as ToolPermissionsAPI from "../keys/tool-permissions.js";
|
|
3
|
+
import { APIPromise } from "../../../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../../../internal/request-options.js";
|
|
5
|
+
/**
|
|
6
|
+
* The MCP servers and tools a key or team may use.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ToolPermissions extends APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns the MCP servers and APIs the team's keys may use, and the tools within
|
|
11
|
+
* each. `servers: []` means none. The instance must be `ready`; otherwise the
|
|
12
|
+
* request answers `409`.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```ts
|
|
16
|
+
* const agentGatewayToolPermissionsResponse =
|
|
17
|
+
* await client.agentGateways.teams.toolPermissions.list(
|
|
18
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
19
|
+
* { instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a' },
|
|
20
|
+
* );
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(teamID: string, params: ToolPermissionListParams, options?: RequestOptions): APIPromise<ToolPermissionsAPI.AgentGatewayToolPermissionsResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Replaces the grant whole and returns it. Every server must be one of the
|
|
26
|
+
* instance's MCP servers or APIs, named once. A key reaches the servers granted to
|
|
27
|
+
* it or to its team, and the servers open to every key; when both grant, only the
|
|
28
|
+
* servers in both. The instance must be `ready`; otherwise the request answers
|
|
29
|
+
* `409`.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const agentGatewayToolPermissionsResponse =
|
|
34
|
+
* await client.agentGateways.teams.toolPermissions.create(
|
|
35
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
36
|
+
* {
|
|
37
|
+
* instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a',
|
|
38
|
+
* servers: [
|
|
39
|
+
* {
|
|
40
|
+
* id: '88d5a97b-4080-4855-8bac-a39811b1dc24',
|
|
41
|
+
* tools: ['get_order'],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
create(teamID: string, params: ToolPermissionCreateParams, options?: RequestOptions): APIPromise<ToolPermissionsAPI.AgentGatewayToolPermissionsResponse>;
|
|
49
|
+
}
|
|
50
|
+
export interface ToolPermissionListParams {
|
|
51
|
+
/**
|
|
52
|
+
* The Agent Gateway's `id`.
|
|
53
|
+
*/
|
|
54
|
+
instance_id: string;
|
|
55
|
+
}
|
|
56
|
+
export interface ToolPermissionCreateParams {
|
|
57
|
+
/**
|
|
58
|
+
* Path param: The Agent Gateway's `id`.
|
|
59
|
+
*/
|
|
60
|
+
instance_id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Body param: The servers granted, each with its tools. `[]` grants none.
|
|
63
|
+
*/
|
|
64
|
+
servers: Array<ToolPermissionCreateParams.Server>;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace ToolPermissionCreateParams {
|
|
67
|
+
interface Server {
|
|
68
|
+
/**
|
|
69
|
+
* An MCP server's or API's `id` on the instance.
|
|
70
|
+
*/
|
|
71
|
+
id: string;
|
|
72
|
+
/**
|
|
73
|
+
* The tools the grant covers, by name without the server prefix. `[]` covers every
|
|
74
|
+
* tool the server exposes.
|
|
75
|
+
*/
|
|
76
|
+
tools?: Array<string>;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export declare namespace ToolPermissions {
|
|
80
|
+
export { type ToolPermissionListParams as ToolPermissionListParams, type ToolPermissionCreateParams as ToolPermissionCreateParams, };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=tool-permissions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-permissions.d.ts","sourceRoot":"","sources":["../../../src/resources/agent-gateways/teams/tool-permissions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,kBAAkB,oCAAiC;AAC/D,OAAO,EAAE,UAAU,EAAE,qCAAkC;AACvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC,mCAAmC,CAAC;IAKrE;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kBAAkB,CAAC,mCAAmC,CAAC;CAOtE;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC;CACnD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,MAAM;QACrB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;;WAGG;QACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,eAAe,CAAC;IACvC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ToolPermissions = void 0;
|
|
5
|
+
const resource_1 = require("../../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* The MCP servers and tools a key or team may use.
|
|
9
|
+
*/
|
|
10
|
+
class ToolPermissions extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the MCP servers and APIs the team's keys may use, and the tools within
|
|
13
|
+
* each. `servers: []` means none. The instance must be `ready`; otherwise the
|
|
14
|
+
* request answers `409`.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```ts
|
|
18
|
+
* const agentGatewayToolPermissionsResponse =
|
|
19
|
+
* await client.agentGateways.teams.toolPermissions.list(
|
|
20
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
21
|
+
* { instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a' },
|
|
22
|
+
* );
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
list(teamID, params, options) {
|
|
26
|
+
const { instance_id } = params;
|
|
27
|
+
return this._client.get((0, path_1.path) `/agent_gateways/${instance_id}/teams/${teamID}/tool_permissions`, options);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Replaces the grant whole and returns it. Every server must be one of the
|
|
31
|
+
* instance's MCP servers or APIs, named once. A key reaches the servers granted to
|
|
32
|
+
* it or to its team, and the servers open to every key; when both grant, only the
|
|
33
|
+
* servers in both. The instance must be `ready`; otherwise the request answers
|
|
34
|
+
* `409`.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const agentGatewayToolPermissionsResponse =
|
|
39
|
+
* await client.agentGateways.teams.toolPermissions.create(
|
|
40
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
41
|
+
* {
|
|
42
|
+
* instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a',
|
|
43
|
+
* servers: [
|
|
44
|
+
* {
|
|
45
|
+
* id: '88d5a97b-4080-4855-8bac-a39811b1dc24',
|
|
46
|
+
* tools: ['get_order'],
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* },
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
create(teamID, params, options) {
|
|
54
|
+
const { instance_id, ...body } = params;
|
|
55
|
+
return this._client.put((0, path_1.path) `/agent_gateways/${instance_id}/teams/${teamID}/tool_permissions`, {
|
|
56
|
+
body,
|
|
57
|
+
...options,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.ToolPermissions = ToolPermissions;
|
|
62
|
+
//# sourceMappingURL=tool-permissions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-permissions.js","sourceRoot":"","sources":["../../../src/resources/agent-gateways/teams/tool-permissions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAIrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,MAAc,EACd,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,WAAW,UAAU,MAAM,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC1G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CACJ,MAAc,EACd,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,WAAW,UAAU,MAAM,mBAAmB,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3DD,0CA2DC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* The MCP servers and tools a key or team may use.
|
|
6
|
+
*/
|
|
7
|
+
export class ToolPermissions extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the MCP servers and APIs the team's keys may use, and the tools within
|
|
10
|
+
* each. `servers: []` means none. The instance must be `ready`; otherwise the
|
|
11
|
+
* request answers `409`.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```ts
|
|
15
|
+
* const agentGatewayToolPermissionsResponse =
|
|
16
|
+
* await client.agentGateways.teams.toolPermissions.list(
|
|
17
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
18
|
+
* { instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a' },
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
list(teamID, params, options) {
|
|
23
|
+
const { instance_id } = params;
|
|
24
|
+
return this._client.get(path `/agent_gateways/${instance_id}/teams/${teamID}/tool_permissions`, options);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Replaces the grant whole and returns it. Every server must be one of the
|
|
28
|
+
* instance's MCP servers or APIs, named once. A key reaches the servers granted to
|
|
29
|
+
* it or to its team, and the servers open to every key; when both grant, only the
|
|
30
|
+
* servers in both. The instance must be `ready`; otherwise the request answers
|
|
31
|
+
* `409`.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const agentGatewayToolPermissionsResponse =
|
|
36
|
+
* await client.agentGateways.teams.toolPermissions.create(
|
|
37
|
+
* 'd7b21324-a2bf-406c-ba49-c6ec4d23d476',
|
|
38
|
+
* {
|
|
39
|
+
* instance_id: '32ce035d-3165-4031-b1a7-a7c0c259590a',
|
|
40
|
+
* servers: [
|
|
41
|
+
* {
|
|
42
|
+
* id: '88d5a97b-4080-4855-8bac-a39811b1dc24',
|
|
43
|
+
* tools: ['get_order'],
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
create(teamID, params, options) {
|
|
51
|
+
const { instance_id, ...body } = params;
|
|
52
|
+
return this._client.put(path `/agent_gateways/${instance_id}/teams/${teamID}/tool_permissions`, {
|
|
53
|
+
body,
|
|
54
|
+
...options,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=tool-permissions.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-permissions.mjs","sourceRoot":"","sources":["../../../src/resources/agent-gateways/teams/tool-permissions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AAIrD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,MAAc,EACd,MAAgC,EAChC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,WAAW,UAAU,MAAM,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC1G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,MAAM,CACJ,MAAc,EACd,MAAkC,EAClC,OAAwB;QAExB,MAAM,EAAE,WAAW,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACxC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,WAAW,UAAU,MAAM,mBAAmB,EAAE;YAC7F,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.mts","sourceRoot":"","sources":["../../src/resources/agent-gateways/teams.ts"],"names":[],"mappings":"AAEA,kCAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.d.ts","sourceRoot":"","sources":["../../src/resources/agent-gateways/teams.ts"],"names":[],"mappings":"AAEA,iCAA8B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./teams/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=teams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.js","sourceRoot":"","sources":["../../src/resources/agent-gateways/teams.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,2DAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"teams.mjs","sourceRoot":"","sources":["../../src/resources/agent-gateways/teams.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,kCAA8B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-gateways.d.mts","sourceRoot":"","sources":["../src/resources/agent-gateways.ts"],"names":[],"mappings":"AAEA,2CAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-gateways.d.ts","sourceRoot":"","sources":["../src/resources/agent-gateways.ts"],"names":[],"mappings":"AAEA,0CAAuC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
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
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./agent-gateways/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=agent-gateways.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-gateways.js","sourceRoot":"","sources":["../src/resources/agent-gateways.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oEAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-gateways.mjs","sourceRoot":"","sources":["../src/resources/agent-gateways.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,2CAAuC"}
|
|
@@ -2120,6 +2120,14 @@ export interface InferenceEmbeddingVoiceSettings {
|
|
|
2120
2120
|
* nuance. Only supported for Telnyx Ultra voices.
|
|
2121
2121
|
*/
|
|
2122
2122
|
expressive_mode?: boolean;
|
|
2123
|
+
/**
|
|
2124
|
+
* Two-letter ISO 639-1 code of the language the voice speaks, for example `es`.
|
|
2125
|
+
* Only applicable to Soniox and AssemblyAI voices, which speak every language of
|
|
2126
|
+
* their model. AssemblyAI accepts `en`, `es`, `de`, `fr`, `it`, and `pt`, as a
|
|
2127
|
+
* literal code: a dynamic variable is rejected. When unset, the voice speaks
|
|
2128
|
+
* English.
|
|
2129
|
+
*/
|
|
2130
|
+
language?: string | null;
|
|
2123
2131
|
/**
|
|
2124
2132
|
* Enhances recognition for specific languages and dialects during MiniMax TTS
|
|
2125
2133
|
* synthesis. Default is null (no boost). Set to 'auto' for automatic language
|
|
@@ -2605,15 +2613,21 @@ export interface PrivacySettings {
|
|
|
2605
2613
|
* served elsewhere. Enabling it requires a data-locality region with in-region
|
|
2606
2614
|
* inference (USA, EU, AUS, UAE; see
|
|
2607
2615
|
* [Inference regions](https://developers.telnyx.com/docs/inference/models/regions)),
|
|
2608
|
-
*
|
|
2609
|
-
*
|
|
2610
|
-
*
|
|
2611
|
-
*
|
|
2612
|
-
*
|
|
2613
|
-
*
|
|
2614
|
-
*
|
|
2615
|
-
*
|
|
2616
|
-
*
|
|
2616
|
+
* models for the assistant, its fallback, and any conversation-flow node that
|
|
2617
|
+
* overrides the model that are either Telnyx-hosted or a customer-provided
|
|
2618
|
+
* `external_llm` endpoint (third-party model providers are refused), and, when
|
|
2619
|
+
* `insight_settings.model` is set, an insight model available in that region; the
|
|
2620
|
+
* request is rejected otherwise. A voice call fails when it starts if its STT
|
|
2621
|
+
* model or TTS voice is not self-hosted by Telnyx, if the assistant uses a
|
|
2622
|
+
* speech-to-speech model, or if the call's media is anchored outside the region.
|
|
2623
|
+
* URLs Telnyx is configured to call — an `external_llm` endpoint, webhook tools,
|
|
2624
|
+
* Voice API callbacks, or a recording storage destination — are followed as-is:
|
|
2625
|
+
* Telnyx cannot verify where a customer-supplied URL processes requests, and
|
|
2626
|
+
* keeping those steps in your region is your responsibility. Once enabled, send
|
|
2627
|
+
* web chat requests and WebSocket or WebRTC conversations to your region's API
|
|
2628
|
+
* hostname: one entering the platform in another region is refused rather than
|
|
2629
|
+
* forwarded, because forwarding it would already have moved the content across the
|
|
2630
|
+
* border. See
|
|
2617
2631
|
* [Data residency](https://developers.telnyx.com/docs/inference/data-residency#in-region-processing-for-ai-assistants).
|
|
2618
2632
|
* Defaults to false.
|
|
2619
2633
|
*/
|