telnyx 6.64.0 → 6.65.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 +8 -0
- package/client.d.mts +10 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -11
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +116 -114
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +116 -114
- 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 +332 -112
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +332 -112
- 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/versions.d.mts +220 -6
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +220 -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.map +1 -1
- package/resources/ai/openai/openai.d.mts +113 -2
- package/resources/ai/openai/openai.d.mts.map +1 -1
- package/resources/ai/openai/openai.d.ts +113 -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 +398 -41
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +398 -41
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +46 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +46 -0
- package/resources/calls/actions.mjs.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 +5 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +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 +50 -40
- package/resources/public-internet-gateways.d.mts.map +1 -1
- package/resources/public-internet-gateways.d.ts +50 -40
- package/resources/public-internet-gateways.d.ts.map +1 -1
- package/resources/public-internet-gateways.js +1 -1
- package/resources/public-internet-gateways.js.map +1 -1
- package/resources/public-internet-gateways.mjs +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 +504 -48
- package/resources/virtual-cross-connects.d.mts.map +1 -1
- package/resources/virtual-cross-connects.d.ts +504 -48
- package/resources/virtual-cross-connects.d.ts.map +1 -1
- package/resources/virtual-cross-connects.js +1 -1
- package/resources/virtual-cross-connects.js.map +1 -1
- package/resources/virtual-cross-connects.mjs +1 -1
- package/resources/virtual-cross-connects.mjs.map +1 -1
- package/resources/wireguard-interfaces.d.mts +127 -43
- package/resources/wireguard-interfaces.d.mts.map +1 -1
- package/resources/wireguard-interfaces.d.ts +127 -43
- package/resources/wireguard-interfaces.d.ts.map +1 -1
- package/resources/wireguard-interfaces.js +2 -5
- package/resources/wireguard-interfaces.js.map +1 -1
- package/resources/wireguard-interfaces.mjs +2 -5
- package/resources/wireguard-interfaces.mjs.map +1 -1
- package/src/client.ts +16 -27
- package/src/resources/ai/ai.ts +130 -139
- package/src/resources/ai/assistants/assistants.ts +362 -133
- package/src/resources/ai/assistants/canary-deploys.ts +266 -75
- package/src/resources/ai/assistants/index.ts +0 -10
- package/src/resources/ai/assistants/versions.ts +244 -6
- package/src/resources/ai/index.ts +0 -6
- package/src/resources/ai/openai/openai.ts +131 -2
- package/src/resources/calls/actions.ts +543 -76
- package/src/resources/calls/calls.ts +8 -4
- package/src/resources/calls/index.ts +4 -2
- package/src/resources/conferences/actions.ts +13 -1
- package/src/resources/index.ts +8 -13
- package/src/resources/networks/networks.ts +4 -31
- package/src/resources/public-internet-gateways.ts +55 -46
- 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 +595 -54
- package/src/resources/wireguard-interfaces.ts +158 -53
- 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,113 @@ 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
|
+
* When true, disables user interruptions while the assistant greeting is playing.
|
|
229
|
+
*/
|
|
230
|
+
disable_greeting_interruption?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
233
|
+
*/
|
|
234
|
+
enable?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
237
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
238
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
239
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
240
|
+
*/
|
|
241
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
242
|
+
}
|
|
243
|
+
namespace InterruptionSettings {
|
|
244
|
+
/**
|
|
245
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
246
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
247
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
248
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
249
|
+
*/
|
|
250
|
+
interface StartSpeakingPlan {
|
|
251
|
+
/**
|
|
252
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
253
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
254
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
255
|
+
* `eager_eot_threshold`.
|
|
256
|
+
*/
|
|
257
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
258
|
+
/**
|
|
259
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
260
|
+
*/
|
|
261
|
+
wait_seconds?: number;
|
|
262
|
+
}
|
|
263
|
+
namespace StartSpeakingPlan {
|
|
264
|
+
/**
|
|
265
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
266
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
267
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
268
|
+
* `eager_eot_threshold`.
|
|
269
|
+
*/
|
|
270
|
+
interface TranscriptionEndpointingPlan {
|
|
271
|
+
/**
|
|
272
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
273
|
+
*/
|
|
274
|
+
on_no_punctuation_seconds?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Seconds to wait after the transcript ends with a number.
|
|
277
|
+
*/
|
|
278
|
+
on_number_seconds?: number;
|
|
279
|
+
/**
|
|
280
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
281
|
+
*/
|
|
282
|
+
on_punctuation_seconds?: number;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
288
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
289
|
+
* ID.
|
|
290
|
+
*/
|
|
291
|
+
interface McpServer {
|
|
292
|
+
/**
|
|
293
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
294
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
295
|
+
*/
|
|
296
|
+
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
299
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
300
|
+
*/
|
|
301
|
+
allowed_tools?: Array<string>;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
197
304
|
export interface VersionRetrieveParams {
|
|
198
305
|
/**
|
|
199
306
|
* Path param
|
|
@@ -273,7 +380,7 @@ export interface VersionUpdateParams {
|
|
|
273
380
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
274
381
|
* catalog integration by `integration_id`.
|
|
275
382
|
*/
|
|
276
|
-
integrations?: Array<
|
|
383
|
+
integrations?: Array<VersionUpdateParams.Integration>;
|
|
277
384
|
/**
|
|
278
385
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
279
386
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -282,7 +389,7 @@ export interface VersionUpdateParams {
|
|
|
282
389
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
283
390
|
* `eager_eot_threshold`).
|
|
284
391
|
*/
|
|
285
|
-
interruption_settings?:
|
|
392
|
+
interruption_settings?: VersionUpdateParams.InterruptionSettings;
|
|
286
393
|
/**
|
|
287
394
|
* Body param: This is only needed when using third-party inference providers
|
|
288
395
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -296,7 +403,7 @@ export interface VersionUpdateParams {
|
|
|
296
403
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
297
404
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
298
405
|
*/
|
|
299
|
-
mcp_servers?: Array<
|
|
406
|
+
mcp_servers?: Array<VersionUpdateParams.McpServer>;
|
|
300
407
|
/**
|
|
301
408
|
* Body param
|
|
302
409
|
*/
|
|
@@ -368,6 +475,113 @@ export interface VersionUpdateParams {
|
|
|
368
475
|
*/
|
|
369
476
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
370
477
|
}
|
|
478
|
+
export declare namespace VersionUpdateParams {
|
|
479
|
+
/**
|
|
480
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
481
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
482
|
+
* `/ai/integrations/connections`.
|
|
483
|
+
*/
|
|
484
|
+
interface Integration {
|
|
485
|
+
/**
|
|
486
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
487
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
488
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
489
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
490
|
+
*/
|
|
491
|
+
integration_id: string;
|
|
492
|
+
/**
|
|
493
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
494
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
495
|
+
* assistant.
|
|
496
|
+
*/
|
|
497
|
+
allowed_list?: Array<string>;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
501
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
502
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
503
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
504
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
505
|
+
* `eager_eot_threshold`).
|
|
506
|
+
*/
|
|
507
|
+
interface InterruptionSettings {
|
|
508
|
+
/**
|
|
509
|
+
* When true, disables user interruptions while the assistant greeting is playing.
|
|
510
|
+
*/
|
|
511
|
+
disable_greeting_interruption?: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
514
|
+
*/
|
|
515
|
+
enable?: boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
518
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
519
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
520
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
521
|
+
*/
|
|
522
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
523
|
+
}
|
|
524
|
+
namespace InterruptionSettings {
|
|
525
|
+
/**
|
|
526
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
527
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
528
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
529
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
530
|
+
*/
|
|
531
|
+
interface StartSpeakingPlan {
|
|
532
|
+
/**
|
|
533
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
534
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
535
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
536
|
+
* `eager_eot_threshold`.
|
|
537
|
+
*/
|
|
538
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
539
|
+
/**
|
|
540
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
541
|
+
*/
|
|
542
|
+
wait_seconds?: number;
|
|
543
|
+
}
|
|
544
|
+
namespace StartSpeakingPlan {
|
|
545
|
+
/**
|
|
546
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
547
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
548
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
549
|
+
* `eager_eot_threshold`.
|
|
550
|
+
*/
|
|
551
|
+
interface TranscriptionEndpointingPlan {
|
|
552
|
+
/**
|
|
553
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
554
|
+
*/
|
|
555
|
+
on_no_punctuation_seconds?: number;
|
|
556
|
+
/**
|
|
557
|
+
* Seconds to wait after the transcript ends with a number.
|
|
558
|
+
*/
|
|
559
|
+
on_number_seconds?: number;
|
|
560
|
+
/**
|
|
561
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
562
|
+
*/
|
|
563
|
+
on_punctuation_seconds?: number;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
569
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
570
|
+
* ID.
|
|
571
|
+
*/
|
|
572
|
+
interface McpServer {
|
|
573
|
+
/**
|
|
574
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
575
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
576
|
+
*/
|
|
577
|
+
id: string;
|
|
578
|
+
/**
|
|
579
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
580
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
581
|
+
*/
|
|
582
|
+
allowed_tools?: Array<string>;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
371
585
|
export interface VersionDeleteParams {
|
|
372
586
|
assistant_id: string;
|
|
373
587
|
}
|
|
@@ -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,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,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC;IAI7F;;;;;;;;;;OAUG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAQlG;;;;;;;;;;;;;OAaG;IACH,OAAO,CACL,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,kBAAkB,CAAC;CAIhD;AAED,MAA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AAC;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<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,113 @@ 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
|
+
* When true, disables user interruptions while the assistant greeting is playing.
|
|
229
|
+
*/
|
|
230
|
+
disable_greeting_interruption?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
233
|
+
*/
|
|
234
|
+
enable?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
237
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
238
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
239
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
240
|
+
*/
|
|
241
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
242
|
+
}
|
|
243
|
+
namespace InterruptionSettings {
|
|
244
|
+
/**
|
|
245
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
246
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
247
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
248
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
249
|
+
*/
|
|
250
|
+
interface StartSpeakingPlan {
|
|
251
|
+
/**
|
|
252
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
253
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
254
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
255
|
+
* `eager_eot_threshold`.
|
|
256
|
+
*/
|
|
257
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
258
|
+
/**
|
|
259
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
260
|
+
*/
|
|
261
|
+
wait_seconds?: number;
|
|
262
|
+
}
|
|
263
|
+
namespace StartSpeakingPlan {
|
|
264
|
+
/**
|
|
265
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
266
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
267
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
268
|
+
* `eager_eot_threshold`.
|
|
269
|
+
*/
|
|
270
|
+
interface TranscriptionEndpointingPlan {
|
|
271
|
+
/**
|
|
272
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
273
|
+
*/
|
|
274
|
+
on_no_punctuation_seconds?: number;
|
|
275
|
+
/**
|
|
276
|
+
* Seconds to wait after the transcript ends with a number.
|
|
277
|
+
*/
|
|
278
|
+
on_number_seconds?: number;
|
|
279
|
+
/**
|
|
280
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
281
|
+
*/
|
|
282
|
+
on_punctuation_seconds?: number;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
288
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
289
|
+
* ID.
|
|
290
|
+
*/
|
|
291
|
+
interface McpServer {
|
|
292
|
+
/**
|
|
293
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
294
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
295
|
+
*/
|
|
296
|
+
id: string;
|
|
297
|
+
/**
|
|
298
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
299
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
300
|
+
*/
|
|
301
|
+
allowed_tools?: Array<string>;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
197
304
|
export interface VersionRetrieveParams {
|
|
198
305
|
/**
|
|
199
306
|
* Path param
|
|
@@ -273,7 +380,7 @@ export interface VersionUpdateParams {
|
|
|
273
380
|
* integrations are at `/ai/integrations/connections`. Each item references a
|
|
274
381
|
* catalog integration by `integration_id`.
|
|
275
382
|
*/
|
|
276
|
-
integrations?: Array<
|
|
383
|
+
integrations?: Array<VersionUpdateParams.Integration>;
|
|
277
384
|
/**
|
|
278
385
|
* Body param: Settings for interruptions and how the assistant decides the user
|
|
279
386
|
* has finished speaking. These timings are most relevant when using non
|
|
@@ -282,7 +389,7 @@ export interface VersionUpdateParams {
|
|
|
282
389
|
* under `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
283
390
|
* `eager_eot_threshold`).
|
|
284
391
|
*/
|
|
285
|
-
interruption_settings?:
|
|
392
|
+
interruption_settings?: VersionUpdateParams.InterruptionSettings;
|
|
286
393
|
/**
|
|
287
394
|
* Body param: This is only needed when using third-party inference providers
|
|
288
395
|
* selected by `model`. The `identifier` for an integration secret
|
|
@@ -296,7 +403,7 @@ export interface VersionUpdateParams {
|
|
|
296
403
|
* Body param: MCP servers attached to the assistant. Create MCP servers with
|
|
297
404
|
* `/ai/mcp_servers`, then reference them by `id` here.
|
|
298
405
|
*/
|
|
299
|
-
mcp_servers?: Array<
|
|
406
|
+
mcp_servers?: Array<VersionUpdateParams.McpServer>;
|
|
300
407
|
/**
|
|
301
408
|
* Body param
|
|
302
409
|
*/
|
|
@@ -368,6 +475,113 @@ export interface VersionUpdateParams {
|
|
|
368
475
|
*/
|
|
369
476
|
widget_settings?: AssistantsAPI.WidgetSettings;
|
|
370
477
|
}
|
|
478
|
+
export declare namespace VersionUpdateParams {
|
|
479
|
+
/**
|
|
480
|
+
* Reference to a connected integration attached to an assistant. Discover
|
|
481
|
+
* available integrations with `/ai/integrations` and connected integrations with
|
|
482
|
+
* `/ai/integrations/connections`.
|
|
483
|
+
*/
|
|
484
|
+
interface Integration {
|
|
485
|
+
/**
|
|
486
|
+
* Catalog integration ID to attach. This is the `id` from the integrations catalog
|
|
487
|
+
* at `/ai/integrations` (the same value also appears as `integration_id` on
|
|
488
|
+
* entries returned by `/ai/integrations/connections`). It is **not** the
|
|
489
|
+
* connection-level `id` from `/ai/integrations/connections`.
|
|
490
|
+
*/
|
|
491
|
+
integration_id: string;
|
|
492
|
+
/**
|
|
493
|
+
* Optional per-assistant allowlist of integration tool names. When omitted or
|
|
494
|
+
* empty, all tools allowed by the connected integration are available to the
|
|
495
|
+
* assistant.
|
|
496
|
+
*/
|
|
497
|
+
allowed_list?: Array<string>;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* Settings for interruptions and how the assistant decides the user has finished
|
|
501
|
+
* speaking. These timings are most relevant when using non turn-taking
|
|
502
|
+
* transcription models. For turn-taking models like `deepgram/flux`, end-of-turn
|
|
503
|
+
* behavior is controlled by the transcription end-of-turn settings under
|
|
504
|
+
* `transcription.settings` (`eot_threshold`, `eot_timeout_ms`,
|
|
505
|
+
* `eager_eot_threshold`).
|
|
506
|
+
*/
|
|
507
|
+
interface InterruptionSettings {
|
|
508
|
+
/**
|
|
509
|
+
* When true, disables user interruptions while the assistant greeting is playing.
|
|
510
|
+
*/
|
|
511
|
+
disable_greeting_interruption?: boolean;
|
|
512
|
+
/**
|
|
513
|
+
* Whether users can interrupt the assistant while it is speaking.
|
|
514
|
+
*/
|
|
515
|
+
enable?: boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
518
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
519
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
520
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
521
|
+
*/
|
|
522
|
+
start_speaking_plan?: InterruptionSettings.StartSpeakingPlan;
|
|
523
|
+
}
|
|
524
|
+
namespace InterruptionSettings {
|
|
525
|
+
/**
|
|
526
|
+
* Controls when the assistant starts speaking after the user stops. These
|
|
527
|
+
* thresholds primarily apply to non turn-taking transcription models. For
|
|
528
|
+
* turn-taking models like `deepgram/flux`, end-of-turn detection is driven by the
|
|
529
|
+
* transcription end-of-turn settings under `transcription.settings` instead.
|
|
530
|
+
*/
|
|
531
|
+
interface StartSpeakingPlan {
|
|
532
|
+
/**
|
|
533
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
534
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
535
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
536
|
+
* `eager_eot_threshold`.
|
|
537
|
+
*/
|
|
538
|
+
transcription_endpointing_plan?: StartSpeakingPlan.TranscriptionEndpointingPlan;
|
|
539
|
+
/**
|
|
540
|
+
* Minimum seconds to wait before the assistant starts speaking.
|
|
541
|
+
*/
|
|
542
|
+
wait_seconds?: number;
|
|
543
|
+
}
|
|
544
|
+
namespace StartSpeakingPlan {
|
|
545
|
+
/**
|
|
546
|
+
* Endpointing thresholds used to decide when the user has finished speaking.
|
|
547
|
+
* Applies to non turn-taking transcription models. For `deepgram/flux`, use
|
|
548
|
+
* `transcription.settings.eot_threshold` / `eot_timeout_ms` /
|
|
549
|
+
* `eager_eot_threshold`.
|
|
550
|
+
*/
|
|
551
|
+
interface TranscriptionEndpointingPlan {
|
|
552
|
+
/**
|
|
553
|
+
* Seconds to wait after the transcript ends without punctuation.
|
|
554
|
+
*/
|
|
555
|
+
on_no_punctuation_seconds?: number;
|
|
556
|
+
/**
|
|
557
|
+
* Seconds to wait after the transcript ends with a number.
|
|
558
|
+
*/
|
|
559
|
+
on_number_seconds?: number;
|
|
560
|
+
/**
|
|
561
|
+
* Seconds to wait after the transcript ends with punctuation.
|
|
562
|
+
*/
|
|
563
|
+
on_punctuation_seconds?: number;
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Reference to an MCP server attached to an assistant. Create and manage MCP
|
|
569
|
+
* servers with the `/ai/mcp_servers` endpoints, then attach them to assistants by
|
|
570
|
+
* ID.
|
|
571
|
+
*/
|
|
572
|
+
interface McpServer {
|
|
573
|
+
/**
|
|
574
|
+
* ID of the MCP server to attach. This must be the `id` of an MCP server returned
|
|
575
|
+
* by the `/ai/mcp_servers` endpoints.
|
|
576
|
+
*/
|
|
577
|
+
id: string;
|
|
578
|
+
/**
|
|
579
|
+
* Optional per-assistant allowlist of MCP tool names. When omitted, the assistant
|
|
580
|
+
* uses the MCP server's configured `allowed_tools`.
|
|
581
|
+
*/
|
|
582
|
+
allowed_tools?: Array<string>;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
371
585
|
export interface VersionDeleteParams {
|
|
372
586
|
assistant_id: string;
|
|
373
587
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versions.d.ts","sourceRoot":"","sources":["../../../src/resources/ai/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AAoB,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 AICreateResponseResponse, type AIRetrieveModelsResponse, type AISummarizeResponse, type AICreateResponseParams, 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,EACL,EAAE,EACF,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.m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gB,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 AICreateResponseResponse, type AIRetrieveModelsResponse, type AISummarizeResponse, type AICreateResponseParams, 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";
|