@opencrvs/toolkit 1.8.0-rc.fcd89ec → 1.8.0-rc.fcf7cb3
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 +8046 -8610
- package/dist/commons/conditionals/conditionals.d.ts +8 -15
- package/dist/commons/conditionals/validate.d.ts +14 -0
- package/dist/commons/events/ActionConfig.d.ts +68541 -36072
- package/dist/commons/events/ActionDocument.d.ts +3961 -1227
- package/dist/commons/events/ActionInput.d.ts +3138 -966
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +414 -71
- package/dist/commons/events/CompositeFieldValue.d.ts +37 -9
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +4132 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
- package/dist/commons/events/Draft.d.ts +271 -93
- package/dist/commons/events/EventConfig.d.ts +33783 -18386
- package/dist/commons/events/EventDocument.d.ts +2522 -816
- package/dist/commons/events/EventIndex.d.ts +1411 -313
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +113 -76
- package/dist/commons/events/FieldConfig.d.ts +4017 -1558
- package/dist/commons/events/FieldType.d.ts +10 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +149 -75
- package/dist/commons/events/FieldValue.d.ts +87 -20
- package/dist/commons/events/FormConfig.d.ts +18663 -8055
- package/dist/commons/events/PageConfig.d.ts +4601 -1945
- package/dist/commons/events/SummaryConfig.d.ts +0 -5
- package/dist/commons/events/User.d.ts +34 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +7802 -308
- package/dist/commons/events/defineConfig.d.ts +3535 -860
- package/dist/commons/events/event.d.ts +21 -21
- package/dist/commons/events/field.d.ts +36 -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 +206 -52
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +14324 -1570
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +70 -62
- package/dist/events/index.js +3527 -1656
- package/dist/scopes/index.d.ts +96 -7
- package/dist/scopes/index.js +105 -26
- package/package.json +3 -3
- package/tsconfig.json +1 -1
- package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
- package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
- package/dist/commons/conditionals/validate.test.d.ts +0 -2
- package/dist/commons/events/utils.test.d.ts +0 -2
@@ -1,43 +1,42 @@
|
|
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", "ARCHIVED"]>;
|
15
6
|
legalStatuses: z.ZodObject<{
|
16
7
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
17
8
|
createdAt: z.ZodString;
|
18
9
|
createdBy: z.ZodString;
|
19
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.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
19
|
acceptedAt: string;
|
27
|
-
|
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
27
|
acceptedAt: string;
|
28
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
29
|
+
createdBySignature?: string | null | undefined;
|
33
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.ZodOptional<z.ZodNullable<z.ZodString
|
35
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
36
|
+
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
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, {
|
@@ -46,13 +45,17 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
46
45
|
createdByRole: string;
|
47
46
|
registrationNumber: string;
|
48
47
|
acceptedAt: string;
|
49
|
-
|
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
55
|
registrationNumber: string;
|
55
56
|
acceptedAt: string;
|
57
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
58
|
+
createdBySignature?: string | null | undefined;
|
56
59
|
createdAtLocation?: string | null | undefined;
|
57
60
|
}>>>;
|
58
61
|
}, "strip", z.ZodTypeAny, {
|
@@ -61,7 +64,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
61
64
|
createdBy: string;
|
62
65
|
createdByRole: string;
|
63
66
|
acceptedAt: string;
|
64
|
-
|
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;
|
@@ -69,7 +74,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
69
74
|
createdByRole: string;
|
70
75
|
registrationNumber: string;
|
71
76
|
acceptedAt: string;
|
72
|
-
|
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?: {
|
@@ -77,6 +84,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
77
84
|
createdBy: string;
|
78
85
|
createdByRole: string;
|
79
86
|
acceptedAt: string;
|
87
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
88
|
+
createdBySignature?: string | null | undefined;
|
80
89
|
createdAtLocation?: string | null | undefined;
|
81
90
|
} | null | undefined;
|
82
91
|
REGISTERED?: {
|
@@ -85,49 +94,65 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
85
94
|
createdByRole: string;
|
86
95
|
registrationNumber: string;
|
87
96
|
acceptedAt: string;
|
97
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
98
|
+
createdBySignature?: string | null | undefined;
|
88
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.ZodOptional<z.ZodNullable<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 PENDING_CERTIFICATION: "pending-certification";
|
116
|
+
readonly INCOMPLETE: "incomplete";
|
117
|
+
readonly REJECTED: "rejected";
|
118
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
103
119
|
}>]>, "many">;
|
104
120
|
}, {
|
105
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.
|
106
|
-
|
121
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
122
|
+
start: z.ZodString;
|
123
|
+
end: z.ZodString;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
start: string;
|
126
|
+
end: string;
|
127
|
+
}, {
|
128
|
+
start: string;
|
129
|
+
end: string;
|
130
|
+
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
131
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
107
132
|
originalFilename: z.ZodString;
|
108
133
|
type: z.ZodString;
|
109
134
|
}, "strip", z.ZodTypeAny, {
|
110
135
|
type: string;
|
111
|
-
|
136
|
+
path: string;
|
112
137
|
originalFilename: string;
|
113
138
|
}, {
|
114
139
|
type: string;
|
115
|
-
|
140
|
+
path: string;
|
116
141
|
originalFilename: string;
|
117
142
|
}>, z.ZodArray<z.ZodObject<{
|
118
|
-
|
143
|
+
path: z.ZodEffects<z.ZodString, string, string>;
|
119
144
|
originalFilename: z.ZodString;
|
120
145
|
type: z.ZodString;
|
121
146
|
option: z.ZodString;
|
122
147
|
}, "strip", z.ZodTypeAny, {
|
123
148
|
type: string;
|
124
149
|
option: string;
|
125
|
-
|
150
|
+
path: string;
|
126
151
|
originalFilename: string;
|
127
152
|
}, {
|
128
153
|
type: string;
|
129
154
|
option: string;
|
130
|
-
|
155
|
+
path: string;
|
131
156
|
originalFilename: string;
|
132
157
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
133
158
|
country: z.ZodString;
|
@@ -215,16 +240,40 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
215
240
|
addressLine2?: string | undefined;
|
216
241
|
addressLine3?: string | undefined;
|
217
242
|
postcodeOrZip?: string | undefined;
|
218
|
-
}
|
243
|
+
}>, z.ZodObject<{
|
244
|
+
firstname: z.ZodString;
|
245
|
+
surname: z.ZodString;
|
246
|
+
middlename: z.ZodOptional<z.ZodString>;
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
248
|
+
firstname: string;
|
249
|
+
surname: string;
|
250
|
+
middlename?: string | undefined;
|
251
|
+
}, {
|
252
|
+
firstname: string;
|
253
|
+
surname: string;
|
254
|
+
middlename?: string | undefined;
|
255
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
256
|
+
firstname: z.ZodString;
|
257
|
+
surname: z.ZodString;
|
258
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
260
|
+
firstname: string;
|
261
|
+
surname: string;
|
262
|
+
middlename?: string | null | undefined;
|
263
|
+
}, {
|
264
|
+
firstname: string;
|
265
|
+
surname: string;
|
266
|
+
middlename?: string | null | undefined;
|
267
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
219
268
|
}>, "strip", z.ZodTypeAny, {
|
220
269
|
type: string;
|
221
|
-
id: string
|
222
|
-
status: "ARCHIVED" | "
|
270
|
+
id: string & z.BRAND<"UUID">;
|
271
|
+
status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
223
272
|
createdAt: string;
|
224
273
|
createdBy: string;
|
225
274
|
declaration: Record<string, string | number | boolean | {
|
226
275
|
type: string;
|
227
|
-
|
276
|
+
path: string;
|
228
277
|
originalFilename: string;
|
229
278
|
} | {
|
230
279
|
country: string;
|
@@ -244,6 +293,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
244
293
|
province: string;
|
245
294
|
urbanOrRural: "RURAL";
|
246
295
|
village?: string | undefined;
|
296
|
+
} | {
|
297
|
+
firstname: string;
|
298
|
+
surname: string;
|
299
|
+
middlename?: string | undefined;
|
300
|
+
} | {
|
301
|
+
firstname: string;
|
302
|
+
surname: string;
|
303
|
+
middlename?: string | null | undefined;
|
247
304
|
} | {
|
248
305
|
country: string;
|
249
306
|
state: string;
|
@@ -257,9 +314,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
257
314
|
} | {
|
258
315
|
type: string;
|
259
316
|
option: string;
|
260
|
-
|
317
|
+
path: string;
|
261
318
|
originalFilename: string;
|
262
|
-
}[] |
|
319
|
+
}[] | {
|
320
|
+
start: string;
|
321
|
+
end: string;
|
322
|
+
} | null | undefined>;
|
263
323
|
updatedAt: string;
|
264
324
|
trackingId: string;
|
265
325
|
legalStatuses: {
|
@@ -268,7 +328,9 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
268
328
|
createdBy: string;
|
269
329
|
createdByRole: string;
|
270
330
|
acceptedAt: string;
|
271
|
-
|
331
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
332
|
+
createdBySignature?: string | null | undefined;
|
333
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
272
334
|
} | null | undefined;
|
273
335
|
REGISTERED?: {
|
274
336
|
createdAt: string;
|
@@ -276,25 +338,29 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
276
338
|
createdByRole: string;
|
277
339
|
registrationNumber: string;
|
278
340
|
acceptedAt: string;
|
279
|
-
|
341
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
342
|
+
createdBySignature?: string | null | undefined;
|
343
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
280
344
|
} | null | undefined;
|
281
345
|
};
|
282
346
|
updatedByUserRole: string;
|
283
347
|
flags: string[];
|
284
|
-
|
348
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
349
|
+
createdBySignature?: string | null | undefined;
|
350
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
285
351
|
assignedTo?: string | null | undefined;
|
286
352
|
dateOfEvent?: string | null | undefined;
|
287
|
-
updatedAtLocation?: string | null | undefined;
|
353
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
288
354
|
updatedBy?: string | null | undefined;
|
289
355
|
}, {
|
290
356
|
type: string;
|
291
357
|
id: string;
|
292
|
-
status: "ARCHIVED" | "
|
358
|
+
status: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
293
359
|
createdAt: string;
|
294
360
|
createdBy: string;
|
295
361
|
declaration: Record<string, string | number | boolean | {
|
296
362
|
type: string;
|
297
|
-
|
363
|
+
path: string;
|
298
364
|
originalFilename: string;
|
299
365
|
} | {
|
300
366
|
country: string;
|
@@ -314,6 +380,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
314
380
|
province: string;
|
315
381
|
urbanOrRural: "RURAL";
|
316
382
|
village?: string | undefined;
|
383
|
+
} | {
|
384
|
+
firstname: string;
|
385
|
+
surname: string;
|
386
|
+
middlename?: string | undefined;
|
387
|
+
} | {
|
388
|
+
firstname: string;
|
389
|
+
surname: string;
|
390
|
+
middlename?: string | null | undefined;
|
317
391
|
} | {
|
318
392
|
country: string;
|
319
393
|
state: string;
|
@@ -327,9 +401,12 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
327
401
|
} | {
|
328
402
|
type: string;
|
329
403
|
option: string;
|
330
|
-
|
404
|
+
path: string;
|
331
405
|
originalFilename: string;
|
332
|
-
}[] |
|
406
|
+
}[] | {
|
407
|
+
start: string;
|
408
|
+
end: string;
|
409
|
+
} | null | undefined>;
|
333
410
|
updatedAt: string;
|
334
411
|
trackingId: string;
|
335
412
|
legalStatuses: {
|
@@ -338,6 +415,8 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
338
415
|
createdBy: string;
|
339
416
|
createdByRole: string;
|
340
417
|
acceptedAt: string;
|
418
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
419
|
+
createdBySignature?: string | null | undefined;
|
341
420
|
createdAtLocation?: string | null | undefined;
|
342
421
|
} | null | undefined;
|
343
422
|
REGISTERED?: {
|
@@ -346,11 +425,15 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
|
346
425
|
createdByRole: string;
|
347
426
|
registrationNumber: string;
|
348
427
|
acceptedAt: string;
|
428
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
429
|
+
createdBySignature?: string | null | undefined;
|
349
430
|
createdAtLocation?: string | null | undefined;
|
350
431
|
} | null | undefined;
|
351
432
|
};
|
352
433
|
updatedByUserRole: string;
|
353
434
|
flags: string[];
|
435
|
+
createdByUserType?: "system" | "user" | null | undefined;
|
436
|
+
createdBySignature?: string | null | undefined;
|
354
437
|
createdAtLocation?: string | null | undefined;
|
355
438
|
assignedTo?: string | null | undefined;
|
356
439
|
dateOfEvent?: string | null | undefined;
|
@@ -366,7 +449,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
366
449
|
}>>;
|
367
450
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
368
451
|
export type EventIndex = z.infer<typeof EventIndex>;
|
369
|
-
declare const Fuzzy: z.ZodObject<{
|
452
|
+
export declare const Fuzzy: z.ZodObject<{
|
370
453
|
type: z.ZodLiteral<"fuzzy">;
|
371
454
|
term: z.ZodString;
|
372
455
|
}, "strip", z.ZodTypeAny, {
|
@@ -376,7 +459,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
376
459
|
type: "fuzzy";
|
377
460
|
term: string;
|
378
461
|
}>;
|
379
|
-
declare const Exact: z.ZodObject<{
|
462
|
+
export declare const Exact: z.ZodObject<{
|
380
463
|
type: z.ZodLiteral<"exact">;
|
381
464
|
term: z.ZodString;
|
382
465
|
}, "strip", z.ZodTypeAny, {
|
@@ -386,7 +469,27 @@ declare const Exact: z.ZodObject<{
|
|
386
469
|
type: "exact";
|
387
470
|
term: string;
|
388
471
|
}>;
|
389
|
-
declare const
|
472
|
+
export declare const ExactStatus: z.ZodObject<{
|
473
|
+
type: z.ZodLiteral<"exact">;
|
474
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
475
|
+
}, "strip", z.ZodTypeAny, {
|
476
|
+
type: "exact";
|
477
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
478
|
+
}, {
|
479
|
+
type: "exact";
|
480
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
481
|
+
}>;
|
482
|
+
export declare const ExactUserType: z.ZodObject<{
|
483
|
+
type: z.ZodLiteral<"exact">;
|
484
|
+
term: z.ZodEnum<["user", "system"]>;
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
486
|
+
type: "exact";
|
487
|
+
term: "system" | "user";
|
488
|
+
}, {
|
489
|
+
type: "exact";
|
490
|
+
term: "system" | "user";
|
491
|
+
}>;
|
492
|
+
export declare const AnyOf: z.ZodObject<{
|
390
493
|
type: z.ZodLiteral<"anyOf">;
|
391
494
|
terms: z.ZodArray<z.ZodString, "many">;
|
392
495
|
}, "strip", z.ZodTypeAny, {
|
@@ -396,7 +499,17 @@ declare const AnyOf: z.ZodObject<{
|
|
396
499
|
type: "anyOf";
|
397
500
|
terms: string[];
|
398
501
|
}>;
|
399
|
-
declare const
|
502
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
503
|
+
type: z.ZodLiteral<"anyOf">;
|
504
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
505
|
+
}, "strip", z.ZodTypeAny, {
|
506
|
+
type: "anyOf";
|
507
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
508
|
+
}, {
|
509
|
+
type: "anyOf";
|
510
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
511
|
+
}>;
|
512
|
+
export declare const Range: z.ZodObject<{
|
400
513
|
type: z.ZodLiteral<"range">;
|
401
514
|
gte: z.ZodString;
|
402
515
|
lte: z.ZodString;
|
@@ -409,17 +522,27 @@ declare const Range: z.ZodObject<{
|
|
409
522
|
gte: string;
|
410
523
|
lte: string;
|
411
524
|
}>;
|
412
|
-
declare const
|
413
|
-
|
414
|
-
|
525
|
+
export declare const ContainsFlags: z.ZodObject<{
|
526
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
527
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
528
|
+
readonly INCOMPLETE: "incomplete";
|
529
|
+
readonly REJECTED: "rejected";
|
530
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
531
|
+
}>]>, "many">>;
|
532
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
533
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
534
|
+
readonly INCOMPLETE: "incomplete";
|
535
|
+
readonly REJECTED: "rejected";
|
536
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
537
|
+
}>]>, "many">>;
|
415
538
|
}, "strip", z.ZodTypeAny, {
|
416
|
-
|
417
|
-
|
539
|
+
anyOf?: string[] | undefined;
|
540
|
+
noneOf?: string[] | undefined;
|
418
541
|
}, {
|
419
|
-
|
420
|
-
|
542
|
+
anyOf?: string[] | undefined;
|
543
|
+
noneOf?: string[] | undefined;
|
421
544
|
}>;
|
422
|
-
declare const Within: z.ZodObject<{
|
545
|
+
export declare const Within: z.ZodObject<{
|
423
546
|
type: z.ZodLiteral<"within">;
|
424
547
|
location: z.ZodString;
|
425
548
|
}, "strip", z.ZodTypeAny, {
|
@@ -429,37 +552,86 @@ declare const Within: z.ZodObject<{
|
|
429
552
|
type: "within";
|
430
553
|
location: string;
|
431
554
|
}>;
|
555
|
+
export declare const ExactDate: z.ZodObject<z.objectUtil.extendShape<{
|
556
|
+
type: z.ZodLiteral<"exact">;
|
557
|
+
term: z.ZodString;
|
558
|
+
}, {
|
559
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
560
|
+
}>, "strip", z.ZodTypeAny, {
|
561
|
+
type: "exact";
|
562
|
+
term: string;
|
563
|
+
}, {
|
564
|
+
type: "exact";
|
565
|
+
term: string;
|
566
|
+
}>;
|
567
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
568
|
+
type: z.ZodLiteral<"exact">;
|
569
|
+
term: z.ZodString;
|
570
|
+
}, {
|
571
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
572
|
+
}>, "strip", z.ZodTypeAny, {
|
573
|
+
type: "exact";
|
574
|
+
term: string;
|
575
|
+
}, {
|
576
|
+
type: "exact";
|
577
|
+
term: string;
|
578
|
+
}>, z.ZodObject<{
|
579
|
+
type: z.ZodLiteral<"range">;
|
580
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
581
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
582
|
+
}, "strip", z.ZodTypeAny, {
|
583
|
+
type: "range";
|
584
|
+
gte: string;
|
585
|
+
lte: string;
|
586
|
+
}, {
|
587
|
+
type: "range";
|
588
|
+
gte: string;
|
589
|
+
lte: string;
|
590
|
+
}>, z.ZodObject<{
|
591
|
+
type: z.ZodLiteral<"timePeriod">;
|
592
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
594
|
+
type: "timePeriod";
|
595
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
596
|
+
}, {
|
597
|
+
type: "timePeriod";
|
598
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
599
|
+
}>]>;
|
600
|
+
export type DateCondition = z.infer<typeof DateCondition>;
|
432
601
|
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
|
602
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
434
603
|
type QueryMap = {
|
435
604
|
[key: string]: BaseInput | QueryMap;
|
436
605
|
};
|
437
606
|
export type QueryInputType = BaseInput | QueryMap;
|
438
|
-
export declare const QueryExpression: z.ZodObject<{
|
607
|
+
export declare const QueryExpression: z.ZodEffects<z.ZodObject<{
|
608
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
439
609
|
eventType: z.ZodOptional<z.ZodString>;
|
440
610
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
441
611
|
type: z.ZodLiteral<"anyOf">;
|
442
|
-
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
612
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
443
613
|
}, "strip", z.ZodTypeAny, {
|
444
614
|
type: "anyOf";
|
445
|
-
terms: ("ARCHIVED" | "
|
615
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
446
616
|
}, {
|
447
617
|
type: "anyOf";
|
448
|
-
terms: ("ARCHIVED" | "
|
618
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
449
619
|
}>, z.ZodObject<{
|
450
620
|
type: z.ZodLiteral<"exact">;
|
451
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
621
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
452
622
|
}, "strip", z.ZodTypeAny, {
|
453
623
|
type: "exact";
|
454
|
-
term: "ARCHIVED" | "
|
624
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
455
625
|
}, {
|
456
626
|
type: "exact";
|
457
|
-
term: "ARCHIVED" | "
|
627
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
458
628
|
}>]>>>;
|
459
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
629
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
460
630
|
type: z.ZodLiteral<"exact">;
|
461
631
|
term: z.ZodString;
|
462
|
-
},
|
632
|
+
}, {
|
633
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
634
|
+
}>, "strip", z.ZodTypeAny, {
|
463
635
|
type: "exact";
|
464
636
|
term: string;
|
465
637
|
}, {
|
@@ -467,8 +639,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
467
639
|
term: string;
|
468
640
|
}>, z.ZodObject<{
|
469
641
|
type: z.ZodLiteral<"range">;
|
470
|
-
gte: z.ZodString
|
471
|
-
lte: z.ZodString
|
642
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
643
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
472
644
|
}, "strip", z.ZodTypeAny, {
|
473
645
|
type: "range";
|
474
646
|
gte: string;
|
@@ -477,11 +649,22 @@ export declare const QueryExpression: z.ZodObject<{
|
|
477
649
|
type: "range";
|
478
650
|
gte: string;
|
479
651
|
lte: string;
|
652
|
+
}>, z.ZodObject<{
|
653
|
+
type: z.ZodLiteral<"timePeriod">;
|
654
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
656
|
+
type: "timePeriod";
|
657
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
658
|
+
}, {
|
659
|
+
type: "timePeriod";
|
660
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
480
661
|
}>]>>>;
|
481
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
662
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
482
663
|
type: z.ZodLiteral<"exact">;
|
483
664
|
term: z.ZodString;
|
484
|
-
},
|
665
|
+
}, {
|
666
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
667
|
+
}>, "strip", z.ZodTypeAny, {
|
485
668
|
type: "exact";
|
486
669
|
term: string;
|
487
670
|
}, {
|
@@ -489,8 +672,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
489
672
|
term: string;
|
490
673
|
}>, z.ZodObject<{
|
491
674
|
type: z.ZodLiteral<"range">;
|
492
|
-
gte: z.ZodString
|
493
|
-
lte: z.ZodString
|
675
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
676
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
494
677
|
}, "strip", z.ZodTypeAny, {
|
495
678
|
type: "range";
|
496
679
|
gte: string;
|
@@ -499,11 +682,22 @@ export declare const QueryExpression: z.ZodObject<{
|
|
499
682
|
type: "range";
|
500
683
|
gte: string;
|
501
684
|
lte: string;
|
685
|
+
}>, z.ZodObject<{
|
686
|
+
type: z.ZodLiteral<"timePeriod">;
|
687
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
689
|
+
type: "timePeriod";
|
690
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
691
|
+
}, {
|
692
|
+
type: "timePeriod";
|
693
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
502
694
|
}>]>>>;
|
503
|
-
'
|
695
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
504
696
|
type: z.ZodLiteral<"exact">;
|
505
697
|
term: z.ZodString;
|
506
|
-
},
|
698
|
+
}, {
|
699
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
700
|
+
}>, "strip", z.ZodTypeAny, {
|
507
701
|
type: "exact";
|
508
702
|
term: string;
|
509
703
|
}, {
|
@@ -511,8 +705,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
511
705
|
term: string;
|
512
706
|
}>, z.ZodObject<{
|
513
707
|
type: z.ZodLiteral<"range">;
|
514
|
-
gte: z.ZodString
|
515
|
-
lte: z.ZodString
|
708
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
709
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
516
710
|
}, "strip", z.ZodTypeAny, {
|
517
711
|
type: "range";
|
518
712
|
gte: string;
|
@@ -521,8 +715,17 @@ export declare const QueryExpression: z.ZodObject<{
|
|
521
715
|
type: "range";
|
522
716
|
gte: string;
|
523
717
|
lte: string;
|
718
|
+
}>, z.ZodObject<{
|
719
|
+
type: z.ZodLiteral<"timePeriod">;
|
720
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
721
|
+
}, "strip", z.ZodTypeAny, {
|
722
|
+
type: "timePeriod";
|
723
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
724
|
+
}, {
|
725
|
+
type: "timePeriod";
|
726
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
524
727
|
}>]>>>;
|
525
|
-
'
|
728
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
526
729
|
type: z.ZodLiteral<"within">;
|
527
730
|
location: z.ZodString;
|
528
731
|
}, "strip", z.ZodTypeAny, {
|
@@ -541,7 +744,7 @@ export declare const QueryExpression: z.ZodObject<{
|
|
541
744
|
type: "exact";
|
542
745
|
term: string;
|
543
746
|
}>]>>>;
|
544
|
-
|
747
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
545
748
|
type: z.ZodLiteral<"within">;
|
546
749
|
location: z.ZodString;
|
547
750
|
}, "strip", z.ZodTypeAny, {
|
@@ -560,7 +763,17 @@ export declare const QueryExpression: z.ZodObject<{
|
|
560
763
|
type: "exact";
|
561
764
|
term: string;
|
562
765
|
}>]>>>;
|
563
|
-
|
766
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
767
|
+
type: z.ZodLiteral<"exact">;
|
768
|
+
term: z.ZodString;
|
769
|
+
}, "strip", z.ZodTypeAny, {
|
770
|
+
type: "exact";
|
771
|
+
term: string;
|
772
|
+
}, {
|
773
|
+
type: "exact";
|
774
|
+
term: string;
|
775
|
+
}>>>;
|
776
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
564
777
|
type: z.ZodLiteral<"within">;
|
565
778
|
location: z.ZodString;
|
566
779
|
}, "strip", z.ZodTypeAny, {
|
@@ -579,7 +792,16 @@ export declare const QueryExpression: z.ZodObject<{
|
|
579
792
|
type: "exact";
|
580
793
|
term: string;
|
581
794
|
}>]>>>;
|
582
|
-
|
795
|
+
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
796
|
+
type: z.ZodLiteral<"within">;
|
797
|
+
location: z.ZodString;
|
798
|
+
}, "strip", z.ZodTypeAny, {
|
799
|
+
type: "within";
|
800
|
+
location: string;
|
801
|
+
}, {
|
802
|
+
type: "within";
|
803
|
+
location: string;
|
804
|
+
}>, z.ZodObject<{
|
583
805
|
type: z.ZodLiteral<"exact">;
|
584
806
|
term: z.ZodString;
|
585
807
|
}, "strip", z.ZodTypeAny, {
|
@@ -588,8 +810,8 @@ export declare const QueryExpression: z.ZodObject<{
|
|
588
810
|
}, {
|
589
811
|
type: "exact";
|
590
812
|
term: string;
|
591
|
-
}>>>;
|
592
|
-
|
813
|
+
}>]>>>;
|
814
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
593
815
|
type: z.ZodLiteral<"exact">;
|
594
816
|
term: z.ZodString;
|
595
817
|
}, "strip", z.ZodTypeAny, {
|
@@ -599,7 +821,17 @@ export declare const QueryExpression: z.ZodObject<{
|
|
599
821
|
type: "exact";
|
600
822
|
term: string;
|
601
823
|
}>>>;
|
602
|
-
|
824
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
825
|
+
type: z.ZodLiteral<"exact">;
|
826
|
+
term: z.ZodEnum<["user", "system"]>;
|
827
|
+
}, "strip", z.ZodTypeAny, {
|
828
|
+
type: "exact";
|
829
|
+
term: "system" | "user";
|
830
|
+
}, {
|
831
|
+
type: "exact";
|
832
|
+
term: "system" | "user";
|
833
|
+
}>>>;
|
834
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
603
835
|
type: z.ZodLiteral<"exact">;
|
604
836
|
term: z.ZodString;
|
605
837
|
}, "strip", z.ZodTypeAny, {
|
@@ -609,74 +841,101 @@ export declare const QueryExpression: z.ZodObject<{
|
|
609
841
|
type: "exact";
|
610
842
|
term: string;
|
611
843
|
}>>>;
|
612
|
-
|
613
|
-
type: z.ZodLiteral<"
|
614
|
-
|
844
|
+
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
845
|
+
type: z.ZodLiteral<"exact">;
|
846
|
+
term: z.ZodString;
|
615
847
|
}, "strip", z.ZodTypeAny, {
|
616
|
-
type: "
|
617
|
-
|
848
|
+
type: "exact";
|
849
|
+
term: string;
|
618
850
|
}, {
|
619
|
-
type: "
|
620
|
-
|
621
|
-
}
|
622
|
-
|
851
|
+
type: "exact";
|
852
|
+
term: string;
|
853
|
+
}>>>;
|
854
|
+
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
855
|
+
type: z.ZodLiteral<"exact">;
|
623
856
|
term: z.ZodString;
|
624
857
|
}, "strip", z.ZodTypeAny, {
|
625
|
-
type: "
|
858
|
+
type: "exact";
|
626
859
|
term: string;
|
627
860
|
}, {
|
628
|
-
type: "
|
861
|
+
type: "exact";
|
629
862
|
term: string;
|
630
|
-
}
|
863
|
+
}>>>;
|
864
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
865
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
866
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
867
|
+
readonly INCOMPLETE: "incomplete";
|
868
|
+
readonly REJECTED: "rejected";
|
869
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
870
|
+
}>]>, "many">>;
|
871
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
872
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
873
|
+
readonly INCOMPLETE: "incomplete";
|
874
|
+
readonly REJECTED: "rejected";
|
875
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
876
|
+
}>]>, "many">>;
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
878
|
+
anyOf?: string[] | undefined;
|
879
|
+
noneOf?: string[] | undefined;
|
880
|
+
}, {
|
881
|
+
anyOf?: string[] | undefined;
|
882
|
+
noneOf?: string[] | undefined;
|
883
|
+
}>>>;
|
631
884
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
632
885
|
}, "strip", z.ZodTypeAny, {
|
886
|
+
id?: string | undefined;
|
633
887
|
status?: {
|
634
888
|
type: "exact";
|
635
|
-
term: "ARCHIVED" | "
|
889
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
636
890
|
} | {
|
637
891
|
type: "anyOf";
|
638
|
-
terms: ("ARCHIVED" | "
|
892
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
639
893
|
} | undefined;
|
640
894
|
data?: any;
|
641
|
-
|
895
|
+
createdByUserType?: {
|
642
896
|
type: "exact";
|
643
|
-
term:
|
644
|
-
} |
|
897
|
+
term: "system" | "user";
|
898
|
+
} | undefined;
|
899
|
+
createdAt?: {
|
645
900
|
type: "range";
|
646
901
|
gte: string;
|
647
902
|
lte: string;
|
903
|
+
} | {
|
904
|
+
type: "exact";
|
905
|
+
term: string;
|
906
|
+
} | {
|
907
|
+
type: "timePeriod";
|
908
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
648
909
|
} | undefined;
|
649
910
|
createdBy?: {
|
650
911
|
type: "exact";
|
651
912
|
term: string;
|
652
913
|
} | undefined;
|
653
|
-
|
914
|
+
createdAtLocation?: {
|
654
915
|
type: "exact";
|
655
916
|
term: string;
|
656
917
|
} | {
|
657
|
-
type: "
|
658
|
-
|
659
|
-
lte: string;
|
918
|
+
type: "within";
|
919
|
+
location: string;
|
660
920
|
} | undefined;
|
661
|
-
|
921
|
+
assignedTo?: {
|
662
922
|
type: "exact";
|
663
923
|
term: string;
|
664
924
|
} | undefined;
|
665
|
-
|
666
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
667
|
-
type: "exact";
|
668
|
-
term: string;
|
669
|
-
} | {
|
925
|
+
updatedAt?: {
|
670
926
|
type: "range";
|
671
927
|
gte: string;
|
672
928
|
lte: string;
|
673
|
-
} |
|
674
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
929
|
+
} | {
|
675
930
|
type: "exact";
|
676
931
|
term: string;
|
677
932
|
} | {
|
678
|
-
type: "
|
679
|
-
|
933
|
+
type: "timePeriod";
|
934
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
935
|
+
} | undefined;
|
936
|
+
trackingId?: {
|
937
|
+
type: "exact";
|
938
|
+
term: string;
|
680
939
|
} | undefined;
|
681
940
|
updatedAtLocation?: {
|
682
941
|
type: "exact";
|
@@ -689,122 +948,371 @@ export declare const QueryExpression: z.ZodObject<{
|
|
689
948
|
type: "exact";
|
690
949
|
term: string;
|
691
950
|
} | undefined;
|
692
|
-
flags?:
|
693
|
-
|
694
|
-
|
951
|
+
flags?: {
|
952
|
+
anyOf?: string[] | undefined;
|
953
|
+
noneOf?: string[] | undefined;
|
954
|
+
} | undefined;
|
955
|
+
eventType?: string | undefined;
|
956
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
957
|
+
type: "range";
|
958
|
+
gte: string;
|
959
|
+
lte: string;
|
960
|
+
} | {
|
961
|
+
type: "exact";
|
962
|
+
term: string;
|
695
963
|
} | {
|
696
|
-
type: "
|
964
|
+
type: "timePeriod";
|
965
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
966
|
+
} | undefined;
|
967
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
968
|
+
type: "exact";
|
697
969
|
term: string;
|
698
|
-
}
|
699
|
-
|
970
|
+
} | {
|
971
|
+
type: "within";
|
972
|
+
location: string;
|
973
|
+
} | undefined;
|
974
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
700
975
|
type: "exact";
|
701
976
|
term: string;
|
702
977
|
} | {
|
703
978
|
type: "within";
|
704
979
|
location: string;
|
705
980
|
} | undefined;
|
981
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
982
|
+
type: "exact";
|
983
|
+
term: string;
|
984
|
+
} | undefined;
|
706
985
|
}, {
|
986
|
+
id?: string | undefined;
|
707
987
|
status?: {
|
708
988
|
type: "exact";
|
709
|
-
term: "ARCHIVED" | "
|
989
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
710
990
|
} | {
|
711
991
|
type: "anyOf";
|
712
|
-
terms: ("ARCHIVED" | "
|
992
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
713
993
|
} | undefined;
|
714
994
|
data?: any;
|
715
|
-
|
995
|
+
createdByUserType?: {
|
716
996
|
type: "exact";
|
717
|
-
term:
|
718
|
-
} |
|
997
|
+
term: "system" | "user";
|
998
|
+
} | undefined;
|
999
|
+
createdAt?: {
|
719
1000
|
type: "range";
|
720
1001
|
gte: string;
|
721
1002
|
lte: string;
|
1003
|
+
} | {
|
1004
|
+
type: "exact";
|
1005
|
+
term: string;
|
1006
|
+
} | {
|
1007
|
+
type: "timePeriod";
|
1008
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
722
1009
|
} | undefined;
|
723
1010
|
createdBy?: {
|
724
1011
|
type: "exact";
|
725
1012
|
term: string;
|
726
1013
|
} | undefined;
|
727
|
-
|
1014
|
+
createdAtLocation?: {
|
728
1015
|
type: "exact";
|
729
1016
|
term: string;
|
730
1017
|
} | {
|
1018
|
+
type: "within";
|
1019
|
+
location: string;
|
1020
|
+
} | undefined;
|
1021
|
+
assignedTo?: {
|
1022
|
+
type: "exact";
|
1023
|
+
term: string;
|
1024
|
+
} | undefined;
|
1025
|
+
updatedAt?: {
|
731
1026
|
type: "range";
|
732
1027
|
gte: string;
|
733
1028
|
lte: string;
|
1029
|
+
} | {
|
1030
|
+
type: "exact";
|
1031
|
+
term: string;
|
1032
|
+
} | {
|
1033
|
+
type: "timePeriod";
|
1034
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
734
1035
|
} | undefined;
|
735
1036
|
trackingId?: {
|
736
1037
|
type: "exact";
|
737
1038
|
term: string;
|
738
1039
|
} | undefined;
|
739
|
-
|
740
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1040
|
+
updatedAtLocation?: {
|
741
1041
|
type: "exact";
|
742
1042
|
term: string;
|
743
1043
|
} | {
|
1044
|
+
type: "within";
|
1045
|
+
location: string;
|
1046
|
+
} | undefined;
|
1047
|
+
updatedBy?: {
|
1048
|
+
type: "exact";
|
1049
|
+
term: string;
|
1050
|
+
} | undefined;
|
1051
|
+
flags?: {
|
1052
|
+
anyOf?: string[] | undefined;
|
1053
|
+
noneOf?: string[] | undefined;
|
1054
|
+
} | undefined;
|
1055
|
+
eventType?: string | undefined;
|
1056
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
744
1057
|
type: "range";
|
745
1058
|
gte: string;
|
746
1059
|
lte: string;
|
1060
|
+
} | {
|
1061
|
+
type: "exact";
|
1062
|
+
term: string;
|
1063
|
+
} | {
|
1064
|
+
type: "timePeriod";
|
1065
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
747
1066
|
} | undefined;
|
748
|
-
'
|
1067
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
749
1068
|
type: "exact";
|
750
1069
|
term: string;
|
751
1070
|
} | {
|
752
1071
|
type: "within";
|
753
1072
|
location: string;
|
754
1073
|
} | undefined;
|
755
|
-
|
1074
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
756
1075
|
type: "exact";
|
757
1076
|
term: string;
|
758
1077
|
} | {
|
759
1078
|
type: "within";
|
760
1079
|
location: string;
|
761
1080
|
} | undefined;
|
762
|
-
|
1081
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
763
1082
|
type: "exact";
|
764
1083
|
term: string;
|
765
1084
|
} | undefined;
|
766
|
-
|
1085
|
+
}>, {
|
1086
|
+
id?: string | undefined;
|
1087
|
+
status?: {
|
1088
|
+
type: "exact";
|
1089
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1090
|
+
} | {
|
767
1091
|
type: "anyOf";
|
768
|
-
terms:
|
1092
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1093
|
+
} | undefined;
|
1094
|
+
data?: any;
|
1095
|
+
createdByUserType?: {
|
1096
|
+
type: "exact";
|
1097
|
+
term: "system" | "user";
|
1098
|
+
} | undefined;
|
1099
|
+
createdAt?: {
|
1100
|
+
type: "range";
|
1101
|
+
gte: string;
|
1102
|
+
lte: string;
|
1103
|
+
} | {
|
1104
|
+
type: "exact";
|
1105
|
+
term: string;
|
769
1106
|
} | {
|
770
|
-
type: "
|
1107
|
+
type: "timePeriod";
|
1108
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1109
|
+
} | undefined;
|
1110
|
+
createdBy?: {
|
1111
|
+
type: "exact";
|
771
1112
|
term: string;
|
772
|
-
}
|
773
|
-
|
1113
|
+
} | undefined;
|
1114
|
+
createdAtLocation?: {
|
774
1115
|
type: "exact";
|
775
1116
|
term: string;
|
776
1117
|
} | {
|
777
1118
|
type: "within";
|
778
1119
|
location: string;
|
779
1120
|
} | undefined;
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
1121
|
+
assignedTo?: {
|
1122
|
+
type: "exact";
|
1123
|
+
term: string;
|
1124
|
+
} | undefined;
|
1125
|
+
updatedAt?: {
|
1126
|
+
type: "range";
|
1127
|
+
gte: string;
|
1128
|
+
lte: string;
|
1129
|
+
} | {
|
1130
|
+
type: "exact";
|
1131
|
+
term: string;
|
1132
|
+
} | {
|
1133
|
+
type: "timePeriod";
|
1134
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1135
|
+
} | undefined;
|
1136
|
+
trackingId?: {
|
1137
|
+
type: "exact";
|
1138
|
+
term: string;
|
1139
|
+
} | undefined;
|
1140
|
+
updatedAtLocation?: {
|
1141
|
+
type: "exact";
|
1142
|
+
term: string;
|
1143
|
+
} | {
|
1144
|
+
type: "within";
|
1145
|
+
location: string;
|
1146
|
+
} | undefined;
|
1147
|
+
updatedBy?: {
|
1148
|
+
type: "exact";
|
1149
|
+
term: string;
|
1150
|
+
} | undefined;
|
1151
|
+
flags?: {
|
1152
|
+
anyOf?: string[] | undefined;
|
1153
|
+
noneOf?: string[] | undefined;
|
1154
|
+
} | undefined;
|
1155
|
+
eventType?: string | undefined;
|
1156
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1157
|
+
type: "range";
|
1158
|
+
gte: string;
|
1159
|
+
lte: string;
|
1160
|
+
} | {
|
1161
|
+
type: "exact";
|
1162
|
+
term: string;
|
1163
|
+
} | {
|
1164
|
+
type: "timePeriod";
|
1165
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1166
|
+
} | undefined;
|
1167
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1168
|
+
type: "exact";
|
1169
|
+
term: string;
|
1170
|
+
} | {
|
1171
|
+
type: "within";
|
1172
|
+
location: string;
|
1173
|
+
} | undefined;
|
1174
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1175
|
+
type: "exact";
|
1176
|
+
term: string;
|
1177
|
+
} | {
|
1178
|
+
type: "within";
|
1179
|
+
location: string;
|
1180
|
+
} | undefined;
|
1181
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1182
|
+
type: "exact";
|
1183
|
+
term: string;
|
1184
|
+
} | undefined;
|
1185
|
+
}, {
|
1186
|
+
id?: string | undefined;
|
1187
|
+
status?: {
|
1188
|
+
type: "exact";
|
1189
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1190
|
+
} | {
|
1191
|
+
type: "anyOf";
|
1192
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1193
|
+
} | undefined;
|
1194
|
+
data?: any;
|
1195
|
+
createdByUserType?: {
|
1196
|
+
type: "exact";
|
1197
|
+
term: "system" | "user";
|
1198
|
+
} | undefined;
|
1199
|
+
createdAt?: {
|
1200
|
+
type: "range";
|
1201
|
+
gte: string;
|
1202
|
+
lte: string;
|
1203
|
+
} | {
|
1204
|
+
type: "exact";
|
1205
|
+
term: string;
|
1206
|
+
} | {
|
1207
|
+
type: "timePeriod";
|
1208
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1209
|
+
} | undefined;
|
1210
|
+
createdBy?: {
|
1211
|
+
type: "exact";
|
1212
|
+
term: string;
|
1213
|
+
} | undefined;
|
1214
|
+
createdAtLocation?: {
|
1215
|
+
type: "exact";
|
1216
|
+
term: string;
|
1217
|
+
} | {
|
1218
|
+
type: "within";
|
1219
|
+
location: string;
|
1220
|
+
} | undefined;
|
1221
|
+
assignedTo?: {
|
1222
|
+
type: "exact";
|
1223
|
+
term: string;
|
1224
|
+
} | undefined;
|
1225
|
+
updatedAt?: {
|
1226
|
+
type: "range";
|
1227
|
+
gte: string;
|
1228
|
+
lte: string;
|
1229
|
+
} | {
|
1230
|
+
type: "exact";
|
1231
|
+
term: string;
|
1232
|
+
} | {
|
1233
|
+
type: "timePeriod";
|
1234
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1235
|
+
} | undefined;
|
1236
|
+
trackingId?: {
|
1237
|
+
type: "exact";
|
1238
|
+
term: string;
|
1239
|
+
} | undefined;
|
1240
|
+
updatedAtLocation?: {
|
1241
|
+
type: "exact";
|
1242
|
+
term: string;
|
1243
|
+
} | {
|
1244
|
+
type: "within";
|
1245
|
+
location: string;
|
1246
|
+
} | undefined;
|
1247
|
+
updatedBy?: {
|
1248
|
+
type: "exact";
|
1249
|
+
term: string;
|
1250
|
+
} | undefined;
|
1251
|
+
flags?: {
|
1252
|
+
anyOf?: string[] | undefined;
|
1253
|
+
noneOf?: string[] | undefined;
|
1254
|
+
} | undefined;
|
1255
|
+
eventType?: string | undefined;
|
1256
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1257
|
+
type: "range";
|
1258
|
+
gte: string;
|
1259
|
+
lte: string;
|
1260
|
+
} | {
|
1261
|
+
type: "exact";
|
1262
|
+
term: string;
|
1263
|
+
} | {
|
1264
|
+
type: "timePeriod";
|
1265
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1266
|
+
} | undefined;
|
1267
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1268
|
+
type: "exact";
|
1269
|
+
term: string;
|
1270
|
+
} | {
|
1271
|
+
type: "within";
|
1272
|
+
location: string;
|
1273
|
+
} | undefined;
|
1274
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1275
|
+
type: "exact";
|
1276
|
+
term: string;
|
1277
|
+
} | {
|
1278
|
+
type: "within";
|
1279
|
+
location: string;
|
1280
|
+
} | undefined;
|
1281
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1282
|
+
type: "exact";
|
1283
|
+
term: string;
|
1284
|
+
} | undefined;
|
1285
|
+
}>;
|
1286
|
+
export declare const QueryType: z.ZodObject<{
|
1287
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
1288
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
1289
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
1290
|
+
eventType: z.ZodOptional<z.ZodString>;
|
1291
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1292
|
+
type: z.ZodLiteral<"anyOf">;
|
1293
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>, "many">;
|
1294
|
+
}, "strip", z.ZodTypeAny, {
|
1295
|
+
type: "anyOf";
|
1296
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1297
|
+
}, {
|
1298
|
+
type: "anyOf";
|
1299
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1300
|
+
}>, z.ZodObject<{
|
795
1301
|
type: z.ZodLiteral<"exact">;
|
796
|
-
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "
|
1302
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "ARCHIVED"]>;
|
797
1303
|
}, "strip", z.ZodTypeAny, {
|
798
1304
|
type: "exact";
|
799
|
-
term: "ARCHIVED" | "
|
1305
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
800
1306
|
}, {
|
801
1307
|
type: "exact";
|
802
|
-
term: "ARCHIVED" | "
|
1308
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
803
1309
|
}>]>>>;
|
804
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1310
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
805
1311
|
type: z.ZodLiteral<"exact">;
|
806
1312
|
term: z.ZodString;
|
807
|
-
},
|
1313
|
+
}, {
|
1314
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1315
|
+
}>, "strip", z.ZodTypeAny, {
|
808
1316
|
type: "exact";
|
809
1317
|
term: string;
|
810
1318
|
}, {
|
@@ -812,8 +1320,8 @@ export declare const QueryType: z.ZodObject<{
|
|
812
1320
|
term: string;
|
813
1321
|
}>, z.ZodObject<{
|
814
1322
|
type: z.ZodLiteral<"range">;
|
815
|
-
gte: z.ZodString
|
816
|
-
lte: z.ZodString
|
1323
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1324
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
817
1325
|
}, "strip", z.ZodTypeAny, {
|
818
1326
|
type: "range";
|
819
1327
|
gte: string;
|
@@ -822,11 +1330,22 @@ export declare const QueryType: z.ZodObject<{
|
|
822
1330
|
type: "range";
|
823
1331
|
gte: string;
|
824
1332
|
lte: string;
|
1333
|
+
}>, z.ZodObject<{
|
1334
|
+
type: z.ZodLiteral<"timePeriod">;
|
1335
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
1337
|
+
type: "timePeriod";
|
1338
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1339
|
+
}, {
|
1340
|
+
type: "timePeriod";
|
1341
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
825
1342
|
}>]>>>;
|
826
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1343
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
827
1344
|
type: z.ZodLiteral<"exact">;
|
828
1345
|
term: z.ZodString;
|
829
|
-
},
|
1346
|
+
}, {
|
1347
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1348
|
+
}>, "strip", z.ZodTypeAny, {
|
830
1349
|
type: "exact";
|
831
1350
|
term: string;
|
832
1351
|
}, {
|
@@ -834,8 +1353,8 @@ export declare const QueryType: z.ZodObject<{
|
|
834
1353
|
term: string;
|
835
1354
|
}>, z.ZodObject<{
|
836
1355
|
type: z.ZodLiteral<"range">;
|
837
|
-
gte: z.ZodString
|
838
|
-
lte: z.ZodString
|
1356
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1357
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
839
1358
|
}, "strip", z.ZodTypeAny, {
|
840
1359
|
type: "range";
|
841
1360
|
gte: string;
|
@@ -844,11 +1363,22 @@ export declare const QueryType: z.ZodObject<{
|
|
844
1363
|
type: "range";
|
845
1364
|
gte: string;
|
846
1365
|
lte: string;
|
1366
|
+
}>, z.ZodObject<{
|
1367
|
+
type: z.ZodLiteral<"timePeriod">;
|
1368
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1369
|
+
}, "strip", z.ZodTypeAny, {
|
1370
|
+
type: "timePeriod";
|
1371
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1372
|
+
}, {
|
1373
|
+
type: "timePeriod";
|
1374
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
847
1375
|
}>]>>>;
|
848
|
-
'
|
1376
|
+
'legalStatuses.REGISTERED.acceptedAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
849
1377
|
type: z.ZodLiteral<"exact">;
|
850
1378
|
term: z.ZodString;
|
851
|
-
},
|
1379
|
+
}, {
|
1380
|
+
term: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1381
|
+
}>, "strip", z.ZodTypeAny, {
|
852
1382
|
type: "exact";
|
853
1383
|
term: string;
|
854
1384
|
}, {
|
@@ -856,8 +1386,8 @@ export declare const QueryType: z.ZodObject<{
|
|
856
1386
|
term: string;
|
857
1387
|
}>, z.ZodObject<{
|
858
1388
|
type: z.ZodLiteral<"range">;
|
859
|
-
gte: z.ZodString
|
860
|
-
lte: z.ZodString
|
1389
|
+
gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
1390
|
+
lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
861
1391
|
}, "strip", z.ZodTypeAny, {
|
862
1392
|
type: "range";
|
863
1393
|
gte: string;
|
@@ -866,8 +1396,36 @@ export declare const QueryType: z.ZodObject<{
|
|
866
1396
|
type: "range";
|
867
1397
|
gte: string;
|
868
1398
|
lte: string;
|
1399
|
+
}>, z.ZodObject<{
|
1400
|
+
type: z.ZodLiteral<"timePeriod">;
|
1401
|
+
term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
|
1402
|
+
}, "strip", z.ZodTypeAny, {
|
1403
|
+
type: "timePeriod";
|
1404
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1405
|
+
}, {
|
1406
|
+
type: "timePeriod";
|
1407
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1408
|
+
}>]>>>;
|
1409
|
+
'legalStatuses.DECLARED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1410
|
+
type: z.ZodLiteral<"within">;
|
1411
|
+
location: z.ZodString;
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
1413
|
+
type: "within";
|
1414
|
+
location: string;
|
1415
|
+
}, {
|
1416
|
+
type: "within";
|
1417
|
+
location: string;
|
1418
|
+
}>, z.ZodObject<{
|
1419
|
+
type: z.ZodLiteral<"exact">;
|
1420
|
+
term: z.ZodString;
|
1421
|
+
}, "strip", z.ZodTypeAny, {
|
1422
|
+
type: "exact";
|
1423
|
+
term: string;
|
1424
|
+
}, {
|
1425
|
+
type: "exact";
|
1426
|
+
term: string;
|
869
1427
|
}>]>>>;
|
870
|
-
'
|
1428
|
+
'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
871
1429
|
type: z.ZodLiteral<"within">;
|
872
1430
|
location: z.ZodString;
|
873
1431
|
}, "strip", z.ZodTypeAny, {
|
@@ -886,7 +1444,17 @@ export declare const QueryType: z.ZodObject<{
|
|
886
1444
|
type: "exact";
|
887
1445
|
term: string;
|
888
1446
|
}>]>>>;
|
889
|
-
|
1447
|
+
'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1448
|
+
type: z.ZodLiteral<"exact">;
|
1449
|
+
term: z.ZodString;
|
1450
|
+
}, "strip", z.ZodTypeAny, {
|
1451
|
+
type: "exact";
|
1452
|
+
term: string;
|
1453
|
+
}, {
|
1454
|
+
type: "exact";
|
1455
|
+
term: string;
|
1456
|
+
}>>>;
|
1457
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
890
1458
|
type: z.ZodLiteral<"within">;
|
891
1459
|
location: z.ZodString;
|
892
1460
|
}, "strip", z.ZodTypeAny, {
|
@@ -920,108 +1488,535 @@ export declare const QueryType: z.ZodObject<{
|
|
920
1488
|
}, "strip", z.ZodTypeAny, {
|
921
1489
|
type: "exact";
|
922
1490
|
term: string;
|
923
|
-
}, {
|
1491
|
+
}, {
|
1492
|
+
type: "exact";
|
1493
|
+
term: string;
|
1494
|
+
}>]>>>;
|
1495
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1496
|
+
type: z.ZodLiteral<"exact">;
|
1497
|
+
term: z.ZodString;
|
1498
|
+
}, "strip", z.ZodTypeAny, {
|
1499
|
+
type: "exact";
|
1500
|
+
term: string;
|
1501
|
+
}, {
|
1502
|
+
type: "exact";
|
1503
|
+
term: string;
|
1504
|
+
}>>>;
|
1505
|
+
createdByUserType: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1506
|
+
type: z.ZodLiteral<"exact">;
|
1507
|
+
term: z.ZodEnum<["user", "system"]>;
|
1508
|
+
}, "strip", z.ZodTypeAny, {
|
1509
|
+
type: "exact";
|
1510
|
+
term: "system" | "user";
|
1511
|
+
}, {
|
1512
|
+
type: "exact";
|
1513
|
+
term: "system" | "user";
|
1514
|
+
}>>>;
|
1515
|
+
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1516
|
+
type: z.ZodLiteral<"exact">;
|
1517
|
+
term: z.ZodString;
|
1518
|
+
}, "strip", z.ZodTypeAny, {
|
1519
|
+
type: "exact";
|
1520
|
+
term: string;
|
1521
|
+
}, {
|
1522
|
+
type: "exact";
|
1523
|
+
term: string;
|
1524
|
+
}>>>;
|
1525
|
+
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1526
|
+
type: z.ZodLiteral<"exact">;
|
1527
|
+
term: z.ZodString;
|
1528
|
+
}, "strip", z.ZodTypeAny, {
|
1529
|
+
type: "exact";
|
1530
|
+
term: string;
|
1531
|
+
}, {
|
1532
|
+
type: "exact";
|
1533
|
+
term: string;
|
1534
|
+
}>>>;
|
1535
|
+
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1536
|
+
type: z.ZodLiteral<"exact">;
|
1537
|
+
term: z.ZodString;
|
1538
|
+
}, "strip", z.ZodTypeAny, {
|
1539
|
+
type: "exact";
|
1540
|
+
term: string;
|
1541
|
+
}, {
|
1542
|
+
type: "exact";
|
1543
|
+
term: string;
|
1544
|
+
}>>>;
|
1545
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1546
|
+
anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1547
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
1548
|
+
readonly INCOMPLETE: "incomplete";
|
1549
|
+
readonly REJECTED: "rejected";
|
1550
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1551
|
+
}>]>, "many">>;
|
1552
|
+
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
1553
|
+
readonly PENDING_CERTIFICATION: "pending-certification";
|
1554
|
+
readonly INCOMPLETE: "incomplete";
|
1555
|
+
readonly REJECTED: "rejected";
|
1556
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
1557
|
+
}>]>, "many">>;
|
1558
|
+
}, "strip", z.ZodTypeAny, {
|
1559
|
+
anyOf?: string[] | undefined;
|
1560
|
+
noneOf?: string[] | undefined;
|
1561
|
+
}, {
|
1562
|
+
anyOf?: string[] | undefined;
|
1563
|
+
noneOf?: string[] | undefined;
|
1564
|
+
}>>>;
|
1565
|
+
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
1566
|
+
}, "strip", z.ZodTypeAny, {
|
1567
|
+
id?: string | undefined;
|
1568
|
+
status?: {
|
1569
|
+
type: "exact";
|
1570
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1571
|
+
} | {
|
1572
|
+
type: "anyOf";
|
1573
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1574
|
+
} | undefined;
|
1575
|
+
data?: any;
|
1576
|
+
createdByUserType?: {
|
1577
|
+
type: "exact";
|
1578
|
+
term: "system" | "user";
|
1579
|
+
} | undefined;
|
1580
|
+
createdAt?: {
|
1581
|
+
type: "range";
|
1582
|
+
gte: string;
|
1583
|
+
lte: string;
|
1584
|
+
} | {
|
1585
|
+
type: "exact";
|
1586
|
+
term: string;
|
1587
|
+
} | {
|
1588
|
+
type: "timePeriod";
|
1589
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1590
|
+
} | undefined;
|
1591
|
+
createdBy?: {
|
1592
|
+
type: "exact";
|
1593
|
+
term: string;
|
1594
|
+
} | undefined;
|
1595
|
+
createdAtLocation?: {
|
1596
|
+
type: "exact";
|
1597
|
+
term: string;
|
1598
|
+
} | {
|
1599
|
+
type: "within";
|
1600
|
+
location: string;
|
1601
|
+
} | undefined;
|
1602
|
+
assignedTo?: {
|
1603
|
+
type: "exact";
|
1604
|
+
term: string;
|
1605
|
+
} | undefined;
|
1606
|
+
updatedAt?: {
|
1607
|
+
type: "range";
|
1608
|
+
gte: string;
|
1609
|
+
lte: string;
|
1610
|
+
} | {
|
1611
|
+
type: "exact";
|
1612
|
+
term: string;
|
1613
|
+
} | {
|
1614
|
+
type: "timePeriod";
|
1615
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1616
|
+
} | undefined;
|
1617
|
+
trackingId?: {
|
1618
|
+
type: "exact";
|
1619
|
+
term: string;
|
1620
|
+
} | undefined;
|
1621
|
+
updatedAtLocation?: {
|
1622
|
+
type: "exact";
|
1623
|
+
term: string;
|
1624
|
+
} | {
|
1625
|
+
type: "within";
|
1626
|
+
location: string;
|
1627
|
+
} | undefined;
|
1628
|
+
updatedBy?: {
|
1629
|
+
type: "exact";
|
1630
|
+
term: string;
|
1631
|
+
} | undefined;
|
1632
|
+
flags?: {
|
1633
|
+
anyOf?: string[] | undefined;
|
1634
|
+
noneOf?: string[] | undefined;
|
1635
|
+
} | undefined;
|
1636
|
+
eventType?: string | undefined;
|
1637
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1638
|
+
type: "range";
|
1639
|
+
gte: string;
|
1640
|
+
lte: string;
|
1641
|
+
} | {
|
1642
|
+
type: "exact";
|
1643
|
+
term: string;
|
1644
|
+
} | {
|
1645
|
+
type: "timePeriod";
|
1646
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1647
|
+
} | undefined;
|
1648
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1649
|
+
type: "exact";
|
1650
|
+
term: string;
|
1651
|
+
} | {
|
1652
|
+
type: "within";
|
1653
|
+
location: string;
|
1654
|
+
} | undefined;
|
1655
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1656
|
+
type: "exact";
|
1657
|
+
term: string;
|
1658
|
+
} | {
|
1659
|
+
type: "within";
|
1660
|
+
location: string;
|
1661
|
+
} | undefined;
|
1662
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1663
|
+
type: "exact";
|
1664
|
+
term: string;
|
1665
|
+
} | undefined;
|
1666
|
+
}, {
|
1667
|
+
id?: string | undefined;
|
1668
|
+
status?: {
|
1669
|
+
type: "exact";
|
1670
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1671
|
+
} | {
|
1672
|
+
type: "anyOf";
|
1673
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1674
|
+
} | undefined;
|
1675
|
+
data?: any;
|
1676
|
+
createdByUserType?: {
|
1677
|
+
type: "exact";
|
1678
|
+
term: "system" | "user";
|
1679
|
+
} | undefined;
|
1680
|
+
createdAt?: {
|
1681
|
+
type: "range";
|
1682
|
+
gte: string;
|
1683
|
+
lte: string;
|
1684
|
+
} | {
|
1685
|
+
type: "exact";
|
1686
|
+
term: string;
|
1687
|
+
} | {
|
1688
|
+
type: "timePeriod";
|
1689
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1690
|
+
} | undefined;
|
1691
|
+
createdBy?: {
|
1692
|
+
type: "exact";
|
1693
|
+
term: string;
|
1694
|
+
} | undefined;
|
1695
|
+
createdAtLocation?: {
|
1696
|
+
type: "exact";
|
1697
|
+
term: string;
|
1698
|
+
} | {
|
1699
|
+
type: "within";
|
1700
|
+
location: string;
|
1701
|
+
} | undefined;
|
1702
|
+
assignedTo?: {
|
1703
|
+
type: "exact";
|
1704
|
+
term: string;
|
1705
|
+
} | undefined;
|
1706
|
+
updatedAt?: {
|
1707
|
+
type: "range";
|
1708
|
+
gte: string;
|
1709
|
+
lte: string;
|
1710
|
+
} | {
|
1711
|
+
type: "exact";
|
1712
|
+
term: string;
|
1713
|
+
} | {
|
1714
|
+
type: "timePeriod";
|
1715
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1716
|
+
} | undefined;
|
1717
|
+
trackingId?: {
|
1718
|
+
type: "exact";
|
1719
|
+
term: string;
|
1720
|
+
} | undefined;
|
1721
|
+
updatedAtLocation?: {
|
1722
|
+
type: "exact";
|
1723
|
+
term: string;
|
1724
|
+
} | {
|
1725
|
+
type: "within";
|
1726
|
+
location: string;
|
1727
|
+
} | undefined;
|
1728
|
+
updatedBy?: {
|
1729
|
+
type: "exact";
|
1730
|
+
term: string;
|
1731
|
+
} | undefined;
|
1732
|
+
flags?: {
|
1733
|
+
anyOf?: string[] | undefined;
|
1734
|
+
noneOf?: string[] | undefined;
|
1735
|
+
} | undefined;
|
1736
|
+
eventType?: string | undefined;
|
1737
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1738
|
+
type: "range";
|
1739
|
+
gte: string;
|
1740
|
+
lte: string;
|
1741
|
+
} | {
|
1742
|
+
type: "exact";
|
1743
|
+
term: string;
|
1744
|
+
} | {
|
1745
|
+
type: "timePeriod";
|
1746
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1747
|
+
} | undefined;
|
1748
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1749
|
+
type: "exact";
|
1750
|
+
term: string;
|
1751
|
+
} | {
|
1752
|
+
type: "within";
|
1753
|
+
location: string;
|
1754
|
+
} | undefined;
|
1755
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1756
|
+
type: "exact";
|
1757
|
+
term: string;
|
1758
|
+
} | {
|
1759
|
+
type: "within";
|
1760
|
+
location: string;
|
1761
|
+
} | undefined;
|
1762
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1763
|
+
type: "exact";
|
1764
|
+
term: string;
|
1765
|
+
} | undefined;
|
1766
|
+
}>, {
|
1767
|
+
id?: string | undefined;
|
1768
|
+
status?: {
|
1769
|
+
type: "exact";
|
1770
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1771
|
+
} | {
|
1772
|
+
type: "anyOf";
|
1773
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1774
|
+
} | undefined;
|
1775
|
+
data?: any;
|
1776
|
+
createdByUserType?: {
|
1777
|
+
type: "exact";
|
1778
|
+
term: "system" | "user";
|
1779
|
+
} | undefined;
|
1780
|
+
createdAt?: {
|
1781
|
+
type: "range";
|
1782
|
+
gte: string;
|
1783
|
+
lte: string;
|
1784
|
+
} | {
|
1785
|
+
type: "exact";
|
1786
|
+
term: string;
|
1787
|
+
} | {
|
1788
|
+
type: "timePeriod";
|
1789
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1790
|
+
} | undefined;
|
1791
|
+
createdBy?: {
|
1792
|
+
type: "exact";
|
1793
|
+
term: string;
|
1794
|
+
} | undefined;
|
1795
|
+
createdAtLocation?: {
|
1796
|
+
type: "exact";
|
1797
|
+
term: string;
|
1798
|
+
} | {
|
1799
|
+
type: "within";
|
1800
|
+
location: string;
|
1801
|
+
} | undefined;
|
1802
|
+
assignedTo?: {
|
1803
|
+
type: "exact";
|
1804
|
+
term: string;
|
1805
|
+
} | undefined;
|
1806
|
+
updatedAt?: {
|
1807
|
+
type: "range";
|
1808
|
+
gte: string;
|
1809
|
+
lte: string;
|
1810
|
+
} | {
|
1811
|
+
type: "exact";
|
1812
|
+
term: string;
|
1813
|
+
} | {
|
1814
|
+
type: "timePeriod";
|
1815
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1816
|
+
} | undefined;
|
1817
|
+
trackingId?: {
|
1818
|
+
type: "exact";
|
1819
|
+
term: string;
|
1820
|
+
} | undefined;
|
1821
|
+
updatedAtLocation?: {
|
1822
|
+
type: "exact";
|
1823
|
+
term: string;
|
1824
|
+
} | {
|
1825
|
+
type: "within";
|
1826
|
+
location: string;
|
1827
|
+
} | undefined;
|
1828
|
+
updatedBy?: {
|
1829
|
+
type: "exact";
|
1830
|
+
term: string;
|
1831
|
+
} | undefined;
|
1832
|
+
flags?: {
|
1833
|
+
anyOf?: string[] | undefined;
|
1834
|
+
noneOf?: string[] | undefined;
|
1835
|
+
} | undefined;
|
1836
|
+
eventType?: string | undefined;
|
1837
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1838
|
+
type: "range";
|
1839
|
+
gte: string;
|
1840
|
+
lte: string;
|
1841
|
+
} | {
|
1842
|
+
type: "exact";
|
1843
|
+
term: string;
|
1844
|
+
} | {
|
1845
|
+
type: "timePeriod";
|
1846
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1847
|
+
} | undefined;
|
1848
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1849
|
+
type: "exact";
|
1850
|
+
term: string;
|
1851
|
+
} | {
|
1852
|
+
type: "within";
|
1853
|
+
location: string;
|
1854
|
+
} | undefined;
|
1855
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1856
|
+
type: "exact";
|
1857
|
+
term: string;
|
1858
|
+
} | {
|
1859
|
+
type: "within";
|
1860
|
+
location: string;
|
1861
|
+
} | undefined;
|
1862
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
1863
|
+
type: "exact";
|
1864
|
+
term: string;
|
1865
|
+
} | undefined;
|
1866
|
+
}, {
|
1867
|
+
id?: string | undefined;
|
1868
|
+
status?: {
|
1869
|
+
type: "exact";
|
1870
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1871
|
+
} | {
|
1872
|
+
type: "anyOf";
|
1873
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1874
|
+
} | undefined;
|
1875
|
+
data?: any;
|
1876
|
+
createdByUserType?: {
|
1877
|
+
type: "exact";
|
1878
|
+
term: "system" | "user";
|
1879
|
+
} | undefined;
|
1880
|
+
createdAt?: {
|
1881
|
+
type: "range";
|
1882
|
+
gte: string;
|
1883
|
+
lte: string;
|
1884
|
+
} | {
|
1885
|
+
type: "exact";
|
1886
|
+
term: string;
|
1887
|
+
} | {
|
1888
|
+
type: "timePeriod";
|
1889
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1890
|
+
} | undefined;
|
1891
|
+
createdBy?: {
|
1892
|
+
type: "exact";
|
1893
|
+
term: string;
|
1894
|
+
} | undefined;
|
1895
|
+
createdAtLocation?: {
|
1896
|
+
type: "exact";
|
1897
|
+
term: string;
|
1898
|
+
} | {
|
1899
|
+
type: "within";
|
1900
|
+
location: string;
|
1901
|
+
} | undefined;
|
1902
|
+
assignedTo?: {
|
1903
|
+
type: "exact";
|
1904
|
+
term: string;
|
1905
|
+
} | undefined;
|
1906
|
+
updatedAt?: {
|
1907
|
+
type: "range";
|
1908
|
+
gte: string;
|
1909
|
+
lte: string;
|
1910
|
+
} | {
|
1911
|
+
type: "exact";
|
1912
|
+
term: string;
|
1913
|
+
} | {
|
1914
|
+
type: "timePeriod";
|
1915
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1916
|
+
} | undefined;
|
1917
|
+
trackingId?: {
|
924
1918
|
type: "exact";
|
925
1919
|
term: string;
|
926
|
-
}
|
927
|
-
|
928
|
-
type: z.ZodLiteral<"exact">;
|
929
|
-
term: z.ZodString;
|
930
|
-
}, "strip", z.ZodTypeAny, {
|
1920
|
+
} | undefined;
|
1921
|
+
updatedAtLocation?: {
|
931
1922
|
type: "exact";
|
932
1923
|
term: string;
|
933
|
-
}
|
1924
|
+
} | {
|
1925
|
+
type: "within";
|
1926
|
+
location: string;
|
1927
|
+
} | undefined;
|
1928
|
+
updatedBy?: {
|
934
1929
|
type: "exact";
|
935
1930
|
term: string;
|
936
|
-
}
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
}
|
1931
|
+
} | undefined;
|
1932
|
+
flags?: {
|
1933
|
+
anyOf?: string[] | undefined;
|
1934
|
+
noneOf?: string[] | undefined;
|
1935
|
+
} | undefined;
|
1936
|
+
eventType?: string | undefined;
|
1937
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
1938
|
+
type: "range";
|
1939
|
+
gte: string;
|
1940
|
+
lte: string;
|
1941
|
+
} | {
|
941
1942
|
type: "exact";
|
942
1943
|
term: string;
|
943
|
-
}
|
1944
|
+
} | {
|
1945
|
+
type: "timePeriod";
|
1946
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1947
|
+
} | undefined;
|
1948
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
944
1949
|
type: "exact";
|
945
1950
|
term: string;
|
946
|
-
}
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
1951
|
+
} | {
|
1952
|
+
type: "within";
|
1953
|
+
location: string;
|
1954
|
+
} | undefined;
|
1955
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
951
1956
|
type: "exact";
|
952
1957
|
term: string;
|
953
|
-
}
|
1958
|
+
} | {
|
1959
|
+
type: "within";
|
1960
|
+
location: string;
|
1961
|
+
} | undefined;
|
1962
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
954
1963
|
type: "exact";
|
955
1964
|
term: string;
|
956
|
-
}
|
957
|
-
|
958
|
-
|
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">;
|
968
|
-
term: z.ZodString;
|
969
|
-
}, "strip", z.ZodTypeAny, {
|
970
|
-
type: "not";
|
971
|
-
term: string;
|
972
|
-
}, {
|
973
|
-
type: "not";
|
974
|
-
term: string;
|
975
|
-
}>]>, "many">>>;
|
976
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
977
|
-
}, "strip", z.ZodTypeAny, {
|
1965
|
+
} | undefined;
|
1966
|
+
}>, "atleastone">, [{
|
1967
|
+
id?: string | undefined;
|
978
1968
|
status?: {
|
979
1969
|
type: "exact";
|
980
|
-
term: "ARCHIVED" | "
|
1970
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
981
1971
|
} | {
|
982
1972
|
type: "anyOf";
|
983
|
-
terms: ("ARCHIVED" | "
|
1973
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
984
1974
|
} | undefined;
|
985
1975
|
data?: any;
|
986
|
-
|
1976
|
+
createdByUserType?: {
|
987
1977
|
type: "exact";
|
988
|
-
term:
|
989
|
-
} |
|
1978
|
+
term: "system" | "user";
|
1979
|
+
} | undefined;
|
1980
|
+
createdAt?: {
|
990
1981
|
type: "range";
|
991
1982
|
gte: string;
|
992
1983
|
lte: string;
|
1984
|
+
} | {
|
1985
|
+
type: "exact";
|
1986
|
+
term: string;
|
1987
|
+
} | {
|
1988
|
+
type: "timePeriod";
|
1989
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
993
1990
|
} | undefined;
|
994
1991
|
createdBy?: {
|
995
1992
|
type: "exact";
|
996
1993
|
term: string;
|
997
1994
|
} | undefined;
|
998
|
-
|
1995
|
+
createdAtLocation?: {
|
999
1996
|
type: "exact";
|
1000
1997
|
term: string;
|
1001
1998
|
} | {
|
1002
|
-
type: "
|
1003
|
-
|
1004
|
-
lte: string;
|
1999
|
+
type: "within";
|
2000
|
+
location: string;
|
1005
2001
|
} | undefined;
|
1006
|
-
|
2002
|
+
assignedTo?: {
|
1007
2003
|
type: "exact";
|
1008
2004
|
term: string;
|
1009
2005
|
} | undefined;
|
1010
|
-
|
1011
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1012
|
-
type: "exact";
|
1013
|
-
term: string;
|
1014
|
-
} | {
|
2006
|
+
updatedAt?: {
|
1015
2007
|
type: "range";
|
1016
2008
|
gte: string;
|
1017
2009
|
lte: string;
|
1018
|
-
} |
|
1019
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
2010
|
+
} | {
|
1020
2011
|
type: "exact";
|
1021
2012
|
term: string;
|
1022
2013
|
} | {
|
1023
|
-
type: "
|
1024
|
-
|
2014
|
+
type: "timePeriod";
|
2015
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2016
|
+
} | undefined;
|
2017
|
+
trackingId?: {
|
2018
|
+
type: "exact";
|
2019
|
+
term: string;
|
1025
2020
|
} | undefined;
|
1026
2021
|
updatedAtLocation?: {
|
1027
2022
|
type: "exact";
|
@@ -1034,68 +2029,94 @@ export declare const QueryType: z.ZodObject<{
|
|
1034
2029
|
type: "exact";
|
1035
2030
|
term: string;
|
1036
2031
|
} | undefined;
|
1037
|
-
flags?:
|
1038
|
-
|
1039
|
-
|
2032
|
+
flags?: {
|
2033
|
+
anyOf?: string[] | undefined;
|
2034
|
+
noneOf?: string[] | undefined;
|
2035
|
+
} | undefined;
|
2036
|
+
eventType?: string | undefined;
|
2037
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2038
|
+
type: "range";
|
2039
|
+
gte: string;
|
2040
|
+
lte: string;
|
1040
2041
|
} | {
|
1041
|
-
type: "
|
2042
|
+
type: "exact";
|
1042
2043
|
term: string;
|
1043
|
-
}
|
1044
|
-
|
2044
|
+
} | {
|
2045
|
+
type: "timePeriod";
|
2046
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2047
|
+
} | undefined;
|
2048
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1045
2049
|
type: "exact";
|
1046
2050
|
term: string;
|
1047
2051
|
} | {
|
1048
2052
|
type: "within";
|
1049
2053
|
location: string;
|
1050
2054
|
} | undefined;
|
1051
|
-
|
2055
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2056
|
+
type: "exact";
|
2057
|
+
term: string;
|
2058
|
+
} | {
|
2059
|
+
type: "within";
|
2060
|
+
location: string;
|
2061
|
+
} | undefined;
|
2062
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2063
|
+
type: "exact";
|
2064
|
+
term: string;
|
2065
|
+
} | undefined;
|
2066
|
+
}, ...{
|
2067
|
+
id?: string | undefined;
|
1052
2068
|
status?: {
|
1053
2069
|
type: "exact";
|
1054
|
-
term: "ARCHIVED" | "
|
2070
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1055
2071
|
} | {
|
1056
2072
|
type: "anyOf";
|
1057
|
-
terms: ("ARCHIVED" | "
|
2073
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1058
2074
|
} | undefined;
|
1059
2075
|
data?: any;
|
1060
|
-
|
2076
|
+
createdByUserType?: {
|
1061
2077
|
type: "exact";
|
1062
|
-
term:
|
1063
|
-
} |
|
2078
|
+
term: "system" | "user";
|
2079
|
+
} | undefined;
|
2080
|
+
createdAt?: {
|
1064
2081
|
type: "range";
|
1065
2082
|
gte: string;
|
1066
2083
|
lte: string;
|
2084
|
+
} | {
|
2085
|
+
type: "exact";
|
2086
|
+
term: string;
|
2087
|
+
} | {
|
2088
|
+
type: "timePeriod";
|
2089
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1067
2090
|
} | undefined;
|
1068
2091
|
createdBy?: {
|
1069
2092
|
type: "exact";
|
1070
2093
|
term: string;
|
1071
2094
|
} | undefined;
|
1072
|
-
|
2095
|
+
createdAtLocation?: {
|
1073
2096
|
type: "exact";
|
1074
2097
|
term: string;
|
1075
2098
|
} | {
|
1076
|
-
type: "
|
1077
|
-
|
1078
|
-
lte: string;
|
2099
|
+
type: "within";
|
2100
|
+
location: string;
|
1079
2101
|
} | undefined;
|
1080
|
-
|
2102
|
+
assignedTo?: {
|
1081
2103
|
type: "exact";
|
1082
2104
|
term: string;
|
1083
2105
|
} | undefined;
|
1084
|
-
|
1085
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1086
|
-
type: "exact";
|
1087
|
-
term: string;
|
1088
|
-
} | {
|
2106
|
+
updatedAt?: {
|
1089
2107
|
type: "range";
|
1090
2108
|
gte: string;
|
1091
2109
|
lte: string;
|
1092
|
-
} |
|
1093
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
2110
|
+
} | {
|
1094
2111
|
type: "exact";
|
1095
2112
|
term: string;
|
1096
2113
|
} | {
|
1097
|
-
type: "
|
1098
|
-
|
2114
|
+
type: "timePeriod";
|
2115
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2116
|
+
} | undefined;
|
2117
|
+
trackingId?: {
|
2118
|
+
type: "exact";
|
2119
|
+
term: string;
|
1099
2120
|
} | undefined;
|
1100
2121
|
updatedAtLocation?: {
|
1101
2122
|
type: "exact";
|
@@ -1108,68 +2129,97 @@ export declare const QueryType: z.ZodObject<{
|
|
1108
2129
|
type: "exact";
|
1109
2130
|
term: string;
|
1110
2131
|
} | undefined;
|
1111
|
-
flags?:
|
1112
|
-
|
1113
|
-
|
2132
|
+
flags?: {
|
2133
|
+
anyOf?: string[] | undefined;
|
2134
|
+
noneOf?: string[] | undefined;
|
2135
|
+
} | undefined;
|
2136
|
+
eventType?: string | undefined;
|
2137
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2138
|
+
type: "range";
|
2139
|
+
gte: string;
|
2140
|
+
lte: string;
|
2141
|
+
} | {
|
2142
|
+
type: "exact";
|
2143
|
+
term: string;
|
1114
2144
|
} | {
|
1115
|
-
type: "
|
2145
|
+
type: "timePeriod";
|
2146
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2147
|
+
} | undefined;
|
2148
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2149
|
+
type: "exact";
|
1116
2150
|
term: string;
|
1117
|
-
}
|
1118
|
-
|
2151
|
+
} | {
|
2152
|
+
type: "within";
|
2153
|
+
location: string;
|
2154
|
+
} | undefined;
|
2155
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1119
2156
|
type: "exact";
|
1120
2157
|
term: string;
|
1121
2158
|
} | {
|
1122
2159
|
type: "within";
|
1123
2160
|
location: string;
|
1124
2161
|
} | undefined;
|
1125
|
-
|
2162
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2163
|
+
type: "exact";
|
2164
|
+
term: string;
|
2165
|
+
} | undefined;
|
2166
|
+
}[]], unknown>;
|
2167
|
+
}, "strip", z.ZodTypeAny, {
|
2168
|
+
type: "and" | "or";
|
2169
|
+
clauses: [{
|
2170
|
+
id?: string | undefined;
|
1126
2171
|
status?: {
|
1127
2172
|
type: "exact";
|
1128
|
-
term: "ARCHIVED" | "
|
2173
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1129
2174
|
} | {
|
1130
2175
|
type: "anyOf";
|
1131
|
-
terms: ("ARCHIVED" | "
|
2176
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1132
2177
|
} | undefined;
|
1133
2178
|
data?: any;
|
1134
|
-
|
2179
|
+
createdByUserType?: {
|
1135
2180
|
type: "exact";
|
1136
|
-
term:
|
1137
|
-
} |
|
2181
|
+
term: "system" | "user";
|
2182
|
+
} | undefined;
|
2183
|
+
createdAt?: {
|
1138
2184
|
type: "range";
|
1139
2185
|
gte: string;
|
1140
2186
|
lte: string;
|
2187
|
+
} | {
|
2188
|
+
type: "exact";
|
2189
|
+
term: string;
|
2190
|
+
} | {
|
2191
|
+
type: "timePeriod";
|
2192
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1141
2193
|
} | undefined;
|
1142
2194
|
createdBy?: {
|
1143
2195
|
type: "exact";
|
1144
2196
|
term: string;
|
1145
2197
|
} | undefined;
|
1146
|
-
|
2198
|
+
createdAtLocation?: {
|
1147
2199
|
type: "exact";
|
1148
2200
|
term: string;
|
1149
2201
|
} | {
|
1150
|
-
type: "
|
1151
|
-
|
1152
|
-
lte: string;
|
2202
|
+
type: "within";
|
2203
|
+
location: string;
|
1153
2204
|
} | undefined;
|
1154
|
-
|
2205
|
+
assignedTo?: {
|
1155
2206
|
type: "exact";
|
1156
2207
|
term: string;
|
1157
2208
|
} | undefined;
|
1158
|
-
|
1159
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1160
|
-
type: "exact";
|
1161
|
-
term: string;
|
1162
|
-
} | {
|
2209
|
+
updatedAt?: {
|
1163
2210
|
type: "range";
|
1164
2211
|
gte: string;
|
1165
2212
|
lte: string;
|
1166
|
-
} |
|
1167
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
2213
|
+
} | {
|
1168
2214
|
type: "exact";
|
1169
2215
|
term: string;
|
1170
2216
|
} | {
|
1171
|
-
type: "
|
1172
|
-
|
2217
|
+
type: "timePeriod";
|
2218
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2219
|
+
} | undefined;
|
2220
|
+
trackingId?: {
|
2221
|
+
type: "exact";
|
2222
|
+
term: string;
|
1173
2223
|
} | undefined;
|
1174
2224
|
updatedAtLocation?: {
|
1175
2225
|
type: "exact";
|
@@ -1182,71 +2232,94 @@ export declare const QueryType: z.ZodObject<{
|
|
1182
2232
|
type: "exact";
|
1183
2233
|
term: string;
|
1184
2234
|
} | undefined;
|
1185
|
-
flags?:
|
1186
|
-
|
1187
|
-
|
2235
|
+
flags?: {
|
2236
|
+
anyOf?: string[] | undefined;
|
2237
|
+
noneOf?: string[] | undefined;
|
2238
|
+
} | undefined;
|
2239
|
+
eventType?: string | undefined;
|
2240
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2241
|
+
type: "range";
|
2242
|
+
gte: string;
|
2243
|
+
lte: string;
|
1188
2244
|
} | {
|
1189
|
-
type: "
|
2245
|
+
type: "exact";
|
1190
2246
|
term: string;
|
1191
|
-
}
|
1192
|
-
|
2247
|
+
} | {
|
2248
|
+
type: "timePeriod";
|
2249
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2250
|
+
} | undefined;
|
2251
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
1193
2252
|
type: "exact";
|
1194
2253
|
term: string;
|
1195
2254
|
} | {
|
1196
2255
|
type: "within";
|
1197
2256
|
location: string;
|
1198
2257
|
} | undefined;
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
2258
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
2259
|
+
type: "exact";
|
2260
|
+
term: string;
|
2261
|
+
} | {
|
2262
|
+
type: "within";
|
2263
|
+
location: string;
|
2264
|
+
} | undefined;
|
2265
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2266
|
+
type: "exact";
|
2267
|
+
term: string;
|
2268
|
+
} | undefined;
|
2269
|
+
}, ...{
|
2270
|
+
id?: string | undefined;
|
1203
2271
|
status?: {
|
1204
2272
|
type: "exact";
|
1205
|
-
term: "ARCHIVED" | "
|
2273
|
+
term: "ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1206
2274
|
} | {
|
1207
2275
|
type: "anyOf";
|
1208
|
-
terms: ("ARCHIVED" | "
|
2276
|
+
terms: ("ARCHIVED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1209
2277
|
} | undefined;
|
1210
2278
|
data?: any;
|
1211
|
-
|
2279
|
+
createdByUserType?: {
|
1212
2280
|
type: "exact";
|
1213
|
-
term:
|
1214
|
-
} |
|
2281
|
+
term: "system" | "user";
|
2282
|
+
} | undefined;
|
2283
|
+
createdAt?: {
|
1215
2284
|
type: "range";
|
1216
2285
|
gte: string;
|
1217
2286
|
lte: string;
|
2287
|
+
} | {
|
2288
|
+
type: "exact";
|
2289
|
+
term: string;
|
2290
|
+
} | {
|
2291
|
+
type: "timePeriod";
|
2292
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
1218
2293
|
} | undefined;
|
1219
2294
|
createdBy?: {
|
1220
2295
|
type: "exact";
|
1221
2296
|
term: string;
|
1222
2297
|
} | undefined;
|
1223
|
-
|
2298
|
+
createdAtLocation?: {
|
1224
2299
|
type: "exact";
|
1225
2300
|
term: string;
|
1226
2301
|
} | {
|
1227
|
-
type: "
|
1228
|
-
|
1229
|
-
lte: string;
|
2302
|
+
type: "within";
|
2303
|
+
location: string;
|
1230
2304
|
} | undefined;
|
1231
|
-
|
2305
|
+
assignedTo?: {
|
1232
2306
|
type: "exact";
|
1233
2307
|
term: string;
|
1234
2308
|
} | undefined;
|
1235
|
-
|
1236
|
-
'legalStatus.REGISTERED.createdAt'?: {
|
1237
|
-
type: "exact";
|
1238
|
-
term: string;
|
1239
|
-
} | {
|
2309
|
+
updatedAt?: {
|
1240
2310
|
type: "range";
|
1241
2311
|
gte: string;
|
1242
2312
|
lte: string;
|
1243
|
-
} |
|
1244
|
-
'legalStatus.REGISTERED.createdAtLocation'?: {
|
2313
|
+
} | {
|
1245
2314
|
type: "exact";
|
1246
2315
|
term: string;
|
1247
2316
|
} | {
|
1248
|
-
type: "
|
1249
|
-
|
2317
|
+
type: "timePeriod";
|
2318
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2319
|
+
} | undefined;
|
2320
|
+
trackingId?: {
|
2321
|
+
type: "exact";
|
2322
|
+
term: string;
|
1250
2323
|
} | undefined;
|
1251
2324
|
updatedAtLocation?: {
|
1252
2325
|
type: "exact";
|
@@ -1259,26 +2332,51 @@ export declare const QueryType: z.ZodObject<{
|
|
1259
2332
|
type: "exact";
|
1260
2333
|
term: string;
|
1261
2334
|
} | undefined;
|
1262
|
-
flags?:
|
1263
|
-
|
1264
|
-
|
2335
|
+
flags?: {
|
2336
|
+
anyOf?: string[] | undefined;
|
2337
|
+
noneOf?: string[] | undefined;
|
2338
|
+
} | undefined;
|
2339
|
+
eventType?: string | undefined;
|
2340
|
+
'legalStatuses.REGISTERED.acceptedAt'?: {
|
2341
|
+
type: "range";
|
2342
|
+
gte: string;
|
2343
|
+
lte: string;
|
2344
|
+
} | {
|
2345
|
+
type: "exact";
|
2346
|
+
term: string;
|
1265
2347
|
} | {
|
1266
|
-
type: "
|
2348
|
+
type: "timePeriod";
|
2349
|
+
term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
|
2350
|
+
} | undefined;
|
2351
|
+
'legalStatuses.DECLARED.createdAtLocation'?: {
|
2352
|
+
type: "exact";
|
1267
2353
|
term: string;
|
1268
|
-
}
|
1269
|
-
|
2354
|
+
} | {
|
2355
|
+
type: "within";
|
2356
|
+
location: string;
|
2357
|
+
} | undefined;
|
2358
|
+
'legalStatuses.REGISTERED.createdAtLocation'?: {
|
1270
2359
|
type: "exact";
|
1271
2360
|
term: string;
|
1272
2361
|
} | {
|
1273
2362
|
type: "within";
|
1274
2363
|
location: string;
|
1275
2364
|
} | undefined;
|
1276
|
-
|
2365
|
+
'legalStatuses.REGISTERED.registrationNumber'?: {
|
2366
|
+
type: "exact";
|
2367
|
+
term: string;
|
2368
|
+
} | undefined;
|
2369
|
+
}[]];
|
1277
2370
|
}, {
|
1278
2371
|
type: "and" | "or";
|
1279
2372
|
clauses?: unknown;
|
1280
2373
|
}>;
|
1281
2374
|
export type QueryType = z.infer<typeof QueryType>;
|
1282
2375
|
export type QueryExpression = z.infer<typeof QueryExpression>;
|
2376
|
+
export declare const SearchScopeAccessLevels: {
|
2377
|
+
readonly MY_JURISDICTION: "my-jurisdiction";
|
2378
|
+
readonly ALL: "all";
|
2379
|
+
};
|
2380
|
+
export type SearchScopeAccessLevels = (typeof SearchScopeAccessLevels)[keyof typeof SearchScopeAccessLevels];
|
1283
2381
|
export {};
|
1284
2382
|
//# sourceMappingURL=EventIndex.d.ts.map
|