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