@opencrvs/toolkit 1.8.1-rc.b849abb → 1.8.1-rc.b8eea90

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.
@@ -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", "within"]>;
452
452
  }, "strip", z.ZodTypeAny, {
453
- type: "exact" | "fuzzy" | "range";
453
+ type: "exact" | "fuzzy" | "range" | "within";
454
454
  }, {
455
- type: "exact" | "fuzzy" | "range";
455
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
576
576
  }, "strip", z.ZodTypeAny, {
577
- type: "exact" | "fuzzy" | "range";
577
+ type: "exact" | "fuzzy" | "range" | "within";
578
578
  }, {
579
- type: "exact" | "fuzzy" | "range";
579
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
692
692
  }, "strip", z.ZodTypeAny, {
693
- type: "exact" | "fuzzy" | "range";
693
+ type: "exact" | "fuzzy" | "range" | "within";
694
694
  }, {
695
- type: "exact" | "fuzzy" | "range";
695
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
813
813
  }, "strip", z.ZodTypeAny, {
814
- type: "exact" | "fuzzy" | "range";
814
+ type: "exact" | "fuzzy" | "range" | "within";
815
815
  }, {
816
- type: "exact" | "fuzzy" | "range";
816
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
936
936
  }, "strip", z.ZodTypeAny, {
937
- type: "exact" | "fuzzy" | "range";
937
+ type: "exact" | "fuzzy" | "range" | "within";
938
938
  }, {
939
- type: "exact" | "fuzzy" | "range";
939
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
1057
1057
  }, "strip", z.ZodTypeAny, {
1058
- type: "exact" | "fuzzy" | "range";
1058
+ type: "exact" | "fuzzy" | "range" | "within";
1059
1059
  }, {
1060
- type: "exact" | "fuzzy" | "range";
1060
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
1273
1273
  };
1274
1274
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
1275
1275
  fieldType: "event";