@opencrvs/toolkit 1.8.0-rc.fd8a78f → 1.8.0-rc.fde35f6
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 +3117 -11206
- package/dist/commons/conditionals/conditionals.d.ts +0 -12
- package/dist/commons/events/ActionConfig.d.ts +12032 -3972
- package/dist/commons/events/ActionDocument.d.ts +3029 -1886
- package/dist/commons/events/ActionInput.d.ts +2406 -1506
- package/dist/commons/events/AdvancedSearchConfig.d.ts +304 -51
- package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
- package/dist/commons/events/CountryConfigQueryInput.d.ts +1891 -741
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +213 -136
- package/dist/commons/events/EventConfig.d.ts +4770 -755
- package/dist/commons/events/EventDocument.d.ts +1942 -1219
- package/dist/commons/events/EventIndex.d.ts +897 -263
- package/dist/commons/events/EventMetadata.d.ts +73 -31
- package/dist/commons/events/FieldConfig.d.ts +607 -30
- package/dist/commons/events/FieldType.d.ts +2 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +73 -41
- package/dist/commons/events/FieldValue.d.ts +57 -28
- package/dist/commons/events/FormConfig.d.ts +4685 -1295
- package/dist/commons/events/PageConfig.d.ts +868 -38
- package/dist/commons/events/User.d.ts +6 -3
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +4490 -1177
- package/dist/commons/events/defineConfig.d.ts +759 -34
- package/dist/commons/events/event.d.ts +15 -10
- package/dist/commons/events/field.d.ts +17 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +83 -36
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +2926 -88
- package/dist/conditionals/index.js +22 -51
- package/dist/events/index.js +1550 -1048
- package/dist/scopes/index.d.ts +96 -7
- package/dist/scopes/index.js +105 -26
- package/package.json +3 -3
@@ -1,13 +1,14 @@
|
|
1
1
|
import { z, ZodType } from 'zod';
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
id: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
4
|
type: z.ZodString;
|
5
5
|
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
6
6
|
legalStatuses: z.ZodObject<{
|
7
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
8
8
|
createdAt: z.ZodString;
|
9
9
|
createdBy: z.ZodString;
|
10
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
10
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
11
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
11
12
|
acceptedAt: z.ZodString;
|
12
13
|
createdByRole: z.ZodString;
|
13
14
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -16,20 +17,23 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
16
17
|
createdBy: string;
|
17
18
|
createdByRole: string;
|
18
19
|
acceptedAt: string;
|
20
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
19
21
|
createdBySignature?: string | null | undefined;
|
20
|
-
createdAtLocation?: string | null | undefined;
|
22
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
21
23
|
}, {
|
22
24
|
createdAt: string;
|
23
25
|
createdBy: string;
|
24
26
|
createdByRole: string;
|
25
27
|
acceptedAt: string;
|
28
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
26
29
|
createdBySignature?: string | null | undefined;
|
27
30
|
createdAtLocation?: string | null | undefined;
|
28
31
|
}>>>;
|
29
32
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
30
33
|
createdAt: z.ZodString;
|
31
34
|
createdBy: z.ZodString;
|
32
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
35
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
36
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
33
37
|
acceptedAt: z.ZodString;
|
34
38
|
createdByRole: z.ZodString;
|
35
39
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -41,14 +45,16 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
41
45
|
createdByRole: string;
|
42
46
|
registrationNumber: string;
|
43
47
|
acceptedAt: string;
|
48
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
44
49
|
createdBySignature?: string | null | undefined;
|
45
|
-
createdAtLocation?: string | null | undefined;
|
50
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
46
51
|
}, {
|
47
52
|
createdAt: string;
|
48
53
|
createdBy: string;
|
49
54
|
createdByRole: string;
|
50
55
|
registrationNumber: string;
|
51
56
|
acceptedAt: string;
|
57
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
52
58
|
createdBySignature?: string | null | undefined;
|
53
59
|
createdAtLocation?: string | null | undefined;
|
54
60
|
}>>>;
|
@@ -58,8 +64,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
58
64
|
createdBy: string;
|
59
65
|
createdByRole: string;
|
60
66
|
acceptedAt: string;
|
67
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
61
68
|
createdBySignature?: string | null | undefined;
|
62
|
-
createdAtLocation?: string | null | undefined;
|
69
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
63
70
|
} | null | undefined;
|
64
71
|
REGISTERED?: {
|
65
72
|
createdAt: string;
|
@@ -67,8 +74,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
67
74
|
createdByRole: string;
|
68
75
|
registrationNumber: string;
|
69
76
|
acceptedAt: string;
|
77
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
70
78
|
createdBySignature?: string | null | undefined;
|
71
|
-
createdAtLocation?: string | null | undefined;
|
79
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
72
80
|
} | null | undefined;
|
73
81
|
}, {
|
74
82
|
DECLARED?: {
|
@@ -76,6 +84,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
76
84
|
createdBy: string;
|
77
85
|
createdByRole: string;
|
78
86
|
acceptedAt: string;
|
87
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
79
88
|
createdBySignature?: string | null | undefined;
|
80
89
|
createdAtLocation?: string | null | undefined;
|
81
90
|
} | null | undefined;
|
@@ -85,6 +94,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
94
|
createdByRole: string;
|
86
95
|
registrationNumber: string;
|
87
96
|
acceptedAt: string;
|
97
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
88
98
|
createdBySignature?: string | null | undefined;
|
89
99
|
createdAtLocation?: string | null | undefined;
|
90
100
|
} | null | undefined;
|
@@ -92,44 +102,57 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
92
102
|
createdAt: z.ZodString;
|
93
103
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
94
104
|
createdBy: z.ZodString;
|
105
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
95
106
|
updatedByUserRole: z.ZodString;
|
96
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
107
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
97
108
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
98
|
-
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString
|
109
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
99
110
|
updatedAt: z.ZodString;
|
100
111
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
101
112
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
102
113
|
trackingId: z.ZodString;
|
103
114
|
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
104
|
-
readonly
|
115
|
+
readonly PRINTED: "printed";
|
116
|
+
readonly INCOMPLETE: "incomplete";
|
117
|
+
readonly REJECTED: "rejected";
|
118
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
105
119
|
}>]>, "many">;
|
106
120
|
}, {
|
107
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
108
|
-
|
121
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
122
|
+
start: z.ZodString;
|
123
|
+
end: z.ZodString;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
start: string;
|
126
|
+
end: string;
|
127
|
+
}, {
|
128
|
+
start: string;
|
129
|
+
end: string;
|
130
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
131
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
109
132
|
originalFilename: z.ZodString;
|
110
133
|
type: z.ZodString;
|
111
134
|
}, "strip", z.ZodTypeAny, {
|
112
135
|
type: string;
|
113
|
-
|
136
|
+
path: string;
|
114
137
|
originalFilename: string;
|
115
138
|
}, {
|
116
139
|
type: string;
|
117
|
-
|
140
|
+
path: string;
|
118
141
|
originalFilename: string;
|
119
142
|
}>, z.ZodArray<z.ZodObject<{
|
120
|
-
|
143
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
121
144
|
originalFilename: z.ZodString;
|
122
145
|
type: z.ZodString;
|
123
146
|
option: z.ZodString;
|
124
147
|
}, "strip", z.ZodTypeAny, {
|
125
148
|
type: string;
|
126
149
|
option: string;
|
127
|
-
|
150
|
+
path: string;
|
128
151
|
originalFilename: string;
|
129
152
|
}, {
|
130
153
|
type: string;
|
131
154
|
option: string;
|
132
|
-
|
155
|
+
path: string;
|
133
156
|
originalFilename: string;
|
134
157
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
135
158
|
country: z.ZodString;
|
@@ -230,27 +253,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
230
253
|
surname: string;
|
231
254
|
middlename?: string | undefined;
|
232
255
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
233
|
-
firstname: z.ZodString
|
234
|
-
surname: z.ZodString
|
256
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
257
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
235
258
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
236
259
|
}, "strip", z.ZodTypeAny, {
|
237
|
-
firstname
|
238
|
-
surname
|
260
|
+
firstname?: string | null | undefined;
|
261
|
+
surname?: string | null | undefined;
|
239
262
|
middlename?: string | null | undefined;
|
240
263
|
}, {
|
241
|
-
firstname
|
242
|
-
surname
|
264
|
+
firstname?: string | null | undefined;
|
265
|
+
surname?: string | null | undefined;
|
243
266
|
middlename?: string | null | undefined;
|
244
267
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
245
268
|
}>, "strip", z.ZodTypeAny, {
|
246
269
|
type: string;
|
247
|
-
id: string
|
270
|
+
id: string & z.BRAND<"UUID">;
|
248
271
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
249
272
|
createdAt: string;
|
250
273
|
createdBy: string;
|
251
274
|
declaration: Record<string, string | number | boolean | {
|
252
275
|
type: string;
|
253
|
-
|
276
|
+
path: string;
|
254
277
|
originalFilename: string;
|
255
278
|
} | {
|
256
279
|
country: string;
|
@@ -275,8 +298,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
275
298
|
surname: string;
|
276
299
|
middlename?: string | undefined;
|
277
300
|
} | {
|
278
|
-
firstname
|
279
|
-
surname
|
301
|
+
firstname?: string | null | undefined;
|
302
|
+
surname?: string | null | undefined;
|
280
303
|
middlename?: string | null | undefined;
|
281
304
|
} | {
|
282
305
|
country: string;
|
@@ -291,9 +314,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
291
314
|
} | {
|
292
315
|
type: string;
|
293
316
|
option: string;
|
294
|
-
|
317
|
+
path: string;
|
295
318
|
originalFilename: string;
|
296
|
-
}[] |
|
319
|
+
}[] | {
|
320
|
+
start: string;
|
321
|
+
end: string;
|
322
|
+
} | null | undefined>;
|
297
323
|
updatedAt: string;
|
298
324
|
trackingId: string;
|
299
325
|
legalStatuses: {
|
@@ -302,8 +328,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
302
328
|
createdBy: string;
|
303
329
|
createdByRole: string;
|
304
330
|
acceptedAt: string;
|
331
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
305
332
|
createdBySignature?: string | null | undefined;
|
306
|
-
createdAtLocation?: string | null | undefined;
|
333
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
307
334
|
} | null | undefined;
|
308
335
|
REGISTERED?: {
|
309
336
|
createdAt: string;
|
@@ -311,17 +338,19 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
311
338
|
createdByRole: string;
|
312
339
|
registrationNumber: string;
|
313
340
|
acceptedAt: string;
|
341
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
314
342
|
createdBySignature?: string | null | undefined;
|
315
|
-
createdAtLocation?: string | null | undefined;
|
343
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
316
344
|
} | null | undefined;
|
317
345
|
};
|
318
346
|
updatedByUserRole: string;
|
319
347
|
flags: string[];
|
348
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
320
349
|
createdBySignature?: string | null | undefined;
|
321
|
-
createdAtLocation?: string | null | undefined;
|
350
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
322
351
|
assignedTo?: string | null | undefined;
|
323
352
|
dateOfEvent?: string | null | undefined;
|
324
|
-
updatedAtLocation?: string | null | undefined;
|
353
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
325
354
|
updatedBy?: string | null | undefined;
|
326
355
|
}, {
|
327
356
|
type: string;
|
@@ -331,7 +360,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
331
360
|
createdBy: string;
|
332
361
|
declaration: Record<string, string | number | boolean | {
|
333
362
|
type: string;
|
334
|
-
|
363
|
+
path: string;
|
335
364
|
originalFilename: string;
|
336
365
|
} | {
|
337
366
|
country: string;
|
@@ -356,8 +385,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
356
385
|
surname: string;
|
357
386
|
middlename?: string | undefined;
|
358
387
|
} | {
|
359
|
-
firstname
|
360
|
-
surname
|
388
|
+
firstname?: string | null | undefined;
|
389
|
+
surname?: string | null | undefined;
|
361
390
|
middlename?: string | null | undefined;
|
362
391
|
} | {
|
363
392
|
country: string;
|
@@ -372,9 +401,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
372
401
|
} | {
|
373
402
|
type: string;
|
374
403
|
option: string;
|
375
|
-
|
404
|
+
path: string;
|
376
405
|
originalFilename: string;
|
377
|
-
}[] |
|
406
|
+
}[] | {
|
407
|
+
start: string;
|
408
|
+
end: string;
|
409
|
+
} | null | undefined>;
|
378
410
|
updatedAt: string;
|
379
411
|
trackingId: string;
|
380
412
|
legalStatuses: {
|
@@ -383,6 +415,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
383
415
|
createdBy: string;
|
384
416
|
createdByRole: string;
|
385
417
|
acceptedAt: string;
|
418
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
386
419
|
createdBySignature?: string | null | undefined;
|
387
420
|
createdAtLocation?: string | null | undefined;
|
388
421
|
} | null | undefined;
|
@@ -392,12 +425,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
392
425
|
createdByRole: string;
|
393
426
|
registrationNumber: string;
|
394
427
|
acceptedAt: string;
|
428
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
395
429
|
createdBySignature?: string | null | undefined;
|
396
430
|
createdAtLocation?: string | null | undefined;
|
397
431
|
} | null | undefined;
|
398
432
|
};
|
399
433
|
updatedByUserRole: string;
|
400
434
|
flags: string[];
|
435
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
401
436
|
createdBySignature?: string | null | undefined;
|
402
437
|
createdAtLocation?: string | null | undefined;
|
403
438
|
assignedTo?: string | null | undefined;
|
@@ -434,16 +469,6 @@ export declare const Exact: z.ZodObject<{
|
|
434
469
|
type: "exact";
|
435
470
|
term: string;
|
436
471
|
}>;
|
437
|
-
export declare const AnyOf: z.ZodObject<{
|
438
|
-
type: z.ZodLiteral<"anyOf">;
|
439
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
440
|
-
}, "strip", z.ZodTypeAny, {
|
441
|
-
type: "anyOf";
|
442
|
-
terms: string[];
|
443
|
-
}, {
|
444
|
-
type: "anyOf";
|
445
|
-
terms: string[];
|
446
|
-
}>;
|
447
472
|
export declare const ExactStatus: z.ZodObject<{
|
448
473
|
type: z.ZodLiteral<"exact">;
|
449
474
|
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
@@ -454,6 +479,26 @@ export declare const ExactStatus: z.ZodObject<{
|
|
454
479
|
type: "exact";
|
455
480
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
456
481
|
}>;
|
482
|
+
export declare const ExactUserType: z.ZodObject<{
|
483
|
+
type: z.ZodLiteral<"exact">;
|
484
|
+
term: z.ZodEnum<["user", "system"]>;
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
486
|
+
type: "exact";
|
487
|
+
term: "system" | "user";
|
488
|
+
}, {
|
489
|
+
type: "exact";
|
490
|
+
term: "system" | "user";
|
491
|
+
}>;
|
492
|
+
export declare const AnyOf: z.ZodObject<{
|
493
|
+
type: z.ZodLiteral<"anyOf">;
|
494
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
495
|
+
}, "strip", z.ZodTypeAny, {
|
496
|
+
type: "anyOf";
|
497
|
+
terms: string[];
|
498
|
+
}, {
|
499
|
+
type: "anyOf";
|
500
|
+
terms: string[];
|
501
|
+
}>;
|
457
502
|
export declare const AnyOfStatus: z.ZodObject<{
|
458
503
|
type: z.ZodLiteral<"anyOf">;
|
459
504
|
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
@@ -477,15 +522,25 @@ export declare const Range: z.ZodObject<{
|
|
477
522
|
gte: string;
|
478
523
|
lte: string;
|
479
524
|
}>;
|
480
|
-
export declare const
|
481
|
-
|
482
|
-
|
525
|
+
export declare const ContainsFlags: z.ZodObject<{
|
526
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
527
|
+
readonly PRINTED: "printed";
|
528
|
+
readonly INCOMPLETE: "incomplete";
|
529
|
+
readonly REJECTED: "rejected";
|
530
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
531
|
+
}>]>, "many">>;
|
532
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
533
|
+
readonly PRINTED: "printed";
|
534
|
+
readonly INCOMPLETE: "incomplete";
|
535
|
+
readonly REJECTED: "rejected";
|
536
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
537
|
+
}>]>, "many">>;
|
483
538
|
}, "strip", z.ZodTypeAny, {
|
484
|
-
|
485
|
-
|
539
|
+
anyOf?: string[] | undefined;
|
540
|
+
noneOf?: string[] | undefined;
|
486
541
|
}, {
|
487
|
-
|
488
|
-
|
542
|
+
anyOf?: string[] | undefined;
|
543
|
+
noneOf?: string[] | undefined;
|
489
544
|
}>;
|
490
545
|
export declare const Within: z.ZodObject<{
|
491
546
|
type: z.ZodLiteral<"within">;
|
@@ -497,10 +552,24 @@ export declare const Within: z.ZodObject<{
|
|
497
552
|
type: "within";
|
498
553
|
location: string;
|
499
554
|
}>;
|
500
|
-
export declare const
|
555
|
+
export declare const ExactDate: z.ZodObject<z.objectUtil.extendShape<{
|
501
556
|
type: z.ZodLiteral<"exact">;
|
502
557
|
term: z.ZodString;
|
503
|
-
},
|
558
|
+
}, {
|
559
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
560
|
+
}>, "strip", z.ZodTypeAny, {
|
561
|
+
type: "exact";
|
562
|
+
term: string;
|
563
|
+
}, {
|
564
|
+
type: "exact";
|
565
|
+
term: string;
|
566
|
+
}>;
|
567
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
568
|
+
type: z.ZodLiteral<"exact">;
|
569
|
+
term: z.ZodString;
|
570
|
+
}, {
|
571
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
572
|
+
}>, "strip", z.ZodTypeAny, {
|
504
573
|
type: "exact";
|
505
574
|
term: string;
|
506
575
|
}, {
|
@@ -508,8 +577,8 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
|
508
577
|
term: string;
|
509
578
|
}>, z.ZodObject<{
|
510
579
|
type: z.ZodLiteral<"range">;
|
511
|
-
gte: z.ZodString
|
512
|
-
lte: z.ZodString
|
580
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
581
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
513
582
|
}, "strip", z.ZodTypeAny, {
|
514
583
|
type: "range";
|
515
584
|
gte: string;
|
@@ -518,14 +587,25 @@ export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
|
518
587
|
type: "range";
|
519
588
|
gte: string;
|
520
589
|
lte: string;
|
590
|
+
}>, z.ZodObject<{
|
591
|
+
type: z.ZodLiteral<"timePeriod">;
|
592
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
594
|
+
type: "timePeriod";
|
595
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
596
|
+
}, {
|
597
|
+
type: "timePeriod";
|
598
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
521
599
|
}>]>;
|
600
|
+
export type DateCondition = z.infer<typeof DateCondition>;
|
522
601
|
export declare const QueryInput: ZodType;
|
523
|
-
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf
|
602
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
524
603
|
type QueryMap = {
|
525
604
|
[key: string]: BaseInput | QueryMap;
|
526
605
|
};
|
527
606
|
export type QueryInputType = BaseInput | QueryMap;
|
528
|
-
export declare const QueryExpression: z.ZodObject<{
|
607
|
+
export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
608
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
529
609
|
eventType: z.ZodOptional<z.ZodString>;
|
530
610
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
531
611
|
type: z.ZodLiteral<"anyOf">;
|
@@ -546,10 +626,12 @@ export declare const QueryExpression: z.ZodObject<{
|
|
546
626
|
type: "exact";
|
547
627
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
548
628
|
}>]>>>;
|
549
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
629
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
550
630
|
type: z.ZodLiteral<"exact">;
|
551
631
|
term: z.ZodString;
|
552
|
-
},
|
632
|
+
}, {
|
633
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
634
|
+
}>, "strip", z.ZodTypeAny, {
|
553
635
|
type: "exact";
|
554
636
|
term: string;
|
555
637
|
}, {
|
@@ -557,8 +639,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
557
639
|
term: string;
|
558
640
|
}>, z.ZodObject<{
|
559
641
|
type: z.ZodLiteral<"range">;
|
560
|
-
gte: z.ZodString
|
561
|
-
lte: z.ZodString
|
642
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
643
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
562
644
|
}, "strip", z.ZodTypeAny, {
|
563
645
|
type: "range";
|
564
646
|
gte: string;
|
@@ -567,11 +649,22 @@ export declare const QueryExpression: z.ZodObject<{
|
|
567
649
|
type: "range";
|
568
650
|
gte: string;
|
569
651
|
lte: string;
|
652
|
+
}>, z.ZodObject<{
|
653
|
+
type: z.ZodLiteral<"timePeriod">;
|
654
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
656
|
+
type: "timePeriod";
|
657
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
658
|
+
}, {
|
659
|
+
type: "timePeriod";
|
660
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
570
661
|
}>]>>>;
|
571
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
662
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
572
663
|
type: z.ZodLiteral<"exact">;
|
573
664
|
term: z.ZodString;
|
574
|
-
},
|
665
|
+
}, {
|
666
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
667
|
+
}>, "strip", z.ZodTypeAny, {
|
575
668
|
type: "exact";
|
576
669
|
term: string;
|
577
670
|
}, {
|
@@ -579,8 +672,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
579
672
|
term: string;
|
580
673
|
}>, z.ZodObject<{
|
581
674
|
type: z.ZodLiteral<"range">;
|
582
|
-
gte: z.ZodString
|
583
|
-
lte: z.ZodString
|
675
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
676
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
584
677
|
}, "strip", z.ZodTypeAny, {
|
585
678
|
type: "range";
|
586
679
|
gte: string;
|
@@ -589,11 +682,22 @@ export declare const QueryExpression: z.ZodObject<{
|
|
589
682
|
type: "range";
|
590
683
|
gte: string;
|
591
684
|
lte: string;
|
685
|
+
}>, z.ZodObject<{
|
686
|
+
type: z.ZodLiteral<"timePeriod">;
|
687
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
689
|
+
type: "timePeriod";
|
690
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
691
|
+
}, {
|
692
|
+
type: "timePeriod";
|
693
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
592
694
|
}>]>>>;
|
593
|
-
'
|
695
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
594
696
|
type: z.ZodLiteral<"exact">;
|
595
697
|
term: z.ZodString;
|
596
|
-
},
|
698
|
+
}, {
|
699
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
700
|
+
}>, "strip", z.ZodTypeAny, {
|
597
701
|
type: "exact";
|
598
702
|
term: string;
|
599
703
|
}, {
|
@@ -601,8 +705,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
601
705
|
term: string;
|
602
706
|
}>, z.ZodObject<{
|
603
707
|
type: z.ZodLiteral<"range">;
|
604
|
-
gte: z.ZodString
|
605
|
-
lte: z.ZodString
|
708
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
709
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
606
710
|
}, "strip", z.ZodTypeAny, {
|
607
711
|
type: "range";
|
608
712
|
gte: string;
|
@@ -611,8 +715,17 @@ export declare const QueryExpression: z.ZodObject<{
|
|
611
715
|
type: "range";
|
612
716
|
gte: string;
|
613
717
|
lte: string;
|
718
|
+
}>, z.ZodObject<{
|
719
|
+
type: z.ZodLiteral<"timePeriod">;
|
720
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
722
|
+
type: "timePeriod";
|
723
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
724
|
+
}, {
|
725
|
+
type: "timePeriod";
|
726
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
614
727
|
}>]>>>;
|
615
|
-
'
|
728
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
616
729
|
type: z.ZodLiteral<"within">;
|
617
730
|
location: z.ZodString;
|
618
731
|
}, "strip", z.ZodTypeAny, {
|
@@ -631,7 +744,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
631
744
|
type: "exact";
|
632
745
|
term: string;
|
633
746
|
}>]>>>;
|
634
|
-
'
|
747
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
635
748
|
type: z.ZodLiteral<"exact">;
|
636
749
|
term: z.ZodString;
|
637
750
|
}, "strip", z.ZodTypeAny, {
|
@@ -689,6 +802,16 @@ export declare const QueryExpression: z.ZodObject<{
|
|
689
802
|
type: "exact";
|
690
803
|
term: string;
|
691
804
|
}>>>;
|
805
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
806
|
+
type: z.ZodLiteral<"exact">;
|
807
|
+
term: z.ZodEnum<["user", "system"]>;
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
809
|
+
type: "exact";
|
810
|
+
term: "system" | "user";
|
811
|
+
}, {
|
812
|
+
type: "exact";
|
813
|
+
term: "system" | "user";
|
814
|
+
}>>>;
|
692
815
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
693
816
|
type: z.ZodLiteral<"exact">;
|
694
817
|
term: z.ZodString;
|
@@ -719,27 +842,29 @@ export declare const QueryExpression: z.ZodObject<{
|
|
719
842
|
type: "exact";
|
720
843
|
term: string;
|
721
844
|
}>>>;
|
722
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
845
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
846
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
847
|
+
readonly PRINTED: "printed";
|
848
|
+
readonly INCOMPLETE: "incomplete";
|
849
|
+
readonly REJECTED: "rejected";
|
850
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
851
|
+
}>]>, "many">>;
|
852
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
853
|
+
readonly PRINTED: "printed";
|
854
|
+
readonly INCOMPLETE: "incomplete";
|
855
|
+
readonly REJECTED: "rejected";
|
856
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
857
|
+
}>]>, "many">>;
|
734
858
|
}, "strip", z.ZodTypeAny, {
|
735
|
-
|
736
|
-
|
859
|
+
anyOf?: string[] | undefined;
|
860
|
+
noneOf?: string[] | undefined;
|
737
861
|
}, {
|
738
|
-
|
739
|
-
|
740
|
-
}
|
862
|
+
anyOf?: string[] | undefined;
|
863
|
+
noneOf?: string[] | undefined;
|
864
|
+
}>>>;
|
741
865
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
742
866
|
}, "strip", z.ZodTypeAny, {
|
867
|
+
id?: string | undefined;
|
743
868
|
status?: {
|
744
869
|
type: "exact";
|
745
870
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -748,13 +873,20 @@ export declare const QueryExpression: z.ZodObject<{
|
|
748
873
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
749
874
|
} | undefined;
|
750
875
|
data?: any;
|
751
|
-
|
876
|
+
createdByUserType?: {
|
752
877
|
type: "exact";
|
753
|
-
term:
|
754
|
-
} |
|
878
|
+
term: "system" | "user";
|
879
|
+
} | undefined;
|
880
|
+
createdAt?: {
|
755
881
|
type: "range";
|
756
882
|
gte: string;
|
757
883
|
lte: string;
|
884
|
+
} | {
|
885
|
+
type: "exact";
|
886
|
+
term: string;
|
887
|
+
} | {
|
888
|
+
type: "timePeriod";
|
889
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
758
890
|
} | undefined;
|
759
891
|
createdBy?: {
|
760
892
|
type: "exact";
|
@@ -772,12 +904,15 @@ export declare const QueryExpression: z.ZodObject<{
|
|
772
904
|
term: string;
|
773
905
|
} | undefined;
|
774
906
|
updatedAt?: {
|
775
|
-
type: "exact";
|
776
|
-
term: string;
|
777
|
-
} | {
|
778
907
|
type: "range";
|
779
908
|
gte: string;
|
780
909
|
lte: string;
|
910
|
+
} | {
|
911
|
+
type: "exact";
|
912
|
+
term: string;
|
913
|
+
} | {
|
914
|
+
type: "timePeriod";
|
915
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
781
916
|
} | undefined;
|
782
917
|
trackingId?: {
|
783
918
|
type: "exact";
|
@@ -794,34 +929,128 @@ export declare const QueryExpression: z.ZodObject<{
|
|
794
929
|
type: "exact";
|
795
930
|
term: string;
|
796
931
|
} | undefined;
|
797
|
-
flags?:
|
932
|
+
flags?: {
|
933
|
+
anyOf?: string[] | undefined;
|
934
|
+
noneOf?: string[] | undefined;
|
935
|
+
} | undefined;
|
936
|
+
eventType?: string | undefined;
|
937
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
938
|
+
type: "range";
|
939
|
+
gte: string;
|
940
|
+
lte: string;
|
941
|
+
} | {
|
942
|
+
type: "exact";
|
943
|
+
term: string;
|
944
|
+
} | {
|
945
|
+
type: "timePeriod";
|
946
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
947
|
+
} | undefined;
|
948
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
949
|
+
type: "exact";
|
950
|
+
term: string;
|
951
|
+
} | {
|
952
|
+
type: "within";
|
953
|
+
location: string;
|
954
|
+
} | undefined;
|
955
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
956
|
+
type: "exact";
|
957
|
+
term: string;
|
958
|
+
} | undefined;
|
959
|
+
}, {
|
960
|
+
id?: string | undefined;
|
961
|
+
status?: {
|
962
|
+
type: "exact";
|
963
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
964
|
+
} | {
|
798
965
|
type: "anyOf";
|
799
|
-
terms:
|
966
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
967
|
+
} | undefined;
|
968
|
+
data?: any;
|
969
|
+
createdByUserType?: {
|
970
|
+
type: "exact";
|
971
|
+
term: "system" | "user";
|
972
|
+
} | undefined;
|
973
|
+
createdAt?: {
|
974
|
+
type: "range";
|
975
|
+
gte: string;
|
976
|
+
lte: string;
|
977
|
+
} | {
|
978
|
+
type: "exact";
|
979
|
+
term: string;
|
800
980
|
} | {
|
801
|
-
type: "
|
981
|
+
type: "timePeriod";
|
982
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
983
|
+
} | undefined;
|
984
|
+
createdBy?: {
|
985
|
+
type: "exact";
|
802
986
|
term: string;
|
803
|
-
}
|
804
|
-
|
805
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
987
|
+
} | undefined;
|
988
|
+
createdAtLocation?: {
|
806
989
|
type: "exact";
|
807
990
|
term: string;
|
808
991
|
} | {
|
992
|
+
type: "within";
|
993
|
+
location: string;
|
994
|
+
} | undefined;
|
995
|
+
assignedTo?: {
|
996
|
+
type: "exact";
|
997
|
+
term: string;
|
998
|
+
} | undefined;
|
999
|
+
updatedAt?: {
|
809
1000
|
type: "range";
|
810
1001
|
gte: string;
|
811
1002
|
lte: string;
|
1003
|
+
} | {
|
1004
|
+
type: "exact";
|
1005
|
+
term: string;
|
1006
|
+
} | {
|
1007
|
+
type: "timePeriod";
|
1008
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1009
|
+
} | undefined;
|
1010
|
+
trackingId?: {
|
1011
|
+
type: "exact";
|
1012
|
+
term: string;
|
812
1013
|
} | undefined;
|
813
|
-
|
1014
|
+
updatedAtLocation?: {
|
814
1015
|
type: "exact";
|
815
1016
|
term: string;
|
816
1017
|
} | {
|
817
1018
|
type: "within";
|
818
1019
|
location: string;
|
819
1020
|
} | undefined;
|
820
|
-
|
1021
|
+
updatedBy?: {
|
821
1022
|
type: "exact";
|
822
1023
|
term: string;
|
823
1024
|
} | undefined;
|
824
|
-
|
1025
|
+
flags?: {
|
1026
|
+
anyOf?: string[] | undefined;
|
1027
|
+
noneOf?: string[] | undefined;
|
1028
|
+
} | undefined;
|
1029
|
+
eventType?: string | undefined;
|
1030
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1031
|
+
type: "range";
|
1032
|
+
gte: string;
|
1033
|
+
lte: string;
|
1034
|
+
} | {
|
1035
|
+
type: "exact";
|
1036
|
+
term: string;
|
1037
|
+
} | {
|
1038
|
+
type: "timePeriod";
|
1039
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1040
|
+
} | undefined;
|
1041
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1042
|
+
type: "exact";
|
1043
|
+
term: string;
|
1044
|
+
} | {
|
1045
|
+
type: "within";
|
1046
|
+
location: string;
|
1047
|
+
} | undefined;
|
1048
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1049
|
+
type: "exact";
|
1050
|
+
term: string;
|
1051
|
+
} | undefined;
|
1052
|
+
}>, {
|
1053
|
+
id?: string | undefined;
|
825
1054
|
status?: {
|
826
1055
|
type: "exact";
|
827
1056
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -830,13 +1059,20 @@ export declare const QueryExpression: z.ZodObject<{
|
|
830
1059
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
831
1060
|
} | undefined;
|
832
1061
|
data?: any;
|
833
|
-
|
1062
|
+
createdByUserType?: {
|
834
1063
|
type: "exact";
|
835
|
-
term:
|
836
|
-
} |
|
1064
|
+
term: "system" | "user";
|
1065
|
+
} | undefined;
|
1066
|
+
createdAt?: {
|
837
1067
|
type: "range";
|
838
1068
|
gte: string;
|
839
1069
|
lte: string;
|
1070
|
+
} | {
|
1071
|
+
type: "exact";
|
1072
|
+
term: string;
|
1073
|
+
} | {
|
1074
|
+
type: "timePeriod";
|
1075
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
840
1076
|
} | undefined;
|
841
1077
|
createdBy?: {
|
842
1078
|
type: "exact";
|
@@ -854,12 +1090,15 @@ export declare const QueryExpression: z.ZodObject<{
|
|
854
1090
|
term: string;
|
855
1091
|
} | undefined;
|
856
1092
|
updatedAt?: {
|
857
|
-
type: "exact";
|
858
|
-
term: string;
|
859
|
-
} | {
|
860
1093
|
type: "range";
|
861
1094
|
gte: string;
|
862
1095
|
lte: string;
|
1096
|
+
} | {
|
1097
|
+
type: "exact";
|
1098
|
+
term: string;
|
1099
|
+
} | {
|
1100
|
+
type: "timePeriod";
|
1101
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
863
1102
|
} | undefined;
|
864
1103
|
trackingId?: {
|
865
1104
|
type: "exact";
|
@@ -876,38 +1115,132 @@ export declare const QueryExpression: z.ZodObject<{
|
|
876
1115
|
type: "exact";
|
877
1116
|
term: string;
|
878
1117
|
} | undefined;
|
879
|
-
flags?:
|
880
|
-
|
881
|
-
|
1118
|
+
flags?: {
|
1119
|
+
anyOf?: string[] | undefined;
|
1120
|
+
noneOf?: string[] | undefined;
|
1121
|
+
} | undefined;
|
1122
|
+
eventType?: string | undefined;
|
1123
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1124
|
+
type: "range";
|
1125
|
+
gte: string;
|
1126
|
+
lte: string;
|
882
1127
|
} | {
|
883
|
-
type: "
|
1128
|
+
type: "exact";
|
884
1129
|
term: string;
|
885
|
-
}
|
886
|
-
|
887
|
-
|
1130
|
+
} | {
|
1131
|
+
type: "timePeriod";
|
1132
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1133
|
+
} | undefined;
|
1134
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
888
1135
|
type: "exact";
|
889
1136
|
term: string;
|
890
1137
|
} | {
|
1138
|
+
type: "within";
|
1139
|
+
location: string;
|
1140
|
+
} | undefined;
|
1141
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1142
|
+
type: "exact";
|
1143
|
+
term: string;
|
1144
|
+
} | undefined;
|
1145
|
+
}, {
|
1146
|
+
id?: string | undefined;
|
1147
|
+
status?: {
|
1148
|
+
type: "exact";
|
1149
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1150
|
+
} | {
|
1151
|
+
type: "anyOf";
|
1152
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1153
|
+
} | undefined;
|
1154
|
+
data?: any;
|
1155
|
+
createdByUserType?: {
|
1156
|
+
type: "exact";
|
1157
|
+
term: "system" | "user";
|
1158
|
+
} | undefined;
|
1159
|
+
createdAt?: {
|
891
1160
|
type: "range";
|
892
1161
|
gte: string;
|
893
1162
|
lte: string;
|
1163
|
+
} | {
|
1164
|
+
type: "exact";
|
1165
|
+
term: string;
|
1166
|
+
} | {
|
1167
|
+
type: "timePeriod";
|
1168
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1169
|
+
} | undefined;
|
1170
|
+
createdBy?: {
|
1171
|
+
type: "exact";
|
1172
|
+
term: string;
|
894
1173
|
} | undefined;
|
895
|
-
|
1174
|
+
createdAtLocation?: {
|
896
1175
|
type: "exact";
|
897
1176
|
term: string;
|
898
1177
|
} | {
|
899
1178
|
type: "within";
|
900
1179
|
location: string;
|
901
1180
|
} | undefined;
|
902
|
-
|
1181
|
+
assignedTo?: {
|
903
1182
|
type: "exact";
|
904
1183
|
term: string;
|
905
1184
|
} | undefined;
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
1185
|
+
updatedAt?: {
|
1186
|
+
type: "range";
|
1187
|
+
gte: string;
|
1188
|
+
lte: string;
|
1189
|
+
} | {
|
1190
|
+
type: "exact";
|
1191
|
+
term: string;
|
1192
|
+
} | {
|
1193
|
+
type: "timePeriod";
|
1194
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1195
|
+
} | undefined;
|
1196
|
+
trackingId?: {
|
1197
|
+
type: "exact";
|
1198
|
+
term: string;
|
1199
|
+
} | undefined;
|
1200
|
+
updatedAtLocation?: {
|
1201
|
+
type: "exact";
|
1202
|
+
term: string;
|
1203
|
+
} | {
|
1204
|
+
type: "within";
|
1205
|
+
location: string;
|
1206
|
+
} | undefined;
|
1207
|
+
updatedBy?: {
|
1208
|
+
type: "exact";
|
1209
|
+
term: string;
|
1210
|
+
} | undefined;
|
1211
|
+
flags?: {
|
1212
|
+
anyOf?: string[] | undefined;
|
1213
|
+
noneOf?: string[] | undefined;
|
1214
|
+
} | undefined;
|
1215
|
+
eventType?: string | undefined;
|
1216
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1217
|
+
type: "range";
|
1218
|
+
gte: string;
|
1219
|
+
lte: string;
|
1220
|
+
} | {
|
1221
|
+
type: "exact";
|
1222
|
+
term: string;
|
1223
|
+
} | {
|
1224
|
+
type: "timePeriod";
|
1225
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1226
|
+
} | undefined;
|
1227
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1228
|
+
type: "exact";
|
1229
|
+
term: string;
|
1230
|
+
} | {
|
1231
|
+
type: "within";
|
1232
|
+
location: string;
|
1233
|
+
} | undefined;
|
1234
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1235
|
+
type: "exact";
|
1236
|
+
term: string;
|
1237
|
+
} | undefined;
|
1238
|
+
}>;
|
1239
|
+
export declare const QueryType: z.ZodObject<{
|
1240
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
1241
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
1242
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
1243
|
+
eventType: z.ZodOptional<z.ZodString>;
|
911
1244
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
912
1245
|
type: z.ZodLiteral<"anyOf">;
|
913
1246
|
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
@@ -927,10 +1260,12 @@ export declare const QueryType: z.ZodObject<{
|
|
927
1260
|
type: "exact";
|
928
1261
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
929
1262
|
}>]>>>;
|
930
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1263
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
931
1264
|
type: z.ZodLiteral<"exact">;
|
932
1265
|
term: z.ZodString;
|
933
|
-
},
|
1266
|
+
}, {
|
1267
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1268
|
+
}>, "strip", z.ZodTypeAny, {
|
934
1269
|
type: "exact";
|
935
1270
|
term: string;
|
936
1271
|
}, {
|
@@ -938,8 +1273,8 @@ export declare const QueryType: z.ZodObject<{
|
|
938
1273
|
term: string;
|
939
1274
|
}>, z.ZodObject<{
|
940
1275
|
type: z.ZodLiteral<"range">;
|
941
|
-
gte: z.ZodString
|
942
|
-
lte: z.ZodString
|
1276
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1277
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
943
1278
|
}, "strip", z.ZodTypeAny, {
|
944
1279
|
type: "range";
|
945
1280
|
gte: string;
|
@@ -948,11 +1283,22 @@ export declare const QueryType: z.ZodObject<{
|
|
948
1283
|
type: "range";
|
949
1284
|
gte: string;
|
950
1285
|
lte: string;
|
1286
|
+
}>, z.ZodObject<{
|
1287
|
+
type: z.ZodLiteral<"timePeriod">;
|
1288
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1289
|
+
}, "strip", z.ZodTypeAny, {
|
1290
|
+
type: "timePeriod";
|
1291
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1292
|
+
}, {
|
1293
|
+
type: "timePeriod";
|
1294
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
951
1295
|
}>]>>>;
|
952
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1296
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
953
1297
|
type: z.ZodLiteral<"exact">;
|
954
1298
|
term: z.ZodString;
|
955
|
-
},
|
1299
|
+
}, {
|
1300
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1301
|
+
}>, "strip", z.ZodTypeAny, {
|
956
1302
|
type: "exact";
|
957
1303
|
term: string;
|
958
1304
|
}, {
|
@@ -960,8 +1306,8 @@ export declare const QueryType: z.ZodObject<{
|
|
960
1306
|
term: string;
|
961
1307
|
}>, z.ZodObject<{
|
962
1308
|
type: z.ZodLiteral<"range">;
|
963
|
-
gte: z.ZodString
|
964
|
-
lte: z.ZodString
|
1309
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1310
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
965
1311
|
}, "strip", z.ZodTypeAny, {
|
966
1312
|
type: "range";
|
967
1313
|
gte: string;
|
@@ -970,11 +1316,22 @@ export declare const QueryType: z.ZodObject<{
|
|
970
1316
|
type: "range";
|
971
1317
|
gte: string;
|
972
1318
|
lte: string;
|
1319
|
+
}>, z.ZodObject<{
|
1320
|
+
type: z.ZodLiteral<"timePeriod">;
|
1321
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1322
|
+
}, "strip", z.ZodTypeAny, {
|
1323
|
+
type: "timePeriod";
|
1324
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1325
|
+
}, {
|
1326
|
+
type: "timePeriod";
|
1327
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
973
1328
|
}>]>>>;
|
974
|
-
'
|
1329
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
975
1330
|
type: z.ZodLiteral<"exact">;
|
976
1331
|
term: z.ZodString;
|
977
|
-
},
|
1332
|
+
}, {
|
1333
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1334
|
+
}>, "strip", z.ZodTypeAny, {
|
978
1335
|
type: "exact";
|
979
1336
|
term: string;
|
980
1337
|
}, {
|
@@ -982,8 +1339,8 @@ export declare const QueryType: z.ZodObject<{
|
|
982
1339
|
term: string;
|
983
1340
|
}>, z.ZodObject<{
|
984
1341
|
type: z.ZodLiteral<"range">;
|
985
|
-
gte: z.ZodString
|
986
|
-
lte: z.ZodString
|
1342
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1343
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
987
1344
|
}, "strip", z.ZodTypeAny, {
|
988
1345
|
type: "range";
|
989
1346
|
gte: string;
|
@@ -992,8 +1349,17 @@ export declare const QueryType: z.ZodObject<{
|
|
992
1349
|
type: "range";
|
993
1350
|
gte: string;
|
994
1351
|
lte: string;
|
1352
|
+
}>, z.ZodObject<{
|
1353
|
+
type: z.ZodLiteral<"timePeriod">;
|
1354
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
1356
|
+
type: "timePeriod";
|
1357
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1358
|
+
}, {
|
1359
|
+
type: "timePeriod";
|
1360
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
995
1361
|
}>]>>>;
|
996
|
-
'
|
1362
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
997
1363
|
type: z.ZodLiteral<"within">;
|
998
1364
|
location: z.ZodString;
|
999
1365
|
}, "strip", z.ZodTypeAny, {
|
@@ -1012,7 +1378,7 @@ export declare const QueryType: z.ZodObject<{
|
|
1012
1378
|
type: "exact";
|
1013
1379
|
term: string;
|
1014
1380
|
}>]>>>;
|
1015
|
-
'
|
1381
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1016
1382
|
type: z.ZodLiteral<"exact">;
|
1017
1383
|
term: z.ZodString;
|
1018
1384
|
}, "strip", z.ZodTypeAny, {
|
@@ -1070,6 +1436,16 @@ export declare const QueryType: z.ZodObject<{
|
|
1070
1436
|
type: "exact";
|
1071
1437
|
term: string;
|
1072
1438
|
}>>>;
|
1439
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1440
|
+
type: z.ZodLiteral<"exact">;
|
1441
|
+
term: z.ZodEnum<["user", "system"]>;
|
1442
|
+
}, "strip", z.ZodTypeAny, {
|
1443
|
+
type: "exact";
|
1444
|
+
term: "system" | "user";
|
1445
|
+
}, {
|
1446
|
+
type: "exact";
|
1447
|
+
term: "system" | "user";
|
1448
|
+
}>>>;
|
1073
1449
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1074
1450
|
type: z.ZodLiteral<"exact">;
|
1075
1451
|
term: z.ZodString;
|
@@ -1100,27 +1476,29 @@ export declare const QueryType: z.ZodObject<{
|
|
1100
1476
|
type: "exact";
|
1101
1477
|
term: string;
|
1102
1478
|
}>>>;
|
1103
|
-
flags: z.ZodOptional<z.ZodOptional<z.
|
1104
|
-
|
1105
|
-
|
1479
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1480
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1481
|
+
readonly PRINTED: "printed";
|
1482
|
+
readonly INCOMPLETE: "incomplete";
|
1483
|
+
readonly REJECTED: "rejected";
|
1484
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1485
|
+
}>]>, "many">>;
|
1486
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1487
|
+
readonly PRINTED: "printed";
|
1488
|
+
readonly INCOMPLETE: "incomplete";
|
1489
|
+
readonly REJECTED: "rejected";
|
1490
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1491
|
+
}>]>, "many">>;
|
1106
1492
|
}, "strip", z.ZodTypeAny, {
|
1107
|
-
|
1108
|
-
|
1109
|
-
}, {
|
1110
|
-
type: "anyOf";
|
1111
|
-
terms: string[];
|
1112
|
-
}>, z.ZodObject<{
|
1113
|
-
type: z.ZodLiteral<"not">;
|
1114
|
-
term: z.ZodString;
|
1115
|
-
}, "strip", z.ZodTypeAny, {
|
1116
|
-
type: "not";
|
1117
|
-
term: string;
|
1493
|
+
anyOf?: string[] | undefined;
|
1494
|
+
noneOf?: string[] | undefined;
|
1118
1495
|
}, {
|
1119
|
-
|
1120
|
-
|
1121
|
-
}
|
1496
|
+
anyOf?: string[] | undefined;
|
1497
|
+
noneOf?: string[] | undefined;
|
1498
|
+
}>>>;
|
1122
1499
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1123
1500
|
}, "strip", z.ZodTypeAny, {
|
1501
|
+
id?: string | undefined;
|
1124
1502
|
status?: {
|
1125
1503
|
type: "exact";
|
1126
1504
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1129,13 +1507,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1129
1507
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1130
1508
|
} | undefined;
|
1131
1509
|
data?: any;
|
1132
|
-
|
1510
|
+
createdByUserType?: {
|
1133
1511
|
type: "exact";
|
1134
|
-
term:
|
1135
|
-
} |
|
1512
|
+
term: "system" | "user";
|
1513
|
+
} | undefined;
|
1514
|
+
createdAt?: {
|
1136
1515
|
type: "range";
|
1137
1516
|
gte: string;
|
1138
1517
|
lte: string;
|
1518
|
+
} | {
|
1519
|
+
type: "exact";
|
1520
|
+
term: string;
|
1521
|
+
} | {
|
1522
|
+
type: "timePeriod";
|
1523
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1139
1524
|
} | undefined;
|
1140
1525
|
createdBy?: {
|
1141
1526
|
type: "exact";
|
@@ -1153,12 +1538,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1153
1538
|
term: string;
|
1154
1539
|
} | undefined;
|
1155
1540
|
updatedAt?: {
|
1156
|
-
type: "exact";
|
1157
|
-
term: string;
|
1158
|
-
} | {
|
1159
1541
|
type: "range";
|
1160
1542
|
gte: string;
|
1161
1543
|
lte: string;
|
1544
|
+
} | {
|
1545
|
+
type: "exact";
|
1546
|
+
term: string;
|
1547
|
+
} | {
|
1548
|
+
type: "timePeriod";
|
1549
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1162
1550
|
} | undefined;
|
1163
1551
|
trackingId?: {
|
1164
1552
|
type: "exact";
|
@@ -1175,34 +1563,35 @@ export declare const QueryType: z.ZodObject<{
|
|
1175
1563
|
type: "exact";
|
1176
1564
|
term: string;
|
1177
1565
|
} | undefined;
|
1178
|
-
flags?:
|
1179
|
-
|
1180
|
-
|
1181
|
-
} |
|
1182
|
-
type: "not";
|
1183
|
-
term: string;
|
1184
|
-
})[] | undefined;
|
1566
|
+
flags?: {
|
1567
|
+
anyOf?: string[] | undefined;
|
1568
|
+
noneOf?: string[] | undefined;
|
1569
|
+
} | undefined;
|
1185
1570
|
eventType?: string | undefined;
|
1186
|
-
'
|
1187
|
-
type: "exact";
|
1188
|
-
term: string;
|
1189
|
-
} | {
|
1571
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1190
1572
|
type: "range";
|
1191
1573
|
gte: string;
|
1192
1574
|
lte: string;
|
1575
|
+
} | {
|
1576
|
+
type: "exact";
|
1577
|
+
term: string;
|
1578
|
+
} | {
|
1579
|
+
type: "timePeriod";
|
1580
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1193
1581
|
} | undefined;
|
1194
|
-
'
|
1582
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1195
1583
|
type: "exact";
|
1196
1584
|
term: string;
|
1197
1585
|
} | {
|
1198
1586
|
type: "within";
|
1199
1587
|
location: string;
|
1200
1588
|
} | undefined;
|
1201
|
-
'
|
1589
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1202
1590
|
type: "exact";
|
1203
1591
|
term: string;
|
1204
1592
|
} | undefined;
|
1205
1593
|
}, {
|
1594
|
+
id?: string | undefined;
|
1206
1595
|
status?: {
|
1207
1596
|
type: "exact";
|
1208
1597
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1211,13 +1600,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1211
1600
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1212
1601
|
} | undefined;
|
1213
1602
|
data?: any;
|
1214
|
-
|
1603
|
+
createdByUserType?: {
|
1215
1604
|
type: "exact";
|
1216
|
-
term:
|
1217
|
-
} |
|
1605
|
+
term: "system" | "user";
|
1606
|
+
} | undefined;
|
1607
|
+
createdAt?: {
|
1218
1608
|
type: "range";
|
1219
1609
|
gte: string;
|
1220
1610
|
lte: string;
|
1611
|
+
} | {
|
1612
|
+
type: "exact";
|
1613
|
+
term: string;
|
1614
|
+
} | {
|
1615
|
+
type: "timePeriod";
|
1616
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1221
1617
|
} | undefined;
|
1222
1618
|
createdBy?: {
|
1223
1619
|
type: "exact";
|
@@ -1235,12 +1631,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1235
1631
|
term: string;
|
1236
1632
|
} | undefined;
|
1237
1633
|
updatedAt?: {
|
1238
|
-
type: "exact";
|
1239
|
-
term: string;
|
1240
|
-
} | {
|
1241
1634
|
type: "range";
|
1242
1635
|
gte: string;
|
1243
1636
|
lte: string;
|
1637
|
+
} | {
|
1638
|
+
type: "exact";
|
1639
|
+
term: string;
|
1640
|
+
} | {
|
1641
|
+
type: "timePeriod";
|
1642
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1244
1643
|
} | undefined;
|
1245
1644
|
trackingId?: {
|
1246
1645
|
type: "exact";
|
@@ -1257,34 +1656,128 @@ export declare const QueryType: z.ZodObject<{
|
|
1257
1656
|
type: "exact";
|
1258
1657
|
term: string;
|
1259
1658
|
} | undefined;
|
1260
|
-
flags?:
|
1659
|
+
flags?: {
|
1660
|
+
anyOf?: string[] | undefined;
|
1661
|
+
noneOf?: string[] | undefined;
|
1662
|
+
} | undefined;
|
1663
|
+
eventType?: string | undefined;
|
1664
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1665
|
+
type: "range";
|
1666
|
+
gte: string;
|
1667
|
+
lte: string;
|
1668
|
+
} | {
|
1669
|
+
type: "exact";
|
1670
|
+
term: string;
|
1671
|
+
} | {
|
1672
|
+
type: "timePeriod";
|
1673
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1674
|
+
} | undefined;
|
1675
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1676
|
+
type: "exact";
|
1677
|
+
term: string;
|
1678
|
+
} | {
|
1679
|
+
type: "within";
|
1680
|
+
location: string;
|
1681
|
+
} | undefined;
|
1682
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1683
|
+
type: "exact";
|
1684
|
+
term: string;
|
1685
|
+
} | undefined;
|
1686
|
+
}>, {
|
1687
|
+
id?: string | undefined;
|
1688
|
+
status?: {
|
1689
|
+
type: "exact";
|
1690
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1691
|
+
} | {
|
1261
1692
|
type: "anyOf";
|
1262
|
-
terms:
|
1693
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1694
|
+
} | undefined;
|
1695
|
+
data?: any;
|
1696
|
+
createdByUserType?: {
|
1697
|
+
type: "exact";
|
1698
|
+
term: "system" | "user";
|
1699
|
+
} | undefined;
|
1700
|
+
createdAt?: {
|
1701
|
+
type: "range";
|
1702
|
+
gte: string;
|
1703
|
+
lte: string;
|
1263
1704
|
} | {
|
1264
|
-
type: "
|
1705
|
+
type: "exact";
|
1265
1706
|
term: string;
|
1266
|
-
}
|
1267
|
-
|
1268
|
-
|
1707
|
+
} | {
|
1708
|
+
type: "timePeriod";
|
1709
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1710
|
+
} | undefined;
|
1711
|
+
createdBy?: {
|
1712
|
+
type: "exact";
|
1713
|
+
term: string;
|
1714
|
+
} | undefined;
|
1715
|
+
createdAtLocation?: {
|
1269
1716
|
type: "exact";
|
1270
1717
|
term: string;
|
1271
1718
|
} | {
|
1719
|
+
type: "within";
|
1720
|
+
location: string;
|
1721
|
+
} | undefined;
|
1722
|
+
assignedTo?: {
|
1723
|
+
type: "exact";
|
1724
|
+
term: string;
|
1725
|
+
} | undefined;
|
1726
|
+
updatedAt?: {
|
1272
1727
|
type: "range";
|
1273
1728
|
gte: string;
|
1274
1729
|
lte: string;
|
1730
|
+
} | {
|
1731
|
+
type: "exact";
|
1732
|
+
term: string;
|
1733
|
+
} | {
|
1734
|
+
type: "timePeriod";
|
1735
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1275
1736
|
} | undefined;
|
1276
|
-
|
1737
|
+
trackingId?: {
|
1738
|
+
type: "exact";
|
1739
|
+
term: string;
|
1740
|
+
} | undefined;
|
1741
|
+
updatedAtLocation?: {
|
1277
1742
|
type: "exact";
|
1278
1743
|
term: string;
|
1279
1744
|
} | {
|
1280
1745
|
type: "within";
|
1281
1746
|
location: string;
|
1282
1747
|
} | undefined;
|
1283
|
-
|
1748
|
+
updatedBy?: {
|
1284
1749
|
type: "exact";
|
1285
1750
|
term: string;
|
1286
1751
|
} | undefined;
|
1287
|
-
|
1752
|
+
flags?: {
|
1753
|
+
anyOf?: string[] | undefined;
|
1754
|
+
noneOf?: string[] | undefined;
|
1755
|
+
} | undefined;
|
1756
|
+
eventType?: string | undefined;
|
1757
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1758
|
+
type: "range";
|
1759
|
+
gte: string;
|
1760
|
+
lte: string;
|
1761
|
+
} | {
|
1762
|
+
type: "exact";
|
1763
|
+
term: string;
|
1764
|
+
} | {
|
1765
|
+
type: "timePeriod";
|
1766
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1767
|
+
} | undefined;
|
1768
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1769
|
+
type: "exact";
|
1770
|
+
term: string;
|
1771
|
+
} | {
|
1772
|
+
type: "within";
|
1773
|
+
location: string;
|
1774
|
+
} | undefined;
|
1775
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1776
|
+
type: "exact";
|
1777
|
+
term: string;
|
1778
|
+
} | undefined;
|
1779
|
+
}, {
|
1780
|
+
id?: string | undefined;
|
1288
1781
|
status?: {
|
1289
1782
|
type: "exact";
|
1290
1783
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1293,13 +1786,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1293
1786
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1294
1787
|
} | undefined;
|
1295
1788
|
data?: any;
|
1296
|
-
|
1789
|
+
createdByUserType?: {
|
1297
1790
|
type: "exact";
|
1298
|
-
term:
|
1299
|
-
} |
|
1791
|
+
term: "system" | "user";
|
1792
|
+
} | undefined;
|
1793
|
+
createdAt?: {
|
1300
1794
|
type: "range";
|
1301
1795
|
gte: string;
|
1302
1796
|
lte: string;
|
1797
|
+
} | {
|
1798
|
+
type: "exact";
|
1799
|
+
term: string;
|
1800
|
+
} | {
|
1801
|
+
type: "timePeriod";
|
1802
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1303
1803
|
} | undefined;
|
1304
1804
|
createdBy?: {
|
1305
1805
|
type: "exact";
|
@@ -1317,12 +1817,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1317
1817
|
term: string;
|
1318
1818
|
} | undefined;
|
1319
1819
|
updatedAt?: {
|
1320
|
-
type: "exact";
|
1321
|
-
term: string;
|
1322
|
-
} | {
|
1323
1820
|
type: "range";
|
1324
1821
|
gte: string;
|
1325
1822
|
lte: string;
|
1823
|
+
} | {
|
1824
|
+
type: "exact";
|
1825
|
+
term: string;
|
1826
|
+
} | {
|
1827
|
+
type: "timePeriod";
|
1828
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1326
1829
|
} | undefined;
|
1327
1830
|
trackingId?: {
|
1328
1831
|
type: "exact";
|
@@ -1339,34 +1842,128 @@ export declare const QueryType: z.ZodObject<{
|
|
1339
1842
|
type: "exact";
|
1340
1843
|
term: string;
|
1341
1844
|
} | undefined;
|
1342
|
-
flags?:
|
1845
|
+
flags?: {
|
1846
|
+
anyOf?: string[] | undefined;
|
1847
|
+
noneOf?: string[] | undefined;
|
1848
|
+
} | undefined;
|
1849
|
+
eventType?: string | undefined;
|
1850
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1851
|
+
type: "range";
|
1852
|
+
gte: string;
|
1853
|
+
lte: string;
|
1854
|
+
} | {
|
1855
|
+
type: "exact";
|
1856
|
+
term: string;
|
1857
|
+
} | {
|
1858
|
+
type: "timePeriod";
|
1859
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1860
|
+
} | undefined;
|
1861
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1862
|
+
type: "exact";
|
1863
|
+
term: string;
|
1864
|
+
} | {
|
1865
|
+
type: "within";
|
1866
|
+
location: string;
|
1867
|
+
} | undefined;
|
1868
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1869
|
+
type: "exact";
|
1870
|
+
term: string;
|
1871
|
+
} | undefined;
|
1872
|
+
}>, "atleastone">, [{
|
1873
|
+
id?: string | undefined;
|
1874
|
+
status?: {
|
1875
|
+
type: "exact";
|
1876
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1877
|
+
} | {
|
1343
1878
|
type: "anyOf";
|
1344
|
-
terms:
|
1879
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1880
|
+
} | undefined;
|
1881
|
+
data?: any;
|
1882
|
+
createdByUserType?: {
|
1883
|
+
type: "exact";
|
1884
|
+
term: "system" | "user";
|
1885
|
+
} | undefined;
|
1886
|
+
createdAt?: {
|
1887
|
+
type: "range";
|
1888
|
+
gte: string;
|
1889
|
+
lte: string;
|
1345
1890
|
} | {
|
1346
|
-
type: "
|
1891
|
+
type: "exact";
|
1347
1892
|
term: string;
|
1348
|
-
}
|
1349
|
-
|
1350
|
-
|
1893
|
+
} | {
|
1894
|
+
type: "timePeriod";
|
1895
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1896
|
+
} | undefined;
|
1897
|
+
createdBy?: {
|
1898
|
+
type: "exact";
|
1899
|
+
term: string;
|
1900
|
+
} | undefined;
|
1901
|
+
createdAtLocation?: {
|
1902
|
+
type: "exact";
|
1903
|
+
term: string;
|
1904
|
+
} | {
|
1905
|
+
type: "within";
|
1906
|
+
location: string;
|
1907
|
+
} | undefined;
|
1908
|
+
assignedTo?: {
|
1909
|
+
type: "exact";
|
1910
|
+
term: string;
|
1911
|
+
} | undefined;
|
1912
|
+
updatedAt?: {
|
1913
|
+
type: "range";
|
1914
|
+
gte: string;
|
1915
|
+
lte: string;
|
1916
|
+
} | {
|
1917
|
+
type: "exact";
|
1918
|
+
term: string;
|
1919
|
+
} | {
|
1920
|
+
type: "timePeriod";
|
1921
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1922
|
+
} | undefined;
|
1923
|
+
trackingId?: {
|
1924
|
+
type: "exact";
|
1925
|
+
term: string;
|
1926
|
+
} | undefined;
|
1927
|
+
updatedAtLocation?: {
|
1351
1928
|
type: "exact";
|
1352
1929
|
term: string;
|
1353
1930
|
} | {
|
1931
|
+
type: "within";
|
1932
|
+
location: string;
|
1933
|
+
} | undefined;
|
1934
|
+
updatedBy?: {
|
1935
|
+
type: "exact";
|
1936
|
+
term: string;
|
1937
|
+
} | undefined;
|
1938
|
+
flags?: {
|
1939
|
+
anyOf?: string[] | undefined;
|
1940
|
+
noneOf?: string[] | undefined;
|
1941
|
+
} | undefined;
|
1942
|
+
eventType?: string | undefined;
|
1943
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1354
1944
|
type: "range";
|
1355
1945
|
gte: string;
|
1356
1946
|
lte: string;
|
1947
|
+
} | {
|
1948
|
+
type: "exact";
|
1949
|
+
term: string;
|
1950
|
+
} | {
|
1951
|
+
type: "timePeriod";
|
1952
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1357
1953
|
} | undefined;
|
1358
|
-
'
|
1954
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1359
1955
|
type: "exact";
|
1360
1956
|
term: string;
|
1361
1957
|
} | {
|
1362
1958
|
type: "within";
|
1363
1959
|
location: string;
|
1364
1960
|
} | undefined;
|
1365
|
-
'
|
1961
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1366
1962
|
type: "exact";
|
1367
1963
|
term: string;
|
1368
1964
|
} | undefined;
|
1369
1965
|
}, ...{
|
1966
|
+
id?: string | undefined;
|
1370
1967
|
status?: {
|
1371
1968
|
type: "exact";
|
1372
1969
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1375,13 +1972,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1375
1972
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1376
1973
|
} | undefined;
|
1377
1974
|
data?: any;
|
1378
|
-
|
1975
|
+
createdByUserType?: {
|
1379
1976
|
type: "exact";
|
1380
|
-
term:
|
1381
|
-
} |
|
1977
|
+
term: "system" | "user";
|
1978
|
+
} | undefined;
|
1979
|
+
createdAt?: {
|
1382
1980
|
type: "range";
|
1383
1981
|
gte: string;
|
1384
1982
|
lte: string;
|
1983
|
+
} | {
|
1984
|
+
type: "exact";
|
1985
|
+
term: string;
|
1986
|
+
} | {
|
1987
|
+
type: "timePeriod";
|
1988
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1385
1989
|
} | undefined;
|
1386
1990
|
createdBy?: {
|
1387
1991
|
type: "exact";
|
@@ -1399,12 +2003,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1399
2003
|
term: string;
|
1400
2004
|
} | undefined;
|
1401
2005
|
updatedAt?: {
|
1402
|
-
type: "exact";
|
1403
|
-
term: string;
|
1404
|
-
} | {
|
1405
2006
|
type: "range";
|
1406
2007
|
gte: string;
|
1407
2008
|
lte: string;
|
2009
|
+
} | {
|
2010
|
+
type: "exact";
|
2011
|
+
term: string;
|
2012
|
+
} | {
|
2013
|
+
type: "timePeriod";
|
2014
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1408
2015
|
} | undefined;
|
1409
2016
|
trackingId?: {
|
1410
2017
|
type: "exact";
|
@@ -1421,30 +2028,30 @@ export declare const QueryType: z.ZodObject<{
|
|
1421
2028
|
type: "exact";
|
1422
2029
|
term: string;
|
1423
2030
|
} | undefined;
|
1424
|
-
flags?:
|
1425
|
-
|
1426
|
-
|
1427
|
-
} |
|
1428
|
-
type: "not";
|
1429
|
-
term: string;
|
1430
|
-
})[] | undefined;
|
2031
|
+
flags?: {
|
2032
|
+
anyOf?: string[] | undefined;
|
2033
|
+
noneOf?: string[] | undefined;
|
2034
|
+
} | undefined;
|
1431
2035
|
eventType?: string | undefined;
|
1432
|
-
'
|
1433
|
-
type: "exact";
|
1434
|
-
term: string;
|
1435
|
-
} | {
|
2036
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1436
2037
|
type: "range";
|
1437
2038
|
gte: string;
|
1438
2039
|
lte: string;
|
2040
|
+
} | {
|
2041
|
+
type: "exact";
|
2042
|
+
term: string;
|
2043
|
+
} | {
|
2044
|
+
type: "timePeriod";
|
2045
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1439
2046
|
} | undefined;
|
1440
|
-
'
|
2047
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1441
2048
|
type: "exact";
|
1442
2049
|
term: string;
|
1443
2050
|
} | {
|
1444
2051
|
type: "within";
|
1445
2052
|
location: string;
|
1446
2053
|
} | undefined;
|
1447
|
-
'
|
2054
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1448
2055
|
type: "exact";
|
1449
2056
|
term: string;
|
1450
2057
|
} | undefined;
|
@@ -1452,6 +2059,7 @@ export declare const QueryType: z.ZodObject<{
|
|
1452
2059
|
}, "strip", z.ZodTypeAny, {
|
1453
2060
|
type: "and" | "or";
|
1454
2061
|
clauses: [{
|
2062
|
+
id?: string | undefined;
|
1455
2063
|
status?: {
|
1456
2064
|
type: "exact";
|
1457
2065
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1460,13 +2068,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1460
2068
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1461
2069
|
} | undefined;
|
1462
2070
|
data?: any;
|
1463
|
-
|
2071
|
+
createdByUserType?: {
|
1464
2072
|
type: "exact";
|
1465
|
-
term:
|
1466
|
-
} |
|
2073
|
+
term: "system" | "user";
|
2074
|
+
} | undefined;
|
2075
|
+
createdAt?: {
|
1467
2076
|
type: "range";
|
1468
2077
|
gte: string;
|
1469
2078
|
lte: string;
|
2079
|
+
} | {
|
2080
|
+
type: "exact";
|
2081
|
+
term: string;
|
2082
|
+
} | {
|
2083
|
+
type: "timePeriod";
|
2084
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1470
2085
|
} | undefined;
|
1471
2086
|
createdBy?: {
|
1472
2087
|
type: "exact";
|
@@ -1484,12 +2099,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1484
2099
|
term: string;
|
1485
2100
|
} | undefined;
|
1486
2101
|
updatedAt?: {
|
1487
|
-
type: "exact";
|
1488
|
-
term: string;
|
1489
|
-
} | {
|
1490
2102
|
type: "range";
|
1491
2103
|
gte: string;
|
1492
2104
|
lte: string;
|
2105
|
+
} | {
|
2106
|
+
type: "exact";
|
2107
|
+
term: string;
|
2108
|
+
} | {
|
2109
|
+
type: "timePeriod";
|
2110
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1493
2111
|
} | undefined;
|
1494
2112
|
trackingId?: {
|
1495
2113
|
type: "exact";
|
@@ -1506,34 +2124,35 @@ export declare const QueryType: z.ZodObject<{
|
|
1506
2124
|
type: "exact";
|
1507
2125
|
term: string;
|
1508
2126
|
} | undefined;
|
1509
|
-
flags?:
|
1510
|
-
|
1511
|
-
|
1512
|
-
} |
|
1513
|
-
type: "not";
|
1514
|
-
term: string;
|
1515
|
-
})[] | undefined;
|
2127
|
+
flags?: {
|
2128
|
+
anyOf?: string[] | undefined;
|
2129
|
+
noneOf?: string[] | undefined;
|
2130
|
+
} | undefined;
|
1516
2131
|
eventType?: string | undefined;
|
1517
|
-
'
|
1518
|
-
type: "exact";
|
1519
|
-
term: string;
|
1520
|
-
} | {
|
2132
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1521
2133
|
type: "range";
|
1522
2134
|
gte: string;
|
1523
2135
|
lte: string;
|
2136
|
+
} | {
|
2137
|
+
type: "exact";
|
2138
|
+
term: string;
|
2139
|
+
} | {
|
2140
|
+
type: "timePeriod";
|
2141
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1524
2142
|
} | undefined;
|
1525
|
-
'
|
2143
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1526
2144
|
type: "exact";
|
1527
2145
|
term: string;
|
1528
2146
|
} | {
|
1529
2147
|
type: "within";
|
1530
2148
|
location: string;
|
1531
2149
|
} | undefined;
|
1532
|
-
'
|
2150
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1533
2151
|
type: "exact";
|
1534
2152
|
term: string;
|
1535
2153
|
} | undefined;
|
1536
2154
|
}, ...{
|
2155
|
+
id?: string | undefined;
|
1537
2156
|
status?: {
|
1538
2157
|
type: "exact";
|
1539
2158
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1542,13 +2161,20 @@ export declare const QueryType: z.ZodObject<{
|
|
1542
2161
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1543
2162
|
} | undefined;
|
1544
2163
|
data?: any;
|
1545
|
-
|
2164
|
+
createdByUserType?: {
|
1546
2165
|
type: "exact";
|
1547
|
-
term:
|
1548
|
-
} |
|
2166
|
+
term: "system" | "user";
|
2167
|
+
} | undefined;
|
2168
|
+
createdAt?: {
|
1549
2169
|
type: "range";
|
1550
2170
|
gte: string;
|
1551
2171
|
lte: string;
|
2172
|
+
} | {
|
2173
|
+
type: "exact";
|
2174
|
+
term: string;
|
2175
|
+
} | {
|
2176
|
+
type: "timePeriod";
|
2177
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1552
2178
|
} | undefined;
|
1553
2179
|
createdBy?: {
|
1554
2180
|
type: "exact";
|
@@ -1566,12 +2192,15 @@ export declare const QueryType: z.ZodObject<{
|
|
1566
2192
|
term: string;
|
1567
2193
|
} | undefined;
|
1568
2194
|
updatedAt?: {
|
1569
|
-
type: "exact";
|
1570
|
-
term: string;
|
1571
|
-
} | {
|
1572
2195
|
type: "range";
|
1573
2196
|
gte: string;
|
1574
2197
|
lte: string;
|
2198
|
+
} | {
|
2199
|
+
type: "exact";
|
2200
|
+
term: string;
|
2201
|
+
} | {
|
2202
|
+
type: "timePeriod";
|
2203
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1575
2204
|
} | undefined;
|
1576
2205
|
trackingId?: {
|
1577
2206
|
type: "exact";
|
@@ -1588,30 +2217,30 @@ export declare const QueryType: z.ZodObject<{
|
|
1588
2217
|
type: "exact";
|
1589
2218
|
term: string;
|
1590
2219
|
} | undefined;
|
1591
|
-
flags?:
|
1592
|
-
|
1593
|
-
|
1594
|
-
} |
|
1595
|
-
type: "not";
|
1596
|
-
term: string;
|
1597
|
-
})[] | undefined;
|
2220
|
+
flags?: {
|
2221
|
+
anyOf?: string[] | undefined;
|
2222
|
+
noneOf?: string[] | undefined;
|
2223
|
+
} | undefined;
|
1598
2224
|
eventType?: string | undefined;
|
1599
|
-
'
|
1600
|
-
type: "exact";
|
1601
|
-
term: string;
|
1602
|
-
} | {
|
2225
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1603
2226
|
type: "range";
|
1604
2227
|
gte: string;
|
1605
2228
|
lte: string;
|
2229
|
+
} | {
|
2230
|
+
type: "exact";
|
2231
|
+
term: string;
|
2232
|
+
} | {
|
2233
|
+
type: "timePeriod";
|
2234
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1606
2235
|
} | undefined;
|
1607
|
-
'
|
2236
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1608
2237
|
type: "exact";
|
1609
2238
|
term: string;
|
1610
2239
|
} | {
|
1611
2240
|
type: "within";
|
1612
2241
|
location: string;
|
1613
2242
|
} | undefined;
|
1614
|
-
'
|
2243
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1615
2244
|
type: "exact";
|
1616
2245
|
term: string;
|
1617
2246
|
} | undefined;
|
@@ -1622,5 +2251,10 @@ export declare const QueryType: z.ZodObject<{
|
|
1622
2251
|
}>;
|
1623
2252
|
export type QueryType = z.infer<typeof QueryType>;
|
1624
2253
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
2254
|
+
export declare const SearchScopeAccessLevels: {
|
2255
|
+
readonly MY_JURISDICTION: "my-jurisdiction";
|
2256
|
+
readonly ALL: "all";
|
2257
|
+
};
|
2258
|
+
export type SearchScopeAccessLevels = (typeof SearchScopeAccessLevels)[keyof typeof SearchScopeAccessLevels];
|
1625
2259
|
export {};
|
1626
2260
|
//# sourceMappingURL=EventIndex.d.ts.map
|