@opencrvs/toolkit 1.8.0-rc.f8296f8 → 1.8.0-rc.f84146e
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 +2944 -1117
- package/dist/commons/conditionals/conditionals.d.ts +6 -2
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +24179 -11127
- package/dist/commons/events/ActionDocument.d.ts +1818 -414
- package/dist/commons/events/ActionInput.d.ts +1504 -304
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +75 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +1 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
- package/dist/commons/events/Draft.d.ts +129 -33
- package/dist/commons/events/EventConfig.d.ts +12161 -5927
- package/dist/commons/events/EventDocument.d.ts +1162 -298
- package/dist/commons/events/EventIndex.d.ts +284 -31
- package/dist/commons/events/EventMetadata.d.ts +57 -57
- package/dist/commons/events/FieldConfig.d.ts +2074 -1202
- package/dist/commons/events/FieldType.d.ts +4 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
- package/dist/commons/events/FieldValue.d.ts +43 -5
- package/dist/commons/events/FormConfig.d.ts +10259 -4769
- package/dist/commons/events/PageConfig.d.ts +3480 -2134
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/WorkqueueConfig.d.ts +297 -19
- package/dist/commons/events/defineConfig.d.ts +1724 -701
- package/dist/commons/events/field.d.ts +5 -10
- package/dist/commons/events/test.utils.d.ts +125 -40
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +10015 -331
- package/dist/conditionals/index.js +26 -6
- package/dist/events/index.js +760 -491
- package/package.json +1 -1
@@ -1,43 +1,38 @@
|
|
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
|
-
status: z.
|
6
|
-
readonly CREATED: "CREATED";
|
7
|
-
readonly NOTIFIED: "NOTIFIED";
|
8
|
-
readonly DECLARED: "DECLARED";
|
9
|
-
readonly VALIDATED: "VALIDATED";
|
10
|
-
readonly REGISTERED: "REGISTERED";
|
11
|
-
readonly CERTIFIED: "CERTIFIED";
|
12
|
-
readonly REJECTED: "REJECTED";
|
13
|
-
readonly ARCHIVED: "ARCHIVED";
|
14
|
-
}>;
|
5
|
+
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
15
6
|
legalStatuses: z.ZodObject<{
|
16
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
17
8
|
createdAt: z.ZodString;
|
18
9
|
createdBy: z.ZodString;
|
19
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
10
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
20
11
|
acceptedAt: z.ZodString;
|
21
12
|
createdByRole: z.ZodString;
|
13
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22
14
|
}, "strip", z.ZodTypeAny, {
|
23
15
|
createdAt: string;
|
24
16
|
createdBy: string;
|
25
17
|
createdByRole: string;
|
26
18
|
acceptedAt: string;
|
27
|
-
|
19
|
+
createdBySignature?: string | null | undefined;
|
20
|
+
createdAtLocation?: string | null | undefined;
|
28
21
|
}, {
|
29
22
|
createdAt: string;
|
30
23
|
createdBy: string;
|
31
24
|
createdByRole: string;
|
32
25
|
acceptedAt: string;
|
26
|
+
createdBySignature?: string | null | undefined;
|
33
27
|
createdAtLocation?: string | null | undefined;
|
34
28
|
}>>>;
|
35
29
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
36
30
|
createdAt: z.ZodString;
|
37
31
|
createdBy: z.ZodString;
|
38
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
32
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
39
33
|
acceptedAt: z.ZodString;
|
40
34
|
createdByRole: z.ZodString;
|
35
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
41
36
|
}, {
|
42
37
|
registrationNumber: z.ZodString;
|
43
38
|
}>, "strip", z.ZodTypeAny, {
|
@@ -46,13 +41,15 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
46
41
|
createdByRole: string;
|
47
42
|
registrationNumber: string;
|
48
43
|
acceptedAt: string;
|
49
|
-
|
44
|
+
createdBySignature?: string | null | undefined;
|
45
|
+
createdAtLocation?: string | null | undefined;
|
50
46
|
}, {
|
51
47
|
createdAt: string;
|
52
48
|
createdBy: string;
|
53
49
|
createdByRole: string;
|
54
50
|
registrationNumber: string;
|
55
51
|
acceptedAt: string;
|
52
|
+
createdBySignature?: string | null | undefined;
|
56
53
|
createdAtLocation?: string | null | undefined;
|
57
54
|
}>>>;
|
58
55
|
}, "strip", z.ZodTypeAny, {
|
@@ -61,7 +58,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
61
58
|
createdBy: string;
|
62
59
|
createdByRole: string;
|
63
60
|
acceptedAt: string;
|
64
|
-
|
61
|
+
createdBySignature?: string | null | undefined;
|
62
|
+
createdAtLocation?: string | null | undefined;
|
65
63
|
} | null | undefined;
|
66
64
|
REGISTERED?: {
|
67
65
|
createdAt: string;
|
@@ -69,7 +67,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
69
67
|
createdByRole: string;
|
70
68
|
registrationNumber: string;
|
71
69
|
acceptedAt: string;
|
72
|
-
|
70
|
+
createdBySignature?: string | null | undefined;
|
71
|
+
createdAtLocation?: string | null | undefined;
|
73
72
|
} | null | undefined;
|
74
73
|
}, {
|
75
74
|
DECLARED?: {
|
@@ -77,6 +76,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
77
76
|
createdBy: string;
|
78
77
|
createdByRole: string;
|
79
78
|
acceptedAt: string;
|
79
|
+
createdBySignature?: string | null | undefined;
|
80
80
|
createdAtLocation?: string | null | undefined;
|
81
81
|
} | null | undefined;
|
82
82
|
REGISTERED?: {
|
@@ -85,6 +85,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
85
|
createdByRole: string;
|
86
86
|
registrationNumber: string;
|
87
87
|
acceptedAt: string;
|
88
|
+
createdBySignature?: string | null | undefined;
|
88
89
|
createdAtLocation?: string | null | undefined;
|
89
90
|
} | null | undefined;
|
90
91
|
}>;
|
@@ -92,9 +93,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
92
93
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
93
94
|
createdBy: z.ZodString;
|
94
95
|
updatedByUserRole: z.ZodString;
|
95
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
96
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
97
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
|
-
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.
|
98
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
98
99
|
updatedAt: z.ZodString;
|
99
100
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
100
101
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -216,10 +217,34 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
216
217
|
addressLine2?: string | undefined;
|
217
218
|
addressLine3?: string | undefined;
|
218
219
|
postcodeOrZip?: string | undefined;
|
219
|
-
}
|
220
|
+
}>, z.ZodObject<{
|
221
|
+
firstname: z.ZodString;
|
222
|
+
surname: z.ZodString;
|
223
|
+
middlename: z.ZodOptional<z.ZodString>;
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
225
|
+
firstname: string;
|
226
|
+
surname: string;
|
227
|
+
middlename?: string | undefined;
|
228
|
+
}, {
|
229
|
+
firstname: string;
|
230
|
+
surname: string;
|
231
|
+
middlename?: string | undefined;
|
232
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
233
|
+
firstname: z.ZodString;
|
234
|
+
surname: z.ZodString;
|
235
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
237
|
+
firstname: string;
|
238
|
+
surname: string;
|
239
|
+
middlename?: string | null | undefined;
|
240
|
+
}, {
|
241
|
+
firstname: string;
|
242
|
+
surname: string;
|
243
|
+
middlename?: string | null | undefined;
|
244
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
220
245
|
}>, "strip", z.ZodTypeAny, {
|
221
246
|
type: string;
|
222
|
-
id: string
|
247
|
+
id: string;
|
223
248
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
224
249
|
createdAt: string;
|
225
250
|
createdBy: string;
|
@@ -245,6 +270,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
245
270
|
province: string;
|
246
271
|
urbanOrRural: "RURAL";
|
247
272
|
village?: string | undefined;
|
273
|
+
} | {
|
274
|
+
firstname: string;
|
275
|
+
surname: string;
|
276
|
+
middlename?: string | undefined;
|
277
|
+
} | {
|
278
|
+
firstname: string;
|
279
|
+
surname: string;
|
280
|
+
middlename?: string | null | undefined;
|
248
281
|
} | {
|
249
282
|
country: string;
|
250
283
|
state: string;
|
@@ -260,7 +293,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
260
293
|
option: string;
|
261
294
|
filename: string;
|
262
295
|
originalFilename: string;
|
263
|
-
}[] | [string, string] | undefined>;
|
296
|
+
}[] | [string, string] | null | undefined>;
|
264
297
|
updatedAt: string;
|
265
298
|
trackingId: string;
|
266
299
|
legalStatuses: {
|
@@ -269,7 +302,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
269
302
|
createdBy: string;
|
270
303
|
createdByRole: string;
|
271
304
|
acceptedAt: string;
|
272
|
-
|
305
|
+
createdBySignature?: string | null | undefined;
|
306
|
+
createdAtLocation?: string | null | undefined;
|
273
307
|
} | null | undefined;
|
274
308
|
REGISTERED?: {
|
275
309
|
createdAt: string;
|
@@ -277,16 +311,17 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
277
311
|
createdByRole: string;
|
278
312
|
registrationNumber: string;
|
279
313
|
acceptedAt: string;
|
280
|
-
|
314
|
+
createdBySignature?: string | null | undefined;
|
315
|
+
createdAtLocation?: string | null | undefined;
|
281
316
|
} | null | undefined;
|
282
317
|
};
|
283
318
|
updatedByUserRole: string;
|
284
319
|
flags: string[];
|
285
320
|
createdBySignature?: string | null | undefined;
|
286
|
-
createdAtLocation?:
|
321
|
+
createdAtLocation?: string | null | undefined;
|
287
322
|
assignedTo?: string | null | undefined;
|
288
323
|
dateOfEvent?: string | null | undefined;
|
289
|
-
updatedAtLocation?:
|
324
|
+
updatedAtLocation?: string | null | undefined;
|
290
325
|
updatedBy?: string | null | undefined;
|
291
326
|
}, {
|
292
327
|
type: string;
|
@@ -316,6 +351,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
316
351
|
province: string;
|
317
352
|
urbanOrRural: "RURAL";
|
318
353
|
village?: string | undefined;
|
354
|
+
} | {
|
355
|
+
firstname: string;
|
356
|
+
surname: string;
|
357
|
+
middlename?: string | undefined;
|
358
|
+
} | {
|
359
|
+
firstname: string;
|
360
|
+
surname: string;
|
361
|
+
middlename?: string | null | undefined;
|
319
362
|
} | {
|
320
363
|
country: string;
|
321
364
|
state: string;
|
@@ -331,7 +374,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
331
374
|
option: string;
|
332
375
|
filename: string;
|
333
376
|
originalFilename: string;
|
334
|
-
}[] | [string, string] | undefined>;
|
377
|
+
}[] | [string, string] | null | undefined>;
|
335
378
|
updatedAt: string;
|
336
379
|
trackingId: string;
|
337
380
|
legalStatuses: {
|
@@ -340,6 +383,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
340
383
|
createdBy: string;
|
341
384
|
createdByRole: string;
|
342
385
|
acceptedAt: string;
|
386
|
+
createdBySignature?: string | null | undefined;
|
343
387
|
createdAtLocation?: string | null | undefined;
|
344
388
|
} | null | undefined;
|
345
389
|
REGISTERED?: {
|
@@ -348,6 +392,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
348
392
|
createdByRole: string;
|
349
393
|
registrationNumber: string;
|
350
394
|
acceptedAt: string;
|
395
|
+
createdBySignature?: string | null | undefined;
|
351
396
|
createdAtLocation?: string | null | undefined;
|
352
397
|
} | null | undefined;
|
353
398
|
};
|
@@ -586,6 +631,16 @@ export declare const QueryExpression: z.ZodObject<{
|
|
586
631
|
type: "exact";
|
587
632
|
term: string;
|
588
633
|
}>]>>>;
|
634
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
635
|
+
type: z.ZodLiteral<"exact">;
|
636
|
+
term: z.ZodString;
|
637
|
+
}, "strip", z.ZodTypeAny, {
|
638
|
+
type: "exact";
|
639
|
+
term: string;
|
640
|
+
}, {
|
641
|
+
type: "exact";
|
642
|
+
term: string;
|
643
|
+
}>>>;
|
589
644
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
590
645
|
type: z.ZodLiteral<"within">;
|
591
646
|
location: z.ZodString;
|
@@ -762,6 +817,10 @@ export declare const QueryExpression: z.ZodObject<{
|
|
762
817
|
type: "within";
|
763
818
|
location: string;
|
764
819
|
} | undefined;
|
820
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
821
|
+
type: "exact";
|
822
|
+
term: string;
|
823
|
+
} | undefined;
|
765
824
|
}, {
|
766
825
|
status?: {
|
767
826
|
type: "exact";
|
@@ -840,6 +899,10 @@ export declare const QueryExpression: z.ZodObject<{
|
|
840
899
|
type: "within";
|
841
900
|
location: string;
|
842
901
|
} | undefined;
|
902
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
903
|
+
type: "exact";
|
904
|
+
term: string;
|
905
|
+
} | undefined;
|
843
906
|
}>;
|
844
907
|
export declare const QueryType: z.ZodObject<{
|
845
908
|
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
@@ -949,6 +1012,16 @@ export declare const QueryType: z.ZodObject<{
|
|
949
1012
|
type: "exact";
|
950
1013
|
term: string;
|
951
1014
|
}>]>>>;
|
1015
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1016
|
+
type: z.ZodLiteral<"exact">;
|
1017
|
+
term: z.ZodString;
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
1019
|
+
type: "exact";
|
1020
|
+
term: string;
|
1021
|
+
}, {
|
1022
|
+
type: "exact";
|
1023
|
+
term: string;
|
1024
|
+
}>>>;
|
952
1025
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
953
1026
|
type: z.ZodLiteral<"within">;
|
954
1027
|
location: z.ZodString;
|
@@ -1125,6 +1198,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1125
1198
|
type: "within";
|
1126
1199
|
location: string;
|
1127
1200
|
} | undefined;
|
1201
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1202
|
+
type: "exact";
|
1203
|
+
term: string;
|
1204
|
+
} | undefined;
|
1128
1205
|
}, {
|
1129
1206
|
status?: {
|
1130
1207
|
type: "exact";
|
@@ -1203,7 +1280,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1203
1280
|
type: "within";
|
1204
1281
|
location: string;
|
1205
1282
|
} | undefined;
|
1206
|
-
|
1283
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1284
|
+
type: "exact";
|
1285
|
+
term: string;
|
1286
|
+
} | undefined;
|
1287
|
+
}>, "atleastone">, [{
|
1207
1288
|
status?: {
|
1208
1289
|
type: "exact";
|
1209
1290
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1281,10 +1362,96 @@ export declare const QueryType: z.ZodObject<{
|
|
1281
1362
|
type: "within";
|
1282
1363
|
location: string;
|
1283
1364
|
} | undefined;
|
1284
|
-
|
1365
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1366
|
+
type: "exact";
|
1367
|
+
term: string;
|
1368
|
+
} | undefined;
|
1369
|
+
}, ...{
|
1370
|
+
status?: {
|
1371
|
+
type: "exact";
|
1372
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1373
|
+
} | {
|
1374
|
+
type: "anyOf";
|
1375
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1376
|
+
} | undefined;
|
1377
|
+
data?: any;
|
1378
|
+
createdAt?: {
|
1379
|
+
type: "exact";
|
1380
|
+
term: string;
|
1381
|
+
} | {
|
1382
|
+
type: "range";
|
1383
|
+
gte: string;
|
1384
|
+
lte: string;
|
1385
|
+
} | undefined;
|
1386
|
+
createdBy?: {
|
1387
|
+
type: "exact";
|
1388
|
+
term: string;
|
1389
|
+
} | undefined;
|
1390
|
+
createdAtLocation?: {
|
1391
|
+
type: "exact";
|
1392
|
+
term: string;
|
1393
|
+
} | {
|
1394
|
+
type: "within";
|
1395
|
+
location: string;
|
1396
|
+
} | undefined;
|
1397
|
+
assignedTo?: {
|
1398
|
+
type: "exact";
|
1399
|
+
term: string;
|
1400
|
+
} | undefined;
|
1401
|
+
updatedAt?: {
|
1402
|
+
type: "exact";
|
1403
|
+
term: string;
|
1404
|
+
} | {
|
1405
|
+
type: "range";
|
1406
|
+
gte: string;
|
1407
|
+
lte: string;
|
1408
|
+
} | undefined;
|
1409
|
+
trackingId?: {
|
1410
|
+
type: "exact";
|
1411
|
+
term: string;
|
1412
|
+
} | undefined;
|
1413
|
+
updatedAtLocation?: {
|
1414
|
+
type: "exact";
|
1415
|
+
term: string;
|
1416
|
+
} | {
|
1417
|
+
type: "within";
|
1418
|
+
location: string;
|
1419
|
+
} | undefined;
|
1420
|
+
updatedBy?: {
|
1421
|
+
type: "exact";
|
1422
|
+
term: string;
|
1423
|
+
} | undefined;
|
1424
|
+
flags?: ({
|
1425
|
+
type: "anyOf";
|
1426
|
+
terms: string[];
|
1427
|
+
} | {
|
1428
|
+
type: "not";
|
1429
|
+
term: string;
|
1430
|
+
})[] | undefined;
|
1431
|
+
eventType?: string | undefined;
|
1432
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1433
|
+
type: "exact";
|
1434
|
+
term: string;
|
1435
|
+
} | {
|
1436
|
+
type: "range";
|
1437
|
+
gte: string;
|
1438
|
+
lte: string;
|
1439
|
+
} | undefined;
|
1440
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1441
|
+
type: "exact";
|
1442
|
+
term: string;
|
1443
|
+
} | {
|
1444
|
+
type: "within";
|
1445
|
+
location: string;
|
1446
|
+
} | undefined;
|
1447
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1448
|
+
type: "exact";
|
1449
|
+
term: string;
|
1450
|
+
} | undefined;
|
1451
|
+
}[]], unknown>;
|
1285
1452
|
}, "strip", z.ZodTypeAny, {
|
1286
1453
|
type: "and" | "or";
|
1287
|
-
clauses: {
|
1454
|
+
clauses: [{
|
1288
1455
|
status?: {
|
1289
1456
|
type: "exact";
|
1290
1457
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1362,7 +1529,93 @@ export declare const QueryType: z.ZodObject<{
|
|
1362
1529
|
type: "within";
|
1363
1530
|
location: string;
|
1364
1531
|
} | undefined;
|
1365
|
-
|
1532
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1533
|
+
type: "exact";
|
1534
|
+
term: string;
|
1535
|
+
} | undefined;
|
1536
|
+
}, ...{
|
1537
|
+
status?: {
|
1538
|
+
type: "exact";
|
1539
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1540
|
+
} | {
|
1541
|
+
type: "anyOf";
|
1542
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1543
|
+
} | undefined;
|
1544
|
+
data?: any;
|
1545
|
+
createdAt?: {
|
1546
|
+
type: "exact";
|
1547
|
+
term: string;
|
1548
|
+
} | {
|
1549
|
+
type: "range";
|
1550
|
+
gte: string;
|
1551
|
+
lte: string;
|
1552
|
+
} | undefined;
|
1553
|
+
createdBy?: {
|
1554
|
+
type: "exact";
|
1555
|
+
term: string;
|
1556
|
+
} | undefined;
|
1557
|
+
createdAtLocation?: {
|
1558
|
+
type: "exact";
|
1559
|
+
term: string;
|
1560
|
+
} | {
|
1561
|
+
type: "within";
|
1562
|
+
location: string;
|
1563
|
+
} | undefined;
|
1564
|
+
assignedTo?: {
|
1565
|
+
type: "exact";
|
1566
|
+
term: string;
|
1567
|
+
} | undefined;
|
1568
|
+
updatedAt?: {
|
1569
|
+
type: "exact";
|
1570
|
+
term: string;
|
1571
|
+
} | {
|
1572
|
+
type: "range";
|
1573
|
+
gte: string;
|
1574
|
+
lte: string;
|
1575
|
+
} | undefined;
|
1576
|
+
trackingId?: {
|
1577
|
+
type: "exact";
|
1578
|
+
term: string;
|
1579
|
+
} | undefined;
|
1580
|
+
updatedAtLocation?: {
|
1581
|
+
type: "exact";
|
1582
|
+
term: string;
|
1583
|
+
} | {
|
1584
|
+
type: "within";
|
1585
|
+
location: string;
|
1586
|
+
} | undefined;
|
1587
|
+
updatedBy?: {
|
1588
|
+
type: "exact";
|
1589
|
+
term: string;
|
1590
|
+
} | undefined;
|
1591
|
+
flags?: ({
|
1592
|
+
type: "anyOf";
|
1593
|
+
terms: string[];
|
1594
|
+
} | {
|
1595
|
+
type: "not";
|
1596
|
+
term: string;
|
1597
|
+
})[] | undefined;
|
1598
|
+
eventType?: string | undefined;
|
1599
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1600
|
+
type: "exact";
|
1601
|
+
term: string;
|
1602
|
+
} | {
|
1603
|
+
type: "range";
|
1604
|
+
gte: string;
|
1605
|
+
lte: string;
|
1606
|
+
} | undefined;
|
1607
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1608
|
+
type: "exact";
|
1609
|
+
term: string;
|
1610
|
+
} | {
|
1611
|
+
type: "within";
|
1612
|
+
location: string;
|
1613
|
+
} | undefined;
|
1614
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1615
|
+
type: "exact";
|
1616
|
+
term: string;
|
1617
|
+
} | undefined;
|
1618
|
+
}[]];
|
1366
1619
|
}, {
|
1367
1620
|
type: "and" | "or";
|
1368
1621
|
clauses?: unknown;
|