@opencrvs/toolkit 1.8.1-rc.8c25e85 → 1.8.1-rc.a372970

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.
Files changed (42) hide show
  1. package/dist/commons/api/router.d.ts +5078 -5910
  2. package/dist/commons/conditionals/conditionals.d.ts +13 -9
  3. package/dist/commons/conditionals/validate.d.ts +6 -15
  4. package/dist/commons/events/ActionConfig.d.ts +1718 -119315
  5. package/dist/commons/events/ActionDocument.d.ts +1325 -4879
  6. package/dist/commons/events/ActionInput.d.ts +1025 -3205
  7. package/dist/commons/events/ActionType.d.ts +1 -10
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1282
  9. package/dist/commons/events/CompositeFieldValue.d.ts +9 -40
  10. package/dist/commons/events/Draft.d.ts +97 -288
  11. package/dist/commons/events/EventConfig.d.ts +1359 -54365
  12. package/dist/commons/events/EventDocument.d.ts +833 -2720
  13. package/dist/commons/events/EventIndex.d.ts +29 -2228
  14. package/dist/commons/events/EventMetadata.d.ts +47 -347
  15. package/dist/commons/events/FieldConfig.d.ts +1250 -6746
  16. package/dist/commons/events/FieldType.d.ts +3 -8
  17. package/dist/commons/events/FieldTypeMapping.d.ts +73 -161
  18. package/dist/commons/events/FieldValue.d.ts +20 -91
  19. package/dist/commons/events/FormConfig.d.ts +533 -55781
  20. package/dist/commons/events/PageConfig.d.ts +208 -13824
  21. package/dist/commons/events/SummaryConfig.d.ts +42 -93
  22. package/dist/commons/events/User.d.ts +2 -34
  23. package/dist/commons/events/WorkqueueConfig.d.ts +20 -8116
  24. package/dist/commons/events/defineConfig.d.ts +99 -8551
  25. package/dist/commons/events/index.d.ts +0 -8
  26. package/dist/commons/events/test.utils.d.ts +90 -206
  27. package/dist/commons/events/transactions.d.ts +1 -1
  28. package/dist/commons/events/utils.d.ts +94 -15442
  29. package/dist/conditionals/index.js +56 -66
  30. package/dist/events/index.js +1835 -4707
  31. package/dist/scopes/index.d.ts +7 -184
  32. package/dist/scopes/index.js +40 -140
  33. package/package.json +3 -4
  34. package/dist/commons/events/Constants.d.ts +0 -3
  35. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -4132
  36. package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
  37. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
  38. package/dist/commons/events/event.d.ts +0 -46
  39. package/dist/commons/events/field.d.ts +0 -94
  40. package/dist/commons/events/scopes.d.ts +0 -45
  41. package/dist/commons/events/serializer.d.ts +0 -2
  42. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -1,4132 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const SerializedQueryExpression: z.ZodObject<{
3
- eventType: z.ZodOptional<z.ZodString>;
4
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
5
- type: z.ZodLiteral<"anyOf">;
6
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
7
- }, "strip", z.ZodTypeAny, {
8
- type: "anyOf";
9
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
10
- }, {
11
- type: "anyOf";
12
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
13
- }>, z.ZodObject<{
14
- type: z.ZodLiteral<"exact">;
15
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
16
- }, "strip", z.ZodTypeAny, {
17
- type: "exact";
18
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
19
- }, {
20
- type: "exact";
21
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
22
- }>]>>>;
23
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
24
- type: z.ZodLiteral<"exact">;
25
- term: z.ZodString;
26
- }, {
27
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
28
- }>, "strip", z.ZodTypeAny, {
29
- type: "exact";
30
- term: string;
31
- }, {
32
- type: "exact";
33
- term: string;
34
- }>, z.ZodObject<{
35
- type: z.ZodLiteral<"range">;
36
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
37
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
38
- }, "strip", z.ZodTypeAny, {
39
- type: "range";
40
- gte: string;
41
- lte: string;
42
- }, {
43
- type: "range";
44
- gte: string;
45
- lte: string;
46
- }>, z.ZodObject<{
47
- type: z.ZodLiteral<"timePeriod">;
48
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
49
- }, "strip", z.ZodTypeAny, {
50
- type: "timePeriod";
51
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
52
- }, {
53
- type: "timePeriod";
54
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
55
- }>]>>>;
56
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
57
- type: z.ZodLiteral<"exact">;
58
- term: z.ZodString;
59
- }, {
60
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
61
- }>, "strip", z.ZodTypeAny, {
62
- type: "exact";
63
- term: string;
64
- }, {
65
- type: "exact";
66
- term: string;
67
- }>, z.ZodObject<{
68
- type: z.ZodLiteral<"range">;
69
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
70
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
71
- }, "strip", z.ZodTypeAny, {
72
- type: "range";
73
- gte: string;
74
- lte: string;
75
- }, {
76
- type: "range";
77
- gte: string;
78
- lte: string;
79
- }>, z.ZodObject<{
80
- type: z.ZodLiteral<"timePeriod">;
81
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
82
- }, "strip", z.ZodTypeAny, {
83
- type: "timePeriod";
84
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
85
- }, {
86
- type: "timePeriod";
87
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
88
- }>]>>>;
89
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
90
- type: z.ZodLiteral<"exact">;
91
- term: z.ZodString;
92
- }, {
93
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
94
- }>, "strip", z.ZodTypeAny, {
95
- type: "exact";
96
- term: string;
97
- }, {
98
- type: "exact";
99
- term: string;
100
- }>, z.ZodObject<{
101
- type: z.ZodLiteral<"range">;
102
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
103
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
104
- }, "strip", z.ZodTypeAny, {
105
- type: "range";
106
- gte: string;
107
- lte: string;
108
- }, {
109
- type: "range";
110
- gte: string;
111
- lte: string;
112
- }>, z.ZodObject<{
113
- type: z.ZodLiteral<"timePeriod">;
114
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
115
- }, "strip", z.ZodTypeAny, {
116
- type: "timePeriod";
117
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
118
- }, {
119
- type: "timePeriod";
120
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
121
- }>]>>>;
122
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
123
- type: z.ZodLiteral<"within">;
124
- location: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- type: "within";
127
- location: string;
128
- }, {
129
- type: "within";
130
- location: string;
131
- }>, z.ZodObject<{
132
- type: z.ZodLiteral<"exact">;
133
- term: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- type: "exact";
136
- term: string;
137
- }, {
138
- type: "exact";
139
- term: string;
140
- }>]>>>;
141
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
142
- type: z.ZodLiteral<"exact">;
143
- term: z.ZodString;
144
- }, "strip", z.ZodTypeAny, {
145
- type: "exact";
146
- term: string;
147
- }, {
148
- type: "exact";
149
- term: string;
150
- }>>>;
151
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
152
- type: z.ZodLiteral<"within">;
153
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
154
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
155
- }, "strip", z.ZodTypeAny, {
156
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
157
- }, {
158
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
159
- }>]>;
160
- }, "strip", z.ZodTypeAny, {
161
- type: "within";
162
- location: string | {
163
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
164
- };
165
- }, {
166
- type: "within";
167
- location: string | {
168
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
169
- };
170
- }>, z.ZodObject<{
171
- type: z.ZodLiteral<"exact">;
172
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
173
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
174
- }, "strip", z.ZodTypeAny, {
175
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
176
- }, {
177
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
178
- }>]>;
179
- }, "strip", z.ZodTypeAny, {
180
- type: "exact";
181
- term: string | {
182
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
183
- };
184
- }, {
185
- type: "exact";
186
- term: string | {
187
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
188
- };
189
- }>]>>>;
190
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
191
- type: z.ZodLiteral<"within">;
192
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
193
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
194
- }, "strip", z.ZodTypeAny, {
195
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
196
- }, {
197
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
198
- }>]>;
199
- }, "strip", z.ZodTypeAny, {
200
- type: "within";
201
- location: string | {
202
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
203
- };
204
- }, {
205
- type: "within";
206
- location: string | {
207
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
208
- };
209
- }>, z.ZodObject<{
210
- type: z.ZodLiteral<"exact">;
211
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
212
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
213
- }, "strip", z.ZodTypeAny, {
214
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
215
- }, {
216
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
217
- }>]>;
218
- }, "strip", z.ZodTypeAny, {
219
- type: "exact";
220
- term: string | {
221
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
222
- };
223
- }, {
224
- type: "exact";
225
- term: string | {
226
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
227
- };
228
- }>]>>>;
229
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
230
- type: z.ZodLiteral<"exact">;
231
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
232
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
233
- }, "strip", z.ZodTypeAny, {
234
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
235
- }, {
236
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
237
- }>]>;
238
- }, "strip", z.ZodTypeAny, {
239
- type: "exact";
240
- term: string | {
241
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
242
- };
243
- }, {
244
- type: "exact";
245
- term: string | {
246
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
247
- };
248
- }>>>;
249
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
250
- type: z.ZodLiteral<"exact">;
251
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
252
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
253
- }, "strip", z.ZodTypeAny, {
254
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
255
- }, {
256
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
257
- }>]>;
258
- }, "strip", z.ZodTypeAny, {
259
- type: "exact";
260
- term: string | {
261
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
262
- };
263
- }, {
264
- type: "exact";
265
- term: string | {
266
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
267
- };
268
- }>>>;
269
- createdByUserType: z.ZodOptional<z.ZodObject<{
270
- type: z.ZodLiteral<"exact">;
271
- term: z.ZodEnum<["user", "system"]>;
272
- }, "strip", z.ZodTypeAny, {
273
- type: "exact";
274
- term: "system" | "user";
275
- }, {
276
- type: "exact";
277
- term: "system" | "user";
278
- }>>;
279
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
280
- type: z.ZodLiteral<"exact">;
281
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
282
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
283
- }, "strip", z.ZodTypeAny, {
284
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
285
- }, {
286
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
287
- }>]>;
288
- }, "strip", z.ZodTypeAny, {
289
- type: "exact";
290
- term: string | {
291
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
292
- };
293
- }, {
294
- type: "exact";
295
- term: string | {
296
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
297
- };
298
- }>>>;
299
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
300
- type: z.ZodLiteral<"exact">;
301
- term: z.ZodString;
302
- }, "strip", z.ZodTypeAny, {
303
- type: "exact";
304
- term: string;
305
- }, {
306
- type: "exact";
307
- term: string;
308
- }>>>;
309
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
310
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
311
- readonly PRINTED: "printed";
312
- readonly INCOMPLETE: "incomplete";
313
- readonly REJECTED: "rejected";
314
- readonly CORRECTION_REQUESTED: "correction-requested";
315
- }>]>, "many">>;
316
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
317
- readonly PRINTED: "printed";
318
- readonly INCOMPLETE: "incomplete";
319
- readonly REJECTED: "rejected";
320
- readonly CORRECTION_REQUESTED: "correction-requested";
321
- }>]>, "many">>;
322
- }, "strip", z.ZodTypeAny, {
323
- anyOf?: string[] | undefined;
324
- noneOf?: string[] | undefined;
325
- }, {
326
- anyOf?: string[] | undefined;
327
- noneOf?: string[] | undefined;
328
- }>>>;
329
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
330
- }, "strip", z.ZodTypeAny, {
331
- status?: {
332
- type: "exact";
333
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
334
- } | {
335
- type: "anyOf";
336
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
337
- } | undefined;
338
- data?: any;
339
- createdByUserType?: {
340
- type: "exact";
341
- term: "system" | "user";
342
- } | undefined;
343
- createdAt?: {
344
- type: "range";
345
- gte: string;
346
- lte: string;
347
- } | {
348
- type: "exact";
349
- term: string;
350
- } | {
351
- type: "timePeriod";
352
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
353
- } | undefined;
354
- createdBy?: {
355
- type: "exact";
356
- term: string | {
357
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
358
- };
359
- } | undefined;
360
- createdAtLocation?: {
361
- type: "exact";
362
- term: string | {
363
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
364
- };
365
- } | {
366
- type: "within";
367
- location: string | {
368
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
369
- };
370
- } | undefined;
371
- assignedTo?: {
372
- type: "exact";
373
- term: string | {
374
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
375
- };
376
- } | undefined;
377
- updatedAt?: {
378
- type: "range";
379
- gte: string;
380
- lte: string;
381
- } | {
382
- type: "exact";
383
- term: string;
384
- } | {
385
- type: "timePeriod";
386
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
387
- } | undefined;
388
- trackingId?: {
389
- type: "exact";
390
- term: string;
391
- } | undefined;
392
- updatedAtLocation?: {
393
- type: "exact";
394
- term: string | {
395
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
396
- };
397
- } | {
398
- type: "within";
399
- location: string | {
400
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
401
- };
402
- } | undefined;
403
- updatedBy?: {
404
- type: "exact";
405
- term: string | {
406
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
407
- };
408
- } | undefined;
409
- flags?: {
410
- anyOf?: string[] | undefined;
411
- noneOf?: string[] | undefined;
412
- } | undefined;
413
- eventType?: string | undefined;
414
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
415
- type: "exact";
416
- term: string;
417
- } | {
418
- type: "within";
419
- location: string;
420
- } | undefined;
421
- 'legalStatuses.REGISTERED.registrationNumber'?: {
422
- type: "exact";
423
- term: string;
424
- } | undefined;
425
- 'legalStatuses.REGISTERED.createdAt'?: {
426
- type: "range";
427
- gte: string;
428
- lte: string;
429
- } | {
430
- type: "exact";
431
- term: string;
432
- } | {
433
- type: "timePeriod";
434
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
435
- } | undefined;
436
- }, {
437
- status?: {
438
- type: "exact";
439
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
440
- } | {
441
- type: "anyOf";
442
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
443
- } | undefined;
444
- data?: any;
445
- createdByUserType?: {
446
- type: "exact";
447
- term: "system" | "user";
448
- } | undefined;
449
- createdAt?: {
450
- type: "range";
451
- gte: string;
452
- lte: string;
453
- } | {
454
- type: "exact";
455
- term: string;
456
- } | {
457
- type: "timePeriod";
458
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
459
- } | undefined;
460
- createdBy?: {
461
- type: "exact";
462
- term: string | {
463
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
464
- };
465
- } | undefined;
466
- createdAtLocation?: {
467
- type: "exact";
468
- term: string | {
469
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
470
- };
471
- } | {
472
- type: "within";
473
- location: string | {
474
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
475
- };
476
- } | undefined;
477
- assignedTo?: {
478
- type: "exact";
479
- term: string | {
480
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
481
- };
482
- } | undefined;
483
- updatedAt?: {
484
- type: "range";
485
- gte: string;
486
- lte: string;
487
- } | {
488
- type: "exact";
489
- term: string;
490
- } | {
491
- type: "timePeriod";
492
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
493
- } | undefined;
494
- trackingId?: {
495
- type: "exact";
496
- term: string;
497
- } | undefined;
498
- updatedAtLocation?: {
499
- type: "exact";
500
- term: string | {
501
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
502
- };
503
- } | {
504
- type: "within";
505
- location: string | {
506
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
507
- };
508
- } | undefined;
509
- updatedBy?: {
510
- type: "exact";
511
- term: string | {
512
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
513
- };
514
- } | undefined;
515
- flags?: {
516
- anyOf?: string[] | undefined;
517
- noneOf?: string[] | undefined;
518
- } | undefined;
519
- eventType?: string | undefined;
520
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
521
- type: "exact";
522
- term: string;
523
- } | {
524
- type: "within";
525
- location: string;
526
- } | undefined;
527
- 'legalStatuses.REGISTERED.registrationNumber'?: {
528
- type: "exact";
529
- term: string;
530
- } | undefined;
531
- 'legalStatuses.REGISTERED.createdAt'?: {
532
- type: "range";
533
- gte: string;
534
- lte: string;
535
- } | {
536
- type: "exact";
537
- term: string;
538
- } | {
539
- type: "timePeriod";
540
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
541
- } | undefined;
542
- }>;
543
- export type SerializedQueryExpression = z.infer<typeof SerializedQueryExpression>;
544
- export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
545
- type: z.ZodLiteral<"and">;
546
- clauses: z.ZodArray<z.ZodObject<{
547
- eventType: z.ZodOptional<z.ZodString>;
548
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
549
- type: z.ZodLiteral<"anyOf">;
550
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
551
- }, "strip", z.ZodTypeAny, {
552
- type: "anyOf";
553
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
554
- }, {
555
- type: "anyOf";
556
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
557
- }>, z.ZodObject<{
558
- type: z.ZodLiteral<"exact">;
559
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
560
- }, "strip", z.ZodTypeAny, {
561
- type: "exact";
562
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
563
- }, {
564
- type: "exact";
565
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
566
- }>]>>>;
567
- createdAt: z.ZodOptional<z.ZodOptional<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
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
601
- type: z.ZodLiteral<"exact">;
602
- term: z.ZodString;
603
- }, {
604
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
605
- }>, "strip", z.ZodTypeAny, {
606
- type: "exact";
607
- term: string;
608
- }, {
609
- type: "exact";
610
- term: string;
611
- }>, z.ZodObject<{
612
- type: z.ZodLiteral<"range">;
613
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
614
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
615
- }, "strip", z.ZodTypeAny, {
616
- type: "range";
617
- gte: string;
618
- lte: string;
619
- }, {
620
- type: "range";
621
- gte: string;
622
- lte: string;
623
- }>, z.ZodObject<{
624
- type: z.ZodLiteral<"timePeriod">;
625
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
626
- }, "strip", z.ZodTypeAny, {
627
- type: "timePeriod";
628
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
629
- }, {
630
- type: "timePeriod";
631
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
632
- }>]>>>;
633
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
634
- type: z.ZodLiteral<"exact">;
635
- term: z.ZodString;
636
- }, {
637
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
638
- }>, "strip", z.ZodTypeAny, {
639
- type: "exact";
640
- term: string;
641
- }, {
642
- type: "exact";
643
- term: string;
644
- }>, z.ZodObject<{
645
- type: z.ZodLiteral<"range">;
646
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
647
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
648
- }, "strip", z.ZodTypeAny, {
649
- type: "range";
650
- gte: string;
651
- lte: string;
652
- }, {
653
- type: "range";
654
- gte: string;
655
- lte: string;
656
- }>, z.ZodObject<{
657
- type: z.ZodLiteral<"timePeriod">;
658
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
659
- }, "strip", z.ZodTypeAny, {
660
- type: "timePeriod";
661
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
662
- }, {
663
- type: "timePeriod";
664
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
665
- }>]>>>;
666
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
667
- type: z.ZodLiteral<"within">;
668
- location: z.ZodString;
669
- }, "strip", z.ZodTypeAny, {
670
- type: "within";
671
- location: string;
672
- }, {
673
- type: "within";
674
- location: string;
675
- }>, z.ZodObject<{
676
- type: z.ZodLiteral<"exact">;
677
- term: z.ZodString;
678
- }, "strip", z.ZodTypeAny, {
679
- type: "exact";
680
- term: string;
681
- }, {
682
- type: "exact";
683
- term: string;
684
- }>]>>>;
685
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
686
- type: z.ZodLiteral<"exact">;
687
- term: z.ZodString;
688
- }, "strip", z.ZodTypeAny, {
689
- type: "exact";
690
- term: string;
691
- }, {
692
- type: "exact";
693
- term: string;
694
- }>>>;
695
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
696
- type: z.ZodLiteral<"within">;
697
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
698
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
699
- }, "strip", z.ZodTypeAny, {
700
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
701
- }, {
702
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
703
- }>]>;
704
- }, "strip", z.ZodTypeAny, {
705
- type: "within";
706
- location: string | {
707
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
708
- };
709
- }, {
710
- type: "within";
711
- location: string | {
712
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
713
- };
714
- }>, z.ZodObject<{
715
- type: z.ZodLiteral<"exact">;
716
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
717
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
718
- }, "strip", z.ZodTypeAny, {
719
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
720
- }, {
721
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
722
- }>]>;
723
- }, "strip", z.ZodTypeAny, {
724
- type: "exact";
725
- term: string | {
726
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
727
- };
728
- }, {
729
- type: "exact";
730
- term: string | {
731
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
732
- };
733
- }>]>>>;
734
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
735
- type: z.ZodLiteral<"within">;
736
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
737
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
738
- }, "strip", z.ZodTypeAny, {
739
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
740
- }, {
741
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
742
- }>]>;
743
- }, "strip", z.ZodTypeAny, {
744
- type: "within";
745
- location: string | {
746
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
747
- };
748
- }, {
749
- type: "within";
750
- location: string | {
751
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
752
- };
753
- }>, z.ZodObject<{
754
- type: z.ZodLiteral<"exact">;
755
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
756
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
757
- }, "strip", z.ZodTypeAny, {
758
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
759
- }, {
760
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
761
- }>]>;
762
- }, "strip", z.ZodTypeAny, {
763
- type: "exact";
764
- term: string | {
765
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
766
- };
767
- }, {
768
- type: "exact";
769
- term: string | {
770
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
771
- };
772
- }>]>>>;
773
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
774
- type: z.ZodLiteral<"exact">;
775
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
776
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
777
- }, "strip", z.ZodTypeAny, {
778
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
779
- }, {
780
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
781
- }>]>;
782
- }, "strip", z.ZodTypeAny, {
783
- type: "exact";
784
- term: string | {
785
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
786
- };
787
- }, {
788
- type: "exact";
789
- term: string | {
790
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
791
- };
792
- }>>>;
793
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
794
- type: z.ZodLiteral<"exact">;
795
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
796
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
797
- }, "strip", z.ZodTypeAny, {
798
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
799
- }, {
800
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
801
- }>]>;
802
- }, "strip", z.ZodTypeAny, {
803
- type: "exact";
804
- term: string | {
805
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
806
- };
807
- }, {
808
- type: "exact";
809
- term: string | {
810
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
811
- };
812
- }>>>;
813
- createdByUserType: z.ZodOptional<z.ZodObject<{
814
- type: z.ZodLiteral<"exact">;
815
- term: z.ZodEnum<["user", "system"]>;
816
- }, "strip", z.ZodTypeAny, {
817
- type: "exact";
818
- term: "system" | "user";
819
- }, {
820
- type: "exact";
821
- term: "system" | "user";
822
- }>>;
823
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
824
- type: z.ZodLiteral<"exact">;
825
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
826
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
827
- }, "strip", z.ZodTypeAny, {
828
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
829
- }, {
830
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
831
- }>]>;
832
- }, "strip", z.ZodTypeAny, {
833
- type: "exact";
834
- term: string | {
835
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
836
- };
837
- }, {
838
- type: "exact";
839
- term: string | {
840
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
841
- };
842
- }>>>;
843
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
844
- type: z.ZodLiteral<"exact">;
845
- term: z.ZodString;
846
- }, "strip", z.ZodTypeAny, {
847
- type: "exact";
848
- term: string;
849
- }, {
850
- type: "exact";
851
- term: string;
852
- }>>>;
853
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
854
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
855
- readonly PRINTED: "printed";
856
- readonly INCOMPLETE: "incomplete";
857
- readonly REJECTED: "rejected";
858
- readonly CORRECTION_REQUESTED: "correction-requested";
859
- }>]>, "many">>;
860
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
861
- readonly PRINTED: "printed";
862
- readonly INCOMPLETE: "incomplete";
863
- readonly REJECTED: "rejected";
864
- readonly CORRECTION_REQUESTED: "correction-requested";
865
- }>]>, "many">>;
866
- }, "strip", z.ZodTypeAny, {
867
- anyOf?: string[] | undefined;
868
- noneOf?: string[] | undefined;
869
- }, {
870
- anyOf?: string[] | undefined;
871
- noneOf?: string[] | undefined;
872
- }>>>;
873
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
874
- }, "strip", z.ZodTypeAny, {
875
- status?: {
876
- type: "exact";
877
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
878
- } | {
879
- type: "anyOf";
880
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
881
- } | undefined;
882
- data?: any;
883
- createdByUserType?: {
884
- type: "exact";
885
- term: "system" | "user";
886
- } | undefined;
887
- createdAt?: {
888
- type: "range";
889
- gte: string;
890
- lte: string;
891
- } | {
892
- type: "exact";
893
- term: string;
894
- } | {
895
- type: "timePeriod";
896
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
897
- } | undefined;
898
- createdBy?: {
899
- type: "exact";
900
- term: string | {
901
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
902
- };
903
- } | undefined;
904
- createdAtLocation?: {
905
- type: "exact";
906
- term: string | {
907
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
908
- };
909
- } | {
910
- type: "within";
911
- location: string | {
912
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
913
- };
914
- } | undefined;
915
- assignedTo?: {
916
- type: "exact";
917
- term: string | {
918
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
919
- };
920
- } | undefined;
921
- updatedAt?: {
922
- type: "range";
923
- gte: string;
924
- lte: string;
925
- } | {
926
- type: "exact";
927
- term: string;
928
- } | {
929
- type: "timePeriod";
930
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
931
- } | undefined;
932
- trackingId?: {
933
- type: "exact";
934
- term: string;
935
- } | undefined;
936
- updatedAtLocation?: {
937
- type: "exact";
938
- term: string | {
939
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
940
- };
941
- } | {
942
- type: "within";
943
- location: string | {
944
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
945
- };
946
- } | undefined;
947
- updatedBy?: {
948
- type: "exact";
949
- term: string | {
950
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
951
- };
952
- } | undefined;
953
- flags?: {
954
- anyOf?: string[] | undefined;
955
- noneOf?: string[] | undefined;
956
- } | undefined;
957
- eventType?: string | undefined;
958
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
959
- type: "exact";
960
- term: string;
961
- } | {
962
- type: "within";
963
- location: string;
964
- } | undefined;
965
- 'legalStatuses.REGISTERED.registrationNumber'?: {
966
- type: "exact";
967
- term: string;
968
- } | undefined;
969
- 'legalStatuses.REGISTERED.createdAt'?: {
970
- type: "range";
971
- gte: string;
972
- lte: string;
973
- } | {
974
- type: "exact";
975
- term: string;
976
- } | {
977
- type: "timePeriod";
978
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
979
- } | undefined;
980
- }, {
981
- status?: {
982
- type: "exact";
983
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
984
- } | {
985
- type: "anyOf";
986
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
987
- } | undefined;
988
- data?: any;
989
- createdByUserType?: {
990
- type: "exact";
991
- term: "system" | "user";
992
- } | undefined;
993
- createdAt?: {
994
- type: "range";
995
- gte: string;
996
- lte: string;
997
- } | {
998
- type: "exact";
999
- term: string;
1000
- } | {
1001
- type: "timePeriod";
1002
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1003
- } | undefined;
1004
- createdBy?: {
1005
- type: "exact";
1006
- term: string | {
1007
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1008
- };
1009
- } | undefined;
1010
- createdAtLocation?: {
1011
- type: "exact";
1012
- term: string | {
1013
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1014
- };
1015
- } | {
1016
- type: "within";
1017
- location: string | {
1018
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1019
- };
1020
- } | undefined;
1021
- assignedTo?: {
1022
- type: "exact";
1023
- term: string | {
1024
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1025
- };
1026
- } | undefined;
1027
- updatedAt?: {
1028
- type: "range";
1029
- gte: string;
1030
- lte: string;
1031
- } | {
1032
- type: "exact";
1033
- term: string;
1034
- } | {
1035
- type: "timePeriod";
1036
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1037
- } | undefined;
1038
- trackingId?: {
1039
- type: "exact";
1040
- term: string;
1041
- } | undefined;
1042
- updatedAtLocation?: {
1043
- type: "exact";
1044
- term: string | {
1045
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1046
- };
1047
- } | {
1048
- type: "within";
1049
- location: string | {
1050
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1051
- };
1052
- } | undefined;
1053
- updatedBy?: {
1054
- type: "exact";
1055
- term: string | {
1056
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1057
- };
1058
- } | undefined;
1059
- flags?: {
1060
- anyOf?: string[] | undefined;
1061
- noneOf?: string[] | undefined;
1062
- } | undefined;
1063
- eventType?: string | undefined;
1064
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1065
- type: "exact";
1066
- term: string;
1067
- } | {
1068
- type: "within";
1069
- location: string;
1070
- } | undefined;
1071
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1072
- type: "exact";
1073
- term: string;
1074
- } | undefined;
1075
- 'legalStatuses.REGISTERED.createdAt'?: {
1076
- type: "range";
1077
- gte: string;
1078
- lte: string;
1079
- } | {
1080
- type: "exact";
1081
- term: string;
1082
- } | {
1083
- type: "timePeriod";
1084
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1085
- } | undefined;
1086
- }>, "many">;
1087
- }, "strip", z.ZodTypeAny, {
1088
- type: "and";
1089
- clauses: {
1090
- status?: {
1091
- type: "exact";
1092
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1093
- } | {
1094
- type: "anyOf";
1095
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1096
- } | undefined;
1097
- data?: any;
1098
- createdByUserType?: {
1099
- type: "exact";
1100
- term: "system" | "user";
1101
- } | undefined;
1102
- createdAt?: {
1103
- type: "range";
1104
- gte: string;
1105
- lte: string;
1106
- } | {
1107
- type: "exact";
1108
- term: string;
1109
- } | {
1110
- type: "timePeriod";
1111
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1112
- } | undefined;
1113
- createdBy?: {
1114
- type: "exact";
1115
- term: string | {
1116
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1117
- };
1118
- } | undefined;
1119
- createdAtLocation?: {
1120
- type: "exact";
1121
- term: string | {
1122
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1123
- };
1124
- } | {
1125
- type: "within";
1126
- location: string | {
1127
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1128
- };
1129
- } | undefined;
1130
- assignedTo?: {
1131
- type: "exact";
1132
- term: string | {
1133
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1134
- };
1135
- } | undefined;
1136
- updatedAt?: {
1137
- type: "range";
1138
- gte: string;
1139
- lte: string;
1140
- } | {
1141
- type: "exact";
1142
- term: string;
1143
- } | {
1144
- type: "timePeriod";
1145
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1146
- } | undefined;
1147
- trackingId?: {
1148
- type: "exact";
1149
- term: string;
1150
- } | undefined;
1151
- updatedAtLocation?: {
1152
- type: "exact";
1153
- term: string | {
1154
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1155
- };
1156
- } | {
1157
- type: "within";
1158
- location: string | {
1159
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1160
- };
1161
- } | undefined;
1162
- updatedBy?: {
1163
- type: "exact";
1164
- term: string | {
1165
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1166
- };
1167
- } | undefined;
1168
- flags?: {
1169
- anyOf?: string[] | undefined;
1170
- noneOf?: string[] | undefined;
1171
- } | undefined;
1172
- eventType?: string | undefined;
1173
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1174
- type: "exact";
1175
- term: string;
1176
- } | {
1177
- type: "within";
1178
- location: string;
1179
- } | undefined;
1180
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1181
- type: "exact";
1182
- term: string;
1183
- } | undefined;
1184
- 'legalStatuses.REGISTERED.createdAt'?: {
1185
- type: "range";
1186
- gte: string;
1187
- lte: string;
1188
- } | {
1189
- type: "exact";
1190
- term: string;
1191
- } | {
1192
- type: "timePeriod";
1193
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1194
- } | undefined;
1195
- }[];
1196
- }, {
1197
- type: "and";
1198
- clauses: {
1199
- status?: {
1200
- type: "exact";
1201
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1202
- } | {
1203
- type: "anyOf";
1204
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1205
- } | undefined;
1206
- data?: any;
1207
- createdByUserType?: {
1208
- type: "exact";
1209
- term: "system" | "user";
1210
- } | undefined;
1211
- createdAt?: {
1212
- type: "range";
1213
- gte: string;
1214
- lte: string;
1215
- } | {
1216
- type: "exact";
1217
- term: string;
1218
- } | {
1219
- type: "timePeriod";
1220
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1221
- } | undefined;
1222
- createdBy?: {
1223
- type: "exact";
1224
- term: string | {
1225
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1226
- };
1227
- } | undefined;
1228
- createdAtLocation?: {
1229
- type: "exact";
1230
- term: string | {
1231
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1232
- };
1233
- } | {
1234
- type: "within";
1235
- location: string | {
1236
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1237
- };
1238
- } | undefined;
1239
- assignedTo?: {
1240
- type: "exact";
1241
- term: string | {
1242
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1243
- };
1244
- } | undefined;
1245
- updatedAt?: {
1246
- type: "range";
1247
- gte: string;
1248
- lte: string;
1249
- } | {
1250
- type: "exact";
1251
- term: string;
1252
- } | {
1253
- type: "timePeriod";
1254
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1255
- } | undefined;
1256
- trackingId?: {
1257
- type: "exact";
1258
- term: string;
1259
- } | undefined;
1260
- updatedAtLocation?: {
1261
- type: "exact";
1262
- term: string | {
1263
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1264
- };
1265
- } | {
1266
- type: "within";
1267
- location: string | {
1268
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1269
- };
1270
- } | undefined;
1271
- updatedBy?: {
1272
- type: "exact";
1273
- term: string | {
1274
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1275
- };
1276
- } | undefined;
1277
- flags?: {
1278
- anyOf?: string[] | undefined;
1279
- noneOf?: string[] | undefined;
1280
- } | undefined;
1281
- eventType?: string | undefined;
1282
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1283
- type: "exact";
1284
- term: string;
1285
- } | {
1286
- type: "within";
1287
- location: string;
1288
- } | undefined;
1289
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1290
- type: "exact";
1291
- term: string;
1292
- } | undefined;
1293
- 'legalStatuses.REGISTERED.createdAt'?: {
1294
- type: "range";
1295
- gte: string;
1296
- lte: string;
1297
- } | {
1298
- type: "exact";
1299
- term: string;
1300
- } | {
1301
- type: "timePeriod";
1302
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1303
- } | undefined;
1304
- }[];
1305
- }>, z.ZodObject<{
1306
- type: z.ZodLiteral<"or">;
1307
- clauses: z.ZodArray<z.ZodObject<{
1308
- eventType: z.ZodOptional<z.ZodString>;
1309
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1310
- type: z.ZodLiteral<"anyOf">;
1311
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
1312
- }, "strip", z.ZodTypeAny, {
1313
- type: "anyOf";
1314
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1315
- }, {
1316
- type: "anyOf";
1317
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1318
- }>, z.ZodObject<{
1319
- type: z.ZodLiteral<"exact">;
1320
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
1321
- }, "strip", z.ZodTypeAny, {
1322
- type: "exact";
1323
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1324
- }, {
1325
- type: "exact";
1326
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1327
- }>]>>>;
1328
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1329
- type: z.ZodLiteral<"exact">;
1330
- term: z.ZodString;
1331
- }, {
1332
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1333
- }>, "strip", z.ZodTypeAny, {
1334
- type: "exact";
1335
- term: string;
1336
- }, {
1337
- type: "exact";
1338
- term: string;
1339
- }>, z.ZodObject<{
1340
- type: z.ZodLiteral<"range">;
1341
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1342
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1343
- }, "strip", z.ZodTypeAny, {
1344
- type: "range";
1345
- gte: string;
1346
- lte: string;
1347
- }, {
1348
- type: "range";
1349
- gte: string;
1350
- lte: string;
1351
- }>, z.ZodObject<{
1352
- type: z.ZodLiteral<"timePeriod">;
1353
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1354
- }, "strip", z.ZodTypeAny, {
1355
- type: "timePeriod";
1356
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1357
- }, {
1358
- type: "timePeriod";
1359
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1360
- }>]>>>;
1361
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1362
- type: z.ZodLiteral<"exact">;
1363
- term: z.ZodString;
1364
- }, {
1365
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1366
- }>, "strip", z.ZodTypeAny, {
1367
- type: "exact";
1368
- term: string;
1369
- }, {
1370
- type: "exact";
1371
- term: string;
1372
- }>, z.ZodObject<{
1373
- type: z.ZodLiteral<"range">;
1374
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1375
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1376
- }, "strip", z.ZodTypeAny, {
1377
- type: "range";
1378
- gte: string;
1379
- lte: string;
1380
- }, {
1381
- type: "range";
1382
- gte: string;
1383
- lte: string;
1384
- }>, z.ZodObject<{
1385
- type: z.ZodLiteral<"timePeriod">;
1386
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1387
- }, "strip", z.ZodTypeAny, {
1388
- type: "timePeriod";
1389
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1390
- }, {
1391
- type: "timePeriod";
1392
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1393
- }>]>>>;
1394
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1395
- type: z.ZodLiteral<"exact">;
1396
- term: z.ZodString;
1397
- }, {
1398
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1399
- }>, "strip", z.ZodTypeAny, {
1400
- type: "exact";
1401
- term: string;
1402
- }, {
1403
- type: "exact";
1404
- term: string;
1405
- }>, z.ZodObject<{
1406
- type: z.ZodLiteral<"range">;
1407
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1408
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1409
- }, "strip", z.ZodTypeAny, {
1410
- type: "range";
1411
- gte: string;
1412
- lte: string;
1413
- }, {
1414
- type: "range";
1415
- gte: string;
1416
- lte: string;
1417
- }>, z.ZodObject<{
1418
- type: z.ZodLiteral<"timePeriod">;
1419
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
1420
- }, "strip", z.ZodTypeAny, {
1421
- type: "timePeriod";
1422
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1423
- }, {
1424
- type: "timePeriod";
1425
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1426
- }>]>>>;
1427
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1428
- type: z.ZodLiteral<"within">;
1429
- location: z.ZodString;
1430
- }, "strip", z.ZodTypeAny, {
1431
- type: "within";
1432
- location: string;
1433
- }, {
1434
- type: "within";
1435
- location: string;
1436
- }>, z.ZodObject<{
1437
- type: z.ZodLiteral<"exact">;
1438
- term: z.ZodString;
1439
- }, "strip", z.ZodTypeAny, {
1440
- type: "exact";
1441
- term: string;
1442
- }, {
1443
- type: "exact";
1444
- term: string;
1445
- }>]>>>;
1446
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
1447
- type: z.ZodLiteral<"exact">;
1448
- term: z.ZodString;
1449
- }, "strip", z.ZodTypeAny, {
1450
- type: "exact";
1451
- term: string;
1452
- }, {
1453
- type: "exact";
1454
- term: string;
1455
- }>>>;
1456
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1457
- type: z.ZodLiteral<"within">;
1458
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1459
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1460
- }, "strip", z.ZodTypeAny, {
1461
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1462
- }, {
1463
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1464
- }>]>;
1465
- }, "strip", z.ZodTypeAny, {
1466
- type: "within";
1467
- location: string | {
1468
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1469
- };
1470
- }, {
1471
- type: "within";
1472
- location: string | {
1473
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1474
- };
1475
- }>, z.ZodObject<{
1476
- type: z.ZodLiteral<"exact">;
1477
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1478
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1479
- }, "strip", z.ZodTypeAny, {
1480
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1481
- }, {
1482
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1483
- }>]>;
1484
- }, "strip", z.ZodTypeAny, {
1485
- type: "exact";
1486
- term: string | {
1487
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1488
- };
1489
- }, {
1490
- type: "exact";
1491
- term: string | {
1492
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1493
- };
1494
- }>]>>>;
1495
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1496
- type: z.ZodLiteral<"within">;
1497
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1498
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1499
- }, "strip", z.ZodTypeAny, {
1500
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1501
- }, {
1502
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1503
- }>]>;
1504
- }, "strip", z.ZodTypeAny, {
1505
- type: "within";
1506
- location: string | {
1507
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1508
- };
1509
- }, {
1510
- type: "within";
1511
- location: string | {
1512
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1513
- };
1514
- }>, z.ZodObject<{
1515
- type: z.ZodLiteral<"exact">;
1516
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1517
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1518
- }, "strip", z.ZodTypeAny, {
1519
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1520
- }, {
1521
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1522
- }>]>;
1523
- }, "strip", z.ZodTypeAny, {
1524
- type: "exact";
1525
- term: string | {
1526
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1527
- };
1528
- }, {
1529
- type: "exact";
1530
- term: string | {
1531
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1532
- };
1533
- }>]>>>;
1534
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1535
- type: z.ZodLiteral<"exact">;
1536
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1537
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1538
- }, "strip", z.ZodTypeAny, {
1539
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1540
- }, {
1541
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1542
- }>]>;
1543
- }, "strip", z.ZodTypeAny, {
1544
- type: "exact";
1545
- term: string | {
1546
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1547
- };
1548
- }, {
1549
- type: "exact";
1550
- term: string | {
1551
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1552
- };
1553
- }>>>;
1554
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1555
- type: z.ZodLiteral<"exact">;
1556
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1557
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1558
- }, "strip", z.ZodTypeAny, {
1559
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1560
- }, {
1561
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1562
- }>]>;
1563
- }, "strip", z.ZodTypeAny, {
1564
- type: "exact";
1565
- term: string | {
1566
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1567
- };
1568
- }, {
1569
- type: "exact";
1570
- term: string | {
1571
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1572
- };
1573
- }>>>;
1574
- createdByUserType: z.ZodOptional<z.ZodObject<{
1575
- type: z.ZodLiteral<"exact">;
1576
- term: z.ZodEnum<["user", "system"]>;
1577
- }, "strip", z.ZodTypeAny, {
1578
- type: "exact";
1579
- term: "system" | "user";
1580
- }, {
1581
- type: "exact";
1582
- term: "system" | "user";
1583
- }>>;
1584
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1585
- type: z.ZodLiteral<"exact">;
1586
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1587
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
1588
- }, "strip", z.ZodTypeAny, {
1589
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1590
- }, {
1591
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1592
- }>]>;
1593
- }, "strip", z.ZodTypeAny, {
1594
- type: "exact";
1595
- term: string | {
1596
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1597
- };
1598
- }, {
1599
- type: "exact";
1600
- term: string | {
1601
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1602
- };
1603
- }>>>;
1604
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1605
- type: z.ZodLiteral<"exact">;
1606
- term: z.ZodString;
1607
- }, "strip", z.ZodTypeAny, {
1608
- type: "exact";
1609
- term: string;
1610
- }, {
1611
- type: "exact";
1612
- term: string;
1613
- }>>>;
1614
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1615
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1616
- readonly PRINTED: "printed";
1617
- readonly INCOMPLETE: "incomplete";
1618
- readonly REJECTED: "rejected";
1619
- readonly CORRECTION_REQUESTED: "correction-requested";
1620
- }>]>, "many">>;
1621
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1622
- readonly PRINTED: "printed";
1623
- readonly INCOMPLETE: "incomplete";
1624
- readonly REJECTED: "rejected";
1625
- readonly CORRECTION_REQUESTED: "correction-requested";
1626
- }>]>, "many">>;
1627
- }, "strip", z.ZodTypeAny, {
1628
- anyOf?: string[] | undefined;
1629
- noneOf?: string[] | undefined;
1630
- }, {
1631
- anyOf?: string[] | undefined;
1632
- noneOf?: string[] | undefined;
1633
- }>>>;
1634
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1635
- }, "strip", z.ZodTypeAny, {
1636
- status?: {
1637
- type: "exact";
1638
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1639
- } | {
1640
- type: "anyOf";
1641
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1642
- } | undefined;
1643
- data?: any;
1644
- createdByUserType?: {
1645
- type: "exact";
1646
- term: "system" | "user";
1647
- } | undefined;
1648
- createdAt?: {
1649
- type: "range";
1650
- gte: string;
1651
- lte: string;
1652
- } | {
1653
- type: "exact";
1654
- term: string;
1655
- } | {
1656
- type: "timePeriod";
1657
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1658
- } | undefined;
1659
- createdBy?: {
1660
- type: "exact";
1661
- term: string | {
1662
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1663
- };
1664
- } | undefined;
1665
- createdAtLocation?: {
1666
- type: "exact";
1667
- term: string | {
1668
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1669
- };
1670
- } | {
1671
- type: "within";
1672
- location: string | {
1673
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1674
- };
1675
- } | undefined;
1676
- assignedTo?: {
1677
- type: "exact";
1678
- term: string | {
1679
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1680
- };
1681
- } | undefined;
1682
- updatedAt?: {
1683
- type: "range";
1684
- gte: string;
1685
- lte: string;
1686
- } | {
1687
- type: "exact";
1688
- term: string;
1689
- } | {
1690
- type: "timePeriod";
1691
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1692
- } | undefined;
1693
- trackingId?: {
1694
- type: "exact";
1695
- term: string;
1696
- } | undefined;
1697
- updatedAtLocation?: {
1698
- type: "exact";
1699
- term: string | {
1700
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1701
- };
1702
- } | {
1703
- type: "within";
1704
- location: string | {
1705
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1706
- };
1707
- } | undefined;
1708
- updatedBy?: {
1709
- type: "exact";
1710
- term: string | {
1711
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1712
- };
1713
- } | undefined;
1714
- flags?: {
1715
- anyOf?: string[] | undefined;
1716
- noneOf?: string[] | undefined;
1717
- } | undefined;
1718
- eventType?: string | undefined;
1719
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1720
- type: "exact";
1721
- term: string;
1722
- } | {
1723
- type: "within";
1724
- location: string;
1725
- } | undefined;
1726
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1727
- type: "exact";
1728
- term: string;
1729
- } | undefined;
1730
- 'legalStatuses.REGISTERED.createdAt'?: {
1731
- type: "range";
1732
- gte: string;
1733
- lte: string;
1734
- } | {
1735
- type: "exact";
1736
- term: string;
1737
- } | {
1738
- type: "timePeriod";
1739
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1740
- } | undefined;
1741
- }, {
1742
- status?: {
1743
- type: "exact";
1744
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1745
- } | {
1746
- type: "anyOf";
1747
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1748
- } | undefined;
1749
- data?: any;
1750
- createdByUserType?: {
1751
- type: "exact";
1752
- term: "system" | "user";
1753
- } | undefined;
1754
- createdAt?: {
1755
- type: "range";
1756
- gte: string;
1757
- lte: string;
1758
- } | {
1759
- type: "exact";
1760
- term: string;
1761
- } | {
1762
- type: "timePeriod";
1763
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1764
- } | undefined;
1765
- createdBy?: {
1766
- type: "exact";
1767
- term: string | {
1768
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1769
- };
1770
- } | undefined;
1771
- createdAtLocation?: {
1772
- type: "exact";
1773
- term: string | {
1774
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1775
- };
1776
- } | {
1777
- type: "within";
1778
- location: string | {
1779
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1780
- };
1781
- } | undefined;
1782
- assignedTo?: {
1783
- type: "exact";
1784
- term: string | {
1785
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1786
- };
1787
- } | undefined;
1788
- updatedAt?: {
1789
- type: "range";
1790
- gte: string;
1791
- lte: string;
1792
- } | {
1793
- type: "exact";
1794
- term: string;
1795
- } | {
1796
- type: "timePeriod";
1797
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1798
- } | undefined;
1799
- trackingId?: {
1800
- type: "exact";
1801
- term: string;
1802
- } | undefined;
1803
- updatedAtLocation?: {
1804
- type: "exact";
1805
- term: string | {
1806
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1807
- };
1808
- } | {
1809
- type: "within";
1810
- location: string | {
1811
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1812
- };
1813
- } | undefined;
1814
- updatedBy?: {
1815
- type: "exact";
1816
- term: string | {
1817
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1818
- };
1819
- } | undefined;
1820
- flags?: {
1821
- anyOf?: string[] | undefined;
1822
- noneOf?: string[] | undefined;
1823
- } | undefined;
1824
- eventType?: string | undefined;
1825
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1826
- type: "exact";
1827
- term: string;
1828
- } | {
1829
- type: "within";
1830
- location: string;
1831
- } | undefined;
1832
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1833
- type: "exact";
1834
- term: string;
1835
- } | undefined;
1836
- 'legalStatuses.REGISTERED.createdAt'?: {
1837
- type: "range";
1838
- gte: string;
1839
- lte: string;
1840
- } | {
1841
- type: "exact";
1842
- term: string;
1843
- } | {
1844
- type: "timePeriod";
1845
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1846
- } | undefined;
1847
- }>, "many">;
1848
- }, "strip", z.ZodTypeAny, {
1849
- type: "or";
1850
- clauses: {
1851
- status?: {
1852
- type: "exact";
1853
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1854
- } | {
1855
- type: "anyOf";
1856
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1857
- } | undefined;
1858
- data?: any;
1859
- createdByUserType?: {
1860
- type: "exact";
1861
- term: "system" | "user";
1862
- } | undefined;
1863
- createdAt?: {
1864
- type: "range";
1865
- gte: string;
1866
- lte: string;
1867
- } | {
1868
- type: "exact";
1869
- term: string;
1870
- } | {
1871
- type: "timePeriod";
1872
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1873
- } | undefined;
1874
- createdBy?: {
1875
- type: "exact";
1876
- term: string | {
1877
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1878
- };
1879
- } | undefined;
1880
- createdAtLocation?: {
1881
- type: "exact";
1882
- term: string | {
1883
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1884
- };
1885
- } | {
1886
- type: "within";
1887
- location: string | {
1888
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1889
- };
1890
- } | undefined;
1891
- assignedTo?: {
1892
- type: "exact";
1893
- term: string | {
1894
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1895
- };
1896
- } | undefined;
1897
- updatedAt?: {
1898
- type: "range";
1899
- gte: string;
1900
- lte: string;
1901
- } | {
1902
- type: "exact";
1903
- term: string;
1904
- } | {
1905
- type: "timePeriod";
1906
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1907
- } | undefined;
1908
- trackingId?: {
1909
- type: "exact";
1910
- term: string;
1911
- } | undefined;
1912
- updatedAtLocation?: {
1913
- type: "exact";
1914
- term: string | {
1915
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1916
- };
1917
- } | {
1918
- type: "within";
1919
- location: string | {
1920
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1921
- };
1922
- } | undefined;
1923
- updatedBy?: {
1924
- type: "exact";
1925
- term: string | {
1926
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1927
- };
1928
- } | undefined;
1929
- flags?: {
1930
- anyOf?: string[] | undefined;
1931
- noneOf?: string[] | undefined;
1932
- } | undefined;
1933
- eventType?: string | undefined;
1934
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
1935
- type: "exact";
1936
- term: string;
1937
- } | {
1938
- type: "within";
1939
- location: string;
1940
- } | undefined;
1941
- 'legalStatuses.REGISTERED.registrationNumber'?: {
1942
- type: "exact";
1943
- term: string;
1944
- } | undefined;
1945
- 'legalStatuses.REGISTERED.createdAt'?: {
1946
- type: "range";
1947
- gte: string;
1948
- lte: string;
1949
- } | {
1950
- type: "exact";
1951
- term: string;
1952
- } | {
1953
- type: "timePeriod";
1954
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1955
- } | undefined;
1956
- }[];
1957
- }, {
1958
- type: "or";
1959
- clauses: {
1960
- status?: {
1961
- type: "exact";
1962
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1963
- } | {
1964
- type: "anyOf";
1965
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1966
- } | undefined;
1967
- data?: any;
1968
- createdByUserType?: {
1969
- type: "exact";
1970
- term: "system" | "user";
1971
- } | undefined;
1972
- createdAt?: {
1973
- type: "range";
1974
- gte: string;
1975
- lte: string;
1976
- } | {
1977
- type: "exact";
1978
- term: string;
1979
- } | {
1980
- type: "timePeriod";
1981
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
1982
- } | undefined;
1983
- createdBy?: {
1984
- type: "exact";
1985
- term: string | {
1986
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1987
- };
1988
- } | undefined;
1989
- createdAtLocation?: {
1990
- type: "exact";
1991
- term: string | {
1992
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1993
- };
1994
- } | {
1995
- type: "within";
1996
- location: string | {
1997
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
1998
- };
1999
- } | undefined;
2000
- assignedTo?: {
2001
- type: "exact";
2002
- term: string | {
2003
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2004
- };
2005
- } | undefined;
2006
- updatedAt?: {
2007
- type: "range";
2008
- gte: string;
2009
- lte: string;
2010
- } | {
2011
- type: "exact";
2012
- term: string;
2013
- } | {
2014
- type: "timePeriod";
2015
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2016
- } | undefined;
2017
- trackingId?: {
2018
- type: "exact";
2019
- term: string;
2020
- } | undefined;
2021
- updatedAtLocation?: {
2022
- type: "exact";
2023
- term: string | {
2024
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2025
- };
2026
- } | {
2027
- type: "within";
2028
- location: string | {
2029
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2030
- };
2031
- } | undefined;
2032
- updatedBy?: {
2033
- type: "exact";
2034
- term: string | {
2035
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2036
- };
2037
- } | undefined;
2038
- flags?: {
2039
- anyOf?: string[] | undefined;
2040
- noneOf?: string[] | undefined;
2041
- } | undefined;
2042
- eventType?: string | undefined;
2043
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
2044
- type: "exact";
2045
- term: string;
2046
- } | {
2047
- type: "within";
2048
- location: string;
2049
- } | undefined;
2050
- 'legalStatuses.REGISTERED.registrationNumber'?: {
2051
- type: "exact";
2052
- term: string;
2053
- } | undefined;
2054
- 'legalStatuses.REGISTERED.createdAt'?: {
2055
- type: "range";
2056
- gte: string;
2057
- lte: string;
2058
- } | {
2059
- type: "exact";
2060
- term: string;
2061
- } | {
2062
- type: "timePeriod";
2063
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2064
- } | undefined;
2065
- }[];
2066
- }>]>;
2067
- export type CountryConfigQueryType = z.infer<typeof CountryConfigQueryType>;
2068
- export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2069
- eventType: z.ZodOptional<z.ZodString>;
2070
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2071
- type: z.ZodLiteral<"anyOf">;
2072
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
2073
- }, "strip", z.ZodTypeAny, {
2074
- type: "anyOf";
2075
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2076
- }, {
2077
- type: "anyOf";
2078
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2079
- }>, z.ZodObject<{
2080
- type: z.ZodLiteral<"exact">;
2081
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
2082
- }, "strip", z.ZodTypeAny, {
2083
- type: "exact";
2084
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2085
- }, {
2086
- type: "exact";
2087
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2088
- }>]>>>;
2089
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2090
- type: z.ZodLiteral<"exact">;
2091
- term: z.ZodString;
2092
- }, {
2093
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2094
- }>, "strip", z.ZodTypeAny, {
2095
- type: "exact";
2096
- term: string;
2097
- }, {
2098
- type: "exact";
2099
- term: string;
2100
- }>, z.ZodObject<{
2101
- type: z.ZodLiteral<"range">;
2102
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2103
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2104
- }, "strip", z.ZodTypeAny, {
2105
- type: "range";
2106
- gte: string;
2107
- lte: string;
2108
- }, {
2109
- type: "range";
2110
- gte: string;
2111
- lte: string;
2112
- }>, z.ZodObject<{
2113
- type: z.ZodLiteral<"timePeriod">;
2114
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2115
- }, "strip", z.ZodTypeAny, {
2116
- type: "timePeriod";
2117
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2118
- }, {
2119
- type: "timePeriod";
2120
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2121
- }>]>>>;
2122
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2123
- type: z.ZodLiteral<"exact">;
2124
- term: z.ZodString;
2125
- }, {
2126
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2127
- }>, "strip", z.ZodTypeAny, {
2128
- type: "exact";
2129
- term: string;
2130
- }, {
2131
- type: "exact";
2132
- term: string;
2133
- }>, z.ZodObject<{
2134
- type: z.ZodLiteral<"range">;
2135
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2136
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2137
- }, "strip", z.ZodTypeAny, {
2138
- type: "range";
2139
- gte: string;
2140
- lte: string;
2141
- }, {
2142
- type: "range";
2143
- gte: string;
2144
- lte: string;
2145
- }>, z.ZodObject<{
2146
- type: z.ZodLiteral<"timePeriod">;
2147
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2148
- }, "strip", z.ZodTypeAny, {
2149
- type: "timePeriod";
2150
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2151
- }, {
2152
- type: "timePeriod";
2153
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2154
- }>]>>>;
2155
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2156
- type: z.ZodLiteral<"exact">;
2157
- term: z.ZodString;
2158
- }, {
2159
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2160
- }>, "strip", z.ZodTypeAny, {
2161
- type: "exact";
2162
- term: string;
2163
- }, {
2164
- type: "exact";
2165
- term: string;
2166
- }>, z.ZodObject<{
2167
- type: z.ZodLiteral<"range">;
2168
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2169
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2170
- }, "strip", z.ZodTypeAny, {
2171
- type: "range";
2172
- gte: string;
2173
- lte: string;
2174
- }, {
2175
- type: "range";
2176
- gte: string;
2177
- lte: string;
2178
- }>, z.ZodObject<{
2179
- type: z.ZodLiteral<"timePeriod">;
2180
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2181
- }, "strip", z.ZodTypeAny, {
2182
- type: "timePeriod";
2183
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2184
- }, {
2185
- type: "timePeriod";
2186
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2187
- }>]>>>;
2188
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2189
- type: z.ZodLiteral<"within">;
2190
- location: z.ZodString;
2191
- }, "strip", z.ZodTypeAny, {
2192
- type: "within";
2193
- location: string;
2194
- }, {
2195
- type: "within";
2196
- location: string;
2197
- }>, z.ZodObject<{
2198
- type: z.ZodLiteral<"exact">;
2199
- term: z.ZodString;
2200
- }, "strip", z.ZodTypeAny, {
2201
- type: "exact";
2202
- term: string;
2203
- }, {
2204
- type: "exact";
2205
- term: string;
2206
- }>]>>>;
2207
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
2208
- type: z.ZodLiteral<"exact">;
2209
- term: z.ZodString;
2210
- }, "strip", z.ZodTypeAny, {
2211
- type: "exact";
2212
- term: string;
2213
- }, {
2214
- type: "exact";
2215
- term: string;
2216
- }>>>;
2217
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2218
- type: z.ZodLiteral<"within">;
2219
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2220
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2221
- }, "strip", z.ZodTypeAny, {
2222
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2223
- }, {
2224
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2225
- }>]>;
2226
- }, "strip", z.ZodTypeAny, {
2227
- type: "within";
2228
- location: string | {
2229
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2230
- };
2231
- }, {
2232
- type: "within";
2233
- location: string | {
2234
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2235
- };
2236
- }>, z.ZodObject<{
2237
- type: z.ZodLiteral<"exact">;
2238
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2239
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2240
- }, "strip", z.ZodTypeAny, {
2241
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2242
- }, {
2243
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2244
- }>]>;
2245
- }, "strip", z.ZodTypeAny, {
2246
- type: "exact";
2247
- term: string | {
2248
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2249
- };
2250
- }, {
2251
- type: "exact";
2252
- term: string | {
2253
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2254
- };
2255
- }>]>>>;
2256
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2257
- type: z.ZodLiteral<"within">;
2258
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2259
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2260
- }, "strip", z.ZodTypeAny, {
2261
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2262
- }, {
2263
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2264
- }>]>;
2265
- }, "strip", z.ZodTypeAny, {
2266
- type: "within";
2267
- location: string | {
2268
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2269
- };
2270
- }, {
2271
- type: "within";
2272
- location: string | {
2273
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2274
- };
2275
- }>, z.ZodObject<{
2276
- type: z.ZodLiteral<"exact">;
2277
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2278
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2279
- }, "strip", z.ZodTypeAny, {
2280
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2281
- }, {
2282
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2283
- }>]>;
2284
- }, "strip", z.ZodTypeAny, {
2285
- type: "exact";
2286
- term: string | {
2287
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2288
- };
2289
- }, {
2290
- type: "exact";
2291
- term: string | {
2292
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2293
- };
2294
- }>]>>>;
2295
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2296
- type: z.ZodLiteral<"exact">;
2297
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2298
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2299
- }, "strip", z.ZodTypeAny, {
2300
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2301
- }, {
2302
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2303
- }>]>;
2304
- }, "strip", z.ZodTypeAny, {
2305
- type: "exact";
2306
- term: string | {
2307
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2308
- };
2309
- }, {
2310
- type: "exact";
2311
- term: string | {
2312
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2313
- };
2314
- }>>>;
2315
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2316
- type: z.ZodLiteral<"exact">;
2317
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2318
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2319
- }, "strip", z.ZodTypeAny, {
2320
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2321
- }, {
2322
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2323
- }>]>;
2324
- }, "strip", z.ZodTypeAny, {
2325
- type: "exact";
2326
- term: string | {
2327
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2328
- };
2329
- }, {
2330
- type: "exact";
2331
- term: string | {
2332
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2333
- };
2334
- }>>>;
2335
- createdByUserType: z.ZodOptional<z.ZodObject<{
2336
- type: z.ZodLiteral<"exact">;
2337
- term: z.ZodEnum<["user", "system"]>;
2338
- }, "strip", z.ZodTypeAny, {
2339
- type: "exact";
2340
- term: "system" | "user";
2341
- }, {
2342
- type: "exact";
2343
- term: "system" | "user";
2344
- }>>;
2345
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2346
- type: z.ZodLiteral<"exact">;
2347
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2348
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2349
- }, "strip", z.ZodTypeAny, {
2350
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2351
- }, {
2352
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2353
- }>]>;
2354
- }, "strip", z.ZodTypeAny, {
2355
- type: "exact";
2356
- term: string | {
2357
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2358
- };
2359
- }, {
2360
- type: "exact";
2361
- term: string | {
2362
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2363
- };
2364
- }>>>;
2365
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2366
- type: z.ZodLiteral<"exact">;
2367
- term: z.ZodString;
2368
- }, "strip", z.ZodTypeAny, {
2369
- type: "exact";
2370
- term: string;
2371
- }, {
2372
- type: "exact";
2373
- term: string;
2374
- }>>>;
2375
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2376
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2377
- readonly PRINTED: "printed";
2378
- readonly INCOMPLETE: "incomplete";
2379
- readonly REJECTED: "rejected";
2380
- readonly CORRECTION_REQUESTED: "correction-requested";
2381
- }>]>, "many">>;
2382
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2383
- readonly PRINTED: "printed";
2384
- readonly INCOMPLETE: "incomplete";
2385
- readonly REJECTED: "rejected";
2386
- readonly CORRECTION_REQUESTED: "correction-requested";
2387
- }>]>, "many">>;
2388
- }, "strip", z.ZodTypeAny, {
2389
- anyOf?: string[] | undefined;
2390
- noneOf?: string[] | undefined;
2391
- }, {
2392
- anyOf?: string[] | undefined;
2393
- noneOf?: string[] | undefined;
2394
- }>>>;
2395
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2396
- }, "strip", z.ZodTypeAny, {
2397
- status?: {
2398
- type: "exact";
2399
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2400
- } | {
2401
- type: "anyOf";
2402
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2403
- } | undefined;
2404
- data?: any;
2405
- createdByUserType?: {
2406
- type: "exact";
2407
- term: "system" | "user";
2408
- } | undefined;
2409
- createdAt?: {
2410
- type: "range";
2411
- gte: string;
2412
- lte: string;
2413
- } | {
2414
- type: "exact";
2415
- term: string;
2416
- } | {
2417
- type: "timePeriod";
2418
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2419
- } | undefined;
2420
- createdBy?: {
2421
- type: "exact";
2422
- term: string | {
2423
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2424
- };
2425
- } | undefined;
2426
- createdAtLocation?: {
2427
- type: "exact";
2428
- term: string | {
2429
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2430
- };
2431
- } | {
2432
- type: "within";
2433
- location: string | {
2434
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2435
- };
2436
- } | undefined;
2437
- assignedTo?: {
2438
- type: "exact";
2439
- term: string | {
2440
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2441
- };
2442
- } | undefined;
2443
- updatedAt?: {
2444
- type: "range";
2445
- gte: string;
2446
- lte: string;
2447
- } | {
2448
- type: "exact";
2449
- term: string;
2450
- } | {
2451
- type: "timePeriod";
2452
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2453
- } | undefined;
2454
- trackingId?: {
2455
- type: "exact";
2456
- term: string;
2457
- } | undefined;
2458
- updatedAtLocation?: {
2459
- type: "exact";
2460
- term: string | {
2461
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2462
- };
2463
- } | {
2464
- type: "within";
2465
- location: string | {
2466
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2467
- };
2468
- } | undefined;
2469
- updatedBy?: {
2470
- type: "exact";
2471
- term: string | {
2472
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2473
- };
2474
- } | undefined;
2475
- flags?: {
2476
- anyOf?: string[] | undefined;
2477
- noneOf?: string[] | undefined;
2478
- } | undefined;
2479
- eventType?: string | undefined;
2480
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
2481
- type: "exact";
2482
- term: string;
2483
- } | {
2484
- type: "within";
2485
- location: string;
2486
- } | undefined;
2487
- 'legalStatuses.REGISTERED.registrationNumber'?: {
2488
- type: "exact";
2489
- term: string;
2490
- } | undefined;
2491
- 'legalStatuses.REGISTERED.createdAt'?: {
2492
- type: "range";
2493
- gte: string;
2494
- lte: string;
2495
- } | {
2496
- type: "exact";
2497
- term: string;
2498
- } | {
2499
- type: "timePeriod";
2500
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2501
- } | undefined;
2502
- }, {
2503
- status?: {
2504
- type: "exact";
2505
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2506
- } | {
2507
- type: "anyOf";
2508
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2509
- } | undefined;
2510
- data?: any;
2511
- createdByUserType?: {
2512
- type: "exact";
2513
- term: "system" | "user";
2514
- } | undefined;
2515
- createdAt?: {
2516
- type: "range";
2517
- gte: string;
2518
- lte: string;
2519
- } | {
2520
- type: "exact";
2521
- term: string;
2522
- } | {
2523
- type: "timePeriod";
2524
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2525
- } | undefined;
2526
- createdBy?: {
2527
- type: "exact";
2528
- term: string | {
2529
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2530
- };
2531
- } | undefined;
2532
- createdAtLocation?: {
2533
- type: "exact";
2534
- term: string | {
2535
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2536
- };
2537
- } | {
2538
- type: "within";
2539
- location: string | {
2540
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2541
- };
2542
- } | undefined;
2543
- assignedTo?: {
2544
- type: "exact";
2545
- term: string | {
2546
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2547
- };
2548
- } | undefined;
2549
- updatedAt?: {
2550
- type: "range";
2551
- gte: string;
2552
- lte: string;
2553
- } | {
2554
- type: "exact";
2555
- term: string;
2556
- } | {
2557
- type: "timePeriod";
2558
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2559
- } | undefined;
2560
- trackingId?: {
2561
- type: "exact";
2562
- term: string;
2563
- } | undefined;
2564
- updatedAtLocation?: {
2565
- type: "exact";
2566
- term: string | {
2567
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2568
- };
2569
- } | {
2570
- type: "within";
2571
- location: string | {
2572
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2573
- };
2574
- } | undefined;
2575
- updatedBy?: {
2576
- type: "exact";
2577
- term: string | {
2578
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2579
- };
2580
- } | undefined;
2581
- flags?: {
2582
- anyOf?: string[] | undefined;
2583
- noneOf?: string[] | undefined;
2584
- } | undefined;
2585
- eventType?: string | undefined;
2586
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
2587
- type: "exact";
2588
- term: string;
2589
- } | {
2590
- type: "within";
2591
- location: string;
2592
- } | undefined;
2593
- 'legalStatuses.REGISTERED.registrationNumber'?: {
2594
- type: "exact";
2595
- term: string;
2596
- } | undefined;
2597
- 'legalStatuses.REGISTERED.createdAt'?: {
2598
- type: "range";
2599
- gte: string;
2600
- lte: string;
2601
- } | {
2602
- type: "exact";
2603
- term: string;
2604
- } | {
2605
- type: "timePeriod";
2606
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2607
- } | undefined;
2608
- }>, z.ZodObject<{
2609
- type: z.ZodLiteral<"and">;
2610
- clauses: z.ZodArray<z.ZodObject<{
2611
- eventType: z.ZodOptional<z.ZodString>;
2612
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2613
- type: z.ZodLiteral<"anyOf">;
2614
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
2615
- }, "strip", z.ZodTypeAny, {
2616
- type: "anyOf";
2617
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2618
- }, {
2619
- type: "anyOf";
2620
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2621
- }>, z.ZodObject<{
2622
- type: z.ZodLiteral<"exact">;
2623
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
2624
- }, "strip", z.ZodTypeAny, {
2625
- type: "exact";
2626
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2627
- }, {
2628
- type: "exact";
2629
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2630
- }>]>>>;
2631
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2632
- type: z.ZodLiteral<"exact">;
2633
- term: z.ZodString;
2634
- }, {
2635
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2636
- }>, "strip", z.ZodTypeAny, {
2637
- type: "exact";
2638
- term: string;
2639
- }, {
2640
- type: "exact";
2641
- term: string;
2642
- }>, z.ZodObject<{
2643
- type: z.ZodLiteral<"range">;
2644
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2645
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2646
- }, "strip", z.ZodTypeAny, {
2647
- type: "range";
2648
- gte: string;
2649
- lte: string;
2650
- }, {
2651
- type: "range";
2652
- gte: string;
2653
- lte: string;
2654
- }>, z.ZodObject<{
2655
- type: z.ZodLiteral<"timePeriod">;
2656
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2657
- }, "strip", z.ZodTypeAny, {
2658
- type: "timePeriod";
2659
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2660
- }, {
2661
- type: "timePeriod";
2662
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2663
- }>]>>>;
2664
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2665
- type: z.ZodLiteral<"exact">;
2666
- term: z.ZodString;
2667
- }, {
2668
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2669
- }>, "strip", z.ZodTypeAny, {
2670
- type: "exact";
2671
- term: string;
2672
- }, {
2673
- type: "exact";
2674
- term: string;
2675
- }>, z.ZodObject<{
2676
- type: z.ZodLiteral<"range">;
2677
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2678
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2679
- }, "strip", z.ZodTypeAny, {
2680
- type: "range";
2681
- gte: string;
2682
- lte: string;
2683
- }, {
2684
- type: "range";
2685
- gte: string;
2686
- lte: string;
2687
- }>, z.ZodObject<{
2688
- type: z.ZodLiteral<"timePeriod">;
2689
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2690
- }, "strip", z.ZodTypeAny, {
2691
- type: "timePeriod";
2692
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2693
- }, {
2694
- type: "timePeriod";
2695
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2696
- }>]>>>;
2697
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2698
- type: z.ZodLiteral<"exact">;
2699
- term: z.ZodString;
2700
- }, {
2701
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2702
- }>, "strip", z.ZodTypeAny, {
2703
- type: "exact";
2704
- term: string;
2705
- }, {
2706
- type: "exact";
2707
- term: string;
2708
- }>, z.ZodObject<{
2709
- type: z.ZodLiteral<"range">;
2710
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2711
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2712
- }, "strip", z.ZodTypeAny, {
2713
- type: "range";
2714
- gte: string;
2715
- lte: string;
2716
- }, {
2717
- type: "range";
2718
- gte: string;
2719
- lte: string;
2720
- }>, z.ZodObject<{
2721
- type: z.ZodLiteral<"timePeriod">;
2722
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
2723
- }, "strip", z.ZodTypeAny, {
2724
- type: "timePeriod";
2725
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2726
- }, {
2727
- type: "timePeriod";
2728
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2729
- }>]>>>;
2730
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2731
- type: z.ZodLiteral<"within">;
2732
- location: z.ZodString;
2733
- }, "strip", z.ZodTypeAny, {
2734
- type: "within";
2735
- location: string;
2736
- }, {
2737
- type: "within";
2738
- location: string;
2739
- }>, z.ZodObject<{
2740
- type: z.ZodLiteral<"exact">;
2741
- term: z.ZodString;
2742
- }, "strip", z.ZodTypeAny, {
2743
- type: "exact";
2744
- term: string;
2745
- }, {
2746
- type: "exact";
2747
- term: string;
2748
- }>]>>>;
2749
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
2750
- type: z.ZodLiteral<"exact">;
2751
- term: z.ZodString;
2752
- }, "strip", z.ZodTypeAny, {
2753
- type: "exact";
2754
- term: string;
2755
- }, {
2756
- type: "exact";
2757
- term: string;
2758
- }>>>;
2759
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2760
- type: z.ZodLiteral<"within">;
2761
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2762
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2763
- }, "strip", z.ZodTypeAny, {
2764
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2765
- }, {
2766
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2767
- }>]>;
2768
- }, "strip", z.ZodTypeAny, {
2769
- type: "within";
2770
- location: string | {
2771
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2772
- };
2773
- }, {
2774
- type: "within";
2775
- location: string | {
2776
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2777
- };
2778
- }>, z.ZodObject<{
2779
- type: z.ZodLiteral<"exact">;
2780
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2781
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2782
- }, "strip", z.ZodTypeAny, {
2783
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2784
- }, {
2785
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2786
- }>]>;
2787
- }, "strip", z.ZodTypeAny, {
2788
- type: "exact";
2789
- term: string | {
2790
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2791
- };
2792
- }, {
2793
- type: "exact";
2794
- term: string | {
2795
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2796
- };
2797
- }>]>>>;
2798
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2799
- type: z.ZodLiteral<"within">;
2800
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2801
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2802
- }, "strip", z.ZodTypeAny, {
2803
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2804
- }, {
2805
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2806
- }>]>;
2807
- }, "strip", z.ZodTypeAny, {
2808
- type: "within";
2809
- location: string | {
2810
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2811
- };
2812
- }, {
2813
- type: "within";
2814
- location: string | {
2815
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2816
- };
2817
- }>, z.ZodObject<{
2818
- type: z.ZodLiteral<"exact">;
2819
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2820
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2821
- }, "strip", z.ZodTypeAny, {
2822
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2823
- }, {
2824
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2825
- }>]>;
2826
- }, "strip", z.ZodTypeAny, {
2827
- type: "exact";
2828
- term: string | {
2829
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2830
- };
2831
- }, {
2832
- type: "exact";
2833
- term: string | {
2834
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2835
- };
2836
- }>]>>>;
2837
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2838
- type: z.ZodLiteral<"exact">;
2839
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2840
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2841
- }, "strip", z.ZodTypeAny, {
2842
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2843
- }, {
2844
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2845
- }>]>;
2846
- }, "strip", z.ZodTypeAny, {
2847
- type: "exact";
2848
- term: string | {
2849
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2850
- };
2851
- }, {
2852
- type: "exact";
2853
- term: string | {
2854
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2855
- };
2856
- }>>>;
2857
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2858
- type: z.ZodLiteral<"exact">;
2859
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2860
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2861
- }, "strip", z.ZodTypeAny, {
2862
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2863
- }, {
2864
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2865
- }>]>;
2866
- }, "strip", z.ZodTypeAny, {
2867
- type: "exact";
2868
- term: string | {
2869
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2870
- };
2871
- }, {
2872
- type: "exact";
2873
- term: string | {
2874
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2875
- };
2876
- }>>>;
2877
- createdByUserType: z.ZodOptional<z.ZodObject<{
2878
- type: z.ZodLiteral<"exact">;
2879
- term: z.ZodEnum<["user", "system"]>;
2880
- }, "strip", z.ZodTypeAny, {
2881
- type: "exact";
2882
- term: "system" | "user";
2883
- }, {
2884
- type: "exact";
2885
- term: "system" | "user";
2886
- }>>;
2887
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2888
- type: z.ZodLiteral<"exact">;
2889
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2890
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
2891
- }, "strip", z.ZodTypeAny, {
2892
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2893
- }, {
2894
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2895
- }>]>;
2896
- }, "strip", z.ZodTypeAny, {
2897
- type: "exact";
2898
- term: string | {
2899
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2900
- };
2901
- }, {
2902
- type: "exact";
2903
- term: string | {
2904
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2905
- };
2906
- }>>>;
2907
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2908
- type: z.ZodLiteral<"exact">;
2909
- term: z.ZodString;
2910
- }, "strip", z.ZodTypeAny, {
2911
- type: "exact";
2912
- term: string;
2913
- }, {
2914
- type: "exact";
2915
- term: string;
2916
- }>>>;
2917
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2918
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2919
- readonly PRINTED: "printed";
2920
- readonly INCOMPLETE: "incomplete";
2921
- readonly REJECTED: "rejected";
2922
- readonly CORRECTION_REQUESTED: "correction-requested";
2923
- }>]>, "many">>;
2924
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2925
- readonly PRINTED: "printed";
2926
- readonly INCOMPLETE: "incomplete";
2927
- readonly REJECTED: "rejected";
2928
- readonly CORRECTION_REQUESTED: "correction-requested";
2929
- }>]>, "many">>;
2930
- }, "strip", z.ZodTypeAny, {
2931
- anyOf?: string[] | undefined;
2932
- noneOf?: string[] | undefined;
2933
- }, {
2934
- anyOf?: string[] | undefined;
2935
- noneOf?: string[] | undefined;
2936
- }>>>;
2937
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2938
- }, "strip", z.ZodTypeAny, {
2939
- status?: {
2940
- type: "exact";
2941
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2942
- } | {
2943
- type: "anyOf";
2944
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2945
- } | undefined;
2946
- data?: any;
2947
- createdByUserType?: {
2948
- type: "exact";
2949
- term: "system" | "user";
2950
- } | undefined;
2951
- createdAt?: {
2952
- type: "range";
2953
- gte: string;
2954
- lte: string;
2955
- } | {
2956
- type: "exact";
2957
- term: string;
2958
- } | {
2959
- type: "timePeriod";
2960
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2961
- } | undefined;
2962
- createdBy?: {
2963
- type: "exact";
2964
- term: string | {
2965
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2966
- };
2967
- } | undefined;
2968
- createdAtLocation?: {
2969
- type: "exact";
2970
- term: string | {
2971
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2972
- };
2973
- } | {
2974
- type: "within";
2975
- location: string | {
2976
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2977
- };
2978
- } | undefined;
2979
- assignedTo?: {
2980
- type: "exact";
2981
- term: string | {
2982
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
2983
- };
2984
- } | undefined;
2985
- updatedAt?: {
2986
- type: "range";
2987
- gte: string;
2988
- lte: string;
2989
- } | {
2990
- type: "exact";
2991
- term: string;
2992
- } | {
2993
- type: "timePeriod";
2994
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
2995
- } | undefined;
2996
- trackingId?: {
2997
- type: "exact";
2998
- term: string;
2999
- } | undefined;
3000
- updatedAtLocation?: {
3001
- type: "exact";
3002
- term: string | {
3003
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3004
- };
3005
- } | {
3006
- type: "within";
3007
- location: string | {
3008
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3009
- };
3010
- } | undefined;
3011
- updatedBy?: {
3012
- type: "exact";
3013
- term: string | {
3014
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3015
- };
3016
- } | undefined;
3017
- flags?: {
3018
- anyOf?: string[] | undefined;
3019
- noneOf?: string[] | undefined;
3020
- } | undefined;
3021
- eventType?: string | undefined;
3022
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3023
- type: "exact";
3024
- term: string;
3025
- } | {
3026
- type: "within";
3027
- location: string;
3028
- } | undefined;
3029
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3030
- type: "exact";
3031
- term: string;
3032
- } | undefined;
3033
- 'legalStatuses.REGISTERED.createdAt'?: {
3034
- type: "range";
3035
- gte: string;
3036
- lte: string;
3037
- } | {
3038
- type: "exact";
3039
- term: string;
3040
- } | {
3041
- type: "timePeriod";
3042
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3043
- } | undefined;
3044
- }, {
3045
- status?: {
3046
- type: "exact";
3047
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3048
- } | {
3049
- type: "anyOf";
3050
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3051
- } | undefined;
3052
- data?: any;
3053
- createdByUserType?: {
3054
- type: "exact";
3055
- term: "system" | "user";
3056
- } | undefined;
3057
- createdAt?: {
3058
- type: "range";
3059
- gte: string;
3060
- lte: string;
3061
- } | {
3062
- type: "exact";
3063
- term: string;
3064
- } | {
3065
- type: "timePeriod";
3066
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3067
- } | undefined;
3068
- createdBy?: {
3069
- type: "exact";
3070
- term: string | {
3071
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3072
- };
3073
- } | undefined;
3074
- createdAtLocation?: {
3075
- type: "exact";
3076
- term: string | {
3077
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3078
- };
3079
- } | {
3080
- type: "within";
3081
- location: string | {
3082
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3083
- };
3084
- } | undefined;
3085
- assignedTo?: {
3086
- type: "exact";
3087
- term: string | {
3088
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3089
- };
3090
- } | undefined;
3091
- updatedAt?: {
3092
- type: "range";
3093
- gte: string;
3094
- lte: string;
3095
- } | {
3096
- type: "exact";
3097
- term: string;
3098
- } | {
3099
- type: "timePeriod";
3100
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3101
- } | undefined;
3102
- trackingId?: {
3103
- type: "exact";
3104
- term: string;
3105
- } | undefined;
3106
- updatedAtLocation?: {
3107
- type: "exact";
3108
- term: string | {
3109
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3110
- };
3111
- } | {
3112
- type: "within";
3113
- location: string | {
3114
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3115
- };
3116
- } | undefined;
3117
- updatedBy?: {
3118
- type: "exact";
3119
- term: string | {
3120
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3121
- };
3122
- } | undefined;
3123
- flags?: {
3124
- anyOf?: string[] | undefined;
3125
- noneOf?: string[] | undefined;
3126
- } | undefined;
3127
- eventType?: string | undefined;
3128
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3129
- type: "exact";
3130
- term: string;
3131
- } | {
3132
- type: "within";
3133
- location: string;
3134
- } | undefined;
3135
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3136
- type: "exact";
3137
- term: string;
3138
- } | undefined;
3139
- 'legalStatuses.REGISTERED.createdAt'?: {
3140
- type: "range";
3141
- gte: string;
3142
- lte: string;
3143
- } | {
3144
- type: "exact";
3145
- term: string;
3146
- } | {
3147
- type: "timePeriod";
3148
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3149
- } | undefined;
3150
- }>, "many">;
3151
- }, "strip", z.ZodTypeAny, {
3152
- type: "and";
3153
- clauses: {
3154
- status?: {
3155
- type: "exact";
3156
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3157
- } | {
3158
- type: "anyOf";
3159
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3160
- } | undefined;
3161
- data?: any;
3162
- createdByUserType?: {
3163
- type: "exact";
3164
- term: "system" | "user";
3165
- } | undefined;
3166
- createdAt?: {
3167
- type: "range";
3168
- gte: string;
3169
- lte: string;
3170
- } | {
3171
- type: "exact";
3172
- term: string;
3173
- } | {
3174
- type: "timePeriod";
3175
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3176
- } | undefined;
3177
- createdBy?: {
3178
- type: "exact";
3179
- term: string | {
3180
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3181
- };
3182
- } | undefined;
3183
- createdAtLocation?: {
3184
- type: "exact";
3185
- term: string | {
3186
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3187
- };
3188
- } | {
3189
- type: "within";
3190
- location: string | {
3191
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3192
- };
3193
- } | undefined;
3194
- assignedTo?: {
3195
- type: "exact";
3196
- term: string | {
3197
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3198
- };
3199
- } | undefined;
3200
- updatedAt?: {
3201
- type: "range";
3202
- gte: string;
3203
- lte: string;
3204
- } | {
3205
- type: "exact";
3206
- term: string;
3207
- } | {
3208
- type: "timePeriod";
3209
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3210
- } | undefined;
3211
- trackingId?: {
3212
- type: "exact";
3213
- term: string;
3214
- } | undefined;
3215
- updatedAtLocation?: {
3216
- type: "exact";
3217
- term: string | {
3218
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3219
- };
3220
- } | {
3221
- type: "within";
3222
- location: string | {
3223
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3224
- };
3225
- } | undefined;
3226
- updatedBy?: {
3227
- type: "exact";
3228
- term: string | {
3229
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3230
- };
3231
- } | undefined;
3232
- flags?: {
3233
- anyOf?: string[] | undefined;
3234
- noneOf?: string[] | undefined;
3235
- } | undefined;
3236
- eventType?: string | undefined;
3237
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3238
- type: "exact";
3239
- term: string;
3240
- } | {
3241
- type: "within";
3242
- location: string;
3243
- } | undefined;
3244
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3245
- type: "exact";
3246
- term: string;
3247
- } | undefined;
3248
- 'legalStatuses.REGISTERED.createdAt'?: {
3249
- type: "range";
3250
- gte: string;
3251
- lte: string;
3252
- } | {
3253
- type: "exact";
3254
- term: string;
3255
- } | {
3256
- type: "timePeriod";
3257
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3258
- } | undefined;
3259
- }[];
3260
- }, {
3261
- type: "and";
3262
- clauses: {
3263
- status?: {
3264
- type: "exact";
3265
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3266
- } | {
3267
- type: "anyOf";
3268
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3269
- } | undefined;
3270
- data?: any;
3271
- createdByUserType?: {
3272
- type: "exact";
3273
- term: "system" | "user";
3274
- } | undefined;
3275
- createdAt?: {
3276
- type: "range";
3277
- gte: string;
3278
- lte: string;
3279
- } | {
3280
- type: "exact";
3281
- term: string;
3282
- } | {
3283
- type: "timePeriod";
3284
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3285
- } | undefined;
3286
- createdBy?: {
3287
- type: "exact";
3288
- term: string | {
3289
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3290
- };
3291
- } | undefined;
3292
- createdAtLocation?: {
3293
- type: "exact";
3294
- term: string | {
3295
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3296
- };
3297
- } | {
3298
- type: "within";
3299
- location: string | {
3300
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3301
- };
3302
- } | undefined;
3303
- assignedTo?: {
3304
- type: "exact";
3305
- term: string | {
3306
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3307
- };
3308
- } | undefined;
3309
- updatedAt?: {
3310
- type: "range";
3311
- gte: string;
3312
- lte: string;
3313
- } | {
3314
- type: "exact";
3315
- term: string;
3316
- } | {
3317
- type: "timePeriod";
3318
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3319
- } | undefined;
3320
- trackingId?: {
3321
- type: "exact";
3322
- term: string;
3323
- } | undefined;
3324
- updatedAtLocation?: {
3325
- type: "exact";
3326
- term: string | {
3327
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3328
- };
3329
- } | {
3330
- type: "within";
3331
- location: string | {
3332
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3333
- };
3334
- } | undefined;
3335
- updatedBy?: {
3336
- type: "exact";
3337
- term: string | {
3338
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3339
- };
3340
- } | undefined;
3341
- flags?: {
3342
- anyOf?: string[] | undefined;
3343
- noneOf?: string[] | undefined;
3344
- } | undefined;
3345
- eventType?: string | undefined;
3346
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3347
- type: "exact";
3348
- term: string;
3349
- } | {
3350
- type: "within";
3351
- location: string;
3352
- } | undefined;
3353
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3354
- type: "exact";
3355
- term: string;
3356
- } | undefined;
3357
- 'legalStatuses.REGISTERED.createdAt'?: {
3358
- type: "range";
3359
- gte: string;
3360
- lte: string;
3361
- } | {
3362
- type: "exact";
3363
- term: string;
3364
- } | {
3365
- type: "timePeriod";
3366
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3367
- } | undefined;
3368
- }[];
3369
- }>, z.ZodObject<{
3370
- type: z.ZodLiteral<"or">;
3371
- clauses: z.ZodArray<z.ZodObject<{
3372
- eventType: z.ZodOptional<z.ZodString>;
3373
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3374
- type: z.ZodLiteral<"anyOf">;
3375
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>, "many">;
3376
- }, "strip", z.ZodTypeAny, {
3377
- type: "anyOf";
3378
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3379
- }, {
3380
- type: "anyOf";
3381
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3382
- }>, z.ZodObject<{
3383
- type: z.ZodLiteral<"exact">;
3384
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "ARCHIVED"]>;
3385
- }, "strip", z.ZodTypeAny, {
3386
- type: "exact";
3387
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3388
- }, {
3389
- type: "exact";
3390
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3391
- }>]>>>;
3392
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3393
- type: z.ZodLiteral<"exact">;
3394
- term: z.ZodString;
3395
- }, {
3396
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3397
- }>, "strip", z.ZodTypeAny, {
3398
- type: "exact";
3399
- term: string;
3400
- }, {
3401
- type: "exact";
3402
- term: string;
3403
- }>, z.ZodObject<{
3404
- type: z.ZodLiteral<"range">;
3405
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3406
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3407
- }, "strip", z.ZodTypeAny, {
3408
- type: "range";
3409
- gte: string;
3410
- lte: string;
3411
- }, {
3412
- type: "range";
3413
- gte: string;
3414
- lte: string;
3415
- }>, z.ZodObject<{
3416
- type: z.ZodLiteral<"timePeriod">;
3417
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3418
- }, "strip", z.ZodTypeAny, {
3419
- type: "timePeriod";
3420
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3421
- }, {
3422
- type: "timePeriod";
3423
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3424
- }>]>>>;
3425
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3426
- type: z.ZodLiteral<"exact">;
3427
- term: z.ZodString;
3428
- }, {
3429
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3430
- }>, "strip", z.ZodTypeAny, {
3431
- type: "exact";
3432
- term: string;
3433
- }, {
3434
- type: "exact";
3435
- term: string;
3436
- }>, z.ZodObject<{
3437
- type: z.ZodLiteral<"range">;
3438
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3439
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3440
- }, "strip", z.ZodTypeAny, {
3441
- type: "range";
3442
- gte: string;
3443
- lte: string;
3444
- }, {
3445
- type: "range";
3446
- gte: string;
3447
- lte: string;
3448
- }>, z.ZodObject<{
3449
- type: z.ZodLiteral<"timePeriod">;
3450
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3451
- }, "strip", z.ZodTypeAny, {
3452
- type: "timePeriod";
3453
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3454
- }, {
3455
- type: "timePeriod";
3456
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3457
- }>]>>>;
3458
- 'legalStatuses.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3459
- type: z.ZodLiteral<"exact">;
3460
- term: z.ZodString;
3461
- }, {
3462
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3463
- }>, "strip", z.ZodTypeAny, {
3464
- type: "exact";
3465
- term: string;
3466
- }, {
3467
- type: "exact";
3468
- term: string;
3469
- }>, z.ZodObject<{
3470
- type: z.ZodLiteral<"range">;
3471
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3472
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3473
- }, "strip", z.ZodTypeAny, {
3474
- type: "range";
3475
- gte: string;
3476
- lte: string;
3477
- }, {
3478
- type: "range";
3479
- gte: string;
3480
- lte: string;
3481
- }>, z.ZodObject<{
3482
- type: z.ZodLiteral<"timePeriod">;
3483
- term: z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>;
3484
- }, "strip", z.ZodTypeAny, {
3485
- type: "timePeriod";
3486
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3487
- }, {
3488
- type: "timePeriod";
3489
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3490
- }>]>>>;
3491
- 'legalStatuses.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3492
- type: z.ZodLiteral<"within">;
3493
- location: z.ZodString;
3494
- }, "strip", z.ZodTypeAny, {
3495
- type: "within";
3496
- location: string;
3497
- }, {
3498
- type: "within";
3499
- location: string;
3500
- }>, z.ZodObject<{
3501
- type: z.ZodLiteral<"exact">;
3502
- term: z.ZodString;
3503
- }, "strip", z.ZodTypeAny, {
3504
- type: "exact";
3505
- term: string;
3506
- }, {
3507
- type: "exact";
3508
- term: string;
3509
- }>]>>>;
3510
- 'legalStatuses.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
3511
- type: z.ZodLiteral<"exact">;
3512
- term: z.ZodString;
3513
- }, "strip", z.ZodTypeAny, {
3514
- type: "exact";
3515
- term: string;
3516
- }, {
3517
- type: "exact";
3518
- term: string;
3519
- }>>>;
3520
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3521
- type: z.ZodLiteral<"within">;
3522
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
3523
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3524
- }, "strip", z.ZodTypeAny, {
3525
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3526
- }, {
3527
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3528
- }>]>;
3529
- }, "strip", z.ZodTypeAny, {
3530
- type: "within";
3531
- location: string | {
3532
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3533
- };
3534
- }, {
3535
- type: "within";
3536
- location: string | {
3537
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3538
- };
3539
- }>, z.ZodObject<{
3540
- type: z.ZodLiteral<"exact">;
3541
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
3542
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3543
- }, "strip", z.ZodTypeAny, {
3544
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3545
- }, {
3546
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3547
- }>]>;
3548
- }, "strip", z.ZodTypeAny, {
3549
- type: "exact";
3550
- term: string | {
3551
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3552
- };
3553
- }, {
3554
- type: "exact";
3555
- term: string | {
3556
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3557
- };
3558
- }>]>>>;
3559
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3560
- type: z.ZodLiteral<"within">;
3561
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
3562
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3563
- }, "strip", z.ZodTypeAny, {
3564
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3565
- }, {
3566
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3567
- }>]>;
3568
- }, "strip", z.ZodTypeAny, {
3569
- type: "within";
3570
- location: string | {
3571
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3572
- };
3573
- }, {
3574
- type: "within";
3575
- location: string | {
3576
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3577
- };
3578
- }>, z.ZodObject<{
3579
- type: z.ZodLiteral<"exact">;
3580
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
3581
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3582
- }, "strip", z.ZodTypeAny, {
3583
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3584
- }, {
3585
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3586
- }>]>;
3587
- }, "strip", z.ZodTypeAny, {
3588
- type: "exact";
3589
- term: string | {
3590
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3591
- };
3592
- }, {
3593
- type: "exact";
3594
- term: string | {
3595
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3596
- };
3597
- }>]>>>;
3598
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3599
- type: z.ZodLiteral<"exact">;
3600
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
3601
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3602
- }, "strip", z.ZodTypeAny, {
3603
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3604
- }, {
3605
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3606
- }>]>;
3607
- }, "strip", z.ZodTypeAny, {
3608
- type: "exact";
3609
- term: string | {
3610
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3611
- };
3612
- }, {
3613
- type: "exact";
3614
- term: string | {
3615
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3616
- };
3617
- }>>>;
3618
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3619
- type: z.ZodLiteral<"exact">;
3620
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
3621
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3622
- }, "strip", z.ZodTypeAny, {
3623
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3624
- }, {
3625
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3626
- }>]>;
3627
- }, "strip", z.ZodTypeAny, {
3628
- type: "exact";
3629
- term: string | {
3630
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3631
- };
3632
- }, {
3633
- type: "exact";
3634
- term: string | {
3635
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3636
- };
3637
- }>>>;
3638
- createdByUserType: z.ZodOptional<z.ZodObject<{
3639
- type: z.ZodLiteral<"exact">;
3640
- term: z.ZodEnum<["user", "system"]>;
3641
- }, "strip", z.ZodTypeAny, {
3642
- type: "exact";
3643
- term: "system" | "user";
3644
- }, {
3645
- type: "exact";
3646
- term: "system" | "user";
3647
- }>>;
3648
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3649
- type: z.ZodLiteral<"exact">;
3650
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
3651
- $userField: z.ZodEnum<["id", "name", "role", "signature", "avatar", "primaryOfficeId"]>;
3652
- }, "strip", z.ZodTypeAny, {
3653
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3654
- }, {
3655
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3656
- }>]>;
3657
- }, "strip", z.ZodTypeAny, {
3658
- type: "exact";
3659
- term: string | {
3660
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3661
- };
3662
- }, {
3663
- type: "exact";
3664
- term: string | {
3665
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3666
- };
3667
- }>>>;
3668
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3669
- type: z.ZodLiteral<"exact">;
3670
- term: z.ZodString;
3671
- }, "strip", z.ZodTypeAny, {
3672
- type: "exact";
3673
- term: string;
3674
- }, {
3675
- type: "exact";
3676
- term: string;
3677
- }>>>;
3678
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3679
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3680
- readonly PRINTED: "printed";
3681
- readonly INCOMPLETE: "incomplete";
3682
- readonly REJECTED: "rejected";
3683
- readonly CORRECTION_REQUESTED: "correction-requested";
3684
- }>]>, "many">>;
3685
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3686
- readonly PRINTED: "printed";
3687
- readonly INCOMPLETE: "incomplete";
3688
- readonly REJECTED: "rejected";
3689
- readonly CORRECTION_REQUESTED: "correction-requested";
3690
- }>]>, "many">>;
3691
- }, "strip", z.ZodTypeAny, {
3692
- anyOf?: string[] | undefined;
3693
- noneOf?: string[] | undefined;
3694
- }, {
3695
- anyOf?: string[] | undefined;
3696
- noneOf?: string[] | undefined;
3697
- }>>>;
3698
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
3699
- }, "strip", z.ZodTypeAny, {
3700
- status?: {
3701
- type: "exact";
3702
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3703
- } | {
3704
- type: "anyOf";
3705
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3706
- } | undefined;
3707
- data?: any;
3708
- createdByUserType?: {
3709
- type: "exact";
3710
- term: "system" | "user";
3711
- } | undefined;
3712
- createdAt?: {
3713
- type: "range";
3714
- gte: string;
3715
- lte: string;
3716
- } | {
3717
- type: "exact";
3718
- term: string;
3719
- } | {
3720
- type: "timePeriod";
3721
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3722
- } | undefined;
3723
- createdBy?: {
3724
- type: "exact";
3725
- term: string | {
3726
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3727
- };
3728
- } | undefined;
3729
- createdAtLocation?: {
3730
- type: "exact";
3731
- term: string | {
3732
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3733
- };
3734
- } | {
3735
- type: "within";
3736
- location: string | {
3737
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3738
- };
3739
- } | undefined;
3740
- assignedTo?: {
3741
- type: "exact";
3742
- term: string | {
3743
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3744
- };
3745
- } | undefined;
3746
- updatedAt?: {
3747
- type: "range";
3748
- gte: string;
3749
- lte: string;
3750
- } | {
3751
- type: "exact";
3752
- term: string;
3753
- } | {
3754
- type: "timePeriod";
3755
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3756
- } | undefined;
3757
- trackingId?: {
3758
- type: "exact";
3759
- term: string;
3760
- } | undefined;
3761
- updatedAtLocation?: {
3762
- type: "exact";
3763
- term: string | {
3764
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3765
- };
3766
- } | {
3767
- type: "within";
3768
- location: string | {
3769
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3770
- };
3771
- } | undefined;
3772
- updatedBy?: {
3773
- type: "exact";
3774
- term: string | {
3775
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3776
- };
3777
- } | undefined;
3778
- flags?: {
3779
- anyOf?: string[] | undefined;
3780
- noneOf?: string[] | undefined;
3781
- } | undefined;
3782
- eventType?: string | undefined;
3783
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3784
- type: "exact";
3785
- term: string;
3786
- } | {
3787
- type: "within";
3788
- location: string;
3789
- } | undefined;
3790
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3791
- type: "exact";
3792
- term: string;
3793
- } | undefined;
3794
- 'legalStatuses.REGISTERED.createdAt'?: {
3795
- type: "range";
3796
- gte: string;
3797
- lte: string;
3798
- } | {
3799
- type: "exact";
3800
- term: string;
3801
- } | {
3802
- type: "timePeriod";
3803
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3804
- } | undefined;
3805
- }, {
3806
- status?: {
3807
- type: "exact";
3808
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3809
- } | {
3810
- type: "anyOf";
3811
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3812
- } | undefined;
3813
- data?: any;
3814
- createdByUserType?: {
3815
- type: "exact";
3816
- term: "system" | "user";
3817
- } | undefined;
3818
- createdAt?: {
3819
- type: "range";
3820
- gte: string;
3821
- lte: string;
3822
- } | {
3823
- type: "exact";
3824
- term: string;
3825
- } | {
3826
- type: "timePeriod";
3827
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3828
- } | undefined;
3829
- createdBy?: {
3830
- type: "exact";
3831
- term: string | {
3832
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3833
- };
3834
- } | undefined;
3835
- createdAtLocation?: {
3836
- type: "exact";
3837
- term: string | {
3838
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3839
- };
3840
- } | {
3841
- type: "within";
3842
- location: string | {
3843
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3844
- };
3845
- } | undefined;
3846
- assignedTo?: {
3847
- type: "exact";
3848
- term: string | {
3849
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3850
- };
3851
- } | undefined;
3852
- updatedAt?: {
3853
- type: "range";
3854
- gte: string;
3855
- lte: string;
3856
- } | {
3857
- type: "exact";
3858
- term: string;
3859
- } | {
3860
- type: "timePeriod";
3861
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3862
- } | undefined;
3863
- trackingId?: {
3864
- type: "exact";
3865
- term: string;
3866
- } | undefined;
3867
- updatedAtLocation?: {
3868
- type: "exact";
3869
- term: string | {
3870
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3871
- };
3872
- } | {
3873
- type: "within";
3874
- location: string | {
3875
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3876
- };
3877
- } | undefined;
3878
- updatedBy?: {
3879
- type: "exact";
3880
- term: string | {
3881
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3882
- };
3883
- } | undefined;
3884
- flags?: {
3885
- anyOf?: string[] | undefined;
3886
- noneOf?: string[] | undefined;
3887
- } | undefined;
3888
- eventType?: string | undefined;
3889
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3890
- type: "exact";
3891
- term: string;
3892
- } | {
3893
- type: "within";
3894
- location: string;
3895
- } | undefined;
3896
- 'legalStatuses.REGISTERED.registrationNumber'?: {
3897
- type: "exact";
3898
- term: string;
3899
- } | undefined;
3900
- 'legalStatuses.REGISTERED.createdAt'?: {
3901
- type: "range";
3902
- gte: string;
3903
- lte: string;
3904
- } | {
3905
- type: "exact";
3906
- term: string;
3907
- } | {
3908
- type: "timePeriod";
3909
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3910
- } | undefined;
3911
- }>, "many">;
3912
- }, "strip", z.ZodTypeAny, {
3913
- type: "or";
3914
- clauses: {
3915
- status?: {
3916
- type: "exact";
3917
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3918
- } | {
3919
- type: "anyOf";
3920
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3921
- } | undefined;
3922
- data?: any;
3923
- createdByUserType?: {
3924
- type: "exact";
3925
- term: "system" | "user";
3926
- } | undefined;
3927
- createdAt?: {
3928
- type: "range";
3929
- gte: string;
3930
- lte: string;
3931
- } | {
3932
- type: "exact";
3933
- term: string;
3934
- } | {
3935
- type: "timePeriod";
3936
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3937
- } | undefined;
3938
- createdBy?: {
3939
- type: "exact";
3940
- term: string | {
3941
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3942
- };
3943
- } | undefined;
3944
- createdAtLocation?: {
3945
- type: "exact";
3946
- term: string | {
3947
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3948
- };
3949
- } | {
3950
- type: "within";
3951
- location: string | {
3952
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3953
- };
3954
- } | undefined;
3955
- assignedTo?: {
3956
- type: "exact";
3957
- term: string | {
3958
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3959
- };
3960
- } | undefined;
3961
- updatedAt?: {
3962
- type: "range";
3963
- gte: string;
3964
- lte: string;
3965
- } | {
3966
- type: "exact";
3967
- term: string;
3968
- } | {
3969
- type: "timePeriod";
3970
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
3971
- } | undefined;
3972
- trackingId?: {
3973
- type: "exact";
3974
- term: string;
3975
- } | undefined;
3976
- updatedAtLocation?: {
3977
- type: "exact";
3978
- term: string | {
3979
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3980
- };
3981
- } | {
3982
- type: "within";
3983
- location: string | {
3984
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3985
- };
3986
- } | undefined;
3987
- updatedBy?: {
3988
- type: "exact";
3989
- term: string | {
3990
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
3991
- };
3992
- } | undefined;
3993
- flags?: {
3994
- anyOf?: string[] | undefined;
3995
- noneOf?: string[] | undefined;
3996
- } | undefined;
3997
- eventType?: string | undefined;
3998
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
3999
- type: "exact";
4000
- term: string;
4001
- } | {
4002
- type: "within";
4003
- location: string;
4004
- } | undefined;
4005
- 'legalStatuses.REGISTERED.registrationNumber'?: {
4006
- type: "exact";
4007
- term: string;
4008
- } | undefined;
4009
- 'legalStatuses.REGISTERED.createdAt'?: {
4010
- type: "range";
4011
- gte: string;
4012
- lte: string;
4013
- } | {
4014
- type: "exact";
4015
- term: string;
4016
- } | {
4017
- type: "timePeriod";
4018
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4019
- } | undefined;
4020
- }[];
4021
- }, {
4022
- type: "or";
4023
- clauses: {
4024
- status?: {
4025
- type: "exact";
4026
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED";
4027
- } | {
4028
- type: "anyOf";
4029
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
4030
- } | undefined;
4031
- data?: any;
4032
- createdByUserType?: {
4033
- type: "exact";
4034
- term: "system" | "user";
4035
- } | undefined;
4036
- createdAt?: {
4037
- type: "range";
4038
- gte: string;
4039
- lte: string;
4040
- } | {
4041
- type: "exact";
4042
- term: string;
4043
- } | {
4044
- type: "timePeriod";
4045
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4046
- } | undefined;
4047
- createdBy?: {
4048
- type: "exact";
4049
- term: string | {
4050
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4051
- };
4052
- } | undefined;
4053
- createdAtLocation?: {
4054
- type: "exact";
4055
- term: string | {
4056
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4057
- };
4058
- } | {
4059
- type: "within";
4060
- location: string | {
4061
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4062
- };
4063
- } | undefined;
4064
- assignedTo?: {
4065
- type: "exact";
4066
- term: string | {
4067
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4068
- };
4069
- } | undefined;
4070
- updatedAt?: {
4071
- type: "range";
4072
- gte: string;
4073
- lte: string;
4074
- } | {
4075
- type: "exact";
4076
- term: string;
4077
- } | {
4078
- type: "timePeriod";
4079
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4080
- } | undefined;
4081
- trackingId?: {
4082
- type: "exact";
4083
- term: string;
4084
- } | undefined;
4085
- updatedAtLocation?: {
4086
- type: "exact";
4087
- term: string | {
4088
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4089
- };
4090
- } | {
4091
- type: "within";
4092
- location: string | {
4093
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4094
- };
4095
- } | undefined;
4096
- updatedBy?: {
4097
- type: "exact";
4098
- term: string | {
4099
- $userField: "signature" | "id" | "name" | "role" | "avatar" | "primaryOfficeId";
4100
- };
4101
- } | undefined;
4102
- flags?: {
4103
- anyOf?: string[] | undefined;
4104
- noneOf?: string[] | undefined;
4105
- } | undefined;
4106
- eventType?: string | undefined;
4107
- 'legalStatuses.REGISTERED.createdAtLocation'?: {
4108
- type: "exact";
4109
- term: string;
4110
- } | {
4111
- type: "within";
4112
- location: string;
4113
- } | undefined;
4114
- 'legalStatuses.REGISTERED.registrationNumber'?: {
4115
- type: "exact";
4116
- term: string;
4117
- } | undefined;
4118
- 'legalStatuses.REGISTERED.createdAt'?: {
4119
- type: "range";
4120
- gte: string;
4121
- lte: string;
4122
- } | {
4123
- type: "exact";
4124
- term: string;
4125
- } | {
4126
- type: "timePeriod";
4127
- term: "last7Days" | "last30Days" | "last90Days" | "last365Days";
4128
- } | undefined;
4129
- }[];
4130
- }>]>;
4131
- export type CountryConfigQueryInputType = z.infer<typeof CountryConfigQueryInputType>;
4132
- //# sourceMappingURL=CountryConfigQueryInput.d.ts.map