@anchrd/colab-sdk 0.1.51 → 0.1.53

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.
@@ -0,0 +1,2761 @@
1
+ import { z } from "zod";
2
+ export declare const FlowStepId: z.ZodTemplateLiteral<`step_${string}`>;
3
+ export type FlowStepId = z.infer<typeof FlowStepId>;
4
+ export declare const flowLimits: {
5
+ readonly hosts: 20;
6
+ readonly steps: 200;
7
+ readonly actions: 50;
8
+ readonly levels: 2;
9
+ readonly secrets: 50;
10
+ readonly readFields: 50;
11
+ readonly repeatMax: 1000;
12
+ };
13
+ export declare const FlowTarget: z.ZodDiscriminatedUnion<[z.ZodObject<{
14
+ css: z.ZodOptional<z.ZodString>;
15
+ nth: z.ZodOptional<z.ZodInt>;
16
+ within: z.ZodOptional<z.ZodObject<{
17
+ role: z.ZodString;
18
+ has: z.ZodString;
19
+ }, z.core.$strict>>;
20
+ by: z.ZodLiteral<"role">;
21
+ role: z.ZodString;
22
+ name: z.ZodOptional<z.ZodString>;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ css: z.ZodOptional<z.ZodString>;
25
+ nth: z.ZodOptional<z.ZodInt>;
26
+ within: z.ZodOptional<z.ZodObject<{
27
+ role: z.ZodString;
28
+ has: z.ZodString;
29
+ }, z.core.$strict>>;
30
+ by: z.ZodLiteral<"label">;
31
+ label: z.ZodString;
32
+ }, z.core.$strict>, z.ZodObject<{
33
+ css: z.ZodOptional<z.ZodString>;
34
+ nth: z.ZodOptional<z.ZodInt>;
35
+ within: z.ZodOptional<z.ZodObject<{
36
+ role: z.ZodString;
37
+ has: z.ZodString;
38
+ }, z.core.$strict>>;
39
+ by: z.ZodLiteral<"text">;
40
+ text: z.ZodString;
41
+ }, z.core.$strict>], "by">;
42
+ export type FlowTarget = z.infer<typeof FlowTarget>;
43
+ export declare const FlowSecretName: z.ZodString;
44
+ export type FlowSecretName = z.infer<typeof FlowSecretName>;
45
+ export declare const flowActionTypes: readonly ["open", "click", "fill", "read", "write", "repeat"];
46
+ export type FlowActionType = (typeof flowActionTypes)[number];
47
+ export declare const flowReadTakes: readonly ["text", "link", "value"];
48
+ export declare const FlowAction: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
49
+ type: z.ZodLiteral<"open">;
50
+ url: z.ZodURL;
51
+ }, z.core.$strict>, z.ZodObject<{
52
+ type: z.ZodLiteral<"click">;
53
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
54
+ css: z.ZodOptional<z.ZodString>;
55
+ nth: z.ZodOptional<z.ZodInt>;
56
+ within: z.ZodOptional<z.ZodObject<{
57
+ role: z.ZodString;
58
+ has: z.ZodString;
59
+ }, z.core.$strict>>;
60
+ by: z.ZodLiteral<"role">;
61
+ role: z.ZodString;
62
+ name: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ css: z.ZodOptional<z.ZodString>;
65
+ nth: z.ZodOptional<z.ZodInt>;
66
+ within: z.ZodOptional<z.ZodObject<{
67
+ role: z.ZodString;
68
+ has: z.ZodString;
69
+ }, z.core.$strict>>;
70
+ by: z.ZodLiteral<"label">;
71
+ label: z.ZodString;
72
+ }, z.core.$strict>, z.ZodObject<{
73
+ css: z.ZodOptional<z.ZodString>;
74
+ nth: z.ZodOptional<z.ZodInt>;
75
+ within: z.ZodOptional<z.ZodObject<{
76
+ role: z.ZodString;
77
+ has: z.ZodString;
78
+ }, z.core.$strict>>;
79
+ by: z.ZodLiteral<"text">;
80
+ text: z.ZodString;
81
+ }, z.core.$strict>], "by">;
82
+ }, z.core.$strict>, z.ZodObject<{
83
+ type: z.ZodLiteral<"fill">;
84
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
85
+ css: z.ZodOptional<z.ZodString>;
86
+ nth: z.ZodOptional<z.ZodInt>;
87
+ within: z.ZodOptional<z.ZodObject<{
88
+ role: z.ZodString;
89
+ has: z.ZodString;
90
+ }, z.core.$strict>>;
91
+ by: z.ZodLiteral<"role">;
92
+ role: z.ZodString;
93
+ name: z.ZodOptional<z.ZodString>;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ css: z.ZodOptional<z.ZodString>;
96
+ nth: z.ZodOptional<z.ZodInt>;
97
+ within: z.ZodOptional<z.ZodObject<{
98
+ role: z.ZodString;
99
+ has: z.ZodString;
100
+ }, z.core.$strict>>;
101
+ by: z.ZodLiteral<"label">;
102
+ label: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ css: z.ZodOptional<z.ZodString>;
105
+ nth: z.ZodOptional<z.ZodInt>;
106
+ within: z.ZodOptional<z.ZodObject<{
107
+ role: z.ZodString;
108
+ has: z.ZodString;
109
+ }, z.core.$strict>>;
110
+ by: z.ZodLiteral<"text">;
111
+ text: z.ZodString;
112
+ }, z.core.$strict>], "by">;
113
+ value: z.ZodUnion<readonly [z.ZodObject<{
114
+ text: z.ZodString;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ credential: z.ZodString;
117
+ }, z.core.$strict>]>;
118
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ type: z.ZodLiteral<"read">;
121
+ into: z.ZodString;
122
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
123
+ css: z.ZodOptional<z.ZodString>;
124
+ nth: z.ZodOptional<z.ZodInt>;
125
+ within: z.ZodOptional<z.ZodObject<{
126
+ role: z.ZodString;
127
+ has: z.ZodString;
128
+ }, z.core.$strict>>;
129
+ by: z.ZodLiteral<"role">;
130
+ role: z.ZodString;
131
+ name: z.ZodOptional<z.ZodString>;
132
+ }, z.core.$strict>, z.ZodObject<{
133
+ css: z.ZodOptional<z.ZodString>;
134
+ nth: z.ZodOptional<z.ZodInt>;
135
+ within: z.ZodOptional<z.ZodObject<{
136
+ role: z.ZodString;
137
+ has: z.ZodString;
138
+ }, z.core.$strict>>;
139
+ by: z.ZodLiteral<"label">;
140
+ label: z.ZodString;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ css: z.ZodOptional<z.ZodString>;
143
+ nth: z.ZodOptional<z.ZodInt>;
144
+ within: z.ZodOptional<z.ZodObject<{
145
+ role: z.ZodString;
146
+ has: z.ZodString;
147
+ }, z.core.$strict>>;
148
+ by: z.ZodLiteral<"text">;
149
+ text: z.ZodString;
150
+ }, z.core.$strict>], "by">>;
151
+ fields: z.ZodArray<z.ZodObject<{
152
+ name: z.ZodString;
153
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
154
+ css: z.ZodOptional<z.ZodString>;
155
+ nth: z.ZodOptional<z.ZodInt>;
156
+ within: z.ZodOptional<z.ZodObject<{
157
+ role: z.ZodString;
158
+ has: z.ZodString;
159
+ }, z.core.$strict>>;
160
+ by: z.ZodLiteral<"role">;
161
+ role: z.ZodString;
162
+ name: z.ZodOptional<z.ZodString>;
163
+ }, z.core.$strict>, z.ZodObject<{
164
+ css: z.ZodOptional<z.ZodString>;
165
+ nth: z.ZodOptional<z.ZodInt>;
166
+ within: z.ZodOptional<z.ZodObject<{
167
+ role: z.ZodString;
168
+ has: z.ZodString;
169
+ }, z.core.$strict>>;
170
+ by: z.ZodLiteral<"label">;
171
+ label: z.ZodString;
172
+ }, z.core.$strict>, z.ZodObject<{
173
+ css: z.ZodOptional<z.ZodString>;
174
+ nth: z.ZodOptional<z.ZodInt>;
175
+ within: z.ZodOptional<z.ZodObject<{
176
+ role: z.ZodString;
177
+ has: z.ZodString;
178
+ }, z.core.$strict>>;
179
+ by: z.ZodLiteral<"text">;
180
+ text: z.ZodString;
181
+ }, z.core.$strict>], "by">;
182
+ take: z.ZodOptional<z.ZodEnum<{
183
+ value: "value";
184
+ link: "link";
185
+ text: "text";
186
+ }>>;
187
+ pattern: z.ZodOptional<z.ZodString>;
188
+ }, z.core.$strict>>;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ type: z.ZodLiteral<"write">;
191
+ from: z.ZodString;
192
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
193
+ unique: z.ZodOptional<z.ZodString>;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ type: z.ZodLiteral<"repeat">;
196
+ over: z.ZodUnion<readonly [z.ZodObject<{
197
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
198
+ css: z.ZodOptional<z.ZodString>;
199
+ nth: z.ZodOptional<z.ZodInt>;
200
+ within: z.ZodOptional<z.ZodObject<{
201
+ role: z.ZodString;
202
+ has: z.ZodString;
203
+ }, z.core.$strict>>;
204
+ by: z.ZodLiteral<"role">;
205
+ role: z.ZodString;
206
+ name: z.ZodOptional<z.ZodString>;
207
+ }, z.core.$strict>, z.ZodObject<{
208
+ css: z.ZodOptional<z.ZodString>;
209
+ nth: z.ZodOptional<z.ZodInt>;
210
+ within: z.ZodOptional<z.ZodObject<{
211
+ role: z.ZodString;
212
+ has: z.ZodString;
213
+ }, z.core.$strict>>;
214
+ by: z.ZodLiteral<"label">;
215
+ label: z.ZodString;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ css: z.ZodOptional<z.ZodString>;
218
+ nth: z.ZodOptional<z.ZodInt>;
219
+ within: z.ZodOptional<z.ZodObject<{
220
+ role: z.ZodString;
221
+ has: z.ZodString;
222
+ }, z.core.$strict>>;
223
+ by: z.ZodLiteral<"text">;
224
+ text: z.ZodString;
225
+ }, z.core.$strict>], "by">;
226
+ }, z.core.$strict>, z.ZodObject<{
227
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
228
+ css: z.ZodOptional<z.ZodString>;
229
+ nth: z.ZodOptional<z.ZodInt>;
230
+ within: z.ZodOptional<z.ZodObject<{
231
+ role: z.ZodString;
232
+ has: z.ZodString;
233
+ }, z.core.$strict>>;
234
+ by: z.ZodLiteral<"role">;
235
+ role: z.ZodString;
236
+ name: z.ZodOptional<z.ZodString>;
237
+ }, z.core.$strict>, z.ZodObject<{
238
+ css: z.ZodOptional<z.ZodString>;
239
+ nth: z.ZodOptional<z.ZodInt>;
240
+ within: z.ZodOptional<z.ZodObject<{
241
+ role: z.ZodString;
242
+ has: z.ZodString;
243
+ }, z.core.$strict>>;
244
+ by: z.ZodLiteral<"label">;
245
+ label: z.ZodString;
246
+ }, z.core.$strict>, z.ZodObject<{
247
+ css: z.ZodOptional<z.ZodString>;
248
+ nth: z.ZodOptional<z.ZodInt>;
249
+ within: z.ZodOptional<z.ZodObject<{
250
+ role: z.ZodString;
251
+ has: z.ZodString;
252
+ }, z.core.$strict>>;
253
+ by: z.ZodLiteral<"text">;
254
+ text: z.ZodString;
255
+ }, z.core.$strict>], "by">;
256
+ }, z.core.$strict>, z.ZodObject<{
257
+ times: z.ZodInt;
258
+ }, z.core.$strict>]>;
259
+ max: z.ZodOptional<z.ZodInt>;
260
+ }, z.core.$strict>], "type">, unknown>;
261
+ export type FlowAction = z.infer<typeof FlowAction>;
262
+ export declare const FlowActions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
263
+ type: z.ZodLiteral<"open">;
264
+ url: z.ZodURL;
265
+ }, z.core.$strict>, z.ZodObject<{
266
+ type: z.ZodLiteral<"click">;
267
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
268
+ css: z.ZodOptional<z.ZodString>;
269
+ nth: z.ZodOptional<z.ZodInt>;
270
+ within: z.ZodOptional<z.ZodObject<{
271
+ role: z.ZodString;
272
+ has: z.ZodString;
273
+ }, z.core.$strict>>;
274
+ by: z.ZodLiteral<"role">;
275
+ role: z.ZodString;
276
+ name: z.ZodOptional<z.ZodString>;
277
+ }, z.core.$strict>, z.ZodObject<{
278
+ css: z.ZodOptional<z.ZodString>;
279
+ nth: z.ZodOptional<z.ZodInt>;
280
+ within: z.ZodOptional<z.ZodObject<{
281
+ role: z.ZodString;
282
+ has: z.ZodString;
283
+ }, z.core.$strict>>;
284
+ by: z.ZodLiteral<"label">;
285
+ label: z.ZodString;
286
+ }, z.core.$strict>, z.ZodObject<{
287
+ css: z.ZodOptional<z.ZodString>;
288
+ nth: z.ZodOptional<z.ZodInt>;
289
+ within: z.ZodOptional<z.ZodObject<{
290
+ role: z.ZodString;
291
+ has: z.ZodString;
292
+ }, z.core.$strict>>;
293
+ by: z.ZodLiteral<"text">;
294
+ text: z.ZodString;
295
+ }, z.core.$strict>], "by">;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ type: z.ZodLiteral<"fill">;
298
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
299
+ css: z.ZodOptional<z.ZodString>;
300
+ nth: z.ZodOptional<z.ZodInt>;
301
+ within: z.ZodOptional<z.ZodObject<{
302
+ role: z.ZodString;
303
+ has: z.ZodString;
304
+ }, z.core.$strict>>;
305
+ by: z.ZodLiteral<"role">;
306
+ role: z.ZodString;
307
+ name: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strict>, z.ZodObject<{
309
+ css: z.ZodOptional<z.ZodString>;
310
+ nth: z.ZodOptional<z.ZodInt>;
311
+ within: z.ZodOptional<z.ZodObject<{
312
+ role: z.ZodString;
313
+ has: z.ZodString;
314
+ }, z.core.$strict>>;
315
+ by: z.ZodLiteral<"label">;
316
+ label: z.ZodString;
317
+ }, z.core.$strict>, z.ZodObject<{
318
+ css: z.ZodOptional<z.ZodString>;
319
+ nth: z.ZodOptional<z.ZodInt>;
320
+ within: z.ZodOptional<z.ZodObject<{
321
+ role: z.ZodString;
322
+ has: z.ZodString;
323
+ }, z.core.$strict>>;
324
+ by: z.ZodLiteral<"text">;
325
+ text: z.ZodString;
326
+ }, z.core.$strict>], "by">;
327
+ value: z.ZodUnion<readonly [z.ZodObject<{
328
+ text: z.ZodString;
329
+ }, z.core.$strict>, z.ZodObject<{
330
+ credential: z.ZodString;
331
+ }, z.core.$strict>]>;
332
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
333
+ }, z.core.$strict>, z.ZodObject<{
334
+ type: z.ZodLiteral<"read">;
335
+ into: z.ZodString;
336
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
337
+ css: z.ZodOptional<z.ZodString>;
338
+ nth: z.ZodOptional<z.ZodInt>;
339
+ within: z.ZodOptional<z.ZodObject<{
340
+ role: z.ZodString;
341
+ has: z.ZodString;
342
+ }, z.core.$strict>>;
343
+ by: z.ZodLiteral<"role">;
344
+ role: z.ZodString;
345
+ name: z.ZodOptional<z.ZodString>;
346
+ }, z.core.$strict>, z.ZodObject<{
347
+ css: z.ZodOptional<z.ZodString>;
348
+ nth: z.ZodOptional<z.ZodInt>;
349
+ within: z.ZodOptional<z.ZodObject<{
350
+ role: z.ZodString;
351
+ has: z.ZodString;
352
+ }, z.core.$strict>>;
353
+ by: z.ZodLiteral<"label">;
354
+ label: z.ZodString;
355
+ }, z.core.$strict>, z.ZodObject<{
356
+ css: z.ZodOptional<z.ZodString>;
357
+ nth: z.ZodOptional<z.ZodInt>;
358
+ within: z.ZodOptional<z.ZodObject<{
359
+ role: z.ZodString;
360
+ has: z.ZodString;
361
+ }, z.core.$strict>>;
362
+ by: z.ZodLiteral<"text">;
363
+ text: z.ZodString;
364
+ }, z.core.$strict>], "by">>;
365
+ fields: z.ZodArray<z.ZodObject<{
366
+ name: z.ZodString;
367
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
368
+ css: z.ZodOptional<z.ZodString>;
369
+ nth: z.ZodOptional<z.ZodInt>;
370
+ within: z.ZodOptional<z.ZodObject<{
371
+ role: z.ZodString;
372
+ has: z.ZodString;
373
+ }, z.core.$strict>>;
374
+ by: z.ZodLiteral<"role">;
375
+ role: z.ZodString;
376
+ name: z.ZodOptional<z.ZodString>;
377
+ }, z.core.$strict>, z.ZodObject<{
378
+ css: z.ZodOptional<z.ZodString>;
379
+ nth: z.ZodOptional<z.ZodInt>;
380
+ within: z.ZodOptional<z.ZodObject<{
381
+ role: z.ZodString;
382
+ has: z.ZodString;
383
+ }, z.core.$strict>>;
384
+ by: z.ZodLiteral<"label">;
385
+ label: z.ZodString;
386
+ }, z.core.$strict>, z.ZodObject<{
387
+ css: z.ZodOptional<z.ZodString>;
388
+ nth: z.ZodOptional<z.ZodInt>;
389
+ within: z.ZodOptional<z.ZodObject<{
390
+ role: z.ZodString;
391
+ has: z.ZodString;
392
+ }, z.core.$strict>>;
393
+ by: z.ZodLiteral<"text">;
394
+ text: z.ZodString;
395
+ }, z.core.$strict>], "by">;
396
+ take: z.ZodOptional<z.ZodEnum<{
397
+ value: "value";
398
+ link: "link";
399
+ text: "text";
400
+ }>>;
401
+ pattern: z.ZodOptional<z.ZodString>;
402
+ }, z.core.$strict>>;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ type: z.ZodLiteral<"write">;
405
+ from: z.ZodString;
406
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
407
+ unique: z.ZodOptional<z.ZodString>;
408
+ }, z.core.$strict>, z.ZodObject<{
409
+ type: z.ZodLiteral<"repeat">;
410
+ over: z.ZodUnion<readonly [z.ZodObject<{
411
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ css: z.ZodOptional<z.ZodString>;
413
+ nth: z.ZodOptional<z.ZodInt>;
414
+ within: z.ZodOptional<z.ZodObject<{
415
+ role: z.ZodString;
416
+ has: z.ZodString;
417
+ }, z.core.$strict>>;
418
+ by: z.ZodLiteral<"role">;
419
+ role: z.ZodString;
420
+ name: z.ZodOptional<z.ZodString>;
421
+ }, z.core.$strict>, z.ZodObject<{
422
+ css: z.ZodOptional<z.ZodString>;
423
+ nth: z.ZodOptional<z.ZodInt>;
424
+ within: z.ZodOptional<z.ZodObject<{
425
+ role: z.ZodString;
426
+ has: z.ZodString;
427
+ }, z.core.$strict>>;
428
+ by: z.ZodLiteral<"label">;
429
+ label: z.ZodString;
430
+ }, z.core.$strict>, z.ZodObject<{
431
+ css: z.ZodOptional<z.ZodString>;
432
+ nth: z.ZodOptional<z.ZodInt>;
433
+ within: z.ZodOptional<z.ZodObject<{
434
+ role: z.ZodString;
435
+ has: z.ZodString;
436
+ }, z.core.$strict>>;
437
+ by: z.ZodLiteral<"text">;
438
+ text: z.ZodString;
439
+ }, z.core.$strict>], "by">;
440
+ }, z.core.$strict>, z.ZodObject<{
441
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
442
+ css: z.ZodOptional<z.ZodString>;
443
+ nth: z.ZodOptional<z.ZodInt>;
444
+ within: z.ZodOptional<z.ZodObject<{
445
+ role: z.ZodString;
446
+ has: z.ZodString;
447
+ }, z.core.$strict>>;
448
+ by: z.ZodLiteral<"role">;
449
+ role: z.ZodString;
450
+ name: z.ZodOptional<z.ZodString>;
451
+ }, z.core.$strict>, z.ZodObject<{
452
+ css: z.ZodOptional<z.ZodString>;
453
+ nth: z.ZodOptional<z.ZodInt>;
454
+ within: z.ZodOptional<z.ZodObject<{
455
+ role: z.ZodString;
456
+ has: z.ZodString;
457
+ }, z.core.$strict>>;
458
+ by: z.ZodLiteral<"label">;
459
+ label: z.ZodString;
460
+ }, z.core.$strict>, z.ZodObject<{
461
+ css: z.ZodOptional<z.ZodString>;
462
+ nth: z.ZodOptional<z.ZodInt>;
463
+ within: z.ZodOptional<z.ZodObject<{
464
+ role: z.ZodString;
465
+ has: z.ZodString;
466
+ }, z.core.$strict>>;
467
+ by: z.ZodLiteral<"text">;
468
+ text: z.ZodString;
469
+ }, z.core.$strict>], "by">;
470
+ }, z.core.$strict>, z.ZodObject<{
471
+ times: z.ZodInt;
472
+ }, z.core.$strict>]>;
473
+ max: z.ZodOptional<z.ZodInt>;
474
+ }, z.core.$strict>], "type">, unknown>>;
475
+ export type FlowActions = z.infer<typeof FlowActions>;
476
+ export declare const flowStepStates: readonly ["fixed", "open"];
477
+ export declare const FlowStepState: z.ZodEnum<{
478
+ fixed: "fixed";
479
+ open: "open";
480
+ }>;
481
+ export type FlowStepState = z.infer<typeof FlowStepState>;
482
+ export declare const FlowReachedPath: z.ZodString;
483
+ export declare const FlowSubStep: z.ZodObject<{
484
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
485
+ title: z.ZodString;
486
+ instruction: z.ZodString;
487
+ success: z.ZodString;
488
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
489
+ type: z.ZodLiteral<"open">;
490
+ url: z.ZodURL;
491
+ }, z.core.$strict>, z.ZodObject<{
492
+ type: z.ZodLiteral<"click">;
493
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
494
+ css: z.ZodOptional<z.ZodString>;
495
+ nth: z.ZodOptional<z.ZodInt>;
496
+ within: z.ZodOptional<z.ZodObject<{
497
+ role: z.ZodString;
498
+ has: z.ZodString;
499
+ }, z.core.$strict>>;
500
+ by: z.ZodLiteral<"role">;
501
+ role: z.ZodString;
502
+ name: z.ZodOptional<z.ZodString>;
503
+ }, z.core.$strict>, z.ZodObject<{
504
+ css: z.ZodOptional<z.ZodString>;
505
+ nth: z.ZodOptional<z.ZodInt>;
506
+ within: z.ZodOptional<z.ZodObject<{
507
+ role: z.ZodString;
508
+ has: z.ZodString;
509
+ }, z.core.$strict>>;
510
+ by: z.ZodLiteral<"label">;
511
+ label: z.ZodString;
512
+ }, z.core.$strict>, z.ZodObject<{
513
+ css: z.ZodOptional<z.ZodString>;
514
+ nth: z.ZodOptional<z.ZodInt>;
515
+ within: z.ZodOptional<z.ZodObject<{
516
+ role: z.ZodString;
517
+ has: z.ZodString;
518
+ }, z.core.$strict>>;
519
+ by: z.ZodLiteral<"text">;
520
+ text: z.ZodString;
521
+ }, z.core.$strict>], "by">;
522
+ }, z.core.$strict>, z.ZodObject<{
523
+ type: z.ZodLiteral<"fill">;
524
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
525
+ css: z.ZodOptional<z.ZodString>;
526
+ nth: z.ZodOptional<z.ZodInt>;
527
+ within: z.ZodOptional<z.ZodObject<{
528
+ role: z.ZodString;
529
+ has: z.ZodString;
530
+ }, z.core.$strict>>;
531
+ by: z.ZodLiteral<"role">;
532
+ role: z.ZodString;
533
+ name: z.ZodOptional<z.ZodString>;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ css: z.ZodOptional<z.ZodString>;
536
+ nth: z.ZodOptional<z.ZodInt>;
537
+ within: z.ZodOptional<z.ZodObject<{
538
+ role: z.ZodString;
539
+ has: z.ZodString;
540
+ }, z.core.$strict>>;
541
+ by: z.ZodLiteral<"label">;
542
+ label: z.ZodString;
543
+ }, z.core.$strict>, z.ZodObject<{
544
+ css: z.ZodOptional<z.ZodString>;
545
+ nth: z.ZodOptional<z.ZodInt>;
546
+ within: z.ZodOptional<z.ZodObject<{
547
+ role: z.ZodString;
548
+ has: z.ZodString;
549
+ }, z.core.$strict>>;
550
+ by: z.ZodLiteral<"text">;
551
+ text: z.ZodString;
552
+ }, z.core.$strict>], "by">;
553
+ value: z.ZodUnion<readonly [z.ZodObject<{
554
+ text: z.ZodString;
555
+ }, z.core.$strict>, z.ZodObject<{
556
+ credential: z.ZodString;
557
+ }, z.core.$strict>]>;
558
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
559
+ }, z.core.$strict>, z.ZodObject<{
560
+ type: z.ZodLiteral<"read">;
561
+ into: z.ZodString;
562
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
563
+ css: z.ZodOptional<z.ZodString>;
564
+ nth: z.ZodOptional<z.ZodInt>;
565
+ within: z.ZodOptional<z.ZodObject<{
566
+ role: z.ZodString;
567
+ has: z.ZodString;
568
+ }, z.core.$strict>>;
569
+ by: z.ZodLiteral<"role">;
570
+ role: z.ZodString;
571
+ name: z.ZodOptional<z.ZodString>;
572
+ }, z.core.$strict>, z.ZodObject<{
573
+ css: z.ZodOptional<z.ZodString>;
574
+ nth: z.ZodOptional<z.ZodInt>;
575
+ within: z.ZodOptional<z.ZodObject<{
576
+ role: z.ZodString;
577
+ has: z.ZodString;
578
+ }, z.core.$strict>>;
579
+ by: z.ZodLiteral<"label">;
580
+ label: z.ZodString;
581
+ }, z.core.$strict>, z.ZodObject<{
582
+ css: z.ZodOptional<z.ZodString>;
583
+ nth: z.ZodOptional<z.ZodInt>;
584
+ within: z.ZodOptional<z.ZodObject<{
585
+ role: z.ZodString;
586
+ has: z.ZodString;
587
+ }, z.core.$strict>>;
588
+ by: z.ZodLiteral<"text">;
589
+ text: z.ZodString;
590
+ }, z.core.$strict>], "by">>;
591
+ fields: z.ZodArray<z.ZodObject<{
592
+ name: z.ZodString;
593
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ css: z.ZodOptional<z.ZodString>;
595
+ nth: z.ZodOptional<z.ZodInt>;
596
+ within: z.ZodOptional<z.ZodObject<{
597
+ role: z.ZodString;
598
+ has: z.ZodString;
599
+ }, z.core.$strict>>;
600
+ by: z.ZodLiteral<"role">;
601
+ role: z.ZodString;
602
+ name: z.ZodOptional<z.ZodString>;
603
+ }, z.core.$strict>, z.ZodObject<{
604
+ css: z.ZodOptional<z.ZodString>;
605
+ nth: z.ZodOptional<z.ZodInt>;
606
+ within: z.ZodOptional<z.ZodObject<{
607
+ role: z.ZodString;
608
+ has: z.ZodString;
609
+ }, z.core.$strict>>;
610
+ by: z.ZodLiteral<"label">;
611
+ label: z.ZodString;
612
+ }, z.core.$strict>, z.ZodObject<{
613
+ css: z.ZodOptional<z.ZodString>;
614
+ nth: z.ZodOptional<z.ZodInt>;
615
+ within: z.ZodOptional<z.ZodObject<{
616
+ role: z.ZodString;
617
+ has: z.ZodString;
618
+ }, z.core.$strict>>;
619
+ by: z.ZodLiteral<"text">;
620
+ text: z.ZodString;
621
+ }, z.core.$strict>], "by">;
622
+ take: z.ZodOptional<z.ZodEnum<{
623
+ value: "value";
624
+ link: "link";
625
+ text: "text";
626
+ }>>;
627
+ pattern: z.ZodOptional<z.ZodString>;
628
+ }, z.core.$strict>>;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ type: z.ZodLiteral<"write">;
631
+ from: z.ZodString;
632
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
633
+ unique: z.ZodOptional<z.ZodString>;
634
+ }, z.core.$strict>, z.ZodObject<{
635
+ type: z.ZodLiteral<"repeat">;
636
+ over: z.ZodUnion<readonly [z.ZodObject<{
637
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
638
+ css: z.ZodOptional<z.ZodString>;
639
+ nth: z.ZodOptional<z.ZodInt>;
640
+ within: z.ZodOptional<z.ZodObject<{
641
+ role: z.ZodString;
642
+ has: z.ZodString;
643
+ }, z.core.$strict>>;
644
+ by: z.ZodLiteral<"role">;
645
+ role: z.ZodString;
646
+ name: z.ZodOptional<z.ZodString>;
647
+ }, z.core.$strict>, z.ZodObject<{
648
+ css: z.ZodOptional<z.ZodString>;
649
+ nth: z.ZodOptional<z.ZodInt>;
650
+ within: z.ZodOptional<z.ZodObject<{
651
+ role: z.ZodString;
652
+ has: z.ZodString;
653
+ }, z.core.$strict>>;
654
+ by: z.ZodLiteral<"label">;
655
+ label: z.ZodString;
656
+ }, z.core.$strict>, z.ZodObject<{
657
+ css: z.ZodOptional<z.ZodString>;
658
+ nth: z.ZodOptional<z.ZodInt>;
659
+ within: z.ZodOptional<z.ZodObject<{
660
+ role: z.ZodString;
661
+ has: z.ZodString;
662
+ }, z.core.$strict>>;
663
+ by: z.ZodLiteral<"text">;
664
+ text: z.ZodString;
665
+ }, z.core.$strict>], "by">;
666
+ }, z.core.$strict>, z.ZodObject<{
667
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
668
+ css: z.ZodOptional<z.ZodString>;
669
+ nth: z.ZodOptional<z.ZodInt>;
670
+ within: z.ZodOptional<z.ZodObject<{
671
+ role: z.ZodString;
672
+ has: z.ZodString;
673
+ }, z.core.$strict>>;
674
+ by: z.ZodLiteral<"role">;
675
+ role: z.ZodString;
676
+ name: z.ZodOptional<z.ZodString>;
677
+ }, z.core.$strict>, z.ZodObject<{
678
+ css: z.ZodOptional<z.ZodString>;
679
+ nth: z.ZodOptional<z.ZodInt>;
680
+ within: z.ZodOptional<z.ZodObject<{
681
+ role: z.ZodString;
682
+ has: z.ZodString;
683
+ }, z.core.$strict>>;
684
+ by: z.ZodLiteral<"label">;
685
+ label: z.ZodString;
686
+ }, z.core.$strict>, z.ZodObject<{
687
+ css: z.ZodOptional<z.ZodString>;
688
+ nth: z.ZodOptional<z.ZodInt>;
689
+ within: z.ZodOptional<z.ZodObject<{
690
+ role: z.ZodString;
691
+ has: z.ZodString;
692
+ }, z.core.$strict>>;
693
+ by: z.ZodLiteral<"text">;
694
+ text: z.ZodString;
695
+ }, z.core.$strict>], "by">;
696
+ }, z.core.$strict>, z.ZodObject<{
697
+ times: z.ZodInt;
698
+ }, z.core.$strict>]>;
699
+ max: z.ZodOptional<z.ZodInt>;
700
+ }, z.core.$strict>], "type">, unknown>>;
701
+ state: z.ZodEnum<{
702
+ fixed: "fixed";
703
+ open: "open";
704
+ }>;
705
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
+ }, z.core.$strip>;
707
+ export type FlowSubStep = z.infer<typeof FlowSubStep>;
708
+ export declare const FlowStep: z.ZodObject<{
709
+ steps: z.ZodArray<z.ZodObject<{
710
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
711
+ title: z.ZodString;
712
+ instruction: z.ZodString;
713
+ success: z.ZodString;
714
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
715
+ type: z.ZodLiteral<"open">;
716
+ url: z.ZodURL;
717
+ }, z.core.$strict>, z.ZodObject<{
718
+ type: z.ZodLiteral<"click">;
719
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
720
+ css: z.ZodOptional<z.ZodString>;
721
+ nth: z.ZodOptional<z.ZodInt>;
722
+ within: z.ZodOptional<z.ZodObject<{
723
+ role: z.ZodString;
724
+ has: z.ZodString;
725
+ }, z.core.$strict>>;
726
+ by: z.ZodLiteral<"role">;
727
+ role: z.ZodString;
728
+ name: z.ZodOptional<z.ZodString>;
729
+ }, z.core.$strict>, z.ZodObject<{
730
+ css: z.ZodOptional<z.ZodString>;
731
+ nth: z.ZodOptional<z.ZodInt>;
732
+ within: z.ZodOptional<z.ZodObject<{
733
+ role: z.ZodString;
734
+ has: z.ZodString;
735
+ }, z.core.$strict>>;
736
+ by: z.ZodLiteral<"label">;
737
+ label: z.ZodString;
738
+ }, z.core.$strict>, z.ZodObject<{
739
+ css: z.ZodOptional<z.ZodString>;
740
+ nth: z.ZodOptional<z.ZodInt>;
741
+ within: z.ZodOptional<z.ZodObject<{
742
+ role: z.ZodString;
743
+ has: z.ZodString;
744
+ }, z.core.$strict>>;
745
+ by: z.ZodLiteral<"text">;
746
+ text: z.ZodString;
747
+ }, z.core.$strict>], "by">;
748
+ }, z.core.$strict>, z.ZodObject<{
749
+ type: z.ZodLiteral<"fill">;
750
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
751
+ css: z.ZodOptional<z.ZodString>;
752
+ nth: z.ZodOptional<z.ZodInt>;
753
+ within: z.ZodOptional<z.ZodObject<{
754
+ role: z.ZodString;
755
+ has: z.ZodString;
756
+ }, z.core.$strict>>;
757
+ by: z.ZodLiteral<"role">;
758
+ role: z.ZodString;
759
+ name: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strict>, z.ZodObject<{
761
+ css: z.ZodOptional<z.ZodString>;
762
+ nth: z.ZodOptional<z.ZodInt>;
763
+ within: z.ZodOptional<z.ZodObject<{
764
+ role: z.ZodString;
765
+ has: z.ZodString;
766
+ }, z.core.$strict>>;
767
+ by: z.ZodLiteral<"label">;
768
+ label: z.ZodString;
769
+ }, z.core.$strict>, z.ZodObject<{
770
+ css: z.ZodOptional<z.ZodString>;
771
+ nth: z.ZodOptional<z.ZodInt>;
772
+ within: z.ZodOptional<z.ZodObject<{
773
+ role: z.ZodString;
774
+ has: z.ZodString;
775
+ }, z.core.$strict>>;
776
+ by: z.ZodLiteral<"text">;
777
+ text: z.ZodString;
778
+ }, z.core.$strict>], "by">;
779
+ value: z.ZodUnion<readonly [z.ZodObject<{
780
+ text: z.ZodString;
781
+ }, z.core.$strict>, z.ZodObject<{
782
+ credential: z.ZodString;
783
+ }, z.core.$strict>]>;
784
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
785
+ }, z.core.$strict>, z.ZodObject<{
786
+ type: z.ZodLiteral<"read">;
787
+ into: z.ZodString;
788
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
789
+ css: z.ZodOptional<z.ZodString>;
790
+ nth: z.ZodOptional<z.ZodInt>;
791
+ within: z.ZodOptional<z.ZodObject<{
792
+ role: z.ZodString;
793
+ has: z.ZodString;
794
+ }, z.core.$strict>>;
795
+ by: z.ZodLiteral<"role">;
796
+ role: z.ZodString;
797
+ name: z.ZodOptional<z.ZodString>;
798
+ }, z.core.$strict>, z.ZodObject<{
799
+ css: z.ZodOptional<z.ZodString>;
800
+ nth: z.ZodOptional<z.ZodInt>;
801
+ within: z.ZodOptional<z.ZodObject<{
802
+ role: z.ZodString;
803
+ has: z.ZodString;
804
+ }, z.core.$strict>>;
805
+ by: z.ZodLiteral<"label">;
806
+ label: z.ZodString;
807
+ }, z.core.$strict>, z.ZodObject<{
808
+ css: z.ZodOptional<z.ZodString>;
809
+ nth: z.ZodOptional<z.ZodInt>;
810
+ within: z.ZodOptional<z.ZodObject<{
811
+ role: z.ZodString;
812
+ has: z.ZodString;
813
+ }, z.core.$strict>>;
814
+ by: z.ZodLiteral<"text">;
815
+ text: z.ZodString;
816
+ }, z.core.$strict>], "by">>;
817
+ fields: z.ZodArray<z.ZodObject<{
818
+ name: z.ZodString;
819
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
820
+ css: z.ZodOptional<z.ZodString>;
821
+ nth: z.ZodOptional<z.ZodInt>;
822
+ within: z.ZodOptional<z.ZodObject<{
823
+ role: z.ZodString;
824
+ has: z.ZodString;
825
+ }, z.core.$strict>>;
826
+ by: z.ZodLiteral<"role">;
827
+ role: z.ZodString;
828
+ name: z.ZodOptional<z.ZodString>;
829
+ }, z.core.$strict>, z.ZodObject<{
830
+ css: z.ZodOptional<z.ZodString>;
831
+ nth: z.ZodOptional<z.ZodInt>;
832
+ within: z.ZodOptional<z.ZodObject<{
833
+ role: z.ZodString;
834
+ has: z.ZodString;
835
+ }, z.core.$strict>>;
836
+ by: z.ZodLiteral<"label">;
837
+ label: z.ZodString;
838
+ }, z.core.$strict>, z.ZodObject<{
839
+ css: z.ZodOptional<z.ZodString>;
840
+ nth: z.ZodOptional<z.ZodInt>;
841
+ within: z.ZodOptional<z.ZodObject<{
842
+ role: z.ZodString;
843
+ has: z.ZodString;
844
+ }, z.core.$strict>>;
845
+ by: z.ZodLiteral<"text">;
846
+ text: z.ZodString;
847
+ }, z.core.$strict>], "by">;
848
+ take: z.ZodOptional<z.ZodEnum<{
849
+ value: "value";
850
+ link: "link";
851
+ text: "text";
852
+ }>>;
853
+ pattern: z.ZodOptional<z.ZodString>;
854
+ }, z.core.$strict>>;
855
+ }, z.core.$strict>, z.ZodObject<{
856
+ type: z.ZodLiteral<"write">;
857
+ from: z.ZodString;
858
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
859
+ unique: z.ZodOptional<z.ZodString>;
860
+ }, z.core.$strict>, z.ZodObject<{
861
+ type: z.ZodLiteral<"repeat">;
862
+ over: z.ZodUnion<readonly [z.ZodObject<{
863
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
864
+ css: z.ZodOptional<z.ZodString>;
865
+ nth: z.ZodOptional<z.ZodInt>;
866
+ within: z.ZodOptional<z.ZodObject<{
867
+ role: z.ZodString;
868
+ has: z.ZodString;
869
+ }, z.core.$strict>>;
870
+ by: z.ZodLiteral<"role">;
871
+ role: z.ZodString;
872
+ name: z.ZodOptional<z.ZodString>;
873
+ }, z.core.$strict>, z.ZodObject<{
874
+ css: z.ZodOptional<z.ZodString>;
875
+ nth: z.ZodOptional<z.ZodInt>;
876
+ within: z.ZodOptional<z.ZodObject<{
877
+ role: z.ZodString;
878
+ has: z.ZodString;
879
+ }, z.core.$strict>>;
880
+ by: z.ZodLiteral<"label">;
881
+ label: z.ZodString;
882
+ }, z.core.$strict>, z.ZodObject<{
883
+ css: z.ZodOptional<z.ZodString>;
884
+ nth: z.ZodOptional<z.ZodInt>;
885
+ within: z.ZodOptional<z.ZodObject<{
886
+ role: z.ZodString;
887
+ has: z.ZodString;
888
+ }, z.core.$strict>>;
889
+ by: z.ZodLiteral<"text">;
890
+ text: z.ZodString;
891
+ }, z.core.$strict>], "by">;
892
+ }, z.core.$strict>, z.ZodObject<{
893
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
894
+ css: z.ZodOptional<z.ZodString>;
895
+ nth: z.ZodOptional<z.ZodInt>;
896
+ within: z.ZodOptional<z.ZodObject<{
897
+ role: z.ZodString;
898
+ has: z.ZodString;
899
+ }, z.core.$strict>>;
900
+ by: z.ZodLiteral<"role">;
901
+ role: z.ZodString;
902
+ name: z.ZodOptional<z.ZodString>;
903
+ }, z.core.$strict>, z.ZodObject<{
904
+ css: z.ZodOptional<z.ZodString>;
905
+ nth: z.ZodOptional<z.ZodInt>;
906
+ within: z.ZodOptional<z.ZodObject<{
907
+ role: z.ZodString;
908
+ has: z.ZodString;
909
+ }, z.core.$strict>>;
910
+ by: z.ZodLiteral<"label">;
911
+ label: z.ZodString;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ css: z.ZodOptional<z.ZodString>;
914
+ nth: z.ZodOptional<z.ZodInt>;
915
+ within: z.ZodOptional<z.ZodObject<{
916
+ role: z.ZodString;
917
+ has: z.ZodString;
918
+ }, z.core.$strict>>;
919
+ by: z.ZodLiteral<"text">;
920
+ text: z.ZodString;
921
+ }, z.core.$strict>], "by">;
922
+ }, z.core.$strict>, z.ZodObject<{
923
+ times: z.ZodInt;
924
+ }, z.core.$strict>]>;
925
+ max: z.ZodOptional<z.ZodInt>;
926
+ }, z.core.$strict>], "type">, unknown>>;
927
+ state: z.ZodEnum<{
928
+ fixed: "fixed";
929
+ open: "open";
930
+ }>;
931
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
932
+ }, z.core.$strip>>;
933
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
934
+ title: z.ZodString;
935
+ instruction: z.ZodString;
936
+ success: z.ZodString;
937
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
938
+ type: z.ZodLiteral<"open">;
939
+ url: z.ZodURL;
940
+ }, z.core.$strict>, z.ZodObject<{
941
+ type: z.ZodLiteral<"click">;
942
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
943
+ css: z.ZodOptional<z.ZodString>;
944
+ nth: z.ZodOptional<z.ZodInt>;
945
+ within: z.ZodOptional<z.ZodObject<{
946
+ role: z.ZodString;
947
+ has: z.ZodString;
948
+ }, z.core.$strict>>;
949
+ by: z.ZodLiteral<"role">;
950
+ role: z.ZodString;
951
+ name: z.ZodOptional<z.ZodString>;
952
+ }, z.core.$strict>, z.ZodObject<{
953
+ css: z.ZodOptional<z.ZodString>;
954
+ nth: z.ZodOptional<z.ZodInt>;
955
+ within: z.ZodOptional<z.ZodObject<{
956
+ role: z.ZodString;
957
+ has: z.ZodString;
958
+ }, z.core.$strict>>;
959
+ by: z.ZodLiteral<"label">;
960
+ label: z.ZodString;
961
+ }, z.core.$strict>, z.ZodObject<{
962
+ css: z.ZodOptional<z.ZodString>;
963
+ nth: z.ZodOptional<z.ZodInt>;
964
+ within: z.ZodOptional<z.ZodObject<{
965
+ role: z.ZodString;
966
+ has: z.ZodString;
967
+ }, z.core.$strict>>;
968
+ by: z.ZodLiteral<"text">;
969
+ text: z.ZodString;
970
+ }, z.core.$strict>], "by">;
971
+ }, z.core.$strict>, z.ZodObject<{
972
+ type: z.ZodLiteral<"fill">;
973
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
974
+ css: z.ZodOptional<z.ZodString>;
975
+ nth: z.ZodOptional<z.ZodInt>;
976
+ within: z.ZodOptional<z.ZodObject<{
977
+ role: z.ZodString;
978
+ has: z.ZodString;
979
+ }, z.core.$strict>>;
980
+ by: z.ZodLiteral<"role">;
981
+ role: z.ZodString;
982
+ name: z.ZodOptional<z.ZodString>;
983
+ }, z.core.$strict>, z.ZodObject<{
984
+ css: z.ZodOptional<z.ZodString>;
985
+ nth: z.ZodOptional<z.ZodInt>;
986
+ within: z.ZodOptional<z.ZodObject<{
987
+ role: z.ZodString;
988
+ has: z.ZodString;
989
+ }, z.core.$strict>>;
990
+ by: z.ZodLiteral<"label">;
991
+ label: z.ZodString;
992
+ }, z.core.$strict>, z.ZodObject<{
993
+ css: z.ZodOptional<z.ZodString>;
994
+ nth: z.ZodOptional<z.ZodInt>;
995
+ within: z.ZodOptional<z.ZodObject<{
996
+ role: z.ZodString;
997
+ has: z.ZodString;
998
+ }, z.core.$strict>>;
999
+ by: z.ZodLiteral<"text">;
1000
+ text: z.ZodString;
1001
+ }, z.core.$strict>], "by">;
1002
+ value: z.ZodUnion<readonly [z.ZodObject<{
1003
+ text: z.ZodString;
1004
+ }, z.core.$strict>, z.ZodObject<{
1005
+ credential: z.ZodString;
1006
+ }, z.core.$strict>]>;
1007
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1008
+ }, z.core.$strict>, z.ZodObject<{
1009
+ type: z.ZodLiteral<"read">;
1010
+ into: z.ZodString;
1011
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1012
+ css: z.ZodOptional<z.ZodString>;
1013
+ nth: z.ZodOptional<z.ZodInt>;
1014
+ within: z.ZodOptional<z.ZodObject<{
1015
+ role: z.ZodString;
1016
+ has: z.ZodString;
1017
+ }, z.core.$strict>>;
1018
+ by: z.ZodLiteral<"role">;
1019
+ role: z.ZodString;
1020
+ name: z.ZodOptional<z.ZodString>;
1021
+ }, z.core.$strict>, z.ZodObject<{
1022
+ css: z.ZodOptional<z.ZodString>;
1023
+ nth: z.ZodOptional<z.ZodInt>;
1024
+ within: z.ZodOptional<z.ZodObject<{
1025
+ role: z.ZodString;
1026
+ has: z.ZodString;
1027
+ }, z.core.$strict>>;
1028
+ by: z.ZodLiteral<"label">;
1029
+ label: z.ZodString;
1030
+ }, z.core.$strict>, z.ZodObject<{
1031
+ css: z.ZodOptional<z.ZodString>;
1032
+ nth: z.ZodOptional<z.ZodInt>;
1033
+ within: z.ZodOptional<z.ZodObject<{
1034
+ role: z.ZodString;
1035
+ has: z.ZodString;
1036
+ }, z.core.$strict>>;
1037
+ by: z.ZodLiteral<"text">;
1038
+ text: z.ZodString;
1039
+ }, z.core.$strict>], "by">>;
1040
+ fields: z.ZodArray<z.ZodObject<{
1041
+ name: z.ZodString;
1042
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1043
+ css: z.ZodOptional<z.ZodString>;
1044
+ nth: z.ZodOptional<z.ZodInt>;
1045
+ within: z.ZodOptional<z.ZodObject<{
1046
+ role: z.ZodString;
1047
+ has: z.ZodString;
1048
+ }, z.core.$strict>>;
1049
+ by: z.ZodLiteral<"role">;
1050
+ role: z.ZodString;
1051
+ name: z.ZodOptional<z.ZodString>;
1052
+ }, z.core.$strict>, z.ZodObject<{
1053
+ css: z.ZodOptional<z.ZodString>;
1054
+ nth: z.ZodOptional<z.ZodInt>;
1055
+ within: z.ZodOptional<z.ZodObject<{
1056
+ role: z.ZodString;
1057
+ has: z.ZodString;
1058
+ }, z.core.$strict>>;
1059
+ by: z.ZodLiteral<"label">;
1060
+ label: z.ZodString;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ css: z.ZodOptional<z.ZodString>;
1063
+ nth: z.ZodOptional<z.ZodInt>;
1064
+ within: z.ZodOptional<z.ZodObject<{
1065
+ role: z.ZodString;
1066
+ has: z.ZodString;
1067
+ }, z.core.$strict>>;
1068
+ by: z.ZodLiteral<"text">;
1069
+ text: z.ZodString;
1070
+ }, z.core.$strict>], "by">;
1071
+ take: z.ZodOptional<z.ZodEnum<{
1072
+ value: "value";
1073
+ link: "link";
1074
+ text: "text";
1075
+ }>>;
1076
+ pattern: z.ZodOptional<z.ZodString>;
1077
+ }, z.core.$strict>>;
1078
+ }, z.core.$strict>, z.ZodObject<{
1079
+ type: z.ZodLiteral<"write">;
1080
+ from: z.ZodString;
1081
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1082
+ unique: z.ZodOptional<z.ZodString>;
1083
+ }, z.core.$strict>, z.ZodObject<{
1084
+ type: z.ZodLiteral<"repeat">;
1085
+ over: z.ZodUnion<readonly [z.ZodObject<{
1086
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1087
+ css: z.ZodOptional<z.ZodString>;
1088
+ nth: z.ZodOptional<z.ZodInt>;
1089
+ within: z.ZodOptional<z.ZodObject<{
1090
+ role: z.ZodString;
1091
+ has: z.ZodString;
1092
+ }, z.core.$strict>>;
1093
+ by: z.ZodLiteral<"role">;
1094
+ role: z.ZodString;
1095
+ name: z.ZodOptional<z.ZodString>;
1096
+ }, z.core.$strict>, z.ZodObject<{
1097
+ css: z.ZodOptional<z.ZodString>;
1098
+ nth: z.ZodOptional<z.ZodInt>;
1099
+ within: z.ZodOptional<z.ZodObject<{
1100
+ role: z.ZodString;
1101
+ has: z.ZodString;
1102
+ }, z.core.$strict>>;
1103
+ by: z.ZodLiteral<"label">;
1104
+ label: z.ZodString;
1105
+ }, z.core.$strict>, z.ZodObject<{
1106
+ css: z.ZodOptional<z.ZodString>;
1107
+ nth: z.ZodOptional<z.ZodInt>;
1108
+ within: z.ZodOptional<z.ZodObject<{
1109
+ role: z.ZodString;
1110
+ has: z.ZodString;
1111
+ }, z.core.$strict>>;
1112
+ by: z.ZodLiteral<"text">;
1113
+ text: z.ZodString;
1114
+ }, z.core.$strict>], "by">;
1115
+ }, z.core.$strict>, z.ZodObject<{
1116
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1117
+ css: z.ZodOptional<z.ZodString>;
1118
+ nth: z.ZodOptional<z.ZodInt>;
1119
+ within: z.ZodOptional<z.ZodObject<{
1120
+ role: z.ZodString;
1121
+ has: z.ZodString;
1122
+ }, z.core.$strict>>;
1123
+ by: z.ZodLiteral<"role">;
1124
+ role: z.ZodString;
1125
+ name: z.ZodOptional<z.ZodString>;
1126
+ }, z.core.$strict>, z.ZodObject<{
1127
+ css: z.ZodOptional<z.ZodString>;
1128
+ nth: z.ZodOptional<z.ZodInt>;
1129
+ within: z.ZodOptional<z.ZodObject<{
1130
+ role: z.ZodString;
1131
+ has: z.ZodString;
1132
+ }, z.core.$strict>>;
1133
+ by: z.ZodLiteral<"label">;
1134
+ label: z.ZodString;
1135
+ }, z.core.$strict>, z.ZodObject<{
1136
+ css: z.ZodOptional<z.ZodString>;
1137
+ nth: z.ZodOptional<z.ZodInt>;
1138
+ within: z.ZodOptional<z.ZodObject<{
1139
+ role: z.ZodString;
1140
+ has: z.ZodString;
1141
+ }, z.core.$strict>>;
1142
+ by: z.ZodLiteral<"text">;
1143
+ text: z.ZodString;
1144
+ }, z.core.$strict>], "by">;
1145
+ }, z.core.$strict>, z.ZodObject<{
1146
+ times: z.ZodInt;
1147
+ }, z.core.$strict>]>;
1148
+ max: z.ZodOptional<z.ZodInt>;
1149
+ }, z.core.$strict>], "type">, unknown>>;
1150
+ state: z.ZodEnum<{
1151
+ fixed: "fixed";
1152
+ open: "open";
1153
+ }>;
1154
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1155
+ }, z.core.$strip>;
1156
+ export type FlowStep = z.infer<typeof FlowStep>;
1157
+ export declare const flowRhythms: readonly ["hourly", "daily", "weekly"];
1158
+ export declare const FlowHour: z.ZodString;
1159
+ export declare const FlowSchedule: z.ZodObject<{
1160
+ enabled: z.ZodBoolean;
1161
+ rhythm: z.ZodEnum<{
1162
+ daily: "daily";
1163
+ weekly: "weekly";
1164
+ hourly: "hourly";
1165
+ }>;
1166
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1167
+ monday: "monday";
1168
+ tuesday: "tuesday";
1169
+ wednesday: "wednesday";
1170
+ thursday: "thursday";
1171
+ friday: "friday";
1172
+ saturday: "saturday";
1173
+ sunday: "sunday";
1174
+ }>>>;
1175
+ time: z.ZodOptional<z.ZodString>;
1176
+ zone: z.ZodOptional<z.ZodString>;
1177
+ }, z.core.$strict>;
1178
+ export type FlowSchedule = z.infer<typeof FlowSchedule>;
1179
+ export declare function flowScheduleProblem(schedule: Pick<FlowSchedule, "rhythm" | "days" | "time">): {
1180
+ path: string;
1181
+ message: string;
1182
+ } | null;
1183
+ export declare const flowRecordingDays: readonly [7, 14, 30];
1184
+ export declare const FlowHost: z.ZodString;
1185
+ export type FlowHost = z.infer<typeof FlowHost>;
1186
+ export declare const FlowCreateInput: z.ZodObject<{
1187
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
1188
+ section: z.ZodOptional<z.ZodEnum<{
1189
+ own: "own";
1190
+ shared: "shared";
1191
+ }>>;
1192
+ name: z.ZodString;
1193
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1194
+ idempotencyKey: z.ZodString;
1195
+ }, z.core.$strict>;
1196
+ export type FlowCreateInput = z.infer<typeof FlowCreateInput>;
1197
+ export declare const FlowGetInput: z.ZodObject<{
1198
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1199
+ version: z.ZodOptional<z.ZodPreprocess<z.ZodUnion<readonly [z.ZodEnum<{
1200
+ live: "live";
1201
+ draft: "draft";
1202
+ }>, z.ZodNumber]>, unknown>>;
1203
+ }, z.core.$strict>;
1204
+ export type FlowGetInput = z.infer<typeof FlowGetInput>;
1205
+ export declare const FlowUpdateInput: z.ZodObject<{
1206
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1207
+ hosts: z.ZodOptional<z.ZodArray<z.ZodString>>;
1208
+ schedule: z.ZodOptional<z.ZodObject<{
1209
+ enabled: z.ZodBoolean;
1210
+ rhythm: z.ZodEnum<{
1211
+ daily: "daily";
1212
+ weekly: "weekly";
1213
+ hourly: "hourly";
1214
+ }>;
1215
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1216
+ monday: "monday";
1217
+ tuesday: "tuesday";
1218
+ wednesday: "wednesday";
1219
+ thursday: "thursday";
1220
+ friday: "friday";
1221
+ saturday: "saturday";
1222
+ sunday: "sunday";
1223
+ }>>>;
1224
+ time: z.ZodOptional<z.ZodString>;
1225
+ zone: z.ZodOptional<z.ZodString>;
1226
+ }, z.core.$strict>>;
1227
+ settings: z.ZodOptional<z.ZodObject<{
1228
+ responsibleId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`user_${string}`>>>;
1229
+ level: z.ZodOptional<z.ZodEnum<{
1230
+ publish: "publish";
1231
+ draft: "draft";
1232
+ report: "report";
1233
+ }>>;
1234
+ recordingDays: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<7>, z.ZodLiteral<14>, z.ZodLiteral<30>]>>;
1235
+ }, z.core.$strict>>;
1236
+ fromVersion: z.ZodOptional<z.ZodNumber>;
1237
+ discard: z.ZodOptional<z.ZodLiteral<true>>;
1238
+ rev: z.ZodNumber;
1239
+ }, z.core.$strict>;
1240
+ export type FlowUpdateInput = z.infer<typeof FlowUpdateInput>;
1241
+ export declare const FlowPublishInput: z.ZodObject<{
1242
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1243
+ rev: z.ZodNumber;
1244
+ }, z.core.$strict>;
1245
+ export type FlowPublishInput = z.infer<typeof FlowPublishInput>;
1246
+ export declare const FlowStepCreateInput: z.ZodObject<{
1247
+ rev: z.ZodNumber;
1248
+ parentStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1249
+ afterStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1250
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1251
+ title: z.ZodString;
1252
+ instruction: z.ZodString;
1253
+ success: z.ZodOptional<z.ZodString>;
1254
+ actions: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1255
+ type: z.ZodLiteral<"open">;
1256
+ url: z.ZodURL;
1257
+ }, z.core.$strict>, z.ZodObject<{
1258
+ type: z.ZodLiteral<"click">;
1259
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1260
+ css: z.ZodOptional<z.ZodString>;
1261
+ nth: z.ZodOptional<z.ZodInt>;
1262
+ within: z.ZodOptional<z.ZodObject<{
1263
+ role: z.ZodString;
1264
+ has: z.ZodString;
1265
+ }, z.core.$strict>>;
1266
+ by: z.ZodLiteral<"role">;
1267
+ role: z.ZodString;
1268
+ name: z.ZodOptional<z.ZodString>;
1269
+ }, z.core.$strict>, z.ZodObject<{
1270
+ css: z.ZodOptional<z.ZodString>;
1271
+ nth: z.ZodOptional<z.ZodInt>;
1272
+ within: z.ZodOptional<z.ZodObject<{
1273
+ role: z.ZodString;
1274
+ has: z.ZodString;
1275
+ }, z.core.$strict>>;
1276
+ by: z.ZodLiteral<"label">;
1277
+ label: z.ZodString;
1278
+ }, z.core.$strict>, z.ZodObject<{
1279
+ css: z.ZodOptional<z.ZodString>;
1280
+ nth: z.ZodOptional<z.ZodInt>;
1281
+ within: z.ZodOptional<z.ZodObject<{
1282
+ role: z.ZodString;
1283
+ has: z.ZodString;
1284
+ }, z.core.$strict>>;
1285
+ by: z.ZodLiteral<"text">;
1286
+ text: z.ZodString;
1287
+ }, z.core.$strict>], "by">;
1288
+ }, z.core.$strict>, z.ZodObject<{
1289
+ type: z.ZodLiteral<"fill">;
1290
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1291
+ css: z.ZodOptional<z.ZodString>;
1292
+ nth: z.ZodOptional<z.ZodInt>;
1293
+ within: z.ZodOptional<z.ZodObject<{
1294
+ role: z.ZodString;
1295
+ has: z.ZodString;
1296
+ }, z.core.$strict>>;
1297
+ by: z.ZodLiteral<"role">;
1298
+ role: z.ZodString;
1299
+ name: z.ZodOptional<z.ZodString>;
1300
+ }, z.core.$strict>, z.ZodObject<{
1301
+ css: z.ZodOptional<z.ZodString>;
1302
+ nth: z.ZodOptional<z.ZodInt>;
1303
+ within: z.ZodOptional<z.ZodObject<{
1304
+ role: z.ZodString;
1305
+ has: z.ZodString;
1306
+ }, z.core.$strict>>;
1307
+ by: z.ZodLiteral<"label">;
1308
+ label: z.ZodString;
1309
+ }, z.core.$strict>, z.ZodObject<{
1310
+ css: z.ZodOptional<z.ZodString>;
1311
+ nth: z.ZodOptional<z.ZodInt>;
1312
+ within: z.ZodOptional<z.ZodObject<{
1313
+ role: z.ZodString;
1314
+ has: z.ZodString;
1315
+ }, z.core.$strict>>;
1316
+ by: z.ZodLiteral<"text">;
1317
+ text: z.ZodString;
1318
+ }, z.core.$strict>], "by">;
1319
+ value: z.ZodUnion<readonly [z.ZodObject<{
1320
+ text: z.ZodString;
1321
+ }, z.core.$strict>, z.ZodObject<{
1322
+ credential: z.ZodString;
1323
+ }, z.core.$strict>]>;
1324
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1325
+ }, z.core.$strict>, z.ZodObject<{
1326
+ type: z.ZodLiteral<"read">;
1327
+ into: z.ZodString;
1328
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1329
+ css: z.ZodOptional<z.ZodString>;
1330
+ nth: z.ZodOptional<z.ZodInt>;
1331
+ within: z.ZodOptional<z.ZodObject<{
1332
+ role: z.ZodString;
1333
+ has: z.ZodString;
1334
+ }, z.core.$strict>>;
1335
+ by: z.ZodLiteral<"role">;
1336
+ role: z.ZodString;
1337
+ name: z.ZodOptional<z.ZodString>;
1338
+ }, z.core.$strict>, z.ZodObject<{
1339
+ css: z.ZodOptional<z.ZodString>;
1340
+ nth: z.ZodOptional<z.ZodInt>;
1341
+ within: z.ZodOptional<z.ZodObject<{
1342
+ role: z.ZodString;
1343
+ has: z.ZodString;
1344
+ }, z.core.$strict>>;
1345
+ by: z.ZodLiteral<"label">;
1346
+ label: z.ZodString;
1347
+ }, z.core.$strict>, z.ZodObject<{
1348
+ css: z.ZodOptional<z.ZodString>;
1349
+ nth: z.ZodOptional<z.ZodInt>;
1350
+ within: z.ZodOptional<z.ZodObject<{
1351
+ role: z.ZodString;
1352
+ has: z.ZodString;
1353
+ }, z.core.$strict>>;
1354
+ by: z.ZodLiteral<"text">;
1355
+ text: z.ZodString;
1356
+ }, z.core.$strict>], "by">>;
1357
+ fields: z.ZodArray<z.ZodObject<{
1358
+ name: z.ZodString;
1359
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1360
+ css: z.ZodOptional<z.ZodString>;
1361
+ nth: z.ZodOptional<z.ZodInt>;
1362
+ within: z.ZodOptional<z.ZodObject<{
1363
+ role: z.ZodString;
1364
+ has: z.ZodString;
1365
+ }, z.core.$strict>>;
1366
+ by: z.ZodLiteral<"role">;
1367
+ role: z.ZodString;
1368
+ name: z.ZodOptional<z.ZodString>;
1369
+ }, z.core.$strict>, z.ZodObject<{
1370
+ css: z.ZodOptional<z.ZodString>;
1371
+ nth: z.ZodOptional<z.ZodInt>;
1372
+ within: z.ZodOptional<z.ZodObject<{
1373
+ role: z.ZodString;
1374
+ has: z.ZodString;
1375
+ }, z.core.$strict>>;
1376
+ by: z.ZodLiteral<"label">;
1377
+ label: z.ZodString;
1378
+ }, z.core.$strict>, z.ZodObject<{
1379
+ css: z.ZodOptional<z.ZodString>;
1380
+ nth: z.ZodOptional<z.ZodInt>;
1381
+ within: z.ZodOptional<z.ZodObject<{
1382
+ role: z.ZodString;
1383
+ has: z.ZodString;
1384
+ }, z.core.$strict>>;
1385
+ by: z.ZodLiteral<"text">;
1386
+ text: z.ZodString;
1387
+ }, z.core.$strict>], "by">;
1388
+ take: z.ZodOptional<z.ZodEnum<{
1389
+ value: "value";
1390
+ link: "link";
1391
+ text: "text";
1392
+ }>>;
1393
+ pattern: z.ZodOptional<z.ZodString>;
1394
+ }, z.core.$strict>>;
1395
+ }, z.core.$strict>, z.ZodObject<{
1396
+ type: z.ZodLiteral<"write">;
1397
+ from: z.ZodString;
1398
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1399
+ unique: z.ZodOptional<z.ZodString>;
1400
+ }, z.core.$strict>, z.ZodObject<{
1401
+ type: z.ZodLiteral<"repeat">;
1402
+ over: z.ZodUnion<readonly [z.ZodObject<{
1403
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1404
+ css: z.ZodOptional<z.ZodString>;
1405
+ nth: z.ZodOptional<z.ZodInt>;
1406
+ within: z.ZodOptional<z.ZodObject<{
1407
+ role: z.ZodString;
1408
+ has: z.ZodString;
1409
+ }, z.core.$strict>>;
1410
+ by: z.ZodLiteral<"role">;
1411
+ role: z.ZodString;
1412
+ name: z.ZodOptional<z.ZodString>;
1413
+ }, z.core.$strict>, z.ZodObject<{
1414
+ css: z.ZodOptional<z.ZodString>;
1415
+ nth: z.ZodOptional<z.ZodInt>;
1416
+ within: z.ZodOptional<z.ZodObject<{
1417
+ role: z.ZodString;
1418
+ has: z.ZodString;
1419
+ }, z.core.$strict>>;
1420
+ by: z.ZodLiteral<"label">;
1421
+ label: z.ZodString;
1422
+ }, z.core.$strict>, z.ZodObject<{
1423
+ css: z.ZodOptional<z.ZodString>;
1424
+ nth: z.ZodOptional<z.ZodInt>;
1425
+ within: z.ZodOptional<z.ZodObject<{
1426
+ role: z.ZodString;
1427
+ has: z.ZodString;
1428
+ }, z.core.$strict>>;
1429
+ by: z.ZodLiteral<"text">;
1430
+ text: z.ZodString;
1431
+ }, z.core.$strict>], "by">;
1432
+ }, z.core.$strict>, z.ZodObject<{
1433
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1434
+ css: z.ZodOptional<z.ZodString>;
1435
+ nth: z.ZodOptional<z.ZodInt>;
1436
+ within: z.ZodOptional<z.ZodObject<{
1437
+ role: z.ZodString;
1438
+ has: z.ZodString;
1439
+ }, z.core.$strict>>;
1440
+ by: z.ZodLiteral<"role">;
1441
+ role: z.ZodString;
1442
+ name: z.ZodOptional<z.ZodString>;
1443
+ }, z.core.$strict>, z.ZodObject<{
1444
+ css: z.ZodOptional<z.ZodString>;
1445
+ nth: z.ZodOptional<z.ZodInt>;
1446
+ within: z.ZodOptional<z.ZodObject<{
1447
+ role: z.ZodString;
1448
+ has: z.ZodString;
1449
+ }, z.core.$strict>>;
1450
+ by: z.ZodLiteral<"label">;
1451
+ label: z.ZodString;
1452
+ }, z.core.$strict>, z.ZodObject<{
1453
+ css: z.ZodOptional<z.ZodString>;
1454
+ nth: z.ZodOptional<z.ZodInt>;
1455
+ within: z.ZodOptional<z.ZodObject<{
1456
+ role: z.ZodString;
1457
+ has: z.ZodString;
1458
+ }, z.core.$strict>>;
1459
+ by: z.ZodLiteral<"text">;
1460
+ text: z.ZodString;
1461
+ }, z.core.$strict>], "by">;
1462
+ }, z.core.$strict>, z.ZodObject<{
1463
+ times: z.ZodInt;
1464
+ }, z.core.$strict>]>;
1465
+ max: z.ZodOptional<z.ZodInt>;
1466
+ }, z.core.$strict>], "type">, unknown>>>;
1467
+ state: z.ZodOptional<z.ZodEnum<{
1468
+ fixed: "fixed";
1469
+ open: "open";
1470
+ }>>;
1471
+ reachedPath: z.ZodOptional<z.ZodString>;
1472
+ }, z.core.$strict>;
1473
+ export type FlowStepCreateInput = z.infer<typeof FlowStepCreateInput>;
1474
+ export declare const FlowStepUpdateInput: z.ZodObject<{
1475
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1476
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1477
+ title: z.ZodOptional<z.ZodString>;
1478
+ instruction: z.ZodOptional<z.ZodString>;
1479
+ success: z.ZodOptional<z.ZodString>;
1480
+ actions: z.ZodOptional<z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1481
+ type: z.ZodLiteral<"open">;
1482
+ url: z.ZodURL;
1483
+ }, z.core.$strict>, z.ZodObject<{
1484
+ type: z.ZodLiteral<"click">;
1485
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1486
+ css: z.ZodOptional<z.ZodString>;
1487
+ nth: z.ZodOptional<z.ZodInt>;
1488
+ within: z.ZodOptional<z.ZodObject<{
1489
+ role: z.ZodString;
1490
+ has: z.ZodString;
1491
+ }, z.core.$strict>>;
1492
+ by: z.ZodLiteral<"role">;
1493
+ role: z.ZodString;
1494
+ name: z.ZodOptional<z.ZodString>;
1495
+ }, z.core.$strict>, z.ZodObject<{
1496
+ css: z.ZodOptional<z.ZodString>;
1497
+ nth: z.ZodOptional<z.ZodInt>;
1498
+ within: z.ZodOptional<z.ZodObject<{
1499
+ role: z.ZodString;
1500
+ has: z.ZodString;
1501
+ }, z.core.$strict>>;
1502
+ by: z.ZodLiteral<"label">;
1503
+ label: z.ZodString;
1504
+ }, z.core.$strict>, z.ZodObject<{
1505
+ css: z.ZodOptional<z.ZodString>;
1506
+ nth: z.ZodOptional<z.ZodInt>;
1507
+ within: z.ZodOptional<z.ZodObject<{
1508
+ role: z.ZodString;
1509
+ has: z.ZodString;
1510
+ }, z.core.$strict>>;
1511
+ by: z.ZodLiteral<"text">;
1512
+ text: z.ZodString;
1513
+ }, z.core.$strict>], "by">;
1514
+ }, z.core.$strict>, z.ZodObject<{
1515
+ type: z.ZodLiteral<"fill">;
1516
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1517
+ css: z.ZodOptional<z.ZodString>;
1518
+ nth: z.ZodOptional<z.ZodInt>;
1519
+ within: z.ZodOptional<z.ZodObject<{
1520
+ role: z.ZodString;
1521
+ has: z.ZodString;
1522
+ }, z.core.$strict>>;
1523
+ by: z.ZodLiteral<"role">;
1524
+ role: z.ZodString;
1525
+ name: z.ZodOptional<z.ZodString>;
1526
+ }, z.core.$strict>, z.ZodObject<{
1527
+ css: z.ZodOptional<z.ZodString>;
1528
+ nth: z.ZodOptional<z.ZodInt>;
1529
+ within: z.ZodOptional<z.ZodObject<{
1530
+ role: z.ZodString;
1531
+ has: z.ZodString;
1532
+ }, z.core.$strict>>;
1533
+ by: z.ZodLiteral<"label">;
1534
+ label: z.ZodString;
1535
+ }, z.core.$strict>, z.ZodObject<{
1536
+ css: z.ZodOptional<z.ZodString>;
1537
+ nth: z.ZodOptional<z.ZodInt>;
1538
+ within: z.ZodOptional<z.ZodObject<{
1539
+ role: z.ZodString;
1540
+ has: z.ZodString;
1541
+ }, z.core.$strict>>;
1542
+ by: z.ZodLiteral<"text">;
1543
+ text: z.ZodString;
1544
+ }, z.core.$strict>], "by">;
1545
+ value: z.ZodUnion<readonly [z.ZodObject<{
1546
+ text: z.ZodString;
1547
+ }, z.core.$strict>, z.ZodObject<{
1548
+ credential: z.ZodString;
1549
+ }, z.core.$strict>]>;
1550
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1551
+ }, z.core.$strict>, z.ZodObject<{
1552
+ type: z.ZodLiteral<"read">;
1553
+ into: z.ZodString;
1554
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1555
+ css: z.ZodOptional<z.ZodString>;
1556
+ nth: z.ZodOptional<z.ZodInt>;
1557
+ within: z.ZodOptional<z.ZodObject<{
1558
+ role: z.ZodString;
1559
+ has: z.ZodString;
1560
+ }, z.core.$strict>>;
1561
+ by: z.ZodLiteral<"role">;
1562
+ role: z.ZodString;
1563
+ name: z.ZodOptional<z.ZodString>;
1564
+ }, z.core.$strict>, z.ZodObject<{
1565
+ css: z.ZodOptional<z.ZodString>;
1566
+ nth: z.ZodOptional<z.ZodInt>;
1567
+ within: z.ZodOptional<z.ZodObject<{
1568
+ role: z.ZodString;
1569
+ has: z.ZodString;
1570
+ }, z.core.$strict>>;
1571
+ by: z.ZodLiteral<"label">;
1572
+ label: z.ZodString;
1573
+ }, z.core.$strict>, z.ZodObject<{
1574
+ css: z.ZodOptional<z.ZodString>;
1575
+ nth: z.ZodOptional<z.ZodInt>;
1576
+ within: z.ZodOptional<z.ZodObject<{
1577
+ role: z.ZodString;
1578
+ has: z.ZodString;
1579
+ }, z.core.$strict>>;
1580
+ by: z.ZodLiteral<"text">;
1581
+ text: z.ZodString;
1582
+ }, z.core.$strict>], "by">>;
1583
+ fields: z.ZodArray<z.ZodObject<{
1584
+ name: z.ZodString;
1585
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1586
+ css: z.ZodOptional<z.ZodString>;
1587
+ nth: z.ZodOptional<z.ZodInt>;
1588
+ within: z.ZodOptional<z.ZodObject<{
1589
+ role: z.ZodString;
1590
+ has: z.ZodString;
1591
+ }, z.core.$strict>>;
1592
+ by: z.ZodLiteral<"role">;
1593
+ role: z.ZodString;
1594
+ name: z.ZodOptional<z.ZodString>;
1595
+ }, z.core.$strict>, z.ZodObject<{
1596
+ css: z.ZodOptional<z.ZodString>;
1597
+ nth: z.ZodOptional<z.ZodInt>;
1598
+ within: z.ZodOptional<z.ZodObject<{
1599
+ role: z.ZodString;
1600
+ has: z.ZodString;
1601
+ }, z.core.$strict>>;
1602
+ by: z.ZodLiteral<"label">;
1603
+ label: z.ZodString;
1604
+ }, z.core.$strict>, z.ZodObject<{
1605
+ css: z.ZodOptional<z.ZodString>;
1606
+ nth: z.ZodOptional<z.ZodInt>;
1607
+ within: z.ZodOptional<z.ZodObject<{
1608
+ role: z.ZodString;
1609
+ has: z.ZodString;
1610
+ }, z.core.$strict>>;
1611
+ by: z.ZodLiteral<"text">;
1612
+ text: z.ZodString;
1613
+ }, z.core.$strict>], "by">;
1614
+ take: z.ZodOptional<z.ZodEnum<{
1615
+ value: "value";
1616
+ link: "link";
1617
+ text: "text";
1618
+ }>>;
1619
+ pattern: z.ZodOptional<z.ZodString>;
1620
+ }, z.core.$strict>>;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ type: z.ZodLiteral<"write">;
1623
+ from: z.ZodString;
1624
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1625
+ unique: z.ZodOptional<z.ZodString>;
1626
+ }, z.core.$strict>, z.ZodObject<{
1627
+ type: z.ZodLiteral<"repeat">;
1628
+ over: z.ZodUnion<readonly [z.ZodObject<{
1629
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1630
+ css: z.ZodOptional<z.ZodString>;
1631
+ nth: z.ZodOptional<z.ZodInt>;
1632
+ within: z.ZodOptional<z.ZodObject<{
1633
+ role: z.ZodString;
1634
+ has: z.ZodString;
1635
+ }, z.core.$strict>>;
1636
+ by: z.ZodLiteral<"role">;
1637
+ role: z.ZodString;
1638
+ name: z.ZodOptional<z.ZodString>;
1639
+ }, z.core.$strict>, z.ZodObject<{
1640
+ css: z.ZodOptional<z.ZodString>;
1641
+ nth: z.ZodOptional<z.ZodInt>;
1642
+ within: z.ZodOptional<z.ZodObject<{
1643
+ role: z.ZodString;
1644
+ has: z.ZodString;
1645
+ }, z.core.$strict>>;
1646
+ by: z.ZodLiteral<"label">;
1647
+ label: z.ZodString;
1648
+ }, z.core.$strict>, z.ZodObject<{
1649
+ css: z.ZodOptional<z.ZodString>;
1650
+ nth: z.ZodOptional<z.ZodInt>;
1651
+ within: z.ZodOptional<z.ZodObject<{
1652
+ role: z.ZodString;
1653
+ has: z.ZodString;
1654
+ }, z.core.$strict>>;
1655
+ by: z.ZodLiteral<"text">;
1656
+ text: z.ZodString;
1657
+ }, z.core.$strict>], "by">;
1658
+ }, z.core.$strict>, z.ZodObject<{
1659
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1660
+ css: z.ZodOptional<z.ZodString>;
1661
+ nth: z.ZodOptional<z.ZodInt>;
1662
+ within: z.ZodOptional<z.ZodObject<{
1663
+ role: z.ZodString;
1664
+ has: z.ZodString;
1665
+ }, z.core.$strict>>;
1666
+ by: z.ZodLiteral<"role">;
1667
+ role: z.ZodString;
1668
+ name: z.ZodOptional<z.ZodString>;
1669
+ }, z.core.$strict>, z.ZodObject<{
1670
+ css: z.ZodOptional<z.ZodString>;
1671
+ nth: z.ZodOptional<z.ZodInt>;
1672
+ within: z.ZodOptional<z.ZodObject<{
1673
+ role: z.ZodString;
1674
+ has: z.ZodString;
1675
+ }, z.core.$strict>>;
1676
+ by: z.ZodLiteral<"label">;
1677
+ label: z.ZodString;
1678
+ }, z.core.$strict>, z.ZodObject<{
1679
+ css: z.ZodOptional<z.ZodString>;
1680
+ nth: z.ZodOptional<z.ZodInt>;
1681
+ within: z.ZodOptional<z.ZodObject<{
1682
+ role: z.ZodString;
1683
+ has: z.ZodString;
1684
+ }, z.core.$strict>>;
1685
+ by: z.ZodLiteral<"text">;
1686
+ text: z.ZodString;
1687
+ }, z.core.$strict>], "by">;
1688
+ }, z.core.$strict>, z.ZodObject<{
1689
+ times: z.ZodInt;
1690
+ }, z.core.$strict>]>;
1691
+ max: z.ZodOptional<z.ZodInt>;
1692
+ }, z.core.$strict>], "type">, unknown>>>;
1693
+ state: z.ZodOptional<z.ZodEnum<{
1694
+ fixed: "fixed";
1695
+ open: "open";
1696
+ }>>;
1697
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1698
+ rev: z.ZodNumber;
1699
+ }, z.core.$strict>;
1700
+ export type FlowStepUpdateInput = z.infer<typeof FlowStepUpdateInput>;
1701
+ export declare const FlowStepMoveInput: z.ZodObject<{
1702
+ rev: z.ZodNumber;
1703
+ parentStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1704
+ afterStepId: z.ZodOptional<z.ZodNullable<z.ZodTemplateLiteral<`step_${string}`>>>;
1705
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1706
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1707
+ }, z.core.$strict>;
1708
+ export type FlowStepMoveInput = z.infer<typeof FlowStepMoveInput>;
1709
+ export declare const FlowStepRemoveInput: z.ZodObject<{
1710
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1711
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1712
+ rev: z.ZodNumber;
1713
+ }, z.core.$strict>;
1714
+ export type FlowStepRemoveInput = z.infer<typeof FlowStepRemoveInput>;
1715
+ export declare const FlowSecretListInput: z.ZodObject<{
1716
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1717
+ }, z.core.$strict>;
1718
+ export type FlowSecretListInput = z.infer<typeof FlowSecretListInput>;
1719
+ export declare const FlowSecretCreateInput: z.ZodObject<{
1720
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1721
+ name: z.ZodString;
1722
+ value: z.ZodString;
1723
+ }, z.core.$strict>;
1724
+ export type FlowSecretCreateInput = z.infer<typeof FlowSecretCreateInput>;
1725
+ export declare const FlowSecretUpdateInput: z.ZodObject<{
1726
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1727
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1728
+ value: z.ZodString;
1729
+ }, z.core.$strict>;
1730
+ export type FlowSecretUpdateInput = z.infer<typeof FlowSecretUpdateInput>;
1731
+ export declare const FlowSecretRemoveInput: z.ZodObject<{
1732
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1733
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1734
+ }, z.core.$strict>;
1735
+ export type FlowSecretRemoveInput = z.infer<typeof FlowSecretRemoveInput>;
1736
+ export declare const FlowSecret: z.ZodObject<{
1737
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1738
+ name: z.ZodString;
1739
+ setAt: z.ZodISODateTime;
1740
+ }, z.core.$strip>;
1741
+ export type FlowSecret = z.infer<typeof FlowSecret>;
1742
+ export declare const FlowSecretList: z.ZodObject<{
1743
+ items: z.ZodArray<z.ZodObject<{
1744
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1745
+ name: z.ZodString;
1746
+ setAt: z.ZodISODateTime;
1747
+ }, z.core.$strip>>;
1748
+ }, z.core.$strip>;
1749
+ export type FlowSecretList = z.infer<typeof FlowSecretList>;
1750
+ export declare const FlowSecretRemoved: z.ZodObject<{
1751
+ secretId: z.ZodTemplateLiteral<`secret_${string}`>;
1752
+ removed: z.ZodLiteral<true>;
1753
+ }, z.core.$strip>;
1754
+ export type FlowSecretRemoved = z.infer<typeof FlowSecretRemoved>;
1755
+ export declare const FlowScheduleDetail: z.ZodObject<{
1756
+ enabled: z.ZodBoolean;
1757
+ rhythm: z.ZodEnum<{
1758
+ daily: "daily";
1759
+ weekly: "weekly";
1760
+ hourly: "hourly";
1761
+ }>;
1762
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1763
+ monday: "monday";
1764
+ tuesday: "tuesday";
1765
+ wednesday: "wednesday";
1766
+ thursday: "thursday";
1767
+ friday: "friday";
1768
+ saturday: "saturday";
1769
+ sunday: "sunday";
1770
+ }>>>;
1771
+ time: z.ZodOptional<z.ZodString>;
1772
+ zone: z.ZodString;
1773
+ }, z.core.$strip>;
1774
+ export type FlowScheduleDetail = z.infer<typeof FlowScheduleDetail>;
1775
+ export declare const FlowDetail: z.ZodObject<{
1776
+ flowId: z.ZodTemplateLiteral<`node_${string}`>;
1777
+ name: z.ZodString;
1778
+ hidden: z.ZodBoolean;
1779
+ parentId: z.ZodNullable<z.ZodTemplateLiteral<`node_${string}`>>;
1780
+ path: z.ZodObject<{
1781
+ section: z.ZodEnum<{
1782
+ users: "users";
1783
+ own: "own";
1784
+ shared: "shared";
1785
+ }>;
1786
+ items: z.ZodArray<z.ZodObject<{
1787
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1788
+ name: z.ZodString;
1789
+ }, z.core.$strip>>;
1790
+ }, z.core.$strip>;
1791
+ hosts: z.ZodArray<z.ZodString>;
1792
+ schedule: z.ZodObject<{
1793
+ enabled: z.ZodBoolean;
1794
+ rhythm: z.ZodEnum<{
1795
+ daily: "daily";
1796
+ weekly: "weekly";
1797
+ hourly: "hourly";
1798
+ }>;
1799
+ days: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1800
+ monday: "monday";
1801
+ tuesday: "tuesday";
1802
+ wednesday: "wednesday";
1803
+ thursday: "thursday";
1804
+ friday: "friday";
1805
+ saturday: "saturday";
1806
+ sunday: "sunday";
1807
+ }>>>;
1808
+ time: z.ZodOptional<z.ZodString>;
1809
+ zone: z.ZodString;
1810
+ }, z.core.$strip>;
1811
+ nextRunAt: z.ZodNullable<z.ZodISODateTime>;
1812
+ version: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"draft">]>>;
1813
+ steps: z.ZodArray<z.ZodObject<{
1814
+ steps: z.ZodArray<z.ZodObject<{
1815
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
1816
+ title: z.ZodString;
1817
+ instruction: z.ZodString;
1818
+ success: z.ZodString;
1819
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
1820
+ type: z.ZodLiteral<"open">;
1821
+ url: z.ZodURL;
1822
+ }, z.core.$strict>, z.ZodObject<{
1823
+ type: z.ZodLiteral<"click">;
1824
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1825
+ css: z.ZodOptional<z.ZodString>;
1826
+ nth: z.ZodOptional<z.ZodInt>;
1827
+ within: z.ZodOptional<z.ZodObject<{
1828
+ role: z.ZodString;
1829
+ has: z.ZodString;
1830
+ }, z.core.$strict>>;
1831
+ by: z.ZodLiteral<"role">;
1832
+ role: z.ZodString;
1833
+ name: z.ZodOptional<z.ZodString>;
1834
+ }, z.core.$strict>, z.ZodObject<{
1835
+ css: z.ZodOptional<z.ZodString>;
1836
+ nth: z.ZodOptional<z.ZodInt>;
1837
+ within: z.ZodOptional<z.ZodObject<{
1838
+ role: z.ZodString;
1839
+ has: z.ZodString;
1840
+ }, z.core.$strict>>;
1841
+ by: z.ZodLiteral<"label">;
1842
+ label: z.ZodString;
1843
+ }, z.core.$strict>, z.ZodObject<{
1844
+ css: z.ZodOptional<z.ZodString>;
1845
+ nth: z.ZodOptional<z.ZodInt>;
1846
+ within: z.ZodOptional<z.ZodObject<{
1847
+ role: z.ZodString;
1848
+ has: z.ZodString;
1849
+ }, z.core.$strict>>;
1850
+ by: z.ZodLiteral<"text">;
1851
+ text: z.ZodString;
1852
+ }, z.core.$strict>], "by">;
1853
+ }, z.core.$strict>, z.ZodObject<{
1854
+ type: z.ZodLiteral<"fill">;
1855
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1856
+ css: z.ZodOptional<z.ZodString>;
1857
+ nth: z.ZodOptional<z.ZodInt>;
1858
+ within: z.ZodOptional<z.ZodObject<{
1859
+ role: z.ZodString;
1860
+ has: z.ZodString;
1861
+ }, z.core.$strict>>;
1862
+ by: z.ZodLiteral<"role">;
1863
+ role: z.ZodString;
1864
+ name: z.ZodOptional<z.ZodString>;
1865
+ }, z.core.$strict>, z.ZodObject<{
1866
+ css: z.ZodOptional<z.ZodString>;
1867
+ nth: z.ZodOptional<z.ZodInt>;
1868
+ within: z.ZodOptional<z.ZodObject<{
1869
+ role: z.ZodString;
1870
+ has: z.ZodString;
1871
+ }, z.core.$strict>>;
1872
+ by: z.ZodLiteral<"label">;
1873
+ label: z.ZodString;
1874
+ }, z.core.$strict>, z.ZodObject<{
1875
+ css: z.ZodOptional<z.ZodString>;
1876
+ nth: z.ZodOptional<z.ZodInt>;
1877
+ within: z.ZodOptional<z.ZodObject<{
1878
+ role: z.ZodString;
1879
+ has: z.ZodString;
1880
+ }, z.core.$strict>>;
1881
+ by: z.ZodLiteral<"text">;
1882
+ text: z.ZodString;
1883
+ }, z.core.$strict>], "by">;
1884
+ value: z.ZodUnion<readonly [z.ZodObject<{
1885
+ text: z.ZodString;
1886
+ }, z.core.$strict>, z.ZodObject<{
1887
+ credential: z.ZodString;
1888
+ }, z.core.$strict>]>;
1889
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
1890
+ }, z.core.$strict>, z.ZodObject<{
1891
+ type: z.ZodLiteral<"read">;
1892
+ into: z.ZodString;
1893
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1894
+ css: z.ZodOptional<z.ZodString>;
1895
+ nth: z.ZodOptional<z.ZodInt>;
1896
+ within: z.ZodOptional<z.ZodObject<{
1897
+ role: z.ZodString;
1898
+ has: z.ZodString;
1899
+ }, z.core.$strict>>;
1900
+ by: z.ZodLiteral<"role">;
1901
+ role: z.ZodString;
1902
+ name: z.ZodOptional<z.ZodString>;
1903
+ }, z.core.$strict>, z.ZodObject<{
1904
+ css: z.ZodOptional<z.ZodString>;
1905
+ nth: z.ZodOptional<z.ZodInt>;
1906
+ within: z.ZodOptional<z.ZodObject<{
1907
+ role: z.ZodString;
1908
+ has: z.ZodString;
1909
+ }, z.core.$strict>>;
1910
+ by: z.ZodLiteral<"label">;
1911
+ label: z.ZodString;
1912
+ }, z.core.$strict>, z.ZodObject<{
1913
+ css: z.ZodOptional<z.ZodString>;
1914
+ nth: z.ZodOptional<z.ZodInt>;
1915
+ within: z.ZodOptional<z.ZodObject<{
1916
+ role: z.ZodString;
1917
+ has: z.ZodString;
1918
+ }, z.core.$strict>>;
1919
+ by: z.ZodLiteral<"text">;
1920
+ text: z.ZodString;
1921
+ }, z.core.$strict>], "by">>;
1922
+ fields: z.ZodArray<z.ZodObject<{
1923
+ name: z.ZodString;
1924
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
1925
+ css: z.ZodOptional<z.ZodString>;
1926
+ nth: z.ZodOptional<z.ZodInt>;
1927
+ within: z.ZodOptional<z.ZodObject<{
1928
+ role: z.ZodString;
1929
+ has: z.ZodString;
1930
+ }, z.core.$strict>>;
1931
+ by: z.ZodLiteral<"role">;
1932
+ role: z.ZodString;
1933
+ name: z.ZodOptional<z.ZodString>;
1934
+ }, z.core.$strict>, z.ZodObject<{
1935
+ css: z.ZodOptional<z.ZodString>;
1936
+ nth: z.ZodOptional<z.ZodInt>;
1937
+ within: z.ZodOptional<z.ZodObject<{
1938
+ role: z.ZodString;
1939
+ has: z.ZodString;
1940
+ }, z.core.$strict>>;
1941
+ by: z.ZodLiteral<"label">;
1942
+ label: z.ZodString;
1943
+ }, z.core.$strict>, z.ZodObject<{
1944
+ css: z.ZodOptional<z.ZodString>;
1945
+ nth: z.ZodOptional<z.ZodInt>;
1946
+ within: z.ZodOptional<z.ZodObject<{
1947
+ role: z.ZodString;
1948
+ has: z.ZodString;
1949
+ }, z.core.$strict>>;
1950
+ by: z.ZodLiteral<"text">;
1951
+ text: z.ZodString;
1952
+ }, z.core.$strict>], "by">;
1953
+ take: z.ZodOptional<z.ZodEnum<{
1954
+ value: "value";
1955
+ link: "link";
1956
+ text: "text";
1957
+ }>>;
1958
+ pattern: z.ZodOptional<z.ZodString>;
1959
+ }, z.core.$strict>>;
1960
+ }, z.core.$strict>, z.ZodObject<{
1961
+ type: z.ZodLiteral<"write">;
1962
+ from: z.ZodString;
1963
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
1964
+ unique: z.ZodOptional<z.ZodString>;
1965
+ }, z.core.$strict>, z.ZodObject<{
1966
+ type: z.ZodLiteral<"repeat">;
1967
+ over: z.ZodUnion<readonly [z.ZodObject<{
1968
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
1969
+ css: z.ZodOptional<z.ZodString>;
1970
+ nth: z.ZodOptional<z.ZodInt>;
1971
+ within: z.ZodOptional<z.ZodObject<{
1972
+ role: z.ZodString;
1973
+ has: z.ZodString;
1974
+ }, z.core.$strict>>;
1975
+ by: z.ZodLiteral<"role">;
1976
+ role: z.ZodString;
1977
+ name: z.ZodOptional<z.ZodString>;
1978
+ }, z.core.$strict>, z.ZodObject<{
1979
+ css: z.ZodOptional<z.ZodString>;
1980
+ nth: z.ZodOptional<z.ZodInt>;
1981
+ within: z.ZodOptional<z.ZodObject<{
1982
+ role: z.ZodString;
1983
+ has: z.ZodString;
1984
+ }, z.core.$strict>>;
1985
+ by: z.ZodLiteral<"label">;
1986
+ label: z.ZodString;
1987
+ }, z.core.$strict>, z.ZodObject<{
1988
+ css: z.ZodOptional<z.ZodString>;
1989
+ nth: z.ZodOptional<z.ZodInt>;
1990
+ within: z.ZodOptional<z.ZodObject<{
1991
+ role: z.ZodString;
1992
+ has: z.ZodString;
1993
+ }, z.core.$strict>>;
1994
+ by: z.ZodLiteral<"text">;
1995
+ text: z.ZodString;
1996
+ }, z.core.$strict>], "by">;
1997
+ }, z.core.$strict>, z.ZodObject<{
1998
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
1999
+ css: z.ZodOptional<z.ZodString>;
2000
+ nth: z.ZodOptional<z.ZodInt>;
2001
+ within: z.ZodOptional<z.ZodObject<{
2002
+ role: z.ZodString;
2003
+ has: z.ZodString;
2004
+ }, z.core.$strict>>;
2005
+ by: z.ZodLiteral<"role">;
2006
+ role: z.ZodString;
2007
+ name: z.ZodOptional<z.ZodString>;
2008
+ }, z.core.$strict>, z.ZodObject<{
2009
+ css: z.ZodOptional<z.ZodString>;
2010
+ nth: z.ZodOptional<z.ZodInt>;
2011
+ within: z.ZodOptional<z.ZodObject<{
2012
+ role: z.ZodString;
2013
+ has: z.ZodString;
2014
+ }, z.core.$strict>>;
2015
+ by: z.ZodLiteral<"label">;
2016
+ label: z.ZodString;
2017
+ }, z.core.$strict>, z.ZodObject<{
2018
+ css: z.ZodOptional<z.ZodString>;
2019
+ nth: z.ZodOptional<z.ZodInt>;
2020
+ within: z.ZodOptional<z.ZodObject<{
2021
+ role: z.ZodString;
2022
+ has: z.ZodString;
2023
+ }, z.core.$strict>>;
2024
+ by: z.ZodLiteral<"text">;
2025
+ text: z.ZodString;
2026
+ }, z.core.$strict>], "by">;
2027
+ }, z.core.$strict>, z.ZodObject<{
2028
+ times: z.ZodInt;
2029
+ }, z.core.$strict>]>;
2030
+ max: z.ZodOptional<z.ZodInt>;
2031
+ }, z.core.$strict>], "type">, unknown>>;
2032
+ state: z.ZodEnum<{
2033
+ fixed: "fixed";
2034
+ open: "open";
2035
+ }>;
2036
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2037
+ }, z.core.$strip>>;
2038
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2039
+ title: z.ZodString;
2040
+ instruction: z.ZodString;
2041
+ success: z.ZodString;
2042
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2043
+ type: z.ZodLiteral<"open">;
2044
+ url: z.ZodURL;
2045
+ }, z.core.$strict>, z.ZodObject<{
2046
+ type: z.ZodLiteral<"click">;
2047
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2048
+ css: z.ZodOptional<z.ZodString>;
2049
+ nth: z.ZodOptional<z.ZodInt>;
2050
+ within: z.ZodOptional<z.ZodObject<{
2051
+ role: z.ZodString;
2052
+ has: z.ZodString;
2053
+ }, z.core.$strict>>;
2054
+ by: z.ZodLiteral<"role">;
2055
+ role: z.ZodString;
2056
+ name: z.ZodOptional<z.ZodString>;
2057
+ }, z.core.$strict>, z.ZodObject<{
2058
+ css: z.ZodOptional<z.ZodString>;
2059
+ nth: z.ZodOptional<z.ZodInt>;
2060
+ within: z.ZodOptional<z.ZodObject<{
2061
+ role: z.ZodString;
2062
+ has: z.ZodString;
2063
+ }, z.core.$strict>>;
2064
+ by: z.ZodLiteral<"label">;
2065
+ label: z.ZodString;
2066
+ }, z.core.$strict>, z.ZodObject<{
2067
+ css: z.ZodOptional<z.ZodString>;
2068
+ nth: z.ZodOptional<z.ZodInt>;
2069
+ within: z.ZodOptional<z.ZodObject<{
2070
+ role: z.ZodString;
2071
+ has: z.ZodString;
2072
+ }, z.core.$strict>>;
2073
+ by: z.ZodLiteral<"text">;
2074
+ text: z.ZodString;
2075
+ }, z.core.$strict>], "by">;
2076
+ }, z.core.$strict>, z.ZodObject<{
2077
+ type: z.ZodLiteral<"fill">;
2078
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2079
+ css: z.ZodOptional<z.ZodString>;
2080
+ nth: z.ZodOptional<z.ZodInt>;
2081
+ within: z.ZodOptional<z.ZodObject<{
2082
+ role: z.ZodString;
2083
+ has: z.ZodString;
2084
+ }, z.core.$strict>>;
2085
+ by: z.ZodLiteral<"role">;
2086
+ role: z.ZodString;
2087
+ name: z.ZodOptional<z.ZodString>;
2088
+ }, z.core.$strict>, z.ZodObject<{
2089
+ css: z.ZodOptional<z.ZodString>;
2090
+ nth: z.ZodOptional<z.ZodInt>;
2091
+ within: z.ZodOptional<z.ZodObject<{
2092
+ role: z.ZodString;
2093
+ has: z.ZodString;
2094
+ }, z.core.$strict>>;
2095
+ by: z.ZodLiteral<"label">;
2096
+ label: z.ZodString;
2097
+ }, z.core.$strict>, z.ZodObject<{
2098
+ css: z.ZodOptional<z.ZodString>;
2099
+ nth: z.ZodOptional<z.ZodInt>;
2100
+ within: z.ZodOptional<z.ZodObject<{
2101
+ role: z.ZodString;
2102
+ has: z.ZodString;
2103
+ }, z.core.$strict>>;
2104
+ by: z.ZodLiteral<"text">;
2105
+ text: z.ZodString;
2106
+ }, z.core.$strict>], "by">;
2107
+ value: z.ZodUnion<readonly [z.ZodObject<{
2108
+ text: z.ZodString;
2109
+ }, z.core.$strict>, z.ZodObject<{
2110
+ credential: z.ZodString;
2111
+ }, z.core.$strict>]>;
2112
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2113
+ }, z.core.$strict>, z.ZodObject<{
2114
+ type: z.ZodLiteral<"read">;
2115
+ into: z.ZodString;
2116
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2117
+ css: z.ZodOptional<z.ZodString>;
2118
+ nth: z.ZodOptional<z.ZodInt>;
2119
+ within: z.ZodOptional<z.ZodObject<{
2120
+ role: z.ZodString;
2121
+ has: z.ZodString;
2122
+ }, z.core.$strict>>;
2123
+ by: z.ZodLiteral<"role">;
2124
+ role: z.ZodString;
2125
+ name: z.ZodOptional<z.ZodString>;
2126
+ }, z.core.$strict>, z.ZodObject<{
2127
+ css: z.ZodOptional<z.ZodString>;
2128
+ nth: z.ZodOptional<z.ZodInt>;
2129
+ within: z.ZodOptional<z.ZodObject<{
2130
+ role: z.ZodString;
2131
+ has: z.ZodString;
2132
+ }, z.core.$strict>>;
2133
+ by: z.ZodLiteral<"label">;
2134
+ label: z.ZodString;
2135
+ }, z.core.$strict>, z.ZodObject<{
2136
+ css: z.ZodOptional<z.ZodString>;
2137
+ nth: z.ZodOptional<z.ZodInt>;
2138
+ within: z.ZodOptional<z.ZodObject<{
2139
+ role: z.ZodString;
2140
+ has: z.ZodString;
2141
+ }, z.core.$strict>>;
2142
+ by: z.ZodLiteral<"text">;
2143
+ text: z.ZodString;
2144
+ }, z.core.$strict>], "by">>;
2145
+ fields: z.ZodArray<z.ZodObject<{
2146
+ name: z.ZodString;
2147
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2148
+ css: z.ZodOptional<z.ZodString>;
2149
+ nth: z.ZodOptional<z.ZodInt>;
2150
+ within: z.ZodOptional<z.ZodObject<{
2151
+ role: z.ZodString;
2152
+ has: z.ZodString;
2153
+ }, z.core.$strict>>;
2154
+ by: z.ZodLiteral<"role">;
2155
+ role: z.ZodString;
2156
+ name: z.ZodOptional<z.ZodString>;
2157
+ }, z.core.$strict>, z.ZodObject<{
2158
+ css: z.ZodOptional<z.ZodString>;
2159
+ nth: z.ZodOptional<z.ZodInt>;
2160
+ within: z.ZodOptional<z.ZodObject<{
2161
+ role: z.ZodString;
2162
+ has: z.ZodString;
2163
+ }, z.core.$strict>>;
2164
+ by: z.ZodLiteral<"label">;
2165
+ label: z.ZodString;
2166
+ }, z.core.$strict>, z.ZodObject<{
2167
+ css: z.ZodOptional<z.ZodString>;
2168
+ nth: z.ZodOptional<z.ZodInt>;
2169
+ within: z.ZodOptional<z.ZodObject<{
2170
+ role: z.ZodString;
2171
+ has: z.ZodString;
2172
+ }, z.core.$strict>>;
2173
+ by: z.ZodLiteral<"text">;
2174
+ text: z.ZodString;
2175
+ }, z.core.$strict>], "by">;
2176
+ take: z.ZodOptional<z.ZodEnum<{
2177
+ value: "value";
2178
+ link: "link";
2179
+ text: "text";
2180
+ }>>;
2181
+ pattern: z.ZodOptional<z.ZodString>;
2182
+ }, z.core.$strict>>;
2183
+ }, z.core.$strict>, z.ZodObject<{
2184
+ type: z.ZodLiteral<"write">;
2185
+ from: z.ZodString;
2186
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2187
+ unique: z.ZodOptional<z.ZodString>;
2188
+ }, z.core.$strict>, z.ZodObject<{
2189
+ type: z.ZodLiteral<"repeat">;
2190
+ over: z.ZodUnion<readonly [z.ZodObject<{
2191
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2192
+ css: z.ZodOptional<z.ZodString>;
2193
+ nth: z.ZodOptional<z.ZodInt>;
2194
+ within: z.ZodOptional<z.ZodObject<{
2195
+ role: z.ZodString;
2196
+ has: z.ZodString;
2197
+ }, z.core.$strict>>;
2198
+ by: z.ZodLiteral<"role">;
2199
+ role: z.ZodString;
2200
+ name: z.ZodOptional<z.ZodString>;
2201
+ }, z.core.$strict>, z.ZodObject<{
2202
+ css: z.ZodOptional<z.ZodString>;
2203
+ nth: z.ZodOptional<z.ZodInt>;
2204
+ within: z.ZodOptional<z.ZodObject<{
2205
+ role: z.ZodString;
2206
+ has: z.ZodString;
2207
+ }, z.core.$strict>>;
2208
+ by: z.ZodLiteral<"label">;
2209
+ label: z.ZodString;
2210
+ }, z.core.$strict>, z.ZodObject<{
2211
+ css: z.ZodOptional<z.ZodString>;
2212
+ nth: z.ZodOptional<z.ZodInt>;
2213
+ within: z.ZodOptional<z.ZodObject<{
2214
+ role: z.ZodString;
2215
+ has: z.ZodString;
2216
+ }, z.core.$strict>>;
2217
+ by: z.ZodLiteral<"text">;
2218
+ text: z.ZodString;
2219
+ }, z.core.$strict>], "by">;
2220
+ }, z.core.$strict>, z.ZodObject<{
2221
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2222
+ css: z.ZodOptional<z.ZodString>;
2223
+ nth: z.ZodOptional<z.ZodInt>;
2224
+ within: z.ZodOptional<z.ZodObject<{
2225
+ role: z.ZodString;
2226
+ has: z.ZodString;
2227
+ }, z.core.$strict>>;
2228
+ by: z.ZodLiteral<"role">;
2229
+ role: z.ZodString;
2230
+ name: z.ZodOptional<z.ZodString>;
2231
+ }, z.core.$strict>, z.ZodObject<{
2232
+ css: z.ZodOptional<z.ZodString>;
2233
+ nth: z.ZodOptional<z.ZodInt>;
2234
+ within: z.ZodOptional<z.ZodObject<{
2235
+ role: z.ZodString;
2236
+ has: z.ZodString;
2237
+ }, z.core.$strict>>;
2238
+ by: z.ZodLiteral<"label">;
2239
+ label: z.ZodString;
2240
+ }, z.core.$strict>, z.ZodObject<{
2241
+ css: z.ZodOptional<z.ZodString>;
2242
+ nth: z.ZodOptional<z.ZodInt>;
2243
+ within: z.ZodOptional<z.ZodObject<{
2244
+ role: z.ZodString;
2245
+ has: z.ZodString;
2246
+ }, z.core.$strict>>;
2247
+ by: z.ZodLiteral<"text">;
2248
+ text: z.ZodString;
2249
+ }, z.core.$strict>], "by">;
2250
+ }, z.core.$strict>, z.ZodObject<{
2251
+ times: z.ZodInt;
2252
+ }, z.core.$strict>]>;
2253
+ max: z.ZodOptional<z.ZodInt>;
2254
+ }, z.core.$strict>], "type">, unknown>>;
2255
+ state: z.ZodEnum<{
2256
+ fixed: "fixed";
2257
+ open: "open";
2258
+ }>;
2259
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2260
+ }, z.core.$strip>>;
2261
+ live: z.ZodNullable<z.ZodObject<{
2262
+ version: z.ZodNumber;
2263
+ publishedAt: z.ZodISODateTime;
2264
+ publishedBy: z.ZodObject<{
2265
+ userId: z.ZodString;
2266
+ name: z.ZodNullable<z.ZodString>;
2267
+ kind: z.ZodNullable<z.ZodEnum<{
2268
+ machine: "machine";
2269
+ human: "human";
2270
+ }>>;
2271
+ }, z.core.$strip>;
2272
+ }, z.core.$strip>>;
2273
+ draft: z.ZodNullable<z.ZodObject<{
2274
+ updatedAt: z.ZodISODateTime;
2275
+ updatedBy: z.ZodObject<{
2276
+ userId: z.ZodString;
2277
+ name: z.ZodNullable<z.ZodString>;
2278
+ kind: z.ZodNullable<z.ZodEnum<{
2279
+ machine: "machine";
2280
+ human: "human";
2281
+ }>>;
2282
+ }, z.core.$strip>;
2283
+ }, z.core.$strip>>;
2284
+ settings: z.ZodNullable<z.ZodObject<{
2285
+ responsible: z.ZodNullable<z.ZodObject<{
2286
+ userId: z.ZodString;
2287
+ name: z.ZodNullable<z.ZodString>;
2288
+ kind: z.ZodNullable<z.ZodEnum<{
2289
+ machine: "machine";
2290
+ human: "human";
2291
+ }>>;
2292
+ }, z.core.$strip>>;
2293
+ level: z.ZodEnum<{
2294
+ publish: "publish";
2295
+ draft: "draft";
2296
+ report: "report";
2297
+ }>;
2298
+ recordingDays: z.ZodNumber;
2299
+ credentials: z.ZodArray<z.ZodObject<{
2300
+ name: z.ZodString;
2301
+ setAt: z.ZodISODateTime;
2302
+ }, z.core.$strip>>;
2303
+ }, z.core.$strip>>;
2304
+ rights: z.ZodObject<{
2305
+ write: z.ZodBoolean;
2306
+ }, z.core.$strip>;
2307
+ rev: z.ZodNumber;
2308
+ archivedAt: z.ZodNullable<z.ZodISODateTime>;
2309
+ }, z.core.$strip>;
2310
+ export type FlowDetail = z.infer<typeof FlowDetail>;
2311
+ export declare const FlowVersionContent: z.ZodObject<{
2312
+ steps: z.ZodArray<z.ZodObject<{
2313
+ steps: z.ZodArray<z.ZodObject<{
2314
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2315
+ title: z.ZodString;
2316
+ instruction: z.ZodString;
2317
+ success: z.ZodString;
2318
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2319
+ type: z.ZodLiteral<"open">;
2320
+ url: z.ZodURL;
2321
+ }, z.core.$strict>, z.ZodObject<{
2322
+ type: z.ZodLiteral<"click">;
2323
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2324
+ css: z.ZodOptional<z.ZodString>;
2325
+ nth: z.ZodOptional<z.ZodInt>;
2326
+ within: z.ZodOptional<z.ZodObject<{
2327
+ role: z.ZodString;
2328
+ has: z.ZodString;
2329
+ }, z.core.$strict>>;
2330
+ by: z.ZodLiteral<"role">;
2331
+ role: z.ZodString;
2332
+ name: z.ZodOptional<z.ZodString>;
2333
+ }, z.core.$strict>, z.ZodObject<{
2334
+ css: z.ZodOptional<z.ZodString>;
2335
+ nth: z.ZodOptional<z.ZodInt>;
2336
+ within: z.ZodOptional<z.ZodObject<{
2337
+ role: z.ZodString;
2338
+ has: z.ZodString;
2339
+ }, z.core.$strict>>;
2340
+ by: z.ZodLiteral<"label">;
2341
+ label: z.ZodString;
2342
+ }, z.core.$strict>, z.ZodObject<{
2343
+ css: z.ZodOptional<z.ZodString>;
2344
+ nth: z.ZodOptional<z.ZodInt>;
2345
+ within: z.ZodOptional<z.ZodObject<{
2346
+ role: z.ZodString;
2347
+ has: z.ZodString;
2348
+ }, z.core.$strict>>;
2349
+ by: z.ZodLiteral<"text">;
2350
+ text: z.ZodString;
2351
+ }, z.core.$strict>], "by">;
2352
+ }, z.core.$strict>, z.ZodObject<{
2353
+ type: z.ZodLiteral<"fill">;
2354
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2355
+ css: z.ZodOptional<z.ZodString>;
2356
+ nth: z.ZodOptional<z.ZodInt>;
2357
+ within: z.ZodOptional<z.ZodObject<{
2358
+ role: z.ZodString;
2359
+ has: z.ZodString;
2360
+ }, z.core.$strict>>;
2361
+ by: z.ZodLiteral<"role">;
2362
+ role: z.ZodString;
2363
+ name: z.ZodOptional<z.ZodString>;
2364
+ }, z.core.$strict>, z.ZodObject<{
2365
+ css: z.ZodOptional<z.ZodString>;
2366
+ nth: z.ZodOptional<z.ZodInt>;
2367
+ within: z.ZodOptional<z.ZodObject<{
2368
+ role: z.ZodString;
2369
+ has: z.ZodString;
2370
+ }, z.core.$strict>>;
2371
+ by: z.ZodLiteral<"label">;
2372
+ label: z.ZodString;
2373
+ }, z.core.$strict>, z.ZodObject<{
2374
+ css: z.ZodOptional<z.ZodString>;
2375
+ nth: z.ZodOptional<z.ZodInt>;
2376
+ within: z.ZodOptional<z.ZodObject<{
2377
+ role: z.ZodString;
2378
+ has: z.ZodString;
2379
+ }, z.core.$strict>>;
2380
+ by: z.ZodLiteral<"text">;
2381
+ text: z.ZodString;
2382
+ }, z.core.$strict>], "by">;
2383
+ value: z.ZodUnion<readonly [z.ZodObject<{
2384
+ text: z.ZodString;
2385
+ }, z.core.$strict>, z.ZodObject<{
2386
+ credential: z.ZodString;
2387
+ }, z.core.$strict>]>;
2388
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2389
+ }, z.core.$strict>, z.ZodObject<{
2390
+ type: z.ZodLiteral<"read">;
2391
+ into: z.ZodString;
2392
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2393
+ css: z.ZodOptional<z.ZodString>;
2394
+ nth: z.ZodOptional<z.ZodInt>;
2395
+ within: z.ZodOptional<z.ZodObject<{
2396
+ role: z.ZodString;
2397
+ has: z.ZodString;
2398
+ }, z.core.$strict>>;
2399
+ by: z.ZodLiteral<"role">;
2400
+ role: z.ZodString;
2401
+ name: z.ZodOptional<z.ZodString>;
2402
+ }, z.core.$strict>, z.ZodObject<{
2403
+ css: z.ZodOptional<z.ZodString>;
2404
+ nth: z.ZodOptional<z.ZodInt>;
2405
+ within: z.ZodOptional<z.ZodObject<{
2406
+ role: z.ZodString;
2407
+ has: z.ZodString;
2408
+ }, z.core.$strict>>;
2409
+ by: z.ZodLiteral<"label">;
2410
+ label: z.ZodString;
2411
+ }, z.core.$strict>, z.ZodObject<{
2412
+ css: z.ZodOptional<z.ZodString>;
2413
+ nth: z.ZodOptional<z.ZodInt>;
2414
+ within: z.ZodOptional<z.ZodObject<{
2415
+ role: z.ZodString;
2416
+ has: z.ZodString;
2417
+ }, z.core.$strict>>;
2418
+ by: z.ZodLiteral<"text">;
2419
+ text: z.ZodString;
2420
+ }, z.core.$strict>], "by">>;
2421
+ fields: z.ZodArray<z.ZodObject<{
2422
+ name: z.ZodString;
2423
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2424
+ css: z.ZodOptional<z.ZodString>;
2425
+ nth: z.ZodOptional<z.ZodInt>;
2426
+ within: z.ZodOptional<z.ZodObject<{
2427
+ role: z.ZodString;
2428
+ has: z.ZodString;
2429
+ }, z.core.$strict>>;
2430
+ by: z.ZodLiteral<"role">;
2431
+ role: z.ZodString;
2432
+ name: z.ZodOptional<z.ZodString>;
2433
+ }, z.core.$strict>, z.ZodObject<{
2434
+ css: z.ZodOptional<z.ZodString>;
2435
+ nth: z.ZodOptional<z.ZodInt>;
2436
+ within: z.ZodOptional<z.ZodObject<{
2437
+ role: z.ZodString;
2438
+ has: z.ZodString;
2439
+ }, z.core.$strict>>;
2440
+ by: z.ZodLiteral<"label">;
2441
+ label: z.ZodString;
2442
+ }, z.core.$strict>, z.ZodObject<{
2443
+ css: z.ZodOptional<z.ZodString>;
2444
+ nth: z.ZodOptional<z.ZodInt>;
2445
+ within: z.ZodOptional<z.ZodObject<{
2446
+ role: z.ZodString;
2447
+ has: z.ZodString;
2448
+ }, z.core.$strict>>;
2449
+ by: z.ZodLiteral<"text">;
2450
+ text: z.ZodString;
2451
+ }, z.core.$strict>], "by">;
2452
+ take: z.ZodOptional<z.ZodEnum<{
2453
+ value: "value";
2454
+ link: "link";
2455
+ text: "text";
2456
+ }>>;
2457
+ pattern: z.ZodOptional<z.ZodString>;
2458
+ }, z.core.$strict>>;
2459
+ }, z.core.$strict>, z.ZodObject<{
2460
+ type: z.ZodLiteral<"write">;
2461
+ from: z.ZodString;
2462
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2463
+ unique: z.ZodOptional<z.ZodString>;
2464
+ }, z.core.$strict>, z.ZodObject<{
2465
+ type: z.ZodLiteral<"repeat">;
2466
+ over: z.ZodUnion<readonly [z.ZodObject<{
2467
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2468
+ css: z.ZodOptional<z.ZodString>;
2469
+ nth: z.ZodOptional<z.ZodInt>;
2470
+ within: z.ZodOptional<z.ZodObject<{
2471
+ role: z.ZodString;
2472
+ has: z.ZodString;
2473
+ }, z.core.$strict>>;
2474
+ by: z.ZodLiteral<"role">;
2475
+ role: z.ZodString;
2476
+ name: z.ZodOptional<z.ZodString>;
2477
+ }, z.core.$strict>, z.ZodObject<{
2478
+ css: z.ZodOptional<z.ZodString>;
2479
+ nth: z.ZodOptional<z.ZodInt>;
2480
+ within: z.ZodOptional<z.ZodObject<{
2481
+ role: z.ZodString;
2482
+ has: z.ZodString;
2483
+ }, z.core.$strict>>;
2484
+ by: z.ZodLiteral<"label">;
2485
+ label: z.ZodString;
2486
+ }, z.core.$strict>, z.ZodObject<{
2487
+ css: z.ZodOptional<z.ZodString>;
2488
+ nth: z.ZodOptional<z.ZodInt>;
2489
+ within: z.ZodOptional<z.ZodObject<{
2490
+ role: z.ZodString;
2491
+ has: z.ZodString;
2492
+ }, z.core.$strict>>;
2493
+ by: z.ZodLiteral<"text">;
2494
+ text: z.ZodString;
2495
+ }, z.core.$strict>], "by">;
2496
+ }, z.core.$strict>, z.ZodObject<{
2497
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2498
+ css: z.ZodOptional<z.ZodString>;
2499
+ nth: z.ZodOptional<z.ZodInt>;
2500
+ within: z.ZodOptional<z.ZodObject<{
2501
+ role: z.ZodString;
2502
+ has: z.ZodString;
2503
+ }, z.core.$strict>>;
2504
+ by: z.ZodLiteral<"role">;
2505
+ role: z.ZodString;
2506
+ name: z.ZodOptional<z.ZodString>;
2507
+ }, z.core.$strict>, z.ZodObject<{
2508
+ css: z.ZodOptional<z.ZodString>;
2509
+ nth: z.ZodOptional<z.ZodInt>;
2510
+ within: z.ZodOptional<z.ZodObject<{
2511
+ role: z.ZodString;
2512
+ has: z.ZodString;
2513
+ }, z.core.$strict>>;
2514
+ by: z.ZodLiteral<"label">;
2515
+ label: z.ZodString;
2516
+ }, z.core.$strict>, z.ZodObject<{
2517
+ css: z.ZodOptional<z.ZodString>;
2518
+ nth: z.ZodOptional<z.ZodInt>;
2519
+ within: z.ZodOptional<z.ZodObject<{
2520
+ role: z.ZodString;
2521
+ has: z.ZodString;
2522
+ }, z.core.$strict>>;
2523
+ by: z.ZodLiteral<"text">;
2524
+ text: z.ZodString;
2525
+ }, z.core.$strict>], "by">;
2526
+ }, z.core.$strict>, z.ZodObject<{
2527
+ times: z.ZodInt;
2528
+ }, z.core.$strict>]>;
2529
+ max: z.ZodOptional<z.ZodInt>;
2530
+ }, z.core.$strict>], "type">, unknown>>;
2531
+ state: z.ZodEnum<{
2532
+ fixed: "fixed";
2533
+ open: "open";
2534
+ }>;
2535
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2536
+ }, z.core.$strip>>;
2537
+ stepId: z.ZodTemplateLiteral<`step_${string}`>;
2538
+ title: z.ZodString;
2539
+ instruction: z.ZodString;
2540
+ success: z.ZodString;
2541
+ actions: z.ZodArray<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
2542
+ type: z.ZodLiteral<"open">;
2543
+ url: z.ZodURL;
2544
+ }, z.core.$strict>, z.ZodObject<{
2545
+ type: z.ZodLiteral<"click">;
2546
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2547
+ css: z.ZodOptional<z.ZodString>;
2548
+ nth: z.ZodOptional<z.ZodInt>;
2549
+ within: z.ZodOptional<z.ZodObject<{
2550
+ role: z.ZodString;
2551
+ has: z.ZodString;
2552
+ }, z.core.$strict>>;
2553
+ by: z.ZodLiteral<"role">;
2554
+ role: z.ZodString;
2555
+ name: z.ZodOptional<z.ZodString>;
2556
+ }, z.core.$strict>, z.ZodObject<{
2557
+ css: z.ZodOptional<z.ZodString>;
2558
+ nth: z.ZodOptional<z.ZodInt>;
2559
+ within: z.ZodOptional<z.ZodObject<{
2560
+ role: z.ZodString;
2561
+ has: z.ZodString;
2562
+ }, z.core.$strict>>;
2563
+ by: z.ZodLiteral<"label">;
2564
+ label: z.ZodString;
2565
+ }, z.core.$strict>, z.ZodObject<{
2566
+ css: z.ZodOptional<z.ZodString>;
2567
+ nth: z.ZodOptional<z.ZodInt>;
2568
+ within: z.ZodOptional<z.ZodObject<{
2569
+ role: z.ZodString;
2570
+ has: z.ZodString;
2571
+ }, z.core.$strict>>;
2572
+ by: z.ZodLiteral<"text">;
2573
+ text: z.ZodString;
2574
+ }, z.core.$strict>], "by">;
2575
+ }, z.core.$strict>, z.ZodObject<{
2576
+ type: z.ZodLiteral<"fill">;
2577
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2578
+ css: z.ZodOptional<z.ZodString>;
2579
+ nth: z.ZodOptional<z.ZodInt>;
2580
+ within: z.ZodOptional<z.ZodObject<{
2581
+ role: z.ZodString;
2582
+ has: z.ZodString;
2583
+ }, z.core.$strict>>;
2584
+ by: z.ZodLiteral<"role">;
2585
+ role: z.ZodString;
2586
+ name: z.ZodOptional<z.ZodString>;
2587
+ }, z.core.$strict>, z.ZodObject<{
2588
+ css: z.ZodOptional<z.ZodString>;
2589
+ nth: z.ZodOptional<z.ZodInt>;
2590
+ within: z.ZodOptional<z.ZodObject<{
2591
+ role: z.ZodString;
2592
+ has: z.ZodString;
2593
+ }, z.core.$strict>>;
2594
+ by: z.ZodLiteral<"label">;
2595
+ label: z.ZodString;
2596
+ }, z.core.$strict>, z.ZodObject<{
2597
+ css: z.ZodOptional<z.ZodString>;
2598
+ nth: z.ZodOptional<z.ZodInt>;
2599
+ within: z.ZodOptional<z.ZodObject<{
2600
+ role: z.ZodString;
2601
+ has: z.ZodString;
2602
+ }, z.core.$strict>>;
2603
+ by: z.ZodLiteral<"text">;
2604
+ text: z.ZodString;
2605
+ }, z.core.$strict>], "by">;
2606
+ value: z.ZodUnion<readonly [z.ZodObject<{
2607
+ text: z.ZodString;
2608
+ }, z.core.$strict>, z.ZodObject<{
2609
+ credential: z.ZodString;
2610
+ }, z.core.$strict>]>;
2611
+ enter: z.ZodOptional<z.ZodLiteral<true>>;
2612
+ }, z.core.$strict>, z.ZodObject<{
2613
+ type: z.ZodLiteral<"read">;
2614
+ into: z.ZodString;
2615
+ rows: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2616
+ css: z.ZodOptional<z.ZodString>;
2617
+ nth: z.ZodOptional<z.ZodInt>;
2618
+ within: z.ZodOptional<z.ZodObject<{
2619
+ role: z.ZodString;
2620
+ has: z.ZodString;
2621
+ }, z.core.$strict>>;
2622
+ by: z.ZodLiteral<"role">;
2623
+ role: z.ZodString;
2624
+ name: z.ZodOptional<z.ZodString>;
2625
+ }, z.core.$strict>, z.ZodObject<{
2626
+ css: z.ZodOptional<z.ZodString>;
2627
+ nth: z.ZodOptional<z.ZodInt>;
2628
+ within: z.ZodOptional<z.ZodObject<{
2629
+ role: z.ZodString;
2630
+ has: z.ZodString;
2631
+ }, z.core.$strict>>;
2632
+ by: z.ZodLiteral<"label">;
2633
+ label: z.ZodString;
2634
+ }, z.core.$strict>, z.ZodObject<{
2635
+ css: z.ZodOptional<z.ZodString>;
2636
+ nth: z.ZodOptional<z.ZodInt>;
2637
+ within: z.ZodOptional<z.ZodObject<{
2638
+ role: z.ZodString;
2639
+ has: z.ZodString;
2640
+ }, z.core.$strict>>;
2641
+ by: z.ZodLiteral<"text">;
2642
+ text: z.ZodString;
2643
+ }, z.core.$strict>], "by">>;
2644
+ fields: z.ZodArray<z.ZodObject<{
2645
+ name: z.ZodString;
2646
+ target: z.ZodDiscriminatedUnion<[z.ZodObject<{
2647
+ css: z.ZodOptional<z.ZodString>;
2648
+ nth: z.ZodOptional<z.ZodInt>;
2649
+ within: z.ZodOptional<z.ZodObject<{
2650
+ role: z.ZodString;
2651
+ has: z.ZodString;
2652
+ }, z.core.$strict>>;
2653
+ by: z.ZodLiteral<"role">;
2654
+ role: z.ZodString;
2655
+ name: z.ZodOptional<z.ZodString>;
2656
+ }, z.core.$strict>, z.ZodObject<{
2657
+ css: z.ZodOptional<z.ZodString>;
2658
+ nth: z.ZodOptional<z.ZodInt>;
2659
+ within: z.ZodOptional<z.ZodObject<{
2660
+ role: z.ZodString;
2661
+ has: z.ZodString;
2662
+ }, z.core.$strict>>;
2663
+ by: z.ZodLiteral<"label">;
2664
+ label: z.ZodString;
2665
+ }, z.core.$strict>, z.ZodObject<{
2666
+ css: z.ZodOptional<z.ZodString>;
2667
+ nth: z.ZodOptional<z.ZodInt>;
2668
+ within: z.ZodOptional<z.ZodObject<{
2669
+ role: z.ZodString;
2670
+ has: z.ZodString;
2671
+ }, z.core.$strict>>;
2672
+ by: z.ZodLiteral<"text">;
2673
+ text: z.ZodString;
2674
+ }, z.core.$strict>], "by">;
2675
+ take: z.ZodOptional<z.ZodEnum<{
2676
+ value: "value";
2677
+ link: "link";
2678
+ text: "text";
2679
+ }>>;
2680
+ pattern: z.ZodOptional<z.ZodString>;
2681
+ }, z.core.$strict>>;
2682
+ }, z.core.$strict>, z.ZodObject<{
2683
+ type: z.ZodLiteral<"write">;
2684
+ from: z.ZodString;
2685
+ nodeId: z.ZodTemplateLiteral<`node_${string}`>;
2686
+ unique: z.ZodOptional<z.ZodString>;
2687
+ }, z.core.$strict>, z.ZodObject<{
2688
+ type: z.ZodLiteral<"repeat">;
2689
+ over: z.ZodUnion<readonly [z.ZodObject<{
2690
+ each: z.ZodDiscriminatedUnion<[z.ZodObject<{
2691
+ css: z.ZodOptional<z.ZodString>;
2692
+ nth: z.ZodOptional<z.ZodInt>;
2693
+ within: z.ZodOptional<z.ZodObject<{
2694
+ role: z.ZodString;
2695
+ has: z.ZodString;
2696
+ }, z.core.$strict>>;
2697
+ by: z.ZodLiteral<"role">;
2698
+ role: z.ZodString;
2699
+ name: z.ZodOptional<z.ZodString>;
2700
+ }, z.core.$strict>, z.ZodObject<{
2701
+ css: z.ZodOptional<z.ZodString>;
2702
+ nth: z.ZodOptional<z.ZodInt>;
2703
+ within: z.ZodOptional<z.ZodObject<{
2704
+ role: z.ZodString;
2705
+ has: z.ZodString;
2706
+ }, z.core.$strict>>;
2707
+ by: z.ZodLiteral<"label">;
2708
+ label: z.ZodString;
2709
+ }, z.core.$strict>, z.ZodObject<{
2710
+ css: z.ZodOptional<z.ZodString>;
2711
+ nth: z.ZodOptional<z.ZodInt>;
2712
+ within: z.ZodOptional<z.ZodObject<{
2713
+ role: z.ZodString;
2714
+ has: z.ZodString;
2715
+ }, z.core.$strict>>;
2716
+ by: z.ZodLiteral<"text">;
2717
+ text: z.ZodString;
2718
+ }, z.core.$strict>], "by">;
2719
+ }, z.core.$strict>, z.ZodObject<{
2720
+ while: z.ZodDiscriminatedUnion<[z.ZodObject<{
2721
+ css: z.ZodOptional<z.ZodString>;
2722
+ nth: z.ZodOptional<z.ZodInt>;
2723
+ within: z.ZodOptional<z.ZodObject<{
2724
+ role: z.ZodString;
2725
+ has: z.ZodString;
2726
+ }, z.core.$strict>>;
2727
+ by: z.ZodLiteral<"role">;
2728
+ role: z.ZodString;
2729
+ name: z.ZodOptional<z.ZodString>;
2730
+ }, z.core.$strict>, z.ZodObject<{
2731
+ css: z.ZodOptional<z.ZodString>;
2732
+ nth: z.ZodOptional<z.ZodInt>;
2733
+ within: z.ZodOptional<z.ZodObject<{
2734
+ role: z.ZodString;
2735
+ has: z.ZodString;
2736
+ }, z.core.$strict>>;
2737
+ by: z.ZodLiteral<"label">;
2738
+ label: z.ZodString;
2739
+ }, z.core.$strict>, z.ZodObject<{
2740
+ css: z.ZodOptional<z.ZodString>;
2741
+ nth: z.ZodOptional<z.ZodInt>;
2742
+ within: z.ZodOptional<z.ZodObject<{
2743
+ role: z.ZodString;
2744
+ has: z.ZodString;
2745
+ }, z.core.$strict>>;
2746
+ by: z.ZodLiteral<"text">;
2747
+ text: z.ZodString;
2748
+ }, z.core.$strict>], "by">;
2749
+ }, z.core.$strict>, z.ZodObject<{
2750
+ times: z.ZodInt;
2751
+ }, z.core.$strict>]>;
2752
+ max: z.ZodOptional<z.ZodInt>;
2753
+ }, z.core.$strict>], "type">, unknown>>;
2754
+ state: z.ZodEnum<{
2755
+ fixed: "fixed";
2756
+ open: "open";
2757
+ }>;
2758
+ reachedPath: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
+ }, z.core.$strip>>;
2760
+ }, z.core.$strip>;
2761
+ export type FlowVersionContent = z.infer<typeof FlowVersionContent>;