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
|
@@ -121,7 +121,7 @@ export interface UpdateAssistant {
|
|
|
121
121
|
* `/ai/integrations/connections`. Each item references a catalog integration by
|
|
122
122
|
* `integration_id`.
|
|
123
123
|
*/
|
|
124
|
-
integrations?: Array<
|
|
124
|
+
integrations?: Array<UpdateAssistant.Integration>;
|
|
125
125
|
/**
|
|
126
126
|
* Settings for interruptions and how the assistant decides the user has finished
|
|
127
127
|
* speaking. These timings are most relevant when using non turn-taking
|
|
@@ -130,7 +130,7 @@ export interface UpdateAssistant {
|
|
|
130
130
|
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
131
131
|
* `eager_eot_threshold`).
|
|
132
132
|
*/
|
|
133
|
-
interruption_settings?:
|
|
133
|
+
interruption_settings?: UpdateAssistant.InterruptionSettings;
|
|
134
134
|
/**
|
|
135
135
|
* This is only needed when using third-party inference providers selected by
|
|
136
136
|
* `model`. The `identifier` for an integration secret
|
|
@@ -144,7 +144,7 @@ export interface UpdateAssistant {
|
|
|
144
144
|
* MCP servers attached to the assistant. Create MCP servers with
|
|
145
145
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
146
146
|
*/
|
|
147
|
-
mcp_servers?: Array<
|
|
147
|
+
mcp_servers?: Array<UpdateAssistant.McpServer>;
|
|
148
148
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
149
149
|
/**
|
|
150
150
|
* ID of the model to use when `external_llm` is not set. You can use the
|
|
@@ -194,6 +194,109 @@ export interface UpdateAssistant {
|
|
|
194
194
|
*/
|
|
195
195
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
196
196
|
}
|
|
197
|
+
export declare namespace UpdateAssistant {
|
|
198
|
+
/**
|
|
199
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
200
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
201
|
+
* `/ai/integrations/connections`.
|
|
202
|
+
*/
|
|
203
|
+
interface Integration {
|
|
204
|
+
/**
|
|
205
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
206
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
207
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
208
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
209
|
+
*/
|
|
210
|
+
integration_id: string;
|
|
211
|
+
/**
|
|
212
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
213
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
214
|
+
* assistant.
|
|
215
|
+
*/
|
|
216
|
+
allowed_list?: Array<string>;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
220
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
221
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
222
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
223
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
224
|
+
* `eager_eot_threshold`).
|
|
225
|
+
*/
|
|
226
|
+
interface InterruptionSettings {
|
|
227
|
+
/**
|
|
228
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
229
|
+
*/
|
|
230
|
+
enable?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
233
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
234
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
235
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
236
|
+
*/
|
|
237
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
238
|
+
}
|
|
239
|
+
namespace InterruptionSettings {
|
|
240
|
+
/**
|
|
241
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
242
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
243
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
244
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
245
|
+
*/
|
|
246
|
+
interface StartSpeakingPlan {
|
|
247
|
+
/**
|
|
248
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
249
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
250
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
251
|
+
* `eager_eot_threshold`.
|
|
252
|
+
*/
|
|
253
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
254
|
+
/**
|
|
255
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
256
|
+
*/
|
|
257
|
+
wait_seconds?: number;
|
|
258
|
+
}
|
|
259
|
+
namespace StartSpeakingPlan {
|
|
260
|
+
/**
|
|
261
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
262
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
263
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
264
|
+
* `eager_eot_threshold`.
|
|
265
|
+
*/
|
|
266
|
+
interface TranscriptionEndpointingPlan {
|
|
267
|
+
/**
|
|
268
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
269
|
+
*/
|
|
270
|
+
on_no_punctuation_seconds?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Seconds to wait after the transcript ends with a number.
|
|
273
|
+
*/
|
|
274
|
+
on_number_seconds?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
277
|
+
*/
|
|
278
|
+
on_punctuation_seconds?: number;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
284
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
285
|
+
* ID.
|
|
286
|
+
*/
|
|
287
|
+
interface McpServer {
|
|
288
|
+
/**
|
|
289
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
290
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
291
|
+
*/
|
|
292
|
+
id: string;
|
|
293
|
+
/**
|
|
294
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
295
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
296
|
+
*/
|
|
297
|
+
allowed_tools?: Array<string>;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
197
300
|
export interface VersionRetrieveParams {
|
|
198
301
|
/**
|
|
199
302
|
* Path param
|
|
@@ -273,7 +376,7 @@ export interface VersionUpdateParams {
|
|
|
273
376
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
274
377
|
* catalog integration by `integration_id`.
|
|
275
378
|
*/
|
|
276
|
-
integrations?: Array<
|
|
379
|
+
integrations?: Array<VersionUpdateParams.Integration>;
|
|
277
380
|
/**
|
|
278
381
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
279
382
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -282,7 +385,7 @@ export interface VersionUpdateParams {
|
|
|
282
385
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
283
386
|
* `eager_eot_threshold`).
|
|
284
387
|
*/
|
|
285
|
-
interruption_settings?:
|
|
388
|
+
interruption_settings?: VersionUpdateParams.InterruptionSettings;
|
|
286
389
|
/**
|
|
287
390
|
* Body param: This is only needed when using third-party inference providers
|
|
288
391
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -296,7 +399,7 @@ export interface VersionUpdateParams {
|
|
|
296
399
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
297
400
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
298
401
|
*/
|
|
299
|
-
mcp_servers?: Array<
|
|
402
|
+
mcp_servers?: Array<VersionUpdateParams.McpServer>;
|
|
300
403
|
/**
|
|
301
404
|
* Body param
|
|
302
405
|
*/
|
|
@@ -368,6 +471,109 @@ export interface VersionUpdateParams {
|
|
|
368
471
|
*/
|
|
369
472
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
370
473
|
}
|
|
474
|
+
export declare namespace VersionUpdateParams {
|
|
475
|
+
/**
|
|
476
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
477
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
478
|
+
* `/ai/integrations/connections`.
|
|
479
|
+
*/
|
|
480
|
+
interface Integration {
|
|
481
|
+
/**
|
|
482
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
483
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
484
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
485
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
486
|
+
*/
|
|
487
|
+
integration_id: string;
|
|
488
|
+
/**
|
|
489
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
490
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
491
|
+
* assistant.
|
|
492
|
+
*/
|
|
493
|
+
allowed_list?: Array<string>;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
497
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
498
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
499
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
500
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
501
|
+
* `eager_eot_threshold`).
|
|
502
|
+
*/
|
|
503
|
+
interface InterruptionSettings {
|
|
504
|
+
/**
|
|
505
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
506
|
+
*/
|
|
507
|
+
enable?: boolean;
|
|
508
|
+
/**
|
|
509
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
510
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
511
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
512
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
513
|
+
*/
|
|
514
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
515
|
+
}
|
|
516
|
+
namespace InterruptionSettings {
|
|
517
|
+
/**
|
|
518
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
519
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
520
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
521
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
522
|
+
*/
|
|
523
|
+
interface StartSpeakingPlan {
|
|
524
|
+
/**
|
|
525
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
526
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
527
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
528
|
+
* `eager_eot_threshold`.
|
|
529
|
+
*/
|
|
530
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
531
|
+
/**
|
|
532
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
533
|
+
*/
|
|
534
|
+
wait_seconds?: number;
|
|
535
|
+
}
|
|
536
|
+
namespace StartSpeakingPlan {
|
|
537
|
+
/**
|
|
538
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
539
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
540
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
541
|
+
* `eager_eot_threshold`.
|
|
542
|
+
*/
|
|
543
|
+
interface TranscriptionEndpointingPlan {
|
|
544
|
+
/**
|
|
545
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
546
|
+
*/
|
|
547
|
+
on_no_punctuation_seconds?: number;
|
|
548
|
+
/**
|
|
549
|
+
* Seconds to wait after the transcript ends with a number.
|
|
550
|
+
*/
|
|
551
|
+
on_number_seconds?: number;
|
|
552
|
+
/**
|
|
553
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
554
|
+
*/
|
|
555
|
+
on_punctuation_seconds?: number;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
561
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
562
|
+
* ID.
|
|
563
|
+
*/
|
|
564
|
+
interface McpServer {
|
|
565
|
+
/**
|
|
566
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
567
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
568
|
+
*/
|
|
569
|
+
id: string;
|
|
570
|
+
/**
|
|
571
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
572
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
573
|
+
*/
|
|
574
|
+
allowed_tools?: Array<string>;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
371
577
|
export interface VersionDeleteParams {
|
|
372
578
|
assistant_id: string;
|
|
373
579
|
}
|
|
@@ -1 +1 @@
|
|
|
1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 @@ export interface UpdateAssistant {
|
|
|
121
121
|
* `/ai/integrations/connections`. Each item references a catalog integration by
|
|
122
122
|
* `integration_id`.
|
|
123
123
|
*/
|
|
124
|
-
integrations?: Array<
|
|
124
|
+
integrations?: Array<UpdateAssistant.Integration>;
|
|
125
125
|
/**
|
|
126
126
|
* Settings for interruptions and how the assistant decides the user has finished
|
|
127
127
|
* speaking. These timings are most relevant when using non turn-taking
|
|
@@ -130,7 +130,7 @@ export interface UpdateAssistant {
|
|
|
130
130
|
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
131
131
|
* `eager_eot_threshold`).
|
|
132
132
|
*/
|
|
133
|
-
interruption_settings?:
|
|
133
|
+
interruption_settings?: UpdateAssistant.InterruptionSettings;
|
|
134
134
|
/**
|
|
135
135
|
* This is only needed when using third-party inference providers selected by
|
|
136
136
|
* `model`. The `identifier` for an integration secret
|
|
@@ -144,7 +144,7 @@ export interface UpdateAssistant {
|
|
|
144
144
|
* MCP servers attached to the assistant. Create MCP servers with
|
|
145
145
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
146
146
|
*/
|
|
147
|
-
mcp_servers?: Array<
|
|
147
|
+
mcp_servers?: Array<UpdateAssistant.McpServer>;
|
|
148
148
|
messaging_settings?: AssistantsAPI.MessagingSettings;
|
|
149
149
|
/**
|
|
150
150
|
* ID of the model to use when `external_llm` is not set. You can use the
|
|
@@ -194,6 +194,109 @@ export interface UpdateAssistant {
|
|
|
194
194
|
*/
|
|
195
195
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
196
196
|
}
|
|
197
|
+
export declare namespace UpdateAssistant {
|
|
198
|
+
/**
|
|
199
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
200
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
201
|
+
* `/ai/integrations/connections`.
|
|
202
|
+
*/
|
|
203
|
+
interface Integration {
|
|
204
|
+
/**
|
|
205
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
206
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
207
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
208
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
209
|
+
*/
|
|
210
|
+
integration_id: string;
|
|
211
|
+
/**
|
|
212
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
213
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
214
|
+
* assistant.
|
|
215
|
+
*/
|
|
216
|
+
allowed_list?: Array<string>;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
220
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
221
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
222
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
223
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
224
|
+
* `eager_eot_threshold`).
|
|
225
|
+
*/
|
|
226
|
+
interface InterruptionSettings {
|
|
227
|
+
/**
|
|
228
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
229
|
+
*/
|
|
230
|
+
enable?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
233
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
234
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
235
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
236
|
+
*/
|
|
237
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
238
|
+
}
|
|
239
|
+
namespace InterruptionSettings {
|
|
240
|
+
/**
|
|
241
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
242
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
243
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
244
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
245
|
+
*/
|
|
246
|
+
interface StartSpeakingPlan {
|
|
247
|
+
/**
|
|
248
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
249
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
250
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
251
|
+
* `eager_eot_threshold`.
|
|
252
|
+
*/
|
|
253
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
254
|
+
/**
|
|
255
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
256
|
+
*/
|
|
257
|
+
wait_seconds?: number;
|
|
258
|
+
}
|
|
259
|
+
namespace StartSpeakingPlan {
|
|
260
|
+
/**
|
|
261
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
262
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
263
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
264
|
+
* `eager_eot_threshold`.
|
|
265
|
+
*/
|
|
266
|
+
interface TranscriptionEndpointingPlan {
|
|
267
|
+
/**
|
|
268
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
269
|
+
*/
|
|
270
|
+
on_no_punctuation_seconds?: number;
|
|
271
|
+
/**
|
|
272
|
+
* Seconds to wait after the transcript ends with a number.
|
|
273
|
+
*/
|
|
274
|
+
on_number_seconds?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
277
|
+
*/
|
|
278
|
+
on_punctuation_seconds?: number;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
284
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
285
|
+
* ID.
|
|
286
|
+
*/
|
|
287
|
+
interface McpServer {
|
|
288
|
+
/**
|
|
289
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
290
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
291
|
+
*/
|
|
292
|
+
id: string;
|
|
293
|
+
/**
|
|
294
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
295
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
296
|
+
*/
|
|
297
|
+
allowed_tools?: Array<string>;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
197
300
|
export interface VersionRetrieveParams {
|
|
198
301
|
/**
|
|
199
302
|
* Path param
|
|
@@ -273,7 +376,7 @@ export interface VersionUpdateParams {
|
|
|
273
376
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
274
377
|
* catalog integration by `integration_id`.
|
|
275
378
|
*/
|
|
276
|
-
integrations?: Array<
|
|
379
|
+
integrations?: Array<VersionUpdateParams.Integration>;
|
|
277
380
|
/**
|
|
278
381
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
279
382
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -282,7 +385,7 @@ export interface VersionUpdateParams {
|
|
|
282
385
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
283
386
|
* `eager_eot_threshold`).
|
|
284
387
|
*/
|
|
285
|
-
interruption_settings?:
|
|
388
|
+
interruption_settings?: VersionUpdateParams.InterruptionSettings;
|
|
286
389
|
/**
|
|
287
390
|
* Body param: This is only needed when using third-party inference providers
|
|
288
391
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -296,7 +399,7 @@ export interface VersionUpdateParams {
|
|
|
296
399
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
297
400
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
298
401
|
*/
|
|
299
|
-
mcp_servers?: Array<
|
|
402
|
+
mcp_servers?: Array<VersionUpdateParams.McpServer>;
|
|
300
403
|
/**
|
|
301
404
|
* Body param
|
|
302
405
|
*/
|
|
@@ -368,6 +471,109 @@ export interface VersionUpdateParams {
|
|
|
368
471
|
*/
|
|
369
472
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
370
473
|
}
|
|
474
|
+
export declare namespace VersionUpdateParams {
|
|
475
|
+
/**
|
|
476
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
477
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
478
|
+
* `/ai/integrations/connections`.
|
|
479
|
+
*/
|
|
480
|
+
interface Integration {
|
|
481
|
+
/**
|
|
482
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
483
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
484
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
485
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
486
|
+
*/
|
|
487
|
+
integration_id: string;
|
|
488
|
+
/**
|
|
489
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
490
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
491
|
+
* assistant.
|
|
492
|
+
*/
|
|
493
|
+
allowed_list?: Array<string>;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
497
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
498
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
499
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
500
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
501
|
+
* `eager_eot_threshold`).
|
|
502
|
+
*/
|
|
503
|
+
interface InterruptionSettings {
|
|
504
|
+
/**
|
|
505
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
506
|
+
*/
|
|
507
|
+
enable?: boolean;
|
|
508
|
+
/**
|
|
509
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
510
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
511
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
512
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
513
|
+
*/
|
|
514
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
515
|
+
}
|
|
516
|
+
namespace InterruptionSettings {
|
|
517
|
+
/**
|
|
518
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
519
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
520
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
521
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
522
|
+
*/
|
|
523
|
+
interface StartSpeakingPlan {
|
|
524
|
+
/**
|
|
525
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
526
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
527
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
528
|
+
* `eager_eot_threshold`.
|
|
529
|
+
*/
|
|
530
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
531
|
+
/**
|
|
532
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
533
|
+
*/
|
|
534
|
+
wait_seconds?: number;
|
|
535
|
+
}
|
|
536
|
+
namespace StartSpeakingPlan {
|
|
537
|
+
/**
|
|
538
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
539
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
540
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
541
|
+
* `eager_eot_threshold`.
|
|
542
|
+
*/
|
|
543
|
+
interface TranscriptionEndpointingPlan {
|
|
544
|
+
/**
|
|
545
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
546
|
+
*/
|
|
547
|
+
on_no_punctuation_seconds?: number;
|
|
548
|
+
/**
|
|
549
|
+
* Seconds to wait after the transcript ends with a number.
|
|
550
|
+
*/
|
|
551
|
+
on_number_seconds?: number;
|
|
552
|
+
/**
|
|
553
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
554
|
+
*/
|
|
555
|
+
on_punctuation_seconds?: number;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
561
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
562
|
+
* ID.
|
|
563
|
+
*/
|
|
564
|
+
interface McpServer {
|
|
565
|
+
/**
|
|
566
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
567
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
568
|
+
*/
|
|
569
|
+
id: string;
|
|
570
|
+
/**
|
|
571
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
572
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
573
|
+
*/
|
|
574
|
+
allowed_tools?: Array<string>;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
371
577
|
export interface VersionDeleteParams {
|
|
372
578
|
assistant_id: string;
|
|
373
579
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/assistants/versions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAC;IAQ/C;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,mBAAmB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAC;IAQ/C;;;;;;;;;OASG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,E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EAAE,MAAM,CAAC;gBAE3B;;mBAEG;gBACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;aACjC;SACF;KACF;IAED;;;;OAIG;IACH,UAAiB,SAAS;QACxB;;;WAGG;QACH,EAAE,EAAE,MAAM,CAAC;QAEX;;;WAGG;QACH,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,oBAAoB;IACnC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/ai/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AI, type
|
|
2
|
-
export { Assistants, type Assistant, type
|
|
1
|
+
export { AI, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams } from "./ai.mjs";
|
|
2
|
+
export { Assistants, type Assistant, type AssistantTool, type AssistantsList, type AudioVisualizerConfig, type EnabledFeatures, type ExternalLlm, type ExternalLlmReq, type FallbackConfig, type FallbackConfigReq, type HangupTool, type HangupToolParams, type ImportMetadata, type InferenceEmbedding, type InferenceEmbeddingWebhookToolParams, type InsightSettings, type MessagingSettings, type Observability, type ObservabilityReq, type PostConversationSettings, type PostConversationSettingsReq, type PrivacySettings, type RetrievalTool, type TelephonySettings, type TranscriptionSettings, type TranscriptionSettingsConfig, type TransferTool, type VoiceSettings, type WebhookTool, type WidgetSettings, type AssistantDeleteResponse, type AssistantChatResponse, type AssistantGetTexmlResponse, type AssistantSendSMSResponse, type AssistantCreateParams, type AssistantRetrieveParams, type AssistantUpdateParams, type AssistantChatParams, type AssistantImportsParams, type AssistantSendSMSParams, } from "./assistants/index.mjs";
|
|
3
3
|
export { Audio, type AudioTranscribeResponse, type AudioTranscribeParams } from "./audio.mjs";
|
|
4
4
|
export { Chat, type BucketIDs, type ChatCreateCompletionResponse, type ChatCreateCompletionParams, } from "./chat.mjs";
|
|
5
5
|
export { Clusters, type RecursiveCluster, type ClusterRetrieveResponse, type ClusterListResponse, type ClusterComputeResponse, type ClusterRetrieveParams, type ClusterListParams, type ClusterComputeParams, type ClusterFetchGraphParams, type ClusterListResponsesDefaultFlatPagination, } from "./clusters.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/ai/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/ai/index.ts"],"names":[],"mappings":"OAEO,EAAE,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OACvF,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mCAAmC,EACxC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAA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EAC1B,KAAK,mBAAmB,EACxB,KAAK,wDAAwD,GAC9D;OACM,EACL,QAAQ,EACR,KAAK,WAAW,EAChB,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,gCAAgC,GACtC;OACM,EAAE,MAAM,EAAE,KAAK,wBAAwB,EAAE;OACzC,EACL,KAAK,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,sCAAsC,GAC5C"}
|
package/resources/ai/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { AI, type
|
|
2
|
-
export { Assistants, type Assistant, type
|
|
1
|
+
export { AI, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams } from "./ai.js";
|
|
2
|
+
export { Assistants, type Assistant, type AssistantTool, type AssistantsList, type AudioVisualizerConfig, type EnabledFeatures, type ExternalLlm, type ExternalLlmReq, type FallbackConfig, type FallbackConfigReq, type HangupTool, type HangupToolParams, type ImportMetadata, type InferenceEmbedding, type InferenceEmbeddingWebhookToolParams, type InsightSettings, type MessagingSettings, type Observability, type ObservabilityReq, type PostConversationSettings, type PostConversationSettingsReq, type PrivacySettings, type RetrievalTool, type TelephonySettings, type TranscriptionSettings, type TranscriptionSettingsConfig, type TransferTool, type VoiceSettings, type WebhookTool, type WidgetSettings, type AssistantDeleteResponse, type AssistantChatResponse, type AssistantGetTexmlResponse, type AssistantSendSMSResponse, type AssistantCreateParams, type AssistantRetrieveParams, type AssistantUpdateParams, type AssistantChatParams, type AssistantImportsParams, type AssistantSendSMSParams, } from "./assistants/index.js";
|
|
3
3
|
export { Audio, type AudioTranscribeResponse, type AudioTranscribeParams } from "./audio.js";
|
|
4
4
|
export { Chat, type BucketIDs, type ChatCreateCompletionResponse, type ChatCreateCompletionParams, } from "./chat.js";
|
|
5
5
|
export { Clusters, type RecursiveCluster, type ClusterRetrieveResponse, type ClusterListResponse, type ClusterComputeResponse, type ClusterRetrieveParams, type ClusterListParams, type ClusterComputeParams, type ClusterFetchGraphParams, type ClusterListResponsesDefaultFlatPagination, } from "./clusters.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/ai/index.ts"],"names":[],"mappings":"OAEO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/ai/index.ts"],"names":[],"mappings":"OAEO,EAAE,EAAE,EAAE,KAAK,wBAAwB,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OACvF,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,qBAAqB,EAC1B,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mCAAmC,EACxC,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EAChC,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,E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