@opencrvs/toolkit 1.8.0-rc.feaeeb7 → 1.8.0-rc.fef85f2
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 +6711 -9366
- 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 -17
- package/dist/commons/conditionals/validate.test.d.ts +2 -0
- package/dist/commons/events/ActionConfig.d.ts +1116 -2067
- package/dist/commons/events/ActionDocument.d.ts +9488 -312
- package/dist/commons/events/ActionInput.d.ts +5331 -558
- package/dist/commons/events/ActionType.d.ts +27 -12
- package/dist/commons/events/CompositeFieldValue.d.ts +155 -2
- package/dist/commons/events/Conditional.d.ts +21 -5
- package/dist/commons/events/Draft.d.ts +351 -51
- package/dist/commons/events/EventConfig.d.ts +704 -1245
- package/dist/commons/events/EventConfigInput.d.ts +6 -3
- package/dist/commons/events/EventDocument.d.ts +3348 -429
- package/dist/commons/events/EventIndex.d.ts +9 -3
- package/dist/commons/events/EventMetadata.d.ts +6 -0
- package/dist/commons/events/FieldConfig.d.ts +568 -74
- package/dist/commons/events/FieldType.d.ts +6 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +154 -3
- package/dist/commons/events/FieldValue.d.ts +76 -2
- package/dist/commons/events/FormConfig.d.ts +633 -48
- package/dist/commons/events/PageConfig.d.ts +335 -0
- package/dist/commons/events/SummaryConfig.d.ts +93 -7
- package/dist/commons/events/TemplateConfig.d.ts +30 -10
- package/dist/commons/events/User.d.ts +5 -0
- package/dist/commons/events/defineConfig.d.ts +104 -224
- package/dist/commons/events/index.d.ts +3 -1
- package/dist/commons/events/scopes.d.ts +25 -0
- package/dist/commons/events/test.utils.d.ts +141 -214
- package/dist/commons/events/utils.d.ts +196 -69
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +166 -81
- package/dist/events/index.js +1717 -843
- package/package.json +1 -1
@@ -37,7 +37,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
37
37
|
defaultMessage: string;
|
38
38
|
} | undefined;
|
39
39
|
}>;
|
40
|
-
fields: z.ZodArray<z.ZodObject<{
|
40
|
+
fields: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
41
|
+
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
42
|
+
id: string;
|
43
|
+
description: string;
|
44
|
+
defaultMessage: string;
|
45
|
+
}>>;
|
46
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
47
|
+
type: z.ZodLiteral<"SHOW">;
|
48
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
50
|
+
type: "SHOW";
|
51
|
+
conditional: import(".").JSONSchema;
|
52
|
+
}, {
|
53
|
+
type: "SHOW";
|
54
|
+
conditional: import(".").JSONSchema;
|
55
|
+
}>, "many">>>;
|
56
|
+
}, {
|
41
57
|
id: z.ZodString;
|
42
58
|
value: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
43
59
|
id: string;
|
@@ -54,10 +70,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
54
70
|
description: string;
|
55
71
|
defaultMessage: string;
|
56
72
|
}>>;
|
57
|
-
}
|
73
|
+
}>, "strip", z.ZodTypeAny, {
|
58
74
|
id: string;
|
59
75
|
value: TranslationConfig;
|
60
76
|
label: TranslationConfig;
|
77
|
+
conditionals?: {
|
78
|
+
type: "SHOW";
|
79
|
+
conditional: import(".").JSONSchema;
|
80
|
+
}[] | undefined;
|
61
81
|
emptyValueMessage?: TranslationConfig | undefined;
|
62
82
|
}, {
|
63
83
|
id: string;
|
@@ -71,24 +91,75 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
71
91
|
description: string;
|
72
92
|
defaultMessage: string;
|
73
93
|
};
|
94
|
+
conditionals?: {
|
95
|
+
type: "SHOW";
|
96
|
+
conditional: import(".").JSONSchema;
|
97
|
+
}[] | undefined;
|
74
98
|
emptyValueMessage?: {
|
75
99
|
id: string;
|
76
100
|
description: string;
|
77
101
|
defaultMessage: string;
|
78
102
|
} | undefined;
|
79
|
-
}>,
|
103
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
104
|
+
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
105
|
+
id: string;
|
106
|
+
description: string;
|
107
|
+
defaultMessage: string;
|
108
|
+
}>>;
|
109
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
110
|
+
type: z.ZodLiteral<"SHOW">;
|
111
|
+
conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
113
|
+
type: "SHOW";
|
114
|
+
conditional: import(".").JSONSchema;
|
115
|
+
}, {
|
116
|
+
type: "SHOW";
|
117
|
+
conditional: import(".").JSONSchema;
|
118
|
+
}>, "many">>>;
|
119
|
+
}, {
|
120
|
+
fieldId: z.ZodString;
|
121
|
+
}>, "strip", z.ZodTypeAny, {
|
122
|
+
fieldId: string;
|
123
|
+
conditionals?: {
|
124
|
+
type: "SHOW";
|
125
|
+
conditional: import(".").JSONSchema;
|
126
|
+
}[] | undefined;
|
127
|
+
emptyValueMessage?: TranslationConfig | undefined;
|
128
|
+
}, {
|
129
|
+
fieldId: string;
|
130
|
+
conditionals?: {
|
131
|
+
type: "SHOW";
|
132
|
+
conditional: import(".").JSONSchema;
|
133
|
+
}[] | undefined;
|
134
|
+
emptyValueMessage?: {
|
135
|
+
id: string;
|
136
|
+
description: string;
|
137
|
+
defaultMessage: string;
|
138
|
+
} | undefined;
|
139
|
+
}>]>, "many">;
|
80
140
|
}, "strip", z.ZodTypeAny, {
|
81
141
|
title: {
|
82
142
|
id: string;
|
83
143
|
label: TranslationConfig;
|
84
144
|
emptyValueMessage?: TranslationConfig | undefined;
|
85
145
|
};
|
86
|
-
fields: {
|
146
|
+
fields: ({
|
147
|
+
fieldId: string;
|
148
|
+
conditionals?: {
|
149
|
+
type: "SHOW";
|
150
|
+
conditional: import(".").JSONSchema;
|
151
|
+
}[] | undefined;
|
152
|
+
emptyValueMessage?: TranslationConfig | undefined;
|
153
|
+
} | {
|
87
154
|
id: string;
|
88
155
|
value: TranslationConfig;
|
89
156
|
label: TranslationConfig;
|
157
|
+
conditionals?: {
|
158
|
+
type: "SHOW";
|
159
|
+
conditional: import(".").JSONSchema;
|
160
|
+
}[] | undefined;
|
90
161
|
emptyValueMessage?: TranslationConfig | undefined;
|
91
|
-
}[];
|
162
|
+
})[];
|
92
163
|
}, {
|
93
164
|
title: {
|
94
165
|
id: string;
|
@@ -103,7 +174,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
103
174
|
defaultMessage: string;
|
104
175
|
} | undefined;
|
105
176
|
};
|
106
|
-
fields: {
|
177
|
+
fields: ({
|
178
|
+
fieldId: string;
|
179
|
+
conditionals?: {
|
180
|
+
type: "SHOW";
|
181
|
+
conditional: import(".").JSONSchema;
|
182
|
+
}[] | undefined;
|
183
|
+
emptyValueMessage?: {
|
184
|
+
id: string;
|
185
|
+
description: string;
|
186
|
+
defaultMessage: string;
|
187
|
+
} | undefined;
|
188
|
+
} | {
|
107
189
|
id: string;
|
108
190
|
value: {
|
109
191
|
id: string;
|
@@ -115,12 +197,16 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
115
197
|
description: string;
|
116
198
|
defaultMessage: string;
|
117
199
|
};
|
200
|
+
conditionals?: {
|
201
|
+
type: "SHOW";
|
202
|
+
conditional: import(".").JSONSchema;
|
203
|
+
}[] | undefined;
|
118
204
|
emptyValueMessage?: {
|
119
205
|
id: string;
|
120
206
|
description: string;
|
121
207
|
defaultMessage: string;
|
122
208
|
} | undefined;
|
123
|
-
}[];
|
209
|
+
})[];
|
124
210
|
}>;
|
125
211
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
126
212
|
id: string;
|
@@ -128,6 +214,67 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
128
214
|
defaultMessage: string;
|
129
215
|
}>;
|
130
216
|
actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./ActionConfig").AllActionConfigFields[]>, "many">;
|
217
|
+
declaration: z.ZodObject<{
|
218
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
219
|
+
id: string;
|
220
|
+
description: string;
|
221
|
+
defaultMessage: string;
|
222
|
+
}>;
|
223
|
+
pages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
224
|
+
id: z.ZodString;
|
225
|
+
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
226
|
+
id: string;
|
227
|
+
description: string;
|
228
|
+
defaultMessage: string;
|
229
|
+
}>;
|
230
|
+
fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
|
231
|
+
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
232
|
+
}, {
|
233
|
+
type: z.ZodDefault<z.ZodLiteral<"FORM">>;
|
234
|
+
}>, "strip", z.ZodTypeAny, {
|
235
|
+
type: "FORM";
|
236
|
+
id: string;
|
237
|
+
title: TranslationConfig;
|
238
|
+
fields: import("./FieldConfig").Inferred[];
|
239
|
+
conditional?: import(".").JSONSchema | undefined;
|
240
|
+
}, {
|
241
|
+
id: string;
|
242
|
+
title: {
|
243
|
+
id: string;
|
244
|
+
description: string;
|
245
|
+
defaultMessage: string;
|
246
|
+
};
|
247
|
+
fields: import("./FieldConfig").InferredInput[];
|
248
|
+
type?: "FORM" | undefined;
|
249
|
+
conditional?: import(".").JSONSchema | undefined;
|
250
|
+
}>, "many">;
|
251
|
+
}, "strip", z.ZodTypeAny, {
|
252
|
+
label: TranslationConfig;
|
253
|
+
pages: {
|
254
|
+
type: "FORM";
|
255
|
+
id: string;
|
256
|
+
title: TranslationConfig;
|
257
|
+
fields: import("./FieldConfig").Inferred[];
|
258
|
+
conditional?: import(".").JSONSchema | undefined;
|
259
|
+
}[];
|
260
|
+
}, {
|
261
|
+
label: {
|
262
|
+
id: string;
|
263
|
+
description: string;
|
264
|
+
defaultMessage: string;
|
265
|
+
};
|
266
|
+
pages: {
|
267
|
+
id: string;
|
268
|
+
title: {
|
269
|
+
id: string;
|
270
|
+
description: string;
|
271
|
+
defaultMessage: string;
|
272
|
+
};
|
273
|
+
fields: import("./FieldConfig").InferredInput[];
|
274
|
+
type?: "FORM" | undefined;
|
275
|
+
conditional?: import(".").JSONSchema | undefined;
|
276
|
+
}[];
|
277
|
+
}>;
|
131
278
|
workqueues: z.ZodArray<z.ZodObject<{
|
132
279
|
id: z.ZodString;
|
133
280
|
filters: z.ZodArray<z.ZodObject<{
|
@@ -227,6 +374,16 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
227
374
|
}>, "many">>>;
|
228
375
|
}, "strip", z.ZodTypeAny, {
|
229
376
|
id: string;
|
377
|
+
declaration: {
|
378
|
+
label: TranslationConfig;
|
379
|
+
pages: {
|
380
|
+
type: "FORM";
|
381
|
+
id: string;
|
382
|
+
title: TranslationConfig;
|
383
|
+
fields: import("./FieldConfig").Inferred[];
|
384
|
+
conditional?: import(".").JSONSchema | undefined;
|
385
|
+
}[];
|
386
|
+
};
|
230
387
|
actions: ({
|
231
388
|
type: "DECLARE";
|
232
389
|
conditionals: ({
|
@@ -237,23 +394,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
237
394
|
conditional: import(".").JSONSchema;
|
238
395
|
})[];
|
239
396
|
label: TranslationConfig;
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
label: TranslationConfig;
|
245
|
-
};
|
246
|
-
label: TranslationConfig;
|
247
|
-
pages: {
|
248
|
-
id: string;
|
249
|
-
title: TranslationConfig;
|
250
|
-
fields: import("./FieldConfig").Inferred[];
|
251
|
-
}[];
|
252
|
-
review: {
|
253
|
-
title: TranslationConfig;
|
254
|
-
fields: import("./FieldConfig").Inferred[];
|
255
|
-
};
|
256
|
-
}[];
|
397
|
+
review: {
|
398
|
+
title: TranslationConfig;
|
399
|
+
fields: import("./FieldConfig").Inferred[];
|
400
|
+
};
|
257
401
|
draft?: boolean | undefined;
|
258
402
|
} | {
|
259
403
|
type: "VALIDATE";
|
@@ -265,27 +409,13 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
265
409
|
conditional: import(".").JSONSchema;
|
266
410
|
})[];
|
267
411
|
label: TranslationConfig;
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
label: TranslationConfig;
|
273
|
-
};
|
274
|
-
label: TranslationConfig;
|
275
|
-
pages: {
|
276
|
-
id: string;
|
277
|
-
title: TranslationConfig;
|
278
|
-
fields: import("./FieldConfig").Inferred[];
|
279
|
-
}[];
|
280
|
-
review: {
|
281
|
-
title: TranslationConfig;
|
282
|
-
fields: import("./FieldConfig").Inferred[];
|
283
|
-
};
|
284
|
-
}[];
|
412
|
+
review: {
|
413
|
+
title: TranslationConfig;
|
414
|
+
fields: import("./FieldConfig").Inferred[];
|
415
|
+
};
|
285
416
|
draft?: boolean | undefined;
|
286
417
|
} | {
|
287
|
-
type: "
|
288
|
-
comment: string;
|
418
|
+
type: "REGISTER";
|
289
419
|
conditionals: ({
|
290
420
|
type: "SHOW";
|
291
421
|
conditional: import(".").JSONSchema;
|
@@ -294,28 +424,13 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
294
424
|
conditional: import(".").JSONSchema;
|
295
425
|
})[];
|
296
426
|
label: TranslationConfig;
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
label: TranslationConfig;
|
302
|
-
};
|
303
|
-
label: TranslationConfig;
|
304
|
-
pages: {
|
305
|
-
id: string;
|
306
|
-
title: TranslationConfig;
|
307
|
-
fields: import("./FieldConfig").Inferred[];
|
308
|
-
}[];
|
309
|
-
review: {
|
310
|
-
title: TranslationConfig;
|
311
|
-
fields: import("./FieldConfig").Inferred[];
|
312
|
-
};
|
313
|
-
}[];
|
314
|
-
isDuplicate: boolean;
|
427
|
+
review: {
|
428
|
+
title: TranslationConfig;
|
429
|
+
fields: import("./FieldConfig").Inferred[];
|
430
|
+
};
|
315
431
|
draft?: boolean | undefined;
|
316
432
|
} | {
|
317
|
-
type: "
|
318
|
-
comment: string;
|
433
|
+
type: "REJECT";
|
319
434
|
conditionals: ({
|
320
435
|
type: "SHOW";
|
321
436
|
conditional: import(".").JSONSchema;
|
@@ -324,28 +439,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
324
439
|
conditional: import(".").JSONSchema;
|
325
440
|
})[];
|
326
441
|
label: TranslationConfig;
|
327
|
-
forms: {
|
328
|
-
active: boolean;
|
329
|
-
version: {
|
330
|
-
id: string;
|
331
|
-
label: TranslationConfig;
|
332
|
-
};
|
333
|
-
label: TranslationConfig;
|
334
|
-
pages: {
|
335
|
-
id: string;
|
336
|
-
title: TranslationConfig;
|
337
|
-
fields: import("./FieldConfig").Inferred[];
|
338
|
-
}[];
|
339
|
-
review: {
|
340
|
-
title: TranslationConfig;
|
341
|
-
fields: import("./FieldConfig").Inferred[];
|
342
|
-
};
|
343
|
-
}[];
|
344
|
-
duplicates: string[];
|
345
442
|
draft?: boolean | undefined;
|
346
443
|
} | {
|
347
|
-
type: "
|
348
|
-
comment: string;
|
444
|
+
type: "MARKED_AS_DUPLICATE";
|
349
445
|
conditionals: ({
|
350
446
|
type: "SHOW";
|
351
447
|
conditional: import(".").JSONSchema;
|
@@ -354,27 +450,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
354
450
|
conditional: import(".").JSONSchema;
|
355
451
|
})[];
|
356
452
|
label: TranslationConfig;
|
357
|
-
forms: {
|
358
|
-
active: boolean;
|
359
|
-
version: {
|
360
|
-
id: string;
|
361
|
-
label: TranslationConfig;
|
362
|
-
};
|
363
|
-
label: TranslationConfig;
|
364
|
-
pages: {
|
365
|
-
id: string;
|
366
|
-
title: TranslationConfig;
|
367
|
-
fields: import("./FieldConfig").Inferred[];
|
368
|
-
}[];
|
369
|
-
review: {
|
370
|
-
title: TranslationConfig;
|
371
|
-
fields: import("./FieldConfig").Inferred[];
|
372
|
-
};
|
373
|
-
}[];
|
374
|
-
isDuplicate: boolean;
|
375
453
|
draft?: boolean | undefined;
|
376
454
|
} | {
|
377
|
-
type: "
|
455
|
+
type: "ARCHIVE";
|
378
456
|
conditionals: ({
|
379
457
|
type: "SHOW";
|
380
458
|
conditional: import(".").JSONSchema;
|
@@ -383,23 +461,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
383
461
|
conditional: import(".").JSONSchema;
|
384
462
|
})[];
|
385
463
|
label: TranslationConfig;
|
386
|
-
forms: {
|
387
|
-
active: boolean;
|
388
|
-
version: {
|
389
|
-
id: string;
|
390
|
-
label: TranslationConfig;
|
391
|
-
};
|
392
|
-
label: TranslationConfig;
|
393
|
-
pages: {
|
394
|
-
id: string;
|
395
|
-
title: TranslationConfig;
|
396
|
-
fields: import("./FieldConfig").Inferred[];
|
397
|
-
}[];
|
398
|
-
review: {
|
399
|
-
title: TranslationConfig;
|
400
|
-
fields: import("./FieldConfig").Inferred[];
|
401
|
-
};
|
402
|
-
}[];
|
403
464
|
draft?: boolean | undefined;
|
404
465
|
} | {
|
405
466
|
type: "DELETE";
|
@@ -411,23 +472,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
411
472
|
conditional: import(".").JSONSchema;
|
412
473
|
})[];
|
413
474
|
label: TranslationConfig;
|
414
|
-
forms: {
|
415
|
-
active: boolean;
|
416
|
-
version: {
|
417
|
-
id: string;
|
418
|
-
label: TranslationConfig;
|
419
|
-
};
|
420
|
-
label: TranslationConfig;
|
421
|
-
pages: {
|
422
|
-
id: string;
|
423
|
-
title: TranslationConfig;
|
424
|
-
fields: import("./FieldConfig").Inferred[];
|
425
|
-
}[];
|
426
|
-
review: {
|
427
|
-
title: TranslationConfig;
|
428
|
-
fields: import("./FieldConfig").Inferred[];
|
429
|
-
};
|
430
|
-
}[];
|
431
475
|
draft?: boolean | undefined;
|
432
476
|
} | {
|
433
477
|
type: "PRINT_CERTIFICATE";
|
@@ -439,23 +483,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
439
483
|
conditional: import(".").JSONSchema;
|
440
484
|
})[];
|
441
485
|
label: TranslationConfig;
|
442
|
-
|
443
|
-
active: boolean;
|
444
|
-
version: {
|
445
|
-
id: string;
|
446
|
-
label: TranslationConfig;
|
447
|
-
};
|
486
|
+
printForm: {
|
448
487
|
label: TranslationConfig;
|
449
|
-
pages: {
|
488
|
+
pages: ({
|
489
|
+
type: "FORM";
|
450
490
|
id: string;
|
451
491
|
title: TranslationConfig;
|
452
492
|
fields: import("./FieldConfig").Inferred[];
|
453
|
-
|
454
|
-
|
493
|
+
conditional?: import(".").JSONSchema | undefined;
|
494
|
+
} | {
|
495
|
+
type: "VERIFICATION";
|
496
|
+
id: string;
|
455
497
|
title: TranslationConfig;
|
456
|
-
|
457
|
-
|
458
|
-
|
498
|
+
actions: {
|
499
|
+
verify: {
|
500
|
+
label: TranslationConfig;
|
501
|
+
};
|
502
|
+
cancel: {
|
503
|
+
label: TranslationConfig;
|
504
|
+
confirmation: {
|
505
|
+
title: TranslationConfig;
|
506
|
+
body: TranslationConfig;
|
507
|
+
};
|
508
|
+
};
|
509
|
+
};
|
510
|
+
fields: import("./FieldConfig").Inferred[];
|
511
|
+
conditional?: import(".").JSONSchema | undefined;
|
512
|
+
})[];
|
513
|
+
};
|
459
514
|
draft?: boolean | undefined;
|
460
515
|
} | {
|
461
516
|
type: "REQUEST_CORRECTION";
|
@@ -467,33 +522,56 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
467
522
|
conditional: import(".").JSONSchema;
|
468
523
|
})[];
|
469
524
|
label: TranslationConfig;
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
525
|
+
onboardingForm: ({
|
526
|
+
type: "FORM";
|
527
|
+
id: string;
|
528
|
+
title: TranslationConfig;
|
529
|
+
fields: import("./FieldConfig").Inferred[];
|
530
|
+
conditional?: import(".").JSONSchema | undefined;
|
531
|
+
} | {
|
532
|
+
type: "VERIFICATION";
|
533
|
+
id: string;
|
534
|
+
title: TranslationConfig;
|
535
|
+
actions: {
|
536
|
+
verify: {
|
537
|
+
label: TranslationConfig;
|
538
|
+
};
|
539
|
+
cancel: {
|
540
|
+
label: TranslationConfig;
|
541
|
+
confirmation: {
|
542
|
+
title: TranslationConfig;
|
543
|
+
body: TranslationConfig;
|
544
|
+
};
|
545
|
+
};
|
485
546
|
};
|
486
|
-
|
487
|
-
|
547
|
+
fields: import("./FieldConfig").Inferred[];
|
548
|
+
conditional?: import(".").JSONSchema | undefined;
|
549
|
+
})[];
|
550
|
+
additionalDetailsForm: ({
|
551
|
+
type: "FORM";
|
488
552
|
id: string;
|
489
553
|
title: TranslationConfig;
|
490
554
|
fields: import("./FieldConfig").Inferred[];
|
491
|
-
|
492
|
-
|
555
|
+
conditional?: import(".").JSONSchema | undefined;
|
556
|
+
} | {
|
557
|
+
type: "VERIFICATION";
|
493
558
|
id: string;
|
494
559
|
title: TranslationConfig;
|
560
|
+
actions: {
|
561
|
+
verify: {
|
562
|
+
label: TranslationConfig;
|
563
|
+
};
|
564
|
+
cancel: {
|
565
|
+
label: TranslationConfig;
|
566
|
+
confirmation: {
|
567
|
+
title: TranslationConfig;
|
568
|
+
body: TranslationConfig;
|
569
|
+
};
|
570
|
+
};
|
571
|
+
};
|
495
572
|
fields: import("./FieldConfig").Inferred[];
|
496
|
-
|
573
|
+
conditional?: import(".").JSONSchema | undefined;
|
574
|
+
})[];
|
497
575
|
draft?: boolean | undefined;
|
498
576
|
} | {
|
499
577
|
type: "REJECT_CORRECTION";
|
@@ -505,23 +583,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
505
583
|
conditional: import(".").JSONSchema;
|
506
584
|
})[];
|
507
585
|
label: TranslationConfig;
|
508
|
-
forms: {
|
509
|
-
active: boolean;
|
510
|
-
version: {
|
511
|
-
id: string;
|
512
|
-
label: TranslationConfig;
|
513
|
-
};
|
514
|
-
label: TranslationConfig;
|
515
|
-
pages: {
|
516
|
-
id: string;
|
517
|
-
title: TranslationConfig;
|
518
|
-
fields: import("./FieldConfig").Inferred[];
|
519
|
-
}[];
|
520
|
-
review: {
|
521
|
-
title: TranslationConfig;
|
522
|
-
fields: import("./FieldConfig").Inferred[];
|
523
|
-
};
|
524
|
-
}[];
|
525
586
|
draft?: boolean | undefined;
|
526
587
|
} | {
|
527
588
|
type: "APPROVE_CORRECTION";
|
@@ -533,51 +594,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
533
594
|
conditional: import(".").JSONSchema;
|
534
595
|
})[];
|
535
596
|
label: TranslationConfig;
|
536
|
-
forms: {
|
537
|
-
active: boolean;
|
538
|
-
version: {
|
539
|
-
id: string;
|
540
|
-
label: TranslationConfig;
|
541
|
-
};
|
542
|
-
label: TranslationConfig;
|
543
|
-
pages: {
|
544
|
-
id: string;
|
545
|
-
title: TranslationConfig;
|
546
|
-
fields: import("./FieldConfig").Inferred[];
|
547
|
-
}[];
|
548
|
-
review: {
|
549
|
-
title: TranslationConfig;
|
550
|
-
fields: import("./FieldConfig").Inferred[];
|
551
|
-
};
|
552
|
-
}[];
|
553
|
-
draft?: boolean | undefined;
|
554
|
-
} | {
|
555
|
-
type: "CUSTOM";
|
556
|
-
conditionals: ({
|
557
|
-
type: "SHOW";
|
558
|
-
conditional: import(".").JSONSchema;
|
559
|
-
} | {
|
560
|
-
type: "ENABLE";
|
561
|
-
conditional: import(".").JSONSchema;
|
562
|
-
})[];
|
563
|
-
label: TranslationConfig;
|
564
|
-
forms: {
|
565
|
-
active: boolean;
|
566
|
-
version: {
|
567
|
-
id: string;
|
568
|
-
label: TranslationConfig;
|
569
|
-
};
|
570
|
-
label: TranslationConfig;
|
571
|
-
pages: {
|
572
|
-
id: string;
|
573
|
-
title: TranslationConfig;
|
574
|
-
fields: import("./FieldConfig").Inferred[];
|
575
|
-
}[];
|
576
|
-
review: {
|
577
|
-
title: TranslationConfig;
|
578
|
-
fields: import("./FieldConfig").Inferred[];
|
579
|
-
};
|
580
|
-
}[];
|
581
597
|
draft?: boolean | undefined;
|
582
598
|
})[];
|
583
599
|
label: TranslationConfig;
|
@@ -587,12 +603,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
587
603
|
label: TranslationConfig;
|
588
604
|
emptyValueMessage?: TranslationConfig | undefined;
|
589
605
|
};
|
590
|
-
fields: {
|
606
|
+
fields: ({
|
607
|
+
fieldId: string;
|
608
|
+
conditionals?: {
|
609
|
+
type: "SHOW";
|
610
|
+
conditional: import(".").JSONSchema;
|
611
|
+
}[] | undefined;
|
612
|
+
emptyValueMessage?: TranslationConfig | undefined;
|
613
|
+
} | {
|
591
614
|
id: string;
|
592
615
|
value: TranslationConfig;
|
593
616
|
label: TranslationConfig;
|
617
|
+
conditionals?: {
|
618
|
+
type: "SHOW";
|
619
|
+
conditional: import(".").JSONSchema;
|
620
|
+
}[] | undefined;
|
594
621
|
emptyValueMessage?: TranslationConfig | undefined;
|
595
|
-
}[];
|
622
|
+
})[];
|
596
623
|
};
|
597
624
|
workqueues: {
|
598
625
|
id: string;
|
@@ -616,46 +643,39 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
616
643
|
}[];
|
617
644
|
}, {
|
618
645
|
id: string;
|
619
|
-
|
620
|
-
type: "DECLARE";
|
646
|
+
declaration: {
|
621
647
|
label: {
|
622
648
|
id: string;
|
623
649
|
description: string;
|
624
650
|
defaultMessage: string;
|
625
651
|
};
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
label: {
|
630
|
-
id: string;
|
631
|
-
description: string;
|
632
|
-
defaultMessage: string;
|
633
|
-
};
|
634
|
-
};
|
635
|
-
label: {
|
652
|
+
pages: {
|
653
|
+
id: string;
|
654
|
+
title: {
|
636
655
|
id: string;
|
637
656
|
description: string;
|
638
657
|
defaultMessage: string;
|
639
658
|
};
|
640
|
-
|
659
|
+
fields: import("./FieldConfig").InferredInput[];
|
660
|
+
type?: "FORM" | undefined;
|
661
|
+
conditional?: import(".").JSONSchema | undefined;
|
662
|
+
}[];
|
663
|
+
};
|
664
|
+
actions: ({
|
665
|
+
type: "DECLARE";
|
666
|
+
label: {
|
667
|
+
id: string;
|
668
|
+
description: string;
|
669
|
+
defaultMessage: string;
|
670
|
+
};
|
671
|
+
review: {
|
672
|
+
title: {
|
641
673
|
id: string;
|
642
|
-
|
643
|
-
|
644
|
-
description: string;
|
645
|
-
defaultMessage: string;
|
646
|
-
};
|
647
|
-
fields: import("./FieldConfig").Inferred[];
|
648
|
-
}[];
|
649
|
-
review: {
|
650
|
-
title: {
|
651
|
-
id: string;
|
652
|
-
description: string;
|
653
|
-
defaultMessage: string;
|
654
|
-
};
|
655
|
-
fields: import("./FieldConfig").Inferred[];
|
674
|
+
description: string;
|
675
|
+
defaultMessage: string;
|
656
676
|
};
|
657
|
-
|
658
|
-
}
|
677
|
+
fields: import("./FieldConfig").InferredInput[];
|
678
|
+
};
|
659
679
|
draft?: boolean | undefined;
|
660
680
|
conditionals?: ({
|
661
681
|
type: "SHOW";
|
@@ -671,39 +691,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
671
691
|
description: string;
|
672
692
|
defaultMessage: string;
|
673
693
|
};
|
674
|
-
|
675
|
-
|
676
|
-
id: string;
|
677
|
-
label: {
|
678
|
-
id: string;
|
679
|
-
description: string;
|
680
|
-
defaultMessage: string;
|
681
|
-
};
|
682
|
-
};
|
683
|
-
label: {
|
694
|
+
review: {
|
695
|
+
title: {
|
684
696
|
id: string;
|
685
697
|
description: string;
|
686
698
|
defaultMessage: string;
|
687
699
|
};
|
688
|
-
|
689
|
-
|
690
|
-
title: {
|
691
|
-
id: string;
|
692
|
-
description: string;
|
693
|
-
defaultMessage: string;
|
694
|
-
};
|
695
|
-
fields: import("./FieldConfig").Inferred[];
|
696
|
-
}[];
|
697
|
-
review: {
|
698
|
-
title: {
|
699
|
-
id: string;
|
700
|
-
description: string;
|
701
|
-
defaultMessage: string;
|
702
|
-
};
|
703
|
-
fields: import("./FieldConfig").Inferred[];
|
704
|
-
};
|
705
|
-
active?: boolean | undefined;
|
706
|
-
}[];
|
700
|
+
fields: import("./FieldConfig").InferredInput[];
|
701
|
+
};
|
707
702
|
draft?: boolean | undefined;
|
708
703
|
conditionals?: ({
|
709
704
|
type: "SHOW";
|
@@ -713,47 +708,20 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
713
708
|
conditional: import(".").JSONSchema;
|
714
709
|
})[] | undefined;
|
715
710
|
} | {
|
716
|
-
type: "
|
717
|
-
comment: string;
|
711
|
+
type: "REGISTER";
|
718
712
|
label: {
|
719
713
|
id: string;
|
720
714
|
description: string;
|
721
715
|
defaultMessage: string;
|
722
716
|
};
|
723
|
-
|
724
|
-
|
725
|
-
id: string;
|
726
|
-
label: {
|
727
|
-
id: string;
|
728
|
-
description: string;
|
729
|
-
defaultMessage: string;
|
730
|
-
};
|
731
|
-
};
|
732
|
-
label: {
|
717
|
+
review: {
|
718
|
+
title: {
|
733
719
|
id: string;
|
734
720
|
description: string;
|
735
721
|
defaultMessage: string;
|
736
722
|
};
|
737
|
-
|
738
|
-
|
739
|
-
title: {
|
740
|
-
id: string;
|
741
|
-
description: string;
|
742
|
-
defaultMessage: string;
|
743
|
-
};
|
744
|
-
fields: import("./FieldConfig").Inferred[];
|
745
|
-
}[];
|
746
|
-
review: {
|
747
|
-
title: {
|
748
|
-
id: string;
|
749
|
-
description: string;
|
750
|
-
defaultMessage: string;
|
751
|
-
};
|
752
|
-
fields: import("./FieldConfig").Inferred[];
|
753
|
-
};
|
754
|
-
active?: boolean | undefined;
|
755
|
-
}[];
|
756
|
-
isDuplicate: boolean;
|
723
|
+
fields: import("./FieldConfig").InferredInput[];
|
724
|
+
};
|
757
725
|
draft?: boolean | undefined;
|
758
726
|
conditionals?: ({
|
759
727
|
type: "SHOW";
|
@@ -763,47 +731,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
763
731
|
conditional: import(".").JSONSchema;
|
764
732
|
})[] | undefined;
|
765
733
|
} | {
|
766
|
-
type: "
|
767
|
-
comment: string;
|
734
|
+
type: "REJECT";
|
768
735
|
label: {
|
769
736
|
id: string;
|
770
737
|
description: string;
|
771
738
|
defaultMessage: string;
|
772
739
|
};
|
773
|
-
forms: {
|
774
|
-
version: {
|
775
|
-
id: string;
|
776
|
-
label: {
|
777
|
-
id: string;
|
778
|
-
description: string;
|
779
|
-
defaultMessage: string;
|
780
|
-
};
|
781
|
-
};
|
782
|
-
label: {
|
783
|
-
id: string;
|
784
|
-
description: string;
|
785
|
-
defaultMessage: string;
|
786
|
-
};
|
787
|
-
pages: {
|
788
|
-
id: string;
|
789
|
-
title: {
|
790
|
-
id: string;
|
791
|
-
description: string;
|
792
|
-
defaultMessage: string;
|
793
|
-
};
|
794
|
-
fields: import("./FieldConfig").Inferred[];
|
795
|
-
}[];
|
796
|
-
review: {
|
797
|
-
title: {
|
798
|
-
id: string;
|
799
|
-
description: string;
|
800
|
-
defaultMessage: string;
|
801
|
-
};
|
802
|
-
fields: import("./FieldConfig").Inferred[];
|
803
|
-
};
|
804
|
-
active?: boolean | undefined;
|
805
|
-
}[];
|
806
|
-
duplicates: string[];
|
807
740
|
draft?: boolean | undefined;
|
808
741
|
conditionals?: ({
|
809
742
|
type: "SHOW";
|
@@ -813,47 +746,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
813
746
|
conditional: import(".").JSONSchema;
|
814
747
|
})[] | undefined;
|
815
748
|
} | {
|
816
|
-
type: "
|
817
|
-
comment: string;
|
749
|
+
type: "MARKED_AS_DUPLICATE";
|
818
750
|
label: {
|
819
751
|
id: string;
|
820
752
|
description: string;
|
821
753
|
defaultMessage: string;
|
822
754
|
};
|
823
|
-
forms: {
|
824
|
-
version: {
|
825
|
-
id: string;
|
826
|
-
label: {
|
827
|
-
id: string;
|
828
|
-
description: string;
|
829
|
-
defaultMessage: string;
|
830
|
-
};
|
831
|
-
};
|
832
|
-
label: {
|
833
|
-
id: string;
|
834
|
-
description: string;
|
835
|
-
defaultMessage: string;
|
836
|
-
};
|
837
|
-
pages: {
|
838
|
-
id: string;
|
839
|
-
title: {
|
840
|
-
id: string;
|
841
|
-
description: string;
|
842
|
-
defaultMessage: string;
|
843
|
-
};
|
844
|
-
fields: import("./FieldConfig").Inferred[];
|
845
|
-
}[];
|
846
|
-
review: {
|
847
|
-
title: {
|
848
|
-
id: string;
|
849
|
-
description: string;
|
850
|
-
defaultMessage: string;
|
851
|
-
};
|
852
|
-
fields: import("./FieldConfig").Inferred[];
|
853
|
-
};
|
854
|
-
active?: boolean | undefined;
|
855
|
-
}[];
|
856
|
-
isDuplicate: boolean;
|
857
755
|
draft?: boolean | undefined;
|
858
756
|
conditionals?: ({
|
859
757
|
type: "SHOW";
|
@@ -863,45 +761,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
863
761
|
conditional: import(".").JSONSchema;
|
864
762
|
})[] | undefined;
|
865
763
|
} | {
|
866
|
-
type: "
|
764
|
+
type: "ARCHIVE";
|
867
765
|
label: {
|
868
766
|
id: string;
|
869
767
|
description: string;
|
870
768
|
defaultMessage: string;
|
871
769
|
};
|
872
|
-
forms: {
|
873
|
-
version: {
|
874
|
-
id: string;
|
875
|
-
label: {
|
876
|
-
id: string;
|
877
|
-
description: string;
|
878
|
-
defaultMessage: string;
|
879
|
-
};
|
880
|
-
};
|
881
|
-
label: {
|
882
|
-
id: string;
|
883
|
-
description: string;
|
884
|
-
defaultMessage: string;
|
885
|
-
};
|
886
|
-
pages: {
|
887
|
-
id: string;
|
888
|
-
title: {
|
889
|
-
id: string;
|
890
|
-
description: string;
|
891
|
-
defaultMessage: string;
|
892
|
-
};
|
893
|
-
fields: import("./FieldConfig").Inferred[];
|
894
|
-
}[];
|
895
|
-
review: {
|
896
|
-
title: {
|
897
|
-
id: string;
|
898
|
-
description: string;
|
899
|
-
defaultMessage: string;
|
900
|
-
};
|
901
|
-
fields: import("./FieldConfig").Inferred[];
|
902
|
-
};
|
903
|
-
active?: boolean | undefined;
|
904
|
-
}[];
|
905
770
|
draft?: boolean | undefined;
|
906
771
|
conditionals?: ({
|
907
772
|
type: "SHOW";
|
@@ -917,39 +782,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
917
782
|
description: string;
|
918
783
|
defaultMessage: string;
|
919
784
|
};
|
920
|
-
forms: {
|
921
|
-
version: {
|
922
|
-
id: string;
|
923
|
-
label: {
|
924
|
-
id: string;
|
925
|
-
description: string;
|
926
|
-
defaultMessage: string;
|
927
|
-
};
|
928
|
-
};
|
929
|
-
label: {
|
930
|
-
id: string;
|
931
|
-
description: string;
|
932
|
-
defaultMessage: string;
|
933
|
-
};
|
934
|
-
pages: {
|
935
|
-
id: string;
|
936
|
-
title: {
|
937
|
-
id: string;
|
938
|
-
description: string;
|
939
|
-
defaultMessage: string;
|
940
|
-
};
|
941
|
-
fields: import("./FieldConfig").Inferred[];
|
942
|
-
}[];
|
943
|
-
review: {
|
944
|
-
title: {
|
945
|
-
id: string;
|
946
|
-
description: string;
|
947
|
-
defaultMessage: string;
|
948
|
-
};
|
949
|
-
fields: import("./FieldConfig").Inferred[];
|
950
|
-
};
|
951
|
-
active?: boolean | undefined;
|
952
|
-
}[];
|
953
785
|
draft?: boolean | undefined;
|
954
786
|
conditionals?: ({
|
955
787
|
type: "SHOW";
|
@@ -965,39 +797,62 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
965
797
|
description: string;
|
966
798
|
defaultMessage: string;
|
967
799
|
};
|
968
|
-
|
969
|
-
version: {
|
970
|
-
id: string;
|
971
|
-
label: {
|
972
|
-
id: string;
|
973
|
-
description: string;
|
974
|
-
defaultMessage: string;
|
975
|
-
};
|
976
|
-
};
|
800
|
+
printForm: {
|
977
801
|
label: {
|
978
802
|
id: string;
|
979
803
|
description: string;
|
980
804
|
defaultMessage: string;
|
981
805
|
};
|
982
|
-
pages: {
|
806
|
+
pages: ({
|
983
807
|
id: string;
|
984
808
|
title: {
|
985
809
|
id: string;
|
986
810
|
description: string;
|
987
811
|
defaultMessage: string;
|
988
812
|
};
|
989
|
-
fields: import("./FieldConfig").
|
990
|
-
|
991
|
-
|
813
|
+
fields: import("./FieldConfig").InferredInput[];
|
814
|
+
type?: "FORM" | undefined;
|
815
|
+
conditional?: import(".").JSONSchema | undefined;
|
816
|
+
} | {
|
817
|
+
type: "VERIFICATION";
|
818
|
+
id: string;
|
992
819
|
title: {
|
993
820
|
id: string;
|
994
821
|
description: string;
|
995
822
|
defaultMessage: string;
|
996
823
|
};
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
824
|
+
actions: {
|
825
|
+
verify: {
|
826
|
+
label: {
|
827
|
+
id: string;
|
828
|
+
description: string;
|
829
|
+
defaultMessage: string;
|
830
|
+
};
|
831
|
+
};
|
832
|
+
cancel: {
|
833
|
+
label: {
|
834
|
+
id: string;
|
835
|
+
description: string;
|
836
|
+
defaultMessage: string;
|
837
|
+
};
|
838
|
+
confirmation: {
|
839
|
+
title: {
|
840
|
+
id: string;
|
841
|
+
description: string;
|
842
|
+
defaultMessage: string;
|
843
|
+
};
|
844
|
+
body: {
|
845
|
+
id: string;
|
846
|
+
description: string;
|
847
|
+
defaultMessage: string;
|
848
|
+
};
|
849
|
+
};
|
850
|
+
};
|
851
|
+
};
|
852
|
+
fields: import("./FieldConfig").InferredInput[];
|
853
|
+
conditional?: import(".").JSONSchema | undefined;
|
854
|
+
})[];
|
855
|
+
};
|
1001
856
|
draft?: boolean | undefined;
|
1002
857
|
conditionals?: ({
|
1003
858
|
type: "SHOW";
|
@@ -1013,105 +868,104 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1013
868
|
description: string;
|
1014
869
|
defaultMessage: string;
|
1015
870
|
};
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
label: {
|
1020
|
-
id: string;
|
1021
|
-
description: string;
|
1022
|
-
defaultMessage: string;
|
1023
|
-
};
|
1024
|
-
};
|
1025
|
-
label: {
|
871
|
+
onboardingForm: ({
|
872
|
+
id: string;
|
873
|
+
title: {
|
1026
874
|
id: string;
|
1027
875
|
description: string;
|
1028
876
|
defaultMessage: string;
|
1029
877
|
};
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
defaultMessage: string;
|
1036
|
-
};
|
1037
|
-
fields: import("./FieldConfig").Inferred[];
|
1038
|
-
}[];
|
1039
|
-
review: {
|
1040
|
-
title: {
|
1041
|
-
id: string;
|
1042
|
-
description: string;
|
1043
|
-
defaultMessage: string;
|
1044
|
-
};
|
1045
|
-
fields: import("./FieldConfig").Inferred[];
|
1046
|
-
};
|
1047
|
-
active?: boolean | undefined;
|
1048
|
-
}[];
|
1049
|
-
onboardingForm: {
|
878
|
+
fields: import("./FieldConfig").InferredInput[];
|
879
|
+
type?: "FORM" | undefined;
|
880
|
+
conditional?: import(".").JSONSchema | undefined;
|
881
|
+
} | {
|
882
|
+
type: "VERIFICATION";
|
1050
883
|
id: string;
|
1051
884
|
title: {
|
1052
885
|
id: string;
|
1053
886
|
description: string;
|
1054
887
|
defaultMessage: string;
|
1055
888
|
};
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
889
|
+
actions: {
|
890
|
+
verify: {
|
891
|
+
label: {
|
892
|
+
id: string;
|
893
|
+
description: string;
|
894
|
+
defaultMessage: string;
|
895
|
+
};
|
896
|
+
};
|
897
|
+
cancel: {
|
898
|
+
label: {
|
899
|
+
id: string;
|
900
|
+
description: string;
|
901
|
+
defaultMessage: string;
|
902
|
+
};
|
903
|
+
confirmation: {
|
904
|
+
title: {
|
905
|
+
id: string;
|
906
|
+
description: string;
|
907
|
+
defaultMessage: string;
|
908
|
+
};
|
909
|
+
body: {
|
910
|
+
id: string;
|
911
|
+
description: string;
|
912
|
+
defaultMessage: string;
|
913
|
+
};
|
914
|
+
};
|
915
|
+
};
|
916
|
+
};
|
917
|
+
fields: import("./FieldConfig").InferredInput[];
|
918
|
+
conditional?: import(".").JSONSchema | undefined;
|
919
|
+
})[];
|
920
|
+
additionalDetailsForm: ({
|
1059
921
|
id: string;
|
1060
922
|
title: {
|
1061
923
|
id: string;
|
1062
924
|
description: string;
|
1063
925
|
defaultMessage: string;
|
1064
926
|
};
|
1065
|
-
fields: import("./FieldConfig").
|
1066
|
-
|
1067
|
-
|
1068
|
-
conditionals?: ({
|
1069
|
-
type: "SHOW";
|
1070
|
-
conditional: import(".").JSONSchema;
|
927
|
+
fields: import("./FieldConfig").InferredInput[];
|
928
|
+
type?: "FORM" | undefined;
|
929
|
+
conditional?: import(".").JSONSchema | undefined;
|
1071
930
|
} | {
|
1072
|
-
type: "
|
1073
|
-
conditional: import(".").JSONSchema;
|
1074
|
-
})[] | undefined;
|
1075
|
-
} | {
|
1076
|
-
type: "REJECT_CORRECTION";
|
1077
|
-
label: {
|
931
|
+
type: "VERIFICATION";
|
1078
932
|
id: string;
|
1079
|
-
|
1080
|
-
defaultMessage: string;
|
1081
|
-
};
|
1082
|
-
forms: {
|
1083
|
-
version: {
|
1084
|
-
id: string;
|
1085
|
-
label: {
|
1086
|
-
id: string;
|
1087
|
-
description: string;
|
1088
|
-
defaultMessage: string;
|
1089
|
-
};
|
1090
|
-
};
|
1091
|
-
label: {
|
933
|
+
title: {
|
1092
934
|
id: string;
|
1093
935
|
description: string;
|
1094
936
|
defaultMessage: string;
|
1095
937
|
};
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
938
|
+
actions: {
|
939
|
+
verify: {
|
940
|
+
label: {
|
941
|
+
id: string;
|
942
|
+
description: string;
|
943
|
+
defaultMessage: string;
|
944
|
+
};
|
945
|
+
};
|
946
|
+
cancel: {
|
947
|
+
label: {
|
948
|
+
id: string;
|
949
|
+
description: string;
|
950
|
+
defaultMessage: string;
|
951
|
+
};
|
952
|
+
confirmation: {
|
953
|
+
title: {
|
954
|
+
id: string;
|
955
|
+
description: string;
|
956
|
+
defaultMessage: string;
|
957
|
+
};
|
958
|
+
body: {
|
959
|
+
id: string;
|
960
|
+
description: string;
|
961
|
+
defaultMessage: string;
|
962
|
+
};
|
963
|
+
};
|
964
|
+
};
|
965
|
+
};
|
966
|
+
fields: import("./FieldConfig").InferredInput[];
|
967
|
+
conditional?: import(".").JSONSchema | undefined;
|
968
|
+
})[];
|
1115
969
|
draft?: boolean | undefined;
|
1116
970
|
conditionals?: ({
|
1117
971
|
type: "SHOW";
|
@@ -1121,45 +975,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1121
975
|
conditional: import(".").JSONSchema;
|
1122
976
|
})[] | undefined;
|
1123
977
|
} | {
|
1124
|
-
type: "
|
978
|
+
type: "REJECT_CORRECTION";
|
1125
979
|
label: {
|
1126
980
|
id: string;
|
1127
981
|
description: string;
|
1128
982
|
defaultMessage: string;
|
1129
983
|
};
|
1130
|
-
forms: {
|
1131
|
-
version: {
|
1132
|
-
id: string;
|
1133
|
-
label: {
|
1134
|
-
id: string;
|
1135
|
-
description: string;
|
1136
|
-
defaultMessage: string;
|
1137
|
-
};
|
1138
|
-
};
|
1139
|
-
label: {
|
1140
|
-
id: string;
|
1141
|
-
description: string;
|
1142
|
-
defaultMessage: string;
|
1143
|
-
};
|
1144
|
-
pages: {
|
1145
|
-
id: string;
|
1146
|
-
title: {
|
1147
|
-
id: string;
|
1148
|
-
description: string;
|
1149
|
-
defaultMessage: string;
|
1150
|
-
};
|
1151
|
-
fields: import("./FieldConfig").Inferred[];
|
1152
|
-
}[];
|
1153
|
-
review: {
|
1154
|
-
title: {
|
1155
|
-
id: string;
|
1156
|
-
description: string;
|
1157
|
-
defaultMessage: string;
|
1158
|
-
};
|
1159
|
-
fields: import("./FieldConfig").Inferred[];
|
1160
|
-
};
|
1161
|
-
active?: boolean | undefined;
|
1162
|
-
}[];
|
1163
984
|
draft?: boolean | undefined;
|
1164
985
|
conditionals?: ({
|
1165
986
|
type: "SHOW";
|
@@ -1169,45 +990,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1169
990
|
conditional: import(".").JSONSchema;
|
1170
991
|
})[] | undefined;
|
1171
992
|
} | {
|
1172
|
-
type: "
|
993
|
+
type: "APPROVE_CORRECTION";
|
1173
994
|
label: {
|
1174
995
|
id: string;
|
1175
996
|
description: string;
|
1176
997
|
defaultMessage: string;
|
1177
998
|
};
|
1178
|
-
forms: {
|
1179
|
-
version: {
|
1180
|
-
id: string;
|
1181
|
-
label: {
|
1182
|
-
id: string;
|
1183
|
-
description: string;
|
1184
|
-
defaultMessage: string;
|
1185
|
-
};
|
1186
|
-
};
|
1187
|
-
label: {
|
1188
|
-
id: string;
|
1189
|
-
description: string;
|
1190
|
-
defaultMessage: string;
|
1191
|
-
};
|
1192
|
-
pages: {
|
1193
|
-
id: string;
|
1194
|
-
title: {
|
1195
|
-
id: string;
|
1196
|
-
description: string;
|
1197
|
-
defaultMessage: string;
|
1198
|
-
};
|
1199
|
-
fields: import("./FieldConfig").Inferred[];
|
1200
|
-
}[];
|
1201
|
-
review: {
|
1202
|
-
title: {
|
1203
|
-
id: string;
|
1204
|
-
description: string;
|
1205
|
-
defaultMessage: string;
|
1206
|
-
};
|
1207
|
-
fields: import("./FieldConfig").Inferred[];
|
1208
|
-
};
|
1209
|
-
active?: boolean | undefined;
|
1210
|
-
}[];
|
1211
999
|
draft?: boolean | undefined;
|
1212
1000
|
conditionals?: ({
|
1213
1001
|
type: "SHOW";
|
@@ -1236,7 +1024,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1236
1024
|
defaultMessage: string;
|
1237
1025
|
} | undefined;
|
1238
1026
|
};
|
1239
|
-
fields: {
|
1027
|
+
fields: ({
|
1028
|
+
fieldId: string;
|
1029
|
+
conditionals?: {
|
1030
|
+
type: "SHOW";
|
1031
|
+
conditional: import(".").JSONSchema;
|
1032
|
+
}[] | undefined;
|
1033
|
+
emptyValueMessage?: {
|
1034
|
+
id: string;
|
1035
|
+
description: string;
|
1036
|
+
defaultMessage: string;
|
1037
|
+
} | undefined;
|
1038
|
+
} | {
|
1240
1039
|
id: string;
|
1241
1040
|
value: {
|
1242
1041
|
id: string;
|
@@ -1248,12 +1047,16 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1248
1047
|
description: string;
|
1249
1048
|
defaultMessage: string;
|
1250
1049
|
};
|
1050
|
+
conditionals?: {
|
1051
|
+
type: "SHOW";
|
1052
|
+
conditional: import(".").JSONSchema;
|
1053
|
+
}[] | undefined;
|
1251
1054
|
emptyValueMessage?: {
|
1252
1055
|
id: string;
|
1253
1056
|
description: string;
|
1254
1057
|
defaultMessage: string;
|
1255
1058
|
} | undefined;
|
1256
|
-
}[];
|
1059
|
+
})[];
|
1257
1060
|
};
|
1258
1061
|
workqueues: {
|
1259
1062
|
id: string;
|
@@ -1285,6 +1088,16 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1285
1088
|
}[] | undefined;
|
1286
1089
|
}>, {
|
1287
1090
|
id: string;
|
1091
|
+
declaration: {
|
1092
|
+
label: TranslationConfig;
|
1093
|
+
pages: {
|
1094
|
+
type: "FORM";
|
1095
|
+
id: string;
|
1096
|
+
title: TranslationConfig;
|
1097
|
+
fields: import("./FieldConfig").Inferred[];
|
1098
|
+
conditional?: import(".").JSONSchema | undefined;
|
1099
|
+
}[];
|
1100
|
+
};
|
1288
1101
|
actions: ({
|
1289
1102
|
type: "DECLARE";
|
1290
1103
|
conditionals: ({
|
@@ -1295,23 +1108,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1295
1108
|
conditional: import(".").JSONSchema;
|
1296
1109
|
})[];
|
1297
1110
|
label: TranslationConfig;
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
label: TranslationConfig;
|
1303
|
-
};
|
1304
|
-
label: TranslationConfig;
|
1305
|
-
pages: {
|
1306
|
-
id: string;
|
1307
|
-
title: TranslationConfig;
|
1308
|
-
fields: import("./FieldConfig").Inferred[];
|
1309
|
-
}[];
|
1310
|
-
review: {
|
1311
|
-
title: TranslationConfig;
|
1312
|
-
fields: import("./FieldConfig").Inferred[];
|
1313
|
-
};
|
1314
|
-
}[];
|
1111
|
+
review: {
|
1112
|
+
title: TranslationConfig;
|
1113
|
+
fields: import("./FieldConfig").Inferred[];
|
1114
|
+
};
|
1315
1115
|
draft?: boolean | undefined;
|
1316
1116
|
} | {
|
1317
1117
|
type: "VALIDATE";
|
@@ -1323,27 +1123,13 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1323
1123
|
conditional: import(".").JSONSchema;
|
1324
1124
|
})[];
|
1325
1125
|
label: TranslationConfig;
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
label: TranslationConfig;
|
1331
|
-
};
|
1332
|
-
label: TranslationConfig;
|
1333
|
-
pages: {
|
1334
|
-
id: string;
|
1335
|
-
title: TranslationConfig;
|
1336
|
-
fields: import("./FieldConfig").Inferred[];
|
1337
|
-
}[];
|
1338
|
-
review: {
|
1339
|
-
title: TranslationConfig;
|
1340
|
-
fields: import("./FieldConfig").Inferred[];
|
1341
|
-
};
|
1342
|
-
}[];
|
1126
|
+
review: {
|
1127
|
+
title: TranslationConfig;
|
1128
|
+
fields: import("./FieldConfig").Inferred[];
|
1129
|
+
};
|
1343
1130
|
draft?: boolean | undefined;
|
1344
1131
|
} | {
|
1345
|
-
type: "
|
1346
|
-
comment: string;
|
1132
|
+
type: "REGISTER";
|
1347
1133
|
conditionals: ({
|
1348
1134
|
type: "SHOW";
|
1349
1135
|
conditional: import(".").JSONSchema;
|
@@ -1352,28 +1138,13 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1352
1138
|
conditional: import(".").JSONSchema;
|
1353
1139
|
})[];
|
1354
1140
|
label: TranslationConfig;
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
label: TranslationConfig;
|
1360
|
-
};
|
1361
|
-
label: TranslationConfig;
|
1362
|
-
pages: {
|
1363
|
-
id: string;
|
1364
|
-
title: TranslationConfig;
|
1365
|
-
fields: import("./FieldConfig").Inferred[];
|
1366
|
-
}[];
|
1367
|
-
review: {
|
1368
|
-
title: TranslationConfig;
|
1369
|
-
fields: import("./FieldConfig").Inferred[];
|
1370
|
-
};
|
1371
|
-
}[];
|
1372
|
-
isDuplicate: boolean;
|
1141
|
+
review: {
|
1142
|
+
title: TranslationConfig;
|
1143
|
+
fields: import("./FieldConfig").Inferred[];
|
1144
|
+
};
|
1373
1145
|
draft?: boolean | undefined;
|
1374
1146
|
} | {
|
1375
|
-
type: "
|
1376
|
-
comment: string;
|
1147
|
+
type: "REJECT";
|
1377
1148
|
conditionals: ({
|
1378
1149
|
type: "SHOW";
|
1379
1150
|
conditional: import(".").JSONSchema;
|
@@ -1382,28 +1153,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1382
1153
|
conditional: import(".").JSONSchema;
|
1383
1154
|
})[];
|
1384
1155
|
label: TranslationConfig;
|
1385
|
-
forms: {
|
1386
|
-
active: boolean;
|
1387
|
-
version: {
|
1388
|
-
id: string;
|
1389
|
-
label: TranslationConfig;
|
1390
|
-
};
|
1391
|
-
label: TranslationConfig;
|
1392
|
-
pages: {
|
1393
|
-
id: string;
|
1394
|
-
title: TranslationConfig;
|
1395
|
-
fields: import("./FieldConfig").Inferred[];
|
1396
|
-
}[];
|
1397
|
-
review: {
|
1398
|
-
title: TranslationConfig;
|
1399
|
-
fields: import("./FieldConfig").Inferred[];
|
1400
|
-
};
|
1401
|
-
}[];
|
1402
|
-
duplicates: string[];
|
1403
1156
|
draft?: boolean | undefined;
|
1404
1157
|
} | {
|
1405
|
-
type: "
|
1406
|
-
comment: string;
|
1158
|
+
type: "MARKED_AS_DUPLICATE";
|
1407
1159
|
conditionals: ({
|
1408
1160
|
type: "SHOW";
|
1409
1161
|
conditional: import(".").JSONSchema;
|
@@ -1412,27 +1164,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1412
1164
|
conditional: import(".").JSONSchema;
|
1413
1165
|
})[];
|
1414
1166
|
label: TranslationConfig;
|
1415
|
-
forms: {
|
1416
|
-
active: boolean;
|
1417
|
-
version: {
|
1418
|
-
id: string;
|
1419
|
-
label: TranslationConfig;
|
1420
|
-
};
|
1421
|
-
label: TranslationConfig;
|
1422
|
-
pages: {
|
1423
|
-
id: string;
|
1424
|
-
title: TranslationConfig;
|
1425
|
-
fields: import("./FieldConfig").Inferred[];
|
1426
|
-
}[];
|
1427
|
-
review: {
|
1428
|
-
title: TranslationConfig;
|
1429
|
-
fields: import("./FieldConfig").Inferred[];
|
1430
|
-
};
|
1431
|
-
}[];
|
1432
|
-
isDuplicate: boolean;
|
1433
1167
|
draft?: boolean | undefined;
|
1434
1168
|
} | {
|
1435
|
-
type: "
|
1169
|
+
type: "ARCHIVE";
|
1436
1170
|
conditionals: ({
|
1437
1171
|
type: "SHOW";
|
1438
1172
|
conditional: import(".").JSONSchema;
|
@@ -1441,23 +1175,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1441
1175
|
conditional: import(".").JSONSchema;
|
1442
1176
|
})[];
|
1443
1177
|
label: TranslationConfig;
|
1444
|
-
forms: {
|
1445
|
-
active: boolean;
|
1446
|
-
version: {
|
1447
|
-
id: string;
|
1448
|
-
label: TranslationConfig;
|
1449
|
-
};
|
1450
|
-
label: TranslationConfig;
|
1451
|
-
pages: {
|
1452
|
-
id: string;
|
1453
|
-
title: TranslationConfig;
|
1454
|
-
fields: import("./FieldConfig").Inferred[];
|
1455
|
-
}[];
|
1456
|
-
review: {
|
1457
|
-
title: TranslationConfig;
|
1458
|
-
fields: import("./FieldConfig").Inferred[];
|
1459
|
-
};
|
1460
|
-
}[];
|
1461
1178
|
draft?: boolean | undefined;
|
1462
1179
|
} | {
|
1463
1180
|
type: "DELETE";
|
@@ -1469,23 +1186,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1469
1186
|
conditional: import(".").JSONSchema;
|
1470
1187
|
})[];
|
1471
1188
|
label: TranslationConfig;
|
1472
|
-
forms: {
|
1473
|
-
active: boolean;
|
1474
|
-
version: {
|
1475
|
-
id: string;
|
1476
|
-
label: TranslationConfig;
|
1477
|
-
};
|
1478
|
-
label: TranslationConfig;
|
1479
|
-
pages: {
|
1480
|
-
id: string;
|
1481
|
-
title: TranslationConfig;
|
1482
|
-
fields: import("./FieldConfig").Inferred[];
|
1483
|
-
}[];
|
1484
|
-
review: {
|
1485
|
-
title: TranslationConfig;
|
1486
|
-
fields: import("./FieldConfig").Inferred[];
|
1487
|
-
};
|
1488
|
-
}[];
|
1489
1189
|
draft?: boolean | undefined;
|
1490
1190
|
} | {
|
1491
1191
|
type: "PRINT_CERTIFICATE";
|
@@ -1497,23 +1197,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1497
1197
|
conditional: import(".").JSONSchema;
|
1498
1198
|
})[];
|
1499
1199
|
label: TranslationConfig;
|
1500
|
-
|
1501
|
-
active: boolean;
|
1502
|
-
version: {
|
1503
|
-
id: string;
|
1504
|
-
label: TranslationConfig;
|
1505
|
-
};
|
1200
|
+
printForm: {
|
1506
1201
|
label: TranslationConfig;
|
1507
|
-
pages: {
|
1202
|
+
pages: ({
|
1203
|
+
type: "FORM";
|
1508
1204
|
id: string;
|
1509
1205
|
title: TranslationConfig;
|
1510
1206
|
fields: import("./FieldConfig").Inferred[];
|
1511
|
-
|
1512
|
-
|
1207
|
+
conditional?: import(".").JSONSchema | undefined;
|
1208
|
+
} | {
|
1209
|
+
type: "VERIFICATION";
|
1210
|
+
id: string;
|
1513
1211
|
title: TranslationConfig;
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1212
|
+
actions: {
|
1213
|
+
verify: {
|
1214
|
+
label: TranslationConfig;
|
1215
|
+
};
|
1216
|
+
cancel: {
|
1217
|
+
label: TranslationConfig;
|
1218
|
+
confirmation: {
|
1219
|
+
title: TranslationConfig;
|
1220
|
+
body: TranslationConfig;
|
1221
|
+
};
|
1222
|
+
};
|
1223
|
+
};
|
1224
|
+
fields: import("./FieldConfig").Inferred[];
|
1225
|
+
conditional?: import(".").JSONSchema | undefined;
|
1226
|
+
})[];
|
1227
|
+
};
|
1517
1228
|
draft?: boolean | undefined;
|
1518
1229
|
} | {
|
1519
1230
|
type: "REQUEST_CORRECTION";
|
@@ -1525,33 +1236,56 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1525
1236
|
conditional: import(".").JSONSchema;
|
1526
1237
|
})[];
|
1527
1238
|
label: TranslationConfig;
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1239
|
+
onboardingForm: ({
|
1240
|
+
type: "FORM";
|
1241
|
+
id: string;
|
1242
|
+
title: TranslationConfig;
|
1243
|
+
fields: import("./FieldConfig").Inferred[];
|
1244
|
+
conditional?: import(".").JSONSchema | undefined;
|
1245
|
+
} | {
|
1246
|
+
type: "VERIFICATION";
|
1247
|
+
id: string;
|
1248
|
+
title: TranslationConfig;
|
1249
|
+
actions: {
|
1250
|
+
verify: {
|
1251
|
+
label: TranslationConfig;
|
1252
|
+
};
|
1253
|
+
cancel: {
|
1254
|
+
label: TranslationConfig;
|
1255
|
+
confirmation: {
|
1256
|
+
title: TranslationConfig;
|
1257
|
+
body: TranslationConfig;
|
1258
|
+
};
|
1259
|
+
};
|
1543
1260
|
};
|
1544
|
-
|
1545
|
-
|
1261
|
+
fields: import("./FieldConfig").Inferred[];
|
1262
|
+
conditional?: import(".").JSONSchema | undefined;
|
1263
|
+
})[];
|
1264
|
+
additionalDetailsForm: ({
|
1265
|
+
type: "FORM";
|
1546
1266
|
id: string;
|
1547
1267
|
title: TranslationConfig;
|
1548
1268
|
fields: import("./FieldConfig").Inferred[];
|
1549
|
-
|
1550
|
-
|
1269
|
+
conditional?: import(".").JSONSchema | undefined;
|
1270
|
+
} | {
|
1271
|
+
type: "VERIFICATION";
|
1551
1272
|
id: string;
|
1552
1273
|
title: TranslationConfig;
|
1274
|
+
actions: {
|
1275
|
+
verify: {
|
1276
|
+
label: TranslationConfig;
|
1277
|
+
};
|
1278
|
+
cancel: {
|
1279
|
+
label: TranslationConfig;
|
1280
|
+
confirmation: {
|
1281
|
+
title: TranslationConfig;
|
1282
|
+
body: TranslationConfig;
|
1283
|
+
};
|
1284
|
+
};
|
1285
|
+
};
|
1553
1286
|
fields: import("./FieldConfig").Inferred[];
|
1554
|
-
|
1287
|
+
conditional?: import(".").JSONSchema | undefined;
|
1288
|
+
})[];
|
1555
1289
|
draft?: boolean | undefined;
|
1556
1290
|
} | {
|
1557
1291
|
type: "REJECT_CORRECTION";
|
@@ -1563,23 +1297,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1563
1297
|
conditional: import(".").JSONSchema;
|
1564
1298
|
})[];
|
1565
1299
|
label: TranslationConfig;
|
1566
|
-
forms: {
|
1567
|
-
active: boolean;
|
1568
|
-
version: {
|
1569
|
-
id: string;
|
1570
|
-
label: TranslationConfig;
|
1571
|
-
};
|
1572
|
-
label: TranslationConfig;
|
1573
|
-
pages: {
|
1574
|
-
id: string;
|
1575
|
-
title: TranslationConfig;
|
1576
|
-
fields: import("./FieldConfig").Inferred[];
|
1577
|
-
}[];
|
1578
|
-
review: {
|
1579
|
-
title: TranslationConfig;
|
1580
|
-
fields: import("./FieldConfig").Inferred[];
|
1581
|
-
};
|
1582
|
-
}[];
|
1583
1300
|
draft?: boolean | undefined;
|
1584
1301
|
} | {
|
1585
1302
|
type: "APPROVE_CORRECTION";
|
@@ -1591,51 +1308,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1591
1308
|
conditional: import(".").JSONSchema;
|
1592
1309
|
})[];
|
1593
1310
|
label: TranslationConfig;
|
1594
|
-
forms: {
|
1595
|
-
active: boolean;
|
1596
|
-
version: {
|
1597
|
-
id: string;
|
1598
|
-
label: TranslationConfig;
|
1599
|
-
};
|
1600
|
-
label: TranslationConfig;
|
1601
|
-
pages: {
|
1602
|
-
id: string;
|
1603
|
-
title: TranslationConfig;
|
1604
|
-
fields: import("./FieldConfig").Inferred[];
|
1605
|
-
}[];
|
1606
|
-
review: {
|
1607
|
-
title: TranslationConfig;
|
1608
|
-
fields: import("./FieldConfig").Inferred[];
|
1609
|
-
};
|
1610
|
-
}[];
|
1611
|
-
draft?: boolean | undefined;
|
1612
|
-
} | {
|
1613
|
-
type: "CUSTOM";
|
1614
|
-
conditionals: ({
|
1615
|
-
type: "SHOW";
|
1616
|
-
conditional: import(".").JSONSchema;
|
1617
|
-
} | {
|
1618
|
-
type: "ENABLE";
|
1619
|
-
conditional: import(".").JSONSchema;
|
1620
|
-
})[];
|
1621
|
-
label: TranslationConfig;
|
1622
|
-
forms: {
|
1623
|
-
active: boolean;
|
1624
|
-
version: {
|
1625
|
-
id: string;
|
1626
|
-
label: TranslationConfig;
|
1627
|
-
};
|
1628
|
-
label: TranslationConfig;
|
1629
|
-
pages: {
|
1630
|
-
id: string;
|
1631
|
-
title: TranslationConfig;
|
1632
|
-
fields: import("./FieldConfig").Inferred[];
|
1633
|
-
}[];
|
1634
|
-
review: {
|
1635
|
-
title: TranslationConfig;
|
1636
|
-
fields: import("./FieldConfig").Inferred[];
|
1637
|
-
};
|
1638
|
-
}[];
|
1639
1311
|
draft?: boolean | undefined;
|
1640
1312
|
})[];
|
1641
1313
|
label: TranslationConfig;
|
@@ -1645,12 +1317,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1645
1317
|
label: TranslationConfig;
|
1646
1318
|
emptyValueMessage?: TranslationConfig | undefined;
|
1647
1319
|
};
|
1648
|
-
fields: {
|
1320
|
+
fields: ({
|
1321
|
+
fieldId: string;
|
1322
|
+
conditionals?: {
|
1323
|
+
type: "SHOW";
|
1324
|
+
conditional: import(".").JSONSchema;
|
1325
|
+
}[] | undefined;
|
1326
|
+
emptyValueMessage?: TranslationConfig | undefined;
|
1327
|
+
} | {
|
1649
1328
|
id: string;
|
1650
1329
|
value: TranslationConfig;
|
1651
1330
|
label: TranslationConfig;
|
1331
|
+
conditionals?: {
|
1332
|
+
type: "SHOW";
|
1333
|
+
conditional: import(".").JSONSchema;
|
1334
|
+
}[] | undefined;
|
1652
1335
|
emptyValueMessage?: TranslationConfig | undefined;
|
1653
|
-
}[];
|
1336
|
+
})[];
|
1654
1337
|
};
|
1655
1338
|
workqueues: {
|
1656
1339
|
id: string;
|
@@ -1674,46 +1357,39 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1674
1357
|
}[];
|
1675
1358
|
}, {
|
1676
1359
|
id: string;
|
1677
|
-
|
1678
|
-
type: "DECLARE";
|
1360
|
+
declaration: {
|
1679
1361
|
label: {
|
1680
1362
|
id: string;
|
1681
1363
|
description: string;
|
1682
1364
|
defaultMessage: string;
|
1683
1365
|
};
|
1684
|
-
|
1685
|
-
|
1686
|
-
|
1687
|
-
label: {
|
1688
|
-
id: string;
|
1689
|
-
description: string;
|
1690
|
-
defaultMessage: string;
|
1691
|
-
};
|
1692
|
-
};
|
1693
|
-
label: {
|
1366
|
+
pages: {
|
1367
|
+
id: string;
|
1368
|
+
title: {
|
1694
1369
|
id: string;
|
1695
1370
|
description: string;
|
1696
1371
|
defaultMessage: string;
|
1697
1372
|
};
|
1698
|
-
|
1373
|
+
fields: import("./FieldConfig").InferredInput[];
|
1374
|
+
type?: "FORM" | undefined;
|
1375
|
+
conditional?: import(".").JSONSchema | undefined;
|
1376
|
+
}[];
|
1377
|
+
};
|
1378
|
+
actions: ({
|
1379
|
+
type: "DECLARE";
|
1380
|
+
label: {
|
1381
|
+
id: string;
|
1382
|
+
description: string;
|
1383
|
+
defaultMessage: string;
|
1384
|
+
};
|
1385
|
+
review: {
|
1386
|
+
title: {
|
1699
1387
|
id: string;
|
1700
|
-
|
1701
|
-
|
1702
|
-
description: string;
|
1703
|
-
defaultMessage: string;
|
1704
|
-
};
|
1705
|
-
fields: import("./FieldConfig").Inferred[];
|
1706
|
-
}[];
|
1707
|
-
review: {
|
1708
|
-
title: {
|
1709
|
-
id: string;
|
1710
|
-
description: string;
|
1711
|
-
defaultMessage: string;
|
1712
|
-
};
|
1713
|
-
fields: import("./FieldConfig").Inferred[];
|
1388
|
+
description: string;
|
1389
|
+
defaultMessage: string;
|
1714
1390
|
};
|
1715
|
-
|
1716
|
-
}
|
1391
|
+
fields: import("./FieldConfig").InferredInput[];
|
1392
|
+
};
|
1717
1393
|
draft?: boolean | undefined;
|
1718
1394
|
conditionals?: ({
|
1719
1395
|
type: "SHOW";
|
@@ -1729,39 +1405,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1729
1405
|
description: string;
|
1730
1406
|
defaultMessage: string;
|
1731
1407
|
};
|
1732
|
-
|
1733
|
-
|
1734
|
-
id: string;
|
1735
|
-
label: {
|
1736
|
-
id: string;
|
1737
|
-
description: string;
|
1738
|
-
defaultMessage: string;
|
1739
|
-
};
|
1740
|
-
};
|
1741
|
-
label: {
|
1408
|
+
review: {
|
1409
|
+
title: {
|
1742
1410
|
id: string;
|
1743
1411
|
description: string;
|
1744
1412
|
defaultMessage: string;
|
1745
1413
|
};
|
1746
|
-
|
1747
|
-
|
1748
|
-
title: {
|
1749
|
-
id: string;
|
1750
|
-
description: string;
|
1751
|
-
defaultMessage: string;
|
1752
|
-
};
|
1753
|
-
fields: import("./FieldConfig").Inferred[];
|
1754
|
-
}[];
|
1755
|
-
review: {
|
1756
|
-
title: {
|
1757
|
-
id: string;
|
1758
|
-
description: string;
|
1759
|
-
defaultMessage: string;
|
1760
|
-
};
|
1761
|
-
fields: import("./FieldConfig").Inferred[];
|
1762
|
-
};
|
1763
|
-
active?: boolean | undefined;
|
1764
|
-
}[];
|
1414
|
+
fields: import("./FieldConfig").InferredInput[];
|
1415
|
+
};
|
1765
1416
|
draft?: boolean | undefined;
|
1766
1417
|
conditionals?: ({
|
1767
1418
|
type: "SHOW";
|
@@ -1771,47 +1422,20 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1771
1422
|
conditional: import(".").JSONSchema;
|
1772
1423
|
})[] | undefined;
|
1773
1424
|
} | {
|
1774
|
-
type: "
|
1775
|
-
comment: string;
|
1425
|
+
type: "REGISTER";
|
1776
1426
|
label: {
|
1777
1427
|
id: string;
|
1778
1428
|
description: string;
|
1779
1429
|
defaultMessage: string;
|
1780
1430
|
};
|
1781
|
-
|
1782
|
-
|
1783
|
-
id: string;
|
1784
|
-
label: {
|
1785
|
-
id: string;
|
1786
|
-
description: string;
|
1787
|
-
defaultMessage: string;
|
1788
|
-
};
|
1789
|
-
};
|
1790
|
-
label: {
|
1791
|
-
id: string;
|
1792
|
-
description: string;
|
1793
|
-
defaultMessage: string;
|
1794
|
-
};
|
1795
|
-
pages: {
|
1431
|
+
review: {
|
1432
|
+
title: {
|
1796
1433
|
id: string;
|
1797
|
-
|
1798
|
-
|
1799
|
-
description: string;
|
1800
|
-
defaultMessage: string;
|
1801
|
-
};
|
1802
|
-
fields: import("./FieldConfig").Inferred[];
|
1803
|
-
}[];
|
1804
|
-
review: {
|
1805
|
-
title: {
|
1806
|
-
id: string;
|
1807
|
-
description: string;
|
1808
|
-
defaultMessage: string;
|
1809
|
-
};
|
1810
|
-
fields: import("./FieldConfig").Inferred[];
|
1434
|
+
description: string;
|
1435
|
+
defaultMessage: string;
|
1811
1436
|
};
|
1812
|
-
|
1813
|
-
}
|
1814
|
-
isDuplicate: boolean;
|
1437
|
+
fields: import("./FieldConfig").InferredInput[];
|
1438
|
+
};
|
1815
1439
|
draft?: boolean | undefined;
|
1816
1440
|
conditionals?: ({
|
1817
1441
|
type: "SHOW";
|
@@ -1821,47 +1445,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1821
1445
|
conditional: import(".").JSONSchema;
|
1822
1446
|
})[] | undefined;
|
1823
1447
|
} | {
|
1824
|
-
type: "
|
1825
|
-
comment: string;
|
1448
|
+
type: "REJECT";
|
1826
1449
|
label: {
|
1827
1450
|
id: string;
|
1828
1451
|
description: string;
|
1829
1452
|
defaultMessage: string;
|
1830
1453
|
};
|
1831
|
-
forms: {
|
1832
|
-
version: {
|
1833
|
-
id: string;
|
1834
|
-
label: {
|
1835
|
-
id: string;
|
1836
|
-
description: string;
|
1837
|
-
defaultMessage: string;
|
1838
|
-
};
|
1839
|
-
};
|
1840
|
-
label: {
|
1841
|
-
id: string;
|
1842
|
-
description: string;
|
1843
|
-
defaultMessage: string;
|
1844
|
-
};
|
1845
|
-
pages: {
|
1846
|
-
id: string;
|
1847
|
-
title: {
|
1848
|
-
id: string;
|
1849
|
-
description: string;
|
1850
|
-
defaultMessage: string;
|
1851
|
-
};
|
1852
|
-
fields: import("./FieldConfig").Inferred[];
|
1853
|
-
}[];
|
1854
|
-
review: {
|
1855
|
-
title: {
|
1856
|
-
id: string;
|
1857
|
-
description: string;
|
1858
|
-
defaultMessage: string;
|
1859
|
-
};
|
1860
|
-
fields: import("./FieldConfig").Inferred[];
|
1861
|
-
};
|
1862
|
-
active?: boolean | undefined;
|
1863
|
-
}[];
|
1864
|
-
duplicates: string[];
|
1865
1454
|
draft?: boolean | undefined;
|
1866
1455
|
conditionals?: ({
|
1867
1456
|
type: "SHOW";
|
@@ -1871,47 +1460,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1871
1460
|
conditional: import(".").JSONSchema;
|
1872
1461
|
})[] | undefined;
|
1873
1462
|
} | {
|
1874
|
-
type: "
|
1875
|
-
comment: string;
|
1463
|
+
type: "MARKED_AS_DUPLICATE";
|
1876
1464
|
label: {
|
1877
1465
|
id: string;
|
1878
1466
|
description: string;
|
1879
1467
|
defaultMessage: string;
|
1880
1468
|
};
|
1881
|
-
forms: {
|
1882
|
-
version: {
|
1883
|
-
id: string;
|
1884
|
-
label: {
|
1885
|
-
id: string;
|
1886
|
-
description: string;
|
1887
|
-
defaultMessage: string;
|
1888
|
-
};
|
1889
|
-
};
|
1890
|
-
label: {
|
1891
|
-
id: string;
|
1892
|
-
description: string;
|
1893
|
-
defaultMessage: string;
|
1894
|
-
};
|
1895
|
-
pages: {
|
1896
|
-
id: string;
|
1897
|
-
title: {
|
1898
|
-
id: string;
|
1899
|
-
description: string;
|
1900
|
-
defaultMessage: string;
|
1901
|
-
};
|
1902
|
-
fields: import("./FieldConfig").Inferred[];
|
1903
|
-
}[];
|
1904
|
-
review: {
|
1905
|
-
title: {
|
1906
|
-
id: string;
|
1907
|
-
description: string;
|
1908
|
-
defaultMessage: string;
|
1909
|
-
};
|
1910
|
-
fields: import("./FieldConfig").Inferred[];
|
1911
|
-
};
|
1912
|
-
active?: boolean | undefined;
|
1913
|
-
}[];
|
1914
|
-
isDuplicate: boolean;
|
1915
1469
|
draft?: boolean | undefined;
|
1916
1470
|
conditionals?: ({
|
1917
1471
|
type: "SHOW";
|
@@ -1921,45 +1475,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1921
1475
|
conditional: import(".").JSONSchema;
|
1922
1476
|
})[] | undefined;
|
1923
1477
|
} | {
|
1924
|
-
type: "
|
1478
|
+
type: "ARCHIVE";
|
1925
1479
|
label: {
|
1926
1480
|
id: string;
|
1927
1481
|
description: string;
|
1928
1482
|
defaultMessage: string;
|
1929
1483
|
};
|
1930
|
-
forms: {
|
1931
|
-
version: {
|
1932
|
-
id: string;
|
1933
|
-
label: {
|
1934
|
-
id: string;
|
1935
|
-
description: string;
|
1936
|
-
defaultMessage: string;
|
1937
|
-
};
|
1938
|
-
};
|
1939
|
-
label: {
|
1940
|
-
id: string;
|
1941
|
-
description: string;
|
1942
|
-
defaultMessage: string;
|
1943
|
-
};
|
1944
|
-
pages: {
|
1945
|
-
id: string;
|
1946
|
-
title: {
|
1947
|
-
id: string;
|
1948
|
-
description: string;
|
1949
|
-
defaultMessage: string;
|
1950
|
-
};
|
1951
|
-
fields: import("./FieldConfig").Inferred[];
|
1952
|
-
}[];
|
1953
|
-
review: {
|
1954
|
-
title: {
|
1955
|
-
id: string;
|
1956
|
-
description: string;
|
1957
|
-
defaultMessage: string;
|
1958
|
-
};
|
1959
|
-
fields: import("./FieldConfig").Inferred[];
|
1960
|
-
};
|
1961
|
-
active?: boolean | undefined;
|
1962
|
-
}[];
|
1963
1484
|
draft?: boolean | undefined;
|
1964
1485
|
conditionals?: ({
|
1965
1486
|
type: "SHOW";
|
@@ -1975,39 +1496,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
1975
1496
|
description: string;
|
1976
1497
|
defaultMessage: string;
|
1977
1498
|
};
|
1978
|
-
forms: {
|
1979
|
-
version: {
|
1980
|
-
id: string;
|
1981
|
-
label: {
|
1982
|
-
id: string;
|
1983
|
-
description: string;
|
1984
|
-
defaultMessage: string;
|
1985
|
-
};
|
1986
|
-
};
|
1987
|
-
label: {
|
1988
|
-
id: string;
|
1989
|
-
description: string;
|
1990
|
-
defaultMessage: string;
|
1991
|
-
};
|
1992
|
-
pages: {
|
1993
|
-
id: string;
|
1994
|
-
title: {
|
1995
|
-
id: string;
|
1996
|
-
description: string;
|
1997
|
-
defaultMessage: string;
|
1998
|
-
};
|
1999
|
-
fields: import("./FieldConfig").Inferred[];
|
2000
|
-
}[];
|
2001
|
-
review: {
|
2002
|
-
title: {
|
2003
|
-
id: string;
|
2004
|
-
description: string;
|
2005
|
-
defaultMessage: string;
|
2006
|
-
};
|
2007
|
-
fields: import("./FieldConfig").Inferred[];
|
2008
|
-
};
|
2009
|
-
active?: boolean | undefined;
|
2010
|
-
}[];
|
2011
1499
|
draft?: boolean | undefined;
|
2012
1500
|
conditionals?: ({
|
2013
1501
|
type: "SHOW";
|
@@ -2023,39 +1511,62 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2023
1511
|
description: string;
|
2024
1512
|
defaultMessage: string;
|
2025
1513
|
};
|
2026
|
-
|
2027
|
-
version: {
|
2028
|
-
id: string;
|
2029
|
-
label: {
|
2030
|
-
id: string;
|
2031
|
-
description: string;
|
2032
|
-
defaultMessage: string;
|
2033
|
-
};
|
2034
|
-
};
|
1514
|
+
printForm: {
|
2035
1515
|
label: {
|
2036
1516
|
id: string;
|
2037
1517
|
description: string;
|
2038
1518
|
defaultMessage: string;
|
2039
1519
|
};
|
2040
|
-
pages: {
|
1520
|
+
pages: ({
|
2041
1521
|
id: string;
|
2042
1522
|
title: {
|
2043
1523
|
id: string;
|
2044
1524
|
description: string;
|
2045
1525
|
defaultMessage: string;
|
2046
1526
|
};
|
2047
|
-
fields: import("./FieldConfig").
|
2048
|
-
|
2049
|
-
|
1527
|
+
fields: import("./FieldConfig").InferredInput[];
|
1528
|
+
type?: "FORM" | undefined;
|
1529
|
+
conditional?: import(".").JSONSchema | undefined;
|
1530
|
+
} | {
|
1531
|
+
type: "VERIFICATION";
|
1532
|
+
id: string;
|
2050
1533
|
title: {
|
2051
1534
|
id: string;
|
2052
1535
|
description: string;
|
2053
1536
|
defaultMessage: string;
|
2054
1537
|
};
|
2055
|
-
|
2056
|
-
|
2057
|
-
|
2058
|
-
|
1538
|
+
actions: {
|
1539
|
+
verify: {
|
1540
|
+
label: {
|
1541
|
+
id: string;
|
1542
|
+
description: string;
|
1543
|
+
defaultMessage: string;
|
1544
|
+
};
|
1545
|
+
};
|
1546
|
+
cancel: {
|
1547
|
+
label: {
|
1548
|
+
id: string;
|
1549
|
+
description: string;
|
1550
|
+
defaultMessage: string;
|
1551
|
+
};
|
1552
|
+
confirmation: {
|
1553
|
+
title: {
|
1554
|
+
id: string;
|
1555
|
+
description: string;
|
1556
|
+
defaultMessage: string;
|
1557
|
+
};
|
1558
|
+
body: {
|
1559
|
+
id: string;
|
1560
|
+
description: string;
|
1561
|
+
defaultMessage: string;
|
1562
|
+
};
|
1563
|
+
};
|
1564
|
+
};
|
1565
|
+
};
|
1566
|
+
fields: import("./FieldConfig").InferredInput[];
|
1567
|
+
conditional?: import(".").JSONSchema | undefined;
|
1568
|
+
})[];
|
1569
|
+
};
|
2059
1570
|
draft?: boolean | undefined;
|
2060
1571
|
conditionals?: ({
|
2061
1572
|
type: "SHOW";
|
@@ -2071,105 +1582,104 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2071
1582
|
description: string;
|
2072
1583
|
defaultMessage: string;
|
2073
1584
|
};
|
2074
|
-
|
2075
|
-
|
2076
|
-
|
2077
|
-
label: {
|
2078
|
-
id: string;
|
2079
|
-
description: string;
|
2080
|
-
defaultMessage: string;
|
2081
|
-
};
|
2082
|
-
};
|
2083
|
-
label: {
|
1585
|
+
onboardingForm: ({
|
1586
|
+
id: string;
|
1587
|
+
title: {
|
2084
1588
|
id: string;
|
2085
1589
|
description: string;
|
2086
1590
|
defaultMessage: string;
|
2087
1591
|
};
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
defaultMessage: string;
|
2094
|
-
};
|
2095
|
-
fields: import("./FieldConfig").Inferred[];
|
2096
|
-
}[];
|
2097
|
-
review: {
|
2098
|
-
title: {
|
2099
|
-
id: string;
|
2100
|
-
description: string;
|
2101
|
-
defaultMessage: string;
|
2102
|
-
};
|
2103
|
-
fields: import("./FieldConfig").Inferred[];
|
2104
|
-
};
|
2105
|
-
active?: boolean | undefined;
|
2106
|
-
}[];
|
2107
|
-
onboardingForm: {
|
1592
|
+
fields: import("./FieldConfig").InferredInput[];
|
1593
|
+
type?: "FORM" | undefined;
|
1594
|
+
conditional?: import(".").JSONSchema | undefined;
|
1595
|
+
} | {
|
1596
|
+
type: "VERIFICATION";
|
2108
1597
|
id: string;
|
2109
1598
|
title: {
|
2110
1599
|
id: string;
|
2111
1600
|
description: string;
|
2112
1601
|
defaultMessage: string;
|
2113
1602
|
};
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
1603
|
+
actions: {
|
1604
|
+
verify: {
|
1605
|
+
label: {
|
1606
|
+
id: string;
|
1607
|
+
description: string;
|
1608
|
+
defaultMessage: string;
|
1609
|
+
};
|
1610
|
+
};
|
1611
|
+
cancel: {
|
1612
|
+
label: {
|
1613
|
+
id: string;
|
1614
|
+
description: string;
|
1615
|
+
defaultMessage: string;
|
1616
|
+
};
|
1617
|
+
confirmation: {
|
1618
|
+
title: {
|
1619
|
+
id: string;
|
1620
|
+
description: string;
|
1621
|
+
defaultMessage: string;
|
1622
|
+
};
|
1623
|
+
body: {
|
1624
|
+
id: string;
|
1625
|
+
description: string;
|
1626
|
+
defaultMessage: string;
|
1627
|
+
};
|
1628
|
+
};
|
1629
|
+
};
|
1630
|
+
};
|
1631
|
+
fields: import("./FieldConfig").InferredInput[];
|
1632
|
+
conditional?: import(".").JSONSchema | undefined;
|
1633
|
+
})[];
|
1634
|
+
additionalDetailsForm: ({
|
2117
1635
|
id: string;
|
2118
1636
|
title: {
|
2119
1637
|
id: string;
|
2120
1638
|
description: string;
|
2121
1639
|
defaultMessage: string;
|
2122
1640
|
};
|
2123
|
-
fields: import("./FieldConfig").
|
2124
|
-
|
2125
|
-
|
2126
|
-
conditionals?: ({
|
2127
|
-
type: "SHOW";
|
2128
|
-
conditional: import(".").JSONSchema;
|
1641
|
+
fields: import("./FieldConfig").InferredInput[];
|
1642
|
+
type?: "FORM" | undefined;
|
1643
|
+
conditional?: import(".").JSONSchema | undefined;
|
2129
1644
|
} | {
|
2130
|
-
type: "
|
2131
|
-
conditional: import(".").JSONSchema;
|
2132
|
-
})[] | undefined;
|
2133
|
-
} | {
|
2134
|
-
type: "REJECT_CORRECTION";
|
2135
|
-
label: {
|
1645
|
+
type: "VERIFICATION";
|
2136
1646
|
id: string;
|
2137
|
-
|
2138
|
-
defaultMessage: string;
|
2139
|
-
};
|
2140
|
-
forms: {
|
2141
|
-
version: {
|
2142
|
-
id: string;
|
2143
|
-
label: {
|
2144
|
-
id: string;
|
2145
|
-
description: string;
|
2146
|
-
defaultMessage: string;
|
2147
|
-
};
|
2148
|
-
};
|
2149
|
-
label: {
|
1647
|
+
title: {
|
2150
1648
|
id: string;
|
2151
1649
|
description: string;
|
2152
1650
|
defaultMessage: string;
|
2153
1651
|
};
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
1652
|
+
actions: {
|
1653
|
+
verify: {
|
1654
|
+
label: {
|
1655
|
+
id: string;
|
1656
|
+
description: string;
|
1657
|
+
defaultMessage: string;
|
1658
|
+
};
|
1659
|
+
};
|
1660
|
+
cancel: {
|
1661
|
+
label: {
|
1662
|
+
id: string;
|
1663
|
+
description: string;
|
1664
|
+
defaultMessage: string;
|
1665
|
+
};
|
1666
|
+
confirmation: {
|
1667
|
+
title: {
|
1668
|
+
id: string;
|
1669
|
+
description: string;
|
1670
|
+
defaultMessage: string;
|
1671
|
+
};
|
1672
|
+
body: {
|
1673
|
+
id: string;
|
1674
|
+
description: string;
|
1675
|
+
defaultMessage: string;
|
1676
|
+
};
|
1677
|
+
};
|
1678
|
+
};
|
1679
|
+
};
|
1680
|
+
fields: import("./FieldConfig").InferredInput[];
|
1681
|
+
conditional?: import(".").JSONSchema | undefined;
|
1682
|
+
})[];
|
2173
1683
|
draft?: boolean | undefined;
|
2174
1684
|
conditionals?: ({
|
2175
1685
|
type: "SHOW";
|
@@ -2179,45 +1689,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2179
1689
|
conditional: import(".").JSONSchema;
|
2180
1690
|
})[] | undefined;
|
2181
1691
|
} | {
|
2182
|
-
type: "
|
1692
|
+
type: "REJECT_CORRECTION";
|
2183
1693
|
label: {
|
2184
1694
|
id: string;
|
2185
1695
|
description: string;
|
2186
1696
|
defaultMessage: string;
|
2187
1697
|
};
|
2188
|
-
forms: {
|
2189
|
-
version: {
|
2190
|
-
id: string;
|
2191
|
-
label: {
|
2192
|
-
id: string;
|
2193
|
-
description: string;
|
2194
|
-
defaultMessage: string;
|
2195
|
-
};
|
2196
|
-
};
|
2197
|
-
label: {
|
2198
|
-
id: string;
|
2199
|
-
description: string;
|
2200
|
-
defaultMessage: string;
|
2201
|
-
};
|
2202
|
-
pages: {
|
2203
|
-
id: string;
|
2204
|
-
title: {
|
2205
|
-
id: string;
|
2206
|
-
description: string;
|
2207
|
-
defaultMessage: string;
|
2208
|
-
};
|
2209
|
-
fields: import("./FieldConfig").Inferred[];
|
2210
|
-
}[];
|
2211
|
-
review: {
|
2212
|
-
title: {
|
2213
|
-
id: string;
|
2214
|
-
description: string;
|
2215
|
-
defaultMessage: string;
|
2216
|
-
};
|
2217
|
-
fields: import("./FieldConfig").Inferred[];
|
2218
|
-
};
|
2219
|
-
active?: boolean | undefined;
|
2220
|
-
}[];
|
2221
1698
|
draft?: boolean | undefined;
|
2222
1699
|
conditionals?: ({
|
2223
1700
|
type: "SHOW";
|
@@ -2227,45 +1704,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2227
1704
|
conditional: import(".").JSONSchema;
|
2228
1705
|
})[] | undefined;
|
2229
1706
|
} | {
|
2230
|
-
type: "
|
1707
|
+
type: "APPROVE_CORRECTION";
|
2231
1708
|
label: {
|
2232
1709
|
id: string;
|
2233
1710
|
description: string;
|
2234
1711
|
defaultMessage: string;
|
2235
1712
|
};
|
2236
|
-
forms: {
|
2237
|
-
version: {
|
2238
|
-
id: string;
|
2239
|
-
label: {
|
2240
|
-
id: string;
|
2241
|
-
description: string;
|
2242
|
-
defaultMessage: string;
|
2243
|
-
};
|
2244
|
-
};
|
2245
|
-
label: {
|
2246
|
-
id: string;
|
2247
|
-
description: string;
|
2248
|
-
defaultMessage: string;
|
2249
|
-
};
|
2250
|
-
pages: {
|
2251
|
-
id: string;
|
2252
|
-
title: {
|
2253
|
-
id: string;
|
2254
|
-
description: string;
|
2255
|
-
defaultMessage: string;
|
2256
|
-
};
|
2257
|
-
fields: import("./FieldConfig").Inferred[];
|
2258
|
-
}[];
|
2259
|
-
review: {
|
2260
|
-
title: {
|
2261
|
-
id: string;
|
2262
|
-
description: string;
|
2263
|
-
defaultMessage: string;
|
2264
|
-
};
|
2265
|
-
fields: import("./FieldConfig").Inferred[];
|
2266
|
-
};
|
2267
|
-
active?: boolean | undefined;
|
2268
|
-
}[];
|
2269
1713
|
draft?: boolean | undefined;
|
2270
1714
|
conditionals?: ({
|
2271
1715
|
type: "SHOW";
|
@@ -2294,7 +1738,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2294
1738
|
defaultMessage: string;
|
2295
1739
|
} | undefined;
|
2296
1740
|
};
|
2297
|
-
fields: {
|
1741
|
+
fields: ({
|
1742
|
+
fieldId: string;
|
1743
|
+
conditionals?: {
|
1744
|
+
type: "SHOW";
|
1745
|
+
conditional: import(".").JSONSchema;
|
1746
|
+
}[] | undefined;
|
1747
|
+
emptyValueMessage?: {
|
1748
|
+
id: string;
|
1749
|
+
description: string;
|
1750
|
+
defaultMessage: string;
|
1751
|
+
} | undefined;
|
1752
|
+
} | {
|
2298
1753
|
id: string;
|
2299
1754
|
value: {
|
2300
1755
|
id: string;
|
@@ -2306,12 +1761,16 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
2306
1761
|
description: string;
|
2307
1762
|
defaultMessage: string;
|
2308
1763
|
};
|
1764
|
+
conditionals?: {
|
1765
|
+
type: "SHOW";
|
1766
|
+
conditional: import(".").JSONSchema;
|
1767
|
+
}[] | undefined;
|
2309
1768
|
emptyValueMessage?: {
|
2310
1769
|
id: string;
|
2311
1770
|
description: string;
|
2312
1771
|
defaultMessage: string;
|
2313
1772
|
} | undefined;
|
2314
|
-
}[];
|
1773
|
+
})[];
|
2315
1774
|
};
|
2316
1775
|
workqueues: {
|
2317
1776
|
id: string;
|