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