@belonguniverseai/react-sdk 0.6.25 → 0.6.27

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 (85) hide show
  1. package/README.md +7 -0
  2. package/dist/api/account-connectors.d.ts +2 -2
  3. package/dist/api/artifact-actions.d.ts +29 -0
  4. package/dist/api/client.d.ts +1291 -41
  5. package/dist/api/goals.d.ts +4 -4
  6. package/dist/api/task-schedule-sharing.d.ts +7 -4
  7. package/dist/api/task-schedules.d.ts +18 -15
  8. package/dist/app/dock-story-data.d.ts +6 -5
  9. package/dist/component/{abnfDiagram-N423BO3Z-D7OrqwMe.js → abnfDiagram-N423BO3Z-DrnjkZwk.js} +4 -4
  10. package/dist/component/{arc-CZN7i2F-.js → arc-CLchGzOM.js} +2 -2
  11. package/dist/component/{architectureDiagram-T3A2C74G-CVX4aJSk.js → architectureDiagram-T3A2C74G-Du8PLen3.js} +3 -3
  12. package/dist/component/{blockDiagram-VBNYF7ZC-DrT23ReK.js → blockDiagram-VBNYF7ZC-BxmYbrlL.js} +4 -4
  13. package/dist/component/{c4Diagram-5PPSVZJV-yA6JuHOr.js → c4Diagram-5PPSVZJV-DHiwlK7l.js} +3 -3
  14. package/dist/component/{channel-vZcyyovp.js → channel-C2eeNEMi.js} +2 -2
  15. package/dist/component/{chunk-2GRJ4B5K-C5DL0bNM.js → chunk-2GRJ4B5K-D6I_U4nB.js} +2 -2
  16. package/dist/component/{chunk-2Q5K7J3B-B5BiYW__.js → chunk-2Q5K7J3B-BR3JSmNI.js} +2 -2
  17. package/dist/component/{chunk-5RXB4S5H-wnHQNeJ5.js → chunk-5RXB4S5H-DcmzyncC.js} +5 -5
  18. package/dist/component/{chunk-5VM5RSS4-CdjvYb3M.js → chunk-5VM5RSS4-8ww1xEAz.js} +2 -2
  19. package/dist/component/{chunk-6Q2QTUOP-CNSvyjis.js → chunk-6Q2QTUOP-Chlg3gnC.js} +2 -2
  20. package/dist/component/{chunk-GF5L2VYU-D7BI1tvK.js → chunk-GF5L2VYU-CgKydjVC.js} +6 -6
  21. package/dist/component/{chunk-JWPE2WC7-CeLQPuLU.js → chunk-JWPE2WC7-13zVpFYT.js} +2 -2
  22. package/dist/component/{chunk-KBJHAD2P-DgAf9tRz.js → chunk-KBJHAD2P-CP28c_dJ.js} +2 -2
  23. package/dist/component/{chunk-RYQCIY6F-DjFej6-h.js → chunk-RYQCIY6F-CaHaa77d.js} +2 -2
  24. package/dist/component/{chunk-XXDRQBXY-CkNxuLox.js → chunk-XXDRQBXY-Cd0yVkqx.js} +2 -2
  25. package/dist/component/{classDiagram-JCYQIIEL-TyORp-Xl.js → classDiagram-JCYQIIEL-Bn0740dK.js} +3 -3
  26. package/dist/component/{classDiagram-v2-OCEON4UE-TyORp-Xl.js → classDiagram-v2-OCEON4UE-Bn0740dK.js} +3 -3
  27. package/dist/component/{cose-bilkent-JH36ORCC-C_lOBXUY.js → cose-bilkent-JH36ORCC-Y6CvxIe4.js} +2 -2
  28. package/dist/component/{cynefinDiagram-MW4NZA55-DqMIe0ZV.js → cynefinDiagram-MW4NZA55-BJ_o5gyM.js} +3 -3
  29. package/dist/component/{dagre-VZM6K2ZE-B3HtBfbf.js → dagre-VZM6K2ZE-Ce_ZLKlj.js} +3 -3
  30. package/dist/component/{diagram-7IWD3JNH-1uYIe-Fx.js → diagram-7IWD3JNH-K8E_XdII.js} +4 -4
  31. package/dist/component/{diagram-B4RE2ZJO-DLvDbgTV.js → diagram-B4RE2ZJO-DZGs1RuF.js} +3 -3
  32. package/dist/component/{diagram-LBJQPF4R-CdaGcjGt.js → diagram-LBJQPF4R-CzKPOqJK.js} +3 -3
  33. package/dist/component/{diagram-Q27KOJAE-u24QPtAZ.js → diagram-Q27KOJAE-UItKj-dk.js} +4 -4
  34. package/dist/component/{diagram-UB23O5K3-D0YnNMp3.js → diagram-UB23O5K3-ZxBLx0B9.js} +3 -3
  35. package/dist/component/{ebnfDiagram-BXEA7PRR-DdL9-qpf.js → ebnfDiagram-BXEA7PRR-BIS2pIB5.js} +4 -4
  36. package/dist/component/{erDiagram-JOGREHBK-1mtJehIC.js → erDiagram-JOGREHBK-BNZB6-ZZ.js} +5 -5
  37. package/dist/component/{flowDiagram-UKHOOZJN-BPwuBLmT.js → flowDiagram-UKHOOZJN-B8H3ZNjd.js} +7 -7
  38. package/dist/component/{ganttDiagram-PKOTCBZU-C0dhxKZn.js → ganttDiagram-PKOTCBZU-2JJJVAY-.js} +3 -3
  39. package/dist/component/{gitGraphDiagram-DS77QQ5N-9pn8I5Ww.js → gitGraphDiagram-DS77QQ5N-BVWxsX1D.js} +4 -4
  40. package/dist/component/{highlighted-body-OFNGDK62-BtE2oU8T.js → highlighted-body-OFNGDK62-CmQzAJHd.js} +2 -2
  41. package/dist/component/index.js +2 -2
  42. package/dist/component/{infoDiagram-6WML65LV-Un5rOho6.js → infoDiagram-6WML65LV-B-7B2PTM.js} +2 -2
  43. package/dist/component/{ishikawaDiagram-WSZJBQD7-B_Q76Ncg.js → ishikawaDiagram-WSZJBQD7-DgjY91jV.js} +2 -2
  44. package/dist/component/{journeyDiagram-NVQOT4AX-CvjCKkXJ.js → journeyDiagram-NVQOT4AX-fkb_5H2H.js} +5 -5
  45. package/dist/component/{kanban-definition-27J2QSJJ-DTk-MzTa.js → kanban-definition-27J2QSJJ-ZRQERkli.js} +3 -3
  46. package/dist/component/{linear-Bjkwtb4n.js → linear-DX0_iAiu.js} +2 -2
  47. package/dist/component/{mermaid-GHXKKRXX-CUdhS07I.js → mermaid-GHXKKRXX-BhURR8Q_.js} +36669 -35646
  48. package/dist/component/{mindmap-definition-FAOFIHXS-NMNGkbeM.js → mindmap-definition-FAOFIHXS-Duc36TEr.js} +4 -4
  49. package/dist/component/{pegDiagram-VL7TDLO6-DP8ndDG1.js → pegDiagram-VL7TDLO6-Egcz9GLB.js} +4 -4
  50. package/dist/component/{pieDiagram-7S7Q4E2Y-CneShL4n.js → pieDiagram-7S7Q4E2Y-DEe2GHp7.js} +4 -4
  51. package/dist/component/{quadrantDiagram-CIZ2JOQS-DwKlYHP_.js → quadrantDiagram-CIZ2JOQS-DNfio-6s.js} +3 -3
  52. package/dist/component/{railroadDiagram-AXF67PYL-D7hQRdO5.js → railroadDiagram-AXF67PYL-B3lRYedY.js} +4 -4
  53. package/dist/component/{requirementDiagram-LRYGKXZP-BLxtMc17.js → requirementDiagram-LRYGKXZP-DYYxC0Cg.js} +4 -4
  54. package/dist/component/{sankeyDiagram-W5VNT64P-CXp6dM_4.js → sankeyDiagram-W5VNT64P-CKQNueMs.js} +2 -2
  55. package/dist/component/{sequenceDiagram-SI44F4Z6-Ce7VH5G7.js → sequenceDiagram-SI44F4Z6-ChF8pgI7.js} +4 -4
  56. package/dist/component/{sizeCapture-X5ZJPWSS-CUTOnfZv.js → sizeCapture-X5ZJPWSS-BQyVznxb.js} +2 -2
  57. package/dist/component/{stateDiagram-OKZ733FA-Bu73CVSq.js → stateDiagram-OKZ733FA-CAVOTaJQ.js} +3 -3
  58. package/dist/component/{stateDiagram-v2-UEYNNEHI-ktw3g3Qt.js → stateDiagram-v2-UEYNNEHI-rGNqHCbu.js} +3 -3
  59. package/dist/component/{swimlanes-SLNWSIFB-DBKvCdnJ.js → swimlanes-SLNWSIFB-j8tXsaid.js} +4 -4
  60. package/dist/component/{swimlanesDiagram-ULZ7WXOC-CEWTxRuN.js → swimlanesDiagram-ULZ7WXOC-CsbepRMA.js} +3 -3
  61. package/dist/component/{timeline-definition-Z64GVDOM-C3MMj2z6.js → timeline-definition-Z64GVDOM-nCRE1AQh.js} +3 -3
  62. package/dist/component/{vennDiagram-T6HMQDX7-BRuneBor.js → vennDiagram-T6HMQDX7-C3ubGm9c.js} +2 -2
  63. package/dist/component/{wardleyDiagram-T6FBY63Y-Dyd4EEZv.js → wardleyDiagram-T6FBY63Y-mKT8yN1z.js} +3 -3
  64. package/dist/component/{xychartDiagram-ELKLHX3M-BDUULgvJ.js → xychartDiagram-ELKLHX3M-D5AF8jgv.js} +3 -3
  65. package/dist/components/embed/ArtifactApprovalDialog.d.ts +8 -0
  66. package/dist/components/embed/ArtifactOperationNoticeLine.d.ts +5 -0
  67. package/dist/components/embed/EmbedConversation.d.ts +4 -1
  68. package/dist/components/embed/WorkspacePolicySetting.d.ts +1 -0
  69. package/dist/components/embed/use-artifact-operation-notices.d.ts +19 -0
  70. package/dist/components/embed/use-inline-preview-url.d.ts +3 -1
  71. package/dist/components/scheduled/ScheduledDetailSurface.d.ts +9 -0
  72. package/dist/embed/artifact-action-bridge.d.ts +68 -0
  73. package/dist/embed/artifact-operation-notices.d.ts +45 -0
  74. package/dist/embed/artifact-remint-budget.d.ts +19 -0
  75. package/dist/embed/artifact-sandbox-hold.d.ts +10 -0
  76. package/dist/embed/goal-row-model.d.ts +1 -1
  77. package/dist/embed/workspace-policy.d.ts +7 -0
  78. package/dist/i18n/messages/en.d.ts +43 -3
  79. package/dist/i18n/messages/surfaces/aiElements.d.ts +4 -0
  80. package/dist/i18n/messages/surfaces/embedMisc.d.ts +84 -0
  81. package/dist/i18n/messages/surfaces/scheduled.d.ts +22 -2
  82. package/dist/i18n/messages/surfaces/settings.d.ts +16 -0
  83. package/dist/i18n/messages/surfaces/stream.d.ts +32 -0
  84. package/dist/stream/belong-chat-transport.d.ts +11 -7
  85. package/package.json +1 -1
@@ -977,6 +977,7 @@ export declare const createApiClient: (baseUrl: string) => {
977
977
  text: string;
978
978
  timezone?: string | undefined;
979
979
  locale?: "en" | "es" | "pt" | "it" | undefined;
980
+ workspaceScope?: "open" | "strict" | undefined;
980
981
  questionPresentation?: "text" | "card" | undefined;
981
982
  workspaceExternalId?: string | undefined;
982
983
  goal?: {
@@ -1011,6 +1012,7 @@ export declare const createApiClient: (baseUrl: string) => {
1011
1012
  text: string;
1012
1013
  timezone?: string | undefined;
1013
1014
  locale?: "en" | "es" | "pt" | "it" | undefined;
1015
+ workspaceScope?: "open" | "strict" | undefined;
1014
1016
  questionPresentation?: "text" | "card" | undefined;
1015
1017
  workspaceExternalId?: string | undefined;
1016
1018
  goal?: {
@@ -1044,6 +1046,7 @@ export declare const createApiClient: (baseUrl: string) => {
1044
1046
  text: string;
1045
1047
  timezone?: string | undefined;
1046
1048
  locale?: "en" | "es" | "pt" | "it" | undefined;
1049
+ workspaceScope?: "open" | "strict" | undefined;
1047
1050
  questionPresentation?: "text" | "card" | undefined;
1048
1051
  workspaceExternalId?: string | undefined;
1049
1052
  goal?: {
@@ -1077,6 +1080,7 @@ export declare const createApiClient: (baseUrl: string) => {
1077
1080
  text: string;
1078
1081
  timezone?: string | undefined;
1079
1082
  locale?: "en" | "es" | "pt" | "it" | undefined;
1083
+ workspaceScope?: "open" | "strict" | undefined;
1080
1084
  questionPresentation?: "text" | "card" | undefined;
1081
1085
  workspaceExternalId?: string | undefined;
1082
1086
  goal?: {
@@ -1110,6 +1114,7 @@ export declare const createApiClient: (baseUrl: string) => {
1110
1114
  text: string;
1111
1115
  timezone?: string | undefined;
1112
1116
  locale?: "en" | "es" | "pt" | "it" | undefined;
1117
+ workspaceScope?: "open" | "strict" | undefined;
1113
1118
  questionPresentation?: "text" | "card" | undefined;
1114
1119
  workspaceExternalId?: string | undefined;
1115
1120
  goal?: {
@@ -1143,6 +1148,7 @@ export declare const createApiClient: (baseUrl: string) => {
1143
1148
  text: string;
1144
1149
  timezone?: string | undefined;
1145
1150
  locale?: "en" | "es" | "pt" | "it" | undefined;
1151
+ workspaceScope?: "open" | "strict" | undefined;
1146
1152
  questionPresentation?: "text" | "card" | undefined;
1147
1153
  workspaceExternalId?: string | undefined;
1148
1154
  goal?: {
@@ -1176,6 +1182,7 @@ export declare const createApiClient: (baseUrl: string) => {
1176
1182
  text: string;
1177
1183
  timezone?: string | undefined;
1178
1184
  locale?: "en" | "es" | "pt" | "it" | undefined;
1185
+ workspaceScope?: "open" | "strict" | undefined;
1179
1186
  questionPresentation?: "text" | "card" | undefined;
1180
1187
  workspaceExternalId?: string | undefined;
1181
1188
  goal?: {
@@ -1677,7 +1684,7 @@ export declare const createApiClient: (baseUrl: string) => {
1677
1684
  };
1678
1685
  output: {
1679
1686
  exportId: import('node_modules/@belong/cloud/src/platform/ids').SessionExportId;
1680
- status: "queued" | "failed" | "running" | "ready";
1687
+ status: "failed" | "queued" | "running" | "ready";
1681
1688
  error: string | null;
1682
1689
  };
1683
1690
  outputFormat: "json";
@@ -1721,7 +1728,7 @@ export declare const createApiClient: (baseUrl: string) => {
1721
1728
  output: {
1722
1729
  error: {
1723
1730
  type: string;
1724
- status: "queued" | "failed" | "running";
1731
+ status: "failed" | "queued" | "running";
1725
1732
  };
1726
1733
  };
1727
1734
  outputFormat: "json";
@@ -2584,6 +2591,1224 @@ export declare const createApiClient: (baseUrl: string) => {
2584
2591
  };
2585
2592
  };
2586
2593
  };
2594
+ } & {
2595
+ v1: {
2596
+ artifacts: {
2597
+ ":artifactId": {
2598
+ actions: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/actions", {
2599
+ $get: {
2600
+ input: {
2601
+ param: {
2602
+ artifactId: string;
2603
+ };
2604
+ } & {
2605
+ query: {
2606
+ workspaceExternalId: string;
2607
+ };
2608
+ };
2609
+ output: {
2610
+ error: {
2611
+ type: string;
2612
+ };
2613
+ };
2614
+ outputFormat: "json";
2615
+ status: 503;
2616
+ } | {
2617
+ input: {
2618
+ param: {
2619
+ artifactId: string;
2620
+ };
2621
+ } & {
2622
+ query: {
2623
+ workspaceExternalId: string;
2624
+ };
2625
+ };
2626
+ output: {
2627
+ version: 1;
2628
+ actions: {
2629
+ actionId: string;
2630
+ title: string;
2631
+ scriptVersion: string;
2632
+ }[];
2633
+ };
2634
+ outputFormat: "json";
2635
+ status: 200 | 202;
2636
+ } | {
2637
+ input: {
2638
+ param: {
2639
+ artifactId: string;
2640
+ };
2641
+ } & {
2642
+ query: {
2643
+ workspaceExternalId: string;
2644
+ };
2645
+ };
2646
+ output: {
2647
+ error: {
2648
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
2649
+ };
2650
+ };
2651
+ outputFormat: "json";
2652
+ status: 409;
2653
+ } | {
2654
+ input: {
2655
+ param: {
2656
+ artifactId: string;
2657
+ };
2658
+ } & {
2659
+ query: {
2660
+ workspaceExternalId: string;
2661
+ };
2662
+ };
2663
+ output: {
2664
+ error: {
2665
+ type: "too_many_operations";
2666
+ };
2667
+ };
2668
+ outputFormat: "json";
2669
+ status: 429;
2670
+ } | {
2671
+ input: {
2672
+ param: {
2673
+ artifactId: string;
2674
+ };
2675
+ } & {
2676
+ query: {
2677
+ workspaceExternalId: string;
2678
+ };
2679
+ };
2680
+ output: {
2681
+ error: {
2682
+ type: "access_unavailable";
2683
+ };
2684
+ };
2685
+ outputFormat: "json";
2686
+ status: 403;
2687
+ } | {
2688
+ input: {
2689
+ param: {
2690
+ artifactId: string;
2691
+ };
2692
+ } & {
2693
+ query: {
2694
+ workspaceExternalId: string;
2695
+ };
2696
+ };
2697
+ output: {
2698
+ error: {
2699
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
2700
+ };
2701
+ };
2702
+ outputFormat: "json";
2703
+ status: 404;
2704
+ };
2705
+ }>;
2706
+ };
2707
+ };
2708
+ };
2709
+ } & {
2710
+ v1: {
2711
+ artifacts: {
2712
+ ":artifactId": {
2713
+ actions: {
2714
+ ":actionId": {
2715
+ operations: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/actions/:actionId/operations", {
2716
+ $post: {
2717
+ input: {
2718
+ param: {
2719
+ artifactId: string;
2720
+ actionId: string;
2721
+ };
2722
+ } & {
2723
+ query: {
2724
+ workspaceExternalId: string;
2725
+ };
2726
+ } & {
2727
+ json: {
2728
+ requestId: string;
2729
+ scriptVersion: string;
2730
+ params: {
2731
+ transactionIds: string[];
2732
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2733
+ };
2734
+ };
2735
+ };
2736
+ output: {
2737
+ error: {
2738
+ type: string;
2739
+ };
2740
+ };
2741
+ outputFormat: "json";
2742
+ status: 503;
2743
+ } | {
2744
+ input: {
2745
+ param: {
2746
+ artifactId: string;
2747
+ actionId: string;
2748
+ };
2749
+ } & {
2750
+ query: {
2751
+ workspaceExternalId: string;
2752
+ };
2753
+ } & {
2754
+ json: {
2755
+ requestId: string;
2756
+ scriptVersion: string;
2757
+ params: {
2758
+ transactionIds: string[];
2759
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2760
+ };
2761
+ };
2762
+ };
2763
+ output: {
2764
+ operationId: string;
2765
+ requestId: string;
2766
+ artifactId: string;
2767
+ actionId: string;
2768
+ scriptVersion: string;
2769
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
2770
+ settled: boolean;
2771
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
2772
+ createdAt: string;
2773
+ updatedAt: string;
2774
+ selection?: {
2775
+ transactionIds: string[];
2776
+ parameters?: {
2777
+ [x: string]: string | number | boolean | null;
2778
+ } | undefined;
2779
+ } | undefined;
2780
+ result?: {
2781
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
2782
+ summary: string;
2783
+ affectedIds: string[];
2784
+ failedIds: string[];
2785
+ } | undefined;
2786
+ exitCode?: number | null | undefined;
2787
+ approvalId?: string | undefined;
2788
+ error?: {
2789
+ code: string;
2790
+ message: string;
2791
+ } | undefined;
2792
+ };
2793
+ outputFormat: "json";
2794
+ status: 200 | 202;
2795
+ } | {
2796
+ input: {
2797
+ param: {
2798
+ artifactId: string;
2799
+ actionId: string;
2800
+ };
2801
+ } & {
2802
+ query: {
2803
+ workspaceExternalId: string;
2804
+ };
2805
+ } & {
2806
+ json: {
2807
+ requestId: string;
2808
+ scriptVersion: string;
2809
+ params: {
2810
+ transactionIds: string[];
2811
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2812
+ };
2813
+ };
2814
+ };
2815
+ output: {
2816
+ error: {
2817
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
2818
+ };
2819
+ };
2820
+ outputFormat: "json";
2821
+ status: 409;
2822
+ } | {
2823
+ input: {
2824
+ param: {
2825
+ artifactId: string;
2826
+ actionId: string;
2827
+ };
2828
+ } & {
2829
+ query: {
2830
+ workspaceExternalId: string;
2831
+ };
2832
+ } & {
2833
+ json: {
2834
+ requestId: string;
2835
+ scriptVersion: string;
2836
+ params: {
2837
+ transactionIds: string[];
2838
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2839
+ };
2840
+ };
2841
+ };
2842
+ output: {
2843
+ error: {
2844
+ type: "too_many_operations";
2845
+ };
2846
+ };
2847
+ outputFormat: "json";
2848
+ status: 429;
2849
+ } | {
2850
+ input: {
2851
+ param: {
2852
+ artifactId: string;
2853
+ actionId: string;
2854
+ };
2855
+ } & {
2856
+ query: {
2857
+ workspaceExternalId: string;
2858
+ };
2859
+ } & {
2860
+ json: {
2861
+ requestId: string;
2862
+ scriptVersion: string;
2863
+ params: {
2864
+ transactionIds: string[];
2865
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2866
+ };
2867
+ };
2868
+ };
2869
+ output: {
2870
+ error: {
2871
+ type: "access_unavailable";
2872
+ };
2873
+ };
2874
+ outputFormat: "json";
2875
+ status: 403;
2876
+ } | {
2877
+ input: {
2878
+ param: {
2879
+ artifactId: string;
2880
+ actionId: string;
2881
+ };
2882
+ } & {
2883
+ query: {
2884
+ workspaceExternalId: string;
2885
+ };
2886
+ } & {
2887
+ json: {
2888
+ requestId: string;
2889
+ scriptVersion: string;
2890
+ params: {
2891
+ transactionIds: string[];
2892
+ parameters?: Record<string, string | number | boolean | null> | undefined;
2893
+ };
2894
+ };
2895
+ };
2896
+ output: {
2897
+ error: {
2898
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
2899
+ };
2900
+ };
2901
+ outputFormat: "json";
2902
+ status: 404;
2903
+ };
2904
+ }>;
2905
+ };
2906
+ };
2907
+ };
2908
+ };
2909
+ };
2910
+ } & {
2911
+ v1: {
2912
+ artifacts: {
2913
+ ":artifactId": {
2914
+ operations: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations", {
2915
+ $get: {
2916
+ input: {
2917
+ param: {
2918
+ artifactId: string;
2919
+ };
2920
+ } & {
2921
+ query: {
2922
+ workspaceExternalId: string;
2923
+ };
2924
+ };
2925
+ output: {
2926
+ error: {
2927
+ type: string;
2928
+ };
2929
+ };
2930
+ outputFormat: "json";
2931
+ status: 503;
2932
+ } | {
2933
+ input: {
2934
+ param: {
2935
+ artifactId: string;
2936
+ };
2937
+ } & {
2938
+ query: {
2939
+ workspaceExternalId: string;
2940
+ };
2941
+ };
2942
+ output: {
2943
+ operations: {
2944
+ operationId: string;
2945
+ requestId: string;
2946
+ artifactId: string;
2947
+ actionId: string;
2948
+ scriptVersion: string;
2949
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
2950
+ settled: boolean;
2951
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
2952
+ createdAt: string;
2953
+ updatedAt: string;
2954
+ selection?: {
2955
+ transactionIds: string[];
2956
+ parameters?: {
2957
+ [x: string]: string | number | boolean | null;
2958
+ } | undefined;
2959
+ } | undefined;
2960
+ result?: {
2961
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
2962
+ summary: string;
2963
+ affectedIds: string[];
2964
+ failedIds: string[];
2965
+ } | undefined;
2966
+ exitCode?: number | null | undefined;
2967
+ approvalId?: string | undefined;
2968
+ error?: {
2969
+ code: string;
2970
+ message: string;
2971
+ } | undefined;
2972
+ }[];
2973
+ };
2974
+ outputFormat: "json";
2975
+ status: 200 | 202;
2976
+ } | {
2977
+ input: {
2978
+ param: {
2979
+ artifactId: string;
2980
+ };
2981
+ } & {
2982
+ query: {
2983
+ workspaceExternalId: string;
2984
+ };
2985
+ };
2986
+ output: {
2987
+ error: {
2988
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
2989
+ };
2990
+ };
2991
+ outputFormat: "json";
2992
+ status: 409;
2993
+ } | {
2994
+ input: {
2995
+ param: {
2996
+ artifactId: string;
2997
+ };
2998
+ } & {
2999
+ query: {
3000
+ workspaceExternalId: string;
3001
+ };
3002
+ };
3003
+ output: {
3004
+ error: {
3005
+ type: "too_many_operations";
3006
+ };
3007
+ };
3008
+ outputFormat: "json";
3009
+ status: 429;
3010
+ } | {
3011
+ input: {
3012
+ param: {
3013
+ artifactId: string;
3014
+ };
3015
+ } & {
3016
+ query: {
3017
+ workspaceExternalId: string;
3018
+ };
3019
+ };
3020
+ output: {
3021
+ error: {
3022
+ type: "access_unavailable";
3023
+ };
3024
+ };
3025
+ outputFormat: "json";
3026
+ status: 403;
3027
+ } | {
3028
+ input: {
3029
+ param: {
3030
+ artifactId: string;
3031
+ };
3032
+ } & {
3033
+ query: {
3034
+ workspaceExternalId: string;
3035
+ };
3036
+ };
3037
+ output: {
3038
+ error: {
3039
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3040
+ };
3041
+ };
3042
+ outputFormat: "json";
3043
+ status: 404;
3044
+ };
3045
+ }>;
3046
+ };
3047
+ };
3048
+ };
3049
+ } & {
3050
+ v1: {
3051
+ artifacts: {
3052
+ ":artifactId": {
3053
+ operations: {
3054
+ ":operationId": import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId", {
3055
+ $get: {
3056
+ input: {
3057
+ param: {
3058
+ artifactId: string;
3059
+ operationId: string;
3060
+ };
3061
+ } & {
3062
+ query: {
3063
+ workspaceExternalId: string;
3064
+ };
3065
+ };
3066
+ output: {
3067
+ operationId: string;
3068
+ requestId: string;
3069
+ artifactId: string;
3070
+ actionId: string;
3071
+ scriptVersion: string;
3072
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3073
+ settled: boolean;
3074
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3075
+ createdAt: string;
3076
+ updatedAt: string;
3077
+ selection?: {
3078
+ transactionIds: string[];
3079
+ parameters?: {
3080
+ [x: string]: string | number | boolean | null;
3081
+ } | undefined;
3082
+ } | undefined;
3083
+ result?: {
3084
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3085
+ summary: string;
3086
+ affectedIds: string[];
3087
+ failedIds: string[];
3088
+ } | undefined;
3089
+ exitCode?: number | null | undefined;
3090
+ approvalId?: string | undefined;
3091
+ error?: {
3092
+ code: string;
3093
+ message: string;
3094
+ } | undefined;
3095
+ };
3096
+ outputFormat: "json";
3097
+ status: 200 | 202;
3098
+ } | {
3099
+ input: {
3100
+ param: {
3101
+ artifactId: string;
3102
+ operationId: string;
3103
+ };
3104
+ } & {
3105
+ query: {
3106
+ workspaceExternalId: string;
3107
+ };
3108
+ };
3109
+ output: {
3110
+ error: {
3111
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3112
+ };
3113
+ };
3114
+ outputFormat: "json";
3115
+ status: 409;
3116
+ } | {
3117
+ input: {
3118
+ param: {
3119
+ artifactId: string;
3120
+ operationId: string;
3121
+ };
3122
+ } & {
3123
+ query: {
3124
+ workspaceExternalId: string;
3125
+ };
3126
+ };
3127
+ output: {
3128
+ error: {
3129
+ type: "too_many_operations";
3130
+ };
3131
+ };
3132
+ outputFormat: "json";
3133
+ status: 429;
3134
+ } | {
3135
+ input: {
3136
+ param: {
3137
+ artifactId: string;
3138
+ operationId: string;
3139
+ };
3140
+ } & {
3141
+ query: {
3142
+ workspaceExternalId: string;
3143
+ };
3144
+ };
3145
+ output: {
3146
+ error: {
3147
+ type: "access_unavailable";
3148
+ };
3149
+ };
3150
+ outputFormat: "json";
3151
+ status: 403;
3152
+ } | {
3153
+ input: {
3154
+ param: {
3155
+ artifactId: string;
3156
+ operationId: string;
3157
+ };
3158
+ } & {
3159
+ query: {
3160
+ workspaceExternalId: string;
3161
+ };
3162
+ };
3163
+ output: {
3164
+ error: {
3165
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3166
+ };
3167
+ };
3168
+ outputFormat: "json";
3169
+ status: 404;
3170
+ } | {
3171
+ input: {
3172
+ param: {
3173
+ artifactId: string;
3174
+ operationId: string;
3175
+ };
3176
+ } & {
3177
+ query: {
3178
+ workspaceExternalId: string;
3179
+ };
3180
+ };
3181
+ output: {
3182
+ error: {
3183
+ type: string;
3184
+ };
3185
+ };
3186
+ outputFormat: "json";
3187
+ status: 503;
3188
+ };
3189
+ }>;
3190
+ };
3191
+ };
3192
+ };
3193
+ };
3194
+ } & {
3195
+ v1: {
3196
+ artifacts: {
3197
+ ":artifactId": {
3198
+ operations: {
3199
+ ":operationId": {
3200
+ review: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/review", {
3201
+ $get: {
3202
+ input: {
3203
+ param: {
3204
+ artifactId: string;
3205
+ operationId: string;
3206
+ };
3207
+ } & {
3208
+ query: {
3209
+ workspaceExternalId: string;
3210
+ };
3211
+ };
3212
+ output: {
3213
+ error: {
3214
+ type: string;
3215
+ };
3216
+ };
3217
+ outputFormat: "json";
3218
+ status: 503;
3219
+ } | {
3220
+ input: {
3221
+ param: {
3222
+ artifactId: string;
3223
+ operationId: string;
3224
+ };
3225
+ } & {
3226
+ query: {
3227
+ workspaceExternalId: string;
3228
+ };
3229
+ };
3230
+ output: {
3231
+ title: string;
3232
+ workspaceExternalId: string | null;
3233
+ scriptVersion: string;
3234
+ script: string;
3235
+ params: {
3236
+ transactionIds: string[];
3237
+ parameters?: {
3238
+ [x: string]: string | number | boolean | null;
3239
+ } | undefined;
3240
+ };
3241
+ };
3242
+ outputFormat: "json";
3243
+ status: 200 | 202;
3244
+ } | {
3245
+ input: {
3246
+ param: {
3247
+ artifactId: string;
3248
+ operationId: string;
3249
+ };
3250
+ } & {
3251
+ query: {
3252
+ workspaceExternalId: string;
3253
+ };
3254
+ };
3255
+ output: {
3256
+ error: {
3257
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3258
+ };
3259
+ };
3260
+ outputFormat: "json";
3261
+ status: 409;
3262
+ } | {
3263
+ input: {
3264
+ param: {
3265
+ artifactId: string;
3266
+ operationId: string;
3267
+ };
3268
+ } & {
3269
+ query: {
3270
+ workspaceExternalId: string;
3271
+ };
3272
+ };
3273
+ output: {
3274
+ error: {
3275
+ type: "too_many_operations";
3276
+ };
3277
+ };
3278
+ outputFormat: "json";
3279
+ status: 429;
3280
+ } | {
3281
+ input: {
3282
+ param: {
3283
+ artifactId: string;
3284
+ operationId: string;
3285
+ };
3286
+ } & {
3287
+ query: {
3288
+ workspaceExternalId: string;
3289
+ };
3290
+ };
3291
+ output: {
3292
+ error: {
3293
+ type: "access_unavailable";
3294
+ };
3295
+ };
3296
+ outputFormat: "json";
3297
+ status: 403;
3298
+ } | {
3299
+ input: {
3300
+ param: {
3301
+ artifactId: string;
3302
+ operationId: string;
3303
+ };
3304
+ } & {
3305
+ query: {
3306
+ workspaceExternalId: string;
3307
+ };
3308
+ };
3309
+ output: {
3310
+ error: {
3311
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3312
+ };
3313
+ };
3314
+ outputFormat: "json";
3315
+ status: 404;
3316
+ };
3317
+ }>;
3318
+ };
3319
+ };
3320
+ };
3321
+ };
3322
+ };
3323
+ } & {
3324
+ v1: {
3325
+ artifacts: {
3326
+ ":artifactId": {
3327
+ operations: {
3328
+ ":operationId": {
3329
+ cancel: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/cancel", {
3330
+ $post: {
3331
+ input: {
3332
+ param: {
3333
+ artifactId: string;
3334
+ operationId: string;
3335
+ };
3336
+ } & {
3337
+ query: {
3338
+ workspaceExternalId: string;
3339
+ };
3340
+ } & {
3341
+ json: Record<string, never>;
3342
+ };
3343
+ output: {
3344
+ operationId: string;
3345
+ requestId: string;
3346
+ artifactId: string;
3347
+ actionId: string;
3348
+ scriptVersion: string;
3349
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3350
+ settled: boolean;
3351
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3352
+ createdAt: string;
3353
+ updatedAt: string;
3354
+ selection?: {
3355
+ transactionIds: string[];
3356
+ parameters?: {
3357
+ [x: string]: string | number | boolean | null;
3358
+ } | undefined;
3359
+ } | undefined;
3360
+ result?: {
3361
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3362
+ summary: string;
3363
+ affectedIds: string[];
3364
+ failedIds: string[];
3365
+ } | undefined;
3366
+ exitCode?: number | null | undefined;
3367
+ approvalId?: string | undefined;
3368
+ error?: {
3369
+ code: string;
3370
+ message: string;
3371
+ } | undefined;
3372
+ };
3373
+ outputFormat: "json";
3374
+ status: 200 | 202;
3375
+ } | {
3376
+ input: {
3377
+ param: {
3378
+ artifactId: string;
3379
+ operationId: string;
3380
+ };
3381
+ } & {
3382
+ query: {
3383
+ workspaceExternalId: string;
3384
+ };
3385
+ } & {
3386
+ json: Record<string, never>;
3387
+ };
3388
+ output: {
3389
+ error: {
3390
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3391
+ };
3392
+ };
3393
+ outputFormat: "json";
3394
+ status: 409;
3395
+ } | {
3396
+ input: {
3397
+ param: {
3398
+ artifactId: string;
3399
+ operationId: string;
3400
+ };
3401
+ } & {
3402
+ query: {
3403
+ workspaceExternalId: string;
3404
+ };
3405
+ } & {
3406
+ json: Record<string, never>;
3407
+ };
3408
+ output: {
3409
+ error: {
3410
+ type: "too_many_operations";
3411
+ };
3412
+ };
3413
+ outputFormat: "json";
3414
+ status: 429;
3415
+ } | {
3416
+ input: {
3417
+ param: {
3418
+ artifactId: string;
3419
+ operationId: string;
3420
+ };
3421
+ } & {
3422
+ query: {
3423
+ workspaceExternalId: string;
3424
+ };
3425
+ } & {
3426
+ json: Record<string, never>;
3427
+ };
3428
+ output: {
3429
+ error: {
3430
+ type: "access_unavailable";
3431
+ };
3432
+ };
3433
+ outputFormat: "json";
3434
+ status: 403;
3435
+ } | {
3436
+ input: {
3437
+ param: {
3438
+ artifactId: string;
3439
+ operationId: string;
3440
+ };
3441
+ } & {
3442
+ query: {
3443
+ workspaceExternalId: string;
3444
+ };
3445
+ } & {
3446
+ json: Record<string, never>;
3447
+ };
3448
+ output: {
3449
+ error: {
3450
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3451
+ };
3452
+ };
3453
+ outputFormat: "json";
3454
+ status: 404;
3455
+ } | {
3456
+ input: {
3457
+ param: {
3458
+ artifactId: string;
3459
+ operationId: string;
3460
+ };
3461
+ } & {
3462
+ query: {
3463
+ workspaceExternalId: string;
3464
+ };
3465
+ } & {
3466
+ json: Record<string, never>;
3467
+ };
3468
+ output: {
3469
+ error: {
3470
+ type: string;
3471
+ };
3472
+ };
3473
+ outputFormat: "json";
3474
+ status: 503;
3475
+ };
3476
+ }>;
3477
+ };
3478
+ };
3479
+ };
3480
+ };
3481
+ };
3482
+ } & {
3483
+ v1: {
3484
+ artifacts: {
3485
+ ":artifactId": {
3486
+ operations: {
3487
+ ":operationId": {
3488
+ settle: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/settle", {
3489
+ $post: {
3490
+ input: {
3491
+ param: {
3492
+ artifactId: string;
3493
+ operationId: string;
3494
+ };
3495
+ } & {
3496
+ query: {
3497
+ workspaceExternalId: string;
3498
+ };
3499
+ } & {
3500
+ json: Record<string, never>;
3501
+ };
3502
+ output: {
3503
+ operationId: string;
3504
+ requestId: string;
3505
+ artifactId: string;
3506
+ actionId: string;
3507
+ scriptVersion: string;
3508
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3509
+ settled: boolean;
3510
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3511
+ createdAt: string;
3512
+ updatedAt: string;
3513
+ selection?: {
3514
+ transactionIds: string[];
3515
+ parameters?: {
3516
+ [x: string]: string | number | boolean | null;
3517
+ } | undefined;
3518
+ } | undefined;
3519
+ result?: {
3520
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3521
+ summary: string;
3522
+ affectedIds: string[];
3523
+ failedIds: string[];
3524
+ } | undefined;
3525
+ exitCode?: number | null | undefined;
3526
+ approvalId?: string | undefined;
3527
+ error?: {
3528
+ code: string;
3529
+ message: string;
3530
+ } | undefined;
3531
+ };
3532
+ outputFormat: "json";
3533
+ status: 200 | 202;
3534
+ } | {
3535
+ input: {
3536
+ param: {
3537
+ artifactId: string;
3538
+ operationId: string;
3539
+ };
3540
+ } & {
3541
+ query: {
3542
+ workspaceExternalId: string;
3543
+ };
3544
+ } & {
3545
+ json: Record<string, never>;
3546
+ };
3547
+ output: {
3548
+ error: {
3549
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3550
+ };
3551
+ };
3552
+ outputFormat: "json";
3553
+ status: 409;
3554
+ } | {
3555
+ input: {
3556
+ param: {
3557
+ artifactId: string;
3558
+ operationId: string;
3559
+ };
3560
+ } & {
3561
+ query: {
3562
+ workspaceExternalId: string;
3563
+ };
3564
+ } & {
3565
+ json: Record<string, never>;
3566
+ };
3567
+ output: {
3568
+ error: {
3569
+ type: "too_many_operations";
3570
+ };
3571
+ };
3572
+ outputFormat: "json";
3573
+ status: 429;
3574
+ } | {
3575
+ input: {
3576
+ param: {
3577
+ artifactId: string;
3578
+ operationId: string;
3579
+ };
3580
+ } & {
3581
+ query: {
3582
+ workspaceExternalId: string;
3583
+ };
3584
+ } & {
3585
+ json: Record<string, never>;
3586
+ };
3587
+ output: {
3588
+ error: {
3589
+ type: "access_unavailable";
3590
+ };
3591
+ };
3592
+ outputFormat: "json";
3593
+ status: 403;
3594
+ } | {
3595
+ input: {
3596
+ param: {
3597
+ artifactId: string;
3598
+ operationId: string;
3599
+ };
3600
+ } & {
3601
+ query: {
3602
+ workspaceExternalId: string;
3603
+ };
3604
+ } & {
3605
+ json: Record<string, never>;
3606
+ };
3607
+ output: {
3608
+ error: {
3609
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3610
+ };
3611
+ };
3612
+ outputFormat: "json";
3613
+ status: 404;
3614
+ } | {
3615
+ input: {
3616
+ param: {
3617
+ artifactId: string;
3618
+ operationId: string;
3619
+ };
3620
+ } & {
3621
+ query: {
3622
+ workspaceExternalId: string;
3623
+ };
3624
+ } & {
3625
+ json: Record<string, never>;
3626
+ };
3627
+ output: {
3628
+ error: {
3629
+ type: string;
3630
+ };
3631
+ };
3632
+ outputFormat: "json";
3633
+ status: 503;
3634
+ };
3635
+ }>;
3636
+ };
3637
+ };
3638
+ };
3639
+ };
3640
+ };
3641
+ } & {
3642
+ v1: {
3643
+ artifacts: {
3644
+ ":artifactId": {
3645
+ operations: {
3646
+ ":operationId": {
3647
+ approval: import('hono/client').ClientRequest<string, "/v1/artifacts/:artifactId/operations/:operationId/approval", {
3648
+ $post: {
3649
+ input: {
3650
+ param: {
3651
+ artifactId: string;
3652
+ operationId: string;
3653
+ };
3654
+ } & {
3655
+ query: {
3656
+ workspaceExternalId: string;
3657
+ };
3658
+ } & {
3659
+ json: {
3660
+ decision: "approved" | "rejected";
3661
+ };
3662
+ };
3663
+ output: {
3664
+ operationId: string;
3665
+ requestId: string;
3666
+ artifactId: string;
3667
+ actionId: string;
3668
+ scriptVersion: string;
3669
+ status: "unknown" | "failed" | "queued" | "waiting_for_approval" | "running" | "completed" | "cancelled";
3670
+ settled: boolean;
3671
+ stopEvidence: "confirmed" | "not_launched" | "pending" | "assumed";
3672
+ createdAt: string;
3673
+ updatedAt: string;
3674
+ selection?: {
3675
+ transactionIds: string[];
3676
+ parameters?: {
3677
+ [x: string]: string | number | boolean | null;
3678
+ } | undefined;
3679
+ } | undefined;
3680
+ result?: {
3681
+ outcome: "unknown" | "confirmed" | "partial" | "failed";
3682
+ summary: string;
3683
+ affectedIds: string[];
3684
+ failedIds: string[];
3685
+ } | undefined;
3686
+ exitCode?: number | null | undefined;
3687
+ approvalId?: string | undefined;
3688
+ error?: {
3689
+ code: string;
3690
+ message: string;
3691
+ } | undefined;
3692
+ };
3693
+ outputFormat: "json";
3694
+ status: 200 | 202;
3695
+ } | {
3696
+ input: {
3697
+ param: {
3698
+ artifactId: string;
3699
+ operationId: string;
3700
+ };
3701
+ } & {
3702
+ query: {
3703
+ workspaceExternalId: string;
3704
+ };
3705
+ } & {
3706
+ json: {
3707
+ decision: "approved" | "rejected";
3708
+ };
3709
+ };
3710
+ output: {
3711
+ error: {
3712
+ type: "invalid_binding" | "request_conflict" | "cli_reconnect_required" | "not_settleable";
3713
+ };
3714
+ };
3715
+ outputFormat: "json";
3716
+ status: 409;
3717
+ } | {
3718
+ input: {
3719
+ param: {
3720
+ artifactId: string;
3721
+ operationId: string;
3722
+ };
3723
+ } & {
3724
+ query: {
3725
+ workspaceExternalId: string;
3726
+ };
3727
+ } & {
3728
+ json: {
3729
+ decision: "approved" | "rejected";
3730
+ };
3731
+ };
3732
+ output: {
3733
+ error: {
3734
+ type: "too_many_operations";
3735
+ };
3736
+ };
3737
+ outputFormat: "json";
3738
+ status: 429;
3739
+ } | {
3740
+ input: {
3741
+ param: {
3742
+ artifactId: string;
3743
+ operationId: string;
3744
+ };
3745
+ } & {
3746
+ query: {
3747
+ workspaceExternalId: string;
3748
+ };
3749
+ } & {
3750
+ json: {
3751
+ decision: "approved" | "rejected";
3752
+ };
3753
+ };
3754
+ output: {
3755
+ error: {
3756
+ type: "access_unavailable";
3757
+ };
3758
+ };
3759
+ outputFormat: "json";
3760
+ status: 403;
3761
+ } | {
3762
+ input: {
3763
+ param: {
3764
+ artifactId: string;
3765
+ operationId: string;
3766
+ };
3767
+ } & {
3768
+ query: {
3769
+ workspaceExternalId: string;
3770
+ };
3771
+ } & {
3772
+ json: {
3773
+ decision: "approved" | "rejected";
3774
+ };
3775
+ };
3776
+ output: {
3777
+ error: {
3778
+ type: "artifact_not_found" | "action_not_found" | "operation_not_found" | "approval_unavailable";
3779
+ };
3780
+ };
3781
+ outputFormat: "json";
3782
+ status: 404;
3783
+ } | {
3784
+ input: {
3785
+ param: {
3786
+ artifactId: string;
3787
+ operationId: string;
3788
+ };
3789
+ } & {
3790
+ query: {
3791
+ workspaceExternalId: string;
3792
+ };
3793
+ } & {
3794
+ json: {
3795
+ decision: "approved" | "rejected";
3796
+ };
3797
+ };
3798
+ output: {
3799
+ error: {
3800
+ type: string;
3801
+ };
3802
+ };
3803
+ outputFormat: "json";
3804
+ status: 503;
3805
+ };
3806
+ }>;
3807
+ };
3808
+ };
3809
+ };
3810
+ };
3811
+ };
2587
3812
  } & {
2588
3813
  v1: {
2589
3814
  artifacts: {
@@ -2792,6 +4017,8 @@ export declare const createApiClient: (baseUrl: string) => {
2792
4017
  };
2793
4018
  };
2794
4019
  output: {
4020
+ actionEnabled?: true | undefined;
4021
+ actionBridgeKey?: string | undefined;
2795
4022
  url: string;
2796
4023
  expiresAt: string;
2797
4024
  expiresInSeconds: number;
@@ -3212,11 +4439,12 @@ export declare const createApiClient: (baseUrl: string) => {
3212
4439
  };
3213
4440
  };
3214
4441
  output: {
3215
- url: string;
3216
- expiresAt: string;
4442
+ error: {
4443
+ type: string;
4444
+ };
3217
4445
  };
3218
4446
  outputFormat: "json";
3219
- status: 201;
4447
+ status: 503;
3220
4448
  } | {
3221
4449
  input: {
3222
4450
  json: {
@@ -3224,12 +4452,11 @@ export declare const createApiClient: (baseUrl: string) => {
3224
4452
  };
3225
4453
  };
3226
4454
  output: {
3227
- error: {
3228
- type: string;
3229
- };
4455
+ url: string;
4456
+ expiresAt: string;
3230
4457
  };
3231
4458
  outputFormat: "json";
3232
- status: 503;
4459
+ status: 201;
3233
4460
  } | {
3234
4461
  input: {
3235
4462
  json: {
@@ -5150,9 +6377,9 @@ export declare const createApiClient: (baseUrl: string) => {
5150
6377
  };
5151
6378
  output: {
5152
6379
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5153
- status: "scheduled" | "failed" | "completed" | "running";
6380
+ status: "failed" | "running" | "completed" | "scheduled";
5154
6381
  scheduledFor: string;
5155
- seriesStatus: "active" | "completed" | "paused" | "deleted";
6382
+ seriesStatus: "completed" | "active" | "paused" | "deleted";
5156
6383
  recurrence: {
5157
6384
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
5158
6385
  };
@@ -5269,7 +6496,7 @@ export declare const createApiClient: (baseUrl: string) => {
5269
6496
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5270
6497
  shared: boolean;
5271
6498
  title: string;
5272
- status: "active" | "completed" | "paused" | "deleted";
6499
+ status: "completed" | "active" | "paused" | "deleted";
5273
6500
  recurrence: {
5274
6501
  intervalMinutes?: number | undefined;
5275
6502
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -5277,7 +6504,7 @@ export declare const createApiClient: (baseUrl: string) => {
5277
6504
  timezone: string;
5278
6505
  nextRunAt: string | null;
5279
6506
  lastRun: {
5280
- status: "failed" | "completed" | "running";
6507
+ status: "failed" | "running" | "completed";
5281
6508
  at: string | null;
5282
6509
  } | null;
5283
6510
  messagePreview: string;
@@ -5370,6 +6597,7 @@ export declare const createApiClient: (baseUrl: string) => {
5370
6597
  readonly role: "owner" | "use" | "edit" | "revoked";
5371
6598
  readonly revision: number;
5372
6599
  readonly workspaceCount: number;
6600
+ readonly sharedRecipients: readonly string[];
5373
6601
  } | null;
5374
6602
  explicitTitle: string | null;
5375
6603
  message: string;
@@ -5403,7 +6631,7 @@ export declare const createApiClient: (baseUrl: string) => {
5403
6631
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5404
6632
  shared: boolean;
5405
6633
  title: string;
5406
- status: "active" | "completed" | "paused" | "deleted";
6634
+ status: "completed" | "active" | "paused" | "deleted";
5407
6635
  recurrence: {
5408
6636
  intervalMinutes?: number | undefined;
5409
6637
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -5411,7 +6639,7 @@ export declare const createApiClient: (baseUrl: string) => {
5411
6639
  timezone: string;
5412
6640
  nextRunAt: string | null;
5413
6641
  lastRun: {
5414
- status: "failed" | "completed" | "running";
6642
+ status: "failed" | "running" | "completed";
5415
6643
  at: string | null;
5416
6644
  } | null;
5417
6645
  messagePreview: string;
@@ -5450,6 +6678,7 @@ export declare const createApiClient: (baseUrl: string) => {
5450
6678
  json: {
5451
6679
  expectedRevision?: number | undefined;
5452
6680
  recipients?: string[] | undefined;
6681
+ sharedRecipients?: string[] | undefined;
5453
6682
  title?: string | null | undefined;
5454
6683
  message?: string | undefined;
5455
6684
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5474,7 +6703,7 @@ export declare const createApiClient: (baseUrl: string) => {
5474
6703
  };
5475
6704
  output: {
5476
6705
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
5477
- status: "active" | "completed" | "paused" | "deleted";
6706
+ status: "completed" | "active" | "paused" | "deleted";
5478
6707
  nextRunAt: string | null;
5479
6708
  };
5480
6709
  outputFormat: "json";
@@ -5492,6 +6721,7 @@ export declare const createApiClient: (baseUrl: string) => {
5492
6721
  json: {
5493
6722
  expectedRevision?: number | undefined;
5494
6723
  recipients?: string[] | undefined;
6724
+ sharedRecipients?: string[] | undefined;
5495
6725
  title?: string | null | undefined;
5496
6726
  message?: string | undefined;
5497
6727
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5534,6 +6764,7 @@ export declare const createApiClient: (baseUrl: string) => {
5534
6764
  json: {
5535
6765
  expectedRevision?: number | undefined;
5536
6766
  recipients?: string[] | undefined;
6767
+ sharedRecipients?: string[] | undefined;
5537
6768
  title?: string | null | undefined;
5538
6769
  message?: string | undefined;
5539
6770
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5576,6 +6807,7 @@ export declare const createApiClient: (baseUrl: string) => {
5576
6807
  json: {
5577
6808
  expectedRevision?: number | undefined;
5578
6809
  recipients?: string[] | undefined;
6810
+ sharedRecipients?: string[] | undefined;
5579
6811
  title?: string | null | undefined;
5580
6812
  message?: string | undefined;
5581
6813
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5618,6 +6850,7 @@ export declare const createApiClient: (baseUrl: string) => {
5618
6850
  json: {
5619
6851
  expectedRevision?: number | undefined;
5620
6852
  recipients?: string[] | undefined;
6853
+ sharedRecipients?: string[] | undefined;
5621
6854
  title?: string | null | undefined;
5622
6855
  message?: string | undefined;
5623
6856
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -5869,7 +7102,7 @@ export declare const createApiClient: (baseUrl: string) => {
5869
7102
  };
5870
7103
  };
5871
7104
  output: {
5872
- status: "active" | "completed" | "needs_attention";
7105
+ status: "completed" | "active" | "needs_attention";
5873
7106
  nextRunAt: string | null;
5874
7107
  };
5875
7108
  outputFormat: "json";
@@ -6118,9 +7351,9 @@ export declare const createApiClient: (baseUrl: string) => {
6118
7351
  };
6119
7352
  output: {
6120
7353
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6121
- status: "scheduled" | "failed" | "completed" | "running";
7354
+ status: "failed" | "running" | "completed" | "scheduled";
6122
7355
  scheduledFor: string;
6123
- seriesStatus: "active" | "completed" | "paused" | "deleted";
7356
+ seriesStatus: "completed" | "active" | "paused" | "deleted";
6124
7357
  recurrence: {
6125
7358
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
6126
7359
  };
@@ -6237,7 +7470,7 @@ export declare const createApiClient: (baseUrl: string) => {
6237
7470
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6238
7471
  shared: boolean;
6239
7472
  title: string;
6240
- status: "active" | "completed" | "paused" | "deleted";
7473
+ status: "completed" | "active" | "paused" | "deleted";
6241
7474
  recurrence: {
6242
7475
  intervalMinutes?: number | undefined;
6243
7476
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -6245,7 +7478,7 @@ export declare const createApiClient: (baseUrl: string) => {
6245
7478
  timezone: string;
6246
7479
  nextRunAt: string | null;
6247
7480
  lastRun: {
6248
- status: "failed" | "completed" | "running";
7481
+ status: "failed" | "running" | "completed";
6249
7482
  at: string | null;
6250
7483
  } | null;
6251
7484
  messagePreview: string;
@@ -6338,6 +7571,7 @@ export declare const createApiClient: (baseUrl: string) => {
6338
7571
  readonly role: "owner" | "use" | "edit" | "revoked";
6339
7572
  readonly revision: number;
6340
7573
  readonly workspaceCount: number;
7574
+ readonly sharedRecipients: readonly string[];
6341
7575
  } | null;
6342
7576
  explicitTitle: string | null;
6343
7577
  message: string;
@@ -6371,7 +7605,7 @@ export declare const createApiClient: (baseUrl: string) => {
6371
7605
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6372
7606
  shared: boolean;
6373
7607
  title: string;
6374
- status: "active" | "completed" | "paused" | "deleted";
7608
+ status: "completed" | "active" | "paused" | "deleted";
6375
7609
  recurrence: {
6376
7610
  intervalMinutes?: number | undefined;
6377
7611
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
@@ -6379,7 +7613,7 @@ export declare const createApiClient: (baseUrl: string) => {
6379
7613
  timezone: string;
6380
7614
  nextRunAt: string | null;
6381
7615
  lastRun: {
6382
- status: "failed" | "completed" | "running";
7616
+ status: "failed" | "running" | "completed";
6383
7617
  at: string | null;
6384
7618
  } | null;
6385
7619
  messagePreview: string;
@@ -6418,6 +7652,7 @@ export declare const createApiClient: (baseUrl: string) => {
6418
7652
  json: {
6419
7653
  expectedRevision?: number | undefined;
6420
7654
  recipients?: string[] | undefined;
7655
+ sharedRecipients?: string[] | undefined;
6421
7656
  title?: string | null | undefined;
6422
7657
  message?: string | undefined;
6423
7658
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6442,7 +7677,7 @@ export declare const createApiClient: (baseUrl: string) => {
6442
7677
  };
6443
7678
  output: {
6444
7679
  taskScheduleId: import('node_modules/@belong/cloud/src/platform/ids').TaskScheduleSeriesId;
6445
- status: "active" | "completed" | "paused" | "deleted";
7680
+ status: "completed" | "active" | "paused" | "deleted";
6446
7681
  nextRunAt: string | null;
6447
7682
  };
6448
7683
  outputFormat: "json";
@@ -6460,6 +7695,7 @@ export declare const createApiClient: (baseUrl: string) => {
6460
7695
  json: {
6461
7696
  expectedRevision?: number | undefined;
6462
7697
  recipients?: string[] | undefined;
7698
+ sharedRecipients?: string[] | undefined;
6463
7699
  title?: string | null | undefined;
6464
7700
  message?: string | undefined;
6465
7701
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6502,6 +7738,7 @@ export declare const createApiClient: (baseUrl: string) => {
6502
7738
  json: {
6503
7739
  expectedRevision?: number | undefined;
6504
7740
  recipients?: string[] | undefined;
7741
+ sharedRecipients?: string[] | undefined;
6505
7742
  title?: string | null | undefined;
6506
7743
  message?: string | undefined;
6507
7744
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6544,6 +7781,7 @@ export declare const createApiClient: (baseUrl: string) => {
6544
7781
  json: {
6545
7782
  expectedRevision?: number | undefined;
6546
7783
  recipients?: string[] | undefined;
7784
+ sharedRecipients?: string[] | undefined;
6547
7785
  title?: string | null | undefined;
6548
7786
  message?: string | undefined;
6549
7787
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6586,6 +7824,7 @@ export declare const createApiClient: (baseUrl: string) => {
6586
7824
  json: {
6587
7825
  expectedRevision?: number | undefined;
6588
7826
  recipients?: string[] | undefined;
7827
+ sharedRecipients?: string[] | undefined;
6589
7828
  title?: string | null | undefined;
6590
7829
  message?: string | undefined;
6591
7830
  mode?: "plan" | "approve" | "balanced" | "bypass" | undefined;
@@ -6837,7 +8076,7 @@ export declare const createApiClient: (baseUrl: string) => {
6837
8076
  };
6838
8077
  };
6839
8078
  output: {
6840
- status: "active" | "completed" | "needs_attention";
8079
+ status: "completed" | "active" | "needs_attention";
6841
8080
  nextRunAt: string | null;
6842
8081
  };
6843
8082
  outputFormat: "json";
@@ -7030,7 +8269,8 @@ export declare const createApiClient: (baseUrl: string) => {
7030
8269
  title: string;
7031
8270
  explicitTitle: string | null;
7032
8271
  message: string;
7033
- role: "edit" | "use" | "owner";
8272
+ sharedRecipients: string[];
8273
+ role: "edit" | "owner" | "use";
7034
8274
  owner: string;
7035
8275
  ownerTenant: string;
7036
8276
  revision: number;
@@ -7115,7 +8355,8 @@ export declare const createApiClient: (baseUrl: string) => {
7115
8355
  title: string;
7116
8356
  explicitTitle: string | null;
7117
8357
  message: string;
7118
- role: "edit" | "use" | "owner";
8358
+ sharedRecipients: string[];
8359
+ role: "edit" | "owner" | "use";
7119
8360
  owner: string;
7120
8361
  ownerTenant: string;
7121
8362
  revision: number;
@@ -7140,6 +8381,7 @@ export declare const createApiClient: (baseUrl: string) => {
7140
8381
  } & {
7141
8382
  json: {
7142
8383
  expectedRevision: number;
8384
+ sharedRecipients?: string[] | undefined;
7143
8385
  title?: string | null | undefined;
7144
8386
  message?: string | undefined;
7145
8387
  scheduledFor?: string | undefined;
@@ -7178,6 +8420,7 @@ export declare const createApiClient: (baseUrl: string) => {
7178
8420
  } & {
7179
8421
  json: {
7180
8422
  expectedRevision: number;
8423
+ sharedRecipients?: string[] | undefined;
7181
8424
  title?: string | null | undefined;
7182
8425
  message?: string | undefined;
7183
8426
  scheduledFor?: string | undefined;
@@ -7215,6 +8458,7 @@ export declare const createApiClient: (baseUrl: string) => {
7215
8458
  } & {
7216
8459
  json: {
7217
8460
  expectedRevision: number;
8461
+ sharedRecipients?: string[] | undefined;
7218
8462
  title?: string | null | undefined;
7219
8463
  message?: string | undefined;
7220
8464
  scheduledFor?: string | undefined;
@@ -9050,7 +10294,7 @@ export declare const createApiClient: (baseUrl: string) => {
9050
10294
  output: {
9051
10295
  connectors: {
9052
10296
  catalogEntryId: string;
9053
- status: "error" | "needs_auth" | "connected" | "disconnected";
10297
+ status: "error" | "connected" | "disconnected" | "needs_auth";
9054
10298
  account: {
9055
10299
  displayName: string;
9056
10300
  principal: string;
@@ -9058,7 +10302,7 @@ export declare const createApiClient: (baseUrl: string) => {
9058
10302
  capabilities: {
9059
10303
  id: string;
9060
10304
  label: string;
9061
- status: "error" | "needs_auth" | "ready" | "disabled" | "needs_admin_consent";
10305
+ status: "error" | "ready" | "needs_auth" | "disabled" | "needs_admin_consent";
9062
10306
  }[];
9063
10307
  actions: {
9064
10308
  id: string;
@@ -9088,9 +10332,9 @@ export declare const createApiClient: (baseUrl: string) => {
9088
10332
  };
9089
10333
  } & {
9090
10334
  param: {
9091
- catalogEntryId: string;
9092
- } & {
9093
10335
  actionId: string;
10336
+ } & {
10337
+ catalogEntryId: string;
9094
10338
  };
9095
10339
  };
9096
10340
  output: {
@@ -9109,9 +10353,9 @@ export declare const createApiClient: (baseUrl: string) => {
9109
10353
  };
9110
10354
  } & {
9111
10355
  param: {
9112
- catalogEntryId: string;
9113
- } & {
9114
10356
  actionId: string;
10357
+ } & {
10358
+ catalogEntryId: string;
9115
10359
  };
9116
10360
  };
9117
10361
  output: {
@@ -9129,9 +10373,9 @@ export declare const createApiClient: (baseUrl: string) => {
9129
10373
  };
9130
10374
  } & {
9131
10375
  param: {
9132
- catalogEntryId: string;
9133
- } & {
9134
10376
  actionId: string;
10377
+ } & {
10378
+ catalogEntryId: string;
9135
10379
  };
9136
10380
  };
9137
10381
  output: {
@@ -9152,9 +10396,9 @@ export declare const createApiClient: (baseUrl: string) => {
9152
10396
  };
9153
10397
  } & {
9154
10398
  param: {
9155
- catalogEntryId: string;
9156
- } & {
9157
10399
  actionId: string;
10400
+ } & {
10401
+ catalogEntryId: string;
9158
10402
  };
9159
10403
  };
9160
10404
  output: {
@@ -9172,9 +10416,9 @@ export declare const createApiClient: (baseUrl: string) => {
9172
10416
  };
9173
10417
  } & {
9174
10418
  param: {
9175
- catalogEntryId: string;
9176
- } & {
9177
10419
  actionId: string;
10420
+ } & {
10421
+ catalogEntryId: string;
9178
10422
  };
9179
10423
  };
9180
10424
  output: {
@@ -9192,9 +10436,9 @@ export declare const createApiClient: (baseUrl: string) => {
9192
10436
  };
9193
10437
  } & {
9194
10438
  param: {
9195
- catalogEntryId: string;
9196
- } & {
9197
10439
  actionId: string;
10440
+ } & {
10441
+ catalogEntryId: string;
9198
10442
  };
9199
10443
  };
9200
10444
  output: {
@@ -9301,6 +10545,7 @@ export declare const createApiClient: (baseUrl: string) => {
9301
10545
  integration?: "simetrik" | undefined;
9302
10546
  } | null;
9303
10547
  readonly terminalSnapshot: string | null;
10548
+ readonly terminalSnapshotProvenance: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9304
10549
  readonly sandbox: {
9305
10550
  taskSnapshot?: string | undefined;
9306
10551
  autoStopMinutes?: number | undefined;
@@ -9318,6 +10563,7 @@ export declare const createApiClient: (baseUrl: string) => {
9318
10563
  readonly notificationsFromEmail: string | null;
9319
10564
  readonly agentId: string | null;
9320
10565
  readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
10566
+ readonly workspaceScope: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9321
10567
  readonly origins: readonly string[];
9322
10568
  readonly createdAt: string;
9323
10569
  readonly updatedAt: string;
@@ -9387,6 +10633,7 @@ export declare const createApiClient: (baseUrl: string) => {
9387
10633
  integration?: "simetrik" | undefined;
9388
10634
  } | null;
9389
10635
  readonly terminalSnapshot: string | null;
10636
+ readonly terminalSnapshotProvenance: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9390
10637
  readonly sandbox: {
9391
10638
  taskSnapshot?: string | undefined;
9392
10639
  autoStopMinutes?: number | undefined;
@@ -9404,6 +10651,7 @@ export declare const createApiClient: (baseUrl: string) => {
9404
10651
  readonly notificationsFromEmail: string | null;
9405
10652
  readonly agentId: string | null;
9406
10653
  readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
10654
+ readonly workspaceScope: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9407
10655
  readonly origins: readonly string[];
9408
10656
  readonly createdAt: string;
9409
10657
  readonly updatedAt: string;
@@ -9482,6 +10730,7 @@ export declare const createApiClient: (baseUrl: string) => {
9482
10730
  integration?: "simetrik" | undefined;
9483
10731
  } | null;
9484
10732
  readonly terminalSnapshot: string | null;
10733
+ readonly terminalSnapshotProvenance: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["terminalSnapshotProvenance"];
9485
10734
  readonly sandbox: {
9486
10735
  taskSnapshot?: string | undefined;
9487
10736
  autoStopMinutes?: number | undefined;
@@ -9499,6 +10748,7 @@ export declare const createApiClient: (baseUrl: string) => {
9499
10748
  readonly notificationsFromEmail: string | null;
9500
10749
  readonly agentId: string | null;
9501
10750
  readonly status: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["status"];
10751
+ readonly workspaceScope: import('node_modules/@belong/cloud/src/features/tenants/tenant.repo').TenantRecord["workspaceScope"];
9502
10752
  readonly origins: readonly string[];
9503
10753
  readonly createdAt: string;
9504
10754
  readonly updatedAt: string;