@opencrvs/toolkit 1.9.16-rc.a94059f → 1.9.16-rc.b4bcd8b
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 +198 -193
- package/dist/commons/events/ActionConfig.d.ts +28 -0
- 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 +25 -0
- 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 +30 -0
- package/dist/commons/events/PageConfig.d.ts +6 -0
- package/dist/commons/events/defineConfig.d.ts +5 -0
- 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 +9 -0
- package/dist/events/index.js +7 -3
- package/dist/notification/index.js +7 -3
- package/package.json +1 -1
|
@@ -499,6 +499,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
499
499
|
defaultMessage: string;
|
|
500
500
|
}>;
|
|
501
501
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
502
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
502
503
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
503
504
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
504
505
|
}, {
|
|
@@ -510,6 +511,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
510
511
|
fields: FieldConfig[];
|
|
511
512
|
requireCompletionToContinue: boolean;
|
|
512
513
|
conditional?: import(".").JSONSchema | undefined;
|
|
514
|
+
showClearButton?: boolean | undefined;
|
|
513
515
|
}, {
|
|
514
516
|
id: string;
|
|
515
517
|
title: {
|
|
@@ -521,6 +523,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
521
523
|
type?: "FORM" | undefined;
|
|
522
524
|
conditional?: import(".").JSONSchema | undefined;
|
|
523
525
|
requireCompletionToContinue?: boolean | undefined;
|
|
526
|
+
showClearButton?: boolean | undefined;
|
|
524
527
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
525
528
|
id: z.ZodString;
|
|
526
529
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -529,6 +532,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
529
532
|
defaultMessage: string;
|
|
530
533
|
}>;
|
|
531
534
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
535
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
532
536
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
533
537
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
534
538
|
}, {
|
|
@@ -666,6 +670,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
666
670
|
fields: FieldConfig[];
|
|
667
671
|
requireCompletionToContinue: boolean;
|
|
668
672
|
conditional?: import(".").JSONSchema | undefined;
|
|
673
|
+
showClearButton?: boolean | undefined;
|
|
669
674
|
}, {
|
|
670
675
|
type: "VERIFICATION";
|
|
671
676
|
id: string;
|
|
@@ -705,6 +710,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
705
710
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
706
711
|
conditional?: import(".").JSONSchema | undefined;
|
|
707
712
|
requireCompletionToContinue?: boolean | undefined;
|
|
713
|
+
showClearButton?: boolean | undefined;
|
|
708
714
|
}>)[]>, "many">;
|
|
709
715
|
}, "strip", z.ZodTypeAny, {
|
|
710
716
|
label: TranslationConfig;
|
|
@@ -715,6 +721,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
715
721
|
fields: FieldConfig[];
|
|
716
722
|
requireCompletionToContinue: boolean;
|
|
717
723
|
conditional?: import(".").JSONSchema | undefined;
|
|
724
|
+
showClearButton?: boolean | undefined;
|
|
718
725
|
} | {
|
|
719
726
|
type: "VERIFICATION";
|
|
720
727
|
id: string;
|
|
@@ -734,6 +741,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
734
741
|
fields: FieldConfig[];
|
|
735
742
|
requireCompletionToContinue: boolean;
|
|
736
743
|
conditional?: import(".").JSONSchema | undefined;
|
|
744
|
+
showClearButton?: boolean | undefined;
|
|
737
745
|
})[];
|
|
738
746
|
}, {
|
|
739
747
|
label: {
|
|
@@ -752,6 +760,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
752
760
|
type?: "FORM" | undefined;
|
|
753
761
|
conditional?: import(".").JSONSchema | undefined;
|
|
754
762
|
requireCompletionToContinue?: boolean | undefined;
|
|
763
|
+
showClearButton?: boolean | undefined;
|
|
755
764
|
} | {
|
|
756
765
|
type: "VERIFICATION";
|
|
757
766
|
id: string;
|
|
@@ -791,6 +800,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
791
800
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
792
801
|
conditional?: import(".").JSONSchema | undefined;
|
|
793
802
|
requireCompletionToContinue?: boolean | undefined;
|
|
803
|
+
showClearButton?: boolean | undefined;
|
|
794
804
|
})[];
|
|
795
805
|
}>;
|
|
796
806
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -805,6 +815,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
805
815
|
fields: FieldConfig[];
|
|
806
816
|
requireCompletionToContinue: boolean;
|
|
807
817
|
conditional?: import(".").JSONSchema | undefined;
|
|
818
|
+
showClearButton?: boolean | undefined;
|
|
808
819
|
} | {
|
|
809
820
|
type: "VERIFICATION";
|
|
810
821
|
id: string;
|
|
@@ -824,6 +835,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
824
835
|
fields: FieldConfig[];
|
|
825
836
|
requireCompletionToContinue: boolean;
|
|
826
837
|
conditional?: import(".").JSONSchema | undefined;
|
|
838
|
+
showClearButton?: boolean | undefined;
|
|
827
839
|
})[];
|
|
828
840
|
};
|
|
829
841
|
}, {
|
|
@@ -850,6 +862,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
850
862
|
type?: "FORM" | undefined;
|
|
851
863
|
conditional?: import(".").JSONSchema | undefined;
|
|
852
864
|
requireCompletionToContinue?: boolean | undefined;
|
|
865
|
+
showClearButton?: boolean | undefined;
|
|
853
866
|
} | {
|
|
854
867
|
type: "VERIFICATION";
|
|
855
868
|
id: string;
|
|
@@ -889,6 +902,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
889
902
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
890
903
|
conditional?: import(".").JSONSchema | undefined;
|
|
891
904
|
requireCompletionToContinue?: boolean | undefined;
|
|
905
|
+
showClearButton?: boolean | undefined;
|
|
892
906
|
})[];
|
|
893
907
|
};
|
|
894
908
|
}>;
|
|
@@ -914,6 +928,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
914
928
|
defaultMessage: string;
|
|
915
929
|
}>;
|
|
916
930
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
931
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
917
932
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
918
933
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
919
934
|
}, {
|
|
@@ -925,6 +940,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
925
940
|
fields: FieldConfig[];
|
|
926
941
|
requireCompletionToContinue: boolean;
|
|
927
942
|
conditional?: import(".").JSONSchema | undefined;
|
|
943
|
+
showClearButton?: boolean | undefined;
|
|
928
944
|
}, {
|
|
929
945
|
id: string;
|
|
930
946
|
title: {
|
|
@@ -936,6 +952,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
936
952
|
type?: "FORM" | undefined;
|
|
937
953
|
conditional?: import(".").JSONSchema | undefined;
|
|
938
954
|
requireCompletionToContinue?: boolean | undefined;
|
|
955
|
+
showClearButton?: boolean | undefined;
|
|
939
956
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
940
957
|
id: z.ZodString;
|
|
941
958
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -944,6 +961,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
944
961
|
defaultMessage: string;
|
|
945
962
|
}>;
|
|
946
963
|
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
964
|
+
showClearButton: z.ZodOptional<z.ZodBoolean>;
|
|
947
965
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
948
966
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
949
967
|
}, {
|
|
@@ -1081,6 +1099,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1081
1099
|
fields: FieldConfig[];
|
|
1082
1100
|
requireCompletionToContinue: boolean;
|
|
1083
1101
|
conditional?: import(".").JSONSchema | undefined;
|
|
1102
|
+
showClearButton?: boolean | undefined;
|
|
1084
1103
|
}, {
|
|
1085
1104
|
type: "VERIFICATION";
|
|
1086
1105
|
id: string;
|
|
@@ -1120,6 +1139,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1120
1139
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1121
1140
|
conditional?: import(".").JSONSchema | undefined;
|
|
1122
1141
|
requireCompletionToContinue?: boolean | undefined;
|
|
1142
|
+
showClearButton?: boolean | undefined;
|
|
1123
1143
|
}>)[]>, "many">;
|
|
1124
1144
|
}, "strip", z.ZodTypeAny, {
|
|
1125
1145
|
label: TranslationConfig;
|
|
@@ -1130,6 +1150,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1130
1150
|
fields: FieldConfig[];
|
|
1131
1151
|
requireCompletionToContinue: boolean;
|
|
1132
1152
|
conditional?: import(".").JSONSchema | undefined;
|
|
1153
|
+
showClearButton?: boolean | undefined;
|
|
1133
1154
|
} | {
|
|
1134
1155
|
type: "VERIFICATION";
|
|
1135
1156
|
id: string;
|
|
@@ -1149,6 +1170,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1149
1170
|
fields: FieldConfig[];
|
|
1150
1171
|
requireCompletionToContinue: boolean;
|
|
1151
1172
|
conditional?: import(".").JSONSchema | undefined;
|
|
1173
|
+
showClearButton?: boolean | undefined;
|
|
1152
1174
|
})[];
|
|
1153
1175
|
}, {
|
|
1154
1176
|
label: {
|
|
@@ -1167,6 +1189,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1167
1189
|
type?: "FORM" | undefined;
|
|
1168
1190
|
conditional?: import(".").JSONSchema | undefined;
|
|
1169
1191
|
requireCompletionToContinue?: boolean | undefined;
|
|
1192
|
+
showClearButton?: boolean | undefined;
|
|
1170
1193
|
} | {
|
|
1171
1194
|
type: "VERIFICATION";
|
|
1172
1195
|
id: string;
|
|
@@ -1206,6 +1229,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1206
1229
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1207
1230
|
conditional?: import(".").JSONSchema | undefined;
|
|
1208
1231
|
requireCompletionToContinue?: boolean | undefined;
|
|
1232
|
+
showClearButton?: boolean | undefined;
|
|
1209
1233
|
})[];
|
|
1210
1234
|
}>;
|
|
1211
1235
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1220,6 +1244,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1220
1244
|
fields: FieldConfig[];
|
|
1221
1245
|
requireCompletionToContinue: boolean;
|
|
1222
1246
|
conditional?: import(".").JSONSchema | undefined;
|
|
1247
|
+
showClearButton?: boolean | undefined;
|
|
1223
1248
|
} | {
|
|
1224
1249
|
type: "VERIFICATION";
|
|
1225
1250
|
id: string;
|
|
@@ -1239,6 +1264,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1239
1264
|
fields: FieldConfig[];
|
|
1240
1265
|
requireCompletionToContinue: boolean;
|
|
1241
1266
|
conditional?: import(".").JSONSchema | undefined;
|
|
1267
|
+
showClearButton?: boolean | undefined;
|
|
1242
1268
|
})[];
|
|
1243
1269
|
};
|
|
1244
1270
|
}, {
|
|
@@ -1265,6 +1291,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1265
1291
|
type?: "FORM" | undefined;
|
|
1266
1292
|
conditional?: import(".").JSONSchema | undefined;
|
|
1267
1293
|
requireCompletionToContinue?: boolean | undefined;
|
|
1294
|
+
showClearButton?: boolean | undefined;
|
|
1268
1295
|
} | {
|
|
1269
1296
|
type: "VERIFICATION";
|
|
1270
1297
|
id: string;
|
|
@@ -1304,6 +1331,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1304
1331
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1305
1332
|
conditional?: import(".").JSONSchema | undefined;
|
|
1306
1333
|
requireCompletionToContinue?: boolean | undefined;
|
|
1334
|
+
showClearButton?: boolean | undefined;
|
|
1307
1335
|
})[];
|
|
1308
1336
|
};
|
|
1309
1337
|
}>;
|