@belonguniverseai/react-sdk 0.6.1 → 0.6.2

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 (64) hide show
  1. package/dist/api/client.d.ts +58 -26
  2. package/dist/api/task-schedules.d.ts +138 -255
  3. package/dist/component/{arc-BziuP1aB.js → arc-TLcl3N8_.js} +2 -2
  4. package/dist/component/{architectureDiagram-3BPJPVTR-BVwa4QrX.js → architectureDiagram-3BPJPVTR-DYcaPx2M.js} +3 -3
  5. package/dist/component/{blockDiagram-GPEHLZMM-CKNImKL2.js → blockDiagram-GPEHLZMM-BdjruLO5.js} +4 -4
  6. package/dist/component/{c4Diagram-AAUBKEIU-BcbjcMPA.js → c4Diagram-AAUBKEIU-Bd2ebSgB.js} +3 -3
  7. package/dist/component/{channel-vtwXLQ1f.js → channel-CYFijF_t.js} +2 -2
  8. package/dist/component/{chunk-2J33WTMH-C6wmoOIl.js → chunk-2J33WTMH-B06Y_xVy.js} +2 -2
  9. package/dist/component/{chunk-4BX2VUAB-DySNI9mv.js → chunk-4BX2VUAB-DVpS0I_p.js} +2 -2
  10. package/dist/component/{chunk-55IACEB6-C4M2cG_c.js → chunk-55IACEB6-DmZctFkK.js} +2 -2
  11. package/dist/component/{chunk-727SXJPM-BTqmmKKN.js → chunk-727SXJPM-A5r5oL1_.js} +6 -6
  12. package/dist/component/{chunk-AQP2D5EJ-DiS4043D.js → chunk-AQP2D5EJ-D4G4syYu.js} +4 -4
  13. package/dist/component/{chunk-FMBD7UC4-Bu05DXe4.js → chunk-FMBD7UC4-CbRxWx_A.js} +2 -2
  14. package/dist/component/{chunk-ND2GUHAM-DfbE4oOG.js → chunk-ND2GUHAM-OX1-DIU1.js} +2 -2
  15. package/dist/component/{chunk-QZHKN3VN-Y8mfHGtB.js → chunk-QZHKN3VN-DLQ8oUCc.js} +2 -2
  16. package/dist/component/{classDiagram-4FO5ZUOK-ChO_m1Vd.js → classDiagram-4FO5ZUOK-4S9mdFC1.js} +3 -3
  17. package/dist/component/{classDiagram-v2-Q7XG4LA2-ChO_m1Vd.js → classDiagram-v2-Q7XG4LA2-4S9mdFC1.js} +3 -3
  18. package/dist/component/{cose-bilkent-S5V4N54A-B1DDE26M.js → cose-bilkent-S5V4N54A-BIrVaakt.js} +2 -2
  19. package/dist/component/{dagre-BM42HDAG-BmujNepD.js → dagre-BM42HDAG-BoPUzTvD.js} +2 -2
  20. package/dist/component/{diagram-2AECGRRQ-Cbck9DRQ.js → diagram-2AECGRRQ-PIXCGxIt.js} +3 -3
  21. package/dist/component/{diagram-5GNKFQAL-csRK5clZ.js → diagram-5GNKFQAL-CbJxbGBh.js} +4 -4
  22. package/dist/component/{diagram-KO2AKTUF-DD3KqnFb.js → diagram-KO2AKTUF-Da1E68Eo.js} +3 -3
  23. package/dist/component/{diagram-LMA3HP47-D6-oakzD.js → diagram-LMA3HP47-dRbk5sBa.js} +3 -3
  24. package/dist/component/{diagram-OG6HWLK6-DfxY1IE7.js → diagram-OG6HWLK6-CcKT8mhn.js} +4 -4
  25. package/dist/component/{erDiagram-TEJ5UH35-BDV1C23R.js → erDiagram-TEJ5UH35-3ATYT9J-.js} +5 -5
  26. package/dist/component/{flowDiagram-I6XJVG4X-mEwMtE2U.js → flowDiagram-I6XJVG4X-D9PLm9Od.js} +7 -7
  27. package/dist/component/{ganttDiagram-6RSMTGT7-C_dcTMQX.js → ganttDiagram-6RSMTGT7-F_XUzD1p.js} +3 -3
  28. package/dist/component/{gitGraphDiagram-PVQCEYII-CIKPPQiC.js → gitGraphDiagram-PVQCEYII-13gVhAGc.js} +4 -4
  29. package/dist/component/{highlighted-body-OFNGDK62-DpP1DD9S.js → highlighted-body-OFNGDK62-DCxRI4UV.js} +2 -2
  30. package/dist/component/index.js +2 -2
  31. package/dist/component/{infoDiagram-5YYISTIA-DKTrvjCm.js → infoDiagram-5YYISTIA-DymxA7AN.js} +2 -2
  32. package/dist/component/{ishikawaDiagram-YF4QCWOH-BcuncMnU.js → ishikawaDiagram-YF4QCWOH-C3sTn76C.js} +2 -2
  33. package/dist/component/{journeyDiagram-JHISSGLW-BTTgY3Of.js → journeyDiagram-JHISSGLW-Cq0hOAfJ.js} +5 -5
  34. package/dist/component/{kanban-definition-UN3LZRKU-D9K5810E.js → kanban-definition-UN3LZRKU-5tBWjkp7.js} +3 -3
  35. package/dist/component/{linear-DondfmT2.js → linear-BT4blD8s.js} +2 -2
  36. package/dist/component/{mermaid-GHXKKRXX-j_0KsvYs.js → mermaid-GHXKKRXX-DXPXjnb7.js} +33550 -35146
  37. package/dist/component/{mindmap-definition-RKZ34NQL-DMC3vCUq.js → mindmap-definition-RKZ34NQL-DO-OuAQQ.js} +4 -4
  38. package/dist/component/{pieDiagram-4H26LBE5-DmYi_D3l.js → pieDiagram-4H26LBE5-BkEktPwZ.js} +4 -4
  39. package/dist/component/{quadrantDiagram-W4KKPZXB-DMos-d69.js → quadrantDiagram-W4KKPZXB-CaJWg9ep.js} +3 -3
  40. package/dist/component/{requirementDiagram-4Y6WPE33-BpgIfnhZ.js → requirementDiagram-4Y6WPE33-CmZrtZqe.js} +4 -4
  41. package/dist/component/{sankeyDiagram-5OEKKPKP-xbJGp8Ms.js → sankeyDiagram-5OEKKPKP-Cp95M1aj.js} +2 -2
  42. package/dist/component/{sequenceDiagram-3UESZ5HK-Bnlm4mVO.js → sequenceDiagram-3UESZ5HK-C0x0WvhR.js} +4 -4
  43. package/dist/component/{stateDiagram-AJRCARHV-BIooqMYf.js → stateDiagram-AJRCARHV-H10vaGL3.js} +3 -3
  44. package/dist/component/{stateDiagram-v2-BHNVJYJU-C6WAOCCe.js → stateDiagram-v2-BHNVJYJU-rj7ljkc-.js} +3 -3
  45. package/dist/component/{timeline-definition-PNZ67QCA-lTe5jbcD.js → timeline-definition-PNZ67QCA-Cil1QaqZ.js} +3 -3
  46. package/dist/component/{vennDiagram-CIIHVFJN-5RYbksB1.js → vennDiagram-CIIHVFJN-Dk8PKmfb.js} +2 -2
  47. package/dist/component/{wardleyDiagram-YWT4CUSO-BSz_UDND.js → wardleyDiagram-YWT4CUSO-Xq5Hnmio.js} +3 -3
  48. package/dist/component/{xychartDiagram-2RQKCTM6-BmzhiB0a.js → xychartDiagram-2RQKCTM6-dinwR4Zm.js} +3 -3
  49. package/dist/components/embed/BetaBadge.d.ts +12 -0
  50. package/dist/components/embed/DisclaimerGate.d.ts +16 -0
  51. package/dist/components/embed/LegalShortDisclaimer.d.ts +11 -0
  52. package/dist/components/embed/LocalePills.d.ts +18 -0
  53. package/dist/components/embed/WelcomeIntro.d.ts +3 -1
  54. package/dist/embed/brand-marks.d.ts +5 -5
  55. package/dist/embed/copy.d.ts +13 -0
  56. package/dist/embed/legal-disclaimer.d.ts +23 -0
  57. package/dist/embed/presets.d.ts +5 -1
  58. package/dist/embed/task-schedule-store.d.ts +3 -13
  59. package/dist/embed/voice/call-active-marker.d.ts +1 -20
  60. package/dist/embed/voice/voice-token.d.ts +2 -12
  61. package/dist/stream/belong-chat-transport.d.ts +101 -587
  62. package/dist/stream/message-metadata.d.ts +6 -36
  63. package/dist/stream/stream-state-store.d.ts +1 -25
  64. package/package.json +1 -1
@@ -1012,6 +1012,38 @@ export declare const createApiClient: (baseUrl: string) => {
1012
1012
  };
1013
1013
  };
1014
1014
  };
1015
+ } & {
1016
+ v1: {
1017
+ legal: {
1018
+ "disclaimer-acceptance": import('hono/client').ClientRequest<string, "/v1/legal/disclaimer-acceptance", {
1019
+ $get: {
1020
+ input: {
1021
+ query: {
1022
+ version: string;
1023
+ };
1024
+ };
1025
+ output: {
1026
+ readonly accepted: boolean;
1027
+ };
1028
+ outputFormat: "json";
1029
+ status: 200;
1030
+ };
1031
+ $post: {
1032
+ input: {
1033
+ json: {
1034
+ version: string;
1035
+ locale: "en" | "es" | "pt";
1036
+ };
1037
+ };
1038
+ output: {
1039
+ readonly status: "accepted";
1040
+ };
1041
+ outputFormat: "json";
1042
+ status: 200;
1043
+ };
1044
+ }>;
1045
+ };
1046
+ };
1015
1047
  } & {
1016
1048
  v1: {
1017
1049
  runs: {
@@ -2670,33 +2702,7 @@ export declare const createApiClient: (baseUrl: string) => {
2670
2702
  input: {};
2671
2703
  output: {
2672
2704
  theme: {
2673
- brand?: {
2674
- name?: string | undefined;
2675
- initials?: string | undefined;
2676
- logo?: string | undefined;
2677
- } | undefined;
2678
2705
  mode?: "light" | "dark" | undefined;
2679
- copy?: {
2680
- en?: {
2681
- capabilities?: string[] | undefined;
2682
- subtitle?: string | undefined;
2683
- introBody?: string | undefined;
2684
- suggestions?: string[] | undefined;
2685
- } | undefined;
2686
- es?: {
2687
- capabilities?: string[] | undefined;
2688
- subtitle?: string | undefined;
2689
- introBody?: string | undefined;
2690
- suggestions?: string[] | undefined;
2691
- } | undefined;
2692
- pt?: {
2693
- capabilities?: string[] | undefined;
2694
- subtitle?: string | undefined;
2695
- introBody?: string | undefined;
2696
- suggestions?: string[] | undefined;
2697
- } | undefined;
2698
- } | undefined;
2699
- accent?: string | undefined;
2700
2706
  side?: "right" | "left" | undefined;
2701
2707
  density?: "comfortable" | "compact" | undefined;
2702
2708
  panelWidth?: number | undefined;
@@ -2738,9 +2744,35 @@ export declare const createApiClient: (baseUrl: string) => {
2738
2744
  assistantBubbleForeground?: string | undefined;
2739
2745
  } | undefined;
2740
2746
  } | undefined;
2747
+ brand?: {
2748
+ name?: string | undefined;
2749
+ initials?: string | undefined;
2750
+ logo?: string | undefined;
2751
+ } | undefined;
2752
+ accent?: string | undefined;
2741
2753
  cssVars?: {
2742
2754
  [x: string]: string;
2743
2755
  } | undefined;
2756
+ copy?: {
2757
+ en?: {
2758
+ subtitle?: string | undefined;
2759
+ capabilities?: string[] | undefined;
2760
+ introBody?: string | undefined;
2761
+ suggestions?: string[] | undefined;
2762
+ } | undefined;
2763
+ es?: {
2764
+ subtitle?: string | undefined;
2765
+ capabilities?: string[] | undefined;
2766
+ introBody?: string | undefined;
2767
+ suggestions?: string[] | undefined;
2768
+ } | undefined;
2769
+ pt?: {
2770
+ subtitle?: string | undefined;
2771
+ capabilities?: string[] | undefined;
2772
+ introBody?: string | undefined;
2773
+ suggestions?: string[] | undefined;
2774
+ } | undefined;
2775
+ } | undefined;
2744
2776
  };
2745
2777
  };
2746
2778
  outputFormat: "json";
@@ -44,7 +44,14 @@ export type CreateTaskScheduleRequest = {
44
44
  };
45
45
  export declare const createTaskSchedule: (apiBaseUrl: string, input: CreateTaskScheduleRequest) => Promise<CreateTaskScheduleOutcome>;
46
46
  export declare const deleteTaskSchedule: (apiBaseUrl: string, taskScheduleId: string) => Promise<DeleteTaskScheduleOutcome>;
47
- export declare const recurrenceKindSchema: z.ZodEnum<["none", "daily", "weekdays", "weekly", "interval", "manual"]>;
47
+ export declare const recurrenceKindSchema: z.ZodEnum<{
48
+ none: "none";
49
+ manual: "manual";
50
+ daily: "daily";
51
+ weekdays: "weekdays";
52
+ weekly: "weekly";
53
+ interval: "interval";
54
+ }>;
48
55
  export type RecurrenceKind = z.infer<typeof recurrenceKindSchema>;
49
56
  /** Bounds for the `interval` cadence (BEL-157): 1 minute up to a full day. */
50
57
  export declare const MIN_RECURRENCE_INTERVAL_MINUTES = 1;
@@ -77,16 +84,17 @@ export type Recurrence = {
77
84
  * `interval` without a width (and dropping a stray width on any other kind) so
78
85
  * malformed wire state fails here, not three renders downstream.
79
86
  */
80
- export declare const recurrenceSchema: z.ZodEffects<z.ZodObject<{
81
- kind: z.ZodEnum<["none", "daily", "weekdays", "weekly", "interval", "manual"]>;
87
+ export declare const recurrenceSchema: z.ZodPipe<z.ZodObject<{
88
+ kind: z.ZodEnum<{
89
+ none: "none";
90
+ manual: "manual";
91
+ daily: "daily";
92
+ weekdays: "weekdays";
93
+ weekly: "weekly";
94
+ interval: "interval";
95
+ }>;
82
96
  intervalMinutes: z.ZodOptional<z.ZodNumber>;
83
- }, "strip", z.ZodTypeAny, {
84
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
85
- intervalMinutes?: number | undefined;
86
- }, {
87
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
88
- intervalMinutes?: number | undefined;
89
- }>, {
97
+ }, z.core.$strip>, z.ZodTransform<{
90
98
  readonly kind: "none";
91
99
  } | {
92
100
  readonly kind: "daily";
@@ -102,24 +110,35 @@ export declare const recurrenceSchema: z.ZodEffects<z.ZodObject<{
102
110
  }, {
103
111
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
104
112
  intervalMinutes?: number | undefined;
113
+ }>>;
114
+ export declare const taskScheduleSeriesStatusSchema: z.ZodEnum<{
115
+ active: "active";
116
+ completed: "completed";
117
+ paused: "paused";
118
+ deleted: "deleted";
105
119
  }>;
106
- export declare const taskScheduleSeriesStatusSchema: z.ZodEnum<["active", "paused", "completed", "deleted"]>;
107
120
  export type TaskScheduleSeriesStatus = z.infer<typeof taskScheduleSeriesStatusSchema>;
108
121
  export type TaskScheduleFilter = "all" | "upcoming" | "completed";
109
122
  declare const taskScheduleListItemSchema: z.ZodObject<{
110
- taskScheduleId: z.ZodString;
123
+ taskScheduleId: z.ZodUUID;
111
124
  title: z.ZodString;
112
- status: z.ZodEnum<["active", "paused", "completed", "deleted"]>;
113
- recurrence: z.ZodEffects<z.ZodObject<{
114
- kind: z.ZodEnum<["none", "daily", "weekdays", "weekly", "interval", "manual"]>;
125
+ status: z.ZodEnum<{
126
+ active: "active";
127
+ completed: "completed";
128
+ paused: "paused";
129
+ deleted: "deleted";
130
+ }>;
131
+ recurrence: z.ZodPipe<z.ZodObject<{
132
+ kind: z.ZodEnum<{
133
+ none: "none";
134
+ manual: "manual";
135
+ daily: "daily";
136
+ weekdays: "weekdays";
137
+ weekly: "weekly";
138
+ interval: "interval";
139
+ }>;
115
140
  intervalMinutes: z.ZodOptional<z.ZodNumber>;
116
- }, "strip", z.ZodTypeAny, {
117
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
118
- intervalMinutes?: number | undefined;
119
- }, {
120
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
121
- intervalMinutes?: number | undefined;
122
- }>, {
141
+ }, z.core.$strip>, z.ZodTransform<{
123
142
  readonly kind: "none";
124
143
  } | {
125
144
  readonly kind: "daily";
@@ -135,79 +154,41 @@ declare const taskScheduleListItemSchema: z.ZodObject<{
135
154
  }, {
136
155
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
137
156
  intervalMinutes?: number | undefined;
138
- }>;
157
+ }>>;
139
158
  timezone: z.ZodString;
140
- nextRunAt: z.ZodNullable<z.ZodString>;
159
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
141
160
  lastRun: z.ZodNullable<z.ZodObject<{
142
- status: z.ZodEnum<["running", "completed", "failed"]>;
143
- at: z.ZodNullable<z.ZodString>;
144
- }, "strip", z.ZodTypeAny, {
145
- at: string | null;
146
- status: "completed" | "failed" | "running";
147
- }, {
148
- at: string | null;
149
- status: "completed" | "failed" | "running";
150
- }>>;
161
+ status: z.ZodEnum<{
162
+ completed: "completed";
163
+ failed: "failed";
164
+ running: "running";
165
+ }>;
166
+ at: z.ZodNullable<z.ZodISODateTime>;
167
+ }, z.core.$strip>>;
151
168
  messagePreview: z.ZodString;
152
- createdAt: z.ZodString;
153
- }, "strip", z.ZodTypeAny, {
154
- status: "active" | "completed" | "paused" | "deleted";
155
- title: string;
156
- createdAt: string;
157
- timezone: string;
158
- nextRunAt: string | null;
159
- taskScheduleId: string;
160
- recurrence: {
161
- readonly kind: "none";
162
- } | {
163
- readonly kind: "daily";
164
- } | {
165
- readonly kind: "weekdays";
166
- } | {
167
- readonly kind: "weekly";
168
- } | {
169
- readonly kind: "manual";
170
- } | {
171
- readonly kind: "interval";
172
- readonly intervalMinutes: number;
173
- };
174
- lastRun: {
175
- at: string | null;
176
- status: "completed" | "failed" | "running";
177
- } | null;
178
- messagePreview: string;
179
- }, {
180
- status: "active" | "completed" | "paused" | "deleted";
181
- title: string;
182
- createdAt: string;
183
- timezone: string;
184
- nextRunAt: string | null;
185
- taskScheduleId: string;
186
- recurrence: {
187
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
188
- intervalMinutes?: number | undefined;
189
- };
190
- lastRun: {
191
- at: string | null;
192
- status: "completed" | "failed" | "running";
193
- } | null;
194
- messagePreview: string;
195
- }>;
169
+ createdAt: z.ZodISODateTime;
170
+ }, z.core.$strip>;
196
171
  export type TaskScheduleListItem = z.infer<typeof taskScheduleListItemSchema>;
197
172
  declare const taskScheduleDetailSchema: z.ZodObject<{
198
- taskScheduleId: z.ZodString;
173
+ taskScheduleId: z.ZodUUID;
199
174
  title: z.ZodString;
200
- status: z.ZodEnum<["active", "paused", "completed", "deleted"]>;
201
- recurrence: z.ZodEffects<z.ZodObject<{
202
- kind: z.ZodEnum<["none", "daily", "weekdays", "weekly", "interval", "manual"]>;
175
+ status: z.ZodEnum<{
176
+ active: "active";
177
+ completed: "completed";
178
+ paused: "paused";
179
+ deleted: "deleted";
180
+ }>;
181
+ recurrence: z.ZodPipe<z.ZodObject<{
182
+ kind: z.ZodEnum<{
183
+ none: "none";
184
+ manual: "manual";
185
+ daily: "daily";
186
+ weekdays: "weekdays";
187
+ weekly: "weekly";
188
+ interval: "interval";
189
+ }>;
203
190
  intervalMinutes: z.ZodOptional<z.ZodNumber>;
204
- }, "strip", z.ZodTypeAny, {
205
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
206
- intervalMinutes?: number | undefined;
207
- }, {
208
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
209
- intervalMinutes?: number | undefined;
210
- }>, {
191
+ }, z.core.$strip>, z.ZodTransform<{
211
192
  readonly kind: "none";
212
193
  } | {
213
194
  readonly kind: "daily";
@@ -223,71 +204,66 @@ declare const taskScheduleDetailSchema: z.ZodObject<{
223
204
  }, {
224
205
  kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
225
206
  intervalMinutes?: number | undefined;
226
- }>;
207
+ }>>;
227
208
  timezone: z.ZodString;
228
- nextRunAt: z.ZodNullable<z.ZodString>;
209
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
229
210
  lastRun: z.ZodNullable<z.ZodObject<{
230
- status: z.ZodEnum<["running", "completed", "failed"]>;
231
- at: z.ZodNullable<z.ZodString>;
232
- }, "strip", z.ZodTypeAny, {
233
- at: string | null;
234
- status: "completed" | "failed" | "running";
235
- }, {
236
- at: string | null;
237
- status: "completed" | "failed" | "running";
238
- }>>;
211
+ status: z.ZodEnum<{
212
+ completed: "completed";
213
+ failed: "failed";
214
+ running: "running";
215
+ }>;
216
+ at: z.ZodNullable<z.ZodISODateTime>;
217
+ }, z.core.$strip>>;
239
218
  messagePreview: z.ZodString;
240
- createdAt: z.ZodString;
241
- } & {
219
+ createdAt: z.ZodISODateTime;
242
220
  explicitTitle: z.ZodDefault<z.ZodNullable<z.ZodString>>;
243
221
  message: z.ZodString;
244
- mode: z.ZodEnum<["plan", "approve", "balanced", "bypass"]>;
222
+ mode: z.ZodEnum<{
223
+ plan: "plan";
224
+ approve: "approve";
225
+ balanced: "balanced";
226
+ bypass: "bypass";
227
+ }>;
245
228
  timeExpression: z.ZodString;
246
- anchorAt: z.ZodString;
229
+ anchorAt: z.ZodISODateTime;
247
230
  totalRunsCount: z.ZodNumber;
248
- updatedAt: z.ZodString;
249
- notification: z.ZodDefault<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
231
+ updatedAt: z.ZodISODateTime;
232
+ notification: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
250
233
  kind: z.ZodLiteral<"completion_email">;
251
- recipients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
252
- }, "strip", z.ZodTypeAny, {
253
- kind: "completion_email";
254
- recipients?: string[] | undefined;
255
- }, {
256
- kind: "completion_email";
257
- recipients?: string[] | undefined;
258
- }>, z.ZodObject<{
234
+ recipients: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
235
+ }, z.core.$strip>, z.ZodObject<{
259
236
  kind: z.ZodLiteral<"custom_email">;
260
237
  templatePath: z.ZodString;
261
- recipients: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
262
- }, "strip", z.ZodTypeAny, {
263
- kind: "custom_email";
264
- templatePath: string;
265
- recipients?: string[] | undefined;
266
- }, {
267
- kind: "custom_email";
268
- templatePath: string;
269
- recipients?: string[] | undefined;
270
- }>]>>;
271
- }, "strip", z.ZodTypeAny, {
272
- status: "active" | "completed" | "paused" | "deleted";
273
- title: string;
274
- mode: "plan" | "approve" | "balanced" | "bypass";
275
- createdAt: string;
276
- updatedAt: string;
277
- message: string;
278
- timeExpression: string;
279
- timezone: string;
280
- anchorAt: string;
281
- nextRunAt: string | null;
238
+ recipients: z.ZodOptional<z.ZodArray<z.ZodEmail>>;
239
+ }, z.core.$strip>], "kind">>;
240
+ }, z.core.$strip>;
241
+ export type TaskScheduleDetail = z.infer<typeof taskScheduleDetailSchema>;
242
+ declare const taskScheduleRunSchema: z.ZodObject<{
243
+ taskScheduleRunId: z.ZodUUID;
244
+ occurrenceKind: z.ZodEnum<{
245
+ scheduled: "scheduled";
246
+ manual: "manual";
247
+ }>;
248
+ displayStatus: z.ZodEnum<{
249
+ completed: "completed";
250
+ failed: "failed";
251
+ running: "running";
252
+ needs_attention: "needs_attention";
253
+ }>;
254
+ scheduledFor: z.ZodISODateTime;
255
+ startedAt: z.ZodNullable<z.ZodISODateTime>;
256
+ finishedAt: z.ZodNullable<z.ZodISODateTime>;
257
+ failureReason: z.ZodNullable<z.ZodString>;
258
+ sessionId: z.ZodNullable<z.ZodUUID>;
259
+ taskId: z.ZodNullable<z.ZodUUID>;
260
+ runId: z.ZodDefault<z.ZodNullable<z.ZodUUID>>;
261
+ }, z.core.$strip>;
262
+ export type TaskScheduleRun = z.infer<typeof taskScheduleRunSchema>;
263
+ export declare const useTaskSchedules: (filter: TaskScheduleFilter, q: string) => import('@tanstack/react-query').UseInfiniteQueryResult<{
282
264
  taskScheduleId: string;
283
- notification: {
284
- kind: "completion_email";
285
- recipients?: string[] | undefined;
286
- } | {
287
- kind: "custom_email";
288
- templatePath: string;
289
- recipients?: string[] | undefined;
290
- };
265
+ title: string;
266
+ status: "active" | "completed" | "paused" | "deleted";
291
267
  recurrence: {
292
268
  readonly kind: "none";
293
269
  } | {
@@ -302,88 +278,19 @@ declare const taskScheduleDetailSchema: z.ZodObject<{
302
278
  readonly kind: "interval";
303
279
  readonly intervalMinutes: number;
304
280
  };
305
- explicitTitle: string | null;
306
- totalRunsCount: number;
307
- lastRun: {
308
- at: string | null;
309
- status: "completed" | "failed" | "running";
310
- } | null;
311
- messagePreview: string;
312
- }, {
313
- status: "active" | "completed" | "paused" | "deleted";
314
- title: string;
315
- mode: "plan" | "approve" | "balanced" | "bypass";
316
- createdAt: string;
317
- updatedAt: string;
318
- message: string;
319
- timeExpression: string;
320
281
  timezone: string;
321
- anchorAt: string;
322
282
  nextRunAt: string | null;
323
- taskScheduleId: string;
324
- recurrence: {
325
- kind: "none" | "manual" | "daily" | "weekdays" | "weekly" | "interval";
326
- intervalMinutes?: number | undefined;
327
- };
328
- totalRunsCount: number;
329
283
  lastRun: {
330
- at: string | null;
331
284
  status: "completed" | "failed" | "running";
285
+ at: string | null;
332
286
  } | null;
333
287
  messagePreview: string;
334
- notification?: {
335
- kind: "completion_email";
336
- recipients?: string[] | undefined;
337
- } | {
338
- kind: "custom_email";
339
- templatePath: string;
340
- recipients?: string[] | undefined;
341
- } | undefined;
342
- explicitTitle?: string | null | undefined;
343
- }>;
344
- export type TaskScheduleDetail = z.infer<typeof taskScheduleDetailSchema>;
345
- declare const taskScheduleRunSchema: z.ZodObject<{
346
- taskScheduleRunId: z.ZodString;
347
- occurrenceKind: z.ZodEnum<["scheduled", "manual"]>;
348
- displayStatus: z.ZodEnum<["running", "needs_attention", "completed", "failed"]>;
349
- scheduledFor: z.ZodString;
350
- startedAt: z.ZodNullable<z.ZodString>;
351
- finishedAt: z.ZodNullable<z.ZodString>;
352
- failureReason: z.ZodNullable<z.ZodString>;
353
- sessionId: z.ZodNullable<z.ZodString>;
354
- taskId: z.ZodNullable<z.ZodString>;
355
- runId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
356
- }, "strip", z.ZodTypeAny, {
357
- sessionId: string | null;
358
- taskId: string | null;
359
- runId: string | null;
360
- failureReason: string | null;
361
- occurrenceKind: "scheduled" | "manual";
362
- scheduledFor: string;
363
- startedAt: string | null;
364
- finishedAt: string | null;
365
- taskScheduleRunId: string;
366
- displayStatus: "completed" | "failed" | "running" | "needs_attention";
367
- }, {
368
- sessionId: string | null;
369
- taskId: string | null;
370
- failureReason: string | null;
371
- occurrenceKind: "scheduled" | "manual";
372
- scheduledFor: string;
373
- startedAt: string | null;
374
- finishedAt: string | null;
375
- taskScheduleRunId: string;
376
- displayStatus: "completed" | "failed" | "running" | "needs_attention";
377
- runId?: string | null | undefined;
378
- }>;
379
- export type TaskScheduleRun = z.infer<typeof taskScheduleRunSchema>;
380
- export declare const useTaskSchedules: (filter: TaskScheduleFilter, q: string) => import('@tanstack/react-query').UseInfiniteQueryResult<{
381
- status: "active" | "completed" | "paused" | "deleted";
382
- title: string;
383
288
  createdAt: string;
384
- timezone: string;
385
- nextRunAt: string | null;
289
+ }[], Error>;
290
+ export declare const useTaskSchedule: (taskScheduleId: string | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
386
291
  taskScheduleId: string;
292
+ title: string;
293
+ status: "active" | "completed" | "paused" | "deleted";
387
294
  recurrence: {
388
295
  readonly kind: "none";
389
296
  } | {
@@ -398,24 +305,21 @@ export declare const useTaskSchedules: (filter: TaskScheduleFilter, q: string) =
398
305
  readonly kind: "interval";
399
306
  readonly intervalMinutes: number;
400
307
  };
308
+ timezone: string;
309
+ nextRunAt: string | null;
401
310
  lastRun: {
402
- at: string | null;
403
311
  status: "completed" | "failed" | "running";
312
+ at: string | null;
404
313
  } | null;
405
314
  messagePreview: string;
406
- }[], Error>;
407
- export declare const useTaskSchedule: (taskScheduleId: string | null) => import('@tanstack/react-query').UseQueryResult<NoInfer<{
408
- status: "active" | "completed" | "paused" | "deleted";
409
- title: string;
410
- mode: "plan" | "approve" | "balanced" | "bypass";
411
315
  createdAt: string;
412
- updatedAt: string;
316
+ explicitTitle: string | null;
413
317
  message: string;
318
+ mode: "plan" | "approve" | "balanced" | "bypass";
414
319
  timeExpression: string;
415
- timezone: string;
416
320
  anchorAt: string;
417
- nextRunAt: string | null;
418
- taskScheduleId: string;
321
+ totalRunsCount: number;
322
+ updatedAt: string;
419
323
  notification: {
420
324
  kind: "completion_email";
421
325
  recipients?: string[] | undefined;
@@ -424,39 +328,18 @@ export declare const useTaskSchedule: (taskScheduleId: string | null) => import(
424
328
  templatePath: string;
425
329
  recipients?: string[] | undefined;
426
330
  };
427
- recurrence: {
428
- readonly kind: "none";
429
- } | {
430
- readonly kind: "daily";
431
- } | {
432
- readonly kind: "weekdays";
433
- } | {
434
- readonly kind: "weekly";
435
- } | {
436
- readonly kind: "manual";
437
- } | {
438
- readonly kind: "interval";
439
- readonly intervalMinutes: number;
440
- };
441
- explicitTitle: string | null;
442
- totalRunsCount: number;
443
- lastRun: {
444
- at: string | null;
445
- status: "completed" | "failed" | "running";
446
- } | null;
447
- messagePreview: string;
448
331
  }>, Error>;
449
332
  export declare const useTaskScheduleRuns: (taskScheduleId: string | null) => import('@tanstack/react-query').UseInfiniteQueryResult<{
450
- sessionId: string | null;
451
- taskId: string | null;
452
- runId: string | null;
453
- failureReason: string | null;
333
+ taskScheduleRunId: string;
454
334
  occurrenceKind: "scheduled" | "manual";
335
+ displayStatus: "completed" | "failed" | "running" | "needs_attention";
455
336
  scheduledFor: string;
456
337
  startedAt: string | null;
457
338
  finishedAt: string | null;
458
- taskScheduleRunId: string;
459
- displayStatus: "completed" | "failed" | "running" | "needs_attention";
339
+ failureReason: string | null;
340
+ sessionId: string | null;
341
+ taskId: string | null;
342
+ runId: string | null;
460
343
  }[], Error>;
461
344
  export type CreateTaskScheduleSeriesInput = {
462
345
  readonly scheduledFor: string;
@@ -480,13 +363,13 @@ export type UpdateTaskScheduleSeriesInput = {
480
363
  };
481
364
  };
482
365
  export declare const useCreateTaskSchedule: () => import('@tanstack/react-query').UseMutationResult<{
483
- nextRunAt: string | null;
484
366
  taskScheduleId: string;
367
+ nextRunAt: string | null;
485
368
  }, Error, CreateTaskScheduleSeriesInput, unknown>;
486
369
  export declare const useUpdateTaskSchedule: () => import('@tanstack/react-query').UseMutationResult<{
370
+ taskScheduleId: string;
487
371
  status: "active" | "completed" | "paused" | "deleted";
488
372
  nextRunAt: string | null;
489
- taskScheduleId: string;
490
373
  }, Error, UpdateTaskScheduleSeriesInput, unknown>;
491
374
  export declare const usePauseTaskSchedule: () => import('@tanstack/react-query').UseMutationResult<{
492
375
  status: "paused";
@@ -1,4 +1,4 @@
1
- import { O as ln, P as an, Q as g, S as on, T as Z, V as w, W as _, X as sn, Y as rn, Z as z, $ as t, a0 as V, a1 as un, a2 as tn, a3 as fn } from "./mermaid-GHXKKRXX-j_0KsvYs.js";
1
+ import { O as ln, P as an, Q as g, S as on, T as Z, V as w, W as _, X as sn, Y as rn, Z as z, $ as t, a0 as V, a1 as un, a2 as tn, a3 as fn } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
2
2
  globalThis.process = globalThis.process || { env: {} };
3
3
  globalThis.global = globalThis.global || globalThis;
4
4
  function cn(l) {
@@ -83,4 +83,4 @@ function xn() {
83
83
  export {
84
84
  xn as d
85
85
  };
86
- //# sourceMappingURL=arc-BziuP1aB.js.map
86
+ //# sourceMappingURL=arc-TLcl3N8_.js.map
@@ -1,5 +1,5 @@
1
- import { b7 as $e, _ as dt, N as ke, ai as Ze, l as Re, b as qe, a as Qe, q as Je, t as Ke, g as je, s as _e, B as tr, I as er, G as rr, K as ir, c as ye, aR as Ee, b8 as ve, i as ar, d as nr, y as or, b9 as sr, ba as hr } from "./mermaid-GHXKKRXX-j_0KsvYs.js";
2
- import { p as lr } from "./chunk-4BX2VUAB-DySNI9mv.js";
1
+ import { b7 as $e, _ as dt, N as ke, ai as Ze, l as Re, b as qe, a as Qe, q as Je, t as Ke, g as je, s as _e, B as tr, I as er, G as rr, K as ir, c as ye, aR as Ee, b8 as ve, i as ar, d as nr, y as or, b9 as sr, ba as hr } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
2
+ import { p as lr } from "./chunk-4BX2VUAB-DVpS0I_p.js";
3
3
  import { p as fr } from "./wardley-L42UT6IY-HA1eSIS_.js";
4
4
  import { c as Se } from "./cytoscape.esm-C31R6JOv.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
@@ -4694,4 +4694,4 @@ var Pr = /* @__PURE__ */ dt(async (C, G, w, U) => {
4694
4694
  export {
4695
4695
  Wr as diagram
4696
4696
  };
4697
- //# sourceMappingURL=architectureDiagram-3BPJPVTR-BVwa4QrX.js.map
4697
+ //# sourceMappingURL=architectureDiagram-3BPJPVTR-DYcaPx2M.js.map
@@ -1,7 +1,7 @@
1
- import { g as pe } from "./chunk-FMBD7UC4-Bu05DXe4.js";
2
- import { aq as fe, ar as Ut, as as xe, at as ye, au as be, av as we, aw as me, ax as Se, ay as Le, az as ke, aA as ve, aB as Ee, aC as _e, aD as Te, aE as De, aF as Be, aG as Ne, aH as Ie, aI as Ce, aJ as Oe, aK as Re, aL as Ae, aM as ze, aN as Me, aO as Pe, _ as d, G as at, d as D, e as Fe, l as k, B as We, D as Ye, aP as He, ac as Ke, ad as Ue, c as A, a9 as Xe, aQ as P, aR as vt, aS as $, aT as Ve, u as tt, k as je, aU as Ge, i as Ot, aV as Rt, aW as Ze } from "./mermaid-GHXKKRXX-j_0KsvYs.js";
1
+ import { g as pe } from "./chunk-FMBD7UC4-CbRxWx_A.js";
2
+ import { aq as fe, ar as Ut, as as xe, at as ye, au as be, av as we, aw as me, ax as Se, ay as Le, az as ke, aA as ve, aB as Ee, aC as _e, aD as Te, aE as De, aF as Be, aG as Ne, aH as Ie, aI as Ce, aJ as Oe, aK as Re, aL as Ae, aM as ze, aN as Me, aO as Pe, _ as d, G as at, d as D, e as Fe, l as k, B as We, D as Ye, aP as He, ac as Ke, ad as Ue, c as A, a9 as Xe, aQ as P, aR as vt, aS as $, aT as Ve, u as tt, k as je, aU as Ge, i as Ot, aV as Rt, aW as Ze } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
3
3
  import { G as qe } from "./graph-BZLHvygk.js";
4
- import { c as Je } from "./channel-vtwXLQ1f.js";
4
+ import { c as Je } from "./channel-CYFijF_t.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  function Qe(e) {
@@ -2418,4 +2418,4 @@ var Ta = /* @__PURE__ */ d(function(e, t) {
2418
2418
  export {
2419
2419
  Ra as diagram
2420
2420
  };
2421
- //# sourceMappingURL=blockDiagram-GPEHLZMM-CKNImKL2.js.map
2421
+ //# sourceMappingURL=blockDiagram-GPEHLZMM-BdjruLO5.js.map