@gentiq/core 1.0.0-alpha.11 → 1.0.0-alpha.12

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/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;
@@ -366,8 +374,317 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
366
374
  status: "open" | "resolved";
367
375
  subject: string;
368
376
  }>;
377
+ /** List all scheduled tasks belonging to the current user. */
378
+ listSchedules: (signal?: AbortSignal) => Promise<{
379
+ max_schedules: number;
380
+ schedules: components["schemas"]["ScheduleView"][];
381
+ }>;
382
+ /** Create a new scheduled task for the current user. */
383
+ createSchedule: (data: ScheduleCreateInput) => Promise<{
384
+ consecutive_failures?: number;
385
+ created_at: string;
386
+ cron?: string | null;
387
+ enabled: boolean;
388
+ expires_at?: string | null;
389
+ id: string;
390
+ interval_minutes?: number | null;
391
+ kind: "once" | "cron" | "interval";
392
+ last_run_at?: string | null;
393
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
394
+ last_run_thread_id?: string | null;
395
+ max_runs?: number | null;
396
+ name: string;
397
+ next_run_at?: string | null;
398
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
399
+ prompt: string;
400
+ run_at?: string | null;
401
+ run_count?: number;
402
+ silent_if_empty: boolean;
403
+ thread_id?: string | null;
404
+ thread_mode: "shared" | "new";
405
+ timezone: string;
406
+ updated_at: string;
407
+ user_id: string;
408
+ }>;
409
+ /** Fetch a single scheduled task by id. */
410
+ getSchedule: (scheduleId: string, signal?: AbortSignal) => Promise<{
411
+ consecutive_failures?: number;
412
+ created_at: string;
413
+ cron?: string | null;
414
+ enabled: boolean;
415
+ expires_at?: string | null;
416
+ id: string;
417
+ interval_minutes?: number | null;
418
+ kind: "once" | "cron" | "interval";
419
+ last_run_at?: string | null;
420
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
421
+ last_run_thread_id?: string | null;
422
+ max_runs?: number | null;
423
+ name: string;
424
+ next_run_at?: string | null;
425
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
426
+ prompt: string;
427
+ run_at?: string | null;
428
+ run_count?: number;
429
+ silent_if_empty: boolean;
430
+ thread_id?: string | null;
431
+ thread_mode: "shared" | "new";
432
+ timezone: string;
433
+ updated_at: string;
434
+ user_id: string;
435
+ }>;
436
+ /** Update an existing scheduled task. */
437
+ updateSchedule: (scheduleId: string, data: ScheduleUpdateInput) => Promise<{
438
+ consecutive_failures?: number;
439
+ created_at: string;
440
+ cron?: string | null;
441
+ enabled: boolean;
442
+ expires_at?: string | null;
443
+ id: string;
444
+ interval_minutes?: number | null;
445
+ kind: "once" | "cron" | "interval";
446
+ last_run_at?: string | null;
447
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
448
+ last_run_thread_id?: string | null;
449
+ max_runs?: number | null;
450
+ name: string;
451
+ next_run_at?: string | null;
452
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
453
+ prompt: string;
454
+ run_at?: string | null;
455
+ run_count?: number;
456
+ silent_if_empty: boolean;
457
+ thread_id?: string | null;
458
+ thread_mode: "shared" | "new";
459
+ timezone: string;
460
+ updated_at: string;
461
+ user_id: string;
462
+ }>;
463
+ /** Delete a scheduled task and its run history. */
464
+ deleteSchedule: (scheduleId: string) => Promise<{
465
+ status: "success";
466
+ }>;
467
+ /** Pause an active scheduled task. */
468
+ pauseSchedule: (scheduleId: string) => Promise<{
469
+ consecutive_failures?: number;
470
+ created_at: string;
471
+ cron?: string | null;
472
+ enabled: boolean;
473
+ expires_at?: string | null;
474
+ id: string;
475
+ interval_minutes?: number | null;
476
+ kind: "once" | "cron" | "interval";
477
+ last_run_at?: string | null;
478
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
479
+ last_run_thread_id?: string | null;
480
+ max_runs?: number | null;
481
+ name: string;
482
+ next_run_at?: string | null;
483
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
484
+ prompt: string;
485
+ run_at?: string | null;
486
+ run_count?: number;
487
+ silent_if_empty: boolean;
488
+ thread_id?: string | null;
489
+ thread_mode: "shared" | "new";
490
+ timezone: string;
491
+ updated_at: string;
492
+ user_id: string;
493
+ }>;
494
+ /** Resume a paused scheduled task. */
495
+ resumeSchedule: (scheduleId: string) => Promise<{
496
+ consecutive_failures?: number;
497
+ created_at: string;
498
+ cron?: string | null;
499
+ enabled: boolean;
500
+ expires_at?: string | null;
501
+ id: string;
502
+ interval_minutes?: number | null;
503
+ kind: "once" | "cron" | "interval";
504
+ last_run_at?: string | null;
505
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
506
+ last_run_thread_id?: string | null;
507
+ max_runs?: number | null;
508
+ name: string;
509
+ next_run_at?: string | null;
510
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
511
+ prompt: string;
512
+ run_at?: string | null;
513
+ run_count?: number;
514
+ silent_if_empty: boolean;
515
+ thread_id?: string | null;
516
+ thread_mode: "shared" | "new";
517
+ timezone: string;
518
+ updated_at: string;
519
+ user_id: string;
520
+ }>;
521
+ /** Trigger an immediate run of a scheduled task. */
522
+ runScheduleNow: (scheduleId: string) => Promise<{
523
+ assistant_message_id?: string | null;
524
+ error?: string | null;
525
+ finished_at?: string | null;
526
+ id: string;
527
+ schedule_id: string;
528
+ scheduled_for: string;
529
+ started_at: string;
530
+ status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
531
+ summary?: string | null;
532
+ thread_id?: string | null;
533
+ trigger: "scheduled" | "manual";
534
+ turn_id?: string | null;
535
+ user_id: string;
536
+ }>;
537
+ /** List recent runs for a scheduled task. */
538
+ listScheduleRuns: (scheduleId: string, limit?: number, signal?: AbortSignal) => Promise<{
539
+ runs: components["schemas"]["ScheduleRunView"][];
540
+ }>;
541
+ /** List external connectors available to the current user. */
542
+ listConnectors: (signal?: AbortSignal) => Promise<{
543
+ allow_user_mcp: boolean;
544
+ connectors: components["schemas"]["ConnectorView"][];
545
+ max_user_mcp: number;
546
+ }>;
547
+ /** Store an API key for a connector. */
548
+ connectConnector: (connectorId: string, data: ConnectorConnectInput) => Promise<{
549
+ account_label?: string | null;
550
+ allow_unattended: boolean;
551
+ api_key_instructions?: string | null;
552
+ approval: "never" | "writes" | "always";
553
+ auth_kind: "none" | "api_key" | "oauth2";
554
+ connected: boolean;
555
+ description: string;
556
+ enabled: boolean;
557
+ icon?: string | null;
558
+ id: string;
559
+ key: string;
560
+ kind: "python" | "mcp";
561
+ last_error?: string | null;
562
+ last_used_at?: string | null;
563
+ name: string;
564
+ requires_user_credentials: boolean;
565
+ source: "code" | "admin" | "user";
566
+ status: "connected" | "disconnected" | "expired" | "error";
567
+ tool_overrides?: {
568
+ [key: string]: "allow" | "ask" | "deny";
569
+ };
570
+ url?: string | null;
571
+ }>;
572
+ /** Start an OAuth2 authorization flow for a connector. */
573
+ startConnectorOAuth: (connectorId: string, returnPath?: string) => Promise<{
574
+ authorization_url: string;
575
+ }>;
576
+ /** Wipe credentials and disable a connector. */
577
+ disconnectConnector: (connectorId: string) => Promise<{
578
+ account_label?: string | null;
579
+ allow_unattended: boolean;
580
+ api_key_instructions?: string | null;
581
+ approval: "never" | "writes" | "always";
582
+ auth_kind: "none" | "api_key" | "oauth2";
583
+ connected: boolean;
584
+ description: string;
585
+ enabled: boolean;
586
+ icon?: string | null;
587
+ id: string;
588
+ key: string;
589
+ kind: "python" | "mcp";
590
+ last_error?: string | null;
591
+ last_used_at?: string | null;
592
+ name: string;
593
+ requires_user_credentials: boolean;
594
+ source: "code" | "admin" | "user";
595
+ status: "connected" | "disconnected" | "expired" | "error";
596
+ tool_overrides?: {
597
+ [key: string]: "allow" | "ask" | "deny";
598
+ };
599
+ url?: string | null;
600
+ }>;
601
+ /** Enable/disable a connector or update per-tool approval overrides. */
602
+ updateConnector: (connectorId: string, data: ConnectorToggleInput) => Promise<{
603
+ account_label?: string | null;
604
+ allow_unattended: boolean;
605
+ api_key_instructions?: string | null;
606
+ approval: "never" | "writes" | "always";
607
+ auth_kind: "none" | "api_key" | "oauth2";
608
+ connected: boolean;
609
+ description: string;
610
+ enabled: boolean;
611
+ icon?: string | null;
612
+ id: string;
613
+ key: string;
614
+ kind: "python" | "mcp";
615
+ last_error?: string | null;
616
+ last_used_at?: string | null;
617
+ name: string;
618
+ requires_user_credentials: boolean;
619
+ source: "code" | "admin" | "user";
620
+ status: "connected" | "disconnected" | "expired" | "error";
621
+ tool_overrides?: {
622
+ [key: string]: "allow" | "ask" | "deny";
623
+ };
624
+ url?: string | null;
625
+ }>;
626
+ /** List tools discovered from a connected connector. */
627
+ listConnectorTools: (connectorId: string, signal?: AbortSignal) => Promise<{
628
+ connector_id: string;
629
+ tools: components["schemas"]["ConnectorToolView"][];
630
+ }>;
631
+ /** Register a custom remote MCP server for the current user. */
632
+ createUserMCPConnector: (data: UserMCPCreateInput) => Promise<{
633
+ account_label?: string | null;
634
+ allow_unattended: boolean;
635
+ api_key_instructions?: string | null;
636
+ approval: "never" | "writes" | "always";
637
+ auth_kind: "none" | "api_key" | "oauth2";
638
+ connected: boolean;
639
+ description: string;
640
+ enabled: boolean;
641
+ icon?: string | null;
642
+ id: string;
643
+ key: string;
644
+ kind: "python" | "mcp";
645
+ last_error?: string | null;
646
+ last_used_at?: string | null;
647
+ name: string;
648
+ requires_user_credentials: boolean;
649
+ source: "code" | "admin" | "user";
650
+ status: "connected" | "disconnected" | "expired" | "error";
651
+ tool_overrides?: {
652
+ [key: string]: "allow" | "ask" | "deny";
653
+ };
654
+ url?: string | null;
655
+ }>;
656
+ /** Delete a user-owned custom remote MCP server. */
657
+ deleteUserMCPConnector: (connectorId: string) => Promise<{
658
+ status: "success";
659
+ }>;
369
660
  };
370
661
 
662
+ /**
663
+ * Day arithmetic in the calendars the UI offers for picking dates: Gregorian and the
664
+ * Solar Hijri (Jalali) calendar Persian readers use.
665
+ *
666
+ * `Intl` can *display* a date in the Persian calendar but cannot turn a Persian date back
667
+ * into an instant, which a date picker has to. The Jalali conversion below is the
668
+ * Borkowski algorithm as published in jalaali-js (MIT), valid for Jalali years -61 to 3177.
669
+ */
670
+ /** A day in some calendar. `month` is 1-based. */
671
+ export declare interface CalendarDay {
672
+ year: number;
673
+ month: number;
674
+ day: number;
675
+ }
676
+
677
+ export declare type CalendarKind = 'gregory' | 'persian';
678
+
679
+ export declare interface CalendarSystem {
680
+ kind: CalendarKind;
681
+ /** The day `date` falls on, in the browser's own timezone. */
682
+ fromDate: (date: Date) => CalendarDay;
683
+ /** That day at `hours`:`minutes`, in the browser's own timezone. */
684
+ toDate: (day: CalendarDay, hours?: number, minutes?: number) => Date;
685
+ daysInMonth: (year: number, month: number) => number;
686
+ }
687
+
371
688
  /**
372
689
  * A file to send with a message: one uploaded with `uploadAttachment`, as it answered. `file` is
373
690
  * the local copy, if there is one, so the message can show the file without downloading it again.
@@ -476,6 +793,207 @@ declare interface components {
476
793
  */
477
794
  via: "resolver" | "subscription" | "credits" | "default";
478
795
  };
796
+ /**
797
+ * AdminConnectorCreateInput
798
+ * @description Admin-created remote MCP connector.
799
+ */
800
+ AdminConnectorCreateInput: {
801
+ /**
802
+ * Allow Unattended
803
+ * @default false
804
+ */
805
+ allow_unattended?: boolean;
806
+ /** Api Key Instructions */
807
+ api_key_instructions?: string | null;
808
+ /**
809
+ * Approval
810
+ * @default writes
811
+ * @enum {string}
812
+ */
813
+ approval?: "never" | "writes" | "always";
814
+ /**
815
+ * Auth Kind
816
+ * @default none
817
+ * @enum {string}
818
+ */
819
+ auth_kind?: "none" | "api_key" | "oauth2";
820
+ /** Authorize Url */
821
+ authorize_url?: string | null;
822
+ /** Client Id */
823
+ client_id?: string | null;
824
+ /** Client Secret */
825
+ client_secret?: string | null;
826
+ /**
827
+ * Description
828
+ * @default
829
+ */
830
+ description?: string;
831
+ /**
832
+ * Global Enabled
833
+ * @default true
834
+ */
835
+ global_enabled?: boolean;
836
+ /**
837
+ * Header Name
838
+ * @default Authorization
839
+ */
840
+ header_name?: string;
841
+ /**
842
+ * Header Prefix
843
+ * @default Bearer
844
+ */
845
+ header_prefix?: string;
846
+ /** Key */
847
+ key: string;
848
+ /** Name */
849
+ name: string;
850
+ /**
851
+ * Pkce
852
+ * @default true
853
+ */
854
+ pkce?: boolean;
855
+ /** Scopes */
856
+ scopes?: string[];
857
+ /** Shared Secret */
858
+ shared_secret?: string | null;
859
+ /** Token Url */
860
+ token_url?: string | null;
861
+ /**
862
+ * Transport
863
+ * @default streamable-http
864
+ * @enum {string}
865
+ */
866
+ transport?: "streamable-http" | "sse";
867
+ /** Url */
868
+ url: string;
869
+ };
870
+ /**
871
+ * AdminConnectorListResponse
872
+ * @description All code-defined and admin-defined connectors.
873
+ */
874
+ AdminConnectorListResponse: {
875
+ /** Connectors */
876
+ connectors: components["schemas"]["AdminConnectorView"][];
877
+ };
878
+ /**
879
+ * AdminConnectorTestResponse
880
+ * @description Result of testing connectivity and tool discovery for an admin connector.
881
+ */
882
+ AdminConnectorTestResponse: {
883
+ /** Error */
884
+ error?: string | null;
885
+ /** Ok */
886
+ ok: boolean;
887
+ /** Tool Names */
888
+ tool_names?: string[];
889
+ /**
890
+ * Tools Count
891
+ * @default 0
892
+ */
893
+ tools_count?: number;
894
+ };
895
+ /**
896
+ * AdminConnectorUpdateInput
897
+ * @description Partial update to a connector from the Admin Panel.
898
+ */
899
+ AdminConnectorUpdateInput: {
900
+ /** Allow Unattended */
901
+ allow_unattended?: boolean | null;
902
+ /** Api Key Instructions */
903
+ api_key_instructions?: string | null;
904
+ /** Approval */
905
+ approval?: ("never" | "writes" | "always") | null;
906
+ /** Auth Kind */
907
+ auth_kind?: ("none" | "api_key" | "oauth2") | null;
908
+ /** Authorize Url */
909
+ authorize_url?: string | null;
910
+ /** Client Id */
911
+ client_id?: string | null;
912
+ /** Client Secret */
913
+ client_secret?: string | null;
914
+ /** Description */
915
+ description?: string | null;
916
+ /** Global Enabled */
917
+ global_enabled?: boolean | null;
918
+ /** Header Name */
919
+ header_name?: string | null;
920
+ /** Header Prefix */
921
+ header_prefix?: string | null;
922
+ /** Name */
923
+ name?: string | null;
924
+ /** Pkce */
925
+ pkce?: boolean | null;
926
+ /** Scopes */
927
+ scopes?: string[] | null;
928
+ /** Shared Secret */
929
+ shared_secret?: string | null;
930
+ /** Token Url */
931
+ token_url?: string | null;
932
+ /** Transport */
933
+ transport?: ("streamable-http" | "sse") | null;
934
+ /** Url */
935
+ url?: string | null;
936
+ };
937
+ /**
938
+ * AdminConnectorView
939
+ * @description Admin view of a connector catalog entry (secrets are always redacted).
940
+ */
941
+ AdminConnectorView: {
942
+ /** Allow Unattended */
943
+ allow_unattended: boolean;
944
+ /**
945
+ * Approval
946
+ * @enum {string}
947
+ */
948
+ approval: "never" | "writes" | "always";
949
+ /**
950
+ * Auth Kind
951
+ * @enum {string}
952
+ */
953
+ auth_kind: "none" | "api_key" | "oauth2";
954
+ /** Connected Users Count */
955
+ connected_users_count: number;
956
+ /**
957
+ * Created At
958
+ * Format: date-time
959
+ */
960
+ created_at: string;
961
+ /** Description */
962
+ description: string;
963
+ /** Global Enabled */
964
+ global_enabled: boolean;
965
+ /** Has Client Secret */
966
+ has_client_secret: boolean;
967
+ /** Has Shared Secret */
968
+ has_shared_secret: boolean;
969
+ /** Id */
970
+ id: string;
971
+ /** Key */
972
+ key: string;
973
+ /**
974
+ * Kind
975
+ * @enum {string}
976
+ */
977
+ kind: "python" | "mcp";
978
+ /** Name */
979
+ name: string;
980
+ /** Read Only */
981
+ read_only: boolean;
982
+ /**
983
+ * Source
984
+ * @enum {string}
985
+ */
986
+ source: "code" | "admin";
987
+ /** Transport */
988
+ transport?: ("streamable-http" | "sse") | null;
989
+ /**
990
+ * Updated At
991
+ * Format: date-time
992
+ */
993
+ updated_at: string;
994
+ /** Url */
995
+ url?: string | null;
996
+ };
479
997
  /** AdminCreated */
480
998
  AdminCreated: {
481
999
  /** Admin Id */
@@ -764,6 +1282,90 @@ declare interface components {
764
1282
  /** Username */
765
1283
  username?: string | null;
766
1284
  };
1285
+ /**
1286
+ * AdminScheduleListResponse
1287
+ * @description Paginated list of schedules for admins.
1288
+ */
1289
+ AdminScheduleListResponse: {
1290
+ /** Schedules */
1291
+ schedules: components["schemas"]["AdminScheduleView"][];
1292
+ /** Total */
1293
+ total: number;
1294
+ };
1295
+ /**
1296
+ * AdminScheduleView
1297
+ * @description Admin view of a schedule, including a display label for its owner.
1298
+ */
1299
+ AdminScheduleView: {
1300
+ /**
1301
+ * Consecutive Failures
1302
+ * @default 0
1303
+ */
1304
+ consecutive_failures?: number;
1305
+ /**
1306
+ * Created At
1307
+ * Format: date-time
1308
+ */
1309
+ created_at: string;
1310
+ /** Cron */
1311
+ cron?: string | null;
1312
+ /** Enabled */
1313
+ enabled: boolean;
1314
+ /** Expires At */
1315
+ expires_at?: string | null;
1316
+ /** Id */
1317
+ id: string;
1318
+ /** Interval Minutes */
1319
+ interval_minutes?: number | null;
1320
+ /**
1321
+ * Kind
1322
+ * @enum {string}
1323
+ */
1324
+ kind: "once" | "cron" | "interval";
1325
+ /** Last Run At */
1326
+ last_run_at?: string | null;
1327
+ /** Last Run Status */
1328
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
1329
+ /** Last Run Thread Id */
1330
+ last_run_thread_id?: string | null;
1331
+ /** Max Runs */
1332
+ max_runs?: number | null;
1333
+ /** Name */
1334
+ name: string;
1335
+ /** Next Run At */
1336
+ next_run_at?: string | null;
1337
+ /** Pause Reason */
1338
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
1339
+ /** Prompt */
1340
+ prompt: string;
1341
+ /** Run At */
1342
+ run_at?: string | null;
1343
+ /**
1344
+ * Run Count
1345
+ * @default 0
1346
+ */
1347
+ run_count?: number;
1348
+ /** Silent If Empty */
1349
+ silent_if_empty: boolean;
1350
+ /** Thread Id */
1351
+ thread_id?: string | null;
1352
+ /**
1353
+ * Thread Mode
1354
+ * @enum {string}
1355
+ */
1356
+ thread_mode: "shared" | "new";
1357
+ /** Timezone */
1358
+ timezone: string;
1359
+ /**
1360
+ * Updated At
1361
+ * Format: date-time
1362
+ */
1363
+ updated_at: string;
1364
+ /** User Id */
1365
+ user_id: string;
1366
+ /** User Label */
1367
+ user_label?: string | null;
1368
+ };
767
1369
  /**
768
1370
  * AdminSession
769
1371
  * @description The signed-in admin as the store holds it now, not as the token described it.
@@ -1280,6 +1882,10 @@ declare interface components {
1280
1882
  show_version_in_settings?: boolean | null;
1281
1883
  /** Show Welcome Glow */
1282
1884
  show_welcome_glow?: boolean | null;
1885
+ /** Sidebar Show Connectors */
1886
+ sidebar_show_connectors?: boolean | null;
1887
+ /** Sidebar Show Schedules */
1888
+ sidebar_show_schedules?: boolean | null;
1283
1889
  /** Signup Enabled */
1284
1890
  signup_enabled?: boolean | null;
1285
1891
  /** Thread Actions Edit */
@@ -1385,6 +1991,10 @@ declare interface components {
1385
1991
  show_version_in_settings?: boolean | null;
1386
1992
  /** Show Welcome Glow */
1387
1993
  show_welcome_glow?: boolean | null;
1994
+ /** Sidebar Show Connectors */
1995
+ sidebar_show_connectors?: boolean | null;
1996
+ /** Sidebar Show Schedules */
1997
+ sidebar_show_schedules?: boolean | null;
1388
1998
  /** Signup Enabled */
1389
1999
  signup_enabled?: boolean | null;
1390
2000
  /** Thread Actions Edit */
@@ -1728,54 +2338,182 @@ declare interface components {
1728
2338
  /** Key */
1729
2339
  key: string;
1730
2340
  };
1731
- /** CountBin */
1732
- CountBin: {
1733
- /** Count */
1734
- count: number;
1735
- /** From */
1736
- from: number;
1737
- /** To */
1738
- to: number;
2341
+ /**
2342
+ * ConnectorConnectInput
2343
+ * @description API-key credentials submitted by an end user for a connector.
2344
+ */
2345
+ ConnectorConnectInput: {
2346
+ /** Account Label */
2347
+ account_label?: string | null;
2348
+ /** Api Key */
2349
+ api_key: string;
1739
2350
  };
1740
- /** CreditsGrantInput */
1741
- CreditsGrantInput: {
1742
- /** Amount */
1743
- amount: number;
2351
+ /**
2352
+ * ConnectorListResponse
2353
+ * @description Connectors visible to the current user.
2354
+ */
2355
+ ConnectorListResponse: {
2356
+ /** Allow User Mcp */
2357
+ allow_user_mcp: boolean;
2358
+ /** Connectors */
2359
+ connectors: components["schemas"]["ConnectorView"][];
2360
+ /** Max User Mcp */
2361
+ max_user_mcp: number;
1744
2362
  };
1745
- /** CreditsGrantResponse */
1746
- CreditsGrantResponse: {
1747
- credits: components["schemas"]["CreditsView"];
1748
- /** External Id */
1749
- external_id: string;
1750
- /** User Id */
1751
- user_id: string;
2363
+ /**
2364
+ * ConnectorToggleInput
2365
+ * @description Enable/disable a connector for the current user or customize per-tool approvals.
2366
+ */
2367
+ ConnectorToggleInput: {
2368
+ /** Enabled */
2369
+ enabled: boolean;
2370
+ /** Tool Overrides */
2371
+ tool_overrides?: {
2372
+ [key: string]: "allow" | "ask" | "deny";
2373
+ } | null;
1752
2374
  };
1753
- /** CreditsView */
1754
- CreditsView: {
1755
- /** Active */
1756
- active: boolean;
1757
- /** Granted */
1758
- granted: number;
2375
+ /**
2376
+ * ConnectorToolView
2377
+ * @description One tool advertised by a connector.
2378
+ */
2379
+ ConnectorToolView: {
1759
2380
  /**
1760
- * Meter
2381
+ * Approval
1761
2382
  * @enum {string}
1762
2383
  */
1763
- meter: "messages" | "tokens" | "cost";
1764
- /** Own */
1765
- own: boolean;
1766
- /** Remaining */
1767
- remaining: number;
1768
- /** Used */
1769
- used: number;
2384
+ approval: "allow" | "ask" | "deny";
2385
+ /** Description */
2386
+ description?: string | null;
2387
+ /** Destructive */
2388
+ destructive?: boolean | null;
2389
+ /** Full Name */
2390
+ full_name: string;
2391
+ /** Name */
2392
+ name: string;
2393
+ /** Read Only */
2394
+ read_only?: boolean | null;
1770
2395
  };
1771
2396
  /**
1772
- * DataPart
1773
- * @description A ``data-*`` part an app defined, with whatever payload it gave.
2397
+ * ConnectorToolsResponse
2398
+ * @description Tools discovered for a connected connector.
1774
2399
  */
1775
- DataPart: {
1776
- /** Data */
1777
- data?: unknown;
1778
- /** Id */
2400
+ ConnectorToolsResponse: {
2401
+ /** Connector Id */
2402
+ connector_id: string;
2403
+ /** Tools */
2404
+ tools: components["schemas"]["ConnectorToolView"][];
2405
+ };
2406
+ /**
2407
+ * ConnectorView
2408
+ * @description End-user view of an available connector and their connection state.
2409
+ */
2410
+ ConnectorView: {
2411
+ /** Account Label */
2412
+ account_label?: string | null;
2413
+ /** Allow Unattended */
2414
+ allow_unattended: boolean;
2415
+ /** Api Key Instructions */
2416
+ api_key_instructions?: string | null;
2417
+ /**
2418
+ * Approval
2419
+ * @enum {string}
2420
+ */
2421
+ approval: "never" | "writes" | "always";
2422
+ /**
2423
+ * Auth Kind
2424
+ * @enum {string}
2425
+ */
2426
+ auth_kind: "none" | "api_key" | "oauth2";
2427
+ /** Connected */
2428
+ connected: boolean;
2429
+ /** Description */
2430
+ description: string;
2431
+ /** Enabled */
2432
+ enabled: boolean;
2433
+ /** Icon */
2434
+ icon?: string | null;
2435
+ /** Id */
2436
+ id: string;
2437
+ /** Key */
2438
+ key: string;
2439
+ /**
2440
+ * Kind
2441
+ * @enum {string}
2442
+ */
2443
+ kind: "python" | "mcp";
2444
+ /** Last Error */
2445
+ last_error?: string | null;
2446
+ /** Last Used At */
2447
+ last_used_at?: string | null;
2448
+ /** Name */
2449
+ name: string;
2450
+ /** Requires User Credentials */
2451
+ requires_user_credentials: boolean;
2452
+ /**
2453
+ * Source
2454
+ * @enum {string}
2455
+ */
2456
+ source: "code" | "admin" | "user";
2457
+ /**
2458
+ * Status
2459
+ * @enum {string}
2460
+ */
2461
+ status: "connected" | "disconnected" | "expired" | "error";
2462
+ /** Tool Overrides */
2463
+ tool_overrides?: {
2464
+ [key: string]: "allow" | "ask" | "deny";
2465
+ };
2466
+ /** Url */
2467
+ url?: string | null;
2468
+ };
2469
+ /** CountBin */
2470
+ CountBin: {
2471
+ /** Count */
2472
+ count: number;
2473
+ /** From */
2474
+ from: number;
2475
+ /** To */
2476
+ to: number;
2477
+ };
2478
+ /** CreditsGrantInput */
2479
+ CreditsGrantInput: {
2480
+ /** Amount */
2481
+ amount: number;
2482
+ };
2483
+ /** CreditsGrantResponse */
2484
+ CreditsGrantResponse: {
2485
+ credits: components["schemas"]["CreditsView"];
2486
+ /** External Id */
2487
+ external_id: string;
2488
+ /** User Id */
2489
+ user_id: string;
2490
+ };
2491
+ /** CreditsView */
2492
+ CreditsView: {
2493
+ /** Active */
2494
+ active: boolean;
2495
+ /** Granted */
2496
+ granted: number;
2497
+ /**
2498
+ * Meter
2499
+ * @enum {string}
2500
+ */
2501
+ meter: "messages" | "tokens" | "cost";
2502
+ /** Own */
2503
+ own: boolean;
2504
+ /** Remaining */
2505
+ remaining: number;
2506
+ /** Used */
2507
+ used: number;
2508
+ };
2509
+ /**
2510
+ * DataPart
2511
+ * @description A ``data-*`` part an app defined, with whatever payload it gave.
2512
+ */
2513
+ DataPart: {
2514
+ /** Data */
2515
+ data?: unknown;
2516
+ /** Id */
1779
2517
  id?: string;
1780
2518
  /** Type */
1781
2519
  type: string;
@@ -2545,6 +3283,25 @@ declare interface components {
2545
3283
  /** Total Cost Microunits */
2546
3284
  total_cost_microunits?: number | null;
2547
3285
  };
3286
+ /**
3287
+ * OAuthStartInput
3288
+ * @description Request to start an OAuth2 authorization flow for a connector.
3289
+ */
3290
+ OAuthStartInput: {
3291
+ /**
3292
+ * Return Path
3293
+ * @default /
3294
+ */
3295
+ return_path?: string;
3296
+ };
3297
+ /**
3298
+ * OAuthStartResponse
3299
+ * @description Authorization URL the browser redirects the user to.
3300
+ */
3301
+ OAuthStartResponse: {
3302
+ /** Authorization Url */
3303
+ authorization_url: string;
3304
+ };
2548
3305
  /** Percentiles */
2549
3306
  Percentiles: {
2550
3307
  /** P50 */
@@ -2825,6 +3582,16 @@ declare interface components {
2825
3582
  composer_attachments?: boolean | null;
2826
3583
  /** Composer Voice */
2827
3584
  composer_voice?: boolean | null;
3585
+ /**
3586
+ * Connectors Allow User Mcp
3587
+ * @default false
3588
+ */
3589
+ connectors_allow_user_mcp?: boolean;
3590
+ /**
3591
+ * Connectors Enabled
3592
+ * @default false
3593
+ */
3594
+ connectors_enabled?: boolean;
2828
3595
  /** Credits Meter */
2829
3596
  credits_meter?: ("messages" | "tokens" | "cost") | null;
2830
3597
  /** Default Accent */
@@ -2868,6 +3635,11 @@ declare interface components {
2868
3635
  quota_calendar?: ("gregorian" | "persian") | null;
2869
3636
  /** Quota Timezone */
2870
3637
  quota_timezone?: string | null;
3638
+ /**
3639
+ * Schedules Enabled
3640
+ * @default false
3641
+ */
3642
+ schedules_enabled?: boolean;
2871
3643
  /** Settings Account Fields */
2872
3644
  settings_account_fields?: {
2873
3645
  [key: string]: string;
@@ -2900,6 +3672,10 @@ declare interface components {
2900
3672
  show_version_in_settings?: boolean | null;
2901
3673
  /** Show Welcome Glow */
2902
3674
  show_welcome_glow?: boolean | null;
3675
+ /** Sidebar Show Connectors */
3676
+ sidebar_show_connectors?: boolean | null;
3677
+ /** Sidebar Show Schedules */
3678
+ sidebar_show_schedules?: boolean | null;
2903
3679
  /** Signup Enabled */
2904
3680
  signup_enabled?: boolean | null;
2905
3681
  /** Thread Actions Edit */
@@ -3116,6 +3892,219 @@ declare interface components {
3116
3892
  [key: string]: unknown;
3117
3893
  };
3118
3894
  };
3895
+ /**
3896
+ * ScheduleCreateInput
3897
+ * @description Payload to create a new scheduled task.
3898
+ */
3899
+ ScheduleCreateInput: {
3900
+ /** Cron */
3901
+ cron?: string | null;
3902
+ /** Expires At */
3903
+ expires_at?: string | null;
3904
+ /** Interval Minutes */
3905
+ interval_minutes?: number | null;
3906
+ /**
3907
+ * Kind
3908
+ * @enum {string}
3909
+ */
3910
+ kind: "once" | "cron" | "interval";
3911
+ /** Max Runs */
3912
+ max_runs?: number | null;
3913
+ /** Name */
3914
+ name: string;
3915
+ /** Prompt */
3916
+ prompt: string;
3917
+ /** Run At */
3918
+ run_at?: string | null;
3919
+ /** Run Options */
3920
+ run_options?: {
3921
+ [key: string]: components["schemas"]["JsonValue"];
3922
+ } | null;
3923
+ /**
3924
+ * Silent If Empty
3925
+ * @default false
3926
+ */
3927
+ silent_if_empty?: boolean;
3928
+ /**
3929
+ * Thread Mode
3930
+ * @default shared
3931
+ * @enum {string}
3932
+ */
3933
+ thread_mode?: "shared" | "new";
3934
+ /**
3935
+ * Timezone
3936
+ * @default UTC
3937
+ */
3938
+ timezone?: string;
3939
+ };
3940
+ /**
3941
+ * ScheduleListResponse
3942
+ * @description All schedules owned by the current user, plus their cap.
3943
+ */
3944
+ ScheduleListResponse: {
3945
+ /** Max Schedules */
3946
+ max_schedules: number;
3947
+ /** Schedules */
3948
+ schedules: components["schemas"]["ScheduleView"][];
3949
+ };
3950
+ /**
3951
+ * ScheduleRunListResponse
3952
+ * @description Recent runs of a schedule.
3953
+ */
3954
+ ScheduleRunListResponse: {
3955
+ /** Runs */
3956
+ runs: components["schemas"]["ScheduleRunView"][];
3957
+ };
3958
+ /**
3959
+ * ScheduleRunView
3960
+ * @description One execution of a schedule.
3961
+ */
3962
+ ScheduleRunView: {
3963
+ /** Assistant Message Id */
3964
+ assistant_message_id?: string | null;
3965
+ /** Error */
3966
+ error?: string | null;
3967
+ /** Finished At */
3968
+ finished_at?: string | null;
3969
+ /** Id */
3970
+ id: string;
3971
+ /** Schedule Id */
3972
+ schedule_id: string;
3973
+ /**
3974
+ * Scheduled For
3975
+ * Format: date-time
3976
+ */
3977
+ scheduled_for: string;
3978
+ /**
3979
+ * Started At
3980
+ * Format: date-time
3981
+ */
3982
+ started_at: string;
3983
+ /**
3984
+ * Status
3985
+ * @enum {string}
3986
+ */
3987
+ status: "running" | "completed" | "skipped_quiet" | "failed" | "timeout";
3988
+ /** Summary */
3989
+ summary?: string | null;
3990
+ /** Thread Id */
3991
+ thread_id?: string | null;
3992
+ /**
3993
+ * Trigger
3994
+ * @enum {string}
3995
+ */
3996
+ trigger: "scheduled" | "manual";
3997
+ /** Turn Id */
3998
+ turn_id?: string | null;
3999
+ /** User Id */
4000
+ user_id: string;
4001
+ };
4002
+ /**
4003
+ * ScheduleUpdateInput
4004
+ * @description Partial update payload for an existing schedule.
4005
+ */
4006
+ ScheduleUpdateInput: {
4007
+ /** Cron */
4008
+ cron?: string | null;
4009
+ /** Enabled */
4010
+ enabled?: boolean | null;
4011
+ /** Expires At */
4012
+ expires_at?: string | null;
4013
+ /** Interval Minutes */
4014
+ interval_minutes?: number | null;
4015
+ /** Kind */
4016
+ kind?: ("once" | "cron" | "interval") | null;
4017
+ /** Max Runs */
4018
+ max_runs?: number | null;
4019
+ /** Name */
4020
+ name?: string | null;
4021
+ /** Prompt */
4022
+ prompt?: string | null;
4023
+ /** Run At */
4024
+ run_at?: string | null;
4025
+ /** Run Options */
4026
+ run_options?: {
4027
+ [key: string]: components["schemas"]["JsonValue"];
4028
+ } | null;
4029
+ /** Silent If Empty */
4030
+ silent_if_empty?: boolean | null;
4031
+ /** Thread Mode */
4032
+ thread_mode?: ("shared" | "new") | null;
4033
+ /** Timezone */
4034
+ timezone?: string | null;
4035
+ };
4036
+ /**
4037
+ * ScheduleView
4038
+ * @description A user's scheduled routine.
4039
+ */
4040
+ ScheduleView: {
4041
+ /**
4042
+ * Consecutive Failures
4043
+ * @default 0
4044
+ */
4045
+ consecutive_failures?: number;
4046
+ /**
4047
+ * Created At
4048
+ * Format: date-time
4049
+ */
4050
+ created_at: string;
4051
+ /** Cron */
4052
+ cron?: string | null;
4053
+ /** Enabled */
4054
+ enabled: boolean;
4055
+ /** Expires At */
4056
+ expires_at?: string | null;
4057
+ /** Id */
4058
+ id: string;
4059
+ /** Interval Minutes */
4060
+ interval_minutes?: number | null;
4061
+ /**
4062
+ * Kind
4063
+ * @enum {string}
4064
+ */
4065
+ kind: "once" | "cron" | "interval";
4066
+ /** Last Run At */
4067
+ last_run_at?: string | null;
4068
+ /** Last Run Status */
4069
+ last_run_status?: ("running" | "completed" | "skipped_quiet" | "failed" | "timeout") | null;
4070
+ /** Last Run Thread Id */
4071
+ last_run_thread_id?: string | null;
4072
+ /** Max Runs */
4073
+ max_runs?: number | null;
4074
+ /** Name */
4075
+ name: string;
4076
+ /** Next Run At */
4077
+ next_run_at?: string | null;
4078
+ /** Pause Reason */
4079
+ pause_reason?: ("user" | "completed" | "quota_exceeded" | "consecutive_failures" | "admin") | null;
4080
+ /** Prompt */
4081
+ prompt: string;
4082
+ /** Run At */
4083
+ run_at?: string | null;
4084
+ /**
4085
+ * Run Count
4086
+ * @default 0
4087
+ */
4088
+ run_count?: number;
4089
+ /** Silent If Empty */
4090
+ silent_if_empty: boolean;
4091
+ /** Thread Id */
4092
+ thread_id?: string | null;
4093
+ /**
4094
+ * Thread Mode
4095
+ * @enum {string}
4096
+ */
4097
+ thread_mode: "shared" | "new";
4098
+ /** Timezone */
4099
+ timezone: string;
4100
+ /**
4101
+ * Updated At
4102
+ * Format: date-time
4103
+ */
4104
+ updated_at: string;
4105
+ /** User Id */
4106
+ user_id: string;
4107
+ };
3119
4108
  /** SessionInput */
3120
4109
  SessionInput: {
3121
4110
  /** Redirect Path */
@@ -3924,6 +4913,51 @@ declare interface components {
3924
4913
  /** User Ids */
3925
4914
  user_ids?: string[] | null;
3926
4915
  };
4916
+ /**
4917
+ * UserMCPCreateInput
4918
+ * @description User-submitted custom remote MCP server.
4919
+ */
4920
+ UserMCPCreateInput: {
4921
+ /** Api Key */
4922
+ api_key?: string | null;
4923
+ /**
4924
+ * Approval
4925
+ * @default writes
4926
+ * @enum {string}
4927
+ */
4928
+ approval?: "never" | "writes" | "always";
4929
+ /**
4930
+ * Auth Kind
4931
+ * @default none
4932
+ * @enum {string}
4933
+ */
4934
+ auth_kind?: "none" | "api_key";
4935
+ /**
4936
+ * Description
4937
+ * @default
4938
+ */
4939
+ description?: string;
4940
+ /**
4941
+ * Header Name
4942
+ * @default Authorization
4943
+ */
4944
+ header_name?: string;
4945
+ /**
4946
+ * Header Prefix
4947
+ * @default Bearer
4948
+ */
4949
+ header_prefix?: string;
4950
+ /** Name */
4951
+ name: string;
4952
+ /**
4953
+ * Transport
4954
+ * @default streamable-http
4955
+ * @enum {string}
4956
+ */
4957
+ transport?: "streamable-http" | "sse";
4958
+ /** Url */
4959
+ url: string;
4960
+ };
3927
4961
  /** UserOption */
3928
4962
  UserOption: {
3929
4963
  /** Email */
@@ -4230,6 +5264,36 @@ export declare interface ComposerFile {
4230
5264
  /** Where a file attached in the composer is on its way to the server. */
4231
5265
  export declare type ComposerFileStatus = 'uploading' | 'uploaded' | 'failed';
4232
5266
 
5267
+ /** An external connector and the signed-in user's connection state. */
5268
+ export declare type Connector = Schemas['ConnectorView'];
5269
+
5270
+ /** Tool approval policy for a connector. */
5271
+ export declare type ConnectorApprovalPolicy = Connector['approval'];
5272
+
5273
+ /** Authentication mechanism used by a connector. */
5274
+ export declare type ConnectorAuthKind = Connector['auth_kind'];
5275
+
5276
+ /** Request body to store an API key for a connector. */
5277
+ export declare type ConnectorConnectInput = Schemas['ConnectorConnectInput'];
5278
+
5279
+ /** Response from `GET /connectors`. */
5280
+ export declare type ConnectorListResponse = Schemas['ConnectorListResponse'];
5281
+
5282
+ /** Connection health status of a connector. */
5283
+ export declare type ConnectorStatus = Connector['status'];
5284
+
5285
+ /** Request body to toggle a connector or customize tool approvals. */
5286
+ export declare type ConnectorToggleInput = Schemas['ConnectorToggleInput'];
5287
+
5288
+ /** One tool advertised by a connector. */
5289
+ export declare type ConnectorTool = Schemas['ConnectorToolView'];
5290
+
5291
+ /** Per-tool approval mode (`'allow' | 'ask' | 'deny'`). */
5292
+ export declare type ConnectorToolOverride = ConnectorTool['approval'];
5293
+
5294
+ /** Response from `GET /connectors/{id}/tools`. */
5295
+ export declare type ConnectorToolsResponse = Schemas['ConnectorToolsResponse'];
5296
+
4233
5297
  /**
4234
5298
  * An `Intl.DateTimeFormat` bound to the active UI language.
4235
5299
  *
@@ -4248,6 +5312,9 @@ export declare type CreditsMeter = CreditsStatus['meter'];
4248
5312
  /** A user's credits: how many were granted, and how many are spent. */
4249
5313
  export declare type CreditsStatus = Schemas['CreditsView'];
4250
5314
 
5315
+ /** Try to parse a 5-field cron expression back into a visual preset, or `null` if custom. */
5316
+ export declare function cronToPreset(expr: string | null | undefined): SchedulePreset | null;
5317
+
4251
5318
  /**
4252
5319
  * A `data-<name>` part your backend streams with `ctx.deps.emit(name, payload)`, whose `data` has
4253
5320
  * the type you give. Nothing checks it at runtime: it says what the server sends.
@@ -4259,6 +5326,12 @@ export declare interface DataPart<Data = unknown> {
4259
5326
  data: Data;
4260
5327
  }
4261
5328
 
5329
+ /** Format a schedule's cadence in human terms using `schedules` translation keys. */
5330
+ export declare function describeSchedule(schedule: Pick<Schedule, 'kind' | 'cron' | 'interval_minutes' | 'run_at' | 'timezone'>, t: ScheduleTranslator, language: string): string;
5331
+
5332
+ /** Detect the user's local IANA timezone, falling back to `'UTC'` outside browsers. */
5333
+ export declare function detectLocalTimezone(): string;
5334
+
4262
5335
  /** What a user may use right now. */
4263
5336
  export declare type EntitlementStatus = Schemas['EntitlementStatus'];
4264
5337
 
@@ -4370,6 +5443,19 @@ export declare const GentiqErrorCode: {
4370
5443
  readonly ADMIN_NOT_FOUND: "admin_not_found";
4371
5444
  readonly CANNOT_DELETE_SELF: "cannot_delete_self";
4372
5445
  readonly ADMIN_UPDATE_FAILED: "admin_update_failed";
5446
+ readonly JOB_NOT_FOUND: "job_not_found";
5447
+ readonly RAW_JOBS_DISABLED: "raw_jobs_disabled";
5448
+ readonly SCHEDULE_NOT_FOUND: "schedule_not_found";
5449
+ readonly SCHEDULE_LIMIT_REACHED: "schedule_limit_reached";
5450
+ readonly INVALID_SCHEDULE: "invalid_schedule";
5451
+ readonly CONNECTOR_NOT_FOUND: "connector_not_found";
5452
+ readonly CONNECTOR_ALREADY_EXISTS: "connector_already_exists";
5453
+ readonly CONNECTOR_READ_ONLY: "connector_read_only";
5454
+ readonly CONNECTOR_AUTH_FAILED: "connector_auth_failed";
5455
+ readonly CONNECTOR_UNREACHABLE: "connector_unreachable";
5456
+ readonly CONNECTOR_OAUTH_INVALID_STATE: "connector_oauth_invalid_state";
5457
+ readonly CONNECTOR_URL_BLOCKED: "connector_url_blocked";
5458
+ readonly USER_MCP_DISABLED: "user_mcp_disabled";
4373
5459
  readonly INTERNAL_ERROR: "internal_error";
4374
5460
  readonly VALIDATION_ERROR: "validation_error";
4375
5461
  readonly NOT_FOUND: "not_found";
@@ -4412,6 +5498,11 @@ export declare type GentiqUser = Schemas['UserProfile'];
4412
5498
  */
4413
5499
  export declare function getAvailableLanguages(i18n: i18n | undefined, allowed?: readonly string[]): string[];
4414
5500
 
5501
+ /** The calendar to render dates in for a language tag. */
5502
+ export declare function getCalendar(language: string | undefined | null): string;
5503
+
5504
+ export declare function getCalendarSystem(kind: CalendarKind): CalendarSystem;
5505
+
4415
5506
  /**
4416
5507
  * The writing direction of a language tag, as a `dir` attribute value.
4417
5508
  *
@@ -4531,6 +5622,9 @@ export declare interface MetadataFieldCondition {
4531
5622
  value: unknown;
4532
5623
  }
4533
5624
 
5625
+ /** Response from `POST /connectors/{id}/oauth/start`. */
5626
+ export declare type OAuthStartResponse = Schemas['OAuthStartResponse'];
5627
+
4534
5628
  declare type Operation<M extends HttpMethod, P extends RoutePath<M>> = NonNullable<Routes[P][M]>;
4535
5629
 
4536
5630
  declare interface operations {
@@ -5575,12 +6669,9 @@ declare interface operations {
5575
6669
  };
5576
6670
  };
5577
6671
  };
5578
- list_jobs_api_admin_jobs_get: {
6672
+ admin_list_connectors_api_admin_connectors_get: {
5579
6673
  parameters: {
5580
- query?: {
5581
- limit?: number;
5582
- type?: string | null;
5583
- };
6674
+ query?: never;
5584
6675
  header?: never;
5585
6676
  path?: never;
5586
6677
  cookie?: never;
@@ -5593,7 +6684,7 @@ declare interface operations {
5593
6684
  [name: string]: unknown;
5594
6685
  };
5595
6686
  content: {
5596
- "application/json": components["schemas"]["BackgroundJobList"];
6687
+ "application/json": components["schemas"]["AdminConnectorListResponse"];
5597
6688
  };
5598
6689
  };
5599
6690
  /** @description Client Error */
@@ -5616,7 +6707,214 @@ declare interface operations {
5616
6707
  };
5617
6708
  };
5618
6709
  };
5619
- run_raw_job_api_admin_jobs_raw_post: {
6710
+ admin_create_connector_api_admin_connectors_post: {
6711
+ parameters: {
6712
+ query?: never;
6713
+ header?: never;
6714
+ path?: never;
6715
+ cookie?: never;
6716
+ };
6717
+ requestBody: {
6718
+ content: {
6719
+ "application/json": components["schemas"]["AdminConnectorCreateInput"];
6720
+ };
6721
+ };
6722
+ responses: {
6723
+ /** @description Successful Response */
6724
+ 201: {
6725
+ headers: {
6726
+ [name: string]: unknown;
6727
+ };
6728
+ content: {
6729
+ "application/json": components["schemas"]["AdminConnectorView"];
6730
+ };
6731
+ };
6732
+ /** @description Client Error */
6733
+ "4XX": {
6734
+ headers: {
6735
+ [name: string]: unknown;
6736
+ };
6737
+ content: {
6738
+ "application/json": components["schemas"]["ErrorResponse"];
6739
+ };
6740
+ };
6741
+ /** @description Server Error */
6742
+ "5XX": {
6743
+ headers: {
6744
+ [name: string]: unknown;
6745
+ };
6746
+ content: {
6747
+ "application/json": components["schemas"]["ErrorResponse"];
6748
+ };
6749
+ };
6750
+ };
6751
+ };
6752
+ admin_delete_connector_api_admin_connectors__connector_id__delete: {
6753
+ parameters: {
6754
+ query?: never;
6755
+ header?: never;
6756
+ path: {
6757
+ connector_id: string;
6758
+ };
6759
+ cookie?: never;
6760
+ };
6761
+ requestBody?: never;
6762
+ responses: {
6763
+ /** @description Successful Response */
6764
+ 200: {
6765
+ headers: {
6766
+ [name: string]: unknown;
6767
+ };
6768
+ content: {
6769
+ "application/json": components["schemas"]["StatusResponse"];
6770
+ };
6771
+ };
6772
+ /** @description Client Error */
6773
+ "4XX": {
6774
+ headers: {
6775
+ [name: string]: unknown;
6776
+ };
6777
+ content: {
6778
+ "application/json": components["schemas"]["ErrorResponse"];
6779
+ };
6780
+ };
6781
+ /** @description Server Error */
6782
+ "5XX": {
6783
+ headers: {
6784
+ [name: string]: unknown;
6785
+ };
6786
+ content: {
6787
+ "application/json": components["schemas"]["ErrorResponse"];
6788
+ };
6789
+ };
6790
+ };
6791
+ };
6792
+ admin_update_connector_api_admin_connectors__connector_id__patch: {
6793
+ parameters: {
6794
+ query?: never;
6795
+ header?: never;
6796
+ path: {
6797
+ connector_id: string;
6798
+ };
6799
+ cookie?: never;
6800
+ };
6801
+ requestBody: {
6802
+ content: {
6803
+ "application/json": components["schemas"]["AdminConnectorUpdateInput"];
6804
+ };
6805
+ };
6806
+ responses: {
6807
+ /** @description Successful Response */
6808
+ 200: {
6809
+ headers: {
6810
+ [name: string]: unknown;
6811
+ };
6812
+ content: {
6813
+ "application/json": components["schemas"]["AdminConnectorView"];
6814
+ };
6815
+ };
6816
+ /** @description Client Error */
6817
+ "4XX": {
6818
+ headers: {
6819
+ [name: string]: unknown;
6820
+ };
6821
+ content: {
6822
+ "application/json": components["schemas"]["ErrorResponse"];
6823
+ };
6824
+ };
6825
+ /** @description Server Error */
6826
+ "5XX": {
6827
+ headers: {
6828
+ [name: string]: unknown;
6829
+ };
6830
+ content: {
6831
+ "application/json": components["schemas"]["ErrorResponse"];
6832
+ };
6833
+ };
6834
+ };
6835
+ };
6836
+ admin_test_connector_api_admin_connectors__connector_id__test_post: {
6837
+ parameters: {
6838
+ query?: never;
6839
+ header?: never;
6840
+ path: {
6841
+ connector_id: string;
6842
+ };
6843
+ cookie?: never;
6844
+ };
6845
+ requestBody?: never;
6846
+ responses: {
6847
+ /** @description Successful Response */
6848
+ 200: {
6849
+ headers: {
6850
+ [name: string]: unknown;
6851
+ };
6852
+ content: {
6853
+ "application/json": components["schemas"]["AdminConnectorTestResponse"];
6854
+ };
6855
+ };
6856
+ /** @description Client Error */
6857
+ "4XX": {
6858
+ headers: {
6859
+ [name: string]: unknown;
6860
+ };
6861
+ content: {
6862
+ "application/json": components["schemas"]["ErrorResponse"];
6863
+ };
6864
+ };
6865
+ /** @description Server Error */
6866
+ "5XX": {
6867
+ headers: {
6868
+ [name: string]: unknown;
6869
+ };
6870
+ content: {
6871
+ "application/json": components["schemas"]["ErrorResponse"];
6872
+ };
6873
+ };
6874
+ };
6875
+ };
6876
+ list_jobs_api_admin_jobs_get: {
6877
+ parameters: {
6878
+ query?: {
6879
+ limit?: number;
6880
+ type?: string | null;
6881
+ };
6882
+ header?: never;
6883
+ path?: never;
6884
+ cookie?: never;
6885
+ };
6886
+ requestBody?: never;
6887
+ responses: {
6888
+ /** @description Successful Response */
6889
+ 200: {
6890
+ headers: {
6891
+ [name: string]: unknown;
6892
+ };
6893
+ content: {
6894
+ "application/json": components["schemas"]["BackgroundJobList"];
6895
+ };
6896
+ };
6897
+ /** @description Client Error */
6898
+ "4XX": {
6899
+ headers: {
6900
+ [name: string]: unknown;
6901
+ };
6902
+ content: {
6903
+ "application/json": components["schemas"]["ErrorResponse"];
6904
+ };
6905
+ };
6906
+ /** @description Server Error */
6907
+ "5XX": {
6908
+ headers: {
6909
+ [name: string]: unknown;
6910
+ };
6911
+ content: {
6912
+ "application/json": components["schemas"]["ErrorResponse"];
6913
+ };
6914
+ };
6915
+ };
6916
+ };
6917
+ run_raw_job_api_admin_jobs_raw_post: {
5620
6918
  parameters: {
5621
6919
  query?: never;
5622
6920
  header?: never;
@@ -6515,9 +7813,14 @@ declare interface operations {
6515
7813
  };
6516
7814
  };
6517
7815
  };
6518
- get_app_settings_api_admin_settings_get: {
7816
+ admin_list_schedules_api_admin_schedules_get: {
6519
7817
  parameters: {
6520
- query?: never;
7818
+ query?: {
7819
+ status?: string | null;
7820
+ user_id?: string | null;
7821
+ limit?: number;
7822
+ skip?: number;
7823
+ };
6521
7824
  header?: never;
6522
7825
  path?: never;
6523
7826
  cookie?: never;
@@ -6530,7 +7833,7 @@ declare interface operations {
6530
7833
  [name: string]: unknown;
6531
7834
  };
6532
7835
  content: {
6533
- "application/json": components["schemas"]["AdminSettingsResponse"];
7836
+ "application/json": components["schemas"]["AdminScheduleListResponse"];
6534
7837
  };
6535
7838
  };
6536
7839
  /** @description Client Error */
@@ -6553,11 +7856,13 @@ declare interface operations {
6553
7856
  };
6554
7857
  };
6555
7858
  };
6556
- delete_app_settings_api_admin_settings_delete: {
7859
+ admin_delete_schedule_api_admin_schedules__schedule_id__delete: {
6557
7860
  parameters: {
6558
7861
  query?: never;
6559
7862
  header?: never;
6560
- path?: never;
7863
+ path: {
7864
+ schedule_id: string;
7865
+ };
6561
7866
  cookie?: never;
6562
7867
  };
6563
7868
  requestBody?: never;
@@ -6568,7 +7873,7 @@ declare interface operations {
6568
7873
  [name: string]: unknown;
6569
7874
  };
6570
7875
  content: {
6571
- "application/json": components["schemas"]["StatusMessageResponse"];
7876
+ "application/json": components["schemas"]["StatusResponse"];
6572
7877
  };
6573
7878
  };
6574
7879
  /** @description Client Error */
@@ -6591,18 +7896,16 @@ declare interface operations {
6591
7896
  };
6592
7897
  };
6593
7898
  };
6594
- update_app_settings_api_admin_settings_patch: {
7899
+ admin_pause_schedule_api_admin_schedules__schedule_id__pause_post: {
6595
7900
  parameters: {
6596
7901
  query?: never;
6597
7902
  header?: never;
6598
- path?: never;
6599
- cookie?: never;
6600
- };
6601
- requestBody: {
6602
- content: {
6603
- "application/json": components["schemas"]["AppSettingsUpdateInput"];
7903
+ path: {
7904
+ schedule_id: string;
6604
7905
  };
7906
+ cookie?: never;
6605
7907
  };
7908
+ requestBody?: never;
6606
7909
  responses: {
6607
7910
  /** @description Successful Response */
6608
7911
  200: {
@@ -6610,7 +7913,7 @@ declare interface operations {
6610
7913
  [name: string]: unknown;
6611
7914
  };
6612
7915
  content: {
6613
- "application/json": components["schemas"]["AdminSettingsResponse"];
7916
+ "application/json": components["schemas"]["ScheduleView"];
6614
7917
  };
6615
7918
  };
6616
7919
  /** @description Client Error */
@@ -6633,11 +7936,13 @@ declare interface operations {
6633
7936
  };
6634
7937
  };
6635
7938
  };
6636
- get_setup_status_api_admin_setup_status_get: {
7939
+ admin_resume_schedule_api_admin_schedules__schedule_id__resume_post: {
6637
7940
  parameters: {
6638
7941
  query?: never;
6639
7942
  header?: never;
6640
- path?: never;
7943
+ path: {
7944
+ schedule_id: string;
7945
+ };
6641
7946
  cookie?: never;
6642
7947
  };
6643
7948
  requestBody?: never;
@@ -6648,7 +7953,7 @@ declare interface operations {
6648
7953
  [name: string]: unknown;
6649
7954
  };
6650
7955
  content: {
6651
- "application/json": components["schemas"]["AdminSetupStatus"];
7956
+ "application/json": components["schemas"]["ScheduleView"];
6652
7957
  };
6653
7958
  };
6654
7959
  /** @description Client Error */
@@ -6671,11 +7976,15 @@ declare interface operations {
6671
7976
  };
6672
7977
  };
6673
7978
  };
6674
- get_status_api_admin_status_get: {
7979
+ admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get: {
6675
7980
  parameters: {
6676
- query?: never;
7981
+ query?: {
7982
+ limit?: number;
7983
+ };
6677
7984
  header?: never;
6678
- path?: never;
7985
+ path: {
7986
+ schedule_id: string;
7987
+ };
6679
7988
  cookie?: never;
6680
7989
  };
6681
7990
  requestBody?: never;
@@ -6686,7 +7995,7 @@ declare interface operations {
6686
7995
  [name: string]: unknown;
6687
7996
  };
6688
7997
  content: {
6689
- "application/json": components["schemas"]["AdminStatus"];
7998
+ "application/json": components["schemas"]["ScheduleRunListResponse"];
6690
7999
  };
6691
8000
  };
6692
8001
  /** @description Client Error */
@@ -6709,11 +8018,9 @@ declare interface operations {
6709
8018
  };
6710
8019
  };
6711
8020
  };
6712
- list_incidents_api_admin_status_incidents_get: {
8021
+ get_app_settings_api_admin_settings_get: {
6713
8022
  parameters: {
6714
- query?: {
6715
- limit?: number;
6716
- };
8023
+ query?: never;
6717
8024
  header?: never;
6718
8025
  path?: never;
6719
8026
  cookie?: never;
@@ -6726,7 +8033,7 @@ declare interface operations {
6726
8033
  [name: string]: unknown;
6727
8034
  };
6728
8035
  content: {
6729
- "application/json": components["schemas"]["Incident"][];
8036
+ "application/json": components["schemas"]["AdminSettingsResponse"];
6730
8037
  };
6731
8038
  };
6732
8039
  /** @description Client Error */
@@ -6749,18 +8056,14 @@ declare interface operations {
6749
8056
  };
6750
8057
  };
6751
8058
  };
6752
- enter_maintenance_api_admin_status_maintenance_post: {
8059
+ delete_app_settings_api_admin_settings_delete: {
6753
8060
  parameters: {
6754
8061
  query?: never;
6755
8062
  header?: never;
6756
8063
  path?: never;
6757
8064
  cookie?: never;
6758
8065
  };
6759
- requestBody: {
6760
- content: {
6761
- "application/json": components["schemas"]["MaintenanceEnterInput"];
6762
- };
6763
- };
8066
+ requestBody?: never;
6764
8067
  responses: {
6765
8068
  /** @description Successful Response */
6766
8069
  200: {
@@ -6768,7 +8071,7 @@ declare interface operations {
6768
8071
  [name: string]: unknown;
6769
8072
  };
6770
8073
  content: {
6771
- "application/json": components["schemas"]["AdminStatus"];
8074
+ "application/json": components["schemas"]["StatusMessageResponse"];
6772
8075
  };
6773
8076
  };
6774
8077
  /** @description Client Error */
@@ -6791,7 +8094,207 @@ declare interface operations {
6791
8094
  };
6792
8095
  };
6793
8096
  };
6794
- exit_maintenance_api_admin_status_maintenance_delete: {
8097
+ update_app_settings_api_admin_settings_patch: {
8098
+ parameters: {
8099
+ query?: never;
8100
+ header?: never;
8101
+ path?: never;
8102
+ cookie?: never;
8103
+ };
8104
+ requestBody: {
8105
+ content: {
8106
+ "application/json": components["schemas"]["AppSettingsUpdateInput"];
8107
+ };
8108
+ };
8109
+ responses: {
8110
+ /** @description Successful Response */
8111
+ 200: {
8112
+ headers: {
8113
+ [name: string]: unknown;
8114
+ };
8115
+ content: {
8116
+ "application/json": components["schemas"]["AdminSettingsResponse"];
8117
+ };
8118
+ };
8119
+ /** @description Client Error */
8120
+ "4XX": {
8121
+ headers: {
8122
+ [name: string]: unknown;
8123
+ };
8124
+ content: {
8125
+ "application/json": components["schemas"]["ErrorResponse"];
8126
+ };
8127
+ };
8128
+ /** @description Server Error */
8129
+ "5XX": {
8130
+ headers: {
8131
+ [name: string]: unknown;
8132
+ };
8133
+ content: {
8134
+ "application/json": components["schemas"]["ErrorResponse"];
8135
+ };
8136
+ };
8137
+ };
8138
+ };
8139
+ get_setup_status_api_admin_setup_status_get: {
8140
+ parameters: {
8141
+ query?: never;
8142
+ header?: never;
8143
+ path?: never;
8144
+ cookie?: never;
8145
+ };
8146
+ requestBody?: never;
8147
+ responses: {
8148
+ /** @description Successful Response */
8149
+ 200: {
8150
+ headers: {
8151
+ [name: string]: unknown;
8152
+ };
8153
+ content: {
8154
+ "application/json": components["schemas"]["AdminSetupStatus"];
8155
+ };
8156
+ };
8157
+ /** @description Client Error */
8158
+ "4XX": {
8159
+ headers: {
8160
+ [name: string]: unknown;
8161
+ };
8162
+ content: {
8163
+ "application/json": components["schemas"]["ErrorResponse"];
8164
+ };
8165
+ };
8166
+ /** @description Server Error */
8167
+ "5XX": {
8168
+ headers: {
8169
+ [name: string]: unknown;
8170
+ };
8171
+ content: {
8172
+ "application/json": components["schemas"]["ErrorResponse"];
8173
+ };
8174
+ };
8175
+ };
8176
+ };
8177
+ get_status_api_admin_status_get: {
8178
+ parameters: {
8179
+ query?: never;
8180
+ header?: never;
8181
+ path?: never;
8182
+ cookie?: never;
8183
+ };
8184
+ requestBody?: never;
8185
+ responses: {
8186
+ /** @description Successful Response */
8187
+ 200: {
8188
+ headers: {
8189
+ [name: string]: unknown;
8190
+ };
8191
+ content: {
8192
+ "application/json": components["schemas"]["AdminStatus"];
8193
+ };
8194
+ };
8195
+ /** @description Client Error */
8196
+ "4XX": {
8197
+ headers: {
8198
+ [name: string]: unknown;
8199
+ };
8200
+ content: {
8201
+ "application/json": components["schemas"]["ErrorResponse"];
8202
+ };
8203
+ };
8204
+ /** @description Server Error */
8205
+ "5XX": {
8206
+ headers: {
8207
+ [name: string]: unknown;
8208
+ };
8209
+ content: {
8210
+ "application/json": components["schemas"]["ErrorResponse"];
8211
+ };
8212
+ };
8213
+ };
8214
+ };
8215
+ list_incidents_api_admin_status_incidents_get: {
8216
+ parameters: {
8217
+ query?: {
8218
+ limit?: number;
8219
+ };
8220
+ header?: never;
8221
+ path?: never;
8222
+ cookie?: never;
8223
+ };
8224
+ requestBody?: never;
8225
+ responses: {
8226
+ /** @description Successful Response */
8227
+ 200: {
8228
+ headers: {
8229
+ [name: string]: unknown;
8230
+ };
8231
+ content: {
8232
+ "application/json": components["schemas"]["Incident"][];
8233
+ };
8234
+ };
8235
+ /** @description Client Error */
8236
+ "4XX": {
8237
+ headers: {
8238
+ [name: string]: unknown;
8239
+ };
8240
+ content: {
8241
+ "application/json": components["schemas"]["ErrorResponse"];
8242
+ };
8243
+ };
8244
+ /** @description Server Error */
8245
+ "5XX": {
8246
+ headers: {
8247
+ [name: string]: unknown;
8248
+ };
8249
+ content: {
8250
+ "application/json": components["schemas"]["ErrorResponse"];
8251
+ };
8252
+ };
8253
+ };
8254
+ };
8255
+ enter_maintenance_api_admin_status_maintenance_post: {
8256
+ parameters: {
8257
+ query?: never;
8258
+ header?: never;
8259
+ path?: never;
8260
+ cookie?: never;
8261
+ };
8262
+ requestBody: {
8263
+ content: {
8264
+ "application/json": components["schemas"]["MaintenanceEnterInput"];
8265
+ };
8266
+ };
8267
+ responses: {
8268
+ /** @description Successful Response */
8269
+ 200: {
8270
+ headers: {
8271
+ [name: string]: unknown;
8272
+ };
8273
+ content: {
8274
+ "application/json": components["schemas"]["AdminStatus"];
8275
+ };
8276
+ };
8277
+ /** @description Client Error */
8278
+ "4XX": {
8279
+ headers: {
8280
+ [name: string]: unknown;
8281
+ };
8282
+ content: {
8283
+ "application/json": components["schemas"]["ErrorResponse"];
8284
+ };
8285
+ };
8286
+ /** @description Server Error */
8287
+ "5XX": {
8288
+ headers: {
8289
+ [name: string]: unknown;
8290
+ };
8291
+ content: {
8292
+ "application/json": components["schemas"]["ErrorResponse"];
8293
+ };
8294
+ };
8295
+ };
8296
+ };
8297
+ exit_maintenance_api_admin_status_maintenance_delete: {
6795
8298
  parameters: {
6796
8299
  query?: never;
6797
8300
  header?: never;
@@ -8127,7 +9630,7 @@ declare interface operations {
8127
9630
  };
8128
9631
  };
8129
9632
  };
8130
- list_plans_api_integration_v1_plans_get: {
9633
+ list_connectors_api_connectors_get: {
8131
9634
  parameters: {
8132
9635
  query?: never;
8133
9636
  header?: never;
@@ -8142,7 +9645,7 @@ declare interface operations {
8142
9645
  [name: string]: unknown;
8143
9646
  };
8144
9647
  content: {
8145
- "application/json": components["schemas"]["PlanList"];
9648
+ "application/json": components["schemas"]["ConnectorListResponse"];
8146
9649
  };
8147
9650
  };
8148
9651
  /** @description Client Error */
@@ -8165,35 +9668,66 @@ declare interface operations {
8165
9668
  };
8166
9669
  };
8167
9670
  };
8168
- create_session_api_integration_v1_sessions_post: {
9671
+ connector_oauth_callback_api_connectors_oauth_callback_get: {
8169
9672
  parameters: {
8170
- query?: never;
9673
+ query: {
9674
+ state: string;
9675
+ code?: string | null;
9676
+ error?: string | null;
9677
+ };
8171
9678
  header?: never;
8172
9679
  path?: never;
8173
9680
  cookie?: never;
8174
9681
  };
8175
- requestBody: {
8176
- content: {
8177
- "application/json": components["schemas"]["SessionInput"];
8178
- };
8179
- };
9682
+ requestBody?: never;
8180
9683
  responses: {
8181
9684
  /** @description Successful Response */
8182
- 200: {
9685
+ 307: {
9686
+ headers: {
9687
+ [name: string]: unknown;
9688
+ };
9689
+ content?: never;
9690
+ };
9691
+ /** @description Client Error */
9692
+ "4XX": {
8183
9693
  headers: {
8184
9694
  [name: string]: unknown;
8185
9695
  };
8186
9696
  content: {
8187
- "application/json": components["schemas"]["SessionResponse"];
9697
+ "application/json": components["schemas"]["ErrorResponse"];
8188
9698
  };
8189
9699
  };
8190
- /** @description A new user */
9700
+ /** @description Server Error */
9701
+ "5XX": {
9702
+ headers: {
9703
+ [name: string]: unknown;
9704
+ };
9705
+ content: {
9706
+ "application/json": components["schemas"]["ErrorResponse"];
9707
+ };
9708
+ };
9709
+ };
9710
+ };
9711
+ create_user_mcp_connector_api_connectors_user_mcp_post: {
9712
+ parameters: {
9713
+ query?: never;
9714
+ header?: never;
9715
+ path?: never;
9716
+ cookie?: never;
9717
+ };
9718
+ requestBody: {
9719
+ content: {
9720
+ "application/json": components["schemas"]["UserMCPCreateInput"];
9721
+ };
9722
+ };
9723
+ responses: {
9724
+ /** @description Successful Response */
8191
9725
  201: {
8192
9726
  headers: {
8193
9727
  [name: string]: unknown;
8194
9728
  };
8195
9729
  content: {
8196
- "application/json": components["schemas"]["SessionResponse"];
9730
+ "application/json": components["schemas"]["ConnectorView"];
8197
9731
  };
8198
9732
  };
8199
9733
  /** @description Client Error */
@@ -8216,12 +9750,12 @@ declare interface operations {
8216
9750
  };
8217
9751
  };
8218
9752
  };
8219
- get_user_api_integration_v1_users__external_id__get: {
9753
+ delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete: {
8220
9754
  parameters: {
8221
9755
  query?: never;
8222
9756
  header?: never;
8223
9757
  path: {
8224
- external_id: string;
9758
+ connector_id: string;
8225
9759
  };
8226
9760
  cookie?: never;
8227
9761
  };
@@ -8233,7 +9767,7 @@ declare interface operations {
8233
9767
  [name: string]: unknown;
8234
9768
  };
8235
9769
  content: {
8236
- "application/json": components["schemas"]["IntegrationUserResponse"];
9770
+ "application/json": components["schemas"]["StatusResponse"];
8237
9771
  };
8238
9772
  };
8239
9773
  /** @description Client Error */
@@ -8256,18 +9790,18 @@ declare interface operations {
8256
9790
  };
8257
9791
  };
8258
9792
  };
8259
- put_user_api_integration_v1_users__external_id__put: {
9793
+ update_connector_api_connectors__connector_id__patch: {
8260
9794
  parameters: {
8261
9795
  query?: never;
8262
9796
  header?: never;
8263
9797
  path: {
8264
- external_id: string;
9798
+ connector_id: string;
8265
9799
  };
8266
9800
  cookie?: never;
8267
9801
  };
8268
9802
  requestBody: {
8269
9803
  content: {
8270
- "application/json": components["schemas"]["IntegrationUserInput"];
9804
+ "application/json": components["schemas"]["ConnectorToggleInput"];
8271
9805
  };
8272
9806
  };
8273
9807
  responses: {
@@ -8277,16 +9811,7 @@ declare interface operations {
8277
9811
  [name: string]: unknown;
8278
9812
  };
8279
9813
  content: {
8280
- "application/json": components["schemas"]["IntegrationUserResponse"];
8281
- };
8282
- };
8283
- /** @description A new user */
8284
- 201: {
8285
- headers: {
8286
- [name: string]: unknown;
8287
- };
8288
- content: {
8289
- "application/json": components["schemas"]["IntegrationUserResponse"];
9814
+ "application/json": components["schemas"]["ConnectorView"];
8290
9815
  };
8291
9816
  };
8292
9817
  /** @description Client Error */
@@ -8309,20 +9834,18 @@ declare interface operations {
8309
9834
  };
8310
9835
  };
8311
9836
  };
8312
- grant_credits_api_integration_v1_users__external_id__credits_post: {
9837
+ connect_connector_api_connectors__connector_id__connect_post: {
8313
9838
  parameters: {
8314
9839
  query?: never;
8315
- header?: {
8316
- "Idempotency-Key"?: string | null;
8317
- };
9840
+ header?: never;
8318
9841
  path: {
8319
- external_id: string;
9842
+ connector_id: string;
8320
9843
  };
8321
9844
  cookie?: never;
8322
9845
  };
8323
9846
  requestBody: {
8324
9847
  content: {
8325
- "application/json": components["schemas"]["CreditsGrantInput"];
9848
+ "application/json": components["schemas"]["ConnectorConnectInput"];
8326
9849
  };
8327
9850
  };
8328
9851
  responses: {
@@ -8332,7 +9855,7 @@ declare interface operations {
8332
9855
  [name: string]: unknown;
8333
9856
  };
8334
9857
  content: {
8335
- "application/json": components["schemas"]["CreditsGrantResponse"];
9858
+ "application/json": components["schemas"]["ConnectorView"];
8336
9859
  };
8337
9860
  };
8338
9861
  /** @description Client Error */
@@ -8355,12 +9878,12 @@ declare interface operations {
8355
9878
  };
8356
9879
  };
8357
9880
  };
8358
- list_subscriptions_api_integration_v1_users__external_id__subscriptions_get: {
9881
+ disconnect_connector_api_connectors__connector_id__disconnect_post: {
8359
9882
  parameters: {
8360
9883
  query?: never;
8361
9884
  header?: never;
8362
9885
  path: {
8363
- external_id: string;
9886
+ connector_id: string;
8364
9887
  };
8365
9888
  cookie?: never;
8366
9889
  };
@@ -8372,7 +9895,7 @@ declare interface operations {
8372
9895
  [name: string]: unknown;
8373
9896
  };
8374
9897
  content: {
8375
- "application/json": components["schemas"]["SubscriptionList"];
9898
+ "application/json": components["schemas"]["ConnectorView"];
8376
9899
  };
8377
9900
  };
8378
9901
  /** @description Client Error */
@@ -8395,19 +9918,18 @@ declare interface operations {
8395
9918
  };
8396
9919
  };
8397
9920
  };
8398
- put_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__put: {
9921
+ start_connector_oauth_api_connectors__connector_id__oauth_start_post: {
8399
9922
  parameters: {
8400
9923
  query?: never;
8401
9924
  header?: never;
8402
9925
  path: {
8403
- external_id: string;
8404
- subscription_external_id: string;
9926
+ connector_id: string;
8405
9927
  };
8406
9928
  cookie?: never;
8407
9929
  };
8408
9930
  requestBody: {
8409
9931
  content: {
8410
- "application/json": components["schemas"]["SubscriptionInput"];
9932
+ "application/json": components["schemas"]["OAuthStartInput"];
8411
9933
  };
8412
9934
  };
8413
9935
  responses: {
@@ -8417,16 +9939,7 @@ declare interface operations {
8417
9939
  [name: string]: unknown;
8418
9940
  };
8419
9941
  content: {
8420
- "application/json": components["schemas"]["SubscriptionPutResponse"];
8421
- };
8422
- };
8423
- /** @description A new subscription */
8424
- 201: {
8425
- headers: {
8426
- [name: string]: unknown;
8427
- };
8428
- content: {
8429
- "application/json": components["schemas"]["SubscriptionPutResponse"];
9942
+ "application/json": components["schemas"]["OAuthStartResponse"];
8430
9943
  };
8431
9944
  };
8432
9945
  /** @description Client Error */
@@ -8449,21 +9962,16 @@ declare interface operations {
8449
9962
  };
8450
9963
  };
8451
9964
  };
8452
- cancel_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__cancel_post: {
9965
+ list_connector_tools_api_connectors__connector_id__tools_get: {
8453
9966
  parameters: {
8454
9967
  query?: never;
8455
9968
  header?: never;
8456
9969
  path: {
8457
- external_id: string;
8458
- subscription_external_id: string;
9970
+ connector_id: string;
8459
9971
  };
8460
9972
  cookie?: never;
8461
9973
  };
8462
- requestBody?: {
8463
- content: {
8464
- "application/json": components["schemas"]["CancelSubscriptionInput"] | null;
8465
- };
8466
- };
9974
+ requestBody?: never;
8467
9975
  responses: {
8468
9976
  /** @description Successful Response */
8469
9977
  200: {
@@ -8471,7 +9979,7 @@ declare interface operations {
8471
9979
  [name: string]: unknown;
8472
9980
  };
8473
9981
  content: {
8474
- "application/json": components["schemas"]["SubscriptionCancelResponse"];
9982
+ "application/json": components["schemas"]["ConnectorToolsResponse"];
8475
9983
  };
8476
9984
  };
8477
9985
  /** @description Client Error */
@@ -8494,13 +10002,11 @@ declare interface operations {
8494
10002
  };
8495
10003
  };
8496
10004
  };
8497
- get_usage_api_integration_v1_users__external_id__usage_get: {
10005
+ list_plans_api_integration_v1_plans_get: {
8498
10006
  parameters: {
8499
10007
  query?: never;
8500
10008
  header?: never;
8501
- path: {
8502
- external_id: string;
8503
- };
10009
+ path?: never;
8504
10010
  cookie?: never;
8505
10011
  };
8506
10012
  requestBody?: never;
@@ -8511,7 +10017,7 @@ declare interface operations {
8511
10017
  [name: string]: unknown;
8512
10018
  };
8513
10019
  content: {
8514
- "application/json": components["schemas"]["EntitlementStatus"];
10020
+ "application/json": components["schemas"]["PlanList"];
8515
10021
  };
8516
10022
  };
8517
10023
  /** @description Client Error */
@@ -8534,7 +10040,7 @@ declare interface operations {
8534
10040
  };
8535
10041
  };
8536
10042
  };
8537
- public_login_api_public_auth_login_post: {
10043
+ create_session_api_integration_v1_sessions_post: {
8538
10044
  parameters: {
8539
10045
  query?: never;
8540
10046
  header?: never;
@@ -8543,7 +10049,7 @@ declare interface operations {
8543
10049
  };
8544
10050
  requestBody: {
8545
10051
  content: {
8546
- "application/json": components["schemas"]["LoginInput"];
10052
+ "application/json": components["schemas"]["SessionInput"];
8547
10053
  };
8548
10054
  };
8549
10055
  responses: {
@@ -8553,7 +10059,16 @@ declare interface operations {
8553
10059
  [name: string]: unknown;
8554
10060
  };
8555
10061
  content: {
8556
- "application/json": components["schemas"]["AuthTokenResponse"];
10062
+ "application/json": components["schemas"]["SessionResponse"];
10063
+ };
10064
+ };
10065
+ /** @description A new user */
10066
+ 201: {
10067
+ headers: {
10068
+ [name: string]: unknown;
10069
+ };
10070
+ content: {
10071
+ "application/json": components["schemas"]["SessionResponse"];
8557
10072
  };
8558
10073
  };
8559
10074
  /** @description Client Error */
@@ -8576,26 +10091,24 @@ declare interface operations {
8576
10091
  };
8577
10092
  };
8578
10093
  };
8579
- public_register_api_public_auth_register_post: {
10094
+ get_user_api_integration_v1_users__external_id__get: {
8580
10095
  parameters: {
8581
10096
  query?: never;
8582
10097
  header?: never;
8583
- path?: never;
8584
- cookie?: never;
8585
- };
8586
- requestBody: {
8587
- content: {
8588
- "application/json": components["schemas"]["RegisterUserInput"];
10098
+ path: {
10099
+ external_id: string;
8589
10100
  };
10101
+ cookie?: never;
8590
10102
  };
10103
+ requestBody?: never;
8591
10104
  responses: {
8592
10105
  /** @description Successful Response */
8593
- 201: {
10106
+ 200: {
8594
10107
  headers: {
8595
10108
  [name: string]: unknown;
8596
10109
  };
8597
10110
  content: {
8598
- "application/json": components["schemas"]["AuthTokenResponse"];
10111
+ "application/json": components["schemas"]["IntegrationUserResponse"];
8599
10112
  };
8600
10113
  };
8601
10114
  /** @description Client Error */
@@ -8618,16 +10131,20 @@ declare interface operations {
8618
10131
  };
8619
10132
  };
8620
10133
  };
8621
- get_shared_thread_api_public_shared__share_id__get: {
10134
+ put_user_api_integration_v1_users__external_id__put: {
8622
10135
  parameters: {
8623
10136
  query?: never;
8624
10137
  header?: never;
8625
10138
  path: {
8626
- share_id: string;
10139
+ external_id: string;
8627
10140
  };
8628
10141
  cookie?: never;
8629
10142
  };
8630
- requestBody?: never;
10143
+ requestBody: {
10144
+ content: {
10145
+ "application/json": components["schemas"]["IntegrationUserInput"];
10146
+ };
10147
+ };
8631
10148
  responses: {
8632
10149
  /** @description Successful Response */
8633
10150
  200: {
@@ -8635,7 +10152,16 @@ declare interface operations {
8635
10152
  [name: string]: unknown;
8636
10153
  };
8637
10154
  content: {
8638
- "application/json": components["schemas"]["SharedThreadResponse"];
10155
+ "application/json": components["schemas"]["IntegrationUserResponse"];
10156
+ };
10157
+ };
10158
+ /** @description A new user */
10159
+ 201: {
10160
+ headers: {
10161
+ [name: string]: unknown;
10162
+ };
10163
+ content: {
10164
+ "application/json": components["schemas"]["IntegrationUserResponse"];
8639
10165
  };
8640
10166
  };
8641
10167
  /** @description Client Error */
@@ -8658,25 +10184,30 @@ declare interface operations {
8658
10184
  };
8659
10185
  };
8660
10186
  };
8661
- get_shared_attachment_api_public_shared__share_id__attachments__attachment_id__get: {
10187
+ grant_credits_api_integration_v1_users__external_id__credits_post: {
8662
10188
  parameters: {
8663
10189
  query?: never;
8664
- header?: never;
10190
+ header?: {
10191
+ "Idempotency-Key"?: string | null;
10192
+ };
8665
10193
  path: {
8666
- share_id: string;
8667
- attachment_id: string;
10194
+ external_id: string;
8668
10195
  };
8669
10196
  cookie?: never;
8670
10197
  };
8671
- requestBody?: never;
10198
+ requestBody: {
10199
+ content: {
10200
+ "application/json": components["schemas"]["CreditsGrantInput"];
10201
+ };
10202
+ };
8672
10203
  responses: {
8673
- /** @description The file, with the media type it was stored with */
10204
+ /** @description Successful Response */
8674
10205
  200: {
8675
10206
  headers: {
8676
10207
  [name: string]: unknown;
8677
10208
  };
8678
10209
  content: {
8679
- "application/octet-stream": unknown;
10210
+ "application/json": components["schemas"]["CreditsGrantResponse"];
8680
10211
  };
8681
10212
  };
8682
10213
  /** @description Client Error */
@@ -8699,11 +10230,13 @@ declare interface operations {
8699
10230
  };
8700
10231
  };
8701
10232
  };
8702
- get_public_status_api_status_get: {
10233
+ list_subscriptions_api_integration_v1_users__external_id__subscriptions_get: {
8703
10234
  parameters: {
8704
10235
  query?: never;
8705
10236
  header?: never;
8706
- path?: never;
10237
+ path: {
10238
+ external_id: string;
10239
+ };
8707
10240
  cookie?: never;
8708
10241
  };
8709
10242
  requestBody?: never;
@@ -8714,7 +10247,7 @@ declare interface operations {
8714
10247
  [name: string]: unknown;
8715
10248
  };
8716
10249
  content: {
8717
- "application/json": components["schemas"]["PublicStatus"];
10250
+ "application/json": components["schemas"]["SubscriptionList"];
8718
10251
  };
8719
10252
  };
8720
10253
  /** @description Client Error */
@@ -8737,14 +10270,21 @@ declare interface operations {
8737
10270
  };
8738
10271
  };
8739
10272
  };
8740
- get_me_api_users_me_get: {
10273
+ put_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__put: {
8741
10274
  parameters: {
8742
10275
  query?: never;
8743
10276
  header?: never;
8744
- path?: never;
10277
+ path: {
10278
+ external_id: string;
10279
+ subscription_external_id: string;
10280
+ };
8745
10281
  cookie?: never;
8746
10282
  };
8747
- requestBody?: never;
10283
+ requestBody: {
10284
+ content: {
10285
+ "application/json": components["schemas"]["SubscriptionInput"];
10286
+ };
10287
+ };
8748
10288
  responses: {
8749
10289
  /** @description Successful Response */
8750
10290
  200: {
@@ -8752,7 +10292,16 @@ declare interface operations {
8752
10292
  [name: string]: unknown;
8753
10293
  };
8754
10294
  content: {
8755
- "application/json": components["schemas"]["UserProfile"];
10295
+ "application/json": components["schemas"]["SubscriptionPutResponse"];
10296
+ };
10297
+ };
10298
+ /** @description A new subscription */
10299
+ 201: {
10300
+ headers: {
10301
+ [name: string]: unknown;
10302
+ };
10303
+ content: {
10304
+ "application/json": components["schemas"]["SubscriptionPutResponse"];
8756
10305
  };
8757
10306
  };
8758
10307
  /** @description Client Error */
@@ -8775,16 +10324,19 @@ declare interface operations {
8775
10324
  };
8776
10325
  };
8777
10326
  };
8778
- update_current_user_api_users_me_patch: {
10327
+ cancel_subscription_api_integration_v1_users__external_id__subscriptions__subscription_external_id__cancel_post: {
8779
10328
  parameters: {
8780
10329
  query?: never;
8781
10330
  header?: never;
8782
- path?: never;
10331
+ path: {
10332
+ external_id: string;
10333
+ subscription_external_id: string;
10334
+ };
8783
10335
  cookie?: never;
8784
10336
  };
8785
- requestBody: {
10337
+ requestBody?: {
8786
10338
  content: {
8787
- "application/json": components["schemas"]["UserUpdateInput"];
10339
+ "application/json": components["schemas"]["CancelSubscriptionInput"] | null;
8788
10340
  };
8789
10341
  };
8790
10342
  responses: {
@@ -8794,7 +10346,7 @@ declare interface operations {
8794
10346
  [name: string]: unknown;
8795
10347
  };
8796
10348
  content: {
8797
- "application/json": components["schemas"]["UserProfile"];
10349
+ "application/json": components["schemas"]["SubscriptionCancelResponse"];
8798
10350
  };
8799
10351
  };
8800
10352
  /** @description Client Error */
@@ -8817,11 +10369,13 @@ declare interface operations {
8817
10369
  };
8818
10370
  };
8819
10371
  };
8820
- get_my_entitlement_api_users_me_entitlement_get: {
10372
+ get_usage_api_integration_v1_users__external_id__usage_get: {
8821
10373
  parameters: {
8822
10374
  query?: never;
8823
10375
  header?: never;
8824
- path?: never;
10376
+ path: {
10377
+ external_id: string;
10378
+ };
8825
10379
  cookie?: never;
8826
10380
  };
8827
10381
  requestBody?: never;
@@ -8855,7 +10409,7 @@ declare interface operations {
8855
10409
  };
8856
10410
  };
8857
10411
  };
8858
- submit_user_report_api_users_me_reports_post: {
10412
+ public_login_api_public_auth_login_post: {
8859
10413
  parameters: {
8860
10414
  query?: never;
8861
10415
  header?: never;
@@ -8864,17 +10418,17 @@ declare interface operations {
8864
10418
  };
8865
10419
  requestBody: {
8866
10420
  content: {
8867
- "application/json": components["schemas"]["UserReportCreateInput"];
10421
+ "application/json": components["schemas"]["LoginInput"];
8868
10422
  };
8869
10423
  };
8870
10424
  responses: {
8871
10425
  /** @description Successful Response */
8872
- 201: {
10426
+ 200: {
8873
10427
  headers: {
8874
10428
  [name: string]: unknown;
8875
10429
  };
8876
10430
  content: {
8877
- "application/json": components["schemas"]["UserReportResponse"];
10431
+ "application/json": components["schemas"]["AuthTokenResponse"];
8878
10432
  };
8879
10433
  };
8880
10434
  /** @description Client Error */
@@ -8897,22 +10451,26 @@ declare interface operations {
8897
10451
  };
8898
10452
  };
8899
10453
  };
8900
- health_check_health_get: {
10454
+ public_register_api_public_auth_register_post: {
8901
10455
  parameters: {
8902
10456
  query?: never;
8903
10457
  header?: never;
8904
10458
  path?: never;
8905
10459
  cookie?: never;
8906
10460
  };
8907
- requestBody?: never;
10461
+ requestBody: {
10462
+ content: {
10463
+ "application/json": components["schemas"]["RegisterUserInput"];
10464
+ };
10465
+ };
8908
10466
  responses: {
8909
10467
  /** @description Successful Response */
8910
- 200: {
10468
+ 201: {
8911
10469
  headers: {
8912
10470
  [name: string]: unknown;
8913
10471
  };
8914
10472
  content: {
8915
- "application/json": components["schemas"]["Liveness"];
10473
+ "application/json": components["schemas"]["AuthTokenResponse"];
8916
10474
  };
8917
10475
  };
8918
10476
  /** @description Client Error */
@@ -8935,11 +10493,13 @@ declare interface operations {
8935
10493
  };
8936
10494
  };
8937
10495
  };
8938
- readiness_check_health_ready_get: {
10496
+ get_shared_thread_api_public_shared__share_id__get: {
8939
10497
  parameters: {
8940
10498
  query?: never;
8941
10499
  header?: never;
8942
- path?: never;
10500
+ path: {
10501
+ share_id: string;
10502
+ };
8943
10503
  cookie?: never;
8944
10504
  };
8945
10505
  requestBody?: never;
@@ -8950,15 +10510,8 @@ declare interface operations {
8950
10510
  [name: string]: unknown;
8951
10511
  };
8952
10512
  content: {
8953
- "application/json": components["schemas"]["Readiness"];
8954
- };
8955
- };
8956
- /** @description The database doesn't answer */
8957
- 503: {
8958
- headers: {
8959
- [name: string]: unknown;
10513
+ "application/json": components["schemas"]["SharedThreadResponse"];
8960
10514
  };
8961
- content?: never;
8962
10515
  };
8963
10516
  /** @description Client Error */
8964
10517
  "4XX": {
@@ -8980,54 +10533,742 @@ declare interface operations {
8980
10533
  };
8981
10534
  };
8982
10535
  };
8983
- }
8984
-
8985
- declare type ParametersOf<O> = O extends {
8986
- parameters: infer Ps;
8987
- } ? Ps : never;
8988
-
8989
- declare type PathParams<O> = ParametersOf<O> extends {
8990
- path: infer X;
8991
- } ? X : never;
8992
-
8993
- /**
8994
- * This file was auto-generated by openapi-typescript.
8995
- * Do not make direct changes to the file.
8996
- */
8997
- declare interface paths {
8998
- "/api/admin/admins": {
8999
- parameters: {
9000
- query?: never;
9001
- header?: never;
9002
- path?: never;
9003
- cookie?: never;
9004
- };
9005
- /**
9006
- * List Admins
9007
- * @description Endpoint to list all admins.
9008
- */
9009
- get: operations["list_admins_api_admin_admins_get"];
9010
- put?: never;
9011
- /**
9012
- * Register Admin
9013
- * @description Endpoint to register a new admin.
9014
- */
9015
- post: operations["register_admin_api_admin_admins_post"];
9016
- delete?: never;
9017
- options?: never;
9018
- head?: never;
9019
- patch?: never;
9020
- trace?: never;
9021
- };
9022
- "/api/admin/admins/{admin_id}": {
10536
+ get_shared_attachment_api_public_shared__share_id__attachments__attachment_id__get: {
9023
10537
  parameters: {
9024
10538
  query?: never;
9025
10539
  header?: never;
9026
- path?: never;
10540
+ path: {
10541
+ share_id: string;
10542
+ attachment_id: string;
10543
+ };
9027
10544
  cookie?: never;
9028
10545
  };
9029
- get?: never;
9030
- put?: never;
10546
+ requestBody?: never;
10547
+ responses: {
10548
+ /** @description The file, with the media type it was stored with */
10549
+ 200: {
10550
+ headers: {
10551
+ [name: string]: unknown;
10552
+ };
10553
+ content: {
10554
+ "application/octet-stream": unknown;
10555
+ };
10556
+ };
10557
+ /** @description Client Error */
10558
+ "4XX": {
10559
+ headers: {
10560
+ [name: string]: unknown;
10561
+ };
10562
+ content: {
10563
+ "application/json": components["schemas"]["ErrorResponse"];
10564
+ };
10565
+ };
10566
+ /** @description Server Error */
10567
+ "5XX": {
10568
+ headers: {
10569
+ [name: string]: unknown;
10570
+ };
10571
+ content: {
10572
+ "application/json": components["schemas"]["ErrorResponse"];
10573
+ };
10574
+ };
10575
+ };
10576
+ };
10577
+ list_schedules_api_schedules_get: {
10578
+ parameters: {
10579
+ query?: never;
10580
+ header?: never;
10581
+ path?: never;
10582
+ cookie?: never;
10583
+ };
10584
+ requestBody?: never;
10585
+ responses: {
10586
+ /** @description Successful Response */
10587
+ 200: {
10588
+ headers: {
10589
+ [name: string]: unknown;
10590
+ };
10591
+ content: {
10592
+ "application/json": components["schemas"]["ScheduleListResponse"];
10593
+ };
10594
+ };
10595
+ /** @description Client Error */
10596
+ "4XX": {
10597
+ headers: {
10598
+ [name: string]: unknown;
10599
+ };
10600
+ content: {
10601
+ "application/json": components["schemas"]["ErrorResponse"];
10602
+ };
10603
+ };
10604
+ /** @description Server Error */
10605
+ "5XX": {
10606
+ headers: {
10607
+ [name: string]: unknown;
10608
+ };
10609
+ content: {
10610
+ "application/json": components["schemas"]["ErrorResponse"];
10611
+ };
10612
+ };
10613
+ };
10614
+ };
10615
+ create_schedule_api_schedules_post: {
10616
+ parameters: {
10617
+ query?: never;
10618
+ header?: never;
10619
+ path?: never;
10620
+ cookie?: never;
10621
+ };
10622
+ requestBody: {
10623
+ content: {
10624
+ "application/json": components["schemas"]["ScheduleCreateInput"];
10625
+ };
10626
+ };
10627
+ responses: {
10628
+ /** @description Successful Response */
10629
+ 201: {
10630
+ headers: {
10631
+ [name: string]: unknown;
10632
+ };
10633
+ content: {
10634
+ "application/json": components["schemas"]["ScheduleView"];
10635
+ };
10636
+ };
10637
+ /** @description Client Error */
10638
+ "4XX": {
10639
+ headers: {
10640
+ [name: string]: unknown;
10641
+ };
10642
+ content: {
10643
+ "application/json": components["schemas"]["ErrorResponse"];
10644
+ };
10645
+ };
10646
+ /** @description Server Error */
10647
+ "5XX": {
10648
+ headers: {
10649
+ [name: string]: unknown;
10650
+ };
10651
+ content: {
10652
+ "application/json": components["schemas"]["ErrorResponse"];
10653
+ };
10654
+ };
10655
+ };
10656
+ };
10657
+ get_schedule_api_schedules__schedule_id__get: {
10658
+ parameters: {
10659
+ query?: never;
10660
+ header?: never;
10661
+ path: {
10662
+ schedule_id: string;
10663
+ };
10664
+ cookie?: never;
10665
+ };
10666
+ requestBody?: never;
10667
+ responses: {
10668
+ /** @description Successful Response */
10669
+ 200: {
10670
+ headers: {
10671
+ [name: string]: unknown;
10672
+ };
10673
+ content: {
10674
+ "application/json": components["schemas"]["ScheduleView"];
10675
+ };
10676
+ };
10677
+ /** @description Client Error */
10678
+ "4XX": {
10679
+ headers: {
10680
+ [name: string]: unknown;
10681
+ };
10682
+ content: {
10683
+ "application/json": components["schemas"]["ErrorResponse"];
10684
+ };
10685
+ };
10686
+ /** @description Server Error */
10687
+ "5XX": {
10688
+ headers: {
10689
+ [name: string]: unknown;
10690
+ };
10691
+ content: {
10692
+ "application/json": components["schemas"]["ErrorResponse"];
10693
+ };
10694
+ };
10695
+ };
10696
+ };
10697
+ delete_schedule_api_schedules__schedule_id__delete: {
10698
+ parameters: {
10699
+ query?: never;
10700
+ header?: never;
10701
+ path: {
10702
+ schedule_id: string;
10703
+ };
10704
+ cookie?: never;
10705
+ };
10706
+ requestBody?: never;
10707
+ responses: {
10708
+ /** @description Successful Response */
10709
+ 200: {
10710
+ headers: {
10711
+ [name: string]: unknown;
10712
+ };
10713
+ content: {
10714
+ "application/json": components["schemas"]["StatusResponse"];
10715
+ };
10716
+ };
10717
+ /** @description Client Error */
10718
+ "4XX": {
10719
+ headers: {
10720
+ [name: string]: unknown;
10721
+ };
10722
+ content: {
10723
+ "application/json": components["schemas"]["ErrorResponse"];
10724
+ };
10725
+ };
10726
+ /** @description Server Error */
10727
+ "5XX": {
10728
+ headers: {
10729
+ [name: string]: unknown;
10730
+ };
10731
+ content: {
10732
+ "application/json": components["schemas"]["ErrorResponse"];
10733
+ };
10734
+ };
10735
+ };
10736
+ };
10737
+ update_schedule_api_schedules__schedule_id__patch: {
10738
+ parameters: {
10739
+ query?: never;
10740
+ header?: never;
10741
+ path: {
10742
+ schedule_id: string;
10743
+ };
10744
+ cookie?: never;
10745
+ };
10746
+ requestBody: {
10747
+ content: {
10748
+ "application/json": components["schemas"]["ScheduleUpdateInput"];
10749
+ };
10750
+ };
10751
+ responses: {
10752
+ /** @description Successful Response */
10753
+ 200: {
10754
+ headers: {
10755
+ [name: string]: unknown;
10756
+ };
10757
+ content: {
10758
+ "application/json": components["schemas"]["ScheduleView"];
10759
+ };
10760
+ };
10761
+ /** @description Client Error */
10762
+ "4XX": {
10763
+ headers: {
10764
+ [name: string]: unknown;
10765
+ };
10766
+ content: {
10767
+ "application/json": components["schemas"]["ErrorResponse"];
10768
+ };
10769
+ };
10770
+ /** @description Server Error */
10771
+ "5XX": {
10772
+ headers: {
10773
+ [name: string]: unknown;
10774
+ };
10775
+ content: {
10776
+ "application/json": components["schemas"]["ErrorResponse"];
10777
+ };
10778
+ };
10779
+ };
10780
+ };
10781
+ pause_schedule_api_schedules__schedule_id__pause_post: {
10782
+ parameters: {
10783
+ query?: never;
10784
+ header?: never;
10785
+ path: {
10786
+ schedule_id: string;
10787
+ };
10788
+ cookie?: never;
10789
+ };
10790
+ requestBody?: never;
10791
+ responses: {
10792
+ /** @description Successful Response */
10793
+ 200: {
10794
+ headers: {
10795
+ [name: string]: unknown;
10796
+ };
10797
+ content: {
10798
+ "application/json": components["schemas"]["ScheduleView"];
10799
+ };
10800
+ };
10801
+ /** @description Client Error */
10802
+ "4XX": {
10803
+ headers: {
10804
+ [name: string]: unknown;
10805
+ };
10806
+ content: {
10807
+ "application/json": components["schemas"]["ErrorResponse"];
10808
+ };
10809
+ };
10810
+ /** @description Server Error */
10811
+ "5XX": {
10812
+ headers: {
10813
+ [name: string]: unknown;
10814
+ };
10815
+ content: {
10816
+ "application/json": components["schemas"]["ErrorResponse"];
10817
+ };
10818
+ };
10819
+ };
10820
+ };
10821
+ resume_schedule_api_schedules__schedule_id__resume_post: {
10822
+ parameters: {
10823
+ query?: never;
10824
+ header?: never;
10825
+ path: {
10826
+ schedule_id: string;
10827
+ };
10828
+ cookie?: never;
10829
+ };
10830
+ requestBody?: never;
10831
+ responses: {
10832
+ /** @description Successful Response */
10833
+ 200: {
10834
+ headers: {
10835
+ [name: string]: unknown;
10836
+ };
10837
+ content: {
10838
+ "application/json": components["schemas"]["ScheduleView"];
10839
+ };
10840
+ };
10841
+ /** @description Client Error */
10842
+ "4XX": {
10843
+ headers: {
10844
+ [name: string]: unknown;
10845
+ };
10846
+ content: {
10847
+ "application/json": components["schemas"]["ErrorResponse"];
10848
+ };
10849
+ };
10850
+ /** @description Server Error */
10851
+ "5XX": {
10852
+ headers: {
10853
+ [name: string]: unknown;
10854
+ };
10855
+ content: {
10856
+ "application/json": components["schemas"]["ErrorResponse"];
10857
+ };
10858
+ };
10859
+ };
10860
+ };
10861
+ run_schedule_now_api_schedules__schedule_id__run_post: {
10862
+ parameters: {
10863
+ query?: never;
10864
+ header?: never;
10865
+ path: {
10866
+ schedule_id: string;
10867
+ };
10868
+ cookie?: never;
10869
+ };
10870
+ requestBody?: never;
10871
+ responses: {
10872
+ /** @description Successful Response */
10873
+ 200: {
10874
+ headers: {
10875
+ [name: string]: unknown;
10876
+ };
10877
+ content: {
10878
+ "application/json": components["schemas"]["ScheduleRunView"];
10879
+ };
10880
+ };
10881
+ /** @description Client Error */
10882
+ "4XX": {
10883
+ headers: {
10884
+ [name: string]: unknown;
10885
+ };
10886
+ content: {
10887
+ "application/json": components["schemas"]["ErrorResponse"];
10888
+ };
10889
+ };
10890
+ /** @description Server Error */
10891
+ "5XX": {
10892
+ headers: {
10893
+ [name: string]: unknown;
10894
+ };
10895
+ content: {
10896
+ "application/json": components["schemas"]["ErrorResponse"];
10897
+ };
10898
+ };
10899
+ };
10900
+ };
10901
+ list_schedule_runs_api_schedules__schedule_id__runs_get: {
10902
+ parameters: {
10903
+ query?: {
10904
+ limit?: number;
10905
+ };
10906
+ header?: never;
10907
+ path: {
10908
+ schedule_id: string;
10909
+ };
10910
+ cookie?: never;
10911
+ };
10912
+ requestBody?: never;
10913
+ responses: {
10914
+ /** @description Successful Response */
10915
+ 200: {
10916
+ headers: {
10917
+ [name: string]: unknown;
10918
+ };
10919
+ content: {
10920
+ "application/json": components["schemas"]["ScheduleRunListResponse"];
10921
+ };
10922
+ };
10923
+ /** @description Client Error */
10924
+ "4XX": {
10925
+ headers: {
10926
+ [name: string]: unknown;
10927
+ };
10928
+ content: {
10929
+ "application/json": components["schemas"]["ErrorResponse"];
10930
+ };
10931
+ };
10932
+ /** @description Server Error */
10933
+ "5XX": {
10934
+ headers: {
10935
+ [name: string]: unknown;
10936
+ };
10937
+ content: {
10938
+ "application/json": components["schemas"]["ErrorResponse"];
10939
+ };
10940
+ };
10941
+ };
10942
+ };
10943
+ get_public_status_api_status_get: {
10944
+ parameters: {
10945
+ query?: never;
10946
+ header?: never;
10947
+ path?: never;
10948
+ cookie?: never;
10949
+ };
10950
+ requestBody?: never;
10951
+ responses: {
10952
+ /** @description Successful Response */
10953
+ 200: {
10954
+ headers: {
10955
+ [name: string]: unknown;
10956
+ };
10957
+ content: {
10958
+ "application/json": components["schemas"]["PublicStatus"];
10959
+ };
10960
+ };
10961
+ /** @description Client Error */
10962
+ "4XX": {
10963
+ headers: {
10964
+ [name: string]: unknown;
10965
+ };
10966
+ content: {
10967
+ "application/json": components["schemas"]["ErrorResponse"];
10968
+ };
10969
+ };
10970
+ /** @description Server Error */
10971
+ "5XX": {
10972
+ headers: {
10973
+ [name: string]: unknown;
10974
+ };
10975
+ content: {
10976
+ "application/json": components["schemas"]["ErrorResponse"];
10977
+ };
10978
+ };
10979
+ };
10980
+ };
10981
+ get_me_api_users_me_get: {
10982
+ parameters: {
10983
+ query?: never;
10984
+ header?: never;
10985
+ path?: never;
10986
+ cookie?: never;
10987
+ };
10988
+ requestBody?: never;
10989
+ responses: {
10990
+ /** @description Successful Response */
10991
+ 200: {
10992
+ headers: {
10993
+ [name: string]: unknown;
10994
+ };
10995
+ content: {
10996
+ "application/json": components["schemas"]["UserProfile"];
10997
+ };
10998
+ };
10999
+ /** @description Client Error */
11000
+ "4XX": {
11001
+ headers: {
11002
+ [name: string]: unknown;
11003
+ };
11004
+ content: {
11005
+ "application/json": components["schemas"]["ErrorResponse"];
11006
+ };
11007
+ };
11008
+ /** @description Server Error */
11009
+ "5XX": {
11010
+ headers: {
11011
+ [name: string]: unknown;
11012
+ };
11013
+ content: {
11014
+ "application/json": components["schemas"]["ErrorResponse"];
11015
+ };
11016
+ };
11017
+ };
11018
+ };
11019
+ update_current_user_api_users_me_patch: {
11020
+ parameters: {
11021
+ query?: never;
11022
+ header?: never;
11023
+ path?: never;
11024
+ cookie?: never;
11025
+ };
11026
+ requestBody: {
11027
+ content: {
11028
+ "application/json": components["schemas"]["UserUpdateInput"];
11029
+ };
11030
+ };
11031
+ responses: {
11032
+ /** @description Successful Response */
11033
+ 200: {
11034
+ headers: {
11035
+ [name: string]: unknown;
11036
+ };
11037
+ content: {
11038
+ "application/json": components["schemas"]["UserProfile"];
11039
+ };
11040
+ };
11041
+ /** @description Client Error */
11042
+ "4XX": {
11043
+ headers: {
11044
+ [name: string]: unknown;
11045
+ };
11046
+ content: {
11047
+ "application/json": components["schemas"]["ErrorResponse"];
11048
+ };
11049
+ };
11050
+ /** @description Server Error */
11051
+ "5XX": {
11052
+ headers: {
11053
+ [name: string]: unknown;
11054
+ };
11055
+ content: {
11056
+ "application/json": components["schemas"]["ErrorResponse"];
11057
+ };
11058
+ };
11059
+ };
11060
+ };
11061
+ get_my_entitlement_api_users_me_entitlement_get: {
11062
+ parameters: {
11063
+ query?: never;
11064
+ header?: never;
11065
+ path?: never;
11066
+ cookie?: never;
11067
+ };
11068
+ requestBody?: never;
11069
+ responses: {
11070
+ /** @description Successful Response */
11071
+ 200: {
11072
+ headers: {
11073
+ [name: string]: unknown;
11074
+ };
11075
+ content: {
11076
+ "application/json": components["schemas"]["EntitlementStatus"];
11077
+ };
11078
+ };
11079
+ /** @description Client Error */
11080
+ "4XX": {
11081
+ headers: {
11082
+ [name: string]: unknown;
11083
+ };
11084
+ content: {
11085
+ "application/json": components["schemas"]["ErrorResponse"];
11086
+ };
11087
+ };
11088
+ /** @description Server Error */
11089
+ "5XX": {
11090
+ headers: {
11091
+ [name: string]: unknown;
11092
+ };
11093
+ content: {
11094
+ "application/json": components["schemas"]["ErrorResponse"];
11095
+ };
11096
+ };
11097
+ };
11098
+ };
11099
+ submit_user_report_api_users_me_reports_post: {
11100
+ parameters: {
11101
+ query?: never;
11102
+ header?: never;
11103
+ path?: never;
11104
+ cookie?: never;
11105
+ };
11106
+ requestBody: {
11107
+ content: {
11108
+ "application/json": components["schemas"]["UserReportCreateInput"];
11109
+ };
11110
+ };
11111
+ responses: {
11112
+ /** @description Successful Response */
11113
+ 201: {
11114
+ headers: {
11115
+ [name: string]: unknown;
11116
+ };
11117
+ content: {
11118
+ "application/json": components["schemas"]["UserReportResponse"];
11119
+ };
11120
+ };
11121
+ /** @description Client Error */
11122
+ "4XX": {
11123
+ headers: {
11124
+ [name: string]: unknown;
11125
+ };
11126
+ content: {
11127
+ "application/json": components["schemas"]["ErrorResponse"];
11128
+ };
11129
+ };
11130
+ /** @description Server Error */
11131
+ "5XX": {
11132
+ headers: {
11133
+ [name: string]: unknown;
11134
+ };
11135
+ content: {
11136
+ "application/json": components["schemas"]["ErrorResponse"];
11137
+ };
11138
+ };
11139
+ };
11140
+ };
11141
+ health_check_health_get: {
11142
+ parameters: {
11143
+ query?: never;
11144
+ header?: never;
11145
+ path?: never;
11146
+ cookie?: never;
11147
+ };
11148
+ requestBody?: never;
11149
+ responses: {
11150
+ /** @description Successful Response */
11151
+ 200: {
11152
+ headers: {
11153
+ [name: string]: unknown;
11154
+ };
11155
+ content: {
11156
+ "application/json": components["schemas"]["Liveness"];
11157
+ };
11158
+ };
11159
+ /** @description Client Error */
11160
+ "4XX": {
11161
+ headers: {
11162
+ [name: string]: unknown;
11163
+ };
11164
+ content: {
11165
+ "application/json": components["schemas"]["ErrorResponse"];
11166
+ };
11167
+ };
11168
+ /** @description Server Error */
11169
+ "5XX": {
11170
+ headers: {
11171
+ [name: string]: unknown;
11172
+ };
11173
+ content: {
11174
+ "application/json": components["schemas"]["ErrorResponse"];
11175
+ };
11176
+ };
11177
+ };
11178
+ };
11179
+ readiness_check_health_ready_get: {
11180
+ parameters: {
11181
+ query?: never;
11182
+ header?: never;
11183
+ path?: never;
11184
+ cookie?: never;
11185
+ };
11186
+ requestBody?: never;
11187
+ responses: {
11188
+ /** @description Successful Response */
11189
+ 200: {
11190
+ headers: {
11191
+ [name: string]: unknown;
11192
+ };
11193
+ content: {
11194
+ "application/json": components["schemas"]["Readiness"];
11195
+ };
11196
+ };
11197
+ /** @description The database doesn't answer */
11198
+ 503: {
11199
+ headers: {
11200
+ [name: string]: unknown;
11201
+ };
11202
+ content?: never;
11203
+ };
11204
+ /** @description Client Error */
11205
+ "4XX": {
11206
+ headers: {
11207
+ [name: string]: unknown;
11208
+ };
11209
+ content: {
11210
+ "application/json": components["schemas"]["ErrorResponse"];
11211
+ };
11212
+ };
11213
+ /** @description Server Error */
11214
+ "5XX": {
11215
+ headers: {
11216
+ [name: string]: unknown;
11217
+ };
11218
+ content: {
11219
+ "application/json": components["schemas"]["ErrorResponse"];
11220
+ };
11221
+ };
11222
+ };
11223
+ };
11224
+ }
11225
+
11226
+ declare type ParametersOf<O> = O extends {
11227
+ parameters: infer Ps;
11228
+ } ? Ps : never;
11229
+
11230
+ declare type PathParams<O> = ParametersOf<O> extends {
11231
+ path: infer X;
11232
+ } ? X : never;
11233
+
11234
+ /**
11235
+ * This file was auto-generated by openapi-typescript.
11236
+ * Do not make direct changes to the file.
11237
+ */
11238
+ declare interface paths {
11239
+ "/api/admin/admins": {
11240
+ parameters: {
11241
+ query?: never;
11242
+ header?: never;
11243
+ path?: never;
11244
+ cookie?: never;
11245
+ };
11246
+ /**
11247
+ * List Admins
11248
+ * @description Endpoint to list all admins.
11249
+ */
11250
+ get: operations["list_admins_api_admin_admins_get"];
11251
+ put?: never;
11252
+ /**
11253
+ * Register Admin
11254
+ * @description Endpoint to register a new admin.
11255
+ */
11256
+ post: operations["register_admin_api_admin_admins_post"];
11257
+ delete?: never;
11258
+ options?: never;
11259
+ head?: never;
11260
+ patch?: never;
11261
+ trace?: never;
11262
+ };
11263
+ "/api/admin/admins/{admin_id}": {
11264
+ parameters: {
11265
+ query?: never;
11266
+ header?: never;
11267
+ path?: never;
11268
+ cookie?: never;
11269
+ };
11270
+ get?: never;
11271
+ put?: never;
9031
11272
  post?: never;
9032
11273
  /**
9033
11274
  * Delete Admin
@@ -9431,6 +11672,74 @@ declare interface paths {
9431
11672
  patch?: never;
9432
11673
  trace?: never;
9433
11674
  };
11675
+ "/api/admin/connectors": {
11676
+ parameters: {
11677
+ query?: never;
11678
+ header?: never;
11679
+ path?: never;
11680
+ cookie?: never;
11681
+ };
11682
+ /**
11683
+ * Admin List Connectors
11684
+ * @description List code-defined and admin-managed connectors.
11685
+ */
11686
+ get: operations["admin_list_connectors_api_admin_connectors_get"];
11687
+ put?: never;
11688
+ /**
11689
+ * Admin Create Connector
11690
+ * @description Register a new admin-managed remote MCP connector.
11691
+ */
11692
+ post: operations["admin_create_connector_api_admin_connectors_post"];
11693
+ delete?: never;
11694
+ options?: never;
11695
+ head?: never;
11696
+ patch?: never;
11697
+ trace?: never;
11698
+ };
11699
+ "/api/admin/connectors/{connector_id}": {
11700
+ parameters: {
11701
+ query?: never;
11702
+ header?: never;
11703
+ path?: never;
11704
+ cookie?: never;
11705
+ };
11706
+ get?: never;
11707
+ put?: never;
11708
+ post?: never;
11709
+ /**
11710
+ * Admin Delete Connector
11711
+ * @description Delete an admin-managed connector and all associated user connections.
11712
+ */
11713
+ delete: operations["admin_delete_connector_api_admin_connectors__connector_id__delete"];
11714
+ options?: never;
11715
+ head?: never;
11716
+ /**
11717
+ * Admin Update Connector
11718
+ * @description Update an admin-managed connector (or toggle ``global_enabled`` on a code connector).
11719
+ */
11720
+ patch: operations["admin_update_connector_api_admin_connectors__connector_id__patch"];
11721
+ trace?: never;
11722
+ };
11723
+ "/api/admin/connectors/{connector_id}/test": {
11724
+ parameters: {
11725
+ query?: never;
11726
+ header?: never;
11727
+ path?: never;
11728
+ cookie?: never;
11729
+ };
11730
+ get?: never;
11731
+ put?: never;
11732
+ /**
11733
+ * Admin Test Connector
11734
+ * @description Test connectivity and tool discovery for an admin-managed connector.
11735
+ */
11736
+ post: operations["admin_test_connector_api_admin_connectors__connector_id__test_post"];
11737
+ delete?: never;
11738
+ options?: never;
11739
+ head?: never;
11740
+ patch?: never;
11741
+ trace?: never;
11742
+ };
9434
11743
  "/api/admin/jobs": {
9435
11744
  parameters: {
9436
11745
  query?: never;
@@ -9773,7 +12082,113 @@ declare interface paths {
9773
12082
  patch: operations["update_plan_api_admin_plans__key__patch"];
9774
12083
  trace?: never;
9775
12084
  };
9776
- "/api/admin/plans/{key}/features": {
12085
+ "/api/admin/plans/{key}/features": {
12086
+ parameters: {
12087
+ query?: never;
12088
+ header?: never;
12089
+ path?: never;
12090
+ cookie?: never;
12091
+ };
12092
+ get?: never;
12093
+ /**
12094
+ * Set Plan Features
12095
+ * @description Switch features on or off for a plan, including one declared in code.
12096
+ *
12097
+ * Subscribers get the change on their next turn.
12098
+ */
12099
+ put: operations["set_plan_features_api_admin_plans__key__features_put"];
12100
+ post?: never;
12101
+ delete?: never;
12102
+ options?: never;
12103
+ head?: never;
12104
+ patch?: never;
12105
+ trace?: never;
12106
+ };
12107
+ "/api/admin/reports": {
12108
+ parameters: {
12109
+ query?: never;
12110
+ header?: never;
12111
+ path?: never;
12112
+ cookie?: never;
12113
+ };
12114
+ /**
12115
+ * List Reports
12116
+ * @description List user-submitted feedback reports, newest first.
12117
+ */
12118
+ get: operations["list_reports_api_admin_reports_get"];
12119
+ put?: never;
12120
+ post?: never;
12121
+ delete?: never;
12122
+ options?: never;
12123
+ head?: never;
12124
+ patch?: never;
12125
+ trace?: never;
12126
+ };
12127
+ "/api/admin/reports/{report_id}": {
12128
+ parameters: {
12129
+ query?: never;
12130
+ header?: never;
12131
+ path?: never;
12132
+ cookie?: never;
12133
+ };
12134
+ get?: never;
12135
+ put?: never;
12136
+ post?: never;
12137
+ /**
12138
+ * Delete Report
12139
+ * @description Delete a user report and any attachment it claimed.
12140
+ */
12141
+ delete: operations["delete_report_api_admin_reports__report_id__delete"];
12142
+ options?: never;
12143
+ head?: never;
12144
+ /**
12145
+ * Update Report Status
12146
+ * @description Mark a report open or resolved.
12147
+ */
12148
+ patch: operations["update_report_status_api_admin_reports__report_id__patch"];
12149
+ trace?: never;
12150
+ };
12151
+ "/api/admin/reports/{report_id}/attachment": {
12152
+ parameters: {
12153
+ query?: never;
12154
+ header?: never;
12155
+ path?: never;
12156
+ cookie?: never;
12157
+ };
12158
+ /**
12159
+ * Get Report Attachment
12160
+ * @description Serve the file attached to a user report.
12161
+ */
12162
+ get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
12163
+ put?: never;
12164
+ post?: never;
12165
+ delete?: never;
12166
+ options?: never;
12167
+ head?: never;
12168
+ patch?: never;
12169
+ trace?: never;
12170
+ };
12171
+ "/api/admin/schedules": {
12172
+ parameters: {
12173
+ query?: never;
12174
+ header?: never;
12175
+ path?: never;
12176
+ cookie?: never;
12177
+ };
12178
+ /**
12179
+ * Admin List Schedules
12180
+ * @description List scheduled tasks across all users for the admin Operations tab.
12181
+ */
12182
+ get: operations["admin_list_schedules_api_admin_schedules_get"];
12183
+ put?: never;
12184
+ post?: never;
12185
+ delete?: never;
12186
+ options?: never;
12187
+ head?: never;
12188
+ patch?: never;
12189
+ trace?: never;
12190
+ };
12191
+ "/api/admin/schedules/{schedule_id}": {
9777
12192
  parameters: {
9778
12193
  query?: never;
9779
12194
  header?: never;
@@ -9781,41 +12196,39 @@ declare interface paths {
9781
12196
  cookie?: never;
9782
12197
  };
9783
12198
  get?: never;
12199
+ put?: never;
12200
+ post?: never;
9784
12201
  /**
9785
- * Set Plan Features
9786
- * @description Switch features on or off for a plan, including one declared in code.
9787
- *
9788
- * Subscribers get the change on their next turn.
12202
+ * Admin Delete Schedule
12203
+ * @description Delete any user's scheduled task as an administrator.
9789
12204
  */
9790
- put: operations["set_plan_features_api_admin_plans__key__features_put"];
9791
- post?: never;
9792
- delete?: never;
12205
+ delete: operations["admin_delete_schedule_api_admin_schedules__schedule_id__delete"];
9793
12206
  options?: never;
9794
12207
  head?: never;
9795
12208
  patch?: never;
9796
12209
  trace?: never;
9797
12210
  };
9798
- "/api/admin/reports": {
12211
+ "/api/admin/schedules/{schedule_id}/pause": {
9799
12212
  parameters: {
9800
12213
  query?: never;
9801
12214
  header?: never;
9802
12215
  path?: never;
9803
12216
  cookie?: never;
9804
12217
  };
12218
+ get?: never;
12219
+ put?: never;
9805
12220
  /**
9806
- * List Reports
9807
- * @description List user-submitted feedback reports, newest first.
12221
+ * Admin Pause Schedule
12222
+ * @description Pause any user's scheduled task as an administrator.
9808
12223
  */
9809
- get: operations["list_reports_api_admin_reports_get"];
9810
- put?: never;
9811
- post?: never;
12224
+ post: operations["admin_pause_schedule_api_admin_schedules__schedule_id__pause_post"];
9812
12225
  delete?: never;
9813
12226
  options?: never;
9814
12227
  head?: never;
9815
12228
  patch?: never;
9816
12229
  trace?: never;
9817
12230
  };
9818
- "/api/admin/reports/{report_id}": {
12231
+ "/api/admin/schedules/{schedule_id}/resume": {
9819
12232
  parameters: {
9820
12233
  query?: never;
9821
12234
  header?: never;
@@ -9824,22 +12237,18 @@ declare interface paths {
9824
12237
  };
9825
12238
  get?: never;
9826
12239
  put?: never;
9827
- post?: never;
9828
12240
  /**
9829
- * Delete Report
9830
- * @description Delete a user report and any attachment it claimed.
12241
+ * Admin Resume Schedule
12242
+ * @description Resume any user's scheduled task as an administrator.
9831
12243
  */
9832
- delete: operations["delete_report_api_admin_reports__report_id__delete"];
12244
+ post: operations["admin_resume_schedule_api_admin_schedules__schedule_id__resume_post"];
12245
+ delete?: never;
9833
12246
  options?: never;
9834
12247
  head?: never;
9835
- /**
9836
- * Update Report Status
9837
- * @description Mark a report open or resolved.
9838
- */
9839
- patch: operations["update_report_status_api_admin_reports__report_id__patch"];
12248
+ patch?: never;
9840
12249
  trace?: never;
9841
12250
  };
9842
- "/api/admin/reports/{report_id}/attachment": {
12251
+ "/api/admin/schedules/{schedule_id}/runs": {
9843
12252
  parameters: {
9844
12253
  query?: never;
9845
12254
  header?: never;
@@ -9847,10 +12256,10 @@ declare interface paths {
9847
12256
  cookie?: never;
9848
12257
  };
9849
12258
  /**
9850
- * Get Report Attachment
9851
- * @description Serve the file attached to a user report.
12259
+ * Admin List Schedule Runs
12260
+ * @description List recent runs of any user's scheduled task.
9852
12261
  */
9853
- get: operations["get_report_attachment_api_admin_reports__report_id__attachment_get"];
12262
+ get: operations["admin_list_schedule_runs_api_admin_schedules__schedule_id__runs_get"];
9854
12263
  put?: never;
9855
12264
  post?: never;
9856
12265
  delete?: never;
@@ -10302,7 +12711,228 @@ declare interface paths {
10302
12711
  patch?: never;
10303
12712
  trace?: never;
10304
12713
  };
10305
- "/api/chat": {
12714
+ "/api/chat": {
12715
+ parameters: {
12716
+ query?: never;
12717
+ header?: never;
12718
+ path?: never;
12719
+ cookie?: never;
12720
+ };
12721
+ get?: never;
12722
+ put?: never;
12723
+ /**
12724
+ * Chat
12725
+ * @description Sends a message and streams the reply.
12726
+ *
12727
+ * The body is the new message and the stored message it follows; the server loads the rest of
12728
+ * the thread from the store, and the context policy chooses what of it the model sees. Sending
12729
+ * a stored message's id again after the same parent retries it, replacing what followed.
12730
+ *
12731
+ * In a thread, the turn runs on the server to its end whether or not the response is read: its
12732
+ * stream opens with a `data-turn` part naming it, and
12733
+ * `GET /chat/threads/{thread_id}/turns/{turn_id}/stream` reads it again from any point. Only
12734
+ * `POST /chat/threads/{thread_id}/stop`, or a new message in the thread, stops it; a new message
12735
+ * waits until the turn before it is saved. A turn without a thread stops when its response is closed.
12736
+ *
12737
+ * Everything up to the response reaches the database or the file store synchronously,
12738
+ * so it runs in the threadpool: nothing here may hold up the event loop, which every
12739
+ * other request, every open stream and the health check are waiting on.
12740
+ */
12741
+ post: operations["chat_api_chat_post"];
12742
+ delete?: never;
12743
+ options?: never;
12744
+ head?: never;
12745
+ patch?: never;
12746
+ trace?: never;
12747
+ };
12748
+ "/api/chat/attachments": {
12749
+ parameters: {
12750
+ query?: never;
12751
+ header?: never;
12752
+ path?: never;
12753
+ cookie?: never;
12754
+ };
12755
+ get?: never;
12756
+ put?: never;
12757
+ /**
12758
+ * Upload Attachment
12759
+ * @description Uploads a file for a message the user is about to send.
12760
+ *
12761
+ * The body is the file, with its media type as the ``Content-Type``. A file part of the message
12762
+ * names the answer's ``id`` as its ``attachmentId``, and sending the message adds the file to its
12763
+ * thread. A file no message names within 24 hours is deleted. ``GET /config`` lists the types
12764
+ * accepted and the largest size, under ``attachments``.
12765
+ */
12766
+ post: operations["upload_attachment_api_chat_attachments_post"];
12767
+ delete?: never;
12768
+ options?: never;
12769
+ head?: never;
12770
+ patch?: never;
12771
+ trace?: never;
12772
+ };
12773
+ "/api/chat/attachments/{attachment_id}": {
12774
+ parameters: {
12775
+ query?: never;
12776
+ header?: never;
12777
+ path?: never;
12778
+ cookie?: never;
12779
+ };
12780
+ /**
12781
+ * Get Attachment
12782
+ * @description Proxies a secure attachment from storage to the authenticated user.
12783
+ */
12784
+ get: operations["get_attachment_api_chat_attachments__attachment_id__get"];
12785
+ put?: never;
12786
+ post?: never;
12787
+ delete?: never;
12788
+ options?: never;
12789
+ head?: never;
12790
+ patch?: never;
12791
+ trace?: never;
12792
+ };
12793
+ "/api/chat/feedback": {
12794
+ parameters: {
12795
+ query?: never;
12796
+ header?: never;
12797
+ path?: never;
12798
+ cookie?: never;
12799
+ };
12800
+ get?: never;
12801
+ put?: never;
12802
+ /**
12803
+ * Save Feedback
12804
+ * @description Saves user feedback (sentiment) for a specific assistant message.
12805
+ */
12806
+ post: operations["save_feedback_api_chat_feedback_post"];
12807
+ delete?: never;
12808
+ options?: never;
12809
+ head?: never;
12810
+ patch?: never;
12811
+ trace?: never;
12812
+ };
12813
+ "/api/chat/threads": {
12814
+ parameters: {
12815
+ query?: never;
12816
+ header?: never;
12817
+ path?: never;
12818
+ cookie?: never;
12819
+ };
12820
+ /**
12821
+ * List Threads
12822
+ * @description Lists the user's threads, pinned first and then by last activity, optionally those whose
12823
+ * title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
12824
+ */
12825
+ get: operations["list_threads_api_chat_threads_get"];
12826
+ put?: never;
12827
+ post?: never;
12828
+ delete?: never;
12829
+ options?: never;
12830
+ head?: never;
12831
+ patch?: never;
12832
+ trace?: never;
12833
+ };
12834
+ "/api/chat/threads/{thread_id}": {
12835
+ parameters: {
12836
+ query?: never;
12837
+ header?: never;
12838
+ path?: never;
12839
+ cookie?: never;
12840
+ };
12841
+ /**
12842
+ * Get Thread Messages
12843
+ * @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
12844
+ * page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
12845
+ *
12846
+ * The last page says whether the thread's last turn is still running, or failed.
12847
+ */
12848
+ get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
12849
+ put?: never;
12850
+ post?: never;
12851
+ /**
12852
+ * Delete Thread
12853
+ * @description Deletes a chat thread and its associated message history.
12854
+ */
12855
+ delete: operations["delete_thread_api_chat_threads__thread_id__delete"];
12856
+ options?: never;
12857
+ head?: never;
12858
+ /**
12859
+ * Update Thread
12860
+ * @description Updates thread metadata (e.g., title) for the authenticated user.
12861
+ */
12862
+ patch: operations["update_thread_api_chat_threads__thread_id__patch"];
12863
+ trace?: never;
12864
+ };
12865
+ "/api/chat/threads/{thread_id}/share": {
12866
+ parameters: {
12867
+ query?: never;
12868
+ header?: never;
12869
+ path?: never;
12870
+ cookie?: never;
12871
+ };
12872
+ get?: never;
12873
+ put?: never;
12874
+ /**
12875
+ * Share Thread
12876
+ * @description Generates a public readonly snapshot of a chat thread.
12877
+ */
12878
+ post: operations["share_thread_api_chat_threads__thread_id__share_post"];
12879
+ /**
12880
+ * Unshare Thread
12881
+ * @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
12882
+ */
12883
+ delete: operations["unshare_thread_api_chat_threads__thread_id__share_delete"];
12884
+ options?: never;
12885
+ head?: never;
12886
+ patch?: never;
12887
+ trace?: never;
12888
+ };
12889
+ "/api/chat/threads/{thread_id}/stop": {
12890
+ parameters: {
12891
+ query?: never;
12892
+ header?: never;
12893
+ path?: never;
12894
+ cookie?: never;
12895
+ };
12896
+ get?: never;
12897
+ put?: never;
12898
+ /**
12899
+ * Stop Turn
12900
+ * @description Stops the turn the thread is running, on whichever worker runs it.
12901
+ *
12902
+ * The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
12903
+ * the turn's stream ends as a finished one does. Without a running turn it does nothing.
12904
+ */
12905
+ post: operations["stop_turn_api_chat_threads__thread_id__stop_post"];
12906
+ delete?: never;
12907
+ options?: never;
12908
+ head?: never;
12909
+ patch?: never;
12910
+ trace?: never;
12911
+ };
12912
+ "/api/chat/threads/{thread_id}/turns/{turn_id}/stream": {
12913
+ parameters: {
12914
+ query?: never;
12915
+ header?: never;
12916
+ path?: never;
12917
+ cookie?: never;
12918
+ };
12919
+ /**
12920
+ * Read Turn
12921
+ * @description Reads a turn's stream again, from its event ``after`` on: the number of events read so far.
12922
+ *
12923
+ * It follows the turn live until it ends. A turn whose server stopped ends with an error event
12924
+ * whose text is ``turn_interrupted``.
12925
+ */
12926
+ get: operations["read_turn_api_chat_threads__thread_id__turns__turn_id__stream_get"];
12927
+ put?: never;
12928
+ post?: never;
12929
+ delete?: never;
12930
+ options?: never;
12931
+ head?: never;
12932
+ patch?: never;
12933
+ trace?: never;
12934
+ };
12935
+ "/api/chat/transcribe": {
10306
12936
  parameters: {
10307
12937
  query?: never;
10308
12938
  header?: never;
@@ -10312,56 +12942,45 @@ declare interface paths {
10312
12942
  get?: never;
10313
12943
  put?: never;
10314
12944
  /**
10315
- * Chat
10316
- * @description Sends a message and streams the reply.
10317
- *
10318
- * The body is the new message and the stored message it follows; the server loads the rest of
10319
- * the thread from the store, and the context policy chooses what of it the model sees. Sending
10320
- * a stored message's id again after the same parent retries it, replacing what followed.
10321
- *
10322
- * In a thread, the turn runs on the server to its end whether or not the response is read: its
10323
- * stream opens with a `data-turn` part naming it, and
10324
- * `GET /chat/threads/{thread_id}/turns/{turn_id}/stream` reads it again from any point. Only
10325
- * `POST /chat/threads/{thread_id}/stop`, or a new message in the thread, stops it; a new message
10326
- * waits until the turn before it is saved. A turn without a thread stops when its response is closed.
12945
+ * Transcribe
12946
+ * @description Transcribes a recording of the user into text for the composer.
10327
12947
  *
10328
- * Everything up to the response reaches the database or the file store synchronously,
10329
- * so it runs in the threadpool: nothing here may hold up the event loop, which every
10330
- * other request, every open stream and the health check are waiting on.
12948
+ * The body is the recording itself, with its media type as the ``Content-Type``
12949
+ * (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
12950
+ * text empty when no speech was heard. The text goes back to the composer, and is only
12951
+ * kept if the user sends it. What the call cost is kept under ``id``: a message sent with
12952
+ * it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
12953
+ * dictated in the admin chat history, where the recording, kept with the attachments, can
12954
+ * be downloaded.
10331
12955
  */
10332
- post: operations["chat_api_chat_post"];
12956
+ post: operations["transcribe_api_chat_transcribe_post"];
10333
12957
  delete?: never;
10334
12958
  options?: never;
10335
12959
  head?: never;
10336
12960
  patch?: never;
10337
12961
  trace?: never;
10338
12962
  };
10339
- "/api/chat/attachments": {
12963
+ "/api/config": {
10340
12964
  parameters: {
10341
12965
  query?: never;
10342
12966
  header?: never;
10343
12967
  path?: never;
10344
12968
  cookie?: never;
10345
12969
  };
10346
- get?: never;
10347
- put?: never;
10348
12970
  /**
10349
- * Upload Attachment
10350
- * @description Uploads a file for a message the user is about to send.
10351
- *
10352
- * The body is the file, with its media type as the ``Content-Type``. A file part of the message
10353
- * names the answer's ``id`` as its ``attachmentId``, and sending the message adds the file to its
10354
- * thread. A file no message names within 24 hours is deleted. ``GET /config`` lists the types
10355
- * accepted and the largest size, under ``attachments``.
12971
+ * Get Public Config
12972
+ * @description The admin's overrides and the server's own flags. Fields an admin never set are absent.
10356
12973
  */
10357
- post: operations["upload_attachment_api_chat_attachments_post"];
12974
+ get: operations["get_public_config_api_config_get"];
12975
+ put?: never;
12976
+ post?: never;
10358
12977
  delete?: never;
10359
12978
  options?: never;
10360
12979
  head?: never;
10361
12980
  patch?: never;
10362
12981
  trace?: never;
10363
12982
  };
10364
- "/api/chat/attachments/{attachment_id}": {
12983
+ "/api/connectors": {
10365
12984
  parameters: {
10366
12985
  query?: never;
10367
12986
  header?: never;
@@ -10369,10 +12988,10 @@ declare interface paths {
10369
12988
  cookie?: never;
10370
12989
  };
10371
12990
  /**
10372
- * Get Attachment
10373
- * @description Proxies a secure attachment from storage to the authenticated user.
12991
+ * List Connectors
12992
+ * @description List connectors available to the current user and their connection statuses.
10374
12993
  */
10375
- get: operations["get_attachment_api_chat_attachments__attachment_id__get"];
12994
+ get: operations["list_connectors_api_connectors_get"];
10376
12995
  put?: never;
10377
12996
  post?: never;
10378
12997
  delete?: never;
@@ -10381,79 +13000,67 @@ declare interface paths {
10381
13000
  patch?: never;
10382
13001
  trace?: never;
10383
13002
  };
10384
- "/api/chat/feedback": {
13003
+ "/api/connectors/oauth/callback": {
10385
13004
  parameters: {
10386
13005
  query?: never;
10387
13006
  header?: never;
10388
13007
  path?: never;
10389
13008
  cookie?: never;
10390
13009
  };
10391
- get?: never;
10392
- put?: never;
10393
13010
  /**
10394
- * Save Feedback
10395
- * @description Saves user feedback (sentiment) for a specific assistant message.
13011
+ * Connector Oauth Callback
13012
+ * @description Handle the OAuth2 redirect callback using a single-use server-stored state.
10396
13013
  */
10397
- post: operations["save_feedback_api_chat_feedback_post"];
13014
+ get: operations["connector_oauth_callback_api_connectors_oauth_callback_get"];
13015
+ put?: never;
13016
+ post?: never;
10398
13017
  delete?: never;
10399
13018
  options?: never;
10400
13019
  head?: never;
10401
13020
  patch?: never;
10402
13021
  trace?: never;
10403
13022
  };
10404
- "/api/chat/threads": {
13023
+ "/api/connectors/user-mcp": {
10405
13024
  parameters: {
10406
13025
  query?: never;
10407
13026
  header?: never;
10408
13027
  path?: never;
10409
13028
  cookie?: never;
10410
13029
  };
13030
+ get?: never;
13031
+ put?: never;
10411
13032
  /**
10412
- * List Threads
10413
- * @description Lists the user's threads, pinned first and then by last activity, optionally those whose
10414
- * title or messages contain ``q``. Pass the ``next_cursor`` of one page to get the next.
13033
+ * Create User Mcp Connector
13034
+ * @description Register a custom remote MCP server owned by the current user.
10415
13035
  */
10416
- get: operations["list_threads_api_chat_threads_get"];
10417
- put?: never;
10418
- post?: never;
13036
+ post: operations["create_user_mcp_connector_api_connectors_user_mcp_post"];
10419
13037
  delete?: never;
10420
13038
  options?: never;
10421
13039
  head?: never;
10422
13040
  patch?: never;
10423
13041
  trace?: never;
10424
13042
  };
10425
- "/api/chat/threads/{thread_id}": {
13043
+ "/api/connectors/user-mcp/{connector_id}": {
10426
13044
  parameters: {
10427
13045
  query?: never;
10428
13046
  header?: never;
10429
13047
  path?: never;
10430
13048
  cookie?: never;
10431
13049
  };
10432
- /**
10433
- * Get Thread Messages
10434
- * @description A page of a thread's messages, oldest first: its last ``limit``, or with ``before`` (a
10435
- * page's ``next_cursor``) the ``limit`` before that page. ``next_cursor`` is null at the start.
10436
- *
10437
- * The last page says whether the thread's last turn is still running, or failed.
10438
- */
10439
- get: operations["get_thread_messages_api_chat_threads__thread_id__get"];
13050
+ get?: never;
10440
13051
  put?: never;
10441
13052
  post?: never;
10442
13053
  /**
10443
- * Delete Thread
10444
- * @description Deletes a chat thread and its associated message history.
13054
+ * Delete User Mcp Connector
13055
+ * @description Delete a user-owned custom remote MCP server.
10445
13056
  */
10446
- delete: operations["delete_thread_api_chat_threads__thread_id__delete"];
13057
+ delete: operations["delete_user_mcp_connector_api_connectors_user_mcp__connector_id__delete"];
10447
13058
  options?: never;
10448
13059
  head?: never;
10449
- /**
10450
- * Update Thread
10451
- * @description Updates thread metadata (e.g., title) for the authenticated user.
10452
- */
10453
- patch: operations["update_thread_api_chat_threads__thread_id__patch"];
13060
+ patch?: never;
10454
13061
  trace?: never;
10455
13062
  };
10456
- "/api/chat/threads/{thread_id}/share": {
13063
+ "/api/connectors/{connector_id}": {
10457
13064
  parameters: {
10458
13065
  query?: never;
10459
13066
  header?: never;
@@ -10462,22 +13069,18 @@ declare interface paths {
10462
13069
  };
10463
13070
  get?: never;
10464
13071
  put?: never;
10465
- /**
10466
- * Share Thread
10467
- * @description Generates a public readonly snapshot of a chat thread.
10468
- */
10469
- post: operations["share_thread_api_chat_threads__thread_id__share_post"];
10470
- /**
10471
- * Unshare Thread
10472
- * @description Revokes every public link to a thread. Its snapshots and their attachments stop being served.
10473
- */
10474
- delete: operations["unshare_thread_api_chat_threads__thread_id__share_delete"];
13072
+ post?: never;
13073
+ delete?: never;
10475
13074
  options?: never;
10476
13075
  head?: never;
10477
- patch?: never;
13076
+ /**
13077
+ * Update Connector
13078
+ * @description Enable/disable a connector or set per-tool approval overrides.
13079
+ */
13080
+ patch: operations["update_connector_api_connectors__connector_id__patch"];
10478
13081
  trace?: never;
10479
13082
  };
10480
- "/api/chat/threads/{thread_id}/stop": {
13083
+ "/api/connectors/{connector_id}/connect": {
10481
13084
  parameters: {
10482
13085
  query?: never;
10483
13086
  header?: never;
@@ -10487,43 +13090,37 @@ declare interface paths {
10487
13090
  get?: never;
10488
13091
  put?: never;
10489
13092
  /**
10490
- * Stop Turn
10491
- * @description Stops the turn the thread is running, on whichever worker runs it.
10492
- *
10493
- * The model's run ends where it is; what it wrote so far is saved as the answer and charged, and
10494
- * the turn's stream ends as a finished one does. Without a running turn it does nothing.
13093
+ * Connect Connector
13094
+ * @description Store an encrypted API key for a connector and enable it.
10495
13095
  */
10496
- post: operations["stop_turn_api_chat_threads__thread_id__stop_post"];
13096
+ post: operations["connect_connector_api_connectors__connector_id__connect_post"];
10497
13097
  delete?: never;
10498
13098
  options?: never;
10499
13099
  head?: never;
10500
13100
  patch?: never;
10501
13101
  trace?: never;
10502
13102
  };
10503
- "/api/chat/threads/{thread_id}/turns/{turn_id}/stream": {
13103
+ "/api/connectors/{connector_id}/disconnect": {
10504
13104
  parameters: {
10505
13105
  query?: never;
10506
13106
  header?: never;
10507
13107
  path?: never;
10508
13108
  cookie?: never;
10509
13109
  };
13110
+ get?: never;
13111
+ put?: never;
10510
13112
  /**
10511
- * Read Turn
10512
- * @description Reads a turn's stream again, from its event ``after`` on: the number of events read so far.
10513
- *
10514
- * It follows the turn live until it ends. A turn whose server stopped ends with an error event
10515
- * whose text is ``turn_interrupted``.
13113
+ * Disconnect Connector
13114
+ * @description Wipe stored credentials for a connector and disable it.
10516
13115
  */
10517
- get: operations["read_turn_api_chat_threads__thread_id__turns__turn_id__stream_get"];
10518
- put?: never;
10519
- post?: never;
13116
+ post: operations["disconnect_connector_api_connectors__connector_id__disconnect_post"];
10520
13117
  delete?: never;
10521
13118
  options?: never;
10522
13119
  head?: never;
10523
13120
  patch?: never;
10524
13121
  trace?: never;
10525
13122
  };
10526
- "/api/chat/transcribe": {
13123
+ "/api/connectors/{connector_id}/oauth/start": {
10527
13124
  parameters: {
10528
13125
  query?: never;
10529
13126
  header?: never;
@@ -10533,25 +13130,17 @@ declare interface paths {
10533
13130
  get?: never;
10534
13131
  put?: never;
10535
13132
  /**
10536
- * Transcribe
10537
- * @description Transcribes a recording of the user into text for the composer.
10538
- *
10539
- * The body is the recording itself, with its media type as the ``Content-Type``
10540
- * (``audio/webm``, ``audio/mp4``, ...). Answers ``{"text": "...", "id": "voice_..."}``, the
10541
- * text empty when no speech was heard. The text goes back to the composer, and is only
10542
- * kept if the user sends it. What the call cost is kept under ``id``: a message sent with
10543
- * it in its metadata's ``voice_inputs`` adds that to the cost of its turn, and shows as
10544
- * dictated in the admin chat history, where the recording, kept with the attachments, can
10545
- * be downloaded.
13133
+ * Start Connector Oauth
13134
+ * @description Start an OAuth2 + PKCE authorization flow for a connector.
10546
13135
  */
10547
- post: operations["transcribe_api_chat_transcribe_post"];
13136
+ post: operations["start_connector_oauth_api_connectors__connector_id__oauth_start_post"];
10548
13137
  delete?: never;
10549
13138
  options?: never;
10550
13139
  head?: never;
10551
13140
  patch?: never;
10552
13141
  trace?: never;
10553
13142
  };
10554
- "/api/config": {
13143
+ "/api/connectors/{connector_id}/tools": {
10555
13144
  parameters: {
10556
13145
  query?: never;
10557
13146
  header?: never;
@@ -10559,10 +13148,10 @@ declare interface paths {
10559
13148
  cookie?: never;
10560
13149
  };
10561
13150
  /**
10562
- * Get Public Config
10563
- * @description The admin's overrides and the server's own flags. Fields an admin never set are absent.
13151
+ * List Connector Tools
13152
+ * @description Discover tools provided by a connected connector.
10564
13153
  */
10565
- get: operations["get_public_config_api_config_get"];
13154
+ get: operations["list_connector_tools_api_connectors__connector_id__tools_get"];
10566
13155
  put?: never;
10567
13156
  post?: never;
10568
13157
  delete?: never;
@@ -10829,6 +13418,138 @@ declare interface paths {
10829
13418
  patch?: never;
10830
13419
  trace?: never;
10831
13420
  };
13421
+ "/api/schedules": {
13422
+ parameters: {
13423
+ query?: never;
13424
+ header?: never;
13425
+ path?: never;
13426
+ cookie?: never;
13427
+ };
13428
+ /**
13429
+ * List Schedules
13430
+ * @description List all scheduled tasks owned by the current user.
13431
+ */
13432
+ get: operations["list_schedules_api_schedules_get"];
13433
+ put?: never;
13434
+ /**
13435
+ * Create Schedule
13436
+ * @description Create a new scheduled task for the current user.
13437
+ */
13438
+ post: operations["create_schedule_api_schedules_post"];
13439
+ delete?: never;
13440
+ options?: never;
13441
+ head?: never;
13442
+ patch?: never;
13443
+ trace?: never;
13444
+ };
13445
+ "/api/schedules/{schedule_id}": {
13446
+ parameters: {
13447
+ query?: never;
13448
+ header?: never;
13449
+ path?: never;
13450
+ cookie?: never;
13451
+ };
13452
+ /**
13453
+ * Get Schedule
13454
+ * @description Fetch a single scheduled task owned by the current user.
13455
+ */
13456
+ get: operations["get_schedule_api_schedules__schedule_id__get"];
13457
+ put?: never;
13458
+ post?: never;
13459
+ /**
13460
+ * Delete Schedule
13461
+ * @description Delete a scheduled task and its run history.
13462
+ */
13463
+ delete: operations["delete_schedule_api_schedules__schedule_id__delete"];
13464
+ options?: never;
13465
+ head?: never;
13466
+ /**
13467
+ * Update Schedule
13468
+ * @description Update a scheduled task owned by the current user.
13469
+ */
13470
+ patch: operations["update_schedule_api_schedules__schedule_id__patch"];
13471
+ trace?: never;
13472
+ };
13473
+ "/api/schedules/{schedule_id}/pause": {
13474
+ parameters: {
13475
+ query?: never;
13476
+ header?: never;
13477
+ path?: never;
13478
+ cookie?: never;
13479
+ };
13480
+ get?: never;
13481
+ put?: never;
13482
+ /**
13483
+ * Pause Schedule
13484
+ * @description Pause a scheduled task.
13485
+ */
13486
+ post: operations["pause_schedule_api_schedules__schedule_id__pause_post"];
13487
+ delete?: never;
13488
+ options?: never;
13489
+ head?: never;
13490
+ patch?: never;
13491
+ trace?: never;
13492
+ };
13493
+ "/api/schedules/{schedule_id}/resume": {
13494
+ parameters: {
13495
+ query?: never;
13496
+ header?: never;
13497
+ path?: never;
13498
+ cookie?: never;
13499
+ };
13500
+ get?: never;
13501
+ put?: never;
13502
+ /**
13503
+ * Resume Schedule
13504
+ * @description Resume a paused scheduled task.
13505
+ */
13506
+ post: operations["resume_schedule_api_schedules__schedule_id__resume_post"];
13507
+ delete?: never;
13508
+ options?: never;
13509
+ head?: never;
13510
+ patch?: never;
13511
+ trace?: never;
13512
+ };
13513
+ "/api/schedules/{schedule_id}/run": {
13514
+ parameters: {
13515
+ query?: never;
13516
+ header?: never;
13517
+ path?: never;
13518
+ cookie?: never;
13519
+ };
13520
+ get?: never;
13521
+ put?: never;
13522
+ /**
13523
+ * Run Schedule Now
13524
+ * @description Trigger an immediate run of a scheduled task.
13525
+ */
13526
+ post: operations["run_schedule_now_api_schedules__schedule_id__run_post"];
13527
+ delete?: never;
13528
+ options?: never;
13529
+ head?: never;
13530
+ patch?: never;
13531
+ trace?: never;
13532
+ };
13533
+ "/api/schedules/{schedule_id}/runs": {
13534
+ parameters: {
13535
+ query?: never;
13536
+ header?: never;
13537
+ path?: never;
13538
+ cookie?: never;
13539
+ };
13540
+ /**
13541
+ * List Schedule Runs
13542
+ * @description List recent runs of a scheduled task.
13543
+ */
13544
+ get: operations["list_schedule_runs_api_schedules__schedule_id__runs_get"];
13545
+ put?: never;
13546
+ post?: never;
13547
+ delete?: never;
13548
+ options?: never;
13549
+ head?: never;
13550
+ patch?: never;
13551
+ trace?: never;
13552
+ };
10832
13553
  "/api/status": {
10833
13554
  parameters: {
10834
13555
  query?: never;
@@ -10967,6 +13688,9 @@ export declare type PlanAlign = NonNullable<PlanDuration['align']>;
10967
13688
  /** How long a plan lasts once assigned, e.g. `{ per: 'year' }` or `{ per: 'month', every: 3 }`. */
10968
13689
  export declare type PlanDuration = Schemas['PlanDuration'];
10969
13690
 
13691
+ /** Convert a visual schedule preset into a 5-field cron expression. */
13692
+ export declare function presetToCron(preset: SchedulePreset): string;
13693
+
10970
13694
  /** A running tool's progress (`data-progress-update`). */
10971
13695
  declare type ProgressUpdateData = Schemas['ProgressUpdateEvent'];
10972
13696
 
@@ -11083,6 +13807,51 @@ declare type Routes = {
11083
13807
  */
11084
13808
  export declare type RunOptions = NonNullable<ChatRequestSchema['options']>;
11085
13809
 
13810
+ /** A user's scheduled routine. */
13811
+ export declare type Schedule = Schemas['ScheduleView'];
13812
+
13813
+ /** Request body to create a scheduled task. */
13814
+ export declare type ScheduleCreateInput = Schemas['ScheduleCreateInput'];
13815
+
13816
+ /** How a schedule repeats (`'once' | 'cron' | 'interval'`). */
13817
+ export declare type ScheduleKind = Schedule['kind'];
13818
+
13819
+ /** Response from `GET /schedules`. */
13820
+ export declare type ScheduleListResponse = Schemas['ScheduleListResponse'];
13821
+
13822
+ /** Why a schedule was paused. */
13823
+ export declare type SchedulePauseReason = NonNullable<Schedule['pause_reason']>;
13824
+
13825
+ /** Frequency presets supported by the visual schedule builder. */
13826
+ export declare type SchedulePreset = {
13827
+ frequency: 'daily';
13828
+ hour: number;
13829
+ minute: number;
13830
+ } | {
13831
+ frequency: 'weekly';
13832
+ hour: number;
13833
+ minute: number;
13834
+ daysOfWeek: number[];
13835
+ };
13836
+
13837
+ /** One execution of a scheduled task. */
13838
+ export declare type ScheduleRun = Schemas['ScheduleRunView'];
13839
+
13840
+ /** Response from `GET /schedules/{id}/runs`. */
13841
+ export declare type ScheduleRunListResponse = Schemas['ScheduleRunListResponse'];
13842
+
13843
+ /** Status of a scheduled task run. */
13844
+ export declare type ScheduleRunStatus = ScheduleRun['status'];
13845
+
13846
+ /** Whether scheduled runs reuse one thread or open a fresh thread per run. */
13847
+ export declare type ScheduleThreadMode = Schedule['thread_mode'];
13848
+
13849
+ /** Minimal translation callback accepted by {@link describeSchedule} (`i18next`'s `t` satisfies it). */
13850
+ export declare type ScheduleTranslator = (key: string, options?: Record<string, unknown>) => string;
13851
+
13852
+ /** Request body to update a scheduled task. */
13853
+ export declare type ScheduleUpdateInput = Schemas['ScheduleUpdateInput'];
13854
+
11086
13855
  declare type Schemas = components['schemas'];
11087
13856
 
11088
13857
  /** A publicly shared thread and its messages. */
@@ -11147,6 +13916,12 @@ declare type TitleData = Schemas['TitleData'];
11147
13916
  */
11148
13917
  export declare function toGentiqMessages(items: readonly ThreadMessageItem[]): GentiqUIMessage[];
11149
13918
 
13919
+ /**
13920
+ * A `Date` as a `datetime-local` value (`2026-10-18T14:05`) in the browser's own clock:
13921
+ * always Gregorian, whatever calendar it was picked in.
13922
+ */
13923
+ export declare function toLocalInput(date: Date): string;
13924
+
11150
13925
  /**
11151
13926
  * The user's answer to a tool call that asked for approval: the `approval.id` of its
11152
13927
  * `approval-requested` part, whether they approved it, and why, if they said. The model reads a
@@ -11211,6 +13986,9 @@ declare interface UploadInit {
11211
13986
  onProgress?: (fraction: number) => void;
11212
13987
  }
11213
13988
 
13989
+ /** Request body to register a custom remote MCP server. */
13990
+ export declare type UserMCPCreateInput = Schemas['UserMCPCreateInput'];
13991
+
11214
13992
  /** A user-submitted bug report, feature request or general feedback. */
11215
13993
  export declare type UserReport = Schemas['UserReportResponse'];
11216
13994
 
@@ -11250,6 +14028,12 @@ export declare type VoiceInputStatus = 'idle' | 'starting' | 'recording' | 'tran
11250
14028
  /** The day "per week" windows start on. */
11251
14029
  export declare type WeekStart = EntitlementStatus['week_start'];
11252
14030
 
14031
+ /**
14032
+ * The weekday a week starts on in `language` (0 = Sunday … 6 = Saturday): Saturday in the
14033
+ * Persian and Arabic-speaking world, Sunday in English, Monday elsewhere.
14034
+ */
14035
+ export declare function weekStart(language: string | undefined | null): number;
14036
+
11253
14037
  /** `messages` with every stored file given the URL `resolveAttachment` resolves it to, all at once. */
11254
14038
  export declare function withAttachmentUrls(messages: readonly GentiqUIMessage[], resolveAttachment: (attachmentId: string) => Promise<string>): Promise<GentiqUIMessage[]>;
11255
14039