@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8b1f33

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