@belonguniverseai/react-sdk 0.6.17 → 0.6.19

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 (112) hide show
  1. package/README.md +70 -8
  2. package/dist/api/account-connectors.d.ts +19 -10
  3. package/dist/api/client.d.ts +573 -44
  4. package/dist/api/connectors.d.ts +1 -0
  5. package/dist/api/queries.d.ts +1 -0
  6. package/dist/api/task-schedules.d.ts +8 -8
  7. package/dist/app/BelongDock.d.ts +2 -2
  8. package/dist/component/BelongWidget.d.ts +22 -1
  9. package/dist/component/{abnfDiagram-N423BO3Z-DQQzuYZD.js → abnfDiagram-N423BO3Z-p8pf1oUu.js} +4 -4
  10. package/dist/component/{arc-DyP79PGf.js → arc-CDN3jDNB.js} +2 -2
  11. package/dist/component/{architectureDiagram-T3A2C74G-D_elSQ1O.js → architectureDiagram-T3A2C74G-Dd8FlfDW.js} +3 -3
  12. package/dist/component/{blockDiagram-VBNYF7ZC-LCbtrdey.js → blockDiagram-VBNYF7ZC-CUgNh_GL.js} +4 -4
  13. package/dist/component/{c4Diagram-5PPSVZJV-BavpcOfZ.js → c4Diagram-5PPSVZJV-CSjftNi_.js} +3 -3
  14. package/dist/component/{channel-BZqwTbw2.js → channel-RXp4rUai.js} +2 -2
  15. package/dist/component/{chunk-2GRJ4B5K-CUnqSIZ_.js → chunk-2GRJ4B5K-Conm-Udw.js} +2 -2
  16. package/dist/component/{chunk-2Q5K7J3B-BXbvDQmH.js → chunk-2Q5K7J3B-BJVcNqca.js} +2 -2
  17. package/dist/component/{chunk-5RXB4S5H-9sfSr0mD.js → chunk-5RXB4S5H-ClnvuSUP.js} +5 -5
  18. package/dist/component/{chunk-5VM5RSS4-VnYY-ckg.js → chunk-5VM5RSS4-CZSg676A.js} +2 -2
  19. package/dist/component/{chunk-6Q2QTUOP-cjY3qI3C.js → chunk-6Q2QTUOP-d6e2hDQ3.js} +2 -2
  20. package/dist/component/{chunk-GF5L2VYU-B4uiGrvB.js → chunk-GF5L2VYU-DMNXiX_5.js} +6 -6
  21. package/dist/component/{chunk-JWPE2WC7-C_FwRGti.js → chunk-JWPE2WC7-Be-HKBKg.js} +2 -2
  22. package/dist/component/{chunk-KBJHAD2P-BThvKHPK.js → chunk-KBJHAD2P-CSs5ejAq.js} +2 -2
  23. package/dist/component/{chunk-RYQCIY6F-CNf0rdtW.js → chunk-RYQCIY6F-BM0CmhLz.js} +2 -2
  24. package/dist/component/{chunk-XXDRQBXY-BDEUQoWy.js → chunk-XXDRQBXY-Xj8K5wzT.js} +2 -2
  25. package/dist/component/{classDiagram-JCYQIIEL-Dp0ahzb0.js → classDiagram-JCYQIIEL-DTZI6cPh.js} +3 -3
  26. package/dist/component/{classDiagram-v2-OCEON4UE-Dp0ahzb0.js → classDiagram-v2-OCEON4UE-DTZI6cPh.js} +3 -3
  27. package/dist/component/{cose-bilkent-JH36ORCC-Dc-CE5JY.js → cose-bilkent-JH36ORCC-DaY5o18F.js} +2 -2
  28. package/dist/component/{cynefinDiagram-MW4NZA55-BA2fEkMD.js → cynefinDiagram-MW4NZA55-DoTeA4Ye.js} +3 -3
  29. package/dist/component/{dagre-VZM6K2ZE-B4d8ixBl.js → dagre-VZM6K2ZE-CF3eWDN_.js} +3 -3
  30. package/dist/component/{diagram-7IWD3JNH-DKOeWl-_.js → diagram-7IWD3JNH-D4CVwoPP.js} +4 -4
  31. package/dist/component/{diagram-B4RE2ZJO-DvvRtQm3.js → diagram-B4RE2ZJO-DTk-yH1g.js} +3 -3
  32. package/dist/component/{diagram-LBJQPF4R-DXFi21rR.js → diagram-LBJQPF4R-C82NaEDn.js} +3 -3
  33. package/dist/component/{diagram-Q27KOJAE-BkZNFrtu.js → diagram-Q27KOJAE-DVbW2GPm.js} +4 -4
  34. package/dist/component/{diagram-UB23O5K3-D_IJQzxk.js → diagram-UB23O5K3-fLwqL8Hl.js} +3 -3
  35. package/dist/component/{ebnfDiagram-BXEA7PRR-DD6VLDvv.js → ebnfDiagram-BXEA7PRR-BLEKzcRB.js} +4 -4
  36. package/dist/component/{erDiagram-JOGREHBK-D2GUhORW.js → erDiagram-JOGREHBK-D9srj1qV.js} +5 -5
  37. package/dist/component/{flowDiagram-UKHOOZJN-BO76VMQu.js → flowDiagram-UKHOOZJN-CeyLyzYo.js} +7 -7
  38. package/dist/component/{ganttDiagram-PKOTCBZU-DiZEbOvk.js → ganttDiagram-PKOTCBZU-D_wnN-8z.js} +3 -3
  39. package/dist/component/{gitGraphDiagram-DS77QQ5N-3JU_fIgh.js → gitGraphDiagram-DS77QQ5N-PeHi2KIR.js} +4 -4
  40. package/dist/component/{highlighted-body-OFNGDK62-DyUfTvlp.js → highlighted-body-OFNGDK62-CuSKYiPW.js} +2 -2
  41. package/dist/component/index.js +2 -2
  42. package/dist/component/{infoDiagram-6WML65LV-wQDDhFdJ.js → infoDiagram-6WML65LV-CGnUeTPG.js} +2 -2
  43. package/dist/component/{ishikawaDiagram-WSZJBQD7-ByqLAAAH.js → ishikawaDiagram-WSZJBQD7-DhbZTdB_.js} +2 -2
  44. package/dist/component/{journeyDiagram-NVQOT4AX-CJrAO9iO.js → journeyDiagram-NVQOT4AX-DbAZyk3F.js} +5 -5
  45. package/dist/component/{kanban-definition-27J2QSJJ-BK-6EIGy.js → kanban-definition-27J2QSJJ-CPIUg4vz.js} +3 -3
  46. package/dist/component/{linear-5HARV3Z1.js → linear-CpcRfWUV.js} +2 -2
  47. package/dist/component/{mermaid-GHXKKRXX-BYmG2b26.js → mermaid-GHXKKRXX-CnsSyJhK.js} +94531 -93143
  48. package/dist/component/{mindmap-definition-FAOFIHXS-CWZ3W_zW.js → mindmap-definition-FAOFIHXS-RIm66-oB.js} +4 -4
  49. package/dist/component/{pegDiagram-VL7TDLO6-DHCzlDWN.js → pegDiagram-VL7TDLO6-C6uB8Ash.js} +4 -4
  50. package/dist/component/{pieDiagram-7S7Q4E2Y-BbgPCeI4.js → pieDiagram-7S7Q4E2Y-6m7QqfK3.js} +4 -4
  51. package/dist/component/{quadrantDiagram-CIZ2JOQS-CVNb4Dn0.js → quadrantDiagram-CIZ2JOQS-Dge2oJ5y.js} +3 -3
  52. package/dist/component/{railroadDiagram-AXF67PYL-BZtclau2.js → railroadDiagram-AXF67PYL-DWfg1byS.js} +4 -4
  53. package/dist/component/{requirementDiagram-LRYGKXZP-DJeluZaM.js → requirementDiagram-LRYGKXZP-C_mrqai9.js} +4 -4
  54. package/dist/component/{sankeyDiagram-W5VNT64P-CxVyzRB-.js → sankeyDiagram-W5VNT64P-D1MhEv2a.js} +2 -2
  55. package/dist/component/{sequenceDiagram-SI44F4Z6-DrkHqtHC.js → sequenceDiagram-SI44F4Z6-mn9it5es.js} +4 -4
  56. package/dist/component/{sizeCapture-X5ZJPWSS-Ctgo1XlA.js → sizeCapture-X5ZJPWSS-Do_vnkJp.js} +2 -2
  57. package/dist/component/{stateDiagram-OKZ733FA-DhCABcA4.js → stateDiagram-OKZ733FA-Pru5Vhsh.js} +3 -3
  58. package/dist/component/{stateDiagram-v2-UEYNNEHI-D_zLh09v.js → stateDiagram-v2-UEYNNEHI-BvRl8AHY.js} +3 -3
  59. package/dist/component/{swimlanes-SLNWSIFB-C40PaZQK.js → swimlanes-SLNWSIFB-CfaY_lmO.js} +4 -4
  60. package/dist/component/{swimlanesDiagram-ULZ7WXOC-BIpHviIl.js → swimlanesDiagram-ULZ7WXOC-BFIfCk31.js} +3 -3
  61. package/dist/component/{timeline-definition-Z64GVDOM-Byx2AKIE.js → timeline-definition-Z64GVDOM-BFU8eZDJ.js} +3 -3
  62. package/dist/component/{vennDiagram-T6HMQDX7-CqLQjKUJ.js → vennDiagram-T6HMQDX7-C475K8TJ.js} +2 -2
  63. package/dist/component/{wardleyDiagram-T6FBY63Y-S9fJVDcY.js → wardleyDiagram-T6FBY63Y-DZEN3DyJ.js} +3 -3
  64. package/dist/component/{xychartDiagram-ELKLHX3M-B3t1Zyyn.js → xychartDiagram-ELKLHX3M-B6MDNNoT.js} +3 -3
  65. package/dist/components/connectors/ConnectorDetailsDialog.d.ts +5 -1
  66. package/dist/components/connectors/ConnectorSetupCard.d.ts +6 -0
  67. package/dist/components/connectors/NewConnectorDialog.d.ts +4 -1
  68. package/dist/components/connectors/authorization-popup.d.ts +3 -0
  69. package/dist/components/connectors/catalog-installation.d.ts +3 -0
  70. package/dist/components/connectors/connector-public-draft.d.ts +4 -0
  71. package/dist/components/connectors/use-connector-oauth.d.ts +1 -1
  72. package/dist/components/embed/AtMentionMenu.d.ts +1 -1
  73. package/dist/components/embed/ComposerMenu.d.ts +4 -1
  74. package/dist/components/embed/EmbedConversation.d.ts +3 -3
  75. package/dist/components/embed/EmbedRail.d.ts +4 -2
  76. package/dist/components/embed/MentionInput.d.ts +2 -1
  77. package/dist/components/embed/SlackConnection.d.ts +6 -0
  78. package/dist/components/embed/SlashCommandMenu.d.ts +1 -1
  79. package/dist/components/embed/WelcomeHero.d.ts +16 -0
  80. package/dist/components/embed/WelcomeIntro.d.ts +18 -7
  81. package/dist/components/embed/WelcomeSkills.d.ts +7 -1
  82. package/dist/components/embed/WorkspacePane.d.ts +16 -0
  83. package/dist/components/embed/onboarding-story-dock.d.ts +3 -2
  84. package/dist/components/embed/use-preview-content-props.d.ts +7 -0
  85. package/dist/components/embed/use-prompt-invocations.d.ts +40 -0
  86. package/dist/components/scheduled/SchedulePrompt.d.ts +10 -0
  87. package/dist/components/scheduled/schedule-prompt-message.d.ts +4 -0
  88. package/dist/embed/copy.d.ts +13 -18
  89. package/dist/embed/dev-mode.d.ts +1 -1
  90. package/dist/embed/dock-layout.d.ts +14 -16
  91. package/dist/embed/dock-size-store.d.ts +7 -0
  92. package/dist/embed/dock-state.d.ts +2 -2
  93. package/dist/embed/hover-capability.d.ts +14 -0
  94. package/dist/embed/page-context.d.ts +11 -0
  95. package/dist/embed/show-target.d.ts +6 -0
  96. package/dist/embed/slash-commands.d.ts +9 -0
  97. package/dist/embed/user-context.d.ts +14 -0
  98. package/dist/embed/voice-call.d.ts +7 -6
  99. package/dist/i18n/messages/en.d.ts +31 -3
  100. package/dist/i18n/messages/surfaces/connectors.d.ts +60 -0
  101. package/dist/i18n/messages/surfaces/embedMisc.d.ts +0 -6
  102. package/dist/i18n/messages/surfaces/header.d.ts +6 -0
  103. package/dist/i18n/messages/surfaces/stream.d.ts +3 -0
  104. package/dist/i18n/messages/surfaces/workspace.d.ts +32 -0
  105. package/dist/stream/ai-sdk-part-renderers.d.ts +2 -1
  106. package/dist/stream/belong-chat-transport.d.ts +9 -9
  107. package/dist/stream/use-agent-workspace-focus.d.ts +5 -0
  108. package/dist/stream/workspace-focus-observer.d.ts +7 -0
  109. package/dist/stream/workspace-focus-store.d.ts +26 -0
  110. package/dist/types/public.d.ts +39 -0
  111. package/package.json +1 -1
  112. package/dist/components/embed/CapabilityHints.d.ts +0 -4
@@ -223,6 +223,506 @@ export declare const createApiClient: (baseUrl: string) => {
223
223
  }>;
224
224
  };
225
225
  };
226
+ } & {
227
+ v1: {
228
+ slack: {
229
+ link: import('hono/client').ClientRequest<string, "/v1/slack/link", {
230
+ $post: {
231
+ input: {
232
+ json: {
233
+ nonce: string;
234
+ connectorId: string;
235
+ workspaceExternalId: string;
236
+ };
237
+ };
238
+ output: {
239
+ error: {
240
+ type: string;
241
+ };
242
+ };
243
+ outputFormat: "json";
244
+ status: 503;
245
+ } | {
246
+ input: {
247
+ json: {
248
+ nonce: string;
249
+ connectorId: string;
250
+ workspaceExternalId: string;
251
+ };
252
+ };
253
+ output: {
254
+ readonly delegationId: string;
255
+ };
256
+ outputFormat: "json";
257
+ status: 201;
258
+ } | {
259
+ input: {
260
+ json: {
261
+ nonce: string;
262
+ connectorId: string;
263
+ workspaceExternalId: string;
264
+ };
265
+ };
266
+ output: {
267
+ error: {
268
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
269
+ };
270
+ };
271
+ outputFormat: "json";
272
+ status: 410;
273
+ } | {
274
+ input: {
275
+ json: {
276
+ nonce: string;
277
+ connectorId: string;
278
+ workspaceExternalId: string;
279
+ };
280
+ };
281
+ output: {
282
+ error: {
283
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
284
+ };
285
+ };
286
+ outputFormat: "json";
287
+ status: 403;
288
+ } | {
289
+ input: {
290
+ json: {
291
+ nonce: string;
292
+ connectorId: string;
293
+ workspaceExternalId: string;
294
+ };
295
+ };
296
+ output: {
297
+ error: {
298
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
299
+ };
300
+ };
301
+ outputFormat: "json";
302
+ status: 409;
303
+ };
304
+ }>;
305
+ };
306
+ };
307
+ } & {
308
+ v1: {
309
+ slack: {
310
+ delegation: {
311
+ ":installationId": {
312
+ ":slackUserId": import('hono/client').ClientRequest<string, "/v1/slack/delegation/:installationId/:slackUserId", {
313
+ $delete: {
314
+ input: {
315
+ param: {
316
+ installationId: string;
317
+ } & {
318
+ slackUserId: string;
319
+ };
320
+ };
321
+ output: {
322
+ error: {
323
+ type: string;
324
+ };
325
+ };
326
+ outputFormat: "json";
327
+ status: 503;
328
+ } | {
329
+ input: {
330
+ param: {
331
+ installationId: string;
332
+ } & {
333
+ slackUserId: string;
334
+ };
335
+ };
336
+ output: null;
337
+ outputFormat: "body";
338
+ status: 204;
339
+ };
340
+ }>;
341
+ };
342
+ };
343
+ };
344
+ };
345
+ } & {
346
+ v1: {
347
+ slack: {
348
+ install: import('hono/client').ClientRequest<string, "/v1/slack/install", {
349
+ $post: {
350
+ input: {};
351
+ output: {
352
+ error: {
353
+ type: string;
354
+ };
355
+ };
356
+ outputFormat: "json";
357
+ status: 503;
358
+ } | {
359
+ input: {};
360
+ output: {
361
+ authorizationUrl: string;
362
+ browserUrl: string;
363
+ state: string;
364
+ browserProof: string;
365
+ };
366
+ outputFormat: "json";
367
+ status: 201;
368
+ } | {
369
+ input: {};
370
+ output: {
371
+ error: {
372
+ readonly type: "slack_install_invalid" | "slack_install_origin_denied" | "slack_install_provider_failed";
373
+ };
374
+ };
375
+ outputFormat: "json";
376
+ status: 403;
377
+ };
378
+ }>;
379
+ };
380
+ };
381
+ } & {
382
+ v1: {
383
+ slack: {
384
+ install: {
385
+ callback: import('hono/client').ClientRequest<string, "/v1/slack/install/callback", {
386
+ $get: {
387
+ input: {};
388
+ output: null;
389
+ outputFormat: "body";
390
+ status: 404;
391
+ } | {
392
+ input: {};
393
+ output: "Slack installation could not be verified. Start again in Simetrik." | "Slack bot installed. Return to Simetrik; each user must connect their own account before sending work.";
394
+ outputFormat: "text";
395
+ status: 200 | 400;
396
+ };
397
+ }>;
398
+ };
399
+ };
400
+ };
401
+ } & {
402
+ v1: {
403
+ slack: {
404
+ install: {
405
+ browser: import('hono/client').ClientRequest<string, "/v1/slack/install/browser", {
406
+ $post: {
407
+ input: {};
408
+ output: null;
409
+ outputFormat: "body";
410
+ status: 404;
411
+ } | {
412
+ input: {};
413
+ output: null;
414
+ outputFormat: "body";
415
+ status: 400;
416
+ } | {
417
+ input: {};
418
+ output: null;
419
+ outputFormat: "body";
420
+ status: 403;
421
+ } | {
422
+ input: {};
423
+ output: undefined;
424
+ outputFormat: "redirect";
425
+ status: 303;
426
+ };
427
+ }>;
428
+ };
429
+ };
430
+ };
431
+ } & {
432
+ v1: {
433
+ slack: {
434
+ link: import('hono/client').ClientRequest<string, "/v1/slack/link", {
435
+ $post: {
436
+ input: {
437
+ json: {
438
+ nonce: string;
439
+ connectorId: string;
440
+ workspaceExternalId: string;
441
+ };
442
+ };
443
+ output: {
444
+ error: {
445
+ type: string;
446
+ };
447
+ };
448
+ outputFormat: "json";
449
+ status: 503;
450
+ } | {
451
+ input: {
452
+ json: {
453
+ nonce: string;
454
+ connectorId: string;
455
+ workspaceExternalId: string;
456
+ };
457
+ };
458
+ output: {
459
+ readonly delegationId: string;
460
+ };
461
+ outputFormat: "json";
462
+ status: 201;
463
+ } | {
464
+ input: {
465
+ json: {
466
+ nonce: string;
467
+ connectorId: string;
468
+ workspaceExternalId: string;
469
+ };
470
+ };
471
+ output: {
472
+ error: {
473
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
474
+ };
475
+ };
476
+ outputFormat: "json";
477
+ status: 410;
478
+ } | {
479
+ input: {
480
+ json: {
481
+ nonce: string;
482
+ connectorId: string;
483
+ workspaceExternalId: string;
484
+ };
485
+ };
486
+ output: {
487
+ error: {
488
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
489
+ };
490
+ };
491
+ outputFormat: "json";
492
+ status: 403;
493
+ } | {
494
+ input: {
495
+ json: {
496
+ nonce: string;
497
+ connectorId: string;
498
+ workspaceExternalId: string;
499
+ };
500
+ };
501
+ output: {
502
+ error: {
503
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
504
+ };
505
+ };
506
+ outputFormat: "json";
507
+ status: 409;
508
+ };
509
+ }>;
510
+ };
511
+ };
512
+ } & {
513
+ v1: {
514
+ slack: {
515
+ delegation: {
516
+ ":installationId": {
517
+ ":slackUserId": import('hono/client').ClientRequest<string, "/v1/slack/delegation/:installationId/:slackUserId", {
518
+ $delete: {
519
+ input: {
520
+ param: {
521
+ installationId: string;
522
+ } & {
523
+ slackUserId: string;
524
+ };
525
+ };
526
+ output: {
527
+ error: {
528
+ type: string;
529
+ };
530
+ };
531
+ outputFormat: "json";
532
+ status: 503;
533
+ } | {
534
+ input: {
535
+ param: {
536
+ installationId: string;
537
+ } & {
538
+ slackUserId: string;
539
+ };
540
+ };
541
+ output: null;
542
+ outputFormat: "body";
543
+ status: 204;
544
+ };
545
+ }>;
546
+ };
547
+ };
548
+ };
549
+ };
550
+ } & {
551
+ v1: {
552
+ slack: {
553
+ link: import('hono/client').ClientRequest<string, "/v1/slack/link", {
554
+ $post: {
555
+ input: {
556
+ json: {
557
+ nonce: string;
558
+ connectorId: string;
559
+ workspaceExternalId: string;
560
+ };
561
+ };
562
+ output: {
563
+ error: {
564
+ type: string;
565
+ };
566
+ };
567
+ outputFormat: "json";
568
+ status: 503;
569
+ } | {
570
+ input: {
571
+ json: {
572
+ nonce: string;
573
+ connectorId: string;
574
+ workspaceExternalId: string;
575
+ };
576
+ };
577
+ output: {
578
+ readonly delegationId: string;
579
+ };
580
+ outputFormat: "json";
581
+ status: 201;
582
+ } | {
583
+ input: {
584
+ json: {
585
+ nonce: string;
586
+ connectorId: string;
587
+ workspaceExternalId: string;
588
+ };
589
+ };
590
+ output: {
591
+ error: {
592
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
593
+ };
594
+ };
595
+ outputFormat: "json";
596
+ status: 410;
597
+ } | {
598
+ input: {
599
+ json: {
600
+ nonce: string;
601
+ connectorId: string;
602
+ workspaceExternalId: string;
603
+ };
604
+ };
605
+ output: {
606
+ error: {
607
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
608
+ };
609
+ };
610
+ outputFormat: "json";
611
+ status: 403;
612
+ } | {
613
+ input: {
614
+ json: {
615
+ nonce: string;
616
+ connectorId: string;
617
+ workspaceExternalId: string;
618
+ };
619
+ };
620
+ output: {
621
+ error: {
622
+ readonly type: "slack_link_invalid" | "slack_identity_mismatch" | "slack_access_required" | "slack_delegation_invalid" | "slack_scope_required";
623
+ };
624
+ };
625
+ outputFormat: "json";
626
+ status: 409;
627
+ };
628
+ }>;
629
+ };
630
+ };
631
+ } & {
632
+ v1: {
633
+ slack: {
634
+ delegation: {
635
+ ":installationId": {
636
+ ":slackUserId": import('hono/client').ClientRequest<string, "/v1/slack/delegation/:installationId/:slackUserId", {
637
+ $delete: {
638
+ input: {
639
+ param: {
640
+ installationId: string;
641
+ } & {
642
+ slackUserId: string;
643
+ };
644
+ };
645
+ output: {
646
+ error: {
647
+ type: string;
648
+ };
649
+ };
650
+ outputFormat: "json";
651
+ status: 503;
652
+ } | {
653
+ input: {
654
+ param: {
655
+ installationId: string;
656
+ } & {
657
+ slackUserId: string;
658
+ };
659
+ };
660
+ output: null;
661
+ outputFormat: "body";
662
+ status: 204;
663
+ };
664
+ }>;
665
+ };
666
+ };
667
+ };
668
+ };
669
+ } & {
670
+ v1: {
671
+ slack: {
672
+ events: import('hono/client').ClientRequest<string, "/v1/slack/events", {
673
+ $post: {
674
+ input: {};
675
+ output: {
676
+ error: string;
677
+ };
678
+ outputFormat: "json";
679
+ status: 400;
680
+ } | {
681
+ input: {};
682
+ output: {
683
+ error: string;
684
+ };
685
+ outputFormat: "json";
686
+ status: 413;
687
+ } | {
688
+ input: {};
689
+ output: {
690
+ error: string;
691
+ };
692
+ outputFormat: "json";
693
+ status: 401;
694
+ } | {
695
+ input: {};
696
+ output: {
697
+ challenge: string;
698
+ };
699
+ outputFormat: "json";
700
+ status: import('hono/utils/http-status').ContentfulStatusCode;
701
+ } | {
702
+ input: {};
703
+ output: {
704
+ error: string;
705
+ };
706
+ outputFormat: "json";
707
+ status: 403;
708
+ } | {
709
+ input: {};
710
+ output: {
711
+ error: string;
712
+ };
713
+ outputFormat: "json";
714
+ status: 503;
715
+ } | {
716
+ input: {};
717
+ output: {
718
+ ok: true;
719
+ };
720
+ outputFormat: "json";
721
+ status: import('hono/utils/http-status').ContentfulStatusCode;
722
+ };
723
+ }>;
724
+ };
725
+ };
226
726
  } & {
227
727
  v1: {
228
728
  sessions: import('hono/client').ClientRequest<string, "/v1/sessions", {
@@ -232,7 +732,7 @@ export declare const createApiClient: (baseUrl: string) => {
232
732
  title?: string | undefined;
233
733
  workspaceExternalId?: string | undefined;
234
734
  origin?: "user" | "benchmark" | undefined;
235
- surface?: "unknown" | "dock" | "connector" | "api" | undefined;
735
+ surface?: "unknown" | "connector" | "dock" | "api" | undefined;
236
736
  };
237
737
  };
238
738
  output: {
@@ -246,7 +746,7 @@ export declare const createApiClient: (baseUrl: string) => {
246
746
  title?: string | undefined;
247
747
  workspaceExternalId?: string | undefined;
248
748
  origin?: "user" | "benchmark" | undefined;
249
- surface?: "unknown" | "dock" | "connector" | "api" | undefined;
749
+ surface?: "unknown" | "connector" | "dock" | "api" | undefined;
250
750
  };
251
751
  };
252
752
  output: {
@@ -289,6 +789,7 @@ export declare const createApiClient: (baseUrl: string) => {
289
789
  };
290
790
  output: {
291
791
  readonly sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
792
+ readonly workspaceExternalId: string | null;
292
793
  readonly title: string | null;
293
794
  readonly status: import('node_modules/@belong/cloud/src/features/sessions/session.repo').SessionRow["status"];
294
795
  readonly createdAt: string;
@@ -322,6 +823,7 @@ export declare const createApiClient: (baseUrl: string) => {
322
823
  };
323
824
  output: {
324
825
  readonly sessionId: import('node_modules/@belong/cloud/src/platform/ids').SessionId;
826
+ readonly workspaceExternalId: string | null;
325
827
  readonly title: string | null;
326
828
  readonly status: import('node_modules/@belong/cloud/src/features/sessions/session.repo').SessionRow["status"];
327
829
  readonly createdAt: string;
@@ -435,16 +937,17 @@ export declare const createApiClient: (baseUrl: string) => {
435
937
  input: {
436
938
  json: {
437
939
  text: string;
438
- fileIds?: string[] | undefined;
439
- clientMessageId?: string | undefined;
440
- skill?: string | undefined;
441
- mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
442
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
443
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
444
- llmModel?: string | undefined;
445
940
  timezone?: string | undefined;
446
941
  locale?: "en" | "es" | "pt" | undefined;
942
+ questionPresentation?: "text" | "card" | undefined;
447
943
  workspaceExternalId?: string | undefined;
944
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
945
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
946
+ llmModel?: string | undefined;
947
+ fileIds?: string[] | undefined;
948
+ clientMessageId?: string | undefined;
949
+ skill?: string | undefined;
950
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
448
951
  };
449
952
  } & {
450
953
  param: {
@@ -463,16 +966,17 @@ export declare const createApiClient: (baseUrl: string) => {
463
966
  input: {
464
967
  json: {
465
968
  text: string;
466
- fileIds?: string[] | undefined;
467
- clientMessageId?: string | undefined;
468
- skill?: string | undefined;
469
- mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
470
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
471
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
472
- llmModel?: string | undefined;
473
969
  timezone?: string | undefined;
474
970
  locale?: "en" | "es" | "pt" | undefined;
971
+ questionPresentation?: "text" | "card" | undefined;
475
972
  workspaceExternalId?: string | undefined;
973
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
974
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
975
+ llmModel?: string | undefined;
976
+ fileIds?: string[] | undefined;
977
+ clientMessageId?: string | undefined;
978
+ skill?: string | undefined;
979
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
476
980
  };
477
981
  } & {
478
982
  param: {
@@ -490,16 +994,17 @@ export declare const createApiClient: (baseUrl: string) => {
490
994
  input: {
491
995
  json: {
492
996
  text: string;
493
- fileIds?: string[] | undefined;
494
- clientMessageId?: string | undefined;
495
- skill?: string | undefined;
496
- mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
497
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
498
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
499
- llmModel?: string | undefined;
500
997
  timezone?: string | undefined;
501
998
  locale?: "en" | "es" | "pt" | undefined;
999
+ questionPresentation?: "text" | "card" | undefined;
502
1000
  workspaceExternalId?: string | undefined;
1001
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1002
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1003
+ llmModel?: string | undefined;
1004
+ fileIds?: string[] | undefined;
1005
+ clientMessageId?: string | undefined;
1006
+ skill?: string | undefined;
1007
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
503
1008
  };
504
1009
  } & {
505
1010
  param: {
@@ -517,16 +1022,17 @@ export declare const createApiClient: (baseUrl: string) => {
517
1022
  input: {
518
1023
  json: {
519
1024
  text: string;
520
- fileIds?: string[] | undefined;
521
- clientMessageId?: string | undefined;
522
- skill?: string | undefined;
523
- mode?: "plan" | "approve" | "balanced" | "bypass" | "execute" | undefined;
524
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
525
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
526
- llmModel?: string | undefined;
527
1025
  timezone?: string | undefined;
528
1026
  locale?: "en" | "es" | "pt" | undefined;
1027
+ questionPresentation?: "text" | "card" | undefined;
529
1028
  workspaceExternalId?: string | undefined;
1029
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
1030
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
1031
+ llmModel?: string | undefined;
1032
+ fileIds?: string[] | undefined;
1033
+ clientMessageId?: string | undefined;
1034
+ skill?: string | undefined;
1035
+ mode?: "plan" | "execute" | "approve" | "balanced" | "bypass" | undefined;
530
1036
  };
531
1037
  } & {
532
1038
  param: {
@@ -1621,6 +2127,7 @@ export declare const createApiClient: (baseUrl: string) => {
1621
2127
  readonly status: "ready";
1622
2128
  readonly kind: import('node_modules/@belong/cloud/src/features/files/preview.types').PreviewKind;
1623
2129
  readonly pageCount?: number | undefined;
2130
+ readonly totalPages?: number | undefined;
1624
2131
  } | {
1625
2132
  readonly status: "too_large";
1626
2133
  } | {
@@ -2896,7 +3403,7 @@ export declare const createApiClient: (baseUrl: string) => {
2896
3403
  output: {
2897
3404
  theme: {
2898
3405
  mode?: "light" | "dark" | undefined;
2899
- side?: "right" | "left" | undefined;
3406
+ side?: "left" | "right" | undefined;
2900
3407
  density?: "comfortable" | "compact" | undefined;
2901
3408
  panelWidth?: number | undefined;
2902
3409
  fontFamily?: string | undefined;
@@ -3355,7 +3862,7 @@ export declare const createApiClient: (baseUrl: string) => {
3355
3862
  input: {};
3356
3863
  output: null;
3357
3864
  outputFormat: "body";
3358
- status: 502 | 202;
3865
+ status: 202 | 502;
3359
3866
  };
3360
3867
  }>;
3361
3868
  };
@@ -3820,8 +4327,8 @@ export declare const createApiClient: (baseUrl: string) => {
3820
4327
  } | undefined;
3821
4328
  originatingSessionId?: string | undefined;
3822
4329
  workspaceExternalId?: string | undefined;
3823
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
3824
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
4330
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
4331
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3825
4332
  llmModel?: string | undefined;
3826
4333
  };
3827
4334
  };
@@ -3867,14 +4374,14 @@ export declare const createApiClient: (baseUrl: string) => {
3867
4374
  } | undefined;
3868
4375
  originatingSessionId?: string | undefined;
3869
4376
  workspaceExternalId?: string | undefined;
3870
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
3871
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
4377
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
4378
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3872
4379
  llmModel?: string | undefined;
3873
4380
  };
3874
4381
  };
3875
4382
  output: {
3876
4383
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
3877
- status: "scheduled" | "completed" | "failed" | "running";
4384
+ status: "scheduled" | "failed" | "completed" | "running";
3878
4385
  scheduledFor: string;
3879
4386
  seriesStatus: "active" | "completed" | "paused" | "deleted";
3880
4387
  recurrence: {
@@ -3919,8 +4426,8 @@ export declare const createApiClient: (baseUrl: string) => {
3919
4426
  } | undefined;
3920
4427
  originatingSessionId?: string | undefined;
3921
4428
  workspaceExternalId?: string | undefined;
3922
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
3923
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
4429
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
4430
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3924
4431
  llmModel?: string | undefined;
3925
4432
  };
3926
4433
  };
@@ -3965,8 +4472,8 @@ export declare const createApiClient: (baseUrl: string) => {
3965
4472
  } | undefined;
3966
4473
  originatingSessionId?: string | undefined;
3967
4474
  workspaceExternalId?: string | undefined;
3968
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
3969
- llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "vertex" | undefined;
4475
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
4476
+ llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3970
4477
  llmModel?: string | undefined;
3971
4478
  };
3972
4479
  };
@@ -4000,7 +4507,7 @@ export declare const createApiClient: (baseUrl: string) => {
4000
4507
  timezone: string;
4001
4508
  nextRunAt: string | null;
4002
4509
  lastRun: {
4003
- status: "completed" | "failed" | "running";
4510
+ status: "failed" | "completed" | "running";
4004
4511
  at: string | null;
4005
4512
  } | null;
4006
4513
  messagePreview: string;
@@ -4067,7 +4574,7 @@ export declare const createApiClient: (baseUrl: string) => {
4067
4574
  timezone: string;
4068
4575
  nextRunAt: string | null;
4069
4576
  lastRun: {
4070
- status: "completed" | "failed" | "running";
4577
+ status: "failed" | "completed" | "running";
4071
4578
  at: string | null;
4072
4579
  } | null;
4073
4580
  messagePreview: string;
@@ -5784,7 +6291,7 @@ export declare const createApiClient: (baseUrl: string) => {
5784
6291
  actions: {
5785
6292
  id: string;
5786
6293
  kind: "authorization" | "disconnect";
5787
- label: "disconnect" | "connect" | "reconnect" | "grant_admin_consent";
6294
+ label: "reconnect" | "disconnect" | "connect" | "grant_admin_consent";
5788
6295
  tone: "primary" | "destructive" | "secondary";
5789
6296
  requiresConfirmation: boolean;
5790
6297
  }[];
@@ -5805,6 +6312,7 @@ export declare const createApiClient: (baseUrl: string) => {
5805
6312
  input: {
5806
6313
  json: {
5807
6314
  returnPath: string;
6315
+ browserBindingHash?: string | undefined;
5808
6316
  };
5809
6317
  } & {
5810
6318
  param: {
@@ -5825,6 +6333,7 @@ export declare const createApiClient: (baseUrl: string) => {
5825
6333
  input: {
5826
6334
  json: {
5827
6335
  returnPath: string;
6336
+ browserBindingHash?: string | undefined;
5828
6337
  };
5829
6338
  } & {
5830
6339
  param: {
@@ -5844,6 +6353,7 @@ export declare const createApiClient: (baseUrl: string) => {
5844
6353
  input: {
5845
6354
  json: {
5846
6355
  returnPath: string;
6356
+ browserBindingHash?: string | undefined;
5847
6357
  };
5848
6358
  } & {
5849
6359
  param: {
@@ -5855,6 +6365,7 @@ export declare const createApiClient: (baseUrl: string) => {
5855
6365
  output: {
5856
6366
  readonly kind: "authorization";
5857
6367
  readonly authorizationUrl: string;
6368
+ readonly browserBindingUrl?: string | undefined;
5858
6369
  readonly completion: "action_unavailable";
5859
6370
  } | {
5860
6371
  readonly kind: "completed";
@@ -5865,6 +6376,7 @@ export declare const createApiClient: (baseUrl: string) => {
5865
6376
  input: {
5866
6377
  json: {
5867
6378
  returnPath: string;
6379
+ browserBindingHash?: string | undefined;
5868
6380
  };
5869
6381
  } & {
5870
6382
  param: {
@@ -5884,6 +6396,7 @@ export declare const createApiClient: (baseUrl: string) => {
5884
6396
  input: {
5885
6397
  json: {
5886
6398
  returnPath: string;
6399
+ browserBindingHash?: string | undefined;
5887
6400
  };
5888
6401
  } & {
5889
6402
  param: {
@@ -5903,6 +6416,7 @@ export declare const createApiClient: (baseUrl: string) => {
5903
6416
  input: {
5904
6417
  json: {
5905
6418
  returnPath: string;
6419
+ browserBindingHash?: string | undefined;
5906
6420
  };
5907
6421
  } & {
5908
6422
  param: {
@@ -5952,6 +6466,21 @@ export declare const createApiClient: (baseUrl: string) => {
5952
6466
  };
5953
6467
  };
5954
6468
  };
6469
+ } & {
6470
+ v1: {
6471
+ microsoft: {
6472
+ oauth: {
6473
+ browser: import('hono/client').ClientRequest<string, "/v1/microsoft/oauth/browser", {
6474
+ $post: {
6475
+ input: {};
6476
+ output: {};
6477
+ outputFormat: string;
6478
+ status: import('hono/utils/http-status').StatusCode;
6479
+ };
6480
+ }>;
6481
+ };
6482
+ };
6483
+ };
5955
6484
  } & {
5956
6485
  v1: {
5957
6486
  admin: {