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