@opencrvs/toolkit 1.8.0-rc.fec1d5d → 1.8.0-rc.fef0fdd
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 +851 -10142
- package/dist/commons/events/ActionDocument.d.ts +486 -387
- package/dist/commons/events/ActionInput.d.ts +126 -126
- package/dist/commons/events/ActionType.d.ts +2 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +204 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +28 -23
- package/dist/commons/events/EventConfig.d.ts +132 -0
- package/dist/commons/events/EventDocument.d.ts +350 -275
- package/dist/commons/events/EventIndex.d.ts +572 -146
- package/dist/commons/events/EventMetadata.d.ts +59 -26
- package/dist/commons/events/FieldConfig.d.ts +19 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +1937 -459
- package/dist/commons/events/defineConfig.d.ts +8 -0
- package/dist/commons/events/field.d.ts +5 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +28 -5
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +16 -6
- package/dist/events/index.js +880 -567
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +3 -3
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
export declare const CreatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1
|
+
export declare const CreatedAtLocation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBranded<import("zod").ZodString, "UUID">>>;
|
3
2
|
//# sourceMappingURL=CreatedAtLocation.d.ts.map
|
@@ -1,17 +1,18 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const Draft: z.ZodObject<{
|
3
|
-
id: z.ZodString
|
4
|
-
eventId: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
|
+
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
5
5
|
transactionId: z.ZodString;
|
6
6
|
createdAt: z.ZodString;
|
7
7
|
action: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8
|
-
id: z.ZodString
|
8
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
9
9
|
transactionId: z.ZodString;
|
10
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
10
11
|
createdAt: z.ZodString;
|
11
12
|
createdBy: z.ZodString;
|
12
13
|
createdByRole: z.ZodString;
|
13
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
14
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
15
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
15
16
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
16
17
|
filename: z.ZodString;
|
17
18
|
originalFilename: z.ZodString;
|
@@ -138,7 +139,7 @@ export declare const Draft: z.ZodObject<{
|
|
138
139
|
surname: string;
|
139
140
|
middlename?: string | null | undefined;
|
140
141
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
141
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
142
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
142
143
|
filename: z.ZodString;
|
143
144
|
originalFilename: z.ZodString;
|
144
145
|
type: z.ZodString;
|
@@ -263,15 +264,16 @@ export declare const Draft: z.ZodObject<{
|
|
263
264
|
firstname: string;
|
264
265
|
surname: string;
|
265
266
|
middlename?: string | null | undefined;
|
266
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]
|
267
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
267
268
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
268
|
-
originalActionId: z.ZodOptional<z.ZodString
|
269
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
269
270
|
}, {
|
270
271
|
type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
271
272
|
}>, "id">, "strip", z.ZodTypeAny, {
|
272
273
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
273
274
|
status: "Rejected" | "Requested" | "Accepted";
|
274
275
|
transactionId: string;
|
276
|
+
createdByUserType: "system" | "user";
|
275
277
|
createdAt: string;
|
276
278
|
createdBy: string;
|
277
279
|
createdByRole: string;
|
@@ -318,7 +320,7 @@ export declare const Draft: z.ZodObject<{
|
|
318
320
|
originalFilename: string;
|
319
321
|
}[] | [string, string] | null | undefined>;
|
320
322
|
createdBySignature?: string | null | undefined;
|
321
|
-
createdAtLocation?: string | null | undefined;
|
323
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
322
324
|
annotation?: Record<string, string | number | boolean | {
|
323
325
|
type: string;
|
324
326
|
filename: string;
|
@@ -360,12 +362,13 @@ export declare const Draft: z.ZodObject<{
|
|
360
362
|
option: string;
|
361
363
|
filename: string;
|
362
364
|
originalFilename: string;
|
363
|
-
}[] | [string, string] | null | undefined> | undefined;
|
364
|
-
originalActionId?: string | undefined;
|
365
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
366
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
365
367
|
}, {
|
366
368
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
367
369
|
status: "Rejected" | "Requested" | "Accepted";
|
368
370
|
transactionId: string;
|
371
|
+
createdByUserType: "system" | "user";
|
369
372
|
createdAt: string;
|
370
373
|
createdBy: string;
|
371
374
|
createdByRole: string;
|
@@ -454,18 +457,19 @@ export declare const Draft: z.ZodObject<{
|
|
454
457
|
option: string;
|
455
458
|
filename: string;
|
456
459
|
originalFilename: string;
|
457
|
-
}[] | [string, string] | null | undefined> | undefined;
|
458
|
-
originalActionId?: string | undefined;
|
460
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
461
|
+
originalActionId?: string | null | undefined;
|
459
462
|
}>;
|
460
463
|
}, "strip", z.ZodTypeAny, {
|
461
|
-
id: string
|
464
|
+
id: string & z.BRAND<"UUID">;
|
462
465
|
transactionId: string;
|
463
466
|
createdAt: string;
|
464
|
-
eventId: string
|
467
|
+
eventId: string & z.BRAND<"UUID">;
|
465
468
|
action: {
|
466
469
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
467
470
|
status: "Rejected" | "Requested" | "Accepted";
|
468
471
|
transactionId: string;
|
472
|
+
createdByUserType: "system" | "user";
|
469
473
|
createdAt: string;
|
470
474
|
createdBy: string;
|
471
475
|
createdByRole: string;
|
@@ -512,7 +516,7 @@ export declare const Draft: z.ZodObject<{
|
|
512
516
|
originalFilename: string;
|
513
517
|
}[] | [string, string] | null | undefined>;
|
514
518
|
createdBySignature?: string | null | undefined;
|
515
|
-
createdAtLocation?: string | null | undefined;
|
519
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
516
520
|
annotation?: Record<string, string | number | boolean | {
|
517
521
|
type: string;
|
518
522
|
filename: string;
|
@@ -554,8 +558,8 @@ export declare const Draft: z.ZodObject<{
|
|
554
558
|
option: string;
|
555
559
|
filename: string;
|
556
560
|
originalFilename: string;
|
557
|
-
}[] | [string, string] | null | undefined> | undefined;
|
558
|
-
originalActionId?: string | undefined;
|
561
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
562
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
559
563
|
};
|
560
564
|
}, {
|
561
565
|
id: string;
|
@@ -566,6 +570,7 @@ export declare const Draft: z.ZodObject<{
|
|
566
570
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
567
571
|
status: "Rejected" | "Requested" | "Accepted";
|
568
572
|
transactionId: string;
|
573
|
+
createdByUserType: "system" | "user";
|
569
574
|
createdAt: string;
|
570
575
|
createdBy: string;
|
571
576
|
createdByRole: string;
|
@@ -654,12 +659,12 @@ export declare const Draft: z.ZodObject<{
|
|
654
659
|
option: string;
|
655
660
|
filename: string;
|
656
661
|
originalFilename: string;
|
657
|
-
}[] | [string, string] | null | undefined> | undefined;
|
658
|
-
originalActionId?: string | undefined;
|
662
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
663
|
+
originalActionId?: string | null | undefined;
|
659
664
|
};
|
660
665
|
}>;
|
661
666
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
662
|
-
eventId: z.ZodString
|
667
|
+
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
663
668
|
transactionId: z.ZodString;
|
664
669
|
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
665
670
|
filename: z.ZodString;
|
@@ -913,7 +918,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
913
918
|
surname: string;
|
914
919
|
middlename?: string | null | undefined;
|
915
920
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
916
|
-
originalActionId: z.ZodOptional<z.ZodString
|
921
|
+
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
917
922
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
918
923
|
}, {
|
919
924
|
type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
@@ -964,7 +969,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
964
969
|
filename: string;
|
965
970
|
originalFilename: string;
|
966
971
|
}[] | [string, string] | null | undefined>;
|
967
|
-
eventId: string
|
972
|
+
eventId: string & z.BRAND<"UUID">;
|
968
973
|
annotation?: Record<string, string | number | boolean | {
|
969
974
|
type: string;
|
970
975
|
filename: string;
|
@@ -1007,7 +1012,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1007
1012
|
filename: string;
|
1008
1013
|
originalFilename: string;
|
1009
1014
|
}[] | [string, string] | null | undefined> | undefined;
|
1010
|
-
originalActionId?: string | undefined;
|
1015
|
+
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
1011
1016
|
keepAssignment?: boolean | undefined;
|
1012
1017
|
}, {
|
1013
1018
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
@@ -8605,6 +8605,24 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8605
8605
|
defaultMessage: string;
|
8606
8606
|
}>>;
|
8607
8607
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
8608
|
+
validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
8609
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
8610
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
8611
|
+
id: string;
|
8612
|
+
description: string;
|
8613
|
+
defaultMessage: string;
|
8614
|
+
}>;
|
8615
|
+
}, "strip", z.ZodTypeAny, {
|
8616
|
+
message: TranslationConfig;
|
8617
|
+
validator: import(".").JSONSchema;
|
8618
|
+
}, {
|
8619
|
+
message: {
|
8620
|
+
id: string;
|
8621
|
+
description: string;
|
8622
|
+
defaultMessage: string;
|
8623
|
+
};
|
8624
|
+
validator: import(".").JSONSchema;
|
8625
|
+
}>, "many">>>;
|
8608
8626
|
}, {
|
8609
8627
|
fieldId: z.ZodString;
|
8610
8628
|
fieldType: z.ZodLiteral<"field">;
|
@@ -8629,6 +8647,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8629
8647
|
conditional: import(".").JSONSchema;
|
8630
8648
|
})[] | undefined;
|
8631
8649
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
8650
|
+
validations?: {
|
8651
|
+
message: TranslationConfig;
|
8652
|
+
validator: import(".").JSONSchema;
|
8653
|
+
}[] | undefined;
|
8632
8654
|
}, {
|
8633
8655
|
config: {
|
8634
8656
|
type: "exact" | "fuzzy" | "range";
|
@@ -8658,6 +8680,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8658
8680
|
description: string;
|
8659
8681
|
defaultMessage: string;
|
8660
8682
|
} | undefined;
|
8683
|
+
validations?: {
|
8684
|
+
message: {
|
8685
|
+
id: string;
|
8686
|
+
description: string;
|
8687
|
+
defaultMessage: string;
|
8688
|
+
};
|
8689
|
+
validator: import(".").JSONSchema;
|
8690
|
+
}[] | undefined;
|
8661
8691
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
8662
8692
|
config: z.ZodObject<{
|
8663
8693
|
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
@@ -8690,6 +8720,24 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8690
8720
|
defaultMessage: string;
|
8691
8721
|
}>>;
|
8692
8722
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
|
8723
|
+
validations: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
8724
|
+
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
8725
|
+
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
8726
|
+
id: string;
|
8727
|
+
description: string;
|
8728
|
+
defaultMessage: string;
|
8729
|
+
}>;
|
8730
|
+
}, "strip", z.ZodTypeAny, {
|
8731
|
+
message: TranslationConfig;
|
8732
|
+
validator: import(".").JSONSchema;
|
8733
|
+
}, {
|
8734
|
+
message: {
|
8735
|
+
id: string;
|
8736
|
+
description: string;
|
8737
|
+
defaultMessage: string;
|
8738
|
+
};
|
8739
|
+
validator: import(".").JSONSchema;
|
8740
|
+
}>, "many">>>;
|
8693
8741
|
}, {
|
8694
8742
|
fieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
8695
8743
|
fieldType: z.ZodLiteral<"event">;
|
@@ -8714,6 +8762,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8714
8762
|
conditional: import(".").JSONSchema;
|
8715
8763
|
})[] | undefined;
|
8716
8764
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
8765
|
+
validations?: {
|
8766
|
+
message: TranslationConfig;
|
8767
|
+
validator: import(".").JSONSchema;
|
8768
|
+
}[] | undefined;
|
8717
8769
|
}, {
|
8718
8770
|
config: {
|
8719
8771
|
type: "exact" | "fuzzy" | "range";
|
@@ -8743,6 +8795,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8743
8795
|
description: string;
|
8744
8796
|
defaultMessage: string;
|
8745
8797
|
} | undefined;
|
8798
|
+
validations?: {
|
8799
|
+
message: {
|
8800
|
+
id: string;
|
8801
|
+
description: string;
|
8802
|
+
defaultMessage: string;
|
8803
|
+
};
|
8804
|
+
validator: import(".").JSONSchema;
|
8805
|
+
}[] | undefined;
|
8746
8806
|
}>]>, "many">;
|
8747
8807
|
}, "strip", z.ZodTypeAny, {
|
8748
8808
|
title: TranslationConfig;
|
@@ -8767,6 +8827,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8767
8827
|
conditional: import(".").JSONSchema;
|
8768
8828
|
})[] | undefined;
|
8769
8829
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
8830
|
+
validations?: {
|
8831
|
+
message: TranslationConfig;
|
8832
|
+
validator: import(".").JSONSchema;
|
8833
|
+
}[] | undefined;
|
8770
8834
|
} | {
|
8771
8835
|
config: {
|
8772
8836
|
type: "exact" | "fuzzy" | "range";
|
@@ -8788,6 +8852,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8788
8852
|
conditional: import(".").JSONSchema;
|
8789
8853
|
})[] | undefined;
|
8790
8854
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
8855
|
+
validations?: {
|
8856
|
+
message: TranslationConfig;
|
8857
|
+
validator: import(".").JSONSchema;
|
8858
|
+
}[] | undefined;
|
8791
8859
|
})[];
|
8792
8860
|
}, {
|
8793
8861
|
title: {
|
@@ -8824,6 +8892,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8824
8892
|
description: string;
|
8825
8893
|
defaultMessage: string;
|
8826
8894
|
} | undefined;
|
8895
|
+
validations?: {
|
8896
|
+
message: {
|
8897
|
+
id: string;
|
8898
|
+
description: string;
|
8899
|
+
defaultMessage: string;
|
8900
|
+
};
|
8901
|
+
validator: import(".").JSONSchema;
|
8902
|
+
}[] | undefined;
|
8827
8903
|
} | {
|
8828
8904
|
config: {
|
8829
8905
|
type: "exact" | "fuzzy" | "range";
|
@@ -8853,6 +8929,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
8853
8929
|
description: string;
|
8854
8930
|
defaultMessage: string;
|
8855
8931
|
} | undefined;
|
8932
|
+
validations?: {
|
8933
|
+
message: {
|
8934
|
+
id: string;
|
8935
|
+
description: string;
|
8936
|
+
defaultMessage: string;
|
8937
|
+
};
|
8938
|
+
validator: import(".").JSONSchema;
|
8939
|
+
}[] | undefined;
|
8856
8940
|
})[];
|
8857
8941
|
}>, "many">>>;
|
8858
8942
|
}, "strip", z.ZodTypeAny, {
|
@@ -18307,6 +18391,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
18307
18391
|
conditional: import(".").JSONSchema;
|
18308
18392
|
})[] | undefined;
|
18309
18393
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
18394
|
+
validations?: {
|
18395
|
+
message: TranslationConfig;
|
18396
|
+
validator: import(".").JSONSchema;
|
18397
|
+
}[] | undefined;
|
18310
18398
|
} | {
|
18311
18399
|
config: {
|
18312
18400
|
type: "exact" | "fuzzy" | "range";
|
@@ -18328,6 +18416,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
18328
18416
|
conditional: import(".").JSONSchema;
|
18329
18417
|
})[] | undefined;
|
18330
18418
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
18419
|
+
validations?: {
|
18420
|
+
message: TranslationConfig;
|
18421
|
+
validator: import(".").JSONSchema;
|
18422
|
+
}[] | undefined;
|
18331
18423
|
})[];
|
18332
18424
|
}[];
|
18333
18425
|
dateOfEvent?: {
|
@@ -33398,6 +33490,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
33398
33490
|
description: string;
|
33399
33491
|
defaultMessage: string;
|
33400
33492
|
} | undefined;
|
33493
|
+
validations?: {
|
33494
|
+
message: {
|
33495
|
+
id: string;
|
33496
|
+
description: string;
|
33497
|
+
defaultMessage: string;
|
33498
|
+
};
|
33499
|
+
validator: import(".").JSONSchema;
|
33500
|
+
}[] | undefined;
|
33401
33501
|
} | {
|
33402
33502
|
config: {
|
33403
33503
|
type: "exact" | "fuzzy" | "range";
|
@@ -33427,6 +33527,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
33427
33527
|
description: string;
|
33428
33528
|
defaultMessage: string;
|
33429
33529
|
} | undefined;
|
33530
|
+
validations?: {
|
33531
|
+
message: {
|
33532
|
+
id: string;
|
33533
|
+
description: string;
|
33534
|
+
defaultMessage: string;
|
33535
|
+
};
|
33536
|
+
validator: import(".").JSONSchema;
|
33537
|
+
}[] | undefined;
|
33430
33538
|
})[];
|
33431
33539
|
}[] | undefined;
|
33432
33540
|
}>, {
|
@@ -42881,6 +42989,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
42881
42989
|
conditional: import(".").JSONSchema;
|
42882
42990
|
})[] | undefined;
|
42883
42991
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
42992
|
+
validations?: {
|
42993
|
+
message: TranslationConfig;
|
42994
|
+
validator: import(".").JSONSchema;
|
42995
|
+
}[] | undefined;
|
42884
42996
|
} | {
|
42885
42997
|
config: {
|
42886
42998
|
type: "exact" | "fuzzy" | "range";
|
@@ -42902,6 +43014,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
42902
43014
|
conditional: import(".").JSONSchema;
|
42903
43015
|
})[] | undefined;
|
42904
43016
|
searchCriteriaLabelPrefix?: TranslationConfig | undefined;
|
43017
|
+
validations?: {
|
43018
|
+
message: TranslationConfig;
|
43019
|
+
validator: import(".").JSONSchema;
|
43020
|
+
}[] | undefined;
|
42905
43021
|
})[];
|
42906
43022
|
}[];
|
42907
43023
|
dateOfEvent?: {
|
@@ -57972,6 +58088,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
57972
58088
|
description: string;
|
57973
58089
|
defaultMessage: string;
|
57974
58090
|
} | undefined;
|
58091
|
+
validations?: {
|
58092
|
+
message: {
|
58093
|
+
id: string;
|
58094
|
+
description: string;
|
58095
|
+
defaultMessage: string;
|
58096
|
+
};
|
58097
|
+
validator: import(".").JSONSchema;
|
58098
|
+
}[] | undefined;
|
57975
58099
|
} | {
|
57976
58100
|
config: {
|
57977
58101
|
type: "exact" | "fuzzy" | "range";
|
@@ -58001,6 +58125,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
|
|
58001
58125
|
description: string;
|
58002
58126
|
defaultMessage: string;
|
58003
58127
|
} | undefined;
|
58128
|
+
validations?: {
|
58129
|
+
message: {
|
58130
|
+
id: string;
|
58131
|
+
description: string;
|
58132
|
+
defaultMessage: string;
|
58133
|
+
};
|
58134
|
+
validator: import(".").JSONSchema;
|
58135
|
+
}[] | undefined;
|
58004
58136
|
})[];
|
58005
58137
|
}[] | undefined;
|
58006
58138
|
}>;
|