@gentiq/core 1.0.0-alpha.9 → 1.0.0-beta.1
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/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 +3151 -443
- package/dist/index.es.js +44 -33
- package/dist/internal.d.ts +2847 -345
- package/dist/internal.es.js +40 -46
- 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/index.d.ts
CHANGED
|
@@ -10,6 +10,9 @@ import { UITools } from 'ai';
|
|
|
10
10
|
/** How a user's access is decided: a plan's windows, a pool of credits, or nothing at all. */
|
|
11
11
|
export declare type AccessKind = EntitlementStatus['kind'];
|
|
12
12
|
|
|
13
|
+
/** `day` moved by `delta` months, clamped to the target month's length. */
|
|
14
|
+
export declare function addMonths(calendar: CalendarSystem, { year, month, day }: CalendarDay, delta: number): CalendarDay;
|
|
15
|
+
|
|
13
16
|
/** How a {@link GentiqApi} reaches the backend. */
|
|
14
17
|
export declare interface ApiConfig {
|
|
15
18
|
/** Where the backend's API is mounted. Defaults to `/api`. */
|
|
@@ -293,6 +296,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
293
296
|
auth_page_enabled?: boolean | null;
|
|
294
297
|
composer_attachments?: boolean | null;
|
|
295
298
|
composer_voice?: boolean | null;
|
|
299
|
+
connectors_allow_user_mcp?: boolean;
|
|
300
|
+
connectors_enabled?: boolean;
|
|
296
301
|
credits_meter?: ("messages" | "tokens" | "cost") | null;
|
|
297
302
|
default_accent?: string | null;
|
|
298
303
|
default_access?: ("unlimited" | "plan" | "credits") | null;
|
|
@@ -316,6 +321,7 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
316
321
|
plugins: string[];
|
|
317
322
|
quota_calendar?: ("gregorian" | "persian") | null;
|
|
318
323
|
quota_timezone?: string | null;
|
|
324
|
+
schedules_enabled?: boolean;
|
|
319
325
|
settings_account_fields?: {
|
|
320
326
|
[key: string]: string;
|
|
321
327
|
};
|
|
@@ -335,6 +341,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
335
341
|
show_usage_details?: boolean | null;
|
|
336
342
|
show_version_in_settings?: boolean | null;
|
|
337
343
|
show_welcome_glow?: boolean | null;
|
|
344
|
+
sidebar_show_connectors?: boolean | null;
|
|
345
|
+
sidebar_show_schedules?: boolean | null;
|
|
338
346
|
signup_enabled?: boolean | null;
|
|
339
347
|
thread_actions_edit?: boolean | null;
|
|
340
348
|
thread_actions_feedback?: boolean | null;
|
|
@@ -349,6 +357,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
349
357
|
week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
|
|
350
358
|
welcome_greeting?: string | null;
|
|
351
359
|
welcome_subtitle?: string | null;
|
|
360
|
+
} & {
|
|
361
|
+
[key: string]: unknown;
|
|
352
362
|
}>;
|
|
353
363
|
/** Whether the service is under maintenance. Public; polled by `useGentiqStatus`. */
|
|
354
364
|
getStatus: (signal?: AbortSignal) => Promise<{
|
|
@@ -366,8 +376,324 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
|
|
|
366
376
|
status: "open" | "resolved";
|
|
367
377
|
subject: string;
|
|
368
378
|
}>;
|
|
379
|
+
/** List all scheduled tasks belonging to the current user. */
|
|
380
|
+
listSchedules: (signal?: AbortSignal) => Promise<{
|
|
381
|
+
max_schedules: number;
|
|
382
|
+
schedules: components["schemas"]["ScheduleView"][];
|
|
383
|
+
}>;
|
|
384
|
+
/** Create a new scheduled task for the current user. */
|
|
385
|
+
createSchedule: (data: ScheduleCreateInput) => Promise<{
|
|
386
|
+
consecutive_failures?: number;
|
|
387
|
+
created_at: string;
|
|
388
|
+
cron?: string | null;
|
|
389
|
+
enabled: boolean;
|
|
390
|
+
expires_at?: string | null;
|
|
391
|
+
id: string;
|
|
392
|
+
interval_minutes?: number | null;
|
|
393
|
+
kind: "once" | "cron" | "interval";
|
|
394
|
+
last_run_at?: string | null;
|
|
395
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
396
|
+
last_run_thread_id?: string | null;
|
|
397
|
+
max_runs?: number | null;
|
|
398
|
+
name: string;
|
|
399
|
+
next_run_at?: string | null;
|
|
400
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
401
|
+
prompt: string;
|
|
402
|
+
run_at?: string | null;
|
|
403
|
+
run_count?: number;
|
|
404
|
+
silent_if_empty: boolean;
|
|
405
|
+
thread_id?: string | null;
|
|
406
|
+
thread_mode: "shared" | "new";
|
|
407
|
+
timezone: string;
|
|
408
|
+
updated_at: string;
|
|
409
|
+
user_id: string;
|
|
410
|
+
}>;
|
|
411
|
+
/** Fetch a single scheduled task by id. */
|
|
412
|
+
getSchedule: (scheduleId: string, signal?: AbortSignal) => Promise<{
|
|
413
|
+
consecutive_failures?: number;
|
|
414
|
+
created_at: string;
|
|
415
|
+
cron?: string | null;
|
|
416
|
+
enabled: boolean;
|
|
417
|
+
expires_at?: string | null;
|
|
418
|
+
id: string;
|
|
419
|
+
interval_minutes?: number | null;
|
|
420
|
+
kind: "once" | "cron" | "interval";
|
|
421
|
+
last_run_at?: string | null;
|
|
422
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
423
|
+
last_run_thread_id?: string | null;
|
|
424
|
+
max_runs?: number | null;
|
|
425
|
+
name: string;
|
|
426
|
+
next_run_at?: string | null;
|
|
427
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
428
|
+
prompt: string;
|
|
429
|
+
run_at?: string | null;
|
|
430
|
+
run_count?: number;
|
|
431
|
+
silent_if_empty: boolean;
|
|
432
|
+
thread_id?: string | null;
|
|
433
|
+
thread_mode: "shared" | "new";
|
|
434
|
+
timezone: string;
|
|
435
|
+
updated_at: string;
|
|
436
|
+
user_id: string;
|
|
437
|
+
}>;
|
|
438
|
+
/** Update an existing scheduled task. */
|
|
439
|
+
updateSchedule: (scheduleId: string, data: ScheduleUpdateInput) => Promise<{
|
|
440
|
+
consecutive_failures?: number;
|
|
441
|
+
created_at: string;
|
|
442
|
+
cron?: string | null;
|
|
443
|
+
enabled: boolean;
|
|
444
|
+
expires_at?: string | null;
|
|
445
|
+
id: string;
|
|
446
|
+
interval_minutes?: number | null;
|
|
447
|
+
kind: "once" | "cron" | "interval";
|
|
448
|
+
last_run_at?: string | null;
|
|
449
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
450
|
+
last_run_thread_id?: string | null;
|
|
451
|
+
max_runs?: number | null;
|
|
452
|
+
name: string;
|
|
453
|
+
next_run_at?: string | null;
|
|
454
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
455
|
+
prompt: string;
|
|
456
|
+
run_at?: string | null;
|
|
457
|
+
run_count?: number;
|
|
458
|
+
silent_if_empty: boolean;
|
|
459
|
+
thread_id?: string | null;
|
|
460
|
+
thread_mode: "shared" | "new";
|
|
461
|
+
timezone: string;
|
|
462
|
+
updated_at: string;
|
|
463
|
+
user_id: string;
|
|
464
|
+
}>;
|
|
465
|
+
/** Delete a scheduled task and its run history. */
|
|
466
|
+
deleteSchedule: (scheduleId: string) => Promise<{
|
|
467
|
+
status: "success";
|
|
468
|
+
}>;
|
|
469
|
+
/** Pause an active scheduled task. */
|
|
470
|
+
pauseSchedule: (scheduleId: string) => Promise<{
|
|
471
|
+
consecutive_failures?: number;
|
|
472
|
+
created_at: string;
|
|
473
|
+
cron?: string | null;
|
|
474
|
+
enabled: boolean;
|
|
475
|
+
expires_at?: string | null;
|
|
476
|
+
id: string;
|
|
477
|
+
interval_minutes?: number | null;
|
|
478
|
+
kind: "once" | "cron" | "interval";
|
|
479
|
+
last_run_at?: string | null;
|
|
480
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
481
|
+
last_run_thread_id?: string | null;
|
|
482
|
+
max_runs?: number | null;
|
|
483
|
+
name: string;
|
|
484
|
+
next_run_at?: string | null;
|
|
485
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
486
|
+
prompt: string;
|
|
487
|
+
run_at?: string | null;
|
|
488
|
+
run_count?: number;
|
|
489
|
+
silent_if_empty: boolean;
|
|
490
|
+
thread_id?: string | null;
|
|
491
|
+
thread_mode: "shared" | "new";
|
|
492
|
+
timezone: string;
|
|
493
|
+
updated_at: string;
|
|
494
|
+
user_id: string;
|
|
495
|
+
}>;
|
|
496
|
+
/** Resume a paused scheduled task. */
|
|
497
|
+
resumeSchedule: (scheduleId: string) => Promise<{
|
|
498
|
+
consecutive_failures?: number;
|
|
499
|
+
created_at: string;
|
|
500
|
+
cron?: string | null;
|
|
501
|
+
enabled: boolean;
|
|
502
|
+
expires_at?: string | null;
|
|
503
|
+
id: string;
|
|
504
|
+
interval_minutes?: number | null;
|
|
505
|
+
kind: "once" | "cron" | "interval";
|
|
506
|
+
last_run_at?: string | null;
|
|
507
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
508
|
+
last_run_thread_id?: string | null;
|
|
509
|
+
max_runs?: number | null;
|
|
510
|
+
name: string;
|
|
511
|
+
next_run_at?: string | null;
|
|
512
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
513
|
+
prompt: string;
|
|
514
|
+
run_at?: string | null;
|
|
515
|
+
run_count?: number;
|
|
516
|
+
silent_if_empty: boolean;
|
|
517
|
+
thread_id?: string | null;
|
|
518
|
+
thread_mode: "shared" | "new";
|
|
519
|
+
timezone: string;
|
|
520
|
+
updated_at: string;
|
|
521
|
+
user_id: string;
|
|
522
|
+
}>;
|
|
523
|
+
/** Trigger an immediate run of a scheduled task. */
|
|
524
|
+
runScheduleNow: (scheduleId: string) => Promise<{
|
|
525
|
+
assistant_message_id?: string | null;
|
|
526
|
+
error?: string | null;
|
|
527
|
+
finished_at?: string | null;
|
|
528
|
+
id: string;
|
|
529
|
+
schedule_id: string;
|
|
530
|
+
scheduled_for: string;
|
|
531
|
+
started_at: string;
|
|
532
|
+
status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
|
|
533
|
+
summary?: string | null;
|
|
534
|
+
thread_id?: string | null;
|
|
535
|
+
trigger: "scheduled" | "manual";
|
|
536
|
+
turn_id?: string | null;
|
|
537
|
+
user_id: string;
|
|
538
|
+
}>;
|
|
539
|
+
/** List recent runs for a scheduled task. */
|
|
540
|
+
listScheduleRuns: (scheduleId: string, limit?: number, signal?: AbortSignal) => Promise<{
|
|
541
|
+
runs: components["schemas"]["ScheduleRunView"][];
|
|
542
|
+
}>;
|
|
543
|
+
/** List external connectors available to the current user. */
|
|
544
|
+
listConnectors: (signal?: AbortSignal) => Promise<{
|
|
545
|
+
allow_user_mcp: boolean;
|
|
546
|
+
connectors: components["schemas"]["ConnectorView"][];
|
|
547
|
+
max_user_mcp: number;
|
|
548
|
+
}>;
|
|
549
|
+
/** Store an API key for a connector. */
|
|
550
|
+
connectConnector: (connectorId: string, data: ConnectorConnectInput) => Promise<{
|
|
551
|
+
account_label?: string | null;
|
|
552
|
+
allow_unattended: boolean;
|
|
553
|
+
api_key_instructions?: string | null;
|
|
554
|
+
approval: "never" | "writes" | "always";
|
|
555
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
556
|
+
connected: boolean;
|
|
557
|
+
description: string;
|
|
558
|
+
enabled: boolean;
|
|
559
|
+
icon?: string | null;
|
|
560
|
+
id: string;
|
|
561
|
+
key: string;
|
|
562
|
+
kind: "python" | "mcp";
|
|
563
|
+
last_error?: string | null;
|
|
564
|
+
last_used_at?: string | null;
|
|
565
|
+
name: string;
|
|
566
|
+
requires_user_credentials: boolean;
|
|
567
|
+
source: "code" | "admin" | "user";
|
|
568
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
569
|
+
tool_overrides?: {
|
|
570
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
571
|
+
};
|
|
572
|
+
url?: string | null;
|
|
573
|
+
}>;
|
|
574
|
+
/** Start an OAuth2 authorization flow for a connector. */
|
|
575
|
+
startConnectorOAuth: (connectorId: string, returnPath?: string) => Promise<{
|
|
576
|
+
authorization_url: string;
|
|
577
|
+
}>;
|
|
578
|
+
/** Wipe credentials and disable a connector. */
|
|
579
|
+
disconnectConnector: (connectorId: string) => Promise<{
|
|
580
|
+
account_label?: string | null;
|
|
581
|
+
allow_unattended: boolean;
|
|
582
|
+
api_key_instructions?: string | null;
|
|
583
|
+
approval: "never" | "writes" | "always";
|
|
584
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
585
|
+
connected: boolean;
|
|
586
|
+
description: string;
|
|
587
|
+
enabled: boolean;
|
|
588
|
+
icon?: string | null;
|
|
589
|
+
id: string;
|
|
590
|
+
key: string;
|
|
591
|
+
kind: "python" | "mcp";
|
|
592
|
+
last_error?: string | null;
|
|
593
|
+
last_used_at?: string | null;
|
|
594
|
+
name: string;
|
|
595
|
+
requires_user_credentials: boolean;
|
|
596
|
+
source: "code" | "admin" | "user";
|
|
597
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
598
|
+
tool_overrides?: {
|
|
599
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
600
|
+
};
|
|
601
|
+
url?: string | null;
|
|
602
|
+
}>;
|
|
603
|
+
/** Enable/disable a connector or update per-tool approval overrides. */
|
|
604
|
+
updateConnector: (connectorId: string, data: ConnectorToggleInput) => Promise<{
|
|
605
|
+
account_label?: string | null;
|
|
606
|
+
allow_unattended: boolean;
|
|
607
|
+
api_key_instructions?: string | null;
|
|
608
|
+
approval: "never" | "writes" | "always";
|
|
609
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
610
|
+
connected: boolean;
|
|
611
|
+
description: string;
|
|
612
|
+
enabled: boolean;
|
|
613
|
+
icon?: string | null;
|
|
614
|
+
id: string;
|
|
615
|
+
key: string;
|
|
616
|
+
kind: "python" | "mcp";
|
|
617
|
+
last_error?: string | null;
|
|
618
|
+
last_used_at?: string | null;
|
|
619
|
+
name: string;
|
|
620
|
+
requires_user_credentials: boolean;
|
|
621
|
+
source: "code" | "admin" | "user";
|
|
622
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
623
|
+
tool_overrides?: {
|
|
624
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
625
|
+
};
|
|
626
|
+
url?: string | null;
|
|
627
|
+
}>;
|
|
628
|
+
/** List tools discovered from a connected connector. */
|
|
629
|
+
listConnectorTools: (connectorId: string, signal?: AbortSignal) => Promise<{
|
|
630
|
+
connector_id: string;
|
|
631
|
+
tools: components["schemas"]["ConnectorToolView"][];
|
|
632
|
+
}>;
|
|
633
|
+
/** Register a custom remote MCP server for the current user. */
|
|
634
|
+
createUserMCPConnector: (data: UserMCPCreateInput) => Promise<{
|
|
635
|
+
account_label?: string | null;
|
|
636
|
+
allow_unattended: boolean;
|
|
637
|
+
api_key_instructions?: string | null;
|
|
638
|
+
approval: "never" | "writes" | "always";
|
|
639
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
640
|
+
connected: boolean;
|
|
641
|
+
description: string;
|
|
642
|
+
enabled: boolean;
|
|
643
|
+
icon?: string | null;
|
|
644
|
+
id: string;
|
|
645
|
+
key: string;
|
|
646
|
+
kind: "python" | "mcp";
|
|
647
|
+
last_error?: string | null;
|
|
648
|
+
last_used_at?: string | null;
|
|
649
|
+
name: string;
|
|
650
|
+
requires_user_credentials: boolean;
|
|
651
|
+
source: "code" | "admin" | "user";
|
|
652
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
653
|
+
tool_overrides?: {
|
|
654
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
655
|
+
};
|
|
656
|
+
url?: string | null;
|
|
657
|
+
}>;
|
|
658
|
+
/** Delete a user-owned custom remote MCP server. */
|
|
659
|
+
deleteUserMCPConnector: (connectorId: string) => Promise<{
|
|
660
|
+
status: "success";
|
|
661
|
+
}>;
|
|
369
662
|
};
|
|
370
663
|
|
|
664
|
+
/**
|
|
665
|
+
* Day arithmetic in the calendars the UI offers for picking dates: Gregorian and the
|
|
666
|
+
* Solar Hijri (Jalali) calendar Persian readers use.
|
|
667
|
+
*
|
|
668
|
+
* `Intl` can *display* a date in the Persian calendar but cannot turn a Persian date back
|
|
669
|
+
* into an instant, which a date picker has to. The Jalali conversion below is the
|
|
670
|
+
* Borkowski algorithm as published in jalaali-js (MIT), valid for Jalali years -61 to 3177.
|
|
671
|
+
*/
|
|
672
|
+
/** A day in some calendar. `month` is 1-based. */
|
|
673
|
+
export declare interface CalendarDay {
|
|
674
|
+
/** Full year number in the calendar system. */
|
|
675
|
+
year: number;
|
|
676
|
+
/** 1-based month of the year. */
|
|
677
|
+
month: number;
|
|
678
|
+
/** 1-based day of the month. */
|
|
679
|
+
day: number;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** Calendar system identifier supported by date pickers and quota windows. */
|
|
683
|
+
export declare type CalendarKind = 'gregory' | 'persian';
|
|
684
|
+
|
|
685
|
+
/** Conversion and month-length arithmetic for a calendar system. */
|
|
686
|
+
export declare interface CalendarSystem {
|
|
687
|
+
/** Calendar identifier. */
|
|
688
|
+
kind: CalendarKind;
|
|
689
|
+
/** The day `date` falls on, in the browser's own timezone. */
|
|
690
|
+
fromDate: (date: Date) => CalendarDay;
|
|
691
|
+
/** That day at `hours`:`minutes`, in the browser's own timezone. */
|
|
692
|
+
toDate: (day: CalendarDay, hours?: number, minutes?: number) => Date;
|
|
693
|
+
/** Number of days in the given 1-based `month` of `year`. */
|
|
694
|
+
daysInMonth: (year: number, month: number) => number;
|
|
695
|
+
}
|
|
696
|
+
|
|
371
697
|
/**
|
|
372
698
|
* A file to send with a message: one uploaded with `uploadAttachment`, as it answered. `file` is
|
|
373
699
|
* the local copy, if there is one, so the message can show the file without downloading it again.
|
|
@@ -386,7 +712,7 @@ export declare interface ChatReference {
|
|
|
386
712
|
/** Unique ID for this reference instance. */
|
|
387
713
|
id: string;
|
|
388
714
|
/** Reference source type. */
|
|
389
|
-
kind: 'text' | 'card' | 'tool' | 'file' | string;
|
|
715
|
+
kind: 'text' | 'card' | 'tool' | 'file' | (string & {});
|
|
390
716
|
/** Source message ID, when the source belongs to a chat message. */
|
|
391
717
|
messageId?: string;
|
|
392
718
|
/** Source part index, when the source belongs to a message part. */
|
|
@@ -405,6 +731,7 @@ export declare interface ChatReference {
|
|
|
405
731
|
metadata?: Record<string, unknown>;
|
|
406
732
|
}
|
|
407
733
|
|
|
734
|
+
/** Input passed when adding a reference to the composer; `id` is generated when omitted. */
|
|
408
735
|
export declare type ChatReferenceInput = Omit<ChatReference, 'id'> & {
|
|
409
736
|
id?: string;
|
|
410
737
|
};
|
|
@@ -476,6 +803,207 @@ declare interface components {
|
|
|
476
803
|
*/
|
|
477
804
|
via: "resolver" | "subscription" | "credits" | "default";
|
|
478
805
|
};
|
|
806
|
+
/**
|
|
807
|
+
* AdminConnectorCreateInput
|
|
808
|
+
* @description Admin-created remote MCP connector.
|
|
809
|
+
*/
|
|
810
|
+
AdminConnectorCreateInput: {
|
|
811
|
+
/**
|
|
812
|
+
* Allow Unattended
|
|
813
|
+
* @default false
|
|
814
|
+
*/
|
|
815
|
+
allow_unattended?: boolean;
|
|
816
|
+
/** Api Key Instructions */
|
|
817
|
+
api_key_instructions?: string | null;
|
|
818
|
+
/**
|
|
819
|
+
* Approval
|
|
820
|
+
* @default writes
|
|
821
|
+
* @enum {string}
|
|
822
|
+
*/
|
|
823
|
+
approval?: "never" | "writes" | "always";
|
|
824
|
+
/**
|
|
825
|
+
* Auth Kind
|
|
826
|
+
* @default none
|
|
827
|
+
* @enum {string}
|
|
828
|
+
*/
|
|
829
|
+
auth_kind?: "none" | "api_key" | "oauth2";
|
|
830
|
+
/** Authorize Url */
|
|
831
|
+
authorize_url?: string | null;
|
|
832
|
+
/** Client Id */
|
|
833
|
+
client_id?: string | null;
|
|
834
|
+
/** Client Secret */
|
|
835
|
+
client_secret?: string | null;
|
|
836
|
+
/**
|
|
837
|
+
* Description
|
|
838
|
+
* @default
|
|
839
|
+
*/
|
|
840
|
+
description?: string;
|
|
841
|
+
/**
|
|
842
|
+
* Global Enabled
|
|
843
|
+
* @default true
|
|
844
|
+
*/
|
|
845
|
+
global_enabled?: boolean;
|
|
846
|
+
/**
|
|
847
|
+
* Header Name
|
|
848
|
+
* @default Authorization
|
|
849
|
+
*/
|
|
850
|
+
header_name?: string;
|
|
851
|
+
/**
|
|
852
|
+
* Header Prefix
|
|
853
|
+
* @default Bearer
|
|
854
|
+
*/
|
|
855
|
+
header_prefix?: string;
|
|
856
|
+
/** Key */
|
|
857
|
+
key: string;
|
|
858
|
+
/** Name */
|
|
859
|
+
name: string;
|
|
860
|
+
/**
|
|
861
|
+
* Pkce
|
|
862
|
+
* @default true
|
|
863
|
+
*/
|
|
864
|
+
pkce?: boolean;
|
|
865
|
+
/** Scopes */
|
|
866
|
+
scopes?: string[];
|
|
867
|
+
/** Shared Secret */
|
|
868
|
+
shared_secret?: string | null;
|
|
869
|
+
/** Token Url */
|
|
870
|
+
token_url?: string | null;
|
|
871
|
+
/**
|
|
872
|
+
* Transport
|
|
873
|
+
* @default streamable-http
|
|
874
|
+
* @enum {string}
|
|
875
|
+
*/
|
|
876
|
+
transport?: "streamable-http" | "sse";
|
|
877
|
+
/** Url */
|
|
878
|
+
url: string;
|
|
879
|
+
};
|
|
880
|
+
/**
|
|
881
|
+
* AdminConnectorListResponse
|
|
882
|
+
* @description All code-defined and admin-defined connectors.
|
|
883
|
+
*/
|
|
884
|
+
AdminConnectorListResponse: {
|
|
885
|
+
/** Connectors */
|
|
886
|
+
connectors: components["schemas"]["AdminConnectorView"][];
|
|
887
|
+
};
|
|
888
|
+
/**
|
|
889
|
+
* AdminConnectorTestResponse
|
|
890
|
+
* @description Result of testing connectivity and tool discovery for an admin connector.
|
|
891
|
+
*/
|
|
892
|
+
AdminConnectorTestResponse: {
|
|
893
|
+
/** Error */
|
|
894
|
+
error?: string | null;
|
|
895
|
+
/** Ok */
|
|
896
|
+
ok: boolean;
|
|
897
|
+
/** Tool Names */
|
|
898
|
+
tool_names?: string[];
|
|
899
|
+
/**
|
|
900
|
+
* Tools Count
|
|
901
|
+
* @default 0
|
|
902
|
+
*/
|
|
903
|
+
tools_count?: number;
|
|
904
|
+
};
|
|
905
|
+
/**
|
|
906
|
+
* AdminConnectorUpdateInput
|
|
907
|
+
* @description Partial update to a connector from the Admin Panel.
|
|
908
|
+
*/
|
|
909
|
+
AdminConnectorUpdateInput: {
|
|
910
|
+
/** Allow Unattended */
|
|
911
|
+
allow_unattended?: boolean | null;
|
|
912
|
+
/** Api Key Instructions */
|
|
913
|
+
api_key_instructions?: string | null;
|
|
914
|
+
/** Approval */
|
|
915
|
+
approval?: ("never" | "writes" | "always") | null;
|
|
916
|
+
/** Auth Kind */
|
|
917
|
+
auth_kind?: ("none" | "api_key" | "oauth2") | null;
|
|
918
|
+
/** Authorize Url */
|
|
919
|
+
authorize_url?: string | null;
|
|
920
|
+
/** Client Id */
|
|
921
|
+
client_id?: string | null;
|
|
922
|
+
/** Client Secret */
|
|
923
|
+
client_secret?: string | null;
|
|
924
|
+
/** Description */
|
|
925
|
+
description?: string | null;
|
|
926
|
+
/** Global Enabled */
|
|
927
|
+
global_enabled?: boolean | null;
|
|
928
|
+
/** Header Name */
|
|
929
|
+
header_name?: string | null;
|
|
930
|
+
/** Header Prefix */
|
|
931
|
+
header_prefix?: string | null;
|
|
932
|
+
/** Name */
|
|
933
|
+
name?: string | null;
|
|
934
|
+
/** Pkce */
|
|
935
|
+
pkce?: boolean | null;
|
|
936
|
+
/** Scopes */
|
|
937
|
+
scopes?: string[] | null;
|
|
938
|
+
/** Shared Secret */
|
|
939
|
+
shared_secret?: string | null;
|
|
940
|
+
/** Token Url */
|
|
941
|
+
token_url?: string | null;
|
|
942
|
+
/** Transport */
|
|
943
|
+
transport?: ("streamable-http" | "sse") | null;
|
|
944
|
+
/** Url */
|
|
945
|
+
url?: string | null;
|
|
946
|
+
};
|
|
947
|
+
/**
|
|
948
|
+
* AdminConnectorView
|
|
949
|
+
* @description Admin view of a connector catalog entry (secrets are always redacted).
|
|
950
|
+
*/
|
|
951
|
+
AdminConnectorView: {
|
|
952
|
+
/** Allow Unattended */
|
|
953
|
+
allow_unattended: boolean;
|
|
954
|
+
/**
|
|
955
|
+
* Approval
|
|
956
|
+
* @enum {string}
|
|
957
|
+
*/
|
|
958
|
+
approval: "never" | "writes" | "always";
|
|
959
|
+
/**
|
|
960
|
+
* Auth Kind
|
|
961
|
+
* @enum {string}
|
|
962
|
+
*/
|
|
963
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
964
|
+
/** Connected Users Count */
|
|
965
|
+
connected_users_count: number;
|
|
966
|
+
/**
|
|
967
|
+
* Created At
|
|
968
|
+
* Format: date-time
|
|
969
|
+
*/
|
|
970
|
+
created_at: string;
|
|
971
|
+
/** Description */
|
|
972
|
+
description: string;
|
|
973
|
+
/** Global Enabled */
|
|
974
|
+
global_enabled: boolean;
|
|
975
|
+
/** Has Client Secret */
|
|
976
|
+
has_client_secret: boolean;
|
|
977
|
+
/** Has Shared Secret */
|
|
978
|
+
has_shared_secret: boolean;
|
|
979
|
+
/** Id */
|
|
980
|
+
id: string;
|
|
981
|
+
/** Key */
|
|
982
|
+
key: string;
|
|
983
|
+
/**
|
|
984
|
+
* Kind
|
|
985
|
+
* @enum {string}
|
|
986
|
+
*/
|
|
987
|
+
kind: "python" | "mcp";
|
|
988
|
+
/** Name */
|
|
989
|
+
name: string;
|
|
990
|
+
/** Read Only */
|
|
991
|
+
read_only: boolean;
|
|
992
|
+
/**
|
|
993
|
+
* Source
|
|
994
|
+
* @enum {string}
|
|
995
|
+
*/
|
|
996
|
+
source: "code" | "admin";
|
|
997
|
+
/** Transport */
|
|
998
|
+
transport?: ("streamable-http" | "sse") | null;
|
|
999
|
+
/**
|
|
1000
|
+
* Updated At
|
|
1001
|
+
* Format: date-time
|
|
1002
|
+
*/
|
|
1003
|
+
updated_at: string;
|
|
1004
|
+
/** Url */
|
|
1005
|
+
url?: string | null;
|
|
1006
|
+
};
|
|
479
1007
|
/** AdminCreated */
|
|
480
1008
|
AdminCreated: {
|
|
481
1009
|
/** Admin Id */
|
|
@@ -764,6 +1292,90 @@ declare interface components {
|
|
|
764
1292
|
/** Username */
|
|
765
1293
|
username?: string | null;
|
|
766
1294
|
};
|
|
1295
|
+
/**
|
|
1296
|
+
* AdminScheduleListResponse
|
|
1297
|
+
* @description Paginated list of schedules for admins.
|
|
1298
|
+
*/
|
|
1299
|
+
AdminScheduleListResponse: {
|
|
1300
|
+
/** Schedules */
|
|
1301
|
+
schedules: components["schemas"]["AdminScheduleView"][];
|
|
1302
|
+
/** Total */
|
|
1303
|
+
total: number;
|
|
1304
|
+
};
|
|
1305
|
+
/**
|
|
1306
|
+
* AdminScheduleView
|
|
1307
|
+
* @description Admin view of a schedule, including a display label for its owner.
|
|
1308
|
+
*/
|
|
1309
|
+
AdminScheduleView: {
|
|
1310
|
+
/**
|
|
1311
|
+
* Consecutive Failures
|
|
1312
|
+
* @default 0
|
|
1313
|
+
*/
|
|
1314
|
+
consecutive_failures?: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Created At
|
|
1317
|
+
* Format: date-time
|
|
1318
|
+
*/
|
|
1319
|
+
created_at: string;
|
|
1320
|
+
/** Cron */
|
|
1321
|
+
cron?: string | null;
|
|
1322
|
+
/** Enabled */
|
|
1323
|
+
enabled: boolean;
|
|
1324
|
+
/** Expires At */
|
|
1325
|
+
expires_at?: string | null;
|
|
1326
|
+
/** Id */
|
|
1327
|
+
id: string;
|
|
1328
|
+
/** Interval Minutes */
|
|
1329
|
+
interval_minutes?: number | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* Kind
|
|
1332
|
+
* @enum {string}
|
|
1333
|
+
*/
|
|
1334
|
+
kind: "once" | "cron" | "interval";
|
|
1335
|
+
/** Last Run At */
|
|
1336
|
+
last_run_at?: string | null;
|
|
1337
|
+
/** Last Run Status */
|
|
1338
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
1339
|
+
/** Last Run Thread Id */
|
|
1340
|
+
last_run_thread_id?: string | null;
|
|
1341
|
+
/** Max Runs */
|
|
1342
|
+
max_runs?: number | null;
|
|
1343
|
+
/** Name */
|
|
1344
|
+
name: string;
|
|
1345
|
+
/** Next Run At */
|
|
1346
|
+
next_run_at?: string | null;
|
|
1347
|
+
/** Pause Reason */
|
|
1348
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
1349
|
+
/** Prompt */
|
|
1350
|
+
prompt: string;
|
|
1351
|
+
/** Run At */
|
|
1352
|
+
run_at?: string | null;
|
|
1353
|
+
/**
|
|
1354
|
+
* Run Count
|
|
1355
|
+
* @default 0
|
|
1356
|
+
*/
|
|
1357
|
+
run_count?: number;
|
|
1358
|
+
/** Silent If Empty */
|
|
1359
|
+
silent_if_empty: boolean;
|
|
1360
|
+
/** Thread Id */
|
|
1361
|
+
thread_id?: string | null;
|
|
1362
|
+
/**
|
|
1363
|
+
* Thread Mode
|
|
1364
|
+
* @enum {string}
|
|
1365
|
+
*/
|
|
1366
|
+
thread_mode: "shared" | "new";
|
|
1367
|
+
/** Timezone */
|
|
1368
|
+
timezone: string;
|
|
1369
|
+
/**
|
|
1370
|
+
* Updated At
|
|
1371
|
+
* Format: date-time
|
|
1372
|
+
*/
|
|
1373
|
+
updated_at: string;
|
|
1374
|
+
/** User Id */
|
|
1375
|
+
user_id: string;
|
|
1376
|
+
/** User Label */
|
|
1377
|
+
user_label?: string | null;
|
|
1378
|
+
};
|
|
767
1379
|
/**
|
|
768
1380
|
* AdminSession
|
|
769
1381
|
* @description The signed-in admin as the store holds it now, not as the token described it.
|
|
@@ -949,7 +1561,7 @@ declare interface components {
|
|
|
949
1561
|
/** Surname */
|
|
950
1562
|
surname: string | null;
|
|
951
1563
|
/** Token */
|
|
952
|
-
token
|
|
1564
|
+
token?: string | null;
|
|
953
1565
|
/** Username */
|
|
954
1566
|
username: string | null;
|
|
955
1567
|
};
|
|
@@ -991,7 +1603,7 @@ declare interface components {
|
|
|
991
1603
|
/** Surname */
|
|
992
1604
|
surname: string | null;
|
|
993
1605
|
/** Token */
|
|
994
|
-
token
|
|
1606
|
+
token?: string | null;
|
|
995
1607
|
/**
|
|
996
1608
|
* Type
|
|
997
1609
|
* @enum {string}
|
|
@@ -1005,6 +1617,8 @@ declare interface components {
|
|
|
1005
1617
|
* @description An admin's edit of a user. Unlike a user's edit of themselves, it can set the user's group.
|
|
1006
1618
|
*/
|
|
1007
1619
|
AdminUserUpdateInput: {
|
|
1620
|
+
/** Current Password */
|
|
1621
|
+
current_password?: string | null;
|
|
1008
1622
|
/** Email */
|
|
1009
1623
|
email?: string | null;
|
|
1010
1624
|
/** Metadata */
|
|
@@ -1106,6 +1720,7 @@ declare interface components {
|
|
|
1106
1720
|
};
|
|
1107
1721
|
/** AnalyticsTrendsDetail */
|
|
1108
1722
|
AnalyticsTrendsDetail: {
|
|
1723
|
+
clients: components["schemas"]["ClientBreakdown"];
|
|
1109
1724
|
/** Currency */
|
|
1110
1725
|
currency: string;
|
|
1111
1726
|
/** Daily */
|
|
@@ -1279,6 +1894,10 @@ declare interface components {
|
|
|
1279
1894
|
show_version_in_settings?: boolean | null;
|
|
1280
1895
|
/** Show Welcome Glow */
|
|
1281
1896
|
show_welcome_glow?: boolean | null;
|
|
1897
|
+
/** Sidebar Show Connectors */
|
|
1898
|
+
sidebar_show_connectors?: boolean | null;
|
|
1899
|
+
/** Sidebar Show Schedules */
|
|
1900
|
+
sidebar_show_schedules?: boolean | null;
|
|
1282
1901
|
/** Signup Enabled */
|
|
1283
1902
|
signup_enabled?: boolean | null;
|
|
1284
1903
|
/** Thread Actions Edit */
|
|
@@ -1384,6 +2003,10 @@ declare interface components {
|
|
|
1384
2003
|
show_version_in_settings?: boolean | null;
|
|
1385
2004
|
/** Show Welcome Glow */
|
|
1386
2005
|
show_welcome_glow?: boolean | null;
|
|
2006
|
+
/** Sidebar Show Connectors */
|
|
2007
|
+
sidebar_show_connectors?: boolean | null;
|
|
2008
|
+
/** Sidebar Show Schedules */
|
|
2009
|
+
sidebar_show_schedules?: boolean | null;
|
|
1387
2010
|
/** Signup Enabled */
|
|
1388
2011
|
signup_enabled?: boolean | null;
|
|
1389
2012
|
/** Thread Actions Edit */
|
|
@@ -1469,59 +2092,6 @@ declare interface components {
|
|
|
1469
2092
|
/** Username */
|
|
1470
2093
|
username: string | null;
|
|
1471
2094
|
};
|
|
1472
|
-
/** AuthorizeUserInput */
|
|
1473
|
-
AuthorizeUserInput: {
|
|
1474
|
-
/** Email */
|
|
1475
|
-
email?: string | null;
|
|
1476
|
-
/** External Id */
|
|
1477
|
-
external_id?: string | null;
|
|
1478
|
-
/** Metadata */
|
|
1479
|
-
metadata?: {
|
|
1480
|
-
[key: string]: unknown;
|
|
1481
|
-
} | null;
|
|
1482
|
-
/** Name */
|
|
1483
|
-
name: string;
|
|
1484
|
-
/** Password */
|
|
1485
|
-
password?: string | null;
|
|
1486
|
-
/** Phone */
|
|
1487
|
-
phone?: string | null;
|
|
1488
|
-
subscription?: components["schemas"]["SessionSubscriptionInput"] | null;
|
|
1489
|
-
/** Surname */
|
|
1490
|
-
surname: string;
|
|
1491
|
-
/** Username */
|
|
1492
|
-
username?: string | null;
|
|
1493
|
-
};
|
|
1494
|
-
/** AuthorizeUserResponse */
|
|
1495
|
-
AuthorizeUserResponse: {
|
|
1496
|
-
/** Created At */
|
|
1497
|
-
created_at: string | null;
|
|
1498
|
-
/** Email */
|
|
1499
|
-
email: string | null;
|
|
1500
|
-
entitlement: components["schemas"]["EntitlementStatus"];
|
|
1501
|
-
/** External Id */
|
|
1502
|
-
external_id: string | null;
|
|
1503
|
-
/** Metadata */
|
|
1504
|
-
metadata: {
|
|
1505
|
-
[key: string]: unknown;
|
|
1506
|
-
};
|
|
1507
|
-
/** Name */
|
|
1508
|
-
name: string;
|
|
1509
|
-
/** Phone */
|
|
1510
|
-
phone: string | null;
|
|
1511
|
-
/** Surname */
|
|
1512
|
-
surname: string | null;
|
|
1513
|
-
/** Token */
|
|
1514
|
-
token: string;
|
|
1515
|
-
/**
|
|
1516
|
-
* Type
|
|
1517
|
-
* @enum {string}
|
|
1518
|
-
*/
|
|
1519
|
-
type: "human" | "service";
|
|
1520
|
-
/** User Id */
|
|
1521
|
-
user_id: string;
|
|
1522
|
-
/** Username */
|
|
1523
|
-
username: string | null;
|
|
1524
|
-
};
|
|
1525
2095
|
/** BackgroundJob */
|
|
1526
2096
|
BackgroundJob: {
|
|
1527
2097
|
/**
|
|
@@ -1711,7 +2281,151 @@ declare interface components {
|
|
|
1711
2281
|
*/
|
|
1712
2282
|
type: "data-choice-question";
|
|
1713
2283
|
};
|
|
1714
|
-
/**
|
|
2284
|
+
/** ClientBreakdown */
|
|
2285
|
+
ClientBreakdown: {
|
|
2286
|
+
/** Browsers */
|
|
2287
|
+
browsers: components["schemas"]["ClientCount"][];
|
|
2288
|
+
/** Devices */
|
|
2289
|
+
devices: components["schemas"]["ClientCount"][];
|
|
2290
|
+
/** Os */
|
|
2291
|
+
os: components["schemas"]["ClientCount"][];
|
|
2292
|
+
};
|
|
2293
|
+
/** ClientCount */
|
|
2294
|
+
ClientCount: {
|
|
2295
|
+
/** Count */
|
|
2296
|
+
count: number;
|
|
2297
|
+
/** Key */
|
|
2298
|
+
key: string;
|
|
2299
|
+
};
|
|
2300
|
+
/**
|
|
2301
|
+
* ConnectorConnectInput
|
|
2302
|
+
* @description API-key credentials submitted by an end user for a connector.
|
|
2303
|
+
*/
|
|
2304
|
+
ConnectorConnectInput: {
|
|
2305
|
+
/** Account Label */
|
|
2306
|
+
account_label?: string | null;
|
|
2307
|
+
/** Api Key */
|
|
2308
|
+
api_key: string;
|
|
2309
|
+
};
|
|
2310
|
+
/**
|
|
2311
|
+
* ConnectorListResponse
|
|
2312
|
+
* @description Connectors visible to the current user.
|
|
2313
|
+
*/
|
|
2314
|
+
ConnectorListResponse: {
|
|
2315
|
+
/** Allow User Mcp */
|
|
2316
|
+
allow_user_mcp: boolean;
|
|
2317
|
+
/** Connectors */
|
|
2318
|
+
connectors: components["schemas"]["ConnectorView"][];
|
|
2319
|
+
/** Max User Mcp */
|
|
2320
|
+
max_user_mcp: number;
|
|
2321
|
+
};
|
|
2322
|
+
/**
|
|
2323
|
+
* ConnectorToggleInput
|
|
2324
|
+
* @description Enable/disable a connector for the current user or customize per-tool approvals.
|
|
2325
|
+
*/
|
|
2326
|
+
ConnectorToggleInput: {
|
|
2327
|
+
/** Enabled */
|
|
2328
|
+
enabled: boolean;
|
|
2329
|
+
/** Tool Overrides */
|
|
2330
|
+
tool_overrides?: {
|
|
2331
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
2332
|
+
} | null;
|
|
2333
|
+
};
|
|
2334
|
+
/**
|
|
2335
|
+
* ConnectorToolView
|
|
2336
|
+
* @description One tool advertised by a connector.
|
|
2337
|
+
*/
|
|
2338
|
+
ConnectorToolView: {
|
|
2339
|
+
/**
|
|
2340
|
+
* Approval
|
|
2341
|
+
* @enum {string}
|
|
2342
|
+
*/
|
|
2343
|
+
approval: "allow" | "ask" | "deny";
|
|
2344
|
+
/** Description */
|
|
2345
|
+
description?: string | null;
|
|
2346
|
+
/** Destructive */
|
|
2347
|
+
destructive?: boolean | null;
|
|
2348
|
+
/** Full Name */
|
|
2349
|
+
full_name: string;
|
|
2350
|
+
/** Name */
|
|
2351
|
+
name: string;
|
|
2352
|
+
/** Read Only */
|
|
2353
|
+
read_only?: boolean | null;
|
|
2354
|
+
};
|
|
2355
|
+
/**
|
|
2356
|
+
* ConnectorToolsResponse
|
|
2357
|
+
* @description Tools discovered for a connected connector.
|
|
2358
|
+
*/
|
|
2359
|
+
ConnectorToolsResponse: {
|
|
2360
|
+
/** Connector Id */
|
|
2361
|
+
connector_id: string;
|
|
2362
|
+
/** Tools */
|
|
2363
|
+
tools: components["schemas"]["ConnectorToolView"][];
|
|
2364
|
+
};
|
|
2365
|
+
/**
|
|
2366
|
+
* ConnectorView
|
|
2367
|
+
* @description End-user view of an available connector and their connection state.
|
|
2368
|
+
*/
|
|
2369
|
+
ConnectorView: {
|
|
2370
|
+
/** Account Label */
|
|
2371
|
+
account_label?: string | null;
|
|
2372
|
+
/** Allow Unattended */
|
|
2373
|
+
allow_unattended: boolean;
|
|
2374
|
+
/** Api Key Instructions */
|
|
2375
|
+
api_key_instructions?: string | null;
|
|
2376
|
+
/**
|
|
2377
|
+
* Approval
|
|
2378
|
+
* @enum {string}
|
|
2379
|
+
*/
|
|
2380
|
+
approval: "never" | "writes" | "always";
|
|
2381
|
+
/**
|
|
2382
|
+
* Auth Kind
|
|
2383
|
+
* @enum {string}
|
|
2384
|
+
*/
|
|
2385
|
+
auth_kind: "none" | "api_key" | "oauth2";
|
|
2386
|
+
/** Connected */
|
|
2387
|
+
connected: boolean;
|
|
2388
|
+
/** Description */
|
|
2389
|
+
description: string;
|
|
2390
|
+
/** Enabled */
|
|
2391
|
+
enabled: boolean;
|
|
2392
|
+
/** Icon */
|
|
2393
|
+
icon?: string | null;
|
|
2394
|
+
/** Id */
|
|
2395
|
+
id: string;
|
|
2396
|
+
/** Key */
|
|
2397
|
+
key: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Kind
|
|
2400
|
+
* @enum {string}
|
|
2401
|
+
*/
|
|
2402
|
+
kind: "python" | "mcp";
|
|
2403
|
+
/** Last Error */
|
|
2404
|
+
last_error?: string | null;
|
|
2405
|
+
/** Last Used At */
|
|
2406
|
+
last_used_at?: string | null;
|
|
2407
|
+
/** Name */
|
|
2408
|
+
name: string;
|
|
2409
|
+
/** Requires User Credentials */
|
|
2410
|
+
requires_user_credentials: boolean;
|
|
2411
|
+
/**
|
|
2412
|
+
* Source
|
|
2413
|
+
* @enum {string}
|
|
2414
|
+
*/
|
|
2415
|
+
source: "code" | "admin" | "user";
|
|
2416
|
+
/**
|
|
2417
|
+
* Status
|
|
2418
|
+
* @enum {string}
|
|
2419
|
+
*/
|
|
2420
|
+
status: "connected" | "disconnected" | "expired" | "error";
|
|
2421
|
+
/** Tool Overrides */
|
|
2422
|
+
tool_overrides?: {
|
|
2423
|
+
[key: string]: "allow" | "ask" | "deny";
|
|
2424
|
+
};
|
|
2425
|
+
/** Url */
|
|
2426
|
+
url?: string | null;
|
|
2427
|
+
};
|
|
2428
|
+
/** CountBin */
|
|
1715
2429
|
CountBin: {
|
|
1716
2430
|
/** Count */
|
|
1717
2431
|
count: number;
|
|
@@ -2528,6 +3242,25 @@ declare interface components {
|
|
|
2528
3242
|
/** Total Cost Microunits */
|
|
2529
3243
|
total_cost_microunits?: number | null;
|
|
2530
3244
|
};
|
|
3245
|
+
/**
|
|
3246
|
+
* OAuthStartInput
|
|
3247
|
+
* @description Request to start an OAuth2 authorization flow for a connector.
|
|
3248
|
+
*/
|
|
3249
|
+
OAuthStartInput: {
|
|
3250
|
+
/**
|
|
3251
|
+
* Return Path
|
|
3252
|
+
* @default /
|
|
3253
|
+
*/
|
|
3254
|
+
return_path?: string;
|
|
3255
|
+
};
|
|
3256
|
+
/**
|
|
3257
|
+
* OAuthStartResponse
|
|
3258
|
+
* @description Authorization URL the browser redirects the user to.
|
|
3259
|
+
*/
|
|
3260
|
+
OAuthStartResponse: {
|
|
3261
|
+
/** Authorization Url */
|
|
3262
|
+
authorization_url: string;
|
|
3263
|
+
};
|
|
2531
3264
|
/** Percentiles */
|
|
2532
3265
|
Percentiles: {
|
|
2533
3266
|
/** P50 */
|
|
@@ -2808,6 +3541,16 @@ declare interface components {
|
|
|
2808
3541
|
composer_attachments?: boolean | null;
|
|
2809
3542
|
/** Composer Voice */
|
|
2810
3543
|
composer_voice?: boolean | null;
|
|
3544
|
+
/**
|
|
3545
|
+
* Connectors Allow User Mcp
|
|
3546
|
+
* @default false
|
|
3547
|
+
*/
|
|
3548
|
+
connectors_allow_user_mcp?: boolean;
|
|
3549
|
+
/**
|
|
3550
|
+
* Connectors Enabled
|
|
3551
|
+
* @default false
|
|
3552
|
+
*/
|
|
3553
|
+
connectors_enabled?: boolean;
|
|
2811
3554
|
/** Credits Meter */
|
|
2812
3555
|
credits_meter?: ("messages" | "tokens" | "cost") | null;
|
|
2813
3556
|
/** Default Accent */
|
|
@@ -2851,6 +3594,11 @@ declare interface components {
|
|
|
2851
3594
|
quota_calendar?: ("gregorian" | "persian") | null;
|
|
2852
3595
|
/** Quota Timezone */
|
|
2853
3596
|
quota_timezone?: string | null;
|
|
3597
|
+
/**
|
|
3598
|
+
* Schedules Enabled
|
|
3599
|
+
* @default false
|
|
3600
|
+
*/
|
|
3601
|
+
schedules_enabled?: boolean;
|
|
2854
3602
|
/** Settings Account Fields */
|
|
2855
3603
|
settings_account_fields?: {
|
|
2856
3604
|
[key: string]: string;
|
|
@@ -2883,6 +3631,10 @@ declare interface components {
|
|
|
2883
3631
|
show_version_in_settings?: boolean | null;
|
|
2884
3632
|
/** Show Welcome Glow */
|
|
2885
3633
|
show_welcome_glow?: boolean | null;
|
|
3634
|
+
/** Sidebar Show Connectors */
|
|
3635
|
+
sidebar_show_connectors?: boolean | null;
|
|
3636
|
+
/** Sidebar Show Schedules */
|
|
3637
|
+
sidebar_show_schedules?: boolean | null;
|
|
2886
3638
|
/** Signup Enabled */
|
|
2887
3639
|
signup_enabled?: boolean | null;
|
|
2888
3640
|
/** Thread Actions Edit */
|
|
@@ -2912,6 +3664,8 @@ declare interface components {
|
|
|
2912
3664
|
welcome_greeting?: string | null;
|
|
2913
3665
|
/** Welcome Subtitle */
|
|
2914
3666
|
welcome_subtitle?: string | null;
|
|
3667
|
+
} & {
|
|
3668
|
+
[key: string]: unknown;
|
|
2915
3669
|
};
|
|
2916
3670
|
/** PublicStatus */
|
|
2917
3671
|
PublicStatus: {
|
|
@@ -3099,6 +3853,219 @@ declare interface components {
|
|
|
3099
3853
|
[key: string]: unknown;
|
|
3100
3854
|
};
|
|
3101
3855
|
};
|
|
3856
|
+
/**
|
|
3857
|
+
* ScheduleCreateInput
|
|
3858
|
+
* @description Payload to create a new scheduled task.
|
|
3859
|
+
*/
|
|
3860
|
+
ScheduleCreateInput: {
|
|
3861
|
+
/** Cron */
|
|
3862
|
+
cron?: string | null;
|
|
3863
|
+
/** Expires At */
|
|
3864
|
+
expires_at?: string | null;
|
|
3865
|
+
/** Interval Minutes */
|
|
3866
|
+
interval_minutes?: number | null;
|
|
3867
|
+
/**
|
|
3868
|
+
* Kind
|
|
3869
|
+
* @enum {string}
|
|
3870
|
+
*/
|
|
3871
|
+
kind: "once" | "cron" | "interval";
|
|
3872
|
+
/** Max Runs */
|
|
3873
|
+
max_runs?: number | null;
|
|
3874
|
+
/** Name */
|
|
3875
|
+
name: string;
|
|
3876
|
+
/** Prompt */
|
|
3877
|
+
prompt: string;
|
|
3878
|
+
/** Run At */
|
|
3879
|
+
run_at?: string | null;
|
|
3880
|
+
/** Run Options */
|
|
3881
|
+
run_options?: {
|
|
3882
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
3883
|
+
} | null;
|
|
3884
|
+
/**
|
|
3885
|
+
* Silent If Empty
|
|
3886
|
+
* @default false
|
|
3887
|
+
*/
|
|
3888
|
+
silent_if_empty?: boolean;
|
|
3889
|
+
/**
|
|
3890
|
+
* Thread Mode
|
|
3891
|
+
* @default shared
|
|
3892
|
+
* @enum {string}
|
|
3893
|
+
*/
|
|
3894
|
+
thread_mode?: "shared" | "new";
|
|
3895
|
+
/**
|
|
3896
|
+
* Timezone
|
|
3897
|
+
* @default UTC
|
|
3898
|
+
*/
|
|
3899
|
+
timezone?: string;
|
|
3900
|
+
};
|
|
3901
|
+
/**
|
|
3902
|
+
* ScheduleListResponse
|
|
3903
|
+
* @description All schedules owned by the current user, plus their cap.
|
|
3904
|
+
*/
|
|
3905
|
+
ScheduleListResponse: {
|
|
3906
|
+
/** Max Schedules */
|
|
3907
|
+
max_schedules: number;
|
|
3908
|
+
/** Schedules */
|
|
3909
|
+
schedules: components["schemas"]["ScheduleView"][];
|
|
3910
|
+
};
|
|
3911
|
+
/**
|
|
3912
|
+
* ScheduleRunListResponse
|
|
3913
|
+
* @description Recent runs of a schedule.
|
|
3914
|
+
*/
|
|
3915
|
+
ScheduleRunListResponse: {
|
|
3916
|
+
/** Runs */
|
|
3917
|
+
runs: components["schemas"]["ScheduleRunView"][];
|
|
3918
|
+
};
|
|
3919
|
+
/**
|
|
3920
|
+
* ScheduleRunView
|
|
3921
|
+
* @description One execution of a schedule.
|
|
3922
|
+
*/
|
|
3923
|
+
ScheduleRunView: {
|
|
3924
|
+
/** Assistant Message Id */
|
|
3925
|
+
assistant_message_id?: string | null;
|
|
3926
|
+
/** Error */
|
|
3927
|
+
error?: string | null;
|
|
3928
|
+
/** Finished At */
|
|
3929
|
+
finished_at?: string | null;
|
|
3930
|
+
/** Id */
|
|
3931
|
+
id: string;
|
|
3932
|
+
/** Schedule Id */
|
|
3933
|
+
schedule_id: string;
|
|
3934
|
+
/**
|
|
3935
|
+
* Scheduled For
|
|
3936
|
+
* Format: date-time
|
|
3937
|
+
*/
|
|
3938
|
+
scheduled_for: string;
|
|
3939
|
+
/**
|
|
3940
|
+
* Started At
|
|
3941
|
+
* Format: date-time
|
|
3942
|
+
*/
|
|
3943
|
+
started_at: string;
|
|
3944
|
+
/**
|
|
3945
|
+
* Status
|
|
3946
|
+
* @enum {string}
|
|
3947
|
+
*/
|
|
3948
|
+
status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
|
|
3949
|
+
/** Summary */
|
|
3950
|
+
summary?: string | null;
|
|
3951
|
+
/** Thread Id */
|
|
3952
|
+
thread_id?: string | null;
|
|
3953
|
+
/**
|
|
3954
|
+
* Trigger
|
|
3955
|
+
* @enum {string}
|
|
3956
|
+
*/
|
|
3957
|
+
trigger: "scheduled" | "manual";
|
|
3958
|
+
/** Turn Id */
|
|
3959
|
+
turn_id?: string | null;
|
|
3960
|
+
/** User Id */
|
|
3961
|
+
user_id: string;
|
|
3962
|
+
};
|
|
3963
|
+
/**
|
|
3964
|
+
* ScheduleUpdateInput
|
|
3965
|
+
* @description Partial update payload for an existing schedule.
|
|
3966
|
+
*/
|
|
3967
|
+
ScheduleUpdateInput: {
|
|
3968
|
+
/** Cron */
|
|
3969
|
+
cron?: string | null;
|
|
3970
|
+
/** Enabled */
|
|
3971
|
+
enabled?: boolean | null;
|
|
3972
|
+
/** Expires At */
|
|
3973
|
+
expires_at?: string | null;
|
|
3974
|
+
/** Interval Minutes */
|
|
3975
|
+
interval_minutes?: number | null;
|
|
3976
|
+
/** Kind */
|
|
3977
|
+
kind?: ("once" | "cron" | "interval") | null;
|
|
3978
|
+
/** Max Runs */
|
|
3979
|
+
max_runs?: number | null;
|
|
3980
|
+
/** Name */
|
|
3981
|
+
name?: string | null;
|
|
3982
|
+
/** Prompt */
|
|
3983
|
+
prompt?: string | null;
|
|
3984
|
+
/** Run At */
|
|
3985
|
+
run_at?: string | null;
|
|
3986
|
+
/** Run Options */
|
|
3987
|
+
run_options?: {
|
|
3988
|
+
[key: string]: components["schemas"]["JsonValue"];
|
|
3989
|
+
} | null;
|
|
3990
|
+
/** Silent If Empty */
|
|
3991
|
+
silent_if_empty?: boolean | null;
|
|
3992
|
+
/** Thread Mode */
|
|
3993
|
+
thread_mode?: ("shared" | "new") | null;
|
|
3994
|
+
/** Timezone */
|
|
3995
|
+
timezone?: string | null;
|
|
3996
|
+
};
|
|
3997
|
+
/**
|
|
3998
|
+
* ScheduleView
|
|
3999
|
+
* @description A user's scheduled routine.
|
|
4000
|
+
*/
|
|
4001
|
+
ScheduleView: {
|
|
4002
|
+
/**
|
|
4003
|
+
* Consecutive Failures
|
|
4004
|
+
* @default 0
|
|
4005
|
+
*/
|
|
4006
|
+
consecutive_failures?: number;
|
|
4007
|
+
/**
|
|
4008
|
+
* Created At
|
|
4009
|
+
* Format: date-time
|
|
4010
|
+
*/
|
|
4011
|
+
created_at: string;
|
|
4012
|
+
/** Cron */
|
|
4013
|
+
cron?: string | null;
|
|
4014
|
+
/** Enabled */
|
|
4015
|
+
enabled: boolean;
|
|
4016
|
+
/** Expires At */
|
|
4017
|
+
expires_at?: string | null;
|
|
4018
|
+
/** Id */
|
|
4019
|
+
id: string;
|
|
4020
|
+
/** Interval Minutes */
|
|
4021
|
+
interval_minutes?: number | null;
|
|
4022
|
+
/**
|
|
4023
|
+
* Kind
|
|
4024
|
+
* @enum {string}
|
|
4025
|
+
*/
|
|
4026
|
+
kind: "once" | "cron" | "interval";
|
|
4027
|
+
/** Last Run At */
|
|
4028
|
+
last_run_at?: string | null;
|
|
4029
|
+
/** Last Run Status */
|
|
4030
|
+
last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
|
|
4031
|
+
/** Last Run Thread Id */
|
|
4032
|
+
last_run_thread_id?: string | null;
|
|
4033
|
+
/** Max Runs */
|
|
4034
|
+
max_runs?: number | null;
|
|
4035
|
+
/** Name */
|
|
4036
|
+
name: string;
|
|
4037
|
+
/** Next Run At */
|
|
4038
|
+
next_run_at?: string | null;
|
|
4039
|
+
/** Pause Reason */
|
|
4040
|
+
pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
|
|
4041
|
+
/** Prompt */
|
|
4042
|
+
prompt: string;
|
|
4043
|
+
/** Run At */
|
|
4044
|
+
run_at?: string | null;
|
|
4045
|
+
/**
|
|
4046
|
+
* Run Count
|
|
4047
|
+
* @default 0
|
|
4048
|
+
*/
|
|
4049
|
+
run_count?: number;
|
|
4050
|
+
/** Silent If Empty */
|
|
4051
|
+
silent_if_empty: boolean;
|
|
4052
|
+
/** Thread Id */
|
|
4053
|
+
thread_id?: string | null;
|
|
4054
|
+
/**
|
|
4055
|
+
* Thread Mode
|
|
4056
|
+
* @enum {string}
|
|
4057
|
+
*/
|
|
4058
|
+
thread_mode: "shared" | "new";
|
|
4059
|
+
/** Timezone */
|
|
4060
|
+
timezone: string;
|
|
4061
|
+
/**
|
|
4062
|
+
* Updated At
|
|
4063
|
+
* Format: date-time
|
|
4064
|
+
*/
|
|
4065
|
+
updated_at: string;
|
|
4066
|
+
/** User Id */
|
|
4067
|
+
user_id: string;
|
|
4068
|
+
};
|
|
3102
4069
|
/** SessionInput */
|
|
3103
4070
|
SessionInput: {
|
|
3104
4071
|
/** Redirect Path */
|
|
@@ -3907,6 +4874,51 @@ declare interface components {
|
|
|
3907
4874
|
/** User Ids */
|
|
3908
4875
|
user_ids?: string[] | null;
|
|
3909
4876
|
};
|
|
4877
|
+
/**
|
|
4878
|
+
* UserMCPCreateInput
|
|
4879
|
+
* @description User-submitted custom remote MCP server.
|
|
4880
|
+
*/
|
|
4881
|
+
UserMCPCreateInput: {
|
|
4882
|
+
/** Api Key */
|
|
4883
|
+
api_key?: string | null;
|
|
4884
|
+
/**
|
|
4885
|
+
* Approval
|
|
4886
|
+
* @default writes
|
|
4887
|
+
* @enum {string}
|
|
4888
|
+
*/
|
|
4889
|
+
approval?: "never" | "writes" | "always";
|
|
4890
|
+
/**
|
|
4891
|
+
* Auth Kind
|
|
4892
|
+
* @default none
|
|
4893
|
+
* @enum {string}
|
|
4894
|
+
*/
|
|
4895
|
+
auth_kind?: "none" | "api_key";
|
|
4896
|
+
/**
|
|
4897
|
+
* Description
|
|
4898
|
+
* @default
|
|
4899
|
+
*/
|
|
4900
|
+
description?: string;
|
|
4901
|
+
/**
|
|
4902
|
+
* Header Name
|
|
4903
|
+
* @default Authorization
|
|
4904
|
+
*/
|
|
4905
|
+
header_name?: string;
|
|
4906
|
+
/**
|
|
4907
|
+
* Header Prefix
|
|
4908
|
+
* @default Bearer
|
|
4909
|
+
*/
|
|
4910
|
+
header_prefix?: string;
|
|
4911
|
+
/** Name */
|
|
4912
|
+
name: string;
|
|
4913
|
+
/**
|
|
4914
|
+
* Transport
|
|
4915
|
+
* @default streamable-http
|
|
4916
|
+
* @enum {string}
|
|
4917
|
+
*/
|
|
4918
|
+
transport?: "streamable-http" | "sse";
|
|
4919
|
+
/** Url */
|
|
4920
|
+
url: string;
|
|
4921
|
+
};
|
|
3910
4922
|
/** UserOption */
|
|
3911
4923
|
UserOption: {
|
|
3912
4924
|
/** Email */
|
|
@@ -4015,6 +5027,8 @@ declare interface components {
|
|
|
4015
5027
|
};
|
|
4016
5028
|
/** UserUpdateInput */
|
|
4017
5029
|
UserUpdateInput: {
|
|
5030
|
+
/** Current Password */
|
|
5031
|
+
current_password?: string | null;
|
|
4018
5032
|
/** Email */
|
|
4019
5033
|
email?: string | null;
|
|
4020
5034
|
/** Metadata */
|
|
@@ -4198,7 +5212,9 @@ declare interface components {
|
|
|
4198
5212
|
export declare interface ComposerFile {
|
|
4199
5213
|
/** Tells apart files with the same name. */
|
|
4200
5214
|
key: string;
|
|
5215
|
+
/** Original browser `File` selected by the user. */
|
|
4201
5216
|
file: File;
|
|
5217
|
+
/** Current upload lifecycle state. */
|
|
4202
5218
|
status: ComposerFileStatus;
|
|
4203
5219
|
/** The fraction uploaded, from 0 to 1, or `null` while that isn't known. */
|
|
4204
5220
|
progress: number | null;
|
|
@@ -4213,6 +5229,36 @@ export declare interface ComposerFile {
|
|
|
4213
5229
|
/** Where a file attached in the composer is on its way to the server. */
|
|
4214
5230
|
export declare type ComposerFileStatus = 'uploading' | 'uploaded' | 'failed';
|
|
4215
5231
|
|
|
5232
|
+
/** An external connector and the signed-in user's connection state. */
|
|
5233
|
+
export declare type Connector = Schemas['ConnectorView'];
|
|
5234
|
+
|
|
5235
|
+
/** Tool approval policy for a connector. */
|
|
5236
|
+
export declare type ConnectorApprovalPolicy = Connector['approval'];
|
|
5237
|
+
|
|
5238
|
+
/** Authentication mechanism used by a connector. */
|
|
5239
|
+
export declare type ConnectorAuthKind = Connector['auth_kind'];
|
|
5240
|
+
|
|
5241
|
+
/** Request body to store an API key for a connector. */
|
|
5242
|
+
export declare type ConnectorConnectInput = Schemas['ConnectorConnectInput'];
|
|
5243
|
+
|
|
5244
|
+
/** Response from `GET /connectors`. */
|
|
5245
|
+
export declare type ConnectorListResponse = Schemas['ConnectorListResponse'];
|
|
5246
|
+
|
|
5247
|
+
/** Connection health status of a connector. */
|
|
5248
|
+
export declare type ConnectorStatus = Connector['status'];
|
|
5249
|
+
|
|
5250
|
+
/** Request body to toggle a connector or customize tool approvals. */
|
|
5251
|
+
export declare type ConnectorToggleInput = Schemas['ConnectorToggleInput'];
|
|
5252
|
+
|
|
5253
|
+
/** One tool advertised by a connector. */
|
|
5254
|
+
export declare type ConnectorTool = Schemas['ConnectorToolView'];
|
|
5255
|
+
|
|
5256
|
+
/** Per-tool approval mode (`'allow' | 'ask' | 'deny'`). */
|
|
5257
|
+
export declare type ConnectorToolOverride = ConnectorTool['approval'];
|
|
5258
|
+
|
|
5259
|
+
/** Response from `GET /connectors/{id}/tools`. */
|
|
5260
|
+
export declare type ConnectorToolsResponse = Schemas['ConnectorToolsResponse'];
|
|
5261
|
+
|
|
4216
5262
|
/**
|
|
4217
5263
|
* An `Intl.DateTimeFormat` bound to the active UI language.
|
|
4218
5264
|
*
|
|
@@ -4231,17 +5277,28 @@ export declare type CreditsMeter = CreditsStatus['meter'];
|
|
|
4231
5277
|
/** A user's credits: how many were granted, and how many are spent. */
|
|
4232
5278
|
export declare type CreditsStatus = Schemas['CreditsView'];
|
|
4233
5279
|
|
|
5280
|
+
/** Try to parse a 5-field cron expression back into a visual preset, or `null` if custom. */
|
|
5281
|
+
export declare function cronToPreset(expr: string | null | undefined): SchedulePreset | null;
|
|
5282
|
+
|
|
4234
5283
|
/**
|
|
4235
5284
|
* A `data-<name>` part your backend streams with `ctx.deps.emit(name, payload)`, whose `data` has
|
|
4236
5285
|
* the type you give. Nothing checks it at runtime: it says what the server sends.
|
|
4237
5286
|
*/
|
|
4238
5287
|
export declare interface DataPart<Data = unknown> {
|
|
5288
|
+
/** Custom part discriminator prefixed with `data-`. */
|
|
4239
5289
|
type: `data-${string}`;
|
|
4240
5290
|
/** Set when the server streams several versions of one part, each replacing the last. */
|
|
4241
5291
|
id?: string;
|
|
5292
|
+
/** Structured payload emitted by the backend. */
|
|
4242
5293
|
data: Data;
|
|
4243
5294
|
}
|
|
4244
5295
|
|
|
5296
|
+
/** Format a schedule's cadence in human terms using `schedules` translation keys. */
|
|
5297
|
+
export declare function describeSchedule(schedule: Pick<Schedule, 'kind' | 'cron' | 'interval_minutes' | 'run_at' | 'timezone'>, t: ScheduleTranslator, language: string): string;
|
|
5298
|
+
|
|
5299
|
+
/** Detect the user's local IANA timezone, falling back to `'UTC'` outside browsers. */
|
|
5300
|
+
export declare function detectLocalTimezone(): string;
|
|
5301
|
+
|
|
4245
5302
|
/** What a user may use right now. */
|
|
4246
5303
|
export declare type EntitlementStatus = Schemas['EntitlementStatus'];
|
|
4247
5304
|
|
|
@@ -4251,7 +5308,7 @@ export declare type EntitlementWindow = Schemas['QuotaWindow'];
|
|
|
4251
5308
|
/**
|
|
4252
5309
|
* Evaluates a condition against the current metadata state.
|
|
4253
5310
|
*/
|
|
4254
|
-
export declare function evaluateCondition(condition: MetadataFieldCondition | undefined, metadata: Record<string,
|
|
5311
|
+
export declare function evaluateCondition(condition: MetadataFieldCondition | undefined, metadata: Record<string, unknown>): boolean;
|
|
4255
5312
|
|
|
4256
5313
|
/** Response from the feedback endpoint. */
|
|
4257
5314
|
export declare type FeedbackResponse = Schemas['StatusResponse'];
|
|
@@ -4293,9 +5350,13 @@ export declare type GentiqDataTypes = {
|
|
|
4293
5350
|
'chat-finished': ChatFinishedData;
|
|
4294
5351
|
};
|
|
4295
5352
|
|
|
5353
|
+
/** Normalized error thrown by the Gentiq HTTP client when a request fails. */
|
|
4296
5354
|
export declare class GentiqError extends Error {
|
|
4297
|
-
code
|
|
5355
|
+
/** Machine-readable error code returned by the backend (or `'timeout'`). */
|
|
5356
|
+
code: GentiqErrorCode | (string & {});
|
|
5357
|
+
/** HTTP status code when the error came from a server response. */
|
|
4298
5358
|
status?: number;
|
|
5359
|
+
/** Optional structured error metadata returned by the backend. */
|
|
4299
5360
|
details?: unknown;
|
|
4300
5361
|
constructor(response: GentiqErrorResponse, status?: number);
|
|
4301
5362
|
}
|
|
@@ -4353,6 +5414,19 @@ export declare const GentiqErrorCode: {
|
|
|
4353
5414
|
readonly ADMIN_NOT_FOUND: "admin_not_found";
|
|
4354
5415
|
readonly CANNOT_DELETE_SELF: "cannot_delete_self";
|
|
4355
5416
|
readonly ADMIN_UPDATE_FAILED: "admin_update_failed";
|
|
5417
|
+
readonly JOB_NOT_FOUND: "job_not_found";
|
|
5418
|
+
readonly RAW_JOBS_DISABLED: "raw_jobs_disabled";
|
|
5419
|
+
readonly SCHEDULE_NOT_FOUND: "schedule_not_found";
|
|
5420
|
+
readonly SCHEDULE_LIMIT_REACHED: "schedule_limit_reached";
|
|
5421
|
+
readonly INVALID_SCHEDULE: "invalid_schedule";
|
|
5422
|
+
readonly CONNECTOR_NOT_FOUND: "connector_not_found";
|
|
5423
|
+
readonly CONNECTOR_ALREADY_EXISTS: "connector_already_exists";
|
|
5424
|
+
readonly CONNECTOR_READ_ONLY: "connector_read_only";
|
|
5425
|
+
readonly CONNECTOR_AUTH_FAILED: "connector_auth_failed";
|
|
5426
|
+
readonly CONNECTOR_UNREACHABLE: "connector_unreachable";
|
|
5427
|
+
readonly CONNECTOR_OAUTH_INVALID_STATE: "connector_oauth_invalid_state";
|
|
5428
|
+
readonly CONNECTOR_URL_BLOCKED: "connector_url_blocked";
|
|
5429
|
+
readonly USER_MCP_DISABLED: "user_mcp_disabled";
|
|
4356
5430
|
readonly INTERNAL_ERROR: "internal_error";
|
|
4357
5431
|
readonly VALIDATION_ERROR: "validation_error";
|
|
4358
5432
|
readonly NOT_FOUND: "not_found";
|
|
@@ -4362,11 +5436,14 @@ export declare const GentiqErrorCode: {
|
|
|
4362
5436
|
readonly TIMEOUT: "timeout";
|
|
4363
5437
|
};
|
|
4364
5438
|
|
|
5439
|
+
/** Union of every known {@link GentiqErrorCode} string value. */
|
|
4365
5440
|
export declare type GentiqErrorCode = (typeof GentiqErrorCode)[keyof typeof GentiqErrorCode];
|
|
4366
5441
|
|
|
5442
|
+
/** JSON error envelope returned by every Gentiq API route on failure. */
|
|
4367
5443
|
export declare interface GentiqErrorResponse {
|
|
5444
|
+
/** Machine-readable code, human-readable message, and optional error details. */
|
|
4368
5445
|
error: {
|
|
4369
|
-
code: GentiqErrorCode | string;
|
|
5446
|
+
code: GentiqErrorCode | (string & {});
|
|
4370
5447
|
message: string;
|
|
4371
5448
|
details?: unknown;
|
|
4372
5449
|
};
|
|
@@ -4395,6 +5472,12 @@ export declare type GentiqUser = Schemas['UserProfile'];
|
|
|
4395
5472
|
*/
|
|
4396
5473
|
export declare function getAvailableLanguages(i18n: i18n | undefined, allowed?: readonly string[]): string[];
|
|
4397
5474
|
|
|
5475
|
+
/** The calendar to render dates in for a language tag. */
|
|
5476
|
+
export declare function getCalendar(language: string | undefined | null): string;
|
|
5477
|
+
|
|
5478
|
+
/** Returns the {@link CalendarSystem} implementation for `kind`. */
|
|
5479
|
+
export declare function getCalendarSystem(kind: CalendarKind): CalendarSystem;
|
|
5480
|
+
|
|
4398
5481
|
/**
|
|
4399
5482
|
* The writing direction of a language tag, as a `dir` attribute value.
|
|
4400
5483
|
*
|
|
@@ -4508,12 +5591,19 @@ declare type MessageIdData = Schemas['MessageIdData'];
|
|
|
4508
5591
|
/** A message's text as one string: every text part, in order, separated by a blank line. */
|
|
4509
5592
|
export declare function messageText(message: Pick<UIMessage, 'parts'>): string;
|
|
4510
5593
|
|
|
5594
|
+
/** Visibility condition comparing another profile metadata field against `value`. */
|
|
4511
5595
|
export declare interface MetadataFieldCondition {
|
|
5596
|
+
/** Key of the profile metadata field to inspect. */
|
|
4512
5597
|
field: string;
|
|
5598
|
+
/** Comparison operator (defaults to `'equals'`). */
|
|
4513
5599
|
operator?: 'equals' | 'not_equals' | 'in' | 'not_in';
|
|
5600
|
+
/** Target value (or array of values for `'in'` / `'not_in'`) to compare against. */
|
|
4514
5601
|
value: unknown;
|
|
4515
5602
|
}
|
|
4516
5603
|
|
|
5604
|
+
/** Response from `POST /connectors/{id}/oauth/start`. */
|
|
5605
|
+
export declare type OAuthStartResponse = Schemas['OAuthStartResponse'];
|
|
5606
|
+
|
|
4517
5607
|
declare type Operation<M extends HttpMethod, P extends RoutePath<M>> = NonNullable<Routes[P][M]>;
|
|
4518
5608
|
|
|
4519
5609
|
declare interface operations {
|
|
@@ -5558,12 +6648,9 @@ declare interface operations {
|
|
|
5558
6648
|
};
|
|
5559
6649
|
};
|
|
5560
6650
|
};
|
|
5561
|
-
|
|
6651
|
+
admin_list_connectors_api_admin_connectors_get: {
|
|
5562
6652
|
parameters: {
|
|
5563
|
-
query?:
|
|
5564
|
-
limit?: number;
|
|
5565
|
-
type?: string | null;
|
|
5566
|
-
};
|
|
6653
|
+
query?: never;
|
|
5567
6654
|
header?: never;
|
|
5568
6655
|
path?: never;
|
|
5569
6656
|
cookie?: never;
|
|
@@ -5576,7 +6663,7 @@ declare interface operations {
|
|
|
5576
6663
|
[name: string]: unknown;
|
|
5577
6664
|
};
|
|
5578
6665
|
content: {
|
|
5579
|
-
"application/json": components["schemas"]["
|
|
6666
|
+
"application/json": components["schemas"]["AdminConnectorListResponse"];
|
|
5580
6667
|
};
|
|
5581
6668
|
};
|
|
5582
6669
|
/** @description Client Error */
|
|
@@ -5599,7 +6686,7 @@ declare interface operations {
|
|
|
5599
6686
|
};
|
|
5600
6687
|
};
|
|
5601
6688
|
};
|
|
5602
|
-
|
|
6689
|
+
admin_create_connector_api_admin_connectors_post: {
|
|
5603
6690
|
parameters: {
|
|
5604
6691
|
query?: never;
|
|
5605
6692
|
header?: never;
|
|
@@ -5608,17 +6695,17 @@ declare interface operations {
|
|
|
5608
6695
|
};
|
|
5609
6696
|
requestBody: {
|
|
5610
6697
|
content: {
|
|
5611
|
-
"application/json": components["schemas"]["
|
|
6698
|
+
"application/json": components["schemas"]["AdminConnectorCreateInput"];
|
|
5612
6699
|
};
|
|
5613
6700
|
};
|
|
5614
6701
|
responses: {
|
|
5615
6702
|
/** @description Successful Response */
|
|
5616
|
-
|
|
6703
|
+
201: {
|
|
5617
6704
|
headers: {
|
|
5618
6705
|
[name: string]: unknown;
|
|
5619
6706
|
};
|
|
5620
6707
|
content: {
|
|
5621
|
-
"application/json": components["schemas"]["
|
|
6708
|
+
"application/json": components["schemas"]["AdminConnectorView"];
|
|
5622
6709
|
};
|
|
5623
6710
|
};
|
|
5624
6711
|
/** @description Client Error */
|
|
@@ -5641,11 +6728,13 @@ declare interface operations {
|
|
|
5641
6728
|
};
|
|
5642
6729
|
};
|
|
5643
6730
|
};
|
|
5644
|
-
|
|
6731
|
+
admin_delete_connector_api_admin_connectors__connector_id__delete: {
|
|
5645
6732
|
parameters: {
|
|
5646
6733
|
query?: never;
|
|
5647
6734
|
header?: never;
|
|
5648
|
-
path
|
|
6735
|
+
path: {
|
|
6736
|
+
connector_id: string;
|
|
6737
|
+
};
|
|
5649
6738
|
cookie?: never;
|
|
5650
6739
|
};
|
|
5651
6740
|
requestBody?: never;
|
|
@@ -5656,7 +6745,7 @@ declare interface operations {
|
|
|
5656
6745
|
[name: string]: unknown;
|
|
5657
6746
|
};
|
|
5658
6747
|
content: {
|
|
5659
|
-
"application/json": components["schemas"]["
|
|
6748
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
5660
6749
|
};
|
|
5661
6750
|
};
|
|
5662
6751
|
/** @description Client Error */
|
|
@@ -5679,28 +6768,233 @@ declare interface operations {
|
|
|
5679
6768
|
};
|
|
5680
6769
|
};
|
|
5681
6770
|
};
|
|
5682
|
-
|
|
6771
|
+
admin_update_connector_api_admin_connectors__connector_id__patch: {
|
|
5683
6772
|
parameters: {
|
|
5684
6773
|
query?: never;
|
|
5685
6774
|
header?: never;
|
|
5686
6775
|
path: {
|
|
5687
|
-
|
|
6776
|
+
connector_id: string;
|
|
5688
6777
|
};
|
|
5689
6778
|
cookie?: never;
|
|
5690
6779
|
};
|
|
5691
6780
|
requestBody: {
|
|
5692
6781
|
content: {
|
|
5693
|
-
"application/json": components["schemas"]["
|
|
6782
|
+
"application/json": components["schemas"]["AdminConnectorUpdateInput"];
|
|
5694
6783
|
};
|
|
5695
6784
|
};
|
|
5696
6785
|
responses: {
|
|
5697
6786
|
/** @description Successful Response */
|
|
5698
|
-
|
|
6787
|
+
200: {
|
|
5699
6788
|
headers: {
|
|
5700
6789
|
[name: string]: unknown;
|
|
5701
6790
|
};
|
|
5702
6791
|
content: {
|
|
5703
|
-
"application/json": components["schemas"]["
|
|
6792
|
+
"application/json": components["schemas"]["AdminConnectorView"];
|
|
6793
|
+
};
|
|
6794
|
+
};
|
|
6795
|
+
/** @description Client Error */
|
|
6796
|
+
"4XX": {
|
|
6797
|
+
headers: {
|
|
6798
|
+
[name: string]: unknown;
|
|
6799
|
+
};
|
|
6800
|
+
content: {
|
|
6801
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6802
|
+
};
|
|
6803
|
+
};
|
|
6804
|
+
/** @description Server Error */
|
|
6805
|
+
"5XX": {
|
|
6806
|
+
headers: {
|
|
6807
|
+
[name: string]: unknown;
|
|
6808
|
+
};
|
|
6809
|
+
content: {
|
|
6810
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6811
|
+
};
|
|
6812
|
+
};
|
|
6813
|
+
};
|
|
6814
|
+
};
|
|
6815
|
+
admin_test_connector_api_admin_connectors__connector_id__test_post: {
|
|
6816
|
+
parameters: {
|
|
6817
|
+
query?: never;
|
|
6818
|
+
header?: never;
|
|
6819
|
+
path: {
|
|
6820
|
+
connector_id: string;
|
|
6821
|
+
};
|
|
6822
|
+
cookie?: never;
|
|
6823
|
+
};
|
|
6824
|
+
requestBody?: never;
|
|
6825
|
+
responses: {
|
|
6826
|
+
/** @description Successful Response */
|
|
6827
|
+
200: {
|
|
6828
|
+
headers: {
|
|
6829
|
+
[name: string]: unknown;
|
|
6830
|
+
};
|
|
6831
|
+
content: {
|
|
6832
|
+
"application/json": components["schemas"]["AdminConnectorTestResponse"];
|
|
6833
|
+
};
|
|
6834
|
+
};
|
|
6835
|
+
/** @description Client Error */
|
|
6836
|
+
"4XX": {
|
|
6837
|
+
headers: {
|
|
6838
|
+
[name: string]: unknown;
|
|
6839
|
+
};
|
|
6840
|
+
content: {
|
|
6841
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6842
|
+
};
|
|
6843
|
+
};
|
|
6844
|
+
/** @description Server Error */
|
|
6845
|
+
"5XX": {
|
|
6846
|
+
headers: {
|
|
6847
|
+
[name: string]: unknown;
|
|
6848
|
+
};
|
|
6849
|
+
content: {
|
|
6850
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6851
|
+
};
|
|
6852
|
+
};
|
|
6853
|
+
};
|
|
6854
|
+
};
|
|
6855
|
+
list_jobs_api_admin_jobs_get: {
|
|
6856
|
+
parameters: {
|
|
6857
|
+
query?: {
|
|
6858
|
+
limit?: number;
|
|
6859
|
+
type?: string | null;
|
|
6860
|
+
};
|
|
6861
|
+
header?: never;
|
|
6862
|
+
path?: never;
|
|
6863
|
+
cookie?: never;
|
|
6864
|
+
};
|
|
6865
|
+
requestBody?: never;
|
|
6866
|
+
responses: {
|
|
6867
|
+
/** @description Successful Response */
|
|
6868
|
+
200: {
|
|
6869
|
+
headers: {
|
|
6870
|
+
[name: string]: unknown;
|
|
6871
|
+
};
|
|
6872
|
+
content: {
|
|
6873
|
+
"application/json": components["schemas"]["BackgroundJobList"];
|
|
6874
|
+
};
|
|
6875
|
+
};
|
|
6876
|
+
/** @description Client Error */
|
|
6877
|
+
"4XX": {
|
|
6878
|
+
headers: {
|
|
6879
|
+
[name: string]: unknown;
|
|
6880
|
+
};
|
|
6881
|
+
content: {
|
|
6882
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6883
|
+
};
|
|
6884
|
+
};
|
|
6885
|
+
/** @description Server Error */
|
|
6886
|
+
"5XX": {
|
|
6887
|
+
headers: {
|
|
6888
|
+
[name: string]: unknown;
|
|
6889
|
+
};
|
|
6890
|
+
content: {
|
|
6891
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6892
|
+
};
|
|
6893
|
+
};
|
|
6894
|
+
};
|
|
6895
|
+
};
|
|
6896
|
+
run_raw_job_api_admin_jobs_raw_post: {
|
|
6897
|
+
parameters: {
|
|
6898
|
+
query?: never;
|
|
6899
|
+
header?: never;
|
|
6900
|
+
path?: never;
|
|
6901
|
+
cookie?: never;
|
|
6902
|
+
};
|
|
6903
|
+
requestBody: {
|
|
6904
|
+
content: {
|
|
6905
|
+
"application/json": components["schemas"]["RunRawJobInput"];
|
|
6906
|
+
};
|
|
6907
|
+
};
|
|
6908
|
+
responses: {
|
|
6909
|
+
/** @description Successful Response */
|
|
6910
|
+
202: {
|
|
6911
|
+
headers: {
|
|
6912
|
+
[name: string]: unknown;
|
|
6913
|
+
};
|
|
6914
|
+
content: {
|
|
6915
|
+
"application/json": components["schemas"]["JobRunView"];
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
6918
|
+
/** @description Client Error */
|
|
6919
|
+
"4XX": {
|
|
6920
|
+
headers: {
|
|
6921
|
+
[name: string]: unknown;
|
|
6922
|
+
};
|
|
6923
|
+
content: {
|
|
6924
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6925
|
+
};
|
|
6926
|
+
};
|
|
6927
|
+
/** @description Server Error */
|
|
6928
|
+
"5XX": {
|
|
6929
|
+
headers: {
|
|
6930
|
+
[name: string]: unknown;
|
|
6931
|
+
};
|
|
6932
|
+
content: {
|
|
6933
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6934
|
+
};
|
|
6935
|
+
};
|
|
6936
|
+
};
|
|
6937
|
+
};
|
|
6938
|
+
list_registered_jobs_api_admin_jobs_registered_get: {
|
|
6939
|
+
parameters: {
|
|
6940
|
+
query?: never;
|
|
6941
|
+
header?: never;
|
|
6942
|
+
path?: never;
|
|
6943
|
+
cookie?: never;
|
|
6944
|
+
};
|
|
6945
|
+
requestBody?: never;
|
|
6946
|
+
responses: {
|
|
6947
|
+
/** @description Successful Response */
|
|
6948
|
+
200: {
|
|
6949
|
+
headers: {
|
|
6950
|
+
[name: string]: unknown;
|
|
6951
|
+
};
|
|
6952
|
+
content: {
|
|
6953
|
+
"application/json": components["schemas"]["RegisteredJobList"];
|
|
6954
|
+
};
|
|
6955
|
+
};
|
|
6956
|
+
/** @description Client Error */
|
|
6957
|
+
"4XX": {
|
|
6958
|
+
headers: {
|
|
6959
|
+
[name: string]: unknown;
|
|
6960
|
+
};
|
|
6961
|
+
content: {
|
|
6962
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6963
|
+
};
|
|
6964
|
+
};
|
|
6965
|
+
/** @description Server Error */
|
|
6966
|
+
"5XX": {
|
|
6967
|
+
headers: {
|
|
6968
|
+
[name: string]: unknown;
|
|
6969
|
+
};
|
|
6970
|
+
content: {
|
|
6971
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
6972
|
+
};
|
|
6973
|
+
};
|
|
6974
|
+
};
|
|
6975
|
+
};
|
|
6976
|
+
run_registered_job_api_admin_jobs_registered__job_id__run_post: {
|
|
6977
|
+
parameters: {
|
|
6978
|
+
query?: never;
|
|
6979
|
+
header?: never;
|
|
6980
|
+
path: {
|
|
6981
|
+
job_id: string;
|
|
6982
|
+
};
|
|
6983
|
+
cookie?: never;
|
|
6984
|
+
};
|
|
6985
|
+
requestBody: {
|
|
6986
|
+
content: {
|
|
6987
|
+
"application/json": components["schemas"]["RunRegisteredJobInput"];
|
|
6988
|
+
};
|
|
6989
|
+
};
|
|
6990
|
+
responses: {
|
|
6991
|
+
/** @description Successful Response */
|
|
6992
|
+
202: {
|
|
6993
|
+
headers: {
|
|
6994
|
+
[name: string]: unknown;
|
|
6995
|
+
};
|
|
6996
|
+
content: {
|
|
6997
|
+
"application/json": components["schemas"]["JobRunView"];
|
|
5704
6998
|
};
|
|
5705
6999
|
};
|
|
5706
7000
|
/** @description Client Error */
|
|
@@ -6498,9 +7792,14 @@ declare interface operations {
|
|
|
6498
7792
|
};
|
|
6499
7793
|
};
|
|
6500
7794
|
};
|
|
6501
|
-
|
|
7795
|
+
admin_list_schedules_api_admin_schedules_get: {
|
|
6502
7796
|
parameters: {
|
|
6503
|
-
query?:
|
|
7797
|
+
query?: {
|
|
7798
|
+
status?: string | null;
|
|
7799
|
+
user_id?: string | null;
|
|
7800
|
+
limit?: number;
|
|
7801
|
+
skip?: number;
|
|
7802
|
+
};
|
|
6504
7803
|
header?: never;
|
|
6505
7804
|
path?: never;
|
|
6506
7805
|
cookie?: never;
|
|
@@ -6513,7 +7812,7 @@ declare interface operations {
|
|
|
6513
7812
|
[name: string]: unknown;
|
|
6514
7813
|
};
|
|
6515
7814
|
content: {
|
|
6516
|
-
"application/json": components["schemas"]["
|
|
7815
|
+
"application/json": components["schemas"]["AdminScheduleListResponse"];
|
|
6517
7816
|
};
|
|
6518
7817
|
};
|
|
6519
7818
|
/** @description Client Error */
|
|
@@ -6536,11 +7835,13 @@ declare interface operations {
|
|
|
6536
7835
|
};
|
|
6537
7836
|
};
|
|
6538
7837
|
};
|
|
6539
|
-
|
|
7838
|
+
admin_delete_schedule_api_admin_schedules__schedule_id__delete: {
|
|
6540
7839
|
parameters: {
|
|
6541
7840
|
query?: never;
|
|
6542
7841
|
header?: never;
|
|
6543
|
-
path
|
|
7842
|
+
path: {
|
|
7843
|
+
schedule_id: string;
|
|
7844
|
+
};
|
|
6544
7845
|
cookie?: never;
|
|
6545
7846
|
};
|
|
6546
7847
|
requestBody?: never;
|
|
@@ -6551,7 +7852,7 @@ declare interface operations {
|
|
|
6551
7852
|
[name: string]: unknown;
|
|
6552
7853
|
};
|
|
6553
7854
|
content: {
|
|
6554
|
-
"application/json": components["schemas"]["
|
|
7855
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
6555
7856
|
};
|
|
6556
7857
|
};
|
|
6557
7858
|
/** @description Client Error */
|
|
@@ -6574,18 +7875,16 @@ declare interface operations {
|
|
|
6574
7875
|
};
|
|
6575
7876
|
};
|
|
6576
7877
|
};
|
|
6577
|
-
|
|
7878
|
+
admin_pause_schedule_api_admin_schedules__schedule_id__pause_post: {
|
|
6578
7879
|
parameters: {
|
|
6579
7880
|
query?: never;
|
|
6580
7881
|
header?: never;
|
|
6581
|
-
path
|
|
6582
|
-
|
|
6583
|
-
};
|
|
6584
|
-
requestBody: {
|
|
6585
|
-
content: {
|
|
6586
|
-
"application/json": components["schemas"]["AppSettingsUpdateInput"];
|
|
7882
|
+
path: {
|
|
7883
|
+
schedule_id: string;
|
|
6587
7884
|
};
|
|
7885
|
+
cookie?: never;
|
|
6588
7886
|
};
|
|
7887
|
+
requestBody?: never;
|
|
6589
7888
|
responses: {
|
|
6590
7889
|
/** @description Successful Response */
|
|
6591
7890
|
200: {
|
|
@@ -6593,7 +7892,7 @@ declare interface operations {
|
|
|
6593
7892
|
[name: string]: unknown;
|
|
6594
7893
|
};
|
|
6595
7894
|
content: {
|
|
6596
|
-
"application/json": components["schemas"]["
|
|
7895
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
6597
7896
|
};
|
|
6598
7897
|
};
|
|
6599
7898
|
/** @description Client Error */
|
|
@@ -6616,11 +7915,13 @@ declare interface operations {
|
|
|
6616
7915
|
};
|
|
6617
7916
|
};
|
|
6618
7917
|
};
|
|
6619
|
-
|
|
7918
|
+
admin_resume_schedule_api_admin_schedules__schedule_id__resume_post: {
|
|
6620
7919
|
parameters: {
|
|
6621
7920
|
query?: never;
|
|
6622
7921
|
header?: never;
|
|
6623
|
-
path
|
|
7922
|
+
path: {
|
|
7923
|
+
schedule_id: string;
|
|
7924
|
+
};
|
|
6624
7925
|
cookie?: never;
|
|
6625
7926
|
};
|
|
6626
7927
|
requestBody?: never;
|
|
@@ -6631,7 +7932,7 @@ declare interface operations {
|
|
|
6631
7932
|
[name: string]: unknown;
|
|
6632
7933
|
};
|
|
6633
7934
|
content: {
|
|
6634
|
-
"application/json": components["schemas"]["
|
|
7935
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
6635
7936
|
};
|
|
6636
7937
|
};
|
|
6637
7938
|
/** @description Client Error */
|
|
@@ -6654,11 +7955,15 @@ declare interface operations {
|
|
|
6654
7955
|
};
|
|
6655
7956
|
};
|
|
6656
7957
|
};
|
|
6657
|
-
|
|
7958
|
+
admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get: {
|
|
6658
7959
|
parameters: {
|
|
6659
|
-
query?:
|
|
7960
|
+
query?: {
|
|
7961
|
+
limit?: number;
|
|
7962
|
+
};
|
|
6660
7963
|
header?: never;
|
|
6661
|
-
path
|
|
7964
|
+
path: {
|
|
7965
|
+
schedule_id: string;
|
|
7966
|
+
};
|
|
6662
7967
|
cookie?: never;
|
|
6663
7968
|
};
|
|
6664
7969
|
requestBody?: never;
|
|
@@ -6669,7 +7974,7 @@ declare interface operations {
|
|
|
6669
7974
|
[name: string]: unknown;
|
|
6670
7975
|
};
|
|
6671
7976
|
content: {
|
|
6672
|
-
"application/json": components["schemas"]["
|
|
7977
|
+
"application/json": components["schemas"]["ScheduleRunListResponse"];
|
|
6673
7978
|
};
|
|
6674
7979
|
};
|
|
6675
7980
|
/** @description Client Error */
|
|
@@ -6692,11 +7997,9 @@ declare interface operations {
|
|
|
6692
7997
|
};
|
|
6693
7998
|
};
|
|
6694
7999
|
};
|
|
6695
|
-
|
|
8000
|
+
get_app_settings_api_admin_settings_get: {
|
|
6696
8001
|
parameters: {
|
|
6697
|
-
query?:
|
|
6698
|
-
limit?: number;
|
|
6699
|
-
};
|
|
8002
|
+
query?: never;
|
|
6700
8003
|
header?: never;
|
|
6701
8004
|
path?: never;
|
|
6702
8005
|
cookie?: never;
|
|
@@ -6709,7 +8012,7 @@ declare interface operations {
|
|
|
6709
8012
|
[name: string]: unknown;
|
|
6710
8013
|
};
|
|
6711
8014
|
content: {
|
|
6712
|
-
"application/json": components["schemas"]["
|
|
8015
|
+
"application/json": components["schemas"]["AdminSettingsResponse"];
|
|
6713
8016
|
};
|
|
6714
8017
|
};
|
|
6715
8018
|
/** @description Client Error */
|
|
@@ -6732,17 +8035,213 @@ declare interface operations {
|
|
|
6732
8035
|
};
|
|
6733
8036
|
};
|
|
6734
8037
|
};
|
|
6735
|
-
|
|
8038
|
+
delete_app_settings_api_admin_settings_delete: {
|
|
6736
8039
|
parameters: {
|
|
6737
8040
|
query?: never;
|
|
6738
8041
|
header?: never;
|
|
6739
8042
|
path?: never;
|
|
6740
8043
|
cookie?: never;
|
|
6741
8044
|
};
|
|
6742
|
-
requestBody
|
|
6743
|
-
|
|
6744
|
-
|
|
6745
|
-
|
|
8045
|
+
requestBody?: never;
|
|
8046
|
+
responses: {
|
|
8047
|
+
/** @description Successful Response */
|
|
8048
|
+
200: {
|
|
8049
|
+
headers: {
|
|
8050
|
+
[name: string]: unknown;
|
|
8051
|
+
};
|
|
8052
|
+
content: {
|
|
8053
|
+
"application/json": components["schemas"]["StatusMessageResponse"];
|
|
8054
|
+
};
|
|
8055
|
+
};
|
|
8056
|
+
/** @description Client Error */
|
|
8057
|
+
"4XX": {
|
|
8058
|
+
headers: {
|
|
8059
|
+
[name: string]: unknown;
|
|
8060
|
+
};
|
|
8061
|
+
content: {
|
|
8062
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8063
|
+
};
|
|
8064
|
+
};
|
|
8065
|
+
/** @description Server Error */
|
|
8066
|
+
"5XX": {
|
|
8067
|
+
headers: {
|
|
8068
|
+
[name: string]: unknown;
|
|
8069
|
+
};
|
|
8070
|
+
content: {
|
|
8071
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8072
|
+
};
|
|
8073
|
+
};
|
|
8074
|
+
};
|
|
8075
|
+
};
|
|
8076
|
+
update_app_settings_api_admin_settings_patch: {
|
|
8077
|
+
parameters: {
|
|
8078
|
+
query?: never;
|
|
8079
|
+
header?: never;
|
|
8080
|
+
path?: never;
|
|
8081
|
+
cookie?: never;
|
|
8082
|
+
};
|
|
8083
|
+
requestBody: {
|
|
8084
|
+
content: {
|
|
8085
|
+
"application/json": components["schemas"]["AppSettingsUpdateInput"];
|
|
8086
|
+
};
|
|
8087
|
+
};
|
|
8088
|
+
responses: {
|
|
8089
|
+
/** @description Successful Response */
|
|
8090
|
+
200: {
|
|
8091
|
+
headers: {
|
|
8092
|
+
[name: string]: unknown;
|
|
8093
|
+
};
|
|
8094
|
+
content: {
|
|
8095
|
+
"application/json": components["schemas"]["AdminSettingsResponse"];
|
|
8096
|
+
};
|
|
8097
|
+
};
|
|
8098
|
+
/** @description Client Error */
|
|
8099
|
+
"4XX": {
|
|
8100
|
+
headers: {
|
|
8101
|
+
[name: string]: unknown;
|
|
8102
|
+
};
|
|
8103
|
+
content: {
|
|
8104
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8105
|
+
};
|
|
8106
|
+
};
|
|
8107
|
+
/** @description Server Error */
|
|
8108
|
+
"5XX": {
|
|
8109
|
+
headers: {
|
|
8110
|
+
[name: string]: unknown;
|
|
8111
|
+
};
|
|
8112
|
+
content: {
|
|
8113
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8114
|
+
};
|
|
8115
|
+
};
|
|
8116
|
+
};
|
|
8117
|
+
};
|
|
8118
|
+
get_setup_status_api_admin_setup_status_get: {
|
|
8119
|
+
parameters: {
|
|
8120
|
+
query?: never;
|
|
8121
|
+
header?: never;
|
|
8122
|
+
path?: never;
|
|
8123
|
+
cookie?: never;
|
|
8124
|
+
};
|
|
8125
|
+
requestBody?: never;
|
|
8126
|
+
responses: {
|
|
8127
|
+
/** @description Successful Response */
|
|
8128
|
+
200: {
|
|
8129
|
+
headers: {
|
|
8130
|
+
[name: string]: unknown;
|
|
8131
|
+
};
|
|
8132
|
+
content: {
|
|
8133
|
+
"application/json": components["schemas"]["AdminSetupStatus"];
|
|
8134
|
+
};
|
|
8135
|
+
};
|
|
8136
|
+
/** @description Client Error */
|
|
8137
|
+
"4XX": {
|
|
8138
|
+
headers: {
|
|
8139
|
+
[name: string]: unknown;
|
|
8140
|
+
};
|
|
8141
|
+
content: {
|
|
8142
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8143
|
+
};
|
|
8144
|
+
};
|
|
8145
|
+
/** @description Server Error */
|
|
8146
|
+
"5XX": {
|
|
8147
|
+
headers: {
|
|
8148
|
+
[name: string]: unknown;
|
|
8149
|
+
};
|
|
8150
|
+
content: {
|
|
8151
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8152
|
+
};
|
|
8153
|
+
};
|
|
8154
|
+
};
|
|
8155
|
+
};
|
|
8156
|
+
get_status_api_admin_status_get: {
|
|
8157
|
+
parameters: {
|
|
8158
|
+
query?: never;
|
|
8159
|
+
header?: never;
|
|
8160
|
+
path?: never;
|
|
8161
|
+
cookie?: never;
|
|
8162
|
+
};
|
|
8163
|
+
requestBody?: never;
|
|
8164
|
+
responses: {
|
|
8165
|
+
/** @description Successful Response */
|
|
8166
|
+
200: {
|
|
8167
|
+
headers: {
|
|
8168
|
+
[name: string]: unknown;
|
|
8169
|
+
};
|
|
8170
|
+
content: {
|
|
8171
|
+
"application/json": components["schemas"]["AdminStatus"];
|
|
8172
|
+
};
|
|
8173
|
+
};
|
|
8174
|
+
/** @description Client Error */
|
|
8175
|
+
"4XX": {
|
|
8176
|
+
headers: {
|
|
8177
|
+
[name: string]: unknown;
|
|
8178
|
+
};
|
|
8179
|
+
content: {
|
|
8180
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8181
|
+
};
|
|
8182
|
+
};
|
|
8183
|
+
/** @description Server Error */
|
|
8184
|
+
"5XX": {
|
|
8185
|
+
headers: {
|
|
8186
|
+
[name: string]: unknown;
|
|
8187
|
+
};
|
|
8188
|
+
content: {
|
|
8189
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8190
|
+
};
|
|
8191
|
+
};
|
|
8192
|
+
};
|
|
8193
|
+
};
|
|
8194
|
+
list_incidents_api_admin_status_incidents_get: {
|
|
8195
|
+
parameters: {
|
|
8196
|
+
query?: {
|
|
8197
|
+
limit?: number;
|
|
8198
|
+
};
|
|
8199
|
+
header?: never;
|
|
8200
|
+
path?: never;
|
|
8201
|
+
cookie?: never;
|
|
8202
|
+
};
|
|
8203
|
+
requestBody?: never;
|
|
8204
|
+
responses: {
|
|
8205
|
+
/** @description Successful Response */
|
|
8206
|
+
200: {
|
|
8207
|
+
headers: {
|
|
8208
|
+
[name: string]: unknown;
|
|
8209
|
+
};
|
|
8210
|
+
content: {
|
|
8211
|
+
"application/json": components["schemas"]["Incident"][];
|
|
8212
|
+
};
|
|
8213
|
+
};
|
|
8214
|
+
/** @description Client Error */
|
|
8215
|
+
"4XX": {
|
|
8216
|
+
headers: {
|
|
8217
|
+
[name: string]: unknown;
|
|
8218
|
+
};
|
|
8219
|
+
content: {
|
|
8220
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8221
|
+
};
|
|
8222
|
+
};
|
|
8223
|
+
/** @description Server Error */
|
|
8224
|
+
"5XX": {
|
|
8225
|
+
headers: {
|
|
8226
|
+
[name: string]: unknown;
|
|
8227
|
+
};
|
|
8228
|
+
content: {
|
|
8229
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8230
|
+
};
|
|
8231
|
+
};
|
|
8232
|
+
};
|
|
8233
|
+
};
|
|
8234
|
+
enter_maintenance_api_admin_status_maintenance_post: {
|
|
8235
|
+
parameters: {
|
|
8236
|
+
query?: never;
|
|
8237
|
+
header?: never;
|
|
8238
|
+
path?: never;
|
|
8239
|
+
cookie?: never;
|
|
8240
|
+
};
|
|
8241
|
+
requestBody: {
|
|
8242
|
+
content: {
|
|
8243
|
+
"application/json": components["schemas"]["MaintenanceEnterInput"];
|
|
8244
|
+
};
|
|
6746
8245
|
};
|
|
6747
8246
|
responses: {
|
|
6748
8247
|
/** @description Successful Response */
|
|
@@ -7484,57 +8983,6 @@ declare interface operations {
|
|
|
7484
8983
|
};
|
|
7485
8984
|
};
|
|
7486
8985
|
};
|
|
7487
|
-
authorize_user_api_auth_user_post: {
|
|
7488
|
-
parameters: {
|
|
7489
|
-
query?: never;
|
|
7490
|
-
header?: never;
|
|
7491
|
-
path?: never;
|
|
7492
|
-
cookie?: never;
|
|
7493
|
-
};
|
|
7494
|
-
requestBody: {
|
|
7495
|
-
content: {
|
|
7496
|
-
"application/json": components["schemas"]["AuthorizeUserInput"];
|
|
7497
|
-
};
|
|
7498
|
-
};
|
|
7499
|
-
responses: {
|
|
7500
|
-
/** @description Successful Response */
|
|
7501
|
-
200: {
|
|
7502
|
-
headers: {
|
|
7503
|
-
[name: string]: unknown;
|
|
7504
|
-
};
|
|
7505
|
-
content: {
|
|
7506
|
-
"application/json": components["schemas"]["AuthorizeUserResponse"];
|
|
7507
|
-
};
|
|
7508
|
-
};
|
|
7509
|
-
/** @description A new user */
|
|
7510
|
-
201: {
|
|
7511
|
-
headers: {
|
|
7512
|
-
[name: string]: unknown;
|
|
7513
|
-
};
|
|
7514
|
-
content: {
|
|
7515
|
-
"application/json": components["schemas"]["AuthorizeUserResponse"];
|
|
7516
|
-
};
|
|
7517
|
-
};
|
|
7518
|
-
/** @description Client Error */
|
|
7519
|
-
"4XX": {
|
|
7520
|
-
headers: {
|
|
7521
|
-
[name: string]: unknown;
|
|
7522
|
-
};
|
|
7523
|
-
content: {
|
|
7524
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7525
|
-
};
|
|
7526
|
-
};
|
|
7527
|
-
/** @description Server Error */
|
|
7528
|
-
"5XX": {
|
|
7529
|
-
headers: {
|
|
7530
|
-
[name: string]: unknown;
|
|
7531
|
-
};
|
|
7532
|
-
content: {
|
|
7533
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
7534
|
-
};
|
|
7535
|
-
};
|
|
7536
|
-
};
|
|
7537
|
-
};
|
|
7538
8986
|
chat_api_chat_post: {
|
|
7539
8987
|
parameters: {
|
|
7540
8988
|
query?: never;
|
|
@@ -8110,7 +9558,7 @@ declare interface operations {
|
|
|
8110
9558
|
};
|
|
8111
9559
|
};
|
|
8112
9560
|
};
|
|
8113
|
-
|
|
9561
|
+
list_connectors_api_connectors_get: {
|
|
8114
9562
|
parameters: {
|
|
8115
9563
|
query?: never;
|
|
8116
9564
|
header?: never;
|
|
@@ -8125,7 +9573,7 @@ declare interface operations {
|
|
|
8125
9573
|
[name: string]: unknown;
|
|
8126
9574
|
};
|
|
8127
9575
|
content: {
|
|
8128
|
-
"application/json": components["schemas"]["
|
|
9576
|
+
"application/json": components["schemas"]["ConnectorListResponse"];
|
|
8129
9577
|
};
|
|
8130
9578
|
};
|
|
8131
9579
|
/** @description Client Error */
|
|
@@ -8148,35 +9596,66 @@ declare interface operations {
|
|
|
8148
9596
|
};
|
|
8149
9597
|
};
|
|
8150
9598
|
};
|
|
8151
|
-
|
|
9599
|
+
connector_oauth_callback_api_connectors_oauth_callback_get: {
|
|
8152
9600
|
parameters: {
|
|
8153
|
-
query
|
|
9601
|
+
query: {
|
|
9602
|
+
state: string;
|
|
9603
|
+
code?: string | null;
|
|
9604
|
+
error?: string | null;
|
|
9605
|
+
};
|
|
8154
9606
|
header?: never;
|
|
8155
9607
|
path?: never;
|
|
8156
9608
|
cookie?: never;
|
|
8157
9609
|
};
|
|
8158
|
-
requestBody
|
|
8159
|
-
content: {
|
|
8160
|
-
"application/json": components["schemas"]["SessionInput"];
|
|
8161
|
-
};
|
|
8162
|
-
};
|
|
9610
|
+
requestBody?: never;
|
|
8163
9611
|
responses: {
|
|
8164
9612
|
/** @description Successful Response */
|
|
8165
|
-
|
|
9613
|
+
307: {
|
|
9614
|
+
headers: {
|
|
9615
|
+
[name: string]: unknown;
|
|
9616
|
+
};
|
|
9617
|
+
content?: never;
|
|
9618
|
+
};
|
|
9619
|
+
/** @description Client Error */
|
|
9620
|
+
"4XX": {
|
|
8166
9621
|
headers: {
|
|
8167
9622
|
[name: string]: unknown;
|
|
8168
9623
|
};
|
|
8169
9624
|
content: {
|
|
8170
|
-
"application/json": components["schemas"]["
|
|
9625
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
8171
9626
|
};
|
|
8172
9627
|
};
|
|
8173
|
-
/** @description
|
|
9628
|
+
/** @description Server Error */
|
|
9629
|
+
"5XX": {
|
|
9630
|
+
headers: {
|
|
9631
|
+
[name: string]: unknown;
|
|
9632
|
+
};
|
|
9633
|
+
content: {
|
|
9634
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
9635
|
+
};
|
|
9636
|
+
};
|
|
9637
|
+
};
|
|
9638
|
+
};
|
|
9639
|
+
create_user_mcp_connector_api_connectors_user_mcp_post: {
|
|
9640
|
+
parameters: {
|
|
9641
|
+
query?: never;
|
|
9642
|
+
header?: never;
|
|
9643
|
+
path?: never;
|
|
9644
|
+
cookie?: never;
|
|
9645
|
+
};
|
|
9646
|
+
requestBody: {
|
|
9647
|
+
content: {
|
|
9648
|
+
"application/json": components["schemas"]["UserMCPCreateInput"];
|
|
9649
|
+
};
|
|
9650
|
+
};
|
|
9651
|
+
responses: {
|
|
9652
|
+
/** @description Successful Response */
|
|
8174
9653
|
201: {
|
|
8175
9654
|
headers: {
|
|
8176
9655
|
[name: string]: unknown;
|
|
8177
9656
|
};
|
|
8178
9657
|
content: {
|
|
8179
|
-
"application/json": components["schemas"]["
|
|
9658
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8180
9659
|
};
|
|
8181
9660
|
};
|
|
8182
9661
|
/** @description Client Error */
|
|
@@ -8199,12 +9678,12 @@ declare interface operations {
|
|
|
8199
9678
|
};
|
|
8200
9679
|
};
|
|
8201
9680
|
};
|
|
8202
|
-
|
|
9681
|
+
delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete: {
|
|
8203
9682
|
parameters: {
|
|
8204
9683
|
query?: never;
|
|
8205
9684
|
header?: never;
|
|
8206
9685
|
path: {
|
|
8207
|
-
|
|
9686
|
+
connector_id: string;
|
|
8208
9687
|
};
|
|
8209
9688
|
cookie?: never;
|
|
8210
9689
|
};
|
|
@@ -8216,7 +9695,7 @@ declare interface operations {
|
|
|
8216
9695
|
[name: string]: unknown;
|
|
8217
9696
|
};
|
|
8218
9697
|
content: {
|
|
8219
|
-
"application/json": components["schemas"]["
|
|
9698
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
8220
9699
|
};
|
|
8221
9700
|
};
|
|
8222
9701
|
/** @description Client Error */
|
|
@@ -8239,18 +9718,18 @@ declare interface operations {
|
|
|
8239
9718
|
};
|
|
8240
9719
|
};
|
|
8241
9720
|
};
|
|
8242
|
-
|
|
9721
|
+
update_connector_api_connectors__connector_id__patch: {
|
|
8243
9722
|
parameters: {
|
|
8244
9723
|
query?: never;
|
|
8245
9724
|
header?: never;
|
|
8246
9725
|
path: {
|
|
8247
|
-
|
|
9726
|
+
connector_id: string;
|
|
8248
9727
|
};
|
|
8249
9728
|
cookie?: never;
|
|
8250
9729
|
};
|
|
8251
9730
|
requestBody: {
|
|
8252
9731
|
content: {
|
|
8253
|
-
"application/json": components["schemas"]["
|
|
9732
|
+
"application/json": components["schemas"]["ConnectorToggleInput"];
|
|
8254
9733
|
};
|
|
8255
9734
|
};
|
|
8256
9735
|
responses: {
|
|
@@ -8260,16 +9739,7 @@ declare interface operations {
|
|
|
8260
9739
|
[name: string]: unknown;
|
|
8261
9740
|
};
|
|
8262
9741
|
content: {
|
|
8263
|
-
"application/json": components["schemas"]["
|
|
8264
|
-
};
|
|
8265
|
-
};
|
|
8266
|
-
/** @description A new user */
|
|
8267
|
-
201: {
|
|
8268
|
-
headers: {
|
|
8269
|
-
[name: string]: unknown;
|
|
8270
|
-
};
|
|
8271
|
-
content: {
|
|
8272
|
-
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
9742
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8273
9743
|
};
|
|
8274
9744
|
};
|
|
8275
9745
|
/** @description Client Error */
|
|
@@ -8292,20 +9762,18 @@ declare interface operations {
|
|
|
8292
9762
|
};
|
|
8293
9763
|
};
|
|
8294
9764
|
};
|
|
8295
|
-
|
|
9765
|
+
connect_connector_api_connectors__connector_id__connect_post: {
|
|
8296
9766
|
parameters: {
|
|
8297
9767
|
query?: never;
|
|
8298
|
-
header?:
|
|
8299
|
-
"Idempotency-Key"?: string | null;
|
|
8300
|
-
};
|
|
9768
|
+
header?: never;
|
|
8301
9769
|
path: {
|
|
8302
|
-
|
|
9770
|
+
connector_id: string;
|
|
8303
9771
|
};
|
|
8304
9772
|
cookie?: never;
|
|
8305
9773
|
};
|
|
8306
9774
|
requestBody: {
|
|
8307
9775
|
content: {
|
|
8308
|
-
"application/json": components["schemas"]["
|
|
9776
|
+
"application/json": components["schemas"]["ConnectorConnectInput"];
|
|
8309
9777
|
};
|
|
8310
9778
|
};
|
|
8311
9779
|
responses: {
|
|
@@ -8315,7 +9783,7 @@ declare interface operations {
|
|
|
8315
9783
|
[name: string]: unknown;
|
|
8316
9784
|
};
|
|
8317
9785
|
content: {
|
|
8318
|
-
"application/json": components["schemas"]["
|
|
9786
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8319
9787
|
};
|
|
8320
9788
|
};
|
|
8321
9789
|
/** @description Client Error */
|
|
@@ -8338,12 +9806,12 @@ declare interface operations {
|
|
|
8338
9806
|
};
|
|
8339
9807
|
};
|
|
8340
9808
|
};
|
|
8341
|
-
|
|
9809
|
+
disconnect_connector_api_connectors__connector_id__disconnect_post: {
|
|
8342
9810
|
parameters: {
|
|
8343
9811
|
query?: never;
|
|
8344
9812
|
header?: never;
|
|
8345
9813
|
path: {
|
|
8346
|
-
|
|
9814
|
+
connector_id: string;
|
|
8347
9815
|
};
|
|
8348
9816
|
cookie?: never;
|
|
8349
9817
|
};
|
|
@@ -8355,7 +9823,7 @@ declare interface operations {
|
|
|
8355
9823
|
[name: string]: unknown;
|
|
8356
9824
|
};
|
|
8357
9825
|
content: {
|
|
8358
|
-
"application/json": components["schemas"]["
|
|
9826
|
+
"application/json": components["schemas"]["ConnectorView"];
|
|
8359
9827
|
};
|
|
8360
9828
|
};
|
|
8361
9829
|
/** @description Client Error */
|
|
@@ -8378,19 +9846,18 @@ declare interface operations {
|
|
|
8378
9846
|
};
|
|
8379
9847
|
};
|
|
8380
9848
|
};
|
|
8381
|
-
|
|
9849
|
+
start_connector_oauth_api_connectors__connector_id__oauth_start_post: {
|
|
8382
9850
|
parameters: {
|
|
8383
9851
|
query?: never;
|
|
8384
9852
|
header?: never;
|
|
8385
9853
|
path: {
|
|
8386
|
-
|
|
8387
|
-
subscription_external_id: string;
|
|
9854
|
+
connector_id: string;
|
|
8388
9855
|
};
|
|
8389
9856
|
cookie?: never;
|
|
8390
9857
|
};
|
|
8391
9858
|
requestBody: {
|
|
8392
9859
|
content: {
|
|
8393
|
-
"application/json": components["schemas"]["
|
|
9860
|
+
"application/json": components["schemas"]["OAuthStartInput"];
|
|
8394
9861
|
};
|
|
8395
9862
|
};
|
|
8396
9863
|
responses: {
|
|
@@ -8400,16 +9867,7 @@ declare interface operations {
|
|
|
8400
9867
|
[name: string]: unknown;
|
|
8401
9868
|
};
|
|
8402
9869
|
content: {
|
|
8403
|
-
"application/json": components["schemas"]["
|
|
8404
|
-
};
|
|
8405
|
-
};
|
|
8406
|
-
/** @description A new subscription */
|
|
8407
|
-
201: {
|
|
8408
|
-
headers: {
|
|
8409
|
-
[name: string]: unknown;
|
|
8410
|
-
};
|
|
8411
|
-
content: {
|
|
8412
|
-
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
9870
|
+
"application/json": components["schemas"]["OAuthStartResponse"];
|
|
8413
9871
|
};
|
|
8414
9872
|
};
|
|
8415
9873
|
/** @description Client Error */
|
|
@@ -8432,21 +9890,16 @@ declare interface operations {
|
|
|
8432
9890
|
};
|
|
8433
9891
|
};
|
|
8434
9892
|
};
|
|
8435
|
-
|
|
9893
|
+
list_connector_tools_api_connectors__connector_id__tools_get: {
|
|
8436
9894
|
parameters: {
|
|
8437
9895
|
query?: never;
|
|
8438
9896
|
header?: never;
|
|
8439
9897
|
path: {
|
|
8440
|
-
|
|
8441
|
-
subscription_external_id: string;
|
|
9898
|
+
connector_id: string;
|
|
8442
9899
|
};
|
|
8443
9900
|
cookie?: never;
|
|
8444
9901
|
};
|
|
8445
|
-
requestBody?:
|
|
8446
|
-
content: {
|
|
8447
|
-
"application/json": components["schemas"]["CancelSubscriptionInput"] | null;
|
|
8448
|
-
};
|
|
8449
|
-
};
|
|
9902
|
+
requestBody?: never;
|
|
8450
9903
|
responses: {
|
|
8451
9904
|
/** @description Successful Response */
|
|
8452
9905
|
200: {
|
|
@@ -8454,7 +9907,7 @@ declare interface operations {
|
|
|
8454
9907
|
[name: string]: unknown;
|
|
8455
9908
|
};
|
|
8456
9909
|
content: {
|
|
8457
|
-
"application/json": components["schemas"]["
|
|
9910
|
+
"application/json": components["schemas"]["ConnectorToolsResponse"];
|
|
8458
9911
|
};
|
|
8459
9912
|
};
|
|
8460
9913
|
/** @description Client Error */
|
|
@@ -8477,13 +9930,11 @@ declare interface operations {
|
|
|
8477
9930
|
};
|
|
8478
9931
|
};
|
|
8479
9932
|
};
|
|
8480
|
-
|
|
9933
|
+
list_plans_api_integration_v1_plans_get: {
|
|
8481
9934
|
parameters: {
|
|
8482
9935
|
query?: never;
|
|
8483
9936
|
header?: never;
|
|
8484
|
-
path
|
|
8485
|
-
external_id: string;
|
|
8486
|
-
};
|
|
9937
|
+
path?: never;
|
|
8487
9938
|
cookie?: never;
|
|
8488
9939
|
};
|
|
8489
9940
|
requestBody?: never;
|
|
@@ -8494,7 +9945,7 @@ declare interface operations {
|
|
|
8494
9945
|
[name: string]: unknown;
|
|
8495
9946
|
};
|
|
8496
9947
|
content: {
|
|
8497
|
-
"application/json": components["schemas"]["
|
|
9948
|
+
"application/json": components["schemas"]["PlanList"];
|
|
8498
9949
|
};
|
|
8499
9950
|
};
|
|
8500
9951
|
/** @description Client Error */
|
|
@@ -8517,7 +9968,7 @@ declare interface operations {
|
|
|
8517
9968
|
};
|
|
8518
9969
|
};
|
|
8519
9970
|
};
|
|
8520
|
-
|
|
9971
|
+
create_session_api_integration_v1_sessions_post: {
|
|
8521
9972
|
parameters: {
|
|
8522
9973
|
query?: never;
|
|
8523
9974
|
header?: never;
|
|
@@ -8526,7 +9977,7 @@ declare interface operations {
|
|
|
8526
9977
|
};
|
|
8527
9978
|
requestBody: {
|
|
8528
9979
|
content: {
|
|
8529
|
-
"application/json": components["schemas"]["
|
|
9980
|
+
"application/json": components["schemas"]["SessionInput"];
|
|
8530
9981
|
};
|
|
8531
9982
|
};
|
|
8532
9983
|
responses: {
|
|
@@ -8536,7 +9987,16 @@ declare interface operations {
|
|
|
8536
9987
|
[name: string]: unknown;
|
|
8537
9988
|
};
|
|
8538
9989
|
content: {
|
|
8539
|
-
"application/json": components["schemas"]["
|
|
9990
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
9991
|
+
};
|
|
9992
|
+
};
|
|
9993
|
+
/** @description A new user */
|
|
9994
|
+
201: {
|
|
9995
|
+
headers: {
|
|
9996
|
+
[name: string]: unknown;
|
|
9997
|
+
};
|
|
9998
|
+
content: {
|
|
9999
|
+
"application/json": components["schemas"]["SessionResponse"];
|
|
8540
10000
|
};
|
|
8541
10001
|
};
|
|
8542
10002
|
/** @description Client Error */
|
|
@@ -8559,26 +10019,24 @@ declare interface operations {
|
|
|
8559
10019
|
};
|
|
8560
10020
|
};
|
|
8561
10021
|
};
|
|
8562
|
-
|
|
10022
|
+
get_user_api_integration_v1_users__external_id__get: {
|
|
8563
10023
|
parameters: {
|
|
8564
10024
|
query?: never;
|
|
8565
10025
|
header?: never;
|
|
8566
|
-
path
|
|
8567
|
-
|
|
8568
|
-
};
|
|
8569
|
-
requestBody: {
|
|
8570
|
-
content: {
|
|
8571
|
-
"application/json": components["schemas"]["RegisterUserInput"];
|
|
10026
|
+
path: {
|
|
10027
|
+
external_id: string;
|
|
8572
10028
|
};
|
|
10029
|
+
cookie?: never;
|
|
8573
10030
|
};
|
|
10031
|
+
requestBody?: never;
|
|
8574
10032
|
responses: {
|
|
8575
10033
|
/** @description Successful Response */
|
|
8576
|
-
|
|
10034
|
+
200: {
|
|
8577
10035
|
headers: {
|
|
8578
10036
|
[name: string]: unknown;
|
|
8579
10037
|
};
|
|
8580
10038
|
content: {
|
|
8581
|
-
"application/json": components["schemas"]["
|
|
10039
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
8582
10040
|
};
|
|
8583
10041
|
};
|
|
8584
10042
|
/** @description Client Error */
|
|
@@ -8601,16 +10059,20 @@ declare interface operations {
|
|
|
8601
10059
|
};
|
|
8602
10060
|
};
|
|
8603
10061
|
};
|
|
8604
|
-
|
|
10062
|
+
put_user_api_integration_v1_users__external_id__put: {
|
|
8605
10063
|
parameters: {
|
|
8606
10064
|
query?: never;
|
|
8607
10065
|
header?: never;
|
|
8608
10066
|
path: {
|
|
8609
|
-
|
|
10067
|
+
external_id: string;
|
|
8610
10068
|
};
|
|
8611
10069
|
cookie?: never;
|
|
8612
10070
|
};
|
|
8613
|
-
requestBody
|
|
10071
|
+
requestBody: {
|
|
10072
|
+
content: {
|
|
10073
|
+
"application/json": components["schemas"]["IntegrationUserInput"];
|
|
10074
|
+
};
|
|
10075
|
+
};
|
|
8614
10076
|
responses: {
|
|
8615
10077
|
/** @description Successful Response */
|
|
8616
10078
|
200: {
|
|
@@ -8618,7 +10080,16 @@ declare interface operations {
|
|
|
8618
10080
|
[name: string]: unknown;
|
|
8619
10081
|
};
|
|
8620
10082
|
content: {
|
|
8621
|
-
"application/json": components["schemas"]["
|
|
10083
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
10084
|
+
};
|
|
10085
|
+
};
|
|
10086
|
+
/** @description A new user */
|
|
10087
|
+
201: {
|
|
10088
|
+
headers: {
|
|
10089
|
+
[name: string]: unknown;
|
|
10090
|
+
};
|
|
10091
|
+
content: {
|
|
10092
|
+
"application/json": components["schemas"]["IntegrationUserResponse"];
|
|
8622
10093
|
};
|
|
8623
10094
|
};
|
|
8624
10095
|
/** @description Client Error */
|
|
@@ -8641,25 +10112,30 @@ declare interface operations {
|
|
|
8641
10112
|
};
|
|
8642
10113
|
};
|
|
8643
10114
|
};
|
|
8644
|
-
|
|
10115
|
+
grant_credits_api_integration_v1_users__external_id__credits_post: {
|
|
8645
10116
|
parameters: {
|
|
8646
10117
|
query?: never;
|
|
8647
|
-
header?:
|
|
10118
|
+
header?: {
|
|
10119
|
+
"Idempotency-Key"?: string | null;
|
|
10120
|
+
};
|
|
8648
10121
|
path: {
|
|
8649
|
-
|
|
8650
|
-
attachment_id: string;
|
|
10122
|
+
external_id: string;
|
|
8651
10123
|
};
|
|
8652
10124
|
cookie?: never;
|
|
8653
10125
|
};
|
|
8654
|
-
requestBody
|
|
10126
|
+
requestBody: {
|
|
10127
|
+
content: {
|
|
10128
|
+
"application/json": components["schemas"]["CreditsGrantInput"];
|
|
10129
|
+
};
|
|
10130
|
+
};
|
|
8655
10131
|
responses: {
|
|
8656
|
-
/** @description
|
|
10132
|
+
/** @description Successful Response */
|
|
8657
10133
|
200: {
|
|
8658
10134
|
headers: {
|
|
8659
10135
|
[name: string]: unknown;
|
|
8660
10136
|
};
|
|
8661
10137
|
content: {
|
|
8662
|
-
"application/
|
|
10138
|
+
"application/json": components["schemas"]["CreditsGrantResponse"];
|
|
8663
10139
|
};
|
|
8664
10140
|
};
|
|
8665
10141
|
/** @description Client Error */
|
|
@@ -8682,11 +10158,13 @@ declare interface operations {
|
|
|
8682
10158
|
};
|
|
8683
10159
|
};
|
|
8684
10160
|
};
|
|
8685
|
-
|
|
10161
|
+
list_subscriptions_api_integration_v1_users__external_id__subscriptions_get: {
|
|
8686
10162
|
parameters: {
|
|
8687
10163
|
query?: never;
|
|
8688
10164
|
header?: never;
|
|
8689
|
-
path
|
|
10165
|
+
path: {
|
|
10166
|
+
external_id: string;
|
|
10167
|
+
};
|
|
8690
10168
|
cookie?: never;
|
|
8691
10169
|
};
|
|
8692
10170
|
requestBody?: never;
|
|
@@ -8697,7 +10175,7 @@ declare interface operations {
|
|
|
8697
10175
|
[name: string]: unknown;
|
|
8698
10176
|
};
|
|
8699
10177
|
content: {
|
|
8700
|
-
"application/json": components["schemas"]["
|
|
10178
|
+
"application/json": components["schemas"]["SubscriptionList"];
|
|
8701
10179
|
};
|
|
8702
10180
|
};
|
|
8703
10181
|
/** @description Client Error */
|
|
@@ -8720,14 +10198,21 @@ declare interface operations {
|
|
|
8720
10198
|
};
|
|
8721
10199
|
};
|
|
8722
10200
|
};
|
|
8723
|
-
|
|
10201
|
+
put_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__put: {
|
|
8724
10202
|
parameters: {
|
|
8725
10203
|
query?: never;
|
|
8726
10204
|
header?: never;
|
|
8727
|
-
path
|
|
10205
|
+
path: {
|
|
10206
|
+
external_id: string;
|
|
10207
|
+
subscription_external_id: string;
|
|
10208
|
+
};
|
|
8728
10209
|
cookie?: never;
|
|
8729
10210
|
};
|
|
8730
|
-
requestBody
|
|
10211
|
+
requestBody: {
|
|
10212
|
+
content: {
|
|
10213
|
+
"application/json": components["schemas"]["SubscriptionInput"];
|
|
10214
|
+
};
|
|
10215
|
+
};
|
|
8731
10216
|
responses: {
|
|
8732
10217
|
/** @description Successful Response */
|
|
8733
10218
|
200: {
|
|
@@ -8735,7 +10220,16 @@ declare interface operations {
|
|
|
8735
10220
|
[name: string]: unknown;
|
|
8736
10221
|
};
|
|
8737
10222
|
content: {
|
|
8738
|
-
"application/json": components["schemas"]["
|
|
10223
|
+
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
10224
|
+
};
|
|
10225
|
+
};
|
|
10226
|
+
/** @description A new subscription */
|
|
10227
|
+
201: {
|
|
10228
|
+
headers: {
|
|
10229
|
+
[name: string]: unknown;
|
|
10230
|
+
};
|
|
10231
|
+
content: {
|
|
10232
|
+
"application/json": components["schemas"]["SubscriptionPutResponse"];
|
|
8739
10233
|
};
|
|
8740
10234
|
};
|
|
8741
10235
|
/** @description Client Error */
|
|
@@ -8758,16 +10252,19 @@ declare interface operations {
|
|
|
8758
10252
|
};
|
|
8759
10253
|
};
|
|
8760
10254
|
};
|
|
8761
|
-
|
|
10255
|
+
cancel_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__cancel_post: {
|
|
8762
10256
|
parameters: {
|
|
8763
10257
|
query?: never;
|
|
8764
10258
|
header?: never;
|
|
8765
|
-
path
|
|
10259
|
+
path: {
|
|
10260
|
+
external_id: string;
|
|
10261
|
+
subscription_external_id: string;
|
|
10262
|
+
};
|
|
8766
10263
|
cookie?: never;
|
|
8767
10264
|
};
|
|
8768
|
-
requestBody
|
|
10265
|
+
requestBody?: {
|
|
8769
10266
|
content: {
|
|
8770
|
-
"application/json": components["schemas"]["
|
|
10267
|
+
"application/json": components["schemas"]["CancelSubscriptionInput"] | null;
|
|
8771
10268
|
};
|
|
8772
10269
|
};
|
|
8773
10270
|
responses: {
|
|
@@ -8777,7 +10274,7 @@ declare interface operations {
|
|
|
8777
10274
|
[name: string]: unknown;
|
|
8778
10275
|
};
|
|
8779
10276
|
content: {
|
|
8780
|
-
"application/json": components["schemas"]["
|
|
10277
|
+
"application/json": components["schemas"]["SubscriptionCancelResponse"];
|
|
8781
10278
|
};
|
|
8782
10279
|
};
|
|
8783
10280
|
/** @description Client Error */
|
|
@@ -8800,11 +10297,13 @@ declare interface operations {
|
|
|
8800
10297
|
};
|
|
8801
10298
|
};
|
|
8802
10299
|
};
|
|
8803
|
-
|
|
10300
|
+
get_usage_api_integration_v1_users__external_id__usage_get: {
|
|
8804
10301
|
parameters: {
|
|
8805
10302
|
query?: never;
|
|
8806
10303
|
header?: never;
|
|
8807
|
-
path
|
|
10304
|
+
path: {
|
|
10305
|
+
external_id: string;
|
|
10306
|
+
};
|
|
8808
10307
|
cookie?: never;
|
|
8809
10308
|
};
|
|
8810
10309
|
requestBody?: never;
|
|
@@ -8838,7 +10337,7 @@ declare interface operations {
|
|
|
8838
10337
|
};
|
|
8839
10338
|
};
|
|
8840
10339
|
};
|
|
8841
|
-
|
|
10340
|
+
public_login_api_public_auth_login_post: {
|
|
8842
10341
|
parameters: {
|
|
8843
10342
|
query?: never;
|
|
8844
10343
|
header?: never;
|
|
@@ -8847,17 +10346,17 @@ declare interface operations {
|
|
|
8847
10346
|
};
|
|
8848
10347
|
requestBody: {
|
|
8849
10348
|
content: {
|
|
8850
|
-
"application/json": components["schemas"]["
|
|
10349
|
+
"application/json": components["schemas"]["LoginInput"];
|
|
8851
10350
|
};
|
|
8852
10351
|
};
|
|
8853
10352
|
responses: {
|
|
8854
10353
|
/** @description Successful Response */
|
|
8855
|
-
|
|
10354
|
+
200: {
|
|
8856
10355
|
headers: {
|
|
8857
10356
|
[name: string]: unknown;
|
|
8858
10357
|
};
|
|
8859
10358
|
content: {
|
|
8860
|
-
"application/json": components["schemas"]["
|
|
10359
|
+
"application/json": components["schemas"]["AuthTokenResponse"];
|
|
8861
10360
|
};
|
|
8862
10361
|
};
|
|
8863
10362
|
/** @description Client Error */
|
|
@@ -8880,22 +10379,26 @@ declare interface operations {
|
|
|
8880
10379
|
};
|
|
8881
10380
|
};
|
|
8882
10381
|
};
|
|
8883
|
-
|
|
10382
|
+
public_register_api_public_auth_register_post: {
|
|
8884
10383
|
parameters: {
|
|
8885
10384
|
query?: never;
|
|
8886
10385
|
header?: never;
|
|
8887
10386
|
path?: never;
|
|
8888
10387
|
cookie?: never;
|
|
8889
10388
|
};
|
|
8890
|
-
requestBody
|
|
10389
|
+
requestBody: {
|
|
10390
|
+
content: {
|
|
10391
|
+
"application/json": components["schemas"]["RegisterUserInput"];
|
|
10392
|
+
};
|
|
10393
|
+
};
|
|
8891
10394
|
responses: {
|
|
8892
10395
|
/** @description Successful Response */
|
|
8893
|
-
|
|
10396
|
+
201: {
|
|
8894
10397
|
headers: {
|
|
8895
10398
|
[name: string]: unknown;
|
|
8896
10399
|
};
|
|
8897
10400
|
content: {
|
|
8898
|
-
"application/json": components["schemas"]["
|
|
10401
|
+
"application/json": components["schemas"]["AuthTokenResponse"];
|
|
8899
10402
|
};
|
|
8900
10403
|
};
|
|
8901
10404
|
/** @description Client Error */
|
|
@@ -8918,11 +10421,13 @@ declare interface operations {
|
|
|
8918
10421
|
};
|
|
8919
10422
|
};
|
|
8920
10423
|
};
|
|
8921
|
-
|
|
10424
|
+
get_shared_thread_api_public_shared__share_id__get: {
|
|
8922
10425
|
parameters: {
|
|
8923
10426
|
query?: never;
|
|
8924
10427
|
header?: never;
|
|
8925
|
-
path
|
|
10428
|
+
path: {
|
|
10429
|
+
share_id: string;
|
|
10430
|
+
};
|
|
8926
10431
|
cookie?: never;
|
|
8927
10432
|
};
|
|
8928
10433
|
requestBody?: never;
|
|
@@ -8933,15 +10438,8 @@ declare interface operations {
|
|
|
8933
10438
|
[name: string]: unknown;
|
|
8934
10439
|
};
|
|
8935
10440
|
content: {
|
|
8936
|
-
"application/json": components["schemas"]["
|
|
8937
|
-
};
|
|
8938
|
-
};
|
|
8939
|
-
/** @description The database doesn't answer */
|
|
8940
|
-
503: {
|
|
8941
|
-
headers: {
|
|
8942
|
-
[name: string]: unknown;
|
|
10441
|
+
"application/json": components["schemas"]["SharedThreadResponse"];
|
|
8943
10442
|
};
|
|
8944
|
-
content?: never;
|
|
8945
10443
|
};
|
|
8946
10444
|
/** @description Client Error */
|
|
8947
10445
|
"4XX": {
|
|
@@ -8963,7 +10461,695 @@ declare interface operations {
|
|
|
8963
10461
|
};
|
|
8964
10462
|
};
|
|
8965
10463
|
};
|
|
8966
|
-
|
|
10464
|
+
get_shared_attachment_api_public_shared__share_id__attachments__attachment_id__get: {
|
|
10465
|
+
parameters: {
|
|
10466
|
+
query?: never;
|
|
10467
|
+
header?: never;
|
|
10468
|
+
path: {
|
|
10469
|
+
share_id: string;
|
|
10470
|
+
attachment_id: string;
|
|
10471
|
+
};
|
|
10472
|
+
cookie?: never;
|
|
10473
|
+
};
|
|
10474
|
+
requestBody?: never;
|
|
10475
|
+
responses: {
|
|
10476
|
+
/** @description The file, with the media type it was stored with */
|
|
10477
|
+
200: {
|
|
10478
|
+
headers: {
|
|
10479
|
+
[name: string]: unknown;
|
|
10480
|
+
};
|
|
10481
|
+
content: {
|
|
10482
|
+
"application/octet-stream": unknown;
|
|
10483
|
+
};
|
|
10484
|
+
};
|
|
10485
|
+
/** @description Client Error */
|
|
10486
|
+
"4XX": {
|
|
10487
|
+
headers: {
|
|
10488
|
+
[name: string]: unknown;
|
|
10489
|
+
};
|
|
10490
|
+
content: {
|
|
10491
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10492
|
+
};
|
|
10493
|
+
};
|
|
10494
|
+
/** @description Server Error */
|
|
10495
|
+
"5XX": {
|
|
10496
|
+
headers: {
|
|
10497
|
+
[name: string]: unknown;
|
|
10498
|
+
};
|
|
10499
|
+
content: {
|
|
10500
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10501
|
+
};
|
|
10502
|
+
};
|
|
10503
|
+
};
|
|
10504
|
+
};
|
|
10505
|
+
list_schedules_api_schedules_get: {
|
|
10506
|
+
parameters: {
|
|
10507
|
+
query?: never;
|
|
10508
|
+
header?: never;
|
|
10509
|
+
path?: never;
|
|
10510
|
+
cookie?: never;
|
|
10511
|
+
};
|
|
10512
|
+
requestBody?: never;
|
|
10513
|
+
responses: {
|
|
10514
|
+
/** @description Successful Response */
|
|
10515
|
+
200: {
|
|
10516
|
+
headers: {
|
|
10517
|
+
[name: string]: unknown;
|
|
10518
|
+
};
|
|
10519
|
+
content: {
|
|
10520
|
+
"application/json": components["schemas"]["ScheduleListResponse"];
|
|
10521
|
+
};
|
|
10522
|
+
};
|
|
10523
|
+
/** @description Client Error */
|
|
10524
|
+
"4XX": {
|
|
10525
|
+
headers: {
|
|
10526
|
+
[name: string]: unknown;
|
|
10527
|
+
};
|
|
10528
|
+
content: {
|
|
10529
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10530
|
+
};
|
|
10531
|
+
};
|
|
10532
|
+
/** @description Server Error */
|
|
10533
|
+
"5XX": {
|
|
10534
|
+
headers: {
|
|
10535
|
+
[name: string]: unknown;
|
|
10536
|
+
};
|
|
10537
|
+
content: {
|
|
10538
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10539
|
+
};
|
|
10540
|
+
};
|
|
10541
|
+
};
|
|
10542
|
+
};
|
|
10543
|
+
create_schedule_api_schedules_post: {
|
|
10544
|
+
parameters: {
|
|
10545
|
+
query?: never;
|
|
10546
|
+
header?: never;
|
|
10547
|
+
path?: never;
|
|
10548
|
+
cookie?: never;
|
|
10549
|
+
};
|
|
10550
|
+
requestBody: {
|
|
10551
|
+
content: {
|
|
10552
|
+
"application/json": components["schemas"]["ScheduleCreateInput"];
|
|
10553
|
+
};
|
|
10554
|
+
};
|
|
10555
|
+
responses: {
|
|
10556
|
+
/** @description Successful Response */
|
|
10557
|
+
201: {
|
|
10558
|
+
headers: {
|
|
10559
|
+
[name: string]: unknown;
|
|
10560
|
+
};
|
|
10561
|
+
content: {
|
|
10562
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10563
|
+
};
|
|
10564
|
+
};
|
|
10565
|
+
/** @description Client Error */
|
|
10566
|
+
"4XX": {
|
|
10567
|
+
headers: {
|
|
10568
|
+
[name: string]: unknown;
|
|
10569
|
+
};
|
|
10570
|
+
content: {
|
|
10571
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10572
|
+
};
|
|
10573
|
+
};
|
|
10574
|
+
/** @description Server Error */
|
|
10575
|
+
"5XX": {
|
|
10576
|
+
headers: {
|
|
10577
|
+
[name: string]: unknown;
|
|
10578
|
+
};
|
|
10579
|
+
content: {
|
|
10580
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10581
|
+
};
|
|
10582
|
+
};
|
|
10583
|
+
};
|
|
10584
|
+
};
|
|
10585
|
+
get_schedule_api_schedules__schedule_id__get: {
|
|
10586
|
+
parameters: {
|
|
10587
|
+
query?: never;
|
|
10588
|
+
header?: never;
|
|
10589
|
+
path: {
|
|
10590
|
+
schedule_id: string;
|
|
10591
|
+
};
|
|
10592
|
+
cookie?: never;
|
|
10593
|
+
};
|
|
10594
|
+
requestBody?: never;
|
|
10595
|
+
responses: {
|
|
10596
|
+
/** @description Successful Response */
|
|
10597
|
+
200: {
|
|
10598
|
+
headers: {
|
|
10599
|
+
[name: string]: unknown;
|
|
10600
|
+
};
|
|
10601
|
+
content: {
|
|
10602
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10603
|
+
};
|
|
10604
|
+
};
|
|
10605
|
+
/** @description Client Error */
|
|
10606
|
+
"4XX": {
|
|
10607
|
+
headers: {
|
|
10608
|
+
[name: string]: unknown;
|
|
10609
|
+
};
|
|
10610
|
+
content: {
|
|
10611
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10612
|
+
};
|
|
10613
|
+
};
|
|
10614
|
+
/** @description Server Error */
|
|
10615
|
+
"5XX": {
|
|
10616
|
+
headers: {
|
|
10617
|
+
[name: string]: unknown;
|
|
10618
|
+
};
|
|
10619
|
+
content: {
|
|
10620
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10621
|
+
};
|
|
10622
|
+
};
|
|
10623
|
+
};
|
|
10624
|
+
};
|
|
10625
|
+
delete_schedule_api_schedules__schedule_id__delete: {
|
|
10626
|
+
parameters: {
|
|
10627
|
+
query?: never;
|
|
10628
|
+
header?: never;
|
|
10629
|
+
path: {
|
|
10630
|
+
schedule_id: string;
|
|
10631
|
+
};
|
|
10632
|
+
cookie?: never;
|
|
10633
|
+
};
|
|
10634
|
+
requestBody?: never;
|
|
10635
|
+
responses: {
|
|
10636
|
+
/** @description Successful Response */
|
|
10637
|
+
200: {
|
|
10638
|
+
headers: {
|
|
10639
|
+
[name: string]: unknown;
|
|
10640
|
+
};
|
|
10641
|
+
content: {
|
|
10642
|
+
"application/json": components["schemas"]["StatusResponse"];
|
|
10643
|
+
};
|
|
10644
|
+
};
|
|
10645
|
+
/** @description Client Error */
|
|
10646
|
+
"4XX": {
|
|
10647
|
+
headers: {
|
|
10648
|
+
[name: string]: unknown;
|
|
10649
|
+
};
|
|
10650
|
+
content: {
|
|
10651
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10652
|
+
};
|
|
10653
|
+
};
|
|
10654
|
+
/** @description Server Error */
|
|
10655
|
+
"5XX": {
|
|
10656
|
+
headers: {
|
|
10657
|
+
[name: string]: unknown;
|
|
10658
|
+
};
|
|
10659
|
+
content: {
|
|
10660
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10661
|
+
};
|
|
10662
|
+
};
|
|
10663
|
+
};
|
|
10664
|
+
};
|
|
10665
|
+
update_schedule_api_schedules__schedule_id__patch: {
|
|
10666
|
+
parameters: {
|
|
10667
|
+
query?: never;
|
|
10668
|
+
header?: never;
|
|
10669
|
+
path: {
|
|
10670
|
+
schedule_id: string;
|
|
10671
|
+
};
|
|
10672
|
+
cookie?: never;
|
|
10673
|
+
};
|
|
10674
|
+
requestBody: {
|
|
10675
|
+
content: {
|
|
10676
|
+
"application/json": components["schemas"]["ScheduleUpdateInput"];
|
|
10677
|
+
};
|
|
10678
|
+
};
|
|
10679
|
+
responses: {
|
|
10680
|
+
/** @description Successful Response */
|
|
10681
|
+
200: {
|
|
10682
|
+
headers: {
|
|
10683
|
+
[name: string]: unknown;
|
|
10684
|
+
};
|
|
10685
|
+
content: {
|
|
10686
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10687
|
+
};
|
|
10688
|
+
};
|
|
10689
|
+
/** @description Client Error */
|
|
10690
|
+
"4XX": {
|
|
10691
|
+
headers: {
|
|
10692
|
+
[name: string]: unknown;
|
|
10693
|
+
};
|
|
10694
|
+
content: {
|
|
10695
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10696
|
+
};
|
|
10697
|
+
};
|
|
10698
|
+
/** @description Server Error */
|
|
10699
|
+
"5XX": {
|
|
10700
|
+
headers: {
|
|
10701
|
+
[name: string]: unknown;
|
|
10702
|
+
};
|
|
10703
|
+
content: {
|
|
10704
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10705
|
+
};
|
|
10706
|
+
};
|
|
10707
|
+
};
|
|
10708
|
+
};
|
|
10709
|
+
pause_schedule_api_schedules__schedule_id__pause_post: {
|
|
10710
|
+
parameters: {
|
|
10711
|
+
query?: never;
|
|
10712
|
+
header?: never;
|
|
10713
|
+
path: {
|
|
10714
|
+
schedule_id: string;
|
|
10715
|
+
};
|
|
10716
|
+
cookie?: never;
|
|
10717
|
+
};
|
|
10718
|
+
requestBody?: never;
|
|
10719
|
+
responses: {
|
|
10720
|
+
/** @description Successful Response */
|
|
10721
|
+
200: {
|
|
10722
|
+
headers: {
|
|
10723
|
+
[name: string]: unknown;
|
|
10724
|
+
};
|
|
10725
|
+
content: {
|
|
10726
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10727
|
+
};
|
|
10728
|
+
};
|
|
10729
|
+
/** @description Client Error */
|
|
10730
|
+
"4XX": {
|
|
10731
|
+
headers: {
|
|
10732
|
+
[name: string]: unknown;
|
|
10733
|
+
};
|
|
10734
|
+
content: {
|
|
10735
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10736
|
+
};
|
|
10737
|
+
};
|
|
10738
|
+
/** @description Server Error */
|
|
10739
|
+
"5XX": {
|
|
10740
|
+
headers: {
|
|
10741
|
+
[name: string]: unknown;
|
|
10742
|
+
};
|
|
10743
|
+
content: {
|
|
10744
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10745
|
+
};
|
|
10746
|
+
};
|
|
10747
|
+
};
|
|
10748
|
+
};
|
|
10749
|
+
resume_schedule_api_schedules__schedule_id__resume_post: {
|
|
10750
|
+
parameters: {
|
|
10751
|
+
query?: never;
|
|
10752
|
+
header?: never;
|
|
10753
|
+
path: {
|
|
10754
|
+
schedule_id: string;
|
|
10755
|
+
};
|
|
10756
|
+
cookie?: never;
|
|
10757
|
+
};
|
|
10758
|
+
requestBody?: never;
|
|
10759
|
+
responses: {
|
|
10760
|
+
/** @description Successful Response */
|
|
10761
|
+
200: {
|
|
10762
|
+
headers: {
|
|
10763
|
+
[name: string]: unknown;
|
|
10764
|
+
};
|
|
10765
|
+
content: {
|
|
10766
|
+
"application/json": components["schemas"]["ScheduleView"];
|
|
10767
|
+
};
|
|
10768
|
+
};
|
|
10769
|
+
/** @description Client Error */
|
|
10770
|
+
"4XX": {
|
|
10771
|
+
headers: {
|
|
10772
|
+
[name: string]: unknown;
|
|
10773
|
+
};
|
|
10774
|
+
content: {
|
|
10775
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10776
|
+
};
|
|
10777
|
+
};
|
|
10778
|
+
/** @description Server Error */
|
|
10779
|
+
"5XX": {
|
|
10780
|
+
headers: {
|
|
10781
|
+
[name: string]: unknown;
|
|
10782
|
+
};
|
|
10783
|
+
content: {
|
|
10784
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10785
|
+
};
|
|
10786
|
+
};
|
|
10787
|
+
};
|
|
10788
|
+
};
|
|
10789
|
+
run_schedule_now_api_schedules__schedule_id__run_post: {
|
|
10790
|
+
parameters: {
|
|
10791
|
+
query?: never;
|
|
10792
|
+
header?: never;
|
|
10793
|
+
path: {
|
|
10794
|
+
schedule_id: string;
|
|
10795
|
+
};
|
|
10796
|
+
cookie?: never;
|
|
10797
|
+
};
|
|
10798
|
+
requestBody?: never;
|
|
10799
|
+
responses: {
|
|
10800
|
+
/** @description Successful Response */
|
|
10801
|
+
200: {
|
|
10802
|
+
headers: {
|
|
10803
|
+
[name: string]: unknown;
|
|
10804
|
+
};
|
|
10805
|
+
content: {
|
|
10806
|
+
"application/json": components["schemas"]["ScheduleRunView"];
|
|
10807
|
+
};
|
|
10808
|
+
};
|
|
10809
|
+
/** @description Client Error */
|
|
10810
|
+
"4XX": {
|
|
10811
|
+
headers: {
|
|
10812
|
+
[name: string]: unknown;
|
|
10813
|
+
};
|
|
10814
|
+
content: {
|
|
10815
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10816
|
+
};
|
|
10817
|
+
};
|
|
10818
|
+
/** @description Server Error */
|
|
10819
|
+
"5XX": {
|
|
10820
|
+
headers: {
|
|
10821
|
+
[name: string]: unknown;
|
|
10822
|
+
};
|
|
10823
|
+
content: {
|
|
10824
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10825
|
+
};
|
|
10826
|
+
};
|
|
10827
|
+
};
|
|
10828
|
+
};
|
|
10829
|
+
list_schedule_runs_api_schedules__schedule_id__runs_get: {
|
|
10830
|
+
parameters: {
|
|
10831
|
+
query?: {
|
|
10832
|
+
limit?: number;
|
|
10833
|
+
};
|
|
10834
|
+
header?: never;
|
|
10835
|
+
path: {
|
|
10836
|
+
schedule_id: string;
|
|
10837
|
+
};
|
|
10838
|
+
cookie?: never;
|
|
10839
|
+
};
|
|
10840
|
+
requestBody?: never;
|
|
10841
|
+
responses: {
|
|
10842
|
+
/** @description Successful Response */
|
|
10843
|
+
200: {
|
|
10844
|
+
headers: {
|
|
10845
|
+
[name: string]: unknown;
|
|
10846
|
+
};
|
|
10847
|
+
content: {
|
|
10848
|
+
"application/json": components["schemas"]["ScheduleRunListResponse"];
|
|
10849
|
+
};
|
|
10850
|
+
};
|
|
10851
|
+
/** @description Client Error */
|
|
10852
|
+
"4XX": {
|
|
10853
|
+
headers: {
|
|
10854
|
+
[name: string]: unknown;
|
|
10855
|
+
};
|
|
10856
|
+
content: {
|
|
10857
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10858
|
+
};
|
|
10859
|
+
};
|
|
10860
|
+
/** @description Server Error */
|
|
10861
|
+
"5XX": {
|
|
10862
|
+
headers: {
|
|
10863
|
+
[name: string]: unknown;
|
|
10864
|
+
};
|
|
10865
|
+
content: {
|
|
10866
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10867
|
+
};
|
|
10868
|
+
};
|
|
10869
|
+
};
|
|
10870
|
+
};
|
|
10871
|
+
get_public_status_api_status_get: {
|
|
10872
|
+
parameters: {
|
|
10873
|
+
query?: never;
|
|
10874
|
+
header?: never;
|
|
10875
|
+
path?: never;
|
|
10876
|
+
cookie?: never;
|
|
10877
|
+
};
|
|
10878
|
+
requestBody?: never;
|
|
10879
|
+
responses: {
|
|
10880
|
+
/** @description Successful Response */
|
|
10881
|
+
200: {
|
|
10882
|
+
headers: {
|
|
10883
|
+
[name: string]: unknown;
|
|
10884
|
+
};
|
|
10885
|
+
content: {
|
|
10886
|
+
"application/json": components["schemas"]["PublicStatus"];
|
|
10887
|
+
};
|
|
10888
|
+
};
|
|
10889
|
+
/** @description Client Error */
|
|
10890
|
+
"4XX": {
|
|
10891
|
+
headers: {
|
|
10892
|
+
[name: string]: unknown;
|
|
10893
|
+
};
|
|
10894
|
+
content: {
|
|
10895
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10896
|
+
};
|
|
10897
|
+
};
|
|
10898
|
+
/** @description Server Error */
|
|
10899
|
+
"5XX": {
|
|
10900
|
+
headers: {
|
|
10901
|
+
[name: string]: unknown;
|
|
10902
|
+
};
|
|
10903
|
+
content: {
|
|
10904
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10905
|
+
};
|
|
10906
|
+
};
|
|
10907
|
+
};
|
|
10908
|
+
};
|
|
10909
|
+
get_me_api_users_me_get: {
|
|
10910
|
+
parameters: {
|
|
10911
|
+
query?: never;
|
|
10912
|
+
header?: never;
|
|
10913
|
+
path?: never;
|
|
10914
|
+
cookie?: never;
|
|
10915
|
+
};
|
|
10916
|
+
requestBody?: never;
|
|
10917
|
+
responses: {
|
|
10918
|
+
/** @description Successful Response */
|
|
10919
|
+
200: {
|
|
10920
|
+
headers: {
|
|
10921
|
+
[name: string]: unknown;
|
|
10922
|
+
};
|
|
10923
|
+
content: {
|
|
10924
|
+
"application/json": components["schemas"]["UserProfile"];
|
|
10925
|
+
};
|
|
10926
|
+
};
|
|
10927
|
+
/** @description Client Error */
|
|
10928
|
+
"4XX": {
|
|
10929
|
+
headers: {
|
|
10930
|
+
[name: string]: unknown;
|
|
10931
|
+
};
|
|
10932
|
+
content: {
|
|
10933
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10934
|
+
};
|
|
10935
|
+
};
|
|
10936
|
+
/** @description Server Error */
|
|
10937
|
+
"5XX": {
|
|
10938
|
+
headers: {
|
|
10939
|
+
[name: string]: unknown;
|
|
10940
|
+
};
|
|
10941
|
+
content: {
|
|
10942
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10943
|
+
};
|
|
10944
|
+
};
|
|
10945
|
+
};
|
|
10946
|
+
};
|
|
10947
|
+
update_current_user_api_users_me_patch: {
|
|
10948
|
+
parameters: {
|
|
10949
|
+
query?: never;
|
|
10950
|
+
header?: never;
|
|
10951
|
+
path?: never;
|
|
10952
|
+
cookie?: never;
|
|
10953
|
+
};
|
|
10954
|
+
requestBody: {
|
|
10955
|
+
content: {
|
|
10956
|
+
"application/json": components["schemas"]["UserUpdateInput"];
|
|
10957
|
+
};
|
|
10958
|
+
};
|
|
10959
|
+
responses: {
|
|
10960
|
+
/** @description Successful Response */
|
|
10961
|
+
200: {
|
|
10962
|
+
headers: {
|
|
10963
|
+
[name: string]: unknown;
|
|
10964
|
+
};
|
|
10965
|
+
content: {
|
|
10966
|
+
"application/json": components["schemas"]["UserProfile"];
|
|
10967
|
+
};
|
|
10968
|
+
};
|
|
10969
|
+
/** @description Client Error */
|
|
10970
|
+
"4XX": {
|
|
10971
|
+
headers: {
|
|
10972
|
+
[name: string]: unknown;
|
|
10973
|
+
};
|
|
10974
|
+
content: {
|
|
10975
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10976
|
+
};
|
|
10977
|
+
};
|
|
10978
|
+
/** @description Server Error */
|
|
10979
|
+
"5XX": {
|
|
10980
|
+
headers: {
|
|
10981
|
+
[name: string]: unknown;
|
|
10982
|
+
};
|
|
10983
|
+
content: {
|
|
10984
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
10985
|
+
};
|
|
10986
|
+
};
|
|
10987
|
+
};
|
|
10988
|
+
};
|
|
10989
|
+
get_my_entitlement_api_users_me_entitlement_get: {
|
|
10990
|
+
parameters: {
|
|
10991
|
+
query?: never;
|
|
10992
|
+
header?: never;
|
|
10993
|
+
path?: never;
|
|
10994
|
+
cookie?: never;
|
|
10995
|
+
};
|
|
10996
|
+
requestBody?: never;
|
|
10997
|
+
responses: {
|
|
10998
|
+
/** @description Successful Response */
|
|
10999
|
+
200: {
|
|
11000
|
+
headers: {
|
|
11001
|
+
[name: string]: unknown;
|
|
11002
|
+
};
|
|
11003
|
+
content: {
|
|
11004
|
+
"application/json": components["schemas"]["EntitlementStatus"];
|
|
11005
|
+
};
|
|
11006
|
+
};
|
|
11007
|
+
/** @description Client Error */
|
|
11008
|
+
"4XX": {
|
|
11009
|
+
headers: {
|
|
11010
|
+
[name: string]: unknown;
|
|
11011
|
+
};
|
|
11012
|
+
content: {
|
|
11013
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11014
|
+
};
|
|
11015
|
+
};
|
|
11016
|
+
/** @description Server Error */
|
|
11017
|
+
"5XX": {
|
|
11018
|
+
headers: {
|
|
11019
|
+
[name: string]: unknown;
|
|
11020
|
+
};
|
|
11021
|
+
content: {
|
|
11022
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11023
|
+
};
|
|
11024
|
+
};
|
|
11025
|
+
};
|
|
11026
|
+
};
|
|
11027
|
+
submit_user_report_api_users_me_reports_post: {
|
|
11028
|
+
parameters: {
|
|
11029
|
+
query?: never;
|
|
11030
|
+
header?: never;
|
|
11031
|
+
path?: never;
|
|
11032
|
+
cookie?: never;
|
|
11033
|
+
};
|
|
11034
|
+
requestBody: {
|
|
11035
|
+
content: {
|
|
11036
|
+
"application/json": components["schemas"]["UserReportCreateInput"];
|
|
11037
|
+
};
|
|
11038
|
+
};
|
|
11039
|
+
responses: {
|
|
11040
|
+
/** @description Successful Response */
|
|
11041
|
+
201: {
|
|
11042
|
+
headers: {
|
|
11043
|
+
[name: string]: unknown;
|
|
11044
|
+
};
|
|
11045
|
+
content: {
|
|
11046
|
+
"application/json": components["schemas"]["UserReportResponse"];
|
|
11047
|
+
};
|
|
11048
|
+
};
|
|
11049
|
+
/** @description Client Error */
|
|
11050
|
+
"4XX": {
|
|
11051
|
+
headers: {
|
|
11052
|
+
[name: string]: unknown;
|
|
11053
|
+
};
|
|
11054
|
+
content: {
|
|
11055
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11056
|
+
};
|
|
11057
|
+
};
|
|
11058
|
+
/** @description Server Error */
|
|
11059
|
+
"5XX": {
|
|
11060
|
+
headers: {
|
|
11061
|
+
[name: string]: unknown;
|
|
11062
|
+
};
|
|
11063
|
+
content: {
|
|
11064
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11065
|
+
};
|
|
11066
|
+
};
|
|
11067
|
+
};
|
|
11068
|
+
};
|
|
11069
|
+
health_check_health_get: {
|
|
11070
|
+
parameters: {
|
|
11071
|
+
query?: never;
|
|
11072
|
+
header?: never;
|
|
11073
|
+
path?: never;
|
|
11074
|
+
cookie?: never;
|
|
11075
|
+
};
|
|
11076
|
+
requestBody?: never;
|
|
11077
|
+
responses: {
|
|
11078
|
+
/** @description Successful Response */
|
|
11079
|
+
200: {
|
|
11080
|
+
headers: {
|
|
11081
|
+
[name: string]: unknown;
|
|
11082
|
+
};
|
|
11083
|
+
content: {
|
|
11084
|
+
"application/json": components["schemas"]["Liveness"];
|
|
11085
|
+
};
|
|
11086
|
+
};
|
|
11087
|
+
/** @description Client Error */
|
|
11088
|
+
"4XX": {
|
|
11089
|
+
headers: {
|
|
11090
|
+
[name: string]: unknown;
|
|
11091
|
+
};
|
|
11092
|
+
content: {
|
|
11093
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11094
|
+
};
|
|
11095
|
+
};
|
|
11096
|
+
/** @description Server Error */
|
|
11097
|
+
"5XX": {
|
|
11098
|
+
headers: {
|
|
11099
|
+
[name: string]: unknown;
|
|
11100
|
+
};
|
|
11101
|
+
content: {
|
|
11102
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11103
|
+
};
|
|
11104
|
+
};
|
|
11105
|
+
};
|
|
11106
|
+
};
|
|
11107
|
+
readiness_check_health_ready_get: {
|
|
11108
|
+
parameters: {
|
|
11109
|
+
query?: never;
|
|
11110
|
+
header?: never;
|
|
11111
|
+
path?: never;
|
|
11112
|
+
cookie?: never;
|
|
11113
|
+
};
|
|
11114
|
+
requestBody?: never;
|
|
11115
|
+
responses: {
|
|
11116
|
+
/** @description Successful Response */
|
|
11117
|
+
200: {
|
|
11118
|
+
headers: {
|
|
11119
|
+
[name: string]: unknown;
|
|
11120
|
+
};
|
|
11121
|
+
content: {
|
|
11122
|
+
"application/json": components["schemas"]["Readiness"];
|
|
11123
|
+
};
|
|
11124
|
+
};
|
|
11125
|
+
/** @description The database doesn't answer */
|
|
11126
|
+
503: {
|
|
11127
|
+
headers: {
|
|
11128
|
+
[name: string]: unknown;
|
|
11129
|
+
};
|
|
11130
|
+
content?: never;
|
|
11131
|
+
};
|
|
11132
|
+
/** @description Client Error */
|
|
11133
|
+
"4XX": {
|
|
11134
|
+
headers: {
|
|
11135
|
+
[name: string]: unknown;
|
|
11136
|
+
};
|
|
11137
|
+
content: {
|
|
11138
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11139
|
+
};
|
|
11140
|
+
};
|
|
11141
|
+
/** @description Server Error */
|
|
11142
|
+
"5XX": {
|
|
11143
|
+
headers: {
|
|
11144
|
+
[name: string]: unknown;
|
|
11145
|
+
};
|
|
11146
|
+
content: {
|
|
11147
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
11148
|
+
};
|
|
11149
|
+
};
|
|
11150
|
+
};
|
|
11151
|
+
};
|
|
11152
|
+
}
|
|
8967
11153
|
|
|
8968
11154
|
declare type ParametersOf<O> = O extends {
|
|
8969
11155
|
parameters: infer Ps;
|
|
@@ -9414,6 +11600,74 @@ declare interface paths {
|
|
|
9414
11600
|
patch?: never;
|
|
9415
11601
|
trace?: never;
|
|
9416
11602
|
};
|
|
11603
|
+
"/api/admin/connectors": {
|
|
11604
|
+
parameters: {
|
|
11605
|
+
query?: never;
|
|
11606
|
+
header?: never;
|
|
11607
|
+
path?: never;
|
|
11608
|
+
cookie?: never;
|
|
11609
|
+
};
|
|
11610
|
+
/**
|
|
11611
|
+
* Admin List Connectors
|
|
11612
|
+
* @description List code-defined and admin-managed connectors.
|
|
11613
|
+
*/
|
|
11614
|
+
get: operations["admin_list_connectors_api_admin_connectors_get"];
|
|
11615
|
+
put?: never;
|
|
11616
|
+
/**
|
|
11617
|
+
* Admin Create Connector
|
|
11618
|
+
* @description Register a new admin-managed remote MCP connector.
|
|
11619
|
+
*/
|
|
11620
|
+
post: operations["admin_create_connector_api_admin_connectors_post"];
|
|
11621
|
+
delete?: never;
|
|
11622
|
+
options?: never;
|
|
11623
|
+
head?: never;
|
|
11624
|
+
patch?: never;
|
|
11625
|
+
trace?: never;
|
|
11626
|
+
};
|
|
11627
|
+
"/api/admin/connectors/{connector_id}": {
|
|
11628
|
+
parameters: {
|
|
11629
|
+
query?: never;
|
|
11630
|
+
header?: never;
|
|
11631
|
+
path?: never;
|
|
11632
|
+
cookie?: never;
|
|
11633
|
+
};
|
|
11634
|
+
get?: never;
|
|
11635
|
+
put?: never;
|
|
11636
|
+
post?: never;
|
|
11637
|
+
/**
|
|
11638
|
+
* Admin Delete Connector
|
|
11639
|
+
* @description Delete an admin-managed connector and all associated user connections.
|
|
11640
|
+
*/
|
|
11641
|
+
delete: operations["admin_delete_connector_api_admin_connectors__connector_id__delete"];
|
|
11642
|
+
options?: never;
|
|
11643
|
+
head?: never;
|
|
11644
|
+
/**
|
|
11645
|
+
* Admin Update Connector
|
|
11646
|
+
* @description Update an admin-managed connector (or toggle ``global_enabled`` on a code connector).
|
|
11647
|
+
*/
|
|
11648
|
+
patch: operations["admin_update_connector_api_admin_connectors__connector_id__patch"];
|
|
11649
|
+
trace?: never;
|
|
11650
|
+
};
|
|
11651
|
+
"/api/admin/connectors/{connector_id}/test": {
|
|
11652
|
+
parameters: {
|
|
11653
|
+
query?: never;
|
|
11654
|
+
header?: never;
|
|
11655
|
+
path?: never;
|
|
11656
|
+
cookie?: never;
|
|
11657
|
+
};
|
|
11658
|
+
get?: never;
|
|
11659
|
+
put?: never;
|
|
11660
|
+
/**
|
|
11661
|
+
* Admin Test Connector
|
|
11662
|
+
* @description Test connectivity and tool discovery for an admin-managed connector.
|
|
11663
|
+
*/
|
|
11664
|
+
post: operations["admin_test_connector_api_admin_connectors__connector_id__test_post"];
|
|
11665
|
+
delete?: never;
|
|
11666
|
+
options?: never;
|
|
11667
|
+
head?: never;
|
|
11668
|
+
patch?: never;
|
|
11669
|
+
trace?: never;
|
|
11670
|
+
};
|
|
9417
11671
|
"/api/admin/jobs": {
|
|
9418
11672
|
parameters: {
|
|
9419
11673
|
query?: never;
|
|
@@ -9724,39 +11978,145 @@ declare interface paths {
|
|
|
9724
11978
|
/** List Plans */
|
|
9725
11979
|
get: operations["list_plans_api_admin_plans_get"];
|
|
9726
11980
|
put?: never;
|
|
9727
|
-
/** Create Plan */
|
|
9728
|
-
post: operations["create_plan_api_admin_plans_post"];
|
|
11981
|
+
/** Create Plan */
|
|
11982
|
+
post: operations["create_plan_api_admin_plans_post"];
|
|
11983
|
+
delete?: never;
|
|
11984
|
+
options?: never;
|
|
11985
|
+
head?: never;
|
|
11986
|
+
patch?: never;
|
|
11987
|
+
trace?: never;
|
|
11988
|
+
};
|
|
11989
|
+
"/api/admin/plans/{key}": {
|
|
11990
|
+
parameters: {
|
|
11991
|
+
query?: never;
|
|
11992
|
+
header?: never;
|
|
11993
|
+
path?: never;
|
|
11994
|
+
cookie?: never;
|
|
11995
|
+
};
|
|
11996
|
+
get?: never;
|
|
11997
|
+
put?: never;
|
|
11998
|
+
post?: never;
|
|
11999
|
+
/**
|
|
12000
|
+
* Delete Plan
|
|
12001
|
+
* @description Delete a plan. While anyone is on it, ``replace_with`` names the plan they move to.
|
|
12002
|
+
*/
|
|
12003
|
+
delete: operations["delete_plan_api_admin_plans__key__delete"];
|
|
12004
|
+
options?: never;
|
|
12005
|
+
head?: never;
|
|
12006
|
+
/**
|
|
12007
|
+
* Update Plan
|
|
12008
|
+
* @description Edit a plan. Every subscriber sees the change on their next turn; usage is untouched.
|
|
12009
|
+
*/
|
|
12010
|
+
patch: operations["update_plan_api_admin_plans__key__patch"];
|
|
12011
|
+
trace?: never;
|
|
12012
|
+
};
|
|
12013
|
+
"/api/admin/plans/{key}/features": {
|
|
12014
|
+
parameters: {
|
|
12015
|
+
query?: never;
|
|
12016
|
+
header?: never;
|
|
12017
|
+
path?: never;
|
|
12018
|
+
cookie?: never;
|
|
12019
|
+
};
|
|
12020
|
+
get?: never;
|
|
12021
|
+
/**
|
|
12022
|
+
* Set Plan Features
|
|
12023
|
+
* @description Switch features on or off for a plan, including one declared in code.
|
|
12024
|
+
*
|
|
12025
|
+
* Subscribers get the change on their next turn.
|
|
12026
|
+
*/
|
|
12027
|
+
put: operations["set_plan_features_api_admin_plans__key__features_put"];
|
|
12028
|
+
post?: never;
|
|
12029
|
+
delete?: never;
|
|
12030
|
+
options?: never;
|
|
12031
|
+
head?: never;
|
|
12032
|
+
patch?: never;
|
|
12033
|
+
trace?: never;
|
|
12034
|
+
};
|
|
12035
|
+
"/api/admin/reports": {
|
|
12036
|
+
parameters: {
|
|
12037
|
+
query?: never;
|
|
12038
|
+
header?: never;
|
|
12039
|
+
path?: never;
|
|
12040
|
+
cookie?: never;
|
|
12041
|
+
};
|
|
12042
|
+
/**
|
|
12043
|
+
* List Reports
|
|
12044
|
+
* @description List user-submitted feedback reports, newest first.
|
|
12045
|
+
*/
|
|
12046
|
+
get: operations["list_reports_api_admin_reports_get"];
|
|
12047
|
+
put?: never;
|
|
12048
|
+
post?: never;
|
|
12049
|
+
delete?: never;
|
|
12050
|
+
options?: never;
|
|
12051
|
+
head?: never;
|
|
12052
|
+
patch?: never;
|
|
12053
|
+
trace?: never;
|
|
12054
|
+
};
|
|
12055
|
+
"/api/admin/reports/{report_id}": {
|
|
12056
|
+
parameters: {
|
|
12057
|
+
query?: never;
|
|
12058
|
+
header?: never;
|
|
12059
|
+
path?: never;
|
|
12060
|
+
cookie?: never;
|
|
12061
|
+
};
|
|
12062
|
+
get?: never;
|
|
12063
|
+
put?: never;
|
|
12064
|
+
post?: never;
|
|
12065
|
+
/**
|
|
12066
|
+
* Delete Report
|
|
12067
|
+
* @description Delete a user report and any attachment it claimed.
|
|
12068
|
+
*/
|
|
12069
|
+
delete: operations["delete_report_api_admin_reports__report_id__delete"];
|
|
12070
|
+
options?: never;
|
|
12071
|
+
head?: never;
|
|
12072
|
+
/**
|
|
12073
|
+
* Update Report Status
|
|
12074
|
+
* @description Mark a report open or resolved.
|
|
12075
|
+
*/
|
|
12076
|
+
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
12077
|
+
trace?: never;
|
|
12078
|
+
};
|
|
12079
|
+
"/api/admin/reports/{report_id}/attachment": {
|
|
12080
|
+
parameters: {
|
|
12081
|
+
query?: never;
|
|
12082
|
+
header?: never;
|
|
12083
|
+
path?: never;
|
|
12084
|
+
cookie?: never;
|
|
12085
|
+
};
|
|
12086
|
+
/**
|
|
12087
|
+
* Get Report Attachment
|
|
12088
|
+
* @description Serve the file attached to a user report.
|
|
12089
|
+
*/
|
|
12090
|
+
get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
|
|
12091
|
+
put?: never;
|
|
12092
|
+
post?: never;
|
|
9729
12093
|
delete?: never;
|
|
9730
12094
|
options?: never;
|
|
9731
12095
|
head?: never;
|
|
9732
12096
|
patch?: never;
|
|
9733
12097
|
trace?: never;
|
|
9734
12098
|
};
|
|
9735
|
-
"/api/admin/
|
|
12099
|
+
"/api/admin/schedules": {
|
|
9736
12100
|
parameters: {
|
|
9737
12101
|
query?: never;
|
|
9738
12102
|
header?: never;
|
|
9739
12103
|
path?: never;
|
|
9740
12104
|
cookie?: never;
|
|
9741
12105
|
};
|
|
9742
|
-
get?: never;
|
|
9743
|
-
put?: never;
|
|
9744
|
-
post?: never;
|
|
9745
12106
|
/**
|
|
9746
|
-
*
|
|
9747
|
-
* @description
|
|
12107
|
+
* Admin List Schedules
|
|
12108
|
+
* @description List scheduled tasks across all users for the admin Operations tab.
|
|
9748
12109
|
*/
|
|
9749
|
-
|
|
12110
|
+
get: operations["admin_list_schedules_api_admin_schedules_get"];
|
|
12111
|
+
put?: never;
|
|
12112
|
+
post?: never;
|
|
12113
|
+
delete?: never;
|
|
9750
12114
|
options?: never;
|
|
9751
12115
|
head?: never;
|
|
9752
|
-
|
|
9753
|
-
* Update Plan
|
|
9754
|
-
* @description Edit a plan. Every subscriber sees the change on their next turn; usage is untouched.
|
|
9755
|
-
*/
|
|
9756
|
-
patch: operations["update_plan_api_admin_plans__key__patch"];
|
|
12116
|
+
patch?: never;
|
|
9757
12117
|
trace?: never;
|
|
9758
12118
|
};
|
|
9759
|
-
"/api/admin/
|
|
12119
|
+
"/api/admin/schedules/{schedule_id}": {
|
|
9760
12120
|
parameters: {
|
|
9761
12121
|
query?: never;
|
|
9762
12122
|
header?: never;
|
|
@@ -9764,41 +12124,39 @@ declare interface paths {
|
|
|
9764
12124
|
cookie?: never;
|
|
9765
12125
|
};
|
|
9766
12126
|
get?: never;
|
|
12127
|
+
put?: never;
|
|
12128
|
+
post?: never;
|
|
9767
12129
|
/**
|
|
9768
|
-
*
|
|
9769
|
-
* @description
|
|
9770
|
-
*
|
|
9771
|
-
* Subscribers get the change on their next turn.
|
|
12130
|
+
* Admin Delete Schedule
|
|
12131
|
+
* @description Delete any user's scheduled task as an administrator.
|
|
9772
12132
|
*/
|
|
9773
|
-
|
|
9774
|
-
post?: never;
|
|
9775
|
-
delete?: never;
|
|
12133
|
+
delete: operations["admin_delete_schedule_api_admin_schedules__schedule_id__delete"];
|
|
9776
12134
|
options?: never;
|
|
9777
12135
|
head?: never;
|
|
9778
12136
|
patch?: never;
|
|
9779
12137
|
trace?: never;
|
|
9780
12138
|
};
|
|
9781
|
-
"/api/admin/
|
|
12139
|
+
"/api/admin/schedules/{schedule_id}/pause": {
|
|
9782
12140
|
parameters: {
|
|
9783
12141
|
query?: never;
|
|
9784
12142
|
header?: never;
|
|
9785
12143
|
path?: never;
|
|
9786
12144
|
cookie?: never;
|
|
9787
12145
|
};
|
|
12146
|
+
get?: never;
|
|
12147
|
+
put?: never;
|
|
9788
12148
|
/**
|
|
9789
|
-
*
|
|
9790
|
-
* @description
|
|
12149
|
+
* Admin Pause Schedule
|
|
12150
|
+
* @description Pause any user's scheduled task as an administrator.
|
|
9791
12151
|
*/
|
|
9792
|
-
|
|
9793
|
-
put?: never;
|
|
9794
|
-
post?: never;
|
|
12152
|
+
post: operations["admin_pause_schedule_api_admin_schedules__schedule_id__pause_post"];
|
|
9795
12153
|
delete?: never;
|
|
9796
12154
|
options?: never;
|
|
9797
12155
|
head?: never;
|
|
9798
12156
|
patch?: never;
|
|
9799
12157
|
trace?: never;
|
|
9800
12158
|
};
|
|
9801
|
-
"/api/admin/
|
|
12159
|
+
"/api/admin/schedules/{schedule_id}/resume": {
|
|
9802
12160
|
parameters: {
|
|
9803
12161
|
query?: never;
|
|
9804
12162
|
header?: never;
|
|
@@ -9807,22 +12165,18 @@ declare interface paths {
|
|
|
9807
12165
|
};
|
|
9808
12166
|
get?: never;
|
|
9809
12167
|
put?: never;
|
|
9810
|
-
post?: never;
|
|
9811
12168
|
/**
|
|
9812
|
-
*
|
|
9813
|
-
* @description
|
|
12169
|
+
* Admin Resume Schedule
|
|
12170
|
+
* @description Resume any user's scheduled task as an administrator.
|
|
9814
12171
|
*/
|
|
9815
|
-
|
|
12172
|
+
post: operations["admin_resume_schedule_api_admin_schedules__schedule_id__resume_post"];
|
|
12173
|
+
delete?: never;
|
|
9816
12174
|
options?: never;
|
|
9817
12175
|
head?: never;
|
|
9818
|
-
|
|
9819
|
-
* Update Report Status
|
|
9820
|
-
* @description Mark a report open or resolved.
|
|
9821
|
-
*/
|
|
9822
|
-
patch: operations["update_report_status_api_admin_reports__report_id__patch"];
|
|
12176
|
+
patch?: never;
|
|
9823
12177
|
trace?: never;
|
|
9824
12178
|
};
|
|
9825
|
-
"/api/admin/
|
|
12179
|
+
"/api/admin/schedules/{schedule_id}/runs": {
|
|
9826
12180
|
parameters: {
|
|
9827
12181
|
query?: never;
|
|
9828
12182
|
header?: never;
|
|
@@ -9830,10 +12184,10 @@ declare interface paths {
|
|
|
9830
12184
|
cookie?: never;
|
|
9831
12185
|
};
|
|
9832
12186
|
/**
|
|
9833
|
-
*
|
|
9834
|
-
* @description
|
|
12187
|
+
* Admin List Schedule Runs
|
|
12188
|
+
* @description List recent runs of any user's scheduled task.
|
|
9835
12189
|
*/
|
|
9836
|
-
get: operations["
|
|
12190
|
+
get: operations["admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get"];
|
|
9837
12191
|
put?: never;
|
|
9838
12192
|
post?: never;
|
|
9839
12193
|
delete?: never;
|
|
@@ -10253,7 +12607,41 @@ declare interface paths {
|
|
|
10253
12607
|
patch?: never;
|
|
10254
12608
|
trace?: never;
|
|
10255
12609
|
};
|
|
10256
|
-
"/api/
|
|
12610
|
+
"/api/chat": {
|
|
12611
|
+
parameters: {
|
|
12612
|
+
query?: never;
|
|
12613
|
+
header?: never;
|
|
12614
|
+
path?: never;
|
|
12615
|
+
cookie?: never;
|
|
12616
|
+
};
|
|
12617
|
+
get?: never;
|
|
12618
|
+
put?: never;
|
|
12619
|
+
/**
|
|
12620
|
+
* Chat
|
|
12621
|
+
* @description Sends a message and streams the reply.
|
|
12622
|
+
*
|
|
12623
|
+
* The body is the new message and the stored message it follows; the server loads the rest of
|
|
12624
|
+
* the thread from the store, and the context policy chooses what of it the model sees. Sending
|
|
12625
|
+
* a stored message's id again after the same parent retries it, replacing what followed.
|
|
12626
|
+
*
|
|
12627
|
+
* In a thread, the turn runs on the server to its end whether or not the response is read: its
|
|
12628
|
+
* stream opens with a `data-turn` part naming it, and
|
|
12629
|
+
* `GET /chat/threads/{thread_id}/turns/{turn_id}/stream` reads it again from any point. Only
|
|
12630
|
+
* `POST /chat/threads/{thread_id}/stop`, or a new message in the thread, stops it; a new message
|
|
12631
|
+
* waits until the turn before it is saved. A turn without a thread stops when its response is closed.
|
|
12632
|
+
*
|
|
12633
|
+
* Everything up to the response reaches the database or the file store synchronously,
|
|
12634
|
+
* so it runs in the threadpool: nothing here may hold up the event loop, which every
|
|
12635
|
+
* other request, every open stream and the health check are waiting on.
|
|
12636
|
+
*/
|
|
12637
|
+
post: operations["chat_api_chat_post"];
|
|
12638
|
+
delete?: never;
|
|
12639
|
+
options?: never;
|
|
12640
|
+
head?: never;
|
|
12641
|
+
patch?: never;
|
|
12642
|
+
trace?: never;
|
|
12643
|
+
};
|
|
12644
|
+
"/api/chat/attachments": {
|
|
10257
12645
|
parameters: {
|
|
10258
12646
|
query?: never;
|
|
10259
12647
|
header?: never;
|
|
@@ -10263,29 +12651,184 @@ declare interface paths {
|
|
|
10263
12651
|
get?: never;
|
|
10264
12652
|
put?: never;
|
|
10265
12653
|
/**
|
|
10266
|
-
*
|
|
10267
|
-
* @description
|
|
10268
|
-
* ``external_id``, and return a JWT. Protected by an API key.
|
|
12654
|
+
* Upload Attachment
|
|
12655
|
+
* @description Uploads a file for a message the user is about to send.
|
|
10269
12656
|
*
|
|
10270
|
-
*
|
|
10271
|
-
* ``
|
|
12657
|
+
* The body is the file, with its media type as the ``Content-Type``. A file part of the message
|
|
12658
|
+
* names the answer's ``id`` as its ``attachmentId``, and sending the message adds the file to its
|
|
12659
|
+
* thread. A file no message names within 24 hours is deleted. ``GET /config`` lists the types
|
|
12660
|
+
* accepted and the largest size, under ``attachments``.
|
|
12661
|
+
*/
|
|
12662
|
+
post: operations["upload_attachment_api_chat_attachments_post"];
|
|
12663
|
+
delete?: never;
|
|
12664
|
+
options?: never;
|
|
12665
|
+
head?: never;
|
|
12666
|
+
patch?: never;
|
|
12667
|
+
trace?: never;
|
|
12668
|
+
};
|
|
12669
|
+
"/api/chat/attachments/{attachment_id}": {
|
|
12670
|
+
parameters: {
|
|
12671
|
+
query?: never;
|
|
12672
|
+
header?: never;
|
|
12673
|
+
path?: never;
|
|
12674
|
+
cookie?: never;
|
|
12675
|
+
};
|
|
12676
|
+
/**
|
|
12677
|
+
* Get Attachment
|
|
12678
|
+
* @description Proxies a secure attachment from storage to the authenticated user.
|
|
12679
|
+
*/
|
|
12680
|
+
get: operations["get_attachment_api_chat_attachments__attachment_id__get"];
|
|
12681
|
+
put?: never;
|
|
12682
|
+
post?: never;
|
|
12683
|
+
delete?: never;
|
|
12684
|
+
options?: never;
|
|
12685
|
+
head?: never;
|
|
12686
|
+
patch?: never;
|
|
12687
|
+
trace?: never;
|
|
12688
|
+
};
|
|
12689
|
+
"/api/chat/feedback": {
|
|
12690
|
+
parameters: {
|
|
12691
|
+
query?: never;
|
|
12692
|
+
header?: never;
|
|
12693
|
+
path?: never;
|
|
12694
|
+
cookie?: never;
|
|
12695
|
+
};
|
|
12696
|
+
get?: never;
|
|
12697
|
+
put?: never;
|
|
12698
|
+
/**
|
|
12699
|
+
* Save Feedback
|
|
12700
|
+
* @description Saves user feedback (sentiment) for a specific assistant message.
|
|
12701
|
+
*/
|
|
12702
|
+
post: operations["save_feedback_api_chat_feedback_post"];
|
|
12703
|
+
delete?: never;
|
|
12704
|
+
options?: never;
|
|
12705
|
+
head?: never;
|
|
12706
|
+
patch?: never;
|
|
12707
|
+
trace?: never;
|
|
12708
|
+
};
|
|
12709
|
+
"/api/chat/threads": {
|
|
12710
|
+
parameters: {
|
|
12711
|
+
query?: never;
|
|
12712
|
+
header?: never;
|
|
12713
|
+
path?: never;
|
|
12714
|
+
cookie?: never;
|
|
12715
|
+
};
|
|
12716
|
+
/**
|
|
12717
|
+
* List Threads
|
|
12718
|
+
* @description Lists the user's threads, pinned first and then by last activity, optionally those whose
|
|
12719
|
+
* title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
|
|
12720
|
+
*/
|
|
12721
|
+
get: operations["list_threads_api_chat_threads_get"];
|
|
12722
|
+
put?: never;
|
|
12723
|
+
post?: never;
|
|
12724
|
+
delete?: never;
|
|
12725
|
+
options?: never;
|
|
12726
|
+
head?: never;
|
|
12727
|
+
patch?: never;
|
|
12728
|
+
trace?: never;
|
|
12729
|
+
};
|
|
12730
|
+
"/api/chat/threads/{thread_id}": {
|
|
12731
|
+
parameters: {
|
|
12732
|
+
query?: never;
|
|
12733
|
+
header?: never;
|
|
12734
|
+
path?: never;
|
|
12735
|
+
cookie?: never;
|
|
12736
|
+
};
|
|
12737
|
+
/**
|
|
12738
|
+
* Get Thread Messages
|
|
12739
|
+
* @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
|
|
12740
|
+
* page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
|
|
10272
12741
|
*
|
|
10273
|
-
*
|
|
12742
|
+
* The last page says whether the thread's last turn is still running, or failed.
|
|
12743
|
+
*/
|
|
12744
|
+
get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
|
|
12745
|
+
put?: never;
|
|
12746
|
+
post?: never;
|
|
12747
|
+
/**
|
|
12748
|
+
* Delete Thread
|
|
12749
|
+
* @description Deletes a chat thread and its associated message history.
|
|
12750
|
+
*/
|
|
12751
|
+
delete: operations["delete_thread_api_chat_threads__thread_id__delete"];
|
|
12752
|
+
options?: never;
|
|
12753
|
+
head?: never;
|
|
12754
|
+
/**
|
|
12755
|
+
* Update Thread
|
|
12756
|
+
* @description Updates thread metadata (e.g., title) for the authenticated user.
|
|
12757
|
+
*/
|
|
12758
|
+
patch: operations["update_thread_api_chat_threads__thread_id__patch"];
|
|
12759
|
+
trace?: never;
|
|
12760
|
+
};
|
|
12761
|
+
"/api/chat/threads/{thread_id}/share": {
|
|
12762
|
+
parameters: {
|
|
12763
|
+
query?: never;
|
|
12764
|
+
header?: never;
|
|
12765
|
+
path?: never;
|
|
12766
|
+
cookie?: never;
|
|
12767
|
+
};
|
|
12768
|
+
get?: never;
|
|
12769
|
+
put?: never;
|
|
12770
|
+
/**
|
|
12771
|
+
* Share Thread
|
|
12772
|
+
* @description Generates a public readonly snapshot of a chat thread.
|
|
12773
|
+
*/
|
|
12774
|
+
post: operations["share_thread_api_chat_threads__thread_id__share_post"];
|
|
12775
|
+
/**
|
|
12776
|
+
* Unshare Thread
|
|
12777
|
+
* @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
|
|
12778
|
+
*/
|
|
12779
|
+
delete: operations["unshare_thread_api_chat_threads__thread_id__share_delete"];
|
|
12780
|
+
options?: never;
|
|
12781
|
+
head?: never;
|
|
12782
|
+
patch?: never;
|
|
12783
|
+
trace?: never;
|
|
12784
|
+
};
|
|
12785
|
+
"/api/chat/threads/{thread_id}/stop": {
|
|
12786
|
+
parameters: {
|
|
12787
|
+
query?: never;
|
|
12788
|
+
header?: never;
|
|
12789
|
+
path?: never;
|
|
12790
|
+
cookie?: never;
|
|
12791
|
+
};
|
|
12792
|
+
get?: never;
|
|
12793
|
+
put?: never;
|
|
12794
|
+
/**
|
|
12795
|
+
* Stop Turn
|
|
12796
|
+
* @description Stops the turn the thread is running, on whichever worker runs it.
|
|
10274
12797
|
*
|
|
10275
|
-
*
|
|
10276
|
-
*
|
|
10277
|
-
|
|
12798
|
+
* The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
|
|
12799
|
+
* the turn's stream ends as a finished one does. Without a running turn it does nothing.
|
|
12800
|
+
*/
|
|
12801
|
+
post: operations["stop_turn_api_chat_threads__thread_id__stop_post"];
|
|
12802
|
+
delete?: never;
|
|
12803
|
+
options?: never;
|
|
12804
|
+
head?: never;
|
|
12805
|
+
patch?: never;
|
|
12806
|
+
trace?: never;
|
|
12807
|
+
};
|
|
12808
|
+
"/api/chat/threads/{thread_id}/turns/{turn_id}/stream": {
|
|
12809
|
+
parameters: {
|
|
12810
|
+
query?: never;
|
|
12811
|
+
header?: never;
|
|
12812
|
+
path?: never;
|
|
12813
|
+
cookie?: never;
|
|
12814
|
+
};
|
|
12815
|
+
/**
|
|
12816
|
+
* Read Turn
|
|
12817
|
+
* @description Reads a turn's stream again, from its event ``after`` on: the number of events read so far.
|
|
10278
12818
|
*
|
|
10279
|
-
*
|
|
12819
|
+
* It follows the turn live until it ends. A turn whose server stopped ends with an error event
|
|
12820
|
+
* whose text is ``turn_interrupted``.
|
|
10280
12821
|
*/
|
|
10281
|
-
|
|
12822
|
+
get: operations["read_turn_api_chat_threads__thread_id__turns__turn_id__stream_get"];
|
|
12823
|
+
put?: never;
|
|
12824
|
+
post?: never;
|
|
10282
12825
|
delete?: never;
|
|
10283
12826
|
options?: never;
|
|
10284
12827
|
head?: never;
|
|
10285
12828
|
patch?: never;
|
|
10286
12829
|
trace?: never;
|
|
10287
12830
|
};
|
|
10288
|
-
"/api/chat": {
|
|
12831
|
+
"/api/chat/transcribe": {
|
|
10289
12832
|
parameters: {
|
|
10290
12833
|
query?: never;
|
|
10291
12834
|
header?: never;
|
|
@@ -10295,56 +12838,45 @@ declare interface paths {
|
|
|
10295
12838
|
get?: never;
|
|
10296
12839
|
put?: never;
|
|
10297
12840
|
/**
|
|
10298
|
-
*
|
|
10299
|
-
* @description
|
|
10300
|
-
*
|
|
10301
|
-
* The body is the new message and the stored message it follows; the server loads the rest of
|
|
10302
|
-
* the thread from the store, and the context policy chooses what of it the model sees. Sending
|
|
10303
|
-
* a stored message's id again after the same parent retries it, replacing what followed.
|
|
10304
|
-
*
|
|
10305
|
-
* In a thread, the turn runs on the server to its end whether or not the response is read: its
|
|
10306
|
-
* stream opens with a `data-turn` part naming it, and
|
|
10307
|
-
* `GET /chat/threads/{thread_id}/turns/{turn_id}/stream` reads it again from any point. Only
|
|
10308
|
-
* `POST /chat/threads/{thread_id}/stop`, or a new message in the thread, stops it; a new message
|
|
10309
|
-
* waits until the turn before it is saved. A turn without a thread stops when its response is closed.
|
|
12841
|
+
* Transcribe
|
|
12842
|
+
* @description Transcribes a recording of the user into text for the composer.
|
|
10310
12843
|
*
|
|
10311
|
-
*
|
|
10312
|
-
*
|
|
10313
|
-
*
|
|
12844
|
+
* The body is the recording itself, with its media type as the ``Content-Type``
|
|
12845
|
+
* (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
|
|
12846
|
+
* text empty when no speech was heard. The text goes back to the composer, and is only
|
|
12847
|
+
* kept if the user sends it. What the call cost is kept under ``id``: a message sent with
|
|
12848
|
+
* it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
|
|
12849
|
+
* dictated in the admin chat history, where the recording, kept with the attachments, can
|
|
12850
|
+
* be downloaded.
|
|
10314
12851
|
*/
|
|
10315
|
-
post: operations["
|
|
12852
|
+
post: operations["transcribe_api_chat_transcribe_post"];
|
|
10316
12853
|
delete?: never;
|
|
10317
12854
|
options?: never;
|
|
10318
12855
|
head?: never;
|
|
10319
12856
|
patch?: never;
|
|
10320
12857
|
trace?: never;
|
|
10321
12858
|
};
|
|
10322
|
-
"/api/
|
|
12859
|
+
"/api/config": {
|
|
10323
12860
|
parameters: {
|
|
10324
12861
|
query?: never;
|
|
10325
12862
|
header?: never;
|
|
10326
12863
|
path?: never;
|
|
10327
12864
|
cookie?: never;
|
|
10328
12865
|
};
|
|
10329
|
-
get?: never;
|
|
10330
|
-
put?: never;
|
|
10331
12866
|
/**
|
|
10332
|
-
*
|
|
10333
|
-
* @description
|
|
10334
|
-
*
|
|
10335
|
-
* The body is the file, with its media type as the ``Content-Type``. A file part of the message
|
|
10336
|
-
* names the answer's ``id`` as its ``attachmentId``, and sending the message adds the file to its
|
|
10337
|
-
* thread. A file no message names within 24 hours is deleted. ``GET /config`` lists the types
|
|
10338
|
-
* accepted and the largest size, under ``attachments``.
|
|
12867
|
+
* Get Public Config
|
|
12868
|
+
* @description The admin's overrides and the server's own flags. Fields an admin never set are absent.
|
|
10339
12869
|
*/
|
|
10340
|
-
|
|
12870
|
+
get: operations["get_public_config_api_config_get"];
|
|
12871
|
+
put?: never;
|
|
12872
|
+
post?: never;
|
|
10341
12873
|
delete?: never;
|
|
10342
12874
|
options?: never;
|
|
10343
12875
|
head?: never;
|
|
10344
12876
|
patch?: never;
|
|
10345
12877
|
trace?: never;
|
|
10346
12878
|
};
|
|
10347
|
-
"/api/
|
|
12879
|
+
"/api/connectors": {
|
|
10348
12880
|
parameters: {
|
|
10349
12881
|
query?: never;
|
|
10350
12882
|
header?: never;
|
|
@@ -10352,10 +12884,10 @@ declare interface paths {
|
|
|
10352
12884
|
cookie?: never;
|
|
10353
12885
|
};
|
|
10354
12886
|
/**
|
|
10355
|
-
*
|
|
10356
|
-
* @description
|
|
12887
|
+
* List Connectors
|
|
12888
|
+
* @description List connectors available to the current user and their connection statuses.
|
|
10357
12889
|
*/
|
|
10358
|
-
get: operations["
|
|
12890
|
+
get: operations["list_connectors_api_connectors_get"];
|
|
10359
12891
|
put?: never;
|
|
10360
12892
|
post?: never;
|
|
10361
12893
|
delete?: never;
|
|
@@ -10364,79 +12896,67 @@ declare interface paths {
|
|
|
10364
12896
|
patch?: never;
|
|
10365
12897
|
trace?: never;
|
|
10366
12898
|
};
|
|
10367
|
-
"/api/
|
|
12899
|
+
"/api/connectors/oauth/callback": {
|
|
10368
12900
|
parameters: {
|
|
10369
12901
|
query?: never;
|
|
10370
12902
|
header?: never;
|
|
10371
12903
|
path?: never;
|
|
10372
12904
|
cookie?: never;
|
|
10373
12905
|
};
|
|
10374
|
-
get?: never;
|
|
10375
|
-
put?: never;
|
|
10376
12906
|
/**
|
|
10377
|
-
*
|
|
10378
|
-
* @description
|
|
12907
|
+
* Connector Oauth Callback
|
|
12908
|
+
* @description Handle the OAuth2 redirect callback using a single-use server-stored state.
|
|
10379
12909
|
*/
|
|
10380
|
-
|
|
12910
|
+
get: operations["connector_oauth_callback_api_connectors_oauth_callback_get"];
|
|
12911
|
+
put?: never;
|
|
12912
|
+
post?: never;
|
|
10381
12913
|
delete?: never;
|
|
10382
12914
|
options?: never;
|
|
10383
12915
|
head?: never;
|
|
10384
12916
|
patch?: never;
|
|
10385
12917
|
trace?: never;
|
|
10386
12918
|
};
|
|
10387
|
-
"/api/
|
|
12919
|
+
"/api/connectors/user-mcp": {
|
|
10388
12920
|
parameters: {
|
|
10389
12921
|
query?: never;
|
|
10390
12922
|
header?: never;
|
|
10391
12923
|
path?: never;
|
|
10392
12924
|
cookie?: never;
|
|
10393
12925
|
};
|
|
12926
|
+
get?: never;
|
|
12927
|
+
put?: never;
|
|
10394
12928
|
/**
|
|
10395
|
-
*
|
|
10396
|
-
* @description
|
|
10397
|
-
* title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
|
|
12929
|
+
* Create User Mcp Connector
|
|
12930
|
+
* @description Register a custom remote MCP server owned by the current user.
|
|
10398
12931
|
*/
|
|
10399
|
-
|
|
10400
|
-
put?: never;
|
|
10401
|
-
post?: never;
|
|
12932
|
+
post: operations["create_user_mcp_connector_api_connectors_user_mcp_post"];
|
|
10402
12933
|
delete?: never;
|
|
10403
12934
|
options?: never;
|
|
10404
12935
|
head?: never;
|
|
10405
12936
|
patch?: never;
|
|
10406
12937
|
trace?: never;
|
|
10407
12938
|
};
|
|
10408
|
-
"/api/
|
|
12939
|
+
"/api/connectors/user-mcp/{connector_id}": {
|
|
10409
12940
|
parameters: {
|
|
10410
12941
|
query?: never;
|
|
10411
12942
|
header?: never;
|
|
10412
12943
|
path?: never;
|
|
10413
12944
|
cookie?: never;
|
|
10414
12945
|
};
|
|
10415
|
-
|
|
10416
|
-
* Get Thread Messages
|
|
10417
|
-
* @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
|
|
10418
|
-
* page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
|
|
10419
|
-
*
|
|
10420
|
-
* The last page says whether the thread's last turn is still running, or failed.
|
|
10421
|
-
*/
|
|
10422
|
-
get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
|
|
12946
|
+
get?: never;
|
|
10423
12947
|
put?: never;
|
|
10424
12948
|
post?: never;
|
|
10425
12949
|
/**
|
|
10426
|
-
* Delete
|
|
10427
|
-
* @description
|
|
12950
|
+
* Delete User Mcp Connector
|
|
12951
|
+
* @description Delete a user-owned custom remote MCP server.
|
|
10428
12952
|
*/
|
|
10429
|
-
delete: operations["
|
|
12953
|
+
delete: operations["delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete"];
|
|
10430
12954
|
options?: never;
|
|
10431
12955
|
head?: never;
|
|
10432
|
-
|
|
10433
|
-
* Update Thread
|
|
10434
|
-
* @description Updates thread metadata (e.g., title) for the authenticated user.
|
|
10435
|
-
*/
|
|
10436
|
-
patch: operations["update_thread_api_chat_threads__thread_id__patch"];
|
|
12956
|
+
patch?: never;
|
|
10437
12957
|
trace?: never;
|
|
10438
12958
|
};
|
|
10439
|
-
"/api/
|
|
12959
|
+
"/api/connectors/{connector_id}": {
|
|
10440
12960
|
parameters: {
|
|
10441
12961
|
query?: never;
|
|
10442
12962
|
header?: never;
|
|
@@ -10445,22 +12965,18 @@ declare interface paths {
|
|
|
10445
12965
|
};
|
|
10446
12966
|
get?: never;
|
|
10447
12967
|
put?: never;
|
|
10448
|
-
|
|
10449
|
-
|
|
10450
|
-
* @description Generates a public readonly snapshot of a chat thread.
|
|
10451
|
-
*/
|
|
10452
|
-
post: operations["share_thread_api_chat_threads__thread_id__share_post"];
|
|
10453
|
-
/**
|
|
10454
|
-
* Unshare Thread
|
|
10455
|
-
* @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
|
|
10456
|
-
*/
|
|
10457
|
-
delete: operations["unshare_thread_api_chat_threads__thread_id__share_delete"];
|
|
12968
|
+
post?: never;
|
|
12969
|
+
delete?: never;
|
|
10458
12970
|
options?: never;
|
|
10459
12971
|
head?: never;
|
|
10460
|
-
|
|
12972
|
+
/**
|
|
12973
|
+
* Update Connector
|
|
12974
|
+
* @description Enable/disable a connector or set per-tool approval overrides.
|
|
12975
|
+
*/
|
|
12976
|
+
patch: operations["update_connector_api_connectors__connector_id__patch"];
|
|
10461
12977
|
trace?: never;
|
|
10462
12978
|
};
|
|
10463
|
-
"/api/
|
|
12979
|
+
"/api/connectors/{connector_id}/connect": {
|
|
10464
12980
|
parameters: {
|
|
10465
12981
|
query?: never;
|
|
10466
12982
|
header?: never;
|
|
@@ -10470,43 +12986,37 @@ declare interface paths {
|
|
|
10470
12986
|
get?: never;
|
|
10471
12987
|
put?: never;
|
|
10472
12988
|
/**
|
|
10473
|
-
*
|
|
10474
|
-
* @description
|
|
10475
|
-
*
|
|
10476
|
-
* The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
|
|
10477
|
-
* the turn's stream ends as a finished one does. Without a running turn it does nothing.
|
|
12989
|
+
* Connect Connector
|
|
12990
|
+
* @description Store an encrypted API key for a connector and enable it.
|
|
10478
12991
|
*/
|
|
10479
|
-
post: operations["
|
|
12992
|
+
post: operations["connect_connector_api_connectors__connector_id__connect_post"];
|
|
10480
12993
|
delete?: never;
|
|
10481
12994
|
options?: never;
|
|
10482
12995
|
head?: never;
|
|
10483
12996
|
patch?: never;
|
|
10484
12997
|
trace?: never;
|
|
10485
12998
|
};
|
|
10486
|
-
"/api/
|
|
12999
|
+
"/api/connectors/{connector_id}/disconnect": {
|
|
10487
13000
|
parameters: {
|
|
10488
13001
|
query?: never;
|
|
10489
13002
|
header?: never;
|
|
10490
13003
|
path?: never;
|
|
10491
13004
|
cookie?: never;
|
|
10492
13005
|
};
|
|
13006
|
+
get?: never;
|
|
13007
|
+
put?: never;
|
|
10493
13008
|
/**
|
|
10494
|
-
*
|
|
10495
|
-
* @description
|
|
10496
|
-
*
|
|
10497
|
-
* It follows the turn live until it ends. A turn whose server stopped ends with an error event
|
|
10498
|
-
* whose text is ``turn_interrupted``.
|
|
13009
|
+
* Disconnect Connector
|
|
13010
|
+
* @description Wipe stored credentials for a connector and disable it.
|
|
10499
13011
|
*/
|
|
10500
|
-
|
|
10501
|
-
put?: never;
|
|
10502
|
-
post?: never;
|
|
13012
|
+
post: operations["disconnect_connector_api_connectors__connector_id__disconnect_post"];
|
|
10503
13013
|
delete?: never;
|
|
10504
13014
|
options?: never;
|
|
10505
13015
|
head?: never;
|
|
10506
13016
|
patch?: never;
|
|
10507
13017
|
trace?: never;
|
|
10508
13018
|
};
|
|
10509
|
-
"/api/
|
|
13019
|
+
"/api/connectors/{connector_id}/oauth/start": {
|
|
10510
13020
|
parameters: {
|
|
10511
13021
|
query?: never;
|
|
10512
13022
|
header?: never;
|
|
@@ -10516,25 +13026,17 @@ declare interface paths {
|
|
|
10516
13026
|
get?: never;
|
|
10517
13027
|
put?: never;
|
|
10518
13028
|
/**
|
|
10519
|
-
*
|
|
10520
|
-
* @description
|
|
10521
|
-
*
|
|
10522
|
-
* The body is the recording itself, with its media type as the ``Content-Type``
|
|
10523
|
-
* (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
|
|
10524
|
-
* text empty when no speech was heard. The text goes back to the composer, and is only
|
|
10525
|
-
* kept if the user sends it. What the call cost is kept under ``id``: a message sent with
|
|
10526
|
-
* it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
|
|
10527
|
-
* dictated in the admin chat history, where the recording, kept with the attachments, can
|
|
10528
|
-
* be downloaded.
|
|
13029
|
+
* Start Connector Oauth
|
|
13030
|
+
* @description Start an OAuth2 + PKCE authorization flow for a connector.
|
|
10529
13031
|
*/
|
|
10530
|
-
post: operations["
|
|
13032
|
+
post: operations["start_connector_oauth_api_connectors__connector_id__oauth_start_post"];
|
|
10531
13033
|
delete?: never;
|
|
10532
13034
|
options?: never;
|
|
10533
13035
|
head?: never;
|
|
10534
13036
|
patch?: never;
|
|
10535
13037
|
trace?: never;
|
|
10536
13038
|
};
|
|
10537
|
-
"/api/
|
|
13039
|
+
"/api/connectors/{connector_id}/tools": {
|
|
10538
13040
|
parameters: {
|
|
10539
13041
|
query?: never;
|
|
10540
13042
|
header?: never;
|
|
@@ -10542,10 +13044,10 @@ declare interface paths {
|
|
|
10542
13044
|
cookie?: never;
|
|
10543
13045
|
};
|
|
10544
13046
|
/**
|
|
10545
|
-
*
|
|
10546
|
-
* @description
|
|
13047
|
+
* List Connector Tools
|
|
13048
|
+
* @description Discover tools provided by a connected connector.
|
|
10547
13049
|
*/
|
|
10548
|
-
get: operations["
|
|
13050
|
+
get: operations["list_connector_tools_api_connectors__connector_id__tools_get"];
|
|
10549
13051
|
put?: never;
|
|
10550
13052
|
post?: never;
|
|
10551
13053
|
delete?: never;
|
|
@@ -10812,6 +13314,138 @@ declare interface paths {
|
|
|
10812
13314
|
patch?: never;
|
|
10813
13315
|
trace?: never;
|
|
10814
13316
|
};
|
|
13317
|
+
"/api/schedules": {
|
|
13318
|
+
parameters: {
|
|
13319
|
+
query?: never;
|
|
13320
|
+
header?: never;
|
|
13321
|
+
path?: never;
|
|
13322
|
+
cookie?: never;
|
|
13323
|
+
};
|
|
13324
|
+
/**
|
|
13325
|
+
* List Schedules
|
|
13326
|
+
* @description List all scheduled tasks owned by the current user.
|
|
13327
|
+
*/
|
|
13328
|
+
get: operations["list_schedules_api_schedules_get"];
|
|
13329
|
+
put?: never;
|
|
13330
|
+
/**
|
|
13331
|
+
* Create Schedule
|
|
13332
|
+
* @description Create a new scheduled task for the current user.
|
|
13333
|
+
*/
|
|
13334
|
+
post: operations["create_schedule_api_schedules_post"];
|
|
13335
|
+
delete?: never;
|
|
13336
|
+
options?: never;
|
|
13337
|
+
head?: never;
|
|
13338
|
+
patch?: never;
|
|
13339
|
+
trace?: never;
|
|
13340
|
+
};
|
|
13341
|
+
"/api/schedules/{schedule_id}": {
|
|
13342
|
+
parameters: {
|
|
13343
|
+
query?: never;
|
|
13344
|
+
header?: never;
|
|
13345
|
+
path?: never;
|
|
13346
|
+
cookie?: never;
|
|
13347
|
+
};
|
|
13348
|
+
/**
|
|
13349
|
+
* Get Schedule
|
|
13350
|
+
* @description Fetch a single scheduled task owned by the current user.
|
|
13351
|
+
*/
|
|
13352
|
+
get: operations["get_schedule_api_schedules__schedule_id__get"];
|
|
13353
|
+
put?: never;
|
|
13354
|
+
post?: never;
|
|
13355
|
+
/**
|
|
13356
|
+
* Delete Schedule
|
|
13357
|
+
* @description Delete a scheduled task and its run history.
|
|
13358
|
+
*/
|
|
13359
|
+
delete: operations["delete_schedule_api_schedules__schedule_id__delete"];
|
|
13360
|
+
options?: never;
|
|
13361
|
+
head?: never;
|
|
13362
|
+
/**
|
|
13363
|
+
* Update Schedule
|
|
13364
|
+
* @description Update a scheduled task owned by the current user.
|
|
13365
|
+
*/
|
|
13366
|
+
patch: operations["update_schedule_api_schedules__schedule_id__patch"];
|
|
13367
|
+
trace?: never;
|
|
13368
|
+
};
|
|
13369
|
+
"/api/schedules/{schedule_id}/pause": {
|
|
13370
|
+
parameters: {
|
|
13371
|
+
query?: never;
|
|
13372
|
+
header?: never;
|
|
13373
|
+
path?: never;
|
|
13374
|
+
cookie?: never;
|
|
13375
|
+
};
|
|
13376
|
+
get?: never;
|
|
13377
|
+
put?: never;
|
|
13378
|
+
/**
|
|
13379
|
+
* Pause Schedule
|
|
13380
|
+
* @description Pause a scheduled task.
|
|
13381
|
+
*/
|
|
13382
|
+
post: operations["pause_schedule_api_schedules__schedule_id__pause_post"];
|
|
13383
|
+
delete?: never;
|
|
13384
|
+
options?: never;
|
|
13385
|
+
head?: never;
|
|
13386
|
+
patch?: never;
|
|
13387
|
+
trace?: never;
|
|
13388
|
+
};
|
|
13389
|
+
"/api/schedules/{schedule_id}/resume": {
|
|
13390
|
+
parameters: {
|
|
13391
|
+
query?: never;
|
|
13392
|
+
header?: never;
|
|
13393
|
+
path?: never;
|
|
13394
|
+
cookie?: never;
|
|
13395
|
+
};
|
|
13396
|
+
get?: never;
|
|
13397
|
+
put?: never;
|
|
13398
|
+
/**
|
|
13399
|
+
* Resume Schedule
|
|
13400
|
+
* @description Resume a paused scheduled task.
|
|
13401
|
+
*/
|
|
13402
|
+
post: operations["resume_schedule_api_schedules__schedule_id__resume_post"];
|
|
13403
|
+
delete?: never;
|
|
13404
|
+
options?: never;
|
|
13405
|
+
head?: never;
|
|
13406
|
+
patch?: never;
|
|
13407
|
+
trace?: never;
|
|
13408
|
+
};
|
|
13409
|
+
"/api/schedules/{schedule_id}/run": {
|
|
13410
|
+
parameters: {
|
|
13411
|
+
query?: never;
|
|
13412
|
+
header?: never;
|
|
13413
|
+
path?: never;
|
|
13414
|
+
cookie?: never;
|
|
13415
|
+
};
|
|
13416
|
+
get?: never;
|
|
13417
|
+
put?: never;
|
|
13418
|
+
/**
|
|
13419
|
+
* Run Schedule Now
|
|
13420
|
+
* @description Trigger an immediate run of a scheduled task.
|
|
13421
|
+
*/
|
|
13422
|
+
post: operations["run_schedule_now_api_schedules__schedule_id__run_post"];
|
|
13423
|
+
delete?: never;
|
|
13424
|
+
options?: never;
|
|
13425
|
+
head?: never;
|
|
13426
|
+
patch?: never;
|
|
13427
|
+
trace?: never;
|
|
13428
|
+
};
|
|
13429
|
+
"/api/schedules/{schedule_id}/runs": {
|
|
13430
|
+
parameters: {
|
|
13431
|
+
query?: never;
|
|
13432
|
+
header?: never;
|
|
13433
|
+
path?: never;
|
|
13434
|
+
cookie?: never;
|
|
13435
|
+
};
|
|
13436
|
+
/**
|
|
13437
|
+
* List Schedule Runs
|
|
13438
|
+
* @description List recent runs of a scheduled task.
|
|
13439
|
+
*/
|
|
13440
|
+
get: operations["list_schedule_runs_api_schedules__schedule_id__runs_get"];
|
|
13441
|
+
put?: never;
|
|
13442
|
+
post?: never;
|
|
13443
|
+
delete?: never;
|
|
13444
|
+
options?: never;
|
|
13445
|
+
head?: never;
|
|
13446
|
+
patch?: never;
|
|
13447
|
+
trace?: never;
|
|
13448
|
+
};
|
|
10815
13449
|
"/api/status": {
|
|
10816
13450
|
parameters: {
|
|
10817
13451
|
query?: never;
|
|
@@ -10950,6 +13584,9 @@ export declare type PlanAlign = NonNullable<PlanDuration['align']>;
|
|
|
10950
13584
|
/** How long a plan lasts once assigned, e.g. `{ per: 'year' }` or `{ per: 'month', every: 3 }`. */
|
|
10951
13585
|
export declare type PlanDuration = Schemas['PlanDuration'];
|
|
10952
13586
|
|
|
13587
|
+
/** Convert a visual schedule preset into a 5-field cron expression. */
|
|
13588
|
+
export declare function presetToCron(preset: SchedulePreset): string;
|
|
13589
|
+
|
|
10953
13590
|
/** A running tool's progress (`data-progress-update`). */
|
|
10954
13591
|
declare type ProgressUpdateData = Schemas['ProgressUpdateEvent'];
|
|
10955
13592
|
|
|
@@ -10969,10 +13606,13 @@ export declare type QuotaLimit = Schemas['Limit'];
|
|
|
10969
13606
|
/** The unit a quota window is measured in. `'subscription'` never resets while the plan lasts. */
|
|
10970
13607
|
export declare type QuotaPeriod = QuotaLimit['per'];
|
|
10971
13608
|
|
|
13609
|
+
/** Reads a stored value for `key` under `namespace`, or `null` when unavailable. */
|
|
10972
13610
|
export declare function readStored(namespace: string, key: string): string | null;
|
|
10973
13611
|
|
|
13612
|
+
/** Extracts custom reference fields for a message part, or returns nullish to fall back. */
|
|
10974
13613
|
export declare type ReferenceAdapter = (context: ReferenceAdapterContext) => Partial<ChatReferenceInput> | null | undefined;
|
|
10975
13614
|
|
|
13615
|
+
/** Context passed to a custom {@link ReferenceAdapter} for a message part. */
|
|
10976
13616
|
export declare interface ReferenceAdapterContext {
|
|
10977
13617
|
/** The source part being referenced. */
|
|
10978
13618
|
part: GentiqMessagePart;
|
|
@@ -10991,6 +13631,7 @@ export declare type RegisterResponse = Schemas['AuthTokenResponse'];
|
|
|
10991
13631
|
/** Why the backend would refuse `file`, or `null` if it would take it. */
|
|
10992
13632
|
export declare function rejectAttachment(file: Pick<File, 'type' | 'size'>, limits: AttachmentLimits): AttachmentRejection | null;
|
|
10993
13633
|
|
|
13634
|
+
/** Removes any stored value for `key` under `namespace`. */
|
|
10994
13635
|
export declare function removeStored(namespace: string, key: string): void;
|
|
10995
13636
|
|
|
10996
13637
|
declare type RequestBody<O> = O extends {
|
|
@@ -11066,6 +13707,51 @@ declare type Routes = {
|
|
|
11066
13707
|
*/
|
|
11067
13708
|
export declare type RunOptions = NonNullable<ChatRequestSchema['options']>;
|
|
11068
13709
|
|
|
13710
|
+
/** A user's scheduled routine. */
|
|
13711
|
+
export declare type Schedule = Schemas['ScheduleView'];
|
|
13712
|
+
|
|
13713
|
+
/** Request body to create a scheduled task. */
|
|
13714
|
+
export declare type ScheduleCreateInput = Schemas['ScheduleCreateInput'];
|
|
13715
|
+
|
|
13716
|
+
/** How a schedule repeats (`'once' | 'cron' | 'interval'`). */
|
|
13717
|
+
export declare type ScheduleKind = Schedule['kind'];
|
|
13718
|
+
|
|
13719
|
+
/** Response from `GET /schedules`. */
|
|
13720
|
+
export declare type ScheduleListResponse = Schemas['ScheduleListResponse'];
|
|
13721
|
+
|
|
13722
|
+
/** Why a schedule was paused. */
|
|
13723
|
+
export declare type SchedulePauseReason = NonNullable<Schedule['pause_reason']>;
|
|
13724
|
+
|
|
13725
|
+
/** Frequency presets supported by the visual schedule builder. */
|
|
13726
|
+
export declare type SchedulePreset = {
|
|
13727
|
+
frequency: 'daily';
|
|
13728
|
+
hour: number;
|
|
13729
|
+
minute: number;
|
|
13730
|
+
} | {
|
|
13731
|
+
frequency: 'weekly';
|
|
13732
|
+
hour: number;
|
|
13733
|
+
minute: number;
|
|
13734
|
+
daysOfWeek: number[];
|
|
13735
|
+
};
|
|
13736
|
+
|
|
13737
|
+
/** One execution of a scheduled task. */
|
|
13738
|
+
export declare type ScheduleRun = Schemas['ScheduleRunView'];
|
|
13739
|
+
|
|
13740
|
+
/** Response from `GET /schedules/{id}/runs`. */
|
|
13741
|
+
export declare type ScheduleRunListResponse = Schemas['ScheduleRunListResponse'];
|
|
13742
|
+
|
|
13743
|
+
/** Status of a scheduled task run. */
|
|
13744
|
+
export declare type ScheduleRunStatus = ScheduleRun['status'];
|
|
13745
|
+
|
|
13746
|
+
/** Whether scheduled runs reuse one thread or open a fresh thread per run. */
|
|
13747
|
+
export declare type ScheduleThreadMode = Schedule['thread_mode'];
|
|
13748
|
+
|
|
13749
|
+
/** Minimal translation callback accepted by {@link describeSchedule} (`i18next`'s `t` satisfies it). */
|
|
13750
|
+
export declare type ScheduleTranslator = (key: string, options?: Record<string, unknown>) => string;
|
|
13751
|
+
|
|
13752
|
+
/** Request body to update a scheduled task. */
|
|
13753
|
+
export declare type ScheduleUpdateInput = Schemas['ScheduleUpdateInput'];
|
|
13754
|
+
|
|
11069
13755
|
declare type Schemas = components['schemas'];
|
|
11070
13756
|
|
|
11071
13757
|
/** A publicly shared thread and its messages. */
|
|
@@ -11091,6 +13777,7 @@ declare type Success<O> = O extends {
|
|
|
11091
13777
|
*/
|
|
11092
13778
|
export declare const SUPPORTED_LANGUAGES: readonly ["en", "zh", "hi", "es", "ar", "fr", "bn", "pt", "ru", "ur", "id", "de", "fa"];
|
|
11093
13779
|
|
|
13780
|
+
/** BCP 47 language code for one of Gentiq's built-in locales. */
|
|
11094
13781
|
export declare type SupportedLanguage = (typeof SUPPORTED_LANGUAGES)[number];
|
|
11095
13782
|
|
|
11096
13783
|
/**
|
|
@@ -11130,14 +13817,23 @@ declare type TitleData = Schemas['TitleData'];
|
|
|
11130
13817
|
*/
|
|
11131
13818
|
export declare function toGentiqMessages(items: readonly ThreadMessageItem[]): GentiqUIMessage[];
|
|
11132
13819
|
|
|
13820
|
+
/**
|
|
13821
|
+
* A `Date` as a `datetime-local` value (`2026-10-18T14:05`) in the browser's own clock:
|
|
13822
|
+
* always Gregorian, whatever calendar it was picked in.
|
|
13823
|
+
*/
|
|
13824
|
+
export declare function toLocalInput(date: Date): string;
|
|
13825
|
+
|
|
11133
13826
|
/**
|
|
11134
13827
|
* The user's answer to a tool call that asked for approval: the `approval.id` of its
|
|
11135
13828
|
* `approval-requested` part, whether they approved it, and why, if they said. The model reads a
|
|
11136
13829
|
* denial's reason as the call's result.
|
|
11137
13830
|
*/
|
|
11138
13831
|
export declare interface ToolApprovalResponse {
|
|
13832
|
+
/** Identifier of the pending approval request (`part.approval.id`). */
|
|
11139
13833
|
id: string;
|
|
13834
|
+
/** Whether the user approved executing the tool call. */
|
|
11140
13835
|
approved: boolean;
|
|
13836
|
+
/** Optional explanation sent back to the model when denied. */
|
|
11141
13837
|
reason?: string;
|
|
11142
13838
|
}
|
|
11143
13839
|
|
|
@@ -11162,7 +13858,9 @@ export declare type ToolCallPart<Input = unknown, Output = unknown> = UIToolInvo
|
|
|
11162
13858
|
* answers it with. The server checks `output` against the tool's declared return type.
|
|
11163
13859
|
*/
|
|
11164
13860
|
export declare interface ToolOutputResponse {
|
|
13861
|
+
/** Identifier of the pending client tool call (`part.toolCallId`). */
|
|
11165
13862
|
toolCallId: string;
|
|
13863
|
+
/** Result payload returned to the backend for the tool call. */
|
|
11166
13864
|
output: unknown;
|
|
11167
13865
|
}
|
|
11168
13866
|
|
|
@@ -11194,6 +13892,9 @@ declare interface UploadInit {
|
|
|
11194
13892
|
onProgress?: (fraction: number) => void;
|
|
11195
13893
|
}
|
|
11196
13894
|
|
|
13895
|
+
/** Request body to register a custom remote MCP server. */
|
|
13896
|
+
export declare type UserMCPCreateInput = Schemas['UserMCPCreateInput'];
|
|
13897
|
+
|
|
11197
13898
|
/** A user-submitted bug report, feature request or general feedback. */
|
|
11198
13899
|
export declare type UserReport = Schemas['UserReportResponse'];
|
|
11199
13900
|
|
|
@@ -11233,9 +13934,16 @@ export declare type VoiceInputStatus = 'idle' | 'starting' | 'recording' | 'tran
|
|
|
11233
13934
|
/** The day "per week" windows start on. */
|
|
11234
13935
|
export declare type WeekStart = EntitlementStatus['week_start'];
|
|
11235
13936
|
|
|
13937
|
+
/**
|
|
13938
|
+
* The weekday a week starts on in `language` (0 = Sunday … 6 = Saturday): Saturday in the
|
|
13939
|
+
* Persian and Arabic-speaking world, Sunday in English, Monday elsewhere.
|
|
13940
|
+
*/
|
|
13941
|
+
export declare function weekStart(language: string | undefined | null): number;
|
|
13942
|
+
|
|
11236
13943
|
/** `messages` with every stored file given the URL `resolveAttachment` resolves it to, all at once. */
|
|
11237
13944
|
export declare function withAttachmentUrls(messages: readonly GentiqUIMessage[], resolveAttachment: (attachmentId: string) => Promise<string>): Promise<GentiqUIMessage[]>;
|
|
11238
13945
|
|
|
13946
|
+
/** Persists `value` for `key` under `namespace` when `localStorage` is available. */
|
|
11239
13947
|
export declare function writeStored(namespace: string, key: string, value: string): void;
|
|
11240
13948
|
|
|
11241
13949
|
export { }
|