@opencrvs/toolkit 1.9.13 → 1.9.14-rc.b9ddc43
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 +33 -32
- package/dist/commons/conditionals/conditionals.d.ts +348 -4
- package/dist/commons/conditionals/validate.d.ts +41 -0
- package/dist/commons/events/ActionConfig.d.ts +28 -28
- package/dist/commons/events/AdvancedSearchConfig.d.ts +48 -48
- package/dist/commons/events/CountryConfigQueryInput.d.ts +240 -240
- package/dist/commons/events/DeduplicationConfig.d.ts +2 -2
- package/dist/commons/events/EventConfig.d.ts +61 -54
- package/dist/commons/events/EventIndex.d.ts +88 -88
- package/dist/commons/events/FieldConfig.d.ts +1619 -218
- package/dist/commons/events/WorkqueueConfig.d.ts +488 -488
- package/dist/commons/events/defineConfig.d.ts +8 -7
- package/dist/commons/events/field.d.ts +47 -1
- package/dist/commons/events/utils.d.ts +9 -8
- package/dist/conditionals/index.js +48 -1
- package/dist/events/index.js +178 -75
- package/dist/notification/index.js +147 -35
- package/package.json +11 -7
|
@@ -216,16 +216,16 @@ export declare const DeduplicationConfig: z.ZodObject<{
|
|
|
216
216
|
query: z.ZodType<ClauseOutput, z.ZodTypeDef, ClauseInput>;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
218
|
id: string;
|
|
219
|
-
query: ClauseOutput;
|
|
220
219
|
label: TranslationConfig;
|
|
220
|
+
query: ClauseOutput;
|
|
221
221
|
}, {
|
|
222
222
|
id: string;
|
|
223
|
-
query: ClauseInput;
|
|
224
223
|
label: {
|
|
225
224
|
id: string;
|
|
226
225
|
description: string;
|
|
227
226
|
defaultMessage: string;
|
|
228
227
|
};
|
|
228
|
+
query: ClauseInput;
|
|
229
229
|
}>;
|
|
230
230
|
export type DeduplicationConfigInput = z.input<typeof DeduplicationConfig>;
|
|
231
231
|
export type DeduplicationConfig = z.infer<typeof DeduplicationConfig>;
|
|
@@ -3,9 +3,9 @@ import { TranslationConfig } from './TranslationConfig';
|
|
|
3
3
|
export declare const EventFieldReference: z.ZodObject<{
|
|
4
4
|
$$event: z.ZodEnum<["createdAt", "updatedAt", "legalStatuses.DECLARED.createdAt", "legalStatuses.DECLARED.acceptedAt", "legalStatuses.REGISTERED.createdAt", "legalStatuses.REGISTERED.acceptedAt"]>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
6
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
7
7
|
}, {
|
|
8
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
8
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
9
9
|
}>;
|
|
10
10
|
/**
|
|
11
11
|
* Description of event features defined by the country. Includes configuration for process steps and forms involved.
|
|
@@ -17,18 +17,21 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
17
17
|
dateOfEvent: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
18
18
|
$$field: z.ZodEffects<z.ZodString, string, string>;
|
|
19
19
|
$$subfield: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
20
|
+
$$code: z.ZodOptional<z.ZodString>;
|
|
20
21
|
}, "strip", z.ZodTypeAny, {
|
|
21
22
|
$$field: string;
|
|
22
23
|
$$subfield: string[];
|
|
24
|
+
$$code?: string | undefined;
|
|
23
25
|
}, {
|
|
24
26
|
$$field: string;
|
|
25
27
|
$$subfield?: string[] | undefined;
|
|
28
|
+
$$code?: string | undefined;
|
|
26
29
|
}>, z.ZodObject<{
|
|
27
30
|
$$event: z.ZodEnum<["createdAt", "updatedAt", "legalStatuses.DECLARED.createdAt", "legalStatuses.DECLARED.acceptedAt", "legalStatuses.REGISTERED.createdAt", "legalStatuses.REGISTERED.acceptedAt"]>;
|
|
28
31
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
32
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
30
33
|
}, {
|
|
31
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
34
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
32
35
|
}>]>>;
|
|
33
36
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
34
37
|
id: string;
|
|
@@ -289,10 +292,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
289
292
|
type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
|
|
290
293
|
searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
291
294
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
-
type: "exact" | "
|
|
295
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
293
296
|
searchFields?: string[] | undefined;
|
|
294
297
|
}, {
|
|
295
|
-
type: "exact" | "
|
|
298
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
296
299
|
searchFields?: string[] | undefined;
|
|
297
300
|
}>;
|
|
298
301
|
type: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -405,7 +408,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
405
408
|
fieldType: z.ZodLiteral<"field">;
|
|
406
409
|
}>, "strip", z.ZodTypeAny, {
|
|
407
410
|
config: {
|
|
408
|
-
type: "exact" | "
|
|
411
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
409
412
|
searchFields?: string[] | undefined;
|
|
410
413
|
};
|
|
411
414
|
fieldId: string;
|
|
@@ -440,7 +443,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
440
443
|
}[] | undefined;
|
|
441
444
|
}, {
|
|
442
445
|
config: {
|
|
443
|
-
type: "exact" | "
|
|
446
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
444
447
|
searchFields?: string[] | undefined;
|
|
445
448
|
};
|
|
446
449
|
fieldId: string;
|
|
@@ -494,10 +497,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
494
497
|
type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
|
|
495
498
|
searchFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
496
499
|
}, "strip", z.ZodTypeAny, {
|
|
497
|
-
type: "exact" | "
|
|
500
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
498
501
|
searchFields?: string[] | undefined;
|
|
499
502
|
}, {
|
|
500
|
-
type: "exact" | "
|
|
503
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
501
504
|
searchFields?: string[] | undefined;
|
|
502
505
|
}>;
|
|
503
506
|
type: z.ZodOptional<z.ZodNativeEnum<{
|
|
@@ -610,10 +613,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
610
613
|
fieldType: z.ZodLiteral<"event">;
|
|
611
614
|
}>, "strip", z.ZodTypeAny, {
|
|
612
615
|
config: {
|
|
613
|
-
type: "exact" | "
|
|
616
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
614
617
|
searchFields?: string[] | undefined;
|
|
615
618
|
};
|
|
616
|
-
fieldId: "event.
|
|
619
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
617
620
|
fieldType: "event";
|
|
618
621
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
619
622
|
options?: {
|
|
@@ -645,10 +648,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
645
648
|
}[] | undefined;
|
|
646
649
|
}, {
|
|
647
650
|
config: {
|
|
648
|
-
type: "exact" | "
|
|
651
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
649
652
|
searchFields?: string[] | undefined;
|
|
650
653
|
};
|
|
651
|
-
fieldId: "event.
|
|
654
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
652
655
|
fieldType: "event";
|
|
653
656
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
654
657
|
options?: {
|
|
@@ -696,7 +699,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
696
699
|
}[] | undefined;
|
|
697
700
|
}>]>, {
|
|
698
701
|
config: {
|
|
699
|
-
type: "exact" | "
|
|
702
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
700
703
|
searchFields?: string[] | undefined;
|
|
701
704
|
};
|
|
702
705
|
fieldId: string;
|
|
@@ -731,10 +734,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
731
734
|
}[] | undefined;
|
|
732
735
|
} | {
|
|
733
736
|
config: {
|
|
734
|
-
type: "exact" | "
|
|
737
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
735
738
|
searchFields?: string[] | undefined;
|
|
736
739
|
};
|
|
737
|
-
fieldId: "event.
|
|
740
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
738
741
|
fieldType: "event";
|
|
739
742
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
740
743
|
options?: {
|
|
@@ -766,7 +769,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
766
769
|
}[] | undefined;
|
|
767
770
|
}, {
|
|
768
771
|
config: {
|
|
769
|
-
type: "exact" | "
|
|
772
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
770
773
|
searchFields?: string[] | undefined;
|
|
771
774
|
};
|
|
772
775
|
fieldId: string;
|
|
@@ -817,10 +820,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
817
820
|
}[] | undefined;
|
|
818
821
|
} | {
|
|
819
822
|
config: {
|
|
820
|
-
type: "exact" | "
|
|
823
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
821
824
|
searchFields?: string[] | undefined;
|
|
822
825
|
};
|
|
823
|
-
fieldId: "event.
|
|
826
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
824
827
|
fieldType: "event";
|
|
825
828
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
826
829
|
options?: {
|
|
@@ -871,7 +874,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
871
874
|
title: TranslationConfig;
|
|
872
875
|
fields: ({
|
|
873
876
|
config: {
|
|
874
|
-
type: "exact" | "
|
|
877
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
875
878
|
searchFields?: string[] | undefined;
|
|
876
879
|
};
|
|
877
880
|
fieldId: string;
|
|
@@ -906,10 +909,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
906
909
|
}[] | undefined;
|
|
907
910
|
} | {
|
|
908
911
|
config: {
|
|
909
|
-
type: "exact" | "
|
|
912
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
910
913
|
searchFields?: string[] | undefined;
|
|
911
914
|
};
|
|
912
|
-
fieldId: "event.
|
|
915
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
913
916
|
fieldType: "event";
|
|
914
917
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
915
918
|
options?: {
|
|
@@ -948,7 +951,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
948
951
|
};
|
|
949
952
|
fields: ({
|
|
950
953
|
config: {
|
|
951
|
-
type: "exact" | "
|
|
954
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
952
955
|
searchFields?: string[] | undefined;
|
|
953
956
|
};
|
|
954
957
|
fieldId: string;
|
|
@@ -999,10 +1002,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
999
1002
|
}[] | undefined;
|
|
1000
1003
|
} | {
|
|
1001
1004
|
config: {
|
|
1002
|
-
type: "exact" | "
|
|
1005
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1003
1006
|
searchFields?: string[] | undefined;
|
|
1004
1007
|
};
|
|
1005
|
-
fieldId: "event.
|
|
1008
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
1006
1009
|
fieldType: "event";
|
|
1007
1010
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
1008
1011
|
options?: {
|
|
@@ -1080,8 +1083,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1080
1083
|
};
|
|
1081
1084
|
deduplication?: {
|
|
1082
1085
|
id: string;
|
|
1083
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1084
1086
|
label: TranslationConfig;
|
|
1087
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1085
1088
|
} | undefined;
|
|
1086
1089
|
} | {
|
|
1087
1090
|
type: "VALIDATE";
|
|
@@ -1092,8 +1095,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1092
1095
|
};
|
|
1093
1096
|
deduplication?: {
|
|
1094
1097
|
id: string;
|
|
1095
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1096
1098
|
label: TranslationConfig;
|
|
1099
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1097
1100
|
} | undefined;
|
|
1098
1101
|
} | {
|
|
1099
1102
|
type: "REJECT";
|
|
@@ -1110,8 +1113,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1110
1113
|
};
|
|
1111
1114
|
deduplication?: {
|
|
1112
1115
|
id: string;
|
|
1113
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1114
1116
|
label: TranslationConfig;
|
|
1117
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1115
1118
|
} | undefined;
|
|
1116
1119
|
} | {
|
|
1117
1120
|
type: "DELETE";
|
|
@@ -1214,7 +1217,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1214
1217
|
title: TranslationConfig;
|
|
1215
1218
|
fields: ({
|
|
1216
1219
|
config: {
|
|
1217
|
-
type: "exact" | "
|
|
1220
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1218
1221
|
searchFields?: string[] | undefined;
|
|
1219
1222
|
};
|
|
1220
1223
|
fieldId: string;
|
|
@@ -1249,10 +1252,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1249
1252
|
}[] | undefined;
|
|
1250
1253
|
} | {
|
|
1251
1254
|
config: {
|
|
1252
|
-
type: "exact" | "
|
|
1255
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1253
1256
|
searchFields?: string[] | undefined;
|
|
1254
1257
|
};
|
|
1255
|
-
fieldId: "event.
|
|
1258
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
1256
1259
|
fieldType: "event";
|
|
1257
1260
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
1258
1261
|
options?: {
|
|
@@ -1287,8 +1290,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1287
1290
|
dateOfEvent?: {
|
|
1288
1291
|
$$field: string;
|
|
1289
1292
|
$$subfield: string[];
|
|
1293
|
+
$$code?: string | undefined;
|
|
1290
1294
|
} | {
|
|
1291
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
1295
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
1292
1296
|
} | undefined;
|
|
1293
1297
|
fallbackTitle?: TranslationConfig | undefined;
|
|
1294
1298
|
}, {
|
|
@@ -1349,12 +1353,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1349
1353
|
};
|
|
1350
1354
|
deduplication?: {
|
|
1351
1355
|
id: string;
|
|
1352
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
1353
1356
|
label: {
|
|
1354
1357
|
id: string;
|
|
1355
1358
|
description: string;
|
|
1356
1359
|
defaultMessage: string;
|
|
1357
1360
|
};
|
|
1361
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
1358
1362
|
} | undefined;
|
|
1359
1363
|
} | {
|
|
1360
1364
|
type: "VALIDATE";
|
|
@@ -1373,12 +1377,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1373
1377
|
};
|
|
1374
1378
|
deduplication?: {
|
|
1375
1379
|
id: string;
|
|
1376
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
1377
1380
|
label: {
|
|
1378
1381
|
id: string;
|
|
1379
1382
|
description: string;
|
|
1380
1383
|
defaultMessage: string;
|
|
1381
1384
|
};
|
|
1385
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
1382
1386
|
} | undefined;
|
|
1383
1387
|
} | {
|
|
1384
1388
|
type: "REJECT";
|
|
@@ -1411,12 +1415,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1411
1415
|
};
|
|
1412
1416
|
deduplication?: {
|
|
1413
1417
|
id: string;
|
|
1414
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
1415
1418
|
label: {
|
|
1416
1419
|
id: string;
|
|
1417
1420
|
description: string;
|
|
1418
1421
|
defaultMessage: string;
|
|
1419
1422
|
};
|
|
1423
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
1420
1424
|
} | undefined;
|
|
1421
1425
|
} | {
|
|
1422
1426
|
type: "DELETE";
|
|
@@ -1618,8 +1622,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1618
1622
|
dateOfEvent?: {
|
|
1619
1623
|
$$field: string;
|
|
1620
1624
|
$$subfield?: string[] | undefined;
|
|
1625
|
+
$$code?: string | undefined;
|
|
1621
1626
|
} | {
|
|
1622
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
1627
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
1623
1628
|
} | undefined;
|
|
1624
1629
|
fallbackTitle?: {
|
|
1625
1630
|
id: string;
|
|
@@ -1634,7 +1639,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1634
1639
|
};
|
|
1635
1640
|
fields: ({
|
|
1636
1641
|
config: {
|
|
1637
|
-
type: "exact" | "
|
|
1642
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1638
1643
|
searchFields?: string[] | undefined;
|
|
1639
1644
|
};
|
|
1640
1645
|
fieldId: string;
|
|
@@ -1685,10 +1690,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1685
1690
|
}[] | undefined;
|
|
1686
1691
|
} | {
|
|
1687
1692
|
config: {
|
|
1688
|
-
type: "exact" | "
|
|
1693
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1689
1694
|
searchFields?: string[] | undefined;
|
|
1690
1695
|
};
|
|
1691
|
-
fieldId: "event.
|
|
1696
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
1692
1697
|
fieldType: "event";
|
|
1693
1698
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
1694
1699
|
options?: {
|
|
@@ -1766,8 +1771,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1766
1771
|
};
|
|
1767
1772
|
deduplication?: {
|
|
1768
1773
|
id: string;
|
|
1769
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1770
1774
|
label: TranslationConfig;
|
|
1775
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1771
1776
|
} | undefined;
|
|
1772
1777
|
} | {
|
|
1773
1778
|
type: "VALIDATE";
|
|
@@ -1778,8 +1783,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1778
1783
|
};
|
|
1779
1784
|
deduplication?: {
|
|
1780
1785
|
id: string;
|
|
1781
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1782
1786
|
label: TranslationConfig;
|
|
1787
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1783
1788
|
} | undefined;
|
|
1784
1789
|
} | {
|
|
1785
1790
|
type: "REJECT";
|
|
@@ -1796,8 +1801,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1796
1801
|
};
|
|
1797
1802
|
deduplication?: {
|
|
1798
1803
|
id: string;
|
|
1799
|
-
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1800
1804
|
label: TranslationConfig;
|
|
1805
|
+
query: import("./DeduplicationConfig").ClauseOutput;
|
|
1801
1806
|
} | undefined;
|
|
1802
1807
|
} | {
|
|
1803
1808
|
type: "DELETE";
|
|
@@ -1900,7 +1905,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1900
1905
|
title: TranslationConfig;
|
|
1901
1906
|
fields: ({
|
|
1902
1907
|
config: {
|
|
1903
|
-
type: "exact" | "
|
|
1908
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1904
1909
|
searchFields?: string[] | undefined;
|
|
1905
1910
|
};
|
|
1906
1911
|
fieldId: string;
|
|
@@ -1935,10 +1940,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1935
1940
|
}[] | undefined;
|
|
1936
1941
|
} | {
|
|
1937
1942
|
config: {
|
|
1938
|
-
type: "exact" | "
|
|
1943
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
1939
1944
|
searchFields?: string[] | undefined;
|
|
1940
1945
|
};
|
|
1941
|
-
fieldId: "event.
|
|
1946
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
1942
1947
|
fieldType: "event";
|
|
1943
1948
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
1944
1949
|
options?: {
|
|
@@ -1973,8 +1978,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
1973
1978
|
dateOfEvent?: {
|
|
1974
1979
|
$$field: string;
|
|
1975
1980
|
$$subfield: string[];
|
|
1981
|
+
$$code?: string | undefined;
|
|
1976
1982
|
} | {
|
|
1977
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
1983
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
1978
1984
|
} | undefined;
|
|
1979
1985
|
fallbackTitle?: TranslationConfig | undefined;
|
|
1980
1986
|
}, {
|
|
@@ -2035,12 +2041,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2035
2041
|
};
|
|
2036
2042
|
deduplication?: {
|
|
2037
2043
|
id: string;
|
|
2038
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
2039
2044
|
label: {
|
|
2040
2045
|
id: string;
|
|
2041
2046
|
description: string;
|
|
2042
2047
|
defaultMessage: string;
|
|
2043
2048
|
};
|
|
2049
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
2044
2050
|
} | undefined;
|
|
2045
2051
|
} | {
|
|
2046
2052
|
type: "VALIDATE";
|
|
@@ -2059,12 +2065,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2059
2065
|
};
|
|
2060
2066
|
deduplication?: {
|
|
2061
2067
|
id: string;
|
|
2062
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
2063
2068
|
label: {
|
|
2064
2069
|
id: string;
|
|
2065
2070
|
description: string;
|
|
2066
2071
|
defaultMessage: string;
|
|
2067
2072
|
};
|
|
2073
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
2068
2074
|
} | undefined;
|
|
2069
2075
|
} | {
|
|
2070
2076
|
type: "REJECT";
|
|
@@ -2097,12 +2103,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2097
2103
|
};
|
|
2098
2104
|
deduplication?: {
|
|
2099
2105
|
id: string;
|
|
2100
|
-
query: import("./DeduplicationConfig").ClauseInput;
|
|
2101
2106
|
label: {
|
|
2102
2107
|
id: string;
|
|
2103
2108
|
description: string;
|
|
2104
2109
|
defaultMessage: string;
|
|
2105
2110
|
};
|
|
2111
|
+
query: import("./DeduplicationConfig").ClauseInput;
|
|
2106
2112
|
} | undefined;
|
|
2107
2113
|
} | {
|
|
2108
2114
|
type: "DELETE";
|
|
@@ -2304,8 +2310,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2304
2310
|
dateOfEvent?: {
|
|
2305
2311
|
$$field: string;
|
|
2306
2312
|
$$subfield?: string[] | undefined;
|
|
2313
|
+
$$code?: string | undefined;
|
|
2307
2314
|
} | {
|
|
2308
|
-
$$event: "createdAt" | "updatedAt" | "legalStatuses.
|
|
2315
|
+
$$event: "createdAt" | "updatedAt" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.DECLARED.createdAt" | "legalStatuses.DECLARED.acceptedAt" | "legalStatuses.REGISTERED.createdAt";
|
|
2309
2316
|
} | undefined;
|
|
2310
2317
|
fallbackTitle?: {
|
|
2311
2318
|
id: string;
|
|
@@ -2320,7 +2327,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2320
2327
|
};
|
|
2321
2328
|
fields: ({
|
|
2322
2329
|
config: {
|
|
2323
|
-
type: "exact" | "
|
|
2330
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
2324
2331
|
searchFields?: string[] | undefined;
|
|
2325
2332
|
};
|
|
2326
2333
|
fieldId: string;
|
|
@@ -2371,10 +2378,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
|
2371
2378
|
}[] | undefined;
|
|
2372
2379
|
} | {
|
|
2373
2380
|
config: {
|
|
2374
|
-
type: "exact" | "
|
|
2381
|
+
type: "exact" | "range" | "fuzzy" | "within";
|
|
2375
2382
|
searchFields?: string[] | undefined;
|
|
2376
2383
|
};
|
|
2377
|
-
fieldId: "event.
|
|
2384
|
+
fieldId: "event.trackingId" | "event.status" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber" | "event.updatedAt";
|
|
2378
2385
|
fieldType: "event";
|
|
2379
2386
|
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "NUMBER_WITH_UNIT" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FIELD_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
2380
2387
|
options?: {
|