@opencrvs/toolkit 1.8.0-rc.fb4793a → 1.8.0-rc.fb8e005
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +6737 -8337
- 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 +35832 -12647
- package/dist/commons/events/ActionDocument.d.ts +2215 -525
- package/dist/commons/events/ActionInput.d.ts +1579 -307
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +279 -3
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +3730 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +142 -36
- package/dist/commons/events/EventConfig.d.ts +23847 -12245
- package/dist/commons/events/EventDocument.d.ts +1454 -396
- package/dist/commons/events/EventIndex.d.ts +807 -549
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +122 -87
- package/dist/commons/events/FieldConfig.d.ts +2261 -1191
- 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 +11459 -4769
- package/dist/commons/events/PageConfig.d.ts +3768 -2134
- package/dist/commons/events/SummaryConfig.d.ts +0 -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 +6278 -528
- package/dist/commons/events/defineConfig.d.ts +2747 -679
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +10 -10
- package/dist/commons/events/index.d.ts +5 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +171 -41
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +10474 -330
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +65 -25
- package/dist/events/index.js +2876 -1213
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +3 -3
@@ -1,105 +1,121 @@
|
|
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
|
-
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.ZodBranded<z.ZodString, "UUID">>>;
|
11
|
+
createdByUserType: 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
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
21
|
+
createdBySignature?: string | null | undefined;
|
22
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
28
23
|
}, {
|
29
24
|
createdAt: string;
|
30
25
|
createdBy: string;
|
31
26
|
createdByRole: string;
|
32
|
-
createdAtLocation: string;
|
33
27
|
acceptedAt: string;
|
28
|
+
createdByUserType?: "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.ZodBranded<z.ZodString, "UUID">>>;
|
36
|
+
createdByUserType: 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
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
49
|
+
createdBySignature?: string | null | undefined;
|
50
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
68
|
+
createdBySignature?: string | null | undefined;
|
69
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | 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
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
78
|
+
createdBySignature?: string | null | undefined;
|
79
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
94
106
|
updatedByUserRole: z.ZodString;
|
95
|
-
createdAtLocation: z.ZodString
|
96
|
-
|
107
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
108
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
109
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
97
110
|
updatedAt: z.ZodString;
|
98
111
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
99
112
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
100
113
|
trackingId: z.ZodString;
|
101
114
|
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
102
|
-
readonly
|
115
|
+
readonly PRINTED: "printed";
|
116
|
+
readonly INCOMPLETE: "incomplete";
|
117
|
+
readonly REJECTED: "rejected";
|
118
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
103
119
|
}>]>, "many">;
|
104
120
|
}, {
|
105
121
|
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
@@ -215,10 +231,34 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
215
231
|
addressLine2?: string | undefined;
|
216
232
|
addressLine3?: string | undefined;
|
217
233
|
postcodeOrZip?: string | undefined;
|
218
|
-
}
|
234
|
+
}>, z.ZodObject<{
|
235
|
+
firstname: z.ZodString;
|
236
|
+
surname: z.ZodString;
|
237
|
+
middlename: z.ZodOptional<z.ZodString>;
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
239
|
+
firstname: string;
|
240
|
+
surname: string;
|
241
|
+
middlename?: string | undefined;
|
242
|
+
}, {
|
243
|
+
firstname: string;
|
244
|
+
surname: string;
|
245
|
+
middlename?: string | undefined;
|
246
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
247
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
248
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
249
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
251
|
+
firstname?: string | null | undefined;
|
252
|
+
surname?: string | null | undefined;
|
253
|
+
middlename?: string | null | undefined;
|
254
|
+
}, {
|
255
|
+
firstname?: string | null | undefined;
|
256
|
+
surname?: string | null | undefined;
|
257
|
+
middlename?: string | null | undefined;
|
258
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
219
259
|
}>, "strip", z.ZodTypeAny, {
|
220
260
|
type: string;
|
221
|
-
id: string
|
261
|
+
id: string & z.BRAND<"UUID">;
|
222
262
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
223
263
|
createdAt: string;
|
224
264
|
createdBy: string;
|
@@ -244,6 +284,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
244
284
|
province: string;
|
245
285
|
urbanOrRural: "RURAL";
|
246
286
|
village?: string | undefined;
|
287
|
+
} | {
|
288
|
+
firstname: string;
|
289
|
+
surname: string;
|
290
|
+
middlename?: string | undefined;
|
291
|
+
} | {
|
292
|
+
firstname?: string | null | undefined;
|
293
|
+
surname?: string | null | undefined;
|
294
|
+
middlename?: string | null | undefined;
|
247
295
|
} | {
|
248
296
|
country: string;
|
249
297
|
state: string;
|
@@ -259,8 +307,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
259
307
|
option: string;
|
260
308
|
filename: string;
|
261
309
|
originalFilename: string;
|
262
|
-
}[] | [string, string] | undefined>;
|
263
|
-
createdAtLocation: string;
|
310
|
+
}[] | [string, string] | null | undefined>;
|
264
311
|
updatedAt: string;
|
265
312
|
trackingId: string;
|
266
313
|
legalStatuses: {
|
@@ -268,23 +315,30 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
315
|
createdAt: string;
|
269
316
|
createdBy: string;
|
270
317
|
createdByRole: string;
|
271
|
-
createdAtLocation: string;
|
272
318
|
acceptedAt: string;
|
319
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
320
|
+
createdBySignature?: string | null | undefined;
|
321
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
273
322
|
} | null | undefined;
|
274
323
|
REGISTERED?: {
|
275
324
|
createdAt: string;
|
276
325
|
createdBy: string;
|
277
326
|
createdByRole: string;
|
278
|
-
createdAtLocation: string;
|
279
327
|
registrationNumber: string;
|
280
328
|
acceptedAt: string;
|
329
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
330
|
+
createdBySignature?: string | null | undefined;
|
331
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
281
332
|
} | null | undefined;
|
282
333
|
};
|
283
334
|
updatedByUserRole: string;
|
284
335
|
flags: string[];
|
336
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
337
|
+
createdBySignature?: string | null | undefined;
|
338
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
285
339
|
assignedTo?: string | null | undefined;
|
286
340
|
dateOfEvent?: string | null | undefined;
|
287
|
-
updatedAtLocation?: string | null | undefined;
|
341
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
288
342
|
updatedBy?: string | null | undefined;
|
289
343
|
}, {
|
290
344
|
type: string;
|
@@ -314,6 +368,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
314
368
|
province: string;
|
315
369
|
urbanOrRural: "RURAL";
|
316
370
|
village?: string | undefined;
|
371
|
+
} | {
|
372
|
+
firstname: string;
|
373
|
+
surname: string;
|
374
|
+
middlename?: string | undefined;
|
375
|
+
} | {
|
376
|
+
firstname?: string | null | undefined;
|
377
|
+
surname?: string | null | undefined;
|
378
|
+
middlename?: string | null | undefined;
|
317
379
|
} | {
|
318
380
|
country: string;
|
319
381
|
state: string;
|
@@ -329,8 +391,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
329
391
|
option: string;
|
330
392
|
filename: string;
|
331
393
|
originalFilename: string;
|
332
|
-
}[] | [string, string] | undefined>;
|
333
|
-
createdAtLocation: string;
|
394
|
+
}[] | [string, string] | null | undefined>;
|
334
395
|
updatedAt: string;
|
335
396
|
trackingId: string;
|
336
397
|
legalStatuses: {
|
@@ -338,20 +399,27 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
399
|
createdAt: string;
|
339
400
|
createdBy: string;
|
340
401
|
createdByRole: string;
|
341
|
-
createdAtLocation: string;
|
342
402
|
acceptedAt: string;
|
403
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
404
|
+
createdBySignature?: string | null | undefined;
|
405
|
+
createdAtLocation?: string | null | undefined;
|
343
406
|
} | null | undefined;
|
344
407
|
REGISTERED?: {
|
345
408
|
createdAt: string;
|
346
409
|
createdBy: string;
|
347
410
|
createdByRole: string;
|
348
|
-
createdAtLocation: string;
|
349
411
|
registrationNumber: string;
|
350
412
|
acceptedAt: string;
|
413
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
414
|
+
createdBySignature?: string | null | undefined;
|
415
|
+
createdAtLocation?: string | null | undefined;
|
351
416
|
} | null | undefined;
|
352
417
|
};
|
353
418
|
updatedByUserRole: string;
|
354
419
|
flags: string[];
|
420
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
421
|
+
createdBySignature?: string | null | undefined;
|
422
|
+
createdAtLocation?: string | null | undefined;
|
355
423
|
assignedTo?: string | null | undefined;
|
356
424
|
dateOfEvent?: string | null | undefined;
|
357
425
|
updatedAtLocation?: string | null | undefined;
|
@@ -366,7 +434,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
434
|
}>>;
|
367
435
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
436
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
437
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
438
|
type: z.ZodLiteral<"fuzzy">;
|
371
439
|
term: z.ZodString;
|
372
440
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +444,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
444
|
type: "fuzzy";
|
377
445
|
term: string;
|
378
446
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
447
|
+
export declare const Exact: z.ZodObject<{
|
380
448
|
type: z.ZodLiteral<"exact">;
|
381
449
|
term: z.ZodString;
|
382
450
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +454,17 @@ declare const Exact: z.ZodObject<{
|
|
386
454
|
type: "exact";
|
387
455
|
term: string;
|
388
456
|
}>;
|
389
|
-
declare const
|
457
|
+
export declare const ExactStatus: z.ZodObject<{
|
458
|
+
type: z.ZodLiteral<"exact">;
|
459
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
460
|
+
}, "strip", z.ZodTypeAny, {
|
461
|
+
type: "exact";
|
462
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
463
|
+
}, {
|
464
|
+
type: "exact";
|
465
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
466
|
+
}>;
|
467
|
+
export declare const AnyOf: z.ZodObject<{
|
390
468
|
type: z.ZodLiteral<"anyOf">;
|
391
469
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
470
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +474,17 @@ declare const AnyOf: z.ZodObject<{
|
|
396
474
|
type: "anyOf";
|
397
475
|
terms: string[];
|
398
476
|
}>;
|
399
|
-
declare const
|
477
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
478
|
+
type: z.ZodLiteral<"anyOf">;
|
479
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
480
|
+
}, "strip", z.ZodTypeAny, {
|
481
|
+
type: "anyOf";
|
482
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
483
|
+
}, {
|
484
|
+
type: "anyOf";
|
485
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
486
|
+
}>;
|
487
|
+
export declare const Range: z.ZodObject<{
|
400
488
|
type: z.ZodLiteral<"range">;
|
401
489
|
gte: z.ZodString;
|
402
490
|
lte: z.ZodString;
|
@@ -409,17 +497,27 @@ declare const Range: z.ZodObject<{
|
|
409
497
|
gte: string;
|
410
498
|
lte: string;
|
411
499
|
}>;
|
412
|
-
declare const
|
413
|
-
|
414
|
-
|
500
|
+
export declare const ContainsFlags: z.ZodObject<{
|
501
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
502
|
+
readonly PRINTED: "printed";
|
503
|
+
readonly INCOMPLETE: "incomplete";
|
504
|
+
readonly REJECTED: "rejected";
|
505
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
506
|
+
}>]>, "many">>;
|
507
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
508
|
+
readonly PRINTED: "printed";
|
509
|
+
readonly INCOMPLETE: "incomplete";
|
510
|
+
readonly REJECTED: "rejected";
|
511
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
512
|
+
}>]>, "many">>;
|
415
513
|
}, "strip", z.ZodTypeAny, {
|
416
|
-
|
417
|
-
|
514
|
+
anyOf?: string[] | undefined;
|
515
|
+
noneOf?: string[] | undefined;
|
418
516
|
}, {
|
419
|
-
|
420
|
-
|
517
|
+
anyOf?: string[] | undefined;
|
518
|
+
noneOf?: string[] | undefined;
|
421
519
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
520
|
+
export declare const Within: z.ZodObject<{
|
423
521
|
type: z.ZodLiteral<"within">;
|
424
522
|
location: z.ZodString;
|
425
523
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,13 +527,69 @@ declare const Within: z.ZodObject<{
|
|
429
527
|
type: "within";
|
430
528
|
location: string;
|
431
529
|
}>;
|
530
|
+
export declare const RangeDate: z.ZodObject<z.objectUtil.extendShape<{
|
531
|
+
type: z.ZodLiteral<"range">;
|
532
|
+
gte: z.ZodString;
|
533
|
+
lte: z.ZodString;
|
534
|
+
}, {
|
535
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
536
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
537
|
+
}>, "strip", z.ZodTypeAny, {
|
538
|
+
type: "range";
|
539
|
+
gte: string;
|
540
|
+
lte: string;
|
541
|
+
}, {
|
542
|
+
type: "range";
|
543
|
+
gte: string;
|
544
|
+
lte: string;
|
545
|
+
}>;
|
546
|
+
export declare const ExactDate: z.ZodObject<z.objectUtil.extendShape<{
|
547
|
+
type: z.ZodLiteral<"exact">;
|
548
|
+
term: z.ZodString;
|
549
|
+
}, {
|
550
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
551
|
+
}>, "strip", z.ZodTypeAny, {
|
552
|
+
type: "exact";
|
553
|
+
term: string;
|
554
|
+
}, {
|
555
|
+
type: "exact";
|
556
|
+
term: string;
|
557
|
+
}>;
|
558
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
559
|
+
type: z.ZodLiteral<"exact">;
|
560
|
+
term: z.ZodString;
|
561
|
+
}, {
|
562
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
563
|
+
}>, "strip", z.ZodTypeAny, {
|
564
|
+
type: "exact";
|
565
|
+
term: string;
|
566
|
+
}, {
|
567
|
+
type: "exact";
|
568
|
+
term: string;
|
569
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
570
|
+
type: z.ZodLiteral<"range">;
|
571
|
+
gte: z.ZodString;
|
572
|
+
lte: z.ZodString;
|
573
|
+
}, {
|
574
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
575
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
576
|
+
}>, "strip", z.ZodTypeAny, {
|
577
|
+
type: "range";
|
578
|
+
gte: string;
|
579
|
+
lte: string;
|
580
|
+
}, {
|
581
|
+
type: "range";
|
582
|
+
gte: string;
|
583
|
+
lte: string;
|
584
|
+
}>]>;
|
432
585
|
export declare const QueryInput: ZodType;
|
433
|
-
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf
|
586
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
434
587
|
type QueryMap = {
|
435
588
|
[key: string]: BaseInput | QueryMap;
|
436
589
|
};
|
437
590
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
declare const QueryExpression: z.ZodObject<{
|
591
|
+
export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
592
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
439
593
|
eventType: z.ZodOptional<z.ZodString>;
|
440
594
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
441
595
|
type: z.ZodLiteral<"anyOf">;
|
@@ -456,20 +610,25 @@ declare const QueryExpression: z.ZodObject<{
|
|
456
610
|
type: "exact";
|
457
611
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
458
612
|
}>]>>>;
|
459
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
613
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
460
614
|
type: z.ZodLiteral<"exact">;
|
461
615
|
term: z.ZodString;
|
462
|
-
},
|
616
|
+
}, {
|
617
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
618
|
+
}>, "strip", z.ZodTypeAny, {
|
463
619
|
type: "exact";
|
464
620
|
term: string;
|
465
621
|
}, {
|
466
622
|
type: "exact";
|
467
623
|
term: string;
|
468
|
-
}>, z.ZodObject<{
|
624
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
469
625
|
type: z.ZodLiteral<"range">;
|
470
626
|
gte: z.ZodString;
|
471
627
|
lte: z.ZodString;
|
472
|
-
},
|
628
|
+
}, {
|
629
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
630
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
631
|
+
}>, "strip", z.ZodTypeAny, {
|
473
632
|
type: "range";
|
474
633
|
gte: string;
|
475
634
|
lte: string;
|
@@ -478,20 +637,25 @@ declare const QueryExpression: z.ZodObject<{
|
|
478
637
|
gte: string;
|
479
638
|
lte: string;
|
480
639
|
}>]>>>;
|
481
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
640
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
482
641
|
type: z.ZodLiteral<"exact">;
|
483
642
|
term: z.ZodString;
|
484
|
-
},
|
643
|
+
}, {
|
644
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
645
|
+
}>, "strip", z.ZodTypeAny, {
|
485
646
|
type: "exact";
|
486
647
|
term: string;
|
487
648
|
}, {
|
488
649
|
type: "exact";
|
489
650
|
term: string;
|
490
|
-
}>, z.ZodObject<{
|
651
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
491
652
|
type: z.ZodLiteral<"range">;
|
492
653
|
gte: z.ZodString;
|
493
654
|
lte: z.ZodString;
|
494
|
-
},
|
655
|
+
}, {
|
656
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
657
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
658
|
+
}>, "strip", z.ZodTypeAny, {
|
495
659
|
type: "range";
|
496
660
|
gte: string;
|
497
661
|
lte: string;
|
@@ -500,20 +664,25 @@ declare const QueryExpression: z.ZodObject<{
|
|
500
664
|
gte: string;
|
501
665
|
lte: string;
|
502
666
|
}>]>>>;
|
503
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
667
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
504
668
|
type: z.ZodLiteral<"exact">;
|
505
669
|
term: z.ZodString;
|
506
|
-
},
|
670
|
+
}, {
|
671
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
672
|
+
}>, "strip", z.ZodTypeAny, {
|
507
673
|
type: "exact";
|
508
674
|
term: string;
|
509
675
|
}, {
|
510
676
|
type: "exact";
|
511
677
|
term: string;
|
512
|
-
}>, z.ZodObject<{
|
678
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
513
679
|
type: z.ZodLiteral<"range">;
|
514
680
|
gte: z.ZodString;
|
515
681
|
lte: z.ZodString;
|
516
|
-
},
|
682
|
+
}, {
|
683
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
684
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
685
|
+
}>, "strip", z.ZodTypeAny, {
|
517
686
|
type: "range";
|
518
687
|
gte: string;
|
519
688
|
lte: string;
|
@@ -541,7 +710,17 @@ declare const QueryExpression: z.ZodObject<{
|
|
541
710
|
type: "exact";
|
542
711
|
term: string;
|
543
712
|
}>]>>>;
|
544
|
-
|
713
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
714
|
+
type: z.ZodLiteral<"exact">;
|
715
|
+
term: z.ZodString;
|
716
|
+
}, "strip", z.ZodTypeAny, {
|
717
|
+
type: "exact";
|
718
|
+
term: string;
|
719
|
+
}, {
|
720
|
+
type: "exact";
|
721
|
+
term: string;
|
722
|
+
}>>>;
|
723
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
545
724
|
type: z.ZodLiteral<"within">;
|
546
725
|
location: z.ZodString;
|
547
726
|
}, "strip", z.ZodTypeAny, {
|
@@ -579,7 +758,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
579
758
|
type: "exact";
|
580
759
|
term: string;
|
581
760
|
}>]>>>;
|
582
|
-
|
761
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
583
762
|
type: z.ZodLiteral<"exact">;
|
584
763
|
term: z.ZodString;
|
585
764
|
}, "strip", z.ZodTypeAny, {
|
@@ -589,7 +768,8 @@ declare const QueryExpression: z.ZodObject<{
|
|
589
768
|
type: "exact";
|
590
769
|
term: string;
|
591
770
|
}>>>;
|
592
|
-
|
771
|
+
createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
|
772
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
593
773
|
type: z.ZodLiteral<"exact">;
|
594
774
|
term: z.ZodString;
|
595
775
|
}, "strip", z.ZodTypeAny, {
|
@@ -599,7 +779,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
599
779
|
type: "exact";
|
600
780
|
term: string;
|
601
781
|
}>>>;
|
602
|
-
|
782
|
+
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
603
783
|
type: z.ZodLiteral<"exact">;
|
604
784
|
term: z.ZodString;
|
605
785
|
}, "strip", z.ZodTypeAny, {
|
@@ -609,27 +789,39 @@ declare const QueryExpression: z.ZodObject<{
|
|
609
789
|
type: "exact";
|
610
790
|
term: string;
|
611
791
|
}>>>;
|
612
|
-
|
613
|
-
type: z.ZodLiteral<"
|
614
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
615
|
-
}, "strip", z.ZodTypeAny, {
|
616
|
-
type: "anyOf";
|
617
|
-
terms: string[];
|
618
|
-
}, {
|
619
|
-
type: "anyOf";
|
620
|
-
terms: string[];
|
621
|
-
}>, z.ZodObject<{
|
622
|
-
type: z.ZodLiteral<"not">;
|
792
|
+
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
793
|
+
type: z.ZodLiteral<"exact">;
|
623
794
|
term: z.ZodString;
|
624
795
|
}, "strip", z.ZodTypeAny, {
|
625
|
-
type: "
|
796
|
+
type: "exact";
|
626
797
|
term: string;
|
627
798
|
}, {
|
628
|
-
type: "
|
799
|
+
type: "exact";
|
629
800
|
term: string;
|
630
|
-
}
|
801
|
+
}>>>;
|
802
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
803
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
804
|
+
readonly PRINTED: "printed";
|
805
|
+
readonly INCOMPLETE: "incomplete";
|
806
|
+
readonly REJECTED: "rejected";
|
807
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
808
|
+
}>]>, "many">>;
|
809
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
810
|
+
readonly PRINTED: "printed";
|
811
|
+
readonly INCOMPLETE: "incomplete";
|
812
|
+
readonly REJECTED: "rejected";
|
813
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
814
|
+
}>]>, "many">>;
|
815
|
+
}, "strip", z.ZodTypeAny, {
|
816
|
+
anyOf?: string[] | undefined;
|
817
|
+
noneOf?: string[] | undefined;
|
818
|
+
}, {
|
819
|
+
anyOf?: string[] | undefined;
|
820
|
+
noneOf?: string[] | undefined;
|
821
|
+
}>>>;
|
631
822
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
632
823
|
}, "strip", z.ZodTypeAny, {
|
824
|
+
id?: string | undefined;
|
633
825
|
status?: {
|
634
826
|
type: "exact";
|
635
827
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -638,45 +830,41 @@ declare const QueryExpression: z.ZodObject<{
|
|
638
830
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
639
831
|
} | undefined;
|
640
832
|
data?: any;
|
833
|
+
createdByUserType?: "system" | "user" | undefined;
|
641
834
|
createdAt?: {
|
642
|
-
type: "exact";
|
643
|
-
term: string;
|
644
|
-
} | {
|
645
835
|
type: "range";
|
646
836
|
gte: string;
|
647
837
|
lte: string;
|
838
|
+
} | {
|
839
|
+
type: "exact";
|
840
|
+
term: string;
|
648
841
|
} | undefined;
|
649
842
|
createdBy?: {
|
650
843
|
type: "exact";
|
651
844
|
term: string;
|
652
845
|
} | undefined;
|
653
|
-
|
846
|
+
createdAtLocation?: {
|
654
847
|
type: "exact";
|
655
848
|
term: string;
|
656
849
|
} | {
|
657
|
-
type: "
|
658
|
-
|
659
|
-
lte: string;
|
850
|
+
type: "within";
|
851
|
+
location: string;
|
660
852
|
} | undefined;
|
661
|
-
|
853
|
+
assignedTo?: {
|
662
854
|
type: "exact";
|
663
855
|
term: string;
|
664
856
|
} | undefined;
|
665
|
-
|
666
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
667
|
-
type: "exact";
|
668
|
-
term: string;
|
669
|
-
} | {
|
857
|
+
updatedAt?: {
|
670
858
|
type: "range";
|
671
859
|
gte: string;
|
672
860
|
lte: string;
|
861
|
+
} | {
|
862
|
+
type: "exact";
|
863
|
+
term: string;
|
673
864
|
} | undefined;
|
674
|
-
|
865
|
+
trackingId?: {
|
675
866
|
type: "exact";
|
676
867
|
term: string;
|
677
|
-
} | {
|
678
|
-
type: "within";
|
679
|
-
location: string;
|
680
868
|
} | undefined;
|
681
869
|
updatedAtLocation?: {
|
682
870
|
type: "exact";
|
@@ -689,21 +877,32 @@ declare const QueryExpression: z.ZodObject<{
|
|
689
877
|
type: "exact";
|
690
878
|
term: string;
|
691
879
|
} | undefined;
|
692
|
-
flags?:
|
693
|
-
|
694
|
-
|
880
|
+
flags?: {
|
881
|
+
anyOf?: string[] | undefined;
|
882
|
+
noneOf?: string[] | undefined;
|
883
|
+
} | undefined;
|
884
|
+
eventType?: string | undefined;
|
885
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
886
|
+
type: "range";
|
887
|
+
gte: string;
|
888
|
+
lte: string;
|
695
889
|
} | {
|
696
|
-
type: "
|
890
|
+
type: "exact";
|
697
891
|
term: string;
|
698
|
-
}
|
699
|
-
|
892
|
+
} | undefined;
|
893
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
700
894
|
type: "exact";
|
701
895
|
term: string;
|
702
896
|
} | {
|
703
897
|
type: "within";
|
704
898
|
location: string;
|
705
899
|
} | undefined;
|
900
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
901
|
+
type: "exact";
|
902
|
+
term: string;
|
903
|
+
} | undefined;
|
706
904
|
}, {
|
905
|
+
id?: string | undefined;
|
707
906
|
status?: {
|
708
907
|
type: "exact";
|
709
908
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -712,46 +911,123 @@ declare const QueryExpression: z.ZodObject<{
|
|
712
911
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
713
912
|
} | undefined;
|
714
913
|
data?: any;
|
914
|
+
createdByUserType?: "system" | "user" | undefined;
|
715
915
|
createdAt?: {
|
716
|
-
type: "exact";
|
717
|
-
term: string;
|
718
|
-
} | {
|
719
916
|
type: "range";
|
720
917
|
gte: string;
|
721
918
|
lte: string;
|
919
|
+
} | {
|
920
|
+
type: "exact";
|
921
|
+
term: string;
|
722
922
|
} | undefined;
|
723
923
|
createdBy?: {
|
724
924
|
type: "exact";
|
725
925
|
term: string;
|
726
926
|
} | undefined;
|
727
|
-
|
927
|
+
createdAtLocation?: {
|
728
928
|
type: "exact";
|
729
929
|
term: string;
|
730
930
|
} | {
|
931
|
+
type: "within";
|
932
|
+
location: string;
|
933
|
+
} | undefined;
|
934
|
+
assignedTo?: {
|
935
|
+
type: "exact";
|
936
|
+
term: string;
|
937
|
+
} | undefined;
|
938
|
+
updatedAt?: {
|
731
939
|
type: "range";
|
732
940
|
gte: string;
|
733
941
|
lte: string;
|
942
|
+
} | {
|
943
|
+
type: "exact";
|
944
|
+
term: string;
|
734
945
|
} | undefined;
|
735
946
|
trackingId?: {
|
736
947
|
type: "exact";
|
737
948
|
term: string;
|
738
949
|
} | undefined;
|
950
|
+
updatedAtLocation?: {
|
951
|
+
type: "exact";
|
952
|
+
term: string;
|
953
|
+
} | {
|
954
|
+
type: "within";
|
955
|
+
location: string;
|
956
|
+
} | undefined;
|
957
|
+
updatedBy?: {
|
958
|
+
type: "exact";
|
959
|
+
term: string;
|
960
|
+
} | undefined;
|
961
|
+
flags?: {
|
962
|
+
anyOf?: string[] | undefined;
|
963
|
+
noneOf?: string[] | undefined;
|
964
|
+
} | undefined;
|
739
965
|
eventType?: string | undefined;
|
740
966
|
'legalStatus.REGISTERED.createdAt'?: {
|
967
|
+
type: "range";
|
968
|
+
gte: string;
|
969
|
+
lte: string;
|
970
|
+
} | {
|
971
|
+
type: "exact";
|
972
|
+
term: string;
|
973
|
+
} | undefined;
|
974
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
975
|
+
type: "exact";
|
976
|
+
term: string;
|
977
|
+
} | {
|
978
|
+
type: "within";
|
979
|
+
location: string;
|
980
|
+
} | undefined;
|
981
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
741
982
|
type: "exact";
|
742
983
|
term: string;
|
984
|
+
} | undefined;
|
985
|
+
}>, {
|
986
|
+
id?: string | undefined;
|
987
|
+
status?: {
|
988
|
+
type: "exact";
|
989
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
743
990
|
} | {
|
991
|
+
type: "anyOf";
|
992
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
993
|
+
} | undefined;
|
994
|
+
data?: any;
|
995
|
+
createdByUserType?: "system" | "user" | undefined;
|
996
|
+
createdAt?: {
|
744
997
|
type: "range";
|
745
998
|
gte: string;
|
746
999
|
lte: string;
|
1000
|
+
} | {
|
1001
|
+
type: "exact";
|
1002
|
+
term: string;
|
747
1003
|
} | undefined;
|
748
|
-
|
1004
|
+
createdBy?: {
|
1005
|
+
type: "exact";
|
1006
|
+
term: string;
|
1007
|
+
} | undefined;
|
1008
|
+
createdAtLocation?: {
|
749
1009
|
type: "exact";
|
750
1010
|
term: string;
|
751
1011
|
} | {
|
752
1012
|
type: "within";
|
753
1013
|
location: string;
|
754
1014
|
} | undefined;
|
1015
|
+
assignedTo?: {
|
1016
|
+
type: "exact";
|
1017
|
+
term: string;
|
1018
|
+
} | undefined;
|
1019
|
+
updatedAt?: {
|
1020
|
+
type: "range";
|
1021
|
+
gte: string;
|
1022
|
+
lte: string;
|
1023
|
+
} | {
|
1024
|
+
type: "exact";
|
1025
|
+
term: string;
|
1026
|
+
} | undefined;
|
1027
|
+
trackingId?: {
|
1028
|
+
type: "exact";
|
1029
|
+
term: string;
|
1030
|
+
} | undefined;
|
755
1031
|
updatedAtLocation?: {
|
756
1032
|
type: "exact";
|
757
1033
|
term: string;
|
@@ -763,30 +1039,122 @@ declare const QueryExpression: z.ZodObject<{
|
|
763
1039
|
type: "exact";
|
764
1040
|
term: string;
|
765
1041
|
} | undefined;
|
766
|
-
flags?:
|
767
|
-
|
768
|
-
|
1042
|
+
flags?: {
|
1043
|
+
anyOf?: string[] | undefined;
|
1044
|
+
noneOf?: string[] | undefined;
|
1045
|
+
} | undefined;
|
1046
|
+
eventType?: string | undefined;
|
1047
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1048
|
+
type: "range";
|
1049
|
+
gte: string;
|
1050
|
+
lte: string;
|
769
1051
|
} | {
|
770
|
-
type: "
|
1052
|
+
type: "exact";
|
771
1053
|
term: string;
|
772
|
-
}
|
773
|
-
|
1054
|
+
} | undefined;
|
1055
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
774
1056
|
type: "exact";
|
775
1057
|
term: string;
|
776
1058
|
} | {
|
777
1059
|
type: "within";
|
778
1060
|
location: string;
|
779
1061
|
} | undefined;
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
1062
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1063
|
+
type: "exact";
|
1064
|
+
term: string;
|
1065
|
+
} | undefined;
|
1066
|
+
}, {
|
1067
|
+
id?: string | undefined;
|
1068
|
+
status?: {
|
1069
|
+
type: "exact";
|
1070
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1071
|
+
} | {
|
1072
|
+
type: "anyOf";
|
1073
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1074
|
+
} | undefined;
|
1075
|
+
data?: any;
|
1076
|
+
createdByUserType?: "system" | "user" | undefined;
|
1077
|
+
createdAt?: {
|
1078
|
+
type: "range";
|
1079
|
+
gte: string;
|
1080
|
+
lte: string;
|
1081
|
+
} | {
|
1082
|
+
type: "exact";
|
1083
|
+
term: string;
|
1084
|
+
} | undefined;
|
1085
|
+
createdBy?: {
|
1086
|
+
type: "exact";
|
1087
|
+
term: string;
|
1088
|
+
} | undefined;
|
1089
|
+
createdAtLocation?: {
|
1090
|
+
type: "exact";
|
1091
|
+
term: string;
|
1092
|
+
} | {
|
1093
|
+
type: "within";
|
1094
|
+
location: string;
|
1095
|
+
} | undefined;
|
1096
|
+
assignedTo?: {
|
1097
|
+
type: "exact";
|
1098
|
+
term: string;
|
1099
|
+
} | undefined;
|
1100
|
+
updatedAt?: {
|
1101
|
+
type: "range";
|
1102
|
+
gte: string;
|
1103
|
+
lte: string;
|
1104
|
+
} | {
|
1105
|
+
type: "exact";
|
1106
|
+
term: string;
|
1107
|
+
} | undefined;
|
1108
|
+
trackingId?: {
|
1109
|
+
type: "exact";
|
1110
|
+
term: string;
|
1111
|
+
} | undefined;
|
1112
|
+
updatedAtLocation?: {
|
1113
|
+
type: "exact";
|
1114
|
+
term: string;
|
1115
|
+
} | {
|
1116
|
+
type: "within";
|
1117
|
+
location: string;
|
1118
|
+
} | undefined;
|
1119
|
+
updatedBy?: {
|
1120
|
+
type: "exact";
|
1121
|
+
term: string;
|
1122
|
+
} | undefined;
|
1123
|
+
flags?: {
|
1124
|
+
anyOf?: string[] | undefined;
|
1125
|
+
noneOf?: string[] | undefined;
|
1126
|
+
} | undefined;
|
1127
|
+
eventType?: string | undefined;
|
1128
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1129
|
+
type: "range";
|
1130
|
+
gte: string;
|
1131
|
+
lte: string;
|
1132
|
+
} | {
|
1133
|
+
type: "exact";
|
1134
|
+
term: string;
|
1135
|
+
} | undefined;
|
1136
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1137
|
+
type: "exact";
|
1138
|
+
term: string;
|
1139
|
+
} | {
|
1140
|
+
type: "within";
|
1141
|
+
location: string;
|
1142
|
+
} | undefined;
|
1143
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1144
|
+
type: "exact";
|
1145
|
+
term: string;
|
1146
|
+
} | undefined;
|
1147
|
+
}>;
|
1148
|
+
export declare const QueryType: z.ZodObject<{
|
1149
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
1150
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
1151
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
1152
|
+
eventType: z.ZodOptional<z.ZodString>;
|
1153
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1154
|
+
type: z.ZodLiteral<"anyOf">;
|
1155
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1156
|
+
}, "strip", z.ZodTypeAny, {
|
1157
|
+
type: "anyOf";
|
790
1158
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
791
1159
|
}, {
|
792
1160
|
type: "anyOf";
|
@@ -801,20 +1169,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
801
1169
|
type: "exact";
|
802
1170
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
803
1171
|
}>]>>>;
|
804
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1172
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
805
1173
|
type: z.ZodLiteral<"exact">;
|
806
1174
|
term: z.ZodString;
|
807
|
-
},
|
1175
|
+
}, {
|
1176
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1177
|
+
}>, "strip", z.ZodTypeAny, {
|
808
1178
|
type: "exact";
|
809
1179
|
term: string;
|
810
1180
|
}, {
|
811
1181
|
type: "exact";
|
812
1182
|
term: string;
|
813
|
-
}>, z.ZodObject<{
|
1183
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
814
1184
|
type: z.ZodLiteral<"range">;
|
815
1185
|
gte: z.ZodString;
|
816
1186
|
lte: z.ZodString;
|
817
|
-
},
|
1187
|
+
}, {
|
1188
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1189
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1190
|
+
}>, "strip", z.ZodTypeAny, {
|
818
1191
|
type: "range";
|
819
1192
|
gte: string;
|
820
1193
|
lte: string;
|
@@ -823,20 +1196,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
823
1196
|
gte: string;
|
824
1197
|
lte: string;
|
825
1198
|
}>]>>>;
|
826
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1199
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
827
1200
|
type: z.ZodLiteral<"exact">;
|
828
1201
|
term: z.ZodString;
|
829
|
-
},
|
1202
|
+
}, {
|
1203
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1204
|
+
}>, "strip", z.ZodTypeAny, {
|
830
1205
|
type: "exact";
|
831
1206
|
term: string;
|
832
1207
|
}, {
|
833
1208
|
type: "exact";
|
834
1209
|
term: string;
|
835
|
-
}>, z.ZodObject<{
|
1210
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
836
1211
|
type: z.ZodLiteral<"range">;
|
837
1212
|
gte: z.ZodString;
|
838
1213
|
lte: z.ZodString;
|
839
|
-
},
|
1214
|
+
}, {
|
1215
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1216
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1217
|
+
}>, "strip", z.ZodTypeAny, {
|
840
1218
|
type: "range";
|
841
1219
|
gte: string;
|
842
1220
|
lte: string;
|
@@ -845,20 +1223,25 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
845
1223
|
gte: string;
|
846
1224
|
lte: string;
|
847
1225
|
}>]>>>;
|
848
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1226
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
849
1227
|
type: z.ZodLiteral<"exact">;
|
850
1228
|
term: z.ZodString;
|
851
|
-
},
|
1229
|
+
}, {
|
1230
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1231
|
+
}>, "strip", z.ZodTypeAny, {
|
852
1232
|
type: "exact";
|
853
1233
|
term: string;
|
854
1234
|
}, {
|
855
1235
|
type: "exact";
|
856
1236
|
term: string;
|
857
|
-
}>, z.ZodObject<{
|
1237
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
858
1238
|
type: z.ZodLiteral<"range">;
|
859
1239
|
gte: z.ZodString;
|
860
1240
|
lte: z.ZodString;
|
861
|
-
},
|
1241
|
+
}, {
|
1242
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1243
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1244
|
+
}>, "strip", z.ZodTypeAny, {
|
862
1245
|
type: "range";
|
863
1246
|
gte: string;
|
864
1247
|
lte: string;
|
@@ -886,7 +1269,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
886
1269
|
type: "exact";
|
887
1270
|
term: string;
|
888
1271
|
}>]>>>;
|
889
|
-
|
1272
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1273
|
+
type: z.ZodLiteral<"exact">;
|
1274
|
+
term: z.ZodString;
|
1275
|
+
}, "strip", z.ZodTypeAny, {
|
1276
|
+
type: "exact";
|
1277
|
+
term: string;
|
1278
|
+
}, {
|
1279
|
+
type: "exact";
|
1280
|
+
term: string;
|
1281
|
+
}>>>;
|
1282
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
890
1283
|
type: z.ZodLiteral<"within">;
|
891
1284
|
location: z.ZodString;
|
892
1285
|
}, "strip", z.ZodTypeAny, {
|
@@ -924,7 +1317,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
924
1317
|
type: "exact";
|
925
1318
|
term: string;
|
926
1319
|
}>]>>>;
|
927
|
-
|
1320
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
928
1321
|
type: z.ZodLiteral<"exact">;
|
929
1322
|
term: z.ZodString;
|
930
1323
|
}, "strip", z.ZodTypeAny, {
|
@@ -934,7 +1327,8 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
934
1327
|
type: "exact";
|
935
1328
|
term: string;
|
936
1329
|
}>>>;
|
937
|
-
|
1330
|
+
createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
|
1331
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
938
1332
|
type: z.ZodLiteral<"exact">;
|
939
1333
|
term: z.ZodString;
|
940
1334
|
}, "strip", z.ZodTypeAny, {
|
@@ -944,7 +1338,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
944
1338
|
type: "exact";
|
945
1339
|
term: string;
|
946
1340
|
}>>>;
|
947
|
-
|
1341
|
+
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
948
1342
|
type: z.ZodLiteral<"exact">;
|
949
1343
|
term: z.ZodString;
|
950
1344
|
}, "strip", z.ZodTypeAny, {
|
@@ -954,27 +1348,39 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
954
1348
|
type: "exact";
|
955
1349
|
term: string;
|
956
1350
|
}>>>;
|
957
|
-
|
958
|
-
type: z.ZodLiteral<"
|
959
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
960
|
-
}, "strip", z.ZodTypeAny, {
|
961
|
-
type: "anyOf";
|
962
|
-
terms: string[];
|
963
|
-
}, {
|
964
|
-
type: "anyOf";
|
965
|
-
terms: string[];
|
966
|
-
}>, z.ZodObject<{
|
967
|
-
type: z.ZodLiteral<"not">;
|
1351
|
+
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1352
|
+
type: z.ZodLiteral<"exact">;
|
968
1353
|
term: z.ZodString;
|
969
1354
|
}, "strip", z.ZodTypeAny, {
|
970
|
-
type: "
|
1355
|
+
type: "exact";
|
971
1356
|
term: string;
|
972
1357
|
}, {
|
973
|
-
type: "
|
1358
|
+
type: "exact";
|
974
1359
|
term: string;
|
975
|
-
}
|
1360
|
+
}>>>;
|
1361
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1362
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1363
|
+
readonly PRINTED: "printed";
|
1364
|
+
readonly INCOMPLETE: "incomplete";
|
1365
|
+
readonly REJECTED: "rejected";
|
1366
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1367
|
+
}>]>, "many">>;
|
1368
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1369
|
+
readonly PRINTED: "printed";
|
1370
|
+
readonly INCOMPLETE: "incomplete";
|
1371
|
+
readonly REJECTED: "rejected";
|
1372
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1373
|
+
}>]>, "many">>;
|
1374
|
+
}, "strip", z.ZodTypeAny, {
|
1375
|
+
anyOf?: string[] | undefined;
|
1376
|
+
noneOf?: string[] | undefined;
|
1377
|
+
}, {
|
1378
|
+
anyOf?: string[] | undefined;
|
1379
|
+
noneOf?: string[] | undefined;
|
1380
|
+
}>>>;
|
976
1381
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
977
1382
|
}, "strip", z.ZodTypeAny, {
|
1383
|
+
id?: string | undefined;
|
978
1384
|
status?: {
|
979
1385
|
type: "exact";
|
980
1386
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -983,45 +1389,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
983
1389
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
984
1390
|
} | undefined;
|
985
1391
|
data?: any;
|
1392
|
+
createdByUserType?: "system" | "user" | undefined;
|
986
1393
|
createdAt?: {
|
987
|
-
type: "exact";
|
988
|
-
term: string;
|
989
|
-
} | {
|
990
1394
|
type: "range";
|
991
1395
|
gte: string;
|
992
1396
|
lte: string;
|
1397
|
+
} | {
|
1398
|
+
type: "exact";
|
1399
|
+
term: string;
|
993
1400
|
} | undefined;
|
994
1401
|
createdBy?: {
|
995
1402
|
type: "exact";
|
996
1403
|
term: string;
|
997
1404
|
} | undefined;
|
998
|
-
|
1405
|
+
createdAtLocation?: {
|
999
1406
|
type: "exact";
|
1000
1407
|
term: string;
|
1001
1408
|
} | {
|
1002
|
-
type: "
|
1003
|
-
|
1004
|
-
lte: string;
|
1409
|
+
type: "within";
|
1410
|
+
location: string;
|
1005
1411
|
} | undefined;
|
1006
|
-
|
1412
|
+
assignedTo?: {
|
1007
1413
|
type: "exact";
|
1008
1414
|
term: string;
|
1009
1415
|
} | undefined;
|
1010
|
-
|
1011
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1012
|
-
type: "exact";
|
1013
|
-
term: string;
|
1014
|
-
} | {
|
1416
|
+
updatedAt?: {
|
1015
1417
|
type: "range";
|
1016
1418
|
gte: string;
|
1017
1419
|
lte: string;
|
1420
|
+
} | {
|
1421
|
+
type: "exact";
|
1422
|
+
term: string;
|
1018
1423
|
} | undefined;
|
1019
|
-
|
1424
|
+
trackingId?: {
|
1020
1425
|
type: "exact";
|
1021
1426
|
term: string;
|
1022
|
-
} | {
|
1023
|
-
type: "within";
|
1024
|
-
location: string;
|
1025
1427
|
} | undefined;
|
1026
1428
|
updatedAtLocation?: {
|
1027
1429
|
type: "exact";
|
@@ -1034,21 +1436,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1034
1436
|
type: "exact";
|
1035
1437
|
term: string;
|
1036
1438
|
} | undefined;
|
1037
|
-
flags?:
|
1038
|
-
|
1039
|
-
|
1439
|
+
flags?: {
|
1440
|
+
anyOf?: string[] | undefined;
|
1441
|
+
noneOf?: string[] | undefined;
|
1442
|
+
} | undefined;
|
1443
|
+
eventType?: string | undefined;
|
1444
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1445
|
+
type: "range";
|
1446
|
+
gte: string;
|
1447
|
+
lte: string;
|
1040
1448
|
} | {
|
1041
|
-
type: "
|
1449
|
+
type: "exact";
|
1042
1450
|
term: string;
|
1043
|
-
}
|
1044
|
-
|
1451
|
+
} | undefined;
|
1452
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1045
1453
|
type: "exact";
|
1046
1454
|
term: string;
|
1047
1455
|
} | {
|
1048
1456
|
type: "within";
|
1049
1457
|
location: string;
|
1050
1458
|
} | undefined;
|
1459
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1460
|
+
type: "exact";
|
1461
|
+
term: string;
|
1462
|
+
} | undefined;
|
1051
1463
|
}, {
|
1464
|
+
id?: string | undefined;
|
1052
1465
|
status?: {
|
1053
1466
|
type: "exact";
|
1054
1467
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1057,45 +1470,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1057
1470
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1058
1471
|
} | undefined;
|
1059
1472
|
data?: any;
|
1473
|
+
createdByUserType?: "system" | "user" | undefined;
|
1060
1474
|
createdAt?: {
|
1061
|
-
type: "exact";
|
1062
|
-
term: string;
|
1063
|
-
} | {
|
1064
1475
|
type: "range";
|
1065
1476
|
gte: string;
|
1066
1477
|
lte: string;
|
1478
|
+
} | {
|
1479
|
+
type: "exact";
|
1480
|
+
term: string;
|
1067
1481
|
} | undefined;
|
1068
1482
|
createdBy?: {
|
1069
1483
|
type: "exact";
|
1070
1484
|
term: string;
|
1071
1485
|
} | undefined;
|
1072
|
-
|
1486
|
+
createdAtLocation?: {
|
1073
1487
|
type: "exact";
|
1074
1488
|
term: string;
|
1075
1489
|
} | {
|
1076
|
-
type: "
|
1077
|
-
|
1078
|
-
lte: string;
|
1490
|
+
type: "within";
|
1491
|
+
location: string;
|
1079
1492
|
} | undefined;
|
1080
|
-
|
1493
|
+
assignedTo?: {
|
1081
1494
|
type: "exact";
|
1082
1495
|
term: string;
|
1083
1496
|
} | undefined;
|
1084
|
-
|
1085
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1086
|
-
type: "exact";
|
1087
|
-
term: string;
|
1088
|
-
} | {
|
1497
|
+
updatedAt?: {
|
1089
1498
|
type: "range";
|
1090
1499
|
gte: string;
|
1091
1500
|
lte: string;
|
1501
|
+
} | {
|
1502
|
+
type: "exact";
|
1503
|
+
term: string;
|
1092
1504
|
} | undefined;
|
1093
|
-
|
1505
|
+
trackingId?: {
|
1094
1506
|
type: "exact";
|
1095
1507
|
term: string;
|
1096
|
-
} | {
|
1097
|
-
type: "within";
|
1098
|
-
location: string;
|
1099
1508
|
} | undefined;
|
1100
1509
|
updatedAtLocation?: {
|
1101
1510
|
type: "exact";
|
@@ -1108,24 +1517,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1108
1517
|
type: "exact";
|
1109
1518
|
term: string;
|
1110
1519
|
} | undefined;
|
1111
|
-
flags?:
|
1112
|
-
|
1113
|
-
|
1520
|
+
flags?: {
|
1521
|
+
anyOf?: string[] | undefined;
|
1522
|
+
noneOf?: string[] | undefined;
|
1523
|
+
} | undefined;
|
1524
|
+
eventType?: string | undefined;
|
1525
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1526
|
+
type: "range";
|
1527
|
+
gte: string;
|
1528
|
+
lte: string;
|
1114
1529
|
} | {
|
1115
|
-
type: "
|
1530
|
+
type: "exact";
|
1116
1531
|
term: string;
|
1117
|
-
}
|
1118
|
-
|
1532
|
+
} | undefined;
|
1533
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1119
1534
|
type: "exact";
|
1120
1535
|
term: string;
|
1121
1536
|
} | {
|
1122
1537
|
type: "within";
|
1123
1538
|
location: string;
|
1124
1539
|
} | undefined;
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1540
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1541
|
+
type: "exact";
|
1542
|
+
term: string;
|
1543
|
+
} | undefined;
|
1544
|
+
}>, {
|
1545
|
+
id?: string | undefined;
|
1129
1546
|
status?: {
|
1130
1547
|
type: "exact";
|
1131
1548
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1134,45 +1551,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1134
1551
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1135
1552
|
} | undefined;
|
1136
1553
|
data?: any;
|
1554
|
+
createdByUserType?: "system" | "user" | undefined;
|
1137
1555
|
createdAt?: {
|
1138
|
-
type: "exact";
|
1139
|
-
term: string;
|
1140
|
-
} | {
|
1141
1556
|
type: "range";
|
1142
1557
|
gte: string;
|
1143
1558
|
lte: string;
|
1559
|
+
} | {
|
1560
|
+
type: "exact";
|
1561
|
+
term: string;
|
1144
1562
|
} | undefined;
|
1145
1563
|
createdBy?: {
|
1146
1564
|
type: "exact";
|
1147
1565
|
term: string;
|
1148
1566
|
} | undefined;
|
1149
|
-
|
1567
|
+
createdAtLocation?: {
|
1150
1568
|
type: "exact";
|
1151
1569
|
term: string;
|
1152
1570
|
} | {
|
1153
|
-
type: "
|
1154
|
-
|
1155
|
-
lte: string;
|
1571
|
+
type: "within";
|
1572
|
+
location: string;
|
1156
1573
|
} | undefined;
|
1157
|
-
|
1574
|
+
assignedTo?: {
|
1158
1575
|
type: "exact";
|
1159
1576
|
term: string;
|
1160
1577
|
} | undefined;
|
1161
|
-
|
1162
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1163
|
-
type: "exact";
|
1164
|
-
term: string;
|
1165
|
-
} | {
|
1578
|
+
updatedAt?: {
|
1166
1579
|
type: "range";
|
1167
1580
|
gte: string;
|
1168
1581
|
lte: string;
|
1582
|
+
} | {
|
1583
|
+
type: "exact";
|
1584
|
+
term: string;
|
1169
1585
|
} | undefined;
|
1170
|
-
|
1586
|
+
trackingId?: {
|
1171
1587
|
type: "exact";
|
1172
1588
|
term: string;
|
1173
|
-
} | {
|
1174
|
-
type: "within";
|
1175
|
-
location: string;
|
1176
1589
|
} | undefined;
|
1177
1590
|
updatedAtLocation?: {
|
1178
1591
|
type: "exact";
|
@@ -1185,24 +1598,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1185
1598
|
type: "exact";
|
1186
1599
|
term: string;
|
1187
1600
|
} | undefined;
|
1188
|
-
flags?:
|
1189
|
-
|
1190
|
-
|
1601
|
+
flags?: {
|
1602
|
+
anyOf?: string[] | undefined;
|
1603
|
+
noneOf?: string[] | undefined;
|
1604
|
+
} | undefined;
|
1605
|
+
eventType?: string | undefined;
|
1606
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1607
|
+
type: "range";
|
1608
|
+
gte: string;
|
1609
|
+
lte: string;
|
1191
1610
|
} | {
|
1192
|
-
type: "
|
1611
|
+
type: "exact";
|
1193
1612
|
term: string;
|
1194
|
-
}
|
1195
|
-
|
1613
|
+
} | undefined;
|
1614
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1196
1615
|
type: "exact";
|
1197
1616
|
term: string;
|
1198
1617
|
} | {
|
1199
1618
|
type: "within";
|
1200
1619
|
location: string;
|
1201
1620
|
} | undefined;
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1621
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1622
|
+
type: "exact";
|
1623
|
+
term: string;
|
1624
|
+
} | undefined;
|
1625
|
+
}, {
|
1626
|
+
id?: string | undefined;
|
1206
1627
|
status?: {
|
1207
1628
|
type: "exact";
|
1208
1629
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1211,45 +1632,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1211
1632
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1212
1633
|
} | undefined;
|
1213
1634
|
data?: any;
|
1635
|
+
createdByUserType?: "system" | "user" | undefined;
|
1214
1636
|
createdAt?: {
|
1215
|
-
type: "exact";
|
1216
|
-
term: string;
|
1217
|
-
} | {
|
1218
1637
|
type: "range";
|
1219
1638
|
gte: string;
|
1220
1639
|
lte: string;
|
1640
|
+
} | {
|
1641
|
+
type: "exact";
|
1642
|
+
term: string;
|
1221
1643
|
} | undefined;
|
1222
1644
|
createdBy?: {
|
1223
1645
|
type: "exact";
|
1224
1646
|
term: string;
|
1225
1647
|
} | undefined;
|
1226
|
-
|
1648
|
+
createdAtLocation?: {
|
1227
1649
|
type: "exact";
|
1228
1650
|
term: string;
|
1229
1651
|
} | {
|
1230
|
-
type: "
|
1231
|
-
|
1232
|
-
lte: string;
|
1652
|
+
type: "within";
|
1653
|
+
location: string;
|
1233
1654
|
} | undefined;
|
1234
|
-
|
1655
|
+
assignedTo?: {
|
1235
1656
|
type: "exact";
|
1236
1657
|
term: string;
|
1237
1658
|
} | undefined;
|
1238
|
-
|
1239
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1240
|
-
type: "exact";
|
1241
|
-
term: string;
|
1242
|
-
} | {
|
1659
|
+
updatedAt?: {
|
1243
1660
|
type: "range";
|
1244
1661
|
gte: string;
|
1245
1662
|
lte: string;
|
1663
|
+
} | {
|
1664
|
+
type: "exact";
|
1665
|
+
term: string;
|
1246
1666
|
} | undefined;
|
1247
|
-
|
1667
|
+
trackingId?: {
|
1248
1668
|
type: "exact";
|
1249
1669
|
term: string;
|
1250
|
-
} | {
|
1251
|
-
type: "within";
|
1252
|
-
location: string;
|
1253
1670
|
} | undefined;
|
1254
1671
|
updatedAtLocation?: {
|
1255
1672
|
type: "exact";
|
@@ -1262,218 +1679,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1262
1679
|
type: "exact";
|
1263
1680
|
term: string;
|
1264
1681
|
} | undefined;
|
1265
|
-
flags?:
|
1266
|
-
|
1267
|
-
|
1268
|
-
} | {
|
1269
|
-
type: "not";
|
1270
|
-
term: string;
|
1271
|
-
})[] | undefined;
|
1272
|
-
createAtLocation?: {
|
1273
|
-
type: "exact";
|
1274
|
-
term: string;
|
1275
|
-
} | {
|
1276
|
-
type: "within";
|
1277
|
-
location: string;
|
1682
|
+
flags?: {
|
1683
|
+
anyOf?: string[] | undefined;
|
1684
|
+
noneOf?: string[] | undefined;
|
1278
1685
|
} | undefined;
|
1279
|
-
|
1280
|
-
|
1281
|
-
type: z.ZodLiteral<"and">;
|
1282
|
-
clauses: z.ZodArray<z.ZodObject<{
|
1283
|
-
eventType: z.ZodOptional<z.ZodString>;
|
1284
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1285
|
-
type: z.ZodLiteral<"anyOf">;
|
1286
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
1287
|
-
}, "strip", z.ZodTypeAny, {
|
1288
|
-
type: "anyOf";
|
1289
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1290
|
-
}, {
|
1291
|
-
type: "anyOf";
|
1292
|
-
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1293
|
-
}>, z.ZodObject<{
|
1294
|
-
type: z.ZodLiteral<"exact">;
|
1295
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
1296
|
-
}, "strip", z.ZodTypeAny, {
|
1297
|
-
type: "exact";
|
1298
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1299
|
-
}, {
|
1300
|
-
type: "exact";
|
1301
|
-
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1302
|
-
}>]>>>;
|
1303
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1304
|
-
type: z.ZodLiteral<"exact">;
|
1305
|
-
term: z.ZodString;
|
1306
|
-
}, "strip", z.ZodTypeAny, {
|
1307
|
-
type: "exact";
|
1308
|
-
term: string;
|
1309
|
-
}, {
|
1310
|
-
type: "exact";
|
1311
|
-
term: string;
|
1312
|
-
}>, z.ZodObject<{
|
1313
|
-
type: z.ZodLiteral<"range">;
|
1314
|
-
gte: z.ZodString;
|
1315
|
-
lte: z.ZodString;
|
1316
|
-
}, "strip", z.ZodTypeAny, {
|
1317
|
-
type: "range";
|
1318
|
-
gte: string;
|
1319
|
-
lte: string;
|
1320
|
-
}, {
|
1321
|
-
type: "range";
|
1322
|
-
gte: string;
|
1323
|
-
lte: string;
|
1324
|
-
}>]>>>;
|
1325
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1326
|
-
type: z.ZodLiteral<"exact">;
|
1327
|
-
term: z.ZodString;
|
1328
|
-
}, "strip", z.ZodTypeAny, {
|
1329
|
-
type: "exact";
|
1330
|
-
term: string;
|
1331
|
-
}, {
|
1332
|
-
type: "exact";
|
1333
|
-
term: string;
|
1334
|
-
}>, z.ZodObject<{
|
1335
|
-
type: z.ZodLiteral<"range">;
|
1336
|
-
gte: z.ZodString;
|
1337
|
-
lte: z.ZodString;
|
1338
|
-
}, "strip", z.ZodTypeAny, {
|
1339
|
-
type: "range";
|
1340
|
-
gte: string;
|
1341
|
-
lte: string;
|
1342
|
-
}, {
|
1343
|
-
type: "range";
|
1344
|
-
gte: string;
|
1345
|
-
lte: string;
|
1346
|
-
}>]>>>;
|
1347
|
-
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1348
|
-
type: z.ZodLiteral<"exact">;
|
1349
|
-
term: z.ZodString;
|
1350
|
-
}, "strip", z.ZodTypeAny, {
|
1351
|
-
type: "exact";
|
1352
|
-
term: string;
|
1353
|
-
}, {
|
1354
|
-
type: "exact";
|
1355
|
-
term: string;
|
1356
|
-
}>, z.ZodObject<{
|
1357
|
-
type: z.ZodLiteral<"range">;
|
1358
|
-
gte: z.ZodString;
|
1359
|
-
lte: z.ZodString;
|
1360
|
-
}, "strip", z.ZodTypeAny, {
|
1361
|
-
type: "range";
|
1362
|
-
gte: string;
|
1363
|
-
lte: string;
|
1364
|
-
}, {
|
1686
|
+
eventType?: string | undefined;
|
1687
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1365
1688
|
type: "range";
|
1366
1689
|
gte: string;
|
1367
1690
|
lte: string;
|
1368
|
-
}
|
1369
|
-
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1370
|
-
type: z.ZodLiteral<"within">;
|
1371
|
-
location: z.ZodString;
|
1372
|
-
}, "strip", z.ZodTypeAny, {
|
1373
|
-
type: "within";
|
1374
|
-
location: string;
|
1375
|
-
}, {
|
1376
|
-
type: "within";
|
1377
|
-
location: string;
|
1378
|
-
}>, z.ZodObject<{
|
1379
|
-
type: z.ZodLiteral<"exact">;
|
1380
|
-
term: z.ZodString;
|
1381
|
-
}, "strip", z.ZodTypeAny, {
|
1382
|
-
type: "exact";
|
1383
|
-
term: string;
|
1384
|
-
}, {
|
1385
|
-
type: "exact";
|
1386
|
-
term: string;
|
1387
|
-
}>]>>>;
|
1388
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1389
|
-
type: z.ZodLiteral<"within">;
|
1390
|
-
location: z.ZodString;
|
1391
|
-
}, "strip", z.ZodTypeAny, {
|
1392
|
-
type: "within";
|
1393
|
-
location: string;
|
1394
|
-
}, {
|
1395
|
-
type: "within";
|
1396
|
-
location: string;
|
1397
|
-
}>, z.ZodObject<{
|
1398
|
-
type: z.ZodLiteral<"exact">;
|
1399
|
-
term: z.ZodString;
|
1400
|
-
}, "strip", z.ZodTypeAny, {
|
1691
|
+
} | {
|
1401
1692
|
type: "exact";
|
1402
1693
|
term: string;
|
1403
|
-
}
|
1694
|
+
} | undefined;
|
1695
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1404
1696
|
type: "exact";
|
1405
1697
|
term: string;
|
1406
|
-
}
|
1407
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1408
|
-
type: z.ZodLiteral<"within">;
|
1409
|
-
location: z.ZodString;
|
1410
|
-
}, "strip", z.ZodTypeAny, {
|
1411
|
-
type: "within";
|
1412
|
-
location: string;
|
1413
|
-
}, {
|
1698
|
+
} | {
|
1414
1699
|
type: "within";
|
1415
1700
|
location: string;
|
1416
|
-
}
|
1417
|
-
|
1418
|
-
term: z.ZodString;
|
1419
|
-
}, "strip", z.ZodTypeAny, {
|
1420
|
-
type: "exact";
|
1421
|
-
term: string;
|
1422
|
-
}, {
|
1423
|
-
type: "exact";
|
1424
|
-
term: string;
|
1425
|
-
}>]>>>;
|
1426
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1427
|
-
type: z.ZodLiteral<"exact">;
|
1428
|
-
term: z.ZodString;
|
1429
|
-
}, "strip", z.ZodTypeAny, {
|
1430
|
-
type: "exact";
|
1431
|
-
term: string;
|
1432
|
-
}, {
|
1433
|
-
type: "exact";
|
1434
|
-
term: string;
|
1435
|
-
}>>>;
|
1436
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1437
|
-
type: z.ZodLiteral<"exact">;
|
1438
|
-
term: z.ZodString;
|
1439
|
-
}, "strip", z.ZodTypeAny, {
|
1440
|
-
type: "exact";
|
1441
|
-
term: string;
|
1442
|
-
}, {
|
1443
|
-
type: "exact";
|
1444
|
-
term: string;
|
1445
|
-
}>>>;
|
1446
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1447
|
-
type: z.ZodLiteral<"exact">;
|
1448
|
-
term: z.ZodString;
|
1449
|
-
}, "strip", z.ZodTypeAny, {
|
1450
|
-
type: "exact";
|
1451
|
-
term: string;
|
1452
|
-
}, {
|
1701
|
+
} | undefined;
|
1702
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1453
1703
|
type: "exact";
|
1454
1704
|
term: string;
|
1455
|
-
}
|
1456
|
-
|
1457
|
-
|
1458
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
1459
|
-
}, "strip", z.ZodTypeAny, {
|
1460
|
-
type: "anyOf";
|
1461
|
-
terms: string[];
|
1462
|
-
}, {
|
1463
|
-
type: "anyOf";
|
1464
|
-
terms: string[];
|
1465
|
-
}>, z.ZodObject<{
|
1466
|
-
type: z.ZodLiteral<"not">;
|
1467
|
-
term: z.ZodString;
|
1468
|
-
}, "strip", z.ZodTypeAny, {
|
1469
|
-
type: "not";
|
1470
|
-
term: string;
|
1471
|
-
}, {
|
1472
|
-
type: "not";
|
1473
|
-
term: string;
|
1474
|
-
}>]>, "many">>>;
|
1475
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1476
|
-
}, "strip", z.ZodTypeAny, {
|
1705
|
+
} | undefined;
|
1706
|
+
}>, "atleastone">, [{
|
1707
|
+
id?: string | undefined;
|
1477
1708
|
status?: {
|
1478
1709
|
type: "exact";
|
1479
1710
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1482,45 +1713,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1482
1713
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1483
1714
|
} | undefined;
|
1484
1715
|
data?: any;
|
1716
|
+
createdByUserType?: "system" | "user" | undefined;
|
1485
1717
|
createdAt?: {
|
1486
|
-
type: "exact";
|
1487
|
-
term: string;
|
1488
|
-
} | {
|
1489
1718
|
type: "range";
|
1490
1719
|
gte: string;
|
1491
1720
|
lte: string;
|
1721
|
+
} | {
|
1722
|
+
type: "exact";
|
1723
|
+
term: string;
|
1492
1724
|
} | undefined;
|
1493
1725
|
createdBy?: {
|
1494
1726
|
type: "exact";
|
1495
1727
|
term: string;
|
1496
1728
|
} | undefined;
|
1497
|
-
|
1729
|
+
createdAtLocation?: {
|
1498
1730
|
type: "exact";
|
1499
1731
|
term: string;
|
1500
1732
|
} | {
|
1501
|
-
type: "
|
1502
|
-
|
1503
|
-
lte: string;
|
1733
|
+
type: "within";
|
1734
|
+
location: string;
|
1504
1735
|
} | undefined;
|
1505
|
-
|
1736
|
+
assignedTo?: {
|
1506
1737
|
type: "exact";
|
1507
1738
|
term: string;
|
1508
1739
|
} | undefined;
|
1509
|
-
|
1510
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1511
|
-
type: "exact";
|
1512
|
-
term: string;
|
1513
|
-
} | {
|
1740
|
+
updatedAt?: {
|
1514
1741
|
type: "range";
|
1515
1742
|
gte: string;
|
1516
1743
|
lte: string;
|
1744
|
+
} | {
|
1745
|
+
type: "exact";
|
1746
|
+
term: string;
|
1517
1747
|
} | undefined;
|
1518
|
-
|
1748
|
+
trackingId?: {
|
1519
1749
|
type: "exact";
|
1520
1750
|
term: string;
|
1521
|
-
} | {
|
1522
|
-
type: "within";
|
1523
|
-
location: string;
|
1524
1751
|
} | undefined;
|
1525
1752
|
updatedAtLocation?: {
|
1526
1753
|
type: "exact";
|
@@ -1533,21 +1760,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1533
1760
|
type: "exact";
|
1534
1761
|
term: string;
|
1535
1762
|
} | undefined;
|
1536
|
-
flags?:
|
1537
|
-
|
1538
|
-
|
1763
|
+
flags?: {
|
1764
|
+
anyOf?: string[] | undefined;
|
1765
|
+
noneOf?: string[] | undefined;
|
1766
|
+
} | undefined;
|
1767
|
+
eventType?: string | undefined;
|
1768
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1769
|
+
type: "range";
|
1770
|
+
gte: string;
|
1771
|
+
lte: string;
|
1539
1772
|
} | {
|
1540
|
-
type: "
|
1773
|
+
type: "exact";
|
1541
1774
|
term: string;
|
1542
|
-
}
|
1543
|
-
|
1775
|
+
} | undefined;
|
1776
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1544
1777
|
type: "exact";
|
1545
1778
|
term: string;
|
1546
1779
|
} | {
|
1547
1780
|
type: "within";
|
1548
1781
|
location: string;
|
1549
1782
|
} | undefined;
|
1550
|
-
|
1783
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1784
|
+
type: "exact";
|
1785
|
+
term: string;
|
1786
|
+
} | undefined;
|
1787
|
+
}, ...{
|
1788
|
+
id?: string | undefined;
|
1551
1789
|
status?: {
|
1552
1790
|
type: "exact";
|
1553
1791
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1556,45 +1794,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1556
1794
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1557
1795
|
} | undefined;
|
1558
1796
|
data?: any;
|
1797
|
+
createdByUserType?: "system" | "user" | undefined;
|
1559
1798
|
createdAt?: {
|
1560
|
-
type: "exact";
|
1561
|
-
term: string;
|
1562
|
-
} | {
|
1563
1799
|
type: "range";
|
1564
1800
|
gte: string;
|
1565
1801
|
lte: string;
|
1802
|
+
} | {
|
1803
|
+
type: "exact";
|
1804
|
+
term: string;
|
1566
1805
|
} | undefined;
|
1567
1806
|
createdBy?: {
|
1568
1807
|
type: "exact";
|
1569
1808
|
term: string;
|
1570
1809
|
} | undefined;
|
1571
|
-
|
1810
|
+
createdAtLocation?: {
|
1572
1811
|
type: "exact";
|
1573
1812
|
term: string;
|
1574
1813
|
} | {
|
1575
|
-
type: "
|
1576
|
-
|
1577
|
-
lte: string;
|
1814
|
+
type: "within";
|
1815
|
+
location: string;
|
1578
1816
|
} | undefined;
|
1579
|
-
|
1817
|
+
assignedTo?: {
|
1580
1818
|
type: "exact";
|
1581
1819
|
term: string;
|
1582
1820
|
} | undefined;
|
1583
|
-
|
1584
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1585
|
-
type: "exact";
|
1586
|
-
term: string;
|
1587
|
-
} | {
|
1821
|
+
updatedAt?: {
|
1588
1822
|
type: "range";
|
1589
1823
|
gte: string;
|
1590
1824
|
lte: string;
|
1825
|
+
} | {
|
1826
|
+
type: "exact";
|
1827
|
+
term: string;
|
1591
1828
|
} | undefined;
|
1592
|
-
|
1829
|
+
trackingId?: {
|
1593
1830
|
type: "exact";
|
1594
1831
|
term: string;
|
1595
|
-
} | {
|
1596
|
-
type: "within";
|
1597
|
-
location: string;
|
1598
1832
|
} | undefined;
|
1599
1833
|
updatedAtLocation?: {
|
1600
1834
|
type: "exact";
|
@@ -1607,24 +1841,35 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1607
1841
|
type: "exact";
|
1608
1842
|
term: string;
|
1609
1843
|
} | undefined;
|
1610
|
-
flags?:
|
1611
|
-
|
1612
|
-
|
1844
|
+
flags?: {
|
1845
|
+
anyOf?: string[] | undefined;
|
1846
|
+
noneOf?: string[] | undefined;
|
1847
|
+
} | undefined;
|
1848
|
+
eventType?: string | undefined;
|
1849
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1850
|
+
type: "range";
|
1851
|
+
gte: string;
|
1852
|
+
lte: string;
|
1613
1853
|
} | {
|
1614
|
-
type: "
|
1854
|
+
type: "exact";
|
1615
1855
|
term: string;
|
1616
|
-
}
|
1617
|
-
|
1856
|
+
} | undefined;
|
1857
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1618
1858
|
type: "exact";
|
1619
1859
|
term: string;
|
1620
1860
|
} | {
|
1621
1861
|
type: "within";
|
1622
1862
|
location: string;
|
1623
1863
|
} | undefined;
|
1624
|
-
|
1864
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1865
|
+
type: "exact";
|
1866
|
+
term: string;
|
1867
|
+
} | undefined;
|
1868
|
+
}[]], unknown>;
|
1625
1869
|
}, "strip", z.ZodTypeAny, {
|
1626
|
-
type: "and";
|
1627
|
-
clauses: {
|
1870
|
+
type: "and" | "or";
|
1871
|
+
clauses: [{
|
1872
|
+
id?: string | undefined;
|
1628
1873
|
status?: {
|
1629
1874
|
type: "exact";
|
1630
1875
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1633,45 +1878,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1633
1878
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1634
1879
|
} | undefined;
|
1635
1880
|
data?: any;
|
1881
|
+
createdByUserType?: "system" | "user" | undefined;
|
1636
1882
|
createdAt?: {
|
1637
|
-
type: "exact";
|
1638
|
-
term: string;
|
1639
|
-
} | {
|
1640
1883
|
type: "range";
|
1641
1884
|
gte: string;
|
1642
1885
|
lte: string;
|
1886
|
+
} | {
|
1887
|
+
type: "exact";
|
1888
|
+
term: string;
|
1643
1889
|
} | undefined;
|
1644
1890
|
createdBy?: {
|
1645
1891
|
type: "exact";
|
1646
1892
|
term: string;
|
1647
1893
|
} | undefined;
|
1648
|
-
|
1894
|
+
createdAtLocation?: {
|
1649
1895
|
type: "exact";
|
1650
1896
|
term: string;
|
1651
1897
|
} | {
|
1652
|
-
type: "
|
1653
|
-
|
1654
|
-
lte: string;
|
1898
|
+
type: "within";
|
1899
|
+
location: string;
|
1655
1900
|
} | undefined;
|
1656
|
-
|
1901
|
+
assignedTo?: {
|
1657
1902
|
type: "exact";
|
1658
1903
|
term: string;
|
1659
1904
|
} | undefined;
|
1660
|
-
|
1661
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1662
|
-
type: "exact";
|
1663
|
-
term: string;
|
1664
|
-
} | {
|
1905
|
+
updatedAt?: {
|
1665
1906
|
type: "range";
|
1666
1907
|
gte: string;
|
1667
1908
|
lte: string;
|
1909
|
+
} | {
|
1910
|
+
type: "exact";
|
1911
|
+
term: string;
|
1668
1912
|
} | undefined;
|
1669
|
-
|
1913
|
+
trackingId?: {
|
1670
1914
|
type: "exact";
|
1671
1915
|
term: string;
|
1672
|
-
} | {
|
1673
|
-
type: "within";
|
1674
|
-
location: string;
|
1675
1916
|
} | undefined;
|
1676
1917
|
updatedAtLocation?: {
|
1677
1918
|
type: "exact";
|
@@ -1684,24 +1925,32 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1684
1925
|
type: "exact";
|
1685
1926
|
term: string;
|
1686
1927
|
} | undefined;
|
1687
|
-
flags?:
|
1688
|
-
|
1689
|
-
|
1928
|
+
flags?: {
|
1929
|
+
anyOf?: string[] | undefined;
|
1930
|
+
noneOf?: string[] | undefined;
|
1931
|
+
} | undefined;
|
1932
|
+
eventType?: string | undefined;
|
1933
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1934
|
+
type: "range";
|
1935
|
+
gte: string;
|
1936
|
+
lte: string;
|
1690
1937
|
} | {
|
1691
|
-
type: "
|
1938
|
+
type: "exact";
|
1692
1939
|
term: string;
|
1693
|
-
}
|
1694
|
-
|
1940
|
+
} | undefined;
|
1941
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1695
1942
|
type: "exact";
|
1696
1943
|
term: string;
|
1697
1944
|
} | {
|
1698
1945
|
type: "within";
|
1699
1946
|
location: string;
|
1700
1947
|
} | undefined;
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1948
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1949
|
+
type: "exact";
|
1950
|
+
term: string;
|
1951
|
+
} | undefined;
|
1952
|
+
}, ...{
|
1953
|
+
id?: string | undefined;
|
1705
1954
|
status?: {
|
1706
1955
|
type: "exact";
|
1707
1956
|
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
@@ -1710,45 +1959,41 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1710
1959
|
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1711
1960
|
} | undefined;
|
1712
1961
|
data?: any;
|
1962
|
+
createdByUserType?: "system" | "user" | undefined;
|
1713
1963
|
createdAt?: {
|
1714
|
-
type: "exact";
|
1715
|
-
term: string;
|
1716
|
-
} | {
|
1717
1964
|
type: "range";
|
1718
1965
|
gte: string;
|
1719
1966
|
lte: string;
|
1967
|
+
} | {
|
1968
|
+
type: "exact";
|
1969
|
+
term: string;
|
1720
1970
|
} | undefined;
|
1721
1971
|
createdBy?: {
|
1722
1972
|
type: "exact";
|
1723
1973
|
term: string;
|
1724
1974
|
} | undefined;
|
1725
|
-
|
1975
|
+
createdAtLocation?: {
|
1726
1976
|
type: "exact";
|
1727
1977
|
term: string;
|
1728
1978
|
} | {
|
1729
|
-
type: "
|
1730
|
-
|
1731
|
-
lte: string;
|
1979
|
+
type: "within";
|
1980
|
+
location: string;
|
1732
1981
|
} | undefined;
|
1733
|
-
|
1982
|
+
assignedTo?: {
|
1734
1983
|
type: "exact";
|
1735
1984
|
term: string;
|
1736
1985
|
} | undefined;
|
1737
|
-
|
1738
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1739
|
-
type: "exact";
|
1740
|
-
term: string;
|
1741
|
-
} | {
|
1986
|
+
updatedAt?: {
|
1742
1987
|
type: "range";
|
1743
1988
|
gte: string;
|
1744
1989
|
lte: string;
|
1990
|
+
} | {
|
1991
|
+
type: "exact";
|
1992
|
+
term: string;
|
1745
1993
|
} | undefined;
|
1746
|
-
|
1994
|
+
trackingId?: {
|
1747
1995
|
type: "exact";
|
1748
1996
|
term: string;
|
1749
|
-
} | {
|
1750
|
-
type: "within";
|
1751
|
-
location: string;
|
1752
1997
|
} | undefined;
|
1753
1998
|
updatedAtLocation?: {
|
1754
1999
|
type: "exact";
|
@@ -1761,22 +2006,35 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1761
2006
|
type: "exact";
|
1762
2007
|
term: string;
|
1763
2008
|
} | undefined;
|
1764
|
-
flags?:
|
1765
|
-
|
1766
|
-
|
2009
|
+
flags?: {
|
2010
|
+
anyOf?: string[] | undefined;
|
2011
|
+
noneOf?: string[] | undefined;
|
2012
|
+
} | undefined;
|
2013
|
+
eventType?: string | undefined;
|
2014
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
2015
|
+
type: "range";
|
2016
|
+
gte: string;
|
2017
|
+
lte: string;
|
1767
2018
|
} | {
|
1768
|
-
type: "
|
2019
|
+
type: "exact";
|
1769
2020
|
term: string;
|
1770
|
-
}
|
1771
|
-
|
2021
|
+
} | undefined;
|
2022
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1772
2023
|
type: "exact";
|
1773
2024
|
term: string;
|
1774
2025
|
} | {
|
1775
2026
|
type: "within";
|
1776
2027
|
location: string;
|
1777
2028
|
} | undefined;
|
1778
|
-
|
1779
|
-
|
2029
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
2030
|
+
type: "exact";
|
2031
|
+
term: string;
|
2032
|
+
} | undefined;
|
2033
|
+
}[]];
|
2034
|
+
}, {
|
2035
|
+
type: "and" | "or";
|
2036
|
+
clauses?: unknown;
|
2037
|
+
}>;
|
1780
2038
|
export type QueryType = z.infer<typeof QueryType>;
|
1781
2039
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
1782
2040
|
export {};
|