@opencrvs/toolkit 1.8.0-rc.faeb298 → 1.8.0-rc.fb0e687
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/README.md +1 -1
- package/dist/commons/api/router.d.ts +6658 -9554
- package/dist/commons/conditionals/conditionals.d.ts +26 -3
- package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
- package/dist/commons/conditionals/validate.d.ts +39 -11
- package/dist/commons/conditionals/validate.test.d.ts +2 -0
- package/dist/commons/events/ActionConfig.d.ts +1047 -3208
- package/dist/commons/events/ActionDocument.d.ts +9482 -312
- package/dist/commons/events/ActionInput.d.ts +5244 -477
- package/dist/commons/events/ActionType.d.ts +25 -12
- package/dist/commons/events/CompositeFieldValue.d.ts +152 -2
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +348 -48
- package/dist/commons/events/EventConfig.d.ts +715 -2746
- package/dist/commons/events/EventConfigInput.d.ts +6 -3
- package/dist/commons/events/EventDocument.d.ts +3340 -429
- package/dist/commons/events/EventIndex.d.ts +6 -3
- package/dist/commons/events/EventMetadata.d.ts +3 -0
- package/dist/commons/events/FieldConfig.d.ts +384 -104
- package/dist/commons/events/FieldTypeMapping.d.ts +136 -5
- package/dist/commons/events/FieldValue.d.ts +76 -2
- package/dist/commons/events/FormConfig.d.ts +534 -201
- package/dist/commons/events/PageConfig.d.ts +335 -0
- package/dist/commons/events/TemplateConfig.d.ts +2 -2
- package/dist/commons/events/defineConfig.d.ts +72 -421
- package/dist/commons/events/index.d.ts +2 -1
- package/dist/commons/events/test.utils.d.ts +140 -213
- package/dist/commons/events/utils.d.ts +190 -125
- package/dist/conditionals/index.js +166 -81
- package/dist/events/index.js +1372 -826
- package/package.json +1 -1
@@ -1,5 +1,24 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
import { TranslationConfig } from './TranslationConfig';
|
3
|
+
export declare const DeclarationReviewConfig: z.ZodObject<{
|
4
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5
|
+
id: string;
|
6
|
+
description: string;
|
7
|
+
defaultMessage: string;
|
8
|
+
}>;
|
9
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
11
|
+
title: TranslationConfig;
|
12
|
+
fields: import("./FieldConfig").Inferred[];
|
13
|
+
}, {
|
14
|
+
title: {
|
15
|
+
id: string;
|
16
|
+
description: string;
|
17
|
+
defaultMessage: string;
|
18
|
+
};
|
19
|
+
fields: import("./FieldConfig").InferredInput[];
|
20
|
+
}>;
|
21
|
+
export type ReviewPageConfig = z.infer<typeof DeclarationReviewConfig>;
|
3
22
|
export declare const ActionConfigBase: z.ZodObject<{
|
4
23
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
5
24
|
id: string;
|
@@ -26,155 +45,6 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
26
45
|
conditional: import(".").JSONSchema;
|
27
46
|
}>]>, "many">>>;
|
28
47
|
draft: z.ZodOptional<z.ZodBoolean>;
|
29
|
-
forms: z.ZodArray<z.ZodObject<{
|
30
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
31
|
-
id: string;
|
32
|
-
description: string;
|
33
|
-
defaultMessage: string;
|
34
|
-
}>;
|
35
|
-
version: z.ZodObject<{
|
36
|
-
id: z.ZodString;
|
37
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
38
|
-
id: string;
|
39
|
-
description: string;
|
40
|
-
defaultMessage: string;
|
41
|
-
}>;
|
42
|
-
}, "strip", z.ZodTypeAny, {
|
43
|
-
id: string;
|
44
|
-
label: TranslationConfig;
|
45
|
-
}, {
|
46
|
-
id: string;
|
47
|
-
label: {
|
48
|
-
id: string;
|
49
|
-
description: string;
|
50
|
-
defaultMessage: string;
|
51
|
-
};
|
52
|
-
}>;
|
53
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
54
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
55
|
-
review: z.ZodObject<{
|
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
|
-
title: TranslationConfig;
|
64
|
-
fields: import("./FieldConfig").Inferred[];
|
65
|
-
}, {
|
66
|
-
title: {
|
67
|
-
id: string;
|
68
|
-
description: string;
|
69
|
-
defaultMessage: string;
|
70
|
-
};
|
71
|
-
fields: import("./FieldConfig").Inferred[];
|
72
|
-
}>;
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
74
|
-
active: boolean;
|
75
|
-
version: {
|
76
|
-
id: string;
|
77
|
-
label: TranslationConfig;
|
78
|
-
};
|
79
|
-
label: TranslationConfig;
|
80
|
-
pages: ({
|
81
|
-
id: string;
|
82
|
-
title: TranslationConfig;
|
83
|
-
fields: import("./FieldConfig").Inferred[];
|
84
|
-
type?: "FORM" | undefined;
|
85
|
-
} | {
|
86
|
-
type: "VERIFICATION";
|
87
|
-
id: string;
|
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
|
-
};
|
101
|
-
fields: import("./FieldConfig").Inferred[];
|
102
|
-
})[];
|
103
|
-
review: {
|
104
|
-
title: TranslationConfig;
|
105
|
-
fields: import("./FieldConfig").Inferred[];
|
106
|
-
};
|
107
|
-
}, {
|
108
|
-
version: {
|
109
|
-
id: string;
|
110
|
-
label: {
|
111
|
-
id: string;
|
112
|
-
description: string;
|
113
|
-
defaultMessage: string;
|
114
|
-
};
|
115
|
-
};
|
116
|
-
label: {
|
117
|
-
id: string;
|
118
|
-
description: string;
|
119
|
-
defaultMessage: string;
|
120
|
-
};
|
121
|
-
pages: ({
|
122
|
-
id: string;
|
123
|
-
title: {
|
124
|
-
id: string;
|
125
|
-
description: string;
|
126
|
-
defaultMessage: string;
|
127
|
-
};
|
128
|
-
fields: import("./FieldConfig").Inferred[];
|
129
|
-
type?: "FORM" | undefined;
|
130
|
-
} | {
|
131
|
-
type: "VERIFICATION";
|
132
|
-
id: string;
|
133
|
-
title: {
|
134
|
-
id: string;
|
135
|
-
description: string;
|
136
|
-
defaultMessage: string;
|
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
|
-
};
|
166
|
-
fields: import("./FieldConfig").Inferred[];
|
167
|
-
})[];
|
168
|
-
review: {
|
169
|
-
title: {
|
170
|
-
id: string;
|
171
|
-
description: string;
|
172
|
-
defaultMessage: string;
|
173
|
-
};
|
174
|
-
fields: import("./FieldConfig").Inferred[];
|
175
|
-
};
|
176
|
-
active?: boolean | undefined;
|
177
|
-
}>, "many">;
|
178
48
|
}, "strip", z.ZodTypeAny, {
|
179
49
|
conditionals: ({
|
180
50
|
type: "SHOW";
|
@@ -184,41 +54,6 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
184
54
|
conditional: import(".").JSONSchema;
|
185
55
|
})[];
|
186
56
|
label: TranslationConfig;
|
187
|
-
forms: {
|
188
|
-
active: boolean;
|
189
|
-
version: {
|
190
|
-
id: string;
|
191
|
-
label: TranslationConfig;
|
192
|
-
};
|
193
|
-
label: TranslationConfig;
|
194
|
-
pages: ({
|
195
|
-
id: string;
|
196
|
-
title: TranslationConfig;
|
197
|
-
fields: import("./FieldConfig").Inferred[];
|
198
|
-
type?: "FORM" | undefined;
|
199
|
-
} | {
|
200
|
-
type: "VERIFICATION";
|
201
|
-
id: string;
|
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
|
-
};
|
215
|
-
fields: import("./FieldConfig").Inferred[];
|
216
|
-
})[];
|
217
|
-
review: {
|
218
|
-
title: TranslationConfig;
|
219
|
-
fields: import("./FieldConfig").Inferred[];
|
220
|
-
};
|
221
|
-
}[];
|
222
57
|
draft?: boolean | undefined;
|
223
58
|
}, {
|
224
59
|
label: {
|
@@ -226,77 +61,6 @@ export declare const ActionConfigBase: z.ZodObject<{
|
|
226
61
|
description: string;
|
227
62
|
defaultMessage: string;
|
228
63
|
};
|
229
|
-
forms: {
|
230
|
-
version: {
|
231
|
-
id: string;
|
232
|
-
label: {
|
233
|
-
id: string;
|
234
|
-
description: string;
|
235
|
-
defaultMessage: string;
|
236
|
-
};
|
237
|
-
};
|
238
|
-
label: {
|
239
|
-
id: string;
|
240
|
-
description: string;
|
241
|
-
defaultMessage: string;
|
242
|
-
};
|
243
|
-
pages: ({
|
244
|
-
id: string;
|
245
|
-
title: {
|
246
|
-
id: string;
|
247
|
-
description: string;
|
248
|
-
defaultMessage: string;
|
249
|
-
};
|
250
|
-
fields: import("./FieldConfig").Inferred[];
|
251
|
-
type?: "FORM" | undefined;
|
252
|
-
} | {
|
253
|
-
type: "VERIFICATION";
|
254
|
-
id: string;
|
255
|
-
title: {
|
256
|
-
id: string;
|
257
|
-
description: string;
|
258
|
-
defaultMessage: string;
|
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
|
-
};
|
288
|
-
fields: import("./FieldConfig").Inferred[];
|
289
|
-
})[];
|
290
|
-
review: {
|
291
|
-
title: {
|
292
|
-
id: string;
|
293
|
-
description: string;
|
294
|
-
defaultMessage: string;
|
295
|
-
};
|
296
|
-
fields: import("./FieldConfig").Inferred[];
|
297
|
-
};
|
298
|
-
active?: boolean | undefined;
|
299
|
-
}[];
|
300
64
|
draft?: boolean | undefined;
|
301
65
|
conditionals?: ({
|
302
66
|
type: "SHOW";
|
@@ -332,157 +96,26 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
332
96
|
conditional: import(".").JSONSchema;
|
333
97
|
}>]>, "many">>>;
|
334
98
|
draft: z.ZodOptional<z.ZodBoolean>;
|
335
|
-
|
336
|
-
|
99
|
+
}, {
|
100
|
+
type: z.ZodLiteral<"DECLARE">;
|
101
|
+
review: z.ZodObject<{
|
102
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
337
103
|
id: string;
|
338
104
|
description: string;
|
339
105
|
defaultMessage: string;
|
340
106
|
}>;
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
}>;
|
348
|
-
}, "strip", z.ZodTypeAny, {
|
349
|
-
id: string;
|
350
|
-
label: TranslationConfig;
|
351
|
-
}, {
|
352
|
-
id: string;
|
353
|
-
label: {
|
354
|
-
id: string;
|
355
|
-
description: string;
|
356
|
-
defaultMessage: string;
|
357
|
-
};
|
358
|
-
}>;
|
359
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
360
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
361
|
-
review: z.ZodObject<{
|
362
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
363
|
-
id: string;
|
364
|
-
description: string;
|
365
|
-
defaultMessage: string;
|
366
|
-
}>;
|
367
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
368
|
-
}, "strip", z.ZodTypeAny, {
|
369
|
-
title: TranslationConfig;
|
370
|
-
fields: import("./FieldConfig").Inferred[];
|
371
|
-
}, {
|
372
|
-
title: {
|
373
|
-
id: string;
|
374
|
-
description: string;
|
375
|
-
defaultMessage: string;
|
376
|
-
};
|
377
|
-
fields: import("./FieldConfig").Inferred[];
|
378
|
-
}>;
|
379
|
-
}, "strip", z.ZodTypeAny, {
|
380
|
-
active: boolean;
|
381
|
-
version: {
|
382
|
-
id: string;
|
383
|
-
label: TranslationConfig;
|
384
|
-
};
|
385
|
-
label: TranslationConfig;
|
386
|
-
pages: ({
|
387
|
-
id: string;
|
388
|
-
title: TranslationConfig;
|
389
|
-
fields: import("./FieldConfig").Inferred[];
|
390
|
-
type?: "FORM" | undefined;
|
391
|
-
} | {
|
392
|
-
type: "VERIFICATION";
|
393
|
-
id: string;
|
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
|
-
};
|
407
|
-
fields: import("./FieldConfig").Inferred[];
|
408
|
-
})[];
|
409
|
-
review: {
|
410
|
-
title: TranslationConfig;
|
411
|
-
fields: import("./FieldConfig").Inferred[];
|
412
|
-
};
|
413
|
-
}, {
|
414
|
-
version: {
|
415
|
-
id: string;
|
416
|
-
label: {
|
417
|
-
id: string;
|
418
|
-
description: string;
|
419
|
-
defaultMessage: string;
|
420
|
-
};
|
421
|
-
};
|
422
|
-
label: {
|
107
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
109
|
+
title: TranslationConfig;
|
110
|
+
fields: import("./FieldConfig").Inferred[];
|
111
|
+
}, {
|
112
|
+
title: {
|
423
113
|
id: string;
|
424
114
|
description: string;
|
425
115
|
defaultMessage: string;
|
426
116
|
};
|
427
|
-
|
428
|
-
|
429
|
-
title: {
|
430
|
-
id: string;
|
431
|
-
description: string;
|
432
|
-
defaultMessage: string;
|
433
|
-
};
|
434
|
-
fields: import("./FieldConfig").Inferred[];
|
435
|
-
type?: "FORM" | undefined;
|
436
|
-
} | {
|
437
|
-
type: "VERIFICATION";
|
438
|
-
id: string;
|
439
|
-
title: {
|
440
|
-
id: string;
|
441
|
-
description: string;
|
442
|
-
defaultMessage: string;
|
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
|
-
};
|
472
|
-
fields: import("./FieldConfig").Inferred[];
|
473
|
-
})[];
|
474
|
-
review: {
|
475
|
-
title: {
|
476
|
-
id: string;
|
477
|
-
description: string;
|
478
|
-
defaultMessage: string;
|
479
|
-
};
|
480
|
-
fields: import("./FieldConfig").Inferred[];
|
481
|
-
};
|
482
|
-
active?: boolean | undefined;
|
483
|
-
}>, "many">;
|
484
|
-
}, {
|
485
|
-
type: z.ZodLiteral<"DECLARE">;
|
117
|
+
fields: import("./FieldConfig").InferredInput[];
|
118
|
+
}>;
|
486
119
|
}>, "strip", z.ZodTypeAny, {
|
487
120
|
type: "DECLARE";
|
488
121
|
conditionals: ({
|
@@ -493,41 +126,10 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
493
126
|
conditional: import(".").JSONSchema;
|
494
127
|
})[];
|
495
128
|
label: TranslationConfig;
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
label: TranslationConfig;
|
501
|
-
};
|
502
|
-
label: TranslationConfig;
|
503
|
-
pages: ({
|
504
|
-
id: string;
|
505
|
-
title: TranslationConfig;
|
506
|
-
fields: import("./FieldConfig").Inferred[];
|
507
|
-
type?: "FORM" | undefined;
|
508
|
-
} | {
|
509
|
-
type: "VERIFICATION";
|
510
|
-
id: string;
|
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
|
-
};
|
524
|
-
fields: import("./FieldConfig").Inferred[];
|
525
|
-
})[];
|
526
|
-
review: {
|
527
|
-
title: TranslationConfig;
|
528
|
-
fields: import("./FieldConfig").Inferred[];
|
529
|
-
};
|
530
|
-
}[];
|
129
|
+
review: {
|
130
|
+
title: TranslationConfig;
|
131
|
+
fields: import("./FieldConfig").Inferred[];
|
132
|
+
};
|
531
133
|
draft?: boolean | undefined;
|
532
134
|
}, {
|
533
135
|
type: "DECLARE";
|
@@ -536,77 +138,14 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
536
138
|
description: string;
|
537
139
|
defaultMessage: string;
|
538
140
|
};
|
539
|
-
|
540
|
-
|
541
|
-
id: string;
|
542
|
-
label: {
|
543
|
-
id: string;
|
544
|
-
description: string;
|
545
|
-
defaultMessage: string;
|
546
|
-
};
|
547
|
-
};
|
548
|
-
label: {
|
141
|
+
review: {
|
142
|
+
title: {
|
549
143
|
id: string;
|
550
144
|
description: string;
|
551
145
|
defaultMessage: string;
|
552
146
|
};
|
553
|
-
|
554
|
-
|
555
|
-
title: {
|
556
|
-
id: string;
|
557
|
-
description: string;
|
558
|
-
defaultMessage: string;
|
559
|
-
};
|
560
|
-
fields: import("./FieldConfig").Inferred[];
|
561
|
-
type?: "FORM" | undefined;
|
562
|
-
} | {
|
563
|
-
type: "VERIFICATION";
|
564
|
-
id: string;
|
565
|
-
title: {
|
566
|
-
id: string;
|
567
|
-
description: string;
|
568
|
-
defaultMessage: string;
|
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
|
-
};
|
598
|
-
fields: import("./FieldConfig").Inferred[];
|
599
|
-
})[];
|
600
|
-
review: {
|
601
|
-
title: {
|
602
|
-
id: string;
|
603
|
-
description: string;
|
604
|
-
defaultMessage: string;
|
605
|
-
};
|
606
|
-
fields: import("./FieldConfig").Inferred[];
|
607
|
-
};
|
608
|
-
active?: boolean | undefined;
|
609
|
-
}[];
|
147
|
+
fields: import("./FieldConfig").InferredInput[];
|
148
|
+
};
|
610
149
|
draft?: boolean | undefined;
|
611
150
|
conditionals?: ({
|
612
151
|
type: "SHOW";
|
@@ -642,157 +181,26 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
642
181
|
conditional: import(".").JSONSchema;
|
643
182
|
}>]>, "many">>>;
|
644
183
|
draft: z.ZodOptional<z.ZodBoolean>;
|
645
|
-
|
646
|
-
|
184
|
+
}, {
|
185
|
+
type: z.ZodLiteral<"VALIDATE">;
|
186
|
+
review: z.ZodObject<{
|
187
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
647
188
|
id: string;
|
648
189
|
description: string;
|
649
190
|
defaultMessage: string;
|
650
191
|
}>;
|
651
|
-
|
652
|
-
id: z.ZodString;
|
653
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
654
|
-
id: string;
|
655
|
-
description: string;
|
656
|
-
defaultMessage: string;
|
657
|
-
}>;
|
658
|
-
}, "strip", z.ZodTypeAny, {
|
659
|
-
id: string;
|
660
|
-
label: TranslationConfig;
|
661
|
-
}, {
|
662
|
-
id: string;
|
663
|
-
label: {
|
664
|
-
id: string;
|
665
|
-
description: string;
|
666
|
-
defaultMessage: string;
|
667
|
-
};
|
668
|
-
}>;
|
669
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
670
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
671
|
-
review: z.ZodObject<{
|
672
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
673
|
-
id: string;
|
674
|
-
description: string;
|
675
|
-
defaultMessage: string;
|
676
|
-
}>;
|
677
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
678
|
-
}, "strip", z.ZodTypeAny, {
|
679
|
-
title: TranslationConfig;
|
680
|
-
fields: import("./FieldConfig").Inferred[];
|
681
|
-
}, {
|
682
|
-
title: {
|
683
|
-
id: string;
|
684
|
-
description: string;
|
685
|
-
defaultMessage: string;
|
686
|
-
};
|
687
|
-
fields: import("./FieldConfig").Inferred[];
|
688
|
-
}>;
|
192
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
689
193
|
}, "strip", z.ZodTypeAny, {
|
690
|
-
|
691
|
-
|
194
|
+
title: TranslationConfig;
|
195
|
+
fields: import("./FieldConfig").Inferred[];
|
196
|
+
}, {
|
197
|
+
title: {
|
692
198
|
id: string;
|
693
|
-
|
199
|
+
description: string;
|
200
|
+
defaultMessage: string;
|
694
201
|
};
|
695
|
-
|
696
|
-
|
697
|
-
id: string;
|
698
|
-
title: TranslationConfig;
|
699
|
-
fields: import("./FieldConfig").Inferred[];
|
700
|
-
type?: "FORM" | undefined;
|
701
|
-
} | {
|
702
|
-
type: "VERIFICATION";
|
703
|
-
id: string;
|
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
|
-
};
|
717
|
-
fields: import("./FieldConfig").Inferred[];
|
718
|
-
})[];
|
719
|
-
review: {
|
720
|
-
title: TranslationConfig;
|
721
|
-
fields: import("./FieldConfig").Inferred[];
|
722
|
-
};
|
723
|
-
}, {
|
724
|
-
version: {
|
725
|
-
id: string;
|
726
|
-
label: {
|
727
|
-
id: string;
|
728
|
-
description: string;
|
729
|
-
defaultMessage: string;
|
730
|
-
};
|
731
|
-
};
|
732
|
-
label: {
|
733
|
-
id: string;
|
734
|
-
description: string;
|
735
|
-
defaultMessage: string;
|
736
|
-
};
|
737
|
-
pages: ({
|
738
|
-
id: string;
|
739
|
-
title: {
|
740
|
-
id: string;
|
741
|
-
description: string;
|
742
|
-
defaultMessage: string;
|
743
|
-
};
|
744
|
-
fields: import("./FieldConfig").Inferred[];
|
745
|
-
type?: "FORM" | undefined;
|
746
|
-
} | {
|
747
|
-
type: "VERIFICATION";
|
748
|
-
id: string;
|
749
|
-
title: {
|
750
|
-
id: string;
|
751
|
-
description: string;
|
752
|
-
defaultMessage: string;
|
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
|
-
};
|
782
|
-
fields: import("./FieldConfig").Inferred[];
|
783
|
-
})[];
|
784
|
-
review: {
|
785
|
-
title: {
|
786
|
-
id: string;
|
787
|
-
description: string;
|
788
|
-
defaultMessage: string;
|
789
|
-
};
|
790
|
-
fields: import("./FieldConfig").Inferred[];
|
791
|
-
};
|
792
|
-
active?: boolean | undefined;
|
793
|
-
}>, "many">;
|
794
|
-
}, {
|
795
|
-
type: z.ZodLiteral<"VALIDATE">;
|
202
|
+
fields: import("./FieldConfig").InferredInput[];
|
203
|
+
}>;
|
796
204
|
}>, "strip", z.ZodTypeAny, {
|
797
205
|
type: "VALIDATE";
|
798
206
|
conditionals: ({
|
@@ -803,41 +211,10 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
803
211
|
conditional: import(".").JSONSchema;
|
804
212
|
})[];
|
805
213
|
label: TranslationConfig;
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
label: TranslationConfig;
|
811
|
-
};
|
812
|
-
label: TranslationConfig;
|
813
|
-
pages: ({
|
814
|
-
id: string;
|
815
|
-
title: TranslationConfig;
|
816
|
-
fields: import("./FieldConfig").Inferred[];
|
817
|
-
type?: "FORM" | undefined;
|
818
|
-
} | {
|
819
|
-
type: "VERIFICATION";
|
820
|
-
id: string;
|
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
|
-
};
|
834
|
-
fields: import("./FieldConfig").Inferred[];
|
835
|
-
})[];
|
836
|
-
review: {
|
837
|
-
title: TranslationConfig;
|
838
|
-
fields: import("./FieldConfig").Inferred[];
|
839
|
-
};
|
840
|
-
}[];
|
214
|
+
review: {
|
215
|
+
title: TranslationConfig;
|
216
|
+
fields: import("./FieldConfig").Inferred[];
|
217
|
+
};
|
841
218
|
draft?: boolean | undefined;
|
842
219
|
}, {
|
843
220
|
type: "VALIDATE";
|
@@ -846,77 +223,14 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
846
223
|
description: string;
|
847
224
|
defaultMessage: string;
|
848
225
|
};
|
849
|
-
|
850
|
-
|
851
|
-
id: string;
|
852
|
-
label: {
|
853
|
-
id: string;
|
854
|
-
description: string;
|
855
|
-
defaultMessage: string;
|
856
|
-
};
|
857
|
-
};
|
858
|
-
label: {
|
226
|
+
review: {
|
227
|
+
title: {
|
859
228
|
id: string;
|
860
229
|
description: string;
|
861
230
|
defaultMessage: string;
|
862
231
|
};
|
863
|
-
|
864
|
-
|
865
|
-
title: {
|
866
|
-
id: string;
|
867
|
-
description: string;
|
868
|
-
defaultMessage: string;
|
869
|
-
};
|
870
|
-
fields: import("./FieldConfig").Inferred[];
|
871
|
-
type?: "FORM" | undefined;
|
872
|
-
} | {
|
873
|
-
type: "VERIFICATION";
|
874
|
-
id: string;
|
875
|
-
title: {
|
876
|
-
id: string;
|
877
|
-
description: string;
|
878
|
-
defaultMessage: string;
|
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
|
-
};
|
908
|
-
fields: import("./FieldConfig").Inferred[];
|
909
|
-
})[];
|
910
|
-
review: {
|
911
|
-
title: {
|
912
|
-
id: string;
|
913
|
-
description: string;
|
914
|
-
defaultMessage: string;
|
915
|
-
};
|
916
|
-
fields: import("./FieldConfig").Inferred[];
|
917
|
-
};
|
918
|
-
active?: boolean | undefined;
|
919
|
-
}[];
|
232
|
+
fields: import("./FieldConfig").InferredInput[];
|
233
|
+
};
|
920
234
|
draft?: boolean | undefined;
|
921
235
|
conditionals?: ({
|
922
236
|
type: "SHOW";
|
@@ -926,7 +240,7 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
926
240
|
conditional: import(".").JSONSchema;
|
927
241
|
})[] | undefined;
|
928
242
|
}>;
|
929
|
-
declare const
|
243
|
+
declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
930
244
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
931
245
|
id: string;
|
932
246
|
description: string;
|
@@ -952,162 +266,95 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
952
266
|
conditional: import(".").JSONSchema;
|
953
267
|
}>]>, "many">>>;
|
954
268
|
draft: z.ZodOptional<z.ZodBoolean>;
|
955
|
-
|
956
|
-
|
269
|
+
}, {
|
270
|
+
type: z.ZodLiteral<"REGISTER">;
|
271
|
+
review: z.ZodObject<{
|
272
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
957
273
|
id: string;
|
958
274
|
description: string;
|
959
275
|
defaultMessage: string;
|
960
276
|
}>;
|
961
|
-
|
962
|
-
id: z.ZodString;
|
963
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
964
|
-
id: string;
|
965
|
-
description: string;
|
966
|
-
defaultMessage: string;
|
967
|
-
}>;
|
968
|
-
}, "strip", z.ZodTypeAny, {
|
969
|
-
id: string;
|
970
|
-
label: TranslationConfig;
|
971
|
-
}, {
|
972
|
-
id: string;
|
973
|
-
label: {
|
974
|
-
id: string;
|
975
|
-
description: string;
|
976
|
-
defaultMessage: string;
|
977
|
-
};
|
978
|
-
}>;
|
979
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
980
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
981
|
-
review: z.ZodObject<{
|
982
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
983
|
-
id: string;
|
984
|
-
description: string;
|
985
|
-
defaultMessage: string;
|
986
|
-
}>;
|
987
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
988
|
-
}, "strip", z.ZodTypeAny, {
|
989
|
-
title: TranslationConfig;
|
990
|
-
fields: import("./FieldConfig").Inferred[];
|
991
|
-
}, {
|
992
|
-
title: {
|
993
|
-
id: string;
|
994
|
-
description: string;
|
995
|
-
defaultMessage: string;
|
996
|
-
};
|
997
|
-
fields: import("./FieldConfig").Inferred[];
|
998
|
-
}>;
|
277
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
999
278
|
}, "strip", z.ZodTypeAny, {
|
1000
|
-
|
1001
|
-
|
279
|
+
title: TranslationConfig;
|
280
|
+
fields: import("./FieldConfig").Inferred[];
|
281
|
+
}, {
|
282
|
+
title: {
|
1002
283
|
id: string;
|
1003
|
-
|
284
|
+
description: string;
|
285
|
+
defaultMessage: string;
|
1004
286
|
};
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
fields: import("./FieldConfig").Inferred[];
|
1032
|
-
};
|
1033
|
-
}, {
|
1034
|
-
version: {
|
1035
|
-
id: string;
|
1036
|
-
label: {
|
1037
|
-
id: string;
|
1038
|
-
description: string;
|
1039
|
-
defaultMessage: string;
|
1040
|
-
};
|
1041
|
-
};
|
1042
|
-
label: {
|
287
|
+
fields: import("./FieldConfig").InferredInput[];
|
288
|
+
}>;
|
289
|
+
}>, "strip", z.ZodTypeAny, {
|
290
|
+
type: "REGISTER";
|
291
|
+
conditionals: ({
|
292
|
+
type: "SHOW";
|
293
|
+
conditional: import(".").JSONSchema;
|
294
|
+
} | {
|
295
|
+
type: "ENABLE";
|
296
|
+
conditional: import(".").JSONSchema;
|
297
|
+
})[];
|
298
|
+
label: TranslationConfig;
|
299
|
+
review: {
|
300
|
+
title: TranslationConfig;
|
301
|
+
fields: import("./FieldConfig").Inferred[];
|
302
|
+
};
|
303
|
+
draft?: boolean | undefined;
|
304
|
+
}, {
|
305
|
+
type: "REGISTER";
|
306
|
+
label: {
|
307
|
+
id: string;
|
308
|
+
description: string;
|
309
|
+
defaultMessage: string;
|
310
|
+
};
|
311
|
+
review: {
|
312
|
+
title: {
|
1043
313
|
id: string;
|
1044
314
|
description: string;
|
1045
315
|
defaultMessage: string;
|
1046
316
|
};
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
body: {
|
1085
|
-
id: string;
|
1086
|
-
description: string;
|
1087
|
-
defaultMessage: string;
|
1088
|
-
};
|
1089
|
-
};
|
1090
|
-
};
|
1091
|
-
};
|
1092
|
-
fields: import("./FieldConfig").Inferred[];
|
1093
|
-
})[];
|
1094
|
-
review: {
|
1095
|
-
title: {
|
1096
|
-
id: string;
|
1097
|
-
description: string;
|
1098
|
-
defaultMessage: string;
|
1099
|
-
};
|
1100
|
-
fields: import("./FieldConfig").Inferred[];
|
1101
|
-
};
|
1102
|
-
active?: boolean | undefined;
|
1103
|
-
}>, "many">;
|
317
|
+
fields: import("./FieldConfig").InferredInput[];
|
318
|
+
};
|
319
|
+
draft?: boolean | undefined;
|
320
|
+
conditionals?: ({
|
321
|
+
type: "SHOW";
|
322
|
+
conditional: import(".").JSONSchema;
|
323
|
+
} | {
|
324
|
+
type: "ENABLE";
|
325
|
+
conditional: import(".").JSONSchema;
|
326
|
+
})[] | undefined;
|
327
|
+
}>;
|
328
|
+
declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
329
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
330
|
+
id: string;
|
331
|
+
description: string;
|
332
|
+
defaultMessage: string;
|
333
|
+
}>;
|
334
|
+
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
335
|
+
type: z.ZodLiteral<"SHOW">;
|
336
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
338
|
+
type: "SHOW";
|
339
|
+
conditional: import(".").JSONSchema;
|
340
|
+
}, {
|
341
|
+
type: "SHOW";
|
342
|
+
conditional: import(".").JSONSchema;
|
343
|
+
}>, z.ZodObject<{
|
344
|
+
type: z.ZodLiteral<"ENABLE">;
|
345
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
347
|
+
type: "ENABLE";
|
348
|
+
conditional: import(".").JSONSchema;
|
349
|
+
}, {
|
350
|
+
type: "ENABLE";
|
351
|
+
conditional: import(".").JSONSchema;
|
352
|
+
}>]>, "many">>>;
|
353
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
1104
354
|
}, {
|
1105
355
|
type: z.ZodLiteral<"REJECT">;
|
1106
|
-
comment: z.ZodString;
|
1107
|
-
isDuplicate: z.ZodBoolean;
|
1108
356
|
}>, "strip", z.ZodTypeAny, {
|
1109
357
|
type: "REJECT";
|
1110
|
-
comment: string;
|
1111
358
|
conditionals: ({
|
1112
359
|
type: "SHOW";
|
1113
360
|
conditional: import(".").JSONSchema;
|
@@ -1116,123 +363,14 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1116
363
|
conditional: import(".").JSONSchema;
|
1117
364
|
})[];
|
1118
365
|
label: TranslationConfig;
|
1119
|
-
forms: {
|
1120
|
-
active: boolean;
|
1121
|
-
version: {
|
1122
|
-
id: string;
|
1123
|
-
label: TranslationConfig;
|
1124
|
-
};
|
1125
|
-
label: TranslationConfig;
|
1126
|
-
pages: ({
|
1127
|
-
id: string;
|
1128
|
-
title: TranslationConfig;
|
1129
|
-
fields: import("./FieldConfig").Inferred[];
|
1130
|
-
type?: "FORM" | undefined;
|
1131
|
-
} | {
|
1132
|
-
type: "VERIFICATION";
|
1133
|
-
id: string;
|
1134
|
-
title: TranslationConfig;
|
1135
|
-
actions: {
|
1136
|
-
verify: {
|
1137
|
-
label: TranslationConfig;
|
1138
|
-
};
|
1139
|
-
cancel: {
|
1140
|
-
label: TranslationConfig;
|
1141
|
-
confirmation: {
|
1142
|
-
title: TranslationConfig;
|
1143
|
-
body: TranslationConfig;
|
1144
|
-
};
|
1145
|
-
};
|
1146
|
-
};
|
1147
|
-
fields: import("./FieldConfig").Inferred[];
|
1148
|
-
})[];
|
1149
|
-
review: {
|
1150
|
-
title: TranslationConfig;
|
1151
|
-
fields: import("./FieldConfig").Inferred[];
|
1152
|
-
};
|
1153
|
-
}[];
|
1154
|
-
isDuplicate: boolean;
|
1155
366
|
draft?: boolean | undefined;
|
1156
367
|
}, {
|
1157
368
|
type: "REJECT";
|
1158
|
-
comment: string;
|
1159
369
|
label: {
|
1160
370
|
id: string;
|
1161
371
|
description: string;
|
1162
372
|
defaultMessage: string;
|
1163
373
|
};
|
1164
|
-
forms: {
|
1165
|
-
version: {
|
1166
|
-
id: string;
|
1167
|
-
label: {
|
1168
|
-
id: string;
|
1169
|
-
description: string;
|
1170
|
-
defaultMessage: string;
|
1171
|
-
};
|
1172
|
-
};
|
1173
|
-
label: {
|
1174
|
-
id: string;
|
1175
|
-
description: string;
|
1176
|
-
defaultMessage: string;
|
1177
|
-
};
|
1178
|
-
pages: ({
|
1179
|
-
id: string;
|
1180
|
-
title: {
|
1181
|
-
id: string;
|
1182
|
-
description: string;
|
1183
|
-
defaultMessage: string;
|
1184
|
-
};
|
1185
|
-
fields: import("./FieldConfig").Inferred[];
|
1186
|
-
type?: "FORM" | undefined;
|
1187
|
-
} | {
|
1188
|
-
type: "VERIFICATION";
|
1189
|
-
id: string;
|
1190
|
-
title: {
|
1191
|
-
id: string;
|
1192
|
-
description: string;
|
1193
|
-
defaultMessage: string;
|
1194
|
-
};
|
1195
|
-
actions: {
|
1196
|
-
verify: {
|
1197
|
-
label: {
|
1198
|
-
id: string;
|
1199
|
-
description: string;
|
1200
|
-
defaultMessage: string;
|
1201
|
-
};
|
1202
|
-
};
|
1203
|
-
cancel: {
|
1204
|
-
label: {
|
1205
|
-
id: string;
|
1206
|
-
description: string;
|
1207
|
-
defaultMessage: string;
|
1208
|
-
};
|
1209
|
-
confirmation: {
|
1210
|
-
title: {
|
1211
|
-
id: string;
|
1212
|
-
description: string;
|
1213
|
-
defaultMessage: string;
|
1214
|
-
};
|
1215
|
-
body: {
|
1216
|
-
id: string;
|
1217
|
-
description: string;
|
1218
|
-
defaultMessage: string;
|
1219
|
-
};
|
1220
|
-
};
|
1221
|
-
};
|
1222
|
-
};
|
1223
|
-
fields: import("./FieldConfig").Inferred[];
|
1224
|
-
})[];
|
1225
|
-
review: {
|
1226
|
-
title: {
|
1227
|
-
id: string;
|
1228
|
-
description: string;
|
1229
|
-
defaultMessage: string;
|
1230
|
-
};
|
1231
|
-
fields: import("./FieldConfig").Inferred[];
|
1232
|
-
};
|
1233
|
-
active?: boolean | undefined;
|
1234
|
-
}[];
|
1235
|
-
isDuplicate: boolean;
|
1236
374
|
draft?: boolean | undefined;
|
1237
375
|
conditionals?: ({
|
1238
376
|
type: "SHOW";
|
@@ -1268,162 +406,10 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1268
406
|
conditional: import(".").JSONSchema;
|
1269
407
|
}>]>, "many">>>;
|
1270
408
|
draft: z.ZodOptional<z.ZodBoolean>;
|
1271
|
-
forms: z.ZodArray<z.ZodObject<{
|
1272
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1273
|
-
id: string;
|
1274
|
-
description: string;
|
1275
|
-
defaultMessage: string;
|
1276
|
-
}>;
|
1277
|
-
version: z.ZodObject<{
|
1278
|
-
id: z.ZodString;
|
1279
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1280
|
-
id: string;
|
1281
|
-
description: string;
|
1282
|
-
defaultMessage: string;
|
1283
|
-
}>;
|
1284
|
-
}, "strip", z.ZodTypeAny, {
|
1285
|
-
id: string;
|
1286
|
-
label: TranslationConfig;
|
1287
|
-
}, {
|
1288
|
-
id: string;
|
1289
|
-
label: {
|
1290
|
-
id: string;
|
1291
|
-
description: string;
|
1292
|
-
defaultMessage: string;
|
1293
|
-
};
|
1294
|
-
}>;
|
1295
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
1296
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
1297
|
-
review: z.ZodObject<{
|
1298
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1299
|
-
id: string;
|
1300
|
-
description: string;
|
1301
|
-
defaultMessage: string;
|
1302
|
-
}>;
|
1303
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
1304
|
-
}, "strip", z.ZodTypeAny, {
|
1305
|
-
title: TranslationConfig;
|
1306
|
-
fields: import("./FieldConfig").Inferred[];
|
1307
|
-
}, {
|
1308
|
-
title: {
|
1309
|
-
id: string;
|
1310
|
-
description: string;
|
1311
|
-
defaultMessage: string;
|
1312
|
-
};
|
1313
|
-
fields: import("./FieldConfig").Inferred[];
|
1314
|
-
}>;
|
1315
|
-
}, "strip", z.ZodTypeAny, {
|
1316
|
-
active: boolean;
|
1317
|
-
version: {
|
1318
|
-
id: string;
|
1319
|
-
label: TranslationConfig;
|
1320
|
-
};
|
1321
|
-
label: TranslationConfig;
|
1322
|
-
pages: ({
|
1323
|
-
id: string;
|
1324
|
-
title: TranslationConfig;
|
1325
|
-
fields: import("./FieldConfig").Inferred[];
|
1326
|
-
type?: "FORM" | undefined;
|
1327
|
-
} | {
|
1328
|
-
type: "VERIFICATION";
|
1329
|
-
id: string;
|
1330
|
-
title: TranslationConfig;
|
1331
|
-
actions: {
|
1332
|
-
verify: {
|
1333
|
-
label: TranslationConfig;
|
1334
|
-
};
|
1335
|
-
cancel: {
|
1336
|
-
label: TranslationConfig;
|
1337
|
-
confirmation: {
|
1338
|
-
title: TranslationConfig;
|
1339
|
-
body: TranslationConfig;
|
1340
|
-
};
|
1341
|
-
};
|
1342
|
-
};
|
1343
|
-
fields: import("./FieldConfig").Inferred[];
|
1344
|
-
})[];
|
1345
|
-
review: {
|
1346
|
-
title: TranslationConfig;
|
1347
|
-
fields: import("./FieldConfig").Inferred[];
|
1348
|
-
};
|
1349
|
-
}, {
|
1350
|
-
version: {
|
1351
|
-
id: string;
|
1352
|
-
label: {
|
1353
|
-
id: string;
|
1354
|
-
description: string;
|
1355
|
-
defaultMessage: string;
|
1356
|
-
};
|
1357
|
-
};
|
1358
|
-
label: {
|
1359
|
-
id: string;
|
1360
|
-
description: string;
|
1361
|
-
defaultMessage: string;
|
1362
|
-
};
|
1363
|
-
pages: ({
|
1364
|
-
id: string;
|
1365
|
-
title: {
|
1366
|
-
id: string;
|
1367
|
-
description: string;
|
1368
|
-
defaultMessage: string;
|
1369
|
-
};
|
1370
|
-
fields: import("./FieldConfig").Inferred[];
|
1371
|
-
type?: "FORM" | undefined;
|
1372
|
-
} | {
|
1373
|
-
type: "VERIFICATION";
|
1374
|
-
id: string;
|
1375
|
-
title: {
|
1376
|
-
id: string;
|
1377
|
-
description: string;
|
1378
|
-
defaultMessage: string;
|
1379
|
-
};
|
1380
|
-
actions: {
|
1381
|
-
verify: {
|
1382
|
-
label: {
|
1383
|
-
id: string;
|
1384
|
-
description: string;
|
1385
|
-
defaultMessage: string;
|
1386
|
-
};
|
1387
|
-
};
|
1388
|
-
cancel: {
|
1389
|
-
label: {
|
1390
|
-
id: string;
|
1391
|
-
description: string;
|
1392
|
-
defaultMessage: string;
|
1393
|
-
};
|
1394
|
-
confirmation: {
|
1395
|
-
title: {
|
1396
|
-
id: string;
|
1397
|
-
description: string;
|
1398
|
-
defaultMessage: string;
|
1399
|
-
};
|
1400
|
-
body: {
|
1401
|
-
id: string;
|
1402
|
-
description: string;
|
1403
|
-
defaultMessage: string;
|
1404
|
-
};
|
1405
|
-
};
|
1406
|
-
};
|
1407
|
-
};
|
1408
|
-
fields: import("./FieldConfig").Inferred[];
|
1409
|
-
})[];
|
1410
|
-
review: {
|
1411
|
-
title: {
|
1412
|
-
id: string;
|
1413
|
-
description: string;
|
1414
|
-
defaultMessage: string;
|
1415
|
-
};
|
1416
|
-
fields: import("./FieldConfig").Inferred[];
|
1417
|
-
};
|
1418
|
-
active?: boolean | undefined;
|
1419
|
-
}>, "many">;
|
1420
409
|
}, {
|
1421
410
|
type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
|
1422
|
-
comment: z.ZodString;
|
1423
|
-
duplicates: z.ZodArray<z.ZodString, "many">;
|
1424
411
|
}>, "strip", z.ZodTypeAny, {
|
1425
412
|
type: "MARKED_AS_DUPLICATE";
|
1426
|
-
comment: string;
|
1427
413
|
conditionals: ({
|
1428
414
|
type: "SHOW";
|
1429
415
|
conditional: import(".").JSONSchema;
|
@@ -1432,123 +418,14 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1432
418
|
conditional: import(".").JSONSchema;
|
1433
419
|
})[];
|
1434
420
|
label: TranslationConfig;
|
1435
|
-
forms: {
|
1436
|
-
active: boolean;
|
1437
|
-
version: {
|
1438
|
-
id: string;
|
1439
|
-
label: TranslationConfig;
|
1440
|
-
};
|
1441
|
-
label: TranslationConfig;
|
1442
|
-
pages: ({
|
1443
|
-
id: string;
|
1444
|
-
title: TranslationConfig;
|
1445
|
-
fields: import("./FieldConfig").Inferred[];
|
1446
|
-
type?: "FORM" | undefined;
|
1447
|
-
} | {
|
1448
|
-
type: "VERIFICATION";
|
1449
|
-
id: string;
|
1450
|
-
title: TranslationConfig;
|
1451
|
-
actions: {
|
1452
|
-
verify: {
|
1453
|
-
label: TranslationConfig;
|
1454
|
-
};
|
1455
|
-
cancel: {
|
1456
|
-
label: TranslationConfig;
|
1457
|
-
confirmation: {
|
1458
|
-
title: TranslationConfig;
|
1459
|
-
body: TranslationConfig;
|
1460
|
-
};
|
1461
|
-
};
|
1462
|
-
};
|
1463
|
-
fields: import("./FieldConfig").Inferred[];
|
1464
|
-
})[];
|
1465
|
-
review: {
|
1466
|
-
title: TranslationConfig;
|
1467
|
-
fields: import("./FieldConfig").Inferred[];
|
1468
|
-
};
|
1469
|
-
}[];
|
1470
|
-
duplicates: string[];
|
1471
421
|
draft?: boolean | undefined;
|
1472
422
|
}, {
|
1473
423
|
type: "MARKED_AS_DUPLICATE";
|
1474
|
-
comment: string;
|
1475
424
|
label: {
|
1476
425
|
id: string;
|
1477
426
|
description: string;
|
1478
427
|
defaultMessage: string;
|
1479
428
|
};
|
1480
|
-
forms: {
|
1481
|
-
version: {
|
1482
|
-
id: string;
|
1483
|
-
label: {
|
1484
|
-
id: string;
|
1485
|
-
description: string;
|
1486
|
-
defaultMessage: string;
|
1487
|
-
};
|
1488
|
-
};
|
1489
|
-
label: {
|
1490
|
-
id: string;
|
1491
|
-
description: string;
|
1492
|
-
defaultMessage: string;
|
1493
|
-
};
|
1494
|
-
pages: ({
|
1495
|
-
id: string;
|
1496
|
-
title: {
|
1497
|
-
id: string;
|
1498
|
-
description: string;
|
1499
|
-
defaultMessage: string;
|
1500
|
-
};
|
1501
|
-
fields: import("./FieldConfig").Inferred[];
|
1502
|
-
type?: "FORM" | undefined;
|
1503
|
-
} | {
|
1504
|
-
type: "VERIFICATION";
|
1505
|
-
id: string;
|
1506
|
-
title: {
|
1507
|
-
id: string;
|
1508
|
-
description: string;
|
1509
|
-
defaultMessage: string;
|
1510
|
-
};
|
1511
|
-
actions: {
|
1512
|
-
verify: {
|
1513
|
-
label: {
|
1514
|
-
id: string;
|
1515
|
-
description: string;
|
1516
|
-
defaultMessage: string;
|
1517
|
-
};
|
1518
|
-
};
|
1519
|
-
cancel: {
|
1520
|
-
label: {
|
1521
|
-
id: string;
|
1522
|
-
description: string;
|
1523
|
-
defaultMessage: string;
|
1524
|
-
};
|
1525
|
-
confirmation: {
|
1526
|
-
title: {
|
1527
|
-
id: string;
|
1528
|
-
description: string;
|
1529
|
-
defaultMessage: string;
|
1530
|
-
};
|
1531
|
-
body: {
|
1532
|
-
id: string;
|
1533
|
-
description: string;
|
1534
|
-
defaultMessage: string;
|
1535
|
-
};
|
1536
|
-
};
|
1537
|
-
};
|
1538
|
-
};
|
1539
|
-
fields: import("./FieldConfig").Inferred[];
|
1540
|
-
})[];
|
1541
|
-
review: {
|
1542
|
-
title: {
|
1543
|
-
id: string;
|
1544
|
-
description: string;
|
1545
|
-
defaultMessage: string;
|
1546
|
-
};
|
1547
|
-
fields: import("./FieldConfig").Inferred[];
|
1548
|
-
};
|
1549
|
-
active?: boolean | undefined;
|
1550
|
-
}[];
|
1551
|
-
duplicates: string[];
|
1552
429
|
draft?: boolean | undefined;
|
1553
430
|
conditionals?: ({
|
1554
431
|
type: "SHOW";
|
@@ -1558,7 +435,7 @@ declare const MarkedAsDuplicateConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1558
435
|
conditional: import(".").JSONSchema;
|
1559
436
|
})[] | undefined;
|
1560
437
|
}>;
|
1561
|
-
declare const
|
438
|
+
declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1562
439
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1563
440
|
id: string;
|
1564
441
|
description: string;
|
@@ -1584,116 +461,249 @@ declare const ArchivedConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1584
461
|
conditional: import(".").JSONSchema;
|
1585
462
|
}>]>, "many">>>;
|
1586
463
|
draft: z.ZodOptional<z.ZodBoolean>;
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1613
|
-
|
1614
|
-
|
1615
|
-
|
1616
|
-
|
1617
|
-
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
|
1622
|
-
|
1623
|
-
|
1624
|
-
|
1625
|
-
id: string;
|
1626
|
-
description: string;
|
1627
|
-
defaultMessage: string;
|
1628
|
-
};
|
1629
|
-
fields: import("./FieldConfig").Inferred[];
|
1630
|
-
}>;
|
464
|
+
}, {
|
465
|
+
type: z.ZodLiteral<"ARCHIVE">;
|
466
|
+
}>, "strip", z.ZodTypeAny, {
|
467
|
+
type: "ARCHIVE";
|
468
|
+
conditionals: ({
|
469
|
+
type: "SHOW";
|
470
|
+
conditional: import(".").JSONSchema;
|
471
|
+
} | {
|
472
|
+
type: "ENABLE";
|
473
|
+
conditional: import(".").JSONSchema;
|
474
|
+
})[];
|
475
|
+
label: TranslationConfig;
|
476
|
+
draft?: boolean | undefined;
|
477
|
+
}, {
|
478
|
+
type: "ARCHIVE";
|
479
|
+
label: {
|
480
|
+
id: string;
|
481
|
+
description: string;
|
482
|
+
defaultMessage: string;
|
483
|
+
};
|
484
|
+
draft?: boolean | undefined;
|
485
|
+
conditionals?: ({
|
486
|
+
type: "SHOW";
|
487
|
+
conditional: import(".").JSONSchema;
|
488
|
+
} | {
|
489
|
+
type: "ENABLE";
|
490
|
+
conditional: import(".").JSONSchema;
|
491
|
+
})[] | undefined;
|
492
|
+
}>;
|
493
|
+
declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
494
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
495
|
+
id: string;
|
496
|
+
description: string;
|
497
|
+
defaultMessage: string;
|
498
|
+
}>;
|
499
|
+
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
500
|
+
type: z.ZodLiteral<"SHOW">;
|
501
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1631
502
|
}, "strip", z.ZodTypeAny, {
|
1632
|
-
|
1633
|
-
|
1634
|
-
|
1635
|
-
|
1636
|
-
|
1637
|
-
|
1638
|
-
|
1639
|
-
|
1640
|
-
|
1641
|
-
|
1642
|
-
|
1643
|
-
|
1644
|
-
|
1645
|
-
|
1646
|
-
|
1647
|
-
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1664
|
-
|
503
|
+
type: "SHOW";
|
504
|
+
conditional: import(".").JSONSchema;
|
505
|
+
}, {
|
506
|
+
type: "SHOW";
|
507
|
+
conditional: import(".").JSONSchema;
|
508
|
+
}>, z.ZodObject<{
|
509
|
+
type: z.ZodLiteral<"ENABLE">;
|
510
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
512
|
+
type: "ENABLE";
|
513
|
+
conditional: import(".").JSONSchema;
|
514
|
+
}, {
|
515
|
+
type: "ENABLE";
|
516
|
+
conditional: import(".").JSONSchema;
|
517
|
+
}>]>, "many">>>;
|
518
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
519
|
+
}, {
|
520
|
+
type: z.ZodLiteral<"DELETE">;
|
521
|
+
}>, "strip", z.ZodTypeAny, {
|
522
|
+
type: "DELETE";
|
523
|
+
conditionals: ({
|
524
|
+
type: "SHOW";
|
525
|
+
conditional: import(".").JSONSchema;
|
526
|
+
} | {
|
527
|
+
type: "ENABLE";
|
528
|
+
conditional: import(".").JSONSchema;
|
529
|
+
})[];
|
530
|
+
label: TranslationConfig;
|
531
|
+
draft?: boolean | undefined;
|
532
|
+
}, {
|
533
|
+
type: "DELETE";
|
534
|
+
label: {
|
535
|
+
id: string;
|
536
|
+
description: string;
|
537
|
+
defaultMessage: string;
|
538
|
+
};
|
539
|
+
draft?: boolean | undefined;
|
540
|
+
conditionals?: ({
|
541
|
+
type: "SHOW";
|
542
|
+
conditional: import(".").JSONSchema;
|
543
|
+
} | {
|
544
|
+
type: "ENABLE";
|
545
|
+
conditional: import(".").JSONSchema;
|
546
|
+
})[] | undefined;
|
547
|
+
}>;
|
548
|
+
declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
549
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
550
|
+
id: string;
|
551
|
+
description: string;
|
552
|
+
defaultMessage: string;
|
553
|
+
}>;
|
554
|
+
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
555
|
+
type: z.ZodLiteral<"SHOW">;
|
556
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
557
|
+
}, "strip", z.ZodTypeAny, {
|
558
|
+
type: "SHOW";
|
559
|
+
conditional: import(".").JSONSchema;
|
560
|
+
}, {
|
561
|
+
type: "SHOW";
|
562
|
+
conditional: import(".").JSONSchema;
|
563
|
+
}>, z.ZodObject<{
|
564
|
+
type: z.ZodLiteral<"ENABLE">;
|
565
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
566
|
+
}, "strip", z.ZodTypeAny, {
|
567
|
+
type: "ENABLE";
|
568
|
+
conditional: import(".").JSONSchema;
|
1665
569
|
}, {
|
1666
|
-
|
570
|
+
type: "ENABLE";
|
571
|
+
conditional: import(".").JSONSchema;
|
572
|
+
}>]>, "many">>>;
|
573
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
574
|
+
}, {
|
575
|
+
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
576
|
+
printForm: z.ZodObject<{
|
577
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1667
578
|
id: string;
|
1668
|
-
|
579
|
+
description: string;
|
580
|
+
defaultMessage: string;
|
581
|
+
}>;
|
582
|
+
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", (z.ZodObject<z.objectUtil.extendShape<{
|
583
|
+
id: z.ZodString;
|
584
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1669
585
|
id: string;
|
1670
586
|
description: string;
|
1671
587
|
defaultMessage: string;
|
1672
|
-
}
|
1673
|
-
|
1674
|
-
|
588
|
+
}>;
|
589
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
590
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
591
|
+
}, {
|
592
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
593
|
+
}>, "strip", z.ZodTypeAny, {
|
594
|
+
type: "FORM";
|
1675
595
|
id: string;
|
1676
|
-
|
1677
|
-
|
1678
|
-
|
1679
|
-
|
596
|
+
title: TranslationConfig;
|
597
|
+
fields: import("./FieldConfig").Inferred[];
|
598
|
+
conditional?: import(".").JSONSchema | undefined;
|
599
|
+
}, {
|
1680
600
|
id: string;
|
1681
601
|
title: {
|
1682
602
|
id: string;
|
1683
603
|
description: string;
|
1684
604
|
defaultMessage: string;
|
1685
605
|
};
|
1686
|
-
fields: import("./FieldConfig").
|
606
|
+
fields: import("./FieldConfig").InferredInput[];
|
1687
607
|
type?: "FORM" | undefined;
|
1688
|
-
|
1689
|
-
|
1690
|
-
id:
|
1691
|
-
title: {
|
608
|
+
conditional?: import(".").JSONSchema | undefined;
|
609
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
610
|
+
id: z.ZodString;
|
611
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1692
612
|
id: string;
|
1693
613
|
description: string;
|
1694
614
|
defaultMessage: string;
|
1695
|
-
}
|
1696
|
-
|
615
|
+
}>;
|
616
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
617
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
618
|
+
}, {
|
619
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
620
|
+
}>, {
|
621
|
+
type: z.ZodLiteral<"VERIFICATION">;
|
622
|
+
actions: z.ZodObject<{
|
623
|
+
verify: z.ZodObject<{
|
624
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
625
|
+
id: string;
|
626
|
+
description: string;
|
627
|
+
defaultMessage: string;
|
628
|
+
}>;
|
629
|
+
}, "strip", z.ZodTypeAny, {
|
630
|
+
label: TranslationConfig;
|
631
|
+
}, {
|
632
|
+
label: {
|
633
|
+
id: string;
|
634
|
+
description: string;
|
635
|
+
defaultMessage: string;
|
636
|
+
};
|
637
|
+
}>;
|
638
|
+
cancel: z.ZodObject<{
|
639
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
640
|
+
id: string;
|
641
|
+
description: string;
|
642
|
+
defaultMessage: string;
|
643
|
+
}>;
|
644
|
+
confirmation: z.ZodObject<{
|
645
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
646
|
+
id: string;
|
647
|
+
description: string;
|
648
|
+
defaultMessage: string;
|
649
|
+
}>;
|
650
|
+
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
651
|
+
id: string;
|
652
|
+
description: string;
|
653
|
+
defaultMessage: string;
|
654
|
+
}>;
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
656
|
+
title: TranslationConfig;
|
657
|
+
body: TranslationConfig;
|
658
|
+
}, {
|
659
|
+
title: {
|
660
|
+
id: string;
|
661
|
+
description: string;
|
662
|
+
defaultMessage: string;
|
663
|
+
};
|
664
|
+
body: {
|
665
|
+
id: string;
|
666
|
+
description: string;
|
667
|
+
defaultMessage: string;
|
668
|
+
};
|
669
|
+
}>;
|
670
|
+
}, "strip", z.ZodTypeAny, {
|
671
|
+
label: TranslationConfig;
|
672
|
+
confirmation: {
|
673
|
+
title: TranslationConfig;
|
674
|
+
body: TranslationConfig;
|
675
|
+
};
|
676
|
+
}, {
|
677
|
+
label: {
|
678
|
+
id: string;
|
679
|
+
description: string;
|
680
|
+
defaultMessage: string;
|
681
|
+
};
|
682
|
+
confirmation: {
|
683
|
+
title: {
|
684
|
+
id: string;
|
685
|
+
description: string;
|
686
|
+
defaultMessage: string;
|
687
|
+
};
|
688
|
+
body: {
|
689
|
+
id: string;
|
690
|
+
description: string;
|
691
|
+
defaultMessage: string;
|
692
|
+
};
|
693
|
+
};
|
694
|
+
}>;
|
695
|
+
}, "strip", z.ZodTypeAny, {
|
696
|
+
verify: {
|
697
|
+
label: TranslationConfig;
|
698
|
+
};
|
699
|
+
cancel: {
|
700
|
+
label: TranslationConfig;
|
701
|
+
confirmation: {
|
702
|
+
title: TranslationConfig;
|
703
|
+
body: TranslationConfig;
|
704
|
+
};
|
705
|
+
};
|
706
|
+
}, {
|
1697
707
|
verify: {
|
1698
708
|
label: {
|
1699
709
|
id: string;
|
@@ -1720,47 +730,8 @@ declare const ArchivedConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1720
730
|
};
|
1721
731
|
};
|
1722
732
|
};
|
1723
|
-
}
|
1724
|
-
|
1725
|
-
})[];
|
1726
|
-
review: {
|
1727
|
-
title: {
|
1728
|
-
id: string;
|
1729
|
-
description: string;
|
1730
|
-
defaultMessage: string;
|
1731
|
-
};
|
1732
|
-
fields: import("./FieldConfig").Inferred[];
|
1733
|
-
};
|
1734
|
-
active?: boolean | undefined;
|
1735
|
-
}>, "many">;
|
1736
|
-
}, {
|
1737
|
-
type: z.ZodLiteral<"ARCHIVED">;
|
1738
|
-
comment: z.ZodString;
|
1739
|
-
isDuplicate: z.ZodBoolean;
|
1740
|
-
}>, "strip", z.ZodTypeAny, {
|
1741
|
-
type: "ARCHIVED";
|
1742
|
-
comment: string;
|
1743
|
-
conditionals: ({
|
1744
|
-
type: "SHOW";
|
1745
|
-
conditional: import(".").JSONSchema;
|
1746
|
-
} | {
|
1747
|
-
type: "ENABLE";
|
1748
|
-
conditional: import(".").JSONSchema;
|
1749
|
-
})[];
|
1750
|
-
label: TranslationConfig;
|
1751
|
-
forms: {
|
1752
|
-
active: boolean;
|
1753
|
-
version: {
|
1754
|
-
id: string;
|
1755
|
-
label: TranslationConfig;
|
1756
|
-
};
|
1757
|
-
label: TranslationConfig;
|
1758
|
-
pages: ({
|
1759
|
-
id: string;
|
1760
|
-
title: TranslationConfig;
|
1761
|
-
fields: import("./FieldConfig").Inferred[];
|
1762
|
-
type?: "FORM" | undefined;
|
1763
|
-
} | {
|
733
|
+
}>;
|
734
|
+
}>, "strip", z.ZodTypeAny, {
|
1764
735
|
type: "VERIFICATION";
|
1765
736
|
id: string;
|
1766
737
|
title: TranslationConfig;
|
@@ -1777,46 +748,8 @@ declare const ArchivedConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1777
748
|
};
|
1778
749
|
};
|
1779
750
|
fields: import("./FieldConfig").Inferred[];
|
1780
|
-
|
1781
|
-
|
1782
|
-
title: TranslationConfig;
|
1783
|
-
fields: import("./FieldConfig").Inferred[];
|
1784
|
-
};
|
1785
|
-
}[];
|
1786
|
-
isDuplicate: boolean;
|
1787
|
-
draft?: boolean | undefined;
|
1788
|
-
}, {
|
1789
|
-
type: "ARCHIVED";
|
1790
|
-
comment: string;
|
1791
|
-
label: {
|
1792
|
-
id: string;
|
1793
|
-
description: string;
|
1794
|
-
defaultMessage: string;
|
1795
|
-
};
|
1796
|
-
forms: {
|
1797
|
-
version: {
|
1798
|
-
id: string;
|
1799
|
-
label: {
|
1800
|
-
id: string;
|
1801
|
-
description: string;
|
1802
|
-
defaultMessage: string;
|
1803
|
-
};
|
1804
|
-
};
|
1805
|
-
label: {
|
1806
|
-
id: string;
|
1807
|
-
description: string;
|
1808
|
-
defaultMessage: string;
|
1809
|
-
};
|
1810
|
-
pages: ({
|
1811
|
-
id: string;
|
1812
|
-
title: {
|
1813
|
-
id: string;
|
1814
|
-
description: string;
|
1815
|
-
defaultMessage: string;
|
1816
|
-
};
|
1817
|
-
fields: import("./FieldConfig").Inferred[];
|
1818
|
-
type?: "FORM" | undefined;
|
1819
|
-
} | {
|
751
|
+
conditional?: import(".").JSONSchema | undefined;
|
752
|
+
}, {
|
1820
753
|
type: "VERIFICATION";
|
1821
754
|
id: string;
|
1822
755
|
title: {
|
@@ -1852,110 +785,17 @@ declare const ArchivedConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1852
785
|
};
|
1853
786
|
};
|
1854
787
|
};
|
788
|
+
fields: import("./FieldConfig").InferredInput[];
|
789
|
+
conditional?: import(".").JSONSchema | undefined;
|
790
|
+
}>)[]>, "many">;
|
791
|
+
}, "strip", z.ZodTypeAny, {
|
792
|
+
label: TranslationConfig;
|
793
|
+
pages: ({
|
794
|
+
type: "FORM";
|
795
|
+
id: string;
|
796
|
+
title: TranslationConfig;
|
1855
797
|
fields: import("./FieldConfig").Inferred[];
|
1856
|
-
|
1857
|
-
review: {
|
1858
|
-
title: {
|
1859
|
-
id: string;
|
1860
|
-
description: string;
|
1861
|
-
defaultMessage: string;
|
1862
|
-
};
|
1863
|
-
fields: import("./FieldConfig").Inferred[];
|
1864
|
-
};
|
1865
|
-
active?: boolean | undefined;
|
1866
|
-
}[];
|
1867
|
-
isDuplicate: boolean;
|
1868
|
-
draft?: boolean | undefined;
|
1869
|
-
conditionals?: ({
|
1870
|
-
type: "SHOW";
|
1871
|
-
conditional: import(".").JSONSchema;
|
1872
|
-
} | {
|
1873
|
-
type: "ENABLE";
|
1874
|
-
conditional: import(".").JSONSchema;
|
1875
|
-
})[] | undefined;
|
1876
|
-
}>;
|
1877
|
-
declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1878
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1879
|
-
id: string;
|
1880
|
-
description: string;
|
1881
|
-
defaultMessage: string;
|
1882
|
-
}>;
|
1883
|
-
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1884
|
-
type: z.ZodLiteral<"SHOW">;
|
1885
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1886
|
-
}, "strip", z.ZodTypeAny, {
|
1887
|
-
type: "SHOW";
|
1888
|
-
conditional: import(".").JSONSchema;
|
1889
|
-
}, {
|
1890
|
-
type: "SHOW";
|
1891
|
-
conditional: import(".").JSONSchema;
|
1892
|
-
}>, z.ZodObject<{
|
1893
|
-
type: z.ZodLiteral<"ENABLE">;
|
1894
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1895
|
-
}, "strip", z.ZodTypeAny, {
|
1896
|
-
type: "ENABLE";
|
1897
|
-
conditional: import(".").JSONSchema;
|
1898
|
-
}, {
|
1899
|
-
type: "ENABLE";
|
1900
|
-
conditional: import(".").JSONSchema;
|
1901
|
-
}>]>, "many">>>;
|
1902
|
-
draft: z.ZodOptional<z.ZodBoolean>;
|
1903
|
-
forms: z.ZodArray<z.ZodObject<{
|
1904
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1905
|
-
id: string;
|
1906
|
-
description: string;
|
1907
|
-
defaultMessage: string;
|
1908
|
-
}>;
|
1909
|
-
version: z.ZodObject<{
|
1910
|
-
id: z.ZodString;
|
1911
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1912
|
-
id: string;
|
1913
|
-
description: string;
|
1914
|
-
defaultMessage: string;
|
1915
|
-
}>;
|
1916
|
-
}, "strip", z.ZodTypeAny, {
|
1917
|
-
id: string;
|
1918
|
-
label: TranslationConfig;
|
1919
|
-
}, {
|
1920
|
-
id: string;
|
1921
|
-
label: {
|
1922
|
-
id: string;
|
1923
|
-
description: string;
|
1924
|
-
defaultMessage: string;
|
1925
|
-
};
|
1926
|
-
}>;
|
1927
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
1928
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
1929
|
-
review: z.ZodObject<{
|
1930
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1931
|
-
id: string;
|
1932
|
-
description: string;
|
1933
|
-
defaultMessage: string;
|
1934
|
-
}>;
|
1935
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
1936
|
-
}, "strip", z.ZodTypeAny, {
|
1937
|
-
title: TranslationConfig;
|
1938
|
-
fields: import("./FieldConfig").Inferred[];
|
1939
|
-
}, {
|
1940
|
-
title: {
|
1941
|
-
id: string;
|
1942
|
-
description: string;
|
1943
|
-
defaultMessage: string;
|
1944
|
-
};
|
1945
|
-
fields: import("./FieldConfig").Inferred[];
|
1946
|
-
}>;
|
1947
|
-
}, "strip", z.ZodTypeAny, {
|
1948
|
-
active: boolean;
|
1949
|
-
version: {
|
1950
|
-
id: string;
|
1951
|
-
label: TranslationConfig;
|
1952
|
-
};
|
1953
|
-
label: TranslationConfig;
|
1954
|
-
pages: ({
|
1955
|
-
id: string;
|
1956
|
-
title: TranslationConfig;
|
1957
|
-
fields: import("./FieldConfig").Inferred[];
|
1958
|
-
type?: "FORM" | undefined;
|
798
|
+
conditional?: import(".").JSONSchema | undefined;
|
1959
799
|
} | {
|
1960
800
|
type: "VERIFICATION";
|
1961
801
|
id: string;
|
@@ -1973,20 +813,9 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1973
813
|
};
|
1974
814
|
};
|
1975
815
|
fields: import("./FieldConfig").Inferred[];
|
816
|
+
conditional?: import(".").JSONSchema | undefined;
|
1976
817
|
})[];
|
1977
|
-
review: {
|
1978
|
-
title: TranslationConfig;
|
1979
|
-
fields: import("./FieldConfig").Inferred[];
|
1980
|
-
};
|
1981
818
|
}, {
|
1982
|
-
version: {
|
1983
|
-
id: string;
|
1984
|
-
label: {
|
1985
|
-
id: string;
|
1986
|
-
description: string;
|
1987
|
-
defaultMessage: string;
|
1988
|
-
};
|
1989
|
-
};
|
1990
819
|
label: {
|
1991
820
|
id: string;
|
1992
821
|
description: string;
|
@@ -1999,8 +828,9 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
1999
828
|
description: string;
|
2000
829
|
defaultMessage: string;
|
2001
830
|
};
|
2002
|
-
fields: import("./FieldConfig").
|
831
|
+
fields: import("./FieldConfig").InferredInput[];
|
2003
832
|
type?: "FORM" | undefined;
|
833
|
+
conditional?: import(".").JSONSchema | undefined;
|
2004
834
|
} | {
|
2005
835
|
type: "VERIFICATION";
|
2006
836
|
id: string;
|
@@ -2037,22 +867,12 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2037
867
|
};
|
2038
868
|
};
|
2039
869
|
};
|
2040
|
-
fields: import("./FieldConfig").
|
870
|
+
fields: import("./FieldConfig").InferredInput[];
|
871
|
+
conditional?: import(".").JSONSchema | undefined;
|
2041
872
|
})[];
|
2042
|
-
|
2043
|
-
title: {
|
2044
|
-
id: string;
|
2045
|
-
description: string;
|
2046
|
-
defaultMessage: string;
|
2047
|
-
};
|
2048
|
-
fields: import("./FieldConfig").Inferred[];
|
2049
|
-
};
|
2050
|
-
active?: boolean | undefined;
|
2051
|
-
}>, "many">;
|
2052
|
-
}, {
|
2053
|
-
type: z.ZodLiteral<"REGISTER">;
|
873
|
+
}>;
|
2054
874
|
}>, "strip", z.ZodTypeAny, {
|
2055
|
-
type: "
|
875
|
+
type: "PRINT_CERTIFICATE";
|
2056
876
|
conditionals: ({
|
2057
877
|
type: "SHOW";
|
2058
878
|
conditional: import(".").JSONSchema;
|
@@ -2061,18 +881,14 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2061
881
|
conditional: import(".").JSONSchema;
|
2062
882
|
})[];
|
2063
883
|
label: TranslationConfig;
|
2064
|
-
|
2065
|
-
active: boolean;
|
2066
|
-
version: {
|
2067
|
-
id: string;
|
2068
|
-
label: TranslationConfig;
|
2069
|
-
};
|
884
|
+
printForm: {
|
2070
885
|
label: TranslationConfig;
|
2071
886
|
pages: ({
|
887
|
+
type: "FORM";
|
2072
888
|
id: string;
|
2073
889
|
title: TranslationConfig;
|
2074
890
|
fields: import("./FieldConfig").Inferred[];
|
2075
|
-
|
891
|
+
conditional?: import(".").JSONSchema | undefined;
|
2076
892
|
} | {
|
2077
893
|
type: "VERIFICATION";
|
2078
894
|
id: string;
|
@@ -2090,29 +906,18 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2090
906
|
};
|
2091
907
|
};
|
2092
908
|
fields: import("./FieldConfig").Inferred[];
|
909
|
+
conditional?: import(".").JSONSchema | undefined;
|
2093
910
|
})[];
|
2094
|
-
|
2095
|
-
title: TranslationConfig;
|
2096
|
-
fields: import("./FieldConfig").Inferred[];
|
2097
|
-
};
|
2098
|
-
}[];
|
911
|
+
};
|
2099
912
|
draft?: boolean | undefined;
|
2100
913
|
}, {
|
2101
|
-
type: "
|
914
|
+
type: "PRINT_CERTIFICATE";
|
2102
915
|
label: {
|
2103
916
|
id: string;
|
2104
917
|
description: string;
|
2105
918
|
defaultMessage: string;
|
2106
919
|
};
|
2107
|
-
|
2108
|
-
version: {
|
2109
|
-
id: string;
|
2110
|
-
label: {
|
2111
|
-
id: string;
|
2112
|
-
description: string;
|
2113
|
-
defaultMessage: string;
|
2114
|
-
};
|
2115
|
-
};
|
920
|
+
printForm: {
|
2116
921
|
label: {
|
2117
922
|
id: string;
|
2118
923
|
description: string;
|
@@ -2125,8 +930,9 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2125
930
|
description: string;
|
2126
931
|
defaultMessage: string;
|
2127
932
|
};
|
2128
|
-
fields: import("./FieldConfig").
|
933
|
+
fields: import("./FieldConfig").InferredInput[];
|
2129
934
|
type?: "FORM" | undefined;
|
935
|
+
conditional?: import(".").JSONSchema | undefined;
|
2130
936
|
} | {
|
2131
937
|
type: "VERIFICATION";
|
2132
938
|
id: string;
|
@@ -2163,18 +969,10 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2163
969
|
};
|
2164
970
|
};
|
2165
971
|
};
|
2166
|
-
fields: import("./FieldConfig").
|
972
|
+
fields: import("./FieldConfig").InferredInput[];
|
973
|
+
conditional?: import(".").JSONSchema | undefined;
|
2167
974
|
})[];
|
2168
|
-
|
2169
|
-
title: {
|
2170
|
-
id: string;
|
2171
|
-
description: string;
|
2172
|
-
defaultMessage: string;
|
2173
|
-
};
|
2174
|
-
fields: import("./FieldConfig").Inferred[];
|
2175
|
-
};
|
2176
|
-
active?: boolean | undefined;
|
2177
|
-
}[];
|
975
|
+
};
|
2178
976
|
draft?: boolean | undefined;
|
2179
977
|
conditionals?: ({
|
2180
978
|
type: "SHOW";
|
@@ -2184,7 +982,7 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2184
982
|
conditional: import(".").JSONSchema;
|
2185
983
|
})[] | undefined;
|
2186
984
|
}>;
|
2187
|
-
declare const
|
985
|
+
declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
2188
986
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2189
987
|
id: string;
|
2190
988
|
description: string;
|
@@ -2210,793 +1008,234 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
2210
1008
|
conditional: import(".").JSONSchema;
|
2211
1009
|
}>]>, "many">>>;
|
2212
1010
|
draft: z.ZodOptional<z.ZodBoolean>;
|
2213
|
-
|
2214
|
-
|
1011
|
+
}, {
|
1012
|
+
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
1013
|
+
onboardingForm: z.ZodArray<z.ZodDiscriminatedUnion<"type", (z.ZodObject<z.objectUtil.extendShape<{
|
1014
|
+
id: z.ZodString;
|
1015
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2215
1016
|
id: string;
|
2216
1017
|
description: string;
|
2217
1018
|
defaultMessage: string;
|
2218
1019
|
}>;
|
2219
|
-
|
2220
|
-
|
2221
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2222
|
-
id: string;
|
2223
|
-
description: string;
|
2224
|
-
defaultMessage: string;
|
2225
|
-
}>;
|
2226
|
-
}, "strip", z.ZodTypeAny, {
|
2227
|
-
id: string;
|
2228
|
-
label: TranslationConfig;
|
2229
|
-
}, {
|
2230
|
-
id: string;
|
2231
|
-
label: {
|
2232
|
-
id: string;
|
2233
|
-
description: string;
|
2234
|
-
defaultMessage: string;
|
2235
|
-
};
|
2236
|
-
}>;
|
2237
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
2238
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
2239
|
-
review: z.ZodObject<{
|
2240
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2241
|
-
id: string;
|
2242
|
-
description: string;
|
2243
|
-
defaultMessage: string;
|
2244
|
-
}>;
|
2245
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
2246
|
-
}, "strip", z.ZodTypeAny, {
|
2247
|
-
title: TranslationConfig;
|
2248
|
-
fields: import("./FieldConfig").Inferred[];
|
2249
|
-
}, {
|
2250
|
-
title: {
|
2251
|
-
id: string;
|
2252
|
-
description: string;
|
2253
|
-
defaultMessage: string;
|
2254
|
-
};
|
2255
|
-
fields: import("./FieldConfig").Inferred[];
|
2256
|
-
}>;
|
2257
|
-
}, "strip", z.ZodTypeAny, {
|
2258
|
-
active: boolean;
|
2259
|
-
version: {
|
2260
|
-
id: string;
|
2261
|
-
label: TranslationConfig;
|
2262
|
-
};
|
2263
|
-
label: TranslationConfig;
|
2264
|
-
pages: ({
|
2265
|
-
id: string;
|
2266
|
-
title: TranslationConfig;
|
2267
|
-
fields: import("./FieldConfig").Inferred[];
|
2268
|
-
type?: "FORM" | undefined;
|
2269
|
-
} | {
|
2270
|
-
type: "VERIFICATION";
|
2271
|
-
id: string;
|
2272
|
-
title: TranslationConfig;
|
2273
|
-
actions: {
|
2274
|
-
verify: {
|
2275
|
-
label: TranslationConfig;
|
2276
|
-
};
|
2277
|
-
cancel: {
|
2278
|
-
label: TranslationConfig;
|
2279
|
-
confirmation: {
|
2280
|
-
title: TranslationConfig;
|
2281
|
-
body: TranslationConfig;
|
2282
|
-
};
|
2283
|
-
};
|
2284
|
-
};
|
2285
|
-
fields: import("./FieldConfig").Inferred[];
|
2286
|
-
})[];
|
2287
|
-
review: {
|
2288
|
-
title: TranslationConfig;
|
2289
|
-
fields: import("./FieldConfig").Inferred[];
|
2290
|
-
};
|
1020
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
1021
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
2291
1022
|
}, {
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2299
|
-
|
2300
|
-
|
1023
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
1024
|
+
}>, "strip", z.ZodTypeAny, {
|
1025
|
+
type: "FORM";
|
1026
|
+
id: string;
|
1027
|
+
title: TranslationConfig;
|
1028
|
+
fields: import("./FieldConfig").Inferred[];
|
1029
|
+
conditional?: import(".").JSONSchema | undefined;
|
1030
|
+
}, {
|
1031
|
+
id: string;
|
1032
|
+
title: {
|
2301
1033
|
id: string;
|
2302
1034
|
description: string;
|
2303
1035
|
defaultMessage: string;
|
2304
1036
|
};
|
2305
|
-
|
2306
|
-
|
2307
|
-
|
2308
|
-
|
2309
|
-
|
2310
|
-
|
2311
|
-
};
|
2312
|
-
fields: import("./FieldConfig").Inferred[];
|
2313
|
-
type?: "FORM" | undefined;
|
2314
|
-
} | {
|
2315
|
-
type: "VERIFICATION";
|
1037
|
+
fields: import("./FieldConfig").InferredInput[];
|
1038
|
+
type?: "FORM" | undefined;
|
1039
|
+
conditional?: import(".").JSONSchema | undefined;
|
1040
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
1041
|
+
id: z.ZodString;
|
1042
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2316
1043
|
id: string;
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
|
2321
|
-
|
2322
|
-
|
2323
|
-
|
2324
|
-
|
1044
|
+
description: string;
|
1045
|
+
defaultMessage: string;
|
1046
|
+
}>;
|
1047
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
1048
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
1049
|
+
}, {
|
1050
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
1051
|
+
}>, {
|
1052
|
+
type: z.ZodLiteral<"VERIFICATION">;
|
1053
|
+
actions: z.ZodObject<{
|
1054
|
+
verify: z.ZodObject<{
|
1055
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1056
|
+
id: string;
|
1057
|
+
description: string;
|
1058
|
+
defaultMessage: string;
|
1059
|
+
}>;
|
1060
|
+
}, "strip", z.ZodTypeAny, {
|
1061
|
+
label: TranslationConfig;
|
1062
|
+
}, {
|
1063
|
+
label: {
|
1064
|
+
id: string;
|
1065
|
+
description: string;
|
1066
|
+
defaultMessage: string;
|
1067
|
+
};
|
1068
|
+
}>;
|
1069
|
+
cancel: z.ZodObject<{
|
1070
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1071
|
+
id: string;
|
1072
|
+
description: string;
|
1073
|
+
defaultMessage: string;
|
1074
|
+
}>;
|
1075
|
+
confirmation: z.ZodObject<{
|
1076
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1077
|
+
id: string;
|
1078
|
+
description: string;
|
1079
|
+
defaultMessage: string;
|
1080
|
+
}>;
|
1081
|
+
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1082
|
+
id: string;
|
1083
|
+
description: string;
|
1084
|
+
defaultMessage: string;
|
1085
|
+
}>;
|
1086
|
+
}, "strip", z.ZodTypeAny, {
|
1087
|
+
title: TranslationConfig;
|
1088
|
+
body: TranslationConfig;
|
1089
|
+
}, {
|
1090
|
+
title: {
|
2325
1091
|
id: string;
|
2326
1092
|
description: string;
|
2327
1093
|
defaultMessage: string;
|
2328
1094
|
};
|
2329
|
-
|
2330
|
-
cancel: {
|
2331
|
-
label: {
|
1095
|
+
body: {
|
2332
1096
|
id: string;
|
2333
1097
|
description: string;
|
2334
1098
|
defaultMessage: string;
|
2335
1099
|
};
|
2336
|
-
|
2337
|
-
|
2338
|
-
|
2339
|
-
|
2340
|
-
|
2341
|
-
|
2342
|
-
|
2343
|
-
|
2344
|
-
|
2345
|
-
|
2346
|
-
|
2347
|
-
|
2348
|
-
};
|
2349
|
-
|
2350
|
-
|
2351
|
-
})[];
|
2352
|
-
review: {
|
2353
|
-
title: {
|
2354
|
-
id: string;
|
2355
|
-
description: string;
|
2356
|
-
defaultMessage: string;
|
2357
|
-
};
|
2358
|
-
fields: import("./FieldConfig").Inferred[];
|
2359
|
-
};
|
2360
|
-
active?: boolean | undefined;
|
2361
|
-
}>, "many">;
|
2362
|
-
}, {
|
2363
|
-
type: z.ZodLiteral<"DELETE">;
|
2364
|
-
}>, "strip", z.ZodTypeAny, {
|
2365
|
-
type: "DELETE";
|
2366
|
-
conditionals: ({
|
2367
|
-
type: "SHOW";
|
2368
|
-
conditional: import(".").JSONSchema;
|
2369
|
-
} | {
|
2370
|
-
type: "ENABLE";
|
2371
|
-
conditional: import(".").JSONSchema;
|
2372
|
-
})[];
|
2373
|
-
label: TranslationConfig;
|
2374
|
-
forms: {
|
2375
|
-
active: boolean;
|
2376
|
-
version: {
|
2377
|
-
id: string;
|
2378
|
-
label: TranslationConfig;
|
2379
|
-
};
|
2380
|
-
label: TranslationConfig;
|
2381
|
-
pages: ({
|
2382
|
-
id: string;
|
2383
|
-
title: TranslationConfig;
|
2384
|
-
fields: import("./FieldConfig").Inferred[];
|
2385
|
-
type?: "FORM" | undefined;
|
2386
|
-
} | {
|
2387
|
-
type: "VERIFICATION";
|
2388
|
-
id: string;
|
2389
|
-
title: TranslationConfig;
|
2390
|
-
actions: {
|
2391
|
-
verify: {
|
2392
|
-
label: TranslationConfig;
|
2393
|
-
};
|
2394
|
-
cancel: {
|
2395
|
-
label: TranslationConfig;
|
2396
|
-
confirmation: {
|
2397
|
-
title: TranslationConfig;
|
2398
|
-
body: TranslationConfig;
|
2399
|
-
};
|
2400
|
-
};
|
2401
|
-
};
|
2402
|
-
fields: import("./FieldConfig").Inferred[];
|
2403
|
-
})[];
|
2404
|
-
review: {
|
2405
|
-
title: TranslationConfig;
|
2406
|
-
fields: import("./FieldConfig").Inferred[];
|
2407
|
-
};
|
2408
|
-
}[];
|
2409
|
-
draft?: boolean | undefined;
|
2410
|
-
}, {
|
2411
|
-
type: "DELETE";
|
2412
|
-
label: {
|
2413
|
-
id: string;
|
2414
|
-
description: string;
|
2415
|
-
defaultMessage: string;
|
2416
|
-
};
|
2417
|
-
forms: {
|
2418
|
-
version: {
|
2419
|
-
id: string;
|
2420
|
-
label: {
|
2421
|
-
id: string;
|
2422
|
-
description: string;
|
2423
|
-
defaultMessage: string;
|
2424
|
-
};
|
2425
|
-
};
|
2426
|
-
label: {
|
2427
|
-
id: string;
|
2428
|
-
description: string;
|
2429
|
-
defaultMessage: string;
|
2430
|
-
};
|
2431
|
-
pages: ({
|
2432
|
-
id: string;
|
2433
|
-
title: {
|
2434
|
-
id: string;
|
2435
|
-
description: string;
|
2436
|
-
defaultMessage: string;
|
2437
|
-
};
|
2438
|
-
fields: import("./FieldConfig").Inferred[];
|
2439
|
-
type?: "FORM" | undefined;
|
2440
|
-
} | {
|
2441
|
-
type: "VERIFICATION";
|
2442
|
-
id: string;
|
2443
|
-
title: {
|
2444
|
-
id: string;
|
2445
|
-
description: string;
|
2446
|
-
defaultMessage: string;
|
2447
|
-
};
|
2448
|
-
actions: {
|
2449
|
-
verify: {
|
2450
|
-
label: {
|
2451
|
-
id: string;
|
2452
|
-
description: string;
|
2453
|
-
defaultMessage: string;
|
2454
|
-
};
|
2455
|
-
};
|
2456
|
-
cancel: {
|
2457
|
-
label: {
|
2458
|
-
id: string;
|
2459
|
-
description: string;
|
2460
|
-
defaultMessage: string;
|
2461
|
-
};
|
2462
|
-
confirmation: {
|
2463
|
-
title: {
|
2464
|
-
id: string;
|
2465
|
-
description: string;
|
2466
|
-
defaultMessage: string;
|
2467
|
-
};
|
2468
|
-
body: {
|
2469
|
-
id: string;
|
2470
|
-
description: string;
|
2471
|
-
defaultMessage: string;
|
2472
|
-
};
|
2473
|
-
};
|
2474
|
-
};
|
2475
|
-
};
|
2476
|
-
fields: import("./FieldConfig").Inferred[];
|
2477
|
-
})[];
|
2478
|
-
review: {
|
2479
|
-
title: {
|
2480
|
-
id: string;
|
2481
|
-
description: string;
|
2482
|
-
defaultMessage: string;
|
2483
|
-
};
|
2484
|
-
fields: import("./FieldConfig").Inferred[];
|
2485
|
-
};
|
2486
|
-
active?: boolean | undefined;
|
2487
|
-
}[];
|
2488
|
-
draft?: boolean | undefined;
|
2489
|
-
conditionals?: ({
|
2490
|
-
type: "SHOW";
|
2491
|
-
conditional: import(".").JSONSchema;
|
2492
|
-
} | {
|
2493
|
-
type: "ENABLE";
|
2494
|
-
conditional: import(".").JSONSchema;
|
2495
|
-
})[] | undefined;
|
2496
|
-
}>;
|
2497
|
-
declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
2498
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2499
|
-
id: string;
|
2500
|
-
description: string;
|
2501
|
-
defaultMessage: string;
|
2502
|
-
}>;
|
2503
|
-
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
2504
|
-
type: z.ZodLiteral<"SHOW">;
|
2505
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
2506
|
-
}, "strip", z.ZodTypeAny, {
|
2507
|
-
type: "SHOW";
|
2508
|
-
conditional: import(".").JSONSchema;
|
2509
|
-
}, {
|
2510
|
-
type: "SHOW";
|
2511
|
-
conditional: import(".").JSONSchema;
|
2512
|
-
}>, z.ZodObject<{
|
2513
|
-
type: z.ZodLiteral<"ENABLE">;
|
2514
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
2515
|
-
}, "strip", z.ZodTypeAny, {
|
2516
|
-
type: "ENABLE";
|
2517
|
-
conditional: import(".").JSONSchema;
|
2518
|
-
}, {
|
2519
|
-
type: "ENABLE";
|
2520
|
-
conditional: import(".").JSONSchema;
|
2521
|
-
}>]>, "many">>>;
|
2522
|
-
draft: z.ZodOptional<z.ZodBoolean>;
|
2523
|
-
forms: z.ZodArray<z.ZodObject<{
|
2524
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2525
|
-
id: string;
|
2526
|
-
description: string;
|
2527
|
-
defaultMessage: string;
|
2528
|
-
}>;
|
2529
|
-
version: z.ZodObject<{
|
2530
|
-
id: z.ZodString;
|
2531
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2532
|
-
id: string;
|
2533
|
-
description: string;
|
2534
|
-
defaultMessage: string;
|
2535
|
-
}>;
|
2536
|
-
}, "strip", z.ZodTypeAny, {
|
2537
|
-
id: string;
|
2538
|
-
label: TranslationConfig;
|
2539
|
-
}, {
|
2540
|
-
id: string;
|
2541
|
-
label: {
|
2542
|
-
id: string;
|
2543
|
-
description: string;
|
2544
|
-
defaultMessage: string;
|
2545
|
-
};
|
2546
|
-
}>;
|
2547
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
2548
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
2549
|
-
review: z.ZodObject<{
|
2550
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2551
|
-
id: string;
|
2552
|
-
description: string;
|
2553
|
-
defaultMessage: string;
|
2554
|
-
}>;
|
2555
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
2556
|
-
}, "strip", z.ZodTypeAny, {
|
2557
|
-
title: TranslationConfig;
|
2558
|
-
fields: import("./FieldConfig").Inferred[];
|
2559
|
-
}, {
|
2560
|
-
title: {
|
2561
|
-
id: string;
|
2562
|
-
description: string;
|
2563
|
-
defaultMessage: string;
|
2564
|
-
};
|
2565
|
-
fields: import("./FieldConfig").Inferred[];
|
2566
|
-
}>;
|
2567
|
-
}, "strip", z.ZodTypeAny, {
|
2568
|
-
active: boolean;
|
2569
|
-
version: {
|
2570
|
-
id: string;
|
2571
|
-
label: TranslationConfig;
|
2572
|
-
};
|
2573
|
-
label: TranslationConfig;
|
2574
|
-
pages: ({
|
2575
|
-
id: string;
|
2576
|
-
title: TranslationConfig;
|
2577
|
-
fields: import("./FieldConfig").Inferred[];
|
2578
|
-
type?: "FORM" | undefined;
|
2579
|
-
} | {
|
2580
|
-
type: "VERIFICATION";
|
2581
|
-
id: string;
|
2582
|
-
title: TranslationConfig;
|
2583
|
-
actions: {
|
2584
|
-
verify: {
|
2585
|
-
label: TranslationConfig;
|
2586
|
-
};
|
2587
|
-
cancel: {
|
2588
|
-
label: TranslationConfig;
|
2589
|
-
confirmation: {
|
2590
|
-
title: TranslationConfig;
|
2591
|
-
body: TranslationConfig;
|
2592
|
-
};
|
2593
|
-
};
|
2594
|
-
};
|
2595
|
-
fields: import("./FieldConfig").Inferred[];
|
2596
|
-
})[];
|
2597
|
-
review: {
|
2598
|
-
title: TranslationConfig;
|
2599
|
-
fields: import("./FieldConfig").Inferred[];
|
2600
|
-
};
|
2601
|
-
}, {
|
2602
|
-
version: {
|
2603
|
-
id: string;
|
2604
|
-
label: {
|
2605
|
-
id: string;
|
2606
|
-
description: string;
|
2607
|
-
defaultMessage: string;
|
2608
|
-
};
|
2609
|
-
};
|
2610
|
-
label: {
|
2611
|
-
id: string;
|
2612
|
-
description: string;
|
2613
|
-
defaultMessage: string;
|
2614
|
-
};
|
2615
|
-
pages: ({
|
2616
|
-
id: string;
|
2617
|
-
title: {
|
2618
|
-
id: string;
|
2619
|
-
description: string;
|
2620
|
-
defaultMessage: string;
|
2621
|
-
};
|
2622
|
-
fields: import("./FieldConfig").Inferred[];
|
2623
|
-
type?: "FORM" | undefined;
|
2624
|
-
} | {
|
2625
|
-
type: "VERIFICATION";
|
2626
|
-
id: string;
|
2627
|
-
title: {
|
2628
|
-
id: string;
|
2629
|
-
description: string;
|
2630
|
-
defaultMessage: string;
|
2631
|
-
};
|
2632
|
-
actions: {
|
2633
|
-
verify: {
|
2634
|
-
label: {
|
2635
|
-
id: string;
|
2636
|
-
description: string;
|
2637
|
-
defaultMessage: string;
|
2638
|
-
};
|
2639
|
-
};
|
2640
|
-
cancel: {
|
2641
|
-
label: {
|
2642
|
-
id: string;
|
2643
|
-
description: string;
|
2644
|
-
defaultMessage: string;
|
2645
|
-
};
|
2646
|
-
confirmation: {
|
2647
|
-
title: {
|
2648
|
-
id: string;
|
2649
|
-
description: string;
|
2650
|
-
defaultMessage: string;
|
2651
|
-
};
|
2652
|
-
body: {
|
2653
|
-
id: string;
|
2654
|
-
description: string;
|
2655
|
-
defaultMessage: string;
|
2656
|
-
};
|
2657
|
-
};
|
2658
|
-
};
|
2659
|
-
};
|
2660
|
-
fields: import("./FieldConfig").Inferred[];
|
2661
|
-
})[];
|
2662
|
-
review: {
|
2663
|
-
title: {
|
2664
|
-
id: string;
|
2665
|
-
description: string;
|
2666
|
-
defaultMessage: string;
|
2667
|
-
};
|
2668
|
-
fields: import("./FieldConfig").Inferred[];
|
2669
|
-
};
|
2670
|
-
active?: boolean | undefined;
|
2671
|
-
}>, "many">;
|
2672
|
-
}, {
|
2673
|
-
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
2674
|
-
}>, "strip", z.ZodTypeAny, {
|
2675
|
-
type: "PRINT_CERTIFICATE";
|
2676
|
-
conditionals: ({
|
2677
|
-
type: "SHOW";
|
2678
|
-
conditional: import(".").JSONSchema;
|
2679
|
-
} | {
|
2680
|
-
type: "ENABLE";
|
2681
|
-
conditional: import(".").JSONSchema;
|
2682
|
-
})[];
|
2683
|
-
label: TranslationConfig;
|
2684
|
-
forms: {
|
2685
|
-
active: boolean;
|
2686
|
-
version: {
|
2687
|
-
id: string;
|
2688
|
-
label: TranslationConfig;
|
2689
|
-
};
|
2690
|
-
label: TranslationConfig;
|
2691
|
-
pages: ({
|
2692
|
-
id: string;
|
2693
|
-
title: TranslationConfig;
|
2694
|
-
fields: import("./FieldConfig").Inferred[];
|
2695
|
-
type?: "FORM" | undefined;
|
2696
|
-
} | {
|
2697
|
-
type: "VERIFICATION";
|
2698
|
-
id: string;
|
2699
|
-
title: TranslationConfig;
|
2700
|
-
actions: {
|
2701
|
-
verify: {
|
2702
|
-
label: TranslationConfig;
|
2703
|
-
};
|
2704
|
-
cancel: {
|
2705
|
-
label: TranslationConfig;
|
2706
|
-
confirmation: {
|
2707
|
-
title: TranslationConfig;
|
2708
|
-
body: TranslationConfig;
|
2709
|
-
};
|
2710
|
-
};
|
2711
|
-
};
|
2712
|
-
fields: import("./FieldConfig").Inferred[];
|
2713
|
-
})[];
|
2714
|
-
review: {
|
2715
|
-
title: TranslationConfig;
|
2716
|
-
fields: import("./FieldConfig").Inferred[];
|
2717
|
-
};
|
2718
|
-
}[];
|
2719
|
-
draft?: boolean | undefined;
|
2720
|
-
}, {
|
2721
|
-
type: "PRINT_CERTIFICATE";
|
2722
|
-
label: {
|
2723
|
-
id: string;
|
2724
|
-
description: string;
|
2725
|
-
defaultMessage: string;
|
2726
|
-
};
|
2727
|
-
forms: {
|
2728
|
-
version: {
|
2729
|
-
id: string;
|
2730
|
-
label: {
|
2731
|
-
id: string;
|
2732
|
-
description: string;
|
2733
|
-
defaultMessage: string;
|
2734
|
-
};
|
2735
|
-
};
|
2736
|
-
label: {
|
2737
|
-
id: string;
|
2738
|
-
description: string;
|
2739
|
-
defaultMessage: string;
|
2740
|
-
};
|
2741
|
-
pages: ({
|
2742
|
-
id: string;
|
2743
|
-
title: {
|
2744
|
-
id: string;
|
2745
|
-
description: string;
|
2746
|
-
defaultMessage: string;
|
2747
|
-
};
|
2748
|
-
fields: import("./FieldConfig").Inferred[];
|
2749
|
-
type?: "FORM" | undefined;
|
2750
|
-
} | {
|
2751
|
-
type: "VERIFICATION";
|
2752
|
-
id: string;
|
2753
|
-
title: {
|
2754
|
-
id: string;
|
2755
|
-
description: string;
|
2756
|
-
defaultMessage: string;
|
2757
|
-
};
|
2758
|
-
actions: {
|
2759
|
-
verify: {
|
2760
|
-
label: {
|
1100
|
+
}>;
|
1101
|
+
}, "strip", z.ZodTypeAny, {
|
1102
|
+
label: TranslationConfig;
|
1103
|
+
confirmation: {
|
1104
|
+
title: TranslationConfig;
|
1105
|
+
body: TranslationConfig;
|
1106
|
+
};
|
1107
|
+
}, {
|
1108
|
+
label: {
|
1109
|
+
id: string;
|
1110
|
+
description: string;
|
1111
|
+
defaultMessage: string;
|
1112
|
+
};
|
1113
|
+
confirmation: {
|
1114
|
+
title: {
|
2761
1115
|
id: string;
|
2762
1116
|
description: string;
|
2763
1117
|
defaultMessage: string;
|
2764
1118
|
};
|
2765
|
-
|
2766
|
-
cancel: {
|
2767
|
-
label: {
|
1119
|
+
body: {
|
2768
1120
|
id: string;
|
2769
1121
|
description: string;
|
2770
1122
|
defaultMessage: string;
|
2771
1123
|
};
|
2772
|
-
confirmation: {
|
2773
|
-
title: {
|
2774
|
-
id: string;
|
2775
|
-
description: string;
|
2776
|
-
defaultMessage: string;
|
2777
|
-
};
|
2778
|
-
body: {
|
2779
|
-
id: string;
|
2780
|
-
description: string;
|
2781
|
-
defaultMessage: string;
|
2782
|
-
};
|
2783
|
-
};
|
2784
1124
|
};
|
2785
|
-
};
|
2786
|
-
fields: import("./FieldConfig").Inferred[];
|
2787
|
-
})[];
|
2788
|
-
review: {
|
2789
|
-
title: {
|
2790
|
-
id: string;
|
2791
|
-
description: string;
|
2792
|
-
defaultMessage: string;
|
2793
|
-
};
|
2794
|
-
fields: import("./FieldConfig").Inferred[];
|
2795
|
-
};
|
2796
|
-
active?: boolean | undefined;
|
2797
|
-
}[];
|
2798
|
-
draft?: boolean | undefined;
|
2799
|
-
conditionals?: ({
|
2800
|
-
type: "SHOW";
|
2801
|
-
conditional: import(".").JSONSchema;
|
2802
|
-
} | {
|
2803
|
-
type: "ENABLE";
|
2804
|
-
conditional: import(".").JSONSchema;
|
2805
|
-
})[] | undefined;
|
2806
|
-
}>;
|
2807
|
-
declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
2808
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2809
|
-
id: string;
|
2810
|
-
description: string;
|
2811
|
-
defaultMessage: string;
|
2812
|
-
}>;
|
2813
|
-
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
2814
|
-
type: z.ZodLiteral<"SHOW">;
|
2815
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
2816
|
-
}, "strip", z.ZodTypeAny, {
|
2817
|
-
type: "SHOW";
|
2818
|
-
conditional: import(".").JSONSchema;
|
2819
|
-
}, {
|
2820
|
-
type: "SHOW";
|
2821
|
-
conditional: import(".").JSONSchema;
|
2822
|
-
}>, z.ZodObject<{
|
2823
|
-
type: z.ZodLiteral<"ENABLE">;
|
2824
|
-
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
2825
|
-
}, "strip", z.ZodTypeAny, {
|
2826
|
-
type: "ENABLE";
|
2827
|
-
conditional: import(".").JSONSchema;
|
2828
|
-
}, {
|
2829
|
-
type: "ENABLE";
|
2830
|
-
conditional: import(".").JSONSchema;
|
2831
|
-
}>]>, "many">>>;
|
2832
|
-
draft: z.ZodOptional<z.ZodBoolean>;
|
2833
|
-
forms: z.ZodArray<z.ZodObject<{
|
2834
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2835
|
-
id: string;
|
2836
|
-
description: string;
|
2837
|
-
defaultMessage: string;
|
2838
|
-
}>;
|
2839
|
-
version: z.ZodObject<{
|
2840
|
-
id: z.ZodString;
|
2841
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2842
|
-
id: string;
|
2843
|
-
description: string;
|
2844
|
-
defaultMessage: string;
|
2845
1125
|
}>;
|
2846
1126
|
}, "strip", z.ZodTypeAny, {
|
2847
|
-
|
2848
|
-
|
2849
|
-
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2854
|
-
|
1127
|
+
verify: {
|
1128
|
+
label: TranslationConfig;
|
1129
|
+
};
|
1130
|
+
cancel: {
|
1131
|
+
label: TranslationConfig;
|
1132
|
+
confirmation: {
|
1133
|
+
title: TranslationConfig;
|
1134
|
+
body: TranslationConfig;
|
1135
|
+
};
|
2855
1136
|
};
|
2856
|
-
}>;
|
2857
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
2858
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
2859
|
-
review: z.ZodObject<{
|
2860
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2861
|
-
id: string;
|
2862
|
-
description: string;
|
2863
|
-
defaultMessage: string;
|
2864
|
-
}>;
|
2865
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
2866
|
-
}, "strip", z.ZodTypeAny, {
|
2867
|
-
title: TranslationConfig;
|
2868
|
-
fields: import("./FieldConfig").Inferred[];
|
2869
1137
|
}, {
|
2870
|
-
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
1138
|
+
verify: {
|
1139
|
+
label: {
|
1140
|
+
id: string;
|
1141
|
+
description: string;
|
1142
|
+
defaultMessage: string;
|
1143
|
+
};
|
2874
1144
|
};
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
2878
|
-
|
2879
|
-
|
2880
|
-
id: string;
|
2881
|
-
label: TranslationConfig;
|
2882
|
-
};
|
2883
|
-
label: TranslationConfig;
|
2884
|
-
pages: ({
|
2885
|
-
id: string;
|
2886
|
-
title: TranslationConfig;
|
2887
|
-
fields: import("./FieldConfig").Inferred[];
|
2888
|
-
type?: "FORM" | undefined;
|
2889
|
-
} | {
|
2890
|
-
type: "VERIFICATION";
|
2891
|
-
id: string;
|
2892
|
-
title: TranslationConfig;
|
2893
|
-
actions: {
|
2894
|
-
verify: {
|
2895
|
-
label: TranslationConfig;
|
1145
|
+
cancel: {
|
1146
|
+
label: {
|
1147
|
+
id: string;
|
1148
|
+
description: string;
|
1149
|
+
defaultMessage: string;
|
2896
1150
|
};
|
2897
|
-
|
2898
|
-
|
2899
|
-
|
2900
|
-
|
2901
|
-
|
1151
|
+
confirmation: {
|
1152
|
+
title: {
|
1153
|
+
id: string;
|
1154
|
+
description: string;
|
1155
|
+
defaultMessage: string;
|
1156
|
+
};
|
1157
|
+
body: {
|
1158
|
+
id: string;
|
1159
|
+
description: string;
|
1160
|
+
defaultMessage: string;
|
2902
1161
|
};
|
2903
1162
|
};
|
2904
1163
|
};
|
2905
|
-
|
2906
|
-
|
2907
|
-
|
2908
|
-
|
2909
|
-
|
2910
|
-
|
2911
|
-
|
2912
|
-
|
2913
|
-
|
2914
|
-
|
2915
|
-
|
2916
|
-
|
2917
|
-
|
1164
|
+
}>;
|
1165
|
+
}>, "strip", z.ZodTypeAny, {
|
1166
|
+
type: "VERIFICATION";
|
1167
|
+
id: string;
|
1168
|
+
title: TranslationConfig;
|
1169
|
+
actions: {
|
1170
|
+
verify: {
|
1171
|
+
label: TranslationConfig;
|
1172
|
+
};
|
1173
|
+
cancel: {
|
1174
|
+
label: TranslationConfig;
|
1175
|
+
confirmation: {
|
1176
|
+
title: TranslationConfig;
|
1177
|
+
body: TranslationConfig;
|
1178
|
+
};
|
2918
1179
|
};
|
2919
1180
|
};
|
2920
|
-
|
1181
|
+
fields: import("./FieldConfig").Inferred[];
|
1182
|
+
conditional?: import(".").JSONSchema | undefined;
|
1183
|
+
}, {
|
1184
|
+
type: "VERIFICATION";
|
1185
|
+
id: string;
|
1186
|
+
title: {
|
2921
1187
|
id: string;
|
2922
1188
|
description: string;
|
2923
1189
|
defaultMessage: string;
|
2924
1190
|
};
|
2925
|
-
|
2926
|
-
|
2927
|
-
|
2928
|
-
|
2929
|
-
|
2930
|
-
|
2931
|
-
|
2932
|
-
fields: import("./FieldConfig").Inferred[];
|
2933
|
-
type?: "FORM" | undefined;
|
2934
|
-
} | {
|
2935
|
-
type: "VERIFICATION";
|
2936
|
-
id: string;
|
2937
|
-
title: {
|
2938
|
-
id: string;
|
2939
|
-
description: string;
|
2940
|
-
defaultMessage: string;
|
1191
|
+
actions: {
|
1192
|
+
verify: {
|
1193
|
+
label: {
|
1194
|
+
id: string;
|
1195
|
+
description: string;
|
1196
|
+
defaultMessage: string;
|
1197
|
+
};
|
2941
1198
|
};
|
2942
|
-
|
2943
|
-
|
2944
|
-
|
1199
|
+
cancel: {
|
1200
|
+
label: {
|
1201
|
+
id: string;
|
1202
|
+
description: string;
|
1203
|
+
defaultMessage: string;
|
1204
|
+
};
|
1205
|
+
confirmation: {
|
1206
|
+
title: {
|
2945
1207
|
id: string;
|
2946
1208
|
description: string;
|
2947
1209
|
defaultMessage: string;
|
2948
1210
|
};
|
2949
|
-
|
2950
|
-
cancel: {
|
2951
|
-
label: {
|
1211
|
+
body: {
|
2952
1212
|
id: string;
|
2953
1213
|
description: string;
|
2954
1214
|
defaultMessage: string;
|
2955
1215
|
};
|
2956
|
-
confirmation: {
|
2957
|
-
title: {
|
2958
|
-
id: string;
|
2959
|
-
description: string;
|
2960
|
-
defaultMessage: string;
|
2961
|
-
};
|
2962
|
-
body: {
|
2963
|
-
id: string;
|
2964
|
-
description: string;
|
2965
|
-
defaultMessage: string;
|
2966
|
-
};
|
2967
|
-
};
|
2968
1216
|
};
|
2969
1217
|
};
|
2970
|
-
fields: import("./FieldConfig").Inferred[];
|
2971
|
-
})[];
|
2972
|
-
review: {
|
2973
|
-
title: {
|
2974
|
-
id: string;
|
2975
|
-
description: string;
|
2976
|
-
defaultMessage: string;
|
2977
|
-
};
|
2978
|
-
fields: import("./FieldConfig").Inferred[];
|
2979
1218
|
};
|
2980
|
-
|
2981
|
-
|
2982
|
-
}
|
2983
|
-
|
2984
|
-
onboardingForm: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
1219
|
+
fields: import("./FieldConfig").InferredInput[];
|
1220
|
+
conditional?: import(".").JSONSchema | undefined;
|
1221
|
+
}>)[]>, "many">;
|
1222
|
+
additionalDetailsForm: z.ZodArray<z.ZodDiscriminatedUnion<"type", (z.ZodObject<z.objectUtil.extendShape<{
|
2985
1223
|
id: z.ZodString;
|
2986
1224
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
2987
1225
|
id: string;
|
2988
1226
|
description: string;
|
2989
1227
|
defaultMessage: string;
|
2990
1228
|
}>;
|
2991
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").
|
2992
|
-
|
1229
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
1230
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
2993
1231
|
}, {
|
2994
|
-
type: z.
|
1232
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
2995
1233
|
}>, "strip", z.ZodTypeAny, {
|
1234
|
+
type: "FORM";
|
2996
1235
|
id: string;
|
2997
1236
|
title: TranslationConfig;
|
2998
1237
|
fields: import("./FieldConfig").Inferred[];
|
2999
|
-
|
1238
|
+
conditional?: import(".").JSONSchema | undefined;
|
3000
1239
|
}, {
|
3001
1240
|
id: string;
|
3002
1241
|
title: {
|
@@ -3004,35 +1243,191 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3004
1243
|
description: string;
|
3005
1244
|
defaultMessage: string;
|
3006
1245
|
};
|
3007
|
-
fields: import("./FieldConfig").
|
1246
|
+
fields: import("./FieldConfig").InferredInput[];
|
3008
1247
|
type?: "FORM" | undefined;
|
3009
|
-
|
3010
|
-
|
1248
|
+
conditional?: import(".").JSONSchema | undefined;
|
1249
|
+
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
3011
1250
|
id: z.ZodString;
|
3012
1251
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3013
1252
|
id: string;
|
3014
1253
|
description: string;
|
3015
1254
|
defaultMessage: string;
|
3016
1255
|
}>;
|
3017
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").
|
3018
|
-
|
3019
|
-
}, {
|
3020
|
-
type: z.
|
1256
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
1257
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
1258
|
+
}, {
|
1259
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
1260
|
+
}>, {
|
1261
|
+
type: z.ZodLiteral<"VERIFICATION">;
|
1262
|
+
actions: z.ZodObject<{
|
1263
|
+
verify: z.ZodObject<{
|
1264
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1265
|
+
id: string;
|
1266
|
+
description: string;
|
1267
|
+
defaultMessage: string;
|
1268
|
+
}>;
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
1270
|
+
label: TranslationConfig;
|
1271
|
+
}, {
|
1272
|
+
label: {
|
1273
|
+
id: string;
|
1274
|
+
description: string;
|
1275
|
+
defaultMessage: string;
|
1276
|
+
};
|
1277
|
+
}>;
|
1278
|
+
cancel: z.ZodObject<{
|
1279
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1280
|
+
id: string;
|
1281
|
+
description: string;
|
1282
|
+
defaultMessage: string;
|
1283
|
+
}>;
|
1284
|
+
confirmation: z.ZodObject<{
|
1285
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1286
|
+
id: string;
|
1287
|
+
description: string;
|
1288
|
+
defaultMessage: string;
|
1289
|
+
}>;
|
1290
|
+
body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1291
|
+
id: string;
|
1292
|
+
description: string;
|
1293
|
+
defaultMessage: string;
|
1294
|
+
}>;
|
1295
|
+
}, "strip", z.ZodTypeAny, {
|
1296
|
+
title: TranslationConfig;
|
1297
|
+
body: TranslationConfig;
|
1298
|
+
}, {
|
1299
|
+
title: {
|
1300
|
+
id: string;
|
1301
|
+
description: string;
|
1302
|
+
defaultMessage: string;
|
1303
|
+
};
|
1304
|
+
body: {
|
1305
|
+
id: string;
|
1306
|
+
description: string;
|
1307
|
+
defaultMessage: string;
|
1308
|
+
};
|
1309
|
+
}>;
|
1310
|
+
}, "strip", z.ZodTypeAny, {
|
1311
|
+
label: TranslationConfig;
|
1312
|
+
confirmation: {
|
1313
|
+
title: TranslationConfig;
|
1314
|
+
body: TranslationConfig;
|
1315
|
+
};
|
1316
|
+
}, {
|
1317
|
+
label: {
|
1318
|
+
id: string;
|
1319
|
+
description: string;
|
1320
|
+
defaultMessage: string;
|
1321
|
+
};
|
1322
|
+
confirmation: {
|
1323
|
+
title: {
|
1324
|
+
id: string;
|
1325
|
+
description: string;
|
1326
|
+
defaultMessage: string;
|
1327
|
+
};
|
1328
|
+
body: {
|
1329
|
+
id: string;
|
1330
|
+
description: string;
|
1331
|
+
defaultMessage: string;
|
1332
|
+
};
|
1333
|
+
};
|
1334
|
+
}>;
|
1335
|
+
}, "strip", z.ZodTypeAny, {
|
1336
|
+
verify: {
|
1337
|
+
label: TranslationConfig;
|
1338
|
+
};
|
1339
|
+
cancel: {
|
1340
|
+
label: TranslationConfig;
|
1341
|
+
confirmation: {
|
1342
|
+
title: TranslationConfig;
|
1343
|
+
body: TranslationConfig;
|
1344
|
+
};
|
1345
|
+
};
|
1346
|
+
}, {
|
1347
|
+
verify: {
|
1348
|
+
label: {
|
1349
|
+
id: string;
|
1350
|
+
description: string;
|
1351
|
+
defaultMessage: string;
|
1352
|
+
};
|
1353
|
+
};
|
1354
|
+
cancel: {
|
1355
|
+
label: {
|
1356
|
+
id: string;
|
1357
|
+
description: string;
|
1358
|
+
defaultMessage: string;
|
1359
|
+
};
|
1360
|
+
confirmation: {
|
1361
|
+
title: {
|
1362
|
+
id: string;
|
1363
|
+
description: string;
|
1364
|
+
defaultMessage: string;
|
1365
|
+
};
|
1366
|
+
body: {
|
1367
|
+
id: string;
|
1368
|
+
description: string;
|
1369
|
+
defaultMessage: string;
|
1370
|
+
};
|
1371
|
+
};
|
1372
|
+
};
|
1373
|
+
}>;
|
3021
1374
|
}>, "strip", z.ZodTypeAny, {
|
1375
|
+
type: "VERIFICATION";
|
3022
1376
|
id: string;
|
3023
1377
|
title: TranslationConfig;
|
1378
|
+
actions: {
|
1379
|
+
verify: {
|
1380
|
+
label: TranslationConfig;
|
1381
|
+
};
|
1382
|
+
cancel: {
|
1383
|
+
label: TranslationConfig;
|
1384
|
+
confirmation: {
|
1385
|
+
title: TranslationConfig;
|
1386
|
+
body: TranslationConfig;
|
1387
|
+
};
|
1388
|
+
};
|
1389
|
+
};
|
3024
1390
|
fields: import("./FieldConfig").Inferred[];
|
3025
|
-
|
1391
|
+
conditional?: import(".").JSONSchema | undefined;
|
3026
1392
|
}, {
|
1393
|
+
type: "VERIFICATION";
|
3027
1394
|
id: string;
|
3028
1395
|
title: {
|
3029
1396
|
id: string;
|
3030
1397
|
description: string;
|
3031
1398
|
defaultMessage: string;
|
3032
1399
|
};
|
3033
|
-
|
3034
|
-
|
3035
|
-
|
1400
|
+
actions: {
|
1401
|
+
verify: {
|
1402
|
+
label: {
|
1403
|
+
id: string;
|
1404
|
+
description: string;
|
1405
|
+
defaultMessage: string;
|
1406
|
+
};
|
1407
|
+
};
|
1408
|
+
cancel: {
|
1409
|
+
label: {
|
1410
|
+
id: string;
|
1411
|
+
description: string;
|
1412
|
+
defaultMessage: string;
|
1413
|
+
};
|
1414
|
+
confirmation: {
|
1415
|
+
title: {
|
1416
|
+
id: string;
|
1417
|
+
description: string;
|
1418
|
+
defaultMessage: string;
|
1419
|
+
};
|
1420
|
+
body: {
|
1421
|
+
id: string;
|
1422
|
+
description: string;
|
1423
|
+
defaultMessage: string;
|
1424
|
+
};
|
1425
|
+
};
|
1426
|
+
};
|
1427
|
+
};
|
1428
|
+
fields: import("./FieldConfig").InferredInput[];
|
1429
|
+
conditional?: import(".").JSONSchema | undefined;
|
1430
|
+
}>)[]>, "many">;
|
3036
1431
|
}>, "strip", z.ZodTypeAny, {
|
3037
1432
|
type: "REQUEST_CORRECTION";
|
3038
1433
|
conditionals: ({
|
@@ -3043,53 +1438,56 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3043
1438
|
conditional: import(".").JSONSchema;
|
3044
1439
|
})[];
|
3045
1440
|
label: TranslationConfig;
|
3046
|
-
|
3047
|
-
|
3048
|
-
|
3049
|
-
|
3050
|
-
|
3051
|
-
|
3052
|
-
|
3053
|
-
|
3054
|
-
|
3055
|
-
|
3056
|
-
|
3057
|
-
|
3058
|
-
|
3059
|
-
|
3060
|
-
|
3061
|
-
|
3062
|
-
|
3063
|
-
|
3064
|
-
|
3065
|
-
};
|
3066
|
-
cancel: {
|
3067
|
-
label: TranslationConfig;
|
3068
|
-
confirmation: {
|
3069
|
-
title: TranslationConfig;
|
3070
|
-
body: TranslationConfig;
|
3071
|
-
};
|
1441
|
+
onboardingForm: ({
|
1442
|
+
type: "FORM";
|
1443
|
+
id: string;
|
1444
|
+
title: TranslationConfig;
|
1445
|
+
fields: import("./FieldConfig").Inferred[];
|
1446
|
+
conditional?: import(".").JSONSchema | undefined;
|
1447
|
+
} | {
|
1448
|
+
type: "VERIFICATION";
|
1449
|
+
id: string;
|
1450
|
+
title: TranslationConfig;
|
1451
|
+
actions: {
|
1452
|
+
verify: {
|
1453
|
+
label: TranslationConfig;
|
1454
|
+
};
|
1455
|
+
cancel: {
|
1456
|
+
label: TranslationConfig;
|
1457
|
+
confirmation: {
|
1458
|
+
title: TranslationConfig;
|
1459
|
+
body: TranslationConfig;
|
3072
1460
|
};
|
3073
1461
|
};
|
3074
|
-
fields: import("./FieldConfig").Inferred[];
|
3075
|
-
})[];
|
3076
|
-
review: {
|
3077
|
-
title: TranslationConfig;
|
3078
|
-
fields: import("./FieldConfig").Inferred[];
|
3079
1462
|
};
|
3080
|
-
|
3081
|
-
|
1463
|
+
fields: import("./FieldConfig").Inferred[];
|
1464
|
+
conditional?: import(".").JSONSchema | undefined;
|
1465
|
+
})[];
|
1466
|
+
additionalDetailsForm: ({
|
1467
|
+
type: "FORM";
|
3082
1468
|
id: string;
|
3083
1469
|
title: TranslationConfig;
|
3084
1470
|
fields: import("./FieldConfig").Inferred[];
|
3085
|
-
|
3086
|
-
}
|
3087
|
-
|
1471
|
+
conditional?: import(".").JSONSchema | undefined;
|
1472
|
+
} | {
|
1473
|
+
type: "VERIFICATION";
|
3088
1474
|
id: string;
|
3089
1475
|
title: TranslationConfig;
|
1476
|
+
actions: {
|
1477
|
+
verify: {
|
1478
|
+
label: TranslationConfig;
|
1479
|
+
};
|
1480
|
+
cancel: {
|
1481
|
+
label: TranslationConfig;
|
1482
|
+
confirmation: {
|
1483
|
+
title: TranslationConfig;
|
1484
|
+
body: TranslationConfig;
|
1485
|
+
};
|
1486
|
+
};
|
1487
|
+
};
|
3090
1488
|
fields: import("./FieldConfig").Inferred[];
|
3091
|
-
|
3092
|
-
}[];
|
1489
|
+
conditional?: import(".").JSONSchema | undefined;
|
1490
|
+
})[];
|
3093
1491
|
draft?: boolean | undefined;
|
3094
1492
|
}, {
|
3095
1493
|
type: "REQUEST_CORRECTION";
|
@@ -3098,97 +1496,214 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3098
1496
|
description: string;
|
3099
1497
|
defaultMessage: string;
|
3100
1498
|
};
|
3101
|
-
|
3102
|
-
|
1499
|
+
onboardingForm: ({
|
1500
|
+
id: string;
|
1501
|
+
title: {
|
3103
1502
|
id: string;
|
3104
|
-
|
3105
|
-
|
3106
|
-
description: string;
|
3107
|
-
defaultMessage: string;
|
3108
|
-
};
|
1503
|
+
description: string;
|
1504
|
+
defaultMessage: string;
|
3109
1505
|
};
|
3110
|
-
|
1506
|
+
fields: import("./FieldConfig").InferredInput[];
|
1507
|
+
type?: "FORM" | undefined;
|
1508
|
+
conditional?: import(".").JSONSchema | undefined;
|
1509
|
+
} | {
|
1510
|
+
type: "VERIFICATION";
|
1511
|
+
id: string;
|
1512
|
+
title: {
|
3111
1513
|
id: string;
|
3112
1514
|
description: string;
|
3113
1515
|
defaultMessage: string;
|
3114
1516
|
};
|
3115
|
-
|
3116
|
-
|
3117
|
-
|
3118
|
-
|
3119
|
-
|
3120
|
-
|
3121
|
-
|
3122
|
-
fields: import("./FieldConfig").Inferred[];
|
3123
|
-
type?: "FORM" | undefined;
|
3124
|
-
} | {
|
3125
|
-
type: "VERIFICATION";
|
3126
|
-
id: string;
|
3127
|
-
title: {
|
3128
|
-
id: string;
|
3129
|
-
description: string;
|
3130
|
-
defaultMessage: string;
|
1517
|
+
actions: {
|
1518
|
+
verify: {
|
1519
|
+
label: {
|
1520
|
+
id: string;
|
1521
|
+
description: string;
|
1522
|
+
defaultMessage: string;
|
1523
|
+
};
|
3131
1524
|
};
|
3132
|
-
|
3133
|
-
|
3134
|
-
|
1525
|
+
cancel: {
|
1526
|
+
label: {
|
1527
|
+
id: string;
|
1528
|
+
description: string;
|
1529
|
+
defaultMessage: string;
|
1530
|
+
};
|
1531
|
+
confirmation: {
|
1532
|
+
title: {
|
3135
1533
|
id: string;
|
3136
1534
|
description: string;
|
3137
1535
|
defaultMessage: string;
|
3138
1536
|
};
|
3139
|
-
|
3140
|
-
cancel: {
|
3141
|
-
label: {
|
1537
|
+
body: {
|
3142
1538
|
id: string;
|
3143
1539
|
description: string;
|
3144
1540
|
defaultMessage: string;
|
3145
1541
|
};
|
3146
|
-
confirmation: {
|
3147
|
-
title: {
|
3148
|
-
id: string;
|
3149
|
-
description: string;
|
3150
|
-
defaultMessage: string;
|
3151
|
-
};
|
3152
|
-
body: {
|
3153
|
-
id: string;
|
3154
|
-
description: string;
|
3155
|
-
defaultMessage: string;
|
3156
|
-
};
|
3157
|
-
};
|
3158
1542
|
};
|
3159
1543
|
};
|
3160
|
-
fields: import("./FieldConfig").Inferred[];
|
3161
|
-
})[];
|
3162
|
-
review: {
|
3163
|
-
title: {
|
3164
|
-
id: string;
|
3165
|
-
description: string;
|
3166
|
-
defaultMessage: string;
|
3167
|
-
};
|
3168
|
-
fields: import("./FieldConfig").Inferred[];
|
3169
1544
|
};
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
1545
|
+
fields: import("./FieldConfig").InferredInput[];
|
1546
|
+
conditional?: import(".").JSONSchema | undefined;
|
1547
|
+
})[];
|
1548
|
+
additionalDetailsForm: ({
|
3173
1549
|
id: string;
|
3174
1550
|
title: {
|
3175
1551
|
id: string;
|
3176
1552
|
description: string;
|
3177
1553
|
defaultMessage: string;
|
3178
1554
|
};
|
3179
|
-
fields: import("./FieldConfig").
|
1555
|
+
fields: import("./FieldConfig").InferredInput[];
|
3180
1556
|
type?: "FORM" | undefined;
|
3181
|
-
|
3182
|
-
|
1557
|
+
conditional?: import(".").JSONSchema | undefined;
|
1558
|
+
} | {
|
1559
|
+
type: "VERIFICATION";
|
1560
|
+
id: string;
|
1561
|
+
title: {
|
1562
|
+
id: string;
|
1563
|
+
description: string;
|
1564
|
+
defaultMessage: string;
|
1565
|
+
};
|
1566
|
+
actions: {
|
1567
|
+
verify: {
|
1568
|
+
label: {
|
1569
|
+
id: string;
|
1570
|
+
description: string;
|
1571
|
+
defaultMessage: string;
|
1572
|
+
};
|
1573
|
+
};
|
1574
|
+
cancel: {
|
1575
|
+
label: {
|
1576
|
+
id: string;
|
1577
|
+
description: string;
|
1578
|
+
defaultMessage: string;
|
1579
|
+
};
|
1580
|
+
confirmation: {
|
1581
|
+
title: {
|
1582
|
+
id: string;
|
1583
|
+
description: string;
|
1584
|
+
defaultMessage: string;
|
1585
|
+
};
|
1586
|
+
body: {
|
1587
|
+
id: string;
|
1588
|
+
description: string;
|
1589
|
+
defaultMessage: string;
|
1590
|
+
};
|
1591
|
+
};
|
1592
|
+
};
|
1593
|
+
};
|
1594
|
+
fields: import("./FieldConfig").InferredInput[];
|
1595
|
+
conditional?: import(".").JSONSchema | undefined;
|
1596
|
+
})[];
|
1597
|
+
draft?: boolean | undefined;
|
1598
|
+
conditionals?: ({
|
1599
|
+
type: "SHOW";
|
1600
|
+
conditional: import(".").JSONSchema;
|
1601
|
+
} | {
|
1602
|
+
type: "ENABLE";
|
1603
|
+
conditional: import(".").JSONSchema;
|
1604
|
+
})[] | undefined;
|
1605
|
+
}>;
|
1606
|
+
declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1607
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1608
|
+
id: string;
|
1609
|
+
description: string;
|
1610
|
+
defaultMessage: string;
|
1611
|
+
}>;
|
1612
|
+
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1613
|
+
type: z.ZodLiteral<"SHOW">;
|
1614
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1615
|
+
}, "strip", z.ZodTypeAny, {
|
1616
|
+
type: "SHOW";
|
1617
|
+
conditional: import(".").JSONSchema;
|
1618
|
+
}, {
|
1619
|
+
type: "SHOW";
|
1620
|
+
conditional: import(".").JSONSchema;
|
1621
|
+
}>, z.ZodObject<{
|
1622
|
+
type: z.ZodLiteral<"ENABLE">;
|
1623
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1624
|
+
}, "strip", z.ZodTypeAny, {
|
1625
|
+
type: "ENABLE";
|
1626
|
+
conditional: import(".").JSONSchema;
|
1627
|
+
}, {
|
1628
|
+
type: "ENABLE";
|
1629
|
+
conditional: import(".").JSONSchema;
|
1630
|
+
}>]>, "many">>>;
|
1631
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
1632
|
+
}, {
|
1633
|
+
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
1634
|
+
}>, "strip", z.ZodTypeAny, {
|
1635
|
+
type: "REJECT_CORRECTION";
|
1636
|
+
conditionals: ({
|
1637
|
+
type: "SHOW";
|
1638
|
+
conditional: import(".").JSONSchema;
|
1639
|
+
} | {
|
1640
|
+
type: "ENABLE";
|
1641
|
+
conditional: import(".").JSONSchema;
|
1642
|
+
})[];
|
1643
|
+
label: TranslationConfig;
|
1644
|
+
draft?: boolean | undefined;
|
1645
|
+
}, {
|
1646
|
+
type: "REJECT_CORRECTION";
|
1647
|
+
label: {
|
1648
|
+
id: string;
|
1649
|
+
description: string;
|
1650
|
+
defaultMessage: string;
|
1651
|
+
};
|
1652
|
+
draft?: boolean | undefined;
|
1653
|
+
conditionals?: ({
|
1654
|
+
type: "SHOW";
|
1655
|
+
conditional: import(".").JSONSchema;
|
1656
|
+
} | {
|
1657
|
+
type: "ENABLE";
|
1658
|
+
conditional: import(".").JSONSchema;
|
1659
|
+
})[] | undefined;
|
1660
|
+
}>;
|
1661
|
+
declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1662
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
1663
|
+
id: string;
|
1664
|
+
description: string;
|
1665
|
+
defaultMessage: string;
|
1666
|
+
}>;
|
1667
|
+
conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
1668
|
+
type: z.ZodLiteral<"SHOW">;
|
1669
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1670
|
+
}, "strip", z.ZodTypeAny, {
|
1671
|
+
type: "SHOW";
|
1672
|
+
conditional: import(".").JSONSchema;
|
1673
|
+
}, {
|
1674
|
+
type: "SHOW";
|
1675
|
+
conditional: import(".").JSONSchema;
|
1676
|
+
}>, z.ZodObject<{
|
1677
|
+
type: z.ZodLiteral<"ENABLE">;
|
1678
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
1679
|
+
}, "strip", z.ZodTypeAny, {
|
1680
|
+
type: "ENABLE";
|
1681
|
+
conditional: import(".").JSONSchema;
|
1682
|
+
}, {
|
1683
|
+
type: "ENABLE";
|
1684
|
+
conditional: import(".").JSONSchema;
|
1685
|
+
}>]>, "many">>>;
|
1686
|
+
draft: z.ZodOptional<z.ZodBoolean>;
|
1687
|
+
}, {
|
1688
|
+
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
1689
|
+
}>, "strip", z.ZodTypeAny, {
|
1690
|
+
type: "APPROVE_CORRECTION";
|
1691
|
+
conditionals: ({
|
1692
|
+
type: "SHOW";
|
1693
|
+
conditional: import(".").JSONSchema;
|
1694
|
+
} | {
|
1695
|
+
type: "ENABLE";
|
1696
|
+
conditional: import(".").JSONSchema;
|
1697
|
+
})[];
|
1698
|
+
label: TranslationConfig;
|
1699
|
+
draft?: boolean | undefined;
|
1700
|
+
}, {
|
1701
|
+
type: "APPROVE_CORRECTION";
|
1702
|
+
label: {
|
3183
1703
|
id: string;
|
3184
|
-
|
3185
|
-
|
3186
|
-
|
3187
|
-
defaultMessage: string;
|
3188
|
-
};
|
3189
|
-
fields: import("./FieldConfig").Inferred[];
|
3190
|
-
type?: "FORM" | undefined;
|
3191
|
-
}[];
|
1704
|
+
description: string;
|
1705
|
+
defaultMessage: string;
|
1706
|
+
};
|
3192
1707
|
draft?: boolean | undefined;
|
3193
1708
|
conditionals?: ({
|
3194
1709
|
type: "SHOW";
|
@@ -3198,7 +1713,13 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3198
1713
|
conditional: import(".").JSONSchema;
|
3199
1714
|
})[] | undefined;
|
3200
1715
|
}>;
|
3201
|
-
|
1716
|
+
/** @knipignore */
|
1717
|
+
export type AllActionConfigFields = typeof DeclareConfig | typeof ValidateConfig | typeof RejectDeclarationConfig | typeof MarkedAsDuplicateConfig | typeof ArchiveConfig | typeof RegisterConfig | typeof DeleteConfig | typeof PrintCertificateActionConfig | typeof RequestCorrectionConfig | typeof RejectCorrectionConfig | typeof ApproveCorrectionConfig;
|
1718
|
+
/** @knipignore */
|
1719
|
+
export type InferredActionConfig = z.infer<typeof DeclareConfig> | z.infer<typeof ValidateConfig> | z.infer<typeof RejectDeclarationConfig> | z.infer<typeof MarkedAsDuplicateConfig> | z.infer<typeof ArchiveConfig> | z.infer<typeof RegisterConfig> | z.infer<typeof DeleteConfig> | z.infer<typeof PrintCertificateActionConfig> | z.infer<typeof RequestCorrectionConfig> | z.infer<typeof RejectCorrectionConfig> | z.infer<typeof ApproveCorrectionConfig>;
|
1720
|
+
export declare const ActionConfig: z.ZodDiscriminatedUnion<"type", AllActionConfigFields[]>;
|
1721
|
+
export type ActionConfig = InferredActionConfig;
|
1722
|
+
export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
3202
1723
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3203
1724
|
id: string;
|
3204
1725
|
description: string;
|
@@ -3224,159 +1745,28 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3224
1745
|
conditional: import(".").JSONSchema;
|
3225
1746
|
}>]>, "many">>>;
|
3226
1747
|
draft: z.ZodOptional<z.ZodBoolean>;
|
3227
|
-
|
3228
|
-
|
1748
|
+
}, {
|
1749
|
+
type: z.ZodLiteral<"DECLARE">;
|
1750
|
+
review: z.ZodObject<{
|
1751
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3229
1752
|
id: string;
|
3230
1753
|
description: string;
|
3231
1754
|
defaultMessage: string;
|
3232
1755
|
}>;
|
3233
|
-
|
3234
|
-
id: z.ZodString;
|
3235
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3236
|
-
id: string;
|
3237
|
-
description: string;
|
3238
|
-
defaultMessage: string;
|
3239
|
-
}>;
|
3240
|
-
}, "strip", z.ZodTypeAny, {
|
3241
|
-
id: string;
|
3242
|
-
label: TranslationConfig;
|
3243
|
-
}, {
|
3244
|
-
id: string;
|
3245
|
-
label: {
|
3246
|
-
id: string;
|
3247
|
-
description: string;
|
3248
|
-
defaultMessage: string;
|
3249
|
-
};
|
3250
|
-
}>;
|
3251
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
3252
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
3253
|
-
review: z.ZodObject<{
|
3254
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3255
|
-
id: string;
|
3256
|
-
description: string;
|
3257
|
-
defaultMessage: string;
|
3258
|
-
}>;
|
3259
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
3260
|
-
}, "strip", z.ZodTypeAny, {
|
3261
|
-
title: TranslationConfig;
|
3262
|
-
fields: import("./FieldConfig").Inferred[];
|
3263
|
-
}, {
|
3264
|
-
title: {
|
3265
|
-
id: string;
|
3266
|
-
description: string;
|
3267
|
-
defaultMessage: string;
|
3268
|
-
};
|
3269
|
-
fields: import("./FieldConfig").Inferred[];
|
3270
|
-
}>;
|
1756
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
3271
1757
|
}, "strip", z.ZodTypeAny, {
|
3272
|
-
|
3273
|
-
|
3274
|
-
id: string;
|
3275
|
-
label: TranslationConfig;
|
3276
|
-
};
|
3277
|
-
label: TranslationConfig;
|
3278
|
-
pages: ({
|
3279
|
-
id: string;
|
3280
|
-
title: TranslationConfig;
|
3281
|
-
fields: import("./FieldConfig").Inferred[];
|
3282
|
-
type?: "FORM" | undefined;
|
3283
|
-
} | {
|
3284
|
-
type: "VERIFICATION";
|
3285
|
-
id: string;
|
3286
|
-
title: TranslationConfig;
|
3287
|
-
actions: {
|
3288
|
-
verify: {
|
3289
|
-
label: TranslationConfig;
|
3290
|
-
};
|
3291
|
-
cancel: {
|
3292
|
-
label: TranslationConfig;
|
3293
|
-
confirmation: {
|
3294
|
-
title: TranslationConfig;
|
3295
|
-
body: TranslationConfig;
|
3296
|
-
};
|
3297
|
-
};
|
3298
|
-
};
|
3299
|
-
fields: import("./FieldConfig").Inferred[];
|
3300
|
-
})[];
|
3301
|
-
review: {
|
3302
|
-
title: TranslationConfig;
|
3303
|
-
fields: import("./FieldConfig").Inferred[];
|
3304
|
-
};
|
1758
|
+
title: TranslationConfig;
|
1759
|
+
fields: import("./FieldConfig").Inferred[];
|
3305
1760
|
}, {
|
3306
|
-
|
3307
|
-
id: string;
|
3308
|
-
label: {
|
3309
|
-
id: string;
|
3310
|
-
description: string;
|
3311
|
-
defaultMessage: string;
|
3312
|
-
};
|
3313
|
-
};
|
3314
|
-
label: {
|
1761
|
+
title: {
|
3315
1762
|
id: string;
|
3316
1763
|
description: string;
|
3317
1764
|
defaultMessage: string;
|
3318
1765
|
};
|
3319
|
-
|
3320
|
-
|
3321
|
-
title: {
|
3322
|
-
id: string;
|
3323
|
-
description: string;
|
3324
|
-
defaultMessage: string;
|
3325
|
-
};
|
3326
|
-
fields: import("./FieldConfig").Inferred[];
|
3327
|
-
type?: "FORM" | undefined;
|
3328
|
-
} | {
|
3329
|
-
type: "VERIFICATION";
|
3330
|
-
id: string;
|
3331
|
-
title: {
|
3332
|
-
id: string;
|
3333
|
-
description: string;
|
3334
|
-
defaultMessage: string;
|
3335
|
-
};
|
3336
|
-
actions: {
|
3337
|
-
verify: {
|
3338
|
-
label: {
|
3339
|
-
id: string;
|
3340
|
-
description: string;
|
3341
|
-
defaultMessage: string;
|
3342
|
-
};
|
3343
|
-
};
|
3344
|
-
cancel: {
|
3345
|
-
label: {
|
3346
|
-
id: string;
|
3347
|
-
description: string;
|
3348
|
-
defaultMessage: string;
|
3349
|
-
};
|
3350
|
-
confirmation: {
|
3351
|
-
title: {
|
3352
|
-
id: string;
|
3353
|
-
description: string;
|
3354
|
-
defaultMessage: string;
|
3355
|
-
};
|
3356
|
-
body: {
|
3357
|
-
id: string;
|
3358
|
-
description: string;
|
3359
|
-
defaultMessage: string;
|
3360
|
-
};
|
3361
|
-
};
|
3362
|
-
};
|
3363
|
-
};
|
3364
|
-
fields: import("./FieldConfig").Inferred[];
|
3365
|
-
})[];
|
3366
|
-
review: {
|
3367
|
-
title: {
|
3368
|
-
id: string;
|
3369
|
-
description: string;
|
3370
|
-
defaultMessage: string;
|
3371
|
-
};
|
3372
|
-
fields: import("./FieldConfig").Inferred[];
|
3373
|
-
};
|
3374
|
-
active?: boolean | undefined;
|
3375
|
-
}>, "many">;
|
3376
|
-
}, {
|
3377
|
-
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
1766
|
+
fields: import("./FieldConfig").InferredInput[];
|
1767
|
+
}>;
|
3378
1768
|
}>, "strip", z.ZodTypeAny, {
|
3379
|
-
type: "
|
1769
|
+
type: "DECLARE";
|
3380
1770
|
conditionals: ({
|
3381
1771
|
type: "SHOW";
|
3382
1772
|
conditional: import(".").JSONSchema;
|
@@ -3385,120 +1775,26 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3385
1775
|
conditional: import(".").JSONSchema;
|
3386
1776
|
})[];
|
3387
1777
|
label: TranslationConfig;
|
3388
|
-
|
3389
|
-
|
3390
|
-
|
3391
|
-
id: string;
|
3392
|
-
label: TranslationConfig;
|
3393
|
-
};
|
3394
|
-
label: TranslationConfig;
|
3395
|
-
pages: ({
|
3396
|
-
id: string;
|
3397
|
-
title: TranslationConfig;
|
3398
|
-
fields: import("./FieldConfig").Inferred[];
|
3399
|
-
type?: "FORM" | undefined;
|
3400
|
-
} | {
|
3401
|
-
type: "VERIFICATION";
|
3402
|
-
id: string;
|
3403
|
-
title: TranslationConfig;
|
3404
|
-
actions: {
|
3405
|
-
verify: {
|
3406
|
-
label: TranslationConfig;
|
3407
|
-
};
|
3408
|
-
cancel: {
|
3409
|
-
label: TranslationConfig;
|
3410
|
-
confirmation: {
|
3411
|
-
title: TranslationConfig;
|
3412
|
-
body: TranslationConfig;
|
3413
|
-
};
|
3414
|
-
};
|
3415
|
-
};
|
3416
|
-
fields: import("./FieldConfig").Inferred[];
|
3417
|
-
})[];
|
3418
|
-
review: {
|
3419
|
-
title: TranslationConfig;
|
3420
|
-
fields: import("./FieldConfig").Inferred[];
|
3421
|
-
};
|
3422
|
-
}[];
|
3423
|
-
draft?: boolean | undefined;
|
3424
|
-
}, {
|
3425
|
-
type: "REJECT_CORRECTION";
|
3426
|
-
label: {
|
3427
|
-
id: string;
|
3428
|
-
description: string;
|
3429
|
-
defaultMessage: string;
|
1778
|
+
review: {
|
1779
|
+
title: TranslationConfig;
|
1780
|
+
fields: import("./FieldConfig").Inferred[];
|
3430
1781
|
};
|
3431
|
-
|
3432
|
-
|
3433
|
-
|
3434
|
-
|
3435
|
-
|
3436
|
-
|
3437
|
-
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3441
|
-
id: string;
|
3442
|
-
description: string;
|
3443
|
-
defaultMessage: string;
|
3444
|
-
};
|
3445
|
-
pages: ({
|
3446
|
-
id: string;
|
3447
|
-
title: {
|
3448
|
-
id: string;
|
3449
|
-
description: string;
|
3450
|
-
defaultMessage: string;
|
3451
|
-
};
|
3452
|
-
fields: import("./FieldConfig").Inferred[];
|
3453
|
-
type?: "FORM" | undefined;
|
3454
|
-
} | {
|
3455
|
-
type: "VERIFICATION";
|
3456
|
-
id: string;
|
3457
|
-
title: {
|
3458
|
-
id: string;
|
3459
|
-
description: string;
|
3460
|
-
defaultMessage: string;
|
3461
|
-
};
|
3462
|
-
actions: {
|
3463
|
-
verify: {
|
3464
|
-
label: {
|
3465
|
-
id: string;
|
3466
|
-
description: string;
|
3467
|
-
defaultMessage: string;
|
3468
|
-
};
|
3469
|
-
};
|
3470
|
-
cancel: {
|
3471
|
-
label: {
|
3472
|
-
id: string;
|
3473
|
-
description: string;
|
3474
|
-
defaultMessage: string;
|
3475
|
-
};
|
3476
|
-
confirmation: {
|
3477
|
-
title: {
|
3478
|
-
id: string;
|
3479
|
-
description: string;
|
3480
|
-
defaultMessage: string;
|
3481
|
-
};
|
3482
|
-
body: {
|
3483
|
-
id: string;
|
3484
|
-
description: string;
|
3485
|
-
defaultMessage: string;
|
3486
|
-
};
|
3487
|
-
};
|
3488
|
-
};
|
3489
|
-
};
|
3490
|
-
fields: import("./FieldConfig").Inferred[];
|
3491
|
-
})[];
|
3492
|
-
review: {
|
3493
|
-
title: {
|
3494
|
-
id: string;
|
3495
|
-
description: string;
|
3496
|
-
defaultMessage: string;
|
3497
|
-
};
|
3498
|
-
fields: import("./FieldConfig").Inferred[];
|
1782
|
+
draft?: boolean | undefined;
|
1783
|
+
}, {
|
1784
|
+
type: "DECLARE";
|
1785
|
+
label: {
|
1786
|
+
id: string;
|
1787
|
+
description: string;
|
1788
|
+
defaultMessage: string;
|
1789
|
+
};
|
1790
|
+
review: {
|
1791
|
+
title: {
|
1792
|
+
id: string;
|
1793
|
+
description: string;
|
1794
|
+
defaultMessage: string;
|
3499
1795
|
};
|
3500
|
-
|
3501
|
-
}
|
1796
|
+
fields: import("./FieldConfig").InferredInput[];
|
1797
|
+
};
|
3502
1798
|
draft?: boolean | undefined;
|
3503
1799
|
conditionals?: ({
|
3504
1800
|
type: "SHOW";
|
@@ -3507,8 +1803,7 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3507
1803
|
type: "ENABLE";
|
3508
1804
|
conditional: import(".").JSONSchema;
|
3509
1805
|
})[] | undefined;
|
3510
|
-
}
|
3511
|
-
declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1806
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3512
1807
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3513
1808
|
id: string;
|
3514
1809
|
description: string;
|
@@ -3534,281 +1829,56 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3534
1829
|
conditional: import(".").JSONSchema;
|
3535
1830
|
}>]>, "many">>>;
|
3536
1831
|
draft: z.ZodOptional<z.ZodBoolean>;
|
3537
|
-
|
3538
|
-
|
1832
|
+
}, {
|
1833
|
+
type: z.ZodLiteral<"VALIDATE">;
|
1834
|
+
review: z.ZodObject<{
|
1835
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3539
1836
|
id: string;
|
3540
1837
|
description: string;
|
3541
1838
|
defaultMessage: string;
|
3542
1839
|
}>;
|
3543
|
-
|
3544
|
-
id: z.ZodString;
|
3545
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3546
|
-
id: string;
|
3547
|
-
description: string;
|
3548
|
-
defaultMessage: string;
|
3549
|
-
}>;
|
3550
|
-
}, "strip", z.ZodTypeAny, {
|
3551
|
-
id: string;
|
3552
|
-
label: TranslationConfig;
|
3553
|
-
}, {
|
3554
|
-
id: string;
|
3555
|
-
label: {
|
3556
|
-
id: string;
|
3557
|
-
description: string;
|
3558
|
-
defaultMessage: string;
|
3559
|
-
};
|
3560
|
-
}>;
|
3561
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
3562
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
3563
|
-
review: z.ZodObject<{
|
3564
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3565
|
-
id: string;
|
3566
|
-
description: string;
|
3567
|
-
defaultMessage: string;
|
3568
|
-
}>;
|
3569
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
3570
|
-
}, "strip", z.ZodTypeAny, {
|
3571
|
-
title: TranslationConfig;
|
3572
|
-
fields: import("./FieldConfig").Inferred[];
|
3573
|
-
}, {
|
3574
|
-
title: {
|
3575
|
-
id: string;
|
3576
|
-
description: string;
|
3577
|
-
defaultMessage: string;
|
3578
|
-
};
|
3579
|
-
fields: import("./FieldConfig").Inferred[];
|
3580
|
-
}>;
|
1840
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
3581
1841
|
}, "strip", z.ZodTypeAny, {
|
3582
|
-
|
3583
|
-
|
3584
|
-
id: string;
|
3585
|
-
label: TranslationConfig;
|
3586
|
-
};
|
3587
|
-
label: TranslationConfig;
|
3588
|
-
pages: ({
|
3589
|
-
id: string;
|
3590
|
-
title: TranslationConfig;
|
3591
|
-
fields: import("./FieldConfig").Inferred[];
|
3592
|
-
type?: "FORM" | undefined;
|
3593
|
-
} | {
|
3594
|
-
type: "VERIFICATION";
|
3595
|
-
id: string;
|
3596
|
-
title: TranslationConfig;
|
3597
|
-
actions: {
|
3598
|
-
verify: {
|
3599
|
-
label: TranslationConfig;
|
3600
|
-
};
|
3601
|
-
cancel: {
|
3602
|
-
label: TranslationConfig;
|
3603
|
-
confirmation: {
|
3604
|
-
title: TranslationConfig;
|
3605
|
-
body: TranslationConfig;
|
3606
|
-
};
|
3607
|
-
};
|
3608
|
-
};
|
3609
|
-
fields: import("./FieldConfig").Inferred[];
|
3610
|
-
})[];
|
3611
|
-
review: {
|
3612
|
-
title: TranslationConfig;
|
3613
|
-
fields: import("./FieldConfig").Inferred[];
|
3614
|
-
};
|
1842
|
+
title: TranslationConfig;
|
1843
|
+
fields: import("./FieldConfig").Inferred[];
|
3615
1844
|
}, {
|
3616
|
-
|
3617
|
-
id: string;
|
3618
|
-
label: {
|
3619
|
-
id: string;
|
3620
|
-
description: string;
|
3621
|
-
defaultMessage: string;
|
3622
|
-
};
|
3623
|
-
};
|
3624
|
-
label: {
|
1845
|
+
title: {
|
3625
1846
|
id: string;
|
3626
1847
|
description: string;
|
3627
1848
|
defaultMessage: string;
|
3628
1849
|
};
|
3629
|
-
|
3630
|
-
|
3631
|
-
title: {
|
3632
|
-
id: string;
|
3633
|
-
description: string;
|
3634
|
-
defaultMessage: string;
|
3635
|
-
};
|
3636
|
-
fields: import("./FieldConfig").Inferred[];
|
3637
|
-
type?: "FORM" | undefined;
|
3638
|
-
} | {
|
3639
|
-
type: "VERIFICATION";
|
3640
|
-
id: string;
|
3641
|
-
title: {
|
3642
|
-
id: string;
|
3643
|
-
description: string;
|
3644
|
-
defaultMessage: string;
|
3645
|
-
};
|
3646
|
-
actions: {
|
3647
|
-
verify: {
|
3648
|
-
label: {
|
3649
|
-
id: string;
|
3650
|
-
description: string;
|
3651
|
-
defaultMessage: string;
|
3652
|
-
};
|
3653
|
-
};
|
3654
|
-
cancel: {
|
3655
|
-
label: {
|
3656
|
-
id: string;
|
3657
|
-
description: string;
|
3658
|
-
defaultMessage: string;
|
3659
|
-
};
|
3660
|
-
confirmation: {
|
3661
|
-
title: {
|
3662
|
-
id: string;
|
3663
|
-
description: string;
|
3664
|
-
defaultMessage: string;
|
3665
|
-
};
|
3666
|
-
body: {
|
3667
|
-
id: string;
|
3668
|
-
description: string;
|
3669
|
-
defaultMessage: string;
|
3670
|
-
};
|
3671
|
-
};
|
3672
|
-
};
|
3673
|
-
};
|
3674
|
-
fields: import("./FieldConfig").Inferred[];
|
3675
|
-
})[];
|
3676
|
-
review: {
|
3677
|
-
title: {
|
3678
|
-
id: string;
|
3679
|
-
description: string;
|
3680
|
-
defaultMessage: string;
|
3681
|
-
};
|
3682
|
-
fields: import("./FieldConfig").Inferred[];
|
3683
|
-
};
|
3684
|
-
active?: boolean | undefined;
|
3685
|
-
}>, "many">;
|
3686
|
-
}, {
|
3687
|
-
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
1850
|
+
fields: import("./FieldConfig").InferredInput[];
|
1851
|
+
}>;
|
3688
1852
|
}>, "strip", z.ZodTypeAny, {
|
3689
|
-
type: "
|
3690
|
-
conditionals: ({
|
3691
|
-
type: "SHOW";
|
3692
|
-
conditional: import(".").JSONSchema;
|
3693
|
-
} | {
|
3694
|
-
type: "ENABLE";
|
3695
|
-
conditional: import(".").JSONSchema;
|
3696
|
-
})[];
|
3697
|
-
label: TranslationConfig;
|
3698
|
-
|
3699
|
-
|
3700
|
-
|
3701
|
-
|
3702
|
-
|
3703
|
-
|
3704
|
-
|
3705
|
-
|
3706
|
-
|
3707
|
-
|
3708
|
-
|
3709
|
-
|
3710
|
-
|
3711
|
-
|
3712
|
-
id: string;
|
3713
|
-
|
3714
|
-
|
3715
|
-
verify: {
|
3716
|
-
label: TranslationConfig;
|
3717
|
-
};
|
3718
|
-
cancel: {
|
3719
|
-
label: TranslationConfig;
|
3720
|
-
confirmation: {
|
3721
|
-
title: TranslationConfig;
|
3722
|
-
body: TranslationConfig;
|
3723
|
-
};
|
3724
|
-
};
|
3725
|
-
};
|
3726
|
-
fields: import("./FieldConfig").Inferred[];
|
3727
|
-
})[];
|
3728
|
-
review: {
|
3729
|
-
title: TranslationConfig;
|
3730
|
-
fields: import("./FieldConfig").Inferred[];
|
3731
|
-
};
|
3732
|
-
}[];
|
3733
|
-
draft?: boolean | undefined;
|
3734
|
-
}, {
|
3735
|
-
type: "APPROVE_CORRECTION";
|
3736
|
-
label: {
|
3737
|
-
id: string;
|
3738
|
-
description: string;
|
3739
|
-
defaultMessage: string;
|
3740
|
-
};
|
3741
|
-
forms: {
|
3742
|
-
version: {
|
3743
|
-
id: string;
|
3744
|
-
label: {
|
3745
|
-
id: string;
|
3746
|
-
description: string;
|
3747
|
-
defaultMessage: string;
|
3748
|
-
};
|
3749
|
-
};
|
3750
|
-
label: {
|
3751
|
-
id: string;
|
3752
|
-
description: string;
|
3753
|
-
defaultMessage: string;
|
3754
|
-
};
|
3755
|
-
pages: ({
|
3756
|
-
id: string;
|
3757
|
-
title: {
|
3758
|
-
id: string;
|
3759
|
-
description: string;
|
3760
|
-
defaultMessage: string;
|
3761
|
-
};
|
3762
|
-
fields: import("./FieldConfig").Inferred[];
|
3763
|
-
type?: "FORM" | undefined;
|
3764
|
-
} | {
|
3765
|
-
type: "VERIFICATION";
|
3766
|
-
id: string;
|
3767
|
-
title: {
|
3768
|
-
id: string;
|
3769
|
-
description: string;
|
3770
|
-
defaultMessage: string;
|
3771
|
-
};
|
3772
|
-
actions: {
|
3773
|
-
verify: {
|
3774
|
-
label: {
|
3775
|
-
id: string;
|
3776
|
-
description: string;
|
3777
|
-
defaultMessage: string;
|
3778
|
-
};
|
3779
|
-
};
|
3780
|
-
cancel: {
|
3781
|
-
label: {
|
3782
|
-
id: string;
|
3783
|
-
description: string;
|
3784
|
-
defaultMessage: string;
|
3785
|
-
};
|
3786
|
-
confirmation: {
|
3787
|
-
title: {
|
3788
|
-
id: string;
|
3789
|
-
description: string;
|
3790
|
-
defaultMessage: string;
|
3791
|
-
};
|
3792
|
-
body: {
|
3793
|
-
id: string;
|
3794
|
-
description: string;
|
3795
|
-
defaultMessage: string;
|
3796
|
-
};
|
3797
|
-
};
|
3798
|
-
};
|
3799
|
-
};
|
3800
|
-
fields: import("./FieldConfig").Inferred[];
|
3801
|
-
})[];
|
3802
|
-
review: {
|
3803
|
-
title: {
|
3804
|
-
id: string;
|
3805
|
-
description: string;
|
3806
|
-
defaultMessage: string;
|
3807
|
-
};
|
3808
|
-
fields: import("./FieldConfig").Inferred[];
|
1853
|
+
type: "VALIDATE";
|
1854
|
+
conditionals: ({
|
1855
|
+
type: "SHOW";
|
1856
|
+
conditional: import(".").JSONSchema;
|
1857
|
+
} | {
|
1858
|
+
type: "ENABLE";
|
1859
|
+
conditional: import(".").JSONSchema;
|
1860
|
+
})[];
|
1861
|
+
label: TranslationConfig;
|
1862
|
+
review: {
|
1863
|
+
title: TranslationConfig;
|
1864
|
+
fields: import("./FieldConfig").Inferred[];
|
1865
|
+
};
|
1866
|
+
draft?: boolean | undefined;
|
1867
|
+
}, {
|
1868
|
+
type: "VALIDATE";
|
1869
|
+
label: {
|
1870
|
+
id: string;
|
1871
|
+
description: string;
|
1872
|
+
defaultMessage: string;
|
1873
|
+
};
|
1874
|
+
review: {
|
1875
|
+
title: {
|
1876
|
+
id: string;
|
1877
|
+
description: string;
|
1878
|
+
defaultMessage: string;
|
3809
1879
|
};
|
3810
|
-
|
3811
|
-
}
|
1880
|
+
fields: import("./FieldConfig").InferredInput[];
|
1881
|
+
};
|
3812
1882
|
draft?: boolean | undefined;
|
3813
1883
|
conditionals?: ({
|
3814
1884
|
type: "SHOW";
|
@@ -3817,8 +1887,7 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3817
1887
|
type: "ENABLE";
|
3818
1888
|
conditional: import(".").JSONSchema;
|
3819
1889
|
})[] | undefined;
|
3820
|
-
}
|
3821
|
-
declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
1890
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3822
1891
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3823
1892
|
id: string;
|
3824
1893
|
description: string;
|
@@ -3844,159 +1913,28 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
3844
1913
|
conditional: import(".").JSONSchema;
|
3845
1914
|
}>]>, "many">>>;
|
3846
1915
|
draft: z.ZodOptional<z.ZodBoolean>;
|
3847
|
-
|
3848
|
-
|
1916
|
+
}, {
|
1917
|
+
type: z.ZodLiteral<"REGISTER">;
|
1918
|
+
review: z.ZodObject<{
|
1919
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3849
1920
|
id: string;
|
3850
1921
|
description: string;
|
3851
1922
|
defaultMessage: string;
|
3852
1923
|
}>;
|
3853
|
-
|
3854
|
-
id: z.ZodString;
|
3855
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3856
|
-
id: string;
|
3857
|
-
description: string;
|
3858
|
-
defaultMessage: string;
|
3859
|
-
}>;
|
3860
|
-
}, "strip", z.ZodTypeAny, {
|
3861
|
-
id: string;
|
3862
|
-
label: TranslationConfig;
|
3863
|
-
}, {
|
3864
|
-
id: string;
|
3865
|
-
label: {
|
3866
|
-
id: string;
|
3867
|
-
description: string;
|
3868
|
-
defaultMessage: string;
|
3869
|
-
};
|
3870
|
-
}>;
|
3871
|
-
active: z.ZodDefault<z.ZodBoolean>;
|
3872
|
-
pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./FormConfig").AllPageConfigs[]>, "many">;
|
3873
|
-
review: z.ZodObject<{
|
3874
|
-
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
3875
|
-
id: string;
|
3876
|
-
description: string;
|
3877
|
-
defaultMessage: string;
|
3878
|
-
}>;
|
3879
|
-
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").Inferred>, "many">;
|
3880
|
-
}, "strip", z.ZodTypeAny, {
|
3881
|
-
title: TranslationConfig;
|
3882
|
-
fields: import("./FieldConfig").Inferred[];
|
3883
|
-
}, {
|
3884
|
-
title: {
|
3885
|
-
id: string;
|
3886
|
-
description: string;
|
3887
|
-
defaultMessage: string;
|
3888
|
-
};
|
3889
|
-
fields: import("./FieldConfig").Inferred[];
|
3890
|
-
}>;
|
1924
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
3891
1925
|
}, "strip", z.ZodTypeAny, {
|
3892
|
-
|
3893
|
-
|
3894
|
-
id: string;
|
3895
|
-
label: TranslationConfig;
|
3896
|
-
};
|
3897
|
-
label: TranslationConfig;
|
3898
|
-
pages: ({
|
3899
|
-
id: string;
|
3900
|
-
title: TranslationConfig;
|
3901
|
-
fields: import("./FieldConfig").Inferred[];
|
3902
|
-
type?: "FORM" | undefined;
|
3903
|
-
} | {
|
3904
|
-
type: "VERIFICATION";
|
3905
|
-
id: string;
|
3906
|
-
title: TranslationConfig;
|
3907
|
-
actions: {
|
3908
|
-
verify: {
|
3909
|
-
label: TranslationConfig;
|
3910
|
-
};
|
3911
|
-
cancel: {
|
3912
|
-
label: TranslationConfig;
|
3913
|
-
confirmation: {
|
3914
|
-
title: TranslationConfig;
|
3915
|
-
body: TranslationConfig;
|
3916
|
-
};
|
3917
|
-
};
|
3918
|
-
};
|
3919
|
-
fields: import("./FieldConfig").Inferred[];
|
3920
|
-
})[];
|
3921
|
-
review: {
|
3922
|
-
title: TranslationConfig;
|
3923
|
-
fields: import("./FieldConfig").Inferred[];
|
3924
|
-
};
|
1926
|
+
title: TranslationConfig;
|
1927
|
+
fields: import("./FieldConfig").Inferred[];
|
3925
1928
|
}, {
|
3926
|
-
|
3927
|
-
id: string;
|
3928
|
-
label: {
|
3929
|
-
id: string;
|
3930
|
-
description: string;
|
3931
|
-
defaultMessage: string;
|
3932
|
-
};
|
3933
|
-
};
|
3934
|
-
label: {
|
1929
|
+
title: {
|
3935
1930
|
id: string;
|
3936
1931
|
description: string;
|
3937
1932
|
defaultMessage: string;
|
3938
1933
|
};
|
3939
|
-
|
3940
|
-
|
3941
|
-
title: {
|
3942
|
-
id: string;
|
3943
|
-
description: string;
|
3944
|
-
defaultMessage: string;
|
3945
|
-
};
|
3946
|
-
fields: import("./FieldConfig").Inferred[];
|
3947
|
-
type?: "FORM" | undefined;
|
3948
|
-
} | {
|
3949
|
-
type: "VERIFICATION";
|
3950
|
-
id: string;
|
3951
|
-
title: {
|
3952
|
-
id: string;
|
3953
|
-
description: string;
|
3954
|
-
defaultMessage: string;
|
3955
|
-
};
|
3956
|
-
actions: {
|
3957
|
-
verify: {
|
3958
|
-
label: {
|
3959
|
-
id: string;
|
3960
|
-
description: string;
|
3961
|
-
defaultMessage: string;
|
3962
|
-
};
|
3963
|
-
};
|
3964
|
-
cancel: {
|
3965
|
-
label: {
|
3966
|
-
id: string;
|
3967
|
-
description: string;
|
3968
|
-
defaultMessage: string;
|
3969
|
-
};
|
3970
|
-
confirmation: {
|
3971
|
-
title: {
|
3972
|
-
id: string;
|
3973
|
-
description: string;
|
3974
|
-
defaultMessage: string;
|
3975
|
-
};
|
3976
|
-
body: {
|
3977
|
-
id: string;
|
3978
|
-
description: string;
|
3979
|
-
defaultMessage: string;
|
3980
|
-
};
|
3981
|
-
};
|
3982
|
-
};
|
3983
|
-
};
|
3984
|
-
fields: import("./FieldConfig").Inferred[];
|
3985
|
-
})[];
|
3986
|
-
review: {
|
3987
|
-
title: {
|
3988
|
-
id: string;
|
3989
|
-
description: string;
|
3990
|
-
defaultMessage: string;
|
3991
|
-
};
|
3992
|
-
fields: import("./FieldConfig").Inferred[];
|
3993
|
-
};
|
3994
|
-
active?: boolean | undefined;
|
3995
|
-
}>, "many">;
|
3996
|
-
}, {
|
3997
|
-
type: z.ZodLiteral<"CUSTOM">;
|
1934
|
+
fields: import("./FieldConfig").InferredInput[];
|
1935
|
+
}>;
|
3998
1936
|
}>, "strip", z.ZodTypeAny, {
|
3999
|
-
type: "
|
1937
|
+
type: "REGISTER";
|
4000
1938
|
conditionals: ({
|
4001
1939
|
type: "SHOW";
|
4002
1940
|
conditional: import(".").JSONSchema;
|
@@ -4005,120 +1943,26 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4005
1943
|
conditional: import(".").JSONSchema;
|
4006
1944
|
})[];
|
4007
1945
|
label: TranslationConfig;
|
4008
|
-
|
4009
|
-
|
4010
|
-
|
4011
|
-
|
4012
|
-
label: TranslationConfig;
|
4013
|
-
};
|
4014
|
-
label: TranslationConfig;
|
4015
|
-
pages: ({
|
4016
|
-
id: string;
|
4017
|
-
title: TranslationConfig;
|
4018
|
-
fields: import("./FieldConfig").Inferred[];
|
4019
|
-
type?: "FORM" | undefined;
|
4020
|
-
} | {
|
4021
|
-
type: "VERIFICATION";
|
4022
|
-
id: string;
|
4023
|
-
title: TranslationConfig;
|
4024
|
-
actions: {
|
4025
|
-
verify: {
|
4026
|
-
label: TranslationConfig;
|
4027
|
-
};
|
4028
|
-
cancel: {
|
4029
|
-
label: TranslationConfig;
|
4030
|
-
confirmation: {
|
4031
|
-
title: TranslationConfig;
|
4032
|
-
body: TranslationConfig;
|
4033
|
-
};
|
4034
|
-
};
|
4035
|
-
};
|
4036
|
-
fields: import("./FieldConfig").Inferred[];
|
4037
|
-
})[];
|
4038
|
-
review: {
|
4039
|
-
title: TranslationConfig;
|
4040
|
-
fields: import("./FieldConfig").Inferred[];
|
4041
|
-
};
|
4042
|
-
}[];
|
1946
|
+
review: {
|
1947
|
+
title: TranslationConfig;
|
1948
|
+
fields: import("./FieldConfig").Inferred[];
|
1949
|
+
};
|
4043
1950
|
draft?: boolean | undefined;
|
4044
1951
|
}, {
|
4045
|
-
type: "
|
1952
|
+
type: "REGISTER";
|
4046
1953
|
label: {
|
4047
1954
|
id: string;
|
4048
1955
|
description: string;
|
4049
1956
|
defaultMessage: string;
|
4050
1957
|
};
|
4051
|
-
|
4052
|
-
|
4053
|
-
id: string;
|
4054
|
-
label: {
|
4055
|
-
id: string;
|
4056
|
-
description: string;
|
4057
|
-
defaultMessage: string;
|
4058
|
-
};
|
4059
|
-
};
|
4060
|
-
label: {
|
1958
|
+
review: {
|
1959
|
+
title: {
|
4061
1960
|
id: string;
|
4062
1961
|
description: string;
|
4063
1962
|
defaultMessage: string;
|
4064
1963
|
};
|
4065
|
-
|
4066
|
-
|
4067
|
-
title: {
|
4068
|
-
id: string;
|
4069
|
-
description: string;
|
4070
|
-
defaultMessage: string;
|
4071
|
-
};
|
4072
|
-
fields: import("./FieldConfig").Inferred[];
|
4073
|
-
type?: "FORM" | undefined;
|
4074
|
-
} | {
|
4075
|
-
type: "VERIFICATION";
|
4076
|
-
id: string;
|
4077
|
-
title: {
|
4078
|
-
id: string;
|
4079
|
-
description: string;
|
4080
|
-
defaultMessage: string;
|
4081
|
-
};
|
4082
|
-
actions: {
|
4083
|
-
verify: {
|
4084
|
-
label: {
|
4085
|
-
id: string;
|
4086
|
-
description: string;
|
4087
|
-
defaultMessage: string;
|
4088
|
-
};
|
4089
|
-
};
|
4090
|
-
cancel: {
|
4091
|
-
label: {
|
4092
|
-
id: string;
|
4093
|
-
description: string;
|
4094
|
-
defaultMessage: string;
|
4095
|
-
};
|
4096
|
-
confirmation: {
|
4097
|
-
title: {
|
4098
|
-
id: string;
|
4099
|
-
description: string;
|
4100
|
-
defaultMessage: string;
|
4101
|
-
};
|
4102
|
-
body: {
|
4103
|
-
id: string;
|
4104
|
-
description: string;
|
4105
|
-
defaultMessage: string;
|
4106
|
-
};
|
4107
|
-
};
|
4108
|
-
};
|
4109
|
-
};
|
4110
|
-
fields: import("./FieldConfig").Inferred[];
|
4111
|
-
})[];
|
4112
|
-
review: {
|
4113
|
-
title: {
|
4114
|
-
id: string;
|
4115
|
-
description: string;
|
4116
|
-
defaultMessage: string;
|
4117
|
-
};
|
4118
|
-
fields: import("./FieldConfig").Inferred[];
|
4119
|
-
};
|
4120
|
-
active?: boolean | undefined;
|
4121
|
-
}[];
|
1964
|
+
fields: import("./FieldConfig").InferredInput[];
|
1965
|
+
};
|
4122
1966
|
draft?: boolean | undefined;
|
4123
1967
|
conditionals?: ({
|
4124
1968
|
type: "SHOW";
|
@@ -4127,12 +1971,7 @@ declare const CustomConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
4127
1971
|
type: "ENABLE";
|
4128
1972
|
conditional: import(".").JSONSchema;
|
4129
1973
|
})[] | undefined;
|
4130
|
-
}>;
|
4131
|
-
|
4132
|
-
export type AllActionConfigFields = typeof DeclareConfig | typeof ValidateConfig | typeof RejectDeclarationConfig | typeof MarkedAsDuplicateConfig | typeof ArchivedConfig | typeof RegisterConfig | typeof DeleteConfig | typeof PrintCertificateActionConfig | typeof RequestCorrectionConfig | typeof RejectCorrectionConfig | typeof ApproveCorrectionConfig | typeof CustomConfig;
|
4133
|
-
/** @knipignore */
|
4134
|
-
export type InferredActionConfig = z.infer<typeof DeclareConfig> | z.infer<typeof ValidateConfig> | z.infer<typeof RejectDeclarationConfig> | z.infer<typeof MarkedAsDuplicateConfig> | z.infer<typeof ArchivedConfig> | z.infer<typeof RegisterConfig> | z.infer<typeof DeleteConfig> | z.infer<typeof PrintCertificateActionConfig> | z.infer<typeof RequestCorrectionConfig> | z.infer<typeof RejectCorrectionConfig> | z.infer<typeof ApproveCorrectionConfig> | z.infer<typeof CustomConfig>;
|
4135
|
-
export declare const ActionConfig: z.ZodDiscriminatedUnion<"type", AllActionConfigFields[]>;
|
4136
|
-
export type ActionConfig = InferredActionConfig;
|
1974
|
+
}>]>;
|
1975
|
+
export type DeclarationActionConfig = z.infer<typeof DeclarationActionConfig>;
|
4137
1976
|
export {};
|
4138
1977
|
//# sourceMappingURL=ActionConfig.d.ts.map
|