@belonguniverseai/react-sdk 0.6.18 → 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 (95) hide show
  1. package/README.md +30 -0
  2. package/dist/api/account-connectors.d.ts +3 -3
  3. package/dist/api/client.d.ts +525 -19
  4. package/dist/api/queries.d.ts +1 -0
  5. package/dist/api/task-schedules.d.ts +8 -8
  6. package/dist/app/BelongDock.d.ts +2 -2
  7. package/dist/component/BelongWidget.d.ts +22 -1
  8. package/dist/component/{abnfDiagram-N423BO3Z-D-QlcOhi.js → abnfDiagram-N423BO3Z-p8pf1oUu.js} +4 -4
  9. package/dist/component/{arc-Cr7brctQ.js → arc-CDN3jDNB.js} +2 -2
  10. package/dist/component/{architectureDiagram-T3A2C74G-Dy0iEVu6.js → architectureDiagram-T3A2C74G-Dd8FlfDW.js} +3 -3
  11. package/dist/component/{blockDiagram-VBNYF7ZC-DILLxOep.js → blockDiagram-VBNYF7ZC-CUgNh_GL.js} +4 -4
  12. package/dist/component/{c4Diagram-5PPSVZJV-BX6tDsxk.js → c4Diagram-5PPSVZJV-CSjftNi_.js} +3 -3
  13. package/dist/component/{channel-BGFUKe6a.js → channel-RXp4rUai.js} +2 -2
  14. package/dist/component/{chunk-2GRJ4B5K-BTagC02U.js → chunk-2GRJ4B5K-Conm-Udw.js} +2 -2
  15. package/dist/component/{chunk-2Q5K7J3B-CSsLOQM_.js → chunk-2Q5K7J3B-BJVcNqca.js} +2 -2
  16. package/dist/component/{chunk-5RXB4S5H-CnKLpufI.js → chunk-5RXB4S5H-ClnvuSUP.js} +5 -5
  17. package/dist/component/{chunk-5VM5RSS4-DIqLm-ng.js → chunk-5VM5RSS4-CZSg676A.js} +2 -2
  18. package/dist/component/{chunk-6Q2QTUOP-DxaHOD10.js → chunk-6Q2QTUOP-d6e2hDQ3.js} +2 -2
  19. package/dist/component/{chunk-GF5L2VYU-pHAFn-83.js → chunk-GF5L2VYU-DMNXiX_5.js} +6 -6
  20. package/dist/component/{chunk-JWPE2WC7-BX-bA5Hi.js → chunk-JWPE2WC7-Be-HKBKg.js} +2 -2
  21. package/dist/component/{chunk-KBJHAD2P-BnQgMdlj.js → chunk-KBJHAD2P-CSs5ejAq.js} +2 -2
  22. package/dist/component/{chunk-RYQCIY6F-BhueWm50.js → chunk-RYQCIY6F-BM0CmhLz.js} +2 -2
  23. package/dist/component/{chunk-XXDRQBXY-BJzLpKlJ.js → chunk-XXDRQBXY-Xj8K5wzT.js} +2 -2
  24. package/dist/component/{classDiagram-JCYQIIEL-DAcauTm8.js → classDiagram-JCYQIIEL-DTZI6cPh.js} +3 -3
  25. package/dist/component/{classDiagram-v2-OCEON4UE-DAcauTm8.js → classDiagram-v2-OCEON4UE-DTZI6cPh.js} +3 -3
  26. package/dist/component/{cose-bilkent-JH36ORCC-LKxaT1DG.js → cose-bilkent-JH36ORCC-DaY5o18F.js} +2 -2
  27. package/dist/component/{cynefinDiagram-MW4NZA55-oVDASRC2.js → cynefinDiagram-MW4NZA55-DoTeA4Ye.js} +3 -3
  28. package/dist/component/{dagre-VZM6K2ZE-CmV7-9zD.js → dagre-VZM6K2ZE-CF3eWDN_.js} +3 -3
  29. package/dist/component/{diagram-7IWD3JNH-BvjSvBK3.js → diagram-7IWD3JNH-D4CVwoPP.js} +4 -4
  30. package/dist/component/{diagram-B4RE2ZJO-B_cxXRTv.js → diagram-B4RE2ZJO-DTk-yH1g.js} +3 -3
  31. package/dist/component/{diagram-LBJQPF4R-DWVXEkld.js → diagram-LBJQPF4R-C82NaEDn.js} +3 -3
  32. package/dist/component/{diagram-Q27KOJAE-CnBW6OeT.js → diagram-Q27KOJAE-DVbW2GPm.js} +4 -4
  33. package/dist/component/{diagram-UB23O5K3-CXqI5_Q2.js → diagram-UB23O5K3-fLwqL8Hl.js} +3 -3
  34. package/dist/component/{ebnfDiagram-BXEA7PRR-CgD4I3Yv.js → ebnfDiagram-BXEA7PRR-BLEKzcRB.js} +4 -4
  35. package/dist/component/{erDiagram-JOGREHBK-D5Mg98e7.js → erDiagram-JOGREHBK-D9srj1qV.js} +5 -5
  36. package/dist/component/{flowDiagram-UKHOOZJN-BfeqDLOI.js → flowDiagram-UKHOOZJN-CeyLyzYo.js} +7 -7
  37. package/dist/component/{ganttDiagram-PKOTCBZU-Dyur2c7k.js → ganttDiagram-PKOTCBZU-D_wnN-8z.js} +3 -3
  38. package/dist/component/{gitGraphDiagram-DS77QQ5N-Lv0LL5O8.js → gitGraphDiagram-DS77QQ5N-PeHi2KIR.js} +4 -4
  39. package/dist/component/{highlighted-body-OFNGDK62-B6dOwDKQ.js → highlighted-body-OFNGDK62-CuSKYiPW.js} +2 -2
  40. package/dist/component/index.js +2 -2
  41. package/dist/component/{infoDiagram-6WML65LV-CzRKYrpD.js → infoDiagram-6WML65LV-CGnUeTPG.js} +2 -2
  42. package/dist/component/{ishikawaDiagram-WSZJBQD7-Zay9aRLR.js → ishikawaDiagram-WSZJBQD7-DhbZTdB_.js} +2 -2
  43. package/dist/component/{journeyDiagram-NVQOT4AX-t8hX-zE_.js → journeyDiagram-NVQOT4AX-DbAZyk3F.js} +5 -5
  44. package/dist/component/{kanban-definition-27J2QSJJ-C5Z-o_W7.js → kanban-definition-27J2QSJJ-CPIUg4vz.js} +3 -3
  45. package/dist/component/{linear-BJGedx0o.js → linear-CpcRfWUV.js} +2 -2
  46. package/dist/component/{mermaid-GHXKKRXX-D8oOFc9R.js → mermaid-GHXKKRXX-CnsSyJhK.js} +30747 -30046
  47. package/dist/component/{mindmap-definition-FAOFIHXS-DtEeqND2.js → mindmap-definition-FAOFIHXS-RIm66-oB.js} +4 -4
  48. package/dist/component/{pegDiagram-VL7TDLO6-4lhU_z4v.js → pegDiagram-VL7TDLO6-C6uB8Ash.js} +4 -4
  49. package/dist/component/{pieDiagram-7S7Q4E2Y-D8cHUkzW.js → pieDiagram-7S7Q4E2Y-6m7QqfK3.js} +4 -4
  50. package/dist/component/{quadrantDiagram-CIZ2JOQS-BNeqfDf4.js → quadrantDiagram-CIZ2JOQS-Dge2oJ5y.js} +3 -3
  51. package/dist/component/{railroadDiagram-AXF67PYL-BnMzmkOY.js → railroadDiagram-AXF67PYL-DWfg1byS.js} +4 -4
  52. package/dist/component/{requirementDiagram-LRYGKXZP-BRH5fHva.js → requirementDiagram-LRYGKXZP-C_mrqai9.js} +4 -4
  53. package/dist/component/{sankeyDiagram-W5VNT64P-Cq0gDRP2.js → sankeyDiagram-W5VNT64P-D1MhEv2a.js} +2 -2
  54. package/dist/component/{sequenceDiagram-SI44F4Z6-BVaNAKx0.js → sequenceDiagram-SI44F4Z6-mn9it5es.js} +4 -4
  55. package/dist/component/{sizeCapture-X5ZJPWSS-TjSqgMqH.js → sizeCapture-X5ZJPWSS-Do_vnkJp.js} +2 -2
  56. package/dist/component/{stateDiagram-OKZ733FA-h8M4ZCJD.js → stateDiagram-OKZ733FA-Pru5Vhsh.js} +3 -3
  57. package/dist/component/{stateDiagram-v2-UEYNNEHI-Bt7eFNHB.js → stateDiagram-v2-UEYNNEHI-BvRl8AHY.js} +3 -3
  58. package/dist/component/{swimlanes-SLNWSIFB-sfBKGyKm.js → swimlanes-SLNWSIFB-CfaY_lmO.js} +4 -4
  59. package/dist/component/{swimlanesDiagram-ULZ7WXOC-CxFraoVG.js → swimlanesDiagram-ULZ7WXOC-BFIfCk31.js} +3 -3
  60. package/dist/component/{timeline-definition-Z64GVDOM-DAWBGXFV.js → timeline-definition-Z64GVDOM-BFU8eZDJ.js} +3 -3
  61. package/dist/component/{vennDiagram-T6HMQDX7-CmFvuTy7.js → vennDiagram-T6HMQDX7-C475K8TJ.js} +2 -2
  62. package/dist/component/{wardleyDiagram-T6FBY63Y-gn696H4v.js → wardleyDiagram-T6FBY63Y-DZEN3DyJ.js} +3 -3
  63. package/dist/component/{xychartDiagram-ELKLHX3M-B8yDTGsJ.js → xychartDiagram-ELKLHX3M-B6MDNNoT.js} +3 -3
  64. package/dist/components/embed/EmbedConversation.d.ts +3 -3
  65. package/dist/components/embed/EmbedRail.d.ts +4 -2
  66. package/dist/components/embed/SlackConnection.d.ts +6 -0
  67. package/dist/components/embed/WelcomeHero.d.ts +16 -0
  68. package/dist/components/embed/WelcomeIntro.d.ts +18 -7
  69. package/dist/components/embed/WelcomeSkills.d.ts +7 -1
  70. package/dist/components/embed/WorkspacePane.d.ts +16 -0
  71. package/dist/components/embed/onboarding-story-dock.d.ts +3 -2
  72. package/dist/components/embed/use-preview-content-props.d.ts +7 -0
  73. package/dist/components/embed/use-prompt-invocations.d.ts +1 -0
  74. package/dist/embed/copy.d.ts +13 -18
  75. package/dist/embed/dock-layout.d.ts +14 -16
  76. package/dist/embed/dock-size-store.d.ts +7 -0
  77. package/dist/embed/dock-state.d.ts +2 -2
  78. package/dist/embed/hover-capability.d.ts +14 -0
  79. package/dist/embed/page-context.d.ts +11 -0
  80. package/dist/embed/show-target.d.ts +6 -0
  81. package/dist/embed/slash-commands.d.ts +7 -0
  82. package/dist/embed/user-context.d.ts +14 -0
  83. package/dist/embed/voice-call.d.ts +7 -6
  84. package/dist/i18n/messages/en.d.ts +11 -3
  85. package/dist/i18n/messages/surfaces/embedMisc.d.ts +0 -6
  86. package/dist/i18n/messages/surfaces/header.d.ts +6 -0
  87. package/dist/i18n/messages/surfaces/stream.d.ts +3 -0
  88. package/dist/i18n/messages/surfaces/workspace.d.ts +32 -0
  89. package/dist/stream/belong-chat-transport.d.ts +7 -7
  90. package/dist/stream/use-agent-workspace-focus.d.ts +5 -0
  91. package/dist/stream/workspace-focus-observer.d.ts +7 -0
  92. package/dist/stream/workspace-focus-store.d.ts +26 -0
  93. package/dist/types/public.d.ts +39 -0
  94. package/package.json +1 -1
  95. 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;
@@ -437,8 +939,9 @@ export declare const createApiClient: (baseUrl: string) => {
437
939
  text: string;
438
940
  timezone?: string | undefined;
439
941
  locale?: "en" | "es" | "pt" | undefined;
942
+ questionPresentation?: "text" | "card" | undefined;
440
943
  workspaceExternalId?: string | undefined;
441
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
944
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
442
945
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
443
946
  llmModel?: string | undefined;
444
947
  fileIds?: string[] | undefined;
@@ -465,8 +968,9 @@ export declare const createApiClient: (baseUrl: string) => {
465
968
  text: string;
466
969
  timezone?: string | undefined;
467
970
  locale?: "en" | "es" | "pt" | undefined;
971
+ questionPresentation?: "text" | "card" | undefined;
468
972
  workspaceExternalId?: string | undefined;
469
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
973
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
470
974
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
471
975
  llmModel?: string | undefined;
472
976
  fileIds?: string[] | undefined;
@@ -492,8 +996,9 @@ export declare const createApiClient: (baseUrl: string) => {
492
996
  text: string;
493
997
  timezone?: string | undefined;
494
998
  locale?: "en" | "es" | "pt" | undefined;
999
+ questionPresentation?: "text" | "card" | undefined;
495
1000
  workspaceExternalId?: string | undefined;
496
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
1001
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
497
1002
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
498
1003
  llmModel?: string | undefined;
499
1004
  fileIds?: string[] | undefined;
@@ -519,8 +1024,9 @@ export declare const createApiClient: (baseUrl: string) => {
519
1024
  text: string;
520
1025
  timezone?: string | undefined;
521
1026
  locale?: "en" | "es" | "pt" | undefined;
1027
+ questionPresentation?: "text" | "card" | undefined;
522
1028
  workspaceExternalId?: string | undefined;
523
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
1029
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
524
1030
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
525
1031
  llmModel?: string | undefined;
526
1032
  fileIds?: string[] | undefined;
@@ -793,7 +1299,7 @@ export declare const createApiClient: (baseUrl: string) => {
793
1299
  };
794
1300
  output: {
795
1301
  exportId: import('node_modules/@belong/cloud/src/platform/ids').SessionExportId;
796
- status: "ready" | "queued" | "failed" | "running";
1302
+ status: "queued" | "failed" | "running" | "ready";
797
1303
  error: string | null;
798
1304
  };
799
1305
  outputFormat: "json";
@@ -3356,7 +3862,7 @@ export declare const createApiClient: (baseUrl: string) => {
3356
3862
  input: {};
3357
3863
  output: null;
3358
3864
  outputFormat: "body";
3359
- status: 502 | 202;
3865
+ status: 202 | 502;
3360
3866
  };
3361
3867
  }>;
3362
3868
  };
@@ -3497,7 +4003,7 @@ export declare const createApiClient: (baseUrl: string) => {
3497
4003
  output: {
3498
4004
  error: {
3499
4005
  type: "scope_session_limit";
3500
- recovery: "unconfirmed" | "provider_sessions_revoked";
4006
+ recovery: "provider_sessions_revoked" | "unconfirmed";
3501
4007
  };
3502
4008
  };
3503
4009
  outputFormat: "json";
@@ -3821,7 +4327,7 @@ export declare const createApiClient: (baseUrl: string) => {
3821
4327
  } | undefined;
3822
4328
  originatingSessionId?: string | undefined;
3823
4329
  workspaceExternalId?: string | undefined;
3824
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
4330
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
3825
4331
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3826
4332
  llmModel?: string | undefined;
3827
4333
  };
@@ -3868,14 +4374,14 @@ export declare const createApiClient: (baseUrl: string) => {
3868
4374
  } | undefined;
3869
4375
  originatingSessionId?: string | undefined;
3870
4376
  workspaceExternalId?: string | undefined;
3871
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
4377
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
3872
4378
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3873
4379
  llmModel?: string | undefined;
3874
4380
  };
3875
4381
  };
3876
4382
  output: {
3877
4383
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
3878
- status: "scheduled" | "failed" | "running" | "completed";
4384
+ status: "scheduled" | "failed" | "completed" | "running";
3879
4385
  scheduledFor: string;
3880
4386
  seriesStatus: "active" | "completed" | "paused" | "deleted";
3881
4387
  recurrence: {
@@ -3920,7 +4426,7 @@ export declare const createApiClient: (baseUrl: string) => {
3920
4426
  } | undefined;
3921
4427
  originatingSessionId?: string | undefined;
3922
4428
  workspaceExternalId?: string | undefined;
3923
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
4429
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
3924
4430
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3925
4431
  llmModel?: string | undefined;
3926
4432
  };
@@ -3966,7 +4472,7 @@ export declare const createApiClient: (baseUrl: string) => {
3966
4472
  } | undefined;
3967
4473
  originatingSessionId?: string | undefined;
3968
4474
  workspaceExternalId?: string | undefined;
3969
- runtime?: "mastra" | "claude-managed" | "fake" | "claude-agent-sdk" | undefined;
4475
+ runtime?: "fake" | "claude-agent-sdk" | "mastra" | "claude-managed" | undefined;
3970
4476
  llmProvider?: "anthropic" | "google" | "openai" | "cerebras" | "gateway" | "openrouter" | "vertex" | undefined;
3971
4477
  llmModel?: string | undefined;
3972
4478
  };
@@ -4001,7 +4507,7 @@ export declare const createApiClient: (baseUrl: string) => {
4001
4507
  timezone: string;
4002
4508
  nextRunAt: string | null;
4003
4509
  lastRun: {
4004
- status: "failed" | "running" | "completed";
4510
+ status: "failed" | "completed" | "running";
4005
4511
  at: string | null;
4006
4512
  } | null;
4007
4513
  messagePreview: string;
@@ -4068,7 +4574,7 @@ export declare const createApiClient: (baseUrl: string) => {
4068
4574
  timezone: string;
4069
4575
  nextRunAt: string | null;
4070
4576
  lastRun: {
4071
- status: "failed" | "running" | "completed";
4577
+ status: "failed" | "completed" | "running";
4072
4578
  at: string | null;
4073
4579
  } | null;
4074
4580
  messagePreview: string;
@@ -5780,12 +6286,12 @@ export declare const createApiClient: (baseUrl: string) => {
5780
6286
  capabilities: {
5781
6287
  id: string;
5782
6288
  label: string;
5783
- status: "error" | "ready" | "needs_auth" | "needs_admin_consent" | "disabled";
6289
+ status: "error" | "needs_auth" | "ready" | "needs_admin_consent" | "disabled";
5784
6290
  }[];
5785
6291
  actions: {
5786
6292
  id: string;
5787
- kind: "disconnect" | "authorization";
5788
- label: "disconnect" | "reconnect" | "connect" | "grant_admin_consent";
6293
+ kind: "authorization" | "disconnect";
6294
+ label: "reconnect" | "disconnect" | "connect" | "grant_admin_consent";
5789
6295
  tone: "primary" | "destructive" | "secondary";
5790
6296
  requiresConfirmation: boolean;
5791
6297
  }[];