@belonguniverseai/react-sdk 0.6.22 → 0.6.23

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.
Files changed (149) hide show
  1. package/dist/api/account-connectors.d.ts +2 -2
  2. package/dist/api/api-keys.d.ts +22 -0
  3. package/dist/api/client-identity.d.ts +12 -0
  4. package/dist/api/client.d.ts +1710 -12
  5. package/dist/api/query-keys.d.ts +1 -0
  6. package/dist/api/session-end.d.ts +2 -0
  7. package/dist/api/skills.d.ts +1 -1
  8. package/dist/api/task-schedule-sharing.d.ts +166 -0
  9. package/dist/api/task-schedules.d.ts +23 -1
  10. package/dist/app/BelongDock.d.ts +0 -28
  11. package/dist/app/dock-demo-features.d.ts +13 -0
  12. package/dist/app/dock-demo-transport.d.ts +37 -0
  13. package/dist/app/dock-story-data.d.ts +116 -0
  14. package/dist/component/THIRD_PARTY_NOTICES.txt +24 -0
  15. package/dist/component/{abnfDiagram-N423BO3Z-D4mVRMw9.js → abnfDiagram-N423BO3Z-bM1BoI0O.js} +4 -4
  16. package/dist/component/{arc-GBp6w3tF.js → arc-DaSgre52.js} +2 -2
  17. package/dist/component/{architectureDiagram-T3A2C74G-Cxm-USYQ.js → architectureDiagram-T3A2C74G-avMCXzQw.js} +3 -3
  18. package/dist/component/{blockDiagram-VBNYF7ZC-BAiLpxJf.js → blockDiagram-VBNYF7ZC-Cg6EDrdt.js} +4 -4
  19. package/dist/component/{c4Diagram-5PPSVZJV-Sy6sLJOj.js → c4Diagram-5PPSVZJV-DhUs6wdK.js} +3 -3
  20. package/dist/component/{channel-DPbaAkCI.js → channel-DlmuDpcv.js} +2 -2
  21. package/dist/component/{chunk-2GRJ4B5K-8r8YJzCc.js → chunk-2GRJ4B5K-Drdf-9Az.js} +2 -2
  22. package/dist/component/{chunk-2Q5K7J3B-RZqny7-R.js → chunk-2Q5K7J3B-CG6mCJjr.js} +2 -2
  23. package/dist/component/{chunk-5RXB4S5H-QFCY9Dtl.js → chunk-5RXB4S5H-DYJwqjr4.js} +5 -5
  24. package/dist/component/{chunk-5VM5RSS4-BG8q5ODa.js → chunk-5VM5RSS4-B21XfkBj.js} +2 -2
  25. package/dist/component/{chunk-6Q2QTUOP-D6ec2nI7.js → chunk-6Q2QTUOP-DZkWqf90.js} +2 -2
  26. package/dist/component/{chunk-GF5L2VYU-D7yROYf0.js → chunk-GF5L2VYU-5hBEo1f5.js} +6 -6
  27. package/dist/component/{chunk-JWPE2WC7-CmGlHqne.js → chunk-JWPE2WC7-DAn-TcDC.js} +2 -2
  28. package/dist/component/{chunk-KBJHAD2P-W03s7swc.js → chunk-KBJHAD2P-CEMDhN2A.js} +2 -2
  29. package/dist/component/{chunk-RYQCIY6F-D0oyMUJ7.js → chunk-RYQCIY6F-BWL1otLK.js} +2 -2
  30. package/dist/component/{chunk-XXDRQBXY-D4s0eyp4.js → chunk-XXDRQBXY-D0TWnqlD.js} +2 -2
  31. package/dist/component/{classDiagram-JCYQIIEL-DwNAC2XG.js → classDiagram-JCYQIIEL-CjU-7xK0.js} +3 -3
  32. package/dist/component/{classDiagram-v2-OCEON4UE-DwNAC2XG.js → classDiagram-v2-OCEON4UE-CjU-7xK0.js} +3 -3
  33. package/dist/component/{cose-bilkent-JH36ORCC-DhGvXDdi.js → cose-bilkent-JH36ORCC-MkPQhZKJ.js} +2 -2
  34. package/dist/component/{cynefinDiagram-MW4NZA55-BCUeX7pB.js → cynefinDiagram-MW4NZA55-Wf-Eh_MR.js} +3 -3
  35. package/dist/component/{dagre-VZM6K2ZE-DWofHoga.js → dagre-VZM6K2ZE-D1ND11ws.js} +3 -3
  36. package/dist/component/{diagram-7IWD3JNH-DjCFF_Dr.js → diagram-7IWD3JNH-ChO63Ikp.js} +4 -4
  37. package/dist/component/{diagram-B4RE2ZJO-CSovrpFW.js → diagram-B4RE2ZJO-CFVIZBxd.js} +3 -3
  38. package/dist/component/{diagram-LBJQPF4R-Cgpae-sR.js → diagram-LBJQPF4R-BFErKt-H.js} +3 -3
  39. package/dist/component/{diagram-Q27KOJAE-DikMPfLU.js → diagram-Q27KOJAE-3EA2fDKz.js} +4 -4
  40. package/dist/component/{diagram-UB23O5K3-sQU6rZbO.js → diagram-UB23O5K3-D914yr1r.js} +3 -3
  41. package/dist/component/{ebnfDiagram-BXEA7PRR-B9t8-G8R.js → ebnfDiagram-BXEA7PRR-BlRDglJm.js} +4 -4
  42. package/dist/component/{erDiagram-JOGREHBK-DKg1HhSl.js → erDiagram-JOGREHBK-BgHUzm41.js} +5 -5
  43. package/dist/component/{flowDiagram-UKHOOZJN-BO8jpT1D.js → flowDiagram-UKHOOZJN-Cf42sXVK.js} +7 -7
  44. package/dist/component/{ganttDiagram-PKOTCBZU-BPXYyB9Q.js → ganttDiagram-PKOTCBZU-Bqai8Nqw.js} +3 -3
  45. package/dist/component/{gitGraphDiagram-DS77QQ5N-BjVLFBUS.js → gitGraphDiagram-DS77QQ5N-M6yX_E4b.js} +4 -4
  46. package/dist/component/{highlighted-body-OFNGDK62-BKot66c3.js → highlighted-body-OFNGDK62-C2rmuXAs.js} +2 -2
  47. package/dist/component/index.js +2 -2
  48. package/dist/component/{infoDiagram-6WML65LV-BkAC5Bwv.js → infoDiagram-6WML65LV-Bk4qDfY4.js} +2 -2
  49. package/dist/component/{ishikawaDiagram-WSZJBQD7-oplkIs_t.js → ishikawaDiagram-WSZJBQD7-CQ0-i0XP.js} +2 -2
  50. package/dist/component/{journeyDiagram-NVQOT4AX-CuliMCSv.js → journeyDiagram-NVQOT4AX-CK9lX22d.js} +5 -5
  51. package/dist/component/{kanban-definition-27J2QSJJ-DdzOdEiL.js → kanban-definition-27J2QSJJ-CrIKfzfe.js} +3 -3
  52. package/dist/component/{linear-zZDwdGmK.js → linear-CzN3Xd3g.js} +2 -2
  53. package/dist/component/{mermaid-GHXKKRXX-aX5umm-y.js → mermaid-GHXKKRXX-B-ea5OKA.js} +113536 -107768
  54. package/dist/component/{mindmap-definition-FAOFIHXS-DD2HF9oE.js → mindmap-definition-FAOFIHXS-DUDsEObz.js} +4 -4
  55. package/dist/component/{pegDiagram-VL7TDLO6-DyiDl9bF.js → pegDiagram-VL7TDLO6-DFJ-rOLH.js} +4 -4
  56. package/dist/component/{pieDiagram-7S7Q4E2Y-DflxKS_B.js → pieDiagram-7S7Q4E2Y-OwliOUdN.js} +4 -4
  57. package/dist/component/{quadrantDiagram-CIZ2JOQS-nwwayVOP.js → quadrantDiagram-CIZ2JOQS-CLKxzqPi.js} +3 -3
  58. package/dist/component/{railroadDiagram-AXF67PYL-BTtD2eN9.js → railroadDiagram-AXF67PYL-_jBOX7-D.js} +4 -4
  59. package/dist/component/{requirementDiagram-LRYGKXZP-B37q1LKL.js → requirementDiagram-LRYGKXZP-CxfMaDPH.js} +4 -4
  60. package/dist/component/{sankeyDiagram-W5VNT64P-zY0W9eje.js → sankeyDiagram-W5VNT64P-D-qOUzh7.js} +2 -2
  61. package/dist/component/{sequenceDiagram-SI44F4Z6-CmQiqB8F.js → sequenceDiagram-SI44F4Z6-B57h29Ae.js} +4 -4
  62. package/dist/component/{sizeCapture-X5ZJPWSS-dF3FvIT8.js → sizeCapture-X5ZJPWSS-DlIoKfk1.js} +2 -2
  63. package/dist/component/{stateDiagram-OKZ733FA-CX61F3L0.js → stateDiagram-OKZ733FA-CNNoDNwB.js} +3 -3
  64. package/dist/component/{stateDiagram-v2-UEYNNEHI-DnFZhhu3.js → stateDiagram-v2-UEYNNEHI-xYjW9R-s.js} +3 -3
  65. package/dist/component/{swimlanes-SLNWSIFB-CX9XGBvw.js → swimlanes-SLNWSIFB-Chjr6NCU.js} +4 -4
  66. package/dist/component/{swimlanesDiagram-ULZ7WXOC-Bqkgx7qk.js → swimlanesDiagram-ULZ7WXOC-A9mWwnCX.js} +3 -3
  67. package/dist/component/{timeline-definition-Z64GVDOM-BUX4OSm1.js → timeline-definition-Z64GVDOM-DldyCd1l.js} +3 -3
  68. package/dist/component/{vennDiagram-T6HMQDX7-BpVOq4Rh.js → vennDiagram-T6HMQDX7-BGfiPWG2.js} +2 -2
  69. package/dist/component/{wardleyDiagram-T6FBY63Y-BUDGa8Mv.js → wardleyDiagram-T6FBY63Y-Bzn9DJ27.js} +3 -3
  70. package/dist/component/{xychartDiagram-ELKLHX3M-FIA_LnIu.js → xychartDiagram-ELKLHX3M-nMaNgT12.js} +3 -3
  71. package/dist/components/ai-elements/message.d.ts +2 -2
  72. package/dist/components/ai-elements/prompt-input.d.ts +3 -1
  73. package/dist/components/ai-elements/task.d.ts +2 -1
  74. package/dist/components/ai-elements/terminal-task.d.ts +2 -1
  75. package/dist/components/connectors/portal-theme.d.ts +2 -8
  76. package/dist/components/embed/AgentChatIcon.d.ts +1 -1
  77. package/dist/components/embed/AgentPhaseIcon.d.ts +16 -14
  78. package/dist/components/embed/ApiKeysSettings.d.ts +1 -0
  79. package/dist/components/embed/BetaBadge.d.ts +8 -10
  80. package/dist/components/embed/ComposerContext.d.ts +9 -0
  81. package/dist/components/embed/EmbedAvatar.d.ts +19 -18
  82. package/dist/components/embed/EmbedComposer.d.ts +3 -1
  83. package/dist/components/embed/EmbedHeader.d.ts +8 -31
  84. package/dist/components/embed/EmbedRail.d.ts +12 -9
  85. package/dist/components/embed/EmbedSessions.d.ts +10 -12
  86. package/dist/components/embed/GoalComposeSheet.d.ts +2 -1
  87. package/dist/components/embed/LegalShortDisclaimer.d.ts +6 -8
  88. package/dist/components/embed/MentionInput.d.ts +9 -3
  89. package/dist/components/embed/MobileNavBar.d.ts +12 -10
  90. package/dist/components/embed/OnboardingOverlay.d.ts +3 -1
  91. package/dist/components/embed/OnboardingTour.d.ts +1 -10
  92. package/dist/components/embed/OnboardingWelcome.d.ts +1 -11
  93. package/dist/components/embed/PlanPanel.d.ts +3 -1
  94. package/dist/components/embed/PreviewPanel.d.ts +3 -1
  95. package/dist/components/embed/SessionSwitcher.d.ts +12 -0
  96. package/dist/components/embed/SubagentAvatar.d.ts +8 -0
  97. package/dist/components/embed/WorkspacePane.d.ts +3 -1
  98. package/dist/components/embed/navigation-layout.d.ts +7 -0
  99. package/dist/components/embed/rail-flags.d.ts +4 -11
  100. package/dist/components/embed/use-prompt-invocations.d.ts +6 -1
  101. package/dist/components/prompts/PromptPreviewDialog.d.ts +10 -0
  102. package/dist/components/prompts/PromptsListSurface.d.ts +4 -4
  103. package/dist/components/scheduled/ConfirmDeleteScheduleDialog.d.ts +1 -0
  104. package/dist/components/scheduled/ScheduleDialog.d.ts +4 -0
  105. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +1 -0
  106. package/dist/components/scheduled/ScheduledHeader.d.ts +3 -0
  107. package/dist/components/scheduled/ScheduledListSurface.d.ts +1 -1
  108. package/dist/components/scheduled/ShareScheduleDialog.d.ts +10 -0
  109. package/dist/components/scheduled/SharedSchedulesSurface.d.ts +1 -0
  110. package/dist/components/scheduled/schedule-dialog-model.d.ts +5 -2
  111. package/dist/components/skills/SkillDiscover.d.ts +1 -0
  112. package/dist/components/skills/SkillsListSurface.d.ts +5 -2
  113. package/dist/components/ui/card.d.ts +1 -1
  114. package/dist/components/ui/dialog.d.ts +1 -1
  115. package/dist/components/ui/dropdown-menu.d.ts +2 -2
  116. package/dist/components/ui/hover-card.d.ts +1 -1
  117. package/dist/components/ui/popover.d.ts +1 -1
  118. package/dist/components/ui/select.d.ts +1 -1
  119. package/dist/components/ui/shadow-dialog-focus.d.ts +5 -0
  120. package/dist/components/ui/tooltip.d.ts +1 -1
  121. package/dist/embed/brand-marks.d.ts +3 -3
  122. package/dist/embed/copy.d.ts +8 -2
  123. package/dist/embed/legal-disclaimer.d.ts +5 -1
  124. package/dist/embed/library-composer.d.ts +24 -0
  125. package/dist/embed/library-navigation.d.ts +6 -0
  126. package/dist/embed/portal-container.d.ts +17 -16
  127. package/dist/embed/presets.d.ts +2 -2
  128. package/dist/embed/schedule-invitation.d.ts +5 -0
  129. package/dist/embed/use-session-draft.d.ts +11 -0
  130. package/dist/i18n/messages/en.d.ts +235 -4
  131. package/dist/i18n/messages/surfaces/files.d.ts +4 -0
  132. package/dist/i18n/messages/surfaces/header.d.ts +4 -0
  133. package/dist/i18n/messages/surfaces/navigation.d.ts +149 -0
  134. package/dist/i18n/messages/surfaces/prompts.d.ts +56 -5
  135. package/dist/i18n/messages/surfaces/scheduled.d.ts +233 -1
  136. package/dist/i18n/messages/surfaces/sessions.d.ts +16 -0
  137. package/dist/i18n/messages/surfaces/settings.d.ts +229 -0
  138. package/dist/i18n/messages/surfaces/skills.d.ts +86 -3
  139. package/dist/i18n/messages/surfaces/stream.d.ts +109 -0
  140. package/dist/i18n/messages/surfaces/usage.d.ts +56 -0
  141. package/dist/routes/chat/use-session-goal.d.ts +1 -0
  142. package/dist/routes/chat.d.ts +2 -1
  143. package/dist/routes/library.d.ts +4 -0
  144. package/dist/stream/ai-sdk-part-renderers.d.ts +4 -8
  145. package/dist/stream/belong-chat-transport.d.ts +15 -0
  146. package/dist/stream/belong-data-parts.d.ts +9 -3
  147. package/dist/stream/subagent-lanes.d.ts +3 -2
  148. package/package.json +1 -1
  149. package/dist/components/ai-elements/reasoning.d.ts +0 -26
@@ -7,6 +7,8 @@
7
7
  * `window.belong.setToken`); each request reads the current value and
8
8
  * attaches `Authorization: Bearer <jwt>`.
9
9
  */
10
+ type ResolvedGetterTokenObserver = (token: string | null) => void;
11
+ export declare const observeEffectiveToken: (observer: ResolvedGetterTokenObserver) => (() => void);
10
12
  export declare const setBelongToken: (token: string) => void;
11
13
  /** Register a fresh-per-request token source (takes precedence over setToken). */
12
14
  export declare const setBelongTokenProvider: (provider: () => string | null) => void;
@@ -17,6 +19,8 @@ export declare const setBelongTokenProvider: (provider: () => string | null) =>
17
19
  * cached (see `resolveBelongToken`).
18
20
  */
19
21
  export declare const setBelongTokenGetter: (getter: (() => Promise<string>) | null) => void;
22
+ /** Observe the async getter's freshly resolved tokens without storing them. */
23
+ export declare const observeResolvedGetterToken: (observer: ResolvedGetterTokenObserver) => (() => void);
20
24
  /** Register the host agent id sent as `X-Belong-Agent-Id` on every request. */
21
25
  export declare const setBelongAgentId: (agentId: string | null) => void;
22
26
  /** Register the tenant slug sent as `X-Belong-Tenant` on every request. */
@@ -32,6 +36,8 @@ export declare const setBelongTokenRefresher: (refresher: ((opts?: {
32
36
  }) => Promise<void>) | null) => void;
33
37
  export declare const clearBelongToken: () => void;
34
38
  export declare const peekBelongToken: () => string | null;
39
+ /** Synchronous identity for private browser storage; async auth overrides stale sync tokens. */
40
+ export declare const peekStorageIdentityToken: () => string | null;
35
41
  /**
36
42
  * Whether ANY auth source is registered — async getter, sync provider, or a
37
43
  * non-empty static token. The dock login gate (`app/BelongDock.tsx`) reads this
@@ -1314,6 +1320,38 @@ export declare const createApiClient: (baseUrl: string) => {
1314
1320
  };
1315
1321
  };
1316
1322
  };
1323
+ } & {
1324
+ v1: {
1325
+ sessions: {
1326
+ ":sessionId": {
1327
+ end: import('hono/client').ClientRequest<string, "/v1/sessions/:sessionId/end", {
1328
+ $post: {
1329
+ input: {
1330
+ param: {
1331
+ sessionId: string;
1332
+ };
1333
+ };
1334
+ output: null;
1335
+ outputFormat: "body";
1336
+ status: 202;
1337
+ } | {
1338
+ input: {
1339
+ param: {
1340
+ sessionId: string;
1341
+ };
1342
+ };
1343
+ output: {
1344
+ error: {
1345
+ type: string;
1346
+ };
1347
+ };
1348
+ outputFormat: "json";
1349
+ status: 404;
1350
+ };
1351
+ }>;
1352
+ };
1353
+ };
1354
+ };
1317
1355
  } & {
1318
1356
  v1: {
1319
1357
  sessions: {
@@ -4414,6 +4452,107 @@ export declare const createApiClient: (baseUrl: string) => {
4414
4452
  };
4415
4453
  }>;
4416
4454
  };
4455
+ } & {
4456
+ v1: {
4457
+ "api-keys": import('hono/client').ClientRequest<string, "/v1/api-keys", {
4458
+ $get: {
4459
+ input: {};
4460
+ output: {
4461
+ apiKeys: {
4462
+ apiKeyId: string;
4463
+ name: string;
4464
+ createdAt: string;
4465
+ }[];
4466
+ };
4467
+ outputFormat: "json";
4468
+ status: 200;
4469
+ };
4470
+ $post: {
4471
+ input: {
4472
+ json: {
4473
+ name: string;
4474
+ };
4475
+ };
4476
+ output: {
4477
+ error: {
4478
+ type: string;
4479
+ requiredScope: string;
4480
+ };
4481
+ };
4482
+ outputFormat: "json";
4483
+ status: 403;
4484
+ } | {
4485
+ input: {
4486
+ json: {
4487
+ name: string;
4488
+ };
4489
+ };
4490
+ output: {
4491
+ apiKeyId: string;
4492
+ key: string;
4493
+ };
4494
+ outputFormat: "json";
4495
+ status: 201;
4496
+ } | {
4497
+ input: {
4498
+ json: {
4499
+ name: string;
4500
+ };
4501
+ };
4502
+ output: {
4503
+ error: {
4504
+ type: "tenant_inactive";
4505
+ };
4506
+ };
4507
+ outputFormat: "json";
4508
+ status: 403;
4509
+ };
4510
+ }>;
4511
+ };
4512
+ } & {
4513
+ v1: {
4514
+ "api-keys": {
4515
+ ":apiKeyId": import('hono/client').ClientRequest<string, "/v1/api-keys/:apiKeyId", {
4516
+ $delete: {
4517
+ input: {
4518
+ param: {
4519
+ apiKeyId: string;
4520
+ };
4521
+ };
4522
+ output: null;
4523
+ outputFormat: "body";
4524
+ status: 204;
4525
+ } | {
4526
+ input: {
4527
+ param: {
4528
+ apiKeyId: string;
4529
+ };
4530
+ };
4531
+ output: {
4532
+ error: {
4533
+ type: string;
4534
+ requiredScope: string;
4535
+ };
4536
+ };
4537
+ outputFormat: "json";
4538
+ status: 403;
4539
+ } | {
4540
+ input: {
4541
+ param: {
4542
+ apiKeyId: string;
4543
+ };
4544
+ };
4545
+ output: {
4546
+ error: {
4547
+ type: string;
4548
+ };
4549
+ };
4550
+ outputFormat: "json";
4551
+ status: 404;
4552
+ };
4553
+ }>;
4554
+ };
4555
+ };
4417
4556
  } & {
4418
4557
  v1: {
4419
4558
  "agent-grants": import('hono/client').ClientRequest<string, "/v1/agent-grants", {
@@ -5020,6 +5159,7 @@ export declare const createApiClient: (baseUrl: string) => {
5020
5159
  output: {
5021
5160
  taskSchedules: {
5022
5161
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5162
+ shared: boolean;
5023
5163
  title: string;
5024
5164
  status: "active" | "completed" | "paused" | "deleted";
5025
5165
  recurrence: {
@@ -5042,6 +5182,66 @@ export declare const createApiClient: (baseUrl: string) => {
5042
5182
  };
5043
5183
  }>;
5044
5184
  };
5185
+ } & {
5186
+ v1: {
5187
+ "task-schedules": {
5188
+ ":taskScheduleId": {
5189
+ share: import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/share", {
5190
+ $post: {
5191
+ input: {
5192
+ param: {
5193
+ taskScheduleId: string;
5194
+ };
5195
+ } & {
5196
+ query: {
5197
+ workspaceExternalId?: string | string[];
5198
+ };
5199
+ };
5200
+ output: {
5201
+ error: {
5202
+ type: string;
5203
+ requiredScope: string;
5204
+ };
5205
+ };
5206
+ outputFormat: "json";
5207
+ status: 403;
5208
+ } | {
5209
+ input: {
5210
+ param: {
5211
+ taskScheduleId: string;
5212
+ };
5213
+ } & {
5214
+ query: {
5215
+ workspaceExternalId?: string | string[];
5216
+ };
5217
+ };
5218
+ output: {
5219
+ definitionId: string;
5220
+ };
5221
+ outputFormat: "json";
5222
+ status: import('hono/utils/http-status').ContentfulStatusCode;
5223
+ } | {
5224
+ input: {
5225
+ param: {
5226
+ taskScheduleId: string;
5227
+ };
5228
+ } & {
5229
+ query: {
5230
+ workspaceExternalId?: string | string[];
5231
+ };
5232
+ };
5233
+ output: {
5234
+ error: {
5235
+ type: string;
5236
+ };
5237
+ };
5238
+ outputFormat: "json";
5239
+ status: 404;
5240
+ };
5241
+ }>;
5242
+ };
5243
+ };
5244
+ };
5045
5245
  } & {
5046
5246
  v1: {
5047
5247
  "task-schedules": {
@@ -5057,6 +5257,12 @@ export declare const createApiClient: (baseUrl: string) => {
5057
5257
  };
5058
5258
  };
5059
5259
  output: {
5260
+ sharing: {
5261
+ readonly definitionId: string;
5262
+ readonly role: "owner" | "use" | "edit" | "revoked";
5263
+ readonly revision: number;
5264
+ readonly workspaceCount: number;
5265
+ } | null;
5060
5266
  explicitTitle: string | null;
5061
5267
  message: string;
5062
5268
  notification: {
@@ -5087,6 +5293,7 @@ export declare const createApiClient: (baseUrl: string) => {
5087
5293
  maxMessagesPerRun: number;
5088
5294
  } | null;
5089
5295
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5296
+ shared: boolean;
5090
5297
  title: string;
5091
5298
  status: "active" | "completed" | "paused" | "deleted";
5092
5299
  recurrence: {
@@ -5133,6 +5340,7 @@ export declare const createApiClient: (baseUrl: string) => {
5133
5340
  };
5134
5341
  } & {
5135
5342
  json: {
5343
+ expectedRevision?: number | undefined;
5136
5344
  title?: string | null | undefined;
5137
5345
  message?: string | undefined;
5138
5346
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5156,13 +5364,12 @@ export declare const createApiClient: (baseUrl: string) => {
5156
5364
  };
5157
5365
  };
5158
5366
  output: {
5159
- error: {
5160
- type: string;
5161
- requiredScope: string;
5162
- };
5367
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5368
+ status: "active" | "completed" | "paused" | "deleted";
5369
+ nextRunAt: string | null;
5163
5370
  };
5164
5371
  outputFormat: "json";
5165
- status: 403;
5372
+ status: 200;
5166
5373
  } | {
5167
5374
  input: {
5168
5375
  param: {
@@ -5174,6 +5381,7 @@ export declare const createApiClient: (baseUrl: string) => {
5174
5381
  };
5175
5382
  } & {
5176
5383
  json: {
5384
+ expectedRevision?: number | undefined;
5177
5385
  title?: string | null | undefined;
5178
5386
  message?: string | undefined;
5179
5387
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5197,12 +5405,12 @@ export declare const createApiClient: (baseUrl: string) => {
5197
5405
  };
5198
5406
  };
5199
5407
  output: {
5200
- taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5201
- status: "active" | "completed" | "paused" | "deleted";
5202
- nextRunAt: string | null;
5408
+ error: {
5409
+ type: string;
5410
+ };
5203
5411
  };
5204
5412
  outputFormat: "json";
5205
- status: 200;
5413
+ status: 404;
5206
5414
  } | {
5207
5415
  input: {
5208
5416
  param: {
@@ -5214,6 +5422,7 @@ export declare const createApiClient: (baseUrl: string) => {
5214
5422
  };
5215
5423
  } & {
5216
5424
  json: {
5425
+ expectedRevision?: number | undefined;
5217
5426
  title?: string | null | undefined;
5218
5427
  message?: string | undefined;
5219
5428
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5242,7 +5451,7 @@ export declare const createApiClient: (baseUrl: string) => {
5242
5451
  };
5243
5452
  };
5244
5453
  outputFormat: "json";
5245
- status: 404;
5454
+ status: 403;
5246
5455
  } | {
5247
5456
  input: {
5248
5457
  param: {
@@ -5254,6 +5463,7 @@ export declare const createApiClient: (baseUrl: string) => {
5254
5463
  };
5255
5464
  } & {
5256
5465
  json: {
5466
+ expectedRevision?: number | undefined;
5257
5467
  title?: string | null | undefined;
5258
5468
  message?: string | undefined;
5259
5469
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5294,6 +5504,7 @@ export declare const createApiClient: (baseUrl: string) => {
5294
5504
  };
5295
5505
  } & {
5296
5506
  json: {
5507
+ expectedRevision?: number | undefined;
5297
5508
  title?: string | null | undefined;
5298
5509
  message?: string | undefined;
5299
5510
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5616,6 +5827,27 @@ export declare const createApiClient: (baseUrl: string) => {
5616
5827
  };
5617
5828
  outputFormat: "json";
5618
5829
  status: 403;
5830
+ } | {
5831
+ input: {
5832
+ param: {
5833
+ taskScheduleId: string;
5834
+ };
5835
+ } & {
5836
+ query: {
5837
+ workspaceExternalId?: string | string[];
5838
+ };
5839
+ } & {
5840
+ json: {
5841
+ clientRequestId?: string | undefined;
5842
+ };
5843
+ };
5844
+ output: {
5845
+ error: {
5846
+ readonly type: "idempotency_key_required" | "idempotency_key_invalid" | "idempotency_key_conflict";
5847
+ };
5848
+ };
5849
+ outputFormat: "json";
5850
+ status: 400;
5619
5851
  } | {
5620
5852
  input: {
5621
5853
  param: {
@@ -5682,6 +5914,1471 @@ export declare const createApiClient: (baseUrl: string) => {
5682
5914
  };
5683
5915
  };
5684
5916
  };
5917
+ } & {
5918
+ v1: {
5919
+ "task-schedules": import('hono/client').ClientRequest<string, "/v1/task-schedules", {
5920
+ $post: {
5921
+ input: {
5922
+ json: {
5923
+ scheduledFor: string;
5924
+ timeExpression: string;
5925
+ timezone: string;
5926
+ message: string;
5927
+ clientScheduleId: string;
5928
+ notification?: {
5929
+ kind: "completion_email";
5930
+ recipients?: string[] | undefined;
5931
+ } | {
5932
+ kind: "custom_email";
5933
+ templatePath: string;
5934
+ recipients?: string[] | undefined;
5935
+ } | undefined;
5936
+ title?: string | undefined;
5937
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
5938
+ recurrence?: {
5939
+ kind: "none";
5940
+ } | {
5941
+ kind: "daily";
5942
+ } | {
5943
+ kind: "weekdays";
5944
+ } | {
5945
+ kind: "weekly";
5946
+ } | {
5947
+ kind: "manual";
5948
+ } | {
5949
+ kind: "interval";
5950
+ intervalMinutes: number;
5951
+ } | undefined;
5952
+ originatingSessionId?: string | undefined;
5953
+ workspaceExternalId?: string | undefined;
5954
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
5955
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
5956
+ llmModel?: string | undefined;
5957
+ };
5958
+ };
5959
+ output: {
5960
+ error: {
5961
+ type: string;
5962
+ requiredScope: string;
5963
+ };
5964
+ };
5965
+ outputFormat: "json";
5966
+ status: 403;
5967
+ } | {
5968
+ input: {
5969
+ json: {
5970
+ scheduledFor: string;
5971
+ timeExpression: string;
5972
+ timezone: string;
5973
+ message: string;
5974
+ clientScheduleId: string;
5975
+ notification?: {
5976
+ kind: "completion_email";
5977
+ recipients?: string[] | undefined;
5978
+ } | {
5979
+ kind: "custom_email";
5980
+ templatePath: string;
5981
+ recipients?: string[] | undefined;
5982
+ } | undefined;
5983
+ title?: string | undefined;
5984
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
5985
+ recurrence?: {
5986
+ kind: "none";
5987
+ } | {
5988
+ kind: "daily";
5989
+ } | {
5990
+ kind: "weekdays";
5991
+ } | {
5992
+ kind: "weekly";
5993
+ } | {
5994
+ kind: "manual";
5995
+ } | {
5996
+ kind: "interval";
5997
+ intervalMinutes: number;
5998
+ } | undefined;
5999
+ originatingSessionId?: string | undefined;
6000
+ workspaceExternalId?: string | undefined;
6001
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6002
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
6003
+ llmModel?: string | undefined;
6004
+ };
6005
+ };
6006
+ output: {
6007
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6008
+ status: "scheduled" | "failed" | "completed" | "running";
6009
+ scheduledFor: string;
6010
+ seriesStatus: "active" | "completed" | "paused" | "deleted";
6011
+ recurrence: {
6012
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
6013
+ };
6014
+ nextRunAt: string | null;
6015
+ title: string;
6016
+ };
6017
+ outputFormat: "json";
6018
+ status: 200 | 201;
6019
+ } | {
6020
+ input: {
6021
+ json: {
6022
+ scheduledFor: string;
6023
+ timeExpression: string;
6024
+ timezone: string;
6025
+ message: string;
6026
+ clientScheduleId: string;
6027
+ notification?: {
6028
+ kind: "completion_email";
6029
+ recipients?: string[] | undefined;
6030
+ } | {
6031
+ kind: "custom_email";
6032
+ templatePath: string;
6033
+ recipients?: string[] | undefined;
6034
+ } | undefined;
6035
+ title?: string | undefined;
6036
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6037
+ recurrence?: {
6038
+ kind: "none";
6039
+ } | {
6040
+ kind: "daily";
6041
+ } | {
6042
+ kind: "weekdays";
6043
+ } | {
6044
+ kind: "weekly";
6045
+ } | {
6046
+ kind: "manual";
6047
+ } | {
6048
+ kind: "interval";
6049
+ intervalMinutes: number;
6050
+ } | undefined;
6051
+ originatingSessionId?: string | undefined;
6052
+ workspaceExternalId?: string | undefined;
6053
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6054
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
6055
+ llmModel?: string | undefined;
6056
+ };
6057
+ };
6058
+ output: {
6059
+ error: {
6060
+ type: string;
6061
+ };
6062
+ };
6063
+ outputFormat: "json";
6064
+ status: 422;
6065
+ } | {
6066
+ input: {
6067
+ json: {
6068
+ scheduledFor: string;
6069
+ timeExpression: string;
6070
+ timezone: string;
6071
+ message: string;
6072
+ clientScheduleId: string;
6073
+ notification?: {
6074
+ kind: "completion_email";
6075
+ recipients?: string[] | undefined;
6076
+ } | {
6077
+ kind: "custom_email";
6078
+ templatePath: string;
6079
+ recipients?: string[] | undefined;
6080
+ } | undefined;
6081
+ title?: string | undefined;
6082
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6083
+ recurrence?: {
6084
+ kind: "none";
6085
+ } | {
6086
+ kind: "daily";
6087
+ } | {
6088
+ kind: "weekdays";
6089
+ } | {
6090
+ kind: "weekly";
6091
+ } | {
6092
+ kind: "manual";
6093
+ } | {
6094
+ kind: "interval";
6095
+ intervalMinutes: number;
6096
+ } | undefined;
6097
+ originatingSessionId?: string | undefined;
6098
+ workspaceExternalId?: string | undefined;
6099
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
6100
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
6101
+ llmModel?: string | undefined;
6102
+ };
6103
+ };
6104
+ output: {
6105
+ error: {
6106
+ type: string;
6107
+ };
6108
+ };
6109
+ outputFormat: "json";
6110
+ status: 409;
6111
+ };
6112
+ $get: {
6113
+ input: {
6114
+ query: {
6115
+ filter?: string | string[];
6116
+ q?: string | string[];
6117
+ workspaceExternalId?: string | string[];
6118
+ limit?: string | string[];
6119
+ offset?: string | string[];
6120
+ };
6121
+ };
6122
+ output: {
6123
+ taskSchedules: {
6124
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6125
+ shared: boolean;
6126
+ title: string;
6127
+ status: "active" | "completed" | "paused" | "deleted";
6128
+ recurrence: {
6129
+ intervalMinutes?: number | undefined;
6130
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
6131
+ };
6132
+ timezone: string;
6133
+ nextRunAt: string | null;
6134
+ lastRun: {
6135
+ status: "failed" | "completed" | "running";
6136
+ at: string | null;
6137
+ } | null;
6138
+ messagePreview: string;
6139
+ createdAt: string;
6140
+ }[];
6141
+ nextOffset: number | null;
6142
+ };
6143
+ outputFormat: "json";
6144
+ status: 200;
6145
+ };
6146
+ }>;
6147
+ };
6148
+ } & {
6149
+ v1: {
6150
+ "task-schedules": {
6151
+ ":taskScheduleId": {
6152
+ share: import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/share", {
6153
+ $post: {
6154
+ input: {
6155
+ param: {
6156
+ taskScheduleId: string;
6157
+ };
6158
+ } & {
6159
+ query: {
6160
+ workspaceExternalId?: string | string[];
6161
+ };
6162
+ };
6163
+ output: {
6164
+ error: {
6165
+ type: string;
6166
+ requiredScope: string;
6167
+ };
6168
+ };
6169
+ outputFormat: "json";
6170
+ status: 403;
6171
+ } | {
6172
+ input: {
6173
+ param: {
6174
+ taskScheduleId: string;
6175
+ };
6176
+ } & {
6177
+ query: {
6178
+ workspaceExternalId?: string | string[];
6179
+ };
6180
+ };
6181
+ output: {
6182
+ definitionId: string;
6183
+ };
6184
+ outputFormat: "json";
6185
+ status: import('hono/utils/http-status').ContentfulStatusCode;
6186
+ } | {
6187
+ input: {
6188
+ param: {
6189
+ taskScheduleId: string;
6190
+ };
6191
+ } & {
6192
+ query: {
6193
+ workspaceExternalId?: string | string[];
6194
+ };
6195
+ };
6196
+ output: {
6197
+ error: {
6198
+ type: string;
6199
+ };
6200
+ };
6201
+ outputFormat: "json";
6202
+ status: 404;
6203
+ };
6204
+ }>;
6205
+ };
6206
+ };
6207
+ };
6208
+ } & {
6209
+ v1: {
6210
+ "task-schedules": {
6211
+ ":taskScheduleId": import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId", {
6212
+ $get: {
6213
+ input: {
6214
+ param: {
6215
+ taskScheduleId: string;
6216
+ };
6217
+ } & {
6218
+ query: {
6219
+ workspaceExternalId?: string | string[];
6220
+ };
6221
+ };
6222
+ output: {
6223
+ sharing: {
6224
+ readonly definitionId: string;
6225
+ readonly role: "owner" | "use" | "edit" | "revoked";
6226
+ readonly revision: number;
6227
+ readonly workspaceCount: number;
6228
+ } | null;
6229
+ explicitTitle: string | null;
6230
+ message: string;
6231
+ notification: {
6232
+ kind: "completion_email";
6233
+ recipients?: string[] | undefined;
6234
+ } | {
6235
+ kind: "custom_email";
6236
+ templatePath: string;
6237
+ recipients?: string[] | undefined;
6238
+ };
6239
+ mode: "plan" | "approve" | "balanced" | "bypass";
6240
+ timeExpression: string;
6241
+ anchorAt: string;
6242
+ totalRunsCount: number;
6243
+ updatedAt: string;
6244
+ microsoftTeamsDelivery: {
6245
+ expiresAt: string;
6246
+ destination: {
6247
+ kind: "chat";
6248
+ chatId: string;
6249
+ } | {
6250
+ kind: "channel";
6251
+ teamId: string;
6252
+ channelId: string;
6253
+ };
6254
+ status: import('../../../../apps/belong-cloud/src/features/microsoft/microsoft.schemas').MicrosoftTeamsMandateStatus;
6255
+ allowExternalRecipients: boolean;
6256
+ maxMessagesPerRun: number;
6257
+ } | null;
6258
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6259
+ shared: boolean;
6260
+ title: string;
6261
+ status: "active" | "completed" | "paused" | "deleted";
6262
+ recurrence: {
6263
+ intervalMinutes?: number | undefined;
6264
+ kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
6265
+ };
6266
+ timezone: string;
6267
+ nextRunAt: string | null;
6268
+ lastRun: {
6269
+ status: "failed" | "completed" | "running";
6270
+ at: string | null;
6271
+ } | null;
6272
+ messagePreview: string;
6273
+ createdAt: string;
6274
+ };
6275
+ outputFormat: "json";
6276
+ status: 200;
6277
+ } | {
6278
+ input: {
6279
+ param: {
6280
+ taskScheduleId: string;
6281
+ };
6282
+ } & {
6283
+ query: {
6284
+ workspaceExternalId?: string | string[];
6285
+ };
6286
+ };
6287
+ output: {
6288
+ error: {
6289
+ type: string;
6290
+ };
6291
+ };
6292
+ outputFormat: "json";
6293
+ status: 404;
6294
+ };
6295
+ $patch: {
6296
+ input: {
6297
+ param: {
6298
+ taskScheduleId: string;
6299
+ };
6300
+ } & {
6301
+ query: {
6302
+ workspaceExternalId?: string | string[];
6303
+ };
6304
+ } & {
6305
+ json: {
6306
+ expectedRevision?: number | undefined;
6307
+ title?: string | null | undefined;
6308
+ message?: string | undefined;
6309
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6310
+ scheduledFor?: string | undefined;
6311
+ timeExpression?: string | undefined;
6312
+ timezone?: string | undefined;
6313
+ recurrence?: {
6314
+ kind: "none";
6315
+ } | {
6316
+ kind: "daily";
6317
+ } | {
6318
+ kind: "weekdays";
6319
+ } | {
6320
+ kind: "weekly";
6321
+ } | {
6322
+ kind: "manual";
6323
+ } | {
6324
+ kind: "interval";
6325
+ intervalMinutes: number;
6326
+ } | undefined;
6327
+ };
6328
+ };
6329
+ output: {
6330
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6331
+ status: "active" | "completed" | "paused" | "deleted";
6332
+ nextRunAt: string | null;
6333
+ };
6334
+ outputFormat: "json";
6335
+ status: 200;
6336
+ } | {
6337
+ input: {
6338
+ param: {
6339
+ taskScheduleId: string;
6340
+ };
6341
+ } & {
6342
+ query: {
6343
+ workspaceExternalId?: string | string[];
6344
+ };
6345
+ } & {
6346
+ json: {
6347
+ expectedRevision?: number | undefined;
6348
+ title?: string | null | undefined;
6349
+ message?: string | undefined;
6350
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6351
+ scheduledFor?: string | undefined;
6352
+ timeExpression?: string | undefined;
6353
+ timezone?: string | undefined;
6354
+ recurrence?: {
6355
+ kind: "none";
6356
+ } | {
6357
+ kind: "daily";
6358
+ } | {
6359
+ kind: "weekdays";
6360
+ } | {
6361
+ kind: "weekly";
6362
+ } | {
6363
+ kind: "manual";
6364
+ } | {
6365
+ kind: "interval";
6366
+ intervalMinutes: number;
6367
+ } | undefined;
6368
+ };
6369
+ };
6370
+ output: {
6371
+ error: {
6372
+ type: string;
6373
+ };
6374
+ };
6375
+ outputFormat: "json";
6376
+ status: 404;
6377
+ } | {
6378
+ input: {
6379
+ param: {
6380
+ taskScheduleId: string;
6381
+ };
6382
+ } & {
6383
+ query: {
6384
+ workspaceExternalId?: string | string[];
6385
+ };
6386
+ } & {
6387
+ json: {
6388
+ expectedRevision?: number | undefined;
6389
+ title?: string | null | undefined;
6390
+ message?: string | undefined;
6391
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6392
+ scheduledFor?: string | undefined;
6393
+ timeExpression?: string | undefined;
6394
+ timezone?: string | undefined;
6395
+ recurrence?: {
6396
+ kind: "none";
6397
+ } | {
6398
+ kind: "daily";
6399
+ } | {
6400
+ kind: "weekdays";
6401
+ } | {
6402
+ kind: "weekly";
6403
+ } | {
6404
+ kind: "manual";
6405
+ } | {
6406
+ kind: "interval";
6407
+ intervalMinutes: number;
6408
+ } | undefined;
6409
+ };
6410
+ };
6411
+ output: {
6412
+ error: {
6413
+ type: string;
6414
+ };
6415
+ };
6416
+ outputFormat: "json";
6417
+ status: 403;
6418
+ } | {
6419
+ input: {
6420
+ param: {
6421
+ taskScheduleId: string;
6422
+ };
6423
+ } & {
6424
+ query: {
6425
+ workspaceExternalId?: string | string[];
6426
+ };
6427
+ } & {
6428
+ json: {
6429
+ expectedRevision?: number | undefined;
6430
+ title?: string | null | undefined;
6431
+ message?: string | undefined;
6432
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6433
+ scheduledFor?: string | undefined;
6434
+ timeExpression?: string | undefined;
6435
+ timezone?: string | undefined;
6436
+ recurrence?: {
6437
+ kind: "none";
6438
+ } | {
6439
+ kind: "daily";
6440
+ } | {
6441
+ kind: "weekdays";
6442
+ } | {
6443
+ kind: "weekly";
6444
+ } | {
6445
+ kind: "manual";
6446
+ } | {
6447
+ kind: "interval";
6448
+ intervalMinutes: number;
6449
+ } | undefined;
6450
+ };
6451
+ };
6452
+ output: {
6453
+ error: {
6454
+ type: string;
6455
+ };
6456
+ };
6457
+ outputFormat: "json";
6458
+ status: 409;
6459
+ } | {
6460
+ input: {
6461
+ param: {
6462
+ taskScheduleId: string;
6463
+ };
6464
+ } & {
6465
+ query: {
6466
+ workspaceExternalId?: string | string[];
6467
+ };
6468
+ } & {
6469
+ json: {
6470
+ expectedRevision?: number | undefined;
6471
+ title?: string | null | undefined;
6472
+ message?: string | undefined;
6473
+ mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
6474
+ scheduledFor?: string | undefined;
6475
+ timeExpression?: string | undefined;
6476
+ timezone?: string | undefined;
6477
+ recurrence?: {
6478
+ kind: "none";
6479
+ } | {
6480
+ kind: "daily";
6481
+ } | {
6482
+ kind: "weekdays";
6483
+ } | {
6484
+ kind: "weekly";
6485
+ } | {
6486
+ kind: "manual";
6487
+ } | {
6488
+ kind: "interval";
6489
+ intervalMinutes: number;
6490
+ } | undefined;
6491
+ };
6492
+ };
6493
+ output: {
6494
+ error: {
6495
+ type: string;
6496
+ };
6497
+ };
6498
+ outputFormat: "json";
6499
+ status: 422;
6500
+ };
6501
+ $delete: {
6502
+ input: {
6503
+ param: {
6504
+ taskScheduleId: string;
6505
+ };
6506
+ } & {
6507
+ query: {
6508
+ workspaceExternalId?: string | string[];
6509
+ };
6510
+ };
6511
+ output: null;
6512
+ outputFormat: "body";
6513
+ status: 204;
6514
+ } | {
6515
+ input: {
6516
+ param: {
6517
+ taskScheduleId: string;
6518
+ };
6519
+ } & {
6520
+ query: {
6521
+ workspaceExternalId?: string | string[];
6522
+ };
6523
+ };
6524
+ output: {
6525
+ error: {
6526
+ type: string;
6527
+ requiredScope: string;
6528
+ };
6529
+ };
6530
+ outputFormat: "json";
6531
+ status: 403;
6532
+ } | {
6533
+ input: {
6534
+ param: {
6535
+ taskScheduleId: string;
6536
+ };
6537
+ } & {
6538
+ query: {
6539
+ workspaceExternalId?: string | string[];
6540
+ };
6541
+ };
6542
+ output: {
6543
+ error: {
6544
+ type: string;
6545
+ };
6546
+ };
6547
+ outputFormat: "json";
6548
+ status: 404;
6549
+ };
6550
+ }>;
6551
+ };
6552
+ };
6553
+ } & {
6554
+ v1: {
6555
+ "task-schedules": {
6556
+ ":taskScheduleId": {
6557
+ runs: import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/runs", {
6558
+ $get: {
6559
+ input: {
6560
+ param: {
6561
+ taskScheduleId: string;
6562
+ };
6563
+ } & {
6564
+ query: {
6565
+ workspaceExternalId?: string | string[];
6566
+ limit?: string | string[];
6567
+ offset?: string | string[];
6568
+ };
6569
+ };
6570
+ output: {
6571
+ runs: {
6572
+ taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
6573
+ occurrenceKind: "scheduled" | "manual";
6574
+ displayStatus: import('node_modules/@belong/cloud/src/features/task-schedules/task-schedule.service').TaskScheduleRunDisplayStatus;
6575
+ scheduledFor: string;
6576
+ startedAt: string | null;
6577
+ finishedAt: string | null;
6578
+ failureReason: string | null;
6579
+ sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId | null;
6580
+ taskId: import('node_modules/@belong/cloud/src/platform/ids').TaskId | null;
6581
+ runId: import('node_modules/@belong/cloud/src/platform/ids').RunId | null;
6582
+ }[];
6583
+ nextOffset: number | null;
6584
+ };
6585
+ outputFormat: "json";
6586
+ status: 200;
6587
+ } | {
6588
+ input: {
6589
+ param: {
6590
+ taskScheduleId: string;
6591
+ };
6592
+ } & {
6593
+ query: {
6594
+ workspaceExternalId?: string | string[];
6595
+ limit?: string | string[];
6596
+ offset?: string | string[];
6597
+ };
6598
+ };
6599
+ output: {
6600
+ error: {
6601
+ type: string;
6602
+ };
6603
+ };
6604
+ outputFormat: "json";
6605
+ status: 404;
6606
+ };
6607
+ }>;
6608
+ };
6609
+ };
6610
+ };
6611
+ } & {
6612
+ v1: {
6613
+ "task-schedules": {
6614
+ ":taskScheduleId": {
6615
+ pause: import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/pause", {
6616
+ $post: {
6617
+ input: {
6618
+ param: {
6619
+ taskScheduleId: string;
6620
+ };
6621
+ } & {
6622
+ query: {
6623
+ workspaceExternalId?: string | string[];
6624
+ };
6625
+ };
6626
+ output: {
6627
+ error: {
6628
+ type: string;
6629
+ requiredScope: string;
6630
+ };
6631
+ };
6632
+ outputFormat: "json";
6633
+ status: 403;
6634
+ } | {
6635
+ input: {
6636
+ param: {
6637
+ taskScheduleId: string;
6638
+ };
6639
+ } & {
6640
+ query: {
6641
+ workspaceExternalId?: string | string[];
6642
+ };
6643
+ };
6644
+ output: {
6645
+ status: "paused";
6646
+ };
6647
+ outputFormat: "json";
6648
+ status: 200;
6649
+ } | {
6650
+ input: {
6651
+ param: {
6652
+ taskScheduleId: string;
6653
+ };
6654
+ } & {
6655
+ query: {
6656
+ workspaceExternalId?: string | string[];
6657
+ };
6658
+ };
6659
+ output: {
6660
+ error: {
6661
+ type: string;
6662
+ };
6663
+ };
6664
+ outputFormat: "json";
6665
+ status: 404;
6666
+ } | {
6667
+ input: {
6668
+ param: {
6669
+ taskScheduleId: string;
6670
+ };
6671
+ } & {
6672
+ query: {
6673
+ workspaceExternalId?: string | string[];
6674
+ };
6675
+ };
6676
+ output: {
6677
+ error: {
6678
+ type: string;
6679
+ };
6680
+ };
6681
+ outputFormat: "json";
6682
+ status: 409;
6683
+ };
6684
+ }>;
6685
+ };
6686
+ };
6687
+ };
6688
+ } & {
6689
+ v1: {
6690
+ "task-schedules": {
6691
+ ":taskScheduleId": {
6692
+ resume: import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/resume", {
6693
+ $post: {
6694
+ input: {
6695
+ param: {
6696
+ taskScheduleId: string;
6697
+ };
6698
+ } & {
6699
+ query: {
6700
+ workspaceExternalId?: string | string[];
6701
+ };
6702
+ };
6703
+ output: {
6704
+ error: {
6705
+ type: string;
6706
+ requiredScope: string;
6707
+ };
6708
+ };
6709
+ outputFormat: "json";
6710
+ status: 403;
6711
+ } | {
6712
+ input: {
6713
+ param: {
6714
+ taskScheduleId: string;
6715
+ };
6716
+ } & {
6717
+ query: {
6718
+ workspaceExternalId?: string | string[];
6719
+ };
6720
+ };
6721
+ output: {
6722
+ status: "active" | "completed" | "needs_attention";
6723
+ nextRunAt: string | null;
6724
+ };
6725
+ outputFormat: "json";
6726
+ status: 200;
6727
+ } | {
6728
+ input: {
6729
+ param: {
6730
+ taskScheduleId: string;
6731
+ };
6732
+ } & {
6733
+ query: {
6734
+ workspaceExternalId?: string | string[];
6735
+ };
6736
+ };
6737
+ output: {
6738
+ error: {
6739
+ type: string;
6740
+ };
6741
+ };
6742
+ outputFormat: "json";
6743
+ status: 404;
6744
+ } | {
6745
+ input: {
6746
+ param: {
6747
+ taskScheduleId: string;
6748
+ };
6749
+ } & {
6750
+ query: {
6751
+ workspaceExternalId?: string | string[];
6752
+ };
6753
+ };
6754
+ output: {
6755
+ error: {
6756
+ type: string;
6757
+ };
6758
+ };
6759
+ outputFormat: "json";
6760
+ status: 409;
6761
+ };
6762
+ }>;
6763
+ };
6764
+ };
6765
+ };
6766
+ } & {
6767
+ v1: {
6768
+ "task-schedules": {
6769
+ ":taskScheduleId": {
6770
+ "run-now": import('hono/client').ClientRequest<string, "/v1/task-schedules/:taskScheduleId/run-now", {
6771
+ $post: {
6772
+ input: {
6773
+ param: {
6774
+ taskScheduleId: string;
6775
+ };
6776
+ } & {
6777
+ query: {
6778
+ workspaceExternalId?: string | string[];
6779
+ };
6780
+ } & {
6781
+ json: {
6782
+ clientRequestId?: string | undefined;
6783
+ };
6784
+ };
6785
+ output: {
6786
+ error: {
6787
+ type: string;
6788
+ requiredScope: string;
6789
+ };
6790
+ };
6791
+ outputFormat: "json";
6792
+ status: 403;
6793
+ } | {
6794
+ input: {
6795
+ param: {
6796
+ taskScheduleId: string;
6797
+ };
6798
+ } & {
6799
+ query: {
6800
+ workspaceExternalId?: string | string[];
6801
+ };
6802
+ } & {
6803
+ json: {
6804
+ clientRequestId?: string | undefined;
6805
+ };
6806
+ };
6807
+ output: {
6808
+ error: {
6809
+ readonly type: "idempotency_key_required" | "idempotency_key_invalid" | "idempotency_key_conflict";
6810
+ };
6811
+ };
6812
+ outputFormat: "json";
6813
+ status: 400;
6814
+ } | {
6815
+ input: {
6816
+ param: {
6817
+ taskScheduleId: string;
6818
+ };
6819
+ } & {
6820
+ query: {
6821
+ workspaceExternalId?: string | string[];
6822
+ };
6823
+ } & {
6824
+ json: {
6825
+ clientRequestId?: string | undefined;
6826
+ };
6827
+ };
6828
+ output: {
6829
+ taskScheduleRunId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleId;
6830
+ };
6831
+ outputFormat: "json";
6832
+ status: 202;
6833
+ } | {
6834
+ input: {
6835
+ param: {
6836
+ taskScheduleId: string;
6837
+ };
6838
+ } & {
6839
+ query: {
6840
+ workspaceExternalId?: string | string[];
6841
+ };
6842
+ } & {
6843
+ json: {
6844
+ clientRequestId?: string | undefined;
6845
+ };
6846
+ };
6847
+ output: {
6848
+ error: {
6849
+ type: string;
6850
+ };
6851
+ };
6852
+ outputFormat: "json";
6853
+ status: 404;
6854
+ } | {
6855
+ input: {
6856
+ param: {
6857
+ taskScheduleId: string;
6858
+ };
6859
+ } & {
6860
+ query: {
6861
+ workspaceExternalId?: string | string[];
6862
+ };
6863
+ } & {
6864
+ json: {
6865
+ clientRequestId?: string | undefined;
6866
+ };
6867
+ };
6868
+ output: {
6869
+ error: {
6870
+ type: string;
6871
+ };
6872
+ };
6873
+ outputFormat: "json";
6874
+ status: 409;
6875
+ };
6876
+ }>;
6877
+ };
6878
+ };
6879
+ };
6880
+ } & {
6881
+ v1: {
6882
+ "task-schedules": {
6883
+ shared: {
6884
+ account: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/account", {
6885
+ $get: {
6886
+ input: {};
6887
+ output: {
6888
+ account: string;
6889
+ tenant: string;
6890
+ };
6891
+ outputFormat: "json";
6892
+ status: import('hono/utils/http-status').ContentfulStatusCode;
6893
+ };
6894
+ }>;
6895
+ };
6896
+ };
6897
+ };
6898
+ } & {
6899
+ v1: {
6900
+ "task-schedules": {
6901
+ shared: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared", {
6902
+ $get: {
6903
+ input: {
6904
+ query: {
6905
+ limit?: string | string[];
6906
+ offset?: string | string[];
6907
+ };
6908
+ };
6909
+ output: {
6910
+ tasks: {
6911
+ definitionId: string;
6912
+ title: string;
6913
+ explicitTitle: string | null;
6914
+ message: string;
6915
+ role: "edit" | "use" | "owner";
6916
+ owner: string;
6917
+ ownerTenant: string;
6918
+ revision: number;
6919
+ timeExpression: string;
6920
+ timezone: string;
6921
+ recurrence: {
6922
+ intervalMinutes?: number | undefined;
6923
+ kind: string;
6924
+ };
6925
+ anchorAt: string;
6926
+ templateName: string | null;
6927
+ updatedAt: string;
6928
+ }[];
6929
+ nextOffset: number | null;
6930
+ };
6931
+ outputFormat: "json";
6932
+ status: import('hono/utils/http-status').ContentfulStatusCode;
6933
+ };
6934
+ }>;
6935
+ };
6936
+ };
6937
+ } & {
6938
+ v1: {
6939
+ "task-schedules": {
6940
+ shared: {
6941
+ accept: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/accept", {
6942
+ $post: {
6943
+ input: {
6944
+ json: {
6945
+ token: string;
6946
+ };
6947
+ };
6948
+ output: {
6949
+ error: {
6950
+ type: string;
6951
+ };
6952
+ };
6953
+ outputFormat: "json";
6954
+ status: 403 | 404 | 409 | 503;
6955
+ } | {
6956
+ input: {
6957
+ json: {
6958
+ token: string;
6959
+ };
6960
+ };
6961
+ output: {
6962
+ definitionId: string;
6963
+ };
6964
+ outputFormat: "json";
6965
+ status: import('hono/utils/http-status').ContentfulStatusCode;
6966
+ };
6967
+ }>;
6968
+ };
6969
+ };
6970
+ };
6971
+ } & {
6972
+ v1: {
6973
+ "task-schedules": {
6974
+ shared: {
6975
+ ":definitionId": import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/:definitionId", {
6976
+ $get: {
6977
+ input: {
6978
+ param: {
6979
+ definitionId: string;
6980
+ };
6981
+ };
6982
+ output: {
6983
+ error: {
6984
+ type: string;
6985
+ };
6986
+ };
6987
+ outputFormat: "json";
6988
+ status: 403 | 404 | 409 | 503;
6989
+ } | {
6990
+ input: {
6991
+ param: {
6992
+ definitionId: string;
6993
+ };
6994
+ };
6995
+ output: {
6996
+ definitionId: string;
6997
+ title: string;
6998
+ explicitTitle: string | null;
6999
+ message: string;
7000
+ role: "edit" | "use" | "owner";
7001
+ owner: string;
7002
+ ownerTenant: string;
7003
+ revision: number;
7004
+ timeExpression: string;
7005
+ timezone: string;
7006
+ recurrence: {
7007
+ intervalMinutes?: number | undefined;
7008
+ kind: string;
7009
+ };
7010
+ anchorAt: string;
7011
+ templateName: string | null;
7012
+ updatedAt: string;
7013
+ };
7014
+ outputFormat: "json";
7015
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7016
+ };
7017
+ $patch: {
7018
+ input: {
7019
+ param: {
7020
+ definitionId: string;
7021
+ };
7022
+ } & {
7023
+ json: {
7024
+ expectedRevision: number;
7025
+ title?: string | null | undefined;
7026
+ message?: string | undefined;
7027
+ scheduledFor?: string | undefined;
7028
+ timeExpression?: string | undefined;
7029
+ timezone?: string | undefined;
7030
+ recurrence?: {
7031
+ kind: "none";
7032
+ } | {
7033
+ kind: "daily";
7034
+ } | {
7035
+ kind: "weekdays";
7036
+ } | {
7037
+ kind: "weekly";
7038
+ } | {
7039
+ kind: "manual";
7040
+ } | {
7041
+ kind: "interval";
7042
+ intervalMinutes: number;
7043
+ } | undefined;
7044
+ mode?: undefined;
7045
+ };
7046
+ };
7047
+ output: {
7048
+ error: {
7049
+ type: string;
7050
+ };
7051
+ };
7052
+ outputFormat: "json";
7053
+ status: 403 | 404 | 409 | 503;
7054
+ } | {
7055
+ input: {
7056
+ param: {
7057
+ definitionId: string;
7058
+ };
7059
+ } & {
7060
+ json: {
7061
+ expectedRevision: number;
7062
+ title?: string | null | undefined;
7063
+ message?: string | undefined;
7064
+ scheduledFor?: string | undefined;
7065
+ timeExpression?: string | undefined;
7066
+ timezone?: string | undefined;
7067
+ recurrence?: {
7068
+ kind: "none";
7069
+ } | {
7070
+ kind: "daily";
7071
+ } | {
7072
+ kind: "weekdays";
7073
+ } | {
7074
+ kind: "weekly";
7075
+ } | {
7076
+ kind: "manual";
7077
+ } | {
7078
+ kind: "interval";
7079
+ intervalMinutes: number;
7080
+ } | undefined;
7081
+ mode?: undefined;
7082
+ };
7083
+ };
7084
+ output: {
7085
+ status: string;
7086
+ revision: number;
7087
+ };
7088
+ outputFormat: "json";
7089
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7090
+ } | {
7091
+ input: {
7092
+ param: {
7093
+ definitionId: string;
7094
+ };
7095
+ } & {
7096
+ json: {
7097
+ expectedRevision: number;
7098
+ title?: string | null | undefined;
7099
+ message?: string | undefined;
7100
+ scheduledFor?: string | undefined;
7101
+ timeExpression?: string | undefined;
7102
+ timezone?: string | undefined;
7103
+ recurrence?: {
7104
+ kind: "none";
7105
+ } | {
7106
+ kind: "daily";
7107
+ } | {
7108
+ kind: "weekdays";
7109
+ } | {
7110
+ kind: "weekly";
7111
+ } | {
7112
+ kind: "manual";
7113
+ } | {
7114
+ kind: "interval";
7115
+ intervalMinutes: number;
7116
+ } | undefined;
7117
+ mode?: undefined;
7118
+ };
7119
+ };
7120
+ output: {
7121
+ error: {
7122
+ type: "scheduled_time_in_past" | "scheduled_time_too_far";
7123
+ };
7124
+ };
7125
+ outputFormat: "json";
7126
+ status: 400;
7127
+ };
7128
+ }>;
7129
+ };
7130
+ };
7131
+ };
7132
+ } & {
7133
+ v1: {
7134
+ "task-schedules": {
7135
+ shared: {
7136
+ ":definitionId": {
7137
+ enable: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/:definitionId/enable", {
7138
+ $post: {
7139
+ input: {
7140
+ param: {
7141
+ definitionId: string;
7142
+ };
7143
+ } & {
7144
+ query: {
7145
+ workspaceExternalId?: string | string[];
7146
+ };
7147
+ };
7148
+ output: {
7149
+ error: {
7150
+ type: string;
7151
+ };
7152
+ };
7153
+ outputFormat: "json";
7154
+ status: 403 | 404 | 409 | 503;
7155
+ } | {
7156
+ input: {
7157
+ param: {
7158
+ definitionId: string;
7159
+ };
7160
+ } & {
7161
+ query: {
7162
+ workspaceExternalId?: string | string[];
7163
+ };
7164
+ };
7165
+ output: {
7166
+ taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
7167
+ };
7168
+ outputFormat: "json";
7169
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7170
+ };
7171
+ }>;
7172
+ };
7173
+ };
7174
+ };
7175
+ };
7176
+ } & {
7177
+ v1: {
7178
+ "task-schedules": {
7179
+ shared: {
7180
+ ":definitionId": {
7181
+ invitations: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/:definitionId/invitations", {
7182
+ $post: {
7183
+ input: {
7184
+ param: {
7185
+ definitionId: string;
7186
+ };
7187
+ } & {
7188
+ json: {
7189
+ role: "edit" | "use";
7190
+ };
7191
+ };
7192
+ output: {
7193
+ error: {
7194
+ type: string;
7195
+ };
7196
+ };
7197
+ outputFormat: "json";
7198
+ status: 403 | 404 | 409 | 503;
7199
+ } | {
7200
+ input: {
7201
+ param: {
7202
+ definitionId: string;
7203
+ };
7204
+ } & {
7205
+ json: {
7206
+ role: "edit" | "use";
7207
+ };
7208
+ };
7209
+ output: {
7210
+ invitationId: string;
7211
+ token: string;
7212
+ expiresAt: string;
7213
+ };
7214
+ outputFormat: "json";
7215
+ status: 201;
7216
+ };
7217
+ }>;
7218
+ };
7219
+ };
7220
+ };
7221
+ };
7222
+ } & {
7223
+ v1: {
7224
+ "task-schedules": {
7225
+ shared: {
7226
+ ":definitionId": {
7227
+ invitations: {
7228
+ ":invitationId": import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/:definitionId/invitations/:invitationId", {
7229
+ $delete: {
7230
+ input: {
7231
+ param: {
7232
+ definitionId: string;
7233
+ invitationId: string;
7234
+ };
7235
+ };
7236
+ output: {
7237
+ error: {
7238
+ type: string;
7239
+ };
7240
+ };
7241
+ outputFormat: "json";
7242
+ status: 403 | 404 | 409 | 503;
7243
+ } | {
7244
+ input: {
7245
+ param: {
7246
+ definitionId: string;
7247
+ invitationId: string;
7248
+ };
7249
+ };
7250
+ output: {
7251
+ status: string;
7252
+ };
7253
+ outputFormat: "json";
7254
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7255
+ };
7256
+ }>;
7257
+ };
7258
+ };
7259
+ };
7260
+ };
7261
+ };
7262
+ } & {
7263
+ v1: {
7264
+ "task-schedules": {
7265
+ shared: {
7266
+ ":definitionId": {
7267
+ access: import('hono/client').ClientRequest<string, "/v1/task-schedules/shared/:definitionId/access", {
7268
+ $get: {
7269
+ input: {
7270
+ param: {
7271
+ definitionId: string;
7272
+ };
7273
+ };
7274
+ output: {
7275
+ error: {
7276
+ type: string;
7277
+ };
7278
+ };
7279
+ outputFormat: "json";
7280
+ status: 403 | 404 | 409 | 503;
7281
+ } | {
7282
+ input: {
7283
+ param: {
7284
+ definitionId: string;
7285
+ };
7286
+ };
7287
+ output: {
7288
+ people: {
7289
+ tenantId: string;
7290
+ userId: string;
7291
+ role: string;
7292
+ label: string;
7293
+ tenant: string;
7294
+ }[];
7295
+ invitations: {
7296
+ expiresAt: string;
7297
+ id: string;
7298
+ role: string;
7299
+ token: string | null;
7300
+ }[];
7301
+ };
7302
+ outputFormat: "json";
7303
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7304
+ };
7305
+ $patch: {
7306
+ input: {
7307
+ param: {
7308
+ definitionId: string;
7309
+ };
7310
+ } & {
7311
+ json: {
7312
+ recipientTenantId: string;
7313
+ recipientUserId: string;
7314
+ role: "edit" | "use";
7315
+ };
7316
+ };
7317
+ output: {
7318
+ error: {
7319
+ type: string;
7320
+ };
7321
+ };
7322
+ outputFormat: "json";
7323
+ status: 403 | 404 | 409 | 503;
7324
+ } | {
7325
+ input: {
7326
+ param: {
7327
+ definitionId: string;
7328
+ };
7329
+ } & {
7330
+ json: {
7331
+ recipientTenantId: string;
7332
+ recipientUserId: string;
7333
+ role: "edit" | "use";
7334
+ };
7335
+ };
7336
+ output: {
7337
+ status: string;
7338
+ };
7339
+ outputFormat: "json";
7340
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7341
+ };
7342
+ $delete: {
7343
+ input: {
7344
+ param: {
7345
+ definitionId: string;
7346
+ };
7347
+ } & {
7348
+ json: {
7349
+ recipientTenantId: string;
7350
+ recipientUserId: string;
7351
+ };
7352
+ };
7353
+ output: {
7354
+ error: {
7355
+ type: string;
7356
+ };
7357
+ };
7358
+ outputFormat: "json";
7359
+ status: 403 | 404 | 409 | 503;
7360
+ } | {
7361
+ input: {
7362
+ param: {
7363
+ definitionId: string;
7364
+ };
7365
+ } & {
7366
+ json: {
7367
+ recipientTenantId: string;
7368
+ recipientUserId: string;
7369
+ };
7370
+ };
7371
+ output: {
7372
+ status: string;
7373
+ };
7374
+ outputFormat: "json";
7375
+ status: import('hono/utils/http-status').ContentfulStatusCode;
7376
+ };
7377
+ }>;
7378
+ };
7379
+ };
7380
+ };
7381
+ };
5685
7382
  } & {
5686
7383
  v1: {
5687
7384
  "pre-prompts": import('hono/client').ClientRequest<string, "/v1/pre-prompts", {
@@ -7027,12 +8724,12 @@ export declare const createApiClient: (baseUrl: string) => {
7027
8724
  capabilities: {
7028
8725
  id: string;
7029
8726
  label: string;
7030
- status: "error" | "needs_auth" | "ready" | "needs_admin_consent" | "disabled";
8727
+ status: "error" | "needs_auth" | "ready" | "disabled" | "needs_admin_consent";
7031
8728
  }[];
7032
8729
  actions: {
7033
8730
  id: string;
7034
8731
  kind: "authorization" | "disconnect";
7035
- label: "reconnect" | "disconnect" | "connect" | "grant_admin_consent";
8732
+ label: "reconnect" | "connect" | "disconnect" | "grant_admin_consent";
7036
8733
  tone: "primary" | "destructive" | "secondary";
7037
8734
  requiresConfirmation: boolean;
7038
8735
  }[];
@@ -7821,3 +9518,4 @@ export declare const createApiClient: (baseUrl: string) => {
7821
9518
  };
7822
9519
  };
7823
9520
  };
9521
+ export {};