@opencrvs/toolkit 1.8.0-rc.fe799b0 → 1.8.0-rc.fe87a15

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