@opencrvs/toolkit 1.8.1-rc.d31fe05 → 1.8.1-rc.e23b224
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 +18 -24
- package/dist/commons/events/ActionDocument.d.ts +536 -36
- package/dist/commons/events/ActionInput.d.ts +26 -36
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +22 -22
- package/dist/commons/events/EventDocument.d.ts +19 -26
- package/dist/commons/events/defineConfig.d.ts +2 -2
- package/dist/commons/events/event.d.ts +0 -8
- package/dist/commons/events/field.d.ts +0 -14
- package/dist/commons/events/test.utils.d.ts +1 -5
- package/dist/commons/events/utils.d.ts +2 -2
- package/dist/events/index.js +17 -25
- package/package.json +1 -1
@@ -2631,6 +2631,13 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2631
2631
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
2632
2632
|
}, {
|
2633
2633
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
2634
|
+
actionDetails: z.ZodOptional<z.ZodObject<{
|
2635
|
+
templateId: z.ZodOptional<z.ZodString>;
|
2636
|
+
}, "strip", z.ZodTypeAny, {
|
2637
|
+
templateId?: string | undefined;
|
2638
|
+
}, {
|
2639
|
+
templateId?: string | undefined;
|
2640
|
+
}>>;
|
2634
2641
|
}>, "strip", z.ZodTypeAny, {
|
2635
2642
|
type: "PRINT_CERTIFICATE";
|
2636
2643
|
transactionId: string;
|
@@ -2726,6 +2733,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2726
2733
|
end: string;
|
2727
2734
|
} | null | undefined> | undefined;
|
2728
2735
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
2736
|
+
actionDetails?: {
|
2737
|
+
templateId?: string | undefined;
|
2738
|
+
} | undefined;
|
2729
2739
|
keepAssignment?: boolean | undefined;
|
2730
2740
|
}, {
|
2731
2741
|
transactionId: string;
|
@@ -2822,6 +2832,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
|
|
2822
2832
|
end: string;
|
2823
2833
|
} | null | undefined> | undefined;
|
2824
2834
|
originalActionId?: string | undefined;
|
2835
|
+
actionDetails?: {
|
2836
|
+
templateId?: string | undefined;
|
2837
|
+
} | undefined;
|
2825
2838
|
keepAssignment?: boolean | undefined;
|
2826
2839
|
}>;
|
2827
2840
|
export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
|
@@ -5971,22 +5984,8 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
5971
5984
|
}, {
|
5972
5985
|
requestId: z.ZodString;
|
5973
5986
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
5974
|
-
reason: z.ZodObject<{
|
5975
|
-
message: z.ZodString;
|
5976
|
-
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
5977
|
-
}, "strip", z.ZodTypeAny, {
|
5978
|
-
message: string;
|
5979
|
-
isDuplicate?: boolean | undefined;
|
5980
|
-
}, {
|
5981
|
-
message: string;
|
5982
|
-
isDuplicate?: boolean | undefined;
|
5983
|
-
}>;
|
5984
5987
|
}>, "strip", z.ZodTypeAny, {
|
5985
5988
|
type: "REJECT_CORRECTION";
|
5986
|
-
reason: {
|
5987
|
-
message: string;
|
5988
|
-
isDuplicate?: boolean | undefined;
|
5989
|
-
};
|
5990
5989
|
transactionId: string;
|
5991
5990
|
declaration: Record<string, string | number | boolean | {
|
5992
5991
|
type: string;
|
@@ -6083,10 +6082,6 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
|
|
6083
6082
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
6084
6083
|
keepAssignment?: boolean | undefined;
|
6085
6084
|
}, {
|
6086
|
-
reason: {
|
6087
|
-
message: string;
|
6088
|
-
isDuplicate?: boolean | undefined;
|
6089
|
-
};
|
6090
6085
|
transactionId: string;
|
6091
6086
|
requestId: string;
|
6092
6087
|
eventId: string;
|
@@ -12164,6 +12159,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
12164
12159
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
12165
12160
|
}, {
|
12166
12161
|
type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
|
12162
|
+
actionDetails: z.ZodOptional<z.ZodObject<{
|
12163
|
+
templateId: z.ZodOptional<z.ZodString>;
|
12164
|
+
}, "strip", z.ZodTypeAny, {
|
12165
|
+
templateId?: string | undefined;
|
12166
|
+
}, {
|
12167
|
+
templateId?: string | undefined;
|
12168
|
+
}>>;
|
12167
12169
|
}>, "strip", z.ZodTypeAny, {
|
12168
12170
|
type: "PRINT_CERTIFICATE";
|
12169
12171
|
transactionId: string;
|
@@ -12259,6 +12261,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
12259
12261
|
end: string;
|
12260
12262
|
} | null | undefined> | undefined;
|
12261
12263
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
12264
|
+
actionDetails?: {
|
12265
|
+
templateId?: string | undefined;
|
12266
|
+
} | undefined;
|
12262
12267
|
keepAssignment?: boolean | undefined;
|
12263
12268
|
}, {
|
12264
12269
|
transactionId: string;
|
@@ -12355,6 +12360,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
12355
12360
|
end: string;
|
12356
12361
|
} | null | undefined> | undefined;
|
12357
12362
|
originalActionId?: string | undefined;
|
12363
|
+
actionDetails?: {
|
12364
|
+
templateId?: string | undefined;
|
12365
|
+
} | undefined;
|
12358
12366
|
keepAssignment?: boolean | undefined;
|
12359
12367
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
12360
12368
|
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
@@ -13103,22 +13111,8 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
13103
13111
|
}, {
|
13104
13112
|
requestId: z.ZodString;
|
13105
13113
|
type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
|
13106
|
-
reason: z.ZodObject<{
|
13107
|
-
message: z.ZodString;
|
13108
|
-
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
13109
|
-
}, "strip", z.ZodTypeAny, {
|
13110
|
-
message: string;
|
13111
|
-
isDuplicate?: boolean | undefined;
|
13112
|
-
}, {
|
13113
|
-
message: string;
|
13114
|
-
isDuplicate?: boolean | undefined;
|
13115
|
-
}>;
|
13116
13114
|
}>, "strip", z.ZodTypeAny, {
|
13117
13115
|
type: "REJECT_CORRECTION";
|
13118
|
-
reason: {
|
13119
|
-
message: string;
|
13120
|
-
isDuplicate?: boolean | undefined;
|
13121
|
-
};
|
13122
13116
|
transactionId: string;
|
13123
13117
|
declaration: Record<string, string | number | boolean | {
|
13124
13118
|
type: string;
|
@@ -13215,10 +13209,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
13215
13209
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
13216
13210
|
keepAssignment?: boolean | undefined;
|
13217
13211
|
}, {
|
13218
|
-
reason: {
|
13219
|
-
message: string;
|
13220
|
-
isDuplicate?: boolean | undefined;
|
13221
|
-
};
|
13222
13212
|
transactionId: string;
|
13223
13213
|
requestId: string;
|
13224
13214
|
eventId: string;
|
@@ -448,11 +448,11 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
448
448
|
export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
|
449
449
|
export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
450
450
|
config: z.ZodObject<{
|
451
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
451
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
453
|
-
type: "exact" | "fuzzy" | "range"
|
453
|
+
type: "exact" | "fuzzy" | "range";
|
454
454
|
}, {
|
455
|
-
type: "exact" | "fuzzy" | "range"
|
455
|
+
type: "exact" | "fuzzy" | "range";
|
456
456
|
}>;
|
457
457
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
458
458
|
value: z.ZodString;
|
@@ -503,7 +503,7 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
503
503
|
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
504
504
|
}>, "strip", z.ZodTypeAny, {
|
505
505
|
config: {
|
506
|
-
type: "exact" | "fuzzy" | "range"
|
506
|
+
type: "exact" | "fuzzy" | "range";
|
507
507
|
};
|
508
508
|
fieldId: string;
|
509
509
|
fieldType: "field";
|
@@ -530,7 +530,7 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
530
530
|
excludeInSearchQuery?: boolean | undefined;
|
531
531
|
}, {
|
532
532
|
config: {
|
533
|
-
type: "exact" | "fuzzy" | "range"
|
533
|
+
type: "exact" | "fuzzy" | "range";
|
534
534
|
};
|
535
535
|
fieldId: string;
|
536
536
|
fieldType: "field";
|
@@ -572,11 +572,11 @@ export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStat
|
|
572
572
|
export type EventFieldId = z.infer<typeof EventFieldId>;
|
573
573
|
export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
574
574
|
config: z.ZodObject<{
|
575
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
575
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
577
|
-
type: "exact" | "fuzzy" | "range"
|
577
|
+
type: "exact" | "fuzzy" | "range";
|
578
578
|
}, {
|
579
|
-
type: "exact" | "fuzzy" | "range"
|
579
|
+
type: "exact" | "fuzzy" | "range";
|
580
580
|
}>;
|
581
581
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
582
582
|
value: z.ZodString;
|
@@ -625,7 +625,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
625
625
|
fieldType: z.ZodLiteral<"event">;
|
626
626
|
}>, "strip", z.ZodTypeAny, {
|
627
627
|
config: {
|
628
|
-
type: "exact" | "fuzzy" | "range"
|
628
|
+
type: "exact" | "fuzzy" | "range";
|
629
629
|
};
|
630
630
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
631
631
|
fieldType: "event";
|
@@ -650,7 +650,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
650
650
|
}[] | undefined;
|
651
651
|
}, {
|
652
652
|
config: {
|
653
|
-
type: "exact" | "fuzzy" | "range"
|
653
|
+
type: "exact" | "fuzzy" | "range";
|
654
654
|
};
|
655
655
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
656
656
|
fieldType: "event";
|
@@ -688,11 +688,11 @@ export declare const EventFieldConfigSchema: z.ZodObject<z.objectUtil.extendShap
|
|
688
688
|
}>;
|
689
689
|
export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
|
690
690
|
config: z.ZodObject<{
|
691
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
691
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
692
692
|
}, "strip", z.ZodTypeAny, {
|
693
|
-
type: "exact" | "fuzzy" | "range"
|
693
|
+
type: "exact" | "fuzzy" | "range";
|
694
694
|
}, {
|
695
|
-
type: "exact" | "fuzzy" | "range"
|
695
|
+
type: "exact" | "fuzzy" | "range";
|
696
696
|
}>;
|
697
697
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
698
698
|
value: z.ZodString;
|
@@ -743,7 +743,7 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
743
743
|
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
744
744
|
}>, "strip", z.ZodTypeAny, {
|
745
745
|
config: {
|
746
|
-
type: "exact" | "fuzzy" | "range"
|
746
|
+
type: "exact" | "fuzzy" | "range";
|
747
747
|
};
|
748
748
|
fieldId: string;
|
749
749
|
fieldType: "field";
|
@@ -770,7 +770,7 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
770
770
|
excludeInSearchQuery?: boolean | undefined;
|
771
771
|
}, {
|
772
772
|
config: {
|
773
|
-
type: "exact" | "fuzzy" | "range"
|
773
|
+
type: "exact" | "fuzzy" | "range";
|
774
774
|
};
|
775
775
|
fieldId: string;
|
776
776
|
fieldType: "field";
|
@@ -809,11 +809,11 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
809
809
|
excludeInSearchQuery?: boolean | undefined;
|
810
810
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
811
811
|
config: z.ZodObject<{
|
812
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
812
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
813
813
|
}, "strip", z.ZodTypeAny, {
|
814
|
-
type: "exact" | "fuzzy" | "range"
|
814
|
+
type: "exact" | "fuzzy" | "range";
|
815
815
|
}, {
|
816
|
-
type: "exact" | "fuzzy" | "range"
|
816
|
+
type: "exact" | "fuzzy" | "range";
|
817
817
|
}>;
|
818
818
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
819
819
|
value: z.ZodString;
|
@@ -862,7 +862,7 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
862
862
|
fieldType: z.ZodLiteral<"event">;
|
863
863
|
}>, "strip", z.ZodTypeAny, {
|
864
864
|
config: {
|
865
|
-
type: "exact" | "fuzzy" | "range"
|
865
|
+
type: "exact" | "fuzzy" | "range";
|
866
866
|
};
|
867
867
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
868
868
|
fieldType: "event";
|
@@ -887,7 +887,7 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
887
887
|
}[] | undefined;
|
888
888
|
}, {
|
889
889
|
config: {
|
890
|
-
type: "exact" | "fuzzy" | "range"
|
890
|
+
type: "exact" | "fuzzy" | "range";
|
891
891
|
};
|
892
892
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
893
893
|
fieldType: "event";
|
@@ -932,11 +932,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
932
932
|
}>;
|
933
933
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
|
934
934
|
config: z.ZodObject<{
|
935
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
935
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
937
|
-
type: "exact" | "fuzzy" | "range"
|
937
|
+
type: "exact" | "fuzzy" | "range";
|
938
938
|
}, {
|
939
|
-
type: "exact" | "fuzzy" | "range"
|
939
|
+
type: "exact" | "fuzzy" | "range";
|
940
940
|
}>;
|
941
941
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
942
942
|
value: z.ZodString;
|
@@ -987,7 +987,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
987
987
|
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
988
988
|
}>, "strip", z.ZodTypeAny, {
|
989
989
|
config: {
|
990
|
-
type: "exact" | "fuzzy" | "range"
|
990
|
+
type: "exact" | "fuzzy" | "range";
|
991
991
|
};
|
992
992
|
fieldId: string;
|
993
993
|
fieldType: "field";
|
@@ -1014,7 +1014,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1014
1014
|
excludeInSearchQuery?: boolean | undefined;
|
1015
1015
|
}, {
|
1016
1016
|
config: {
|
1017
|
-
type: "exact" | "fuzzy" | "range"
|
1017
|
+
type: "exact" | "fuzzy" | "range";
|
1018
1018
|
};
|
1019
1019
|
fieldId: string;
|
1020
1020
|
fieldType: "field";
|
@@ -1053,11 +1053,11 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1053
1053
|
excludeInSearchQuery?: boolean | undefined;
|
1054
1054
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1055
1055
|
config: z.ZodObject<{
|
1056
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
1056
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
1057
1057
|
}, "strip", z.ZodTypeAny, {
|
1058
|
-
type: "exact" | "fuzzy" | "range"
|
1058
|
+
type: "exact" | "fuzzy" | "range";
|
1059
1059
|
}, {
|
1060
|
-
type: "exact" | "fuzzy" | "range"
|
1060
|
+
type: "exact" | "fuzzy" | "range";
|
1061
1061
|
}>;
|
1062
1062
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
1063
1063
|
value: z.ZodString;
|
@@ -1106,7 +1106,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1106
1106
|
fieldType: z.ZodLiteral<"event">;
|
1107
1107
|
}>, "strip", z.ZodTypeAny, {
|
1108
1108
|
config: {
|
1109
|
-
type: "exact" | "fuzzy" | "range"
|
1109
|
+
type: "exact" | "fuzzy" | "range";
|
1110
1110
|
};
|
1111
1111
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
1112
1112
|
fieldType: "event";
|
@@ -1131,7 +1131,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1131
1131
|
}[] | undefined;
|
1132
1132
|
}, {
|
1133
1133
|
config: {
|
1134
|
-
type: "exact" | "fuzzy" | "range"
|
1134
|
+
type: "exact" | "fuzzy" | "range";
|
1135
1135
|
};
|
1136
1136
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
1137
1137
|
fieldType: "event";
|
@@ -1171,7 +1171,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1171
1171
|
title: TranslationConfig;
|
1172
1172
|
fields: ({
|
1173
1173
|
config: {
|
1174
|
-
type: "exact" | "fuzzy" | "range"
|
1174
|
+
type: "exact" | "fuzzy" | "range";
|
1175
1175
|
};
|
1176
1176
|
fieldId: string;
|
1177
1177
|
fieldType: "field";
|
@@ -1198,7 +1198,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1198
1198
|
excludeInSearchQuery?: boolean | undefined;
|
1199
1199
|
} | {
|
1200
1200
|
config: {
|
1201
|
-
type: "exact" | "fuzzy" | "range"
|
1201
|
+
type: "exact" | "fuzzy" | "range";
|
1202
1202
|
};
|
1203
1203
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
1204
1204
|
fieldType: "event";
|
@@ -1230,7 +1230,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1230
1230
|
};
|
1231
1231
|
fields: ({
|
1232
1232
|
config: {
|
1233
|
-
type: "exact" | "fuzzy" | "range"
|
1233
|
+
type: "exact" | "fuzzy" | "range";
|
1234
1234
|
};
|
1235
1235
|
fieldId: string;
|
1236
1236
|
fieldType: "field";
|
@@ -1269,7 +1269,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1269
1269
|
excludeInSearchQuery?: boolean | undefined;
|
1270
1270
|
} | {
|
1271
1271
|
config: {
|
1272
|
-
type: "exact" | "fuzzy" | "range"
|
1272
|
+
type: "exact" | "fuzzy" | "range";
|
1273
1273
|
};
|
1274
1274
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
1275
1275
|
fieldType: "event";
|
@@ -9494,11 +9494,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9494
9494
|
}>;
|
9495
9495
|
fields: z.ZodArray<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
|
9496
9496
|
config: z.ZodObject<{
|
9497
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
9497
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
9498
9498
|
}, "strip", z.ZodTypeAny, {
|
9499
|
-
type: "exact" | "fuzzy" | "range"
|
9499
|
+
type: "exact" | "fuzzy" | "range";
|
9500
9500
|
}, {
|
9501
|
-
type: "exact" | "fuzzy" | "range"
|
9501
|
+
type: "exact" | "fuzzy" | "range";
|
9502
9502
|
}>;
|
9503
9503
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
9504
9504
|
value: z.ZodString;
|
@@ -9549,7 +9549,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9549
9549
|
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
9550
9550
|
}>, "strip", z.ZodTypeAny, {
|
9551
9551
|
config: {
|
9552
|
-
type: "exact" | "fuzzy" | "range"
|
9552
|
+
type: "exact" | "fuzzy" | "range";
|
9553
9553
|
};
|
9554
9554
|
fieldId: string;
|
9555
9555
|
fieldType: "field";
|
@@ -9576,7 +9576,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9576
9576
|
excludeInSearchQuery?: boolean | undefined;
|
9577
9577
|
}, {
|
9578
9578
|
config: {
|
9579
|
-
type: "exact" | "fuzzy" | "range"
|
9579
|
+
type: "exact" | "fuzzy" | "range";
|
9580
9580
|
};
|
9581
9581
|
fieldId: string;
|
9582
9582
|
fieldType: "field";
|
@@ -9615,11 +9615,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9615
9615
|
excludeInSearchQuery?: boolean | undefined;
|
9616
9616
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
9617
9617
|
config: z.ZodObject<{
|
9618
|
-
type: z.ZodEnum<["fuzzy", "exact", "range"
|
9618
|
+
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
9619
9619
|
}, "strip", z.ZodTypeAny, {
|
9620
|
-
type: "exact" | "fuzzy" | "range"
|
9620
|
+
type: "exact" | "fuzzy" | "range";
|
9621
9621
|
}, {
|
9622
|
-
type: "exact" | "fuzzy" | "range"
|
9622
|
+
type: "exact" | "fuzzy" | "range";
|
9623
9623
|
}>;
|
9624
9624
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
9625
9625
|
value: z.ZodString;
|
@@ -9668,7 +9668,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9668
9668
|
fieldType: z.ZodLiteral<"event">;
|
9669
9669
|
}>, "strip", z.ZodTypeAny, {
|
9670
9670
|
config: {
|
9671
|
-
type: "exact" | "fuzzy" | "range"
|
9671
|
+
type: "exact" | "fuzzy" | "range";
|
9672
9672
|
};
|
9673
9673
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
9674
9674
|
fieldType: "event";
|
@@ -9693,7 +9693,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9693
9693
|
}[] | undefined;
|
9694
9694
|
}, {
|
9695
9695
|
config: {
|
9696
|
-
type: "exact" | "fuzzy" | "range"
|
9696
|
+
type: "exact" | "fuzzy" | "range";
|
9697
9697
|
};
|
9698
9698
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
9699
9699
|
fieldType: "event";
|
@@ -9733,7 +9733,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9733
9733
|
title: TranslationConfig;
|
9734
9734
|
fields: ({
|
9735
9735
|
config: {
|
9736
|
-
type: "exact" | "fuzzy" | "range"
|
9736
|
+
type: "exact" | "fuzzy" | "range";
|
9737
9737
|
};
|
9738
9738
|
fieldId: string;
|
9739
9739
|
fieldType: "field";
|
@@ -9760,7 +9760,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9760
9760
|
excludeInSearchQuery?: boolean | undefined;
|
9761
9761
|
} | {
|
9762
9762
|
config: {
|
9763
|
-
type: "exact" | "fuzzy" | "range"
|
9763
|
+
type: "exact" | "fuzzy" | "range";
|
9764
9764
|
};
|
9765
9765
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
9766
9766
|
fieldType: "event";
|
@@ -9792,7 +9792,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9792
9792
|
};
|
9793
9793
|
fields: ({
|
9794
9794
|
config: {
|
9795
|
-
type: "exact" | "fuzzy" | "range"
|
9795
|
+
type: "exact" | "fuzzy" | "range";
|
9796
9796
|
};
|
9797
9797
|
fieldId: string;
|
9798
9798
|
fieldType: "field";
|
@@ -9831,7 +9831,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
9831
9831
|
excludeInSearchQuery?: boolean | undefined;
|
9832
9832
|
} | {
|
9833
9833
|
config: {
|
9834
|
-
type: "exact" | "fuzzy" | "range"
|
9834
|
+
type: "exact" | "fuzzy" | "range";
|
9835
9835
|
};
|
9836
9836
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
9837
9837
|
fieldType: "event";
|
@@ -18522,7 +18522,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
18522
18522
|
title: TranslationConfig;
|
18523
18523
|
fields: ({
|
18524
18524
|
config: {
|
18525
|
-
type: "exact" | "fuzzy" | "range"
|
18525
|
+
type: "exact" | "fuzzy" | "range";
|
18526
18526
|
};
|
18527
18527
|
fieldId: string;
|
18528
18528
|
fieldType: "field";
|
@@ -18549,7 +18549,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
18549
18549
|
excludeInSearchQuery?: boolean | undefined;
|
18550
18550
|
} | {
|
18551
18551
|
config: {
|
18552
|
-
type: "exact" | "fuzzy" | "range"
|
18552
|
+
type: "exact" | "fuzzy" | "range";
|
18553
18553
|
};
|
18554
18554
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
18555
18555
|
fieldType: "event";
|
@@ -32192,7 +32192,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
32192
32192
|
};
|
32193
32193
|
fields: ({
|
32194
32194
|
config: {
|
32195
|
-
type: "exact" | "fuzzy" | "range"
|
32195
|
+
type: "exact" | "fuzzy" | "range";
|
32196
32196
|
};
|
32197
32197
|
fieldId: string;
|
32198
32198
|
fieldType: "field";
|
@@ -32231,7 +32231,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
32231
32231
|
excludeInSearchQuery?: boolean | undefined;
|
32232
32232
|
} | {
|
32233
32233
|
config: {
|
32234
|
-
type: "exact" | "fuzzy" | "range"
|
32234
|
+
type: "exact" | "fuzzy" | "range";
|
32235
32235
|
};
|
32236
32236
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
32237
32237
|
fieldType: "event";
|
@@ -40922,7 +40922,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
40922
40922
|
title: TranslationConfig;
|
40923
40923
|
fields: ({
|
40924
40924
|
config: {
|
40925
|
-
type: "exact" | "fuzzy" | "range"
|
40925
|
+
type: "exact" | "fuzzy" | "range";
|
40926
40926
|
};
|
40927
40927
|
fieldId: string;
|
40928
40928
|
fieldType: "field";
|
@@ -40949,7 +40949,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
40949
40949
|
excludeInSearchQuery?: boolean | undefined;
|
40950
40950
|
} | {
|
40951
40951
|
config: {
|
40952
|
-
type: "exact" | "fuzzy" | "range"
|
40952
|
+
type: "exact" | "fuzzy" | "range";
|
40953
40953
|
};
|
40954
40954
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
40955
40955
|
fieldType: "event";
|
@@ -54592,7 +54592,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
54592
54592
|
};
|
54593
54593
|
fields: ({
|
54594
54594
|
config: {
|
54595
|
-
type: "exact" | "fuzzy" | "range"
|
54595
|
+
type: "exact" | "fuzzy" | "range";
|
54596
54596
|
};
|
54597
54597
|
fieldId: string;
|
54598
54598
|
fieldType: "field";
|
@@ -54631,7 +54631,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
54631
54631
|
excludeInSearchQuery?: boolean | undefined;
|
54632
54632
|
} | {
|
54633
54633
|
config: {
|
54634
|
-
type: "exact" | "fuzzy" | "range"
|
54634
|
+
type: "exact" | "fuzzy" | "range";
|
54635
54635
|
};
|
54636
54636
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
54637
54637
|
fieldType: "event";
|
@@ -5690,24 +5690,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
5690
5690
|
}, {
|
5691
5691
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
5692
5692
|
requestId: z.ZodString;
|
5693
|
-
reason: z.ZodObject<{
|
5694
|
-
message: z.ZodString;
|
5695
|
-
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
5696
|
-
}, "strip", z.ZodTypeAny, {
|
5697
|
-
message: string;
|
5698
|
-
isDuplicate?: boolean | undefined;
|
5699
|
-
}, {
|
5700
|
-
message: string;
|
5701
|
-
isDuplicate?: boolean | undefined;
|
5702
|
-
}>;
|
5703
5693
|
}>, "strip", z.ZodTypeAny, {
|
5704
5694
|
type: "REJECT_CORRECTION";
|
5705
5695
|
id: string & z.BRAND<"UUID">;
|
5706
5696
|
status: "Rejected" | "Requested" | "Accepted";
|
5707
|
-
reason: {
|
5708
|
-
message: string;
|
5709
|
-
isDuplicate?: boolean | undefined;
|
5710
|
-
};
|
5711
5697
|
transactionId: string;
|
5712
5698
|
createdByUserType: "system" | "user";
|
5713
5699
|
createdAt: string;
|
@@ -5811,10 +5797,6 @@ export declare const EventDocument: z.ZodObject<{
|
|
5811
5797
|
type: "REJECT_CORRECTION";
|
5812
5798
|
id: string;
|
5813
5799
|
status: "Rejected" | "Requested" | "Accepted";
|
5814
|
-
reason: {
|
5815
|
-
message: string;
|
5816
|
-
isDuplicate?: boolean | undefined;
|
5817
|
-
};
|
5818
5800
|
transactionId: string;
|
5819
5801
|
createdByUserType: "system" | "user";
|
5820
5802
|
createdAt: string;
|
@@ -6684,6 +6666,13 @@ export declare const EventDocument: z.ZodObject<{
|
|
6684
6666
|
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
6685
6667
|
}, {
|
6686
6668
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
6669
|
+
actionDetails: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
6670
|
+
templateId: z.ZodOptional<z.ZodString>;
|
6671
|
+
}, "strip", z.ZodTypeAny, {
|
6672
|
+
templateId?: string | undefined;
|
6673
|
+
}, {
|
6674
|
+
templateId?: string | undefined;
|
6675
|
+
}>>>;
|
6687
6676
|
}>, "strip", z.ZodTypeAny, {
|
6688
6677
|
type: "PRINT_CERTIFICATE";
|
6689
6678
|
id: string & z.BRAND<"UUID">;
|
@@ -6786,6 +6775,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6786
6775
|
end: string;
|
6787
6776
|
} | null | undefined> | null | undefined;
|
6788
6777
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6778
|
+
actionDetails?: {
|
6779
|
+
templateId?: string | undefined;
|
6780
|
+
} | null | undefined;
|
6789
6781
|
}, {
|
6790
6782
|
type: "PRINT_CERTIFICATE";
|
6791
6783
|
id: string;
|
@@ -6888,6 +6880,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6888
6880
|
end: string;
|
6889
6881
|
} | null | undefined> | null | undefined;
|
6890
6882
|
originalActionId?: string | null | undefined;
|
6883
|
+
actionDetails?: {
|
6884
|
+
templateId?: string | undefined;
|
6885
|
+
} | null | undefined;
|
6891
6886
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
6892
6887
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
6893
6888
|
transactionId: z.ZodString;
|
@@ -8822,6 +8817,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8822
8817
|
end: string;
|
8823
8818
|
} | null | undefined> | null | undefined;
|
8824
8819
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
8820
|
+
actionDetails?: {
|
8821
|
+
templateId?: string | undefined;
|
8822
|
+
} | null | undefined;
|
8825
8823
|
} | {
|
8826
8824
|
type: "REQUEST_CORRECTION";
|
8827
8825
|
id: string & z.BRAND<"UUID">;
|
@@ -9031,10 +9029,6 @@ export declare const EventDocument: z.ZodObject<{
|
|
9031
9029
|
type: "REJECT_CORRECTION";
|
9032
9030
|
id: string & z.BRAND<"UUID">;
|
9033
9031
|
status: "Rejected" | "Requested" | "Accepted";
|
9034
|
-
reason: {
|
9035
|
-
message: string;
|
9036
|
-
isDuplicate?: boolean | undefined;
|
9037
|
-
};
|
9038
9032
|
transactionId: string;
|
9039
9033
|
createdByUserType: "system" | "user";
|
9040
9034
|
createdAt: string;
|
@@ -10387,6 +10381,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
10387
10381
|
end: string;
|
10388
10382
|
} | null | undefined> | null | undefined;
|
10389
10383
|
originalActionId?: string | null | undefined;
|
10384
|
+
actionDetails?: {
|
10385
|
+
templateId?: string | undefined;
|
10386
|
+
} | null | undefined;
|
10390
10387
|
} | {
|
10391
10388
|
type: "REQUEST_CORRECTION";
|
10392
10389
|
id: string;
|
@@ -10596,10 +10593,6 @@ export declare const EventDocument: z.ZodObject<{
|
|
10596
10593
|
type: "REJECT_CORRECTION";
|
10597
10594
|
id: string;
|
10598
10595
|
status: "Rejected" | "Requested" | "Accepted";
|
10599
|
-
reason: {
|
10600
|
-
message: string;
|
10601
|
-
isDuplicate?: boolean | undefined;
|
10602
|
-
};
|
10603
10596
|
transactionId: string;
|
10604
10597
|
createdByUserType: "system" | "user";
|
10605
10598
|
createdAt: string;
|
@@ -8657,7 +8657,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8657
8657
|
title: import("./TranslationConfig").TranslationConfig;
|
8658
8658
|
fields: ({
|
8659
8659
|
config: {
|
8660
|
-
type: "exact" | "fuzzy" | "range"
|
8660
|
+
type: "exact" | "fuzzy" | "range";
|
8661
8661
|
};
|
8662
8662
|
fieldId: string;
|
8663
8663
|
fieldType: "field";
|
@@ -8684,7 +8684,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8684
8684
|
excludeInSearchQuery?: boolean | undefined;
|
8685
8685
|
} | {
|
8686
8686
|
config: {
|
8687
|
-
type: "exact" | "fuzzy" | "range"
|
8687
|
+
type: "exact" | "fuzzy" | "range";
|
8688
8688
|
};
|
8689
8689
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
8690
8690
|
fieldType: "event";
|