@gentiq/core 1.0.0-alpha.9 → 1.0.0-beta.2
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/dist/client/api.es.js +121 -57
- package/dist/client/brandingUrl.es.js +22 -0
- package/dist/composer/composerDrafts.es.js +35 -31
- package/dist/composer/composerFiles.es.js +35 -31
- package/dist/errors.es.js +20 -2
- package/dist/index.d.ts +3225 -512
- package/dist/index.es.js +44 -33
- package/dist/internal.d.ts +3094 -569
- package/dist/internal.es.js +40 -42
- package/dist/protocol/messages.es.js +16 -15
- package/dist/scheduleFormat.es.js +104 -0
- package/dist/thread/chatRuntime.es.js +42 -38
- package/dist/thread/chatTransport.es.js +26 -21
- package/dist/thread/shareUnchanged.es.js +12 -12
- package/dist/thread/threadController.es.js +91 -87
- package/dist/thread/threadReducer.es.js +48 -48
- package/package.json +3 -2
package/dist/internal.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { FileUIPart } from 'ai';
|
|
2
2
|
import { UIMessage } from 'ai';
|
|
3
3
|
|
|
4
|
-
/** `day` moved by `delta` months, clamped to the target month's length. */
|
|
5
|
-
export declare function addMonths(calendar: CalendarSystem, { year, month, day }: CalendarDay, delta: number): CalendarDay;
|
|
6
|
-
|
|
7
4
|
/** How a {@link GentiqApi} reaches the backend. */
|
|
8
5
|
declare interface ApiConfig {
|
|
9
6
|
/** Where the backend's API is mounted. Defaults to `/api`. */
|
|
@@ -28,12 +25,6 @@ declare interface ApiConfig {
|
|
|
28
25
|
/** The public `/config`: the admin's overrides plus what the server decides. */
|
|
29
26
|
declare type AppConfigResponse = Schemas['PublicConfig'];
|
|
30
27
|
|
|
31
|
-
/** Which files users may attach: media types (`type/*` for a whole type) and the largest size in bytes. */
|
|
32
|
-
declare type AttachmentLimits = Schemas['AttachmentLimits'];
|
|
33
|
-
|
|
34
|
-
/** Why a file can't be attached, before it's uploaded. */
|
|
35
|
-
declare type AttachmentRejection = 'unsupported_type' | 'too_large';
|
|
36
|
-
|
|
37
28
|
/** Turns an attachment id into a URL the browser can load. */
|
|
38
29
|
declare type AttachmentResolver = (attachmentId: string) => Promise<string>;
|
|
39
30
|
|
|
@@ -70,6 +61,9 @@ declare interface AuthAdapter {
|
|
|
70
61
|
credentials?: RequestCredentials;
|
|
71
62
|
}
|
|
72
63
|
|
|
64
|
+
/** Prefix for branding icons uploaded through `POST /admin/settings/icon`. */
|
|
65
|
+
export declare const BRANDING_URL_PREFIX = "/api/public/branding/";
|
|
66
|
+
|
|
73
67
|
declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options: GentiqApiOptions): {
|
|
74
68
|
/**
|
|
75
69
|
* Call `listener` whenever a request is refused with a 401, which may mean the session has
|
|
@@ -261,12 +255,16 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
261
255
|
}>;
|
|
262
256
|
getAppConfig: (signal?: AbortSignal) => Promise<{
|
|
263
257
|
admin_title?: string | null;
|
|
258
|
+
app_favicon?: string | null;
|
|
259
|
+
app_logo?: string | components["schemas"]["AppLogo"] | null;
|
|
264
260
|
app_name?: string | null;
|
|
265
261
|
app_version: string | null;
|
|
266
262
|
attachments: components["schemas"]["AttachmentLimits"];
|
|
267
263
|
auth_page_enabled?: boolean | null;
|
|
268
264
|
composer_attachments?: boolean | null;
|
|
269
265
|
composer_voice?: boolean | null;
|
|
266
|
+
connectors_allow_user_mcp?: boolean;
|
|
267
|
+
connectors_enabled?: boolean;
|
|
270
268
|
credits_meter?: ("messages" | "tokens" | "cost") | null;
|
|
271
269
|
default_accent?: string | null;
|
|
272
270
|
default_access?: ("unlimited" | "plan" | "credits") | null;
|
|
@@ -290,6 +288,7 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
290
288
|
plugins: string[];
|
|
291
289
|
quota_calendar?: ("gregorian" | "persian") | null;
|
|
292
290
|
quota_timezone?: string | null;
|
|
291
|
+
schedules_enabled?: boolean;
|
|
293
292
|
settings_account_fields?: {
|
|
294
293
|
[key: string]: string;
|
|
295
294
|
};
|
|
@@ -309,6 +308,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
309
308
|
show_usage_details?: boolean | null;
|
|
310
309
|
show_version_in_settings?: boolean | null;
|
|
311
310
|
show_welcome_glow?: boolean | null;
|
|
311
|
+
sidebar_show_connectors?: boolean | null;
|
|
312
|
+
sidebar_show_schedules?: boolean | null;
|
|
312
313
|
signup_enabled?: boolean | null;
|
|
313
314
|
thread_actions_edit?: boolean | null;
|
|
314
315
|
thread_actions_feedback?: boolean | null;
|
|
@@ -323,6 +324,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
323
324
|
week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
|
|
324
325
|
welcome_greeting?: string | null;
|
|
325
326
|
welcome_subtitle?: string | null;
|
|
327
|
+
} & {
|
|
328
|
+
[key: string]: unknown;
|
|
326
329
|
}>;
|
|
327
330
|
/** Whether the service is under maintenance. Public; polled by `useGentiqStatus`. */
|
|
328
331
|
getStatus: (signal?: AbortSignal) => Promise<{
|
|
@@ -340,34 +343,291 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
340
343
|
status: "open" | "resolved";
|
|
341
344
|
subject: string;
|
|
342
345
|
}>;
|
|
346
|
+
/** List all scheduled tasks belonging to the current user. */
|
|
347
|
+
listSchedules: (signal?: AbortSignal) => Promise<{
|
|
348
|
+
max_schedules: number;
|
|
349
|
+
schedules: components["schemas"]["ScheduleView"][];
|
|
350
|
+
}>;
|
|
351
|
+
/** Create a new scheduled task for the current user. */
|
|
352
|
+
createSchedule: (data: ScheduleCreateInput) => Promise<{
|
|
353
|
+
consecutive_failures?: number;
|
|
354
|
+
created_at: string;
|
|
355
|
+
cron?: string | null;
|
|
356
|
+
enabled: boolean;
|
|
357
|
+
expires_at?: string | null;
|
|
358
|
+
id: string;
|
|
359
|
+
interval_minutes?: number | null;
|
|
360
|
+
kind: "once" | "cron" | "interval";
|
|
361
|
+
last_run_at?: string | null;
|
|
362
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
363
|
+
last_run_thread_id?: string | null;
|
|
364
|
+
max_runs?: number | null;
|
|
365
|
+
name: string;
|
|
366
|
+
next_run_at?: string | null;
|
|
367
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
368
|
+
prompt: string;
|
|
369
|
+
run_at?: string | null;
|
|
370
|
+
run_count?: number;
|
|
371
|
+
silent_if_empty: boolean;
|
|
372
|
+
thread_id?: string | null;
|
|
373
|
+
thread_mode: "shared" | "new";
|
|
374
|
+
timezone: string;
|
|
375
|
+
updated_at: string;
|
|
376
|
+
user_id: string;
|
|
377
|
+
}>;
|
|
378
|
+
/** Fetch a single scheduled task by id. */
|
|
379
|
+
getSchedule: (scheduleId: string, signal?: AbortSignal) => Promise<{
|
|
380
|
+
consecutive_failures?: number;
|
|
381
|
+
created_at: string;
|
|
382
|
+
cron?: string | null;
|
|
383
|
+
enabled: boolean;
|
|
384
|
+
expires_at?: string | null;
|
|
385
|
+
id: string;
|
|
386
|
+
interval_minutes?: number | null;
|
|
387
|
+
kind: "once" | "cron" | "interval";
|
|
388
|
+
last_run_at?: string | null;
|
|
389
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
390
|
+
last_run_thread_id?: string | null;
|
|
391
|
+
max_runs?: number | null;
|
|
392
|
+
name: string;
|
|
393
|
+
next_run_at?: string | null;
|
|
394
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
395
|
+
prompt: string;
|
|
396
|
+
run_at?: string | null;
|
|
397
|
+
run_count?: number;
|
|
398
|
+
silent_if_empty: boolean;
|
|
399
|
+
thread_id?: string | null;
|
|
400
|
+
thread_mode: "shared" | "new";
|
|
401
|
+
timezone: string;
|
|
402
|
+
updated_at: string;
|
|
403
|
+
user_id: string;
|
|
404
|
+
}>;
|
|
405
|
+
/** Update an existing scheduled task. */
|
|
406
|
+
updateSchedule: (scheduleId: string, data: ScheduleUpdateInput) => Promise<{
|
|
407
|
+
consecutive_failures?: number;
|
|
408
|
+
created_at: string;
|
|
409
|
+
cron?: string | null;
|
|
410
|
+
enabled: boolean;
|
|
411
|
+
expires_at?: string | null;
|
|
412
|
+
id: string;
|
|
413
|
+
interval_minutes?: number | null;
|
|
414
|
+
kind: "once" | "cron" | "interval";
|
|
415
|
+
last_run_at?: string | null;
|
|
416
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
417
|
+
last_run_thread_id?: string | null;
|
|
418
|
+
max_runs?: number | null;
|
|
419
|
+
name: string;
|
|
420
|
+
next_run_at?: string | null;
|
|
421
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
422
|
+
prompt: string;
|
|
423
|
+
run_at?: string | null;
|
|
424
|
+
run_count?: number;
|
|
425
|
+
silent_if_empty: boolean;
|
|
426
|
+
thread_id?: string | null;
|
|
427
|
+
thread_mode: "shared" | "new";
|
|
428
|
+
timezone: string;
|
|
429
|
+
updated_at: string;
|
|
430
|
+
user_id: string;
|
|
431
|
+
}>;
|
|
432
|
+
/** Delete a scheduled task and its run history. */
|
|
433
|
+
deleteSchedule: (scheduleId: string) => Promise<{
|
|
434
|
+
status: "success";
|
|
435
|
+
}>;
|
|
436
|
+
/** Pause an active scheduled task. */
|
|
437
|
+
pauseSchedule: (scheduleId: string) => Promise<{
|
|
438
|
+
consecutive_failures?: number;
|
|
439
|
+
created_at: string;
|
|
440
|
+
cron?: string | null;
|
|
441
|
+
enabled: boolean;
|
|
442
|
+
expires_at?: string | null;
|
|
443
|
+
id: string;
|
|
444
|
+
interval_minutes?: number | null;
|
|
445
|
+
kind: "once" | "cron" | "interval";
|
|
446
|
+
last_run_at?: string | null;
|
|
447
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
448
|
+
last_run_thread_id?: string | null;
|
|
449
|
+
max_runs?: number | null;
|
|
450
|
+
name: string;
|
|
451
|
+
next_run_at?: string | null;
|
|
452
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
453
|
+
prompt: string;
|
|
454
|
+
run_at?: string | null;
|
|
455
|
+
run_count?: number;
|
|
456
|
+
silent_if_empty: boolean;
|
|
457
|
+
thread_id?: string | null;
|
|
458
|
+
thread_mode: "shared" | "new";
|
|
459
|
+
timezone: string;
|
|
460
|
+
updated_at: string;
|
|
461
|
+
user_id: string;
|
|
462
|
+
}>;
|
|
463
|
+
/** Resume a paused scheduled task. */
|
|
464
|
+
resumeSchedule: (scheduleId: string) => Promise<{
|
|
465
|
+
consecutive_failures?: number;
|
|
466
|
+
created_at: string;
|
|
467
|
+
cron?: string | null;
|
|
468
|
+
enabled: boolean;
|
|
469
|
+
expires_at?: string | null;
|
|
470
|
+
id: string;
|
|
471
|
+
interval_minutes?: number | null;
|
|
472
|
+
kind: "once" | "cron" | "interval";
|
|
473
|
+
last_run_at?: string | null;
|
|
474
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
475
|
+
last_run_thread_id?: string | null;
|
|
476
|
+
max_runs?: number | null;
|
|
477
|
+
name: string;
|
|
478
|
+
next_run_at?: string | null;
|
|
479
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
480
|
+
prompt: string;
|
|
481
|
+
run_at?: string | null;
|
|
482
|
+
run_count?: number;
|
|
483
|
+
silent_if_empty: boolean;
|
|
484
|
+
thread_id?: string | null;
|
|
485
|
+
thread_mode: "shared" | "new";
|
|
486
|
+
timezone: string;
|
|
487
|
+
updated_at: string;
|
|
488
|
+
user_id: string;
|
|
489
|
+
}>;
|
|
490
|
+
/** Trigger an immediate run of a scheduled task. */
|
|
491
|
+
runScheduleNow: (scheduleId: string) => Promise<{
|
|
492
|
+
assistant_message_id?: string | null;
|
|
493
|
+
error?: string | null;
|
|
494
|
+
finished_at?: string | null;
|
|
495
|
+
id: string;
|
|
496
|
+
schedule_id: string;
|
|
497
|
+
scheduled_for: string;
|
|
498
|
+
started_at: string;
|
|
499
|
+
status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
|
|
500
|
+
summary?: string | null;
|
|
501
|
+
thread_id?: string | null;
|
|
502
|
+
trigger: "scheduled" | "manual";
|
|
503
|
+
turn_id?: string | null;
|
|
504
|
+
user_id: string;
|
|
505
|
+
}>;
|
|
506
|
+
/** List recent runs for a scheduled task. */
|
|
507
|
+
listScheduleRuns: (scheduleId: string, limit?: number, signal?: AbortSignal) => Promise<{
|
|
508
|
+
runs: components["schemas"]["ScheduleRunView"][];
|
|
509
|
+
}>;
|
|
510
|
+
/** List external connectors available to the current user. */
|
|
511
|
+
listConnectors: (signal?: AbortSignal) => Promise<{
|
|
512
|
+
allow_user_mcp: boolean;
|
|
513
|
+
connectors: components["schemas"]["ConnectorView"][];
|
|
514
|
+
max_user_mcp: number;
|
|
515
|
+
}>;
|
|
516
|
+
/** Store an API key for a connector. */
|
|
517
|
+
connectConnector: (connectorId: string, data: ConnectorConnectInput) => Promise<{
|
|
518
|
+
account_label?: string | null;
|
|
519
|
+
allow_unattended: boolean;
|
|
520
|
+
api_key_instructions?: string | null;
|
|
521
|
+
approval: "never" | "writes" | "always";
|
|
522
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
523
|
+
connected: boolean;
|
|
524
|
+
description: string;
|
|
525
|
+
enabled: boolean;
|
|
526
|
+
icon?: string | null;
|
|
527
|
+
id: string;
|
|
528
|
+
key: string;
|
|
529
|
+
kind: "python" | "mcp";
|
|
530
|
+
last_error?: string | null;
|
|
531
|
+
last_used_at?: string | null;
|
|
532
|
+
name: string;
|
|
533
|
+
requires_user_credentials: boolean;
|
|
534
|
+
source: "code" | "admin" | "user";
|
|
535
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
536
|
+
tool_overrides?: {
|
|
537
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
538
|
+
};
|
|
539
|
+
url?: string | null;
|
|
540
|
+
}>;
|
|
541
|
+
/** Start an OAuth2 authorization flow for a connector. */
|
|
542
|
+
startConnectorOAuth: (connectorId: string, returnPath?: string) => Promise<{
|
|
543
|
+
authorization_url: string;
|
|
544
|
+
}>;
|
|
545
|
+
/** Wipe credentials and disable a connector. */
|
|
546
|
+
disconnectConnector: (connectorId: string) => Promise<{
|
|
547
|
+
account_label?: string | null;
|
|
548
|
+
allow_unattended: boolean;
|
|
549
|
+
api_key_instructions?: string | null;
|
|
550
|
+
approval: "never" | "writes" | "always";
|
|
551
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
552
|
+
connected: boolean;
|
|
553
|
+
description: string;
|
|
554
|
+
enabled: boolean;
|
|
555
|
+
icon?: string | null;
|
|
556
|
+
id: string;
|
|
557
|
+
key: string;
|
|
558
|
+
kind: "python" | "mcp";
|
|
559
|
+
last_error?: string | null;
|
|
560
|
+
last_used_at?: string | null;
|
|
561
|
+
name: string;
|
|
562
|
+
requires_user_credentials: boolean;
|
|
563
|
+
source: "code" | "admin" | "user";
|
|
564
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
565
|
+
tool_overrides?: {
|
|
566
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
567
|
+
};
|
|
568
|
+
url?: string | null;
|
|
569
|
+
}>;
|
|
570
|
+
/** Enable/disable a connector or update per-tool approval overrides. */
|
|
571
|
+
updateConnector: (connectorId: string, data: ConnectorToggleInput) => Promise<{
|
|
572
|
+
account_label?: string | null;
|
|
573
|
+
allow_unattended: boolean;
|
|
574
|
+
api_key_instructions?: string | null;
|
|
575
|
+
approval: "never" | "writes" | "always";
|
|
576
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
577
|
+
connected: boolean;
|
|
578
|
+
description: string;
|
|
579
|
+
enabled: boolean;
|
|
580
|
+
icon?: string | null;
|
|
581
|
+
id: string;
|
|
582
|
+
key: string;
|
|
583
|
+
kind: "python" | "mcp";
|
|
584
|
+
last_error?: string | null;
|
|
585
|
+
last_used_at?: string | null;
|
|
586
|
+
name: string;
|
|
587
|
+
requires_user_credentials: boolean;
|
|
588
|
+
source: "code" | "admin" | "user";
|
|
589
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
590
|
+
tool_overrides?: {
|
|
591
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
592
|
+
};
|
|
593
|
+
url?: string | null;
|
|
594
|
+
}>;
|
|
595
|
+
/** List tools discovered from a connected connector. */
|
|
596
|
+
listConnectorTools: (connectorId: string, signal?: AbortSignal) => Promise<{
|
|
597
|
+
connector_id: string;
|
|
598
|
+
tools: components["schemas"]["ConnectorToolView"][];
|
|
599
|
+
}>;
|
|
600
|
+
/** Register a custom remote MCP server for the current user. */
|
|
601
|
+
createUserMCPConnector: (data: UserMCPCreateInput) => Promise<{
|
|
602
|
+
account_label?: string | null;
|
|
603
|
+
allow_unattended: boolean;
|
|
604
|
+
api_key_instructions?: string | null;
|
|
605
|
+
approval: "never" | "writes" | "always";
|
|
606
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
607
|
+
connected: boolean;
|
|
608
|
+
description: string;
|
|
609
|
+
enabled: boolean;
|
|
610
|
+
icon?: string | null;
|
|
611
|
+
id: string;
|
|
612
|
+
key: string;
|
|
613
|
+
kind: "python" | "mcp";
|
|
614
|
+
last_error?: string | null;
|
|
615
|
+
last_used_at?: string | null;
|
|
616
|
+
name: string;
|
|
617
|
+
requires_user_credentials: boolean;
|
|
618
|
+
source: "code" | "admin" | "user";
|
|
619
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
620
|
+
tool_overrides?: {
|
|
621
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
622
|
+
};
|
|
623
|
+
url?: string | null;
|
|
624
|
+
}>;
|
|
625
|
+
/** Delete a user-owned custom remote MCP server. */
|
|
626
|
+
deleteUserMCPConnector: (connectorId: string) => Promise<{
|
|
627
|
+
status: "success";
|
|
628
|
+
}>;
|
|
343
629
|
};
|
|
344
630
|
|
|
345
|
-
/**
|
|
346
|
-
* Day arithmetic in the calendars the UI offers for picking dates: Gregorian and the
|
|
347
|
-
* Solar Hijri (Jalali) calendar Persian readers use.
|
|
348
|
-
*
|
|
349
|
-
* `Intl` can *display* a date in the Persian calendar but cannot turn a Persian date back
|
|
350
|
-
* into an instant, which a date picker has to. The Jalali conversion below is the
|
|
351
|
-
* Borkowski algorithm as published in jalaali-js (MIT), valid for Jalali years -61 to 3177.
|
|
352
|
-
*/
|
|
353
|
-
/** A day in some calendar. `month` is 1-based. */
|
|
354
|
-
export declare interface CalendarDay {
|
|
355
|
-
year: number;
|
|
356
|
-
month: number;
|
|
357
|
-
day: number;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
export declare type CalendarKind = 'gregory' | 'persian';
|
|
361
|
-
|
|
362
|
-
declare interface CalendarSystem {
|
|
363
|
-
kind: CalendarKind;
|
|
364
|
-
/** The day `date` falls on, in the browser's own timezone. */
|
|
365
|
-
fromDate: (date: Date) => CalendarDay;
|
|
366
|
-
/** That day at `hours`:`minutes`, in the browser's own timezone. */
|
|
367
|
-
toDate: (day: CalendarDay, hours?: number, minutes?: number) => Date;
|
|
368
|
-
daysInMonth: (year: number, month: number) => number;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
631
|
/**
|
|
372
632
|
* A file to send with a message: one uploaded with `uploadAttachment`, as it answered. `file` is
|
|
373
633
|
* the local copy, if there is one, so the message can show the file without downloading it again.
|
|
@@ -386,7 +646,7 @@ declare interface ChatReference {
|
|
|
386
646
|
/** Unique ID for this reference instance. */
|
|
387
647
|
id: string;
|
|
388
648
|
/** Reference source type. */
|
|
389
|
-
kind: 'text' | 'card' | 'tool' | 'file' | string;
|
|
649
|
+
kind: 'text' | 'card' | 'tool' | 'file' | (string & {});
|
|
390
650
|
/** Source message ID, when the source belongs to a chat message. */
|
|
391
651
|
messageId?: string;
|
|
392
652
|
/** Source part index, when the source belongs to a message part. */
|
|
@@ -405,6 +665,7 @@ declare interface ChatReference {
|
|
|
405
665
|
metadata?: Record<string, unknown>;
|
|
406
666
|
}
|
|
407
667
|
|
|
668
|
+
/** Input passed when adding a reference to the composer; `id` is generated when omitted. */
|
|
408
669
|
declare type ChatReferenceInput = Omit<ChatReference, 'id'> & {
|
|
409
670
|
id?: string;
|
|
410
671
|
};
|
|
@@ -443,6 +704,8 @@ export declare interface ChatRuntime {
|
|
|
443
704
|
subscribeThreads: (listener: () => void) => () => void;
|
|
444
705
|
/** Call `listener` on each of the runtime's events. Returns a function that stops listening. */
|
|
445
706
|
onEvent: (listener: (event: ChatRuntimeEvent) => void) => () => void;
|
|
707
|
+
/** Stops every turn and lets go of every controller and attachment URL while keeping subscribers. */
|
|
708
|
+
reset: () => void;
|
|
446
709
|
/** Stops every turn and lets go of every controller and attachment URL. */
|
|
447
710
|
dispose: () => void;
|
|
448
711
|
}
|
|
@@ -531,6 +794,207 @@ export declare interface components {
|
|
|
531
794
|
*/
|
|
532
795
|
via: "resolver" | "subscription" | "credits" | "default";
|
|
533
796
|
};
|
|
797
|
+
/**
|
|
798
|
+
* AdminConnectorCreateInput
|
|
799
|
+
* @description Admin-created remote MCP connector.
|
|
800
|
+
*/
|
|
801
|
+
AdminConnectorCreateInput: {
|
|
802
|
+
/**
|
|
803
|
+
* Allow Unattended
|
|
804
|
+
* @default false
|
|
805
|
+
*/
|
|
806
|
+
allow_unattended?: boolean;
|
|
807
|
+
/** Api Key Instructions */
|
|
808
|
+
api_key_instructions?: string | null;
|
|
809
|
+
/**
|
|
810
|
+
* Approval
|
|
811
|
+
* @default writes
|
|
812
|
+
* @enum {string}
|
|
813
|
+
*/
|
|
814
|
+
approval?: "never" | "writes" | "always";
|
|
815
|
+
/**
|
|
816
|
+
* Auth Kind
|
|
817
|
+
* @default none
|
|
818
|
+
* @enum {string}
|
|
819
|
+
*/
|
|
820
|
+
auth_kind?: "none" | "api_key" | "oauth2";
|
|
821
|
+
/** Authorize Url */
|
|
822
|
+
authorize_url?: string | null;
|
|
823
|
+
/** Client Id */
|
|
824
|
+
client_id?: string | null;
|
|
825
|
+
/** Client Secret */
|
|
826
|
+
client_secret?: string | null;
|
|
827
|
+
/**
|
|
828
|
+
* Description
|
|
829
|
+
* @default
|
|
830
|
+
*/
|
|
831
|
+
description?: string;
|
|
832
|
+
/**
|
|
833
|
+
* Global Enabled
|
|
834
|
+
* @default true
|
|
835
|
+
*/
|
|
836
|
+
global_enabled?: boolean;
|
|
837
|
+
/**
|
|
838
|
+
* Header Name
|
|
839
|
+
* @default Authorization
|
|
840
|
+
*/
|
|
841
|
+
header_name?: string;
|
|
842
|
+
/**
|
|
843
|
+
* Header Prefix
|
|
844
|
+
* @default Bearer
|
|
845
|
+
*/
|
|
846
|
+
header_prefix?: string;
|
|
847
|
+
/** Key */
|
|
848
|
+
key: string;
|
|
849
|
+
/** Name */
|
|
850
|
+
name: string;
|
|
851
|
+
/**
|
|
852
|
+
* Pkce
|
|
853
|
+
* @default true
|
|
854
|
+
*/
|
|
855
|
+
pkce?: boolean;
|
|
856
|
+
/** Scopes */
|
|
857
|
+
scopes?: string[];
|
|
858
|
+
/** Shared Secret */
|
|
859
|
+
shared_secret?: string | null;
|
|
860
|
+
/** Token Url */
|
|
861
|
+
token_url?: string | null;
|
|
862
|
+
/**
|
|
863
|
+
* Transport
|
|
864
|
+
* @default streamable-http
|
|
865
|
+
* @enum {string}
|
|
866
|
+
*/
|
|
867
|
+
transport?: "streamable-http" | "sse";
|
|
868
|
+
/** Url */
|
|
869
|
+
url: string;
|
|
870
|
+
};
|
|
871
|
+
/**
|
|
872
|
+
* AdminConnectorListResponse
|
|
873
|
+
* @description All code-defined and admin-defined connectors.
|
|
874
|
+
*/
|
|
875
|
+
AdminConnectorListResponse: {
|
|
876
|
+
/** Connectors */
|
|
877
|
+
connectors: components["schemas"]["AdminConnectorView"][];
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* AdminConnectorTestResponse
|
|
881
|
+
* @description Result of testing connectivity and tool discovery for an admin connector.
|
|
882
|
+
*/
|
|
883
|
+
AdminConnectorTestResponse: {
|
|
884
|
+
/** Error */
|
|
885
|
+
error?: string | null;
|
|
886
|
+
/** Ok */
|
|
887
|
+
ok: boolean;
|
|
888
|
+
/** Tool Names */
|
|
889
|
+
tool_names?: string[];
|
|
890
|
+
/**
|
|
891
|
+
* Tools Count
|
|
892
|
+
* @default 0
|
|
893
|
+
*/
|
|
894
|
+
tools_count?: number;
|
|
895
|
+
};
|
|
896
|
+
/**
|
|
897
|
+
* AdminConnectorUpdateInput
|
|
898
|
+
* @description Partial update to a connector from the Admin Panel.
|
|
899
|
+
*/
|
|
900
|
+
AdminConnectorUpdateInput: {
|
|
901
|
+
/** Allow Unattended */
|
|
902
|
+
allow_unattended?: boolean | null;
|
|
903
|
+
/** Api Key Instructions */
|
|
904
|
+
api_key_instructions?: string | null;
|
|
905
|
+
/** Approval */
|
|
906
|
+
approval?: ("never" | "writes" | "always") | null;
|
|
907
|
+
/** Auth Kind */
|
|
908
|
+
auth_kind?: ("none" | "api_key" | "oauth2") | null;
|
|
909
|
+
/** Authorize Url */
|
|
910
|
+
authorize_url?: string | null;
|
|
911
|
+
/** Client Id */
|
|
912
|
+
client_id?: string | null;
|
|
913
|
+
/** Client Secret */
|
|
914
|
+
client_secret?: string | null;
|
|
915
|
+
/** Description */
|
|
916
|
+
description?: string | null;
|
|
917
|
+
/** Global Enabled */
|
|
918
|
+
global_enabled?: boolean | null;
|
|
919
|
+
/** Header Name */
|
|
920
|
+
header_name?: string | null;
|
|
921
|
+
/** Header Prefix */
|
|
922
|
+
header_prefix?: string | null;
|
|
923
|
+
/** Name */
|
|
924
|
+
name?: string | null;
|
|
925
|
+
/** Pkce */
|
|
926
|
+
pkce?: boolean | null;
|
|
927
|
+
/** Scopes */
|
|
928
|
+
scopes?: string[] | null;
|
|
929
|
+
/** Shared Secret */
|
|
930
|
+
shared_secret?: string | null;
|
|
931
|
+
/** Token Url */
|
|
932
|
+
token_url?: string | null;
|
|
933
|
+
/** Transport */
|
|
934
|
+
transport?: ("streamable-http" | "sse") | null;
|
|
935
|
+
/** Url */
|
|
936
|
+
url?: string | null;
|
|
937
|
+
};
|
|
938
|
+
/**
|
|
939
|
+
* AdminConnectorView
|
|
940
|
+
* @description Admin view of a connector catalog entry (secrets are always redacted).
|
|
941
|
+
*/
|
|
942
|
+
AdminConnectorView: {
|
|
943
|
+
/** Allow Unattended */
|
|
944
|
+
allow_unattended: boolean;
|
|
945
|
+
/**
|
|
946
|
+
* Approval
|
|
947
|
+
* @enum {string}
|
|
948
|
+
*/
|
|
949
|
+
approval: "never" | "writes" | "always";
|
|
950
|
+
/**
|
|
951
|
+
* Auth Kind
|
|
952
|
+
* @enum {string}
|
|
953
|
+
*/
|
|
954
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
955
|
+
/** Connected Users Count */
|
|
956
|
+
connected_users_count: number;
|
|
957
|
+
/**
|
|
958
|
+
* Created At
|
|
959
|
+
* Format: date-time
|
|
960
|
+
*/
|
|
961
|
+
created_at: string;
|
|
962
|
+
/** Description */
|
|
963
|
+
description: string;
|
|
964
|
+
/** Global Enabled */
|
|
965
|
+
global_enabled: boolean;
|
|
966
|
+
/** Has Client Secret */
|
|
967
|
+
has_client_secret: boolean;
|
|
968
|
+
/** Has Shared Secret */
|
|
969
|
+
has_shared_secret: boolean;
|
|
970
|
+
/** Id */
|
|
971
|
+
id: string;
|
|
972
|
+
/** Key */
|
|
973
|
+
key: string;
|
|
974
|
+
/**
|
|
975
|
+
* Kind
|
|
976
|
+
* @enum {string}
|
|
977
|
+
*/
|
|
978
|
+
kind: "python" | "mcp";
|
|
979
|
+
/** Name */
|
|
980
|
+
name: string;
|
|
981
|
+
/** Read Only */
|
|
982
|
+
read_only: boolean;
|
|
983
|
+
/**
|
|
984
|
+
* Source
|
|
985
|
+
* @enum {string}
|
|
986
|
+
*/
|
|
987
|
+
source: "code" | "admin";
|
|
988
|
+
/** Transport */
|
|
989
|
+
transport?: ("streamable-http" | "sse") | null;
|
|
990
|
+
/**
|
|
991
|
+
* Updated At
|
|
992
|
+
* Format: date-time
|
|
993
|
+
*/
|
|
994
|
+
updated_at: string;
|
|
995
|
+
/** Url */
|
|
996
|
+
url?: string | null;
|
|
997
|
+
};
|
|
534
998
|
/** AdminCreated */
|
|
535
999
|
AdminCreated: {
|
|
536
1000
|
/** Admin Id */
|
|
@@ -819,6 +1283,90 @@ export declare interface components {
|
|
|
819
1283
|
/** Username */
|
|
820
1284
|
username?: string | null;
|
|
821
1285
|
};
|
|
1286
|
+
/**
|
|
1287
|
+
* AdminScheduleListResponse
|
|
1288
|
+
* @description Paginated list of schedules for admins.
|
|
1289
|
+
*/
|
|
1290
|
+
AdminScheduleListResponse: {
|
|
1291
|
+
/** Schedules */
|
|
1292
|
+
schedules: components["schemas"]["AdminScheduleView"][];
|
|
1293
|
+
/** Total */
|
|
1294
|
+
total: number;
|
|
1295
|
+
};
|
|
1296
|
+
/**
|
|
1297
|
+
* AdminScheduleView
|
|
1298
|
+
* @description Admin view of a schedule, including a display label for its owner.
|
|
1299
|
+
*/
|
|
1300
|
+
AdminScheduleView: {
|
|
1301
|
+
/**
|
|
1302
|
+
* Consecutive Failures
|
|
1303
|
+
* @default 0
|
|
1304
|
+
*/
|
|
1305
|
+
consecutive_failures?: number;
|
|
1306
|
+
/**
|
|
1307
|
+
* Created At
|
|
1308
|
+
* Format: date-time
|
|
1309
|
+
*/
|
|
1310
|
+
created_at: string;
|
|
1311
|
+
/** Cron */
|
|
1312
|
+
cron?: string | null;
|
|
1313
|
+
/** Enabled */
|
|
1314
|
+
enabled: boolean;
|
|
1315
|
+
/** Expires At */
|
|
1316
|
+
expires_at?: string | null;
|
|
1317
|
+
/** Id */
|
|
1318
|
+
id: string;
|
|
1319
|
+
/** Interval Minutes */
|
|
1320
|
+
interval_minutes?: number | null;
|
|
1321
|
+
/**
|
|
1322
|
+
* Kind
|
|
1323
|
+
* @enum {string}
|
|
1324
|
+
*/
|
|
1325
|
+
kind: "once" | "cron" | "interval";
|
|
1326
|
+
/** Last Run At */
|
|
1327
|
+
last_run_at?: string | null;
|
|
1328
|
+
/** Last Run Status */
|
|
1329
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
1330
|
+
/** Last Run Thread Id */
|
|
1331
|
+
last_run_thread_id?: string | null;
|
|
1332
|
+
/** Max Runs */
|
|
1333
|
+
max_runs?: number | null;
|
|
1334
|
+
/** Name */
|
|
1335
|
+
name: string;
|
|
1336
|
+
/** Next Run At */
|
|
1337
|
+
next_run_at?: string | null;
|
|
1338
|
+
/** Pause Reason */
|
|
1339
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
1340
|
+
/** Prompt */
|
|
1341
|
+
prompt: string;
|
|
1342
|
+
/** Run At */
|
|
1343
|
+
run_at?: string | null;
|
|
1344
|
+
/**
|
|
1345
|
+
* Run Count
|
|
1346
|
+
* @default 0
|
|
1347
|
+
*/
|
|
1348
|
+
run_count?: number;
|
|
1349
|
+
/** Silent If Empty */
|
|
1350
|
+
silent_if_empty: boolean;
|
|
1351
|
+
/** Thread Id */
|
|
1352
|
+
thread_id?: string | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Thread Mode
|
|
1355
|
+
* @enum {string}
|
|
1356
|
+
*/
|
|
1357
|
+
thread_mode: "shared" | "new";
|
|
1358
|
+
/** Timezone */
|
|
1359
|
+
timezone: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* Updated At
|
|
1362
|
+
* Format: date-time
|
|
1363
|
+
*/
|
|
1364
|
+
updated_at: string;
|
|
1365
|
+
/** User Id */
|
|
1366
|
+
user_id: string;
|
|
1367
|
+
/** User Label */
|
|
1368
|
+
user_label?: string | null;
|
|
1369
|
+
};
|
|
822
1370
|
/**
|
|
823
1371
|
* AdminSession
|
|
824
1372
|
* @description The signed-in admin as the store holds it now, not as the token described it.
|
|
@@ -1004,7 +1552,7 @@ export declare interface components {
|
|
|
1004
1552
|
/** Surname */
|
|
1005
1553
|
surname: string | null;
|
|
1006
1554
|
/** Token */
|
|
1007
|
-
token
|
|
1555
|
+
token?: string | null;
|
|
1008
1556
|
/** Username */
|
|
1009
1557
|
username: string | null;
|
|
1010
1558
|
};
|
|
@@ -1046,7 +1594,7 @@ export declare interface components {
|
|
|
1046
1594
|
/** Surname */
|
|
1047
1595
|
surname: string | null;
|
|
1048
1596
|
/** Token */
|
|
1049
|
-
token
|
|
1597
|
+
token?: string | null;
|
|
1050
1598
|
/**
|
|
1051
1599
|
* Type
|
|
1052
1600
|
* @enum {string}
|
|
@@ -1060,6 +1608,8 @@ export declare interface components {
|
|
|
1060
1608
|
* @description An admin's edit of a user. Unlike a user's edit of themselves, it can set the user's group.
|
|
1061
1609
|
*/
|
|
1062
1610
|
AdminUserUpdateInput: {
|
|
1611
|
+
/** Current Password */
|
|
1612
|
+
current_password?: string | null;
|
|
1063
1613
|
/** Email */
|
|
1064
1614
|
email?: string | null;
|
|
1065
1615
|
/** Metadata */
|
|
@@ -1161,6 +1711,7 @@ export declare interface components {
|
|
|
1161
1711
|
};
|
|
1162
1712
|
/** AnalyticsTrendsDetail */
|
|
1163
1713
|
AnalyticsTrendsDetail: {
|
|
1714
|
+
clients: components["schemas"]["ClientBreakdown"];
|
|
1164
1715
|
/** Currency */
|
|
1165
1716
|
currency: string;
|
|
1166
1717
|
/** Daily */
|
|
@@ -1246,6 +1797,16 @@ export declare interface components {
|
|
|
1246
1797
|
/** Scopes */
|
|
1247
1798
|
scopes: string[];
|
|
1248
1799
|
};
|
|
1800
|
+
/**
|
|
1801
|
+
* AppLogo
|
|
1802
|
+
* @description Light and dark theme URLs for the application logo.
|
|
1803
|
+
*/
|
|
1804
|
+
AppLogo: {
|
|
1805
|
+
/** Dark */
|
|
1806
|
+
dark: string;
|
|
1807
|
+
/** Light */
|
|
1808
|
+
light: string;
|
|
1809
|
+
};
|
|
1249
1810
|
/**
|
|
1250
1811
|
* AppSettings
|
|
1251
1812
|
* @description What an admin changed in the app's configuration, from the settings page.
|
|
@@ -1256,6 +1817,10 @@ export declare interface components {
|
|
|
1256
1817
|
AppSettings: {
|
|
1257
1818
|
/** Admin Title */
|
|
1258
1819
|
admin_title?: string | null;
|
|
1820
|
+
/** App Favicon */
|
|
1821
|
+
app_favicon?: string | null;
|
|
1822
|
+
/** App Logo */
|
|
1823
|
+
app_logo?: string | components["schemas"]["AppLogo"] | null;
|
|
1259
1824
|
/** App Name */
|
|
1260
1825
|
app_name?: string | null;
|
|
1261
1826
|
/** Auth Page Enabled */
|
|
@@ -1334,6 +1899,10 @@ export declare interface components {
|
|
|
1334
1899
|
show_version_in_settings?: boolean | null;
|
|
1335
1900
|
/** Show Welcome Glow */
|
|
1336
1901
|
show_welcome_glow?: boolean | null;
|
|
1902
|
+
/** Sidebar Show Connectors */
|
|
1903
|
+
sidebar_show_connectors?: boolean | null;
|
|
1904
|
+
/** Sidebar Show Schedules */
|
|
1905
|
+
sidebar_show_schedules?: boolean | null;
|
|
1337
1906
|
/** Signup Enabled */
|
|
1338
1907
|
signup_enabled?: boolean | null;
|
|
1339
1908
|
/** Thread Actions Edit */
|
|
@@ -1361,6 +1930,10 @@ export declare interface components {
|
|
|
1361
1930
|
AppSettingsUpdateInput: {
|
|
1362
1931
|
/** Admin Title */
|
|
1363
1932
|
admin_title?: string | null;
|
|
1933
|
+
/** App Favicon */
|
|
1934
|
+
app_favicon?: string | null;
|
|
1935
|
+
/** App Logo */
|
|
1936
|
+
app_logo?: string | components["schemas"]["AppLogo"] | null;
|
|
1364
1937
|
/** App Name */
|
|
1365
1938
|
app_name?: string | null;
|
|
1366
1939
|
/** Auth Page Enabled */
|
|
@@ -1439,6 +2012,10 @@ export declare interface components {
|
|
|
1439
2012
|
show_version_in_settings?: boolean | null;
|
|
1440
2013
|
/** Show Welcome Glow */
|
|
1441
2014
|
show_welcome_glow?: boolean | null;
|
|
2015
|
+
/** Sidebar Show Connectors */
|
|
2016
|
+
sidebar_show_connectors?: boolean | null;
|
|
2017
|
+
/** Sidebar Show Schedules */
|
|
2018
|
+
sidebar_show_schedules?: boolean | null;
|
|
1442
2019
|
/** Signup Enabled */
|
|
1443
2020
|
signup_enabled?: boolean | null;
|
|
1444
2021
|
/** Thread Actions Edit */
|
|
@@ -1524,98 +2101,21 @@ export declare interface components {
|
|
|
1524
2101
|
/** Username */
|
|
1525
2102
|
username: string | null;
|
|
1526
2103
|
};
|
|
1527
|
-
/**
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
phone?: string | null;
|
|
1543
|
-
subscription?: components["schemas"]["SessionSubscriptionInput"] | null;
|
|
1544
|
-
/** Surname */
|
|
1545
|
-
surname: string;
|
|
1546
|
-
/** Username */
|
|
1547
|
-
username?: string | null;
|
|
1548
|
-
};
|
|
1549
|
-
/** AuthorizeUserResponse */
|
|
1550
|
-
AuthorizeUserResponse: {
|
|
1551
|
-
/** Created At */
|
|
1552
|
-
created_at: string | null;
|
|
1553
|
-
/** Email */
|
|
1554
|
-
email: string | null;
|
|
1555
|
-
entitlement: components["schemas"]["EntitlementStatus"];
|
|
1556
|
-
/** External Id */
|
|
1557
|
-
external_id: string | null;
|
|
1558
|
-
/** Metadata */
|
|
1559
|
-
metadata: {
|
|
1560
|
-
[key: string]: unknown;
|
|
1561
|
-
};
|
|
1562
|
-
/** Name */
|
|
1563
|
-
name: string;
|
|
1564
|
-
/** Phone */
|
|
1565
|
-
phone: string | null;
|
|
1566
|
-
/** Surname */
|
|
1567
|
-
surname: string | null;
|
|
1568
|
-
/** Token */
|
|
1569
|
-
token: string;
|
|
1570
|
-
/**
|
|
1571
|
-
* Type
|
|
1572
|
-
* @enum {string}
|
|
1573
|
-
*/
|
|
1574
|
-
type: "human" | "service";
|
|
1575
|
-
/** User Id */
|
|
1576
|
-
user_id: string;
|
|
1577
|
-
/** Username */
|
|
1578
|
-
username: string | null;
|
|
1579
|
-
};
|
|
1580
|
-
/** BackgroundJob */
|
|
1581
|
-
BackgroundJob: {
|
|
1582
|
-
/**
|
|
1583
|
-
* Created At
|
|
1584
|
-
* Format: date-time
|
|
1585
|
-
*/
|
|
1586
|
-
created_at: string;
|
|
1587
|
-
/** Error */
|
|
1588
|
-
error: string | null;
|
|
1589
|
-
/** Id */
|
|
1590
|
-
id: string;
|
|
1591
|
-
/** Message */
|
|
1592
|
-
message: string | null;
|
|
1593
|
-
/** Metadata */
|
|
1594
|
-
metadata: {
|
|
1595
|
-
[key: string]: unknown;
|
|
1596
|
-
};
|
|
1597
|
-
/** Progress */
|
|
1598
|
-
progress: number | null;
|
|
1599
|
-
/** Result */
|
|
1600
|
-
result: unknown;
|
|
1601
|
-
/** Status */
|
|
1602
|
-
status: string;
|
|
1603
|
-
/** Type */
|
|
1604
|
-
type: string;
|
|
1605
|
-
/**
|
|
1606
|
-
* Updated At
|
|
1607
|
-
* Format: date-time
|
|
1608
|
-
*/
|
|
1609
|
-
updated_at: string;
|
|
1610
|
-
/** User Id */
|
|
1611
|
-
user_id: string | null;
|
|
1612
|
-
};
|
|
1613
|
-
/** BackgroundJobList */
|
|
1614
|
-
BackgroundJobList: {
|
|
1615
|
-
/** Count */
|
|
1616
|
-
count: number;
|
|
1617
|
-
/** Jobs */
|
|
1618
|
-
jobs: components["schemas"]["BackgroundJob"][];
|
|
2104
|
+
/**
|
|
2105
|
+
* BrandingIconUpload
|
|
2106
|
+
* @description Metadata and public path of an uploaded app logo or favicon.
|
|
2107
|
+
*/
|
|
2108
|
+
BrandingIconUpload: {
|
|
2109
|
+
/** Filename */
|
|
2110
|
+
filename: string;
|
|
2111
|
+
/** Id */
|
|
2112
|
+
id: string;
|
|
2113
|
+
/** Media Type */
|
|
2114
|
+
media_type: string;
|
|
2115
|
+
/** Size */
|
|
2116
|
+
size: number;
|
|
2117
|
+
/** Url */
|
|
2118
|
+
url: string;
|
|
1619
2119
|
};
|
|
1620
2120
|
/** BulkAccessResponse */
|
|
1621
2121
|
BulkAccessResponse: {
|
|
@@ -1766,6 +2266,150 @@ export declare interface components {
|
|
|
1766
2266
|
*/
|
|
1767
2267
|
type: "data-choice-question";
|
|
1768
2268
|
};
|
|
2269
|
+
/** ClientBreakdown */
|
|
2270
|
+
ClientBreakdown: {
|
|
2271
|
+
/** Browsers */
|
|
2272
|
+
browsers: components["schemas"]["ClientCount"][];
|
|
2273
|
+
/** Devices */
|
|
2274
|
+
devices: components["schemas"]["ClientCount"][];
|
|
2275
|
+
/** Os */
|
|
2276
|
+
os: components["schemas"]["ClientCount"][];
|
|
2277
|
+
};
|
|
2278
|
+
/** ClientCount */
|
|
2279
|
+
ClientCount: {
|
|
2280
|
+
/** Count */
|
|
2281
|
+
count: number;
|
|
2282
|
+
/** Key */
|
|
2283
|
+
key: string;
|
|
2284
|
+
};
|
|
2285
|
+
/**
|
|
2286
|
+
* ConnectorConnectInput
|
|
2287
|
+
* @description API-key credentials submitted by an end user for a connector.
|
|
2288
|
+
*/
|
|
2289
|
+
ConnectorConnectInput: {
|
|
2290
|
+
/** Account Label */
|
|
2291
|
+
account_label?: string | null;
|
|
2292
|
+
/** Api Key */
|
|
2293
|
+
api_key: string;
|
|
2294
|
+
};
|
|
2295
|
+
/**
|
|
2296
|
+
* ConnectorListResponse
|
|
2297
|
+
* @description Connectors visible to the current user.
|
|
2298
|
+
*/
|
|
2299
|
+
ConnectorListResponse: {
|
|
2300
|
+
/** Allow User Mcp */
|
|
2301
|
+
allow_user_mcp: boolean;
|
|
2302
|
+
/** Connectors */
|
|
2303
|
+
connectors: components["schemas"]["ConnectorView"][];
|
|
2304
|
+
/** Max User Mcp */
|
|
2305
|
+
max_user_mcp: number;
|
|
2306
|
+
};
|
|
2307
|
+
/**
|
|
2308
|
+
* ConnectorToggleInput
|
|
2309
|
+
* @description Enable/disable a connector for the current user or customize per-tool approvals.
|
|
2310
|
+
*/
|
|
2311
|
+
ConnectorToggleInput: {
|
|
2312
|
+
/** Enabled */
|
|
2313
|
+
enabled: boolean;
|
|
2314
|
+
/** Tool Overrides */
|
|
2315
|
+
tool_overrides?: {
|
|
2316
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
2317
|
+
} | null;
|
|
2318
|
+
};
|
|
2319
|
+
/**
|
|
2320
|
+
* ConnectorToolView
|
|
2321
|
+
* @description One tool advertised by a connector.
|
|
2322
|
+
*/
|
|
2323
|
+
ConnectorToolView: {
|
|
2324
|
+
/**
|
|
2325
|
+
* Approval
|
|
2326
|
+
* @enum {string}
|
|
2327
|
+
*/
|
|
2328
|
+
approval: "allow" | "ask" | "deny";
|
|
2329
|
+
/** Description */
|
|
2330
|
+
description?: string | null;
|
|
2331
|
+
/** Destructive */
|
|
2332
|
+
destructive?: boolean | null;
|
|
2333
|
+
/** Full Name */
|
|
2334
|
+
full_name: string;
|
|
2335
|
+
/** Name */
|
|
2336
|
+
name: string;
|
|
2337
|
+
/** Read Only */
|
|
2338
|
+
read_only?: boolean | null;
|
|
2339
|
+
};
|
|
2340
|
+
/**
|
|
2341
|
+
* ConnectorToolsResponse
|
|
2342
|
+
* @description Tools discovered for a connected connector.
|
|
2343
|
+
*/
|
|
2344
|
+
ConnectorToolsResponse: {
|
|
2345
|
+
/** Connector Id */
|
|
2346
|
+
connector_id: string;
|
|
2347
|
+
/** Tools */
|
|
2348
|
+
tools: components["schemas"]["ConnectorToolView"][];
|
|
2349
|
+
};
|
|
2350
|
+
/**
|
|
2351
|
+
* ConnectorView
|
|
2352
|
+
* @description End-user view of an available connector and their connection state.
|
|
2353
|
+
*/
|
|
2354
|
+
ConnectorView: {
|
|
2355
|
+
/** Account Label */
|
|
2356
|
+
account_label?: string | null;
|
|
2357
|
+
/** Allow Unattended */
|
|
2358
|
+
allow_unattended: boolean;
|
|
2359
|
+
/** Api Key Instructions */
|
|
2360
|
+
api_key_instructions?: string | null;
|
|
2361
|
+
/**
|
|
2362
|
+
* Approval
|
|
2363
|
+
* @enum {string}
|
|
2364
|
+
*/
|
|
2365
|
+
approval: "never" | "writes" | "always";
|
|
2366
|
+
/**
|
|
2367
|
+
* Auth Kind
|
|
2368
|
+
* @enum {string}
|
|
2369
|
+
*/
|
|
2370
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
2371
|
+
/** Connected */
|
|
2372
|
+
connected: boolean;
|
|
2373
|
+
/** Description */
|
|
2374
|
+
description: string;
|
|
2375
|
+
/** Enabled */
|
|
2376
|
+
enabled: boolean;
|
|
2377
|
+
/** Icon */
|
|
2378
|
+
icon?: string | null;
|
|
2379
|
+
/** Id */
|
|
2380
|
+
id: string;
|
|
2381
|
+
/** Key */
|
|
2382
|
+
key: string;
|
|
2383
|
+
/**
|
|
2384
|
+
* Kind
|
|
2385
|
+
* @enum {string}
|
|
2386
|
+
*/
|
|
2387
|
+
kind: "python" | "mcp";
|
|
2388
|
+
/** Last Error */
|
|
2389
|
+
last_error?: string | null;
|
|
2390
|
+
/** Last Used At */
|
|
2391
|
+
last_used_at?: string | null;
|
|
2392
|
+
/** Name */
|
|
2393
|
+
name: string;
|
|
2394
|
+
/** Requires User Credentials */
|
|
2395
|
+
requires_user_credentials: boolean;
|
|
2396
|
+
/**
|
|
2397
|
+
* Source
|
|
2398
|
+
* @enum {string}
|
|
2399
|
+
*/
|
|
2400
|
+
source: "code" | "admin" | "user";
|
|
2401
|
+
/**
|
|
2402
|
+
* Status
|
|
2403
|
+
* @enum {string}
|
|
2404
|
+
*/
|
|
2405
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
2406
|
+
/** Tool Overrides */
|
|
2407
|
+
tool_overrides?: {
|
|
2408
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
2409
|
+
};
|
|
2410
|
+
/** Url */
|
|
2411
|
+
url?: string | null;
|
|
2412
|
+
};
|
|
1769
2413
|
/** CountBin */
|
|
1770
2414
|
CountBin: {
|
|
1771
2415
|
/** Count */
|
|
@@ -2583,6 +3227,25 @@ export declare interface components {
|
|
|
2583
3227
|
/** Total Cost Microunits */
|
|
2584
3228
|
total_cost_microunits?: number | null;
|
|
2585
3229
|
};
|
|
3230
|
+
/**
|
|
3231
|
+
* OAuthStartInput
|
|
3232
|
+
* @description Request to start an OAuth2 authorization flow for a connector.
|
|
3233
|
+
*/
|
|
3234
|
+
OAuthStartInput: {
|
|
3235
|
+
/**
|
|
3236
|
+
* Return Path
|
|
3237
|
+
* @default /
|
|
3238
|
+
*/
|
|
3239
|
+
return_path?: string;
|
|
3240
|
+
};
|
|
3241
|
+
/**
|
|
3242
|
+
* OAuthStartResponse
|
|
3243
|
+
* @description Authorization URL the browser redirects the user to.
|
|
3244
|
+
*/
|
|
3245
|
+
OAuthStartResponse: {
|
|
3246
|
+
/** Authorization Url */
|
|
3247
|
+
authorization_url: string;
|
|
3248
|
+
};
|
|
2586
3249
|
/** Percentiles */
|
|
2587
3250
|
Percentiles: {
|
|
2588
3251
|
/** P50 */
|
|
@@ -2852,6 +3515,10 @@ export declare interface components {
|
|
|
2852
3515
|
PublicConfig: {
|
|
2853
3516
|
/** Admin Title */
|
|
2854
3517
|
admin_title?: string | null;
|
|
3518
|
+
/** App Favicon */
|
|
3519
|
+
app_favicon?: string | null;
|
|
3520
|
+
/** App Logo */
|
|
3521
|
+
app_logo?: string | components["schemas"]["AppLogo"] | null;
|
|
2855
3522
|
/** App Name */
|
|
2856
3523
|
app_name?: string | null;
|
|
2857
3524
|
/** App Version */
|
|
@@ -2863,6 +3530,16 @@ export declare interface components {
|
|
|
2863
3530
|
composer_attachments?: boolean | null;
|
|
2864
3531
|
/** Composer Voice */
|
|
2865
3532
|
composer_voice?: boolean | null;
|
|
3533
|
+
/**
|
|
3534
|
+
* Connectors Allow User Mcp
|
|
3535
|
+
* @default false
|
|
3536
|
+
*/
|
|
3537
|
+
connectors_allow_user_mcp?: boolean;
|
|
3538
|
+
/**
|
|
3539
|
+
* Connectors Enabled
|
|
3540
|
+
* @default false
|
|
3541
|
+
*/
|
|
3542
|
+
connectors_enabled?: boolean;
|
|
2866
3543
|
/** Credits Meter */
|
|
2867
3544
|
credits_meter?: ("messages" | "tokens" | "cost") | null;
|
|
2868
3545
|
/** Default Accent */
|
|
@@ -2906,6 +3583,11 @@ export declare interface components {
|
|
|
2906
3583
|
quota_calendar?: ("gregorian" | "persian") | null;
|
|
2907
3584
|
/** Quota Timezone */
|
|
2908
3585
|
quota_timezone?: string | null;
|
|
3586
|
+
/**
|
|
3587
|
+
* Schedules Enabled
|
|
3588
|
+
* @default false
|
|
3589
|
+
*/
|
|
3590
|
+
schedules_enabled?: boolean;
|
|
2909
3591
|
/** Settings Account Fields */
|
|
2910
3592
|
settings_account_fields?: {
|
|
2911
3593
|
[key: string]: string;
|
|
@@ -2938,6 +3620,10 @@ export declare interface components {
|
|
|
2938
3620
|
show_version_in_settings?: boolean | null;
|
|
2939
3621
|
/** Show Welcome Glow */
|
|
2940
3622
|
show_welcome_glow?: boolean | null;
|
|
3623
|
+
/** Sidebar Show Connectors */
|
|
3624
|
+
sidebar_show_connectors?: boolean | null;
|
|
3625
|
+
/** Sidebar Show Schedules */
|
|
3626
|
+
sidebar_show_schedules?: boolean | null;
|
|
2941
3627
|
/** Signup Enabled */
|
|
2942
3628
|
signup_enabled?: boolean | null;
|
|
2943
3629
|
/** Thread Actions Edit */
|
|
@@ -2967,6 +3653,8 @@ export declare interface components {
|
|
|
2967
3653
|
welcome_greeting?: string | null;
|
|
2968
3654
|
/** Welcome Subtitle */
|
|
2969
3655
|
welcome_subtitle?: string | null;
|
|
3656
|
+
} & {
|
|
3657
|
+
[key: string]: unknown;
|
|
2970
3658
|
};
|
|
2971
3659
|
/** PublicStatus */
|
|
2972
3660
|
PublicStatus: {
|
|
@@ -3154,6 +3842,219 @@ export declare interface components {
|
|
|
3154
3842
|
[key: string]: unknown;
|
|
3155
3843
|
};
|
|
3156
3844
|
};
|
|
3845
|
+
/**
|
|
3846
|
+
* ScheduleCreateInput
|
|
3847
|
+
* @description Payload to create a new scheduled task.
|
|
3848
|
+
*/
|
|
3849
|
+
ScheduleCreateInput: {
|
|
3850
|
+
/** Cron */
|
|
3851
|
+
cron?: string | null;
|
|
3852
|
+
/** Expires At */
|
|
3853
|
+
expires_at?: string | null;
|
|
3854
|
+
/** Interval Minutes */
|
|
3855
|
+
interval_minutes?: number | null;
|
|
3856
|
+
/**
|
|
3857
|
+
* Kind
|
|
3858
|
+
* @enum {string}
|
|
3859
|
+
*/
|
|
3860
|
+
kind: "once" | "cron" | "interval";
|
|
3861
|
+
/** Max Runs */
|
|
3862
|
+
max_runs?: number | null;
|
|
3863
|
+
/** Name */
|
|
3864
|
+
name: string;
|
|
3865
|
+
/** Prompt */
|
|
3866
|
+
prompt: string;
|
|
3867
|
+
/** Run At */
|
|
3868
|
+
run_at?: string | null;
|
|
3869
|
+
/** Run Options */
|
|
3870
|
+
run_options?: {
|
|
3871
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
3872
|
+
} | null;
|
|
3873
|
+
/**
|
|
3874
|
+
* Silent If Empty
|
|
3875
|
+
* @default false
|
|
3876
|
+
*/
|
|
3877
|
+
silent_if_empty?: boolean;
|
|
3878
|
+
/**
|
|
3879
|
+
* Thread Mode
|
|
3880
|
+
* @default shared
|
|
3881
|
+
* @enum {string}
|
|
3882
|
+
*/
|
|
3883
|
+
thread_mode?: "shared" | "new";
|
|
3884
|
+
/**
|
|
3885
|
+
* Timezone
|
|
3886
|
+
* @default UTC
|
|
3887
|
+
*/
|
|
3888
|
+
timezone?: string;
|
|
3889
|
+
};
|
|
3890
|
+
/**
|
|
3891
|
+
* ScheduleListResponse
|
|
3892
|
+
* @description All schedules owned by the current user, plus their cap.
|
|
3893
|
+
*/
|
|
3894
|
+
ScheduleListResponse: {
|
|
3895
|
+
/** Max Schedules */
|
|
3896
|
+
max_schedules: number;
|
|
3897
|
+
/** Schedules */
|
|
3898
|
+
schedules: components["schemas"]["ScheduleView"][];
|
|
3899
|
+
};
|
|
3900
|
+
/**
|
|
3901
|
+
* ScheduleRunListResponse
|
|
3902
|
+
* @description Recent runs of a schedule.
|
|
3903
|
+
*/
|
|
3904
|
+
ScheduleRunListResponse: {
|
|
3905
|
+
/** Runs */
|
|
3906
|
+
runs: components["schemas"]["ScheduleRunView"][];
|
|
3907
|
+
};
|
|
3908
|
+
/**
|
|
3909
|
+
* ScheduleRunView
|
|
3910
|
+
* @description One execution of a schedule.
|
|
3911
|
+
*/
|
|
3912
|
+
ScheduleRunView: {
|
|
3913
|
+
/** Assistant Message Id */
|
|
3914
|
+
assistant_message_id?: string | null;
|
|
3915
|
+
/** Error */
|
|
3916
|
+
error?: string | null;
|
|
3917
|
+
/** Finished At */
|
|
3918
|
+
finished_at?: string | null;
|
|
3919
|
+
/** Id */
|
|
3920
|
+
id: string;
|
|
3921
|
+
/** Schedule Id */
|
|
3922
|
+
schedule_id: string;
|
|
3923
|
+
/**
|
|
3924
|
+
* Scheduled For
|
|
3925
|
+
* Format: date-time
|
|
3926
|
+
*/
|
|
3927
|
+
scheduled_for: string;
|
|
3928
|
+
/**
|
|
3929
|
+
* Started At
|
|
3930
|
+
* Format: date-time
|
|
3931
|
+
*/
|
|
3932
|
+
started_at: string;
|
|
3933
|
+
/**
|
|
3934
|
+
* Status
|
|
3935
|
+
* @enum {string}
|
|
3936
|
+
*/
|
|
3937
|
+
status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
|
|
3938
|
+
/** Summary */
|
|
3939
|
+
summary?: string | null;
|
|
3940
|
+
/** Thread Id */
|
|
3941
|
+
thread_id?: string | null;
|
|
3942
|
+
/**
|
|
3943
|
+
* Trigger
|
|
3944
|
+
* @enum {string}
|
|
3945
|
+
*/
|
|
3946
|
+
trigger: "scheduled" | "manual";
|
|
3947
|
+
/** Turn Id */
|
|
3948
|
+
turn_id?: string | null;
|
|
3949
|
+
/** User Id */
|
|
3950
|
+
user_id: string;
|
|
3951
|
+
};
|
|
3952
|
+
/**
|
|
3953
|
+
* ScheduleUpdateInput
|
|
3954
|
+
* @description Partial update payload for an existing schedule.
|
|
3955
|
+
*/
|
|
3956
|
+
ScheduleUpdateInput: {
|
|
3957
|
+
/** Cron */
|
|
3958
|
+
cron?: string | null;
|
|
3959
|
+
/** Enabled */
|
|
3960
|
+
enabled?: boolean | null;
|
|
3961
|
+
/** Expires At */
|
|
3962
|
+
expires_at?: string | null;
|
|
3963
|
+
/** Interval Minutes */
|
|
3964
|
+
interval_minutes?: number | null;
|
|
3965
|
+
/** Kind */
|
|
3966
|
+
kind?: ("once" | "cron" | "interval") | null;
|
|
3967
|
+
/** Max Runs */
|
|
3968
|
+
max_runs?: number | null;
|
|
3969
|
+
/** Name */
|
|
3970
|
+
name?: string | null;
|
|
3971
|
+
/** Prompt */
|
|
3972
|
+
prompt?: string | null;
|
|
3973
|
+
/** Run At */
|
|
3974
|
+
run_at?: string | null;
|
|
3975
|
+
/** Run Options */
|
|
3976
|
+
run_options?: {
|
|
3977
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
3978
|
+
} | null;
|
|
3979
|
+
/** Silent If Empty */
|
|
3980
|
+
silent_if_empty?: boolean | null;
|
|
3981
|
+
/** Thread Mode */
|
|
3982
|
+
thread_mode?: ("shared" | "new") | null;
|
|
3983
|
+
/** Timezone */
|
|
3984
|
+
timezone?: string | null;
|
|
3985
|
+
};
|
|
3986
|
+
/**
|
|
3987
|
+
* ScheduleView
|
|
3988
|
+
* @description A user's scheduled routine.
|
|
3989
|
+
*/
|
|
3990
|
+
ScheduleView: {
|
|
3991
|
+
/**
|
|
3992
|
+
* Consecutive Failures
|
|
3993
|
+
* @default 0
|
|
3994
|
+
*/
|
|
3995
|
+
consecutive_failures?: number;
|
|
3996
|
+
/**
|
|
3997
|
+
* Created At
|
|
3998
|
+
* Format: date-time
|
|
3999
|
+
*/
|
|
4000
|
+
created_at: string;
|
|
4001
|
+
/** Cron */
|
|
4002
|
+
cron?: string | null;
|
|
4003
|
+
/** Enabled */
|
|
4004
|
+
enabled: boolean;
|
|
4005
|
+
/** Expires At */
|
|
4006
|
+
expires_at?: string | null;
|
|
4007
|
+
/** Id */
|
|
4008
|
+
id: string;
|
|
4009
|
+
/** Interval Minutes */
|
|
4010
|
+
interval_minutes?: number | null;
|
|
4011
|
+
/**
|
|
4012
|
+
* Kind
|
|
4013
|
+
* @enum {string}
|
|
4014
|
+
*/
|
|
4015
|
+
kind: "once" | "cron" | "interval";
|
|
4016
|
+
/** Last Run At */
|
|
4017
|
+
last_run_at?: string | null;
|
|
4018
|
+
/** Last Run Status */
|
|
4019
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
4020
|
+
/** Last Run Thread Id */
|
|
4021
|
+
last_run_thread_id?: string | null;
|
|
4022
|
+
/** Max Runs */
|
|
4023
|
+
max_runs?: number | null;
|
|
4024
|
+
/** Name */
|
|
4025
|
+
name: string;
|
|
4026
|
+
/** Next Run At */
|
|
4027
|
+
next_run_at?: string | null;
|
|
4028
|
+
/** Pause Reason */
|
|
4029
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
4030
|
+
/** Prompt */
|
|
4031
|
+
prompt: string;
|
|
4032
|
+
/** Run At */
|
|
4033
|
+
run_at?: string | null;
|
|
4034
|
+
/**
|
|
4035
|
+
* Run Count
|
|
4036
|
+
* @default 0
|
|
4037
|
+
*/
|
|
4038
|
+
run_count?: number;
|
|
4039
|
+
/** Silent If Empty */
|
|
4040
|
+
silent_if_empty: boolean;
|
|
4041
|
+
/** Thread Id */
|
|
4042
|
+
thread_id?: string | null;
|
|
4043
|
+
/**
|
|
4044
|
+
* Thread Mode
|
|
4045
|
+
* @enum {string}
|
|
4046
|
+
*/
|
|
4047
|
+
thread_mode: "shared" | "new";
|
|
4048
|
+
/** Timezone */
|
|
4049
|
+
timezone: string;
|
|
4050
|
+
/**
|
|
4051
|
+
* Updated At
|
|
4052
|
+
* Format: date-time
|
|
4053
|
+
*/
|
|
4054
|
+
updated_at: string;
|
|
4055
|
+
/** User Id */
|
|
4056
|
+
user_id: string;
|
|
4057
|
+
};
|
|
3157
4058
|
/** SessionInput */
|
|
3158
4059
|
SessionInput: {
|
|
3159
4060
|
/** Redirect Path */
|
|
@@ -3962,25 +4863,70 @@ export declare interface components {
|
|
|
3962
4863
|
/** User Ids */
|
|
3963
4864
|
user_ids?: string[] | null;
|
|
3964
4865
|
};
|
|
3965
|
-
/**
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
4866
|
+
/**
|
|
4867
|
+
* UserMCPCreateInput
|
|
4868
|
+
* @description User-submitted custom remote MCP server.
|
|
4869
|
+
*/
|
|
4870
|
+
UserMCPCreateInput: {
|
|
4871
|
+
/** Api Key */
|
|
4872
|
+
api_key?: string | null;
|
|
4873
|
+
/**
|
|
4874
|
+
* Approval
|
|
4875
|
+
* @default writes
|
|
4876
|
+
* @enum {string}
|
|
4877
|
+
*/
|
|
4878
|
+
approval?: "never" | "writes" | "always";
|
|
4879
|
+
/**
|
|
4880
|
+
* Auth Kind
|
|
4881
|
+
* @default none
|
|
4882
|
+
* @enum {string}
|
|
4883
|
+
*/
|
|
4884
|
+
auth_kind?: "none" | "api_key";
|
|
4885
|
+
/**
|
|
4886
|
+
* Description
|
|
4887
|
+
* @default
|
|
4888
|
+
*/
|
|
4889
|
+
description?: string;
|
|
4890
|
+
/**
|
|
4891
|
+
* Header Name
|
|
4892
|
+
* @default Authorization
|
|
4893
|
+
*/
|
|
4894
|
+
header_name?: string;
|
|
4895
|
+
/**
|
|
4896
|
+
* Header Prefix
|
|
4897
|
+
* @default Bearer
|
|
4898
|
+
*/
|
|
4899
|
+
header_prefix?: string;
|
|
4900
|
+
/** Name */
|
|
4901
|
+
name: string;
|
|
4902
|
+
/**
|
|
4903
|
+
* Transport
|
|
4904
|
+
* @default streamable-http
|
|
4905
|
+
* @enum {string}
|
|
4906
|
+
*/
|
|
4907
|
+
transport?: "streamable-http" | "sse";
|
|
4908
|
+
/** Url */
|
|
4909
|
+
url: string;
|
|
4910
|
+
};
|
|
4911
|
+
/** UserOption */
|
|
4912
|
+
UserOption: {
|
|
4913
|
+
/** Email */
|
|
4914
|
+
email: string | null;
|
|
4915
|
+
/** Id */
|
|
4916
|
+
id: string;
|
|
4917
|
+
/** Name */
|
|
4918
|
+
name: string;
|
|
4919
|
+
/** Phone */
|
|
4920
|
+
phone: string | null;
|
|
4921
|
+
/** Surname */
|
|
4922
|
+
surname: string | null;
|
|
4923
|
+
/** Type */
|
|
4924
|
+
type: string;
|
|
4925
|
+
/** Username */
|
|
4926
|
+
username: string | null;
|
|
4927
|
+
};
|
|
4928
|
+
/** UserOptionList */
|
|
4929
|
+
UserOptionList: {
|
|
3984
4930
|
/** Users */
|
|
3985
4931
|
users: components["schemas"]["UserOption"][];
|
|
3986
4932
|
};
|
|
@@ -4070,6 +5016,8 @@ export declare interface components {
|
|
|
4070
5016
|
};
|
|
4071
5017
|
/** UserUpdateInput */
|
|
4072
5018
|
UserUpdateInput: {
|
|
5019
|
+
/** Current Password */
|
|
5020
|
+
current_password?: string | null;
|
|
4073
5021
|
/** Email */
|
|
4074
5022
|
email?: string | null;
|
|
4075
5023
|
/** Metadata */
|
|
@@ -4278,13 +5226,17 @@ declare interface ComposerDrafts {
|
|
|
4278
5226
|
addVoiceInput: (scope: string, id: string) => void;
|
|
4279
5227
|
/** Empties the scope and returns what it held, as when a message is sent. */
|
|
4280
5228
|
take: (scope: string) => ComposerDraft;
|
|
5229
|
+
/** Clears every scope, as when signing out or disposing the runtime. */
|
|
5230
|
+
clear: () => void;
|
|
4281
5231
|
}
|
|
4282
5232
|
|
|
4283
5233
|
/** A file attached to the message being drafted. */
|
|
4284
5234
|
declare interface ComposerFile {
|
|
4285
5235
|
/** Tells apart files with the same name. */
|
|
4286
5236
|
key: string;
|
|
5237
|
+
/** Original browser `File` selected by the user. */
|
|
4287
5238
|
file: File;
|
|
5239
|
+
/** Current upload lifecycle state. */
|
|
4288
5240
|
status: ComposerFileStatus;
|
|
4289
5241
|
/** The fraction uploaded, from 0 to 1, or `null` while that isn't known. */
|
|
4290
5242
|
progress: number | null;
|
|
@@ -4311,6 +5263,8 @@ declare interface ComposerFiles {
|
|
|
4311
5263
|
retry: (scope: string, key: string) => void;
|
|
4312
5264
|
/** Takes every file out of the scope and returns what was there, as when a message is sent. */
|
|
4313
5265
|
take: (scope: string) => readonly ComposerFile[];
|
|
5266
|
+
/** Cancels every in-flight upload and clears all scopes. */
|
|
5267
|
+
clear: () => void;
|
|
4314
5268
|
}
|
|
4315
5269
|
|
|
4316
5270
|
/** Where a file attached in the composer is on its way to the server. */
|
|
@@ -4319,6 +5273,12 @@ declare type ComposerFileStatus = 'uploading' | 'uploaded' | 'failed';
|
|
|
4319
5273
|
/** The scope a thread's composer keeps its message under: a new thread's is `''`. */
|
|
4320
5274
|
export declare function composerScope(threadId: string | null): string;
|
|
4321
5275
|
|
|
5276
|
+
/** Request body to store an API key for a connector. */
|
|
5277
|
+
declare type ConnectorConnectInput = Schemas['ConnectorConnectInput'];
|
|
5278
|
+
|
|
5279
|
+
/** Request body to toggle a connector or customize tool approvals. */
|
|
5280
|
+
declare type ConnectorToggleInput = Schemas['ConnectorToggleInput'];
|
|
5281
|
+
|
|
4322
5282
|
/**
|
|
4323
5283
|
* Build the user-facing API client and the HTTP client under it. `GentiqProvider` keeps the
|
|
4324
5284
|
* whole runtime, because the chat stream and the admin panel send through the same client.
|
|
@@ -4418,11 +5378,6 @@ export declare interface GentiqRuntime {
|
|
|
4418
5378
|
/** A chat message, with Gentiq's `data-*` parts typed. */
|
|
4419
5379
|
declare type GentiqUIMessage = UIMessage<unknown, GentiqDataTypes>;
|
|
4420
5380
|
|
|
4421
|
-
/** The calendar to render dates in for a language tag. */
|
|
4422
|
-
export declare function getCalendar(language: string | undefined | null): string;
|
|
4423
|
-
|
|
4424
|
-
export declare function getCalendarSystem(kind: CalendarKind): CalendarSystem;
|
|
4425
|
-
|
|
4426
5381
|
/**
|
|
4427
5382
|
* The locale tag to format *dates* in, carrying the language's calendar as a
|
|
4428
5383
|
* Unicode extension (`fa` → `fa-u-ca-persian`).
|
|
@@ -4489,7 +5444,7 @@ declare type HttpMethod = 'get' | 'post' | 'put' | 'patch' | 'delete';
|
|
|
4489
5444
|
|
|
4490
5445
|
/**
|
|
4491
5446
|
* Whether a stored part is of the given type. Narrowing on `part.type` alone can't do it, since
|
|
4492
|
-
* tool and app data parts type theirs as
|
|
5447
|
+
* tool and app data parts type theirs as an arbitrary string.
|
|
4493
5448
|
*/
|
|
4494
5449
|
export declare function isStoredPart<T extends FixedPartType>(part: StoredMessagePart, type: T): part is Extract<StoredMessagePart, {
|
|
4495
5450
|
type: T;
|
|
@@ -4498,6 +5453,12 @@ export declare function isStoredPart<T extends FixedPartType>(part: StoredMessag
|
|
|
4498
5453
|
/** Whether a stored part is a tool call. */
|
|
4499
5454
|
export declare function isStoredToolPart(part: StoredMessagePart): part is StoredToolPart;
|
|
4500
5455
|
|
|
5456
|
+
/**
|
|
5457
|
+
* Checks whether a string is a safe icon URL (`http(s)://...`) or relative path (`/...`).
|
|
5458
|
+
* Rejects protocol-relative URLs (`//...`), whitespace, control characters, and `javascript:`/`data:` schemes.
|
|
5459
|
+
*/
|
|
5460
|
+
export declare function isValidIconUrl(value: string): boolean;
|
|
5461
|
+
|
|
4501
5462
|
/** Whether this browser can record: it needs a secure origin and `MediaRecorder`. */
|
|
4502
5463
|
export declare function isVoiceRecordingSupported(): boolean;
|
|
4503
5464
|
|
|
@@ -4513,6 +5474,7 @@ declare type LoginCodeExchangeResponse = Schemas['LoginCodeExchangeResponse'];
|
|
|
4513
5474
|
/** A user field that can be used as a login handle. */
|
|
4514
5475
|
declare type LoginField = AppConfigResponse['login_fields'][number];
|
|
4515
5476
|
|
|
5477
|
+
/** Either a synchronous value or a Promise resolving to it. */
|
|
4516
5478
|
declare type MaybePromise<T> = T | Promise<T>;
|
|
4517
5479
|
|
|
4518
5480
|
/** What the user thought of an answer. */
|
|
@@ -5585,12 +6547,9 @@ declare interface operations {
|
|
|
5585
6547
|
};
|
|
5586
6548
|
};
|
|
5587
6549
|
};
|
|
5588
|
-
|
|
6550
|
+
admin_list_connectors_api_admin_connectors_get: {
|
|
5589
6551
|
parameters: {
|
|
5590
|
-
query?:
|
|
5591
|
-
limit?: number;
|
|
5592
|
-
type?: string | null;
|
|
5593
|
-
};
|
|
6552
|
+
query?: never;
|
|
5594
6553
|
header?: never;
|
|
5595
6554
|
path?: never;
|
|
5596
6555
|
cookie?: never;
|
|
@@ -5603,7 +6562,7 @@ declare interface operations {
|
|
|
5603
6562
|
[name: string]: unknown;
|
|
5604
6563
|
};
|
|
5605
6564
|
content: {
|
|
5606
|
-
"application/json": components["schemas"]["
|
|
6565
|
+
"application/json": components["schemas"]["AdminConnectorListResponse"];
|
|
5607
6566
|
};
|
|
5608
6567
|
};
|
|
5609
6568
|
/** @description Client Error */
|
|
@@ -5626,7 +6585,7 @@ declare interface operations {
|
|
|
5626
6585
|
};
|
|
5627
6586
|
};
|
|
5628
6587
|
};
|
|
5629
|
-
|
|
6588
|
+
admin_create_connector_api_admin_connectors_post: {
|
|
5630
6589
|
parameters: {
|
|
5631
6590
|
query?: never;
|
|
5632
6591
|
header?: never;
|
|
@@ -5635,17 +6594,17 @@ declare interface operations {
|
|
|
5635
6594
|
};
|
|
5636
6595
|
requestBody: {
|
|
5637
6596
|
content: {
|
|
5638
|
-
"application/json": components["schemas"]["
|
|
6597
|
+
"application/json": components["schemas"]["AdminConnectorCreateInput"];
|
|
5639
6598
|
};
|
|
5640
6599
|
};
|
|
5641
6600
|
responses: {
|
|
5642
6601
|
/** @description Successful Response */
|
|
5643
|
-
|
|
6602
|
+
201: {
|
|
5644
6603
|
headers: {
|
|
5645
6604
|
[name: string]: unknown;
|
|
5646
6605
|
};
|
|
5647
6606
|
content: {
|
|
5648
|
-
"application/json": components["schemas"]["
|
|
6607
|
+
"application/json": components["schemas"]["AdminConnectorView"];
|
|
5649
6608
|
};
|
|
5650
6609
|
};
|
|
5651
6610
|
/** @description Client Error */
|
|
@@ -5668,11 +6627,13 @@ declare interface operations {
|
|
|
5668
6627
|
};
|
|
5669
6628
|
};
|
|
5670
6629
|
};
|
|
5671
|
-
|
|
6630
|
+
admin_delete_connector_api_admin_connectors__connector_id__delete: {
|
|
5672
6631
|
parameters: {
|
|
5673
6632
|
query?: never;
|
|
5674
6633
|
header?: never;
|
|
5675
|
-
path
|
|
6634
|
+
path: {
|
|
6635
|
+
connector_id: string;
|
|
6636
|
+
};
|
|
5676
6637
|
cookie?: never;
|
|
5677
6638
|
};
|
|
5678
6639
|
requestBody?: never;
|
|
@@ -5683,7 +6644,7 @@ declare interface operations {
|
|
|
5683
6644
|
[name: string]: unknown;
|
|
5684
6645
|
};
|
|
5685
6646
|
content: {
|
|
5686
|
-
"application/json": components["schemas"]["
|
|
6647
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
5687
6648
|
};
|
|
5688
6649
|
};
|
|
5689
6650
|
/** @description Client Error */
|
|
@@ -5706,18 +6667,100 @@ declare interface operations {
|
|
|
5706
6667
|
};
|
|
5707
6668
|
};
|
|
5708
6669
|
};
|
|
5709
|
-
|
|
6670
|
+
admin_update_connector_api_admin_connectors__connector_id__patch: {
|
|
5710
6671
|
parameters: {
|
|
5711
6672
|
query?: never;
|
|
5712
6673
|
header?: never;
|
|
5713
6674
|
path: {
|
|
5714
|
-
|
|
6675
|
+
connector_id: string;
|
|
5715
6676
|
};
|
|
5716
6677
|
cookie?: never;
|
|
5717
6678
|
};
|
|
5718
6679
|
requestBody: {
|
|
5719
6680
|
content: {
|
|
5720
|
-
"application/json": components["schemas"]["
|
|
6681
|
+
"application/json": components["schemas"]["AdminConnectorUpdateInput"];
|
|
6682
|
+
};
|
|
6683
|
+
};
|
|
6684
|
+
responses: {
|
|
6685
|
+
/** @description Successful Response */
|
|
6686
|
+
200: {
|
|
6687
|
+
headers: {
|
|
6688
|
+
[name: string]: unknown;
|
|
6689
|
+
};
|
|
6690
|
+
content: {
|
|
6691
|
+
"application/json": components["schemas"]["AdminConnectorView"];
|
|
6692
|
+
};
|
|
6693
|
+
};
|
|
6694
|
+
/** @description Client Error */
|
|
6695
|
+
"4XX": {
|
|
6696
|
+
headers: {
|
|
6697
|
+
[name: string]: unknown;
|
|
6698
|
+
};
|
|
6699
|
+
content: {
|
|
6700
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6701
|
+
};
|
|
6702
|
+
};
|
|
6703
|
+
/** @description Server Error */
|
|
6704
|
+
"5XX": {
|
|
6705
|
+
headers: {
|
|
6706
|
+
[name: string]: unknown;
|
|
6707
|
+
};
|
|
6708
|
+
content: {
|
|
6709
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6710
|
+
};
|
|
6711
|
+
};
|
|
6712
|
+
};
|
|
6713
|
+
};
|
|
6714
|
+
admin_test_connector_api_admin_connectors__connector_id__test_post: {
|
|
6715
|
+
parameters: {
|
|
6716
|
+
query?: never;
|
|
6717
|
+
header?: never;
|
|
6718
|
+
path: {
|
|
6719
|
+
connector_id: string;
|
|
6720
|
+
};
|
|
6721
|
+
cookie?: never;
|
|
6722
|
+
};
|
|
6723
|
+
requestBody?: never;
|
|
6724
|
+
responses: {
|
|
6725
|
+
/** @description Successful Response */
|
|
6726
|
+
200: {
|
|
6727
|
+
headers: {
|
|
6728
|
+
[name: string]: unknown;
|
|
6729
|
+
};
|
|
6730
|
+
content: {
|
|
6731
|
+
"application/json": components["schemas"]["AdminConnectorTestResponse"];
|
|
6732
|
+
};
|
|
6733
|
+
};
|
|
6734
|
+
/** @description Client Error */
|
|
6735
|
+
"4XX": {
|
|
6736
|
+
headers: {
|
|
6737
|
+
[name: string]: unknown;
|
|
6738
|
+
};
|
|
6739
|
+
content: {
|
|
6740
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6741
|
+
};
|
|
6742
|
+
};
|
|
6743
|
+
/** @description Server Error */
|
|
6744
|
+
"5XX": {
|
|
6745
|
+
headers: {
|
|
6746
|
+
[name: string]: unknown;
|
|
6747
|
+
};
|
|
6748
|
+
content: {
|
|
6749
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6750
|
+
};
|
|
6751
|
+
};
|
|
6752
|
+
};
|
|
6753
|
+
};
|
|
6754
|
+
run_raw_job_api_admin_jobs_raw_post: {
|
|
6755
|
+
parameters: {
|
|
6756
|
+
query?: never;
|
|
6757
|
+
header?: never;
|
|
6758
|
+
path?: never;
|
|
6759
|
+
cookie?: never;
|
|
6760
|
+
};
|
|
6761
|
+
requestBody: {
|
|
6762
|
+
content: {
|
|
6763
|
+
"application/json": components["schemas"]["RunRawJobInput"];
|
|
5721
6764
|
};
|
|
5722
6765
|
};
|
|
5723
6766
|
responses: {
|
|
@@ -5750,14 +6793,9 @@ declare interface operations {
|
|
|
5750
6793
|
};
|
|
5751
6794
|
};
|
|
5752
6795
|
};
|
|
5753
|
-
|
|
6796
|
+
list_registered_jobs_api_admin_jobs_registered_get: {
|
|
5754
6797
|
parameters: {
|
|
5755
|
-
query?:
|
|
5756
|
-
limit?: number;
|
|
5757
|
-
skip?: number;
|
|
5758
|
-
kind?: string | null;
|
|
5759
|
-
status?: string | null;
|
|
5760
|
-
};
|
|
6798
|
+
query?: never;
|
|
5761
6799
|
header?: never;
|
|
5762
6800
|
path?: never;
|
|
5763
6801
|
cookie?: never;
|
|
@@ -5770,7 +6808,7 @@ declare interface operations {
|
|
|
5770
6808
|
[name: string]: unknown;
|
|
5771
6809
|
};
|
|
5772
6810
|
content: {
|
|
5773
|
-
"application/json": components["schemas"]["
|
|
6811
|
+
"application/json": components["schemas"]["RegisteredJobList"];
|
|
5774
6812
|
};
|
|
5775
6813
|
};
|
|
5776
6814
|
/** @description Client Error */
|
|
@@ -5793,13 +6831,60 @@ declare interface operations {
|
|
|
5793
6831
|
};
|
|
5794
6832
|
};
|
|
5795
6833
|
};
|
|
5796
|
-
|
|
6834
|
+
run_registered_job_api_admin_jobs_registered__job_id__run_post: {
|
|
5797
6835
|
parameters: {
|
|
5798
6836
|
query?: never;
|
|
5799
6837
|
header?: never;
|
|
5800
6838
|
path: {
|
|
5801
|
-
|
|
6839
|
+
job_id: string;
|
|
6840
|
+
};
|
|
6841
|
+
cookie?: never;
|
|
6842
|
+
};
|
|
6843
|
+
requestBody: {
|
|
6844
|
+
content: {
|
|
6845
|
+
"application/json": components["schemas"]["RunRegisteredJobInput"];
|
|
6846
|
+
};
|
|
6847
|
+
};
|
|
6848
|
+
responses: {
|
|
6849
|
+
/** @description Successful Response */
|
|
6850
|
+
202: {
|
|
6851
|
+
headers: {
|
|
6852
|
+
[name: string]: unknown;
|
|
6853
|
+
};
|
|
6854
|
+
content: {
|
|
6855
|
+
"application/json": components["schemas"]["JobRunView"];
|
|
6856
|
+
};
|
|
6857
|
+
};
|
|
6858
|
+
/** @description Client Error */
|
|
6859
|
+
"4XX": {
|
|
6860
|
+
headers: {
|
|
6861
|
+
[name: string]: unknown;
|
|
6862
|
+
};
|
|
6863
|
+
content: {
|
|
6864
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6865
|
+
};
|
|
6866
|
+
};
|
|
6867
|
+
/** @description Server Error */
|
|
6868
|
+
"5XX": {
|
|
6869
|
+
headers: {
|
|
6870
|
+
[name: string]: unknown;
|
|
6871
|
+
};
|
|
6872
|
+
content: {
|
|
6873
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6874
|
+
};
|
|
6875
|
+
};
|
|
6876
|
+
};
|
|
6877
|
+
};
|
|
6878
|
+
list_job_runs_api_admin_jobs_runs_get: {
|
|
6879
|
+
parameters: {
|
|
6880
|
+
query?: {
|
|
6881
|
+
limit?: number;
|
|
6882
|
+
skip?: number;
|
|
6883
|
+
kind?: string | null;
|
|
6884
|
+
status?: string | null;
|
|
5802
6885
|
};
|
|
6886
|
+
header?: never;
|
|
6887
|
+
path?: never;
|
|
5803
6888
|
cookie?: never;
|
|
5804
6889
|
};
|
|
5805
6890
|
requestBody?: never;
|
|
@@ -5810,7 +6895,7 @@ declare interface operations {
|
|
|
5810
6895
|
[name: string]: unknown;
|
|
5811
6896
|
};
|
|
5812
6897
|
content: {
|
|
5813
|
-
"application/json": components["schemas"]["
|
|
6898
|
+
"application/json": components["schemas"]["JobRunList"];
|
|
5814
6899
|
};
|
|
5815
6900
|
};
|
|
5816
6901
|
/** @description Client Error */
|
|
@@ -5833,7 +6918,7 @@ declare interface operations {
|
|
|
5833
6918
|
};
|
|
5834
6919
|
};
|
|
5835
6920
|
};
|
|
5836
|
-
|
|
6921
|
+
get_job_run_api_admin_jobs_runs__run_id__get: {
|
|
5837
6922
|
parameters: {
|
|
5838
6923
|
query?: never;
|
|
5839
6924
|
header?: never;
|
|
@@ -5850,7 +6935,7 @@ declare interface operations {
|
|
|
5850
6935
|
[name: string]: unknown;
|
|
5851
6936
|
};
|
|
5852
6937
|
content: {
|
|
5853
|
-
"application/json": components["schemas"]["
|
|
6938
|
+
"application/json": components["schemas"]["JobRunView"];
|
|
5854
6939
|
};
|
|
5855
6940
|
};
|
|
5856
6941
|
/** @description Client Error */
|
|
@@ -5873,25 +6958,24 @@ declare interface operations {
|
|
|
5873
6958
|
};
|
|
5874
6959
|
};
|
|
5875
6960
|
};
|
|
5876
|
-
|
|
6961
|
+
cancel_job_run_api_admin_jobs_runs__run_id__cancel_post: {
|
|
5877
6962
|
parameters: {
|
|
5878
6963
|
query?: never;
|
|
5879
6964
|
header?: never;
|
|
5880
6965
|
path: {
|
|
5881
6966
|
run_id: string;
|
|
5882
|
-
index: number;
|
|
5883
6967
|
};
|
|
5884
6968
|
cookie?: never;
|
|
5885
6969
|
};
|
|
5886
6970
|
requestBody?: never;
|
|
5887
6971
|
responses: {
|
|
5888
|
-
/** @description
|
|
6972
|
+
/** @description Successful Response */
|
|
5889
6973
|
200: {
|
|
5890
6974
|
headers: {
|
|
5891
6975
|
[name: string]: unknown;
|
|
5892
6976
|
};
|
|
5893
6977
|
content: {
|
|
5894
|
-
"application/
|
|
6978
|
+
"application/json": components["schemas"]["StatusMessageResponse"];
|
|
5895
6979
|
};
|
|
5896
6980
|
};
|
|
5897
6981
|
/** @description Client Error */
|
|
@@ -5914,22 +6998,25 @@ declare interface operations {
|
|
|
5914
6998
|
};
|
|
5915
6999
|
};
|
|
5916
7000
|
};
|
|
5917
|
-
|
|
7001
|
+
download_job_run_file_api_admin_jobs_runs__run_id__files__index__get: {
|
|
5918
7002
|
parameters: {
|
|
5919
7003
|
query?: never;
|
|
5920
7004
|
header?: never;
|
|
5921
|
-
path
|
|
7005
|
+
path: {
|
|
7006
|
+
run_id: string;
|
|
7007
|
+
index: number;
|
|
7008
|
+
};
|
|
5922
7009
|
cookie?: never;
|
|
5923
7010
|
};
|
|
5924
7011
|
requestBody?: never;
|
|
5925
7012
|
responses: {
|
|
5926
|
-
/** @description
|
|
7013
|
+
/** @description The file the run produced */
|
|
5927
7014
|
200: {
|
|
5928
7015
|
headers: {
|
|
5929
7016
|
[name: string]: unknown;
|
|
5930
7017
|
};
|
|
5931
7018
|
content: {
|
|
5932
|
-
"application/
|
|
7019
|
+
"application/octet-stream": unknown;
|
|
5933
7020
|
};
|
|
5934
7021
|
};
|
|
5935
7022
|
/** @description Client Error */
|
|
@@ -5952,13 +7039,11 @@ declare interface operations {
|
|
|
5952
7039
|
};
|
|
5953
7040
|
};
|
|
5954
7041
|
};
|
|
5955
|
-
|
|
7042
|
+
list_job_warnings_api_admin_jobs_warnings_get: {
|
|
5956
7043
|
parameters: {
|
|
5957
7044
|
query?: never;
|
|
5958
7045
|
header?: never;
|
|
5959
|
-
path
|
|
5960
|
-
job_id: string;
|
|
5961
|
-
};
|
|
7046
|
+
path?: never;
|
|
5962
7047
|
cookie?: never;
|
|
5963
7048
|
};
|
|
5964
7049
|
requestBody?: never;
|
|
@@ -5969,7 +7054,7 @@ declare interface operations {
|
|
|
5969
7054
|
[name: string]: unknown;
|
|
5970
7055
|
};
|
|
5971
7056
|
content: {
|
|
5972
|
-
"application/json": components["schemas"]["
|
|
7057
|
+
"application/json": components["schemas"]["JobWarningList"];
|
|
5973
7058
|
};
|
|
5974
7059
|
};
|
|
5975
7060
|
/** @description Client Error */
|
|
@@ -6525,9 +7610,14 @@ declare interface operations {
|
|
|
6525
7610
|
};
|
|
6526
7611
|
};
|
|
6527
7612
|
};
|
|
6528
|
-
|
|
7613
|
+
admin_list_schedules_api_admin_schedules_get: {
|
|
6529
7614
|
parameters: {
|
|
6530
|
-
query?:
|
|
7615
|
+
query?: {
|
|
7616
|
+
status?: string | null;
|
|
7617
|
+
user_id?: string | null;
|
|
7618
|
+
limit?: number;
|
|
7619
|
+
skip?: number;
|
|
7620
|
+
};
|
|
6531
7621
|
header?: never;
|
|
6532
7622
|
path?: never;
|
|
6533
7623
|
cookie?: never;
|
|
@@ -6540,7 +7630,7 @@ declare interface operations {
|
|
|
6540
7630
|
[name: string]: unknown;
|
|
6541
7631
|
};
|
|
6542
7632
|
content: {
|
|
6543
|
-
"application/json": components["schemas"]["
|
|
7633
|
+
"application/json": components["schemas"]["AdminScheduleListResponse"];
|
|
6544
7634
|
};
|
|
6545
7635
|
};
|
|
6546
7636
|
/** @description Client Error */
|
|
@@ -6563,11 +7653,13 @@ declare interface operations {
|
|
|
6563
7653
|
};
|
|
6564
7654
|
};
|
|
6565
7655
|
};
|
|
6566
|
-
|
|
7656
|
+
admin_delete_schedule_api_admin_schedules__schedule_id__delete: {
|
|
6567
7657
|
parameters: {
|
|
6568
7658
|
query?: never;
|
|
6569
7659
|
header?: never;
|
|
6570
|
-
path
|
|
7660
|
+
path: {
|
|
7661
|
+
schedule_id: string;
|
|
7662
|
+
};
|
|
6571
7663
|
cookie?: never;
|
|
6572
7664
|
};
|
|
6573
7665
|
requestBody?: never;
|
|
@@ -6578,7 +7670,7 @@ declare interface operations {
|
|
|
6578
7670
|
[name: string]: unknown;
|
|
6579
7671
|
};
|
|
6580
7672
|
content: {
|
|
6581
|
-
"application/json": components["schemas"]["
|
|
7673
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
6582
7674
|
};
|
|
6583
7675
|
};
|
|
6584
7676
|
/** @description Client Error */
|
|
@@ -6601,12 +7693,210 @@ declare interface operations {
|
|
|
6601
7693
|
};
|
|
6602
7694
|
};
|
|
6603
7695
|
};
|
|
6604
|
-
|
|
7696
|
+
admin_pause_schedule_api_admin_schedules__schedule_id__pause_post: {
|
|
6605
7697
|
parameters: {
|
|
6606
7698
|
query?: never;
|
|
6607
7699
|
header?: never;
|
|
6608
|
-
path
|
|
6609
|
-
|
|
7700
|
+
path: {
|
|
7701
|
+
schedule_id: string;
|
|
7702
|
+
};
|
|
7703
|
+
cookie?: never;
|
|
7704
|
+
};
|
|
7705
|
+
requestBody?: never;
|
|
7706
|
+
responses: {
|
|
7707
|
+
/** @description Successful Response */
|
|
7708
|
+
200: {
|
|
7709
|
+
headers: {
|
|
7710
|
+
[name: string]: unknown;
|
|
7711
|
+
};
|
|
7712
|
+
content: {
|
|
7713
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
7714
|
+
};
|
|
7715
|
+
};
|
|
7716
|
+
/** @description Client Error */
|
|
7717
|
+
"4XX": {
|
|
7718
|
+
headers: {
|
|
7719
|
+
[name: string]: unknown;
|
|
7720
|
+
};
|
|
7721
|
+
content: {
|
|
7722
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7723
|
+
};
|
|
7724
|
+
};
|
|
7725
|
+
/** @description Server Error */
|
|
7726
|
+
"5XX": {
|
|
7727
|
+
headers: {
|
|
7728
|
+
[name: string]: unknown;
|
|
7729
|
+
};
|
|
7730
|
+
content: {
|
|
7731
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7732
|
+
};
|
|
7733
|
+
};
|
|
7734
|
+
};
|
|
7735
|
+
};
|
|
7736
|
+
admin_resume_schedule_api_admin_schedules__schedule_id__resume_post: {
|
|
7737
|
+
parameters: {
|
|
7738
|
+
query?: never;
|
|
7739
|
+
header?: never;
|
|
7740
|
+
path: {
|
|
7741
|
+
schedule_id: string;
|
|
7742
|
+
};
|
|
7743
|
+
cookie?: never;
|
|
7744
|
+
};
|
|
7745
|
+
requestBody?: never;
|
|
7746
|
+
responses: {
|
|
7747
|
+
/** @description Successful Response */
|
|
7748
|
+
200: {
|
|
7749
|
+
headers: {
|
|
7750
|
+
[name: string]: unknown;
|
|
7751
|
+
};
|
|
7752
|
+
content: {
|
|
7753
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
7754
|
+
};
|
|
7755
|
+
};
|
|
7756
|
+
/** @description Client Error */
|
|
7757
|
+
"4XX": {
|
|
7758
|
+
headers: {
|
|
7759
|
+
[name: string]: unknown;
|
|
7760
|
+
};
|
|
7761
|
+
content: {
|
|
7762
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7763
|
+
};
|
|
7764
|
+
};
|
|
7765
|
+
/** @description Server Error */
|
|
7766
|
+
"5XX": {
|
|
7767
|
+
headers: {
|
|
7768
|
+
[name: string]: unknown;
|
|
7769
|
+
};
|
|
7770
|
+
content: {
|
|
7771
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7772
|
+
};
|
|
7773
|
+
};
|
|
7774
|
+
};
|
|
7775
|
+
};
|
|
7776
|
+
admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get: {
|
|
7777
|
+
parameters: {
|
|
7778
|
+
query?: {
|
|
7779
|
+
limit?: number;
|
|
7780
|
+
};
|
|
7781
|
+
header?: never;
|
|
7782
|
+
path: {
|
|
7783
|
+
schedule_id: string;
|
|
7784
|
+
};
|
|
7785
|
+
cookie?: never;
|
|
7786
|
+
};
|
|
7787
|
+
requestBody?: never;
|
|
7788
|
+
responses: {
|
|
7789
|
+
/** @description Successful Response */
|
|
7790
|
+
200: {
|
|
7791
|
+
headers: {
|
|
7792
|
+
[name: string]: unknown;
|
|
7793
|
+
};
|
|
7794
|
+
content: {
|
|
7795
|
+
"application/json": components["schemas"]["ScheduleRunListResponse"];
|
|
7796
|
+
};
|
|
7797
|
+
};
|
|
7798
|
+
/** @description Client Error */
|
|
7799
|
+
"4XX": {
|
|
7800
|
+
headers: {
|
|
7801
|
+
[name: string]: unknown;
|
|
7802
|
+
};
|
|
7803
|
+
content: {
|
|
7804
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7805
|
+
};
|
|
7806
|
+
};
|
|
7807
|
+
/** @description Server Error */
|
|
7808
|
+
"5XX": {
|
|
7809
|
+
headers: {
|
|
7810
|
+
[name: string]: unknown;
|
|
7811
|
+
};
|
|
7812
|
+
content: {
|
|
7813
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7814
|
+
};
|
|
7815
|
+
};
|
|
7816
|
+
};
|
|
7817
|
+
};
|
|
7818
|
+
get_app_settings_api_admin_settings_get: {
|
|
7819
|
+
parameters: {
|
|
7820
|
+
query?: never;
|
|
7821
|
+
header?: never;
|
|
7822
|
+
path?: never;
|
|
7823
|
+
cookie?: never;
|
|
7824
|
+
};
|
|
7825
|
+
requestBody?: never;
|
|
7826
|
+
responses: {
|
|
7827
|
+
/** @description Successful Response */
|
|
7828
|
+
200: {
|
|
7829
|
+
headers: {
|
|
7830
|
+
[name: string]: unknown;
|
|
7831
|
+
};
|
|
7832
|
+
content: {
|
|
7833
|
+
"application/json": components["schemas"]["AdminSettingsResponse"];
|
|
7834
|
+
};
|
|
7835
|
+
};
|
|
7836
|
+
/** @description Client Error */
|
|
7837
|
+
"4XX": {
|
|
7838
|
+
headers: {
|
|
7839
|
+
[name: string]: unknown;
|
|
7840
|
+
};
|
|
7841
|
+
content: {
|
|
7842
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7843
|
+
};
|
|
7844
|
+
};
|
|
7845
|
+
/** @description Server Error */
|
|
7846
|
+
"5XX": {
|
|
7847
|
+
headers: {
|
|
7848
|
+
[name: string]: unknown;
|
|
7849
|
+
};
|
|
7850
|
+
content: {
|
|
7851
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7852
|
+
};
|
|
7853
|
+
};
|
|
7854
|
+
};
|
|
7855
|
+
};
|
|
7856
|
+
delete_app_settings_api_admin_settings_delete: {
|
|
7857
|
+
parameters: {
|
|
7858
|
+
query?: never;
|
|
7859
|
+
header?: never;
|
|
7860
|
+
path?: never;
|
|
7861
|
+
cookie?: never;
|
|
7862
|
+
};
|
|
7863
|
+
requestBody?: never;
|
|
7864
|
+
responses: {
|
|
7865
|
+
/** @description Successful Response */
|
|
7866
|
+
200: {
|
|
7867
|
+
headers: {
|
|
7868
|
+
[name: string]: unknown;
|
|
7869
|
+
};
|
|
7870
|
+
content: {
|
|
7871
|
+
"application/json": components["schemas"]["StatusMessageResponse"];
|
|
7872
|
+
};
|
|
7873
|
+
};
|
|
7874
|
+
/** @description Client Error */
|
|
7875
|
+
"4XX": {
|
|
7876
|
+
headers: {
|
|
7877
|
+
[name: string]: unknown;
|
|
7878
|
+
};
|
|
7879
|
+
content: {
|
|
7880
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7881
|
+
};
|
|
7882
|
+
};
|
|
7883
|
+
/** @description Server Error */
|
|
7884
|
+
"5XX": {
|
|
7885
|
+
headers: {
|
|
7886
|
+
[name: string]: unknown;
|
|
7887
|
+
};
|
|
7888
|
+
content: {
|
|
7889
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7890
|
+
};
|
|
7891
|
+
};
|
|
7892
|
+
};
|
|
7893
|
+
};
|
|
7894
|
+
update_app_settings_api_admin_settings_patch: {
|
|
7895
|
+
parameters: {
|
|
7896
|
+
query?: never;
|
|
7897
|
+
header?: never;
|
|
7898
|
+
path?: never;
|
|
7899
|
+
cookie?: never;
|
|
6610
7900
|
};
|
|
6611
7901
|
requestBody: {
|
|
6612
7902
|
content: {
|
|
@@ -6643,6 +7933,51 @@ declare interface operations {
|
|
|
6643
7933
|
};
|
|
6644
7934
|
};
|
|
6645
7935
|
};
|
|
7936
|
+
upload_branding_icon_api_admin_settings_icon_post: {
|
|
7937
|
+
parameters: {
|
|
7938
|
+
query?: {
|
|
7939
|
+
filename?: string;
|
|
7940
|
+
};
|
|
7941
|
+
header?: never;
|
|
7942
|
+
path?: never;
|
|
7943
|
+
cookie?: never;
|
|
7944
|
+
};
|
|
7945
|
+
/** @description The raster icon file itself, with its image media type as the `Content-Type`. */
|
|
7946
|
+
requestBody: {
|
|
7947
|
+
content: {
|
|
7948
|
+
"application/octet-stream": string;
|
|
7949
|
+
};
|
|
7950
|
+
};
|
|
7951
|
+
responses: {
|
|
7952
|
+
/** @description Successful Response */
|
|
7953
|
+
200: {
|
|
7954
|
+
headers: {
|
|
7955
|
+
[name: string]: unknown;
|
|
7956
|
+
};
|
|
7957
|
+
content: {
|
|
7958
|
+
"application/json": components["schemas"]["BrandingIconUpload"];
|
|
7959
|
+
};
|
|
7960
|
+
};
|
|
7961
|
+
/** @description Client Error */
|
|
7962
|
+
"4XX": {
|
|
7963
|
+
headers: {
|
|
7964
|
+
[name: string]: unknown;
|
|
7965
|
+
};
|
|
7966
|
+
content: {
|
|
7967
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7968
|
+
};
|
|
7969
|
+
};
|
|
7970
|
+
/** @description Server Error */
|
|
7971
|
+
"5XX": {
|
|
7972
|
+
headers: {
|
|
7973
|
+
[name: string]: unknown;
|
|
7974
|
+
};
|
|
7975
|
+
content: {
|
|
7976
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
7977
|
+
};
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
};
|
|
6646
7981
|
get_setup_status_api_admin_setup_status_get: {
|
|
6647
7982
|
parameters: {
|
|
6648
7983
|
query?: never;
|
|
@@ -7511,7 +8846,7 @@ declare interface operations {
|
|
|
7511
8846
|
};
|
|
7512
8847
|
};
|
|
7513
8848
|
};
|
|
7514
|
-
|
|
8849
|
+
chat_api_chat_post: {
|
|
7515
8850
|
parameters: {
|
|
7516
8851
|
query?: never;
|
|
7517
8852
|
header?: never;
|
|
@@ -7520,26 +8855,17 @@ declare interface operations {
|
|
|
7520
8855
|
};
|
|
7521
8856
|
requestBody: {
|
|
7522
8857
|
content: {
|
|
7523
|
-
"application/json": components["schemas"]["
|
|
8858
|
+
"application/json": components["schemas"]["ChatRequest"];
|
|
7524
8859
|
};
|
|
7525
8860
|
};
|
|
7526
8861
|
responses: {
|
|
7527
|
-
/** @description
|
|
8862
|
+
/** @description The reply, as a Vercel AI SDK UI message stream. Its `data-*` parts are these. */
|
|
7528
8863
|
200: {
|
|
7529
8864
|
headers: {
|
|
7530
8865
|
[name: string]: unknown;
|
|
7531
8866
|
};
|
|
7532
8867
|
content: {
|
|
7533
|
-
"
|
|
7534
|
-
};
|
|
7535
|
-
};
|
|
7536
|
-
/** @description A new user */
|
|
7537
|
-
201: {
|
|
7538
|
-
headers: {
|
|
7539
|
-
[name: string]: unknown;
|
|
7540
|
-
};
|
|
7541
|
-
content: {
|
|
7542
|
-
"application/json": components["schemas"]["AuthorizeUserResponse"];
|
|
8868
|
+
"text/event-stream": components["schemas"]["ChatStreamData"];
|
|
7543
8869
|
};
|
|
7544
8870
|
};
|
|
7545
8871
|
/** @description Client Error */
|
|
@@ -7562,61 +8888,19 @@ declare interface operations {
|
|
|
7562
8888
|
};
|
|
7563
8889
|
};
|
|
7564
8890
|
};
|
|
7565
|
-
|
|
8891
|
+
upload_attachment_api_chat_attachments_post: {
|
|
7566
8892
|
parameters: {
|
|
7567
|
-
query
|
|
8893
|
+
query: {
|
|
8894
|
+
filename: string;
|
|
8895
|
+
};
|
|
7568
8896
|
header?: never;
|
|
7569
8897
|
path?: never;
|
|
7570
8898
|
cookie?: never;
|
|
7571
8899
|
};
|
|
8900
|
+
/** @description The file itself, with its media type as the `Content-Type`. */
|
|
7572
8901
|
requestBody: {
|
|
7573
8902
|
content: {
|
|
7574
|
-
"application/
|
|
7575
|
-
};
|
|
7576
|
-
};
|
|
7577
|
-
responses: {
|
|
7578
|
-
/** @description The reply, as a Vercel AI SDK UI message stream. Its `data-*` parts are these. */
|
|
7579
|
-
200: {
|
|
7580
|
-
headers: {
|
|
7581
|
-
[name: string]: unknown;
|
|
7582
|
-
};
|
|
7583
|
-
content: {
|
|
7584
|
-
"text/event-stream": components["schemas"]["ChatStreamData"];
|
|
7585
|
-
};
|
|
7586
|
-
};
|
|
7587
|
-
/** @description Client Error */
|
|
7588
|
-
"4XX": {
|
|
7589
|
-
headers: {
|
|
7590
|
-
[name: string]: unknown;
|
|
7591
|
-
};
|
|
7592
|
-
content: {
|
|
7593
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7594
|
-
};
|
|
7595
|
-
};
|
|
7596
|
-
/** @description Server Error */
|
|
7597
|
-
"5XX": {
|
|
7598
|
-
headers: {
|
|
7599
|
-
[name: string]: unknown;
|
|
7600
|
-
};
|
|
7601
|
-
content: {
|
|
7602
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7603
|
-
};
|
|
7604
|
-
};
|
|
7605
|
-
};
|
|
7606
|
-
};
|
|
7607
|
-
upload_attachment_api_chat_attachments_post: {
|
|
7608
|
-
parameters: {
|
|
7609
|
-
query: {
|
|
7610
|
-
filename: string;
|
|
7611
|
-
};
|
|
7612
|
-
header?: never;
|
|
7613
|
-
path?: never;
|
|
7614
|
-
cookie?: never;
|
|
7615
|
-
};
|
|
7616
|
-
/** @description The file itself, with its media type as the `Content-Type`. */
|
|
7617
|
-
requestBody: {
|
|
7618
|
-
content: {
|
|
7619
|
-
"application/octet-stream": string;
|
|
8903
|
+
"application/octet-stream": string;
|
|
7620
8904
|
};
|
|
7621
8905
|
};
|
|
7622
8906
|
responses: {
|
|
@@ -8137,7 +9421,7 @@ declare interface operations {
|
|
|
8137
9421
|
};
|
|
8138
9422
|
};
|
|
8139
9423
|
};
|
|
8140
|
-
|
|
9424
|
+
list_connectors_api_connectors_get: {
|
|
8141
9425
|
parameters: {
|
|
8142
9426
|
query?: never;
|
|
8143
9427
|
header?: never;
|
|
@@ -8152,7 +9436,7 @@ declare interface operations {
|
|
|
8152
9436
|
[name: string]: unknown;
|
|
8153
9437
|
};
|
|
8154
9438
|
content: {
|
|
8155
|
-
"application/json": components["schemas"]["
|
|
9439
|
+
"application/json": components["schemas"]["ConnectorListResponse"];
|
|
8156
9440
|
};
|
|
8157
9441
|
};
|
|
8158
9442
|
/** @description Client Error */
|
|
@@ -8175,36 +9459,25 @@ declare interface operations {
|
|
|
8175
9459
|
};
|
|
8176
9460
|
};
|
|
8177
9461
|
};
|
|
8178
|
-
|
|
9462
|
+
connector_oauth_callback_api_connectors_oauth_callback_get: {
|
|
8179
9463
|
parameters: {
|
|
8180
|
-
query
|
|
9464
|
+
query: {
|
|
9465
|
+
state: string;
|
|
9466
|
+
code?: string | null;
|
|
9467
|
+
error?: string | null;
|
|
9468
|
+
};
|
|
8181
9469
|
header?: never;
|
|
8182
9470
|
path?: never;
|
|
8183
9471
|
cookie?: never;
|
|
8184
9472
|
};
|
|
8185
|
-
requestBody
|
|
8186
|
-
content: {
|
|
8187
|
-
"application/json": components["schemas"]["SessionInput"];
|
|
8188
|
-
};
|
|
8189
|
-
};
|
|
9473
|
+
requestBody?: never;
|
|
8190
9474
|
responses: {
|
|
8191
9475
|
/** @description Successful Response */
|
|
8192
|
-
|
|
8193
|
-
headers: {
|
|
8194
|
-
[name: string]: unknown;
|
|
8195
|
-
};
|
|
8196
|
-
content: {
|
|
8197
|
-
"application/json": components["schemas"]["SessionResponse"];
|
|
8198
|
-
};
|
|
8199
|
-
};
|
|
8200
|
-
/** @description A new user */
|
|
8201
|
-
201: {
|
|
9476
|
+
307: {
|
|
8202
9477
|
headers: {
|
|
8203
9478
|
[name: string]: unknown;
|
|
8204
9479
|
};
|
|
8205
|
-
content
|
|
8206
|
-
"application/json": components["schemas"]["SessionResponse"];
|
|
8207
|
-
};
|
|
9480
|
+
content?: never;
|
|
8208
9481
|
};
|
|
8209
9482
|
/** @description Client Error */
|
|
8210
9483
|
"4XX": {
|
|
@@ -8226,24 +9499,26 @@ declare interface operations {
|
|
|
8226
9499
|
};
|
|
8227
9500
|
};
|
|
8228
9501
|
};
|
|
8229
|
-
|
|
9502
|
+
create_user_mcp_connector_api_connectors_user_mcp_post: {
|
|
8230
9503
|
parameters: {
|
|
8231
9504
|
query?: never;
|
|
8232
9505
|
header?: never;
|
|
8233
|
-
path
|
|
8234
|
-
external_id: string;
|
|
8235
|
-
};
|
|
9506
|
+
path?: never;
|
|
8236
9507
|
cookie?: never;
|
|
8237
9508
|
};
|
|
8238
|
-
requestBody
|
|
9509
|
+
requestBody: {
|
|
9510
|
+
content: {
|
|
9511
|
+
"application/json": components["schemas"]["UserMCPCreateInput"];
|
|
9512
|
+
};
|
|
9513
|
+
};
|
|
8239
9514
|
responses: {
|
|
8240
9515
|
/** @description Successful Response */
|
|
8241
|
-
|
|
9516
|
+
201: {
|
|
8242
9517
|
headers: {
|
|
8243
9518
|
[name: string]: unknown;
|
|
8244
9519
|
};
|
|
8245
9520
|
content: {
|
|
8246
|
-
"application/json": components["schemas"]["
|
|
9521
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8247
9522
|
};
|
|
8248
9523
|
};
|
|
8249
9524
|
/** @description Client Error */
|
|
@@ -8266,20 +9541,16 @@ declare interface operations {
|
|
|
8266
9541
|
};
|
|
8267
9542
|
};
|
|
8268
9543
|
};
|
|
8269
|
-
|
|
9544
|
+
delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete: {
|
|
8270
9545
|
parameters: {
|
|
8271
9546
|
query?: never;
|
|
8272
9547
|
header?: never;
|
|
8273
9548
|
path: {
|
|
8274
|
-
|
|
9549
|
+
connector_id: string;
|
|
8275
9550
|
};
|
|
8276
9551
|
cookie?: never;
|
|
8277
9552
|
};
|
|
8278
|
-
requestBody
|
|
8279
|
-
content: {
|
|
8280
|
-
"application/json": components["schemas"]["IntegrationUserInput"];
|
|
8281
|
-
};
|
|
8282
|
-
};
|
|
9553
|
+
requestBody?: never;
|
|
8283
9554
|
responses: {
|
|
8284
9555
|
/** @description Successful Response */
|
|
8285
9556
|
200: {
|
|
@@ -8287,16 +9558,7 @@ declare interface operations {
|
|
|
8287
9558
|
[name: string]: unknown;
|
|
8288
9559
|
};
|
|
8289
9560
|
content: {
|
|
8290
|
-
"application/json": components["schemas"]["
|
|
8291
|
-
};
|
|
8292
|
-
};
|
|
8293
|
-
/** @description A new user */
|
|
8294
|
-
201: {
|
|
8295
|
-
headers: {
|
|
8296
|
-
[name: string]: unknown;
|
|
8297
|
-
};
|
|
8298
|
-
content: {
|
|
8299
|
-
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
9561
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
8300
9562
|
};
|
|
8301
9563
|
};
|
|
8302
9564
|
/** @description Client Error */
|
|
@@ -8319,20 +9581,18 @@ declare interface operations {
|
|
|
8319
9581
|
};
|
|
8320
9582
|
};
|
|
8321
9583
|
};
|
|
8322
|
-
|
|
9584
|
+
update_connector_api_connectors__connector_id__patch: {
|
|
8323
9585
|
parameters: {
|
|
8324
9586
|
query?: never;
|
|
8325
|
-
header?:
|
|
8326
|
-
"Idempotency-Key"?: string | null;
|
|
8327
|
-
};
|
|
9587
|
+
header?: never;
|
|
8328
9588
|
path: {
|
|
8329
|
-
|
|
9589
|
+
connector_id: string;
|
|
8330
9590
|
};
|
|
8331
9591
|
cookie?: never;
|
|
8332
9592
|
};
|
|
8333
9593
|
requestBody: {
|
|
8334
9594
|
content: {
|
|
8335
|
-
"application/json": components["schemas"]["
|
|
9595
|
+
"application/json": components["schemas"]["ConnectorToggleInput"];
|
|
8336
9596
|
};
|
|
8337
9597
|
};
|
|
8338
9598
|
responses: {
|
|
@@ -8342,7 +9602,7 @@ declare interface operations {
|
|
|
8342
9602
|
[name: string]: unknown;
|
|
8343
9603
|
};
|
|
8344
9604
|
content: {
|
|
8345
|
-
"application/json": components["schemas"]["
|
|
9605
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8346
9606
|
};
|
|
8347
9607
|
};
|
|
8348
9608
|
/** @description Client Error */
|
|
@@ -8365,16 +9625,20 @@ declare interface operations {
|
|
|
8365
9625
|
};
|
|
8366
9626
|
};
|
|
8367
9627
|
};
|
|
8368
|
-
|
|
9628
|
+
connect_connector_api_connectors__connector_id__connect_post: {
|
|
8369
9629
|
parameters: {
|
|
8370
9630
|
query?: never;
|
|
8371
9631
|
header?: never;
|
|
8372
9632
|
path: {
|
|
8373
|
-
|
|
9633
|
+
connector_id: string;
|
|
8374
9634
|
};
|
|
8375
9635
|
cookie?: never;
|
|
8376
9636
|
};
|
|
8377
|
-
requestBody
|
|
9637
|
+
requestBody: {
|
|
9638
|
+
content: {
|
|
9639
|
+
"application/json": components["schemas"]["ConnectorConnectInput"];
|
|
9640
|
+
};
|
|
9641
|
+
};
|
|
8378
9642
|
responses: {
|
|
8379
9643
|
/** @description Successful Response */
|
|
8380
9644
|
200: {
|
|
@@ -8382,7 +9646,7 @@ declare interface operations {
|
|
|
8382
9646
|
[name: string]: unknown;
|
|
8383
9647
|
};
|
|
8384
9648
|
content: {
|
|
8385
|
-
"application/json": components["schemas"]["
|
|
9649
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8386
9650
|
};
|
|
8387
9651
|
};
|
|
8388
9652
|
/** @description Client Error */
|
|
@@ -8405,21 +9669,16 @@ declare interface operations {
|
|
|
8405
9669
|
};
|
|
8406
9670
|
};
|
|
8407
9671
|
};
|
|
8408
|
-
|
|
9672
|
+
disconnect_connector_api_connectors__connector_id__disconnect_post: {
|
|
8409
9673
|
parameters: {
|
|
8410
9674
|
query?: never;
|
|
8411
9675
|
header?: never;
|
|
8412
9676
|
path: {
|
|
8413
|
-
|
|
8414
|
-
subscription_external_id: string;
|
|
9677
|
+
connector_id: string;
|
|
8415
9678
|
};
|
|
8416
9679
|
cookie?: never;
|
|
8417
9680
|
};
|
|
8418
|
-
requestBody
|
|
8419
|
-
content: {
|
|
8420
|
-
"application/json": components["schemas"]["SubscriptionInput"];
|
|
8421
|
-
};
|
|
8422
|
-
};
|
|
9681
|
+
requestBody?: never;
|
|
8423
9682
|
responses: {
|
|
8424
9683
|
/** @description Successful Response */
|
|
8425
9684
|
200: {
|
|
@@ -8427,16 +9686,7 @@ declare interface operations {
|
|
|
8427
9686
|
[name: string]: unknown;
|
|
8428
9687
|
};
|
|
8429
9688
|
content: {
|
|
8430
|
-
"application/json": components["schemas"]["
|
|
8431
|
-
};
|
|
8432
|
-
};
|
|
8433
|
-
/** @description A new subscription */
|
|
8434
|
-
201: {
|
|
8435
|
-
headers: {
|
|
8436
|
-
[name: string]: unknown;
|
|
8437
|
-
};
|
|
8438
|
-
content: {
|
|
8439
|
-
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
9689
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8440
9690
|
};
|
|
8441
9691
|
};
|
|
8442
9692
|
/** @description Client Error */
|
|
@@ -8459,19 +9709,18 @@ declare interface operations {
|
|
|
8459
9709
|
};
|
|
8460
9710
|
};
|
|
8461
9711
|
};
|
|
8462
|
-
|
|
9712
|
+
start_connector_oauth_api_connectors__connector_id__oauth_start_post: {
|
|
8463
9713
|
parameters: {
|
|
8464
9714
|
query?: never;
|
|
8465
9715
|
header?: never;
|
|
8466
9716
|
path: {
|
|
8467
|
-
|
|
8468
|
-
subscription_external_id: string;
|
|
9717
|
+
connector_id: string;
|
|
8469
9718
|
};
|
|
8470
9719
|
cookie?: never;
|
|
8471
9720
|
};
|
|
8472
|
-
requestBody
|
|
9721
|
+
requestBody: {
|
|
8473
9722
|
content: {
|
|
8474
|
-
"application/json": components["schemas"]["
|
|
9723
|
+
"application/json": components["schemas"]["OAuthStartInput"];
|
|
8475
9724
|
};
|
|
8476
9725
|
};
|
|
8477
9726
|
responses: {
|
|
@@ -8481,7 +9730,7 @@ declare interface operations {
|
|
|
8481
9730
|
[name: string]: unknown;
|
|
8482
9731
|
};
|
|
8483
9732
|
content: {
|
|
8484
|
-
"application/json": components["schemas"]["
|
|
9733
|
+
"application/json": components["schemas"]["OAuthStartResponse"];
|
|
8485
9734
|
};
|
|
8486
9735
|
};
|
|
8487
9736
|
/** @description Client Error */
|
|
@@ -8504,12 +9753,12 @@ declare interface operations {
|
|
|
8504
9753
|
};
|
|
8505
9754
|
};
|
|
8506
9755
|
};
|
|
8507
|
-
|
|
9756
|
+
list_connector_tools_api_connectors__connector_id__tools_get: {
|
|
8508
9757
|
parameters: {
|
|
8509
9758
|
query?: never;
|
|
8510
9759
|
header?: never;
|
|
8511
9760
|
path: {
|
|
8512
|
-
|
|
9761
|
+
connector_id: string;
|
|
8513
9762
|
};
|
|
8514
9763
|
cookie?: never;
|
|
8515
9764
|
};
|
|
@@ -8521,7 +9770,7 @@ declare interface operations {
|
|
|
8521
9770
|
[name: string]: unknown;
|
|
8522
9771
|
};
|
|
8523
9772
|
content: {
|
|
8524
|
-
"application/json": components["schemas"]["
|
|
9773
|
+
"application/json": components["schemas"]["ConnectorToolsResponse"];
|
|
8525
9774
|
};
|
|
8526
9775
|
};
|
|
8527
9776
|
/** @description Client Error */
|
|
@@ -8544,18 +9793,14 @@ declare interface operations {
|
|
|
8544
9793
|
};
|
|
8545
9794
|
};
|
|
8546
9795
|
};
|
|
8547
|
-
|
|
9796
|
+
list_plans_api_integration_v1_plans_get: {
|
|
8548
9797
|
parameters: {
|
|
8549
9798
|
query?: never;
|
|
8550
9799
|
header?: never;
|
|
8551
9800
|
path?: never;
|
|
8552
9801
|
cookie?: never;
|
|
8553
9802
|
};
|
|
8554
|
-
requestBody
|
|
8555
|
-
content: {
|
|
8556
|
-
"application/json": components["schemas"]["LoginInput"];
|
|
8557
|
-
};
|
|
8558
|
-
};
|
|
9803
|
+
requestBody?: never;
|
|
8559
9804
|
responses: {
|
|
8560
9805
|
/** @description Successful Response */
|
|
8561
9806
|
200: {
|
|
@@ -8563,7 +9808,7 @@ declare interface operations {
|
|
|
8563
9808
|
[name: string]: unknown;
|
|
8564
9809
|
};
|
|
8565
9810
|
content: {
|
|
8566
|
-
"application/json": components["schemas"]["
|
|
9811
|
+
"application/json": components["schemas"]["PlanList"];
|
|
8567
9812
|
};
|
|
8568
9813
|
};
|
|
8569
9814
|
/** @description Client Error */
|
|
@@ -8586,7 +9831,7 @@ declare interface operations {
|
|
|
8586
9831
|
};
|
|
8587
9832
|
};
|
|
8588
9833
|
};
|
|
8589
|
-
|
|
9834
|
+
create_session_api_integration_v1_sessions_post: {
|
|
8590
9835
|
parameters: {
|
|
8591
9836
|
query?: never;
|
|
8592
9837
|
header?: never;
|
|
@@ -8595,17 +9840,26 @@ declare interface operations {
|
|
|
8595
9840
|
};
|
|
8596
9841
|
requestBody: {
|
|
8597
9842
|
content: {
|
|
8598
|
-
"application/json": components["schemas"]["
|
|
9843
|
+
"application/json": components["schemas"]["SessionInput"];
|
|
8599
9844
|
};
|
|
8600
9845
|
};
|
|
8601
9846
|
responses: {
|
|
8602
9847
|
/** @description Successful Response */
|
|
9848
|
+
200: {
|
|
9849
|
+
headers: {
|
|
9850
|
+
[name: string]: unknown;
|
|
9851
|
+
};
|
|
9852
|
+
content: {
|
|
9853
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
9854
|
+
};
|
|
9855
|
+
};
|
|
9856
|
+
/** @description A new user */
|
|
8603
9857
|
201: {
|
|
8604
9858
|
headers: {
|
|
8605
9859
|
[name: string]: unknown;
|
|
8606
9860
|
};
|
|
8607
9861
|
content: {
|
|
8608
|
-
"application/json": components["schemas"]["
|
|
9862
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
8609
9863
|
};
|
|
8610
9864
|
};
|
|
8611
9865
|
/** @description Client Error */
|
|
@@ -8628,12 +9882,12 @@ declare interface operations {
|
|
|
8628
9882
|
};
|
|
8629
9883
|
};
|
|
8630
9884
|
};
|
|
8631
|
-
|
|
9885
|
+
get_user_api_integration_v1_users__external_id__get: {
|
|
8632
9886
|
parameters: {
|
|
8633
9887
|
query?: never;
|
|
8634
9888
|
header?: never;
|
|
8635
9889
|
path: {
|
|
8636
|
-
|
|
9890
|
+
external_id: string;
|
|
8637
9891
|
};
|
|
8638
9892
|
cookie?: never;
|
|
8639
9893
|
};
|
|
@@ -8645,7 +9899,7 @@ declare interface operations {
|
|
|
8645
9899
|
[name: string]: unknown;
|
|
8646
9900
|
};
|
|
8647
9901
|
content: {
|
|
8648
|
-
"application/json": components["schemas"]["
|
|
9902
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
8649
9903
|
};
|
|
8650
9904
|
};
|
|
8651
9905
|
/** @description Client Error */
|
|
@@ -8668,25 +9922,37 @@ declare interface operations {
|
|
|
8668
9922
|
};
|
|
8669
9923
|
};
|
|
8670
9924
|
};
|
|
8671
|
-
|
|
9925
|
+
put_user_api_integration_v1_users__external_id__put: {
|
|
8672
9926
|
parameters: {
|
|
8673
9927
|
query?: never;
|
|
8674
9928
|
header?: never;
|
|
8675
9929
|
path: {
|
|
8676
|
-
|
|
8677
|
-
attachment_id: string;
|
|
9930
|
+
external_id: string;
|
|
8678
9931
|
};
|
|
8679
9932
|
cookie?: never;
|
|
8680
9933
|
};
|
|
8681
|
-
requestBody
|
|
9934
|
+
requestBody: {
|
|
9935
|
+
content: {
|
|
9936
|
+
"application/json": components["schemas"]["IntegrationUserInput"];
|
|
9937
|
+
};
|
|
9938
|
+
};
|
|
8682
9939
|
responses: {
|
|
8683
|
-
/** @description
|
|
9940
|
+
/** @description Successful Response */
|
|
8684
9941
|
200: {
|
|
8685
9942
|
headers: {
|
|
8686
9943
|
[name: string]: unknown;
|
|
8687
9944
|
};
|
|
8688
9945
|
content: {
|
|
8689
|
-
"application/
|
|
9946
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
9947
|
+
};
|
|
9948
|
+
};
|
|
9949
|
+
/** @description A new user */
|
|
9950
|
+
201: {
|
|
9951
|
+
headers: {
|
|
9952
|
+
[name: string]: unknown;
|
|
9953
|
+
};
|
|
9954
|
+
content: {
|
|
9955
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
8690
9956
|
};
|
|
8691
9957
|
};
|
|
8692
9958
|
/** @description Client Error */
|
|
@@ -8709,14 +9975,22 @@ declare interface operations {
|
|
|
8709
9975
|
};
|
|
8710
9976
|
};
|
|
8711
9977
|
};
|
|
8712
|
-
|
|
9978
|
+
grant_credits_api_integration_v1_users__external_id__credits_post: {
|
|
8713
9979
|
parameters: {
|
|
8714
9980
|
query?: never;
|
|
8715
|
-
header?:
|
|
8716
|
-
|
|
9981
|
+
header?: {
|
|
9982
|
+
"Idempotency-Key"?: string | null;
|
|
9983
|
+
};
|
|
9984
|
+
path: {
|
|
9985
|
+
external_id: string;
|
|
9986
|
+
};
|
|
8717
9987
|
cookie?: never;
|
|
8718
9988
|
};
|
|
8719
|
-
requestBody
|
|
9989
|
+
requestBody: {
|
|
9990
|
+
content: {
|
|
9991
|
+
"application/json": components["schemas"]["CreditsGrantInput"];
|
|
9992
|
+
};
|
|
9993
|
+
};
|
|
8720
9994
|
responses: {
|
|
8721
9995
|
/** @description Successful Response */
|
|
8722
9996
|
200: {
|
|
@@ -8724,7 +9998,7 @@ declare interface operations {
|
|
|
8724
9998
|
[name: string]: unknown;
|
|
8725
9999
|
};
|
|
8726
10000
|
content: {
|
|
8727
|
-
"application/json": components["schemas"]["
|
|
10001
|
+
"application/json": components["schemas"]["CreditsGrantResponse"];
|
|
8728
10002
|
};
|
|
8729
10003
|
};
|
|
8730
10004
|
/** @description Client Error */
|
|
@@ -8747,11 +10021,13 @@ declare interface operations {
|
|
|
8747
10021
|
};
|
|
8748
10022
|
};
|
|
8749
10023
|
};
|
|
8750
|
-
|
|
10024
|
+
list_subscriptions_api_integration_v1_users__external_id__subscriptions_get: {
|
|
8751
10025
|
parameters: {
|
|
8752
10026
|
query?: never;
|
|
8753
10027
|
header?: never;
|
|
8754
|
-
path
|
|
10028
|
+
path: {
|
|
10029
|
+
external_id: string;
|
|
10030
|
+
};
|
|
8755
10031
|
cookie?: never;
|
|
8756
10032
|
};
|
|
8757
10033
|
requestBody?: never;
|
|
@@ -8762,7 +10038,7 @@ declare interface operations {
|
|
|
8762
10038
|
[name: string]: unknown;
|
|
8763
10039
|
};
|
|
8764
10040
|
content: {
|
|
8765
|
-
"application/json": components["schemas"]["
|
|
10041
|
+
"application/json": components["schemas"]["SubscriptionList"];
|
|
8766
10042
|
};
|
|
8767
10043
|
};
|
|
8768
10044
|
/** @description Client Error */
|
|
@@ -8785,16 +10061,19 @@ declare interface operations {
|
|
|
8785
10061
|
};
|
|
8786
10062
|
};
|
|
8787
10063
|
};
|
|
8788
|
-
|
|
10064
|
+
put_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__put: {
|
|
8789
10065
|
parameters: {
|
|
8790
10066
|
query?: never;
|
|
8791
10067
|
header?: never;
|
|
8792
|
-
path
|
|
10068
|
+
path: {
|
|
10069
|
+
external_id: string;
|
|
10070
|
+
subscription_external_id: string;
|
|
10071
|
+
};
|
|
8793
10072
|
cookie?: never;
|
|
8794
10073
|
};
|
|
8795
10074
|
requestBody: {
|
|
8796
10075
|
content: {
|
|
8797
|
-
"application/json": components["schemas"]["
|
|
10076
|
+
"application/json": components["schemas"]["SubscriptionInput"];
|
|
8798
10077
|
};
|
|
8799
10078
|
};
|
|
8800
10079
|
responses: {
|
|
@@ -8804,7 +10083,16 @@ declare interface operations {
|
|
|
8804
10083
|
[name: string]: unknown;
|
|
8805
10084
|
};
|
|
8806
10085
|
content: {
|
|
8807
|
-
"application/json": components["schemas"]["
|
|
10086
|
+
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
10087
|
+
};
|
|
10088
|
+
};
|
|
10089
|
+
/** @description A new subscription */
|
|
10090
|
+
201: {
|
|
10091
|
+
headers: {
|
|
10092
|
+
[name: string]: unknown;
|
|
10093
|
+
};
|
|
10094
|
+
content: {
|
|
10095
|
+
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
8808
10096
|
};
|
|
8809
10097
|
};
|
|
8810
10098
|
/** @description Client Error */
|
|
@@ -8827,14 +10115,788 @@ declare interface operations {
|
|
|
8827
10115
|
};
|
|
8828
10116
|
};
|
|
8829
10117
|
};
|
|
8830
|
-
|
|
10118
|
+
cancel_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__cancel_post: {
|
|
8831
10119
|
parameters: {
|
|
8832
10120
|
query?: never;
|
|
8833
10121
|
header?: never;
|
|
8834
|
-
path
|
|
10122
|
+
path: {
|
|
10123
|
+
external_id: string;
|
|
10124
|
+
subscription_external_id: string;
|
|
10125
|
+
};
|
|
8835
10126
|
cookie?: never;
|
|
8836
10127
|
};
|
|
8837
|
-
requestBody?:
|
|
10128
|
+
requestBody?: {
|
|
10129
|
+
content: {
|
|
10130
|
+
"application/json": components["schemas"]["CancelSubscriptionInput"] | null;
|
|
10131
|
+
};
|
|
10132
|
+
};
|
|
10133
|
+
responses: {
|
|
10134
|
+
/** @description Successful Response */
|
|
10135
|
+
200: {
|
|
10136
|
+
headers: {
|
|
10137
|
+
[name: string]: unknown;
|
|
10138
|
+
};
|
|
10139
|
+
content: {
|
|
10140
|
+
"application/json": components["schemas"]["SubscriptionCancelResponse"];
|
|
10141
|
+
};
|
|
10142
|
+
};
|
|
10143
|
+
/** @description Client Error */
|
|
10144
|
+
"4XX": {
|
|
10145
|
+
headers: {
|
|
10146
|
+
[name: string]: unknown;
|
|
10147
|
+
};
|
|
10148
|
+
content: {
|
|
10149
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10150
|
+
};
|
|
10151
|
+
};
|
|
10152
|
+
/** @description Server Error */
|
|
10153
|
+
"5XX": {
|
|
10154
|
+
headers: {
|
|
10155
|
+
[name: string]: unknown;
|
|
10156
|
+
};
|
|
10157
|
+
content: {
|
|
10158
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10159
|
+
};
|
|
10160
|
+
};
|
|
10161
|
+
};
|
|
10162
|
+
};
|
|
10163
|
+
get_usage_api_integration_v1_users__external_id__usage_get: {
|
|
10164
|
+
parameters: {
|
|
10165
|
+
query?: never;
|
|
10166
|
+
header?: never;
|
|
10167
|
+
path: {
|
|
10168
|
+
external_id: string;
|
|
10169
|
+
};
|
|
10170
|
+
cookie?: never;
|
|
10171
|
+
};
|
|
10172
|
+
requestBody?: never;
|
|
10173
|
+
responses: {
|
|
10174
|
+
/** @description Successful Response */
|
|
10175
|
+
200: {
|
|
10176
|
+
headers: {
|
|
10177
|
+
[name: string]: unknown;
|
|
10178
|
+
};
|
|
10179
|
+
content: {
|
|
10180
|
+
"application/json": components["schemas"]["EntitlementStatus"];
|
|
10181
|
+
};
|
|
10182
|
+
};
|
|
10183
|
+
/** @description Client Error */
|
|
10184
|
+
"4XX": {
|
|
10185
|
+
headers: {
|
|
10186
|
+
[name: string]: unknown;
|
|
10187
|
+
};
|
|
10188
|
+
content: {
|
|
10189
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10190
|
+
};
|
|
10191
|
+
};
|
|
10192
|
+
/** @description Server Error */
|
|
10193
|
+
"5XX": {
|
|
10194
|
+
headers: {
|
|
10195
|
+
[name: string]: unknown;
|
|
10196
|
+
};
|
|
10197
|
+
content: {
|
|
10198
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10199
|
+
};
|
|
10200
|
+
};
|
|
10201
|
+
};
|
|
10202
|
+
};
|
|
10203
|
+
public_login_api_public_auth_login_post: {
|
|
10204
|
+
parameters: {
|
|
10205
|
+
query?: never;
|
|
10206
|
+
header?: never;
|
|
10207
|
+
path?: never;
|
|
10208
|
+
cookie?: never;
|
|
10209
|
+
};
|
|
10210
|
+
requestBody: {
|
|
10211
|
+
content: {
|
|
10212
|
+
"application/json": components["schemas"]["LoginInput"];
|
|
10213
|
+
};
|
|
10214
|
+
};
|
|
10215
|
+
responses: {
|
|
10216
|
+
/** @description Successful Response */
|
|
10217
|
+
200: {
|
|
10218
|
+
headers: {
|
|
10219
|
+
[name: string]: unknown;
|
|
10220
|
+
};
|
|
10221
|
+
content: {
|
|
10222
|
+
"application/json": components["schemas"]["AuthTokenResponse"];
|
|
10223
|
+
};
|
|
10224
|
+
};
|
|
10225
|
+
/** @description Client Error */
|
|
10226
|
+
"4XX": {
|
|
10227
|
+
headers: {
|
|
10228
|
+
[name: string]: unknown;
|
|
10229
|
+
};
|
|
10230
|
+
content: {
|
|
10231
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10232
|
+
};
|
|
10233
|
+
};
|
|
10234
|
+
/** @description Server Error */
|
|
10235
|
+
"5XX": {
|
|
10236
|
+
headers: {
|
|
10237
|
+
[name: string]: unknown;
|
|
10238
|
+
};
|
|
10239
|
+
content: {
|
|
10240
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10241
|
+
};
|
|
10242
|
+
};
|
|
10243
|
+
};
|
|
10244
|
+
};
|
|
10245
|
+
public_register_api_public_auth_register_post: {
|
|
10246
|
+
parameters: {
|
|
10247
|
+
query?: never;
|
|
10248
|
+
header?: never;
|
|
10249
|
+
path?: never;
|
|
10250
|
+
cookie?: never;
|
|
10251
|
+
};
|
|
10252
|
+
requestBody: {
|
|
10253
|
+
content: {
|
|
10254
|
+
"application/json": components["schemas"]["RegisterUserInput"];
|
|
10255
|
+
};
|
|
10256
|
+
};
|
|
10257
|
+
responses: {
|
|
10258
|
+
/** @description Successful Response */
|
|
10259
|
+
201: {
|
|
10260
|
+
headers: {
|
|
10261
|
+
[name: string]: unknown;
|
|
10262
|
+
};
|
|
10263
|
+
content: {
|
|
10264
|
+
"application/json": components["schemas"]["AuthTokenResponse"];
|
|
10265
|
+
};
|
|
10266
|
+
};
|
|
10267
|
+
/** @description Client Error */
|
|
10268
|
+
"4XX": {
|
|
10269
|
+
headers: {
|
|
10270
|
+
[name: string]: unknown;
|
|
10271
|
+
};
|
|
10272
|
+
content: {
|
|
10273
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10274
|
+
};
|
|
10275
|
+
};
|
|
10276
|
+
/** @description Server Error */
|
|
10277
|
+
"5XX": {
|
|
10278
|
+
headers: {
|
|
10279
|
+
[name: string]: unknown;
|
|
10280
|
+
};
|
|
10281
|
+
content: {
|
|
10282
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10283
|
+
};
|
|
10284
|
+
};
|
|
10285
|
+
};
|
|
10286
|
+
};
|
|
10287
|
+
get_branding_icon_api_public_branding__asset_id__get: {
|
|
10288
|
+
parameters: {
|
|
10289
|
+
query?: never;
|
|
10290
|
+
header?: never;
|
|
10291
|
+
path: {
|
|
10292
|
+
asset_id: string;
|
|
10293
|
+
};
|
|
10294
|
+
cookie?: never;
|
|
10295
|
+
};
|
|
10296
|
+
requestBody?: never;
|
|
10297
|
+
responses: {
|
|
10298
|
+
/** @description The uploaded branding icon, with the media type recorded at upload */
|
|
10299
|
+
200: {
|
|
10300
|
+
headers: {
|
|
10301
|
+
[name: string]: unknown;
|
|
10302
|
+
};
|
|
10303
|
+
content: {
|
|
10304
|
+
"application/octet-stream": unknown;
|
|
10305
|
+
};
|
|
10306
|
+
};
|
|
10307
|
+
/** @description Client Error */
|
|
10308
|
+
"4XX": {
|
|
10309
|
+
headers: {
|
|
10310
|
+
[name: string]: unknown;
|
|
10311
|
+
};
|
|
10312
|
+
content: {
|
|
10313
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10314
|
+
};
|
|
10315
|
+
};
|
|
10316
|
+
/** @description Server Error */
|
|
10317
|
+
"5XX": {
|
|
10318
|
+
headers: {
|
|
10319
|
+
[name: string]: unknown;
|
|
10320
|
+
};
|
|
10321
|
+
content: {
|
|
10322
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10323
|
+
};
|
|
10324
|
+
};
|
|
10325
|
+
};
|
|
10326
|
+
};
|
|
10327
|
+
get_shared_thread_api_public_shared__share_id__get: {
|
|
10328
|
+
parameters: {
|
|
10329
|
+
query?: never;
|
|
10330
|
+
header?: never;
|
|
10331
|
+
path: {
|
|
10332
|
+
share_id: string;
|
|
10333
|
+
};
|
|
10334
|
+
cookie?: never;
|
|
10335
|
+
};
|
|
10336
|
+
requestBody?: never;
|
|
10337
|
+
responses: {
|
|
10338
|
+
/** @description Successful Response */
|
|
10339
|
+
200: {
|
|
10340
|
+
headers: {
|
|
10341
|
+
[name: string]: unknown;
|
|
10342
|
+
};
|
|
10343
|
+
content: {
|
|
10344
|
+
"application/json": components["schemas"]["SharedThreadResponse"];
|
|
10345
|
+
};
|
|
10346
|
+
};
|
|
10347
|
+
/** @description Client Error */
|
|
10348
|
+
"4XX": {
|
|
10349
|
+
headers: {
|
|
10350
|
+
[name: string]: unknown;
|
|
10351
|
+
};
|
|
10352
|
+
content: {
|
|
10353
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10354
|
+
};
|
|
10355
|
+
};
|
|
10356
|
+
/** @description Server Error */
|
|
10357
|
+
"5XX": {
|
|
10358
|
+
headers: {
|
|
10359
|
+
[name: string]: unknown;
|
|
10360
|
+
};
|
|
10361
|
+
content: {
|
|
10362
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10363
|
+
};
|
|
10364
|
+
};
|
|
10365
|
+
};
|
|
10366
|
+
};
|
|
10367
|
+
get_shared_attachment_api_public_shared__share_id__attachments__attachment_id__get: {
|
|
10368
|
+
parameters: {
|
|
10369
|
+
query?: never;
|
|
10370
|
+
header?: never;
|
|
10371
|
+
path: {
|
|
10372
|
+
share_id: string;
|
|
10373
|
+
attachment_id: string;
|
|
10374
|
+
};
|
|
10375
|
+
cookie?: never;
|
|
10376
|
+
};
|
|
10377
|
+
requestBody?: never;
|
|
10378
|
+
responses: {
|
|
10379
|
+
/** @description The file, with the media type it was stored with */
|
|
10380
|
+
200: {
|
|
10381
|
+
headers: {
|
|
10382
|
+
[name: string]: unknown;
|
|
10383
|
+
};
|
|
10384
|
+
content: {
|
|
10385
|
+
"application/octet-stream": unknown;
|
|
10386
|
+
};
|
|
10387
|
+
};
|
|
10388
|
+
/** @description Client Error */
|
|
10389
|
+
"4XX": {
|
|
10390
|
+
headers: {
|
|
10391
|
+
[name: string]: unknown;
|
|
10392
|
+
};
|
|
10393
|
+
content: {
|
|
10394
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10395
|
+
};
|
|
10396
|
+
};
|
|
10397
|
+
/** @description Server Error */
|
|
10398
|
+
"5XX": {
|
|
10399
|
+
headers: {
|
|
10400
|
+
[name: string]: unknown;
|
|
10401
|
+
};
|
|
10402
|
+
content: {
|
|
10403
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10404
|
+
};
|
|
10405
|
+
};
|
|
10406
|
+
};
|
|
10407
|
+
};
|
|
10408
|
+
list_schedules_api_schedules_get: {
|
|
10409
|
+
parameters: {
|
|
10410
|
+
query?: never;
|
|
10411
|
+
header?: never;
|
|
10412
|
+
path?: never;
|
|
10413
|
+
cookie?: never;
|
|
10414
|
+
};
|
|
10415
|
+
requestBody?: never;
|
|
10416
|
+
responses: {
|
|
10417
|
+
/** @description Successful Response */
|
|
10418
|
+
200: {
|
|
10419
|
+
headers: {
|
|
10420
|
+
[name: string]: unknown;
|
|
10421
|
+
};
|
|
10422
|
+
content: {
|
|
10423
|
+
"application/json": components["schemas"]["ScheduleListResponse"];
|
|
10424
|
+
};
|
|
10425
|
+
};
|
|
10426
|
+
/** @description Client Error */
|
|
10427
|
+
"4XX": {
|
|
10428
|
+
headers: {
|
|
10429
|
+
[name: string]: unknown;
|
|
10430
|
+
};
|
|
10431
|
+
content: {
|
|
10432
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10433
|
+
};
|
|
10434
|
+
};
|
|
10435
|
+
/** @description Server Error */
|
|
10436
|
+
"5XX": {
|
|
10437
|
+
headers: {
|
|
10438
|
+
[name: string]: unknown;
|
|
10439
|
+
};
|
|
10440
|
+
content: {
|
|
10441
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10442
|
+
};
|
|
10443
|
+
};
|
|
10444
|
+
};
|
|
10445
|
+
};
|
|
10446
|
+
create_schedule_api_schedules_post: {
|
|
10447
|
+
parameters: {
|
|
10448
|
+
query?: never;
|
|
10449
|
+
header?: never;
|
|
10450
|
+
path?: never;
|
|
10451
|
+
cookie?: never;
|
|
10452
|
+
};
|
|
10453
|
+
requestBody: {
|
|
10454
|
+
content: {
|
|
10455
|
+
"application/json": components["schemas"]["ScheduleCreateInput"];
|
|
10456
|
+
};
|
|
10457
|
+
};
|
|
10458
|
+
responses: {
|
|
10459
|
+
/** @description Successful Response */
|
|
10460
|
+
201: {
|
|
10461
|
+
headers: {
|
|
10462
|
+
[name: string]: unknown;
|
|
10463
|
+
};
|
|
10464
|
+
content: {
|
|
10465
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10466
|
+
};
|
|
10467
|
+
};
|
|
10468
|
+
/** @description Client Error */
|
|
10469
|
+
"4XX": {
|
|
10470
|
+
headers: {
|
|
10471
|
+
[name: string]: unknown;
|
|
10472
|
+
};
|
|
10473
|
+
content: {
|
|
10474
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10475
|
+
};
|
|
10476
|
+
};
|
|
10477
|
+
/** @description Server Error */
|
|
10478
|
+
"5XX": {
|
|
10479
|
+
headers: {
|
|
10480
|
+
[name: string]: unknown;
|
|
10481
|
+
};
|
|
10482
|
+
content: {
|
|
10483
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10484
|
+
};
|
|
10485
|
+
};
|
|
10486
|
+
};
|
|
10487
|
+
};
|
|
10488
|
+
get_schedule_api_schedules__schedule_id__get: {
|
|
10489
|
+
parameters: {
|
|
10490
|
+
query?: never;
|
|
10491
|
+
header?: never;
|
|
10492
|
+
path: {
|
|
10493
|
+
schedule_id: string;
|
|
10494
|
+
};
|
|
10495
|
+
cookie?: never;
|
|
10496
|
+
};
|
|
10497
|
+
requestBody?: never;
|
|
10498
|
+
responses: {
|
|
10499
|
+
/** @description Successful Response */
|
|
10500
|
+
200: {
|
|
10501
|
+
headers: {
|
|
10502
|
+
[name: string]: unknown;
|
|
10503
|
+
};
|
|
10504
|
+
content: {
|
|
10505
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10506
|
+
};
|
|
10507
|
+
};
|
|
10508
|
+
/** @description Client Error */
|
|
10509
|
+
"4XX": {
|
|
10510
|
+
headers: {
|
|
10511
|
+
[name: string]: unknown;
|
|
10512
|
+
};
|
|
10513
|
+
content: {
|
|
10514
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10515
|
+
};
|
|
10516
|
+
};
|
|
10517
|
+
/** @description Server Error */
|
|
10518
|
+
"5XX": {
|
|
10519
|
+
headers: {
|
|
10520
|
+
[name: string]: unknown;
|
|
10521
|
+
};
|
|
10522
|
+
content: {
|
|
10523
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10524
|
+
};
|
|
10525
|
+
};
|
|
10526
|
+
};
|
|
10527
|
+
};
|
|
10528
|
+
delete_schedule_api_schedules__schedule_id__delete: {
|
|
10529
|
+
parameters: {
|
|
10530
|
+
query?: never;
|
|
10531
|
+
header?: never;
|
|
10532
|
+
path: {
|
|
10533
|
+
schedule_id: string;
|
|
10534
|
+
};
|
|
10535
|
+
cookie?: never;
|
|
10536
|
+
};
|
|
10537
|
+
requestBody?: never;
|
|
10538
|
+
responses: {
|
|
10539
|
+
/** @description Successful Response */
|
|
10540
|
+
200: {
|
|
10541
|
+
headers: {
|
|
10542
|
+
[name: string]: unknown;
|
|
10543
|
+
};
|
|
10544
|
+
content: {
|
|
10545
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
10546
|
+
};
|
|
10547
|
+
};
|
|
10548
|
+
/** @description Client Error */
|
|
10549
|
+
"4XX": {
|
|
10550
|
+
headers: {
|
|
10551
|
+
[name: string]: unknown;
|
|
10552
|
+
};
|
|
10553
|
+
content: {
|
|
10554
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10555
|
+
};
|
|
10556
|
+
};
|
|
10557
|
+
/** @description Server Error */
|
|
10558
|
+
"5XX": {
|
|
10559
|
+
headers: {
|
|
10560
|
+
[name: string]: unknown;
|
|
10561
|
+
};
|
|
10562
|
+
content: {
|
|
10563
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10564
|
+
};
|
|
10565
|
+
};
|
|
10566
|
+
};
|
|
10567
|
+
};
|
|
10568
|
+
update_schedule_api_schedules__schedule_id__patch: {
|
|
10569
|
+
parameters: {
|
|
10570
|
+
query?: never;
|
|
10571
|
+
header?: never;
|
|
10572
|
+
path: {
|
|
10573
|
+
schedule_id: string;
|
|
10574
|
+
};
|
|
10575
|
+
cookie?: never;
|
|
10576
|
+
};
|
|
10577
|
+
requestBody: {
|
|
10578
|
+
content: {
|
|
10579
|
+
"application/json": components["schemas"]["ScheduleUpdateInput"];
|
|
10580
|
+
};
|
|
10581
|
+
};
|
|
10582
|
+
responses: {
|
|
10583
|
+
/** @description Successful Response */
|
|
10584
|
+
200: {
|
|
10585
|
+
headers: {
|
|
10586
|
+
[name: string]: unknown;
|
|
10587
|
+
};
|
|
10588
|
+
content: {
|
|
10589
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10590
|
+
};
|
|
10591
|
+
};
|
|
10592
|
+
/** @description Client Error */
|
|
10593
|
+
"4XX": {
|
|
10594
|
+
headers: {
|
|
10595
|
+
[name: string]: unknown;
|
|
10596
|
+
};
|
|
10597
|
+
content: {
|
|
10598
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10599
|
+
};
|
|
10600
|
+
};
|
|
10601
|
+
/** @description Server Error */
|
|
10602
|
+
"5XX": {
|
|
10603
|
+
headers: {
|
|
10604
|
+
[name: string]: unknown;
|
|
10605
|
+
};
|
|
10606
|
+
content: {
|
|
10607
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10608
|
+
};
|
|
10609
|
+
};
|
|
10610
|
+
};
|
|
10611
|
+
};
|
|
10612
|
+
pause_schedule_api_schedules__schedule_id__pause_post: {
|
|
10613
|
+
parameters: {
|
|
10614
|
+
query?: never;
|
|
10615
|
+
header?: never;
|
|
10616
|
+
path: {
|
|
10617
|
+
schedule_id: string;
|
|
10618
|
+
};
|
|
10619
|
+
cookie?: never;
|
|
10620
|
+
};
|
|
10621
|
+
requestBody?: never;
|
|
10622
|
+
responses: {
|
|
10623
|
+
/** @description Successful Response */
|
|
10624
|
+
200: {
|
|
10625
|
+
headers: {
|
|
10626
|
+
[name: string]: unknown;
|
|
10627
|
+
};
|
|
10628
|
+
content: {
|
|
10629
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10630
|
+
};
|
|
10631
|
+
};
|
|
10632
|
+
/** @description Client Error */
|
|
10633
|
+
"4XX": {
|
|
10634
|
+
headers: {
|
|
10635
|
+
[name: string]: unknown;
|
|
10636
|
+
};
|
|
10637
|
+
content: {
|
|
10638
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10639
|
+
};
|
|
10640
|
+
};
|
|
10641
|
+
/** @description Server Error */
|
|
10642
|
+
"5XX": {
|
|
10643
|
+
headers: {
|
|
10644
|
+
[name: string]: unknown;
|
|
10645
|
+
};
|
|
10646
|
+
content: {
|
|
10647
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10648
|
+
};
|
|
10649
|
+
};
|
|
10650
|
+
};
|
|
10651
|
+
};
|
|
10652
|
+
resume_schedule_api_schedules__schedule_id__resume_post: {
|
|
10653
|
+
parameters: {
|
|
10654
|
+
query?: never;
|
|
10655
|
+
header?: never;
|
|
10656
|
+
path: {
|
|
10657
|
+
schedule_id: string;
|
|
10658
|
+
};
|
|
10659
|
+
cookie?: never;
|
|
10660
|
+
};
|
|
10661
|
+
requestBody?: never;
|
|
10662
|
+
responses: {
|
|
10663
|
+
/** @description Successful Response */
|
|
10664
|
+
200: {
|
|
10665
|
+
headers: {
|
|
10666
|
+
[name: string]: unknown;
|
|
10667
|
+
};
|
|
10668
|
+
content: {
|
|
10669
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10670
|
+
};
|
|
10671
|
+
};
|
|
10672
|
+
/** @description Client Error */
|
|
10673
|
+
"4XX": {
|
|
10674
|
+
headers: {
|
|
10675
|
+
[name: string]: unknown;
|
|
10676
|
+
};
|
|
10677
|
+
content: {
|
|
10678
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10679
|
+
};
|
|
10680
|
+
};
|
|
10681
|
+
/** @description Server Error */
|
|
10682
|
+
"5XX": {
|
|
10683
|
+
headers: {
|
|
10684
|
+
[name: string]: unknown;
|
|
10685
|
+
};
|
|
10686
|
+
content: {
|
|
10687
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10688
|
+
};
|
|
10689
|
+
};
|
|
10690
|
+
};
|
|
10691
|
+
};
|
|
10692
|
+
run_schedule_now_api_schedules__schedule_id__run_post: {
|
|
10693
|
+
parameters: {
|
|
10694
|
+
query?: never;
|
|
10695
|
+
header?: never;
|
|
10696
|
+
path: {
|
|
10697
|
+
schedule_id: string;
|
|
10698
|
+
};
|
|
10699
|
+
cookie?: never;
|
|
10700
|
+
};
|
|
10701
|
+
requestBody?: never;
|
|
10702
|
+
responses: {
|
|
10703
|
+
/** @description Successful Response */
|
|
10704
|
+
200: {
|
|
10705
|
+
headers: {
|
|
10706
|
+
[name: string]: unknown;
|
|
10707
|
+
};
|
|
10708
|
+
content: {
|
|
10709
|
+
"application/json": components["schemas"]["ScheduleRunView"];
|
|
10710
|
+
};
|
|
10711
|
+
};
|
|
10712
|
+
/** @description Client Error */
|
|
10713
|
+
"4XX": {
|
|
10714
|
+
headers: {
|
|
10715
|
+
[name: string]: unknown;
|
|
10716
|
+
};
|
|
10717
|
+
content: {
|
|
10718
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10719
|
+
};
|
|
10720
|
+
};
|
|
10721
|
+
/** @description Server Error */
|
|
10722
|
+
"5XX": {
|
|
10723
|
+
headers: {
|
|
10724
|
+
[name: string]: unknown;
|
|
10725
|
+
};
|
|
10726
|
+
content: {
|
|
10727
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10728
|
+
};
|
|
10729
|
+
};
|
|
10730
|
+
};
|
|
10731
|
+
};
|
|
10732
|
+
list_schedule_runs_api_schedules__schedule_id__runs_get: {
|
|
10733
|
+
parameters: {
|
|
10734
|
+
query?: {
|
|
10735
|
+
limit?: number;
|
|
10736
|
+
};
|
|
10737
|
+
header?: never;
|
|
10738
|
+
path: {
|
|
10739
|
+
schedule_id: string;
|
|
10740
|
+
};
|
|
10741
|
+
cookie?: never;
|
|
10742
|
+
};
|
|
10743
|
+
requestBody?: never;
|
|
10744
|
+
responses: {
|
|
10745
|
+
/** @description Successful Response */
|
|
10746
|
+
200: {
|
|
10747
|
+
headers: {
|
|
10748
|
+
[name: string]: unknown;
|
|
10749
|
+
};
|
|
10750
|
+
content: {
|
|
10751
|
+
"application/json": components["schemas"]["ScheduleRunListResponse"];
|
|
10752
|
+
};
|
|
10753
|
+
};
|
|
10754
|
+
/** @description Client Error */
|
|
10755
|
+
"4XX": {
|
|
10756
|
+
headers: {
|
|
10757
|
+
[name: string]: unknown;
|
|
10758
|
+
};
|
|
10759
|
+
content: {
|
|
10760
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10761
|
+
};
|
|
10762
|
+
};
|
|
10763
|
+
/** @description Server Error */
|
|
10764
|
+
"5XX": {
|
|
10765
|
+
headers: {
|
|
10766
|
+
[name: string]: unknown;
|
|
10767
|
+
};
|
|
10768
|
+
content: {
|
|
10769
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10770
|
+
};
|
|
10771
|
+
};
|
|
10772
|
+
};
|
|
10773
|
+
};
|
|
10774
|
+
get_public_status_api_status_get: {
|
|
10775
|
+
parameters: {
|
|
10776
|
+
query?: never;
|
|
10777
|
+
header?: never;
|
|
10778
|
+
path?: never;
|
|
10779
|
+
cookie?: never;
|
|
10780
|
+
};
|
|
10781
|
+
requestBody?: never;
|
|
10782
|
+
responses: {
|
|
10783
|
+
/** @description Successful Response */
|
|
10784
|
+
200: {
|
|
10785
|
+
headers: {
|
|
10786
|
+
[name: string]: unknown;
|
|
10787
|
+
};
|
|
10788
|
+
content: {
|
|
10789
|
+
"application/json": components["schemas"]["PublicStatus"];
|
|
10790
|
+
};
|
|
10791
|
+
};
|
|
10792
|
+
/** @description Client Error */
|
|
10793
|
+
"4XX": {
|
|
10794
|
+
headers: {
|
|
10795
|
+
[name: string]: unknown;
|
|
10796
|
+
};
|
|
10797
|
+
content: {
|
|
10798
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10799
|
+
};
|
|
10800
|
+
};
|
|
10801
|
+
/** @description Server Error */
|
|
10802
|
+
"5XX": {
|
|
10803
|
+
headers: {
|
|
10804
|
+
[name: string]: unknown;
|
|
10805
|
+
};
|
|
10806
|
+
content: {
|
|
10807
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10808
|
+
};
|
|
10809
|
+
};
|
|
10810
|
+
};
|
|
10811
|
+
};
|
|
10812
|
+
get_me_api_users_me_get: {
|
|
10813
|
+
parameters: {
|
|
10814
|
+
query?: never;
|
|
10815
|
+
header?: never;
|
|
10816
|
+
path?: never;
|
|
10817
|
+
cookie?: never;
|
|
10818
|
+
};
|
|
10819
|
+
requestBody?: never;
|
|
10820
|
+
responses: {
|
|
10821
|
+
/** @description Successful Response */
|
|
10822
|
+
200: {
|
|
10823
|
+
headers: {
|
|
10824
|
+
[name: string]: unknown;
|
|
10825
|
+
};
|
|
10826
|
+
content: {
|
|
10827
|
+
"application/json": components["schemas"]["UserProfile"];
|
|
10828
|
+
};
|
|
10829
|
+
};
|
|
10830
|
+
/** @description Client Error */
|
|
10831
|
+
"4XX": {
|
|
10832
|
+
headers: {
|
|
10833
|
+
[name: string]: unknown;
|
|
10834
|
+
};
|
|
10835
|
+
content: {
|
|
10836
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10837
|
+
};
|
|
10838
|
+
};
|
|
10839
|
+
/** @description Server Error */
|
|
10840
|
+
"5XX": {
|
|
10841
|
+
headers: {
|
|
10842
|
+
[name: string]: unknown;
|
|
10843
|
+
};
|
|
10844
|
+
content: {
|
|
10845
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10846
|
+
};
|
|
10847
|
+
};
|
|
10848
|
+
};
|
|
10849
|
+
};
|
|
10850
|
+
update_current_user_api_users_me_patch: {
|
|
10851
|
+
parameters: {
|
|
10852
|
+
query?: never;
|
|
10853
|
+
header?: never;
|
|
10854
|
+
path?: never;
|
|
10855
|
+
cookie?: never;
|
|
10856
|
+
};
|
|
10857
|
+
requestBody: {
|
|
10858
|
+
content: {
|
|
10859
|
+
"application/json": components["schemas"]["UserUpdateInput"];
|
|
10860
|
+
};
|
|
10861
|
+
};
|
|
10862
|
+
responses: {
|
|
10863
|
+
/** @description Successful Response */
|
|
10864
|
+
200: {
|
|
10865
|
+
headers: {
|
|
10866
|
+
[name: string]: unknown;
|
|
10867
|
+
};
|
|
10868
|
+
content: {
|
|
10869
|
+
"application/json": components["schemas"]["UserProfile"];
|
|
10870
|
+
};
|
|
10871
|
+
};
|
|
10872
|
+
/** @description Client Error */
|
|
10873
|
+
"4XX": {
|
|
10874
|
+
headers: {
|
|
10875
|
+
[name: string]: unknown;
|
|
10876
|
+
};
|
|
10877
|
+
content: {
|
|
10878
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10879
|
+
};
|
|
10880
|
+
};
|
|
10881
|
+
/** @description Server Error */
|
|
10882
|
+
"5XX": {
|
|
10883
|
+
headers: {
|
|
10884
|
+
[name: string]: unknown;
|
|
10885
|
+
};
|
|
10886
|
+
content: {
|
|
10887
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10888
|
+
};
|
|
10889
|
+
};
|
|
10890
|
+
};
|
|
10891
|
+
};
|
|
10892
|
+
get_my_entitlement_api_users_me_entitlement_get: {
|
|
10893
|
+
parameters: {
|
|
10894
|
+
query?: never;
|
|
10895
|
+
header?: never;
|
|
10896
|
+
path?: never;
|
|
10897
|
+
cookie?: never;
|
|
10898
|
+
};
|
|
10899
|
+
requestBody?: never;
|
|
8838
10900
|
responses: {
|
|
8839
10901
|
/** @description Successful Response */
|
|
8840
10902
|
200: {
|
|
@@ -9441,7 +11503,7 @@ declare interface paths {
|
|
|
9441
11503
|
patch?: never;
|
|
9442
11504
|
trace?: never;
|
|
9443
11505
|
};
|
|
9444
|
-
"/api/admin/
|
|
11506
|
+
"/api/admin/connectors": {
|
|
9445
11507
|
parameters: {
|
|
9446
11508
|
query?: never;
|
|
9447
11509
|
header?: never;
|
|
@@ -9449,12 +11511,60 @@ declare interface paths {
|
|
|
9449
11511
|
cookie?: never;
|
|
9450
11512
|
};
|
|
9451
11513
|
/**
|
|
9452
|
-
* List
|
|
9453
|
-
* @description List
|
|
11514
|
+
* Admin List Connectors
|
|
11515
|
+
* @description List code-defined and admin-managed connectors.
|
|
9454
11516
|
*/
|
|
9455
|
-
get: operations["
|
|
11517
|
+
get: operations["admin_list_connectors_api_admin_connectors_get"];
|
|
11518
|
+
put?: never;
|
|
11519
|
+
/**
|
|
11520
|
+
* Admin Create Connector
|
|
11521
|
+
* @description Register a new admin-managed remote MCP connector.
|
|
11522
|
+
*/
|
|
11523
|
+
post: operations["admin_create_connector_api_admin_connectors_post"];
|
|
11524
|
+
delete?: never;
|
|
11525
|
+
options?: never;
|
|
11526
|
+
head?: never;
|
|
11527
|
+
patch?: never;
|
|
11528
|
+
trace?: never;
|
|
11529
|
+
};
|
|
11530
|
+
"/api/admin/connectors/{connector_id}": {
|
|
11531
|
+
parameters: {
|
|
11532
|
+
query?: never;
|
|
11533
|
+
header?: never;
|
|
11534
|
+
path?: never;
|
|
11535
|
+
cookie?: never;
|
|
11536
|
+
};
|
|
11537
|
+
get?: never;
|
|
9456
11538
|
put?: never;
|
|
9457
11539
|
post?: never;
|
|
11540
|
+
/**
|
|
11541
|
+
* Admin Delete Connector
|
|
11542
|
+
* @description Delete an admin-managed connector and all associated user connections.
|
|
11543
|
+
*/
|
|
11544
|
+
delete: operations["admin_delete_connector_api_admin_connectors__connector_id__delete"];
|
|
11545
|
+
options?: never;
|
|
11546
|
+
head?: never;
|
|
11547
|
+
/**
|
|
11548
|
+
* Admin Update Connector
|
|
11549
|
+
* @description Update an admin-managed connector (or toggle ``global_enabled`` on a code connector).
|
|
11550
|
+
*/
|
|
11551
|
+
patch: operations["admin_update_connector_api_admin_connectors__connector_id__patch"];
|
|
11552
|
+
trace?: never;
|
|
11553
|
+
};
|
|
11554
|
+
"/api/admin/connectors/{connector_id}/test": {
|
|
11555
|
+
parameters: {
|
|
11556
|
+
query?: never;
|
|
11557
|
+
header?: never;
|
|
11558
|
+
path?: never;
|
|
11559
|
+
cookie?: never;
|
|
11560
|
+
};
|
|
11561
|
+
get?: never;
|
|
11562
|
+
put?: never;
|
|
11563
|
+
/**
|
|
11564
|
+
* Admin Test Connector
|
|
11565
|
+
* @description Test connectivity and tool discovery for an admin-managed connector.
|
|
11566
|
+
*/
|
|
11567
|
+
post: operations["admin_test_connector_api_admin_connectors__connector_id__test_post"];
|
|
9458
11568
|
delete?: never;
|
|
9459
11569
|
options?: never;
|
|
9460
11570
|
head?: never;
|
|
@@ -9638,26 +11748,6 @@ declare interface paths {
|
|
|
9638
11748
|
patch?: never;
|
|
9639
11749
|
trace?: never;
|
|
9640
11750
|
};
|
|
9641
|
-
"/api/admin/jobs/{job_id}/cancel": {
|
|
9642
|
-
parameters: {
|
|
9643
|
-
query?: never;
|
|
9644
|
-
header?: never;
|
|
9645
|
-
path?: never;
|
|
9646
|
-
cookie?: never;
|
|
9647
|
-
};
|
|
9648
|
-
get?: never;
|
|
9649
|
-
put?: never;
|
|
9650
|
-
/**
|
|
9651
|
-
* Cancel Job
|
|
9652
|
-
* @description Cancel a background job.
|
|
9653
|
-
*/
|
|
9654
|
-
post: operations["cancel_job_api_admin_jobs__job_id__cancel_post"];
|
|
9655
|
-
delete?: never;
|
|
9656
|
-
options?: never;
|
|
9657
|
-
head?: never;
|
|
9658
|
-
patch?: never;
|
|
9659
|
-
trace?: never;
|
|
9660
|
-
};
|
|
9661
11751
|
"/api/admin/login": {
|
|
9662
11752
|
parameters: {
|
|
9663
11753
|
query?: never;
|
|
@@ -9770,20 +11860,126 @@ declare interface paths {
|
|
|
9770
11860
|
put?: never;
|
|
9771
11861
|
post?: never;
|
|
9772
11862
|
/**
|
|
9773
|
-
* Delete Plan
|
|
9774
|
-
* @description Delete a plan. While anyone is on it, ``replace_with`` names the plan they move to.
|
|
11863
|
+
* Delete Plan
|
|
11864
|
+
* @description Delete a plan. While anyone is on it, ``replace_with`` names the plan they move to.
|
|
11865
|
+
*/
|
|
11866
|
+
delete: operations["delete_plan_api_admin_plans__key__delete"];
|
|
11867
|
+
options?: never;
|
|
11868
|
+
head?: never;
|
|
11869
|
+
/**
|
|
11870
|
+
* Update Plan
|
|
11871
|
+
* @description Edit a plan. Every subscriber sees the change on their next turn; usage is untouched.
|
|
11872
|
+
*/
|
|
11873
|
+
patch: operations["update_plan_api_admin_plans__key__patch"];
|
|
11874
|
+
trace?: never;
|
|
11875
|
+
};
|
|
11876
|
+
"/api/admin/plans/{key}/features": {
|
|
11877
|
+
parameters: {
|
|
11878
|
+
query?: never;
|
|
11879
|
+
header?: never;
|
|
11880
|
+
path?: never;
|
|
11881
|
+
cookie?: never;
|
|
11882
|
+
};
|
|
11883
|
+
get?: never;
|
|
11884
|
+
/**
|
|
11885
|
+
* Set Plan Features
|
|
11886
|
+
* @description Switch features on or off for a plan, including one declared in code.
|
|
11887
|
+
*
|
|
11888
|
+
* Subscribers get the change on their next turn.
|
|
11889
|
+
*/
|
|
11890
|
+
put: operations["set_plan_features_api_admin_plans__key__features_put"];
|
|
11891
|
+
post?: never;
|
|
11892
|
+
delete?: never;
|
|
11893
|
+
options?: never;
|
|
11894
|
+
head?: never;
|
|
11895
|
+
patch?: never;
|
|
11896
|
+
trace?: never;
|
|
11897
|
+
};
|
|
11898
|
+
"/api/admin/reports": {
|
|
11899
|
+
parameters: {
|
|
11900
|
+
query?: never;
|
|
11901
|
+
header?: never;
|
|
11902
|
+
path?: never;
|
|
11903
|
+
cookie?: never;
|
|
11904
|
+
};
|
|
11905
|
+
/**
|
|
11906
|
+
* List Reports
|
|
11907
|
+
* @description List user-submitted feedback reports, newest first.
|
|
11908
|
+
*/
|
|
11909
|
+
get: operations["list_reports_api_admin_reports_get"];
|
|
11910
|
+
put?: never;
|
|
11911
|
+
post?: never;
|
|
11912
|
+
delete?: never;
|
|
11913
|
+
options?: never;
|
|
11914
|
+
head?: never;
|
|
11915
|
+
patch?: never;
|
|
11916
|
+
trace?: never;
|
|
11917
|
+
};
|
|
11918
|
+
"/api/admin/reports/{report_id}": {
|
|
11919
|
+
parameters: {
|
|
11920
|
+
query?: never;
|
|
11921
|
+
header?: never;
|
|
11922
|
+
path?: never;
|
|
11923
|
+
cookie?: never;
|
|
11924
|
+
};
|
|
11925
|
+
get?: never;
|
|
11926
|
+
put?: never;
|
|
11927
|
+
post?: never;
|
|
11928
|
+
/**
|
|
11929
|
+
* Delete Report
|
|
11930
|
+
* @description Delete a user report and any attachment it claimed.
|
|
11931
|
+
*/
|
|
11932
|
+
delete: operations["delete_report_api_admin_reports__report_id__delete"];
|
|
11933
|
+
options?: never;
|
|
11934
|
+
head?: never;
|
|
11935
|
+
/**
|
|
11936
|
+
* Update Report Status
|
|
11937
|
+
* @description Mark a report open or resolved.
|
|
11938
|
+
*/
|
|
11939
|
+
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
11940
|
+
trace?: never;
|
|
11941
|
+
};
|
|
11942
|
+
"/api/admin/reports/{report_id}/attachment": {
|
|
11943
|
+
parameters: {
|
|
11944
|
+
query?: never;
|
|
11945
|
+
header?: never;
|
|
11946
|
+
path?: never;
|
|
11947
|
+
cookie?: never;
|
|
11948
|
+
};
|
|
11949
|
+
/**
|
|
11950
|
+
* Get Report Attachment
|
|
11951
|
+
* @description Serve the file attached to a user report.
|
|
11952
|
+
*/
|
|
11953
|
+
get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
|
|
11954
|
+
put?: never;
|
|
11955
|
+
post?: never;
|
|
11956
|
+
delete?: never;
|
|
11957
|
+
options?: never;
|
|
11958
|
+
head?: never;
|
|
11959
|
+
patch?: never;
|
|
11960
|
+
trace?: never;
|
|
11961
|
+
};
|
|
11962
|
+
"/api/admin/schedules": {
|
|
11963
|
+
parameters: {
|
|
11964
|
+
query?: never;
|
|
11965
|
+
header?: never;
|
|
11966
|
+
path?: never;
|
|
11967
|
+
cookie?: never;
|
|
11968
|
+
};
|
|
11969
|
+
/**
|
|
11970
|
+
* Admin List Schedules
|
|
11971
|
+
* @description List scheduled tasks across all users for the admin Operations tab.
|
|
9775
11972
|
*/
|
|
9776
|
-
|
|
11973
|
+
get: operations["admin_list_schedules_api_admin_schedules_get"];
|
|
11974
|
+
put?: never;
|
|
11975
|
+
post?: never;
|
|
11976
|
+
delete?: never;
|
|
9777
11977
|
options?: never;
|
|
9778
11978
|
head?: never;
|
|
9779
|
-
|
|
9780
|
-
* Update Plan
|
|
9781
|
-
* @description Edit a plan. Every subscriber sees the change on their next turn; usage is untouched.
|
|
9782
|
-
*/
|
|
9783
|
-
patch: operations["update_plan_api_admin_plans__key__patch"];
|
|
11979
|
+
patch?: never;
|
|
9784
11980
|
trace?: never;
|
|
9785
11981
|
};
|
|
9786
|
-
"/api/admin/
|
|
11982
|
+
"/api/admin/schedules/{schedule_id}": {
|
|
9787
11983
|
parameters: {
|
|
9788
11984
|
query?: never;
|
|
9789
11985
|
header?: never;
|
|
@@ -9791,41 +11987,39 @@ declare interface paths {
|
|
|
9791
11987
|
cookie?: never;
|
|
9792
11988
|
};
|
|
9793
11989
|
get?: never;
|
|
11990
|
+
put?: never;
|
|
11991
|
+
post?: never;
|
|
9794
11992
|
/**
|
|
9795
|
-
*
|
|
9796
|
-
* @description
|
|
9797
|
-
*
|
|
9798
|
-
* Subscribers get the change on their next turn.
|
|
11993
|
+
* Admin Delete Schedule
|
|
11994
|
+
* @description Delete any user's scheduled task as an administrator.
|
|
9799
11995
|
*/
|
|
9800
|
-
|
|
9801
|
-
post?: never;
|
|
9802
|
-
delete?: never;
|
|
11996
|
+
delete: operations["admin_delete_schedule_api_admin_schedules__schedule_id__delete"];
|
|
9803
11997
|
options?: never;
|
|
9804
11998
|
head?: never;
|
|
9805
11999
|
patch?: never;
|
|
9806
12000
|
trace?: never;
|
|
9807
12001
|
};
|
|
9808
|
-
"/api/admin/
|
|
12002
|
+
"/api/admin/schedules/{schedule_id}/pause": {
|
|
9809
12003
|
parameters: {
|
|
9810
12004
|
query?: never;
|
|
9811
12005
|
header?: never;
|
|
9812
12006
|
path?: never;
|
|
9813
12007
|
cookie?: never;
|
|
9814
12008
|
};
|
|
12009
|
+
get?: never;
|
|
12010
|
+
put?: never;
|
|
9815
12011
|
/**
|
|
9816
|
-
*
|
|
9817
|
-
* @description
|
|
12012
|
+
* Admin Pause Schedule
|
|
12013
|
+
* @description Pause any user's scheduled task as an administrator.
|
|
9818
12014
|
*/
|
|
9819
|
-
|
|
9820
|
-
put?: never;
|
|
9821
|
-
post?: never;
|
|
12015
|
+
post: operations["admin_pause_schedule_api_admin_schedules__schedule_id__pause_post"];
|
|
9822
12016
|
delete?: never;
|
|
9823
12017
|
options?: never;
|
|
9824
12018
|
head?: never;
|
|
9825
12019
|
patch?: never;
|
|
9826
12020
|
trace?: never;
|
|
9827
12021
|
};
|
|
9828
|
-
"/api/admin/
|
|
12022
|
+
"/api/admin/schedules/{schedule_id}/resume": {
|
|
9829
12023
|
parameters: {
|
|
9830
12024
|
query?: never;
|
|
9831
12025
|
header?: never;
|
|
@@ -9834,22 +12028,18 @@ declare interface paths {
|
|
|
9834
12028
|
};
|
|
9835
12029
|
get?: never;
|
|
9836
12030
|
put?: never;
|
|
9837
|
-
post?: never;
|
|
9838
12031
|
/**
|
|
9839
|
-
*
|
|
9840
|
-
* @description
|
|
12032
|
+
* Admin Resume Schedule
|
|
12033
|
+
* @description Resume any user's scheduled task as an administrator.
|
|
9841
12034
|
*/
|
|
9842
|
-
|
|
12035
|
+
post: operations["admin_resume_schedule_api_admin_schedules__schedule_id__resume_post"];
|
|
12036
|
+
delete?: never;
|
|
9843
12037
|
options?: never;
|
|
9844
12038
|
head?: never;
|
|
9845
|
-
|
|
9846
|
-
* Update Report Status
|
|
9847
|
-
* @description Mark a report open or resolved.
|
|
9848
|
-
*/
|
|
9849
|
-
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
12039
|
+
patch?: never;
|
|
9850
12040
|
trace?: never;
|
|
9851
12041
|
};
|
|
9852
|
-
"/api/admin/
|
|
12042
|
+
"/api/admin/schedules/{schedule_id}/runs": {
|
|
9853
12043
|
parameters: {
|
|
9854
12044
|
query?: never;
|
|
9855
12045
|
header?: never;
|
|
@@ -9857,10 +12047,10 @@ declare interface paths {
|
|
|
9857
12047
|
cookie?: never;
|
|
9858
12048
|
};
|
|
9859
12049
|
/**
|
|
9860
|
-
*
|
|
9861
|
-
* @description
|
|
12050
|
+
* Admin List Schedule Runs
|
|
12051
|
+
* @description List recent runs of any user's scheduled task.
|
|
9862
12052
|
*/
|
|
9863
|
-
get: operations["
|
|
12053
|
+
get: operations["admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get"];
|
|
9864
12054
|
put?: never;
|
|
9865
12055
|
post?: never;
|
|
9866
12056
|
delete?: never;
|
|
@@ -9897,6 +12087,26 @@ declare interface paths {
|
|
|
9897
12087
|
patch: operations["update_app_settings_api_admin_settings_patch"];
|
|
9898
12088
|
trace?: never;
|
|
9899
12089
|
};
|
|
12090
|
+
"/api/admin/settings/icon": {
|
|
12091
|
+
parameters: {
|
|
12092
|
+
query?: never;
|
|
12093
|
+
header?: never;
|
|
12094
|
+
path?: never;
|
|
12095
|
+
cookie?: never;
|
|
12096
|
+
};
|
|
12097
|
+
get?: never;
|
|
12098
|
+
put?: never;
|
|
12099
|
+
/**
|
|
12100
|
+
* Upload Branding Icon
|
|
12101
|
+
* @description Upload a raster image (PNG, JPEG, GIF, WebP or ICO) for the app logo or favicon.
|
|
12102
|
+
*/
|
|
12103
|
+
post: operations["upload_branding_icon_api_admin_settings_icon_post"];
|
|
12104
|
+
delete?: never;
|
|
12105
|
+
options?: never;
|
|
12106
|
+
head?: never;
|
|
12107
|
+
patch?: never;
|
|
12108
|
+
trace?: never;
|
|
12109
|
+
};
|
|
9900
12110
|
"/api/admin/setup-status": {
|
|
9901
12111
|
parameters: {
|
|
9902
12112
|
query?: never;
|
|
@@ -10280,7 +12490,7 @@ declare interface paths {
|
|
|
10280
12490
|
patch?: never;
|
|
10281
12491
|
trace?: never;
|
|
10282
12492
|
};
|
|
10283
|
-
"/api/
|
|
12493
|
+
"/api/chat": {
|
|
10284
12494
|
parameters: {
|
|
10285
12495
|
query?: never;
|
|
10286
12496
|
header?: never;
|
|
@@ -10290,29 +12500,76 @@ declare interface paths {
|
|
|
10290
12500
|
get?: never;
|
|
10291
12501
|
put?: never;
|
|
10292
12502
|
/**
|
|
10293
|
-
*
|
|
10294
|
-
* @description
|
|
10295
|
-
* ``external_id``, and return a JWT. Protected by an API key.
|
|
12503
|
+
* Chat
|
|
12504
|
+
* @description Sends a message and streams the reply.
|
|
10296
12505
|
*
|
|
10297
|
-
*
|
|
10298
|
-
*
|
|
12506
|
+
* The body is the new message and the stored message it follows; the server loads the rest of
|
|
12507
|
+
* the thread from the store, and the context policy chooses what of it the model sees. Sending
|
|
12508
|
+
* a stored message's id again after the same parent retries it, replacing what followed.
|
|
10299
12509
|
*
|
|
10300
|
-
*
|
|
12510
|
+
* In a thread, the turn runs on the server to its end whether or not the response is read: its
|
|
12511
|
+
* stream opens with a `data-turn` part naming it, and
|
|
12512
|
+
* `GET /chat/threads/{thread_id}/turns/{turn_id}/stream` reads it again from any point. Only
|
|
12513
|
+
* `POST /chat/threads/{thread_id}/stop`, or a new message in the thread, stops it; a new message
|
|
12514
|
+
* waits until the turn before it is saved. A turn without a thread stops when its response is closed.
|
|
10301
12515
|
*
|
|
10302
|
-
*
|
|
10303
|
-
*
|
|
10304
|
-
*
|
|
12516
|
+
* Everything up to the response reaches the database or the file store synchronously,
|
|
12517
|
+
* so it runs in the threadpool: nothing here may hold up the event loop, which every
|
|
12518
|
+
* other request, every open stream and the health check are waiting on.
|
|
12519
|
+
*/
|
|
12520
|
+
post: operations["chat_api_chat_post"];
|
|
12521
|
+
delete?: never;
|
|
12522
|
+
options?: never;
|
|
12523
|
+
head?: never;
|
|
12524
|
+
patch?: never;
|
|
12525
|
+
trace?: never;
|
|
12526
|
+
};
|
|
12527
|
+
"/api/chat/attachments": {
|
|
12528
|
+
parameters: {
|
|
12529
|
+
query?: never;
|
|
12530
|
+
header?: never;
|
|
12531
|
+
path?: never;
|
|
12532
|
+
cookie?: never;
|
|
12533
|
+
};
|
|
12534
|
+
get?: never;
|
|
12535
|
+
put?: never;
|
|
12536
|
+
/**
|
|
12537
|
+
* Upload Attachment
|
|
12538
|
+
* @description Uploads a file for a message the user is about to send.
|
|
10305
12539
|
*
|
|
10306
|
-
*
|
|
12540
|
+
* The body is the file, with its media type as the ``Content-Type``. A file part of the message
|
|
12541
|
+
* names the answer's ``id`` as its ``attachmentId``, and sending the message adds the file to its
|
|
12542
|
+
* thread. A file no message names within 24 hours is deleted. ``GET /config`` lists the types
|
|
12543
|
+
* accepted and the largest size, under ``attachments``.
|
|
10307
12544
|
*/
|
|
10308
|
-
post: operations["
|
|
12545
|
+
post: operations["upload_attachment_api_chat_attachments_post"];
|
|
10309
12546
|
delete?: never;
|
|
10310
12547
|
options?: never;
|
|
10311
12548
|
head?: never;
|
|
10312
12549
|
patch?: never;
|
|
10313
12550
|
trace?: never;
|
|
10314
12551
|
};
|
|
10315
|
-
"/api/chat": {
|
|
12552
|
+
"/api/chat/attachments/{attachment_id}": {
|
|
12553
|
+
parameters: {
|
|
12554
|
+
query?: never;
|
|
12555
|
+
header?: never;
|
|
12556
|
+
path?: never;
|
|
12557
|
+
cookie?: never;
|
|
12558
|
+
};
|
|
12559
|
+
/**
|
|
12560
|
+
* Get Attachment
|
|
12561
|
+
* @description Proxies a secure attachment from storage to the authenticated user.
|
|
12562
|
+
*/
|
|
12563
|
+
get: operations["get_attachment_api_chat_attachments__attachment_id__get"];
|
|
12564
|
+
put?: never;
|
|
12565
|
+
post?: never;
|
|
12566
|
+
delete?: never;
|
|
12567
|
+
options?: never;
|
|
12568
|
+
head?: never;
|
|
12569
|
+
patch?: never;
|
|
12570
|
+
trace?: never;
|
|
12571
|
+
};
|
|
12572
|
+
"/api/chat/feedback": {
|
|
10316
12573
|
parameters: {
|
|
10317
12574
|
query?: never;
|
|
10318
12575
|
header?: never;
|
|
@@ -10322,31 +12579,139 @@ declare interface paths {
|
|
|
10322
12579
|
get?: never;
|
|
10323
12580
|
put?: never;
|
|
10324
12581
|
/**
|
|
10325
|
-
*
|
|
10326
|
-
* @description
|
|
12582
|
+
* Save Feedback
|
|
12583
|
+
* @description Saves user feedback (sentiment) for a specific assistant message.
|
|
12584
|
+
*/
|
|
12585
|
+
post: operations["save_feedback_api_chat_feedback_post"];
|
|
12586
|
+
delete?: never;
|
|
12587
|
+
options?: never;
|
|
12588
|
+
head?: never;
|
|
12589
|
+
patch?: never;
|
|
12590
|
+
trace?: never;
|
|
12591
|
+
};
|
|
12592
|
+
"/api/chat/threads": {
|
|
12593
|
+
parameters: {
|
|
12594
|
+
query?: never;
|
|
12595
|
+
header?: never;
|
|
12596
|
+
path?: never;
|
|
12597
|
+
cookie?: never;
|
|
12598
|
+
};
|
|
12599
|
+
/**
|
|
12600
|
+
* List Threads
|
|
12601
|
+
* @description Lists the user's threads, pinned first and then by last activity, optionally those whose
|
|
12602
|
+
* title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
|
|
12603
|
+
*/
|
|
12604
|
+
get: operations["list_threads_api_chat_threads_get"];
|
|
12605
|
+
put?: never;
|
|
12606
|
+
post?: never;
|
|
12607
|
+
delete?: never;
|
|
12608
|
+
options?: never;
|
|
12609
|
+
head?: never;
|
|
12610
|
+
patch?: never;
|
|
12611
|
+
trace?: never;
|
|
12612
|
+
};
|
|
12613
|
+
"/api/chat/threads/{thread_id}": {
|
|
12614
|
+
parameters: {
|
|
12615
|
+
query?: never;
|
|
12616
|
+
header?: never;
|
|
12617
|
+
path?: never;
|
|
12618
|
+
cookie?: never;
|
|
12619
|
+
};
|
|
12620
|
+
/**
|
|
12621
|
+
* Get Thread Messages
|
|
12622
|
+
* @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
|
|
12623
|
+
* page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
|
|
10327
12624
|
*
|
|
10328
|
-
* The
|
|
10329
|
-
|
|
10330
|
-
|
|
12625
|
+
* The last page says whether the thread's last turn is still running, or failed.
|
|
12626
|
+
*/
|
|
12627
|
+
get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
|
|
12628
|
+
put?: never;
|
|
12629
|
+
post?: never;
|
|
12630
|
+
/**
|
|
12631
|
+
* Delete Thread
|
|
12632
|
+
* @description Deletes a chat thread and its associated message history.
|
|
12633
|
+
*/
|
|
12634
|
+
delete: operations["delete_thread_api_chat_threads__thread_id__delete"];
|
|
12635
|
+
options?: never;
|
|
12636
|
+
head?: never;
|
|
12637
|
+
/**
|
|
12638
|
+
* Update Thread
|
|
12639
|
+
* @description Updates thread metadata (e.g., title) for the authenticated user.
|
|
12640
|
+
*/
|
|
12641
|
+
patch: operations["update_thread_api_chat_threads__thread_id__patch"];
|
|
12642
|
+
trace?: never;
|
|
12643
|
+
};
|
|
12644
|
+
"/api/chat/threads/{thread_id}/share": {
|
|
12645
|
+
parameters: {
|
|
12646
|
+
query?: never;
|
|
12647
|
+
header?: never;
|
|
12648
|
+
path?: never;
|
|
12649
|
+
cookie?: never;
|
|
12650
|
+
};
|
|
12651
|
+
get?: never;
|
|
12652
|
+
put?: never;
|
|
12653
|
+
/**
|
|
12654
|
+
* Share Thread
|
|
12655
|
+
* @description Generates a public readonly snapshot of a chat thread.
|
|
12656
|
+
*/
|
|
12657
|
+
post: operations["share_thread_api_chat_threads__thread_id__share_post"];
|
|
12658
|
+
/**
|
|
12659
|
+
* Unshare Thread
|
|
12660
|
+
* @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
|
|
12661
|
+
*/
|
|
12662
|
+
delete: operations["unshare_thread_api_chat_threads__thread_id__share_delete"];
|
|
12663
|
+
options?: never;
|
|
12664
|
+
head?: never;
|
|
12665
|
+
patch?: never;
|
|
12666
|
+
trace?: never;
|
|
12667
|
+
};
|
|
12668
|
+
"/api/chat/threads/{thread_id}/stop": {
|
|
12669
|
+
parameters: {
|
|
12670
|
+
query?: never;
|
|
12671
|
+
header?: never;
|
|
12672
|
+
path?: never;
|
|
12673
|
+
cookie?: never;
|
|
12674
|
+
};
|
|
12675
|
+
get?: never;
|
|
12676
|
+
put?: never;
|
|
12677
|
+
/**
|
|
12678
|
+
* Stop Turn
|
|
12679
|
+
* @description Stops the turn the thread is running, on whichever worker runs it.
|
|
10331
12680
|
*
|
|
10332
|
-
*
|
|
10333
|
-
* stream
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
12681
|
+
* The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
|
|
12682
|
+
* the turn's stream ends as a finished one does. Without a running turn it does nothing.
|
|
12683
|
+
*/
|
|
12684
|
+
post: operations["stop_turn_api_chat_threads__thread_id__stop_post"];
|
|
12685
|
+
delete?: never;
|
|
12686
|
+
options?: never;
|
|
12687
|
+
head?: never;
|
|
12688
|
+
patch?: never;
|
|
12689
|
+
trace?: never;
|
|
12690
|
+
};
|
|
12691
|
+
"/api/chat/threads/{thread_id}/turns/{turn_id}/stream": {
|
|
12692
|
+
parameters: {
|
|
12693
|
+
query?: never;
|
|
12694
|
+
header?: never;
|
|
12695
|
+
path?: never;
|
|
12696
|
+
cookie?: never;
|
|
12697
|
+
};
|
|
12698
|
+
/**
|
|
12699
|
+
* Read Turn
|
|
12700
|
+
* @description Reads a turn's stream again, from its event ``after`` on: the number of events read so far.
|
|
10337
12701
|
*
|
|
10338
|
-
*
|
|
10339
|
-
*
|
|
10340
|
-
* other request, every open stream and the health check are waiting on.
|
|
12702
|
+
* It follows the turn live until it ends. A turn whose server stopped ends with an error event
|
|
12703
|
+
* whose text is ``turn_interrupted``.
|
|
10341
12704
|
*/
|
|
10342
|
-
|
|
12705
|
+
get: operations["read_turn_api_chat_threads__thread_id__turns__turn_id__stream_get"];
|
|
12706
|
+
put?: never;
|
|
12707
|
+
post?: never;
|
|
10343
12708
|
delete?: never;
|
|
10344
12709
|
options?: never;
|
|
10345
12710
|
head?: never;
|
|
10346
12711
|
patch?: never;
|
|
10347
12712
|
trace?: never;
|
|
10348
12713
|
};
|
|
10349
|
-
"/api/chat/
|
|
12714
|
+
"/api/chat/transcribe": {
|
|
10350
12715
|
parameters: {
|
|
10351
12716
|
query?: never;
|
|
10352
12717
|
header?: never;
|
|
@@ -10356,22 +12721,25 @@ declare interface paths {
|
|
|
10356
12721
|
get?: never;
|
|
10357
12722
|
put?: never;
|
|
10358
12723
|
/**
|
|
10359
|
-
*
|
|
10360
|
-
* @description
|
|
12724
|
+
* Transcribe
|
|
12725
|
+
* @description Transcribes a recording of the user into text for the composer.
|
|
10361
12726
|
*
|
|
10362
|
-
* The body is the
|
|
10363
|
-
*
|
|
10364
|
-
*
|
|
10365
|
-
*
|
|
12727
|
+
* The body is the recording itself, with its media type as the ``Content-Type``
|
|
12728
|
+
* (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
|
|
12729
|
+
* text empty when no speech was heard. The text goes back to the composer, and is only
|
|
12730
|
+
* kept if the user sends it. What the call cost is kept under ``id``: a message sent with
|
|
12731
|
+
* it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
|
|
12732
|
+
* dictated in the admin chat history, where the recording, kept with the attachments, can
|
|
12733
|
+
* be downloaded.
|
|
10366
12734
|
*/
|
|
10367
|
-
post: operations["
|
|
12735
|
+
post: operations["transcribe_api_chat_transcribe_post"];
|
|
10368
12736
|
delete?: never;
|
|
10369
12737
|
options?: never;
|
|
10370
12738
|
head?: never;
|
|
10371
12739
|
patch?: never;
|
|
10372
12740
|
trace?: never;
|
|
10373
12741
|
};
|
|
10374
|
-
"/api/
|
|
12742
|
+
"/api/config": {
|
|
10375
12743
|
parameters: {
|
|
10376
12744
|
query?: never;
|
|
10377
12745
|
header?: never;
|
|
@@ -10379,10 +12747,10 @@ declare interface paths {
|
|
|
10379
12747
|
cookie?: never;
|
|
10380
12748
|
};
|
|
10381
12749
|
/**
|
|
10382
|
-
* Get
|
|
10383
|
-
* @description
|
|
12750
|
+
* Get Public Config
|
|
12751
|
+
* @description The admin's overrides and the server's own flags. Fields an admin never set are absent.
|
|
10384
12752
|
*/
|
|
10385
|
-
get: operations["
|
|
12753
|
+
get: operations["get_public_config_api_config_get"];
|
|
10386
12754
|
put?: never;
|
|
10387
12755
|
post?: never;
|
|
10388
12756
|
delete?: never;
|
|
@@ -10391,27 +12759,27 @@ declare interface paths {
|
|
|
10391
12759
|
patch?: never;
|
|
10392
12760
|
trace?: never;
|
|
10393
12761
|
};
|
|
10394
|
-
"/api/
|
|
12762
|
+
"/api/connectors": {
|
|
10395
12763
|
parameters: {
|
|
10396
12764
|
query?: never;
|
|
10397
12765
|
header?: never;
|
|
10398
12766
|
path?: never;
|
|
10399
12767
|
cookie?: never;
|
|
10400
12768
|
};
|
|
10401
|
-
get?: never;
|
|
10402
|
-
put?: never;
|
|
10403
12769
|
/**
|
|
10404
|
-
*
|
|
10405
|
-
* @description
|
|
12770
|
+
* List Connectors
|
|
12771
|
+
* @description List connectors available to the current user and their connection statuses.
|
|
10406
12772
|
*/
|
|
10407
|
-
|
|
12773
|
+
get: operations["list_connectors_api_connectors_get"];
|
|
12774
|
+
put?: never;
|
|
12775
|
+
post?: never;
|
|
10408
12776
|
delete?: never;
|
|
10409
12777
|
options?: never;
|
|
10410
12778
|
head?: never;
|
|
10411
12779
|
patch?: never;
|
|
10412
12780
|
trace?: never;
|
|
10413
12781
|
};
|
|
10414
|
-
"/api/
|
|
12782
|
+
"/api/connectors/oauth/callback": {
|
|
10415
12783
|
parameters: {
|
|
10416
12784
|
query?: never;
|
|
10417
12785
|
header?: never;
|
|
@@ -10419,11 +12787,10 @@ declare interface paths {
|
|
|
10419
12787
|
cookie?: never;
|
|
10420
12788
|
};
|
|
10421
12789
|
/**
|
|
10422
|
-
*
|
|
10423
|
-
* @description
|
|
10424
|
-
* title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
|
|
12790
|
+
* Connector Oauth Callback
|
|
12791
|
+
* @description Handle the OAuth2 redirect callback using a single-use server-stored state.
|
|
10425
12792
|
*/
|
|
10426
|
-
get: operations["
|
|
12793
|
+
get: operations["connector_oauth_callback_api_connectors_oauth_callback_get"];
|
|
10427
12794
|
put?: never;
|
|
10428
12795
|
post?: never;
|
|
10429
12796
|
delete?: never;
|
|
@@ -10432,38 +12799,27 @@ declare interface paths {
|
|
|
10432
12799
|
patch?: never;
|
|
10433
12800
|
trace?: never;
|
|
10434
12801
|
};
|
|
10435
|
-
"/api/
|
|
12802
|
+
"/api/connectors/user-mcp": {
|
|
10436
12803
|
parameters: {
|
|
10437
12804
|
query?: never;
|
|
10438
12805
|
header?: never;
|
|
10439
12806
|
path?: never;
|
|
10440
12807
|
cookie?: never;
|
|
10441
12808
|
};
|
|
10442
|
-
|
|
10443
|
-
* Get Thread Messages
|
|
10444
|
-
* @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
|
|
10445
|
-
* page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
|
|
10446
|
-
*
|
|
10447
|
-
* The last page says whether the thread's last turn is still running, or failed.
|
|
10448
|
-
*/
|
|
10449
|
-
get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
|
|
12809
|
+
get?: never;
|
|
10450
12810
|
put?: never;
|
|
10451
|
-
post?: never;
|
|
10452
12811
|
/**
|
|
10453
|
-
*
|
|
10454
|
-
* @description
|
|
12812
|
+
* Create User Mcp Connector
|
|
12813
|
+
* @description Register a custom remote MCP server owned by the current user.
|
|
10455
12814
|
*/
|
|
10456
|
-
|
|
12815
|
+
post: operations["create_user_mcp_connector_api_connectors_user_mcp_post"];
|
|
12816
|
+
delete?: never;
|
|
10457
12817
|
options?: never;
|
|
10458
12818
|
head?: never;
|
|
10459
|
-
|
|
10460
|
-
* Update Thread
|
|
10461
|
-
* @description Updates thread metadata (e.g., title) for the authenticated user.
|
|
10462
|
-
*/
|
|
10463
|
-
patch: operations["update_thread_api_chat_threads__thread_id__patch"];
|
|
12819
|
+
patch?: never;
|
|
10464
12820
|
trace?: never;
|
|
10465
12821
|
};
|
|
10466
|
-
"/api/
|
|
12822
|
+
"/api/connectors/user-mcp/{connector_id}": {
|
|
10467
12823
|
parameters: {
|
|
10468
12824
|
query?: never;
|
|
10469
12825
|
header?: never;
|
|
@@ -10472,22 +12828,18 @@ declare interface paths {
|
|
|
10472
12828
|
};
|
|
10473
12829
|
get?: never;
|
|
10474
12830
|
put?: never;
|
|
12831
|
+
post?: never;
|
|
10475
12832
|
/**
|
|
10476
|
-
*
|
|
10477
|
-
* @description
|
|
10478
|
-
*/
|
|
10479
|
-
post: operations["share_thread_api_chat_threads__thread_id__share_post"];
|
|
10480
|
-
/**
|
|
10481
|
-
* Unshare Thread
|
|
10482
|
-
* @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
|
|
12833
|
+
* Delete User Mcp Connector
|
|
12834
|
+
* @description Delete a user-owned custom remote MCP server.
|
|
10483
12835
|
*/
|
|
10484
|
-
delete: operations["
|
|
12836
|
+
delete: operations["delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete"];
|
|
10485
12837
|
options?: never;
|
|
10486
12838
|
head?: never;
|
|
10487
12839
|
patch?: never;
|
|
10488
12840
|
trace?: never;
|
|
10489
12841
|
};
|
|
10490
|
-
"/api/
|
|
12842
|
+
"/api/connectors/{connector_id}": {
|
|
10491
12843
|
parameters: {
|
|
10492
12844
|
query?: never;
|
|
10493
12845
|
header?: never;
|
|
@@ -10496,44 +12848,58 @@ declare interface paths {
|
|
|
10496
12848
|
};
|
|
10497
12849
|
get?: never;
|
|
10498
12850
|
put?: never;
|
|
12851
|
+
post?: never;
|
|
12852
|
+
delete?: never;
|
|
12853
|
+
options?: never;
|
|
12854
|
+
head?: never;
|
|
10499
12855
|
/**
|
|
10500
|
-
*
|
|
10501
|
-
* @description
|
|
10502
|
-
*
|
|
10503
|
-
* The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
|
|
10504
|
-
* the turn's stream ends as a finished one does. Without a running turn it does nothing.
|
|
12856
|
+
* Update Connector
|
|
12857
|
+
* @description Enable/disable a connector or set per-tool approval overrides.
|
|
10505
12858
|
*/
|
|
10506
|
-
|
|
12859
|
+
patch: operations["update_connector_api_connectors__connector_id__patch"];
|
|
12860
|
+
trace?: never;
|
|
12861
|
+
};
|
|
12862
|
+
"/api/connectors/{connector_id}/connect": {
|
|
12863
|
+
parameters: {
|
|
12864
|
+
query?: never;
|
|
12865
|
+
header?: never;
|
|
12866
|
+
path?: never;
|
|
12867
|
+
cookie?: never;
|
|
12868
|
+
};
|
|
12869
|
+
get?: never;
|
|
12870
|
+
put?: never;
|
|
12871
|
+
/**
|
|
12872
|
+
* Connect Connector
|
|
12873
|
+
* @description Store an encrypted API key for a connector and enable it.
|
|
12874
|
+
*/
|
|
12875
|
+
post: operations["connect_connector_api_connectors__connector_id__connect_post"];
|
|
10507
12876
|
delete?: never;
|
|
10508
12877
|
options?: never;
|
|
10509
12878
|
head?: never;
|
|
10510
12879
|
patch?: never;
|
|
10511
12880
|
trace?: never;
|
|
10512
12881
|
};
|
|
10513
|
-
"/api/
|
|
12882
|
+
"/api/connectors/{connector_id}/disconnect": {
|
|
10514
12883
|
parameters: {
|
|
10515
12884
|
query?: never;
|
|
10516
12885
|
header?: never;
|
|
10517
12886
|
path?: never;
|
|
10518
12887
|
cookie?: never;
|
|
10519
12888
|
};
|
|
12889
|
+
get?: never;
|
|
12890
|
+
put?: never;
|
|
10520
12891
|
/**
|
|
10521
|
-
*
|
|
10522
|
-
* @description
|
|
10523
|
-
*
|
|
10524
|
-
* It follows the turn live until it ends. A turn whose server stopped ends with an error event
|
|
10525
|
-
* whose text is ``turn_interrupted``.
|
|
12892
|
+
* Disconnect Connector
|
|
12893
|
+
* @description Wipe stored credentials for a connector and disable it.
|
|
10526
12894
|
*/
|
|
10527
|
-
|
|
10528
|
-
put?: never;
|
|
10529
|
-
post?: never;
|
|
12895
|
+
post: operations["disconnect_connector_api_connectors__connector_id__disconnect_post"];
|
|
10530
12896
|
delete?: never;
|
|
10531
12897
|
options?: never;
|
|
10532
12898
|
head?: never;
|
|
10533
12899
|
patch?: never;
|
|
10534
12900
|
trace?: never;
|
|
10535
12901
|
};
|
|
10536
|
-
"/api/
|
|
12902
|
+
"/api/connectors/{connector_id}/oauth/start": {
|
|
10537
12903
|
parameters: {
|
|
10538
12904
|
query?: never;
|
|
10539
12905
|
header?: never;
|
|
@@ -10543,25 +12909,17 @@ declare interface paths {
|
|
|
10543
12909
|
get?: never;
|
|
10544
12910
|
put?: never;
|
|
10545
12911
|
/**
|
|
10546
|
-
*
|
|
10547
|
-
* @description
|
|
10548
|
-
*
|
|
10549
|
-
* The body is the recording itself, with its media type as the ``Content-Type``
|
|
10550
|
-
* (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
|
|
10551
|
-
* text empty when no speech was heard. The text goes back to the composer, and is only
|
|
10552
|
-
* kept if the user sends it. What the call cost is kept under ``id``: a message sent with
|
|
10553
|
-
* it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
|
|
10554
|
-
* dictated in the admin chat history, where the recording, kept with the attachments, can
|
|
10555
|
-
* be downloaded.
|
|
12912
|
+
* Start Connector Oauth
|
|
12913
|
+
* @description Start an OAuth2 + PKCE authorization flow for a connector.
|
|
10556
12914
|
*/
|
|
10557
|
-
post: operations["
|
|
12915
|
+
post: operations["start_connector_oauth_api_connectors__connector_id__oauth_start_post"];
|
|
10558
12916
|
delete?: never;
|
|
10559
12917
|
options?: never;
|
|
10560
12918
|
head?: never;
|
|
10561
12919
|
patch?: never;
|
|
10562
12920
|
trace?: never;
|
|
10563
12921
|
};
|
|
10564
|
-
"/api/
|
|
12922
|
+
"/api/connectors/{connector_id}/tools": {
|
|
10565
12923
|
parameters: {
|
|
10566
12924
|
query?: never;
|
|
10567
12925
|
header?: never;
|
|
@@ -10569,10 +12927,10 @@ declare interface paths {
|
|
|
10569
12927
|
cookie?: never;
|
|
10570
12928
|
};
|
|
10571
12929
|
/**
|
|
10572
|
-
*
|
|
10573
|
-
* @description
|
|
12930
|
+
* List Connector Tools
|
|
12931
|
+
* @description Discover tools provided by a connected connector.
|
|
10574
12932
|
*/
|
|
10575
|
-
get: operations["
|
|
12933
|
+
get: operations["list_connector_tools_api_connectors__connector_id__tools_get"];
|
|
10576
12934
|
put?: never;
|
|
10577
12935
|
post?: never;
|
|
10578
12936
|
delete?: never;
|
|
@@ -10799,6 +13157,26 @@ declare interface paths {
|
|
|
10799
13157
|
patch?: never;
|
|
10800
13158
|
trace?: never;
|
|
10801
13159
|
};
|
|
13160
|
+
"/api/public/branding/{asset_id}": {
|
|
13161
|
+
parameters: {
|
|
13162
|
+
query?: never;
|
|
13163
|
+
header?: never;
|
|
13164
|
+
path?: never;
|
|
13165
|
+
cookie?: never;
|
|
13166
|
+
};
|
|
13167
|
+
/**
|
|
13168
|
+
* Get Branding Icon
|
|
13169
|
+
* @description Serves an uploaded app logo or favicon as a sandboxed raster image.
|
|
13170
|
+
*/
|
|
13171
|
+
get: operations["get_branding_icon_api_public_branding__asset_id__get"];
|
|
13172
|
+
put?: never;
|
|
13173
|
+
post?: never;
|
|
13174
|
+
delete?: never;
|
|
13175
|
+
options?: never;
|
|
13176
|
+
head?: never;
|
|
13177
|
+
patch?: never;
|
|
13178
|
+
trace?: never;
|
|
13179
|
+
};
|
|
10802
13180
|
"/api/public/shared/{share_id}": {
|
|
10803
13181
|
parameters: {
|
|
10804
13182
|
query?: never;
|
|
@@ -10839,6 +13217,138 @@ declare interface paths {
|
|
|
10839
13217
|
patch?: never;
|
|
10840
13218
|
trace?: never;
|
|
10841
13219
|
};
|
|
13220
|
+
"/api/schedules": {
|
|
13221
|
+
parameters: {
|
|
13222
|
+
query?: never;
|
|
13223
|
+
header?: never;
|
|
13224
|
+
path?: never;
|
|
13225
|
+
cookie?: never;
|
|
13226
|
+
};
|
|
13227
|
+
/**
|
|
13228
|
+
* List Schedules
|
|
13229
|
+
* @description List all scheduled tasks owned by the current user.
|
|
13230
|
+
*/
|
|
13231
|
+
get: operations["list_schedules_api_schedules_get"];
|
|
13232
|
+
put?: never;
|
|
13233
|
+
/**
|
|
13234
|
+
* Create Schedule
|
|
13235
|
+
* @description Create a new scheduled task for the current user.
|
|
13236
|
+
*/
|
|
13237
|
+
post: operations["create_schedule_api_schedules_post"];
|
|
13238
|
+
delete?: never;
|
|
13239
|
+
options?: never;
|
|
13240
|
+
head?: never;
|
|
13241
|
+
patch?: never;
|
|
13242
|
+
trace?: never;
|
|
13243
|
+
};
|
|
13244
|
+
"/api/schedules/{schedule_id}": {
|
|
13245
|
+
parameters: {
|
|
13246
|
+
query?: never;
|
|
13247
|
+
header?: never;
|
|
13248
|
+
path?: never;
|
|
13249
|
+
cookie?: never;
|
|
13250
|
+
};
|
|
13251
|
+
/**
|
|
13252
|
+
* Get Schedule
|
|
13253
|
+
* @description Fetch a single scheduled task owned by the current user.
|
|
13254
|
+
*/
|
|
13255
|
+
get: operations["get_schedule_api_schedules__schedule_id__get"];
|
|
13256
|
+
put?: never;
|
|
13257
|
+
post?: never;
|
|
13258
|
+
/**
|
|
13259
|
+
* Delete Schedule
|
|
13260
|
+
* @description Delete a scheduled task and its run history.
|
|
13261
|
+
*/
|
|
13262
|
+
delete: operations["delete_schedule_api_schedules__schedule_id__delete"];
|
|
13263
|
+
options?: never;
|
|
13264
|
+
head?: never;
|
|
13265
|
+
/**
|
|
13266
|
+
* Update Schedule
|
|
13267
|
+
* @description Update a scheduled task owned by the current user.
|
|
13268
|
+
*/
|
|
13269
|
+
patch: operations["update_schedule_api_schedules__schedule_id__patch"];
|
|
13270
|
+
trace?: never;
|
|
13271
|
+
};
|
|
13272
|
+
"/api/schedules/{schedule_id}/pause": {
|
|
13273
|
+
parameters: {
|
|
13274
|
+
query?: never;
|
|
13275
|
+
header?: never;
|
|
13276
|
+
path?: never;
|
|
13277
|
+
cookie?: never;
|
|
13278
|
+
};
|
|
13279
|
+
get?: never;
|
|
13280
|
+
put?: never;
|
|
13281
|
+
/**
|
|
13282
|
+
* Pause Schedule
|
|
13283
|
+
* @description Pause a scheduled task.
|
|
13284
|
+
*/
|
|
13285
|
+
post: operations["pause_schedule_api_schedules__schedule_id__pause_post"];
|
|
13286
|
+
delete?: never;
|
|
13287
|
+
options?: never;
|
|
13288
|
+
head?: never;
|
|
13289
|
+
patch?: never;
|
|
13290
|
+
trace?: never;
|
|
13291
|
+
};
|
|
13292
|
+
"/api/schedules/{schedule_id}/resume": {
|
|
13293
|
+
parameters: {
|
|
13294
|
+
query?: never;
|
|
13295
|
+
header?: never;
|
|
13296
|
+
path?: never;
|
|
13297
|
+
cookie?: never;
|
|
13298
|
+
};
|
|
13299
|
+
get?: never;
|
|
13300
|
+
put?: never;
|
|
13301
|
+
/**
|
|
13302
|
+
* Resume Schedule
|
|
13303
|
+
* @description Resume a paused scheduled task.
|
|
13304
|
+
*/
|
|
13305
|
+
post: operations["resume_schedule_api_schedules__schedule_id__resume_post"];
|
|
13306
|
+
delete?: never;
|
|
13307
|
+
options?: never;
|
|
13308
|
+
head?: never;
|
|
13309
|
+
patch?: never;
|
|
13310
|
+
trace?: never;
|
|
13311
|
+
};
|
|
13312
|
+
"/api/schedules/{schedule_id}/run": {
|
|
13313
|
+
parameters: {
|
|
13314
|
+
query?: never;
|
|
13315
|
+
header?: never;
|
|
13316
|
+
path?: never;
|
|
13317
|
+
cookie?: never;
|
|
13318
|
+
};
|
|
13319
|
+
get?: never;
|
|
13320
|
+
put?: never;
|
|
13321
|
+
/**
|
|
13322
|
+
* Run Schedule Now
|
|
13323
|
+
* @description Trigger an immediate run of a scheduled task.
|
|
13324
|
+
*/
|
|
13325
|
+
post: operations["run_schedule_now_api_schedules__schedule_id__run_post"];
|
|
13326
|
+
delete?: never;
|
|
13327
|
+
options?: never;
|
|
13328
|
+
head?: never;
|
|
13329
|
+
patch?: never;
|
|
13330
|
+
trace?: never;
|
|
13331
|
+
};
|
|
13332
|
+
"/api/schedules/{schedule_id}/runs": {
|
|
13333
|
+
parameters: {
|
|
13334
|
+
query?: never;
|
|
13335
|
+
header?: never;
|
|
13336
|
+
path?: never;
|
|
13337
|
+
cookie?: never;
|
|
13338
|
+
};
|
|
13339
|
+
/**
|
|
13340
|
+
* List Schedule Runs
|
|
13341
|
+
* @description List recent runs of a scheduled task.
|
|
13342
|
+
*/
|
|
13343
|
+
get: operations["list_schedule_runs_api_schedules__schedule_id__runs_get"];
|
|
13344
|
+
put?: never;
|
|
13345
|
+
post?: never;
|
|
13346
|
+
delete?: never;
|
|
13347
|
+
options?: never;
|
|
13348
|
+
head?: never;
|
|
13349
|
+
patch?: never;
|
|
13350
|
+
trace?: never;
|
|
13351
|
+
};
|
|
10842
13352
|
"/api/status": {
|
|
10843
13353
|
parameters: {
|
|
10844
13354
|
query?: never;
|
|
@@ -10981,9 +13491,6 @@ declare type QueryParams<O> = ParametersOf<O> extends {
|
|
|
10981
13491
|
/** Context the user attached to a message, as a `data-reference` part carries it. */
|
|
10982
13492
|
declare type ReferenceData = Schemas['ReferenceData'];
|
|
10983
13493
|
|
|
10984
|
-
/** Why the backend would refuse `file`, or `null` if it would take it. */
|
|
10985
|
-
export declare function rejectAttachment(file: Pick<File, 'type' | 'size'>, limits: AttachmentLimits): AttachmentRejection | null;
|
|
10986
|
-
|
|
10987
13494
|
declare type RequestBody<O> = O extends {
|
|
10988
13495
|
requestBody?: infer RB;
|
|
10989
13496
|
} ? NonNullable<RB> : never;
|
|
@@ -11011,6 +13518,15 @@ declare type RequestOptions<M extends HttpMethod, P extends RoutePath<M>> = {
|
|
|
11011
13518
|
/** Fill in what `adapter` leaves out. */
|
|
11012
13519
|
export declare function resolveAuthAdapter(adapter: AuthAdapter): ResolvedAuthAdapter;
|
|
11013
13520
|
|
|
13521
|
+
/**
|
|
13522
|
+
* Resolves an app icon or favicon URL against the API's `basePath`.
|
|
13523
|
+
*
|
|
13524
|
+
* Uploaded branding icons are stored as `/api/public/branding/<id>`, so an app
|
|
13525
|
+
* whose API lives on another origin or subpath (e.g. `https://api.example.com/api`)
|
|
13526
|
+
* resolves them under `basePath` while external URLs and app-origin paths stay intact.
|
|
13527
|
+
*/
|
|
13528
|
+
export declare function resolveBrandingUrl(value: string, basePath?: string): string;
|
|
13529
|
+
|
|
11014
13530
|
/** An {@link AuthAdapter} with every member the client calls filled in. */
|
|
11015
13531
|
declare interface ResolvedAuthAdapter {
|
|
11016
13532
|
getHeaders: () => Promise<Record<string, string>>;
|
|
@@ -11047,6 +13563,12 @@ declare type Routes = {
|
|
|
11047
13563
|
*/
|
|
11048
13564
|
declare type RunOptions = NonNullable<ChatRequestSchema['options']>;
|
|
11049
13565
|
|
|
13566
|
+
/** Request body to create a scheduled task. */
|
|
13567
|
+
declare type ScheduleCreateInput = Schemas['ScheduleCreateInput'];
|
|
13568
|
+
|
|
13569
|
+
/** Request body to update a scheduled task. */
|
|
13570
|
+
declare type ScheduleUpdateInput = Schemas['ScheduleUpdateInput'];
|
|
13571
|
+
|
|
11050
13572
|
declare type Schemas = components['schemas'];
|
|
11051
13573
|
|
|
11052
13574
|
/** A message to send: its text, the files uploaded for it, and what it quotes. */
|
|
@@ -11058,6 +13580,13 @@ declare interface SendInput {
|
|
|
11058
13580
|
voiceInputs?: string[];
|
|
11059
13581
|
}
|
|
11060
13582
|
|
|
13583
|
+
/**
|
|
13584
|
+
* `next`, with every object or array in it whose content equals the one at the same place in
|
|
13585
|
+
* `previous` replaced by that one. What didn't change keeps its identity, so whoever compares by
|
|
13586
|
+
* identity sees only what did.
|
|
13587
|
+
*/
|
|
13588
|
+
export declare function shareUnchanged<T>(previous: unknown, next: T): T;
|
|
13589
|
+
|
|
11061
13590
|
/** What a quoted source's text is recognized by when it's looked for again. */
|
|
11062
13591
|
export declare const sourceTextSignature: (value: string) => string;
|
|
11063
13592
|
|
|
@@ -11220,20 +13749,17 @@ export declare type Timeout = number | false;
|
|
|
11220
13749
|
/** The thread's new title (`data-title`). */
|
|
11221
13750
|
declare type TitleData = Schemas['TitleData'];
|
|
11222
13751
|
|
|
11223
|
-
/**
|
|
11224
|
-
* A `Date` as a `datetime-local` value (`2026-10-18T14:05`) in the browser's own clock:
|
|
11225
|
-
* always Gregorian, whatever calendar it was picked in.
|
|
11226
|
-
*/
|
|
11227
|
-
export declare function toLocalInput(date: Date): string;
|
|
11228
|
-
|
|
11229
13752
|
/**
|
|
11230
13753
|
* The user's answer to a tool call that asked for approval: the `approval.id` of its
|
|
11231
13754
|
* `approval-requested` part, whether they approved it, and why, if they said. The model reads a
|
|
11232
13755
|
* denial's reason as the call's result.
|
|
11233
13756
|
*/
|
|
11234
13757
|
declare interface ToolApprovalResponse {
|
|
13758
|
+
/** Identifier of the pending approval request (`part.approval.id`). */
|
|
11235
13759
|
id: string;
|
|
13760
|
+
/** Whether the user approved executing the tool call. */
|
|
11236
13761
|
approved: boolean;
|
|
13762
|
+
/** Optional explanation sent back to the model when denied. */
|
|
11237
13763
|
reason?: string;
|
|
11238
13764
|
}
|
|
11239
13765
|
|
|
@@ -11242,7 +13768,9 @@ declare interface ToolApprovalResponse {
|
|
|
11242
13768
|
* answers it with. The server checks `output` against the tool's declared return type.
|
|
11243
13769
|
*/
|
|
11244
13770
|
declare interface ToolOutputResponse {
|
|
13771
|
+
/** Identifier of the pending client tool call (`part.toolCallId`). */
|
|
11245
13772
|
toolCallId: string;
|
|
13773
|
+
/** Result payload returned to the backend for the tool call. */
|
|
11246
13774
|
output: unknown;
|
|
11247
13775
|
}
|
|
11248
13776
|
|
|
@@ -11291,6 +13819,9 @@ declare interface UploadInit {
|
|
|
11291
13819
|
onProgress?: (fraction: number) => void;
|
|
11292
13820
|
}
|
|
11293
13821
|
|
|
13822
|
+
/** Request body to register a custom remote MCP server. */
|
|
13823
|
+
declare type UserMCPCreateInput = Schemas['UserMCPCreateInput'];
|
|
13824
|
+
|
|
11294
13825
|
/** Request body for `POST /users/me/reports`. */
|
|
11295
13826
|
declare type UserReportInput = Schemas['UserReportCreateInput'];
|
|
11296
13827
|
|
|
@@ -11357,10 +13888,4 @@ declare interface VoiceRecorderState {
|
|
|
11357
13888
|
*/
|
|
11358
13889
|
export declare function warnOnceInDevelopment(key: string, message: string): void;
|
|
11359
13890
|
|
|
11360
|
-
/**
|
|
11361
|
-
* The weekday a week starts on in `language` (0 = Sunday … 6 = Saturday): Saturday in the
|
|
11362
|
-
* Persian and Arabic-speaking world, Sunday in English, Monday elsewhere.
|
|
11363
|
-
*/
|
|
11364
|
-
export declare function weekStart(language: string | undefined | null): number;
|
|
11365
|
-
|
|
11366
13891
|
export { }
|