telnyx 6.53.0 → 6.55.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 +16 -0
- package/client.d.mts +4 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -5
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +12 -10
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +12 -10
- 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 +322 -110
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +322 -110
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.mts +241 -70
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +241 -70
- package/resources/ai/assistants/canary-deploys.d.ts.map +1 -1
- package/resources/ai/assistants/index.d.mts +2 -2
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -2
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.mts +43 -0
- package/resources/ai/assistants/scheduled-events.d.mts.map +1 -1
- package/resources/ai/assistants/scheduled-events.d.ts +43 -0
- package/resources/ai/assistants/scheduled-events.d.ts.map +1 -1
- package/resources/ai/assistants/versions.d.mts +212 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +212 -6
- package/resources/ai/assistants/versions.d.ts.map +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 +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/openai/openai.d.mts +9 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +9 -2
- package/resources/ai/openai/openai.d.ts.map +1 -1
- package/resources/ai/openai/openai.js.map +1 -1
- package/resources/ai/openai/openai.mjs.map +1 -1
- package/resources/calls/actions.d.mts +119 -41
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +119 -41
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/calls.d.mts +2 -2
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +2 -2
- 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 +11 -1
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +11 -1
- package/resources/conferences/actions.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/networks/networks.d.mts +2 -25
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +2 -25
- package/resources/networks/networks.d.ts.map +1 -1
- package/resources/networks/networks.js.map +1 -1
- package/resources/networks/networks.mjs.map +1 -1
- package/resources/public-internet-gateways.d.mts +6 -116
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +6 -116
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs.map +1 -1
- package/resources/shared.d.mts +0 -10
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +0 -10
- package/resources/shared.d.ts.map +1 -1
- package/resources/uac-connections/index.d.mts +1 -1
- package/resources/uac-connections/index.d.mts.map +1 -1
- package/resources/uac-connections/index.d.ts +1 -1
- package/resources/uac-connections/index.d.ts.map +1 -1
- package/resources/uac-connections/index.js.map +1 -1
- package/resources/uac-connections/index.mjs.map +1 -1
- package/resources/uac-connections/uac-connections.d.mts +1861 -211
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +1861 -211
- package/resources/uac-connections/uac-connections.d.ts.map +1 -1
- package/resources/uac-connections/uac-connections.js +1 -1
- package/resources/uac-connections/uac-connections.js.map +1 -1
- package/resources/uac-connections/uac-connections.mjs +1 -1
- package/resources/uac-connections/uac-connections.mjs.map +1 -1
- package/resources/virtual-cross-connects.d.mts +237 -161
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +237 -161
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +6 -117
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +6 -117
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +5 -21
- package/src/resources/ai/ai.ts +11 -20
- package/src/resources/ai/assistants/assistants.ts +350 -131
- package/src/resources/ai/assistants/canary-deploys.ts +266 -75
- package/src/resources/ai/assistants/index.ts +0 -10
- package/src/resources/ai/assistants/scheduled-events.ts +56 -0
- package/src/resources/ai/assistants/versions.ts +234 -6
- package/src/resources/ai/index.ts +1 -12
- package/src/resources/ai/openai/openai.ts +13 -2
- package/src/resources/calls/actions.ts +192 -76
- package/src/resources/calls/calls.ts +0 -4
- package/src/resources/calls/index.ts +0 -2
- package/src/resources/conferences/actions.ts +13 -1
- package/src/resources/index.ts +3 -13
- package/src/resources/networks/networks.ts +4 -31
- package/src/resources/public-internet-gateways.ts +6 -144
- package/src/resources/shared.ts +0 -12
- package/src/resources/uac-connections/index.ts +2 -6
- package/src/resources/uac-connections/uac-connections.ts +2377 -378
- package/src/resources/virtual-cross-connects.ts +249 -176
- package/src/resources/wireguard-interfaces.ts +8 -145
- 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
|
@@ -174,7 +174,7 @@ export interface UpdateAssistant {
|
|
|
174
174
|
* `/ai/integrations/connections`. Each item references a catalog integration by
|
|
175
175
|
* `integration_id`.
|
|
176
176
|
*/
|
|
177
|
-
integrations?: Array<
|
|
177
|
+
integrations?: Array<UpdateAssistant.Integration>;
|
|
178
178
|
|
|
179
179
|
/**
|
|
180
180
|
* Settings for interruptions and how the assistant decides the user has finished
|
|
@@ -184,7 +184,7 @@ export interface UpdateAssistant {
|
|
|
184
184
|
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
185
185
|
* `eager_eot_threshold`).
|
|
186
186
|
*/
|
|
187
|
-
interruption_settings?:
|
|
187
|
+
interruption_settings?: UpdateAssistant.InterruptionSettings;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* This is only needed when using third-party inference providers selected by
|
|
@@ -200,7 +200,7 @@ export interface UpdateAssistant {
|
|
|
200
200
|
* MCP servers attached to the assistant. Create MCP servers with
|
|
201
201
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
202
202
|
*/
|
|
203
|
-
mcp_servers?: Array<
|
|
203
|
+
mcp_servers?: Array<UpdateAssistant.McpServer>;
|
|
204
204
|
|
|
205
205
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
206
206
|
|
|
@@ -265,6 +265,120 @@ export interface UpdateAssistant {
|
|
|
265
265
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
+
export namespace UpdateAssistant {
|
|
269
|
+
/**
|
|
270
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
271
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
272
|
+
* `/ai/integrations/connections`.
|
|
273
|
+
*/
|
|
274
|
+
export interface Integration {
|
|
275
|
+
/**
|
|
276
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
277
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
278
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
279
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
280
|
+
*/
|
|
281
|
+
integration_id: string;
|
|
282
|
+
|
|
283
|
+
/**
|
|
284
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
285
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
286
|
+
* assistant.
|
|
287
|
+
*/
|
|
288
|
+
allowed_list?: Array<string>;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
293
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
294
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
295
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
296
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
297
|
+
* `eager_eot_threshold`).
|
|
298
|
+
*/
|
|
299
|
+
export interface InterruptionSettings {
|
|
300
|
+
/**
|
|
301
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
302
|
+
*/
|
|
303
|
+
enable?: boolean;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
307
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
308
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
309
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
310
|
+
*/
|
|
311
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export namespace InterruptionSettings {
|
|
315
|
+
/**
|
|
316
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
317
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
318
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
319
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
320
|
+
*/
|
|
321
|
+
export interface StartSpeakingPlan {
|
|
322
|
+
/**
|
|
323
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
324
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
325
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
326
|
+
* `eager_eot_threshold`.
|
|
327
|
+
*/
|
|
328
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
332
|
+
*/
|
|
333
|
+
wait_seconds?: number;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export namespace StartSpeakingPlan {
|
|
337
|
+
/**
|
|
338
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
339
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
340
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
341
|
+
* `eager_eot_threshold`.
|
|
342
|
+
*/
|
|
343
|
+
export interface TranscriptionEndpointingPlan {
|
|
344
|
+
/**
|
|
345
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
346
|
+
*/
|
|
347
|
+
on_no_punctuation_seconds?: number;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Seconds to wait after the transcript ends with a number.
|
|
351
|
+
*/
|
|
352
|
+
on_number_seconds?: number;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
356
|
+
*/
|
|
357
|
+
on_punctuation_seconds?: number;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
364
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
365
|
+
* ID.
|
|
366
|
+
*/
|
|
367
|
+
export interface McpServer {
|
|
368
|
+
/**
|
|
369
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
370
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
371
|
+
*/
|
|
372
|
+
id: string;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
376
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
377
|
+
*/
|
|
378
|
+
allowed_tools?: Array<string>;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
|
|
268
382
|
export interface VersionRetrieveParams {
|
|
269
383
|
/**
|
|
270
384
|
* Path param
|
|
@@ -355,7 +469,7 @@ export interface VersionUpdateParams {
|
|
|
355
469
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
356
470
|
* catalog integration by `integration_id`.
|
|
357
471
|
*/
|
|
358
|
-
integrations?: Array<
|
|
472
|
+
integrations?: Array<VersionUpdateParams.Integration>;
|
|
359
473
|
|
|
360
474
|
/**
|
|
361
475
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
@@ -365,7 +479,7 @@ export interface VersionUpdateParams {
|
|
|
365
479
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
366
480
|
* `eager_eot_threshold`).
|
|
367
481
|
*/
|
|
368
|
-
interruption_settings?:
|
|
482
|
+
interruption_settings?: VersionUpdateParams.InterruptionSettings;
|
|
369
483
|
|
|
370
484
|
/**
|
|
371
485
|
* Body param: This is only needed when using third-party inference providers
|
|
@@ -381,7 +495,7 @@ export interface VersionUpdateParams {
|
|
|
381
495
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
382
496
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
383
497
|
*/
|
|
384
|
-
mcp_servers?: Array<
|
|
498
|
+
mcp_servers?: Array<VersionUpdateParams.McpServer>;
|
|
385
499
|
|
|
386
500
|
/**
|
|
387
501
|
* Body param
|
|
@@ -468,6 +582,120 @@ export interface VersionUpdateParams {
|
|
|
468
582
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
469
583
|
}
|
|
470
584
|
|
|
585
|
+
export namespace VersionUpdateParams {
|
|
586
|
+
/**
|
|
587
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
588
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
589
|
+
* `/ai/integrations/connections`.
|
|
590
|
+
*/
|
|
591
|
+
export interface Integration {
|
|
592
|
+
/**
|
|
593
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
594
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
595
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
596
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
597
|
+
*/
|
|
598
|
+
integration_id: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
602
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
603
|
+
* assistant.
|
|
604
|
+
*/
|
|
605
|
+
allowed_list?: Array<string>;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
610
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
611
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
612
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
613
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
614
|
+
* `eager_eot_threshold`).
|
|
615
|
+
*/
|
|
616
|
+
export interface InterruptionSettings {
|
|
617
|
+
/**
|
|
618
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
619
|
+
*/
|
|
620
|
+
enable?: boolean;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
624
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
625
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
626
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
627
|
+
*/
|
|
628
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export namespace InterruptionSettings {
|
|
632
|
+
/**
|
|
633
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
634
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
635
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
636
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
637
|
+
*/
|
|
638
|
+
export interface StartSpeakingPlan {
|
|
639
|
+
/**
|
|
640
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
641
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
642
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
643
|
+
* `eager_eot_threshold`.
|
|
644
|
+
*/
|
|
645
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
649
|
+
*/
|
|
650
|
+
wait_seconds?: number;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
export namespace StartSpeakingPlan {
|
|
654
|
+
/**
|
|
655
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
656
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
657
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
658
|
+
* `eager_eot_threshold`.
|
|
659
|
+
*/
|
|
660
|
+
export interface TranscriptionEndpointingPlan {
|
|
661
|
+
/**
|
|
662
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
663
|
+
*/
|
|
664
|
+
on_no_punctuation_seconds?: number;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Seconds to wait after the transcript ends with a number.
|
|
668
|
+
*/
|
|
669
|
+
on_number_seconds?: number;
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
673
|
+
*/
|
|
674
|
+
on_punctuation_seconds?: number;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
681
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
682
|
+
* ID.
|
|
683
|
+
*/
|
|
684
|
+
export interface McpServer {
|
|
685
|
+
/**
|
|
686
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
687
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
688
|
+
*/
|
|
689
|
+
id: string;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
693
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
694
|
+
*/
|
|
695
|
+
allowed_tools?: Array<string>;
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
471
699
|
export interface VersionDeleteParams {
|
|
472
700
|
assistant_id: string;
|
|
473
701
|
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export {
|
|
4
|
-
AI,
|
|
5
|
-
type ModelMetadata,
|
|
6
|
-
type AIRetrieveModelsResponse,
|
|
7
|
-
type AISummarizeResponse,
|
|
8
|
-
type AISummarizeParams,
|
|
9
|
-
} from './ai';
|
|
3
|
+
export { AI, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams } from './ai';
|
|
10
4
|
export {
|
|
11
5
|
Assistants,
|
|
12
6
|
type Assistant,
|
|
13
|
-
type AssistantIntegration,
|
|
14
|
-
type AssistantMcpServer,
|
|
15
7
|
type AssistantTool,
|
|
16
8
|
type AssistantsList,
|
|
17
9
|
type AudioVisualizerConfig,
|
|
@@ -24,7 +16,6 @@ export {
|
|
|
24
16
|
type HangupToolParams,
|
|
25
17
|
type ImportMetadata,
|
|
26
18
|
type InferenceEmbedding,
|
|
27
|
-
type InferenceEmbeddingInterruptionSettings,
|
|
28
19
|
type InferenceEmbeddingWebhookToolParams,
|
|
29
20
|
type InsightSettings,
|
|
30
21
|
type MessagingSettings,
|
|
@@ -34,9 +25,7 @@ export {
|
|
|
34
25
|
type PostConversationSettingsReq,
|
|
35
26
|
type PrivacySettings,
|
|
36
27
|
type RetrievalTool,
|
|
37
|
-
type StartSpeakingPlan,
|
|
38
28
|
type TelephonySettings,
|
|
39
|
-
type TranscriptionEndpointingPlan,
|
|
40
29
|
type TranscriptionSettings,
|
|
41
30
|
type TranscriptionSettingsConfig,
|
|
42
31
|
type TransferTool,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
-
import * as AIAPI from '../ai';
|
|
5
4
|
import * as ChatAPI from './chat';
|
|
6
5
|
import { Chat, ChatCreateCompletionParams, ChatCreateCompletionResponse } from './chat';
|
|
7
6
|
import * as EmbeddingsAPI from './embeddings';
|
|
@@ -36,11 +35,23 @@ export class OpenAI extends APIResource {
|
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
export interface OpenAIListModelsResponse {
|
|
39
|
-
data: Array<
|
|
38
|
+
data: Array<OpenAIListModelsResponse.Data>;
|
|
40
39
|
|
|
41
40
|
object?: string;
|
|
42
41
|
}
|
|
43
42
|
|
|
43
|
+
export namespace OpenAIListModelsResponse {
|
|
44
|
+
export interface Data {
|
|
45
|
+
id: string;
|
|
46
|
+
|
|
47
|
+
created: number;
|
|
48
|
+
|
|
49
|
+
owned_by: string;
|
|
50
|
+
|
|
51
|
+
object?: string;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
44
55
|
OpenAI.Embeddings = Embeddings;
|
|
45
56
|
OpenAI.Chat = Chat;
|
|
46
57
|
|