@opencrvs/toolkit 1.8.0-rc.fb5b9fe → 1.8.0-rc.fb8e005
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 +5924 -8783
- package/dist/commons/conditionals/conditionals.d.ts +4 -0
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +21534 -6326
- package/dist/commons/events/ActionDocument.d.ts +1783 -280
- package/dist/commons/events/ActionInput.d.ts +1382 -182
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +1 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1161 -413
- package/dist/commons/events/Draft.d.ts +118 -17
- package/dist/commons/events/EventConfig.d.ts +11557 -4116
- package/dist/commons/events/EventDocument.d.ts +1144 -205
- package/dist/commons/events/EventIndex.d.ts +839 -185
- package/dist/commons/events/EventMetadata.d.ts +52 -40
- package/dist/commons/events/FieldConfig.d.ts +1896 -872
- package/dist/commons/events/FieldType.d.ts +4 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +89 -50
- package/dist/commons/events/FieldValue.d.ts +41 -5
- package/dist/commons/events/FormConfig.d.ts +8840 -2444
- package/dist/commons/events/PageConfig.d.ts +3104 -1540
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +4460 -1685
- package/dist/commons/events/defineConfig.d.ts +1279 -17
- package/dist/commons/events/field.d.ts +9 -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 +146 -38
- package/dist/commons/events/utils.d.ts +10117 -10
- package/dist/conditionals/index.js +38 -18
- package/dist/events/index.js +1718 -1057
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +3 -3
@@ -2,21 +2,13 @@ import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
3
|
id: z.ZodBranded<z.ZodString, "UUID">;
|
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
10
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
11
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
20
12
|
acceptedAt: z.ZodString;
|
21
13
|
createdByRole: z.ZodString;
|
22
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -25,6 +17,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
25
17
|
createdBy: string;
|
26
18
|
createdByRole: string;
|
27
19
|
acceptedAt: string;
|
20
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
28
21
|
createdBySignature?: string | null | undefined;
|
29
22
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
30
23
|
}, {
|
@@ -32,6 +25,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
32
25
|
createdBy: string;
|
33
26
|
createdByRole: string;
|
34
27
|
acceptedAt: string;
|
28
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
35
29
|
createdBySignature?: string | null | undefined;
|
36
30
|
createdAtLocation?: string | null | undefined;
|
37
31
|
}>>>;
|
@@ -39,6 +33,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
39
33
|
createdAt: z.ZodString;
|
40
34
|
createdBy: z.ZodString;
|
41
35
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
36
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
42
37
|
acceptedAt: z.ZodString;
|
43
38
|
createdByRole: z.ZodString;
|
44
39
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -50,6 +45,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
50
45
|
createdByRole: string;
|
51
46
|
registrationNumber: string;
|
52
47
|
acceptedAt: string;
|
48
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
53
49
|
createdBySignature?: string | null | undefined;
|
54
50
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
55
51
|
}, {
|
@@ -58,6 +54,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
58
54
|
createdByRole: string;
|
59
55
|
registrationNumber: string;
|
60
56
|
acceptedAt: string;
|
57
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
61
58
|
createdBySignature?: string | null | undefined;
|
62
59
|
createdAtLocation?: string | null | undefined;
|
63
60
|
}>>>;
|
@@ -67,6 +64,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
67
64
|
createdBy: string;
|
68
65
|
createdByRole: string;
|
69
66
|
acceptedAt: string;
|
67
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
70
68
|
createdBySignature?: string | null | undefined;
|
71
69
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
72
70
|
} | null | undefined;
|
@@ -76,6 +74,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
76
74
|
createdByRole: string;
|
77
75
|
registrationNumber: string;
|
78
76
|
acceptedAt: string;
|
77
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
79
78
|
createdBySignature?: string | null | undefined;
|
80
79
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
81
80
|
} | null | undefined;
|
@@ -85,6 +84,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
84
|
createdBy: string;
|
86
85
|
createdByRole: string;
|
87
86
|
acceptedAt: string;
|
87
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
88
88
|
createdBySignature?: string | null | undefined;
|
89
89
|
createdAtLocation?: string | null | undefined;
|
90
90
|
} | null | undefined;
|
@@ -94,6 +94,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
94
94
|
createdByRole: string;
|
95
95
|
registrationNumber: string;
|
96
96
|
acceptedAt: string;
|
97
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
97
98
|
createdBySignature?: string | null | undefined;
|
98
99
|
createdAtLocation?: string | null | undefined;
|
99
100
|
} | null | undefined;
|
@@ -101,6 +102,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
101
102
|
createdAt: z.ZodString;
|
102
103
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
103
104
|
createdBy: z.ZodString;
|
105
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
104
106
|
updatedByUserRole: z.ZodString;
|
105
107
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
106
108
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -110,7 +112,10 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
110
112
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
111
113
|
trackingId: z.ZodString;
|
112
114
|
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
113
|
-
readonly
|
115
|
+
readonly PRINTED: "printed";
|
116
|
+
readonly INCOMPLETE: "incomplete";
|
117
|
+
readonly REJECTED: "rejected";
|
118
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
114
119
|
}>]>, "many">;
|
115
120
|
}, {
|
116
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<{
|
@@ -226,7 +231,31 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
226
231
|
addressLine2?: string | undefined;
|
227
232
|
addressLine3?: string | undefined;
|
228
233
|
postcodeOrZip?: string | undefined;
|
229
|
-
}
|
234
|
+
}>, z.ZodObject<{
|
235
|
+
firstname: z.ZodString;
|
236
|
+
surname: z.ZodString;
|
237
|
+
middlename: z.ZodOptional<z.ZodString>;
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
239
|
+
firstname: string;
|
240
|
+
surname: string;
|
241
|
+
middlename?: string | undefined;
|
242
|
+
}, {
|
243
|
+
firstname: string;
|
244
|
+
surname: string;
|
245
|
+
middlename?: string | undefined;
|
246
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
247
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
248
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
249
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
251
|
+
firstname?: string | null | undefined;
|
252
|
+
surname?: string | null | undefined;
|
253
|
+
middlename?: string | null | undefined;
|
254
|
+
}, {
|
255
|
+
firstname?: string | null | undefined;
|
256
|
+
surname?: string | null | undefined;
|
257
|
+
middlename?: string | null | undefined;
|
258
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
230
259
|
}>, "strip", z.ZodTypeAny, {
|
231
260
|
type: string;
|
232
261
|
id: string & z.BRAND<"UUID">;
|
@@ -255,6 +284,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
255
284
|
province: string;
|
256
285
|
urbanOrRural: "RURAL";
|
257
286
|
village?: string | undefined;
|
287
|
+
} | {
|
288
|
+
firstname: string;
|
289
|
+
surname: string;
|
290
|
+
middlename?: string | undefined;
|
291
|
+
} | {
|
292
|
+
firstname?: string | null | undefined;
|
293
|
+
surname?: string | null | undefined;
|
294
|
+
middlename?: string | null | undefined;
|
258
295
|
} | {
|
259
296
|
country: string;
|
260
297
|
state: string;
|
@@ -270,7 +307,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
270
307
|
option: string;
|
271
308
|
filename: string;
|
272
309
|
originalFilename: string;
|
273
|
-
}[] | [string, string] | undefined>;
|
310
|
+
}[] | [string, string] | null | undefined>;
|
274
311
|
updatedAt: string;
|
275
312
|
trackingId: string;
|
276
313
|
legalStatuses: {
|
@@ -279,6 +316,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
279
316
|
createdBy: string;
|
280
317
|
createdByRole: string;
|
281
318
|
acceptedAt: string;
|
319
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
282
320
|
createdBySignature?: string | null | undefined;
|
283
321
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
284
322
|
} | null | undefined;
|
@@ -288,12 +326,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
288
326
|
createdByRole: string;
|
289
327
|
registrationNumber: string;
|
290
328
|
acceptedAt: string;
|
329
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
291
330
|
createdBySignature?: string | null | undefined;
|
292
331
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
293
332
|
} | null | undefined;
|
294
333
|
};
|
295
334
|
updatedByUserRole: string;
|
296
335
|
flags: string[];
|
336
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
297
337
|
createdBySignature?: string | null | undefined;
|
298
338
|
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
299
339
|
assignedTo?: string | null | undefined;
|
@@ -328,6 +368,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
328
368
|
province: string;
|
329
369
|
urbanOrRural: "RURAL";
|
330
370
|
village?: string | undefined;
|
371
|
+
} | {
|
372
|
+
firstname: string;
|
373
|
+
surname: string;
|
374
|
+
middlename?: string | undefined;
|
375
|
+
} | {
|
376
|
+
firstname?: string | null | undefined;
|
377
|
+
surname?: string | null | undefined;
|
378
|
+
middlename?: string | null | undefined;
|
331
379
|
} | {
|
332
380
|
country: string;
|
333
381
|
state: string;
|
@@ -343,7 +391,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
343
391
|
option: string;
|
344
392
|
filename: string;
|
345
393
|
originalFilename: string;
|
346
|
-
}[] | [string, string] | undefined>;
|
394
|
+
}[] | [string, string] | null | undefined>;
|
347
395
|
updatedAt: string;
|
348
396
|
trackingId: string;
|
349
397
|
legalStatuses: {
|
@@ -352,6 +400,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
352
400
|
createdBy: string;
|
353
401
|
createdByRole: string;
|
354
402
|
acceptedAt: string;
|
403
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
355
404
|
createdBySignature?: string | null | undefined;
|
356
405
|
createdAtLocation?: string | null | undefined;
|
357
406
|
} | null | undefined;
|
@@ -361,12 +410,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
361
410
|
createdByRole: string;
|
362
411
|
registrationNumber: string;
|
363
412
|
acceptedAt: string;
|
413
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
364
414
|
createdBySignature?: string | null | undefined;
|
365
415
|
createdAtLocation?: string | null | undefined;
|
366
416
|
} | null | undefined;
|
367
417
|
};
|
368
418
|
updatedByUserRole: string;
|
369
419
|
flags: string[];
|
420
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
370
421
|
createdBySignature?: string | null | undefined;
|
371
422
|
createdAtLocation?: string | null | undefined;
|
372
423
|
assignedTo?: string | null | undefined;
|
@@ -403,16 +454,6 @@ export declare const Exact: z.ZodObject<{
|
|
403
454
|
type: "exact";
|
404
455
|
term: string;
|
405
456
|
}>;
|
406
|
-
export declare const AnyOf: z.ZodObject<{
|
407
|
-
type: z.ZodLiteral<"anyOf">;
|
408
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
409
|
-
}, "strip", z.ZodTypeAny, {
|
410
|
-
type: "anyOf";
|
411
|
-
terms: string[];
|
412
|
-
}, {
|
413
|
-
type: "anyOf";
|
414
|
-
terms: string[];
|
415
|
-
}>;
|
416
457
|
export declare const ExactStatus: z.ZodObject<{
|
417
458
|
type: z.ZodLiteral<"exact">;
|
418
459
|
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
@@ -423,6 +464,16 @@ export declare const ExactStatus: z.ZodObject<{
|
|
423
464
|
type: "exact";
|
424
465
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
425
466
|
}>;
|
467
|
+
export declare const AnyOf: z.ZodObject<{
|
468
|
+
type: z.ZodLiteral<"anyOf">;
|
469
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
470
|
+
}, "strip", z.ZodTypeAny, {
|
471
|
+
type: "anyOf";
|
472
|
+
terms: string[];
|
473
|
+
}, {
|
474
|
+
type: "anyOf";
|
475
|
+
terms: string[];
|
476
|
+
}>;
|
426
477
|
export declare const AnyOfStatus: z.ZodObject<{
|
427
478
|
type: z.ZodLiteral<"anyOf">;
|
428
479
|
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
@@ -446,15 +497,25 @@ export declare const Range: z.ZodObject<{
|
|
446
497
|
gte: string;
|
447
498
|
lte: string;
|
448
499
|
}>;
|
449
|
-
export declare const
|
450
|
-
|
451
|
-
|
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">>;
|
452
513
|
}, "strip", z.ZodTypeAny, {
|
453
|
-
|
454
|
-
|
514
|
+
anyOf?: string[] | undefined;
|
515
|
+
noneOf?: string[] | undefined;
|
455
516
|
}, {
|
456
|
-
|
457
|
-
|
517
|
+
anyOf?: string[] | undefined;
|
518
|
+
noneOf?: string[] | undefined;
|
458
519
|
}>;
|
459
520
|
export declare const Within: z.ZodObject<{
|
460
521
|
type: z.ZodLiteral<"within">;
|
@@ -466,20 +527,53 @@ export declare const Within: z.ZodObject<{
|
|
466
527
|
type: "within";
|
467
528
|
location: string;
|
468
529
|
}>;
|
469
|
-
export declare const
|
530
|
+
export declare const RangeDate: z.ZodObject<z.objectUtil.extendShape<{
|
531
|
+
type: z.ZodLiteral<"range">;
|
532
|
+
gte: z.ZodString;
|
533
|
+
lte: z.ZodString;
|
534
|
+
}, {
|
535
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
536
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
537
|
+
}>, "strip", z.ZodTypeAny, {
|
538
|
+
type: "range";
|
539
|
+
gte: string;
|
540
|
+
lte: string;
|
541
|
+
}, {
|
542
|
+
type: "range";
|
543
|
+
gte: string;
|
544
|
+
lte: string;
|
545
|
+
}>;
|
546
|
+
export declare const ExactDate: z.ZodObject<z.objectUtil.extendShape<{
|
470
547
|
type: z.ZodLiteral<"exact">;
|
471
548
|
term: z.ZodString;
|
472
|
-
},
|
549
|
+
}, {
|
550
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
551
|
+
}>, "strip", z.ZodTypeAny, {
|
552
|
+
type: "exact";
|
553
|
+
term: string;
|
554
|
+
}, {
|
555
|
+
type: "exact";
|
556
|
+
term: string;
|
557
|
+
}>;
|
558
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
559
|
+
type: z.ZodLiteral<"exact">;
|
560
|
+
term: z.ZodString;
|
561
|
+
}, {
|
562
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
563
|
+
}>, "strip", z.ZodTypeAny, {
|
473
564
|
type: "exact";
|
474
565
|
term: string;
|
475
566
|
}, {
|
476
567
|
type: "exact";
|
477
568
|
term: string;
|
478
|
-
}>, z.ZodObject<{
|
569
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
479
570
|
type: z.ZodLiteral<"range">;
|
480
571
|
gte: z.ZodString;
|
481
572
|
lte: z.ZodString;
|
482
|
-
},
|
573
|
+
}, {
|
574
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
575
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
576
|
+
}>, "strip", z.ZodTypeAny, {
|
483
577
|
type: "range";
|
484
578
|
gte: string;
|
485
579
|
lte: string;
|
@@ -489,12 +583,13 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
|
489
583
|
lte: string;
|
490
584
|
}>]>;
|
491
585
|
export declare const QueryInput: ZodType;
|
492
|
-
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>;
|
493
587
|
type QueryMap = {
|
494
588
|
[key: string]: BaseInput | QueryMap;
|
495
589
|
};
|
496
590
|
export type QueryInputType = BaseInput | QueryMap;
|
497
|
-
export declare const QueryExpression: z.ZodObject<{
|
591
|
+
export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
592
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
498
593
|
eventType: z.ZodOptional<z.ZodString>;
|
499
594
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
500
595
|
type: z.ZodLiteral<"anyOf">;
|
@@ -515,20 +610,25 @@ export declare const QueryExpression: z.ZodObject<{
|
|
515
610
|
type: "exact";
|
516
611
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
517
612
|
}>]>>>;
|
518
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
613
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
519
614
|
type: z.ZodLiteral<"exact">;
|
520
615
|
term: z.ZodString;
|
521
|
-
},
|
616
|
+
}, {
|
617
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
618
|
+
}>, "strip", z.ZodTypeAny, {
|
522
619
|
type: "exact";
|
523
620
|
term: string;
|
524
621
|
}, {
|
525
622
|
type: "exact";
|
526
623
|
term: string;
|
527
|
-
}>, z.ZodObject<{
|
624
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
528
625
|
type: z.ZodLiteral<"range">;
|
529
626
|
gte: z.ZodString;
|
530
627
|
lte: z.ZodString;
|
531
|
-
},
|
628
|
+
}, {
|
629
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
630
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
631
|
+
}>, "strip", z.ZodTypeAny, {
|
532
632
|
type: "range";
|
533
633
|
gte: string;
|
534
634
|
lte: string;
|
@@ -537,20 +637,25 @@ export declare const QueryExpression: z.ZodObject<{
|
|
537
637
|
gte: string;
|
538
638
|
lte: string;
|
539
639
|
}>]>>>;
|
540
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
640
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
541
641
|
type: z.ZodLiteral<"exact">;
|
542
642
|
term: z.ZodString;
|
543
|
-
},
|
643
|
+
}, {
|
644
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
645
|
+
}>, "strip", z.ZodTypeAny, {
|
544
646
|
type: "exact";
|
545
647
|
term: string;
|
546
648
|
}, {
|
547
649
|
type: "exact";
|
548
650
|
term: string;
|
549
|
-
}>, z.ZodObject<{
|
651
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
550
652
|
type: z.ZodLiteral<"range">;
|
551
653
|
gte: z.ZodString;
|
552
654
|
lte: z.ZodString;
|
553
|
-
},
|
655
|
+
}, {
|
656
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
657
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
658
|
+
}>, "strip", z.ZodTypeAny, {
|
554
659
|
type: "range";
|
555
660
|
gte: string;
|
556
661
|
lte: string;
|
@@ -559,20 +664,25 @@ export declare const QueryExpression: z.ZodObject<{
|
|
559
664
|
gte: string;
|
560
665
|
lte: string;
|
561
666
|
}>]>>>;
|
562
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
667
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
563
668
|
type: z.ZodLiteral<"exact">;
|
564
669
|
term: z.ZodString;
|
565
|
-
},
|
670
|
+
}, {
|
671
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
672
|
+
}>, "strip", z.ZodTypeAny, {
|
566
673
|
type: "exact";
|
567
674
|
term: string;
|
568
675
|
}, {
|
569
676
|
type: "exact";
|
570
677
|
term: string;
|
571
|
-
}>, z.ZodObject<{
|
678
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
572
679
|
type: z.ZodLiteral<"range">;
|
573
680
|
gte: z.ZodString;
|
574
681
|
lte: z.ZodString;
|
575
|
-
},
|
682
|
+
}, {
|
683
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
684
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
685
|
+
}>, "strip", z.ZodTypeAny, {
|
576
686
|
type: "range";
|
577
687
|
gte: string;
|
578
688
|
lte: string;
|
@@ -600,6 +710,16 @@ export declare const QueryExpression: z.ZodObject<{
|
|
600
710
|
type: "exact";
|
601
711
|
term: string;
|
602
712
|
}>]>>>;
|
713
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
714
|
+
type: z.ZodLiteral<"exact">;
|
715
|
+
term: z.ZodString;
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
717
|
+
type: "exact";
|
718
|
+
term: string;
|
719
|
+
}, {
|
720
|
+
type: "exact";
|
721
|
+
term: string;
|
722
|
+
}>>>;
|
603
723
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
604
724
|
type: z.ZodLiteral<"within">;
|
605
725
|
location: z.ZodString;
|
@@ -648,6 +768,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
648
768
|
type: "exact";
|
649
769
|
term: string;
|
650
770
|
}>>>;
|
771
|
+
createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
|
651
772
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
652
773
|
type: z.ZodLiteral<"exact">;
|
653
774
|
term: z.ZodString;
|
@@ -678,27 +799,29 @@ export declare const QueryExpression: z.ZodObject<{
|
|
678
799
|
type: "exact";
|
679
800
|
term: string;
|
680
801
|
}>>>;
|
681
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
682
|
-
|
683
|
-
|
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">>;
|
684
815
|
}, "strip", z.ZodTypeAny, {
|
685
|
-
|
686
|
-
|
687
|
-
}, {
|
688
|
-
type: "anyOf";
|
689
|
-
terms: string[];
|
690
|
-
}>, z.ZodObject<{
|
691
|
-
type: z.ZodLiteral<"not">;
|
692
|
-
term: z.ZodString;
|
693
|
-
}, "strip", z.ZodTypeAny, {
|
694
|
-
type: "not";
|
695
|
-
term: string;
|
816
|
+
anyOf?: string[] | undefined;
|
817
|
+
noneOf?: string[] | undefined;
|
696
818
|
}, {
|
697
|
-
|
698
|
-
|
699
|
-
}
|
819
|
+
anyOf?: string[] | undefined;
|
820
|
+
noneOf?: string[] | undefined;
|
821
|
+
}>>>;
|
700
822
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
701
823
|
}, "strip", z.ZodTypeAny, {
|
824
|
+
id?: string | undefined;
|
702
825
|
status?: {
|
703
826
|
type: "exact";
|
704
827
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -707,13 +830,14 @@ export declare const QueryExpression: z.ZodObject<{
|
|
707
830
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
708
831
|
} | undefined;
|
709
832
|
data?: any;
|
833
|
+
createdByUserType?: "system" | "user" | undefined;
|
710
834
|
createdAt?: {
|
711
|
-
type: "exact";
|
712
|
-
term: string;
|
713
|
-
} | {
|
714
835
|
type: "range";
|
715
836
|
gte: string;
|
716
837
|
lte: string;
|
838
|
+
} | {
|
839
|
+
type: "exact";
|
840
|
+
term: string;
|
717
841
|
} | undefined;
|
718
842
|
createdBy?: {
|
719
843
|
type: "exact";
|
@@ -731,12 +855,12 @@ export declare const QueryExpression: z.ZodObject<{
|
|
731
855
|
term: string;
|
732
856
|
} | undefined;
|
733
857
|
updatedAt?: {
|
734
|
-
type: "exact";
|
735
|
-
term: string;
|
736
|
-
} | {
|
737
858
|
type: "range";
|
738
859
|
gte: string;
|
739
860
|
lte: string;
|
861
|
+
} | {
|
862
|
+
type: "exact";
|
863
|
+
term: string;
|
740
864
|
} | undefined;
|
741
865
|
trackingId?: {
|
742
866
|
type: "exact";
|
@@ -753,21 +877,18 @@ export declare const QueryExpression: z.ZodObject<{
|
|
753
877
|
type: "exact";
|
754
878
|
term: string;
|
755
879
|
} | undefined;
|
756
|
-
flags?:
|
757
|
-
|
758
|
-
|
759
|
-
} |
|
760
|
-
type: "not";
|
761
|
-
term: string;
|
762
|
-
})[] | undefined;
|
880
|
+
flags?: {
|
881
|
+
anyOf?: string[] | undefined;
|
882
|
+
noneOf?: string[] | undefined;
|
883
|
+
} | undefined;
|
763
884
|
eventType?: string | undefined;
|
764
885
|
'legalStatus.REGISTERED.createdAt'?: {
|
765
|
-
type: "exact";
|
766
|
-
term: string;
|
767
|
-
} | {
|
768
886
|
type: "range";
|
769
887
|
gte: string;
|
770
888
|
lte: string;
|
889
|
+
} | {
|
890
|
+
type: "exact";
|
891
|
+
term: string;
|
771
892
|
} | undefined;
|
772
893
|
'legalStatus.REGISTERED.createdAtLocation'?: {
|
773
894
|
type: "exact";
|
@@ -776,7 +897,12 @@ export declare const QueryExpression: z.ZodObject<{
|
|
776
897
|
type: "within";
|
777
898
|
location: string;
|
778
899
|
} | undefined;
|
900
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
901
|
+
type: "exact";
|
902
|
+
term: string;
|
903
|
+
} | undefined;
|
779
904
|
}, {
|
905
|
+
id?: string | undefined;
|
780
906
|
status?: {
|
781
907
|
type: "exact";
|
782
908
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -785,13 +911,14 @@ export declare const QueryExpression: z.ZodObject<{
|
|
785
911
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
786
912
|
} | undefined;
|
787
913
|
data?: any;
|
914
|
+
createdByUserType?: "system" | "user" | undefined;
|
788
915
|
createdAt?: {
|
789
|
-
type: "exact";
|
790
|
-
term: string;
|
791
|
-
} | {
|
792
916
|
type: "range";
|
793
917
|
gte: string;
|
794
918
|
lte: string;
|
919
|
+
} | {
|
920
|
+
type: "exact";
|
921
|
+
term: string;
|
795
922
|
} | undefined;
|
796
923
|
createdBy?: {
|
797
924
|
type: "exact";
|
@@ -809,12 +936,12 @@ export declare const QueryExpression: z.ZodObject<{
|
|
809
936
|
term: string;
|
810
937
|
} | undefined;
|
811
938
|
updatedAt?: {
|
812
|
-
type: "exact";
|
813
|
-
term: string;
|
814
|
-
} | {
|
815
939
|
type: "range";
|
816
940
|
gte: string;
|
817
941
|
lte: string;
|
942
|
+
} | {
|
943
|
+
type: "exact";
|
944
|
+
term: string;
|
818
945
|
} | undefined;
|
819
946
|
trackingId?: {
|
820
947
|
type: "exact";
|
@@ -831,39 +958,203 @@ export declare const QueryExpression: z.ZodObject<{
|
|
831
958
|
type: "exact";
|
832
959
|
term: string;
|
833
960
|
} | undefined;
|
834
|
-
flags?:
|
961
|
+
flags?: {
|
962
|
+
anyOf?: string[] | undefined;
|
963
|
+
noneOf?: string[] | undefined;
|
964
|
+
} | undefined;
|
965
|
+
eventType?: string | undefined;
|
966
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
967
|
+
type: "range";
|
968
|
+
gte: string;
|
969
|
+
lte: string;
|
970
|
+
} | {
|
971
|
+
type: "exact";
|
972
|
+
term: string;
|
973
|
+
} | undefined;
|
974
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
975
|
+
type: "exact";
|
976
|
+
term: string;
|
977
|
+
} | {
|
978
|
+
type: "within";
|
979
|
+
location: string;
|
980
|
+
} | undefined;
|
981
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
982
|
+
type: "exact";
|
983
|
+
term: string;
|
984
|
+
} | undefined;
|
985
|
+
}>, {
|
986
|
+
id?: string | undefined;
|
987
|
+
status?: {
|
988
|
+
type: "exact";
|
989
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
990
|
+
} | {
|
835
991
|
type: "anyOf";
|
836
|
-
terms:
|
992
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
993
|
+
} | undefined;
|
994
|
+
data?: any;
|
995
|
+
createdByUserType?: "system" | "user" | undefined;
|
996
|
+
createdAt?: {
|
997
|
+
type: "range";
|
998
|
+
gte: string;
|
999
|
+
lte: string;
|
1000
|
+
} | {
|
1001
|
+
type: "exact";
|
1002
|
+
term: string;
|
1003
|
+
} | undefined;
|
1004
|
+
createdBy?: {
|
1005
|
+
type: "exact";
|
1006
|
+
term: string;
|
1007
|
+
} | undefined;
|
1008
|
+
createdAtLocation?: {
|
1009
|
+
type: "exact";
|
1010
|
+
term: string;
|
1011
|
+
} | {
|
1012
|
+
type: "within";
|
1013
|
+
location: string;
|
1014
|
+
} | undefined;
|
1015
|
+
assignedTo?: {
|
1016
|
+
type: "exact";
|
1017
|
+
term: string;
|
1018
|
+
} | undefined;
|
1019
|
+
updatedAt?: {
|
1020
|
+
type: "range";
|
1021
|
+
gte: string;
|
1022
|
+
lte: string;
|
1023
|
+
} | {
|
1024
|
+
type: "exact";
|
1025
|
+
term: string;
|
1026
|
+
} | undefined;
|
1027
|
+
trackingId?: {
|
1028
|
+
type: "exact";
|
1029
|
+
term: string;
|
1030
|
+
} | undefined;
|
1031
|
+
updatedAtLocation?: {
|
1032
|
+
type: "exact";
|
1033
|
+
term: string;
|
837
1034
|
} | {
|
838
|
-
type: "
|
1035
|
+
type: "within";
|
1036
|
+
location: string;
|
1037
|
+
} | undefined;
|
1038
|
+
updatedBy?: {
|
1039
|
+
type: "exact";
|
839
1040
|
term: string;
|
840
|
-
}
|
1041
|
+
} | undefined;
|
1042
|
+
flags?: {
|
1043
|
+
anyOf?: string[] | undefined;
|
1044
|
+
noneOf?: string[] | undefined;
|
1045
|
+
} | undefined;
|
841
1046
|
eventType?: string | undefined;
|
842
1047
|
'legalStatus.REGISTERED.createdAt'?: {
|
1048
|
+
type: "range";
|
1049
|
+
gte: string;
|
1050
|
+
lte: string;
|
1051
|
+
} | {
|
1052
|
+
type: "exact";
|
1053
|
+
term: string;
|
1054
|
+
} | undefined;
|
1055
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1056
|
+
type: "exact";
|
1057
|
+
term: string;
|
1058
|
+
} | {
|
1059
|
+
type: "within";
|
1060
|
+
location: string;
|
1061
|
+
} | undefined;
|
1062
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
843
1063
|
type: "exact";
|
844
1064
|
term: string;
|
1065
|
+
} | undefined;
|
1066
|
+
}, {
|
1067
|
+
id?: string | undefined;
|
1068
|
+
status?: {
|
1069
|
+
type: "exact";
|
1070
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
845
1071
|
} | {
|
1072
|
+
type: "anyOf";
|
1073
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1074
|
+
} | undefined;
|
1075
|
+
data?: any;
|
1076
|
+
createdByUserType?: "system" | "user" | undefined;
|
1077
|
+
createdAt?: {
|
846
1078
|
type: "range";
|
847
1079
|
gte: string;
|
848
1080
|
lte: string;
|
1081
|
+
} | {
|
1082
|
+
type: "exact";
|
1083
|
+
term: string;
|
849
1084
|
} | undefined;
|
850
|
-
|
1085
|
+
createdBy?: {
|
1086
|
+
type: "exact";
|
1087
|
+
term: string;
|
1088
|
+
} | undefined;
|
1089
|
+
createdAtLocation?: {
|
851
1090
|
type: "exact";
|
852
1091
|
term: string;
|
853
1092
|
} | {
|
854
1093
|
type: "within";
|
855
1094
|
location: string;
|
856
1095
|
} | undefined;
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
1096
|
+
assignedTo?: {
|
1097
|
+
type: "exact";
|
1098
|
+
term: string;
|
1099
|
+
} | undefined;
|
1100
|
+
updatedAt?: {
|
1101
|
+
type: "range";
|
1102
|
+
gte: string;
|
1103
|
+
lte: string;
|
1104
|
+
} | {
|
1105
|
+
type: "exact";
|
1106
|
+
term: string;
|
1107
|
+
} | undefined;
|
1108
|
+
trackingId?: {
|
1109
|
+
type: "exact";
|
1110
|
+
term: string;
|
1111
|
+
} | undefined;
|
1112
|
+
updatedAtLocation?: {
|
1113
|
+
type: "exact";
|
1114
|
+
term: string;
|
1115
|
+
} | {
|
1116
|
+
type: "within";
|
1117
|
+
location: string;
|
1118
|
+
} | undefined;
|
1119
|
+
updatedBy?: {
|
1120
|
+
type: "exact";
|
1121
|
+
term: string;
|
1122
|
+
} | undefined;
|
1123
|
+
flags?: {
|
1124
|
+
anyOf?: string[] | undefined;
|
1125
|
+
noneOf?: string[] | undefined;
|
1126
|
+
} | undefined;
|
1127
|
+
eventType?: string | undefined;
|
1128
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1129
|
+
type: "range";
|
1130
|
+
gte: string;
|
1131
|
+
lte: string;
|
1132
|
+
} | {
|
1133
|
+
type: "exact";
|
1134
|
+
term: string;
|
1135
|
+
} | undefined;
|
1136
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1137
|
+
type: "exact";
|
1138
|
+
term: string;
|
1139
|
+
} | {
|
1140
|
+
type: "within";
|
1141
|
+
location: string;
|
1142
|
+
} | undefined;
|
1143
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1144
|
+
type: "exact";
|
1145
|
+
term: string;
|
1146
|
+
} | undefined;
|
1147
|
+
}>;
|
1148
|
+
export declare const QueryType: z.ZodObject<{
|
1149
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
1150
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
1151
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
1152
|
+
eventType: z.ZodOptional<z.ZodString>;
|
1153
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1154
|
+
type: z.ZodLiteral<"anyOf">;
|
1155
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1156
|
+
}, "strip", z.ZodTypeAny, {
|
1157
|
+
type: "anyOf";
|
867
1158
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
868
1159
|
}, {
|
869
1160
|
type: "anyOf";
|
@@ -878,20 +1169,25 @@ export declare const QueryType: z.ZodObject<{
|
|
878
1169
|
type: "exact";
|
879
1170
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
880
1171
|
}>]>>>;
|
881
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1172
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
882
1173
|
type: z.ZodLiteral<"exact">;
|
883
1174
|
term: z.ZodString;
|
884
|
-
},
|
1175
|
+
}, {
|
1176
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1177
|
+
}>, "strip", z.ZodTypeAny, {
|
885
1178
|
type: "exact";
|
886
1179
|
term: string;
|
887
1180
|
}, {
|
888
1181
|
type: "exact";
|
889
1182
|
term: string;
|
890
|
-
}>, z.ZodObject<{
|
1183
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
891
1184
|
type: z.ZodLiteral<"range">;
|
892
1185
|
gte: z.ZodString;
|
893
1186
|
lte: z.ZodString;
|
894
|
-
},
|
1187
|
+
}, {
|
1188
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1189
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1190
|
+
}>, "strip", z.ZodTypeAny, {
|
895
1191
|
type: "range";
|
896
1192
|
gte: string;
|
897
1193
|
lte: string;
|
@@ -900,20 +1196,25 @@ export declare const QueryType: z.ZodObject<{
|
|
900
1196
|
gte: string;
|
901
1197
|
lte: string;
|
902
1198
|
}>]>>>;
|
903
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1199
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
904
1200
|
type: z.ZodLiteral<"exact">;
|
905
1201
|
term: z.ZodString;
|
906
|
-
},
|
1202
|
+
}, {
|
1203
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1204
|
+
}>, "strip", z.ZodTypeAny, {
|
907
1205
|
type: "exact";
|
908
1206
|
term: string;
|
909
1207
|
}, {
|
910
1208
|
type: "exact";
|
911
1209
|
term: string;
|
912
|
-
}>, z.ZodObject<{
|
1210
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
913
1211
|
type: z.ZodLiteral<"range">;
|
914
1212
|
gte: z.ZodString;
|
915
1213
|
lte: z.ZodString;
|
916
|
-
},
|
1214
|
+
}, {
|
1215
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1216
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1217
|
+
}>, "strip", z.ZodTypeAny, {
|
917
1218
|
type: "range";
|
918
1219
|
gte: string;
|
919
1220
|
lte: string;
|
@@ -922,20 +1223,25 @@ export declare const QueryType: z.ZodObject<{
|
|
922
1223
|
gte: string;
|
923
1224
|
lte: string;
|
924
1225
|
}>]>>>;
|
925
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1226
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
926
1227
|
type: z.ZodLiteral<"exact">;
|
927
1228
|
term: z.ZodString;
|
928
|
-
},
|
1229
|
+
}, {
|
1230
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1231
|
+
}>, "strip", z.ZodTypeAny, {
|
929
1232
|
type: "exact";
|
930
1233
|
term: string;
|
931
1234
|
}, {
|
932
1235
|
type: "exact";
|
933
1236
|
term: string;
|
934
|
-
}>, z.ZodObject<{
|
1237
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
935
1238
|
type: z.ZodLiteral<"range">;
|
936
1239
|
gte: z.ZodString;
|
937
1240
|
lte: z.ZodString;
|
938
|
-
},
|
1241
|
+
}, {
|
1242
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1243
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1244
|
+
}>, "strip", z.ZodTypeAny, {
|
939
1245
|
type: "range";
|
940
1246
|
gte: string;
|
941
1247
|
lte: string;
|
@@ -963,6 +1269,16 @@ export declare const QueryType: z.ZodObject<{
|
|
963
1269
|
type: "exact";
|
964
1270
|
term: string;
|
965
1271
|
}>]>>>;
|
1272
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1273
|
+
type: z.ZodLiteral<"exact">;
|
1274
|
+
term: z.ZodString;
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
1276
|
+
type: "exact";
|
1277
|
+
term: string;
|
1278
|
+
}, {
|
1279
|
+
type: "exact";
|
1280
|
+
term: string;
|
1281
|
+
}>>>;
|
966
1282
|
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
967
1283
|
type: z.ZodLiteral<"within">;
|
968
1284
|
location: z.ZodString;
|
@@ -1011,6 +1327,7 @@ export declare const QueryType: z.ZodObject<{
|
|
1011
1327
|
type: "exact";
|
1012
1328
|
term: string;
|
1013
1329
|
}>>>;
|
1330
|
+
createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
|
1014
1331
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1015
1332
|
type: z.ZodLiteral<"exact">;
|
1016
1333
|
term: z.ZodString;
|
@@ -1041,27 +1358,29 @@ export declare const QueryType: z.ZodObject<{
|
|
1041
1358
|
type: "exact";
|
1042
1359
|
term: string;
|
1043
1360
|
}>>>;
|
1044
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
1045
|
-
|
1046
|
-
|
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">>;
|
1047
1374
|
}, "strip", z.ZodTypeAny, {
|
1048
|
-
|
1049
|
-
|
1050
|
-
}, {
|
1051
|
-
type: "anyOf";
|
1052
|
-
terms: string[];
|
1053
|
-
}>, z.ZodObject<{
|
1054
|
-
type: z.ZodLiteral<"not">;
|
1055
|
-
term: z.ZodString;
|
1056
|
-
}, "strip", z.ZodTypeAny, {
|
1057
|
-
type: "not";
|
1058
|
-
term: string;
|
1375
|
+
anyOf?: string[] | undefined;
|
1376
|
+
noneOf?: string[] | undefined;
|
1059
1377
|
}, {
|
1060
|
-
|
1061
|
-
|
1062
|
-
}
|
1378
|
+
anyOf?: string[] | undefined;
|
1379
|
+
noneOf?: string[] | undefined;
|
1380
|
+
}>>>;
|
1063
1381
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1064
1382
|
}, "strip", z.ZodTypeAny, {
|
1383
|
+
id?: string | undefined;
|
1065
1384
|
status?: {
|
1066
1385
|
type: "exact";
|
1067
1386
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1070,13 +1389,14 @@ export declare const QueryType: z.ZodObject<{
|
|
1070
1389
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1071
1390
|
} | undefined;
|
1072
1391
|
data?: any;
|
1392
|
+
createdByUserType?: "system" | "user" | undefined;
|
1073
1393
|
createdAt?: {
|
1074
|
-
type: "exact";
|
1075
|
-
term: string;
|
1076
|
-
} | {
|
1077
1394
|
type: "range";
|
1078
1395
|
gte: string;
|
1079
1396
|
lte: string;
|
1397
|
+
} | {
|
1398
|
+
type: "exact";
|
1399
|
+
term: string;
|
1080
1400
|
} | undefined;
|
1081
1401
|
createdBy?: {
|
1082
1402
|
type: "exact";
|
@@ -1094,12 +1414,12 @@ export declare const QueryType: z.ZodObject<{
|
|
1094
1414
|
term: string;
|
1095
1415
|
} | undefined;
|
1096
1416
|
updatedAt?: {
|
1097
|
-
type: "exact";
|
1098
|
-
term: string;
|
1099
|
-
} | {
|
1100
1417
|
type: "range";
|
1101
1418
|
gte: string;
|
1102
1419
|
lte: string;
|
1420
|
+
} | {
|
1421
|
+
type: "exact";
|
1422
|
+
term: string;
|
1103
1423
|
} | undefined;
|
1104
1424
|
trackingId?: {
|
1105
1425
|
type: "exact";
|
@@ -1116,21 +1436,18 @@ export declare const QueryType: z.ZodObject<{
|
|
1116
1436
|
type: "exact";
|
1117
1437
|
term: string;
|
1118
1438
|
} | undefined;
|
1119
|
-
flags?:
|
1120
|
-
|
1121
|
-
|
1122
|
-
} |
|
1123
|
-
type: "not";
|
1124
|
-
term: string;
|
1125
|
-
})[] | undefined;
|
1439
|
+
flags?: {
|
1440
|
+
anyOf?: string[] | undefined;
|
1441
|
+
noneOf?: string[] | undefined;
|
1442
|
+
} | undefined;
|
1126
1443
|
eventType?: string | undefined;
|
1127
1444
|
'legalStatus.REGISTERED.createdAt'?: {
|
1128
|
-
type: "exact";
|
1129
|
-
term: string;
|
1130
|
-
} | {
|
1131
1445
|
type: "range";
|
1132
1446
|
gte: string;
|
1133
1447
|
lte: string;
|
1448
|
+
} | {
|
1449
|
+
type: "exact";
|
1450
|
+
term: string;
|
1134
1451
|
} | undefined;
|
1135
1452
|
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1136
1453
|
type: "exact";
|
@@ -1139,7 +1456,12 @@ export declare const QueryType: z.ZodObject<{
|
|
1139
1456
|
type: "within";
|
1140
1457
|
location: string;
|
1141
1458
|
} | undefined;
|
1459
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1460
|
+
type: "exact";
|
1461
|
+
term: string;
|
1462
|
+
} | undefined;
|
1142
1463
|
}, {
|
1464
|
+
id?: string | undefined;
|
1143
1465
|
status?: {
|
1144
1466
|
type: "exact";
|
1145
1467
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1148,13 +1470,14 @@ export declare const QueryType: z.ZodObject<{
|
|
1148
1470
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1149
1471
|
} | undefined;
|
1150
1472
|
data?: any;
|
1473
|
+
createdByUserType?: "system" | "user" | undefined;
|
1151
1474
|
createdAt?: {
|
1152
|
-
type: "exact";
|
1153
|
-
term: string;
|
1154
|
-
} | {
|
1155
1475
|
type: "range";
|
1156
1476
|
gte: string;
|
1157
1477
|
lte: string;
|
1478
|
+
} | {
|
1479
|
+
type: "exact";
|
1480
|
+
term: string;
|
1158
1481
|
} | undefined;
|
1159
1482
|
createdBy?: {
|
1160
1483
|
type: "exact";
|
@@ -1172,12 +1495,12 @@ export declare const QueryType: z.ZodObject<{
|
|
1172
1495
|
term: string;
|
1173
1496
|
} | undefined;
|
1174
1497
|
updatedAt?: {
|
1175
|
-
type: "exact";
|
1176
|
-
term: string;
|
1177
|
-
} | {
|
1178
1498
|
type: "range";
|
1179
1499
|
gte: string;
|
1180
1500
|
lte: string;
|
1501
|
+
} | {
|
1502
|
+
type: "exact";
|
1503
|
+
term: string;
|
1181
1504
|
} | undefined;
|
1182
1505
|
trackingId?: {
|
1183
1506
|
type: "exact";
|
@@ -1194,21 +1517,99 @@ export declare const QueryType: z.ZodObject<{
|
|
1194
1517
|
type: "exact";
|
1195
1518
|
term: string;
|
1196
1519
|
} | undefined;
|
1197
|
-
flags?:
|
1520
|
+
flags?: {
|
1521
|
+
anyOf?: string[] | undefined;
|
1522
|
+
noneOf?: string[] | undefined;
|
1523
|
+
} | undefined;
|
1524
|
+
eventType?: string | undefined;
|
1525
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1526
|
+
type: "range";
|
1527
|
+
gte: string;
|
1528
|
+
lte: string;
|
1529
|
+
} | {
|
1530
|
+
type: "exact";
|
1531
|
+
term: string;
|
1532
|
+
} | undefined;
|
1533
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1534
|
+
type: "exact";
|
1535
|
+
term: string;
|
1536
|
+
} | {
|
1537
|
+
type: "within";
|
1538
|
+
location: string;
|
1539
|
+
} | undefined;
|
1540
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1541
|
+
type: "exact";
|
1542
|
+
term: string;
|
1543
|
+
} | undefined;
|
1544
|
+
}>, {
|
1545
|
+
id?: string | undefined;
|
1546
|
+
status?: {
|
1547
|
+
type: "exact";
|
1548
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1549
|
+
} | {
|
1198
1550
|
type: "anyOf";
|
1199
|
-
terms:
|
1551
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1552
|
+
} | undefined;
|
1553
|
+
data?: any;
|
1554
|
+
createdByUserType?: "system" | "user" | undefined;
|
1555
|
+
createdAt?: {
|
1556
|
+
type: "range";
|
1557
|
+
gte: string;
|
1558
|
+
lte: string;
|
1200
1559
|
} | {
|
1201
|
-
type: "
|
1560
|
+
type: "exact";
|
1202
1561
|
term: string;
|
1203
|
-
}
|
1204
|
-
|
1205
|
-
|
1562
|
+
} | undefined;
|
1563
|
+
createdBy?: {
|
1564
|
+
type: "exact";
|
1565
|
+
term: string;
|
1566
|
+
} | undefined;
|
1567
|
+
createdAtLocation?: {
|
1568
|
+
type: "exact";
|
1569
|
+
term: string;
|
1570
|
+
} | {
|
1571
|
+
type: "within";
|
1572
|
+
location: string;
|
1573
|
+
} | undefined;
|
1574
|
+
assignedTo?: {
|
1206
1575
|
type: "exact";
|
1207
1576
|
term: string;
|
1577
|
+
} | undefined;
|
1578
|
+
updatedAt?: {
|
1579
|
+
type: "range";
|
1580
|
+
gte: string;
|
1581
|
+
lte: string;
|
1208
1582
|
} | {
|
1583
|
+
type: "exact";
|
1584
|
+
term: string;
|
1585
|
+
} | undefined;
|
1586
|
+
trackingId?: {
|
1587
|
+
type: "exact";
|
1588
|
+
term: string;
|
1589
|
+
} | undefined;
|
1590
|
+
updatedAtLocation?: {
|
1591
|
+
type: "exact";
|
1592
|
+
term: string;
|
1593
|
+
} | {
|
1594
|
+
type: "within";
|
1595
|
+
location: string;
|
1596
|
+
} | undefined;
|
1597
|
+
updatedBy?: {
|
1598
|
+
type: "exact";
|
1599
|
+
term: string;
|
1600
|
+
} | undefined;
|
1601
|
+
flags?: {
|
1602
|
+
anyOf?: string[] | undefined;
|
1603
|
+
noneOf?: string[] | undefined;
|
1604
|
+
} | undefined;
|
1605
|
+
eventType?: string | undefined;
|
1606
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1209
1607
|
type: "range";
|
1210
1608
|
gte: string;
|
1211
1609
|
lte: string;
|
1610
|
+
} | {
|
1611
|
+
type: "exact";
|
1612
|
+
term: string;
|
1212
1613
|
} | undefined;
|
1213
1614
|
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1214
1615
|
type: "exact";
|
@@ -1217,7 +1618,12 @@ export declare const QueryType: z.ZodObject<{
|
|
1217
1618
|
type: "within";
|
1218
1619
|
location: string;
|
1219
1620
|
} | undefined;
|
1220
|
-
|
1621
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1622
|
+
type: "exact";
|
1623
|
+
term: string;
|
1624
|
+
} | undefined;
|
1625
|
+
}, {
|
1626
|
+
id?: string | undefined;
|
1221
1627
|
status?: {
|
1222
1628
|
type: "exact";
|
1223
1629
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1226,13 +1632,14 @@ export declare const QueryType: z.ZodObject<{
|
|
1226
1632
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1227
1633
|
} | undefined;
|
1228
1634
|
data?: any;
|
1635
|
+
createdByUserType?: "system" | "user" | undefined;
|
1229
1636
|
createdAt?: {
|
1230
|
-
type: "exact";
|
1231
|
-
term: string;
|
1232
|
-
} | {
|
1233
1637
|
type: "range";
|
1234
1638
|
gte: string;
|
1235
1639
|
lte: string;
|
1640
|
+
} | {
|
1641
|
+
type: "exact";
|
1642
|
+
term: string;
|
1236
1643
|
} | undefined;
|
1237
1644
|
createdBy?: {
|
1238
1645
|
type: "exact";
|
@@ -1250,12 +1657,93 @@ export declare const QueryType: z.ZodObject<{
|
|
1250
1657
|
term: string;
|
1251
1658
|
} | undefined;
|
1252
1659
|
updatedAt?: {
|
1660
|
+
type: "range";
|
1661
|
+
gte: string;
|
1662
|
+
lte: string;
|
1663
|
+
} | {
|
1664
|
+
type: "exact";
|
1665
|
+
term: string;
|
1666
|
+
} | undefined;
|
1667
|
+
trackingId?: {
|
1668
|
+
type: "exact";
|
1669
|
+
term: string;
|
1670
|
+
} | undefined;
|
1671
|
+
updatedAtLocation?: {
|
1253
1672
|
type: "exact";
|
1254
1673
|
term: string;
|
1255
1674
|
} | {
|
1675
|
+
type: "within";
|
1676
|
+
location: string;
|
1677
|
+
} | undefined;
|
1678
|
+
updatedBy?: {
|
1679
|
+
type: "exact";
|
1680
|
+
term: string;
|
1681
|
+
} | undefined;
|
1682
|
+
flags?: {
|
1683
|
+
anyOf?: string[] | undefined;
|
1684
|
+
noneOf?: string[] | undefined;
|
1685
|
+
} | undefined;
|
1686
|
+
eventType?: string | undefined;
|
1687
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1688
|
+
type: "range";
|
1689
|
+
gte: string;
|
1690
|
+
lte: string;
|
1691
|
+
} | {
|
1692
|
+
type: "exact";
|
1693
|
+
term: string;
|
1694
|
+
} | undefined;
|
1695
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1696
|
+
type: "exact";
|
1697
|
+
term: string;
|
1698
|
+
} | {
|
1699
|
+
type: "within";
|
1700
|
+
location: string;
|
1701
|
+
} | undefined;
|
1702
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1703
|
+
type: "exact";
|
1704
|
+
term: string;
|
1705
|
+
} | undefined;
|
1706
|
+
}>, "atleastone">, [{
|
1707
|
+
id?: string | undefined;
|
1708
|
+
status?: {
|
1709
|
+
type: "exact";
|
1710
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1711
|
+
} | {
|
1712
|
+
type: "anyOf";
|
1713
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1714
|
+
} | undefined;
|
1715
|
+
data?: any;
|
1716
|
+
createdByUserType?: "system" | "user" | undefined;
|
1717
|
+
createdAt?: {
|
1718
|
+
type: "range";
|
1719
|
+
gte: string;
|
1720
|
+
lte: string;
|
1721
|
+
} | {
|
1722
|
+
type: "exact";
|
1723
|
+
term: string;
|
1724
|
+
} | undefined;
|
1725
|
+
createdBy?: {
|
1726
|
+
type: "exact";
|
1727
|
+
term: string;
|
1728
|
+
} | undefined;
|
1729
|
+
createdAtLocation?: {
|
1730
|
+
type: "exact";
|
1731
|
+
term: string;
|
1732
|
+
} | {
|
1733
|
+
type: "within";
|
1734
|
+
location: string;
|
1735
|
+
} | undefined;
|
1736
|
+
assignedTo?: {
|
1737
|
+
type: "exact";
|
1738
|
+
term: string;
|
1739
|
+
} | undefined;
|
1740
|
+
updatedAt?: {
|
1256
1741
|
type: "range";
|
1257
1742
|
gte: string;
|
1258
1743
|
lte: string;
|
1744
|
+
} | {
|
1745
|
+
type: "exact";
|
1746
|
+
term: string;
|
1259
1747
|
} | undefined;
|
1260
1748
|
trackingId?: {
|
1261
1749
|
type: "exact";
|
@@ -1272,21 +1760,99 @@ export declare const QueryType: z.ZodObject<{
|
|
1272
1760
|
type: "exact";
|
1273
1761
|
term: string;
|
1274
1762
|
} | undefined;
|
1275
|
-
flags?:
|
1763
|
+
flags?: {
|
1764
|
+
anyOf?: string[] | undefined;
|
1765
|
+
noneOf?: string[] | undefined;
|
1766
|
+
} | undefined;
|
1767
|
+
eventType?: string | undefined;
|
1768
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1769
|
+
type: "range";
|
1770
|
+
gte: string;
|
1771
|
+
lte: string;
|
1772
|
+
} | {
|
1773
|
+
type: "exact";
|
1774
|
+
term: string;
|
1775
|
+
} | undefined;
|
1776
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1777
|
+
type: "exact";
|
1778
|
+
term: string;
|
1779
|
+
} | {
|
1780
|
+
type: "within";
|
1781
|
+
location: string;
|
1782
|
+
} | undefined;
|
1783
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1784
|
+
type: "exact";
|
1785
|
+
term: string;
|
1786
|
+
} | undefined;
|
1787
|
+
}, ...{
|
1788
|
+
id?: string | undefined;
|
1789
|
+
status?: {
|
1790
|
+
type: "exact";
|
1791
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1792
|
+
} | {
|
1276
1793
|
type: "anyOf";
|
1277
|
-
terms:
|
1794
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1795
|
+
} | undefined;
|
1796
|
+
data?: any;
|
1797
|
+
createdByUserType?: "system" | "user" | undefined;
|
1798
|
+
createdAt?: {
|
1799
|
+
type: "range";
|
1800
|
+
gte: string;
|
1801
|
+
lte: string;
|
1278
1802
|
} | {
|
1279
|
-
type: "
|
1803
|
+
type: "exact";
|
1280
1804
|
term: string;
|
1281
|
-
}
|
1282
|
-
|
1283
|
-
|
1805
|
+
} | undefined;
|
1806
|
+
createdBy?: {
|
1807
|
+
type: "exact";
|
1808
|
+
term: string;
|
1809
|
+
} | undefined;
|
1810
|
+
createdAtLocation?: {
|
1284
1811
|
type: "exact";
|
1285
1812
|
term: string;
|
1286
1813
|
} | {
|
1814
|
+
type: "within";
|
1815
|
+
location: string;
|
1816
|
+
} | undefined;
|
1817
|
+
assignedTo?: {
|
1818
|
+
type: "exact";
|
1819
|
+
term: string;
|
1820
|
+
} | undefined;
|
1821
|
+
updatedAt?: {
|
1287
1822
|
type: "range";
|
1288
1823
|
gte: string;
|
1289
1824
|
lte: string;
|
1825
|
+
} | {
|
1826
|
+
type: "exact";
|
1827
|
+
term: string;
|
1828
|
+
} | undefined;
|
1829
|
+
trackingId?: {
|
1830
|
+
type: "exact";
|
1831
|
+
term: string;
|
1832
|
+
} | undefined;
|
1833
|
+
updatedAtLocation?: {
|
1834
|
+
type: "exact";
|
1835
|
+
term: string;
|
1836
|
+
} | {
|
1837
|
+
type: "within";
|
1838
|
+
location: string;
|
1839
|
+
} | undefined;
|
1840
|
+
updatedBy?: {
|
1841
|
+
type: "exact";
|
1842
|
+
term: string;
|
1843
|
+
} | undefined;
|
1844
|
+
flags?: {
|
1845
|
+
anyOf?: string[] | undefined;
|
1846
|
+
noneOf?: string[] | undefined;
|
1847
|
+
} | undefined;
|
1848
|
+
eventType?: string | undefined;
|
1849
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1850
|
+
type: "range";
|
1851
|
+
gte: string;
|
1852
|
+
lte: string;
|
1853
|
+
} | {
|
1854
|
+
type: "exact";
|
1855
|
+
term: string;
|
1290
1856
|
} | undefined;
|
1291
1857
|
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1292
1858
|
type: "exact";
|
@@ -1295,10 +1861,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1295
1861
|
type: "within";
|
1296
1862
|
location: string;
|
1297
1863
|
} | undefined;
|
1298
|
-
|
1864
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1865
|
+
type: "exact";
|
1866
|
+
term: string;
|
1867
|
+
} | undefined;
|
1868
|
+
}[]], unknown>;
|
1299
1869
|
}, "strip", z.ZodTypeAny, {
|
1300
1870
|
type: "and" | "or";
|
1301
|
-
clauses: {
|
1871
|
+
clauses: [{
|
1872
|
+
id?: string | undefined;
|
1302
1873
|
status?: {
|
1303
1874
|
type: "exact";
|
1304
1875
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1307,13 +1878,14 @@ export declare const QueryType: z.ZodObject<{
|
|
1307
1878
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1308
1879
|
} | undefined;
|
1309
1880
|
data?: any;
|
1881
|
+
createdByUserType?: "system" | "user" | undefined;
|
1310
1882
|
createdAt?: {
|
1311
|
-
type: "exact";
|
1312
|
-
term: string;
|
1313
|
-
} | {
|
1314
1883
|
type: "range";
|
1315
1884
|
gte: string;
|
1316
1885
|
lte: string;
|
1886
|
+
} | {
|
1887
|
+
type: "exact";
|
1888
|
+
term: string;
|
1317
1889
|
} | undefined;
|
1318
1890
|
createdBy?: {
|
1319
1891
|
type: "exact";
|
@@ -1331,12 +1903,12 @@ export declare const QueryType: z.ZodObject<{
|
|
1331
1903
|
term: string;
|
1332
1904
|
} | undefined;
|
1333
1905
|
updatedAt?: {
|
1334
|
-
type: "exact";
|
1335
|
-
term: string;
|
1336
|
-
} | {
|
1337
1906
|
type: "range";
|
1338
1907
|
gte: string;
|
1339
1908
|
lte: string;
|
1909
|
+
} | {
|
1910
|
+
type: "exact";
|
1911
|
+
term: string;
|
1340
1912
|
} | undefined;
|
1341
1913
|
trackingId?: {
|
1342
1914
|
type: "exact";
|
@@ -1353,21 +1925,99 @@ export declare const QueryType: z.ZodObject<{
|
|
1353
1925
|
type: "exact";
|
1354
1926
|
term: string;
|
1355
1927
|
} | undefined;
|
1356
|
-
flags?:
|
1928
|
+
flags?: {
|
1929
|
+
anyOf?: string[] | undefined;
|
1930
|
+
noneOf?: string[] | undefined;
|
1931
|
+
} | undefined;
|
1932
|
+
eventType?: string | undefined;
|
1933
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1934
|
+
type: "range";
|
1935
|
+
gte: string;
|
1936
|
+
lte: string;
|
1937
|
+
} | {
|
1938
|
+
type: "exact";
|
1939
|
+
term: string;
|
1940
|
+
} | undefined;
|
1941
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1942
|
+
type: "exact";
|
1943
|
+
term: string;
|
1944
|
+
} | {
|
1945
|
+
type: "within";
|
1946
|
+
location: string;
|
1947
|
+
} | undefined;
|
1948
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1949
|
+
type: "exact";
|
1950
|
+
term: string;
|
1951
|
+
} | undefined;
|
1952
|
+
}, ...{
|
1953
|
+
id?: string | undefined;
|
1954
|
+
status?: {
|
1955
|
+
type: "exact";
|
1956
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1957
|
+
} | {
|
1357
1958
|
type: "anyOf";
|
1358
|
-
terms:
|
1959
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1960
|
+
} | undefined;
|
1961
|
+
data?: any;
|
1962
|
+
createdByUserType?: "system" | "user" | undefined;
|
1963
|
+
createdAt?: {
|
1964
|
+
type: "range";
|
1965
|
+
gte: string;
|
1966
|
+
lte: string;
|
1359
1967
|
} | {
|
1360
|
-
type: "
|
1968
|
+
type: "exact";
|
1361
1969
|
term: string;
|
1362
|
-
}
|
1363
|
-
|
1364
|
-
|
1970
|
+
} | undefined;
|
1971
|
+
createdBy?: {
|
1972
|
+
type: "exact";
|
1973
|
+
term: string;
|
1974
|
+
} | undefined;
|
1975
|
+
createdAtLocation?: {
|
1365
1976
|
type: "exact";
|
1366
1977
|
term: string;
|
1367
1978
|
} | {
|
1979
|
+
type: "within";
|
1980
|
+
location: string;
|
1981
|
+
} | undefined;
|
1982
|
+
assignedTo?: {
|
1983
|
+
type: "exact";
|
1984
|
+
term: string;
|
1985
|
+
} | undefined;
|
1986
|
+
updatedAt?: {
|
1368
1987
|
type: "range";
|
1369
1988
|
gte: string;
|
1370
1989
|
lte: string;
|
1990
|
+
} | {
|
1991
|
+
type: "exact";
|
1992
|
+
term: string;
|
1993
|
+
} | undefined;
|
1994
|
+
trackingId?: {
|
1995
|
+
type: "exact";
|
1996
|
+
term: string;
|
1997
|
+
} | undefined;
|
1998
|
+
updatedAtLocation?: {
|
1999
|
+
type: "exact";
|
2000
|
+
term: string;
|
2001
|
+
} | {
|
2002
|
+
type: "within";
|
2003
|
+
location: string;
|
2004
|
+
} | undefined;
|
2005
|
+
updatedBy?: {
|
2006
|
+
type: "exact";
|
2007
|
+
term: string;
|
2008
|
+
} | undefined;
|
2009
|
+
flags?: {
|
2010
|
+
anyOf?: string[] | undefined;
|
2011
|
+
noneOf?: string[] | undefined;
|
2012
|
+
} | undefined;
|
2013
|
+
eventType?: string | undefined;
|
2014
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
2015
|
+
type: "range";
|
2016
|
+
gte: string;
|
2017
|
+
lte: string;
|
2018
|
+
} | {
|
2019
|
+
type: "exact";
|
2020
|
+
term: string;
|
1371
2021
|
} | undefined;
|
1372
2022
|
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1373
2023
|
type: "exact";
|
@@ -1376,7 +2026,11 @@ export declare const QueryType: z.ZodObject<{
|
|
1376
2026
|
type: "within";
|
1377
2027
|
location: string;
|
1378
2028
|
} | undefined;
|
1379
|
-
|
2029
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
2030
|
+
type: "exact";
|
2031
|
+
term: string;
|
2032
|
+
} | undefined;
|
2033
|
+
}[]];
|
1380
2034
|
}, {
|
1381
2035
|
type: "and" | "or";
|
1382
2036
|
clauses?: unknown;
|