@opencrvs/toolkit 1.8.1-rc.651c27c → 1.8.1-rc.672d719

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.
@@ -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
+ content: 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;
@@ -2680,6 +2687,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2680
2687
  end: string;
2681
2688
  } | null | undefined>;
2682
2689
  eventId: string & z.BRAND<"UUID">;
2690
+ content?: {
2691
+ templateId?: string | undefined;
2692
+ } | undefined;
2683
2693
  annotation?: Record<string, string | number | boolean | {
2684
2694
  type: string;
2685
2695
  path: string;
@@ -2731,6 +2741,9 @@ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.exten
2731
2741
  transactionId: string;
2732
2742
  eventId: string;
2733
2743
  type?: "PRINT_CERTIFICATE" | undefined;
2744
+ content?: {
2745
+ templateId?: string | undefined;
2746
+ } | undefined;
2734
2747
  declaration?: Record<string, string | number | boolean | {
2735
2748
  type: string;
2736
2749
  path: string;
@@ -5971,8 +5984,22 @@ 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">>;
5987
+ reason: z.ZodObject<{
5988
+ message: z.ZodString;
5989
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
5990
+ }, "strip", z.ZodTypeAny, {
5991
+ message: string;
5992
+ isDuplicate?: boolean | undefined;
5993
+ }, {
5994
+ message: string;
5995
+ isDuplicate?: boolean | undefined;
5996
+ }>;
5974
5997
  }>, "strip", z.ZodTypeAny, {
5975
5998
  type: "REJECT_CORRECTION";
5999
+ reason: {
6000
+ message: string;
6001
+ isDuplicate?: boolean | undefined;
6002
+ };
5976
6003
  transactionId: string;
5977
6004
  declaration: Record<string, string | number | boolean | {
5978
6005
  type: string;
@@ -6069,6 +6096,10 @@ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.exten
6069
6096
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
6070
6097
  keepAssignment?: boolean | undefined;
6071
6098
  }, {
6099
+ reason: {
6100
+ message: string;
6101
+ isDuplicate?: boolean | undefined;
6102
+ };
6072
6103
  transactionId: string;
6073
6104
  requestId: string;
6074
6105
  eventId: string;
@@ -12146,6 +12177,13 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12146
12177
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
12147
12178
  }, {
12148
12179
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
12180
+ content: z.ZodOptional<z.ZodObject<{
12181
+ templateId: z.ZodOptional<z.ZodString>;
12182
+ }, "strip", z.ZodTypeAny, {
12183
+ templateId?: string | undefined;
12184
+ }, {
12185
+ templateId?: string | undefined;
12186
+ }>>;
12149
12187
  }>, "strip", z.ZodTypeAny, {
12150
12188
  type: "PRINT_CERTIFICATE";
12151
12189
  transactionId: string;
@@ -12195,6 +12233,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12195
12233
  end: string;
12196
12234
  } | null | undefined>;
12197
12235
  eventId: string & z.BRAND<"UUID">;
12236
+ content?: {
12237
+ templateId?: string | undefined;
12238
+ } | undefined;
12198
12239
  annotation?: Record<string, string | number | boolean | {
12199
12240
  type: string;
12200
12241
  path: string;
@@ -12246,6 +12287,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
12246
12287
  transactionId: string;
12247
12288
  eventId: string;
12248
12289
  type?: "PRINT_CERTIFICATE" | undefined;
12290
+ content?: {
12291
+ templateId?: string | undefined;
12292
+ } | undefined;
12249
12293
  declaration?: Record<string, string | number | boolean | {
12250
12294
  type: string;
12251
12295
  path: string;
@@ -13085,8 +13129,22 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13085
13129
  }, {
13086
13130
  requestId: z.ZodString;
13087
13131
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
13132
+ reason: z.ZodObject<{
13133
+ message: z.ZodString;
13134
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
13135
+ }, "strip", z.ZodTypeAny, {
13136
+ message: string;
13137
+ isDuplicate?: boolean | undefined;
13138
+ }, {
13139
+ message: string;
13140
+ isDuplicate?: boolean | undefined;
13141
+ }>;
13088
13142
  }>, "strip", z.ZodTypeAny, {
13089
13143
  type: "REJECT_CORRECTION";
13144
+ reason: {
13145
+ message: string;
13146
+ isDuplicate?: boolean | undefined;
13147
+ };
13090
13148
  transactionId: string;
13091
13149
  declaration: Record<string, string | number | boolean | {
13092
13150
  type: string;
@@ -13183,6 +13241,10 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
13183
13241
  originalActionId?: (string & z.BRAND<"UUID">) | undefined;
13184
13242
  keepAssignment?: boolean | undefined;
13185
13243
  }, {
13244
+ reason: {
13245
+ message: string;
13246
+ isDuplicate?: boolean | undefined;
13247
+ };
13186
13248
  transactionId: string;
13187
13249
  requestId: string;
13188
13250
  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", "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";
@@ -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", "within"]>;
9498
9498
  }, "strip", z.ZodTypeAny, {
9499
- type: "exact" | "fuzzy" | "range";
9499
+ type: "exact" | "fuzzy" | "range" | "within";
9500
9500
  }, {
9501
- type: "exact" | "fuzzy" | "range";
9501
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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", "within"]>;
9619
9619
  }, "strip", z.ZodTypeAny, {
9620
- type: "exact" | "fuzzy" | "range";
9620
+ type: "exact" | "fuzzy" | "range" | "within";
9621
9621
  }, {
9622
- type: "exact" | "fuzzy" | "range";
9622
+ type: "exact" | "fuzzy" | "range" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
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" | "within";
54635
54635
  };
54636
54636
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
54637
54637
  fieldType: "event";
@@ -5690,10 +5690,24 @@ 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
+ }>;
5693
5703
  }>, "strip", z.ZodTypeAny, {
5694
5704
  type: "REJECT_CORRECTION";
5695
5705
  id: string & z.BRAND<"UUID">;
5696
5706
  status: "Rejected" | "Requested" | "Accepted";
5707
+ reason: {
5708
+ message: string;
5709
+ isDuplicate?: boolean | undefined;
5710
+ };
5697
5711
  transactionId: string;
5698
5712
  createdByUserType: "system" | "user";
5699
5713
  createdAt: string;
@@ -5797,6 +5811,10 @@ export declare const EventDocument: z.ZodObject<{
5797
5811
  type: "REJECT_CORRECTION";
5798
5812
  id: string;
5799
5813
  status: "Rejected" | "Requested" | "Accepted";
5814
+ reason: {
5815
+ message: string;
5816
+ isDuplicate?: boolean | undefined;
5817
+ };
5800
5818
  transactionId: string;
5801
5819
  createdByUserType: "system" | "user";
5802
5820
  createdAt: string;
@@ -6666,6 +6684,13 @@ export declare const EventDocument: z.ZodObject<{
6666
6684
  originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
6667
6685
  }, {
6668
6686
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
6687
+ content: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6688
+ templateId: z.ZodOptional<z.ZodString>;
6689
+ }, "strip", z.ZodTypeAny, {
6690
+ templateId?: string | undefined;
6691
+ }, {
6692
+ templateId?: string | undefined;
6693
+ }>>>;
6669
6694
  }>, "strip", z.ZodTypeAny, {
6670
6695
  type: "PRINT_CERTIFICATE";
6671
6696
  id: string & z.BRAND<"UUID">;
@@ -6720,6 +6745,9 @@ export declare const EventDocument: z.ZodObject<{
6720
6745
  start: string;
6721
6746
  end: string;
6722
6747
  } | null | undefined>;
6748
+ content?: {
6749
+ templateId?: string | undefined;
6750
+ } | null | undefined;
6723
6751
  createdBySignature?: string | null | undefined;
6724
6752
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
6725
6753
  annotation?: Record<string, string | number | boolean | {
@@ -6822,6 +6850,9 @@ export declare const EventDocument: z.ZodObject<{
6822
6850
  start: string;
6823
6851
  end: string;
6824
6852
  } | null | undefined>;
6853
+ content?: {
6854
+ templateId?: string | undefined;
6855
+ } | null | undefined;
6825
6856
  createdBySignature?: string | null | undefined;
6826
6857
  createdAtLocation?: string | null | undefined;
6827
6858
  annotation?: Record<string, string | number | boolean | {
@@ -8756,6 +8787,9 @@ export declare const EventDocument: z.ZodObject<{
8756
8787
  start: string;
8757
8788
  end: string;
8758
8789
  } | null | undefined>;
8790
+ content?: {
8791
+ templateId?: string | undefined;
8792
+ } | null | undefined;
8759
8793
  createdBySignature?: string | null | undefined;
8760
8794
  createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
8761
8795
  annotation?: Record<string, string | number | boolean | {
@@ -9013,6 +9047,10 @@ export declare const EventDocument: z.ZodObject<{
9013
9047
  type: "REJECT_CORRECTION";
9014
9048
  id: string & z.BRAND<"UUID">;
9015
9049
  status: "Rejected" | "Requested" | "Accepted";
9050
+ reason: {
9051
+ message: string;
9052
+ isDuplicate?: boolean | undefined;
9053
+ };
9016
9054
  transactionId: string;
9017
9055
  createdByUserType: "system" | "user";
9018
9056
  createdAt: string;
@@ -10317,6 +10355,9 @@ export declare const EventDocument: z.ZodObject<{
10317
10355
  start: string;
10318
10356
  end: string;
10319
10357
  } | null | undefined>;
10358
+ content?: {
10359
+ templateId?: string | undefined;
10360
+ } | null | undefined;
10320
10361
  createdBySignature?: string | null | undefined;
10321
10362
  createdAtLocation?: string | null | undefined;
10322
10363
  annotation?: Record<string, string | number | boolean | {
@@ -10574,6 +10615,10 @@ export declare const EventDocument: z.ZodObject<{
10574
10615
  type: "REJECT_CORRECTION";
10575
10616
  id: string;
10576
10617
  status: "Rejected" | "Requested" | "Accepted";
10618
+ reason: {
10619
+ message: string;
10620
+ isDuplicate?: boolean | undefined;
10621
+ };
10577
10622
  transactionId: string;
10578
10623
  createdByUserType: "system" | "user";
10579
10624
  createdAt: string;