telnyx 6.52.0 → 6.53.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 +13 -0
- package/client.d.mts +5 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -4
- 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 +10 -12
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +10 -12
- 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 +110 -322
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +110 -322
- 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 +70 -241
- package/resources/ai/assistants/canary-deploys.d.mts.map +1 -1
- package/resources/ai/assistants/canary-deploys.d.ts +70 -241
- 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/versions.d.mts +6 -212
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +6 -212
- 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 +2 -9
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +2 -9
- 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 +41 -119
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +41 -119
- 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 +1 -11
- package/resources/conferences/actions.d.mts.map +1 -1
- package/resources/conferences/actions.d.ts +1 -11
- 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 +25 -2
- package/resources/networks/networks.d.mts.map +1 -1
- package/resources/networks/networks.d.ts +25 -2
- 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 +116 -6
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +116 -6
- 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 +10 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +10 -0
- 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 +211 -1861
- package/resources/uac-connections/uac-connections.d.mts.map +1 -1
- package/resources/uac-connections/uac-connections.d.ts +211 -1861
- 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 +161 -237
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +161 -237
- 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 +117 -6
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +117 -6
- 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 +21 -5
- package/src/resources/ai/ai.ts +20 -11
- package/src/resources/ai/assistants/assistants.ts +131 -350
- package/src/resources/ai/assistants/canary-deploys.ts +75 -266
- package/src/resources/ai/assistants/index.ts +10 -0
- package/src/resources/ai/assistants/versions.ts +6 -234
- package/src/resources/ai/index.ts +12 -1
- package/src/resources/ai/openai/openai.ts +2 -13
- package/src/resources/calls/actions.ts +76 -192
- package/src/resources/calls/calls.ts +4 -0
- package/src/resources/calls/index.ts +2 -0
- package/src/resources/conferences/actions.ts +1 -13
- package/src/resources/index.ts +13 -3
- package/src/resources/networks/networks.ts +31 -4
- package/src/resources/public-internet-gateways.ts +144 -6
- package/src/resources/shared.ts +12 -0
- package/src/resources/uac-connections/index.ts +6 -2
- package/src/resources/uac-connections/uac-connections.ts +397 -2396
- package/src/resources/virtual-cross-connects.ts +176 -249
- package/src/resources/wireguard-interfaces.ts +145 -8
- 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<AssistantsAPI.AssistantIntegration>;
|
|
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?: AssistantsAPI.InferenceEmbeddingInterruptionSettings;
|
|
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<AssistantsAPI.AssistantMcpServer>;
|
|
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,109 +194,6 @@ 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
|
-
}
|
|
300
197
|
export interface VersionRetrieveParams {
|
|
301
198
|
/**
|
|
302
199
|
* Path param
|
|
@@ -376,7 +273,7 @@ export interface VersionUpdateParams {
|
|
|
376
273
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
377
274
|
* catalog integration by `integration_id`.
|
|
378
275
|
*/
|
|
379
|
-
integrations?: Array<
|
|
276
|
+
integrations?: Array<AssistantsAPI.AssistantIntegration>;
|
|
380
277
|
/**
|
|
381
278
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
382
279
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -385,7 +282,7 @@ export interface VersionUpdateParams {
|
|
|
385
282
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
386
283
|
* `eager_eot_threshold`).
|
|
387
284
|
*/
|
|
388
|
-
interruption_settings?:
|
|
285
|
+
interruption_settings?: AssistantsAPI.InferenceEmbeddingInterruptionSettings;
|
|
389
286
|
/**
|
|
390
287
|
* Body param: This is only needed when using third-party inference providers
|
|
391
288
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -399,7 +296,7 @@ export interface VersionUpdateParams {
|
|
|
399
296
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
400
297
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
401
298
|
*/
|
|
402
|
-
mcp_servers?: Array<
|
|
299
|
+
mcp_servers?: Array<AssistantsAPI.AssistantMcpServer>;
|
|
403
300
|
/**
|
|
404
301
|
* Body param
|
|
405
302
|
*/
|
|
@@ -471,109 +368,6 @@ export interface VersionUpdateParams {
|
|
|
471
368
|
*/
|
|
472
369
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
473
370
|
}
|
|
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
|
-
}
|
|
577
371
|
export interface VersionDeleteParams {
|
|
578
372
|
assistant_id: string;
|
|
579
373
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.mts","sourceRoot":"","sources":["../../../src/resources/ai/assistants/versions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,aAAa;OAClB,EAAE,UAAU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AEG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC;CAChD;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"}
|
|
@@ -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<AssistantsAPI.AssistantIntegration>;
|
|
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?: AssistantsAPI.InferenceEmbeddingInterruptionSettings;
|
|
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<AssistantsAPI.AssistantMcpServer>;
|
|
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,109 +194,6 @@ 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
|
-
}
|
|
300
197
|
export interface VersionRetrieveParams {
|
|
301
198
|
/**
|
|
302
199
|
* Path param
|
|
@@ -376,7 +273,7 @@ export interface VersionUpdateParams {
|
|
|
376
273
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
377
274
|
* catalog integration by `integration_id`.
|
|
378
275
|
*/
|
|
379
|
-
integrations?: Array<
|
|
276
|
+
integrations?: Array<AssistantsAPI.AssistantIntegration>;
|
|
380
277
|
/**
|
|
381
278
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
382
279
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -385,7 +282,7 @@ export interface VersionUpdateParams {
|
|
|
385
282
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
386
283
|
* `eager_eot_threshold`).
|
|
387
284
|
*/
|
|
388
|
-
interruption_settings?:
|
|
285
|
+
interruption_settings?: AssistantsAPI.InferenceEmbeddingInterruptionSettings;
|
|
389
286
|
/**
|
|
390
287
|
* Body param: This is only needed when using third-party inference providers
|
|
391
288
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -399,7 +296,7 @@ export interface VersionUpdateParams {
|
|
|
399
296
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
400
297
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
401
298
|
*/
|
|
402
|
-
mcp_servers?: Array<
|
|
299
|
+
mcp_servers?: Array<AssistantsAPI.AssistantMcpServer>;
|
|
403
300
|
/**
|
|
404
301
|
* Body param
|
|
405
302
|
*/
|
|
@@ -471,109 +368,6 @@ export interface VersionUpdateParams {
|
|
|
471
368
|
*/
|
|
472
369
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
473
370
|
}
|
|
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
|
-
}
|
|
577
371
|
export interface VersionDeleteParams {
|
|
578
372
|
assistant_id: string;
|
|
579
373
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/assistants/versions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,K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CAAC,aAAa,CAAC;IAE7C;;OAEG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC;CAChD;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 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";
|
|
1
|
+
export { AI, type ModelMetadata, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams, } from "./ai.mjs";
|
|
2
|
+
export { Assistants, type Assistant, type AssistantIntegration, type AssistantMcpServer, 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 InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams, type InsightSettings, type MessagingSettings, type Observability, type ObservabilityReq, type PostConversationSettings, type PostConversationSettingsReq, type PrivacySettings, type RetrievalTool, type StartSpeakingPlan, type TelephonySettings, type TranscriptionEndpointingPlan, 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,EACL,EAAE,EACF,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,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se, 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";
|
|
1
|
+
export { AI, type ModelMetadata, type AIRetrieveModelsResponse, type AISummarizeResponse, type AISummarizeParams, } from "./ai.js";
|
|
2
|
+
export { Assistants, type Assistant, type AssistantIntegration, type AssistantMcpServer, 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 InferenceEmbeddingInterruptionSettings, type InferenceEmbeddingWebhookToolParams, type InsightSettings, type MessagingSettings, type Observability, type ObservabilityReq, type PostConversationSettings, type PostConversationSettingsReq, type PrivacySettings, type RetrievalTool, type StartSpeakingPlan, type TelephonySettings, type TranscriptionEndpointingPlan, 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,EACL,EAAE,EACF,KAAK,aAAa,EAClB,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,GACvB;OACM,EACL,UAAU,EACV,KAAK,SAAS,EACd,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,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,sCAAsC,EAC3C,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,iBAAiB,EACtB,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,YAAY,EACjB,KA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