@opencrvs/toolkit 1.8.0-rc.fea3888 → 1.8.0-rc.fec1d5d
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 +15788 -4866
- 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 +72517 -38926
- package/dist/commons/events/ActionDocument.d.ts +2095 -484
- package/dist/commons/events/ActionInput.d.ts +1515 -243
- package/dist/commons/events/ActionType.d.ts +4 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +709 -48
- 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 +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
- package/dist/commons/events/Draft.d.ts +129 -30
- package/dist/commons/events/EventConfig.d.ts +28812 -12195
- package/dist/commons/events/EventDocument.d.ts +1269 -357
- package/dist/commons/events/EventIndex.d.ts +980 -316
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +290 -44
- package/dist/commons/events/FieldConfig.d.ts +2954 -1142
- package/dist/commons/events/FieldType.d.ts +6 -3
- package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
- package/dist/commons/events/FieldValue.d.ts +48 -7
- package/dist/commons/events/FormConfig.d.ts +20532 -9126
- package/dist/commons/events/PageConfig.d.ts +4906 -2112
- package/dist/commons/events/SummaryConfig.d.ts +17 -5
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +4784 -16
- package/dist/commons/events/defineConfig.d.ts +3197 -626
- package/dist/commons/events/event.d.ts +37 -8
- package/dist/commons/events/field.d.ts +29 -20
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/scopes.d.ts +20 -1
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +147 -41
- package/dist/commons/events/utils.d.ts +10707 -318
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +45 -8
- package/dist/events/index.js +3408 -1469
- package/dist/scopes/index.d.ts +158 -1
- package/dist/scopes/index.js +152 -1
- package/package.json +1 -1
@@ -2,61 +2,408 @@ import { z, ZodType } from 'zod';
|
|
2
2
|
export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
|
3
3
|
id: z.ZodString;
|
4
4
|
type: z.ZodString;
|
5
|
-
status: z.
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
5
|
+
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
6
|
+
legalStatuses: z.ZodObject<{
|
7
|
+
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
8
|
+
createdAt: z.ZodString;
|
9
|
+
createdBy: z.ZodString;
|
10
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
11
|
+
acceptedAt: z.ZodString;
|
12
|
+
createdByRole: z.ZodString;
|
13
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
14
|
+
}, "strip", z.ZodTypeAny, {
|
15
|
+
createdAt: string;
|
16
|
+
createdBy: string;
|
17
|
+
createdByRole: string;
|
18
|
+
acceptedAt: string;
|
19
|
+
createdBySignature?: string | null | undefined;
|
20
|
+
createdAtLocation?: string | null | undefined;
|
21
|
+
}, {
|
22
|
+
createdAt: string;
|
23
|
+
createdBy: string;
|
24
|
+
createdByRole: string;
|
25
|
+
acceptedAt: string;
|
26
|
+
createdBySignature?: string | null | undefined;
|
27
|
+
createdAtLocation?: string | null | undefined;
|
28
|
+
}>>>;
|
29
|
+
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
30
|
+
createdAt: z.ZodString;
|
31
|
+
createdBy: z.ZodString;
|
32
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
33
|
+
acceptedAt: z.ZodString;
|
34
|
+
createdByRole: z.ZodString;
|
35
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
36
|
+
}, {
|
37
|
+
registrationNumber: z.ZodString;
|
38
|
+
}>, "strip", z.ZodTypeAny, {
|
39
|
+
createdAt: string;
|
40
|
+
createdBy: string;
|
41
|
+
createdByRole: string;
|
42
|
+
registrationNumber: string;
|
43
|
+
acceptedAt: string;
|
44
|
+
createdBySignature?: string | null | undefined;
|
45
|
+
createdAtLocation?: string | null | undefined;
|
46
|
+
}, {
|
47
|
+
createdAt: string;
|
48
|
+
createdBy: string;
|
49
|
+
createdByRole: string;
|
50
|
+
registrationNumber: string;
|
51
|
+
acceptedAt: string;
|
52
|
+
createdBySignature?: string | null | undefined;
|
53
|
+
createdAtLocation?: string | null | undefined;
|
54
|
+
}>>>;
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
56
|
+
DECLARED?: {
|
57
|
+
createdAt: string;
|
58
|
+
createdBy: string;
|
59
|
+
createdByRole: string;
|
60
|
+
acceptedAt: string;
|
61
|
+
createdBySignature?: string | null | undefined;
|
62
|
+
createdAtLocation?: string | null | undefined;
|
63
|
+
} | null | undefined;
|
64
|
+
REGISTERED?: {
|
65
|
+
createdAt: string;
|
66
|
+
createdBy: string;
|
67
|
+
createdByRole: string;
|
68
|
+
registrationNumber: string;
|
69
|
+
acceptedAt: string;
|
70
|
+
createdBySignature?: string | null | undefined;
|
71
|
+
createdAtLocation?: string | null | undefined;
|
72
|
+
} | null | undefined;
|
73
|
+
}, {
|
74
|
+
DECLARED?: {
|
75
|
+
createdAt: string;
|
76
|
+
createdBy: string;
|
77
|
+
createdByRole: string;
|
78
|
+
acceptedAt: string;
|
79
|
+
createdBySignature?: string | null | undefined;
|
80
|
+
createdAtLocation?: string | null | undefined;
|
81
|
+
} | null | undefined;
|
82
|
+
REGISTERED?: {
|
83
|
+
createdAt: string;
|
84
|
+
createdBy: string;
|
85
|
+
createdByRole: string;
|
86
|
+
registrationNumber: string;
|
87
|
+
acceptedAt: string;
|
88
|
+
createdBySignature?: string | null | undefined;
|
89
|
+
createdAtLocation?: string | null | undefined;
|
90
|
+
} | null | undefined;
|
14
91
|
}>;
|
15
92
|
createdAt: z.ZodString;
|
16
93
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
17
94
|
createdBy: z.ZodString;
|
18
95
|
updatedByUserRole: z.ZodString;
|
19
|
-
createdAtLocation: z.ZodString
|
20
|
-
|
96
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
97
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
98
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
21
99
|
updatedAt: z.ZodString;
|
22
100
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
23
|
-
updatedBy: z.ZodString
|
101
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
24
102
|
trackingId: z.ZodString;
|
25
|
-
|
103
|
+
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
104
|
+
readonly CERTIFICATE_PRINTED: "certificate-printed";
|
105
|
+
}>]>, "many">;
|
26
106
|
}, {
|
27
|
-
declaration: z.ZodRecord<z.ZodString, z.
|
107
|
+
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<{
|
108
|
+
filename: z.ZodString;
|
109
|
+
originalFilename: z.ZodString;
|
110
|
+
type: z.ZodString;
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
112
|
+
type: string;
|
113
|
+
filename: string;
|
114
|
+
originalFilename: string;
|
115
|
+
}, {
|
116
|
+
type: string;
|
117
|
+
filename: string;
|
118
|
+
originalFilename: string;
|
119
|
+
}>, z.ZodArray<z.ZodObject<{
|
120
|
+
filename: z.ZodString;
|
121
|
+
originalFilename: z.ZodString;
|
122
|
+
type: z.ZodString;
|
123
|
+
option: z.ZodString;
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
125
|
+
type: string;
|
126
|
+
option: string;
|
127
|
+
filename: string;
|
128
|
+
originalFilename: string;
|
129
|
+
}, {
|
130
|
+
type: string;
|
131
|
+
option: string;
|
132
|
+
filename: string;
|
133
|
+
originalFilename: string;
|
134
|
+
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
135
|
+
country: z.ZodString;
|
136
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
137
|
+
province: z.ZodString;
|
138
|
+
district: z.ZodString;
|
139
|
+
}, {
|
140
|
+
urbanOrRural: z.ZodLiteral<"URBAN">;
|
141
|
+
town: z.ZodOptional<z.ZodString>;
|
142
|
+
residentialArea: z.ZodOptional<z.ZodString>;
|
143
|
+
street: z.ZodOptional<z.ZodString>;
|
144
|
+
number: z.ZodOptional<z.ZodString>;
|
145
|
+
zipCode: z.ZodOptional<z.ZodString>;
|
146
|
+
}>, "strip", z.ZodTypeAny, {
|
147
|
+
country: string;
|
148
|
+
district: string;
|
149
|
+
addressType: "DOMESTIC";
|
150
|
+
province: string;
|
151
|
+
urbanOrRural: "URBAN";
|
152
|
+
number?: string | undefined;
|
153
|
+
town?: string | undefined;
|
154
|
+
residentialArea?: string | undefined;
|
155
|
+
street?: string | undefined;
|
156
|
+
zipCode?: string | undefined;
|
157
|
+
}, {
|
158
|
+
country: string;
|
159
|
+
district: string;
|
160
|
+
addressType: "DOMESTIC";
|
161
|
+
province: string;
|
162
|
+
urbanOrRural: "URBAN";
|
163
|
+
number?: string | undefined;
|
164
|
+
town?: string | undefined;
|
165
|
+
residentialArea?: string | undefined;
|
166
|
+
street?: string | undefined;
|
167
|
+
zipCode?: string | undefined;
|
168
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
169
|
+
country: z.ZodString;
|
170
|
+
addressType: z.ZodLiteral<"DOMESTIC">;
|
171
|
+
province: z.ZodString;
|
172
|
+
district: z.ZodString;
|
173
|
+
}, {
|
174
|
+
urbanOrRural: z.ZodLiteral<"RURAL">;
|
175
|
+
village: z.ZodOptional<z.ZodString>;
|
176
|
+
}>, "strip", z.ZodTypeAny, {
|
177
|
+
country: string;
|
178
|
+
district: string;
|
179
|
+
addressType: "DOMESTIC";
|
180
|
+
province: string;
|
181
|
+
urbanOrRural: "RURAL";
|
182
|
+
village?: string | undefined;
|
183
|
+
}, {
|
184
|
+
country: string;
|
185
|
+
district: string;
|
186
|
+
addressType: "DOMESTIC";
|
187
|
+
province: string;
|
188
|
+
urbanOrRural: "RURAL";
|
189
|
+
village?: string | undefined;
|
190
|
+
}>, z.ZodUndefined, z.ZodObject<{
|
191
|
+
country: z.ZodString;
|
192
|
+
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
193
|
+
state: z.ZodString;
|
194
|
+
district2: z.ZodString;
|
195
|
+
cityOrTown: z.ZodOptional<z.ZodString>;
|
196
|
+
addressLine1: z.ZodOptional<z.ZodString>;
|
197
|
+
addressLine2: z.ZodOptional<z.ZodString>;
|
198
|
+
addressLine3: z.ZodOptional<z.ZodString>;
|
199
|
+
postcodeOrZip: z.ZodOptional<z.ZodString>;
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
201
|
+
country: string;
|
202
|
+
state: string;
|
203
|
+
addressType: "INTERNATIONAL";
|
204
|
+
district2: string;
|
205
|
+
cityOrTown?: string | undefined;
|
206
|
+
addressLine1?: string | undefined;
|
207
|
+
addressLine2?: string | undefined;
|
208
|
+
addressLine3?: string | undefined;
|
209
|
+
postcodeOrZip?: string | undefined;
|
210
|
+
}, {
|
211
|
+
country: string;
|
212
|
+
state: string;
|
213
|
+
addressType: "INTERNATIONAL";
|
214
|
+
district2: string;
|
215
|
+
cityOrTown?: string | undefined;
|
216
|
+
addressLine1?: string | undefined;
|
217
|
+
addressLine2?: string | undefined;
|
218
|
+
addressLine3?: string | undefined;
|
219
|
+
postcodeOrZip?: string | undefined;
|
220
|
+
}>, z.ZodObject<{
|
221
|
+
firstname: z.ZodString;
|
222
|
+
surname: z.ZodString;
|
223
|
+
middlename: z.ZodOptional<z.ZodString>;
|
224
|
+
}, "strip", z.ZodTypeAny, {
|
225
|
+
firstname: string;
|
226
|
+
surname: string;
|
227
|
+
middlename?: string | undefined;
|
228
|
+
}, {
|
229
|
+
firstname: string;
|
230
|
+
surname: string;
|
231
|
+
middlename?: string | undefined;
|
232
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
233
|
+
firstname: z.ZodString;
|
234
|
+
surname: z.ZodString;
|
235
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
237
|
+
firstname: string;
|
238
|
+
surname: string;
|
239
|
+
middlename?: string | null | undefined;
|
240
|
+
}, {
|
241
|
+
firstname: string;
|
242
|
+
surname: string;
|
243
|
+
middlename?: string | null | undefined;
|
244
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
28
245
|
}>, "strip", z.ZodTypeAny, {
|
29
246
|
type: string;
|
30
247
|
id: string;
|
31
248
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
32
249
|
createdAt: string;
|
33
250
|
createdBy: string;
|
34
|
-
declaration: Record<string,
|
35
|
-
|
36
|
-
|
251
|
+
declaration: Record<string, string | number | boolean | {
|
252
|
+
type: string;
|
253
|
+
filename: string;
|
254
|
+
originalFilename: string;
|
255
|
+
} | {
|
256
|
+
country: string;
|
257
|
+
district: string;
|
258
|
+
addressType: "DOMESTIC";
|
259
|
+
province: string;
|
260
|
+
urbanOrRural: "URBAN";
|
261
|
+
number?: string | undefined;
|
262
|
+
town?: string | undefined;
|
263
|
+
residentialArea?: string | undefined;
|
264
|
+
street?: string | undefined;
|
265
|
+
zipCode?: string | undefined;
|
266
|
+
} | {
|
267
|
+
country: string;
|
268
|
+
district: string;
|
269
|
+
addressType: "DOMESTIC";
|
270
|
+
province: string;
|
271
|
+
urbanOrRural: "RURAL";
|
272
|
+
village?: string | undefined;
|
273
|
+
} | {
|
274
|
+
firstname: string;
|
275
|
+
surname: string;
|
276
|
+
middlename?: string | undefined;
|
277
|
+
} | {
|
278
|
+
firstname: string;
|
279
|
+
surname: string;
|
280
|
+
middlename?: string | null | undefined;
|
281
|
+
} | {
|
282
|
+
country: string;
|
283
|
+
state: string;
|
284
|
+
addressType: "INTERNATIONAL";
|
285
|
+
district2: string;
|
286
|
+
cityOrTown?: string | undefined;
|
287
|
+
addressLine1?: string | undefined;
|
288
|
+
addressLine2?: string | undefined;
|
289
|
+
addressLine3?: string | undefined;
|
290
|
+
postcodeOrZip?: string | undefined;
|
291
|
+
} | {
|
292
|
+
type: string;
|
293
|
+
option: string;
|
294
|
+
filename: string;
|
295
|
+
originalFilename: string;
|
296
|
+
}[] | [string, string] | null | undefined>;
|
37
297
|
updatedAt: string;
|
38
298
|
trackingId: string;
|
299
|
+
legalStatuses: {
|
300
|
+
DECLARED?: {
|
301
|
+
createdAt: string;
|
302
|
+
createdBy: string;
|
303
|
+
createdByRole: string;
|
304
|
+
acceptedAt: string;
|
305
|
+
createdBySignature?: string | null | undefined;
|
306
|
+
createdAtLocation?: string | null | undefined;
|
307
|
+
} | null | undefined;
|
308
|
+
REGISTERED?: {
|
309
|
+
createdAt: string;
|
310
|
+
createdBy: string;
|
311
|
+
createdByRole: string;
|
312
|
+
registrationNumber: string;
|
313
|
+
acceptedAt: string;
|
314
|
+
createdBySignature?: string | null | undefined;
|
315
|
+
createdAtLocation?: string | null | undefined;
|
316
|
+
} | null | undefined;
|
317
|
+
};
|
39
318
|
updatedByUserRole: string;
|
40
|
-
|
319
|
+
flags: string[];
|
320
|
+
createdBySignature?: string | null | undefined;
|
321
|
+
createdAtLocation?: string | null | undefined;
|
41
322
|
assignedTo?: string | null | undefined;
|
42
|
-
registrationNumber?: string | null | undefined;
|
43
323
|
dateOfEvent?: string | null | undefined;
|
324
|
+
updatedAtLocation?: string | null | undefined;
|
325
|
+
updatedBy?: string | null | undefined;
|
44
326
|
}, {
|
45
327
|
type: string;
|
46
328
|
id: string;
|
47
329
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
48
330
|
createdAt: string;
|
49
331
|
createdBy: string;
|
50
|
-
declaration: Record<string,
|
51
|
-
|
52
|
-
|
332
|
+
declaration: Record<string, string | number | boolean | {
|
333
|
+
type: string;
|
334
|
+
filename: string;
|
335
|
+
originalFilename: string;
|
336
|
+
} | {
|
337
|
+
country: string;
|
338
|
+
district: string;
|
339
|
+
addressType: "DOMESTIC";
|
340
|
+
province: string;
|
341
|
+
urbanOrRural: "URBAN";
|
342
|
+
number?: string | undefined;
|
343
|
+
town?: string | undefined;
|
344
|
+
residentialArea?: string | undefined;
|
345
|
+
street?: string | undefined;
|
346
|
+
zipCode?: string | undefined;
|
347
|
+
} | {
|
348
|
+
country: string;
|
349
|
+
district: string;
|
350
|
+
addressType: "DOMESTIC";
|
351
|
+
province: string;
|
352
|
+
urbanOrRural: "RURAL";
|
353
|
+
village?: string | undefined;
|
354
|
+
} | {
|
355
|
+
firstname: string;
|
356
|
+
surname: string;
|
357
|
+
middlename?: string | undefined;
|
358
|
+
} | {
|
359
|
+
firstname: string;
|
360
|
+
surname: string;
|
361
|
+
middlename?: string | null | undefined;
|
362
|
+
} | {
|
363
|
+
country: string;
|
364
|
+
state: string;
|
365
|
+
addressType: "INTERNATIONAL";
|
366
|
+
district2: string;
|
367
|
+
cityOrTown?: string | undefined;
|
368
|
+
addressLine1?: string | undefined;
|
369
|
+
addressLine2?: string | undefined;
|
370
|
+
addressLine3?: string | undefined;
|
371
|
+
postcodeOrZip?: string | undefined;
|
372
|
+
} | {
|
373
|
+
type: string;
|
374
|
+
option: string;
|
375
|
+
filename: string;
|
376
|
+
originalFilename: string;
|
377
|
+
}[] | [string, string] | null | undefined>;
|
53
378
|
updatedAt: string;
|
54
379
|
trackingId: string;
|
380
|
+
legalStatuses: {
|
381
|
+
DECLARED?: {
|
382
|
+
createdAt: string;
|
383
|
+
createdBy: string;
|
384
|
+
createdByRole: string;
|
385
|
+
acceptedAt: string;
|
386
|
+
createdBySignature?: string | null | undefined;
|
387
|
+
createdAtLocation?: string | null | undefined;
|
388
|
+
} | null | undefined;
|
389
|
+
REGISTERED?: {
|
390
|
+
createdAt: string;
|
391
|
+
createdBy: string;
|
392
|
+
createdByRole: string;
|
393
|
+
registrationNumber: string;
|
394
|
+
acceptedAt: string;
|
395
|
+
createdBySignature?: string | null | undefined;
|
396
|
+
createdAtLocation?: string | null | undefined;
|
397
|
+
} | null | undefined;
|
398
|
+
};
|
55
399
|
updatedByUserRole: string;
|
56
|
-
|
400
|
+
flags: string[];
|
401
|
+
createdBySignature?: string | null | undefined;
|
402
|
+
createdAtLocation?: string | null | undefined;
|
57
403
|
assignedTo?: string | null | undefined;
|
58
|
-
registrationNumber?: string | null | undefined;
|
59
404
|
dateOfEvent?: string | null | undefined;
|
405
|
+
updatedAtLocation?: string | null | undefined;
|
406
|
+
updatedBy?: string | null | undefined;
|
60
407
|
}>;
|
61
408
|
export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
62
409
|
type: z.ZodString;
|
@@ -67,7 +414,7 @@ export declare const EventSearchIndex: z.ZodIntersection<z.ZodRecord<z.ZodString
|
|
67
414
|
}>>;
|
68
415
|
export type EventSearchIndex = z.infer<typeof EventSearchIndex>;
|
69
416
|
export type EventIndex = z.infer<typeof EventIndex>;
|
70
|
-
declare const Fuzzy: z.ZodObject<{
|
417
|
+
export declare const Fuzzy: z.ZodObject<{
|
71
418
|
type: z.ZodLiteral<"fuzzy">;
|
72
419
|
term: z.ZodString;
|
73
420
|
}, "strip", z.ZodTypeAny, {
|
@@ -77,7 +424,7 @@ declare const Fuzzy: z.ZodObject<{
|
|
77
424
|
type: "fuzzy";
|
78
425
|
term: string;
|
79
426
|
}>;
|
80
|
-
declare const Exact: z.ZodObject<{
|
427
|
+
export declare const Exact: z.ZodObject<{
|
81
428
|
type: z.ZodLiteral<"exact">;
|
82
429
|
term: z.ZodString;
|
83
430
|
}, "strip", z.ZodTypeAny, {
|
@@ -87,7 +434,7 @@ declare const Exact: z.ZodObject<{
|
|
87
434
|
type: "exact";
|
88
435
|
term: string;
|
89
436
|
}>;
|
90
|
-
declare const AnyOf: z.ZodObject<{
|
437
|
+
export declare const AnyOf: z.ZodObject<{
|
91
438
|
type: z.ZodLiteral<"anyOf">;
|
92
439
|
terms: z.ZodArray<z.ZodString, "many">;
|
93
440
|
}, "strip", z.ZodTypeAny, {
|
@@ -97,7 +444,27 @@ declare const AnyOf: z.ZodObject<{
|
|
97
444
|
type: "anyOf";
|
98
445
|
terms: string[];
|
99
446
|
}>;
|
100
|
-
declare const
|
447
|
+
export declare const ExactStatus: z.ZodObject<{
|
448
|
+
type: z.ZodLiteral<"exact">;
|
449
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
451
|
+
type: "exact";
|
452
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
453
|
+
}, {
|
454
|
+
type: "exact";
|
455
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
456
|
+
}>;
|
457
|
+
export declare const AnyOfStatus: z.ZodObject<{
|
458
|
+
type: z.ZodLiteral<"anyOf">;
|
459
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
460
|
+
}, "strip", z.ZodTypeAny, {
|
461
|
+
type: "anyOf";
|
462
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
463
|
+
}, {
|
464
|
+
type: "anyOf";
|
465
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
466
|
+
}>;
|
467
|
+
export declare const Range: z.ZodObject<{
|
101
468
|
type: z.ZodLiteral<"range">;
|
102
469
|
gte: z.ZodString;
|
103
470
|
lte: z.ZodString;
|
@@ -110,7 +477,17 @@ declare const Range: z.ZodObject<{
|
|
110
477
|
gte: string;
|
111
478
|
lte: string;
|
112
479
|
}>;
|
113
|
-
declare const
|
480
|
+
export declare const Not: z.ZodObject<{
|
481
|
+
type: z.ZodLiteral<"not">;
|
482
|
+
term: z.ZodString;
|
483
|
+
}, "strip", z.ZodTypeAny, {
|
484
|
+
type: "not";
|
485
|
+
term: string;
|
486
|
+
}, {
|
487
|
+
type: "not";
|
488
|
+
term: string;
|
489
|
+
}>;
|
490
|
+
export declare const Within: z.ZodObject<{
|
114
491
|
type: z.ZodLiteral<"within">;
|
115
492
|
location: z.ZodString;
|
116
493
|
}, "strip", z.ZodTypeAny, {
|
@@ -120,25 +497,57 @@ declare const Within: z.ZodObject<{
|
|
120
497
|
type: "within";
|
121
498
|
location: string;
|
122
499
|
}>;
|
500
|
+
export declare const DateCondition: z.ZodUnion<[z.ZodObject<{
|
501
|
+
type: z.ZodLiteral<"exact">;
|
502
|
+
term: z.ZodString;
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
504
|
+
type: "exact";
|
505
|
+
term: string;
|
506
|
+
}, {
|
507
|
+
type: "exact";
|
508
|
+
term: string;
|
509
|
+
}>, z.ZodObject<{
|
510
|
+
type: z.ZodLiteral<"range">;
|
511
|
+
gte: z.ZodString;
|
512
|
+
lte: z.ZodString;
|
513
|
+
}, "strip", z.ZodTypeAny, {
|
514
|
+
type: "range";
|
515
|
+
gte: string;
|
516
|
+
lte: string;
|
517
|
+
}, {
|
518
|
+
type: "range";
|
519
|
+
gte: string;
|
520
|
+
lte: string;
|
521
|
+
}>]>;
|
123
522
|
export declare const QueryInput: ZodType;
|
124
|
-
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf>;
|
523
|
+
export type BaseInput = z.infer<typeof Fuzzy> | z.infer<typeof Exact> | z.infer<typeof Range> | z.infer<typeof Within> | z.infer<typeof AnyOf> | z.infer<typeof Not>;
|
125
524
|
type QueryMap = {
|
126
525
|
[key: string]: BaseInput | QueryMap;
|
127
526
|
};
|
128
527
|
export type QueryInputType = BaseInput | QueryMap;
|
129
|
-
declare const QueryExpression: z.ZodObject<{
|
130
|
-
|
528
|
+
export declare const QueryExpression: z.ZodObject<{
|
529
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
131
530
|
eventType: z.ZodOptional<z.ZodString>;
|
132
531
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
133
532
|
type: z.ZodLiteral<"anyOf">;
|
134
|
-
terms: z.ZodArray<z.
|
533
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
135
534
|
}, "strip", z.ZodTypeAny, {
|
136
535
|
type: "anyOf";
|
137
|
-
terms:
|
536
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
138
537
|
}, {
|
139
538
|
type: "anyOf";
|
140
|
-
terms:
|
539
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
141
540
|
}>, z.ZodObject<{
|
541
|
+
type: z.ZodLiteral<"exact">;
|
542
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
543
|
+
}, "strip", z.ZodTypeAny, {
|
544
|
+
type: "exact";
|
545
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
546
|
+
}, {
|
547
|
+
type: "exact";
|
548
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
549
|
+
}>]>>>;
|
550
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
142
551
|
type: z.ZodLiteral<"exact">;
|
143
552
|
term: z.ZodString;
|
144
553
|
}, "strip", z.ZodTypeAny, {
|
@@ -147,8 +556,20 @@ declare const QueryExpression: z.ZodObject<{
|
|
147
556
|
}, {
|
148
557
|
type: "exact";
|
149
558
|
term: string;
|
559
|
+
}>, z.ZodObject<{
|
560
|
+
type: z.ZodLiteral<"range">;
|
561
|
+
gte: z.ZodString;
|
562
|
+
lte: z.ZodString;
|
563
|
+
}, "strip", z.ZodTypeAny, {
|
564
|
+
type: "range";
|
565
|
+
gte: string;
|
566
|
+
lte: string;
|
567
|
+
}, {
|
568
|
+
type: "range";
|
569
|
+
gte: string;
|
570
|
+
lte: string;
|
150
571
|
}>]>>>;
|
151
|
-
|
572
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
152
573
|
type: z.ZodLiteral<"exact">;
|
153
574
|
term: z.ZodString;
|
154
575
|
}, "strip", z.ZodTypeAny, {
|
@@ -170,7 +591,7 @@ declare const QueryExpression: z.ZodObject<{
|
|
170
591
|
gte: string;
|
171
592
|
lte: string;
|
172
593
|
}>]>>>;
|
173
|
-
|
594
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
174
595
|
type: z.ZodLiteral<"exact">;
|
175
596
|
term: z.ZodString;
|
176
597
|
}, "strip", z.ZodTypeAny, {
|
@@ -192,7 +613,36 @@ declare const QueryExpression: z.ZodObject<{
|
|
192
613
|
gte: string;
|
193
614
|
lte: string;
|
194
615
|
}>]>>>;
|
195
|
-
|
616
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
617
|
+
type: z.ZodLiteral<"within">;
|
618
|
+
location: z.ZodString;
|
619
|
+
}, "strip", z.ZodTypeAny, {
|
620
|
+
type: "within";
|
621
|
+
location: string;
|
622
|
+
}, {
|
623
|
+
type: "within";
|
624
|
+
location: string;
|
625
|
+
}>, z.ZodObject<{
|
626
|
+
type: z.ZodLiteral<"exact">;
|
627
|
+
term: z.ZodString;
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
629
|
+
type: "exact";
|
630
|
+
term: string;
|
631
|
+
}, {
|
632
|
+
type: "exact";
|
633
|
+
term: string;
|
634
|
+
}>]>>>;
|
635
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
636
|
+
type: z.ZodLiteral<"exact">;
|
637
|
+
term: z.ZodString;
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
639
|
+
type: "exact";
|
640
|
+
term: string;
|
641
|
+
}, {
|
642
|
+
type: "exact";
|
643
|
+
term: string;
|
644
|
+
}>>>;
|
645
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
196
646
|
type: z.ZodLiteral<"within">;
|
197
647
|
location: z.ZodString;
|
198
648
|
}, "strip", z.ZodTypeAny, {
|
@@ -230,6 +680,16 @@ declare const QueryExpression: z.ZodObject<{
|
|
230
680
|
type: "exact";
|
231
681
|
term: string;
|
232
682
|
}>]>>>;
|
683
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
684
|
+
type: z.ZodLiteral<"exact">;
|
685
|
+
term: z.ZodString;
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
687
|
+
type: "exact";
|
688
|
+
term: string;
|
689
|
+
}, {
|
690
|
+
type: "exact";
|
691
|
+
term: string;
|
692
|
+
}>>>;
|
233
693
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
234
694
|
type: z.ZodLiteral<"exact">;
|
235
695
|
term: z.ZodString;
|
@@ -260,15 +720,34 @@ declare const QueryExpression: z.ZodObject<{
|
|
260
720
|
type: "exact";
|
261
721
|
term: string;
|
262
722
|
}>>>;
|
723
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
724
|
+
type: z.ZodLiteral<"anyOf">;
|
725
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
726
|
+
}, "strip", z.ZodTypeAny, {
|
727
|
+
type: "anyOf";
|
728
|
+
terms: string[];
|
729
|
+
}, {
|
730
|
+
type: "anyOf";
|
731
|
+
terms: string[];
|
732
|
+
}>, z.ZodObject<{
|
733
|
+
type: z.ZodLiteral<"not">;
|
734
|
+
term: z.ZodString;
|
735
|
+
}, "strip", z.ZodTypeAny, {
|
736
|
+
type: "not";
|
737
|
+
term: string;
|
738
|
+
}, {
|
739
|
+
type: "not";
|
740
|
+
term: string;
|
741
|
+
}>]>, "many">>>;
|
263
742
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
264
743
|
}, "strip", z.ZodTypeAny, {
|
265
|
-
|
744
|
+
id?: string | undefined;
|
266
745
|
status?: {
|
267
746
|
type: "exact";
|
268
|
-
term:
|
747
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
269
748
|
} | {
|
270
749
|
type: "anyOf";
|
271
|
-
terms:
|
750
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
272
751
|
} | undefined;
|
273
752
|
data?: any;
|
274
753
|
createdAt?: {
|
@@ -283,13 +762,17 @@ declare const QueryExpression: z.ZodObject<{
|
|
283
762
|
type: "exact";
|
284
763
|
term: string;
|
285
764
|
} | undefined;
|
286
|
-
|
765
|
+
createdAtLocation?: {
|
287
766
|
type: "exact";
|
288
767
|
term: string;
|
289
768
|
} | {
|
290
769
|
type: "within";
|
291
770
|
location: string;
|
292
771
|
} | undefined;
|
772
|
+
assignedTo?: {
|
773
|
+
type: "exact";
|
774
|
+
term: string;
|
775
|
+
} | undefined;
|
293
776
|
updatedAt?: {
|
294
777
|
type: "exact";
|
295
778
|
term: string;
|
@@ -302,26 +785,52 @@ declare const QueryExpression: z.ZodObject<{
|
|
302
785
|
type: "exact";
|
303
786
|
term: string;
|
304
787
|
} | undefined;
|
788
|
+
updatedAtLocation?: {
|
789
|
+
type: "exact";
|
790
|
+
term: string;
|
791
|
+
} | {
|
792
|
+
type: "within";
|
793
|
+
location: string;
|
794
|
+
} | undefined;
|
305
795
|
updatedBy?: {
|
306
796
|
type: "exact";
|
307
797
|
term: string;
|
308
798
|
} | undefined;
|
799
|
+
flags?: ({
|
800
|
+
type: "anyOf";
|
801
|
+
terms: string[];
|
802
|
+
} | {
|
803
|
+
type: "not";
|
804
|
+
term: string;
|
805
|
+
})[] | undefined;
|
309
806
|
eventType?: string | undefined;
|
310
|
-
|
807
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
808
|
+
type: "exact";
|
809
|
+
term: string;
|
810
|
+
} | {
|
811
|
+
type: "range";
|
812
|
+
gte: string;
|
813
|
+
lte: string;
|
814
|
+
} | undefined;
|
815
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
311
816
|
type: "exact";
|
312
817
|
term: string;
|
313
818
|
} | {
|
314
819
|
type: "within";
|
315
820
|
location: string;
|
316
821
|
} | undefined;
|
822
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
823
|
+
type: "exact";
|
824
|
+
term: string;
|
825
|
+
} | undefined;
|
317
826
|
}, {
|
318
|
-
|
827
|
+
id?: string | undefined;
|
319
828
|
status?: {
|
320
829
|
type: "exact";
|
321
|
-
term:
|
830
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
322
831
|
} | {
|
323
832
|
type: "anyOf";
|
324
|
-
terms:
|
833
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
325
834
|
} | undefined;
|
326
835
|
data?: any;
|
327
836
|
createdAt?: {
|
@@ -336,13 +845,17 @@ declare const QueryExpression: z.ZodObject<{
|
|
336
845
|
type: "exact";
|
337
846
|
term: string;
|
338
847
|
} | undefined;
|
339
|
-
|
848
|
+
createdAtLocation?: {
|
340
849
|
type: "exact";
|
341
850
|
term: string;
|
342
851
|
} | {
|
343
852
|
type: "within";
|
344
853
|
location: string;
|
345
854
|
} | undefined;
|
855
|
+
assignedTo?: {
|
856
|
+
type: "exact";
|
857
|
+
term: string;
|
858
|
+
} | undefined;
|
346
859
|
updatedAt?: {
|
347
860
|
type: "exact";
|
348
861
|
term: string;
|
@@ -355,276 +868,70 @@ declare const QueryExpression: z.ZodObject<{
|
|
355
868
|
type: "exact";
|
356
869
|
term: string;
|
357
870
|
} | undefined;
|
358
|
-
|
359
|
-
type: "exact";
|
360
|
-
term: string;
|
361
|
-
} | undefined;
|
362
|
-
eventType?: string | undefined;
|
363
|
-
createAtLocation?: {
|
871
|
+
updatedAtLocation?: {
|
364
872
|
type: "exact";
|
365
873
|
term: string;
|
366
874
|
} | {
|
367
875
|
type: "within";
|
368
876
|
location: string;
|
369
877
|
} | undefined;
|
370
|
-
|
371
|
-
export type QueryExpression = z.infer<typeof QueryExpression>;
|
372
|
-
export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
373
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
374
|
-
eventType: z.ZodOptional<z.ZodString>;
|
375
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
376
|
-
type: z.ZodLiteral<"anyOf">;
|
377
|
-
terms: z.ZodArray<z.ZodString, "many">;
|
378
|
-
}, "strip", z.ZodTypeAny, {
|
379
|
-
type: "anyOf";
|
380
|
-
terms: string[];
|
381
|
-
}, {
|
382
|
-
type: "anyOf";
|
383
|
-
terms: string[];
|
384
|
-
}>, z.ZodObject<{
|
385
|
-
type: z.ZodLiteral<"exact">;
|
386
|
-
term: z.ZodString;
|
387
|
-
}, "strip", z.ZodTypeAny, {
|
388
|
-
type: "exact";
|
389
|
-
term: string;
|
390
|
-
}, {
|
878
|
+
updatedBy?: {
|
391
879
|
type: "exact";
|
392
880
|
term: string;
|
393
|
-
}
|
394
|
-
|
395
|
-
type:
|
396
|
-
|
397
|
-
}
|
398
|
-
type: "
|
881
|
+
} | undefined;
|
882
|
+
flags?: ({
|
883
|
+
type: "anyOf";
|
884
|
+
terms: string[];
|
885
|
+
} | {
|
886
|
+
type: "not";
|
399
887
|
term: string;
|
400
|
-
}
|
888
|
+
})[] | undefined;
|
889
|
+
eventType?: string | undefined;
|
890
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
401
891
|
type: "exact";
|
402
892
|
term: string;
|
403
|
-
}
|
404
|
-
type: z.ZodLiteral<"range">;
|
405
|
-
gte: z.ZodString;
|
406
|
-
lte: z.ZodString;
|
407
|
-
}, "strip", z.ZodTypeAny, {
|
408
|
-
type: "range";
|
409
|
-
gte: string;
|
410
|
-
lte: string;
|
411
|
-
}, {
|
893
|
+
} | {
|
412
894
|
type: "range";
|
413
895
|
gte: string;
|
414
896
|
lte: string;
|
415
|
-
}
|
416
|
-
|
417
|
-
type: z.ZodLiteral<"exact">;
|
418
|
-
term: z.ZodString;
|
419
|
-
}, "strip", z.ZodTypeAny, {
|
420
|
-
type: "exact";
|
421
|
-
term: string;
|
422
|
-
}, {
|
897
|
+
} | undefined;
|
898
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
423
899
|
type: "exact";
|
424
900
|
term: string;
|
425
|
-
}
|
426
|
-
type: z.ZodLiteral<"range">;
|
427
|
-
gte: z.ZodString;
|
428
|
-
lte: z.ZodString;
|
429
|
-
}, "strip", z.ZodTypeAny, {
|
430
|
-
type: "range";
|
431
|
-
gte: string;
|
432
|
-
lte: string;
|
433
|
-
}, {
|
434
|
-
type: "range";
|
435
|
-
gte: string;
|
436
|
-
lte: string;
|
437
|
-
}>]>>>;
|
438
|
-
createAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
439
|
-
type: z.ZodLiteral<"within">;
|
440
|
-
location: z.ZodString;
|
441
|
-
}, "strip", z.ZodTypeAny, {
|
901
|
+
} | {
|
442
902
|
type: "within";
|
443
903
|
location: string;
|
444
|
-
}, {
|
445
|
-
type: "within";
|
446
|
-
location: string;
|
447
|
-
}>, z.ZodObject<{
|
448
|
-
type: z.ZodLiteral<"exact">;
|
449
|
-
term: z.ZodString;
|
450
|
-
}, "strip", z.ZodTypeAny, {
|
451
|
-
type: "exact";
|
452
|
-
term: string;
|
453
|
-
}, {
|
454
|
-
type: "exact";
|
455
|
-
term: string;
|
456
|
-
}>]>>>;
|
457
|
-
updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
458
|
-
type: z.ZodLiteral<"within">;
|
459
|
-
location: z.ZodString;
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
461
|
-
type: "within";
|
462
|
-
location: string;
|
463
|
-
}, {
|
464
|
-
type: "within";
|
465
|
-
location: string;
|
466
|
-
}>, z.ZodObject<{
|
467
|
-
type: z.ZodLiteral<"exact">;
|
468
|
-
term: z.ZodString;
|
469
|
-
}, "strip", z.ZodTypeAny, {
|
470
|
-
type: "exact";
|
471
|
-
term: string;
|
472
|
-
}, {
|
473
|
-
type: "exact";
|
474
|
-
term: string;
|
475
|
-
}>]>>>;
|
476
|
-
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
477
|
-
type: z.ZodLiteral<"exact">;
|
478
|
-
term: z.ZodString;
|
479
|
-
}, "strip", z.ZodTypeAny, {
|
480
|
-
type: "exact";
|
481
|
-
term: string;
|
482
|
-
}, {
|
483
|
-
type: "exact";
|
484
|
-
term: string;
|
485
|
-
}>>>;
|
486
|
-
updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
487
|
-
type: z.ZodLiteral<"exact">;
|
488
|
-
term: z.ZodString;
|
489
|
-
}, "strip", z.ZodTypeAny, {
|
490
|
-
type: "exact";
|
491
|
-
term: string;
|
492
|
-
}, {
|
493
|
-
type: "exact";
|
494
|
-
term: string;
|
495
|
-
}>>>;
|
496
|
-
trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
497
|
-
type: z.ZodLiteral<"exact">;
|
498
|
-
term: z.ZodString;
|
499
|
-
}, "strip", z.ZodTypeAny, {
|
500
|
-
type: "exact";
|
501
|
-
term: string;
|
502
|
-
}, {
|
503
|
-
type: "exact";
|
504
|
-
term: string;
|
505
|
-
}>>>;
|
506
|
-
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
507
|
-
}, "strip", z.ZodTypeAny, {
|
508
|
-
type?: "and" | undefined;
|
509
|
-
status?: {
|
510
|
-
type: "exact";
|
511
|
-
term: string;
|
512
|
-
} | {
|
513
|
-
type: "anyOf";
|
514
|
-
terms: string[];
|
515
|
-
} | undefined;
|
516
|
-
data?: any;
|
517
|
-
createdAt?: {
|
518
|
-
type: "exact";
|
519
|
-
term: string;
|
520
|
-
} | {
|
521
|
-
type: "range";
|
522
|
-
gte: string;
|
523
|
-
lte: string;
|
524
|
-
} | undefined;
|
525
|
-
createdBy?: {
|
526
|
-
type: "exact";
|
527
|
-
term: string;
|
528
|
-
} | undefined;
|
529
|
-
updatedAtLocation?: {
|
530
|
-
type: "exact";
|
531
|
-
term: string;
|
532
|
-
} | {
|
533
|
-
type: "within";
|
534
|
-
location: string;
|
535
|
-
} | undefined;
|
536
|
-
updatedAt?: {
|
537
|
-
type: "exact";
|
538
|
-
term: string;
|
539
|
-
} | {
|
540
|
-
type: "range";
|
541
|
-
gte: string;
|
542
|
-
lte: string;
|
543
|
-
} | undefined;
|
544
|
-
trackingId?: {
|
545
|
-
type: "exact";
|
546
|
-
term: string;
|
547
|
-
} | undefined;
|
548
|
-
updatedBy?: {
|
549
|
-
type: "exact";
|
550
|
-
term: string;
|
551
|
-
} | undefined;
|
552
|
-
eventType?: string | undefined;
|
553
|
-
createAtLocation?: {
|
554
|
-
type: "exact";
|
555
|
-
term: string;
|
556
|
-
} | {
|
557
|
-
type: "within";
|
558
|
-
location: string;
|
559
|
-
} | undefined;
|
560
|
-
}, {
|
561
|
-
type?: "and" | undefined;
|
562
|
-
status?: {
|
563
|
-
type: "exact";
|
564
|
-
term: string;
|
565
|
-
} | {
|
566
|
-
type: "anyOf";
|
567
|
-
terms: string[];
|
568
|
-
} | undefined;
|
569
|
-
data?: any;
|
570
|
-
createdAt?: {
|
571
|
-
type: "exact";
|
572
|
-
term: string;
|
573
|
-
} | {
|
574
|
-
type: "range";
|
575
|
-
gte: string;
|
576
|
-
lte: string;
|
577
904
|
} | undefined;
|
578
|
-
|
579
|
-
type: "exact";
|
580
|
-
term: string;
|
581
|
-
} | undefined;
|
582
|
-
updatedAtLocation?: {
|
905
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
583
906
|
type: "exact";
|
584
907
|
term: string;
|
585
|
-
} | {
|
586
|
-
type: "within";
|
587
|
-
location: string;
|
588
908
|
} | undefined;
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
gte: string;
|
595
|
-
lte: string;
|
596
|
-
} | undefined;
|
597
|
-
trackingId?: {
|
598
|
-
type: "exact";
|
599
|
-
term: string;
|
600
|
-
} | undefined;
|
601
|
-
updatedBy?: {
|
602
|
-
type: "exact";
|
603
|
-
term: string;
|
604
|
-
} | undefined;
|
605
|
-
eventType?: string | undefined;
|
606
|
-
createAtLocation?: {
|
607
|
-
type: "exact";
|
608
|
-
term: string;
|
609
|
-
} | {
|
610
|
-
type: "within";
|
611
|
-
location: string;
|
612
|
-
} | undefined;
|
613
|
-
}>, z.ZodObject<{
|
614
|
-
type: z.ZodLiteral<"or">;
|
615
|
-
clauses: z.ZodArray<z.ZodObject<{
|
616
|
-
type: z.ZodOptional<z.ZodLiteral<"and">>;
|
909
|
+
}>;
|
910
|
+
export declare const QueryType: z.ZodObject<{
|
911
|
+
type: z.ZodUnion<[z.ZodLiteral<"and">, z.ZodLiteral<"or">]>;
|
912
|
+
clauses: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
913
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
617
914
|
eventType: z.ZodOptional<z.ZodString>;
|
618
915
|
status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
619
916
|
type: z.ZodLiteral<"anyOf">;
|
620
|
-
terms: z.ZodArray<z.
|
917
|
+
terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
|
621
918
|
}, "strip", z.ZodTypeAny, {
|
622
919
|
type: "anyOf";
|
623
|
-
terms:
|
920
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
624
921
|
}, {
|
625
922
|
type: "anyOf";
|
626
|
-
terms:
|
923
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
627
924
|
}>, z.ZodObject<{
|
925
|
+
type: z.ZodLiteral<"exact">;
|
926
|
+
term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
927
|
+
}, "strip", z.ZodTypeAny, {
|
928
|
+
type: "exact";
|
929
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
930
|
+
}, {
|
931
|
+
type: "exact";
|
932
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
933
|
+
}>]>>>;
|
934
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
628
935
|
type: z.ZodLiteral<"exact">;
|
629
936
|
term: z.ZodString;
|
630
937
|
}, "strip", z.ZodTypeAny, {
|
@@ -633,8 +940,20 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
633
940
|
}, {
|
634
941
|
type: "exact";
|
635
942
|
term: string;
|
943
|
+
}>, z.ZodObject<{
|
944
|
+
type: z.ZodLiteral<"range">;
|
945
|
+
gte: z.ZodString;
|
946
|
+
lte: z.ZodString;
|
947
|
+
}, "strip", z.ZodTypeAny, {
|
948
|
+
type: "range";
|
949
|
+
gte: string;
|
950
|
+
lte: string;
|
951
|
+
}, {
|
952
|
+
type: "range";
|
953
|
+
gte: string;
|
954
|
+
lte: string;
|
636
955
|
}>]>>>;
|
637
|
-
|
956
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
638
957
|
type: z.ZodLiteral<"exact">;
|
639
958
|
term: z.ZodString;
|
640
959
|
}, "strip", z.ZodTypeAny, {
|
@@ -656,7 +975,7 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
656
975
|
gte: string;
|
657
976
|
lte: string;
|
658
977
|
}>]>>>;
|
659
|
-
|
978
|
+
'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
660
979
|
type: z.ZodLiteral<"exact">;
|
661
980
|
term: z.ZodString;
|
662
981
|
}, "strip", z.ZodTypeAny, {
|
@@ -678,7 +997,36 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
678
997
|
gte: string;
|
679
998
|
lte: string;
|
680
999
|
}>]>>>;
|
681
|
-
|
1000
|
+
'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
1001
|
+
type: z.ZodLiteral<"within">;
|
1002
|
+
location: z.ZodString;
|
1003
|
+
}, "strip", z.ZodTypeAny, {
|
1004
|
+
type: "within";
|
1005
|
+
location: string;
|
1006
|
+
}, {
|
1007
|
+
type: "within";
|
1008
|
+
location: string;
|
1009
|
+
}>, z.ZodObject<{
|
1010
|
+
type: z.ZodLiteral<"exact">;
|
1011
|
+
term: z.ZodString;
|
1012
|
+
}, "strip", z.ZodTypeAny, {
|
1013
|
+
type: "exact";
|
1014
|
+
term: string;
|
1015
|
+
}, {
|
1016
|
+
type: "exact";
|
1017
|
+
term: string;
|
1018
|
+
}>]>>>;
|
1019
|
+
'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1020
|
+
type: z.ZodLiteral<"exact">;
|
1021
|
+
term: z.ZodString;
|
1022
|
+
}, "strip", z.ZodTypeAny, {
|
1023
|
+
type: "exact";
|
1024
|
+
term: string;
|
1025
|
+
}, {
|
1026
|
+
type: "exact";
|
1027
|
+
term: string;
|
1028
|
+
}>>>;
|
1029
|
+
createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
682
1030
|
type: z.ZodLiteral<"within">;
|
683
1031
|
location: z.ZodString;
|
684
1032
|
}, "strip", z.ZodTypeAny, {
|
@@ -716,6 +1064,16 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
716
1064
|
type: "exact";
|
717
1065
|
term: string;
|
718
1066
|
}>]>>>;
|
1067
|
+
assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
1068
|
+
type: z.ZodLiteral<"exact">;
|
1069
|
+
term: z.ZodString;
|
1070
|
+
}, "strip", z.ZodTypeAny, {
|
1071
|
+
type: "exact";
|
1072
|
+
term: string;
|
1073
|
+
}, {
|
1074
|
+
type: "exact";
|
1075
|
+
term: string;
|
1076
|
+
}>>>;
|
719
1077
|
createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
720
1078
|
type: z.ZodLiteral<"exact">;
|
721
1079
|
term: z.ZodString;
|
@@ -746,15 +1104,34 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
746
1104
|
type: "exact";
|
747
1105
|
term: string;
|
748
1106
|
}>>>;
|
1107
|
+
flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
1108
|
+
type: z.ZodLiteral<"anyOf">;
|
1109
|
+
terms: z.ZodArray<z.ZodString, "many">;
|
1110
|
+
}, "strip", z.ZodTypeAny, {
|
1111
|
+
type: "anyOf";
|
1112
|
+
terms: string[];
|
1113
|
+
}, {
|
1114
|
+
type: "anyOf";
|
1115
|
+
terms: string[];
|
1116
|
+
}>, z.ZodObject<{
|
1117
|
+
type: z.ZodLiteral<"not">;
|
1118
|
+
term: z.ZodString;
|
1119
|
+
}, "strip", z.ZodTypeAny, {
|
1120
|
+
type: "not";
|
1121
|
+
term: string;
|
1122
|
+
}, {
|
1123
|
+
type: "not";
|
1124
|
+
term: string;
|
1125
|
+
}>]>, "many">>>;
|
749
1126
|
data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
|
750
1127
|
}, "strip", z.ZodTypeAny, {
|
751
|
-
|
1128
|
+
id?: string | undefined;
|
752
1129
|
status?: {
|
753
1130
|
type: "exact";
|
754
|
-
term:
|
1131
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
755
1132
|
} | {
|
756
1133
|
type: "anyOf";
|
757
|
-
terms:
|
1134
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
758
1135
|
} | undefined;
|
759
1136
|
data?: any;
|
760
1137
|
createdAt?: {
|
@@ -769,13 +1146,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
769
1146
|
type: "exact";
|
770
1147
|
term: string;
|
771
1148
|
} | undefined;
|
772
|
-
|
1149
|
+
createdAtLocation?: {
|
773
1150
|
type: "exact";
|
774
1151
|
term: string;
|
775
1152
|
} | {
|
776
1153
|
type: "within";
|
777
1154
|
location: string;
|
778
1155
|
} | undefined;
|
1156
|
+
assignedTo?: {
|
1157
|
+
type: "exact";
|
1158
|
+
term: string;
|
1159
|
+
} | undefined;
|
779
1160
|
updatedAt?: {
|
780
1161
|
type: "exact";
|
781
1162
|
term: string;
|
@@ -788,26 +1169,52 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
788
1169
|
type: "exact";
|
789
1170
|
term: string;
|
790
1171
|
} | undefined;
|
1172
|
+
updatedAtLocation?: {
|
1173
|
+
type: "exact";
|
1174
|
+
term: string;
|
1175
|
+
} | {
|
1176
|
+
type: "within";
|
1177
|
+
location: string;
|
1178
|
+
} | undefined;
|
791
1179
|
updatedBy?: {
|
792
1180
|
type: "exact";
|
793
1181
|
term: string;
|
794
1182
|
} | undefined;
|
1183
|
+
flags?: ({
|
1184
|
+
type: "anyOf";
|
1185
|
+
terms: string[];
|
1186
|
+
} | {
|
1187
|
+
type: "not";
|
1188
|
+
term: string;
|
1189
|
+
})[] | undefined;
|
795
1190
|
eventType?: string | undefined;
|
796
|
-
|
1191
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1192
|
+
type: "exact";
|
1193
|
+
term: string;
|
1194
|
+
} | {
|
1195
|
+
type: "range";
|
1196
|
+
gte: string;
|
1197
|
+
lte: string;
|
1198
|
+
} | undefined;
|
1199
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
797
1200
|
type: "exact";
|
798
1201
|
term: string;
|
799
1202
|
} | {
|
800
1203
|
type: "within";
|
801
1204
|
location: string;
|
802
1205
|
} | undefined;
|
1206
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1207
|
+
type: "exact";
|
1208
|
+
term: string;
|
1209
|
+
} | undefined;
|
803
1210
|
}, {
|
804
|
-
|
1211
|
+
id?: string | undefined;
|
805
1212
|
status?: {
|
806
1213
|
type: "exact";
|
807
|
-
term:
|
1214
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
808
1215
|
} | {
|
809
1216
|
type: "anyOf";
|
810
|
-
terms:
|
1217
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
811
1218
|
} | undefined;
|
812
1219
|
data?: any;
|
813
1220
|
createdAt?: {
|
@@ -822,13 +1229,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
822
1229
|
type: "exact";
|
823
1230
|
term: string;
|
824
1231
|
} | undefined;
|
825
|
-
|
1232
|
+
createdAtLocation?: {
|
826
1233
|
type: "exact";
|
827
1234
|
term: string;
|
828
1235
|
} | {
|
829
1236
|
type: "within";
|
830
1237
|
location: string;
|
831
1238
|
} | undefined;
|
1239
|
+
assignedTo?: {
|
1240
|
+
type: "exact";
|
1241
|
+
term: string;
|
1242
|
+
} | undefined;
|
832
1243
|
updatedAt?: {
|
833
1244
|
type: "exact";
|
834
1245
|
term: string;
|
@@ -841,29 +1252,135 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
841
1252
|
type: "exact";
|
842
1253
|
term: string;
|
843
1254
|
} | undefined;
|
1255
|
+
updatedAtLocation?: {
|
1256
|
+
type: "exact";
|
1257
|
+
term: string;
|
1258
|
+
} | {
|
1259
|
+
type: "within";
|
1260
|
+
location: string;
|
1261
|
+
} | undefined;
|
844
1262
|
updatedBy?: {
|
845
1263
|
type: "exact";
|
846
1264
|
term: string;
|
847
1265
|
} | undefined;
|
1266
|
+
flags?: ({
|
1267
|
+
type: "anyOf";
|
1268
|
+
terms: string[];
|
1269
|
+
} | {
|
1270
|
+
type: "not";
|
1271
|
+
term: string;
|
1272
|
+
})[] | undefined;
|
848
1273
|
eventType?: string | undefined;
|
849
|
-
|
1274
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1275
|
+
type: "exact";
|
1276
|
+
term: string;
|
1277
|
+
} | {
|
1278
|
+
type: "range";
|
1279
|
+
gte: string;
|
1280
|
+
lte: string;
|
1281
|
+
} | undefined;
|
1282
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
850
1283
|
type: "exact";
|
851
1284
|
term: string;
|
852
1285
|
} | {
|
853
1286
|
type: "within";
|
854
1287
|
location: string;
|
855
1288
|
} | undefined;
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
1289
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1290
|
+
type: "exact";
|
1291
|
+
term: string;
|
1292
|
+
} | undefined;
|
1293
|
+
}>, "atleastone">, [{
|
1294
|
+
id?: string | undefined;
|
861
1295
|
status?: {
|
1296
|
+
type: "exact";
|
1297
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1298
|
+
} | {
|
1299
|
+
type: "anyOf";
|
1300
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1301
|
+
} | undefined;
|
1302
|
+
data?: any;
|
1303
|
+
createdAt?: {
|
1304
|
+
type: "exact";
|
1305
|
+
term: string;
|
1306
|
+
} | {
|
1307
|
+
type: "range";
|
1308
|
+
gte: string;
|
1309
|
+
lte: string;
|
1310
|
+
} | undefined;
|
1311
|
+
createdBy?: {
|
1312
|
+
type: "exact";
|
1313
|
+
term: string;
|
1314
|
+
} | undefined;
|
1315
|
+
createdAtLocation?: {
|
1316
|
+
type: "exact";
|
1317
|
+
term: string;
|
1318
|
+
} | {
|
1319
|
+
type: "within";
|
1320
|
+
location: string;
|
1321
|
+
} | undefined;
|
1322
|
+
assignedTo?: {
|
1323
|
+
type: "exact";
|
1324
|
+
term: string;
|
1325
|
+
} | undefined;
|
1326
|
+
updatedAt?: {
|
862
1327
|
type: "exact";
|
863
1328
|
term: string;
|
864
1329
|
} | {
|
1330
|
+
type: "range";
|
1331
|
+
gte: string;
|
1332
|
+
lte: string;
|
1333
|
+
} | undefined;
|
1334
|
+
trackingId?: {
|
1335
|
+
type: "exact";
|
1336
|
+
term: string;
|
1337
|
+
} | undefined;
|
1338
|
+
updatedAtLocation?: {
|
1339
|
+
type: "exact";
|
1340
|
+
term: string;
|
1341
|
+
} | {
|
1342
|
+
type: "within";
|
1343
|
+
location: string;
|
1344
|
+
} | undefined;
|
1345
|
+
updatedBy?: {
|
1346
|
+
type: "exact";
|
1347
|
+
term: string;
|
1348
|
+
} | undefined;
|
1349
|
+
flags?: ({
|
865
1350
|
type: "anyOf";
|
866
1351
|
terms: string[];
|
1352
|
+
} | {
|
1353
|
+
type: "not";
|
1354
|
+
term: string;
|
1355
|
+
})[] | undefined;
|
1356
|
+
eventType?: string | undefined;
|
1357
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1358
|
+
type: "exact";
|
1359
|
+
term: string;
|
1360
|
+
} | {
|
1361
|
+
type: "range";
|
1362
|
+
gte: string;
|
1363
|
+
lte: string;
|
1364
|
+
} | undefined;
|
1365
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1366
|
+
type: "exact";
|
1367
|
+
term: string;
|
1368
|
+
} | {
|
1369
|
+
type: "within";
|
1370
|
+
location: string;
|
1371
|
+
} | undefined;
|
1372
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1373
|
+
type: "exact";
|
1374
|
+
term: string;
|
1375
|
+
} | undefined;
|
1376
|
+
}, ...{
|
1377
|
+
id?: string | undefined;
|
1378
|
+
status?: {
|
1379
|
+
type: "exact";
|
1380
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1381
|
+
} | {
|
1382
|
+
type: "anyOf";
|
1383
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
867
1384
|
} | undefined;
|
868
1385
|
data?: any;
|
869
1386
|
createdAt?: {
|
@@ -878,13 +1395,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
878
1395
|
type: "exact";
|
879
1396
|
term: string;
|
880
1397
|
} | undefined;
|
881
|
-
|
1398
|
+
createdAtLocation?: {
|
882
1399
|
type: "exact";
|
883
1400
|
term: string;
|
884
1401
|
} | {
|
885
1402
|
type: "within";
|
886
1403
|
location: string;
|
887
1404
|
} | undefined;
|
1405
|
+
assignedTo?: {
|
1406
|
+
type: "exact";
|
1407
|
+
term: string;
|
1408
|
+
} | undefined;
|
888
1409
|
updatedAt?: {
|
889
1410
|
type: "exact";
|
890
1411
|
term: string;
|
@@ -897,29 +1418,138 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
897
1418
|
type: "exact";
|
898
1419
|
term: string;
|
899
1420
|
} | undefined;
|
1421
|
+
updatedAtLocation?: {
|
1422
|
+
type: "exact";
|
1423
|
+
term: string;
|
1424
|
+
} | {
|
1425
|
+
type: "within";
|
1426
|
+
location: string;
|
1427
|
+
} | undefined;
|
900
1428
|
updatedBy?: {
|
901
1429
|
type: "exact";
|
902
1430
|
term: string;
|
903
1431
|
} | undefined;
|
1432
|
+
flags?: ({
|
1433
|
+
type: "anyOf";
|
1434
|
+
terms: string[];
|
1435
|
+
} | {
|
1436
|
+
type: "not";
|
1437
|
+
term: string;
|
1438
|
+
})[] | undefined;
|
904
1439
|
eventType?: string | undefined;
|
905
|
-
|
1440
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1441
|
+
type: "exact";
|
1442
|
+
term: string;
|
1443
|
+
} | {
|
1444
|
+
type: "range";
|
1445
|
+
gte: string;
|
1446
|
+
lte: string;
|
1447
|
+
} | undefined;
|
1448
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
906
1449
|
type: "exact";
|
907
1450
|
term: string;
|
908
1451
|
} | {
|
909
1452
|
type: "within";
|
910
1453
|
location: string;
|
911
1454
|
} | undefined;
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
1455
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1456
|
+
type: "exact";
|
1457
|
+
term: string;
|
1458
|
+
} | undefined;
|
1459
|
+
}[]], unknown>;
|
1460
|
+
}, "strip", z.ZodTypeAny, {
|
1461
|
+
type: "and" | "or";
|
1462
|
+
clauses: [{
|
1463
|
+
id?: string | undefined;
|
917
1464
|
status?: {
|
1465
|
+
type: "exact";
|
1466
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1467
|
+
} | {
|
1468
|
+
type: "anyOf";
|
1469
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
1470
|
+
} | undefined;
|
1471
|
+
data?: any;
|
1472
|
+
createdAt?: {
|
918
1473
|
type: "exact";
|
919
1474
|
term: string;
|
920
1475
|
} | {
|
1476
|
+
type: "range";
|
1477
|
+
gte: string;
|
1478
|
+
lte: string;
|
1479
|
+
} | undefined;
|
1480
|
+
createdBy?: {
|
1481
|
+
type: "exact";
|
1482
|
+
term: string;
|
1483
|
+
} | undefined;
|
1484
|
+
createdAtLocation?: {
|
1485
|
+
type: "exact";
|
1486
|
+
term: string;
|
1487
|
+
} | {
|
1488
|
+
type: "within";
|
1489
|
+
location: string;
|
1490
|
+
} | undefined;
|
1491
|
+
assignedTo?: {
|
1492
|
+
type: "exact";
|
1493
|
+
term: string;
|
1494
|
+
} | undefined;
|
1495
|
+
updatedAt?: {
|
1496
|
+
type: "exact";
|
1497
|
+
term: string;
|
1498
|
+
} | {
|
1499
|
+
type: "range";
|
1500
|
+
gte: string;
|
1501
|
+
lte: string;
|
1502
|
+
} | undefined;
|
1503
|
+
trackingId?: {
|
1504
|
+
type: "exact";
|
1505
|
+
term: string;
|
1506
|
+
} | undefined;
|
1507
|
+
updatedAtLocation?: {
|
1508
|
+
type: "exact";
|
1509
|
+
term: string;
|
1510
|
+
} | {
|
1511
|
+
type: "within";
|
1512
|
+
location: string;
|
1513
|
+
} | undefined;
|
1514
|
+
updatedBy?: {
|
1515
|
+
type: "exact";
|
1516
|
+
term: string;
|
1517
|
+
} | undefined;
|
1518
|
+
flags?: ({
|
921
1519
|
type: "anyOf";
|
922
1520
|
terms: string[];
|
1521
|
+
} | {
|
1522
|
+
type: "not";
|
1523
|
+
term: string;
|
1524
|
+
})[] | undefined;
|
1525
|
+
eventType?: string | undefined;
|
1526
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1527
|
+
type: "exact";
|
1528
|
+
term: string;
|
1529
|
+
} | {
|
1530
|
+
type: "range";
|
1531
|
+
gte: string;
|
1532
|
+
lte: string;
|
1533
|
+
} | undefined;
|
1534
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
1535
|
+
type: "exact";
|
1536
|
+
term: string;
|
1537
|
+
} | {
|
1538
|
+
type: "within";
|
1539
|
+
location: string;
|
1540
|
+
} | undefined;
|
1541
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1542
|
+
type: "exact";
|
1543
|
+
term: string;
|
1544
|
+
} | undefined;
|
1545
|
+
}, ...{
|
1546
|
+
id?: string | undefined;
|
1547
|
+
status?: {
|
1548
|
+
type: "exact";
|
1549
|
+
term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
1550
|
+
} | {
|
1551
|
+
type: "anyOf";
|
1552
|
+
terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
|
923
1553
|
} | undefined;
|
924
1554
|
data?: any;
|
925
1555
|
createdAt?: {
|
@@ -934,13 +1564,17 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
934
1564
|
type: "exact";
|
935
1565
|
term: string;
|
936
1566
|
} | undefined;
|
937
|
-
|
1567
|
+
createdAtLocation?: {
|
938
1568
|
type: "exact";
|
939
1569
|
term: string;
|
940
1570
|
} | {
|
941
1571
|
type: "within";
|
942
1572
|
location: string;
|
943
1573
|
} | undefined;
|
1574
|
+
assignedTo?: {
|
1575
|
+
type: "exact";
|
1576
|
+
term: string;
|
1577
|
+
} | undefined;
|
944
1578
|
updatedAt?: {
|
945
1579
|
type: "exact";
|
946
1580
|
term: string;
|
@@ -953,20 +1587,50 @@ export declare const QueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
953
1587
|
type: "exact";
|
954
1588
|
term: string;
|
955
1589
|
} | undefined;
|
1590
|
+
updatedAtLocation?: {
|
1591
|
+
type: "exact";
|
1592
|
+
term: string;
|
1593
|
+
} | {
|
1594
|
+
type: "within";
|
1595
|
+
location: string;
|
1596
|
+
} | undefined;
|
956
1597
|
updatedBy?: {
|
957
1598
|
type: "exact";
|
958
1599
|
term: string;
|
959
1600
|
} | undefined;
|
1601
|
+
flags?: ({
|
1602
|
+
type: "anyOf";
|
1603
|
+
terms: string[];
|
1604
|
+
} | {
|
1605
|
+
type: "not";
|
1606
|
+
term: string;
|
1607
|
+
})[] | undefined;
|
960
1608
|
eventType?: string | undefined;
|
961
|
-
|
1609
|
+
'legalStatus.REGISTERED.createdAt'?: {
|
1610
|
+
type: "exact";
|
1611
|
+
term: string;
|
1612
|
+
} | {
|
1613
|
+
type: "range";
|
1614
|
+
gte: string;
|
1615
|
+
lte: string;
|
1616
|
+
} | undefined;
|
1617
|
+
'legalStatus.REGISTERED.createdAtLocation'?: {
|
962
1618
|
type: "exact";
|
963
1619
|
term: string;
|
964
1620
|
} | {
|
965
1621
|
type: "within";
|
966
1622
|
location: string;
|
967
1623
|
} | undefined;
|
968
|
-
|
969
|
-
|
1624
|
+
'legalStatus.REGISTERED.registrationNumber'?: {
|
1625
|
+
type: "exact";
|
1626
|
+
term: string;
|
1627
|
+
} | undefined;
|
1628
|
+
}[]];
|
1629
|
+
}, {
|
1630
|
+
type: "and" | "or";
|
1631
|
+
clauses?: unknown;
|
1632
|
+
}>;
|
970
1633
|
export type QueryType = z.infer<typeof QueryType>;
|
1634
|
+
export type QueryExpression = z.infer<typeof QueryExpression>;
|
971
1635
|
export {};
|
972
1636
|
//# sourceMappingURL=EventIndex.d.ts.map
|