@opencrvs/toolkit 1.8.0-rc.fe4d9d5 → 1.8.0-rc.fe7c504
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 +1335 -10468
- package/dist/commons/events/ActionConfig.d.ts +2600 -0
- package/dist/commons/events/ActionDocument.d.ts +1081 -1087
- package/dist/commons/events/ActionInput.d.ts +726 -726
- package/dist/commons/events/ActionType.d.ts +0 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +222 -18
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1234 -572
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +77 -77
- package/dist/commons/events/EventConfig.d.ts +1458 -0
- package/dist/commons/events/EventDocument.d.ts +706 -711
- package/dist/commons/events/EventIndex.d.ts +135 -151
- package/dist/commons/events/EventMetadata.d.ts +38 -29
- package/dist/commons/events/FieldConfig.d.ts +178 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +1092 -0
- package/dist/commons/events/PageConfig.d.ts +260 -0
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueConfig.d.ts +2043 -1033
- package/dist/commons/events/defineConfig.d.ts +294 -0
- package/dist/commons/events/field.d.ts +5 -0
- package/dist/commons/events/test.utils.d.ts +30 -19
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +440 -15
- package/dist/conditionals/index.js +22 -18
- package/dist/events/index.js +303 -185
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +3 -3
@@ -1,13 +1,13 @@
|
|
1
1
|
import { z, ZodType } from 'zod';
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
id: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
4
|
type: z.ZodString;
|
5
5
|
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
6
6
|
legalStatuses: z.ZodObject<{
|
7
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
8
8
|
createdAt: z.ZodString;
|
9
9
|
createdBy: z.ZodString;
|
10
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
10
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
11
11
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
12
12
|
acceptedAt: z.ZodString;
|
13
13
|
createdByRole: z.ZodString;
|
@@ -19,7 +19,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
19
19
|
acceptedAt: string;
|
20
20
|
createdByUserType?: "system" | "user" | null | undefined;
|
21
21
|
createdBySignature?: string | null | undefined;
|
22
|
-
createdAtLocation?: string | null | undefined;
|
22
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
23
23
|
}, {
|
24
24
|
createdAt: string;
|
25
25
|
createdBy: string;
|
@@ -32,7 +32,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
32
32
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
33
33
|
createdAt: z.ZodString;
|
34
34
|
createdBy: z.ZodString;
|
35
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
35
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
36
36
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
37
37
|
acceptedAt: z.ZodString;
|
38
38
|
createdByRole: z.ZodString;
|
@@ -47,7 +47,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
47
47
|
acceptedAt: string;
|
48
48
|
createdByUserType?: "system" | "user" | null | undefined;
|
49
49
|
createdBySignature?: string | null | undefined;
|
50
|
-
createdAtLocation?: string | null | undefined;
|
50
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
51
51
|
}, {
|
52
52
|
createdAt: string;
|
53
53
|
createdBy: string;
|
@@ -66,7 +66,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
66
66
|
acceptedAt: string;
|
67
67
|
createdByUserType?: "system" | "user" | null | undefined;
|
68
68
|
createdBySignature?: string | null | undefined;
|
69
|
-
createdAtLocation?: string | null | undefined;
|
69
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
70
70
|
} | null | undefined;
|
71
71
|
REGISTERED?: {
|
72
72
|
createdAt: string;
|
@@ -76,7 +76,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
76
76
|
acceptedAt: string;
|
77
77
|
createdByUserType?: "system" | "user" | null | undefined;
|
78
78
|
createdBySignature?: string | null | undefined;
|
79
|
-
createdAtLocation?: string | null | undefined;
|
79
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
80
80
|
} | null | undefined;
|
81
81
|
}, {
|
82
82
|
DECLARED?: {
|
@@ -104,15 +104,18 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
104
104
|
createdBy: z.ZodString;
|
105
105
|
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
106
106
|
updatedByUserRole: z.ZodString;
|
107
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
107
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
108
108
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
109
|
-
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
109
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
110
110
|
updatedAt: z.ZodString;
|
111
111
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
112
112
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
113
113
|
trackingId: z.ZodString;
|
114
114
|
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
115
|
-
readonly
|
115
|
+
readonly PRINTED: "printed";
|
116
|
+
readonly INCOMPLETE: "incomplete";
|
117
|
+
readonly REJECTED: "rejected";
|
118
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
116
119
|
}>]>, "many">;
|
117
120
|
}, {
|
118
121
|
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<{
|
@@ -241,21 +244,21 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
241
244
|
surname: string;
|
242
245
|
middlename?: string | undefined;
|
243
246
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
244
|
-
firstname: z.ZodString
|
245
|
-
surname: z.ZodString
|
247
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
248
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
246
249
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
247
250
|
}, "strip", z.ZodTypeAny, {
|
248
|
-
firstname
|
249
|
-
surname
|
251
|
+
firstname?: string | null | undefined;
|
252
|
+
surname?: string | null | undefined;
|
250
253
|
middlename?: string | null | undefined;
|
251
254
|
}, {
|
252
|
-
firstname
|
253
|
-
surname
|
255
|
+
firstname?: string | null | undefined;
|
256
|
+
surname?: string | null | undefined;
|
254
257
|
middlename?: string | null | undefined;
|
255
258
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
256
259
|
}>, "strip", z.ZodTypeAny, {
|
257
260
|
type: string;
|
258
|
-
id: string
|
261
|
+
id: string & z.BRAND<"UUID">;
|
259
262
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
260
263
|
createdAt: string;
|
261
264
|
createdBy: string;
|
@@ -286,8 +289,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
286
289
|
surname: string;
|
287
290
|
middlename?: string | undefined;
|
288
291
|
} | {
|
289
|
-
firstname
|
290
|
-
surname
|
292
|
+
firstname?: string | null | undefined;
|
293
|
+
surname?: string | null | undefined;
|
291
294
|
middlename?: string | null | undefined;
|
292
295
|
} | {
|
293
296
|
country: string;
|
@@ -315,7 +318,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
315
318
|
acceptedAt: string;
|
316
319
|
createdByUserType?: "system" | "user" | null | undefined;
|
317
320
|
createdBySignature?: string | null | undefined;
|
318
|
-
createdAtLocation?: string | null | undefined;
|
321
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
319
322
|
} | null | undefined;
|
320
323
|
REGISTERED?: {
|
321
324
|
createdAt: string;
|
@@ -325,17 +328,17 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
325
328
|
acceptedAt: string;
|
326
329
|
createdByUserType?: "system" | "user" | null | undefined;
|
327
330
|
createdBySignature?: string | null | undefined;
|
328
|
-
createdAtLocation?: string | null | undefined;
|
331
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
329
332
|
} | null | undefined;
|
330
333
|
};
|
331
334
|
updatedByUserRole: string;
|
332
335
|
flags: string[];
|
333
336
|
createdByUserType?: "system" | "user" | null | undefined;
|
334
337
|
createdBySignature?: string | null | undefined;
|
335
|
-
createdAtLocation?: string | null | undefined;
|
338
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
336
339
|
assignedTo?: string | null | undefined;
|
337
340
|
dateOfEvent?: string | null | undefined;
|
338
|
-
updatedAtLocation?: string | null | undefined;
|
341
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
339
342
|
updatedBy?: string | null | undefined;
|
340
343
|
}, {
|
341
344
|
type: string;
|
@@ -370,8 +373,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
370
373
|
surname: string;
|
371
374
|
middlename?: string | undefined;
|
372
375
|
} | {
|
373
|
-
firstname
|
374
|
-
surname
|
376
|
+
firstname?: string | null | undefined;
|
377
|
+
surname?: string | null | undefined;
|
375
378
|
middlename?: string | null | undefined;
|
376
379
|
} | {
|
377
380
|
country: string;
|
@@ -494,15 +497,25 @@ export declare const Range: z.ZodObject<{
|
|
494
497
|
gte: string;
|
495
498
|
lte: string;
|
496
499
|
}>;
|
497
|
-
export declare const
|
498
|
-
|
499
|
-
|
500
|
+
export declare const ContainsFlags: z.ZodObject<{
|
501
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
502
|
+
readonly PRINTED: "printed";
|
503
|
+
readonly INCOMPLETE: "incomplete";
|
504
|
+
readonly REJECTED: "rejected";
|
505
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
506
|
+
}>]>, "many">>;
|
507
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
508
|
+
readonly PRINTED: "printed";
|
509
|
+
readonly INCOMPLETE: "incomplete";
|
510
|
+
readonly REJECTED: "rejected";
|
511
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
512
|
+
}>]>, "many">>;
|
500
513
|
}, "strip", z.ZodTypeAny, {
|
501
|
-
|
502
|
-
|
514
|
+
anyOf?: string[] | undefined;
|
515
|
+
noneOf?: string[] | undefined;
|
503
516
|
}, {
|
504
|
-
|
505
|
-
|
517
|
+
anyOf?: string[] | undefined;
|
518
|
+
noneOf?: string[] | undefined;
|
506
519
|
}>;
|
507
520
|
export declare const Within: z.ZodObject<{
|
508
521
|
type: z.ZodLiteral<"within">;
|
@@ -570,7 +583,7 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
|
|
570
583
|
lte: string;
|
571
584
|
}>]>;
|
572
585
|
export declare const QueryInput: ZodType;
|
573
|
-
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf
|
586
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
574
587
|
type QueryMap = {
|
575
588
|
[key: string]: BaseInput | QueryMap;
|
576
589
|
};
|
@@ -786,25 +799,26 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
786
799
|
type: "exact";
|
787
800
|
term: string;
|
788
801
|
}>>>;
|
789
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
790
|
-
|
791
|
-
|
802
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
803
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
804
|
+
readonly PRINTED: "printed";
|
805
|
+
readonly INCOMPLETE: "incomplete";
|
806
|
+
readonly REJECTED: "rejected";
|
807
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
808
|
+
}>]>, "many">>;
|
809
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
810
|
+
readonly PRINTED: "printed";
|
811
|
+
readonly INCOMPLETE: "incomplete";
|
812
|
+
readonly REJECTED: "rejected";
|
813
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
814
|
+
}>]>, "many">>;
|
792
815
|
}, "strip", z.ZodTypeAny, {
|
793
|
-
|
794
|
-
|
795
|
-
}, {
|
796
|
-
type: "anyOf";
|
797
|
-
terms: string[];
|
798
|
-
}>, z.ZodObject<{
|
799
|
-
type: z.ZodLiteral<"not">;
|
800
|
-
term: z.ZodString;
|
801
|
-
}, "strip", z.ZodTypeAny, {
|
802
|
-
type: "not";
|
803
|
-
term: string;
|
816
|
+
anyOf?: string[] | undefined;
|
817
|
+
noneOf?: string[] | undefined;
|
804
818
|
}, {
|
805
|
-
|
806
|
-
|
807
|
-
}
|
819
|
+
anyOf?: string[] | undefined;
|
820
|
+
noneOf?: string[] | undefined;
|
821
|
+
}>>>;
|
808
822
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
809
823
|
}, "strip", z.ZodTypeAny, {
|
810
824
|
id?: string | undefined;
|
@@ -863,13 +877,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
863
877
|
type: "exact";
|
864
878
|
term: string;
|
865
879
|
} | undefined;
|
866
|
-
flags?:
|
867
|
-
|
868
|
-
|
869
|
-
} |
|
870
|
-
type: "not";
|
871
|
-
term: string;
|
872
|
-
})[] | undefined;
|
880
|
+
flags?: {
|
881
|
+
anyOf?: string[] | undefined;
|
882
|
+
noneOf?: string[] | undefined;
|
883
|
+
} | undefined;
|
873
884
|
eventType?: string | undefined;
|
874
885
|
'legalStatus.REGISTERED.createdAt'?: {
|
875
886
|
type: "range";
|
@@ -947,13 +958,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
947
958
|
type: "exact";
|
948
959
|
term: string;
|
949
960
|
} | undefined;
|
950
|
-
flags?:
|
951
|
-
|
952
|
-
|
953
|
-
} |
|
954
|
-
type: "not";
|
955
|
-
term: string;
|
956
|
-
})[] | undefined;
|
961
|
+
flags?: {
|
962
|
+
anyOf?: string[] | undefined;
|
963
|
+
noneOf?: string[] | undefined;
|
964
|
+
} | undefined;
|
957
965
|
eventType?: string | undefined;
|
958
966
|
'legalStatus.REGISTERED.createdAt'?: {
|
959
967
|
type: "range";
|
@@ -1031,13 +1039,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1031
1039
|
type: "exact";
|
1032
1040
|
term: string;
|
1033
1041
|
} | undefined;
|
1034
|
-
flags?:
|
1035
|
-
|
1036
|
-
|
1037
|
-
} |
|
1038
|
-
type: "not";
|
1039
|
-
term: string;
|
1040
|
-
})[] | undefined;
|
1042
|
+
flags?: {
|
1043
|
+
anyOf?: string[] | undefined;
|
1044
|
+
noneOf?: string[] | undefined;
|
1045
|
+
} | undefined;
|
1041
1046
|
eventType?: string | undefined;
|
1042
1047
|
'legalStatus.REGISTERED.createdAt'?: {
|
1043
1048
|
type: "range";
|
@@ -1115,13 +1120,10 @@ export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
|
1115
1120
|
type: "exact";
|
1116
1121
|
term: string;
|
1117
1122
|
} | undefined;
|
1118
|
-
flags?:
|
1119
|
-
|
1120
|
-
|
1121
|
-
} |
|
1122
|
-
type: "not";
|
1123
|
-
term: string;
|
1124
|
-
})[] | undefined;
|
1123
|
+
flags?: {
|
1124
|
+
anyOf?: string[] | undefined;
|
1125
|
+
noneOf?: string[] | undefined;
|
1126
|
+
} | undefined;
|
1125
1127
|
eventType?: string | undefined;
|
1126
1128
|
'legalStatus.REGISTERED.createdAt'?: {
|
1127
1129
|
type: "range";
|
@@ -1356,25 +1358,26 @@ export declare const QueryType: z.ZodObject<{
|
|
1356
1358
|
type: "exact";
|
1357
1359
|
term: string;
|
1358
1360
|
}>>>;
|
1359
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1361
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1362
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1363
|
+
readonly PRINTED: "printed";
|
1364
|
+
readonly INCOMPLETE: "incomplete";
|
1365
|
+
readonly REJECTED: "rejected";
|
1366
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1367
|
+
}>]>, "many">>;
|
1368
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1369
|
+
readonly PRINTED: "printed";
|
1370
|
+
readonly INCOMPLETE: "incomplete";
|
1371
|
+
readonly REJECTED: "rejected";
|
1372
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1373
|
+
}>]>, "many">>;
|
1371
1374
|
}, "strip", z.ZodTypeAny, {
|
1372
|
-
|
1373
|
-
|
1375
|
+
anyOf?: string[] | undefined;
|
1376
|
+
noneOf?: string[] | undefined;
|
1374
1377
|
}, {
|
1375
|
-
|
1376
|
-
|
1377
|
-
}
|
1378
|
+
anyOf?: string[] | undefined;
|
1379
|
+
noneOf?: string[] | undefined;
|
1380
|
+
}>>>;
|
1378
1381
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1379
1382
|
}, "strip", z.ZodTypeAny, {
|
1380
1383
|
id?: string | undefined;
|
@@ -1433,13 +1436,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1433
1436
|
type: "exact";
|
1434
1437
|
term: string;
|
1435
1438
|
} | undefined;
|
1436
|
-
flags?:
|
1437
|
-
|
1438
|
-
|
1439
|
-
} |
|
1440
|
-
type: "not";
|
1441
|
-
term: string;
|
1442
|
-
})[] | undefined;
|
1439
|
+
flags?: {
|
1440
|
+
anyOf?: string[] | undefined;
|
1441
|
+
noneOf?: string[] | undefined;
|
1442
|
+
} | undefined;
|
1443
1443
|
eventType?: string | undefined;
|
1444
1444
|
'legalStatus.REGISTERED.createdAt'?: {
|
1445
1445
|
type: "range";
|
@@ -1517,13 +1517,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1517
1517
|
type: "exact";
|
1518
1518
|
term: string;
|
1519
1519
|
} | undefined;
|
1520
|
-
flags?:
|
1521
|
-
|
1522
|
-
|
1523
|
-
} |
|
1524
|
-
type: "not";
|
1525
|
-
term: string;
|
1526
|
-
})[] | undefined;
|
1520
|
+
flags?: {
|
1521
|
+
anyOf?: string[] | undefined;
|
1522
|
+
noneOf?: string[] | undefined;
|
1523
|
+
} | undefined;
|
1527
1524
|
eventType?: string | undefined;
|
1528
1525
|
'legalStatus.REGISTERED.createdAt'?: {
|
1529
1526
|
type: "range";
|
@@ -1601,13 +1598,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1601
1598
|
type: "exact";
|
1602
1599
|
term: string;
|
1603
1600
|
} | undefined;
|
1604
|
-
flags?:
|
1605
|
-
|
1606
|
-
|
1607
|
-
} |
|
1608
|
-
type: "not";
|
1609
|
-
term: string;
|
1610
|
-
})[] | undefined;
|
1601
|
+
flags?: {
|
1602
|
+
anyOf?: string[] | undefined;
|
1603
|
+
noneOf?: string[] | undefined;
|
1604
|
+
} | undefined;
|
1611
1605
|
eventType?: string | undefined;
|
1612
1606
|
'legalStatus.REGISTERED.createdAt'?: {
|
1613
1607
|
type: "range";
|
@@ -1685,13 +1679,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1685
1679
|
type: "exact";
|
1686
1680
|
term: string;
|
1687
1681
|
} | undefined;
|
1688
|
-
flags?:
|
1689
|
-
|
1690
|
-
|
1691
|
-
} |
|
1692
|
-
type: "not";
|
1693
|
-
term: string;
|
1694
|
-
})[] | undefined;
|
1682
|
+
flags?: {
|
1683
|
+
anyOf?: string[] | undefined;
|
1684
|
+
noneOf?: string[] | undefined;
|
1685
|
+
} | undefined;
|
1695
1686
|
eventType?: string | undefined;
|
1696
1687
|
'legalStatus.REGISTERED.createdAt'?: {
|
1697
1688
|
type: "range";
|
@@ -1769,13 +1760,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1769
1760
|
type: "exact";
|
1770
1761
|
term: string;
|
1771
1762
|
} | undefined;
|
1772
|
-
flags?:
|
1773
|
-
|
1774
|
-
|
1775
|
-
} |
|
1776
|
-
type: "not";
|
1777
|
-
term: string;
|
1778
|
-
})[] | undefined;
|
1763
|
+
flags?: {
|
1764
|
+
anyOf?: string[] | undefined;
|
1765
|
+
noneOf?: string[] | undefined;
|
1766
|
+
} | undefined;
|
1779
1767
|
eventType?: string | undefined;
|
1780
1768
|
'legalStatus.REGISTERED.createdAt'?: {
|
1781
1769
|
type: "range";
|
@@ -1853,13 +1841,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1853
1841
|
type: "exact";
|
1854
1842
|
term: string;
|
1855
1843
|
} | undefined;
|
1856
|
-
flags?:
|
1857
|
-
|
1858
|
-
|
1859
|
-
} |
|
1860
|
-
type: "not";
|
1861
|
-
term: string;
|
1862
|
-
})[] | undefined;
|
1844
|
+
flags?: {
|
1845
|
+
anyOf?: string[] | undefined;
|
1846
|
+
noneOf?: string[] | undefined;
|
1847
|
+
} | undefined;
|
1863
1848
|
eventType?: string | undefined;
|
1864
1849
|
'legalStatus.REGISTERED.createdAt'?: {
|
1865
1850
|
type: "range";
|
@@ -1940,13 +1925,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1940
1925
|
type: "exact";
|
1941
1926
|
term: string;
|
1942
1927
|
} | undefined;
|
1943
|
-
flags?:
|
1944
|
-
|
1945
|
-
|
1946
|
-
} |
|
1947
|
-
type: "not";
|
1948
|
-
term: string;
|
1949
|
-
})[] | undefined;
|
1928
|
+
flags?: {
|
1929
|
+
anyOf?: string[] | undefined;
|
1930
|
+
noneOf?: string[] | undefined;
|
1931
|
+
} | undefined;
|
1950
1932
|
eventType?: string | undefined;
|
1951
1933
|
'legalStatus.REGISTERED.createdAt'?: {
|
1952
1934
|
type: "range";
|
@@ -2024,13 +2006,10 @@ export declare const QueryType: z.ZodObject<{
|
|
2024
2006
|
type: "exact";
|
2025
2007
|
term: string;
|
2026
2008
|
} | undefined;
|
2027
|
-
flags?:
|
2028
|
-
|
2029
|
-
|
2030
|
-
} |
|
2031
|
-
type: "not";
|
2032
|
-
term: string;
|
2033
|
-
})[] | undefined;
|
2009
|
+
flags?: {
|
2010
|
+
anyOf?: string[] | undefined;
|
2011
|
+
noneOf?: string[] | undefined;
|
2012
|
+
} | undefined;
|
2034
2013
|
eventType?: string | undefined;
|
2035
2014
|
'legalStatus.REGISTERED.createdAt'?: {
|
2036
2015
|
type: "range";
|
@@ -2058,5 +2037,10 @@ export declare const QueryType: z.ZodObject<{
|
|
2058
2037
|
}>;
|
2059
2038
|
export type QueryType = z.infer<typeof QueryType>;
|
2060
2039
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
2040
|
+
export declare const SearchScopeAccessLevels: {
|
2041
|
+
readonly MY_JURISDICTION: "my-jurisdiction";
|
2042
|
+
readonly ALL: "all";
|
2043
|
+
};
|
2044
|
+
export type SearchScopeAccessLevels = (typeof SearchScopeAccessLevels)[keyof typeof SearchScopeAccessLevels];
|
2061
2045
|
export {};
|
2062
2046
|
//# sourceMappingURL=EventIndex.d.ts.map
|