@opencrvs/toolkit 1.9.16-rc.c7acc1a → 1.9.16-rc.d948d51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +193 -198
- package/dist/commons/events/ActionConfig.d.ts +0 -28
- package/dist/commons/events/ActionDocument.d.ts +129 -129
- package/dist/commons/events/Draft.d.ts +5 -5
- package/dist/commons/events/EventConfig.d.ts +0 -25
- package/dist/commons/events/EventDocument.d.ts +90 -90
- package/dist/commons/events/EventIndex.d.ts +17 -17
- package/dist/commons/events/EventMetadata.d.ts +33 -33
- package/dist/commons/events/FormConfig.d.ts +0 -30
- package/dist/commons/events/PageConfig.d.ts +0 -6
- package/dist/commons/events/defineConfig.d.ts +0 -5
- package/dist/commons/events/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +20 -20
- package/dist/commons/events/utils.d.ts +0 -9
- package/dist/events/index.js +9 -9
- package/dist/notification/index.js +9 -9
- package/dist/scopes/index.d.ts +3 -2
- package/dist/scopes/index.js +6 -2
- package/package.json +1 -1
|
@@ -14,7 +14,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
14
14
|
defaultMessage: string;
|
|
15
15
|
}>;
|
|
16
16
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
17
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
18
17
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
19
18
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
20
19
|
}, {
|
|
@@ -26,7 +25,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
26
25
|
fields: import("./FieldConfig").FieldConfig[];
|
|
27
26
|
requireCompletionToContinue: boolean;
|
|
28
27
|
conditional?: import(".").JSONSchema | undefined;
|
|
29
|
-
showClearButton?: boolean | undefined;
|
|
30
28
|
}, {
|
|
31
29
|
id: string;
|
|
32
30
|
title: {
|
|
@@ -38,7 +36,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
38
36
|
type?: "FORM" | undefined;
|
|
39
37
|
conditional?: import(".").JSONSchema | undefined;
|
|
40
38
|
requireCompletionToContinue?: boolean | undefined;
|
|
41
|
-
showClearButton?: boolean | undefined;
|
|
42
39
|
}>, "many">;
|
|
43
40
|
}, "strip", z.ZodTypeAny, {
|
|
44
41
|
label: TranslationConfig;
|
|
@@ -49,7 +46,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
49
46
|
fields: import("./FieldConfig").FieldConfig[];
|
|
50
47
|
requireCompletionToContinue: boolean;
|
|
51
48
|
conditional?: import(".").JSONSchema | undefined;
|
|
52
|
-
showClearButton?: boolean | undefined;
|
|
53
49
|
}[];
|
|
54
50
|
}, {
|
|
55
51
|
label: {
|
|
@@ -68,7 +64,6 @@ export declare const DeclarationFormConfig: z.ZodObject<{
|
|
|
68
64
|
type?: "FORM" | undefined;
|
|
69
65
|
conditional?: import(".").JSONSchema | undefined;
|
|
70
66
|
requireCompletionToContinue?: boolean | undefined;
|
|
71
|
-
showClearButton?: boolean | undefined;
|
|
72
67
|
}[];
|
|
73
68
|
}>;
|
|
74
69
|
export type DeclarationFormConfig = z.infer<typeof DeclarationFormConfig>;
|
|
@@ -87,7 +82,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
87
82
|
defaultMessage: string;
|
|
88
83
|
}>;
|
|
89
84
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
90
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
91
85
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
92
86
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
93
87
|
}, {
|
|
@@ -99,7 +93,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
99
93
|
fields: import("./FieldConfig").FieldConfig[];
|
|
100
94
|
requireCompletionToContinue: boolean;
|
|
101
95
|
conditional?: import(".").JSONSchema | undefined;
|
|
102
|
-
showClearButton?: boolean | undefined;
|
|
103
96
|
}, {
|
|
104
97
|
id: string;
|
|
105
98
|
title: {
|
|
@@ -111,7 +104,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
111
104
|
type?: "FORM" | undefined;
|
|
112
105
|
conditional?: import(".").JSONSchema | undefined;
|
|
113
106
|
requireCompletionToContinue?: boolean | undefined;
|
|
114
|
-
showClearButton?: boolean | undefined;
|
|
115
107
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
116
108
|
id: z.ZodString;
|
|
117
109
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -120,7 +112,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
120
112
|
defaultMessage: string;
|
|
121
113
|
}>;
|
|
122
114
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
123
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
124
115
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
125
116
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
126
117
|
}, {
|
|
@@ -258,7 +249,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
258
249
|
fields: import("./FieldConfig").FieldConfig[];
|
|
259
250
|
requireCompletionToContinue: boolean;
|
|
260
251
|
conditional?: import(".").JSONSchema | undefined;
|
|
261
|
-
showClearButton?: boolean | undefined;
|
|
262
252
|
}, {
|
|
263
253
|
type: "VERIFICATION";
|
|
264
254
|
id: string;
|
|
@@ -298,7 +288,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
298
288
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
299
289
|
conditional?: import(".").JSONSchema | undefined;
|
|
300
290
|
requireCompletionToContinue?: boolean | undefined;
|
|
301
|
-
showClearButton?: boolean | undefined;
|
|
302
291
|
}>)[]>, "many">;
|
|
303
292
|
}, "strip", z.ZodTypeAny, {
|
|
304
293
|
label: TranslationConfig;
|
|
@@ -309,7 +298,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
309
298
|
fields: import("./FieldConfig").FieldConfig[];
|
|
310
299
|
requireCompletionToContinue: boolean;
|
|
311
300
|
conditional?: import(".").JSONSchema | undefined;
|
|
312
|
-
showClearButton?: boolean | undefined;
|
|
313
301
|
} | {
|
|
314
302
|
type: "VERIFICATION";
|
|
315
303
|
id: string;
|
|
@@ -329,7 +317,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
329
317
|
fields: import("./FieldConfig").FieldConfig[];
|
|
330
318
|
requireCompletionToContinue: boolean;
|
|
331
319
|
conditional?: import(".").JSONSchema | undefined;
|
|
332
|
-
showClearButton?: boolean | undefined;
|
|
333
320
|
})[];
|
|
334
321
|
}, {
|
|
335
322
|
label: {
|
|
@@ -348,7 +335,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
348
335
|
type?: "FORM" | undefined;
|
|
349
336
|
conditional?: import(".").JSONSchema | undefined;
|
|
350
337
|
requireCompletionToContinue?: boolean | undefined;
|
|
351
|
-
showClearButton?: boolean | undefined;
|
|
352
338
|
} | {
|
|
353
339
|
type: "VERIFICATION";
|
|
354
340
|
id: string;
|
|
@@ -388,7 +374,6 @@ export declare const ActionFormConfig: z.ZodObject<{
|
|
|
388
374
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
389
375
|
conditional?: import(".").JSONSchema | undefined;
|
|
390
376
|
requireCompletionToContinue?: boolean | undefined;
|
|
391
|
-
showClearButton?: boolean | undefined;
|
|
392
377
|
})[];
|
|
393
378
|
}>;
|
|
394
379
|
export type ActionFormConfig = z.infer<typeof ActionFormConfig>;
|
|
@@ -407,7 +392,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
407
392
|
defaultMessage: string;
|
|
408
393
|
}>;
|
|
409
394
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
410
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
411
395
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
412
396
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
413
397
|
}, {
|
|
@@ -419,7 +403,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
419
403
|
fields: import("./FieldConfig").FieldConfig[];
|
|
420
404
|
requireCompletionToContinue: boolean;
|
|
421
405
|
conditional?: import(".").JSONSchema | undefined;
|
|
422
|
-
showClearButton?: boolean | undefined;
|
|
423
406
|
}, {
|
|
424
407
|
id: string;
|
|
425
408
|
title: {
|
|
@@ -431,7 +414,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
431
414
|
type?: "FORM" | undefined;
|
|
432
415
|
conditional?: import(".").JSONSchema | undefined;
|
|
433
416
|
requireCompletionToContinue?: boolean | undefined;
|
|
434
|
-
showClearButton?: boolean | undefined;
|
|
435
417
|
}>, "many">;
|
|
436
418
|
}, "strip", z.ZodTypeAny, {
|
|
437
419
|
label: TranslationConfig;
|
|
@@ -442,7 +424,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
442
424
|
fields: import("./FieldConfig").FieldConfig[];
|
|
443
425
|
requireCompletionToContinue: boolean;
|
|
444
426
|
conditional?: import(".").JSONSchema | undefined;
|
|
445
|
-
showClearButton?: boolean | undefined;
|
|
446
427
|
}[];
|
|
447
428
|
}, {
|
|
448
429
|
label: {
|
|
@@ -461,7 +442,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
461
442
|
type?: "FORM" | undefined;
|
|
462
443
|
conditional?: import(".").JSONSchema | undefined;
|
|
463
444
|
requireCompletionToContinue?: boolean | undefined;
|
|
464
|
-
showClearButton?: boolean | undefined;
|
|
465
445
|
}[];
|
|
466
446
|
}>, z.ZodObject<{
|
|
467
447
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -477,7 +457,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
477
457
|
defaultMessage: string;
|
|
478
458
|
}>;
|
|
479
459
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
480
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
481
460
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
482
461
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
483
462
|
}, {
|
|
@@ -489,7 +468,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
489
468
|
fields: import("./FieldConfig").FieldConfig[];
|
|
490
469
|
requireCompletionToContinue: boolean;
|
|
491
470
|
conditional?: import(".").JSONSchema | undefined;
|
|
492
|
-
showClearButton?: boolean | undefined;
|
|
493
471
|
}, {
|
|
494
472
|
id: string;
|
|
495
473
|
title: {
|
|
@@ -501,7 +479,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
501
479
|
type?: "FORM" | undefined;
|
|
502
480
|
conditional?: import(".").JSONSchema | undefined;
|
|
503
481
|
requireCompletionToContinue?: boolean | undefined;
|
|
504
|
-
showClearButton?: boolean | undefined;
|
|
505
482
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
506
483
|
id: z.ZodString;
|
|
507
484
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -510,7 +487,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
510
487
|
defaultMessage: string;
|
|
511
488
|
}>;
|
|
512
489
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
513
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
514
490
|
fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
515
491
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
516
492
|
}, {
|
|
@@ -648,7 +624,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
648
624
|
fields: import("./FieldConfig").FieldConfig[];
|
|
649
625
|
requireCompletionToContinue: boolean;
|
|
650
626
|
conditional?: import(".").JSONSchema | undefined;
|
|
651
|
-
showClearButton?: boolean | undefined;
|
|
652
627
|
}, {
|
|
653
628
|
type: "VERIFICATION";
|
|
654
629
|
id: string;
|
|
@@ -688,7 +663,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
688
663
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
689
664
|
conditional?: import(".").JSONSchema | undefined;
|
|
690
665
|
requireCompletionToContinue?: boolean | undefined;
|
|
691
|
-
showClearButton?: boolean | undefined;
|
|
692
666
|
}>)[]>, "many">;
|
|
693
667
|
}, "strip", z.ZodTypeAny, {
|
|
694
668
|
label: TranslationConfig;
|
|
@@ -699,7 +673,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
699
673
|
fields: import("./FieldConfig").FieldConfig[];
|
|
700
674
|
requireCompletionToContinue: boolean;
|
|
701
675
|
conditional?: import(".").JSONSchema | undefined;
|
|
702
|
-
showClearButton?: boolean | undefined;
|
|
703
676
|
} | {
|
|
704
677
|
type: "VERIFICATION";
|
|
705
678
|
id: string;
|
|
@@ -719,7 +692,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
719
692
|
fields: import("./FieldConfig").FieldConfig[];
|
|
720
693
|
requireCompletionToContinue: boolean;
|
|
721
694
|
conditional?: import(".").JSONSchema | undefined;
|
|
722
|
-
showClearButton?: boolean | undefined;
|
|
723
695
|
})[];
|
|
724
696
|
}, {
|
|
725
697
|
label: {
|
|
@@ -738,7 +710,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
738
710
|
type?: "FORM" | undefined;
|
|
739
711
|
conditional?: import(".").JSONSchema | undefined;
|
|
740
712
|
requireCompletionToContinue?: boolean | undefined;
|
|
741
|
-
showClearButton?: boolean | undefined;
|
|
742
713
|
} | {
|
|
743
714
|
type: "VERIFICATION";
|
|
744
715
|
id: string;
|
|
@@ -778,7 +749,6 @@ export declare const FormConfig: z.ZodUnion<[z.ZodObject<{
|
|
|
778
749
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
779
750
|
conditional?: import(".").JSONSchema | undefined;
|
|
780
751
|
requireCompletionToContinue?: boolean | undefined;
|
|
781
|
-
showClearButton?: boolean | undefined;
|
|
782
752
|
})[];
|
|
783
753
|
}>]>;
|
|
784
754
|
export type FormConfig = z.infer<typeof FormConfig>;
|
|
@@ -11,7 +11,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
11
11
|
defaultMessage: string;
|
|
12
12
|
}>;
|
|
13
13
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
15
14
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
16
15
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
17
16
|
}, {
|
|
@@ -23,7 +22,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
23
22
|
fields: FieldConfig[];
|
|
24
23
|
requireCompletionToContinue: boolean;
|
|
25
24
|
conditional?: import(".").JSONSchema | undefined;
|
|
26
|
-
showClearButton?: boolean | undefined;
|
|
27
25
|
}, {
|
|
28
26
|
id: string;
|
|
29
27
|
title: {
|
|
@@ -35,7 +33,6 @@ export declare const FormPageConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
35
33
|
type?: "FORM" | undefined;
|
|
36
34
|
conditional?: import(".").JSONSchema | undefined;
|
|
37
35
|
requireCompletionToContinue?: boolean | undefined;
|
|
38
|
-
showClearButton?: boolean | undefined;
|
|
39
36
|
}>;
|
|
40
37
|
export type FormPageConfig = z.infer<typeof FormPageConfig>;
|
|
41
38
|
export type FormPageConfigInput = z.input<typeof FormPageConfig>;
|
|
@@ -159,7 +156,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
159
156
|
defaultMessage: string;
|
|
160
157
|
}>;
|
|
161
158
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
162
|
-
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
163
159
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
164
160
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
165
161
|
}, {
|
|
@@ -297,7 +293,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
297
293
|
fields: FieldConfig[];
|
|
298
294
|
requireCompletionToContinue: boolean;
|
|
299
295
|
conditional?: import(".").JSONSchema | undefined;
|
|
300
|
-
showClearButton?: boolean | undefined;
|
|
301
296
|
}, {
|
|
302
297
|
type: "VERIFICATION";
|
|
303
298
|
id: string;
|
|
@@ -337,7 +332,6 @@ export declare const VerificationPageConfig: z.ZodObject<z.objectUtil.extendShap
|
|
|
337
332
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
338
333
|
conditional?: import(".").JSONSchema | undefined;
|
|
339
334
|
requireCompletionToContinue?: boolean | undefined;
|
|
340
|
-
showClearButton?: boolean | undefined;
|
|
341
335
|
}>;
|
|
342
336
|
export type VerificationPageConfig = z.infer<typeof VerificationPageConfig>;
|
|
343
337
|
type AllPageConfig = typeof VerificationPageConfig | typeof FormPageConfig;
|
|
@@ -15,7 +15,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
15
15
|
fields: import("./FieldConfig").FieldConfig[];
|
|
16
16
|
requireCompletionToContinue: boolean;
|
|
17
17
|
conditional?: import(".").JSONSchema | undefined;
|
|
18
|
-
showClearButton?: boolean | undefined;
|
|
19
18
|
}[];
|
|
20
19
|
};
|
|
21
20
|
actions: ({
|
|
@@ -82,7 +81,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
82
81
|
fields: import("./FieldConfig").FieldConfig[];
|
|
83
82
|
requireCompletionToContinue: boolean;
|
|
84
83
|
conditional?: import(".").JSONSchema | undefined;
|
|
85
|
-
showClearButton?: boolean | undefined;
|
|
86
84
|
} | {
|
|
87
85
|
type: "VERIFICATION";
|
|
88
86
|
id: string;
|
|
@@ -102,7 +100,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
102
100
|
fields: import("./FieldConfig").FieldConfig[];
|
|
103
101
|
requireCompletionToContinue: boolean;
|
|
104
102
|
conditional?: import(".").JSONSchema | undefined;
|
|
105
|
-
showClearButton?: boolean | undefined;
|
|
106
103
|
})[];
|
|
107
104
|
};
|
|
108
105
|
} | {
|
|
@@ -117,7 +114,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
117
114
|
fields: import("./FieldConfig").FieldConfig[];
|
|
118
115
|
requireCompletionToContinue: boolean;
|
|
119
116
|
conditional?: import(".").JSONSchema | undefined;
|
|
120
|
-
showClearButton?: boolean | undefined;
|
|
121
117
|
} | {
|
|
122
118
|
type: "VERIFICATION";
|
|
123
119
|
id: string;
|
|
@@ -137,7 +133,6 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
137
133
|
fields: import("./FieldConfig").FieldConfig[];
|
|
138
134
|
requireCompletionToContinue: boolean;
|
|
139
135
|
conditional?: import(".").JSONSchema | undefined;
|
|
140
|
-
showClearButton?: boolean | undefined;
|
|
141
136
|
})[];
|
|
142
137
|
};
|
|
143
138
|
} | {
|
|
@@ -72,24 +72,23 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
|
|
|
72
72
|
DECLARED?: {
|
|
73
73
|
createdAt: string;
|
|
74
74
|
createdBy: string;
|
|
75
|
-
createdByRole: string;
|
|
76
75
|
acceptedAt: string;
|
|
77
76
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
77
|
+
createdByRole?: string | undefined;
|
|
78
78
|
createdBySignature?: string | null | undefined;
|
|
79
79
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
80
80
|
} | null | undefined;
|
|
81
81
|
REGISTERED?: {
|
|
82
82
|
createdAt: string;
|
|
83
83
|
createdBy: string;
|
|
84
|
-
createdByRole: string;
|
|
85
84
|
registrationNumber: string;
|
|
86
85
|
acceptedAt: string;
|
|
87
86
|
createdByUserType?: "system" | "user" | null | undefined;
|
|
87
|
+
createdByRole?: string | undefined;
|
|
88
88
|
createdBySignature?: string | null | undefined;
|
|
89
89
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
90
90
|
} | null | undefined;
|
|
91
91
|
};
|
|
92
|
-
updatedByUserRole: string;
|
|
93
92
|
potentialDuplicates: {
|
|
94
93
|
id: string & import("zod").BRAND<"UUID">;
|
|
95
94
|
trackingId: string;
|
|
@@ -100,6 +99,7 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
|
|
|
100
99
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
101
100
|
assignedTo?: string | null | undefined;
|
|
102
101
|
dateOfEvent?: string | null | undefined;
|
|
102
|
+
updatedByUserRole?: string | undefined;
|
|
103
103
|
updatedAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
104
104
|
updatedBy?: string | null | undefined;
|
|
105
105
|
};
|
|
@@ -14,9 +14,9 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
14
14
|
createdByUserType: "system" | "user";
|
|
15
15
|
createdAt: string;
|
|
16
16
|
createdBy: string;
|
|
17
|
-
createdByRole: string;
|
|
18
17
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
19
18
|
assignedTo: string;
|
|
19
|
+
createdByRole?: string | undefined;
|
|
20
20
|
createdBySignature?: string | null | undefined;
|
|
21
21
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
22
22
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -29,8 +29,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
29
29
|
createdByUserType: "system" | "user";
|
|
30
30
|
createdAt: string;
|
|
31
31
|
createdBy: string;
|
|
32
|
-
createdByRole: string;
|
|
33
32
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
33
|
+
createdByRole?: string | undefined;
|
|
34
34
|
createdBySignature?: string | null | undefined;
|
|
35
35
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
36
36
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -43,8 +43,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
43
43
|
createdByUserType: "system" | "user";
|
|
44
44
|
createdAt: string;
|
|
45
45
|
createdBy: string;
|
|
46
|
-
createdByRole: string;
|
|
47
46
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
47
|
+
createdByRole?: string | undefined;
|
|
48
48
|
createdBySignature?: string | null | undefined;
|
|
49
49
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
50
50
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -58,8 +58,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
58
58
|
createdByUserType: "system" | "user";
|
|
59
59
|
createdAt: string;
|
|
60
60
|
createdBy: string;
|
|
61
|
-
createdByRole: string;
|
|
62
61
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
62
|
+
createdByRole?: string | undefined;
|
|
63
63
|
createdBySignature?: string | null | undefined;
|
|
64
64
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
65
65
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -72,8 +72,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
72
72
|
createdByUserType: "system" | "user";
|
|
73
73
|
createdAt: string;
|
|
74
74
|
createdBy: string;
|
|
75
|
-
createdByRole: string;
|
|
76
75
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
76
|
+
createdByRole?: string | undefined;
|
|
77
77
|
createdBySignature?: string | null | undefined;
|
|
78
78
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
79
79
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -89,8 +89,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
89
89
|
createdByUserType: "system" | "user";
|
|
90
90
|
createdAt: string;
|
|
91
91
|
createdBy: string;
|
|
92
|
-
createdByRole: string;
|
|
93
92
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
93
|
+
createdByRole?: string | undefined;
|
|
94
94
|
createdBySignature?: string | null | undefined;
|
|
95
95
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
96
96
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -109,8 +109,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
109
109
|
createdByUserType: "system" | "user";
|
|
110
110
|
createdAt: string;
|
|
111
111
|
createdBy: string;
|
|
112
|
-
createdByRole: string;
|
|
113
112
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
113
|
+
createdByRole?: string | undefined;
|
|
114
114
|
createdBySignature?: string | null | undefined;
|
|
115
115
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
116
116
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -123,8 +123,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
123
123
|
createdByUserType: "system" | "user";
|
|
124
124
|
createdAt: string;
|
|
125
125
|
createdBy: string;
|
|
126
|
-
createdByRole: string;
|
|
127
126
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
127
|
+
createdByRole?: string | undefined;
|
|
128
128
|
createdBySignature?: string | null | undefined;
|
|
129
129
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
130
130
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -137,11 +137,11 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
137
137
|
createdByUserType: "system" | "user";
|
|
138
138
|
createdAt: string;
|
|
139
139
|
createdBy: string;
|
|
140
|
-
createdByRole: string;
|
|
141
140
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
142
141
|
content?: {
|
|
143
142
|
duplicateOf: string & import("zod").BRAND<"UUID">;
|
|
144
143
|
} | undefined;
|
|
144
|
+
createdByRole?: string | undefined;
|
|
145
145
|
createdBySignature?: string | null | undefined;
|
|
146
146
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
147
147
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -157,8 +157,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
157
157
|
createdByUserType: "system" | "user";
|
|
158
158
|
createdAt: string;
|
|
159
159
|
createdBy: string;
|
|
160
|
-
createdByRole: string;
|
|
161
160
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
161
|
+
createdByRole?: string | undefined;
|
|
162
162
|
createdBySignature?: string | null | undefined;
|
|
163
163
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
164
164
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -171,8 +171,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
171
171
|
createdByUserType: "system" | "user";
|
|
172
172
|
createdAt: string;
|
|
173
173
|
createdBy: string;
|
|
174
|
-
createdByRole: string;
|
|
175
174
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
175
|
+
createdByRole?: string | undefined;
|
|
176
176
|
createdBySignature?: string | null | undefined;
|
|
177
177
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
178
178
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -185,8 +185,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
185
185
|
createdByUserType: "system" | "user";
|
|
186
186
|
createdAt: string;
|
|
187
187
|
createdBy: string;
|
|
188
|
-
createdByRole: string;
|
|
189
188
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
189
|
+
createdByRole?: string | undefined;
|
|
190
190
|
createdBySignature?: string | null | undefined;
|
|
191
191
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
192
192
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -199,11 +199,11 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
199
199
|
createdByUserType: "system" | "user";
|
|
200
200
|
createdAt: string;
|
|
201
201
|
createdBy: string;
|
|
202
|
-
createdByRole: string;
|
|
203
202
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
204
203
|
content?: {
|
|
205
204
|
templateId?: string | undefined;
|
|
206
205
|
} | null | undefined;
|
|
206
|
+
createdByRole?: string | undefined;
|
|
207
207
|
createdBySignature?: string | null | undefined;
|
|
208
208
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
209
209
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -216,8 +216,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
216
216
|
createdByUserType: "system" | "user";
|
|
217
217
|
createdAt: string;
|
|
218
218
|
createdBy: string;
|
|
219
|
-
createdByRole: string;
|
|
220
219
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
220
|
+
createdByRole?: string | undefined;
|
|
221
221
|
createdBySignature?: string | null | undefined;
|
|
222
222
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
223
223
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -230,9 +230,9 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
230
230
|
createdByUserType: "system" | "user";
|
|
231
231
|
createdAt: string;
|
|
232
232
|
createdBy: string;
|
|
233
|
-
createdByRole: string;
|
|
234
233
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
235
234
|
requestId: string;
|
|
235
|
+
createdByRole?: string | undefined;
|
|
236
236
|
createdBySignature?: string | null | undefined;
|
|
237
237
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
238
238
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -248,9 +248,9 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
248
248
|
createdByUserType: "system" | "user";
|
|
249
249
|
createdAt: string;
|
|
250
250
|
createdBy: string;
|
|
251
|
-
createdByRole: string;
|
|
252
251
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
253
252
|
requestId: string;
|
|
253
|
+
createdByRole?: string | undefined;
|
|
254
254
|
createdBySignature?: string | null | undefined;
|
|
255
255
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
256
256
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -263,8 +263,8 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
263
263
|
createdByUserType: "system" | "user";
|
|
264
264
|
createdAt: string;
|
|
265
265
|
createdBy: string;
|
|
266
|
-
createdByRole: string;
|
|
267
266
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
267
|
+
createdByRole?: string | undefined;
|
|
268
268
|
createdBySignature?: string | null | undefined;
|
|
269
269
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
270
270
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -277,7 +277,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
277
277
|
createdByUserType: "system" | "user";
|
|
278
278
|
createdAt: string;
|
|
279
279
|
createdBy: string;
|
|
280
|
-
createdByRole
|
|
280
|
+
createdByRole?: string | undefined;
|
|
281
281
|
createdBySignature?: string | null | undefined;
|
|
282
282
|
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
283
283
|
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
@@ -293,7 +293,7 @@ export declare function getLegalStatuses(actions: Action[]): {
|
|
|
293
293
|
createdByUserType: "system" | "user";
|
|
294
294
|
createdAtLocation: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
295
295
|
acceptedAt: string;
|
|
296
|
-
createdByRole: string;
|
|
296
|
+
createdByRole: string | undefined;
|
|
297
297
|
createdBySignature: string | null | undefined;
|
|
298
298
|
registrationNumber: string | null | undefined;
|
|
299
299
|
} | null;
|
|
@@ -303,7 +303,7 @@ export declare function getLegalStatuses(actions: Action[]): {
|
|
|
303
303
|
createdByUserType: "system" | "user";
|
|
304
304
|
createdAtLocation: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
|
305
305
|
acceptedAt: string;
|
|
306
|
-
createdByRole: string;
|
|
306
|
+
createdByRole: string | undefined;
|
|
307
307
|
createdBySignature: string | null | undefined;
|
|
308
308
|
registrationNumber: string | null | undefined;
|
|
309
309
|
} | null;
|
|
@@ -19,7 +19,6 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
|
19
19
|
fields: FieldConfig[];
|
|
20
20
|
requireCompletionToContinue: boolean;
|
|
21
21
|
conditional?: import(".").JSONSchema | undefined;
|
|
22
|
-
showClearButton?: boolean | undefined;
|
|
23
22
|
}[];
|
|
24
23
|
export declare function getDeclaration(configuration: EventConfig): {
|
|
25
24
|
label: import("./TranslationConfig").TranslationConfig;
|
|
@@ -30,7 +29,6 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
|
30
29
|
fields: FieldConfig[];
|
|
31
30
|
requireCompletionToContinue: boolean;
|
|
32
31
|
conditional?: import(".").JSONSchema | undefined;
|
|
33
|
-
showClearButton?: boolean | undefined;
|
|
34
32
|
}[];
|
|
35
33
|
};
|
|
36
34
|
export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
@@ -40,7 +38,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
40
38
|
fields: FieldConfig[];
|
|
41
39
|
requireCompletionToContinue: boolean;
|
|
42
40
|
conditional?: import(".").JSONSchema | undefined;
|
|
43
|
-
showClearButton?: boolean | undefined;
|
|
44
41
|
} | {
|
|
45
42
|
type: "VERIFICATION";
|
|
46
43
|
id: string;
|
|
@@ -60,7 +57,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
60
57
|
fields: FieldConfig[];
|
|
61
58
|
requireCompletionToContinue: boolean;
|
|
62
59
|
conditional?: import(".").JSONSchema | undefined;
|
|
63
|
-
showClearButton?: boolean | undefined;
|
|
64
60
|
})[];
|
|
65
61
|
export declare const getActionAnnotationFields: (actionConfig: ActionConfig) => FieldConfig[];
|
|
66
62
|
export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
|
|
@@ -228,7 +224,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
228
224
|
fields: FieldConfig[];
|
|
229
225
|
requireCompletionToContinue: boolean;
|
|
230
226
|
conditional?: import(".").JSONSchema | undefined;
|
|
231
|
-
showClearButton?: boolean | undefined;
|
|
232
227
|
}[];
|
|
233
228
|
};
|
|
234
229
|
actions: ({
|
|
@@ -295,7 +290,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
295
290
|
fields: FieldConfig[];
|
|
296
291
|
requireCompletionToContinue: boolean;
|
|
297
292
|
conditional?: import(".").JSONSchema | undefined;
|
|
298
|
-
showClearButton?: boolean | undefined;
|
|
299
293
|
} | {
|
|
300
294
|
type: "VERIFICATION";
|
|
301
295
|
id: string;
|
|
@@ -315,7 +309,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
315
309
|
fields: FieldConfig[];
|
|
316
310
|
requireCompletionToContinue: boolean;
|
|
317
311
|
conditional?: import(".").JSONSchema | undefined;
|
|
318
|
-
showClearButton?: boolean | undefined;
|
|
319
312
|
})[];
|
|
320
313
|
};
|
|
321
314
|
} | {
|
|
@@ -330,7 +323,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
330
323
|
fields: FieldConfig[];
|
|
331
324
|
requireCompletionToContinue: boolean;
|
|
332
325
|
conditional?: import(".").JSONSchema | undefined;
|
|
333
|
-
showClearButton?: boolean | undefined;
|
|
334
326
|
} | {
|
|
335
327
|
type: "VERIFICATION";
|
|
336
328
|
id: string;
|
|
@@ -350,7 +342,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
350
342
|
fields: FieldConfig[];
|
|
351
343
|
requireCompletionToContinue: boolean;
|
|
352
344
|
conditional?: import(".").JSONSchema | undefined;
|
|
353
|
-
showClearButton?: boolean | undefined;
|
|
354
345
|
})[];
|
|
355
346
|
};
|
|
356
347
|
} | {
|