@opencrvs/toolkit 1.8.0-rc.f7a451a → 1.8.0-rc.f7bcb31

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 (38) hide show
  1. package/dist/commons/api/router.d.ts +4206 -8342
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -11
  3. package/dist/commons/conditionals/validate.d.ts +6 -4
  4. package/dist/commons/events/ActionConfig.d.ts +1727 -97087
  5. package/dist/commons/events/ActionDocument.d.ts +211 -542
  6. package/dist/commons/events/ActionInput.d.ts +240 -248
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -957
  8. package/dist/commons/events/CompositeFieldValue.d.ts +0 -3
  9. package/dist/commons/events/Draft.d.ts +20 -33
  10. package/dist/commons/events/EventConfig.d.ts +1350 -46327
  11. package/dist/commons/events/EventDocument.d.ts +156 -324
  12. package/dist/commons/events/EventIndex.d.ts +13 -1821
  13. package/dist/commons/events/EventMetadata.d.ts +11 -277
  14. package/dist/commons/events/FieldConfig.d.ts +754 -4280
  15. package/dist/commons/events/FieldType.d.ts +3 -3
  16. package/dist/commons/events/FieldTypeMapping.d.ts +4 -11
  17. package/dist/commons/events/FieldValue.d.ts +4 -7
  18. package/dist/commons/events/FormConfig.d.ts +441 -43593
  19. package/dist/commons/events/PageConfig.d.ts +208 -10864
  20. package/dist/commons/events/SummaryConfig.d.ts +39 -95
  21. package/dist/commons/events/User.d.ts +2 -31
  22. package/dist/commons/events/WorkqueueConfig.d.ts +20 -5341
  23. package/dist/commons/events/defineConfig.d.ts +35 -7218
  24. package/dist/commons/events/index.d.ts +0 -6
  25. package/dist/commons/events/test.utils.d.ts +46 -10
  26. package/dist/commons/events/utils.d.ts +67 -3665
  27. package/dist/conditionals/index.js +35 -55
  28. package/dist/events/index.js +1075 -2461
  29. package/dist/scopes/index.d.ts +4 -91
  30. package/dist/scopes/index.js +21 -39
  31. package/package.json +2 -3
  32. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -3008
  33. package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -42
  34. package/dist/commons/events/event.d.ts +0 -54
  35. package/dist/commons/events/field.d.ts +0 -82
  36. package/dist/commons/events/scopes.d.ts +0 -45
  37. package/dist/commons/events/serializer.d.ts +0 -2
  38. package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -1,3008 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const SerializedQueryExpression: z.ZodObject<{
3
- title: z.ZodOptional<z.ZodString>;
4
- eventType: z.ZodOptional<z.ZodString>;
5
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
6
- type: z.ZodLiteral<"anyOf">;
7
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
8
- }, "strip", z.ZodTypeAny, {
9
- type: "anyOf";
10
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
11
- }, {
12
- type: "anyOf";
13
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
14
- }>, z.ZodObject<{
15
- type: z.ZodLiteral<"exact">;
16
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
17
- }, "strip", z.ZodTypeAny, {
18
- type: "exact";
19
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
20
- }, {
21
- type: "exact";
22
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
23
- }>]>>>;
24
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
25
- type: z.ZodLiteral<"exact">;
26
- term: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- type: "exact";
29
- term: string;
30
- }, {
31
- type: "exact";
32
- term: string;
33
- }>, z.ZodObject<{
34
- type: z.ZodLiteral<"range">;
35
- gte: z.ZodString;
36
- lte: z.ZodString;
37
- }, "strip", z.ZodTypeAny, {
38
- type: "range";
39
- gte: string;
40
- lte: string;
41
- }, {
42
- type: "range";
43
- gte: string;
44
- lte: string;
45
- }>]>>>;
46
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
47
- type: z.ZodLiteral<"exact">;
48
- term: z.ZodString;
49
- }, "strip", z.ZodTypeAny, {
50
- type: "exact";
51
- term: string;
52
- }, {
53
- type: "exact";
54
- term: string;
55
- }>, z.ZodObject<{
56
- type: z.ZodLiteral<"range">;
57
- gte: z.ZodString;
58
- lte: z.ZodString;
59
- }, "strip", z.ZodTypeAny, {
60
- type: "range";
61
- gte: string;
62
- lte: string;
63
- }, {
64
- type: "range";
65
- gte: string;
66
- lte: string;
67
- }>]>>>;
68
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
69
- type: z.ZodLiteral<"within">;
70
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
71
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
72
- }, "strip", z.ZodTypeAny, {
73
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
74
- }, {
75
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
76
- }>]>;
77
- }, "strip", z.ZodTypeAny, {
78
- type: "within";
79
- location: string | {
80
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
81
- };
82
- }, {
83
- type: "within";
84
- location: string | {
85
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
86
- };
87
- }>, z.ZodObject<{
88
- type: z.ZodLiteral<"exact">;
89
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
90
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
91
- }, "strip", z.ZodTypeAny, {
92
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
93
- }, {
94
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
95
- }>]>;
96
- }, "strip", z.ZodTypeAny, {
97
- type: "exact";
98
- term: string | {
99
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
100
- };
101
- }, {
102
- type: "exact";
103
- term: string | {
104
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
105
- };
106
- }>]>>>;
107
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
108
- type: z.ZodLiteral<"within">;
109
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
110
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
111
- }, "strip", z.ZodTypeAny, {
112
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
113
- }, {
114
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
115
- }>]>;
116
- }, "strip", z.ZodTypeAny, {
117
- type: "within";
118
- location: string | {
119
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
120
- };
121
- }, {
122
- type: "within";
123
- location: string | {
124
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
125
- };
126
- }>, z.ZodObject<{
127
- type: z.ZodLiteral<"exact">;
128
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
129
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
130
- }, "strip", z.ZodTypeAny, {
131
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
132
- }, {
133
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
134
- }>]>;
135
- }, "strip", z.ZodTypeAny, {
136
- type: "exact";
137
- term: string | {
138
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
139
- };
140
- }, {
141
- type: "exact";
142
- term: string | {
143
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
144
- };
145
- }>]>>>;
146
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
147
- type: z.ZodLiteral<"exact">;
148
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
149
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
150
- }, "strip", z.ZodTypeAny, {
151
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
152
- }, {
153
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
154
- }>]>;
155
- }, "strip", z.ZodTypeAny, {
156
- type: "exact";
157
- term: string | {
158
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
159
- };
160
- }, {
161
- type: "exact";
162
- term: string | {
163
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
164
- };
165
- }>>>;
166
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
167
- type: z.ZodLiteral<"exact">;
168
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
169
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
170
- }, "strip", z.ZodTypeAny, {
171
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
172
- }, {
173
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
174
- }>]>;
175
- }, "strip", z.ZodTypeAny, {
176
- type: "exact";
177
- term: string | {
178
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
179
- };
180
- }, {
181
- type: "exact";
182
- term: string | {
183
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
184
- };
185
- }>>>;
186
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
187
- type: z.ZodLiteral<"exact">;
188
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
189
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
190
- }, "strip", z.ZodTypeAny, {
191
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
192
- }, {
193
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
194
- }>]>;
195
- }, "strip", z.ZodTypeAny, {
196
- type: "exact";
197
- term: string | {
198
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
199
- };
200
- }, {
201
- type: "exact";
202
- term: string | {
203
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
204
- };
205
- }>>>;
206
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
207
- type: z.ZodLiteral<"exact">;
208
- term: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- type: "exact";
211
- term: string;
212
- }, {
213
- type: "exact";
214
- term: string;
215
- }>>>;
216
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
217
- type: z.ZodLiteral<"anyOf">;
218
- terms: z.ZodArray<z.ZodString, "many">;
219
- }, "strip", z.ZodTypeAny, {
220
- type: "anyOf";
221
- terms: string[];
222
- }, {
223
- type: "anyOf";
224
- terms: string[];
225
- }>, z.ZodObject<{
226
- type: z.ZodLiteral<"not">;
227
- term: z.ZodString;
228
- }, "strip", z.ZodTypeAny, {
229
- type: "not";
230
- term: string;
231
- }, {
232
- type: "not";
233
- term: string;
234
- }>]>, "many">>>;
235
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
236
- }, "strip", z.ZodTypeAny, {
237
- status?: {
238
- type: "anyOf";
239
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
240
- } | {
241
- type: "exact";
242
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
243
- } | undefined;
244
- title?: string | undefined;
245
- data?: any;
246
- createdAt?: {
247
- type: "exact";
248
- term: string;
249
- } | {
250
- type: "range";
251
- gte: string;
252
- lte: string;
253
- } | undefined;
254
- createdBy?: {
255
- type: "exact";
256
- term: string | {
257
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
258
- };
259
- } | undefined;
260
- createdAtLocation?: {
261
- type: "exact";
262
- term: string | {
263
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
264
- };
265
- } | {
266
- type: "within";
267
- location: string | {
268
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
269
- };
270
- } | undefined;
271
- assignedTo?: {
272
- type: "exact";
273
- term: string | {
274
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
275
- };
276
- } | undefined;
277
- updatedAt?: {
278
- type: "exact";
279
- term: string;
280
- } | {
281
- type: "range";
282
- gte: string;
283
- lte: string;
284
- } | undefined;
285
- trackingId?: {
286
- type: "exact";
287
- term: string;
288
- } | undefined;
289
- updatedAtLocation?: {
290
- type: "exact";
291
- term: string | {
292
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
293
- };
294
- } | {
295
- type: "within";
296
- location: string | {
297
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
298
- };
299
- } | undefined;
300
- updatedBy?: {
301
- type: "exact";
302
- term: string | {
303
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
304
- };
305
- } | undefined;
306
- flags?: ({
307
- type: "anyOf";
308
- terms: string[];
309
- } | {
310
- type: "not";
311
- term: string;
312
- })[] | undefined;
313
- eventType?: string | undefined;
314
- }, {
315
- status?: {
316
- type: "anyOf";
317
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
318
- } | {
319
- type: "exact";
320
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
321
- } | undefined;
322
- title?: string | undefined;
323
- data?: any;
324
- createdAt?: {
325
- type: "exact";
326
- term: string;
327
- } | {
328
- type: "range";
329
- gte: string;
330
- lte: string;
331
- } | undefined;
332
- createdBy?: {
333
- type: "exact";
334
- term: string | {
335
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
336
- };
337
- } | undefined;
338
- createdAtLocation?: {
339
- type: "exact";
340
- term: string | {
341
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
342
- };
343
- } | {
344
- type: "within";
345
- location: string | {
346
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
347
- };
348
- } | undefined;
349
- assignedTo?: {
350
- type: "exact";
351
- term: string | {
352
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
353
- };
354
- } | undefined;
355
- updatedAt?: {
356
- type: "exact";
357
- term: string;
358
- } | {
359
- type: "range";
360
- gte: string;
361
- lte: string;
362
- } | undefined;
363
- trackingId?: {
364
- type: "exact";
365
- term: string;
366
- } | undefined;
367
- updatedAtLocation?: {
368
- type: "exact";
369
- term: string | {
370
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
371
- };
372
- } | {
373
- type: "within";
374
- location: string | {
375
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
376
- };
377
- } | undefined;
378
- updatedBy?: {
379
- type: "exact";
380
- term: string | {
381
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
382
- };
383
- } | undefined;
384
- flags?: ({
385
- type: "anyOf";
386
- terms: string[];
387
- } | {
388
- type: "not";
389
- term: string;
390
- })[] | undefined;
391
- eventType?: string | undefined;
392
- }>;
393
- export type SerializedQueryExpression = z.infer<typeof SerializedQueryExpression>;
394
- export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
395
- type: z.ZodLiteral<"and">;
396
- clauses: z.ZodArray<z.ZodObject<{
397
- title: z.ZodOptional<z.ZodString>;
398
- eventType: z.ZodOptional<z.ZodString>;
399
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
400
- type: z.ZodLiteral<"anyOf">;
401
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
402
- }, "strip", z.ZodTypeAny, {
403
- type: "anyOf";
404
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
405
- }, {
406
- type: "anyOf";
407
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
408
- }>, z.ZodObject<{
409
- type: z.ZodLiteral<"exact">;
410
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
411
- }, "strip", z.ZodTypeAny, {
412
- type: "exact";
413
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
414
- }, {
415
- type: "exact";
416
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
417
- }>]>>>;
418
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
419
- type: z.ZodLiteral<"exact">;
420
- term: z.ZodString;
421
- }, "strip", z.ZodTypeAny, {
422
- type: "exact";
423
- term: string;
424
- }, {
425
- type: "exact";
426
- term: string;
427
- }>, z.ZodObject<{
428
- type: z.ZodLiteral<"range">;
429
- gte: z.ZodString;
430
- lte: z.ZodString;
431
- }, "strip", z.ZodTypeAny, {
432
- type: "range";
433
- gte: string;
434
- lte: string;
435
- }, {
436
- type: "range";
437
- gte: string;
438
- lte: string;
439
- }>]>>>;
440
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
441
- type: z.ZodLiteral<"exact">;
442
- term: z.ZodString;
443
- }, "strip", z.ZodTypeAny, {
444
- type: "exact";
445
- term: string;
446
- }, {
447
- type: "exact";
448
- term: string;
449
- }>, z.ZodObject<{
450
- type: z.ZodLiteral<"range">;
451
- gte: z.ZodString;
452
- lte: z.ZodString;
453
- }, "strip", z.ZodTypeAny, {
454
- type: "range";
455
- gte: string;
456
- lte: string;
457
- }, {
458
- type: "range";
459
- gte: string;
460
- lte: string;
461
- }>]>>>;
462
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
463
- type: z.ZodLiteral<"within">;
464
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
465
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
466
- }, "strip", z.ZodTypeAny, {
467
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
468
- }, {
469
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
470
- }>]>;
471
- }, "strip", z.ZodTypeAny, {
472
- type: "within";
473
- location: string | {
474
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
475
- };
476
- }, {
477
- type: "within";
478
- location: string | {
479
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
480
- };
481
- }>, z.ZodObject<{
482
- type: z.ZodLiteral<"exact">;
483
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
484
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
485
- }, "strip", z.ZodTypeAny, {
486
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
487
- }, {
488
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
489
- }>]>;
490
- }, "strip", z.ZodTypeAny, {
491
- type: "exact";
492
- term: string | {
493
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
494
- };
495
- }, {
496
- type: "exact";
497
- term: string | {
498
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
499
- };
500
- }>]>>>;
501
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
502
- type: z.ZodLiteral<"within">;
503
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
504
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
505
- }, "strip", z.ZodTypeAny, {
506
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
507
- }, {
508
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
509
- }>]>;
510
- }, "strip", z.ZodTypeAny, {
511
- type: "within";
512
- location: string | {
513
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
514
- };
515
- }, {
516
- type: "within";
517
- location: string | {
518
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
519
- };
520
- }>, z.ZodObject<{
521
- type: z.ZodLiteral<"exact">;
522
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
523
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
524
- }, "strip", z.ZodTypeAny, {
525
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
526
- }, {
527
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
528
- }>]>;
529
- }, "strip", z.ZodTypeAny, {
530
- type: "exact";
531
- term: string | {
532
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
533
- };
534
- }, {
535
- type: "exact";
536
- term: string | {
537
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
538
- };
539
- }>]>>>;
540
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
541
- type: z.ZodLiteral<"exact">;
542
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
543
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
544
- }, "strip", z.ZodTypeAny, {
545
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
546
- }, {
547
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
548
- }>]>;
549
- }, "strip", z.ZodTypeAny, {
550
- type: "exact";
551
- term: string | {
552
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
553
- };
554
- }, {
555
- type: "exact";
556
- term: string | {
557
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
558
- };
559
- }>>>;
560
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
561
- type: z.ZodLiteral<"exact">;
562
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
563
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
564
- }, "strip", z.ZodTypeAny, {
565
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
566
- }, {
567
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
568
- }>]>;
569
- }, "strip", z.ZodTypeAny, {
570
- type: "exact";
571
- term: string | {
572
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
573
- };
574
- }, {
575
- type: "exact";
576
- term: string | {
577
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
578
- };
579
- }>>>;
580
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
581
- type: z.ZodLiteral<"exact">;
582
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
583
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
584
- }, "strip", z.ZodTypeAny, {
585
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
586
- }, {
587
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
588
- }>]>;
589
- }, "strip", z.ZodTypeAny, {
590
- type: "exact";
591
- term: string | {
592
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
593
- };
594
- }, {
595
- type: "exact";
596
- term: string | {
597
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
598
- };
599
- }>>>;
600
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
601
- type: z.ZodLiteral<"exact">;
602
- term: z.ZodString;
603
- }, "strip", z.ZodTypeAny, {
604
- type: "exact";
605
- term: string;
606
- }, {
607
- type: "exact";
608
- term: string;
609
- }>>>;
610
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
611
- type: z.ZodLiteral<"anyOf">;
612
- terms: z.ZodArray<z.ZodString, "many">;
613
- }, "strip", z.ZodTypeAny, {
614
- type: "anyOf";
615
- terms: string[];
616
- }, {
617
- type: "anyOf";
618
- terms: string[];
619
- }>, z.ZodObject<{
620
- type: z.ZodLiteral<"not">;
621
- term: z.ZodString;
622
- }, "strip", z.ZodTypeAny, {
623
- type: "not";
624
- term: string;
625
- }, {
626
- type: "not";
627
- term: string;
628
- }>]>, "many">>>;
629
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
630
- }, "strip", z.ZodTypeAny, {
631
- status?: {
632
- type: "anyOf";
633
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
634
- } | {
635
- type: "exact";
636
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
637
- } | undefined;
638
- title?: string | undefined;
639
- data?: any;
640
- createdAt?: {
641
- type: "exact";
642
- term: string;
643
- } | {
644
- type: "range";
645
- gte: string;
646
- lte: string;
647
- } | undefined;
648
- createdBy?: {
649
- type: "exact";
650
- term: string | {
651
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
652
- };
653
- } | undefined;
654
- createdAtLocation?: {
655
- type: "exact";
656
- term: string | {
657
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
658
- };
659
- } | {
660
- type: "within";
661
- location: string | {
662
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
663
- };
664
- } | undefined;
665
- assignedTo?: {
666
- type: "exact";
667
- term: string | {
668
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
669
- };
670
- } | undefined;
671
- updatedAt?: {
672
- type: "exact";
673
- term: string;
674
- } | {
675
- type: "range";
676
- gte: string;
677
- lte: string;
678
- } | undefined;
679
- trackingId?: {
680
- type: "exact";
681
- term: string;
682
- } | undefined;
683
- updatedAtLocation?: {
684
- type: "exact";
685
- term: string | {
686
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
687
- };
688
- } | {
689
- type: "within";
690
- location: string | {
691
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
692
- };
693
- } | undefined;
694
- updatedBy?: {
695
- type: "exact";
696
- term: string | {
697
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
698
- };
699
- } | undefined;
700
- flags?: ({
701
- type: "anyOf";
702
- terms: string[];
703
- } | {
704
- type: "not";
705
- term: string;
706
- })[] | undefined;
707
- eventType?: string | undefined;
708
- }, {
709
- status?: {
710
- type: "anyOf";
711
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
712
- } | {
713
- type: "exact";
714
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
715
- } | undefined;
716
- title?: string | undefined;
717
- data?: any;
718
- createdAt?: {
719
- type: "exact";
720
- term: string;
721
- } | {
722
- type: "range";
723
- gte: string;
724
- lte: string;
725
- } | undefined;
726
- createdBy?: {
727
- type: "exact";
728
- term: string | {
729
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
730
- };
731
- } | undefined;
732
- createdAtLocation?: {
733
- type: "exact";
734
- term: string | {
735
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
736
- };
737
- } | {
738
- type: "within";
739
- location: string | {
740
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
741
- };
742
- } | undefined;
743
- assignedTo?: {
744
- type: "exact";
745
- term: string | {
746
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
747
- };
748
- } | undefined;
749
- updatedAt?: {
750
- type: "exact";
751
- term: string;
752
- } | {
753
- type: "range";
754
- gte: string;
755
- lte: string;
756
- } | undefined;
757
- trackingId?: {
758
- type: "exact";
759
- term: string;
760
- } | undefined;
761
- updatedAtLocation?: {
762
- type: "exact";
763
- term: string | {
764
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
765
- };
766
- } | {
767
- type: "within";
768
- location: string | {
769
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
770
- };
771
- } | undefined;
772
- updatedBy?: {
773
- type: "exact";
774
- term: string | {
775
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
776
- };
777
- } | undefined;
778
- flags?: ({
779
- type: "anyOf";
780
- terms: string[];
781
- } | {
782
- type: "not";
783
- term: string;
784
- })[] | undefined;
785
- eventType?: string | undefined;
786
- }>, "many">;
787
- }, "strip", z.ZodTypeAny, {
788
- type: "and";
789
- clauses: {
790
- status?: {
791
- type: "anyOf";
792
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
793
- } | {
794
- type: "exact";
795
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
796
- } | undefined;
797
- title?: string | undefined;
798
- data?: any;
799
- createdAt?: {
800
- type: "exact";
801
- term: string;
802
- } | {
803
- type: "range";
804
- gte: string;
805
- lte: string;
806
- } | undefined;
807
- createdBy?: {
808
- type: "exact";
809
- term: string | {
810
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
811
- };
812
- } | undefined;
813
- createdAtLocation?: {
814
- type: "exact";
815
- term: string | {
816
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
817
- };
818
- } | {
819
- type: "within";
820
- location: string | {
821
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
822
- };
823
- } | undefined;
824
- assignedTo?: {
825
- type: "exact";
826
- term: string | {
827
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
828
- };
829
- } | undefined;
830
- updatedAt?: {
831
- type: "exact";
832
- term: string;
833
- } | {
834
- type: "range";
835
- gte: string;
836
- lte: string;
837
- } | undefined;
838
- trackingId?: {
839
- type: "exact";
840
- term: string;
841
- } | undefined;
842
- updatedAtLocation?: {
843
- type: "exact";
844
- term: string | {
845
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
846
- };
847
- } | {
848
- type: "within";
849
- location: string | {
850
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
851
- };
852
- } | undefined;
853
- updatedBy?: {
854
- type: "exact";
855
- term: string | {
856
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
857
- };
858
- } | undefined;
859
- flags?: ({
860
- type: "anyOf";
861
- terms: string[];
862
- } | {
863
- type: "not";
864
- term: string;
865
- })[] | undefined;
866
- eventType?: string | undefined;
867
- }[];
868
- }, {
869
- type: "and";
870
- clauses: {
871
- status?: {
872
- type: "anyOf";
873
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
874
- } | {
875
- type: "exact";
876
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
877
- } | undefined;
878
- title?: string | undefined;
879
- data?: any;
880
- createdAt?: {
881
- type: "exact";
882
- term: string;
883
- } | {
884
- type: "range";
885
- gte: string;
886
- lte: string;
887
- } | undefined;
888
- createdBy?: {
889
- type: "exact";
890
- term: string | {
891
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
892
- };
893
- } | undefined;
894
- createdAtLocation?: {
895
- type: "exact";
896
- term: string | {
897
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
898
- };
899
- } | {
900
- type: "within";
901
- location: string | {
902
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
903
- };
904
- } | undefined;
905
- assignedTo?: {
906
- type: "exact";
907
- term: string | {
908
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
909
- };
910
- } | undefined;
911
- updatedAt?: {
912
- type: "exact";
913
- term: string;
914
- } | {
915
- type: "range";
916
- gte: string;
917
- lte: string;
918
- } | undefined;
919
- trackingId?: {
920
- type: "exact";
921
- term: string;
922
- } | undefined;
923
- updatedAtLocation?: {
924
- type: "exact";
925
- term: string | {
926
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
927
- };
928
- } | {
929
- type: "within";
930
- location: string | {
931
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
932
- };
933
- } | undefined;
934
- updatedBy?: {
935
- type: "exact";
936
- term: string | {
937
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
938
- };
939
- } | undefined;
940
- flags?: ({
941
- type: "anyOf";
942
- terms: string[];
943
- } | {
944
- type: "not";
945
- term: string;
946
- })[] | undefined;
947
- eventType?: string | undefined;
948
- }[];
949
- }>, z.ZodObject<{
950
- type: z.ZodLiteral<"or">;
951
- clauses: z.ZodArray<z.ZodObject<{
952
- title: z.ZodOptional<z.ZodString>;
953
- eventType: z.ZodOptional<z.ZodString>;
954
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
955
- type: z.ZodLiteral<"anyOf">;
956
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
957
- }, "strip", z.ZodTypeAny, {
958
- type: "anyOf";
959
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
960
- }, {
961
- type: "anyOf";
962
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
963
- }>, z.ZodObject<{
964
- type: z.ZodLiteral<"exact">;
965
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
966
- }, "strip", z.ZodTypeAny, {
967
- type: "exact";
968
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
969
- }, {
970
- type: "exact";
971
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
972
- }>]>>>;
973
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
974
- type: z.ZodLiteral<"exact">;
975
- term: z.ZodString;
976
- }, "strip", z.ZodTypeAny, {
977
- type: "exact";
978
- term: string;
979
- }, {
980
- type: "exact";
981
- term: string;
982
- }>, z.ZodObject<{
983
- type: z.ZodLiteral<"range">;
984
- gte: z.ZodString;
985
- lte: z.ZodString;
986
- }, "strip", z.ZodTypeAny, {
987
- type: "range";
988
- gte: string;
989
- lte: string;
990
- }, {
991
- type: "range";
992
- gte: string;
993
- lte: string;
994
- }>]>>>;
995
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
996
- type: z.ZodLiteral<"exact">;
997
- term: z.ZodString;
998
- }, "strip", z.ZodTypeAny, {
999
- type: "exact";
1000
- term: string;
1001
- }, {
1002
- type: "exact";
1003
- term: string;
1004
- }>, z.ZodObject<{
1005
- type: z.ZodLiteral<"range">;
1006
- gte: z.ZodString;
1007
- lte: z.ZodString;
1008
- }, "strip", z.ZodTypeAny, {
1009
- type: "range";
1010
- gte: string;
1011
- lte: string;
1012
- }, {
1013
- type: "range";
1014
- gte: string;
1015
- lte: string;
1016
- }>]>>>;
1017
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1018
- type: z.ZodLiteral<"within">;
1019
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1020
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1021
- }, "strip", z.ZodTypeAny, {
1022
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1023
- }, {
1024
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1025
- }>]>;
1026
- }, "strip", z.ZodTypeAny, {
1027
- type: "within";
1028
- location: string | {
1029
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1030
- };
1031
- }, {
1032
- type: "within";
1033
- location: string | {
1034
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1035
- };
1036
- }>, z.ZodObject<{
1037
- type: z.ZodLiteral<"exact">;
1038
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1039
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1040
- }, "strip", z.ZodTypeAny, {
1041
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1042
- }, {
1043
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1044
- }>]>;
1045
- }, "strip", z.ZodTypeAny, {
1046
- type: "exact";
1047
- term: string | {
1048
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1049
- };
1050
- }, {
1051
- type: "exact";
1052
- term: string | {
1053
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1054
- };
1055
- }>]>>>;
1056
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1057
- type: z.ZodLiteral<"within">;
1058
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1059
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1060
- }, "strip", z.ZodTypeAny, {
1061
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1062
- }, {
1063
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1064
- }>]>;
1065
- }, "strip", z.ZodTypeAny, {
1066
- type: "within";
1067
- location: string | {
1068
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1069
- };
1070
- }, {
1071
- type: "within";
1072
- location: string | {
1073
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1074
- };
1075
- }>, z.ZodObject<{
1076
- type: z.ZodLiteral<"exact">;
1077
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1078
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1079
- }, "strip", z.ZodTypeAny, {
1080
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1081
- }, {
1082
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1083
- }>]>;
1084
- }, "strip", z.ZodTypeAny, {
1085
- type: "exact";
1086
- term: string | {
1087
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1088
- };
1089
- }, {
1090
- type: "exact";
1091
- term: string | {
1092
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1093
- };
1094
- }>]>>>;
1095
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1096
- type: z.ZodLiteral<"exact">;
1097
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1098
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1099
- }, "strip", z.ZodTypeAny, {
1100
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1101
- }, {
1102
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1103
- }>]>;
1104
- }, "strip", z.ZodTypeAny, {
1105
- type: "exact";
1106
- term: string | {
1107
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1108
- };
1109
- }, {
1110
- type: "exact";
1111
- term: string | {
1112
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1113
- };
1114
- }>>>;
1115
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1116
- type: z.ZodLiteral<"exact">;
1117
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1118
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1119
- }, "strip", z.ZodTypeAny, {
1120
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1121
- }, {
1122
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1123
- }>]>;
1124
- }, "strip", z.ZodTypeAny, {
1125
- type: "exact";
1126
- term: string | {
1127
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1128
- };
1129
- }, {
1130
- type: "exact";
1131
- term: string | {
1132
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1133
- };
1134
- }>>>;
1135
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1136
- type: z.ZodLiteral<"exact">;
1137
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1138
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1139
- }, "strip", z.ZodTypeAny, {
1140
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1141
- }, {
1142
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1143
- }>]>;
1144
- }, "strip", z.ZodTypeAny, {
1145
- type: "exact";
1146
- term: string | {
1147
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1148
- };
1149
- }, {
1150
- type: "exact";
1151
- term: string | {
1152
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1153
- };
1154
- }>>>;
1155
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1156
- type: z.ZodLiteral<"exact">;
1157
- term: z.ZodString;
1158
- }, "strip", z.ZodTypeAny, {
1159
- type: "exact";
1160
- term: string;
1161
- }, {
1162
- type: "exact";
1163
- term: string;
1164
- }>>>;
1165
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1166
- type: z.ZodLiteral<"anyOf">;
1167
- terms: z.ZodArray<z.ZodString, "many">;
1168
- }, "strip", z.ZodTypeAny, {
1169
- type: "anyOf";
1170
- terms: string[];
1171
- }, {
1172
- type: "anyOf";
1173
- terms: string[];
1174
- }>, z.ZodObject<{
1175
- type: z.ZodLiteral<"not">;
1176
- term: z.ZodString;
1177
- }, "strip", z.ZodTypeAny, {
1178
- type: "not";
1179
- term: string;
1180
- }, {
1181
- type: "not";
1182
- term: string;
1183
- }>]>, "many">>>;
1184
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- status?: {
1187
- type: "anyOf";
1188
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1189
- } | {
1190
- type: "exact";
1191
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1192
- } | undefined;
1193
- title?: string | undefined;
1194
- data?: any;
1195
- createdAt?: {
1196
- type: "exact";
1197
- term: string;
1198
- } | {
1199
- type: "range";
1200
- gte: string;
1201
- lte: string;
1202
- } | undefined;
1203
- createdBy?: {
1204
- type: "exact";
1205
- term: string | {
1206
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1207
- };
1208
- } | undefined;
1209
- createdAtLocation?: {
1210
- type: "exact";
1211
- term: string | {
1212
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1213
- };
1214
- } | {
1215
- type: "within";
1216
- location: string | {
1217
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1218
- };
1219
- } | undefined;
1220
- assignedTo?: {
1221
- type: "exact";
1222
- term: string | {
1223
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1224
- };
1225
- } | undefined;
1226
- updatedAt?: {
1227
- type: "exact";
1228
- term: string;
1229
- } | {
1230
- type: "range";
1231
- gte: string;
1232
- lte: string;
1233
- } | undefined;
1234
- trackingId?: {
1235
- type: "exact";
1236
- term: string;
1237
- } | undefined;
1238
- updatedAtLocation?: {
1239
- type: "exact";
1240
- term: string | {
1241
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1242
- };
1243
- } | {
1244
- type: "within";
1245
- location: string | {
1246
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1247
- };
1248
- } | undefined;
1249
- updatedBy?: {
1250
- type: "exact";
1251
- term: string | {
1252
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1253
- };
1254
- } | undefined;
1255
- flags?: ({
1256
- type: "anyOf";
1257
- terms: string[];
1258
- } | {
1259
- type: "not";
1260
- term: string;
1261
- })[] | undefined;
1262
- eventType?: string | undefined;
1263
- }, {
1264
- status?: {
1265
- type: "anyOf";
1266
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1267
- } | {
1268
- type: "exact";
1269
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1270
- } | undefined;
1271
- title?: string | undefined;
1272
- data?: any;
1273
- createdAt?: {
1274
- type: "exact";
1275
- term: string;
1276
- } | {
1277
- type: "range";
1278
- gte: string;
1279
- lte: string;
1280
- } | undefined;
1281
- createdBy?: {
1282
- type: "exact";
1283
- term: string | {
1284
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1285
- };
1286
- } | undefined;
1287
- createdAtLocation?: {
1288
- type: "exact";
1289
- term: string | {
1290
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1291
- };
1292
- } | {
1293
- type: "within";
1294
- location: string | {
1295
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1296
- };
1297
- } | undefined;
1298
- assignedTo?: {
1299
- type: "exact";
1300
- term: string | {
1301
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1302
- };
1303
- } | undefined;
1304
- updatedAt?: {
1305
- type: "exact";
1306
- term: string;
1307
- } | {
1308
- type: "range";
1309
- gte: string;
1310
- lte: string;
1311
- } | undefined;
1312
- trackingId?: {
1313
- type: "exact";
1314
- term: string;
1315
- } | undefined;
1316
- updatedAtLocation?: {
1317
- type: "exact";
1318
- term: string | {
1319
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1320
- };
1321
- } | {
1322
- type: "within";
1323
- location: string | {
1324
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1325
- };
1326
- } | undefined;
1327
- updatedBy?: {
1328
- type: "exact";
1329
- term: string | {
1330
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1331
- };
1332
- } | undefined;
1333
- flags?: ({
1334
- type: "anyOf";
1335
- terms: string[];
1336
- } | {
1337
- type: "not";
1338
- term: string;
1339
- })[] | undefined;
1340
- eventType?: string | undefined;
1341
- }>, "many">;
1342
- }, "strip", z.ZodTypeAny, {
1343
- type: "or";
1344
- clauses: {
1345
- status?: {
1346
- type: "anyOf";
1347
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1348
- } | {
1349
- type: "exact";
1350
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1351
- } | undefined;
1352
- title?: string | undefined;
1353
- data?: any;
1354
- createdAt?: {
1355
- type: "exact";
1356
- term: string;
1357
- } | {
1358
- type: "range";
1359
- gte: string;
1360
- lte: string;
1361
- } | undefined;
1362
- createdBy?: {
1363
- type: "exact";
1364
- term: string | {
1365
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1366
- };
1367
- } | undefined;
1368
- createdAtLocation?: {
1369
- type: "exact";
1370
- term: string | {
1371
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1372
- };
1373
- } | {
1374
- type: "within";
1375
- location: string | {
1376
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1377
- };
1378
- } | undefined;
1379
- assignedTo?: {
1380
- type: "exact";
1381
- term: string | {
1382
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1383
- };
1384
- } | undefined;
1385
- updatedAt?: {
1386
- type: "exact";
1387
- term: string;
1388
- } | {
1389
- type: "range";
1390
- gte: string;
1391
- lte: string;
1392
- } | undefined;
1393
- trackingId?: {
1394
- type: "exact";
1395
- term: string;
1396
- } | undefined;
1397
- updatedAtLocation?: {
1398
- type: "exact";
1399
- term: string | {
1400
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1401
- };
1402
- } | {
1403
- type: "within";
1404
- location: string | {
1405
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1406
- };
1407
- } | undefined;
1408
- updatedBy?: {
1409
- type: "exact";
1410
- term: string | {
1411
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1412
- };
1413
- } | undefined;
1414
- flags?: ({
1415
- type: "anyOf";
1416
- terms: string[];
1417
- } | {
1418
- type: "not";
1419
- term: string;
1420
- })[] | undefined;
1421
- eventType?: string | undefined;
1422
- }[];
1423
- }, {
1424
- type: "or";
1425
- clauses: {
1426
- status?: {
1427
- type: "anyOf";
1428
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1429
- } | {
1430
- type: "exact";
1431
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1432
- } | undefined;
1433
- title?: string | undefined;
1434
- data?: any;
1435
- createdAt?: {
1436
- type: "exact";
1437
- term: string;
1438
- } | {
1439
- type: "range";
1440
- gte: string;
1441
- lte: string;
1442
- } | undefined;
1443
- createdBy?: {
1444
- type: "exact";
1445
- term: string | {
1446
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1447
- };
1448
- } | undefined;
1449
- createdAtLocation?: {
1450
- type: "exact";
1451
- term: string | {
1452
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1453
- };
1454
- } | {
1455
- type: "within";
1456
- location: string | {
1457
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1458
- };
1459
- } | undefined;
1460
- assignedTo?: {
1461
- type: "exact";
1462
- term: string | {
1463
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1464
- };
1465
- } | undefined;
1466
- updatedAt?: {
1467
- type: "exact";
1468
- term: string;
1469
- } | {
1470
- type: "range";
1471
- gte: string;
1472
- lte: string;
1473
- } | undefined;
1474
- trackingId?: {
1475
- type: "exact";
1476
- term: string;
1477
- } | undefined;
1478
- updatedAtLocation?: {
1479
- type: "exact";
1480
- term: string | {
1481
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1482
- };
1483
- } | {
1484
- type: "within";
1485
- location: string | {
1486
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1487
- };
1488
- } | undefined;
1489
- updatedBy?: {
1490
- type: "exact";
1491
- term: string | {
1492
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1493
- };
1494
- } | undefined;
1495
- flags?: ({
1496
- type: "anyOf";
1497
- terms: string[];
1498
- } | {
1499
- type: "not";
1500
- term: string;
1501
- })[] | undefined;
1502
- eventType?: string | undefined;
1503
- }[];
1504
- }>]>;
1505
- export type CountryConfigQueryType = z.infer<typeof CountryConfigQueryType>;
1506
- export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1507
- title: z.ZodOptional<z.ZodString>;
1508
- eventType: z.ZodOptional<z.ZodString>;
1509
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1510
- type: z.ZodLiteral<"anyOf">;
1511
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
1512
- }, "strip", z.ZodTypeAny, {
1513
- type: "anyOf";
1514
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1515
- }, {
1516
- type: "anyOf";
1517
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1518
- }>, z.ZodObject<{
1519
- type: z.ZodLiteral<"exact">;
1520
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
1521
- }, "strip", z.ZodTypeAny, {
1522
- type: "exact";
1523
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1524
- }, {
1525
- type: "exact";
1526
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1527
- }>]>>>;
1528
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1529
- type: z.ZodLiteral<"exact">;
1530
- term: z.ZodString;
1531
- }, "strip", z.ZodTypeAny, {
1532
- type: "exact";
1533
- term: string;
1534
- }, {
1535
- type: "exact";
1536
- term: string;
1537
- }>, z.ZodObject<{
1538
- type: z.ZodLiteral<"range">;
1539
- gte: z.ZodString;
1540
- lte: z.ZodString;
1541
- }, "strip", z.ZodTypeAny, {
1542
- type: "range";
1543
- gte: string;
1544
- lte: string;
1545
- }, {
1546
- type: "range";
1547
- gte: string;
1548
- lte: string;
1549
- }>]>>>;
1550
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1551
- type: z.ZodLiteral<"exact">;
1552
- term: z.ZodString;
1553
- }, "strip", z.ZodTypeAny, {
1554
- type: "exact";
1555
- term: string;
1556
- }, {
1557
- type: "exact";
1558
- term: string;
1559
- }>, z.ZodObject<{
1560
- type: z.ZodLiteral<"range">;
1561
- gte: z.ZodString;
1562
- lte: z.ZodString;
1563
- }, "strip", z.ZodTypeAny, {
1564
- type: "range";
1565
- gte: string;
1566
- lte: string;
1567
- }, {
1568
- type: "range";
1569
- gte: string;
1570
- lte: string;
1571
- }>]>>>;
1572
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1573
- type: z.ZodLiteral<"within">;
1574
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1575
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1576
- }, "strip", z.ZodTypeAny, {
1577
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1578
- }, {
1579
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1580
- }>]>;
1581
- }, "strip", z.ZodTypeAny, {
1582
- type: "within";
1583
- location: string | {
1584
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1585
- };
1586
- }, {
1587
- type: "within";
1588
- location: string | {
1589
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1590
- };
1591
- }>, z.ZodObject<{
1592
- type: z.ZodLiteral<"exact">;
1593
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1594
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1595
- }, "strip", z.ZodTypeAny, {
1596
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1597
- }, {
1598
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1599
- }>]>;
1600
- }, "strip", z.ZodTypeAny, {
1601
- type: "exact";
1602
- term: string | {
1603
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1604
- };
1605
- }, {
1606
- type: "exact";
1607
- term: string | {
1608
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1609
- };
1610
- }>]>>>;
1611
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1612
- type: z.ZodLiteral<"within">;
1613
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1614
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1615
- }, "strip", z.ZodTypeAny, {
1616
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1617
- }, {
1618
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1619
- }>]>;
1620
- }, "strip", z.ZodTypeAny, {
1621
- type: "within";
1622
- location: string | {
1623
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1624
- };
1625
- }, {
1626
- type: "within";
1627
- location: string | {
1628
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1629
- };
1630
- }>, z.ZodObject<{
1631
- type: z.ZodLiteral<"exact">;
1632
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1633
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1634
- }, "strip", z.ZodTypeAny, {
1635
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1636
- }, {
1637
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1638
- }>]>;
1639
- }, "strip", z.ZodTypeAny, {
1640
- type: "exact";
1641
- term: string | {
1642
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1643
- };
1644
- }, {
1645
- type: "exact";
1646
- term: string | {
1647
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1648
- };
1649
- }>]>>>;
1650
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1651
- type: z.ZodLiteral<"exact">;
1652
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1653
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1654
- }, "strip", z.ZodTypeAny, {
1655
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1656
- }, {
1657
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1658
- }>]>;
1659
- }, "strip", z.ZodTypeAny, {
1660
- type: "exact";
1661
- term: string | {
1662
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1663
- };
1664
- }, {
1665
- type: "exact";
1666
- term: string | {
1667
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1668
- };
1669
- }>>>;
1670
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1671
- type: z.ZodLiteral<"exact">;
1672
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1673
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1674
- }, "strip", z.ZodTypeAny, {
1675
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1676
- }, {
1677
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1678
- }>]>;
1679
- }, "strip", z.ZodTypeAny, {
1680
- type: "exact";
1681
- term: string | {
1682
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1683
- };
1684
- }, {
1685
- type: "exact";
1686
- term: string | {
1687
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1688
- };
1689
- }>>>;
1690
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1691
- type: z.ZodLiteral<"exact">;
1692
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1693
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1694
- }, "strip", z.ZodTypeAny, {
1695
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1696
- }, {
1697
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1698
- }>]>;
1699
- }, "strip", z.ZodTypeAny, {
1700
- type: "exact";
1701
- term: string | {
1702
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1703
- };
1704
- }, {
1705
- type: "exact";
1706
- term: string | {
1707
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1708
- };
1709
- }>>>;
1710
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1711
- type: z.ZodLiteral<"exact">;
1712
- term: z.ZodString;
1713
- }, "strip", z.ZodTypeAny, {
1714
- type: "exact";
1715
- term: string;
1716
- }, {
1717
- type: "exact";
1718
- term: string;
1719
- }>>>;
1720
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1721
- type: z.ZodLiteral<"anyOf">;
1722
- terms: z.ZodArray<z.ZodString, "many">;
1723
- }, "strip", z.ZodTypeAny, {
1724
- type: "anyOf";
1725
- terms: string[];
1726
- }, {
1727
- type: "anyOf";
1728
- terms: string[];
1729
- }>, z.ZodObject<{
1730
- type: z.ZodLiteral<"not">;
1731
- term: z.ZodString;
1732
- }, "strip", z.ZodTypeAny, {
1733
- type: "not";
1734
- term: string;
1735
- }, {
1736
- type: "not";
1737
- term: string;
1738
- }>]>, "many">>>;
1739
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1740
- }, "strip", z.ZodTypeAny, {
1741
- status?: {
1742
- type: "anyOf";
1743
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1744
- } | {
1745
- type: "exact";
1746
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1747
- } | undefined;
1748
- title?: string | undefined;
1749
- data?: any;
1750
- createdAt?: {
1751
- type: "exact";
1752
- term: string;
1753
- } | {
1754
- type: "range";
1755
- gte: string;
1756
- lte: string;
1757
- } | undefined;
1758
- createdBy?: {
1759
- type: "exact";
1760
- term: string | {
1761
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1762
- };
1763
- } | undefined;
1764
- createdAtLocation?: {
1765
- type: "exact";
1766
- term: string | {
1767
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1768
- };
1769
- } | {
1770
- type: "within";
1771
- location: string | {
1772
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1773
- };
1774
- } | undefined;
1775
- assignedTo?: {
1776
- type: "exact";
1777
- term: string | {
1778
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1779
- };
1780
- } | undefined;
1781
- updatedAt?: {
1782
- type: "exact";
1783
- term: string;
1784
- } | {
1785
- type: "range";
1786
- gte: string;
1787
- lte: string;
1788
- } | undefined;
1789
- trackingId?: {
1790
- type: "exact";
1791
- term: string;
1792
- } | undefined;
1793
- updatedAtLocation?: {
1794
- type: "exact";
1795
- term: string | {
1796
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1797
- };
1798
- } | {
1799
- type: "within";
1800
- location: string | {
1801
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1802
- };
1803
- } | undefined;
1804
- updatedBy?: {
1805
- type: "exact";
1806
- term: string | {
1807
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1808
- };
1809
- } | undefined;
1810
- flags?: ({
1811
- type: "anyOf";
1812
- terms: string[];
1813
- } | {
1814
- type: "not";
1815
- term: string;
1816
- })[] | undefined;
1817
- eventType?: string | undefined;
1818
- }, {
1819
- status?: {
1820
- type: "anyOf";
1821
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1822
- } | {
1823
- type: "exact";
1824
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1825
- } | undefined;
1826
- title?: string | undefined;
1827
- data?: any;
1828
- createdAt?: {
1829
- type: "exact";
1830
- term: string;
1831
- } | {
1832
- type: "range";
1833
- gte: string;
1834
- lte: string;
1835
- } | undefined;
1836
- createdBy?: {
1837
- type: "exact";
1838
- term: string | {
1839
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1840
- };
1841
- } | undefined;
1842
- createdAtLocation?: {
1843
- type: "exact";
1844
- term: string | {
1845
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1846
- };
1847
- } | {
1848
- type: "within";
1849
- location: string | {
1850
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1851
- };
1852
- } | undefined;
1853
- assignedTo?: {
1854
- type: "exact";
1855
- term: string | {
1856
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1857
- };
1858
- } | undefined;
1859
- updatedAt?: {
1860
- type: "exact";
1861
- term: string;
1862
- } | {
1863
- type: "range";
1864
- gte: string;
1865
- lte: string;
1866
- } | undefined;
1867
- trackingId?: {
1868
- type: "exact";
1869
- term: string;
1870
- } | undefined;
1871
- updatedAtLocation?: {
1872
- type: "exact";
1873
- term: string | {
1874
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1875
- };
1876
- } | {
1877
- type: "within";
1878
- location: string | {
1879
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1880
- };
1881
- } | undefined;
1882
- updatedBy?: {
1883
- type: "exact";
1884
- term: string | {
1885
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1886
- };
1887
- } | undefined;
1888
- flags?: ({
1889
- type: "anyOf";
1890
- terms: string[];
1891
- } | {
1892
- type: "not";
1893
- term: string;
1894
- })[] | undefined;
1895
- eventType?: string | undefined;
1896
- }>, z.ZodObject<{
1897
- type: z.ZodLiteral<"and">;
1898
- clauses: z.ZodArray<z.ZodObject<{
1899
- title: z.ZodOptional<z.ZodString>;
1900
- eventType: z.ZodOptional<z.ZodString>;
1901
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1902
- type: z.ZodLiteral<"anyOf">;
1903
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
1904
- }, "strip", z.ZodTypeAny, {
1905
- type: "anyOf";
1906
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1907
- }, {
1908
- type: "anyOf";
1909
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1910
- }>, z.ZodObject<{
1911
- type: z.ZodLiteral<"exact">;
1912
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
1913
- }, "strip", z.ZodTypeAny, {
1914
- type: "exact";
1915
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1916
- }, {
1917
- type: "exact";
1918
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1919
- }>]>>>;
1920
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1921
- type: z.ZodLiteral<"exact">;
1922
- term: z.ZodString;
1923
- }, "strip", z.ZodTypeAny, {
1924
- type: "exact";
1925
- term: string;
1926
- }, {
1927
- type: "exact";
1928
- term: string;
1929
- }>, z.ZodObject<{
1930
- type: z.ZodLiteral<"range">;
1931
- gte: z.ZodString;
1932
- lte: 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
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1943
- type: z.ZodLiteral<"exact">;
1944
- term: z.ZodString;
1945
- }, "strip", z.ZodTypeAny, {
1946
- type: "exact";
1947
- term: string;
1948
- }, {
1949
- type: "exact";
1950
- term: string;
1951
- }>, z.ZodObject<{
1952
- type: z.ZodLiteral<"range">;
1953
- gte: z.ZodString;
1954
- lte: z.ZodString;
1955
- }, "strip", z.ZodTypeAny, {
1956
- type: "range";
1957
- gte: string;
1958
- lte: string;
1959
- }, {
1960
- type: "range";
1961
- gte: string;
1962
- lte: string;
1963
- }>]>>>;
1964
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1965
- type: z.ZodLiteral<"within">;
1966
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1967
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1968
- }, "strip", z.ZodTypeAny, {
1969
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1970
- }, {
1971
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1972
- }>]>;
1973
- }, "strip", z.ZodTypeAny, {
1974
- type: "within";
1975
- location: string | {
1976
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1977
- };
1978
- }, {
1979
- type: "within";
1980
- location: string | {
1981
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1982
- };
1983
- }>, z.ZodObject<{
1984
- type: z.ZodLiteral<"exact">;
1985
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
1986
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1987
- }, "strip", z.ZodTypeAny, {
1988
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1989
- }, {
1990
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1991
- }>]>;
1992
- }, "strip", z.ZodTypeAny, {
1993
- type: "exact";
1994
- term: string | {
1995
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1996
- };
1997
- }, {
1998
- type: "exact";
1999
- term: string | {
2000
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2001
- };
2002
- }>]>>>;
2003
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2004
- type: z.ZodLiteral<"within">;
2005
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2006
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2007
- }, "strip", z.ZodTypeAny, {
2008
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2009
- }, {
2010
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2011
- }>]>;
2012
- }, "strip", z.ZodTypeAny, {
2013
- type: "within";
2014
- location: string | {
2015
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2016
- };
2017
- }, {
2018
- type: "within";
2019
- location: string | {
2020
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2021
- };
2022
- }>, z.ZodObject<{
2023
- type: z.ZodLiteral<"exact">;
2024
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2025
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2026
- }, "strip", z.ZodTypeAny, {
2027
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2028
- }, {
2029
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2030
- }>]>;
2031
- }, "strip", z.ZodTypeAny, {
2032
- type: "exact";
2033
- term: string | {
2034
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2035
- };
2036
- }, {
2037
- type: "exact";
2038
- term: string | {
2039
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2040
- };
2041
- }>]>>>;
2042
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2043
- type: z.ZodLiteral<"exact">;
2044
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2045
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2046
- }, "strip", z.ZodTypeAny, {
2047
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2048
- }, {
2049
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2050
- }>]>;
2051
- }, "strip", z.ZodTypeAny, {
2052
- type: "exact";
2053
- term: string | {
2054
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2055
- };
2056
- }, {
2057
- type: "exact";
2058
- term: string | {
2059
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2060
- };
2061
- }>>>;
2062
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2063
- type: z.ZodLiteral<"exact">;
2064
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2065
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2066
- }, "strip", z.ZodTypeAny, {
2067
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2068
- }, {
2069
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2070
- }>]>;
2071
- }, "strip", z.ZodTypeAny, {
2072
- type: "exact";
2073
- term: string | {
2074
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2075
- };
2076
- }, {
2077
- type: "exact";
2078
- term: string | {
2079
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2080
- };
2081
- }>>>;
2082
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2083
- type: z.ZodLiteral<"exact">;
2084
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2085
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2086
- }, "strip", z.ZodTypeAny, {
2087
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2088
- }, {
2089
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2090
- }>]>;
2091
- }, "strip", z.ZodTypeAny, {
2092
- type: "exact";
2093
- term: string | {
2094
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2095
- };
2096
- }, {
2097
- type: "exact";
2098
- term: string | {
2099
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2100
- };
2101
- }>>>;
2102
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2103
- type: z.ZodLiteral<"exact">;
2104
- term: z.ZodString;
2105
- }, "strip", z.ZodTypeAny, {
2106
- type: "exact";
2107
- term: string;
2108
- }, {
2109
- type: "exact";
2110
- term: string;
2111
- }>>>;
2112
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2113
- type: z.ZodLiteral<"anyOf">;
2114
- terms: z.ZodArray<z.ZodString, "many">;
2115
- }, "strip", z.ZodTypeAny, {
2116
- type: "anyOf";
2117
- terms: string[];
2118
- }, {
2119
- type: "anyOf";
2120
- terms: string[];
2121
- }>, z.ZodObject<{
2122
- type: z.ZodLiteral<"not">;
2123
- term: z.ZodString;
2124
- }, "strip", z.ZodTypeAny, {
2125
- type: "not";
2126
- term: string;
2127
- }, {
2128
- type: "not";
2129
- term: string;
2130
- }>]>, "many">>>;
2131
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2132
- }, "strip", z.ZodTypeAny, {
2133
- status?: {
2134
- type: "anyOf";
2135
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2136
- } | {
2137
- type: "exact";
2138
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2139
- } | undefined;
2140
- title?: string | undefined;
2141
- data?: any;
2142
- createdAt?: {
2143
- type: "exact";
2144
- term: string;
2145
- } | {
2146
- type: "range";
2147
- gte: string;
2148
- lte: string;
2149
- } | undefined;
2150
- createdBy?: {
2151
- type: "exact";
2152
- term: string | {
2153
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2154
- };
2155
- } | undefined;
2156
- createdAtLocation?: {
2157
- type: "exact";
2158
- term: string | {
2159
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2160
- };
2161
- } | {
2162
- type: "within";
2163
- location: string | {
2164
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2165
- };
2166
- } | undefined;
2167
- assignedTo?: {
2168
- type: "exact";
2169
- term: string | {
2170
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2171
- };
2172
- } | undefined;
2173
- updatedAt?: {
2174
- type: "exact";
2175
- term: string;
2176
- } | {
2177
- type: "range";
2178
- gte: string;
2179
- lte: string;
2180
- } | undefined;
2181
- trackingId?: {
2182
- type: "exact";
2183
- term: string;
2184
- } | undefined;
2185
- updatedAtLocation?: {
2186
- type: "exact";
2187
- term: string | {
2188
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2189
- };
2190
- } | {
2191
- type: "within";
2192
- location: string | {
2193
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2194
- };
2195
- } | undefined;
2196
- updatedBy?: {
2197
- type: "exact";
2198
- term: string | {
2199
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2200
- };
2201
- } | undefined;
2202
- flags?: ({
2203
- type: "anyOf";
2204
- terms: string[];
2205
- } | {
2206
- type: "not";
2207
- term: string;
2208
- })[] | undefined;
2209
- eventType?: string | undefined;
2210
- }, {
2211
- status?: {
2212
- type: "anyOf";
2213
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2214
- } | {
2215
- type: "exact";
2216
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2217
- } | undefined;
2218
- title?: string | undefined;
2219
- data?: any;
2220
- createdAt?: {
2221
- type: "exact";
2222
- term: string;
2223
- } | {
2224
- type: "range";
2225
- gte: string;
2226
- lte: string;
2227
- } | undefined;
2228
- createdBy?: {
2229
- type: "exact";
2230
- term: string | {
2231
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2232
- };
2233
- } | undefined;
2234
- createdAtLocation?: {
2235
- type: "exact";
2236
- term: string | {
2237
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2238
- };
2239
- } | {
2240
- type: "within";
2241
- location: string | {
2242
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2243
- };
2244
- } | undefined;
2245
- assignedTo?: {
2246
- type: "exact";
2247
- term: string | {
2248
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2249
- };
2250
- } | undefined;
2251
- updatedAt?: {
2252
- type: "exact";
2253
- term: string;
2254
- } | {
2255
- type: "range";
2256
- gte: string;
2257
- lte: string;
2258
- } | undefined;
2259
- trackingId?: {
2260
- type: "exact";
2261
- term: string;
2262
- } | undefined;
2263
- updatedAtLocation?: {
2264
- type: "exact";
2265
- term: string | {
2266
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2267
- };
2268
- } | {
2269
- type: "within";
2270
- location: string | {
2271
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2272
- };
2273
- } | undefined;
2274
- updatedBy?: {
2275
- type: "exact";
2276
- term: string | {
2277
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2278
- };
2279
- } | undefined;
2280
- flags?: ({
2281
- type: "anyOf";
2282
- terms: string[];
2283
- } | {
2284
- type: "not";
2285
- term: string;
2286
- })[] | undefined;
2287
- eventType?: string | undefined;
2288
- }>, "many">;
2289
- }, "strip", z.ZodTypeAny, {
2290
- type: "and";
2291
- clauses: {
2292
- status?: {
2293
- type: "anyOf";
2294
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2295
- } | {
2296
- type: "exact";
2297
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2298
- } | undefined;
2299
- title?: string | undefined;
2300
- data?: any;
2301
- createdAt?: {
2302
- type: "exact";
2303
- term: string;
2304
- } | {
2305
- type: "range";
2306
- gte: string;
2307
- lte: string;
2308
- } | undefined;
2309
- createdBy?: {
2310
- type: "exact";
2311
- term: string | {
2312
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2313
- };
2314
- } | undefined;
2315
- createdAtLocation?: {
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
- assignedTo?: {
2327
- type: "exact";
2328
- term: string | {
2329
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2330
- };
2331
- } | undefined;
2332
- updatedAt?: {
2333
- type: "exact";
2334
- term: string;
2335
- } | {
2336
- type: "range";
2337
- gte: string;
2338
- lte: string;
2339
- } | undefined;
2340
- trackingId?: {
2341
- type: "exact";
2342
- term: string;
2343
- } | undefined;
2344
- updatedAtLocation?: {
2345
- type: "exact";
2346
- term: string | {
2347
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2348
- };
2349
- } | {
2350
- type: "within";
2351
- location: string | {
2352
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2353
- };
2354
- } | undefined;
2355
- updatedBy?: {
2356
- type: "exact";
2357
- term: string | {
2358
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2359
- };
2360
- } | undefined;
2361
- flags?: ({
2362
- type: "anyOf";
2363
- terms: string[];
2364
- } | {
2365
- type: "not";
2366
- term: string;
2367
- })[] | undefined;
2368
- eventType?: string | undefined;
2369
- }[];
2370
- }, {
2371
- type: "and";
2372
- clauses: {
2373
- status?: {
2374
- type: "anyOf";
2375
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2376
- } | {
2377
- type: "exact";
2378
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2379
- } | undefined;
2380
- title?: string | undefined;
2381
- data?: any;
2382
- createdAt?: {
2383
- type: "exact";
2384
- term: string;
2385
- } | {
2386
- type: "range";
2387
- gte: string;
2388
- lte: string;
2389
- } | undefined;
2390
- createdBy?: {
2391
- type: "exact";
2392
- term: string | {
2393
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2394
- };
2395
- } | undefined;
2396
- createdAtLocation?: {
2397
- type: "exact";
2398
- term: string | {
2399
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2400
- };
2401
- } | {
2402
- type: "within";
2403
- location: string | {
2404
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2405
- };
2406
- } | undefined;
2407
- assignedTo?: {
2408
- type: "exact";
2409
- term: string | {
2410
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2411
- };
2412
- } | undefined;
2413
- updatedAt?: {
2414
- type: "exact";
2415
- term: string;
2416
- } | {
2417
- type: "range";
2418
- gte: string;
2419
- lte: string;
2420
- } | undefined;
2421
- trackingId?: {
2422
- type: "exact";
2423
- term: string;
2424
- } | undefined;
2425
- updatedAtLocation?: {
2426
- type: "exact";
2427
- term: string | {
2428
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2429
- };
2430
- } | {
2431
- type: "within";
2432
- location: string | {
2433
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2434
- };
2435
- } | undefined;
2436
- updatedBy?: {
2437
- type: "exact";
2438
- term: string | {
2439
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2440
- };
2441
- } | undefined;
2442
- flags?: ({
2443
- type: "anyOf";
2444
- terms: string[];
2445
- } | {
2446
- type: "not";
2447
- term: string;
2448
- })[] | undefined;
2449
- eventType?: string | undefined;
2450
- }[];
2451
- }>, z.ZodObject<{
2452
- type: z.ZodLiteral<"or">;
2453
- clauses: z.ZodArray<z.ZodObject<{
2454
- title: z.ZodOptional<z.ZodString>;
2455
- eventType: z.ZodOptional<z.ZodString>;
2456
- status: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2457
- type: z.ZodLiteral<"anyOf">;
2458
- terms: z.ZodArray<z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>, "many">;
2459
- }, "strip", z.ZodTypeAny, {
2460
- type: "anyOf";
2461
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2462
- }, {
2463
- type: "anyOf";
2464
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2465
- }>, z.ZodObject<{
2466
- type: z.ZodLiteral<"exact">;
2467
- term: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
2468
- }, "strip", z.ZodTypeAny, {
2469
- type: "exact";
2470
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2471
- }, {
2472
- type: "exact";
2473
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2474
- }>]>>>;
2475
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2476
- type: z.ZodLiteral<"exact">;
2477
- term: z.ZodString;
2478
- }, "strip", z.ZodTypeAny, {
2479
- type: "exact";
2480
- term: string;
2481
- }, {
2482
- type: "exact";
2483
- term: string;
2484
- }>, z.ZodObject<{
2485
- type: z.ZodLiteral<"range">;
2486
- gte: z.ZodString;
2487
- lte: z.ZodString;
2488
- }, "strip", z.ZodTypeAny, {
2489
- type: "range";
2490
- gte: string;
2491
- lte: string;
2492
- }, {
2493
- type: "range";
2494
- gte: string;
2495
- lte: string;
2496
- }>]>>>;
2497
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2498
- type: z.ZodLiteral<"exact">;
2499
- term: z.ZodString;
2500
- }, "strip", z.ZodTypeAny, {
2501
- type: "exact";
2502
- term: string;
2503
- }, {
2504
- type: "exact";
2505
- term: string;
2506
- }>, z.ZodObject<{
2507
- type: z.ZodLiteral<"range">;
2508
- gte: z.ZodString;
2509
- lte: z.ZodString;
2510
- }, "strip", z.ZodTypeAny, {
2511
- type: "range";
2512
- gte: string;
2513
- lte: string;
2514
- }, {
2515
- type: "range";
2516
- gte: string;
2517
- lte: string;
2518
- }>]>>>;
2519
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2520
- type: z.ZodLiteral<"within">;
2521
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2522
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2523
- }, "strip", z.ZodTypeAny, {
2524
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2525
- }, {
2526
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2527
- }>]>;
2528
- }, "strip", z.ZodTypeAny, {
2529
- type: "within";
2530
- location: string | {
2531
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2532
- };
2533
- }, {
2534
- type: "within";
2535
- location: string | {
2536
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2537
- };
2538
- }>, z.ZodObject<{
2539
- type: z.ZodLiteral<"exact">;
2540
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2541
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2542
- }, "strip", z.ZodTypeAny, {
2543
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2544
- }, {
2545
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2546
- }>]>;
2547
- }, "strip", z.ZodTypeAny, {
2548
- type: "exact";
2549
- term: string | {
2550
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2551
- };
2552
- }, {
2553
- type: "exact";
2554
- term: string | {
2555
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2556
- };
2557
- }>]>>>;
2558
- updatedAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2559
- type: z.ZodLiteral<"within">;
2560
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2561
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2562
- }, "strip", z.ZodTypeAny, {
2563
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2564
- }, {
2565
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2566
- }>]>;
2567
- }, "strip", z.ZodTypeAny, {
2568
- type: "within";
2569
- location: string | {
2570
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2571
- };
2572
- }, {
2573
- type: "within";
2574
- location: string | {
2575
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2576
- };
2577
- }>, z.ZodObject<{
2578
- type: z.ZodLiteral<"exact">;
2579
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2580
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2581
- }, "strip", z.ZodTypeAny, {
2582
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2583
- }, {
2584
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2585
- }>]>;
2586
- }, "strip", z.ZodTypeAny, {
2587
- type: "exact";
2588
- term: string | {
2589
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2590
- };
2591
- }, {
2592
- type: "exact";
2593
- term: string | {
2594
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2595
- };
2596
- }>]>>>;
2597
- assignedTo: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2598
- type: z.ZodLiteral<"exact">;
2599
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2600
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2601
- }, "strip", z.ZodTypeAny, {
2602
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2603
- }, {
2604
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2605
- }>]>;
2606
- }, "strip", z.ZodTypeAny, {
2607
- type: "exact";
2608
- term: string | {
2609
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2610
- };
2611
- }, {
2612
- type: "exact";
2613
- term: string | {
2614
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2615
- };
2616
- }>>>;
2617
- createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2618
- type: z.ZodLiteral<"exact">;
2619
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2620
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2621
- }, "strip", z.ZodTypeAny, {
2622
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2623
- }, {
2624
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2625
- }>]>;
2626
- }, "strip", z.ZodTypeAny, {
2627
- type: "exact";
2628
- term: string | {
2629
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2630
- };
2631
- }, {
2632
- type: "exact";
2633
- term: string | {
2634
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2635
- };
2636
- }>>>;
2637
- updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2638
- type: z.ZodLiteral<"exact">;
2639
- term: z.ZodUnion<[z.ZodString, z.ZodObject<{
2640
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2641
- }, "strip", z.ZodTypeAny, {
2642
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2643
- }, {
2644
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2645
- }>]>;
2646
- }, "strip", z.ZodTypeAny, {
2647
- type: "exact";
2648
- term: string | {
2649
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2650
- };
2651
- }, {
2652
- type: "exact";
2653
- term: string | {
2654
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2655
- };
2656
- }>>>;
2657
- trackingId: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2658
- type: z.ZodLiteral<"exact">;
2659
- term: z.ZodString;
2660
- }, "strip", z.ZodTypeAny, {
2661
- type: "exact";
2662
- term: string;
2663
- }, {
2664
- type: "exact";
2665
- term: string;
2666
- }>>>;
2667
- flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2668
- type: z.ZodLiteral<"anyOf">;
2669
- terms: z.ZodArray<z.ZodString, "many">;
2670
- }, "strip", z.ZodTypeAny, {
2671
- type: "anyOf";
2672
- terms: string[];
2673
- }, {
2674
- type: "anyOf";
2675
- terms: string[];
2676
- }>, z.ZodObject<{
2677
- type: z.ZodLiteral<"not">;
2678
- term: z.ZodString;
2679
- }, "strip", z.ZodTypeAny, {
2680
- type: "not";
2681
- term: string;
2682
- }, {
2683
- type: "not";
2684
- term: string;
2685
- }>]>, "many">>>;
2686
- data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2687
- }, "strip", z.ZodTypeAny, {
2688
- status?: {
2689
- type: "anyOf";
2690
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2691
- } | {
2692
- type: "exact";
2693
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2694
- } | undefined;
2695
- title?: string | undefined;
2696
- data?: any;
2697
- createdAt?: {
2698
- type: "exact";
2699
- term: string;
2700
- } | {
2701
- type: "range";
2702
- gte: string;
2703
- lte: string;
2704
- } | undefined;
2705
- createdBy?: {
2706
- type: "exact";
2707
- term: string | {
2708
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2709
- };
2710
- } | undefined;
2711
- createdAtLocation?: {
2712
- type: "exact";
2713
- term: string | {
2714
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2715
- };
2716
- } | {
2717
- type: "within";
2718
- location: string | {
2719
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2720
- };
2721
- } | undefined;
2722
- assignedTo?: {
2723
- type: "exact";
2724
- term: string | {
2725
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2726
- };
2727
- } | undefined;
2728
- updatedAt?: {
2729
- type: "exact";
2730
- term: string;
2731
- } | {
2732
- type: "range";
2733
- gte: string;
2734
- lte: string;
2735
- } | undefined;
2736
- trackingId?: {
2737
- type: "exact";
2738
- term: string;
2739
- } | undefined;
2740
- updatedAtLocation?: {
2741
- type: "exact";
2742
- term: string | {
2743
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2744
- };
2745
- } | {
2746
- type: "within";
2747
- location: string | {
2748
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2749
- };
2750
- } | undefined;
2751
- updatedBy?: {
2752
- type: "exact";
2753
- term: string | {
2754
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2755
- };
2756
- } | undefined;
2757
- flags?: ({
2758
- type: "anyOf";
2759
- terms: string[];
2760
- } | {
2761
- type: "not";
2762
- term: string;
2763
- })[] | undefined;
2764
- eventType?: string | undefined;
2765
- }, {
2766
- status?: {
2767
- type: "anyOf";
2768
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2769
- } | {
2770
- type: "exact";
2771
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2772
- } | undefined;
2773
- title?: string | undefined;
2774
- data?: any;
2775
- createdAt?: {
2776
- type: "exact";
2777
- term: string;
2778
- } | {
2779
- type: "range";
2780
- gte: string;
2781
- lte: string;
2782
- } | undefined;
2783
- createdBy?: {
2784
- type: "exact";
2785
- term: string | {
2786
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2787
- };
2788
- } | undefined;
2789
- createdAtLocation?: {
2790
- type: "exact";
2791
- term: string | {
2792
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2793
- };
2794
- } | {
2795
- type: "within";
2796
- location: string | {
2797
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2798
- };
2799
- } | undefined;
2800
- assignedTo?: {
2801
- type: "exact";
2802
- term: string | {
2803
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2804
- };
2805
- } | undefined;
2806
- updatedAt?: {
2807
- type: "exact";
2808
- term: string;
2809
- } | {
2810
- type: "range";
2811
- gte: string;
2812
- lte: string;
2813
- } | undefined;
2814
- trackingId?: {
2815
- type: "exact";
2816
- term: string;
2817
- } | undefined;
2818
- updatedAtLocation?: {
2819
- type: "exact";
2820
- term: string | {
2821
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2822
- };
2823
- } | {
2824
- type: "within";
2825
- location: string | {
2826
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2827
- };
2828
- } | undefined;
2829
- updatedBy?: {
2830
- type: "exact";
2831
- term: string | {
2832
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2833
- };
2834
- } | undefined;
2835
- flags?: ({
2836
- type: "anyOf";
2837
- terms: string[];
2838
- } | {
2839
- type: "not";
2840
- term: string;
2841
- })[] | undefined;
2842
- eventType?: string | undefined;
2843
- }>, "many">;
2844
- }, "strip", z.ZodTypeAny, {
2845
- type: "or";
2846
- clauses: {
2847
- status?: {
2848
- type: "anyOf";
2849
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2850
- } | {
2851
- type: "exact";
2852
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2853
- } | undefined;
2854
- title?: string | undefined;
2855
- data?: any;
2856
- createdAt?: {
2857
- type: "exact";
2858
- term: string;
2859
- } | {
2860
- type: "range";
2861
- gte: string;
2862
- lte: string;
2863
- } | undefined;
2864
- createdBy?: {
2865
- type: "exact";
2866
- term: string | {
2867
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2868
- };
2869
- } | undefined;
2870
- createdAtLocation?: {
2871
- type: "exact";
2872
- term: string | {
2873
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2874
- };
2875
- } | {
2876
- type: "within";
2877
- location: string | {
2878
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2879
- };
2880
- } | undefined;
2881
- assignedTo?: {
2882
- type: "exact";
2883
- term: string | {
2884
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2885
- };
2886
- } | undefined;
2887
- updatedAt?: {
2888
- type: "exact";
2889
- term: string;
2890
- } | {
2891
- type: "range";
2892
- gte: string;
2893
- lte: string;
2894
- } | undefined;
2895
- trackingId?: {
2896
- type: "exact";
2897
- term: string;
2898
- } | undefined;
2899
- updatedAtLocation?: {
2900
- type: "exact";
2901
- term: string | {
2902
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2903
- };
2904
- } | {
2905
- type: "within";
2906
- location: string | {
2907
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2908
- };
2909
- } | undefined;
2910
- updatedBy?: {
2911
- type: "exact";
2912
- term: string | {
2913
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2914
- };
2915
- } | undefined;
2916
- flags?: ({
2917
- type: "anyOf";
2918
- terms: string[];
2919
- } | {
2920
- type: "not";
2921
- term: string;
2922
- })[] | undefined;
2923
- eventType?: string | undefined;
2924
- }[];
2925
- }, {
2926
- type: "or";
2927
- clauses: {
2928
- status?: {
2929
- type: "anyOf";
2930
- terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2931
- } | {
2932
- type: "exact";
2933
- term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2934
- } | undefined;
2935
- title?: string | undefined;
2936
- data?: any;
2937
- createdAt?: {
2938
- type: "exact";
2939
- term: string;
2940
- } | {
2941
- type: "range";
2942
- gte: string;
2943
- lte: string;
2944
- } | undefined;
2945
- createdBy?: {
2946
- type: "exact";
2947
- term: string | {
2948
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2949
- };
2950
- } | undefined;
2951
- createdAtLocation?: {
2952
- type: "exact";
2953
- term: string | {
2954
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2955
- };
2956
- } | {
2957
- type: "within";
2958
- location: string | {
2959
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2960
- };
2961
- } | undefined;
2962
- assignedTo?: {
2963
- type: "exact";
2964
- term: string | {
2965
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2966
- };
2967
- } | undefined;
2968
- updatedAt?: {
2969
- type: "exact";
2970
- term: string;
2971
- } | {
2972
- type: "range";
2973
- gte: string;
2974
- lte: string;
2975
- } | undefined;
2976
- trackingId?: {
2977
- type: "exact";
2978
- term: string;
2979
- } | undefined;
2980
- updatedAtLocation?: {
2981
- type: "exact";
2982
- term: string | {
2983
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2984
- };
2985
- } | {
2986
- type: "within";
2987
- location: string | {
2988
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2989
- };
2990
- } | undefined;
2991
- updatedBy?: {
2992
- type: "exact";
2993
- term: string | {
2994
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2995
- };
2996
- } | undefined;
2997
- flags?: ({
2998
- type: "anyOf";
2999
- terms: string[];
3000
- } | {
3001
- type: "not";
3002
- term: string;
3003
- })[] | undefined;
3004
- eventType?: string | undefined;
3005
- }[];
3006
- }>]>;
3007
- export type CountryConfigQueryInputType = z.infer<typeof CountryConfigQueryInputType>;
3008
- //# sourceMappingURL=CountryConfigQueryInput.d.ts.map