@opencrvs/toolkit 1.8.0-rc.f9fb039 → 1.8.0-rc.fa49ae3
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 +15058 -4901
- package/dist/commons/conditionals/conditionals.d.ts +8 -3
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +32976 -12647
- package/dist/commons/events/ActionDocument.d.ts +2005 -309
- package/dist/commons/events/ActionInput.d.ts +1455 -183
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +509 -12
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +3008 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
- package/dist/commons/events/Draft.d.ts +127 -21
- package/dist/commons/events/EventConfig.d.ts +27068 -16943
- package/dist/commons/events/EventDocument.d.ts +1308 -251
- package/dist/commons/events/EventIndex.d.ts +502 -486
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +104 -77
- package/dist/commons/events/FieldConfig.d.ts +2074 -1202
- package/dist/commons/events/FieldType.d.ts +4 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +94 -52
- package/dist/commons/events/FieldValue.d.ts +43 -5
- package/dist/commons/events/FormConfig.d.ts +10259 -4769
- package/dist/commons/events/PageConfig.d.ts +3480 -2134
- package/dist/commons/events/SummaryConfig.d.ts +17 -5
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +4110 -659
- package/dist/commons/events/defineConfig.d.ts +2435 -680
- package/dist/commons/events/event.d.ts +5 -5
- package/dist/commons/events/field.d.ts +10 -10
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +147 -41
- package/dist/commons/events/utils.d.ts +10013 -326
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +45 -8
- package/dist/events/index.js +2836 -1172
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -2,97 +2,110 @@ import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
3
|
id: z.ZodString;
|
4
4
|
type: z.ZodString;
|
5
|
-
status: z.
|
6
|
-
readonly CREATED: "CREATED";
|
7
|
-
readonly NOTIFIED: "NOTIFIED";
|
8
|
-
readonly DECLARED: "DECLARED";
|
9
|
-
readonly VALIDATED: "VALIDATED";
|
10
|
-
readonly REGISTERED: "REGISTERED";
|
11
|
-
readonly CERTIFIED: "CERTIFIED";
|
12
|
-
readonly REJECTED: "REJECTED";
|
13
|
-
readonly ARCHIVED: "ARCHIVED";
|
14
|
-
}>;
|
5
|
+
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
15
6
|
legalStatuses: z.ZodObject<{
|
16
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
17
8
|
createdAt: z.ZodString;
|
18
9
|
createdBy: z.ZodString;
|
19
|
-
createdAtLocation: z.ZodString
|
10
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
11
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
20
12
|
acceptedAt: z.ZodString;
|
21
13
|
createdByRole: z.ZodString;
|
14
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
22
15
|
}, "strip", z.ZodTypeAny, {
|
23
16
|
createdAt: string;
|
24
17
|
createdBy: string;
|
25
18
|
createdByRole: string;
|
26
|
-
createdAtLocation: string;
|
27
19
|
acceptedAt: string;
|
20
|
+
creator?: "system" | "user" | null | undefined;
|
21
|
+
createdBySignature?: string | null | undefined;
|
22
|
+
createdAtLocation?: string | null | undefined;
|
28
23
|
}, {
|
29
24
|
createdAt: string;
|
30
25
|
createdBy: string;
|
31
26
|
createdByRole: string;
|
32
|
-
createdAtLocation: string;
|
33
27
|
acceptedAt: string;
|
28
|
+
creator?: "system" | "user" | null | undefined;
|
29
|
+
createdBySignature?: string | null | undefined;
|
30
|
+
createdAtLocation?: string | null | undefined;
|
34
31
|
}>>>;
|
35
32
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
36
33
|
createdAt: z.ZodString;
|
37
34
|
createdBy: z.ZodString;
|
38
|
-
createdAtLocation: z.ZodString
|
35
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
36
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
39
37
|
acceptedAt: z.ZodString;
|
40
38
|
createdByRole: z.ZodString;
|
39
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
41
40
|
}, {
|
42
41
|
registrationNumber: z.ZodString;
|
43
42
|
}>, "strip", z.ZodTypeAny, {
|
44
43
|
createdAt: string;
|
45
44
|
createdBy: string;
|
46
45
|
createdByRole: string;
|
47
|
-
createdAtLocation: string;
|
48
46
|
registrationNumber: string;
|
49
47
|
acceptedAt: string;
|
48
|
+
creator?: "system" | "user" | null | undefined;
|
49
|
+
createdBySignature?: string | null | undefined;
|
50
|
+
createdAtLocation?: string | null | undefined;
|
50
51
|
}, {
|
51
52
|
createdAt: string;
|
52
53
|
createdBy: string;
|
53
54
|
createdByRole: string;
|
54
|
-
createdAtLocation: string;
|
55
55
|
registrationNumber: string;
|
56
56
|
acceptedAt: string;
|
57
|
+
creator?: "system" | "user" | null | undefined;
|
58
|
+
createdBySignature?: string | null | undefined;
|
59
|
+
createdAtLocation?: string | null | undefined;
|
57
60
|
}>>>;
|
58
61
|
}, "strip", z.ZodTypeAny, {
|
59
62
|
DECLARED?: {
|
60
63
|
createdAt: string;
|
61
64
|
createdBy: string;
|
62
65
|
createdByRole: string;
|
63
|
-
createdAtLocation: string;
|
64
66
|
acceptedAt: string;
|
67
|
+
creator?: "system" | "user" | null | undefined;
|
68
|
+
createdBySignature?: string | null | undefined;
|
69
|
+
createdAtLocation?: string | null | undefined;
|
65
70
|
} | null | undefined;
|
66
71
|
REGISTERED?: {
|
67
72
|
createdAt: string;
|
68
73
|
createdBy: string;
|
69
74
|
createdByRole: string;
|
70
|
-
createdAtLocation: string;
|
71
75
|
registrationNumber: string;
|
72
76
|
acceptedAt: string;
|
77
|
+
creator?: "system" | "user" | null | undefined;
|
78
|
+
createdBySignature?: string | null | undefined;
|
79
|
+
createdAtLocation?: string | null | undefined;
|
73
80
|
} | null | undefined;
|
74
81
|
}, {
|
75
82
|
DECLARED?: {
|
76
83
|
createdAt: string;
|
77
84
|
createdBy: string;
|
78
85
|
createdByRole: string;
|
79
|
-
createdAtLocation: string;
|
80
86
|
acceptedAt: string;
|
87
|
+
creator?: "system" | "user" | null | undefined;
|
88
|
+
createdBySignature?: string | null | undefined;
|
89
|
+
createdAtLocation?: string | null | undefined;
|
81
90
|
} | null | undefined;
|
82
91
|
REGISTERED?: {
|
83
92
|
createdAt: string;
|
84
93
|
createdBy: string;
|
85
94
|
createdByRole: string;
|
86
|
-
createdAtLocation: string;
|
87
95
|
registrationNumber: string;
|
88
96
|
acceptedAt: string;
|
97
|
+
creator?: "system" | "user" | null | undefined;
|
98
|
+
createdBySignature?: string | null | undefined;
|
99
|
+
createdAtLocation?: string | null | undefined;
|
89
100
|
} | null | undefined;
|
90
101
|
}>;
|
91
102
|
createdAt: z.ZodString;
|
92
103
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
93
104
|
createdBy: z.ZodString;
|
105
|
+
creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
94
106
|
updatedByUserRole: z.ZodString;
|
95
|
-
createdAtLocation: z.ZodString
|
107
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
108
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
96
109
|
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
110
|
updatedAt: z.ZodString;
|
98
111
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -215,7 +228,31 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
215
228
|
addressLine2?: string | undefined;
|
216
229
|
addressLine3?: string | undefined;
|
217
230
|
postcodeOrZip?: string | undefined;
|
218
|
-
}
|
231
|
+
}>, z.ZodObject<{
|
232
|
+
firstname: z.ZodString;
|
233
|
+
surname: z.ZodString;
|
234
|
+
middlename: z.ZodOptional<z.ZodString>;
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
236
|
+
firstname: string;
|
237
|
+
surname: string;
|
238
|
+
middlename?: string | undefined;
|
239
|
+
}, {
|
240
|
+
firstname: string;
|
241
|
+
surname: string;
|
242
|
+
middlename?: string | undefined;
|
243
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
244
|
+
firstname: z.ZodString;
|
245
|
+
surname: z.ZodString;
|
246
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
248
|
+
firstname: string;
|
249
|
+
surname: string;
|
250
|
+
middlename?: string | null | undefined;
|
251
|
+
}, {
|
252
|
+
firstname: string;
|
253
|
+
surname: string;
|
254
|
+
middlename?: string | null | undefined;
|
255
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
219
256
|
}>, "strip", z.ZodTypeAny, {
|
220
257
|
type: string;
|
221
258
|
id: string;
|
@@ -244,6 +281,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
244
281
|
province: string;
|
245
282
|
urbanOrRural: "RURAL";
|
246
283
|
village?: string | undefined;
|
284
|
+
} | {
|
285
|
+
firstname: string;
|
286
|
+
surname: string;
|
287
|
+
middlename?: string | undefined;
|
288
|
+
} | {
|
289
|
+
firstname: string;
|
290
|
+
surname: string;
|
291
|
+
middlename?: string | null | undefined;
|
247
292
|
} | {
|
248
293
|
country: string;
|
249
294
|
state: string;
|
@@ -259,8 +304,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
259
304
|
option: string;
|
260
305
|
filename: string;
|
261
306
|
originalFilename: string;
|
262
|
-
}[] | [string, string] | undefined>;
|
263
|
-
createdAtLocation: string;
|
307
|
+
}[] | [string, string] | null | undefined>;
|
264
308
|
updatedAt: string;
|
265
309
|
trackingId: string;
|
266
310
|
legalStatuses: {
|
@@ -268,20 +312,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
312
|
createdAt: string;
|
269
313
|
createdBy: string;
|
270
314
|
createdByRole: string;
|
271
|
-
createdAtLocation: string;
|
272
315
|
acceptedAt: string;
|
316
|
+
creator?: "system" | "user" | null | undefined;
|
317
|
+
createdBySignature?: string | null | undefined;
|
318
|
+
createdAtLocation?: string | null | undefined;
|
273
319
|
} | null | undefined;
|
274
320
|
REGISTERED?: {
|
275
321
|
createdAt: string;
|
276
322
|
createdBy: string;
|
277
323
|
createdByRole: string;
|
278
|
-
createdAtLocation: string;
|
279
324
|
registrationNumber: string;
|
280
325
|
acceptedAt: string;
|
326
|
+
creator?: "system" | "user" | null | undefined;
|
327
|
+
createdBySignature?: string | null | undefined;
|
328
|
+
createdAtLocation?: string | null | undefined;
|
281
329
|
} | null | undefined;
|
282
330
|
};
|
283
331
|
updatedByUserRole: string;
|
284
332
|
flags: string[];
|
333
|
+
creator?: "system" | "user" | null | undefined;
|
334
|
+
createdBySignature?: string | null | undefined;
|
335
|
+
createdAtLocation?: string | null | undefined;
|
285
336
|
assignedTo?: string | null | undefined;
|
286
337
|
dateOfEvent?: string | null | undefined;
|
287
338
|
updatedAtLocation?: string | null | undefined;
|
@@ -314,6 +365,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
314
365
|
province: string;
|
315
366
|
urbanOrRural: "RURAL";
|
316
367
|
village?: string | undefined;
|
368
|
+
} | {
|
369
|
+
firstname: string;
|
370
|
+
surname: string;
|
371
|
+
middlename?: string | undefined;
|
372
|
+
} | {
|
373
|
+
firstname: string;
|
374
|
+
surname: string;
|
375
|
+
middlename?: string | null | undefined;
|
317
376
|
} | {
|
318
377
|
country: string;
|
319
378
|
state: string;
|
@@ -329,8 +388,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
329
388
|
option: string;
|
330
389
|
filename: string;
|
331
390
|
originalFilename: string;
|
332
|
-
}[] | [string, string] | undefined>;
|
333
|
-
createdAtLocation: string;
|
391
|
+
}[] | [string, string] | null | undefined>;
|
334
392
|
updatedAt: string;
|
335
393
|
trackingId: string;
|
336
394
|
legalStatuses: {
|
@@ -338,20 +396,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
396
|
createdAt: string;
|
339
397
|
createdBy: string;
|
340
398
|
createdByRole: string;
|
341
|
-
createdAtLocation: string;
|
342
399
|
acceptedAt: string;
|
400
|
+
creator?: "system" | "user" | null | undefined;
|
401
|
+
createdBySignature?: string | null | undefined;
|
402
|
+
createdAtLocation?: string | null | undefined;
|
343
403
|
} | null | undefined;
|
344
404
|
REGISTERED?: {
|
345
405
|
createdAt: string;
|
346
406
|
createdBy: string;
|
347
407
|
createdByRole: string;
|
348
|
-
createdAtLocation: string;
|
349
408
|
registrationNumber: string;
|
350
409
|
acceptedAt: string;
|
410
|
+
creator?: "system" | "user" | null | undefined;
|
411
|
+
createdBySignature?: string | null | undefined;
|
412
|
+
createdAtLocation?: string | null | undefined;
|
351
413
|
} | null | undefined;
|
352
414
|
};
|
353
415
|
updatedByUserRole: string;
|
354
416
|
flags: string[];
|
417
|
+
creator?: "system" | "user" | null | undefined;
|
418
|
+
createdBySignature?: string | null | undefined;
|
419
|
+
createdAtLocation?: string | null | undefined;
|
355
420
|
assignedTo?: string | null | undefined;
|
356
421
|
dateOfEvent?: string | null | undefined;
|
357
422
|
updatedAtLocation?: string | null | undefined;
|
@@ -366,7 +431,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
431
|
}>>;
|
367
432
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
433
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
434
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
435
|
type: z.ZodLiteral<"fuzzy">;
|
371
436
|
term: z.ZodString;
|
372
437
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +441,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
441
|
type: "fuzzy";
|
377
442
|
term: string;
|
378
443
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
444
|
+
export declare const Exact: z.ZodObject<{
|
380
445
|
type: z.ZodLiteral<"exact">;
|
381
446
|
term: z.ZodString;
|
382
447
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +451,7 @@ declare const Exact: z.ZodObject<{
|
|
386
451
|
type: "exact";
|
387
452
|
term: string;
|
388
453
|
}>;
|
389
|
-
declare const AnyOf: z.ZodObject<{
|
454
|
+
export declare const AnyOf: z.ZodObject<{
|
390
455
|
type: z.ZodLiteral<"anyOf">;
|
391
456
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
457
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +461,27 @@ declare const AnyOf: z.ZodObject<{
|
|
396
461
|
type: "anyOf";
|
397
462
|
terms: string[];
|
398
463
|
}>;
|
399
|
-
declare const
|
464
|
+
export declare const ExactStatus: z.ZodObject<{
|
465
|
+
type: z.ZodLiteral<"exact">;
|
466
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
468
|
+
type: "exact";
|
469
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
470
|
+
}, {
|
471
|
+
type: "exact";
|
472
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
473
|
+
}>;
|
474
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
475
|
+
type: z.ZodLiteral<"anyOf">;
|
476
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
478
|
+
type: "anyOf";
|
479
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
480
|
+
}, {
|
481
|
+
type: "anyOf";
|
482
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
483
|
+
}>;
|
484
|
+
export declare const Range: z.ZodObject<{
|
400
485
|
type: z.ZodLiteral<"range">;
|
401
486
|
gte: z.ZodString;
|
402
487
|
lte: z.ZodString;
|
@@ -409,7 +494,7 @@ declare const Range: z.ZodObject<{
|
|
409
494
|
gte: string;
|
410
495
|
lte: string;
|
411
496
|
}>;
|
412
|
-
declare const Not: z.ZodObject<{
|
497
|
+
export declare const Not: z.ZodObject<{
|
413
498
|
type: z.ZodLiteral<"not">;
|
414
499
|
term: z.ZodString;
|
415
500
|
}, "strip", z.ZodTypeAny, {
|
@@ -419,7 +504,7 @@ declare const Not: z.ZodObject<{
|
|
419
504
|
type: "not";
|
420
505
|
term: string;
|
421
506
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
507
|
+
export declare const Within: z.ZodObject<{
|
423
508
|
type: z.ZodLiteral<"within">;
|
424
509
|
location: z.ZodString;
|
425
510
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,33 +514,54 @@ declare const Within: z.ZodObject<{
|
|
429
514
|
type: "within";
|
430
515
|
location: string;
|
431
516
|
}>;
|
517
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
518
|
+
type: z.ZodLiteral<"exact">;
|
519
|
+
term: z.ZodString;
|
520
|
+
}, "strip", z.ZodTypeAny, {
|
521
|
+
type: "exact";
|
522
|
+
term: string;
|
523
|
+
}, {
|
524
|
+
type: "exact";
|
525
|
+
term: string;
|
526
|
+
}>, z.ZodObject<{
|
527
|
+
type: z.ZodLiteral<"range">;
|
528
|
+
gte: z.ZodString;
|
529
|
+
lte: z.ZodString;
|
530
|
+
}, "strip", z.ZodTypeAny, {
|
531
|
+
type: "range";
|
532
|
+
gte: string;
|
533
|
+
lte: string;
|
534
|
+
}, {
|
535
|
+
type: "range";
|
536
|
+
gte: string;
|
537
|
+
lte: string;
|
538
|
+
}>]>;
|
432
539
|
export declare const QueryInput: ZodType;
|
433
540
|
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf> | z.infer<typeof Not>;
|
434
541
|
type QueryMap = {
|
435
542
|
[key: string]: BaseInput | QueryMap;
|
436
543
|
};
|
437
544
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
439
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
545
|
+
export declare const QueryExpression: z.ZodObject<{
|
440
546
|
eventType: z.ZodOptional<z.ZodString>;
|
441
547
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
442
548
|
type: z.ZodLiteral<"anyOf">;
|
443
|
-
terms: z.ZodArray<z.
|
549
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
444
550
|
}, "strip", z.ZodTypeAny, {
|
445
551
|
type: "anyOf";
|
446
|
-
terms:
|
552
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
447
553
|
}, {
|
448
554
|
type: "anyOf";
|
449
|
-
terms:
|
555
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
450
556
|
}>, z.ZodObject<{
|
451
557
|
type: z.ZodLiteral<"exact">;
|
452
|
-
term: z.
|
558
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
453
559
|
}, "strip", z.ZodTypeAny, {
|
454
560
|
type: "exact";
|
455
|
-
term:
|
561
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
456
562
|
}, {
|
457
563
|
type: "exact";
|
458
|
-
term:
|
564
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
459
565
|
}>]>>>;
|
460
566
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
461
567
|
type: z.ZodLiteral<"exact">;
|
@@ -501,7 +607,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
501
607
|
gte: string;
|
502
608
|
lte: string;
|
503
609
|
}>]>>>;
|
504
|
-
|
610
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
505
611
|
type: z.ZodLiteral<"exact">;
|
506
612
|
term: z.ZodString;
|
507
613
|
}, "strip", z.ZodTypeAny, {
|
@@ -523,7 +629,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
523
629
|
gte: string;
|
524
630
|
lte: string;
|
525
631
|
}>]>>>;
|
526
|
-
|
632
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
527
633
|
type: z.ZodLiteral<"within">;
|
528
634
|
location: z.ZodString;
|
529
635
|
}, "strip", z.ZodTypeAny, {
|
@@ -542,7 +648,17 @@ declare const QueryExpression: z.ZodObject<{
|
|
542
648
|
type: "exact";
|
543
649
|
term: string;
|
544
650
|
}>]>>>;
|
545
|
-
|
651
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
652
|
+
type: z.ZodLiteral<"exact">;
|
653
|
+
term: z.ZodString;
|
654
|
+
}, "strip", z.ZodTypeAny, {
|
655
|
+
type: "exact";
|
656
|
+
term: string;
|
657
|
+
}, {
|
658
|
+
type: "exact";
|
659
|
+
term: string;
|
660
|
+
}>>>;
|
661
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
546
662
|
type: z.ZodLiteral<"within">;
|
547
663
|
location: z.ZodString;
|
548
664
|
}, "strip", z.ZodTypeAny, {
|
@@ -580,6 +696,17 @@ declare const QueryExpression: z.ZodObject<{
|
|
580
696
|
type: "exact";
|
581
697
|
term: string;
|
582
698
|
}>]>>>;
|
699
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
700
|
+
type: z.ZodLiteral<"exact">;
|
701
|
+
term: z.ZodString;
|
702
|
+
}, "strip", z.ZodTypeAny, {
|
703
|
+
type: "exact";
|
704
|
+
term: string;
|
705
|
+
}, {
|
706
|
+
type: "exact";
|
707
|
+
term: string;
|
708
|
+
}>>>;
|
709
|
+
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
583
710
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
584
711
|
type: z.ZodLiteral<"exact">;
|
585
712
|
term: z.ZodString;
|
@@ -631,15 +758,15 @@ declare const QueryExpression: z.ZodObject<{
|
|
631
758
|
}>]>, "many">>>;
|
632
759
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
633
760
|
}, "strip", z.ZodTypeAny, {
|
634
|
-
type?: "and" | undefined;
|
635
761
|
status?: {
|
636
762
|
type: "exact";
|
637
|
-
term:
|
763
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
638
764
|
} | {
|
639
765
|
type: "anyOf";
|
640
|
-
terms:
|
766
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
641
767
|
} | undefined;
|
642
768
|
data?: any;
|
769
|
+
creator?: "system" | "user" | undefined;
|
643
770
|
createdAt?: {
|
644
771
|
type: "exact";
|
645
772
|
term: string;
|
@@ -652,28 +779,24 @@ declare const QueryExpression: z.ZodObject<{
|
|
652
779
|
type: "exact";
|
653
780
|
term: string;
|
654
781
|
} | undefined;
|
655
|
-
|
782
|
+
createdAtLocation?: {
|
656
783
|
type: "exact";
|
657
784
|
term: string;
|
658
785
|
} | {
|
659
|
-
type: "
|
660
|
-
|
661
|
-
lte: string;
|
786
|
+
type: "within";
|
787
|
+
location: string;
|
662
788
|
} | undefined;
|
663
|
-
|
789
|
+
assignedTo?: {
|
664
790
|
type: "exact";
|
665
791
|
term: string;
|
666
|
-
} | {
|
667
|
-
type: "range";
|
668
|
-
gte: string;
|
669
|
-
lte: string;
|
670
792
|
} | undefined;
|
671
|
-
|
793
|
+
updatedAt?: {
|
672
794
|
type: "exact";
|
673
795
|
term: string;
|
674
796
|
} | {
|
675
|
-
type: "
|
676
|
-
|
797
|
+
type: "range";
|
798
|
+
gte: string;
|
799
|
+
lte: string;
|
677
800
|
} | undefined;
|
678
801
|
trackingId?: {
|
679
802
|
type: "exact";
|
@@ -698,23 +821,35 @@ declare const QueryExpression: z.ZodObject<{
|
|
698
821
|
term: string;
|
699
822
|
})[] | undefined;
|
700
823
|
eventType?: string | undefined;
|
701
|
-
|
824
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
825
|
+
type: "exact";
|
826
|
+
term: string;
|
827
|
+
} | {
|
828
|
+
type: "range";
|
829
|
+
gte: string;
|
830
|
+
lte: string;
|
831
|
+
} | undefined;
|
832
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
702
833
|
type: "exact";
|
703
834
|
term: string;
|
704
835
|
} | {
|
705
836
|
type: "within";
|
706
837
|
location: string;
|
707
838
|
} | undefined;
|
839
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
840
|
+
type: "exact";
|
841
|
+
term: string;
|
842
|
+
} | undefined;
|
708
843
|
}, {
|
709
|
-
type?: "and" | undefined;
|
710
844
|
status?: {
|
711
845
|
type: "exact";
|
712
|
-
term:
|
846
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
713
847
|
} | {
|
714
848
|
type: "anyOf";
|
715
|
-
terms:
|
849
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
716
850
|
} | undefined;
|
717
851
|
data?: any;
|
852
|
+
creator?: "system" | "user" | undefined;
|
718
853
|
createdAt?: {
|
719
854
|
type: "exact";
|
720
855
|
term: string;
|
@@ -727,28 +862,24 @@ declare const QueryExpression: z.ZodObject<{
|
|
727
862
|
type: "exact";
|
728
863
|
term: string;
|
729
864
|
} | undefined;
|
730
|
-
|
865
|
+
createdAtLocation?: {
|
731
866
|
type: "exact";
|
732
867
|
term: string;
|
733
868
|
} | {
|
734
|
-
type: "
|
735
|
-
|
736
|
-
lte: string;
|
869
|
+
type: "within";
|
870
|
+
location: string;
|
737
871
|
} | undefined;
|
738
|
-
|
872
|
+
assignedTo?: {
|
739
873
|
type: "exact";
|
740
874
|
term: string;
|
741
|
-
} | {
|
742
|
-
type: "range";
|
743
|
-
gte: string;
|
744
|
-
lte: string;
|
745
875
|
} | undefined;
|
746
|
-
|
876
|
+
updatedAt?: {
|
747
877
|
type: "exact";
|
748
878
|
term: string;
|
749
879
|
} | {
|
750
|
-
type: "
|
751
|
-
|
880
|
+
type: "range";
|
881
|
+
gte: string;
|
882
|
+
lte: string;
|
752
883
|
} | undefined;
|
753
884
|
trackingId?: {
|
754
885
|
type: "exact";
|
@@ -773,383 +904,48 @@ declare const QueryExpression: z.ZodObject<{
|
|
773
904
|
term: string;
|
774
905
|
})[] | undefined;
|
775
906
|
eventType?: string | undefined;
|
776
|
-
|
907
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
777
908
|
type: "exact";
|
778
909
|
term: string;
|
779
910
|
} | {
|
780
|
-
type: "within";
|
781
|
-
location: string;
|
782
|
-
} | undefined;
|
783
|
-
}>;
|
784
|
-
export type QueryExpression = z.infer<typeof QueryExpression>;
|
785
|
-
export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
786
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
787
|
-
eventType: z.ZodOptional<z.ZodString>;
|
788
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
789
|
-
type: z.ZodLiteral<"anyOf">;
|
790
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
791
|
-
}, "strip", z.ZodTypeAny, {
|
792
|
-
type: "anyOf";
|
793
|
-
terms: string[];
|
794
|
-
}, {
|
795
|
-
type: "anyOf";
|
796
|
-
terms: string[];
|
797
|
-
}>, z.ZodObject<{
|
798
|
-
type: z.ZodLiteral<"exact">;
|
799
|
-
term: z.ZodString;
|
800
|
-
}, "strip", z.ZodTypeAny, {
|
801
|
-
type: "exact";
|
802
|
-
term: string;
|
803
|
-
}, {
|
804
|
-
type: "exact";
|
805
|
-
term: string;
|
806
|
-
}>]>>>;
|
807
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
808
|
-
type: z.ZodLiteral<"exact">;
|
809
|
-
term: z.ZodString;
|
810
|
-
}, "strip", z.ZodTypeAny, {
|
811
|
-
type: "exact";
|
812
|
-
term: string;
|
813
|
-
}, {
|
814
|
-
type: "exact";
|
815
|
-
term: string;
|
816
|
-
}>, z.ZodObject<{
|
817
|
-
type: z.ZodLiteral<"range">;
|
818
|
-
gte: z.ZodString;
|
819
|
-
lte: z.ZodString;
|
820
|
-
}, "strip", z.ZodTypeAny, {
|
821
|
-
type: "range";
|
822
|
-
gte: string;
|
823
|
-
lte: string;
|
824
|
-
}, {
|
825
|
-
type: "range";
|
826
|
-
gte: string;
|
827
|
-
lte: string;
|
828
|
-
}>]>>>;
|
829
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
830
|
-
type: z.ZodLiteral<"exact">;
|
831
|
-
term: z.ZodString;
|
832
|
-
}, "strip", z.ZodTypeAny, {
|
833
|
-
type: "exact";
|
834
|
-
term: string;
|
835
|
-
}, {
|
836
|
-
type: "exact";
|
837
|
-
term: string;
|
838
|
-
}>, z.ZodObject<{
|
839
|
-
type: z.ZodLiteral<"range">;
|
840
|
-
gte: z.ZodString;
|
841
|
-
lte: z.ZodString;
|
842
|
-
}, "strip", z.ZodTypeAny, {
|
843
|
-
type: "range";
|
844
|
-
gte: string;
|
845
|
-
lte: string;
|
846
|
-
}, {
|
847
|
-
type: "range";
|
848
|
-
gte: string;
|
849
|
-
lte: string;
|
850
|
-
}>]>>>;
|
851
|
-
registeredAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
852
|
-
type: z.ZodLiteral<"exact">;
|
853
|
-
term: z.ZodString;
|
854
|
-
}, "strip", z.ZodTypeAny, {
|
855
|
-
type: "exact";
|
856
|
-
term: string;
|
857
|
-
}, {
|
858
|
-
type: "exact";
|
859
|
-
term: string;
|
860
|
-
}>, z.ZodObject<{
|
861
|
-
type: z.ZodLiteral<"range">;
|
862
|
-
gte: z.ZodString;
|
863
|
-
lte: z.ZodString;
|
864
|
-
}, "strip", z.ZodTypeAny, {
|
865
|
-
type: "range";
|
866
|
-
gte: string;
|
867
|
-
lte: string;
|
868
|
-
}, {
|
869
911
|
type: "range";
|
870
912
|
gte: string;
|
871
913
|
lte: string;
|
872
|
-
}
|
873
|
-
|
874
|
-
type: z.ZodLiteral<"within">;
|
875
|
-
location: z.ZodString;
|
876
|
-
}, "strip", z.ZodTypeAny, {
|
877
|
-
type: "within";
|
878
|
-
location: string;
|
879
|
-
}, {
|
880
|
-
type: "within";
|
881
|
-
location: string;
|
882
|
-
}>, z.ZodObject<{
|
883
|
-
type: z.ZodLiteral<"exact">;
|
884
|
-
term: z.ZodString;
|
885
|
-
}, "strip", z.ZodTypeAny, {
|
886
|
-
type: "exact";
|
887
|
-
term: string;
|
888
|
-
}, {
|
889
|
-
type: "exact";
|
890
|
-
term: string;
|
891
|
-
}>]>>>;
|
892
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
893
|
-
type: z.ZodLiteral<"within">;
|
894
|
-
location: z.ZodString;
|
895
|
-
}, "strip", z.ZodTypeAny, {
|
896
|
-
type: "within";
|
897
|
-
location: string;
|
898
|
-
}, {
|
899
|
-
type: "within";
|
900
|
-
location: string;
|
901
|
-
}>, z.ZodObject<{
|
902
|
-
type: z.ZodLiteral<"exact">;
|
903
|
-
term: z.ZodString;
|
904
|
-
}, "strip", z.ZodTypeAny, {
|
905
|
-
type: "exact";
|
906
|
-
term: string;
|
907
|
-
}, {
|
914
|
+
} | undefined;
|
915
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
908
916
|
type: "exact";
|
909
917
|
term: string;
|
910
|
-
}
|
911
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
912
|
-
type: z.ZodLiteral<"within">;
|
913
|
-
location: z.ZodString;
|
914
|
-
}, "strip", z.ZodTypeAny, {
|
915
|
-
type: "within";
|
916
|
-
location: string;
|
917
|
-
}, {
|
918
|
+
} | {
|
918
919
|
type: "within";
|
919
920
|
location: string;
|
920
|
-
}
|
921
|
-
|
922
|
-
term: z.ZodString;
|
923
|
-
}, "strip", z.ZodTypeAny, {
|
924
|
-
type: "exact";
|
925
|
-
term: string;
|
926
|
-
}, {
|
921
|
+
} | undefined;
|
922
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
927
923
|
type: "exact";
|
928
924
|
term: string;
|
929
|
-
}>]>>>;
|
930
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
931
|
-
type: z.ZodLiteral<"exact">;
|
932
|
-
term: z.ZodString;
|
933
|
-
}, "strip", z.ZodTypeAny, {
|
934
|
-
type: "exact";
|
935
|
-
term: string;
|
936
|
-
}, {
|
937
|
-
type: "exact";
|
938
|
-
term: string;
|
939
|
-
}>>>;
|
940
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
941
|
-
type: z.ZodLiteral<"exact">;
|
942
|
-
term: z.ZodString;
|
943
|
-
}, "strip", z.ZodTypeAny, {
|
944
|
-
type: "exact";
|
945
|
-
term: string;
|
946
|
-
}, {
|
947
|
-
type: "exact";
|
948
|
-
term: string;
|
949
|
-
}>>>;
|
950
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
951
|
-
type: z.ZodLiteral<"exact">;
|
952
|
-
term: z.ZodString;
|
953
|
-
}, "strip", z.ZodTypeAny, {
|
954
|
-
type: "exact";
|
955
|
-
term: string;
|
956
|
-
}, {
|
957
|
-
type: "exact";
|
958
|
-
term: string;
|
959
|
-
}>>>;
|
960
|
-
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
961
|
-
type: z.ZodLiteral<"anyOf">;
|
962
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
963
|
-
}, "strip", z.ZodTypeAny, {
|
964
|
-
type: "anyOf";
|
965
|
-
terms: string[];
|
966
|
-
}, {
|
967
|
-
type: "anyOf";
|
968
|
-
terms: string[];
|
969
|
-
}>, z.ZodObject<{
|
970
|
-
type: z.ZodLiteral<"not">;
|
971
|
-
term: z.ZodString;
|
972
|
-
}, "strip", z.ZodTypeAny, {
|
973
|
-
type: "not";
|
974
|
-
term: string;
|
975
|
-
}, {
|
976
|
-
type: "not";
|
977
|
-
term: string;
|
978
|
-
}>]>, "many">>>;
|
979
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
980
|
-
}, "strip", z.ZodTypeAny, {
|
981
|
-
type?: "and" | undefined;
|
982
|
-
status?: {
|
983
|
-
type: "exact";
|
984
|
-
term: string;
|
985
|
-
} | {
|
986
|
-
type: "anyOf";
|
987
|
-
terms: string[];
|
988
|
-
} | undefined;
|
989
|
-
data?: any;
|
990
|
-
createdAt?: {
|
991
|
-
type: "exact";
|
992
|
-
term: string;
|
993
|
-
} | {
|
994
|
-
type: "range";
|
995
|
-
gte: string;
|
996
|
-
lte: string;
|
997
|
-
} | undefined;
|
998
|
-
createdBy?: {
|
999
|
-
type: "exact";
|
1000
|
-
term: string;
|
1001
|
-
} | undefined;
|
1002
|
-
updatedAt?: {
|
1003
|
-
type: "exact";
|
1004
|
-
term: string;
|
1005
|
-
} | {
|
1006
|
-
type: "range";
|
1007
|
-
gte: string;
|
1008
|
-
lte: string;
|
1009
|
-
} | undefined;
|
1010
|
-
registeredAt?: {
|
1011
|
-
type: "exact";
|
1012
|
-
term: string;
|
1013
|
-
} | {
|
1014
|
-
type: "range";
|
1015
|
-
gte: string;
|
1016
|
-
lte: string;
|
1017
|
-
} | undefined;
|
1018
|
-
registeredAtLocation?: {
|
1019
|
-
type: "exact";
|
1020
|
-
term: string;
|
1021
|
-
} | {
|
1022
|
-
type: "within";
|
1023
|
-
location: string;
|
1024
|
-
} | undefined;
|
1025
|
-
trackingId?: {
|
1026
|
-
type: "exact";
|
1027
|
-
term: string;
|
1028
|
-
} | undefined;
|
1029
|
-
updatedAtLocation?: {
|
1030
|
-
type: "exact";
|
1031
|
-
term: string;
|
1032
|
-
} | {
|
1033
|
-
type: "within";
|
1034
|
-
location: string;
|
1035
|
-
} | undefined;
|
1036
|
-
updatedBy?: {
|
1037
|
-
type: "exact";
|
1038
|
-
term: string;
|
1039
|
-
} | undefined;
|
1040
|
-
flags?: ({
|
1041
|
-
type: "anyOf";
|
1042
|
-
terms: string[];
|
1043
|
-
} | {
|
1044
|
-
type: "not";
|
1045
|
-
term: string;
|
1046
|
-
})[] | undefined;
|
1047
|
-
eventType?: string | undefined;
|
1048
|
-
createAtLocation?: {
|
1049
|
-
type: "exact";
|
1050
|
-
term: string;
|
1051
|
-
} | {
|
1052
|
-
type: "within";
|
1053
|
-
location: string;
|
1054
|
-
} | undefined;
|
1055
|
-
}, {
|
1056
|
-
type?: "and" | undefined;
|
1057
|
-
status?: {
|
1058
|
-
type: "exact";
|
1059
|
-
term: string;
|
1060
|
-
} | {
|
1061
|
-
type: "anyOf";
|
1062
|
-
terms: string[];
|
1063
|
-
} | undefined;
|
1064
|
-
data?: any;
|
1065
|
-
createdAt?: {
|
1066
|
-
type: "exact";
|
1067
|
-
term: string;
|
1068
|
-
} | {
|
1069
|
-
type: "range";
|
1070
|
-
gte: string;
|
1071
|
-
lte: string;
|
1072
|
-
} | undefined;
|
1073
|
-
createdBy?: {
|
1074
|
-
type: "exact";
|
1075
|
-
term: string;
|
1076
|
-
} | undefined;
|
1077
|
-
updatedAt?: {
|
1078
|
-
type: "exact";
|
1079
|
-
term: string;
|
1080
|
-
} | {
|
1081
|
-
type: "range";
|
1082
|
-
gte: string;
|
1083
|
-
lte: string;
|
1084
|
-
} | undefined;
|
1085
|
-
registeredAt?: {
|
1086
|
-
type: "exact";
|
1087
|
-
term: string;
|
1088
|
-
} | {
|
1089
|
-
type: "range";
|
1090
|
-
gte: string;
|
1091
|
-
lte: string;
|
1092
|
-
} | undefined;
|
1093
|
-
registeredAtLocation?: {
|
1094
|
-
type: "exact";
|
1095
|
-
term: string;
|
1096
|
-
} | {
|
1097
|
-
type: "within";
|
1098
|
-
location: string;
|
1099
|
-
} | undefined;
|
1100
|
-
trackingId?: {
|
1101
|
-
type: "exact";
|
1102
|
-
term: string;
|
1103
|
-
} | undefined;
|
1104
|
-
updatedAtLocation?: {
|
1105
|
-
type: "exact";
|
1106
|
-
term: string;
|
1107
|
-
} | {
|
1108
|
-
type: "within";
|
1109
|
-
location: string;
|
1110
|
-
} | undefined;
|
1111
|
-
updatedBy?: {
|
1112
|
-
type: "exact";
|
1113
|
-
term: string;
|
1114
|
-
} | undefined;
|
1115
|
-
flags?: ({
|
1116
|
-
type: "anyOf";
|
1117
|
-
terms: string[];
|
1118
|
-
} | {
|
1119
|
-
type: "not";
|
1120
|
-
term: string;
|
1121
|
-
})[] | undefined;
|
1122
|
-
eventType?: string | undefined;
|
1123
|
-
createAtLocation?: {
|
1124
|
-
type: "exact";
|
1125
|
-
term: string;
|
1126
|
-
} | {
|
1127
|
-
type: "within";
|
1128
|
-
location: string;
|
1129
925
|
} | undefined;
|
1130
|
-
}
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
926
|
+
}>;
|
927
|
+
export declare const QueryType: z.ZodObject<{
|
928
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
929
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
1134
930
|
eventType: z.ZodOptional<z.ZodString>;
|
1135
931
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1136
932
|
type: z.ZodLiteral<"anyOf">;
|
1137
|
-
terms: z.ZodArray<z.
|
933
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1138
934
|
}, "strip", z.ZodTypeAny, {
|
1139
935
|
type: "anyOf";
|
1140
|
-
terms:
|
936
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1141
937
|
}, {
|
1142
938
|
type: "anyOf";
|
1143
|
-
terms:
|
939
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1144
940
|
}>, z.ZodObject<{
|
1145
941
|
type: z.ZodLiteral<"exact">;
|
1146
|
-
term: z.
|
942
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
1147
943
|
}, "strip", z.ZodTypeAny, {
|
1148
944
|
type: "exact";
|
1149
|
-
term:
|
945
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1150
946
|
}, {
|
1151
947
|
type: "exact";
|
1152
|
-
term:
|
948
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1153
949
|
}>]>>>;
|
1154
950
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1155
951
|
type: z.ZodLiteral<"exact">;
|
@@ -1195,7 +991,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1195
991
|
gte: string;
|
1196
992
|
lte: string;
|
1197
993
|
}>]>>>;
|
1198
|
-
|
994
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1199
995
|
type: z.ZodLiteral<"exact">;
|
1200
996
|
term: z.ZodString;
|
1201
997
|
}, "strip", z.ZodTypeAny, {
|
@@ -1217,7 +1013,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1217
1013
|
gte: string;
|
1218
1014
|
lte: string;
|
1219
1015
|
}>]>>>;
|
1220
|
-
|
1016
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1221
1017
|
type: z.ZodLiteral<"within">;
|
1222
1018
|
location: z.ZodString;
|
1223
1019
|
}, "strip", z.ZodTypeAny, {
|
@@ -1236,7 +1032,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1236
1032
|
type: "exact";
|
1237
1033
|
term: string;
|
1238
1034
|
}>]>>>;
|
1239
|
-
|
1035
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1036
|
+
type: z.ZodLiteral<"exact">;
|
1037
|
+
term: z.ZodString;
|
1038
|
+
}, "strip", z.ZodTypeAny, {
|
1039
|
+
type: "exact";
|
1040
|
+
term: string;
|
1041
|
+
}, {
|
1042
|
+
type: "exact";
|
1043
|
+
term: string;
|
1044
|
+
}>>>;
|
1045
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1240
1046
|
type: z.ZodLiteral<"within">;
|
1241
1047
|
location: z.ZodString;
|
1242
1048
|
}, "strip", z.ZodTypeAny, {
|
@@ -1274,6 +1080,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1274
1080
|
type: "exact";
|
1275
1081
|
term: string;
|
1276
1082
|
}>]>>>;
|
1083
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1084
|
+
type: z.ZodLiteral<"exact">;
|
1085
|
+
term: z.ZodString;
|
1086
|
+
}, "strip", z.ZodTypeAny, {
|
1087
|
+
type: "exact";
|
1088
|
+
term: string;
|
1089
|
+
}, {
|
1090
|
+
type: "exact";
|
1091
|
+
term: string;
|
1092
|
+
}>>>;
|
1093
|
+
creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
|
1277
1094
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1278
1095
|
type: z.ZodLiteral<"exact">;
|
1279
1096
|
term: z.ZodString;
|
@@ -1325,15 +1142,15 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1325
1142
|
}>]>, "many">>>;
|
1326
1143
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1327
1144
|
}, "strip", z.ZodTypeAny, {
|
1328
|
-
type?: "and" | undefined;
|
1329
1145
|
status?: {
|
1330
1146
|
type: "exact";
|
1331
|
-
term:
|
1147
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1332
1148
|
} | {
|
1333
1149
|
type: "anyOf";
|
1334
|
-
terms:
|
1150
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1335
1151
|
} | undefined;
|
1336
1152
|
data?: any;
|
1153
|
+
creator?: "system" | "user" | undefined;
|
1337
1154
|
createdAt?: {
|
1338
1155
|
type: "exact";
|
1339
1156
|
term: string;
|
@@ -1346,28 +1163,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1346
1163
|
type: "exact";
|
1347
1164
|
term: string;
|
1348
1165
|
} | undefined;
|
1349
|
-
|
1166
|
+
createdAtLocation?: {
|
1350
1167
|
type: "exact";
|
1351
1168
|
term: string;
|
1352
1169
|
} | {
|
1353
|
-
type: "
|
1354
|
-
|
1355
|
-
lte: string;
|
1170
|
+
type: "within";
|
1171
|
+
location: string;
|
1356
1172
|
} | undefined;
|
1357
|
-
|
1173
|
+
assignedTo?: {
|
1358
1174
|
type: "exact";
|
1359
1175
|
term: string;
|
1360
|
-
} | {
|
1361
|
-
type: "range";
|
1362
|
-
gte: string;
|
1363
|
-
lte: string;
|
1364
1176
|
} | undefined;
|
1365
|
-
|
1177
|
+
updatedAt?: {
|
1366
1178
|
type: "exact";
|
1367
1179
|
term: string;
|
1368
1180
|
} | {
|
1369
|
-
type: "
|
1370
|
-
|
1181
|
+
type: "range";
|
1182
|
+
gte: string;
|
1183
|
+
lte: string;
|
1371
1184
|
} | undefined;
|
1372
1185
|
trackingId?: {
|
1373
1186
|
type: "exact";
|
@@ -1392,23 +1205,35 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1392
1205
|
term: string;
|
1393
1206
|
})[] | undefined;
|
1394
1207
|
eventType?: string | undefined;
|
1395
|
-
|
1208
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1209
|
+
type: "exact";
|
1210
|
+
term: string;
|
1211
|
+
} | {
|
1212
|
+
type: "range";
|
1213
|
+
gte: string;
|
1214
|
+
lte: string;
|
1215
|
+
} | undefined;
|
1216
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1396
1217
|
type: "exact";
|
1397
1218
|
term: string;
|
1398
1219
|
} | {
|
1399
1220
|
type: "within";
|
1400
1221
|
location: string;
|
1401
1222
|
} | undefined;
|
1223
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1224
|
+
type: "exact";
|
1225
|
+
term: string;
|
1226
|
+
} | undefined;
|
1402
1227
|
}, {
|
1403
|
-
type?: "and" | undefined;
|
1404
1228
|
status?: {
|
1405
1229
|
type: "exact";
|
1406
|
-
term:
|
1230
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1407
1231
|
} | {
|
1408
1232
|
type: "anyOf";
|
1409
|
-
terms:
|
1233
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1410
1234
|
} | undefined;
|
1411
1235
|
data?: any;
|
1236
|
+
creator?: "system" | "user" | undefined;
|
1412
1237
|
createdAt?: {
|
1413
1238
|
type: "exact";
|
1414
1239
|
term: string;
|
@@ -1421,28 +1246,24 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1421
1246
|
type: "exact";
|
1422
1247
|
term: string;
|
1423
1248
|
} | undefined;
|
1424
|
-
|
1249
|
+
createdAtLocation?: {
|
1425
1250
|
type: "exact";
|
1426
1251
|
term: string;
|
1427
1252
|
} | {
|
1428
|
-
type: "
|
1429
|
-
|
1430
|
-
lte: string;
|
1253
|
+
type: "within";
|
1254
|
+
location: string;
|
1431
1255
|
} | undefined;
|
1432
|
-
|
1256
|
+
assignedTo?: {
|
1433
1257
|
type: "exact";
|
1434
1258
|
term: string;
|
1435
|
-
} | {
|
1436
|
-
type: "range";
|
1437
|
-
gte: string;
|
1438
|
-
lte: string;
|
1439
1259
|
} | undefined;
|
1440
|
-
|
1260
|
+
updatedAt?: {
|
1441
1261
|
type: "exact";
|
1442
1262
|
term: string;
|
1443
1263
|
} | {
|
1444
|
-
type: "
|
1445
|
-
|
1264
|
+
type: "range";
|
1265
|
+
gte: string;
|
1266
|
+
lte: string;
|
1446
1267
|
} | undefined;
|
1447
1268
|
trackingId?: {
|
1448
1269
|
type: "exact";
|
@@ -1467,26 +1288,35 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1467
1288
|
term: string;
|
1468
1289
|
})[] | undefined;
|
1469
1290
|
eventType?: string | undefined;
|
1470
|
-
|
1291
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1292
|
+
type: "exact";
|
1293
|
+
term: string;
|
1294
|
+
} | {
|
1295
|
+
type: "range";
|
1296
|
+
gte: string;
|
1297
|
+
lte: string;
|
1298
|
+
} | undefined;
|
1299
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1471
1300
|
type: "exact";
|
1472
1301
|
term: string;
|
1473
1302
|
} | {
|
1474
1303
|
type: "within";
|
1475
1304
|
location: string;
|
1476
1305
|
} | undefined;
|
1477
|
-
|
1478
|
-
}, "strip", z.ZodTypeAny, {
|
1479
|
-
type: "or";
|
1480
|
-
clauses: {
|
1481
|
-
type?: "and" | undefined;
|
1482
|
-
status?: {
|
1306
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1483
1307
|
type: "exact";
|
1484
1308
|
term: string;
|
1309
|
+
} | undefined;
|
1310
|
+
}>, "atleastone">, [{
|
1311
|
+
status?: {
|
1312
|
+
type: "exact";
|
1313
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1485
1314
|
} | {
|
1486
1315
|
type: "anyOf";
|
1487
|
-
terms:
|
1316
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1488
1317
|
} | undefined;
|
1489
1318
|
data?: any;
|
1319
|
+
creator?: "system" | "user" | undefined;
|
1490
1320
|
createdAt?: {
|
1491
1321
|
type: "exact";
|
1492
1322
|
term: string;
|
@@ -1499,6 +1329,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1499
1329
|
type: "exact";
|
1500
1330
|
term: string;
|
1501
1331
|
} | undefined;
|
1332
|
+
createdAtLocation?: {
|
1333
|
+
type: "exact";
|
1334
|
+
term: string;
|
1335
|
+
} | {
|
1336
|
+
type: "within";
|
1337
|
+
location: string;
|
1338
|
+
} | undefined;
|
1339
|
+
assignedTo?: {
|
1340
|
+
type: "exact";
|
1341
|
+
term: string;
|
1342
|
+
} | undefined;
|
1502
1343
|
updatedAt?: {
|
1503
1344
|
type: "exact";
|
1504
1345
|
term: string;
|
@@ -1507,7 +1348,30 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1507
1348
|
gte: string;
|
1508
1349
|
lte: string;
|
1509
1350
|
} | undefined;
|
1510
|
-
|
1351
|
+
trackingId?: {
|
1352
|
+
type: "exact";
|
1353
|
+
term: string;
|
1354
|
+
} | undefined;
|
1355
|
+
updatedAtLocation?: {
|
1356
|
+
type: "exact";
|
1357
|
+
term: string;
|
1358
|
+
} | {
|
1359
|
+
type: "within";
|
1360
|
+
location: string;
|
1361
|
+
} | undefined;
|
1362
|
+
updatedBy?: {
|
1363
|
+
type: "exact";
|
1364
|
+
term: string;
|
1365
|
+
} | undefined;
|
1366
|
+
flags?: ({
|
1367
|
+
type: "anyOf";
|
1368
|
+
terms: string[];
|
1369
|
+
} | {
|
1370
|
+
type: "not";
|
1371
|
+
term: string;
|
1372
|
+
})[] | undefined;
|
1373
|
+
eventType?: string | undefined;
|
1374
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1511
1375
|
type: "exact";
|
1512
1376
|
term: string;
|
1513
1377
|
} | {
|
@@ -1515,13 +1379,58 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1515
1379
|
gte: string;
|
1516
1380
|
lte: string;
|
1517
1381
|
} | undefined;
|
1518
|
-
|
1382
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1383
|
+
type: "exact";
|
1384
|
+
term: string;
|
1385
|
+
} | {
|
1386
|
+
type: "within";
|
1387
|
+
location: string;
|
1388
|
+
} | undefined;
|
1389
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1390
|
+
type: "exact";
|
1391
|
+
term: string;
|
1392
|
+
} | undefined;
|
1393
|
+
}, ...{
|
1394
|
+
status?: {
|
1395
|
+
type: "exact";
|
1396
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1397
|
+
} | {
|
1398
|
+
type: "anyOf";
|
1399
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1400
|
+
} | undefined;
|
1401
|
+
data?: any;
|
1402
|
+
creator?: "system" | "user" | undefined;
|
1403
|
+
createdAt?: {
|
1404
|
+
type: "exact";
|
1405
|
+
term: string;
|
1406
|
+
} | {
|
1407
|
+
type: "range";
|
1408
|
+
gte: string;
|
1409
|
+
lte: string;
|
1410
|
+
} | undefined;
|
1411
|
+
createdBy?: {
|
1412
|
+
type: "exact";
|
1413
|
+
term: string;
|
1414
|
+
} | undefined;
|
1415
|
+
createdAtLocation?: {
|
1519
1416
|
type: "exact";
|
1520
1417
|
term: string;
|
1521
1418
|
} | {
|
1522
1419
|
type: "within";
|
1523
1420
|
location: string;
|
1524
1421
|
} | undefined;
|
1422
|
+
assignedTo?: {
|
1423
|
+
type: "exact";
|
1424
|
+
term: string;
|
1425
|
+
} | undefined;
|
1426
|
+
updatedAt?: {
|
1427
|
+
type: "exact";
|
1428
|
+
term: string;
|
1429
|
+
} | {
|
1430
|
+
type: "range";
|
1431
|
+
gte: string;
|
1432
|
+
lte: string;
|
1433
|
+
} | undefined;
|
1525
1434
|
trackingId?: {
|
1526
1435
|
type: "exact";
|
1527
1436
|
term: string;
|
@@ -1545,26 +1454,38 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1545
1454
|
term: string;
|
1546
1455
|
})[] | undefined;
|
1547
1456
|
eventType?: string | undefined;
|
1548
|
-
|
1457
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1458
|
+
type: "exact";
|
1459
|
+
term: string;
|
1460
|
+
} | {
|
1461
|
+
type: "range";
|
1462
|
+
gte: string;
|
1463
|
+
lte: string;
|
1464
|
+
} | undefined;
|
1465
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1549
1466
|
type: "exact";
|
1550
1467
|
term: string;
|
1551
1468
|
} | {
|
1552
1469
|
type: "within";
|
1553
1470
|
location: string;
|
1554
1471
|
} | undefined;
|
1555
|
-
|
1556
|
-
}, {
|
1557
|
-
type: "or";
|
1558
|
-
clauses: {
|
1559
|
-
type?: "and" | undefined;
|
1560
|
-
status?: {
|
1472
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1561
1473
|
type: "exact";
|
1562
1474
|
term: string;
|
1475
|
+
} | undefined;
|
1476
|
+
}[]], unknown>;
|
1477
|
+
}, "strip", z.ZodTypeAny, {
|
1478
|
+
type: "and" | "or";
|
1479
|
+
clauses: [{
|
1480
|
+
status?: {
|
1481
|
+
type: "exact";
|
1482
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1563
1483
|
} | {
|
1564
1484
|
type: "anyOf";
|
1565
|
-
terms:
|
1485
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1566
1486
|
} | undefined;
|
1567
1487
|
data?: any;
|
1488
|
+
creator?: "system" | "user" | undefined;
|
1568
1489
|
createdAt?: {
|
1569
1490
|
type: "exact";
|
1570
1491
|
term: string;
|
@@ -1577,6 +1498,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1577
1498
|
type: "exact";
|
1578
1499
|
term: string;
|
1579
1500
|
} | undefined;
|
1501
|
+
createdAtLocation?: {
|
1502
|
+
type: "exact";
|
1503
|
+
term: string;
|
1504
|
+
} | {
|
1505
|
+
type: "within";
|
1506
|
+
location: string;
|
1507
|
+
} | undefined;
|
1508
|
+
assignedTo?: {
|
1509
|
+
type: "exact";
|
1510
|
+
term: string;
|
1511
|
+
} | undefined;
|
1580
1512
|
updatedAt?: {
|
1581
1513
|
type: "exact";
|
1582
1514
|
term: string;
|
@@ -1585,7 +1517,59 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1585
1517
|
gte: string;
|
1586
1518
|
lte: string;
|
1587
1519
|
} | undefined;
|
1588
|
-
|
1520
|
+
trackingId?: {
|
1521
|
+
type: "exact";
|
1522
|
+
term: string;
|
1523
|
+
} | undefined;
|
1524
|
+
updatedAtLocation?: {
|
1525
|
+
type: "exact";
|
1526
|
+
term: string;
|
1527
|
+
} | {
|
1528
|
+
type: "within";
|
1529
|
+
location: string;
|
1530
|
+
} | undefined;
|
1531
|
+
updatedBy?: {
|
1532
|
+
type: "exact";
|
1533
|
+
term: string;
|
1534
|
+
} | undefined;
|
1535
|
+
flags?: ({
|
1536
|
+
type: "anyOf";
|
1537
|
+
terms: string[];
|
1538
|
+
} | {
|
1539
|
+
type: "not";
|
1540
|
+
term: string;
|
1541
|
+
})[] | undefined;
|
1542
|
+
eventType?: string | undefined;
|
1543
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1544
|
+
type: "exact";
|
1545
|
+
term: string;
|
1546
|
+
} | {
|
1547
|
+
type: "range";
|
1548
|
+
gte: string;
|
1549
|
+
lte: string;
|
1550
|
+
} | undefined;
|
1551
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1552
|
+
type: "exact";
|
1553
|
+
term: string;
|
1554
|
+
} | {
|
1555
|
+
type: "within";
|
1556
|
+
location: string;
|
1557
|
+
} | undefined;
|
1558
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1559
|
+
type: "exact";
|
1560
|
+
term: string;
|
1561
|
+
} | undefined;
|
1562
|
+
}, ...{
|
1563
|
+
status?: {
|
1564
|
+
type: "exact";
|
1565
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1566
|
+
} | {
|
1567
|
+
type: "anyOf";
|
1568
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1569
|
+
} | undefined;
|
1570
|
+
data?: any;
|
1571
|
+
creator?: "system" | "user" | undefined;
|
1572
|
+
createdAt?: {
|
1589
1573
|
type: "exact";
|
1590
1574
|
term: string;
|
1591
1575
|
} | {
|
@@ -1593,13 +1577,29 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1593
1577
|
gte: string;
|
1594
1578
|
lte: string;
|
1595
1579
|
} | undefined;
|
1596
|
-
|
1580
|
+
createdBy?: {
|
1581
|
+
type: "exact";
|
1582
|
+
term: string;
|
1583
|
+
} | undefined;
|
1584
|
+
createdAtLocation?: {
|
1597
1585
|
type: "exact";
|
1598
1586
|
term: string;
|
1599
1587
|
} | {
|
1600
1588
|
type: "within";
|
1601
1589
|
location: string;
|
1602
1590
|
} | undefined;
|
1591
|
+
assignedTo?: {
|
1592
|
+
type: "exact";
|
1593
|
+
term: string;
|
1594
|
+
} | undefined;
|
1595
|
+
updatedAt?: {
|
1596
|
+
type: "exact";
|
1597
|
+
term: string;
|
1598
|
+
} | {
|
1599
|
+
type: "range";
|
1600
|
+
gte: string;
|
1601
|
+
lte: string;
|
1602
|
+
} | undefined;
|
1603
1603
|
trackingId?: {
|
1604
1604
|
type: "exact";
|
1605
1605
|
term: string;
|
@@ -1623,15 +1623,31 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1623
1623
|
term: string;
|
1624
1624
|
})[] | undefined;
|
1625
1625
|
eventType?: string | undefined;
|
1626
|
-
|
1626
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1627
|
+
type: "exact";
|
1628
|
+
term: string;
|
1629
|
+
} | {
|
1630
|
+
type: "range";
|
1631
|
+
gte: string;
|
1632
|
+
lte: string;
|
1633
|
+
} | undefined;
|
1634
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1627
1635
|
type: "exact";
|
1628
1636
|
term: string;
|
1629
1637
|
} | {
|
1630
1638
|
type: "within";
|
1631
1639
|
location: string;
|
1632
1640
|
} | undefined;
|
1633
|
-
|
1634
|
-
|
1641
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1642
|
+
type: "exact";
|
1643
|
+
term: string;
|
1644
|
+
} | undefined;
|
1645
|
+
}[]];
|
1646
|
+
}, {
|
1647
|
+
type: "and" | "or";
|
1648
|
+
clauses?: unknown;
|
1649
|
+
}>;
|
1635
1650
|
export type QueryType = z.infer<typeof QueryType>;
|
1651
|
+
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1636
1652
|
export {};
|
1637
1653
|
//# sourceMappingURL=EventIndex.d.ts.map
|