@opencrvs/toolkit 1.8.0-rc.ff2e7b6 → 1.8.0-rc.ffe8c17
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.
- package/dist/commons/api/router.d.ts +281 -35
- package/dist/commons/conditionals/validate.d.ts +27 -0
- package/dist/commons/conditionals/validate.test.d.ts +2 -0
- package/dist/commons/events/ActionConfig.d.ts +1699 -449
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/EventConfig.d.ts +1680 -136
- package/dist/commons/events/EventConfigInput.d.ts +2 -2
- package/dist/commons/events/FieldConfig.d.ts +175 -2
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +258 -4
- package/dist/commons/events/FieldValue.d.ts +81 -2
- package/dist/commons/events/FormConfig.d.ts +360 -23
- package/dist/commons/events/defineConfig.d.ts +280 -34
- package/dist/commons/events/utils.d.ts +160 -8
- package/dist/events/index.js +229 -76
- package/package.json +1 -1
|
@@ -51,27 +51,7 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
51
51
|
};
|
|
52
52
|
}>;
|
|
53
53
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
54
|
-
pages: z.ZodArray<z.
|
|
55
|
-
id: z.ZodString;
|
|
56
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
57
|
-
id: string;
|
|
58
|
-
description: string;
|
|
59
|
-
defaultMessage: string;
|
|
60
|
-
}>;
|
|
61
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
62
|
-
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
id: string;
|
|
64
|
-
title: TranslationConfig;
|
|
65
|
-
fields: import("./FieldConfig").Inferred[];
|
|
66
|
-
}, {
|
|
67
|
-
id: string;
|
|
68
|
-
title: {
|
|
69
|
-
id: string;
|
|
70
|
-
description: string;
|
|
71
|
-
defaultMessage: string;
|
|
72
|
-
};
|
|
73
|
-
fields: import("./FieldConfig").Inferred[];
|
|
74
|
-
}>, "many">;
|
|
54
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
75
55
|
review: z.ZodObject<{
|
|
76
56
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
77
57
|
id: string;
|
|
@@ -97,11 +77,29 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
97
77
|
label: TranslationConfig;
|
|
98
78
|
};
|
|
99
79
|
label: TranslationConfig;
|
|
100
|
-
pages: {
|
|
80
|
+
pages: ({
|
|
81
|
+
type: import("./FormConfig").PageType.FORM;
|
|
82
|
+
id: string;
|
|
83
|
+
title: TranslationConfig;
|
|
84
|
+
fields: import("./FieldConfig").Inferred[];
|
|
85
|
+
} | {
|
|
86
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
101
87
|
id: string;
|
|
102
88
|
title: TranslationConfig;
|
|
89
|
+
actions: {
|
|
90
|
+
verify: {
|
|
91
|
+
label: TranslationConfig;
|
|
92
|
+
};
|
|
93
|
+
cancel: {
|
|
94
|
+
label: TranslationConfig;
|
|
95
|
+
confirmation: {
|
|
96
|
+
title: TranslationConfig;
|
|
97
|
+
body: TranslationConfig;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
103
101
|
fields: import("./FieldConfig").Inferred[];
|
|
104
|
-
}[];
|
|
102
|
+
})[];
|
|
105
103
|
review: {
|
|
106
104
|
title: TranslationConfig;
|
|
107
105
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -120,15 +118,53 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
120
118
|
description: string;
|
|
121
119
|
defaultMessage: string;
|
|
122
120
|
};
|
|
123
|
-
pages: {
|
|
121
|
+
pages: ({
|
|
122
|
+
id: string;
|
|
123
|
+
title: {
|
|
124
|
+
id: string;
|
|
125
|
+
description: string;
|
|
126
|
+
defaultMessage: string;
|
|
127
|
+
};
|
|
128
|
+
fields: import("./FieldConfig").Inferred[];
|
|
129
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
130
|
+
} | {
|
|
131
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
124
132
|
id: string;
|
|
125
133
|
title: {
|
|
126
134
|
id: string;
|
|
127
135
|
description: string;
|
|
128
136
|
defaultMessage: string;
|
|
129
137
|
};
|
|
138
|
+
actions: {
|
|
139
|
+
verify: {
|
|
140
|
+
label: {
|
|
141
|
+
id: string;
|
|
142
|
+
description: string;
|
|
143
|
+
defaultMessage: string;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
cancel: {
|
|
147
|
+
label: {
|
|
148
|
+
id: string;
|
|
149
|
+
description: string;
|
|
150
|
+
defaultMessage: string;
|
|
151
|
+
};
|
|
152
|
+
confirmation: {
|
|
153
|
+
title: {
|
|
154
|
+
id: string;
|
|
155
|
+
description: string;
|
|
156
|
+
defaultMessage: string;
|
|
157
|
+
};
|
|
158
|
+
body: {
|
|
159
|
+
id: string;
|
|
160
|
+
description: string;
|
|
161
|
+
defaultMessage: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
130
166
|
fields: import("./FieldConfig").Inferred[];
|
|
131
|
-
}[];
|
|
167
|
+
})[];
|
|
132
168
|
review: {
|
|
133
169
|
title: {
|
|
134
170
|
id: string;
|
|
@@ -155,11 +191,29 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
155
191
|
label: TranslationConfig;
|
|
156
192
|
};
|
|
157
193
|
label: TranslationConfig;
|
|
158
|
-
pages: {
|
|
194
|
+
pages: ({
|
|
195
|
+
type: import("./FormConfig").PageType.FORM;
|
|
196
|
+
id: string;
|
|
197
|
+
title: TranslationConfig;
|
|
198
|
+
fields: import("./FieldConfig").Inferred[];
|
|
199
|
+
} | {
|
|
200
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
159
201
|
id: string;
|
|
160
202
|
title: TranslationConfig;
|
|
203
|
+
actions: {
|
|
204
|
+
verify: {
|
|
205
|
+
label: TranslationConfig;
|
|
206
|
+
};
|
|
207
|
+
cancel: {
|
|
208
|
+
label: TranslationConfig;
|
|
209
|
+
confirmation: {
|
|
210
|
+
title: TranslationConfig;
|
|
211
|
+
body: TranslationConfig;
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
161
215
|
fields: import("./FieldConfig").Inferred[];
|
|
162
|
-
}[];
|
|
216
|
+
})[];
|
|
163
217
|
review: {
|
|
164
218
|
title: TranslationConfig;
|
|
165
219
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -186,15 +240,53 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
|
186
240
|
description: string;
|
|
187
241
|
defaultMessage: string;
|
|
188
242
|
};
|
|
189
|
-
pages: {
|
|
243
|
+
pages: ({
|
|
244
|
+
id: string;
|
|
245
|
+
title: {
|
|
246
|
+
id: string;
|
|
247
|
+
description: string;
|
|
248
|
+
defaultMessage: string;
|
|
249
|
+
};
|
|
250
|
+
fields: import("./FieldConfig").Inferred[];
|
|
251
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
252
|
+
} | {
|
|
253
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
190
254
|
id: string;
|
|
191
255
|
title: {
|
|
192
256
|
id: string;
|
|
193
257
|
description: string;
|
|
194
258
|
defaultMessage: string;
|
|
195
259
|
};
|
|
260
|
+
actions: {
|
|
261
|
+
verify: {
|
|
262
|
+
label: {
|
|
263
|
+
id: string;
|
|
264
|
+
description: string;
|
|
265
|
+
defaultMessage: string;
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
cancel: {
|
|
269
|
+
label: {
|
|
270
|
+
id: string;
|
|
271
|
+
description: string;
|
|
272
|
+
defaultMessage: string;
|
|
273
|
+
};
|
|
274
|
+
confirmation: {
|
|
275
|
+
title: {
|
|
276
|
+
id: string;
|
|
277
|
+
description: string;
|
|
278
|
+
defaultMessage: string;
|
|
279
|
+
};
|
|
280
|
+
body: {
|
|
281
|
+
id: string;
|
|
282
|
+
description: string;
|
|
283
|
+
defaultMessage: string;
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
};
|
|
196
288
|
fields: import("./FieldConfig").Inferred[];
|
|
197
|
-
}[];
|
|
289
|
+
})[];
|
|
198
290
|
review: {
|
|
199
291
|
title: {
|
|
200
292
|
id: string;
|
|
@@ -265,27 +357,7 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
265
357
|
};
|
|
266
358
|
}>;
|
|
267
359
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
268
|
-
pages: z.ZodArray<z.
|
|
269
|
-
id: z.ZodString;
|
|
270
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
271
|
-
id: string;
|
|
272
|
-
description: string;
|
|
273
|
-
defaultMessage: string;
|
|
274
|
-
}>;
|
|
275
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
276
|
-
}, "strip", z.ZodTypeAny, {
|
|
277
|
-
id: string;
|
|
278
|
-
title: TranslationConfig;
|
|
279
|
-
fields: import("./FieldConfig").Inferred[];
|
|
280
|
-
}, {
|
|
281
|
-
id: string;
|
|
282
|
-
title: {
|
|
283
|
-
id: string;
|
|
284
|
-
description: string;
|
|
285
|
-
defaultMessage: string;
|
|
286
|
-
};
|
|
287
|
-
fields: import("./FieldConfig").Inferred[];
|
|
288
|
-
}>, "many">;
|
|
360
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
289
361
|
review: z.ZodObject<{
|
|
290
362
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
291
363
|
id: string;
|
|
@@ -311,11 +383,29 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
311
383
|
label: TranslationConfig;
|
|
312
384
|
};
|
|
313
385
|
label: TranslationConfig;
|
|
314
|
-
pages: {
|
|
386
|
+
pages: ({
|
|
387
|
+
type: import("./FormConfig").PageType.FORM;
|
|
388
|
+
id: string;
|
|
389
|
+
title: TranslationConfig;
|
|
390
|
+
fields: import("./FieldConfig").Inferred[];
|
|
391
|
+
} | {
|
|
392
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
315
393
|
id: string;
|
|
316
394
|
title: TranslationConfig;
|
|
395
|
+
actions: {
|
|
396
|
+
verify: {
|
|
397
|
+
label: TranslationConfig;
|
|
398
|
+
};
|
|
399
|
+
cancel: {
|
|
400
|
+
label: TranslationConfig;
|
|
401
|
+
confirmation: {
|
|
402
|
+
title: TranslationConfig;
|
|
403
|
+
body: TranslationConfig;
|
|
404
|
+
};
|
|
405
|
+
};
|
|
406
|
+
};
|
|
317
407
|
fields: import("./FieldConfig").Inferred[];
|
|
318
|
-
}[];
|
|
408
|
+
})[];
|
|
319
409
|
review: {
|
|
320
410
|
title: TranslationConfig;
|
|
321
411
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -334,15 +424,53 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
334
424
|
description: string;
|
|
335
425
|
defaultMessage: string;
|
|
336
426
|
};
|
|
337
|
-
pages: {
|
|
427
|
+
pages: ({
|
|
428
|
+
id: string;
|
|
429
|
+
title: {
|
|
430
|
+
id: string;
|
|
431
|
+
description: string;
|
|
432
|
+
defaultMessage: string;
|
|
433
|
+
};
|
|
434
|
+
fields: import("./FieldConfig").Inferred[];
|
|
435
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
436
|
+
} | {
|
|
437
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
338
438
|
id: string;
|
|
339
439
|
title: {
|
|
340
440
|
id: string;
|
|
341
441
|
description: string;
|
|
342
442
|
defaultMessage: string;
|
|
343
443
|
};
|
|
444
|
+
actions: {
|
|
445
|
+
verify: {
|
|
446
|
+
label: {
|
|
447
|
+
id: string;
|
|
448
|
+
description: string;
|
|
449
|
+
defaultMessage: string;
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
cancel: {
|
|
453
|
+
label: {
|
|
454
|
+
id: string;
|
|
455
|
+
description: string;
|
|
456
|
+
defaultMessage: string;
|
|
457
|
+
};
|
|
458
|
+
confirmation: {
|
|
459
|
+
title: {
|
|
460
|
+
id: string;
|
|
461
|
+
description: string;
|
|
462
|
+
defaultMessage: string;
|
|
463
|
+
};
|
|
464
|
+
body: {
|
|
465
|
+
id: string;
|
|
466
|
+
description: string;
|
|
467
|
+
defaultMessage: string;
|
|
468
|
+
};
|
|
469
|
+
};
|
|
470
|
+
};
|
|
471
|
+
};
|
|
344
472
|
fields: import("./FieldConfig").Inferred[];
|
|
345
|
-
}[];
|
|
473
|
+
})[];
|
|
346
474
|
review: {
|
|
347
475
|
title: {
|
|
348
476
|
id: string;
|
|
@@ -372,11 +500,29 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
372
500
|
label: TranslationConfig;
|
|
373
501
|
};
|
|
374
502
|
label: TranslationConfig;
|
|
375
|
-
pages: {
|
|
503
|
+
pages: ({
|
|
504
|
+
type: import("./FormConfig").PageType.FORM;
|
|
505
|
+
id: string;
|
|
506
|
+
title: TranslationConfig;
|
|
507
|
+
fields: import("./FieldConfig").Inferred[];
|
|
508
|
+
} | {
|
|
509
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
376
510
|
id: string;
|
|
377
511
|
title: TranslationConfig;
|
|
512
|
+
actions: {
|
|
513
|
+
verify: {
|
|
514
|
+
label: TranslationConfig;
|
|
515
|
+
};
|
|
516
|
+
cancel: {
|
|
517
|
+
label: TranslationConfig;
|
|
518
|
+
confirmation: {
|
|
519
|
+
title: TranslationConfig;
|
|
520
|
+
body: TranslationConfig;
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
};
|
|
378
524
|
fields: import("./FieldConfig").Inferred[];
|
|
379
|
-
}[];
|
|
525
|
+
})[];
|
|
380
526
|
review: {
|
|
381
527
|
title: TranslationConfig;
|
|
382
528
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -404,15 +550,53 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
404
550
|
description: string;
|
|
405
551
|
defaultMessage: string;
|
|
406
552
|
};
|
|
407
|
-
pages: {
|
|
553
|
+
pages: ({
|
|
554
|
+
id: string;
|
|
555
|
+
title: {
|
|
556
|
+
id: string;
|
|
557
|
+
description: string;
|
|
558
|
+
defaultMessage: string;
|
|
559
|
+
};
|
|
560
|
+
fields: import("./FieldConfig").Inferred[];
|
|
561
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
562
|
+
} | {
|
|
563
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
408
564
|
id: string;
|
|
409
565
|
title: {
|
|
410
566
|
id: string;
|
|
411
567
|
description: string;
|
|
412
568
|
defaultMessage: string;
|
|
413
569
|
};
|
|
570
|
+
actions: {
|
|
571
|
+
verify: {
|
|
572
|
+
label: {
|
|
573
|
+
id: string;
|
|
574
|
+
description: string;
|
|
575
|
+
defaultMessage: string;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
cancel: {
|
|
579
|
+
label: {
|
|
580
|
+
id: string;
|
|
581
|
+
description: string;
|
|
582
|
+
defaultMessage: string;
|
|
583
|
+
};
|
|
584
|
+
confirmation: {
|
|
585
|
+
title: {
|
|
586
|
+
id: string;
|
|
587
|
+
description: string;
|
|
588
|
+
defaultMessage: string;
|
|
589
|
+
};
|
|
590
|
+
body: {
|
|
591
|
+
id: string;
|
|
592
|
+
description: string;
|
|
593
|
+
defaultMessage: string;
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
};
|
|
597
|
+
};
|
|
414
598
|
fields: import("./FieldConfig").Inferred[];
|
|
415
|
-
}[];
|
|
599
|
+
})[];
|
|
416
600
|
review: {
|
|
417
601
|
title: {
|
|
418
602
|
id: string;
|
|
@@ -483,27 +667,7 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
483
667
|
};
|
|
484
668
|
}>;
|
|
485
669
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
486
|
-
pages: z.ZodArray<z.
|
|
487
|
-
id: z.ZodString;
|
|
488
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
489
|
-
id: string;
|
|
490
|
-
description: string;
|
|
491
|
-
defaultMessage: string;
|
|
492
|
-
}>;
|
|
493
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
494
|
-
}, "strip", z.ZodTypeAny, {
|
|
495
|
-
id: string;
|
|
496
|
-
title: TranslationConfig;
|
|
497
|
-
fields: import("./FieldConfig").Inferred[];
|
|
498
|
-
}, {
|
|
499
|
-
id: string;
|
|
500
|
-
title: {
|
|
501
|
-
id: string;
|
|
502
|
-
description: string;
|
|
503
|
-
defaultMessage: string;
|
|
504
|
-
};
|
|
505
|
-
fields: import("./FieldConfig").Inferred[];
|
|
506
|
-
}>, "many">;
|
|
670
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
507
671
|
review: z.ZodObject<{
|
|
508
672
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
509
673
|
id: string;
|
|
@@ -529,11 +693,29 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
529
693
|
label: TranslationConfig;
|
|
530
694
|
};
|
|
531
695
|
label: TranslationConfig;
|
|
532
|
-
pages: {
|
|
696
|
+
pages: ({
|
|
697
|
+
type: import("./FormConfig").PageType.FORM;
|
|
698
|
+
id: string;
|
|
699
|
+
title: TranslationConfig;
|
|
700
|
+
fields: import("./FieldConfig").Inferred[];
|
|
701
|
+
} | {
|
|
702
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
533
703
|
id: string;
|
|
534
704
|
title: TranslationConfig;
|
|
705
|
+
actions: {
|
|
706
|
+
verify: {
|
|
707
|
+
label: TranslationConfig;
|
|
708
|
+
};
|
|
709
|
+
cancel: {
|
|
710
|
+
label: TranslationConfig;
|
|
711
|
+
confirmation: {
|
|
712
|
+
title: TranslationConfig;
|
|
713
|
+
body: TranslationConfig;
|
|
714
|
+
};
|
|
715
|
+
};
|
|
716
|
+
};
|
|
535
717
|
fields: import("./FieldConfig").Inferred[];
|
|
536
|
-
}[];
|
|
718
|
+
})[];
|
|
537
719
|
review: {
|
|
538
720
|
title: TranslationConfig;
|
|
539
721
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -552,15 +734,53 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
552
734
|
description: string;
|
|
553
735
|
defaultMessage: string;
|
|
554
736
|
};
|
|
555
|
-
pages: {
|
|
737
|
+
pages: ({
|
|
738
|
+
id: string;
|
|
739
|
+
title: {
|
|
740
|
+
id: string;
|
|
741
|
+
description: string;
|
|
742
|
+
defaultMessage: string;
|
|
743
|
+
};
|
|
744
|
+
fields: import("./FieldConfig").Inferred[];
|
|
745
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
746
|
+
} | {
|
|
747
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
556
748
|
id: string;
|
|
557
749
|
title: {
|
|
558
750
|
id: string;
|
|
559
751
|
description: string;
|
|
560
752
|
defaultMessage: string;
|
|
561
753
|
};
|
|
754
|
+
actions: {
|
|
755
|
+
verify: {
|
|
756
|
+
label: {
|
|
757
|
+
id: string;
|
|
758
|
+
description: string;
|
|
759
|
+
defaultMessage: string;
|
|
760
|
+
};
|
|
761
|
+
};
|
|
762
|
+
cancel: {
|
|
763
|
+
label: {
|
|
764
|
+
id: string;
|
|
765
|
+
description: string;
|
|
766
|
+
defaultMessage: string;
|
|
767
|
+
};
|
|
768
|
+
confirmation: {
|
|
769
|
+
title: {
|
|
770
|
+
id: string;
|
|
771
|
+
description: string;
|
|
772
|
+
defaultMessage: string;
|
|
773
|
+
};
|
|
774
|
+
body: {
|
|
775
|
+
id: string;
|
|
776
|
+
description: string;
|
|
777
|
+
defaultMessage: string;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
};
|
|
562
782
|
fields: import("./FieldConfig").Inferred[];
|
|
563
|
-
}[];
|
|
783
|
+
})[];
|
|
564
784
|
review: {
|
|
565
785
|
title: {
|
|
566
786
|
id: string;
|
|
@@ -590,11 +810,29 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
590
810
|
label: TranslationConfig;
|
|
591
811
|
};
|
|
592
812
|
label: TranslationConfig;
|
|
593
|
-
pages: {
|
|
813
|
+
pages: ({
|
|
814
|
+
type: import("./FormConfig").PageType.FORM;
|
|
815
|
+
id: string;
|
|
816
|
+
title: TranslationConfig;
|
|
817
|
+
fields: import("./FieldConfig").Inferred[];
|
|
818
|
+
} | {
|
|
819
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
594
820
|
id: string;
|
|
595
821
|
title: TranslationConfig;
|
|
822
|
+
actions: {
|
|
823
|
+
verify: {
|
|
824
|
+
label: TranslationConfig;
|
|
825
|
+
};
|
|
826
|
+
cancel: {
|
|
827
|
+
label: TranslationConfig;
|
|
828
|
+
confirmation: {
|
|
829
|
+
title: TranslationConfig;
|
|
830
|
+
body: TranslationConfig;
|
|
831
|
+
};
|
|
832
|
+
};
|
|
833
|
+
};
|
|
596
834
|
fields: import("./FieldConfig").Inferred[];
|
|
597
|
-
}[];
|
|
835
|
+
})[];
|
|
598
836
|
review: {
|
|
599
837
|
title: TranslationConfig;
|
|
600
838
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -622,15 +860,53 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
622
860
|
description: string;
|
|
623
861
|
defaultMessage: string;
|
|
624
862
|
};
|
|
625
|
-
pages: {
|
|
863
|
+
pages: ({
|
|
864
|
+
id: string;
|
|
865
|
+
title: {
|
|
866
|
+
id: string;
|
|
867
|
+
description: string;
|
|
868
|
+
defaultMessage: string;
|
|
869
|
+
};
|
|
870
|
+
fields: import("./FieldConfig").Inferred[];
|
|
871
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
872
|
+
} | {
|
|
873
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
626
874
|
id: string;
|
|
627
875
|
title: {
|
|
628
876
|
id: string;
|
|
629
877
|
description: string;
|
|
630
878
|
defaultMessage: string;
|
|
631
879
|
};
|
|
880
|
+
actions: {
|
|
881
|
+
verify: {
|
|
882
|
+
label: {
|
|
883
|
+
id: string;
|
|
884
|
+
description: string;
|
|
885
|
+
defaultMessage: string;
|
|
886
|
+
};
|
|
887
|
+
};
|
|
888
|
+
cancel: {
|
|
889
|
+
label: {
|
|
890
|
+
id: string;
|
|
891
|
+
description: string;
|
|
892
|
+
defaultMessage: string;
|
|
893
|
+
};
|
|
894
|
+
confirmation: {
|
|
895
|
+
title: {
|
|
896
|
+
id: string;
|
|
897
|
+
description: string;
|
|
898
|
+
defaultMessage: string;
|
|
899
|
+
};
|
|
900
|
+
body: {
|
|
901
|
+
id: string;
|
|
902
|
+
description: string;
|
|
903
|
+
defaultMessage: string;
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
};
|
|
632
908
|
fields: import("./FieldConfig").Inferred[];
|
|
633
|
-
}[];
|
|
909
|
+
})[];
|
|
634
910
|
review: {
|
|
635
911
|
title: {
|
|
636
912
|
id: string;
|
|
@@ -701,27 +977,7 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
701
977
|
};
|
|
702
978
|
}>;
|
|
703
979
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
704
|
-
pages: z.ZodArray<z.
|
|
705
|
-
id: z.ZodString;
|
|
706
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
707
|
-
id: string;
|
|
708
|
-
description: string;
|
|
709
|
-
defaultMessage: string;
|
|
710
|
-
}>;
|
|
711
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
712
|
-
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
id: string;
|
|
714
|
-
title: TranslationConfig;
|
|
715
|
-
fields: import("./FieldConfig").Inferred[];
|
|
716
|
-
}, {
|
|
717
|
-
id: string;
|
|
718
|
-
title: {
|
|
719
|
-
id: string;
|
|
720
|
-
description: string;
|
|
721
|
-
defaultMessage: string;
|
|
722
|
-
};
|
|
723
|
-
fields: import("./FieldConfig").Inferred[];
|
|
724
|
-
}>, "many">;
|
|
980
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
725
981
|
review: z.ZodObject<{
|
|
726
982
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
727
983
|
id: string;
|
|
@@ -747,11 +1003,29 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
747
1003
|
label: TranslationConfig;
|
|
748
1004
|
};
|
|
749
1005
|
label: TranslationConfig;
|
|
750
|
-
pages: {
|
|
1006
|
+
pages: ({
|
|
1007
|
+
type: import("./FormConfig").PageType.FORM;
|
|
751
1008
|
id: string;
|
|
752
1009
|
title: TranslationConfig;
|
|
753
1010
|
fields: import("./FieldConfig").Inferred[];
|
|
754
|
-
}
|
|
1011
|
+
} | {
|
|
1012
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1013
|
+
id: string;
|
|
1014
|
+
title: TranslationConfig;
|
|
1015
|
+
actions: {
|
|
1016
|
+
verify: {
|
|
1017
|
+
label: TranslationConfig;
|
|
1018
|
+
};
|
|
1019
|
+
cancel: {
|
|
1020
|
+
label: TranslationConfig;
|
|
1021
|
+
confirmation: {
|
|
1022
|
+
title: TranslationConfig;
|
|
1023
|
+
body: TranslationConfig;
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1028
|
+
})[];
|
|
755
1029
|
review: {
|
|
756
1030
|
title: TranslationConfig;
|
|
757
1031
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -770,7 +1044,7 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
770
1044
|
description: string;
|
|
771
1045
|
defaultMessage: string;
|
|
772
1046
|
};
|
|
773
|
-
pages: {
|
|
1047
|
+
pages: ({
|
|
774
1048
|
id: string;
|
|
775
1049
|
title: {
|
|
776
1050
|
id: string;
|
|
@@ -778,7 +1052,45 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
778
1052
|
defaultMessage: string;
|
|
779
1053
|
};
|
|
780
1054
|
fields: import("./FieldConfig").Inferred[];
|
|
781
|
-
|
|
1055
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1056
|
+
} | {
|
|
1057
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1058
|
+
id: string;
|
|
1059
|
+
title: {
|
|
1060
|
+
id: string;
|
|
1061
|
+
description: string;
|
|
1062
|
+
defaultMessage: string;
|
|
1063
|
+
};
|
|
1064
|
+
actions: {
|
|
1065
|
+
verify: {
|
|
1066
|
+
label: {
|
|
1067
|
+
id: string;
|
|
1068
|
+
description: string;
|
|
1069
|
+
defaultMessage: string;
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
cancel: {
|
|
1073
|
+
label: {
|
|
1074
|
+
id: string;
|
|
1075
|
+
description: string;
|
|
1076
|
+
defaultMessage: string;
|
|
1077
|
+
};
|
|
1078
|
+
confirmation: {
|
|
1079
|
+
title: {
|
|
1080
|
+
id: string;
|
|
1081
|
+
description: string;
|
|
1082
|
+
defaultMessage: string;
|
|
1083
|
+
};
|
|
1084
|
+
body: {
|
|
1085
|
+
id: string;
|
|
1086
|
+
description: string;
|
|
1087
|
+
defaultMessage: string;
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1093
|
+
})[];
|
|
782
1094
|
review: {
|
|
783
1095
|
title: {
|
|
784
1096
|
id: string;
|
|
@@ -791,11 +1103,8 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
791
1103
|
}>, "many">;
|
|
792
1104
|
}, {
|
|
793
1105
|
type: z.ZodLiteral<"REJECT">;
|
|
794
|
-
comment: z.ZodString;
|
|
795
|
-
isDuplicate: z.ZodBoolean;
|
|
796
1106
|
}>, "strip", z.ZodTypeAny, {
|
|
797
1107
|
type: "REJECT";
|
|
798
|
-
comment: string;
|
|
799
1108
|
conditionals: ({
|
|
800
1109
|
type: "SHOW";
|
|
801
1110
|
conditional: import(".").JSONSchema;
|
|
@@ -811,21 +1120,37 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
811
1120
|
label: TranslationConfig;
|
|
812
1121
|
};
|
|
813
1122
|
label: TranslationConfig;
|
|
814
|
-
pages: {
|
|
1123
|
+
pages: ({
|
|
1124
|
+
type: import("./FormConfig").PageType.FORM;
|
|
815
1125
|
id: string;
|
|
816
1126
|
title: TranslationConfig;
|
|
817
1127
|
fields: import("./FieldConfig").Inferred[];
|
|
818
|
-
}
|
|
1128
|
+
} | {
|
|
1129
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1130
|
+
id: string;
|
|
1131
|
+
title: TranslationConfig;
|
|
1132
|
+
actions: {
|
|
1133
|
+
verify: {
|
|
1134
|
+
label: TranslationConfig;
|
|
1135
|
+
};
|
|
1136
|
+
cancel: {
|
|
1137
|
+
label: TranslationConfig;
|
|
1138
|
+
confirmation: {
|
|
1139
|
+
title: TranslationConfig;
|
|
1140
|
+
body: TranslationConfig;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1145
|
+
})[];
|
|
819
1146
|
review: {
|
|
820
1147
|
title: TranslationConfig;
|
|
821
1148
|
fields: import("./FieldConfig").Inferred[];
|
|
822
1149
|
};
|
|
823
1150
|
}[];
|
|
824
|
-
isDuplicate: boolean;
|
|
825
1151
|
draft?: boolean | undefined;
|
|
826
1152
|
}, {
|
|
827
1153
|
type: "REJECT";
|
|
828
|
-
comment: string;
|
|
829
1154
|
label: {
|
|
830
1155
|
id: string;
|
|
831
1156
|
description: string;
|
|
@@ -845,15 +1170,53 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
845
1170
|
description: string;
|
|
846
1171
|
defaultMessage: string;
|
|
847
1172
|
};
|
|
848
|
-
pages: {
|
|
1173
|
+
pages: ({
|
|
1174
|
+
id: string;
|
|
1175
|
+
title: {
|
|
1176
|
+
id: string;
|
|
1177
|
+
description: string;
|
|
1178
|
+
defaultMessage: string;
|
|
1179
|
+
};
|
|
1180
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1181
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1182
|
+
} | {
|
|
1183
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
849
1184
|
id: string;
|
|
850
1185
|
title: {
|
|
851
1186
|
id: string;
|
|
852
1187
|
description: string;
|
|
853
1188
|
defaultMessage: string;
|
|
854
1189
|
};
|
|
1190
|
+
actions: {
|
|
1191
|
+
verify: {
|
|
1192
|
+
label: {
|
|
1193
|
+
id: string;
|
|
1194
|
+
description: string;
|
|
1195
|
+
defaultMessage: string;
|
|
1196
|
+
};
|
|
1197
|
+
};
|
|
1198
|
+
cancel: {
|
|
1199
|
+
label: {
|
|
1200
|
+
id: string;
|
|
1201
|
+
description: string;
|
|
1202
|
+
defaultMessage: string;
|
|
1203
|
+
};
|
|
1204
|
+
confirmation: {
|
|
1205
|
+
title: {
|
|
1206
|
+
id: string;
|
|
1207
|
+
description: string;
|
|
1208
|
+
defaultMessage: string;
|
|
1209
|
+
};
|
|
1210
|
+
body: {
|
|
1211
|
+
id: string;
|
|
1212
|
+
description: string;
|
|
1213
|
+
defaultMessage: string;
|
|
1214
|
+
};
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
855
1218
|
fields: import("./FieldConfig").Inferred[];
|
|
856
|
-
}[];
|
|
1219
|
+
})[];
|
|
857
1220
|
review: {
|
|
858
1221
|
title: {
|
|
859
1222
|
id: string;
|
|
@@ -864,7 +1227,6 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
864
1227
|
};
|
|
865
1228
|
active?: boolean | undefined;
|
|
866
1229
|
}[];
|
|
867
|
-
isDuplicate: boolean;
|
|
868
1230
|
draft?: boolean | undefined;
|
|
869
1231
|
conditionals?: ({
|
|
870
1232
|
type: "SHOW";
|
|
@@ -925,27 +1287,7 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
925
1287
|
};
|
|
926
1288
|
}>;
|
|
927
1289
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
928
|
-
pages: z.ZodArray<z.
|
|
929
|
-
id: z.ZodString;
|
|
930
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
931
|
-
id: string;
|
|
932
|
-
description: string;
|
|
933
|
-
defaultMessage: string;
|
|
934
|
-
}>;
|
|
935
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
936
|
-
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
id: string;
|
|
938
|
-
title: TranslationConfig;
|
|
939
|
-
fields: import("./FieldConfig").Inferred[];
|
|
940
|
-
}, {
|
|
941
|
-
id: string;
|
|
942
|
-
title: {
|
|
943
|
-
id: string;
|
|
944
|
-
description: string;
|
|
945
|
-
defaultMessage: string;
|
|
946
|
-
};
|
|
947
|
-
fields: import("./FieldConfig").Inferred[];
|
|
948
|
-
}>, "many">;
|
|
1290
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
949
1291
|
review: z.ZodObject<{
|
|
950
1292
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
951
1293
|
id: string;
|
|
@@ -971,11 +1313,29 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
971
1313
|
label: TranslationConfig;
|
|
972
1314
|
};
|
|
973
1315
|
label: TranslationConfig;
|
|
974
|
-
pages: {
|
|
1316
|
+
pages: ({
|
|
1317
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1318
|
+
id: string;
|
|
1319
|
+
title: TranslationConfig;
|
|
1320
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1321
|
+
} | {
|
|
1322
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
975
1323
|
id: string;
|
|
976
1324
|
title: TranslationConfig;
|
|
1325
|
+
actions: {
|
|
1326
|
+
verify: {
|
|
1327
|
+
label: TranslationConfig;
|
|
1328
|
+
};
|
|
1329
|
+
cancel: {
|
|
1330
|
+
label: TranslationConfig;
|
|
1331
|
+
confirmation: {
|
|
1332
|
+
title: TranslationConfig;
|
|
1333
|
+
body: TranslationConfig;
|
|
1334
|
+
};
|
|
1335
|
+
};
|
|
1336
|
+
};
|
|
977
1337
|
fields: import("./FieldConfig").Inferred[];
|
|
978
|
-
}[];
|
|
1338
|
+
})[];
|
|
979
1339
|
review: {
|
|
980
1340
|
title: TranslationConfig;
|
|
981
1341
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -994,15 +1354,53 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
994
1354
|
description: string;
|
|
995
1355
|
defaultMessage: string;
|
|
996
1356
|
};
|
|
997
|
-
pages: {
|
|
1357
|
+
pages: ({
|
|
1358
|
+
id: string;
|
|
1359
|
+
title: {
|
|
1360
|
+
id: string;
|
|
1361
|
+
description: string;
|
|
1362
|
+
defaultMessage: string;
|
|
1363
|
+
};
|
|
1364
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1365
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1366
|
+
} | {
|
|
1367
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
998
1368
|
id: string;
|
|
999
1369
|
title: {
|
|
1000
1370
|
id: string;
|
|
1001
1371
|
description: string;
|
|
1002
1372
|
defaultMessage: string;
|
|
1003
1373
|
};
|
|
1374
|
+
actions: {
|
|
1375
|
+
verify: {
|
|
1376
|
+
label: {
|
|
1377
|
+
id: string;
|
|
1378
|
+
description: string;
|
|
1379
|
+
defaultMessage: string;
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
cancel: {
|
|
1383
|
+
label: {
|
|
1384
|
+
id: string;
|
|
1385
|
+
description: string;
|
|
1386
|
+
defaultMessage: string;
|
|
1387
|
+
};
|
|
1388
|
+
confirmation: {
|
|
1389
|
+
title: {
|
|
1390
|
+
id: string;
|
|
1391
|
+
description: string;
|
|
1392
|
+
defaultMessage: string;
|
|
1393
|
+
};
|
|
1394
|
+
body: {
|
|
1395
|
+
id: string;
|
|
1396
|
+
description: string;
|
|
1397
|
+
defaultMessage: string;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
};
|
|
1401
|
+
};
|
|
1004
1402
|
fields: import("./FieldConfig").Inferred[];
|
|
1005
|
-
}[];
|
|
1403
|
+
})[];
|
|
1006
1404
|
review: {
|
|
1007
1405
|
title: {
|
|
1008
1406
|
id: string;
|
|
@@ -1015,11 +1413,8 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1015
1413
|
}>, "many">;
|
|
1016
1414
|
}, {
|
|
1017
1415
|
type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
|
|
1018
|
-
comment: z.ZodString;
|
|
1019
|
-
duplicates: z.ZodArray<z.ZodString, "many">;
|
|
1020
1416
|
}>, "strip", z.ZodTypeAny, {
|
|
1021
1417
|
type: "MARKED_AS_DUPLICATE";
|
|
1022
|
-
comment: string;
|
|
1023
1418
|
conditionals: ({
|
|
1024
1419
|
type: "SHOW";
|
|
1025
1420
|
conditional: import(".").JSONSchema;
|
|
@@ -1035,21 +1430,37 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1035
1430
|
label: TranslationConfig;
|
|
1036
1431
|
};
|
|
1037
1432
|
label: TranslationConfig;
|
|
1038
|
-
pages: {
|
|
1433
|
+
pages: ({
|
|
1434
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1435
|
+
id: string;
|
|
1436
|
+
title: TranslationConfig;
|
|
1437
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1438
|
+
} | {
|
|
1439
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1039
1440
|
id: string;
|
|
1040
1441
|
title: TranslationConfig;
|
|
1442
|
+
actions: {
|
|
1443
|
+
verify: {
|
|
1444
|
+
label: TranslationConfig;
|
|
1445
|
+
};
|
|
1446
|
+
cancel: {
|
|
1447
|
+
label: TranslationConfig;
|
|
1448
|
+
confirmation: {
|
|
1449
|
+
title: TranslationConfig;
|
|
1450
|
+
body: TranslationConfig;
|
|
1451
|
+
};
|
|
1452
|
+
};
|
|
1453
|
+
};
|
|
1041
1454
|
fields: import("./FieldConfig").Inferred[];
|
|
1042
|
-
}[];
|
|
1455
|
+
})[];
|
|
1043
1456
|
review: {
|
|
1044
1457
|
title: TranslationConfig;
|
|
1045
1458
|
fields: import("./FieldConfig").Inferred[];
|
|
1046
1459
|
};
|
|
1047
1460
|
}[];
|
|
1048
|
-
duplicates: string[];
|
|
1049
1461
|
draft?: boolean | undefined;
|
|
1050
1462
|
}, {
|
|
1051
1463
|
type: "MARKED_AS_DUPLICATE";
|
|
1052
|
-
comment: string;
|
|
1053
1464
|
label: {
|
|
1054
1465
|
id: string;
|
|
1055
1466
|
description: string;
|
|
@@ -1069,15 +1480,53 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1069
1480
|
description: string;
|
|
1070
1481
|
defaultMessage: string;
|
|
1071
1482
|
};
|
|
1072
|
-
pages: {
|
|
1483
|
+
pages: ({
|
|
1484
|
+
id: string;
|
|
1485
|
+
title: {
|
|
1486
|
+
id: string;
|
|
1487
|
+
description: string;
|
|
1488
|
+
defaultMessage: string;
|
|
1489
|
+
};
|
|
1490
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1491
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1492
|
+
} | {
|
|
1493
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1073
1494
|
id: string;
|
|
1074
1495
|
title: {
|
|
1075
1496
|
id: string;
|
|
1076
1497
|
description: string;
|
|
1077
1498
|
defaultMessage: string;
|
|
1078
1499
|
};
|
|
1500
|
+
actions: {
|
|
1501
|
+
verify: {
|
|
1502
|
+
label: {
|
|
1503
|
+
id: string;
|
|
1504
|
+
description: string;
|
|
1505
|
+
defaultMessage: string;
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
cancel: {
|
|
1509
|
+
label: {
|
|
1510
|
+
id: string;
|
|
1511
|
+
description: string;
|
|
1512
|
+
defaultMessage: string;
|
|
1513
|
+
};
|
|
1514
|
+
confirmation: {
|
|
1515
|
+
title: {
|
|
1516
|
+
id: string;
|
|
1517
|
+
description: string;
|
|
1518
|
+
defaultMessage: string;
|
|
1519
|
+
};
|
|
1520
|
+
body: {
|
|
1521
|
+
id: string;
|
|
1522
|
+
description: string;
|
|
1523
|
+
defaultMessage: string;
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
};
|
|
1079
1528
|
fields: import("./FieldConfig").Inferred[];
|
|
1080
|
-
}[];
|
|
1529
|
+
})[];
|
|
1081
1530
|
review: {
|
|
1082
1531
|
title: {
|
|
1083
1532
|
id: string;
|
|
@@ -1088,7 +1537,6 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1088
1537
|
};
|
|
1089
1538
|
active?: boolean | undefined;
|
|
1090
1539
|
}[];
|
|
1091
|
-
duplicates: string[];
|
|
1092
1540
|
draft?: boolean | undefined;
|
|
1093
1541
|
conditionals?: ({
|
|
1094
1542
|
type: "SHOW";
|
|
@@ -1149,27 +1597,7 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1149
1597
|
};
|
|
1150
1598
|
}>;
|
|
1151
1599
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
1152
|
-
pages: z.ZodArray<z.
|
|
1153
|
-
id: z.ZodString;
|
|
1154
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1155
|
-
id: string;
|
|
1156
|
-
description: string;
|
|
1157
|
-
defaultMessage: string;
|
|
1158
|
-
}>;
|
|
1159
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
1160
|
-
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
id: string;
|
|
1162
|
-
title: TranslationConfig;
|
|
1163
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1164
|
-
}, {
|
|
1165
|
-
id: string;
|
|
1166
|
-
title: {
|
|
1167
|
-
id: string;
|
|
1168
|
-
description: string;
|
|
1169
|
-
defaultMessage: string;
|
|
1170
|
-
};
|
|
1171
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1172
|
-
}>, "many">;
|
|
1600
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
1173
1601
|
review: z.ZodObject<{
|
|
1174
1602
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1175
1603
|
id: string;
|
|
@@ -1195,11 +1623,29 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1195
1623
|
label: TranslationConfig;
|
|
1196
1624
|
};
|
|
1197
1625
|
label: TranslationConfig;
|
|
1198
|
-
pages: {
|
|
1626
|
+
pages: ({
|
|
1627
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1628
|
+
id: string;
|
|
1629
|
+
title: TranslationConfig;
|
|
1630
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1631
|
+
} | {
|
|
1632
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1199
1633
|
id: string;
|
|
1200
1634
|
title: TranslationConfig;
|
|
1635
|
+
actions: {
|
|
1636
|
+
verify: {
|
|
1637
|
+
label: TranslationConfig;
|
|
1638
|
+
};
|
|
1639
|
+
cancel: {
|
|
1640
|
+
label: TranslationConfig;
|
|
1641
|
+
confirmation: {
|
|
1642
|
+
title: TranslationConfig;
|
|
1643
|
+
body: TranslationConfig;
|
|
1644
|
+
};
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1201
1647
|
fields: import("./FieldConfig").Inferred[];
|
|
1202
|
-
}[];
|
|
1648
|
+
})[];
|
|
1203
1649
|
review: {
|
|
1204
1650
|
title: TranslationConfig;
|
|
1205
1651
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1218,15 +1664,53 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1218
1664
|
description: string;
|
|
1219
1665
|
defaultMessage: string;
|
|
1220
1666
|
};
|
|
1221
|
-
pages: {
|
|
1667
|
+
pages: ({
|
|
1668
|
+
id: string;
|
|
1669
|
+
title: {
|
|
1670
|
+
id: string;
|
|
1671
|
+
description: string;
|
|
1672
|
+
defaultMessage: string;
|
|
1673
|
+
};
|
|
1674
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1675
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1676
|
+
} | {
|
|
1677
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1222
1678
|
id: string;
|
|
1223
1679
|
title: {
|
|
1224
1680
|
id: string;
|
|
1225
1681
|
description: string;
|
|
1226
1682
|
defaultMessage: string;
|
|
1227
1683
|
};
|
|
1684
|
+
actions: {
|
|
1685
|
+
verify: {
|
|
1686
|
+
label: {
|
|
1687
|
+
id: string;
|
|
1688
|
+
description: string;
|
|
1689
|
+
defaultMessage: string;
|
|
1690
|
+
};
|
|
1691
|
+
};
|
|
1692
|
+
cancel: {
|
|
1693
|
+
label: {
|
|
1694
|
+
id: string;
|
|
1695
|
+
description: string;
|
|
1696
|
+
defaultMessage: string;
|
|
1697
|
+
};
|
|
1698
|
+
confirmation: {
|
|
1699
|
+
title: {
|
|
1700
|
+
id: string;
|
|
1701
|
+
description: string;
|
|
1702
|
+
defaultMessage: string;
|
|
1703
|
+
};
|
|
1704
|
+
body: {
|
|
1705
|
+
id: string;
|
|
1706
|
+
description: string;
|
|
1707
|
+
defaultMessage: string;
|
|
1708
|
+
};
|
|
1709
|
+
};
|
|
1710
|
+
};
|
|
1711
|
+
};
|
|
1228
1712
|
fields: import("./FieldConfig").Inferred[];
|
|
1229
|
-
}[];
|
|
1713
|
+
})[];
|
|
1230
1714
|
review: {
|
|
1231
1715
|
title: {
|
|
1232
1716
|
id: string;
|
|
@@ -1239,11 +1723,8 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1239
1723
|
}>, "many">;
|
|
1240
1724
|
}, {
|
|
1241
1725
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
1242
|
-
comment: z.ZodString;
|
|
1243
|
-
isDuplicate: z.ZodBoolean;
|
|
1244
1726
|
}>, "strip", z.ZodTypeAny, {
|
|
1245
1727
|
type: "ARCHIVE";
|
|
1246
|
-
comment: string;
|
|
1247
1728
|
conditionals: ({
|
|
1248
1729
|
type: "SHOW";
|
|
1249
1730
|
conditional: import(".").JSONSchema;
|
|
@@ -1259,21 +1740,37 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1259
1740
|
label: TranslationConfig;
|
|
1260
1741
|
};
|
|
1261
1742
|
label: TranslationConfig;
|
|
1262
|
-
pages: {
|
|
1743
|
+
pages: ({
|
|
1744
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1745
|
+
id: string;
|
|
1746
|
+
title: TranslationConfig;
|
|
1747
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1748
|
+
} | {
|
|
1749
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1263
1750
|
id: string;
|
|
1264
1751
|
title: TranslationConfig;
|
|
1752
|
+
actions: {
|
|
1753
|
+
verify: {
|
|
1754
|
+
label: TranslationConfig;
|
|
1755
|
+
};
|
|
1756
|
+
cancel: {
|
|
1757
|
+
label: TranslationConfig;
|
|
1758
|
+
confirmation: {
|
|
1759
|
+
title: TranslationConfig;
|
|
1760
|
+
body: TranslationConfig;
|
|
1761
|
+
};
|
|
1762
|
+
};
|
|
1763
|
+
};
|
|
1265
1764
|
fields: import("./FieldConfig").Inferred[];
|
|
1266
|
-
}[];
|
|
1765
|
+
})[];
|
|
1267
1766
|
review: {
|
|
1268
1767
|
title: TranslationConfig;
|
|
1269
1768
|
fields: import("./FieldConfig").Inferred[];
|
|
1270
1769
|
};
|
|
1271
1770
|
}[];
|
|
1272
|
-
isDuplicate: boolean;
|
|
1273
1771
|
draft?: boolean | undefined;
|
|
1274
1772
|
}, {
|
|
1275
1773
|
type: "ARCHIVE";
|
|
1276
|
-
comment: string;
|
|
1277
1774
|
label: {
|
|
1278
1775
|
id: string;
|
|
1279
1776
|
description: string;
|
|
@@ -1293,7 +1790,7 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1293
1790
|
description: string;
|
|
1294
1791
|
defaultMessage: string;
|
|
1295
1792
|
};
|
|
1296
|
-
pages: {
|
|
1793
|
+
pages: ({
|
|
1297
1794
|
id: string;
|
|
1298
1795
|
title: {
|
|
1299
1796
|
id: string;
|
|
@@ -1301,18 +1798,55 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1301
1798
|
defaultMessage: string;
|
|
1302
1799
|
};
|
|
1303
1800
|
fields: import("./FieldConfig").Inferred[];
|
|
1304
|
-
|
|
1305
|
-
|
|
1801
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1802
|
+
} | {
|
|
1803
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1804
|
+
id: string;
|
|
1306
1805
|
title: {
|
|
1307
1806
|
id: string;
|
|
1308
1807
|
description: string;
|
|
1309
1808
|
defaultMessage: string;
|
|
1310
1809
|
};
|
|
1810
|
+
actions: {
|
|
1811
|
+
verify: {
|
|
1812
|
+
label: {
|
|
1813
|
+
id: string;
|
|
1814
|
+
description: string;
|
|
1815
|
+
defaultMessage: string;
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1818
|
+
cancel: {
|
|
1819
|
+
label: {
|
|
1820
|
+
id: string;
|
|
1821
|
+
description: string;
|
|
1822
|
+
defaultMessage: string;
|
|
1823
|
+
};
|
|
1824
|
+
confirmation: {
|
|
1825
|
+
title: {
|
|
1826
|
+
id: string;
|
|
1827
|
+
description: string;
|
|
1828
|
+
defaultMessage: string;
|
|
1829
|
+
};
|
|
1830
|
+
body: {
|
|
1831
|
+
id: string;
|
|
1832
|
+
description: string;
|
|
1833
|
+
defaultMessage: string;
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
};
|
|
1837
|
+
};
|
|
1311
1838
|
fields: import("./FieldConfig").Inferred[];
|
|
1312
|
-
};
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1839
|
+
})[];
|
|
1840
|
+
review: {
|
|
1841
|
+
title: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
description: string;
|
|
1844
|
+
defaultMessage: string;
|
|
1845
|
+
};
|
|
1846
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1847
|
+
};
|
|
1848
|
+
active?: boolean | undefined;
|
|
1849
|
+
}[];
|
|
1316
1850
|
draft?: boolean | undefined;
|
|
1317
1851
|
conditionals?: ({
|
|
1318
1852
|
type: "SHOW";
|
|
@@ -1373,27 +1907,7 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1373
1907
|
};
|
|
1374
1908
|
}>;
|
|
1375
1909
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
1376
|
-
pages: z.ZodArray<z.
|
|
1377
|
-
id: z.ZodString;
|
|
1378
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1379
|
-
id: string;
|
|
1380
|
-
description: string;
|
|
1381
|
-
defaultMessage: string;
|
|
1382
|
-
}>;
|
|
1383
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
1384
|
-
}, "strip", z.ZodTypeAny, {
|
|
1385
|
-
id: string;
|
|
1386
|
-
title: TranslationConfig;
|
|
1387
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1388
|
-
}, {
|
|
1389
|
-
id: string;
|
|
1390
|
-
title: {
|
|
1391
|
-
id: string;
|
|
1392
|
-
description: string;
|
|
1393
|
-
defaultMessage: string;
|
|
1394
|
-
};
|
|
1395
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1396
|
-
}>, "many">;
|
|
1910
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
1397
1911
|
review: z.ZodObject<{
|
|
1398
1912
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1399
1913
|
id: string;
|
|
@@ -1419,11 +1933,29 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1419
1933
|
label: TranslationConfig;
|
|
1420
1934
|
};
|
|
1421
1935
|
label: TranslationConfig;
|
|
1422
|
-
pages: {
|
|
1936
|
+
pages: ({
|
|
1937
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1938
|
+
id: string;
|
|
1939
|
+
title: TranslationConfig;
|
|
1940
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1941
|
+
} | {
|
|
1942
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1423
1943
|
id: string;
|
|
1424
1944
|
title: TranslationConfig;
|
|
1945
|
+
actions: {
|
|
1946
|
+
verify: {
|
|
1947
|
+
label: TranslationConfig;
|
|
1948
|
+
};
|
|
1949
|
+
cancel: {
|
|
1950
|
+
label: TranslationConfig;
|
|
1951
|
+
confirmation: {
|
|
1952
|
+
title: TranslationConfig;
|
|
1953
|
+
body: TranslationConfig;
|
|
1954
|
+
};
|
|
1955
|
+
};
|
|
1956
|
+
};
|
|
1425
1957
|
fields: import("./FieldConfig").Inferred[];
|
|
1426
|
-
}[];
|
|
1958
|
+
})[];
|
|
1427
1959
|
review: {
|
|
1428
1960
|
title: TranslationConfig;
|
|
1429
1961
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1442,15 +1974,53 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1442
1974
|
description: string;
|
|
1443
1975
|
defaultMessage: string;
|
|
1444
1976
|
};
|
|
1445
|
-
pages: {
|
|
1977
|
+
pages: ({
|
|
1978
|
+
id: string;
|
|
1979
|
+
title: {
|
|
1980
|
+
id: string;
|
|
1981
|
+
description: string;
|
|
1982
|
+
defaultMessage: string;
|
|
1983
|
+
};
|
|
1984
|
+
fields: import("./FieldConfig").Inferred[];
|
|
1985
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
1986
|
+
} | {
|
|
1987
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1446
1988
|
id: string;
|
|
1447
1989
|
title: {
|
|
1448
1990
|
id: string;
|
|
1449
1991
|
description: string;
|
|
1450
1992
|
defaultMessage: string;
|
|
1451
1993
|
};
|
|
1994
|
+
actions: {
|
|
1995
|
+
verify: {
|
|
1996
|
+
label: {
|
|
1997
|
+
id: string;
|
|
1998
|
+
description: string;
|
|
1999
|
+
defaultMessage: string;
|
|
2000
|
+
};
|
|
2001
|
+
};
|
|
2002
|
+
cancel: {
|
|
2003
|
+
label: {
|
|
2004
|
+
id: string;
|
|
2005
|
+
description: string;
|
|
2006
|
+
defaultMessage: string;
|
|
2007
|
+
};
|
|
2008
|
+
confirmation: {
|
|
2009
|
+
title: {
|
|
2010
|
+
id: string;
|
|
2011
|
+
description: string;
|
|
2012
|
+
defaultMessage: string;
|
|
2013
|
+
};
|
|
2014
|
+
body: {
|
|
2015
|
+
id: string;
|
|
2016
|
+
description: string;
|
|
2017
|
+
defaultMessage: string;
|
|
2018
|
+
};
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
};
|
|
1452
2022
|
fields: import("./FieldConfig").Inferred[];
|
|
1453
|
-
}[];
|
|
2023
|
+
})[];
|
|
1454
2024
|
review: {
|
|
1455
2025
|
title: {
|
|
1456
2026
|
id: string;
|
|
@@ -1480,11 +2050,29 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1480
2050
|
label: TranslationConfig;
|
|
1481
2051
|
};
|
|
1482
2052
|
label: TranslationConfig;
|
|
1483
|
-
pages: {
|
|
2053
|
+
pages: ({
|
|
2054
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2055
|
+
id: string;
|
|
2056
|
+
title: TranslationConfig;
|
|
2057
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2058
|
+
} | {
|
|
2059
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1484
2060
|
id: string;
|
|
1485
2061
|
title: TranslationConfig;
|
|
2062
|
+
actions: {
|
|
2063
|
+
verify: {
|
|
2064
|
+
label: TranslationConfig;
|
|
2065
|
+
};
|
|
2066
|
+
cancel: {
|
|
2067
|
+
label: TranslationConfig;
|
|
2068
|
+
confirmation: {
|
|
2069
|
+
title: TranslationConfig;
|
|
2070
|
+
body: TranslationConfig;
|
|
2071
|
+
};
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
1486
2074
|
fields: import("./FieldConfig").Inferred[];
|
|
1487
|
-
}[];
|
|
2075
|
+
})[];
|
|
1488
2076
|
review: {
|
|
1489
2077
|
title: TranslationConfig;
|
|
1490
2078
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1512,15 +2100,53 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1512
2100
|
description: string;
|
|
1513
2101
|
defaultMessage: string;
|
|
1514
2102
|
};
|
|
1515
|
-
pages: {
|
|
2103
|
+
pages: ({
|
|
2104
|
+
id: string;
|
|
2105
|
+
title: {
|
|
2106
|
+
id: string;
|
|
2107
|
+
description: string;
|
|
2108
|
+
defaultMessage: string;
|
|
2109
|
+
};
|
|
2110
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2111
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2112
|
+
} | {
|
|
2113
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1516
2114
|
id: string;
|
|
1517
2115
|
title: {
|
|
1518
2116
|
id: string;
|
|
1519
2117
|
description: string;
|
|
1520
2118
|
defaultMessage: string;
|
|
1521
2119
|
};
|
|
2120
|
+
actions: {
|
|
2121
|
+
verify: {
|
|
2122
|
+
label: {
|
|
2123
|
+
id: string;
|
|
2124
|
+
description: string;
|
|
2125
|
+
defaultMessage: string;
|
|
2126
|
+
};
|
|
2127
|
+
};
|
|
2128
|
+
cancel: {
|
|
2129
|
+
label: {
|
|
2130
|
+
id: string;
|
|
2131
|
+
description: string;
|
|
2132
|
+
defaultMessage: string;
|
|
2133
|
+
};
|
|
2134
|
+
confirmation: {
|
|
2135
|
+
title: {
|
|
2136
|
+
id: string;
|
|
2137
|
+
description: string;
|
|
2138
|
+
defaultMessage: string;
|
|
2139
|
+
};
|
|
2140
|
+
body: {
|
|
2141
|
+
id: string;
|
|
2142
|
+
description: string;
|
|
2143
|
+
defaultMessage: string;
|
|
2144
|
+
};
|
|
2145
|
+
};
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
1522
2148
|
fields: import("./FieldConfig").Inferred[];
|
|
1523
|
-
}[];
|
|
2149
|
+
})[];
|
|
1524
2150
|
review: {
|
|
1525
2151
|
title: {
|
|
1526
2152
|
id: string;
|
|
@@ -1591,27 +2217,7 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1591
2217
|
};
|
|
1592
2218
|
}>;
|
|
1593
2219
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
1594
|
-
pages: z.ZodArray<z.
|
|
1595
|
-
id: z.ZodString;
|
|
1596
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1597
|
-
id: string;
|
|
1598
|
-
description: string;
|
|
1599
|
-
defaultMessage: string;
|
|
1600
|
-
}>;
|
|
1601
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
1602
|
-
}, "strip", z.ZodTypeAny, {
|
|
1603
|
-
id: string;
|
|
1604
|
-
title: TranslationConfig;
|
|
1605
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1606
|
-
}, {
|
|
1607
|
-
id: string;
|
|
1608
|
-
title: {
|
|
1609
|
-
id: string;
|
|
1610
|
-
description: string;
|
|
1611
|
-
defaultMessage: string;
|
|
1612
|
-
};
|
|
1613
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1614
|
-
}>, "many">;
|
|
2220
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
1615
2221
|
review: z.ZodObject<{
|
|
1616
2222
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1617
2223
|
id: string;
|
|
@@ -1637,11 +2243,29 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1637
2243
|
label: TranslationConfig;
|
|
1638
2244
|
};
|
|
1639
2245
|
label: TranslationConfig;
|
|
1640
|
-
pages: {
|
|
2246
|
+
pages: ({
|
|
2247
|
+
type: import("./FormConfig").PageType.FORM;
|
|
1641
2248
|
id: string;
|
|
1642
2249
|
title: TranslationConfig;
|
|
1643
2250
|
fields: import("./FieldConfig").Inferred[];
|
|
1644
|
-
}
|
|
2251
|
+
} | {
|
|
2252
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2253
|
+
id: string;
|
|
2254
|
+
title: TranslationConfig;
|
|
2255
|
+
actions: {
|
|
2256
|
+
verify: {
|
|
2257
|
+
label: TranslationConfig;
|
|
2258
|
+
};
|
|
2259
|
+
cancel: {
|
|
2260
|
+
label: TranslationConfig;
|
|
2261
|
+
confirmation: {
|
|
2262
|
+
title: TranslationConfig;
|
|
2263
|
+
body: TranslationConfig;
|
|
2264
|
+
};
|
|
2265
|
+
};
|
|
2266
|
+
};
|
|
2267
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2268
|
+
})[];
|
|
1645
2269
|
review: {
|
|
1646
2270
|
title: TranslationConfig;
|
|
1647
2271
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1660,15 +2284,53 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1660
2284
|
description: string;
|
|
1661
2285
|
defaultMessage: string;
|
|
1662
2286
|
};
|
|
1663
|
-
pages: {
|
|
2287
|
+
pages: ({
|
|
2288
|
+
id: string;
|
|
2289
|
+
title: {
|
|
2290
|
+
id: string;
|
|
2291
|
+
description: string;
|
|
2292
|
+
defaultMessage: string;
|
|
2293
|
+
};
|
|
2294
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2295
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2296
|
+
} | {
|
|
2297
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1664
2298
|
id: string;
|
|
1665
2299
|
title: {
|
|
1666
2300
|
id: string;
|
|
1667
2301
|
description: string;
|
|
1668
2302
|
defaultMessage: string;
|
|
1669
2303
|
};
|
|
2304
|
+
actions: {
|
|
2305
|
+
verify: {
|
|
2306
|
+
label: {
|
|
2307
|
+
id: string;
|
|
2308
|
+
description: string;
|
|
2309
|
+
defaultMessage: string;
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
2312
|
+
cancel: {
|
|
2313
|
+
label: {
|
|
2314
|
+
id: string;
|
|
2315
|
+
description: string;
|
|
2316
|
+
defaultMessage: string;
|
|
2317
|
+
};
|
|
2318
|
+
confirmation: {
|
|
2319
|
+
title: {
|
|
2320
|
+
id: string;
|
|
2321
|
+
description: string;
|
|
2322
|
+
defaultMessage: string;
|
|
2323
|
+
};
|
|
2324
|
+
body: {
|
|
2325
|
+
id: string;
|
|
2326
|
+
description: string;
|
|
2327
|
+
defaultMessage: string;
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2330
|
+
};
|
|
2331
|
+
};
|
|
1670
2332
|
fields: import("./FieldConfig").Inferred[];
|
|
1671
|
-
}[];
|
|
2333
|
+
})[];
|
|
1672
2334
|
review: {
|
|
1673
2335
|
title: {
|
|
1674
2336
|
id: string;
|
|
@@ -1698,11 +2360,29 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1698
2360
|
label: TranslationConfig;
|
|
1699
2361
|
};
|
|
1700
2362
|
label: TranslationConfig;
|
|
1701
|
-
pages: {
|
|
2363
|
+
pages: ({
|
|
2364
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2365
|
+
id: string;
|
|
2366
|
+
title: TranslationConfig;
|
|
2367
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2368
|
+
} | {
|
|
2369
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1702
2370
|
id: string;
|
|
1703
2371
|
title: TranslationConfig;
|
|
2372
|
+
actions: {
|
|
2373
|
+
verify: {
|
|
2374
|
+
label: TranslationConfig;
|
|
2375
|
+
};
|
|
2376
|
+
cancel: {
|
|
2377
|
+
label: TranslationConfig;
|
|
2378
|
+
confirmation: {
|
|
2379
|
+
title: TranslationConfig;
|
|
2380
|
+
body: TranslationConfig;
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
1704
2384
|
fields: import("./FieldConfig").Inferred[];
|
|
1705
|
-
}[];
|
|
2385
|
+
})[];
|
|
1706
2386
|
review: {
|
|
1707
2387
|
title: TranslationConfig;
|
|
1708
2388
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1730,15 +2410,53 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1730
2410
|
description: string;
|
|
1731
2411
|
defaultMessage: string;
|
|
1732
2412
|
};
|
|
1733
|
-
pages: {
|
|
2413
|
+
pages: ({
|
|
2414
|
+
id: string;
|
|
2415
|
+
title: {
|
|
2416
|
+
id: string;
|
|
2417
|
+
description: string;
|
|
2418
|
+
defaultMessage: string;
|
|
2419
|
+
};
|
|
2420
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2421
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2422
|
+
} | {
|
|
2423
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1734
2424
|
id: string;
|
|
1735
2425
|
title: {
|
|
1736
2426
|
id: string;
|
|
1737
2427
|
description: string;
|
|
1738
2428
|
defaultMessage: string;
|
|
1739
2429
|
};
|
|
2430
|
+
actions: {
|
|
2431
|
+
verify: {
|
|
2432
|
+
label: {
|
|
2433
|
+
id: string;
|
|
2434
|
+
description: string;
|
|
2435
|
+
defaultMessage: string;
|
|
2436
|
+
};
|
|
2437
|
+
};
|
|
2438
|
+
cancel: {
|
|
2439
|
+
label: {
|
|
2440
|
+
id: string;
|
|
2441
|
+
description: string;
|
|
2442
|
+
defaultMessage: string;
|
|
2443
|
+
};
|
|
2444
|
+
confirmation: {
|
|
2445
|
+
title: {
|
|
2446
|
+
id: string;
|
|
2447
|
+
description: string;
|
|
2448
|
+
defaultMessage: string;
|
|
2449
|
+
};
|
|
2450
|
+
body: {
|
|
2451
|
+
id: string;
|
|
2452
|
+
description: string;
|
|
2453
|
+
defaultMessage: string;
|
|
2454
|
+
};
|
|
2455
|
+
};
|
|
2456
|
+
};
|
|
2457
|
+
};
|
|
1740
2458
|
fields: import("./FieldConfig").Inferred[];
|
|
1741
|
-
}[];
|
|
2459
|
+
})[];
|
|
1742
2460
|
review: {
|
|
1743
2461
|
title: {
|
|
1744
2462
|
id: string;
|
|
@@ -1809,27 +2527,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1809
2527
|
};
|
|
1810
2528
|
}>;
|
|
1811
2529
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
1812
|
-
pages: z.ZodArray<z.
|
|
1813
|
-
id: z.ZodString;
|
|
1814
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1815
|
-
id: string;
|
|
1816
|
-
description: string;
|
|
1817
|
-
defaultMessage: string;
|
|
1818
|
-
}>;
|
|
1819
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
1820
|
-
}, "strip", z.ZodTypeAny, {
|
|
1821
|
-
id: string;
|
|
1822
|
-
title: TranslationConfig;
|
|
1823
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1824
|
-
}, {
|
|
1825
|
-
id: string;
|
|
1826
|
-
title: {
|
|
1827
|
-
id: string;
|
|
1828
|
-
description: string;
|
|
1829
|
-
defaultMessage: string;
|
|
1830
|
-
};
|
|
1831
|
-
fields: import("./FieldConfig").Inferred[];
|
|
1832
|
-
}>, "many">;
|
|
2530
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
1833
2531
|
review: z.ZodObject<{
|
|
1834
2532
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
1835
2533
|
id: string;
|
|
@@ -1855,11 +2553,29 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1855
2553
|
label: TranslationConfig;
|
|
1856
2554
|
};
|
|
1857
2555
|
label: TranslationConfig;
|
|
1858
|
-
pages: {
|
|
2556
|
+
pages: ({
|
|
2557
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2558
|
+
id: string;
|
|
2559
|
+
title: TranslationConfig;
|
|
2560
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2561
|
+
} | {
|
|
2562
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1859
2563
|
id: string;
|
|
1860
2564
|
title: TranslationConfig;
|
|
2565
|
+
actions: {
|
|
2566
|
+
verify: {
|
|
2567
|
+
label: TranslationConfig;
|
|
2568
|
+
};
|
|
2569
|
+
cancel: {
|
|
2570
|
+
label: TranslationConfig;
|
|
2571
|
+
confirmation: {
|
|
2572
|
+
title: TranslationConfig;
|
|
2573
|
+
body: TranslationConfig;
|
|
2574
|
+
};
|
|
2575
|
+
};
|
|
2576
|
+
};
|
|
1861
2577
|
fields: import("./FieldConfig").Inferred[];
|
|
1862
|
-
}[];
|
|
2578
|
+
})[];
|
|
1863
2579
|
review: {
|
|
1864
2580
|
title: TranslationConfig;
|
|
1865
2581
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1878,7 +2594,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1878
2594
|
description: string;
|
|
1879
2595
|
defaultMessage: string;
|
|
1880
2596
|
};
|
|
1881
|
-
pages: {
|
|
2597
|
+
pages: ({
|
|
1882
2598
|
id: string;
|
|
1883
2599
|
title: {
|
|
1884
2600
|
id: string;
|
|
@@ -1886,7 +2602,45 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1886
2602
|
defaultMessage: string;
|
|
1887
2603
|
};
|
|
1888
2604
|
fields: import("./FieldConfig").Inferred[];
|
|
1889
|
-
|
|
2605
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2606
|
+
} | {
|
|
2607
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2608
|
+
id: string;
|
|
2609
|
+
title: {
|
|
2610
|
+
id: string;
|
|
2611
|
+
description: string;
|
|
2612
|
+
defaultMessage: string;
|
|
2613
|
+
};
|
|
2614
|
+
actions: {
|
|
2615
|
+
verify: {
|
|
2616
|
+
label: {
|
|
2617
|
+
id: string;
|
|
2618
|
+
description: string;
|
|
2619
|
+
defaultMessage: string;
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
cancel: {
|
|
2623
|
+
label: {
|
|
2624
|
+
id: string;
|
|
2625
|
+
description: string;
|
|
2626
|
+
defaultMessage: string;
|
|
2627
|
+
};
|
|
2628
|
+
confirmation: {
|
|
2629
|
+
title: {
|
|
2630
|
+
id: string;
|
|
2631
|
+
description: string;
|
|
2632
|
+
defaultMessage: string;
|
|
2633
|
+
};
|
|
2634
|
+
body: {
|
|
2635
|
+
id: string;
|
|
2636
|
+
description: string;
|
|
2637
|
+
defaultMessage: string;
|
|
2638
|
+
};
|
|
2639
|
+
};
|
|
2640
|
+
};
|
|
2641
|
+
};
|
|
2642
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2643
|
+
})[];
|
|
1890
2644
|
review: {
|
|
1891
2645
|
title: {
|
|
1892
2646
|
id: string;
|
|
@@ -1916,11 +2670,29 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1916
2670
|
label: TranslationConfig;
|
|
1917
2671
|
};
|
|
1918
2672
|
label: TranslationConfig;
|
|
1919
|
-
pages: {
|
|
2673
|
+
pages: ({
|
|
2674
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2675
|
+
id: string;
|
|
2676
|
+
title: TranslationConfig;
|
|
2677
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2678
|
+
} | {
|
|
2679
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1920
2680
|
id: string;
|
|
1921
2681
|
title: TranslationConfig;
|
|
2682
|
+
actions: {
|
|
2683
|
+
verify: {
|
|
2684
|
+
label: TranslationConfig;
|
|
2685
|
+
};
|
|
2686
|
+
cancel: {
|
|
2687
|
+
label: TranslationConfig;
|
|
2688
|
+
confirmation: {
|
|
2689
|
+
title: TranslationConfig;
|
|
2690
|
+
body: TranslationConfig;
|
|
2691
|
+
};
|
|
2692
|
+
};
|
|
2693
|
+
};
|
|
1922
2694
|
fields: import("./FieldConfig").Inferred[];
|
|
1923
|
-
}[];
|
|
2695
|
+
})[];
|
|
1924
2696
|
review: {
|
|
1925
2697
|
title: TranslationConfig;
|
|
1926
2698
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -1948,15 +2720,53 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
1948
2720
|
description: string;
|
|
1949
2721
|
defaultMessage: string;
|
|
1950
2722
|
};
|
|
1951
|
-
pages: {
|
|
2723
|
+
pages: ({
|
|
2724
|
+
id: string;
|
|
2725
|
+
title: {
|
|
2726
|
+
id: string;
|
|
2727
|
+
description: string;
|
|
2728
|
+
defaultMessage: string;
|
|
2729
|
+
};
|
|
2730
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2731
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2732
|
+
} | {
|
|
2733
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
1952
2734
|
id: string;
|
|
1953
2735
|
title: {
|
|
1954
2736
|
id: string;
|
|
1955
2737
|
description: string;
|
|
1956
2738
|
defaultMessage: string;
|
|
1957
2739
|
};
|
|
2740
|
+
actions: {
|
|
2741
|
+
verify: {
|
|
2742
|
+
label: {
|
|
2743
|
+
id: string;
|
|
2744
|
+
description: string;
|
|
2745
|
+
defaultMessage: string;
|
|
2746
|
+
};
|
|
2747
|
+
};
|
|
2748
|
+
cancel: {
|
|
2749
|
+
label: {
|
|
2750
|
+
id: string;
|
|
2751
|
+
description: string;
|
|
2752
|
+
defaultMessage: string;
|
|
2753
|
+
};
|
|
2754
|
+
confirmation: {
|
|
2755
|
+
title: {
|
|
2756
|
+
id: string;
|
|
2757
|
+
description: string;
|
|
2758
|
+
defaultMessage: string;
|
|
2759
|
+
};
|
|
2760
|
+
body: {
|
|
2761
|
+
id: string;
|
|
2762
|
+
description: string;
|
|
2763
|
+
defaultMessage: string;
|
|
2764
|
+
};
|
|
2765
|
+
};
|
|
2766
|
+
};
|
|
2767
|
+
};
|
|
1958
2768
|
fields: import("./FieldConfig").Inferred[];
|
|
1959
|
-
}[];
|
|
2769
|
+
})[];
|
|
1960
2770
|
review: {
|
|
1961
2771
|
title: {
|
|
1962
2772
|
id: string;
|
|
@@ -2027,27 +2837,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2027
2837
|
};
|
|
2028
2838
|
}>;
|
|
2029
2839
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
2030
|
-
pages: z.ZodArray<z.
|
|
2031
|
-
id: z.ZodString;
|
|
2032
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2033
|
-
id: string;
|
|
2034
|
-
description: string;
|
|
2035
|
-
defaultMessage: string;
|
|
2036
|
-
}>;
|
|
2037
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2038
|
-
}, "strip", z.ZodTypeAny, {
|
|
2039
|
-
id: string;
|
|
2040
|
-
title: TranslationConfig;
|
|
2041
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2042
|
-
}, {
|
|
2043
|
-
id: string;
|
|
2044
|
-
title: {
|
|
2045
|
-
id: string;
|
|
2046
|
-
description: string;
|
|
2047
|
-
defaultMessage: string;
|
|
2048
|
-
};
|
|
2049
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2050
|
-
}>, "many">;
|
|
2840
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2051
2841
|
review: z.ZodObject<{
|
|
2052
2842
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2053
2843
|
id: string;
|
|
@@ -2073,11 +2863,29 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2073
2863
|
label: TranslationConfig;
|
|
2074
2864
|
};
|
|
2075
2865
|
label: TranslationConfig;
|
|
2076
|
-
pages: {
|
|
2866
|
+
pages: ({
|
|
2867
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2868
|
+
id: string;
|
|
2869
|
+
title: TranslationConfig;
|
|
2870
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2871
|
+
} | {
|
|
2872
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2077
2873
|
id: string;
|
|
2078
2874
|
title: TranslationConfig;
|
|
2875
|
+
actions: {
|
|
2876
|
+
verify: {
|
|
2877
|
+
label: TranslationConfig;
|
|
2878
|
+
};
|
|
2879
|
+
cancel: {
|
|
2880
|
+
label: TranslationConfig;
|
|
2881
|
+
confirmation: {
|
|
2882
|
+
title: TranslationConfig;
|
|
2883
|
+
body: TranslationConfig;
|
|
2884
|
+
};
|
|
2885
|
+
};
|
|
2886
|
+
};
|
|
2079
2887
|
fields: import("./FieldConfig").Inferred[];
|
|
2080
|
-
}[];
|
|
2888
|
+
})[];
|
|
2081
2889
|
review: {
|
|
2082
2890
|
title: TranslationConfig;
|
|
2083
2891
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2096,15 +2904,53 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2096
2904
|
description: string;
|
|
2097
2905
|
defaultMessage: string;
|
|
2098
2906
|
};
|
|
2099
|
-
pages: {
|
|
2907
|
+
pages: ({
|
|
2908
|
+
id: string;
|
|
2909
|
+
title: {
|
|
2910
|
+
id: string;
|
|
2911
|
+
description: string;
|
|
2912
|
+
defaultMessage: string;
|
|
2913
|
+
};
|
|
2914
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2915
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
2916
|
+
} | {
|
|
2917
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2100
2918
|
id: string;
|
|
2101
2919
|
title: {
|
|
2102
2920
|
id: string;
|
|
2103
2921
|
description: string;
|
|
2104
2922
|
defaultMessage: string;
|
|
2105
2923
|
};
|
|
2924
|
+
actions: {
|
|
2925
|
+
verify: {
|
|
2926
|
+
label: {
|
|
2927
|
+
id: string;
|
|
2928
|
+
description: string;
|
|
2929
|
+
defaultMessage: string;
|
|
2930
|
+
};
|
|
2931
|
+
};
|
|
2932
|
+
cancel: {
|
|
2933
|
+
label: {
|
|
2934
|
+
id: string;
|
|
2935
|
+
description: string;
|
|
2936
|
+
defaultMessage: string;
|
|
2937
|
+
};
|
|
2938
|
+
confirmation: {
|
|
2939
|
+
title: {
|
|
2940
|
+
id: string;
|
|
2941
|
+
description: string;
|
|
2942
|
+
defaultMessage: string;
|
|
2943
|
+
};
|
|
2944
|
+
body: {
|
|
2945
|
+
id: string;
|
|
2946
|
+
description: string;
|
|
2947
|
+
defaultMessage: string;
|
|
2948
|
+
};
|
|
2949
|
+
};
|
|
2950
|
+
};
|
|
2951
|
+
};
|
|
2106
2952
|
fields: import("./FieldConfig").Inferred[];
|
|
2107
|
-
}[];
|
|
2953
|
+
})[];
|
|
2108
2954
|
review: {
|
|
2109
2955
|
title: {
|
|
2110
2956
|
id: string;
|
|
@@ -2117,48 +2963,8 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2117
2963
|
}>, "many">;
|
|
2118
2964
|
}, {
|
|
2119
2965
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
|
2120
|
-
onboardingForm: z.ZodArray<z.
|
|
2121
|
-
|
|
2122
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2123
|
-
id: string;
|
|
2124
|
-
description: string;
|
|
2125
|
-
defaultMessage: string;
|
|
2126
|
-
}>;
|
|
2127
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2128
|
-
}, "strip", z.ZodTypeAny, {
|
|
2129
|
-
id: string;
|
|
2130
|
-
title: TranslationConfig;
|
|
2131
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2132
|
-
}, {
|
|
2133
|
-
id: string;
|
|
2134
|
-
title: {
|
|
2135
|
-
id: string;
|
|
2136
|
-
description: string;
|
|
2137
|
-
defaultMessage: string;
|
|
2138
|
-
};
|
|
2139
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2140
|
-
}>, "many">;
|
|
2141
|
-
additionalDetailsForm: z.ZodArray<z.ZodObject<{
|
|
2142
|
-
id: z.ZodString;
|
|
2143
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2144
|
-
id: string;
|
|
2145
|
-
description: string;
|
|
2146
|
-
defaultMessage: string;
|
|
2147
|
-
}>;
|
|
2148
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2149
|
-
}, "strip", z.ZodTypeAny, {
|
|
2150
|
-
id: string;
|
|
2151
|
-
title: TranslationConfig;
|
|
2152
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2153
|
-
}, {
|
|
2154
|
-
id: string;
|
|
2155
|
-
title: {
|
|
2156
|
-
id: string;
|
|
2157
|
-
description: string;
|
|
2158
|
-
defaultMessage: string;
|
|
2159
|
-
};
|
|
2160
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2161
|
-
}>, "many">;
|
|
2966
|
+
onboardingForm: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2967
|
+
additionalDetailsForm: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2162
2968
|
}>, "strip", z.ZodTypeAny, {
|
|
2163
2969
|
type: "REQUEST_CORRECTION";
|
|
2164
2970
|
conditionals: ({
|
|
@@ -2176,26 +2982,80 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2176
2982
|
label: TranslationConfig;
|
|
2177
2983
|
};
|
|
2178
2984
|
label: TranslationConfig;
|
|
2179
|
-
pages: {
|
|
2985
|
+
pages: ({
|
|
2986
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2987
|
+
id: string;
|
|
2988
|
+
title: TranslationConfig;
|
|
2989
|
+
fields: import("./FieldConfig").Inferred[];
|
|
2990
|
+
} | {
|
|
2991
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2180
2992
|
id: string;
|
|
2181
2993
|
title: TranslationConfig;
|
|
2994
|
+
actions: {
|
|
2995
|
+
verify: {
|
|
2996
|
+
label: TranslationConfig;
|
|
2997
|
+
};
|
|
2998
|
+
cancel: {
|
|
2999
|
+
label: TranslationConfig;
|
|
3000
|
+
confirmation: {
|
|
3001
|
+
title: TranslationConfig;
|
|
3002
|
+
body: TranslationConfig;
|
|
3003
|
+
};
|
|
3004
|
+
};
|
|
3005
|
+
};
|
|
2182
3006
|
fields: import("./FieldConfig").Inferred[];
|
|
2183
|
-
}[];
|
|
3007
|
+
})[];
|
|
2184
3008
|
review: {
|
|
2185
3009
|
title: TranslationConfig;
|
|
2186
3010
|
fields: import("./FieldConfig").Inferred[];
|
|
2187
3011
|
};
|
|
2188
3012
|
}[];
|
|
2189
|
-
onboardingForm: {
|
|
3013
|
+
onboardingForm: ({
|
|
3014
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2190
3015
|
id: string;
|
|
2191
3016
|
title: TranslationConfig;
|
|
2192
3017
|
fields: import("./FieldConfig").Inferred[];
|
|
2193
|
-
}
|
|
2194
|
-
|
|
3018
|
+
} | {
|
|
3019
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2195
3020
|
id: string;
|
|
2196
3021
|
title: TranslationConfig;
|
|
3022
|
+
actions: {
|
|
3023
|
+
verify: {
|
|
3024
|
+
label: TranslationConfig;
|
|
3025
|
+
};
|
|
3026
|
+
cancel: {
|
|
3027
|
+
label: TranslationConfig;
|
|
3028
|
+
confirmation: {
|
|
3029
|
+
title: TranslationConfig;
|
|
3030
|
+
body: TranslationConfig;
|
|
3031
|
+
};
|
|
3032
|
+
};
|
|
3033
|
+
};
|
|
2197
3034
|
fields: import("./FieldConfig").Inferred[];
|
|
2198
|
-
}[];
|
|
3035
|
+
})[];
|
|
3036
|
+
additionalDetailsForm: ({
|
|
3037
|
+
type: import("./FormConfig").PageType.FORM;
|
|
3038
|
+
id: string;
|
|
3039
|
+
title: TranslationConfig;
|
|
3040
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3041
|
+
} | {
|
|
3042
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
3043
|
+
id: string;
|
|
3044
|
+
title: TranslationConfig;
|
|
3045
|
+
actions: {
|
|
3046
|
+
verify: {
|
|
3047
|
+
label: TranslationConfig;
|
|
3048
|
+
};
|
|
3049
|
+
cancel: {
|
|
3050
|
+
label: TranslationConfig;
|
|
3051
|
+
confirmation: {
|
|
3052
|
+
title: TranslationConfig;
|
|
3053
|
+
body: TranslationConfig;
|
|
3054
|
+
};
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
3057
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3058
|
+
})[];
|
|
2199
3059
|
draft?: boolean | undefined;
|
|
2200
3060
|
}, {
|
|
2201
3061
|
type: "REQUEST_CORRECTION";
|
|
@@ -2218,15 +3078,53 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2218
3078
|
description: string;
|
|
2219
3079
|
defaultMessage: string;
|
|
2220
3080
|
};
|
|
2221
|
-
pages: {
|
|
3081
|
+
pages: ({
|
|
3082
|
+
id: string;
|
|
3083
|
+
title: {
|
|
3084
|
+
id: string;
|
|
3085
|
+
description: string;
|
|
3086
|
+
defaultMessage: string;
|
|
3087
|
+
};
|
|
3088
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3089
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3090
|
+
} | {
|
|
3091
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2222
3092
|
id: string;
|
|
2223
3093
|
title: {
|
|
2224
3094
|
id: string;
|
|
2225
3095
|
description: string;
|
|
2226
3096
|
defaultMessage: string;
|
|
2227
3097
|
};
|
|
3098
|
+
actions: {
|
|
3099
|
+
verify: {
|
|
3100
|
+
label: {
|
|
3101
|
+
id: string;
|
|
3102
|
+
description: string;
|
|
3103
|
+
defaultMessage: string;
|
|
3104
|
+
};
|
|
3105
|
+
};
|
|
3106
|
+
cancel: {
|
|
3107
|
+
label: {
|
|
3108
|
+
id: string;
|
|
3109
|
+
description: string;
|
|
3110
|
+
defaultMessage: string;
|
|
3111
|
+
};
|
|
3112
|
+
confirmation: {
|
|
3113
|
+
title: {
|
|
3114
|
+
id: string;
|
|
3115
|
+
description: string;
|
|
3116
|
+
defaultMessage: string;
|
|
3117
|
+
};
|
|
3118
|
+
body: {
|
|
3119
|
+
id: string;
|
|
3120
|
+
description: string;
|
|
3121
|
+
defaultMessage: string;
|
|
3122
|
+
};
|
|
3123
|
+
};
|
|
3124
|
+
};
|
|
3125
|
+
};
|
|
2228
3126
|
fields: import("./FieldConfig").Inferred[];
|
|
2229
|
-
}[];
|
|
3127
|
+
})[];
|
|
2230
3128
|
review: {
|
|
2231
3129
|
title: {
|
|
2232
3130
|
id: string;
|
|
@@ -2237,7 +3135,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2237
3135
|
};
|
|
2238
3136
|
active?: boolean | undefined;
|
|
2239
3137
|
}[];
|
|
2240
|
-
onboardingForm: {
|
|
3138
|
+
onboardingForm: ({
|
|
2241
3139
|
id: string;
|
|
2242
3140
|
title: {
|
|
2243
3141
|
id: string;
|
|
@@ -2245,16 +3143,92 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2245
3143
|
defaultMessage: string;
|
|
2246
3144
|
};
|
|
2247
3145
|
fields: import("./FieldConfig").Inferred[];
|
|
2248
|
-
|
|
2249
|
-
|
|
3146
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3147
|
+
} | {
|
|
3148
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2250
3149
|
id: string;
|
|
2251
3150
|
title: {
|
|
2252
3151
|
id: string;
|
|
2253
3152
|
description: string;
|
|
2254
3153
|
defaultMessage: string;
|
|
2255
3154
|
};
|
|
3155
|
+
actions: {
|
|
3156
|
+
verify: {
|
|
3157
|
+
label: {
|
|
3158
|
+
id: string;
|
|
3159
|
+
description: string;
|
|
3160
|
+
defaultMessage: string;
|
|
3161
|
+
};
|
|
3162
|
+
};
|
|
3163
|
+
cancel: {
|
|
3164
|
+
label: {
|
|
3165
|
+
id: string;
|
|
3166
|
+
description: string;
|
|
3167
|
+
defaultMessage: string;
|
|
3168
|
+
};
|
|
3169
|
+
confirmation: {
|
|
3170
|
+
title: {
|
|
3171
|
+
id: string;
|
|
3172
|
+
description: string;
|
|
3173
|
+
defaultMessage: string;
|
|
3174
|
+
};
|
|
3175
|
+
body: {
|
|
3176
|
+
id: string;
|
|
3177
|
+
description: string;
|
|
3178
|
+
defaultMessage: string;
|
|
3179
|
+
};
|
|
3180
|
+
};
|
|
3181
|
+
};
|
|
3182
|
+
};
|
|
2256
3183
|
fields: import("./FieldConfig").Inferred[];
|
|
2257
|
-
}[];
|
|
3184
|
+
})[];
|
|
3185
|
+
additionalDetailsForm: ({
|
|
3186
|
+
id: string;
|
|
3187
|
+
title: {
|
|
3188
|
+
id: string;
|
|
3189
|
+
description: string;
|
|
3190
|
+
defaultMessage: string;
|
|
3191
|
+
};
|
|
3192
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3193
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3194
|
+
} | {
|
|
3195
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
3196
|
+
id: string;
|
|
3197
|
+
title: {
|
|
3198
|
+
id: string;
|
|
3199
|
+
description: string;
|
|
3200
|
+
defaultMessage: string;
|
|
3201
|
+
};
|
|
3202
|
+
actions: {
|
|
3203
|
+
verify: {
|
|
3204
|
+
label: {
|
|
3205
|
+
id: string;
|
|
3206
|
+
description: string;
|
|
3207
|
+
defaultMessage: string;
|
|
3208
|
+
};
|
|
3209
|
+
};
|
|
3210
|
+
cancel: {
|
|
3211
|
+
label: {
|
|
3212
|
+
id: string;
|
|
3213
|
+
description: string;
|
|
3214
|
+
defaultMessage: string;
|
|
3215
|
+
};
|
|
3216
|
+
confirmation: {
|
|
3217
|
+
title: {
|
|
3218
|
+
id: string;
|
|
3219
|
+
description: string;
|
|
3220
|
+
defaultMessage: string;
|
|
3221
|
+
};
|
|
3222
|
+
body: {
|
|
3223
|
+
id: string;
|
|
3224
|
+
description: string;
|
|
3225
|
+
defaultMessage: string;
|
|
3226
|
+
};
|
|
3227
|
+
};
|
|
3228
|
+
};
|
|
3229
|
+
};
|
|
3230
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3231
|
+
})[];
|
|
2258
3232
|
draft?: boolean | undefined;
|
|
2259
3233
|
conditionals?: ({
|
|
2260
3234
|
type: "SHOW";
|
|
@@ -2315,27 +3289,7 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2315
3289
|
};
|
|
2316
3290
|
}>;
|
|
2317
3291
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
2318
|
-
pages: z.ZodArray<z.
|
|
2319
|
-
id: z.ZodString;
|
|
2320
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2321
|
-
id: string;
|
|
2322
|
-
description: string;
|
|
2323
|
-
defaultMessage: string;
|
|
2324
|
-
}>;
|
|
2325
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2326
|
-
}, "strip", z.ZodTypeAny, {
|
|
2327
|
-
id: string;
|
|
2328
|
-
title: TranslationConfig;
|
|
2329
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2330
|
-
}, {
|
|
2331
|
-
id: string;
|
|
2332
|
-
title: {
|
|
2333
|
-
id: string;
|
|
2334
|
-
description: string;
|
|
2335
|
-
defaultMessage: string;
|
|
2336
|
-
};
|
|
2337
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2338
|
-
}>, "many">;
|
|
3292
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2339
3293
|
review: z.ZodObject<{
|
|
2340
3294
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2341
3295
|
id: string;
|
|
@@ -2361,11 +3315,29 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2361
3315
|
label: TranslationConfig;
|
|
2362
3316
|
};
|
|
2363
3317
|
label: TranslationConfig;
|
|
2364
|
-
pages: {
|
|
3318
|
+
pages: ({
|
|
3319
|
+
type: import("./FormConfig").PageType.FORM;
|
|
3320
|
+
id: string;
|
|
3321
|
+
title: TranslationConfig;
|
|
3322
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3323
|
+
} | {
|
|
3324
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2365
3325
|
id: string;
|
|
2366
3326
|
title: TranslationConfig;
|
|
3327
|
+
actions: {
|
|
3328
|
+
verify: {
|
|
3329
|
+
label: TranslationConfig;
|
|
3330
|
+
};
|
|
3331
|
+
cancel: {
|
|
3332
|
+
label: TranslationConfig;
|
|
3333
|
+
confirmation: {
|
|
3334
|
+
title: TranslationConfig;
|
|
3335
|
+
body: TranslationConfig;
|
|
3336
|
+
};
|
|
3337
|
+
};
|
|
3338
|
+
};
|
|
2367
3339
|
fields: import("./FieldConfig").Inferred[];
|
|
2368
|
-
}[];
|
|
3340
|
+
})[];
|
|
2369
3341
|
review: {
|
|
2370
3342
|
title: TranslationConfig;
|
|
2371
3343
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2384,15 +3356,53 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2384
3356
|
description: string;
|
|
2385
3357
|
defaultMessage: string;
|
|
2386
3358
|
};
|
|
2387
|
-
pages: {
|
|
3359
|
+
pages: ({
|
|
3360
|
+
id: string;
|
|
3361
|
+
title: {
|
|
3362
|
+
id: string;
|
|
3363
|
+
description: string;
|
|
3364
|
+
defaultMessage: string;
|
|
3365
|
+
};
|
|
3366
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3367
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3368
|
+
} | {
|
|
3369
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2388
3370
|
id: string;
|
|
2389
3371
|
title: {
|
|
2390
3372
|
id: string;
|
|
2391
3373
|
description: string;
|
|
2392
3374
|
defaultMessage: string;
|
|
2393
3375
|
};
|
|
3376
|
+
actions: {
|
|
3377
|
+
verify: {
|
|
3378
|
+
label: {
|
|
3379
|
+
id: string;
|
|
3380
|
+
description: string;
|
|
3381
|
+
defaultMessage: string;
|
|
3382
|
+
};
|
|
3383
|
+
};
|
|
3384
|
+
cancel: {
|
|
3385
|
+
label: {
|
|
3386
|
+
id: string;
|
|
3387
|
+
description: string;
|
|
3388
|
+
defaultMessage: string;
|
|
3389
|
+
};
|
|
3390
|
+
confirmation: {
|
|
3391
|
+
title: {
|
|
3392
|
+
id: string;
|
|
3393
|
+
description: string;
|
|
3394
|
+
defaultMessage: string;
|
|
3395
|
+
};
|
|
3396
|
+
body: {
|
|
3397
|
+
id: string;
|
|
3398
|
+
description: string;
|
|
3399
|
+
defaultMessage: string;
|
|
3400
|
+
};
|
|
3401
|
+
};
|
|
3402
|
+
};
|
|
3403
|
+
};
|
|
2394
3404
|
fields: import("./FieldConfig").Inferred[];
|
|
2395
|
-
}[];
|
|
3405
|
+
})[];
|
|
2396
3406
|
review: {
|
|
2397
3407
|
title: {
|
|
2398
3408
|
id: string;
|
|
@@ -2422,11 +3432,29 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2422
3432
|
label: TranslationConfig;
|
|
2423
3433
|
};
|
|
2424
3434
|
label: TranslationConfig;
|
|
2425
|
-
pages: {
|
|
3435
|
+
pages: ({
|
|
3436
|
+
type: import("./FormConfig").PageType.FORM;
|
|
3437
|
+
id: string;
|
|
3438
|
+
title: TranslationConfig;
|
|
3439
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3440
|
+
} | {
|
|
3441
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2426
3442
|
id: string;
|
|
2427
3443
|
title: TranslationConfig;
|
|
3444
|
+
actions: {
|
|
3445
|
+
verify: {
|
|
3446
|
+
label: TranslationConfig;
|
|
3447
|
+
};
|
|
3448
|
+
cancel: {
|
|
3449
|
+
label: TranslationConfig;
|
|
3450
|
+
confirmation: {
|
|
3451
|
+
title: TranslationConfig;
|
|
3452
|
+
body: TranslationConfig;
|
|
3453
|
+
};
|
|
3454
|
+
};
|
|
3455
|
+
};
|
|
2428
3456
|
fields: import("./FieldConfig").Inferred[];
|
|
2429
|
-
}[];
|
|
3457
|
+
})[];
|
|
2430
3458
|
review: {
|
|
2431
3459
|
title: TranslationConfig;
|
|
2432
3460
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2454,7 +3482,7 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2454
3482
|
description: string;
|
|
2455
3483
|
defaultMessage: string;
|
|
2456
3484
|
};
|
|
2457
|
-
pages: {
|
|
3485
|
+
pages: ({
|
|
2458
3486
|
id: string;
|
|
2459
3487
|
title: {
|
|
2460
3488
|
id: string;
|
|
@@ -2462,7 +3490,45 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2462
3490
|
defaultMessage: string;
|
|
2463
3491
|
};
|
|
2464
3492
|
fields: import("./FieldConfig").Inferred[];
|
|
2465
|
-
|
|
3493
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3494
|
+
} | {
|
|
3495
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
3496
|
+
id: string;
|
|
3497
|
+
title: {
|
|
3498
|
+
id: string;
|
|
3499
|
+
description: string;
|
|
3500
|
+
defaultMessage: string;
|
|
3501
|
+
};
|
|
3502
|
+
actions: {
|
|
3503
|
+
verify: {
|
|
3504
|
+
label: {
|
|
3505
|
+
id: string;
|
|
3506
|
+
description: string;
|
|
3507
|
+
defaultMessage: string;
|
|
3508
|
+
};
|
|
3509
|
+
};
|
|
3510
|
+
cancel: {
|
|
3511
|
+
label: {
|
|
3512
|
+
id: string;
|
|
3513
|
+
description: string;
|
|
3514
|
+
defaultMessage: string;
|
|
3515
|
+
};
|
|
3516
|
+
confirmation: {
|
|
3517
|
+
title: {
|
|
3518
|
+
id: string;
|
|
3519
|
+
description: string;
|
|
3520
|
+
defaultMessage: string;
|
|
3521
|
+
};
|
|
3522
|
+
body: {
|
|
3523
|
+
id: string;
|
|
3524
|
+
description: string;
|
|
3525
|
+
defaultMessage: string;
|
|
3526
|
+
};
|
|
3527
|
+
};
|
|
3528
|
+
};
|
|
3529
|
+
};
|
|
3530
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3531
|
+
})[];
|
|
2466
3532
|
review: {
|
|
2467
3533
|
title: {
|
|
2468
3534
|
id: string;
|
|
@@ -2533,27 +3599,7 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2533
3599
|
};
|
|
2534
3600
|
}>;
|
|
2535
3601
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
2536
|
-
pages: z.ZodArray<z.
|
|
2537
|
-
id: z.ZodString;
|
|
2538
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2539
|
-
id: string;
|
|
2540
|
-
description: string;
|
|
2541
|
-
defaultMessage: string;
|
|
2542
|
-
}>;
|
|
2543
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2544
|
-
}, "strip", z.ZodTypeAny, {
|
|
2545
|
-
id: string;
|
|
2546
|
-
title: TranslationConfig;
|
|
2547
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2548
|
-
}, {
|
|
2549
|
-
id: string;
|
|
2550
|
-
title: {
|
|
2551
|
-
id: string;
|
|
2552
|
-
description: string;
|
|
2553
|
-
defaultMessage: string;
|
|
2554
|
-
};
|
|
2555
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2556
|
-
}>, "many">;
|
|
3602
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2557
3603
|
review: z.ZodObject<{
|
|
2558
3604
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2559
3605
|
id: string;
|
|
@@ -2579,11 +3625,29 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2579
3625
|
label: TranslationConfig;
|
|
2580
3626
|
};
|
|
2581
3627
|
label: TranslationConfig;
|
|
2582
|
-
pages: {
|
|
3628
|
+
pages: ({
|
|
3629
|
+
type: import("./FormConfig").PageType.FORM;
|
|
3630
|
+
id: string;
|
|
3631
|
+
title: TranslationConfig;
|
|
3632
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3633
|
+
} | {
|
|
3634
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2583
3635
|
id: string;
|
|
2584
3636
|
title: TranslationConfig;
|
|
3637
|
+
actions: {
|
|
3638
|
+
verify: {
|
|
3639
|
+
label: TranslationConfig;
|
|
3640
|
+
};
|
|
3641
|
+
cancel: {
|
|
3642
|
+
label: TranslationConfig;
|
|
3643
|
+
confirmation: {
|
|
3644
|
+
title: TranslationConfig;
|
|
3645
|
+
body: TranslationConfig;
|
|
3646
|
+
};
|
|
3647
|
+
};
|
|
3648
|
+
};
|
|
2585
3649
|
fields: import("./FieldConfig").Inferred[];
|
|
2586
|
-
}[];
|
|
3650
|
+
})[];
|
|
2587
3651
|
review: {
|
|
2588
3652
|
title: TranslationConfig;
|
|
2589
3653
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2602,15 +3666,53 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2602
3666
|
description: string;
|
|
2603
3667
|
defaultMessage: string;
|
|
2604
3668
|
};
|
|
2605
|
-
pages: {
|
|
3669
|
+
pages: ({
|
|
3670
|
+
id: string;
|
|
3671
|
+
title: {
|
|
3672
|
+
id: string;
|
|
3673
|
+
description: string;
|
|
3674
|
+
defaultMessage: string;
|
|
3675
|
+
};
|
|
3676
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3677
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3678
|
+
} | {
|
|
3679
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2606
3680
|
id: string;
|
|
2607
3681
|
title: {
|
|
2608
3682
|
id: string;
|
|
2609
3683
|
description: string;
|
|
2610
3684
|
defaultMessage: string;
|
|
2611
3685
|
};
|
|
3686
|
+
actions: {
|
|
3687
|
+
verify: {
|
|
3688
|
+
label: {
|
|
3689
|
+
id: string;
|
|
3690
|
+
description: string;
|
|
3691
|
+
defaultMessage: string;
|
|
3692
|
+
};
|
|
3693
|
+
};
|
|
3694
|
+
cancel: {
|
|
3695
|
+
label: {
|
|
3696
|
+
id: string;
|
|
3697
|
+
description: string;
|
|
3698
|
+
defaultMessage: string;
|
|
3699
|
+
};
|
|
3700
|
+
confirmation: {
|
|
3701
|
+
title: {
|
|
3702
|
+
id: string;
|
|
3703
|
+
description: string;
|
|
3704
|
+
defaultMessage: string;
|
|
3705
|
+
};
|
|
3706
|
+
body: {
|
|
3707
|
+
id: string;
|
|
3708
|
+
description: string;
|
|
3709
|
+
defaultMessage: string;
|
|
3710
|
+
};
|
|
3711
|
+
};
|
|
3712
|
+
};
|
|
3713
|
+
};
|
|
2612
3714
|
fields: import("./FieldConfig").Inferred[];
|
|
2613
|
-
}[];
|
|
3715
|
+
})[];
|
|
2614
3716
|
review: {
|
|
2615
3717
|
title: {
|
|
2616
3718
|
id: string;
|
|
@@ -2640,11 +3742,29 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2640
3742
|
label: TranslationConfig;
|
|
2641
3743
|
};
|
|
2642
3744
|
label: TranslationConfig;
|
|
2643
|
-
pages: {
|
|
3745
|
+
pages: ({
|
|
3746
|
+
type: import("./FormConfig").PageType.FORM;
|
|
3747
|
+
id: string;
|
|
3748
|
+
title: TranslationConfig;
|
|
3749
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3750
|
+
} | {
|
|
3751
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2644
3752
|
id: string;
|
|
2645
3753
|
title: TranslationConfig;
|
|
3754
|
+
actions: {
|
|
3755
|
+
verify: {
|
|
3756
|
+
label: TranslationConfig;
|
|
3757
|
+
};
|
|
3758
|
+
cancel: {
|
|
3759
|
+
label: TranslationConfig;
|
|
3760
|
+
confirmation: {
|
|
3761
|
+
title: TranslationConfig;
|
|
3762
|
+
body: TranslationConfig;
|
|
3763
|
+
};
|
|
3764
|
+
};
|
|
3765
|
+
};
|
|
2646
3766
|
fields: import("./FieldConfig").Inferred[];
|
|
2647
|
-
}[];
|
|
3767
|
+
})[];
|
|
2648
3768
|
review: {
|
|
2649
3769
|
title: TranslationConfig;
|
|
2650
3770
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2672,7 +3792,7 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2672
3792
|
description: string;
|
|
2673
3793
|
defaultMessage: string;
|
|
2674
3794
|
};
|
|
2675
|
-
pages: {
|
|
3795
|
+
pages: ({
|
|
2676
3796
|
id: string;
|
|
2677
3797
|
title: {
|
|
2678
3798
|
id: string;
|
|
@@ -2680,7 +3800,45 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2680
3800
|
defaultMessage: string;
|
|
2681
3801
|
};
|
|
2682
3802
|
fields: import("./FieldConfig").Inferred[];
|
|
2683
|
-
|
|
3803
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3804
|
+
} | {
|
|
3805
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
3806
|
+
id: string;
|
|
3807
|
+
title: {
|
|
3808
|
+
id: string;
|
|
3809
|
+
description: string;
|
|
3810
|
+
defaultMessage: string;
|
|
3811
|
+
};
|
|
3812
|
+
actions: {
|
|
3813
|
+
verify: {
|
|
3814
|
+
label: {
|
|
3815
|
+
id: string;
|
|
3816
|
+
description: string;
|
|
3817
|
+
defaultMessage: string;
|
|
3818
|
+
};
|
|
3819
|
+
};
|
|
3820
|
+
cancel: {
|
|
3821
|
+
label: {
|
|
3822
|
+
id: string;
|
|
3823
|
+
description: string;
|
|
3824
|
+
defaultMessage: string;
|
|
3825
|
+
};
|
|
3826
|
+
confirmation: {
|
|
3827
|
+
title: {
|
|
3828
|
+
id: string;
|
|
3829
|
+
description: string;
|
|
3830
|
+
defaultMessage: string;
|
|
3831
|
+
};
|
|
3832
|
+
body: {
|
|
3833
|
+
id: string;
|
|
3834
|
+
description: string;
|
|
3835
|
+
defaultMessage: string;
|
|
3836
|
+
};
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
};
|
|
3840
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3841
|
+
})[];
|
|
2684
3842
|
review: {
|
|
2685
3843
|
title: {
|
|
2686
3844
|
id: string;
|
|
@@ -2751,27 +3909,7 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2751
3909
|
};
|
|
2752
3910
|
}>;
|
|
2753
3911
|
active: z.ZodDefault<z.ZodBoolean>;
|
|
2754
|
-
pages: z.ZodArray<z.
|
|
2755
|
-
id: z.ZodString;
|
|
2756
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2757
|
-
id: string;
|
|
2758
|
-
description: string;
|
|
2759
|
-
defaultMessage: string;
|
|
2760
|
-
}>;
|
|
2761
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
|
2762
|
-
}, "strip", z.ZodTypeAny, {
|
|
2763
|
-
id: string;
|
|
2764
|
-
title: TranslationConfig;
|
|
2765
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2766
|
-
}, {
|
|
2767
|
-
id: string;
|
|
2768
|
-
title: {
|
|
2769
|
-
id: string;
|
|
2770
|
-
description: string;
|
|
2771
|
-
defaultMessage: string;
|
|
2772
|
-
};
|
|
2773
|
-
fields: import("./FieldConfig").Inferred[];
|
|
2774
|
-
}>, "many">;
|
|
3912
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
|
2775
3913
|
review: z.ZodObject<{
|
|
2776
3914
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
2777
3915
|
id: string;
|
|
@@ -2797,11 +3935,29 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2797
3935
|
label: TranslationConfig;
|
|
2798
3936
|
};
|
|
2799
3937
|
label: TranslationConfig;
|
|
2800
|
-
pages: {
|
|
3938
|
+
pages: ({
|
|
3939
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2801
3940
|
id: string;
|
|
2802
3941
|
title: TranslationConfig;
|
|
2803
3942
|
fields: import("./FieldConfig").Inferred[];
|
|
2804
|
-
}
|
|
3943
|
+
} | {
|
|
3944
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
3945
|
+
id: string;
|
|
3946
|
+
title: TranslationConfig;
|
|
3947
|
+
actions: {
|
|
3948
|
+
verify: {
|
|
3949
|
+
label: TranslationConfig;
|
|
3950
|
+
};
|
|
3951
|
+
cancel: {
|
|
3952
|
+
label: TranslationConfig;
|
|
3953
|
+
confirmation: {
|
|
3954
|
+
title: TranslationConfig;
|
|
3955
|
+
body: TranslationConfig;
|
|
3956
|
+
};
|
|
3957
|
+
};
|
|
3958
|
+
};
|
|
3959
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3960
|
+
})[];
|
|
2805
3961
|
review: {
|
|
2806
3962
|
title: TranslationConfig;
|
|
2807
3963
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2820,15 +3976,53 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2820
3976
|
description: string;
|
|
2821
3977
|
defaultMessage: string;
|
|
2822
3978
|
};
|
|
2823
|
-
pages: {
|
|
3979
|
+
pages: ({
|
|
3980
|
+
id: string;
|
|
3981
|
+
title: {
|
|
3982
|
+
id: string;
|
|
3983
|
+
description: string;
|
|
3984
|
+
defaultMessage: string;
|
|
3985
|
+
};
|
|
3986
|
+
fields: import("./FieldConfig").Inferred[];
|
|
3987
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
3988
|
+
} | {
|
|
3989
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2824
3990
|
id: string;
|
|
2825
3991
|
title: {
|
|
2826
3992
|
id: string;
|
|
2827
3993
|
description: string;
|
|
2828
3994
|
defaultMessage: string;
|
|
2829
3995
|
};
|
|
3996
|
+
actions: {
|
|
3997
|
+
verify: {
|
|
3998
|
+
label: {
|
|
3999
|
+
id: string;
|
|
4000
|
+
description: string;
|
|
4001
|
+
defaultMessage: string;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
cancel: {
|
|
4005
|
+
label: {
|
|
4006
|
+
id: string;
|
|
4007
|
+
description: string;
|
|
4008
|
+
defaultMessage: string;
|
|
4009
|
+
};
|
|
4010
|
+
confirmation: {
|
|
4011
|
+
title: {
|
|
4012
|
+
id: string;
|
|
4013
|
+
description: string;
|
|
4014
|
+
defaultMessage: string;
|
|
4015
|
+
};
|
|
4016
|
+
body: {
|
|
4017
|
+
id: string;
|
|
4018
|
+
description: string;
|
|
4019
|
+
defaultMessage: string;
|
|
4020
|
+
};
|
|
4021
|
+
};
|
|
4022
|
+
};
|
|
4023
|
+
};
|
|
2830
4024
|
fields: import("./FieldConfig").Inferred[];
|
|
2831
|
-
}[];
|
|
4025
|
+
})[];
|
|
2832
4026
|
review: {
|
|
2833
4027
|
title: {
|
|
2834
4028
|
id: string;
|
|
@@ -2858,11 +4052,29 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2858
4052
|
label: TranslationConfig;
|
|
2859
4053
|
};
|
|
2860
4054
|
label: TranslationConfig;
|
|
2861
|
-
pages: {
|
|
4055
|
+
pages: ({
|
|
4056
|
+
type: import("./FormConfig").PageType.FORM;
|
|
2862
4057
|
id: string;
|
|
2863
4058
|
title: TranslationConfig;
|
|
2864
4059
|
fields: import("./FieldConfig").Inferred[];
|
|
2865
|
-
}
|
|
4060
|
+
} | {
|
|
4061
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
4062
|
+
id: string;
|
|
4063
|
+
title: TranslationConfig;
|
|
4064
|
+
actions: {
|
|
4065
|
+
verify: {
|
|
4066
|
+
label: TranslationConfig;
|
|
4067
|
+
};
|
|
4068
|
+
cancel: {
|
|
4069
|
+
label: TranslationConfig;
|
|
4070
|
+
confirmation: {
|
|
4071
|
+
title: TranslationConfig;
|
|
4072
|
+
body: TranslationConfig;
|
|
4073
|
+
};
|
|
4074
|
+
};
|
|
4075
|
+
};
|
|
4076
|
+
fields: import("./FieldConfig").Inferred[];
|
|
4077
|
+
})[];
|
|
2866
4078
|
review: {
|
|
2867
4079
|
title: TranslationConfig;
|
|
2868
4080
|
fields: import("./FieldConfig").Inferred[];
|
|
@@ -2890,15 +4102,53 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2890
4102
|
description: string;
|
|
2891
4103
|
defaultMessage: string;
|
|
2892
4104
|
};
|
|
2893
|
-
pages: {
|
|
4105
|
+
pages: ({
|
|
4106
|
+
id: string;
|
|
4107
|
+
title: {
|
|
4108
|
+
id: string;
|
|
4109
|
+
description: string;
|
|
4110
|
+
defaultMessage: string;
|
|
4111
|
+
};
|
|
4112
|
+
fields: import("./FieldConfig").Inferred[];
|
|
4113
|
+
type?: import("./FormConfig").PageType.FORM | undefined;
|
|
4114
|
+
} | {
|
|
4115
|
+
type: import("./FormConfig").PageType.VERIFICATION;
|
|
2894
4116
|
id: string;
|
|
2895
4117
|
title: {
|
|
2896
4118
|
id: string;
|
|
2897
4119
|
description: string;
|
|
2898
4120
|
defaultMessage: string;
|
|
2899
4121
|
};
|
|
4122
|
+
actions: {
|
|
4123
|
+
verify: {
|
|
4124
|
+
label: {
|
|
4125
|
+
id: string;
|
|
4126
|
+
description: string;
|
|
4127
|
+
defaultMessage: string;
|
|
4128
|
+
};
|
|
4129
|
+
};
|
|
4130
|
+
cancel: {
|
|
4131
|
+
label: {
|
|
4132
|
+
id: string;
|
|
4133
|
+
description: string;
|
|
4134
|
+
defaultMessage: string;
|
|
4135
|
+
};
|
|
4136
|
+
confirmation: {
|
|
4137
|
+
title: {
|
|
4138
|
+
id: string;
|
|
4139
|
+
description: string;
|
|
4140
|
+
defaultMessage: string;
|
|
4141
|
+
};
|
|
4142
|
+
body: {
|
|
4143
|
+
id: string;
|
|
4144
|
+
description: string;
|
|
4145
|
+
defaultMessage: string;
|
|
4146
|
+
};
|
|
4147
|
+
};
|
|
4148
|
+
};
|
|
4149
|
+
};
|
|
2900
4150
|
fields: import("./FieldConfig").Inferred[];
|
|
2901
|
-
}[];
|
|
4151
|
+
})[];
|
|
2902
4152
|
review: {
|
|
2903
4153
|
title: {
|
|
2904
4154
|
id: string;
|