@opencrvs/toolkit 1.8.0-rc.fb8e005 → 1.8.0-rc.fbababd

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +8621 -5643
  2. package/dist/commons/events/ActionConfig.d.ts +18584 -33488
  3. package/dist/commons/events/ActionDocument.d.ts +1083 -1182
  4. package/dist/commons/events/ActionInput.d.ts +726 -726
  5. package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -222
  6. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  7. package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
  8. package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
  9. package/dist/commons/events/Draft.d.ts +71 -76
  10. package/dist/commons/events/EventConfig.d.ts +17504 -27573
  11. package/dist/commons/events/EventDocument.d.ts +707 -782
  12. package/dist/commons/events/EventIndex.d.ts +224 -639
  13. package/dist/commons/events/EventMetadata.d.ts +31 -73
  14. package/dist/commons/events/FieldConfig.d.ts +37 -198
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +66 -1200
  18. package/dist/commons/events/PageConfig.d.ts +18 -288
  19. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  20. package/dist/commons/events/WorkqueueConfig.d.ts +740 -3237
  21. package/dist/commons/events/defineConfig.d.ts +1589 -3532
  22. package/dist/commons/events/field.d.ts +0 -5
  23. package/dist/commons/events/index.d.ts +0 -1
  24. package/dist/commons/events/scopes.d.ts +3 -2
  25. package/dist/commons/events/test.utils.d.ts +17 -40
  26. package/dist/commons/events/transactions.d.ts +1 -1
  27. package/dist/commons/events/utils.d.ts +1604 -3684
  28. package/dist/conditionals/index.js +17 -20
  29. package/dist/events/index.js +1323 -1695
  30. package/dist/scopes/index.d.ts +1 -4
  31. package/dist/scopes/index.js +17 -67
  32. package/package.json +3 -3
@@ -20,52 +20,20 @@ export declare const SerializedQueryExpression: z.ZodObject<{
20
20
  type: "exact";
21
21
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
22
22
  }>]>>>;
23
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
23
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
24
24
  type: z.ZodLiteral<"exact">;
25
25
  term: z.ZodString;
26
- }, {
27
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
28
- }>, "strip", z.ZodTypeAny, {
29
- type: "exact";
30
- term: string;
31
- }, {
32
- type: "exact";
33
- term: string;
34
- }>, z.ZodObject<z.objectUtil.extendShape<{
35
- type: z.ZodLiteral<"range">;
36
- gte: z.ZodString;
37
- lte: z.ZodString;
38
- }, {
39
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
40
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
41
- }>, "strip", z.ZodTypeAny, {
42
- type: "range";
43
- gte: string;
44
- lte: string;
45
- }, {
46
- type: "range";
47
- gte: string;
48
- lte: string;
49
- }>]>>>;
50
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
51
- type: z.ZodLiteral<"exact">;
52
- term: z.ZodString;
53
- }, {
54
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
55
- }>, "strip", z.ZodTypeAny, {
26
+ }, "strip", z.ZodTypeAny, {
56
27
  type: "exact";
57
28
  term: string;
58
29
  }, {
59
30
  type: "exact";
60
31
  term: string;
61
- }>, z.ZodObject<z.objectUtil.extendShape<{
32
+ }>, z.ZodObject<{
62
33
  type: z.ZodLiteral<"range">;
63
34
  gte: z.ZodString;
64
35
  lte: z.ZodString;
65
- }, {
66
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
67
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
68
- }>, "strip", z.ZodTypeAny, {
36
+ }, "strip", z.ZodTypeAny, {
69
37
  type: "range";
70
38
  gte: string;
71
39
  lte: string;
@@ -74,25 +42,20 @@ export declare const SerializedQueryExpression: z.ZodObject<{
74
42
  gte: string;
75
43
  lte: string;
76
44
  }>]>>>;
77
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
45
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
78
46
  type: z.ZodLiteral<"exact">;
79
47
  term: z.ZodString;
80
- }, {
81
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
82
- }>, "strip", z.ZodTypeAny, {
48
+ }, "strip", z.ZodTypeAny, {
83
49
  type: "exact";
84
50
  term: string;
85
51
  }, {
86
52
  type: "exact";
87
53
  term: string;
88
- }>, z.ZodObject<z.objectUtil.extendShape<{
54
+ }>, z.ZodObject<{
89
55
  type: z.ZodLiteral<"range">;
90
56
  gte: z.ZodString;
91
57
  lte: z.ZodString;
92
- }, {
93
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
94
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
95
- }>, "strip", z.ZodTypeAny, {
58
+ }, "strip", z.ZodTypeAny, {
96
59
  type: "range";
97
60
  gte: string;
98
61
  lte: string;
@@ -101,35 +64,6 @@ export declare const SerializedQueryExpression: z.ZodObject<{
101
64
  gte: string;
102
65
  lte: string;
103
66
  }>]>>>;
104
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
105
- type: z.ZodLiteral<"within">;
106
- location: z.ZodString;
107
- }, "strip", z.ZodTypeAny, {
108
- type: "within";
109
- location: string;
110
- }, {
111
- type: "within";
112
- location: string;
113
- }>, z.ZodObject<{
114
- type: z.ZodLiteral<"exact">;
115
- term: z.ZodString;
116
- }, "strip", z.ZodTypeAny, {
117
- type: "exact";
118
- term: string;
119
- }, {
120
- type: "exact";
121
- term: string;
122
- }>]>>>;
123
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
124
- type: z.ZodLiteral<"exact">;
125
- term: z.ZodString;
126
- }, "strip", z.ZodTypeAny, {
127
- type: "exact";
128
- term: string;
129
- }, {
130
- type: "exact";
131
- term: string;
132
- }>>>;
133
67
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
134
68
  type: z.ZodLiteral<"within">;
135
69
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -248,7 +182,6 @@ export declare const SerializedQueryExpression: z.ZodObject<{
248
182
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
249
183
  };
250
184
  }>>>;
251
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
252
185
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
253
186
  type: z.ZodLiteral<"exact">;
254
187
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -279,26 +212,25 @@ export declare const SerializedQueryExpression: z.ZodObject<{
279
212
  type: "exact";
280
213
  term: string;
281
214
  }>>>;
282
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
283
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
284
- readonly PRINTED: "printed";
285
- readonly INCOMPLETE: "incomplete";
286
- readonly REJECTED: "rejected";
287
- readonly CORRECTION_REQUESTED: "correction-requested";
288
- }>]>, "many">>;
289
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
290
- readonly PRINTED: "printed";
291
- readonly INCOMPLETE: "incomplete";
292
- readonly REJECTED: "rejected";
293
- readonly CORRECTION_REQUESTED: "correction-requested";
294
- }>]>, "many">>;
215
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
216
+ type: z.ZodLiteral<"anyOf">;
217
+ terms: z.ZodArray<z.ZodString, "many">;
218
+ }, "strip", z.ZodTypeAny, {
219
+ type: "anyOf";
220
+ terms: string[];
221
+ }, {
222
+ type: "anyOf";
223
+ terms: string[];
224
+ }>, z.ZodObject<{
225
+ type: z.ZodLiteral<"not">;
226
+ term: z.ZodString;
295
227
  }, "strip", z.ZodTypeAny, {
296
- anyOf?: string[] | undefined;
297
- noneOf?: string[] | undefined;
228
+ type: "not";
229
+ term: string;
298
230
  }, {
299
- anyOf?: string[] | undefined;
300
- noneOf?: string[] | undefined;
301
- }>>>;
231
+ type: "not";
232
+ term: string;
233
+ }>]>, "many">>>;
302
234
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
303
235
  }, "strip", z.ZodTypeAny, {
304
236
  status?: {
@@ -309,14 +241,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
309
241
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
310
242
  } | undefined;
311
243
  data?: any;
312
- createdByUserType?: "system" | "user" | undefined;
313
244
  createdAt?: {
245
+ type: "exact";
246
+ term: string;
247
+ } | {
314
248
  type: "range";
315
249
  gte: string;
316
250
  lte: string;
317
- } | {
318
- type: "exact";
319
- term: string;
320
251
  } | undefined;
321
252
  createdBy?: {
322
253
  type: "exact";
@@ -342,12 +273,12 @@ export declare const SerializedQueryExpression: z.ZodObject<{
342
273
  };
343
274
  } | undefined;
344
275
  updatedAt?: {
276
+ type: "exact";
277
+ term: string;
278
+ } | {
345
279
  type: "range";
346
280
  gte: string;
347
281
  lte: string;
348
- } | {
349
- type: "exact";
350
- term: string;
351
282
  } | undefined;
352
283
  trackingId?: {
353
284
  type: "exact";
@@ -370,30 +301,14 @@ export declare const SerializedQueryExpression: z.ZodObject<{
370
301
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
371
302
  };
372
303
  } | undefined;
373
- flags?: {
374
- anyOf?: string[] | undefined;
375
- noneOf?: string[] | undefined;
376
- } | undefined;
377
- eventType?: string | undefined;
378
- 'legalStatus.REGISTERED.createdAt'?: {
379
- type: "range";
380
- gte: string;
381
- lte: string;
382
- } | {
383
- type: "exact";
384
- term: string;
385
- } | undefined;
386
- 'legalStatus.REGISTERED.createdAtLocation'?: {
387
- type: "exact";
388
- term: string;
304
+ flags?: ({
305
+ type: "anyOf";
306
+ terms: string[];
389
307
  } | {
390
- type: "within";
391
- location: string;
392
- } | undefined;
393
- 'legalStatus.REGISTERED.registrationNumber'?: {
394
- type: "exact";
308
+ type: "not";
395
309
  term: string;
396
- } | undefined;
310
+ })[] | undefined;
311
+ eventType?: string | undefined;
397
312
  }, {
398
313
  status?: {
399
314
  type: "exact";
@@ -403,14 +318,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
403
318
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
404
319
  } | undefined;
405
320
  data?: any;
406
- createdByUserType?: "system" | "user" | undefined;
407
321
  createdAt?: {
322
+ type: "exact";
323
+ term: string;
324
+ } | {
408
325
  type: "range";
409
326
  gte: string;
410
327
  lte: string;
411
- } | {
412
- type: "exact";
413
- term: string;
414
328
  } | undefined;
415
329
  createdBy?: {
416
330
  type: "exact";
@@ -436,12 +350,12 @@ export declare const SerializedQueryExpression: z.ZodObject<{
436
350
  };
437
351
  } | undefined;
438
352
  updatedAt?: {
353
+ type: "exact";
354
+ term: string;
355
+ } | {
439
356
  type: "range";
440
357
  gte: string;
441
358
  lte: string;
442
- } | {
443
- type: "exact";
444
- term: string;
445
359
  } | undefined;
446
360
  trackingId?: {
447
361
  type: "exact";
@@ -464,30 +378,14 @@ export declare const SerializedQueryExpression: z.ZodObject<{
464
378
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
465
379
  };
466
380
  } | undefined;
467
- flags?: {
468
- anyOf?: string[] | undefined;
469
- noneOf?: string[] | undefined;
470
- } | undefined;
471
- eventType?: string | undefined;
472
- 'legalStatus.REGISTERED.createdAt'?: {
473
- type: "range";
474
- gte: string;
475
- lte: string;
476
- } | {
477
- type: "exact";
478
- term: string;
479
- } | undefined;
480
- 'legalStatus.REGISTERED.createdAtLocation'?: {
481
- type: "exact";
482
- term: string;
381
+ flags?: ({
382
+ type: "anyOf";
383
+ terms: string[];
483
384
  } | {
484
- type: "within";
485
- location: string;
486
- } | undefined;
487
- 'legalStatus.REGISTERED.registrationNumber'?: {
488
- type: "exact";
385
+ type: "not";
489
386
  term: string;
490
- } | undefined;
387
+ })[] | undefined;
388
+ eventType?: string | undefined;
491
389
  }>;
492
390
  export type SerializedQueryExpression = z.infer<typeof SerializedQueryExpression>;
493
391
  export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -513,52 +411,20 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
513
411
  type: "exact";
514
412
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
515
413
  }>]>>>;
516
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
517
- type: z.ZodLiteral<"exact">;
518
- term: z.ZodString;
519
- }, {
520
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
521
- }>, "strip", z.ZodTypeAny, {
522
- type: "exact";
523
- term: string;
524
- }, {
525
- type: "exact";
526
- term: string;
527
- }>, z.ZodObject<z.objectUtil.extendShape<{
528
- type: z.ZodLiteral<"range">;
529
- gte: z.ZodString;
530
- lte: z.ZodString;
531
- }, {
532
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
533
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
534
- }>, "strip", z.ZodTypeAny, {
535
- type: "range";
536
- gte: string;
537
- lte: string;
538
- }, {
539
- type: "range";
540
- gte: string;
541
- lte: string;
542
- }>]>>>;
543
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
414
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
544
415
  type: z.ZodLiteral<"exact">;
545
416
  term: z.ZodString;
546
- }, {
547
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
548
- }>, "strip", z.ZodTypeAny, {
417
+ }, "strip", z.ZodTypeAny, {
549
418
  type: "exact";
550
419
  term: string;
551
420
  }, {
552
421
  type: "exact";
553
422
  term: string;
554
- }>, z.ZodObject<z.objectUtil.extendShape<{
423
+ }>, z.ZodObject<{
555
424
  type: z.ZodLiteral<"range">;
556
425
  gte: z.ZodString;
557
426
  lte: z.ZodString;
558
- }, {
559
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
560
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
561
- }>, "strip", z.ZodTypeAny, {
427
+ }, "strip", z.ZodTypeAny, {
562
428
  type: "range";
563
429
  gte: string;
564
430
  lte: string;
@@ -567,25 +433,20 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
567
433
  gte: string;
568
434
  lte: string;
569
435
  }>]>>>;
570
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
436
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
571
437
  type: z.ZodLiteral<"exact">;
572
438
  term: z.ZodString;
573
- }, {
574
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
575
- }>, "strip", z.ZodTypeAny, {
439
+ }, "strip", z.ZodTypeAny, {
576
440
  type: "exact";
577
441
  term: string;
578
442
  }, {
579
443
  type: "exact";
580
444
  term: string;
581
- }>, z.ZodObject<z.objectUtil.extendShape<{
445
+ }>, z.ZodObject<{
582
446
  type: z.ZodLiteral<"range">;
583
447
  gte: z.ZodString;
584
448
  lte: z.ZodString;
585
- }, {
586
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
587
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
588
- }>, "strip", z.ZodTypeAny, {
449
+ }, "strip", z.ZodTypeAny, {
589
450
  type: "range";
590
451
  gte: string;
591
452
  lte: string;
@@ -594,35 +455,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
594
455
  gte: string;
595
456
  lte: string;
596
457
  }>]>>>;
597
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
598
- type: z.ZodLiteral<"within">;
599
- location: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- type: "within";
602
- location: string;
603
- }, {
604
- type: "within";
605
- location: string;
606
- }>, z.ZodObject<{
607
- type: z.ZodLiteral<"exact">;
608
- term: z.ZodString;
609
- }, "strip", z.ZodTypeAny, {
610
- type: "exact";
611
- term: string;
612
- }, {
613
- type: "exact";
614
- term: string;
615
- }>]>>>;
616
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
617
- type: z.ZodLiteral<"exact">;
618
- term: z.ZodString;
619
- }, "strip", z.ZodTypeAny, {
620
- type: "exact";
621
- term: string;
622
- }, {
623
- type: "exact";
624
- term: string;
625
- }>>>;
626
458
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
627
459
  type: z.ZodLiteral<"within">;
628
460
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -741,7 +573,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
741
573
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
742
574
  };
743
575
  }>>>;
744
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
745
576
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
746
577
  type: z.ZodLiteral<"exact">;
747
578
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -772,26 +603,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
772
603
  type: "exact";
773
604
  term: string;
774
605
  }>>>;
775
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
776
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
777
- readonly PRINTED: "printed";
778
- readonly INCOMPLETE: "incomplete";
779
- readonly REJECTED: "rejected";
780
- readonly CORRECTION_REQUESTED: "correction-requested";
781
- }>]>, "many">>;
782
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
783
- readonly PRINTED: "printed";
784
- readonly INCOMPLETE: "incomplete";
785
- readonly REJECTED: "rejected";
786
- readonly CORRECTION_REQUESTED: "correction-requested";
787
- }>]>, "many">>;
788
- }, "strip", z.ZodTypeAny, {
789
- anyOf?: string[] | undefined;
790
- noneOf?: string[] | undefined;
791
- }, {
792
- anyOf?: string[] | undefined;
793
- noneOf?: string[] | undefined;
794
- }>>>;
606
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
607
+ type: z.ZodLiteral<"anyOf">;
608
+ terms: z.ZodArray<z.ZodString, "many">;
609
+ }, "strip", z.ZodTypeAny, {
610
+ type: "anyOf";
611
+ terms: string[];
612
+ }, {
613
+ type: "anyOf";
614
+ terms: string[];
615
+ }>, z.ZodObject<{
616
+ type: z.ZodLiteral<"not">;
617
+ term: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ type: "not";
620
+ term: string;
621
+ }, {
622
+ type: "not";
623
+ term: string;
624
+ }>]>, "many">>>;
795
625
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
796
626
  }, "strip", z.ZodTypeAny, {
797
627
  status?: {
@@ -802,14 +632,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
802
632
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
803
633
  } | undefined;
804
634
  data?: any;
805
- createdByUserType?: "system" | "user" | undefined;
806
635
  createdAt?: {
636
+ type: "exact";
637
+ term: string;
638
+ } | {
807
639
  type: "range";
808
640
  gte: string;
809
641
  lte: string;
810
- } | {
811
- type: "exact";
812
- term: string;
813
642
  } | undefined;
814
643
  createdBy?: {
815
644
  type: "exact";
@@ -835,12 +664,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
835
664
  };
836
665
  } | undefined;
837
666
  updatedAt?: {
667
+ type: "exact";
668
+ term: string;
669
+ } | {
838
670
  type: "range";
839
671
  gte: string;
840
672
  lte: string;
841
- } | {
842
- type: "exact";
843
- term: string;
844
673
  } | undefined;
845
674
  trackingId?: {
846
675
  type: "exact";
@@ -863,30 +692,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
863
692
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
864
693
  };
865
694
  } | undefined;
866
- flags?: {
867
- anyOf?: string[] | undefined;
868
- noneOf?: string[] | undefined;
869
- } | undefined;
870
- eventType?: string | undefined;
871
- 'legalStatus.REGISTERED.createdAt'?: {
872
- type: "range";
873
- gte: string;
874
- lte: string;
875
- } | {
876
- type: "exact";
877
- term: string;
878
- } | undefined;
879
- 'legalStatus.REGISTERED.createdAtLocation'?: {
880
- type: "exact";
881
- term: string;
695
+ flags?: ({
696
+ type: "anyOf";
697
+ terms: string[];
882
698
  } | {
883
- type: "within";
884
- location: string;
885
- } | undefined;
886
- 'legalStatus.REGISTERED.registrationNumber'?: {
887
- type: "exact";
699
+ type: "not";
888
700
  term: string;
889
- } | undefined;
701
+ })[] | undefined;
702
+ eventType?: string | undefined;
890
703
  }, {
891
704
  status?: {
892
705
  type: "exact";
@@ -896,14 +709,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
896
709
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
897
710
  } | undefined;
898
711
  data?: any;
899
- createdByUserType?: "system" | "user" | undefined;
900
712
  createdAt?: {
713
+ type: "exact";
714
+ term: string;
715
+ } | {
901
716
  type: "range";
902
717
  gte: string;
903
718
  lte: string;
904
- } | {
905
- type: "exact";
906
- term: string;
907
719
  } | undefined;
908
720
  createdBy?: {
909
721
  type: "exact";
@@ -929,12 +741,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
929
741
  };
930
742
  } | undefined;
931
743
  updatedAt?: {
744
+ type: "exact";
745
+ term: string;
746
+ } | {
932
747
  type: "range";
933
748
  gte: string;
934
749
  lte: string;
935
- } | {
936
- type: "exact";
937
- term: string;
938
750
  } | undefined;
939
751
  trackingId?: {
940
752
  type: "exact";
@@ -957,30 +769,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
957
769
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
958
770
  };
959
771
  } | undefined;
960
- flags?: {
961
- anyOf?: string[] | undefined;
962
- noneOf?: string[] | undefined;
963
- } | undefined;
964
- eventType?: string | undefined;
965
- 'legalStatus.REGISTERED.createdAt'?: {
966
- type: "range";
967
- gte: string;
968
- lte: string;
969
- } | {
970
- type: "exact";
971
- term: string;
972
- } | undefined;
973
- 'legalStatus.REGISTERED.createdAtLocation'?: {
974
- type: "exact";
975
- term: string;
772
+ flags?: ({
773
+ type: "anyOf";
774
+ terms: string[];
976
775
  } | {
977
- type: "within";
978
- location: string;
979
- } | undefined;
980
- 'legalStatus.REGISTERED.registrationNumber'?: {
981
- type: "exact";
776
+ type: "not";
982
777
  term: string;
983
- } | undefined;
778
+ })[] | undefined;
779
+ eventType?: string | undefined;
984
780
  }>, "many">;
985
781
  }, "strip", z.ZodTypeAny, {
986
782
  type: "and";
@@ -993,14 +789,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
993
789
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
994
790
  } | undefined;
995
791
  data?: any;
996
- createdByUserType?: "system" | "user" | undefined;
997
792
  createdAt?: {
793
+ type: "exact";
794
+ term: string;
795
+ } | {
998
796
  type: "range";
999
797
  gte: string;
1000
798
  lte: string;
1001
- } | {
1002
- type: "exact";
1003
- term: string;
1004
799
  } | undefined;
1005
800
  createdBy?: {
1006
801
  type: "exact";
@@ -1026,12 +821,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1026
821
  };
1027
822
  } | undefined;
1028
823
  updatedAt?: {
824
+ type: "exact";
825
+ term: string;
826
+ } | {
1029
827
  type: "range";
1030
828
  gte: string;
1031
829
  lte: string;
1032
- } | {
1033
- type: "exact";
1034
- term: string;
1035
830
  } | undefined;
1036
831
  trackingId?: {
1037
832
  type: "exact";
@@ -1054,30 +849,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1054
849
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1055
850
  };
1056
851
  } | undefined;
1057
- flags?: {
1058
- anyOf?: string[] | undefined;
1059
- noneOf?: string[] | undefined;
1060
- } | undefined;
1061
- eventType?: string | undefined;
1062
- 'legalStatus.REGISTERED.createdAt'?: {
1063
- type: "range";
1064
- gte: string;
1065
- lte: string;
1066
- } | {
1067
- type: "exact";
1068
- term: string;
1069
- } | undefined;
1070
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1071
- type: "exact";
1072
- term: string;
852
+ flags?: ({
853
+ type: "anyOf";
854
+ terms: string[];
1073
855
  } | {
1074
- type: "within";
1075
- location: string;
1076
- } | undefined;
1077
- 'legalStatus.REGISTERED.registrationNumber'?: {
1078
- type: "exact";
856
+ type: "not";
1079
857
  term: string;
1080
- } | undefined;
858
+ })[] | undefined;
859
+ eventType?: string | undefined;
1081
860
  }[];
1082
861
  }, {
1083
862
  type: "and";
@@ -1090,14 +869,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1090
869
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1091
870
  } | undefined;
1092
871
  data?: any;
1093
- createdByUserType?: "system" | "user" | undefined;
1094
872
  createdAt?: {
873
+ type: "exact";
874
+ term: string;
875
+ } | {
1095
876
  type: "range";
1096
877
  gte: string;
1097
878
  lte: string;
1098
- } | {
1099
- type: "exact";
1100
- term: string;
1101
879
  } | undefined;
1102
880
  createdBy?: {
1103
881
  type: "exact";
@@ -1123,12 +901,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1123
901
  };
1124
902
  } | undefined;
1125
903
  updatedAt?: {
904
+ type: "exact";
905
+ term: string;
906
+ } | {
1126
907
  type: "range";
1127
908
  gte: string;
1128
909
  lte: string;
1129
- } | {
1130
- type: "exact";
1131
- term: string;
1132
910
  } | undefined;
1133
911
  trackingId?: {
1134
912
  type: "exact";
@@ -1151,30 +929,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1151
929
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1152
930
  };
1153
931
  } | undefined;
1154
- flags?: {
1155
- anyOf?: string[] | undefined;
1156
- noneOf?: string[] | undefined;
1157
- } | undefined;
1158
- eventType?: string | undefined;
1159
- 'legalStatus.REGISTERED.createdAt'?: {
1160
- type: "range";
1161
- gte: string;
1162
- lte: string;
1163
- } | {
1164
- type: "exact";
1165
- term: string;
1166
- } | undefined;
1167
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1168
- type: "exact";
1169
- term: string;
932
+ flags?: ({
933
+ type: "anyOf";
934
+ terms: string[];
1170
935
  } | {
1171
- type: "within";
1172
- location: string;
1173
- } | undefined;
1174
- 'legalStatus.REGISTERED.registrationNumber'?: {
1175
- type: "exact";
936
+ type: "not";
1176
937
  term: string;
1177
- } | undefined;
938
+ })[] | undefined;
939
+ eventType?: string | undefined;
1178
940
  }[];
1179
941
  }>, z.ZodObject<{
1180
942
  type: z.ZodLiteral<"or">;
@@ -1199,52 +961,20 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1199
961
  type: "exact";
1200
962
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1201
963
  }>]>>>;
1202
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1203
- type: z.ZodLiteral<"exact">;
1204
- term: z.ZodString;
1205
- }, {
1206
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1207
- }>, "strip", z.ZodTypeAny, {
1208
- type: "exact";
1209
- term: string;
1210
- }, {
1211
- type: "exact";
1212
- term: string;
1213
- }>, z.ZodObject<z.objectUtil.extendShape<{
1214
- type: z.ZodLiteral<"range">;
1215
- gte: z.ZodString;
1216
- lte: z.ZodString;
1217
- }, {
1218
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1219
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1220
- }>, "strip", z.ZodTypeAny, {
1221
- type: "range";
1222
- gte: string;
1223
- lte: string;
1224
- }, {
1225
- type: "range";
1226
- gte: string;
1227
- lte: string;
1228
- }>]>>>;
1229
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
964
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1230
965
  type: z.ZodLiteral<"exact">;
1231
966
  term: z.ZodString;
1232
- }, {
1233
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1234
- }>, "strip", z.ZodTypeAny, {
967
+ }, "strip", z.ZodTypeAny, {
1235
968
  type: "exact";
1236
969
  term: string;
1237
970
  }, {
1238
971
  type: "exact";
1239
972
  term: string;
1240
- }>, z.ZodObject<z.objectUtil.extendShape<{
973
+ }>, z.ZodObject<{
1241
974
  type: z.ZodLiteral<"range">;
1242
975
  gte: z.ZodString;
1243
976
  lte: z.ZodString;
1244
- }, {
1245
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1246
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1247
- }>, "strip", z.ZodTypeAny, {
977
+ }, "strip", z.ZodTypeAny, {
1248
978
  type: "range";
1249
979
  gte: string;
1250
980
  lte: string;
@@ -1253,25 +983,20 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1253
983
  gte: string;
1254
984
  lte: string;
1255
985
  }>]>>>;
1256
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
986
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1257
987
  type: z.ZodLiteral<"exact">;
1258
988
  term: z.ZodString;
1259
- }, {
1260
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1261
- }>, "strip", z.ZodTypeAny, {
989
+ }, "strip", z.ZodTypeAny, {
1262
990
  type: "exact";
1263
991
  term: string;
1264
992
  }, {
1265
993
  type: "exact";
1266
994
  term: string;
1267
- }>, z.ZodObject<z.objectUtil.extendShape<{
995
+ }>, z.ZodObject<{
1268
996
  type: z.ZodLiteral<"range">;
1269
997
  gte: z.ZodString;
1270
998
  lte: z.ZodString;
1271
- }, {
1272
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1273
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1274
- }>, "strip", z.ZodTypeAny, {
999
+ }, "strip", z.ZodTypeAny, {
1275
1000
  type: "range";
1276
1001
  gte: string;
1277
1002
  lte: string;
@@ -1280,35 +1005,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1280
1005
  gte: string;
1281
1006
  lte: string;
1282
1007
  }>]>>>;
1283
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1284
- type: z.ZodLiteral<"within">;
1285
- location: z.ZodString;
1286
- }, "strip", z.ZodTypeAny, {
1287
- type: "within";
1288
- location: string;
1289
- }, {
1290
- type: "within";
1291
- location: string;
1292
- }>, z.ZodObject<{
1293
- type: z.ZodLiteral<"exact">;
1294
- term: z.ZodString;
1295
- }, "strip", z.ZodTypeAny, {
1296
- type: "exact";
1297
- term: string;
1298
- }, {
1299
- type: "exact";
1300
- term: string;
1301
- }>]>>>;
1302
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
1303
- type: z.ZodLiteral<"exact">;
1304
- term: z.ZodString;
1305
- }, "strip", z.ZodTypeAny, {
1306
- type: "exact";
1307
- term: string;
1308
- }, {
1309
- type: "exact";
1310
- term: string;
1311
- }>>>;
1312
1008
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1313
1009
  type: z.ZodLiteral<"within">;
1314
1010
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1427,7 +1123,6 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1427
1123
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1428
1124
  };
1429
1125
  }>>>;
1430
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
1431
1126
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1432
1127
  type: z.ZodLiteral<"exact">;
1433
1128
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -1458,26 +1153,25 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1458
1153
  type: "exact";
1459
1154
  term: string;
1460
1155
  }>>>;
1461
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1462
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1463
- readonly PRINTED: "printed";
1464
- readonly INCOMPLETE: "incomplete";
1465
- readonly REJECTED: "rejected";
1466
- readonly CORRECTION_REQUESTED: "correction-requested";
1467
- }>]>, "many">>;
1468
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
1469
- readonly PRINTED: "printed";
1470
- readonly INCOMPLETE: "incomplete";
1471
- readonly REJECTED: "rejected";
1472
- readonly CORRECTION_REQUESTED: "correction-requested";
1473
- }>]>, "many">>;
1474
- }, "strip", z.ZodTypeAny, {
1475
- anyOf?: string[] | undefined;
1476
- noneOf?: string[] | undefined;
1477
- }, {
1478
- anyOf?: string[] | undefined;
1479
- noneOf?: string[] | undefined;
1480
- }>>>;
1156
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1157
+ type: z.ZodLiteral<"anyOf">;
1158
+ terms: z.ZodArray<z.ZodString, "many">;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ type: "anyOf";
1161
+ terms: string[];
1162
+ }, {
1163
+ type: "anyOf";
1164
+ terms: string[];
1165
+ }>, z.ZodObject<{
1166
+ type: z.ZodLiteral<"not">;
1167
+ term: z.ZodString;
1168
+ }, "strip", z.ZodTypeAny, {
1169
+ type: "not";
1170
+ term: string;
1171
+ }, {
1172
+ type: "not";
1173
+ term: string;
1174
+ }>]>, "many">>>;
1481
1175
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
1482
1176
  }, "strip", z.ZodTypeAny, {
1483
1177
  status?: {
@@ -1488,14 +1182,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1488
1182
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1489
1183
  } | undefined;
1490
1184
  data?: any;
1491
- createdByUserType?: "system" | "user" | undefined;
1492
1185
  createdAt?: {
1186
+ type: "exact";
1187
+ term: string;
1188
+ } | {
1493
1189
  type: "range";
1494
1190
  gte: string;
1495
1191
  lte: string;
1496
- } | {
1497
- type: "exact";
1498
- term: string;
1499
1192
  } | undefined;
1500
1193
  createdBy?: {
1501
1194
  type: "exact";
@@ -1521,12 +1214,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1521
1214
  };
1522
1215
  } | undefined;
1523
1216
  updatedAt?: {
1217
+ type: "exact";
1218
+ term: string;
1219
+ } | {
1524
1220
  type: "range";
1525
1221
  gte: string;
1526
1222
  lte: string;
1527
- } | {
1528
- type: "exact";
1529
- term: string;
1530
1223
  } | undefined;
1531
1224
  trackingId?: {
1532
1225
  type: "exact";
@@ -1549,30 +1242,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1549
1242
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1550
1243
  };
1551
1244
  } | undefined;
1552
- flags?: {
1553
- anyOf?: string[] | undefined;
1554
- noneOf?: string[] | undefined;
1555
- } | undefined;
1556
- eventType?: string | undefined;
1557
- 'legalStatus.REGISTERED.createdAt'?: {
1558
- type: "range";
1559
- gte: string;
1560
- lte: string;
1561
- } | {
1562
- type: "exact";
1563
- term: string;
1564
- } | undefined;
1565
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1566
- type: "exact";
1567
- term: string;
1245
+ flags?: ({
1246
+ type: "anyOf";
1247
+ terms: string[];
1568
1248
  } | {
1569
- type: "within";
1570
- location: string;
1571
- } | undefined;
1572
- 'legalStatus.REGISTERED.registrationNumber'?: {
1573
- type: "exact";
1249
+ type: "not";
1574
1250
  term: string;
1575
- } | undefined;
1251
+ })[] | undefined;
1252
+ eventType?: string | undefined;
1576
1253
  }, {
1577
1254
  status?: {
1578
1255
  type: "exact";
@@ -1582,14 +1259,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1582
1259
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1583
1260
  } | undefined;
1584
1261
  data?: any;
1585
- createdByUserType?: "system" | "user" | undefined;
1586
1262
  createdAt?: {
1263
+ type: "exact";
1264
+ term: string;
1265
+ } | {
1587
1266
  type: "range";
1588
1267
  gte: string;
1589
1268
  lte: string;
1590
- } | {
1591
- type: "exact";
1592
- term: string;
1593
1269
  } | undefined;
1594
1270
  createdBy?: {
1595
1271
  type: "exact";
@@ -1615,12 +1291,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1615
1291
  };
1616
1292
  } | undefined;
1617
1293
  updatedAt?: {
1294
+ type: "exact";
1295
+ term: string;
1296
+ } | {
1618
1297
  type: "range";
1619
1298
  gte: string;
1620
1299
  lte: string;
1621
- } | {
1622
- type: "exact";
1623
- term: string;
1624
1300
  } | undefined;
1625
1301
  trackingId?: {
1626
1302
  type: "exact";
@@ -1643,30 +1319,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1643
1319
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1644
1320
  };
1645
1321
  } | undefined;
1646
- flags?: {
1647
- anyOf?: string[] | undefined;
1648
- noneOf?: string[] | undefined;
1649
- } | undefined;
1650
- eventType?: string | undefined;
1651
- 'legalStatus.REGISTERED.createdAt'?: {
1652
- type: "range";
1653
- gte: string;
1654
- lte: string;
1655
- } | {
1656
- type: "exact";
1657
- term: string;
1658
- } | undefined;
1659
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1660
- type: "exact";
1661
- term: string;
1322
+ flags?: ({
1323
+ type: "anyOf";
1324
+ terms: string[];
1662
1325
  } | {
1663
- type: "within";
1664
- location: string;
1665
- } | undefined;
1666
- 'legalStatus.REGISTERED.registrationNumber'?: {
1667
- type: "exact";
1326
+ type: "not";
1668
1327
  term: string;
1669
- } | undefined;
1328
+ })[] | undefined;
1329
+ eventType?: string | undefined;
1670
1330
  }>, "many">;
1671
1331
  }, "strip", z.ZodTypeAny, {
1672
1332
  type: "or";
@@ -1679,14 +1339,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1679
1339
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1680
1340
  } | undefined;
1681
1341
  data?: any;
1682
- createdByUserType?: "system" | "user" | undefined;
1683
1342
  createdAt?: {
1343
+ type: "exact";
1344
+ term: string;
1345
+ } | {
1684
1346
  type: "range";
1685
1347
  gte: string;
1686
1348
  lte: string;
1687
- } | {
1688
- type: "exact";
1689
- term: string;
1690
1349
  } | undefined;
1691
1350
  createdBy?: {
1692
1351
  type: "exact";
@@ -1712,12 +1371,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1712
1371
  };
1713
1372
  } | undefined;
1714
1373
  updatedAt?: {
1374
+ type: "exact";
1375
+ term: string;
1376
+ } | {
1715
1377
  type: "range";
1716
1378
  gte: string;
1717
1379
  lte: string;
1718
- } | {
1719
- type: "exact";
1720
- term: string;
1721
1380
  } | undefined;
1722
1381
  trackingId?: {
1723
1382
  type: "exact";
@@ -1740,30 +1399,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1740
1399
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1741
1400
  };
1742
1401
  } | undefined;
1743
- flags?: {
1744
- anyOf?: string[] | undefined;
1745
- noneOf?: string[] | undefined;
1746
- } | undefined;
1747
- eventType?: string | undefined;
1748
- 'legalStatus.REGISTERED.createdAt'?: {
1749
- type: "range";
1750
- gte: string;
1751
- lte: string;
1752
- } | {
1753
- type: "exact";
1754
- term: string;
1755
- } | undefined;
1756
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1757
- type: "exact";
1758
- term: string;
1402
+ flags?: ({
1403
+ type: "anyOf";
1404
+ terms: string[];
1759
1405
  } | {
1760
- type: "within";
1761
- location: string;
1762
- } | undefined;
1763
- 'legalStatus.REGISTERED.registrationNumber'?: {
1764
- type: "exact";
1406
+ type: "not";
1765
1407
  term: string;
1766
- } | undefined;
1408
+ })[] | undefined;
1409
+ eventType?: string | undefined;
1767
1410
  }[];
1768
1411
  }, {
1769
1412
  type: "or";
@@ -1776,14 +1419,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1776
1419
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1777
1420
  } | undefined;
1778
1421
  data?: any;
1779
- createdByUserType?: "system" | "user" | undefined;
1780
1422
  createdAt?: {
1423
+ type: "exact";
1424
+ term: string;
1425
+ } | {
1781
1426
  type: "range";
1782
1427
  gte: string;
1783
1428
  lte: string;
1784
- } | {
1785
- type: "exact";
1786
- term: string;
1787
1429
  } | undefined;
1788
1430
  createdBy?: {
1789
1431
  type: "exact";
@@ -1809,12 +1451,12 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1809
1451
  };
1810
1452
  } | undefined;
1811
1453
  updatedAt?: {
1454
+ type: "exact";
1455
+ term: string;
1456
+ } | {
1812
1457
  type: "range";
1813
1458
  gte: string;
1814
1459
  lte: string;
1815
- } | {
1816
- type: "exact";
1817
- term: string;
1818
1460
  } | undefined;
1819
1461
  trackingId?: {
1820
1462
  type: "exact";
@@ -1837,30 +1479,14 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<"type", [z.
1837
1479
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1838
1480
  };
1839
1481
  } | undefined;
1840
- flags?: {
1841
- anyOf?: string[] | undefined;
1842
- noneOf?: string[] | undefined;
1843
- } | undefined;
1844
- eventType?: string | undefined;
1845
- 'legalStatus.REGISTERED.createdAt'?: {
1846
- type: "range";
1847
- gte: string;
1848
- lte: string;
1849
- } | {
1850
- type: "exact";
1851
- term: string;
1852
- } | undefined;
1853
- 'legalStatus.REGISTERED.createdAtLocation'?: {
1854
- type: "exact";
1855
- term: string;
1482
+ flags?: ({
1483
+ type: "anyOf";
1484
+ terms: string[];
1856
1485
  } | {
1857
- type: "within";
1858
- location: string;
1859
- } | undefined;
1860
- 'legalStatus.REGISTERED.registrationNumber'?: {
1861
- type: "exact";
1486
+ type: "not";
1862
1487
  term: string;
1863
- } | undefined;
1488
+ })[] | undefined;
1489
+ eventType?: string | undefined;
1864
1490
  }[];
1865
1491
  }>]>;
1866
1492
  export type CountryConfigQueryType = z.infer<typeof CountryConfigQueryType>;
@@ -1885,25 +1511,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1885
1511
  type: "exact";
1886
1512
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
1887
1513
  }>]>>>;
1888
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1514
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1889
1515
  type: z.ZodLiteral<"exact">;
1890
1516
  term: z.ZodString;
1891
- }, {
1892
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1893
- }>, "strip", z.ZodTypeAny, {
1517
+ }, "strip", z.ZodTypeAny, {
1894
1518
  type: "exact";
1895
1519
  term: string;
1896
1520
  }, {
1897
1521
  type: "exact";
1898
1522
  term: string;
1899
- }>, z.ZodObject<z.objectUtil.extendShape<{
1523
+ }>, z.ZodObject<{
1900
1524
  type: z.ZodLiteral<"range">;
1901
1525
  gte: z.ZodString;
1902
1526
  lte: z.ZodString;
1903
- }, {
1904
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1905
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1906
- }>, "strip", z.ZodTypeAny, {
1527
+ }, "strip", z.ZodTypeAny, {
1907
1528
  type: "range";
1908
1529
  gte: string;
1909
1530
  lte: string;
@@ -1912,25 +1533,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1912
1533
  gte: string;
1913
1534
  lte: string;
1914
1535
  }>]>>>;
1915
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1536
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1916
1537
  type: z.ZodLiteral<"exact">;
1917
1538
  term: z.ZodString;
1918
- }, {
1919
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1920
- }>, "strip", z.ZodTypeAny, {
1539
+ }, "strip", z.ZodTypeAny, {
1921
1540
  type: "exact";
1922
1541
  term: string;
1923
1542
  }, {
1924
1543
  type: "exact";
1925
1544
  term: string;
1926
- }>, z.ZodObject<z.objectUtil.extendShape<{
1545
+ }>, z.ZodObject<{
1927
1546
  type: z.ZodLiteral<"range">;
1928
1547
  gte: z.ZodString;
1929
1548
  lte: z.ZodString;
1930
- }, {
1931
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1932
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1933
- }>, "strip", z.ZodTypeAny, {
1549
+ }, "strip", z.ZodTypeAny, {
1934
1550
  type: "range";
1935
1551
  gte: string;
1936
1552
  lte: string;
@@ -1939,76 +1555,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
1939
1555
  gte: string;
1940
1556
  lte: string;
1941
1557
  }>]>>>;
1942
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1943
- type: z.ZodLiteral<"exact">;
1944
- term: z.ZodString;
1945
- }, {
1946
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
1947
- }>, "strip", z.ZodTypeAny, {
1948
- type: "exact";
1949
- term: string;
1950
- }, {
1951
- type: "exact";
1952
- term: string;
1953
- }>, z.ZodObject<z.objectUtil.extendShape<{
1954
- type: z.ZodLiteral<"range">;
1955
- gte: z.ZodString;
1956
- lte: z.ZodString;
1957
- }, {
1958
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1959
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
1960
- }>, "strip", z.ZodTypeAny, {
1961
- type: "range";
1962
- gte: string;
1963
- lte: string;
1964
- }, {
1965
- type: "range";
1966
- gte: string;
1967
- lte: string;
1968
- }>]>>>;
1969
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1970
- type: z.ZodLiteral<"within">;
1971
- location: z.ZodString;
1972
- }, "strip", z.ZodTypeAny, {
1973
- type: "within";
1974
- location: string;
1975
- }, {
1976
- type: "within";
1977
- location: string;
1978
- }>, z.ZodObject<{
1979
- type: z.ZodLiteral<"exact">;
1980
- term: z.ZodString;
1981
- }, "strip", z.ZodTypeAny, {
1982
- type: "exact";
1983
- term: string;
1984
- }, {
1985
- type: "exact";
1986
- term: string;
1987
- }>]>>>;
1988
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
1989
- type: z.ZodLiteral<"exact">;
1990
- term: z.ZodString;
1991
- }, "strip", z.ZodTypeAny, {
1992
- type: "exact";
1993
- term: string;
1994
- }, {
1995
- type: "exact";
1996
- term: string;
1997
- }>>>;
1998
- createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1999
- type: z.ZodLiteral<"within">;
2000
- location: z.ZodUnion<[z.ZodString, z.ZodObject<{
2001
- $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
2002
- }, "strip", z.ZodTypeAny, {
2003
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2004
- }, {
2005
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2006
- }>]>;
2007
- }, "strip", z.ZodTypeAny, {
2008
- type: "within";
2009
- location: string | {
2010
- $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2011
- };
1558
+ createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1559
+ type: z.ZodLiteral<"within">;
1560
+ location: z.ZodUnion<[z.ZodString, z.ZodObject<{
1561
+ $userField: z.ZodEnum<["id", "name", "role", "signatureFilename", "primaryOfficeId"]>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1564
+ }, {
1565
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1566
+ }>]>;
1567
+ }, "strip", z.ZodTypeAny, {
1568
+ type: "within";
1569
+ location: string | {
1570
+ $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
1571
+ };
2012
1572
  }, {
2013
1573
  type: "within";
2014
1574
  location: string | {
@@ -2113,7 +1673,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2113
1673
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2114
1674
  };
2115
1675
  }>>>;
2116
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2117
1676
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2118
1677
  type: z.ZodLiteral<"exact">;
2119
1678
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2144,26 +1703,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2144
1703
  type: "exact";
2145
1704
  term: string;
2146
1705
  }>>>;
2147
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2148
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2149
- readonly PRINTED: "printed";
2150
- readonly INCOMPLETE: "incomplete";
2151
- readonly REJECTED: "rejected";
2152
- readonly CORRECTION_REQUESTED: "correction-requested";
2153
- }>]>, "many">>;
2154
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2155
- readonly PRINTED: "printed";
2156
- readonly INCOMPLETE: "incomplete";
2157
- readonly REJECTED: "rejected";
2158
- readonly CORRECTION_REQUESTED: "correction-requested";
2159
- }>]>, "many">>;
1706
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1707
+ type: z.ZodLiteral<"anyOf">;
1708
+ terms: z.ZodArray<z.ZodString, "many">;
2160
1709
  }, "strip", z.ZodTypeAny, {
2161
- anyOf?: string[] | undefined;
2162
- noneOf?: string[] | undefined;
1710
+ type: "anyOf";
1711
+ terms: string[];
2163
1712
  }, {
2164
- anyOf?: string[] | undefined;
2165
- noneOf?: string[] | undefined;
2166
- }>>>;
1713
+ type: "anyOf";
1714
+ terms: string[];
1715
+ }>, z.ZodObject<{
1716
+ type: z.ZodLiteral<"not">;
1717
+ term: z.ZodString;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ type: "not";
1720
+ term: string;
1721
+ }, {
1722
+ type: "not";
1723
+ term: string;
1724
+ }>]>, "many">>>;
2167
1725
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2168
1726
  }, "strip", z.ZodTypeAny, {
2169
1727
  status?: {
@@ -2174,14 +1732,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2174
1732
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2175
1733
  } | undefined;
2176
1734
  data?: any;
2177
- createdByUserType?: "system" | "user" | undefined;
2178
1735
  createdAt?: {
1736
+ type: "exact";
1737
+ term: string;
1738
+ } | {
2179
1739
  type: "range";
2180
1740
  gte: string;
2181
1741
  lte: string;
2182
- } | {
2183
- type: "exact";
2184
- term: string;
2185
1742
  } | undefined;
2186
1743
  createdBy?: {
2187
1744
  type: "exact";
@@ -2207,12 +1764,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2207
1764
  };
2208
1765
  } | undefined;
2209
1766
  updatedAt?: {
1767
+ type: "exact";
1768
+ term: string;
1769
+ } | {
2210
1770
  type: "range";
2211
1771
  gte: string;
2212
1772
  lte: string;
2213
- } | {
2214
- type: "exact";
2215
- term: string;
2216
1773
  } | undefined;
2217
1774
  trackingId?: {
2218
1775
  type: "exact";
@@ -2235,30 +1792,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2235
1792
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2236
1793
  };
2237
1794
  } | undefined;
2238
- flags?: {
2239
- anyOf?: string[] | undefined;
2240
- noneOf?: string[] | undefined;
2241
- } | undefined;
2242
- eventType?: string | undefined;
2243
- 'legalStatus.REGISTERED.createdAt'?: {
2244
- type: "range";
2245
- gte: string;
2246
- lte: string;
1795
+ flags?: ({
1796
+ type: "anyOf";
1797
+ terms: string[];
2247
1798
  } | {
2248
- type: "exact";
1799
+ type: "not";
2249
1800
  term: string;
2250
- } | undefined;
2251
- 'legalStatus.REGISTERED.createdAtLocation'?: {
2252
- type: "exact";
2253
- term: string;
2254
- } | {
2255
- type: "within";
2256
- location: string;
2257
- } | undefined;
2258
- 'legalStatus.REGISTERED.registrationNumber'?: {
2259
- type: "exact";
2260
- term: string;
2261
- } | undefined;
1801
+ })[] | undefined;
1802
+ eventType?: string | undefined;
2262
1803
  }, {
2263
1804
  status?: {
2264
1805
  type: "exact";
@@ -2268,14 +1809,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2268
1809
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2269
1810
  } | undefined;
2270
1811
  data?: any;
2271
- createdByUserType?: "system" | "user" | undefined;
2272
1812
  createdAt?: {
1813
+ type: "exact";
1814
+ term: string;
1815
+ } | {
2273
1816
  type: "range";
2274
1817
  gte: string;
2275
1818
  lte: string;
2276
- } | {
2277
- type: "exact";
2278
- term: string;
2279
1819
  } | undefined;
2280
1820
  createdBy?: {
2281
1821
  type: "exact";
@@ -2301,12 +1841,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2301
1841
  };
2302
1842
  } | undefined;
2303
1843
  updatedAt?: {
1844
+ type: "exact";
1845
+ term: string;
1846
+ } | {
2304
1847
  type: "range";
2305
1848
  gte: string;
2306
1849
  lte: string;
2307
- } | {
2308
- type: "exact";
2309
- term: string;
2310
1850
  } | undefined;
2311
1851
  trackingId?: {
2312
1852
  type: "exact";
@@ -2329,30 +1869,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2329
1869
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2330
1870
  };
2331
1871
  } | undefined;
2332
- flags?: {
2333
- anyOf?: string[] | undefined;
2334
- noneOf?: string[] | undefined;
2335
- } | undefined;
2336
- eventType?: string | undefined;
2337
- 'legalStatus.REGISTERED.createdAt'?: {
2338
- type: "range";
2339
- gte: string;
2340
- lte: string;
2341
- } | {
2342
- type: "exact";
2343
- term: string;
2344
- } | undefined;
2345
- 'legalStatus.REGISTERED.createdAtLocation'?: {
2346
- type: "exact";
2347
- term: string;
1872
+ flags?: ({
1873
+ type: "anyOf";
1874
+ terms: string[];
2348
1875
  } | {
2349
- type: "within";
2350
- location: string;
2351
- } | undefined;
2352
- 'legalStatus.REGISTERED.registrationNumber'?: {
2353
- type: "exact";
1876
+ type: "not";
2354
1877
  term: string;
2355
- } | undefined;
1878
+ })[] | undefined;
1879
+ eventType?: string | undefined;
2356
1880
  }>, z.ZodObject<{
2357
1881
  type: z.ZodLiteral<"and">;
2358
1882
  clauses: z.ZodArray<z.ZodObject<{
@@ -2376,52 +1900,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2376
1900
  type: "exact";
2377
1901
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
2378
1902
  }>]>>>;
2379
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1903
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2380
1904
  type: z.ZodLiteral<"exact">;
2381
1905
  term: z.ZodString;
2382
- }, {
2383
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2384
- }>, "strip", z.ZodTypeAny, {
2385
- type: "exact";
2386
- term: string;
2387
- }, {
2388
- type: "exact";
2389
- term: string;
2390
- }>, z.ZodObject<z.objectUtil.extendShape<{
2391
- type: z.ZodLiteral<"range">;
2392
- gte: z.ZodString;
2393
- lte: z.ZodString;
2394
- }, {
2395
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2396
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2397
- }>, "strip", z.ZodTypeAny, {
2398
- type: "range";
2399
- gte: string;
2400
- lte: string;
2401
- }, {
2402
- type: "range";
2403
- gte: string;
2404
- lte: string;
2405
- }>]>>>;
2406
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2407
- type: z.ZodLiteral<"exact">;
2408
- term: z.ZodString;
2409
- }, {
2410
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2411
- }>, "strip", z.ZodTypeAny, {
1906
+ }, "strip", z.ZodTypeAny, {
2412
1907
  type: "exact";
2413
1908
  term: string;
2414
1909
  }, {
2415
1910
  type: "exact";
2416
1911
  term: string;
2417
- }>, z.ZodObject<z.objectUtil.extendShape<{
1912
+ }>, z.ZodObject<{
2418
1913
  type: z.ZodLiteral<"range">;
2419
1914
  gte: z.ZodString;
2420
1915
  lte: z.ZodString;
2421
- }, {
2422
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2423
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2424
- }>, "strip", z.ZodTypeAny, {
1916
+ }, "strip", z.ZodTypeAny, {
2425
1917
  type: "range";
2426
1918
  gte: string;
2427
1919
  lte: string;
@@ -2430,25 +1922,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2430
1922
  gte: string;
2431
1923
  lte: string;
2432
1924
  }>]>>>;
2433
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1925
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2434
1926
  type: z.ZodLiteral<"exact">;
2435
1927
  term: z.ZodString;
2436
- }, {
2437
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
2438
- }>, "strip", z.ZodTypeAny, {
1928
+ }, "strip", z.ZodTypeAny, {
2439
1929
  type: "exact";
2440
1930
  term: string;
2441
1931
  }, {
2442
1932
  type: "exact";
2443
1933
  term: string;
2444
- }>, z.ZodObject<z.objectUtil.extendShape<{
1934
+ }>, z.ZodObject<{
2445
1935
  type: z.ZodLiteral<"range">;
2446
1936
  gte: z.ZodString;
2447
1937
  lte: z.ZodString;
2448
- }, {
2449
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2450
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
2451
- }>, "strip", z.ZodTypeAny, {
1938
+ }, "strip", z.ZodTypeAny, {
2452
1939
  type: "range";
2453
1940
  gte: string;
2454
1941
  lte: string;
@@ -2457,35 +1944,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2457
1944
  gte: string;
2458
1945
  lte: string;
2459
1946
  }>]>>>;
2460
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2461
- type: z.ZodLiteral<"within">;
2462
- location: z.ZodString;
2463
- }, "strip", z.ZodTypeAny, {
2464
- type: "within";
2465
- location: string;
2466
- }, {
2467
- type: "within";
2468
- location: string;
2469
- }>, z.ZodObject<{
2470
- type: z.ZodLiteral<"exact">;
2471
- term: z.ZodString;
2472
- }, "strip", z.ZodTypeAny, {
2473
- type: "exact";
2474
- term: string;
2475
- }, {
2476
- type: "exact";
2477
- term: string;
2478
- }>]>>>;
2479
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
2480
- type: z.ZodLiteral<"exact">;
2481
- term: z.ZodString;
2482
- }, "strip", z.ZodTypeAny, {
2483
- type: "exact";
2484
- term: string;
2485
- }, {
2486
- type: "exact";
2487
- term: string;
2488
- }>>>;
2489
1947
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2490
1948
  type: z.ZodLiteral<"within">;
2491
1949
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2604,7 +2062,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2604
2062
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2605
2063
  };
2606
2064
  }>>>;
2607
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
2608
2065
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2609
2066
  type: z.ZodLiteral<"exact">;
2610
2067
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -2635,26 +2092,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2635
2092
  type: "exact";
2636
2093
  term: string;
2637
2094
  }>>>;
2638
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2639
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2640
- readonly PRINTED: "printed";
2641
- readonly INCOMPLETE: "incomplete";
2642
- readonly REJECTED: "rejected";
2643
- readonly CORRECTION_REQUESTED: "correction-requested";
2644
- }>]>, "many">>;
2645
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
2646
- readonly PRINTED: "printed";
2647
- readonly INCOMPLETE: "incomplete";
2648
- readonly REJECTED: "rejected";
2649
- readonly CORRECTION_REQUESTED: "correction-requested";
2650
- }>]>, "many">>;
2651
- }, "strip", z.ZodTypeAny, {
2652
- anyOf?: string[] | undefined;
2653
- noneOf?: string[] | undefined;
2654
- }, {
2655
- anyOf?: string[] | undefined;
2656
- noneOf?: string[] | undefined;
2657
- }>>>;
2095
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2096
+ type: z.ZodLiteral<"anyOf">;
2097
+ terms: z.ZodArray<z.ZodString, "many">;
2098
+ }, "strip", z.ZodTypeAny, {
2099
+ type: "anyOf";
2100
+ terms: string[];
2101
+ }, {
2102
+ type: "anyOf";
2103
+ terms: string[];
2104
+ }>, z.ZodObject<{
2105
+ type: z.ZodLiteral<"not">;
2106
+ term: z.ZodString;
2107
+ }, "strip", z.ZodTypeAny, {
2108
+ type: "not";
2109
+ term: string;
2110
+ }, {
2111
+ type: "not";
2112
+ term: string;
2113
+ }>]>, "many">>>;
2658
2114
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
2659
2115
  }, "strip", z.ZodTypeAny, {
2660
2116
  status?: {
@@ -2665,14 +2121,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2665
2121
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2666
2122
  } | undefined;
2667
2123
  data?: any;
2668
- createdByUserType?: "system" | "user" | undefined;
2669
2124
  createdAt?: {
2125
+ type: "exact";
2126
+ term: string;
2127
+ } | {
2670
2128
  type: "range";
2671
2129
  gte: string;
2672
2130
  lte: string;
2673
- } | {
2674
- type: "exact";
2675
- term: string;
2676
2131
  } | undefined;
2677
2132
  createdBy?: {
2678
2133
  type: "exact";
@@ -2698,12 +2153,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2698
2153
  };
2699
2154
  } | undefined;
2700
2155
  updatedAt?: {
2156
+ type: "exact";
2157
+ term: string;
2158
+ } | {
2701
2159
  type: "range";
2702
2160
  gte: string;
2703
2161
  lte: string;
2704
- } | {
2705
- type: "exact";
2706
- term: string;
2707
2162
  } | undefined;
2708
2163
  trackingId?: {
2709
2164
  type: "exact";
@@ -2726,30 +2181,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2726
2181
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2727
2182
  };
2728
2183
  } | undefined;
2729
- flags?: {
2730
- anyOf?: string[] | undefined;
2731
- noneOf?: string[] | undefined;
2732
- } | undefined;
2733
- eventType?: string | undefined;
2734
- 'legalStatus.REGISTERED.createdAt'?: {
2735
- type: "range";
2736
- gte: string;
2737
- lte: string;
2184
+ flags?: ({
2185
+ type: "anyOf";
2186
+ terms: string[];
2738
2187
  } | {
2739
- type: "exact";
2188
+ type: "not";
2740
2189
  term: string;
2741
- } | undefined;
2742
- 'legalStatus.REGISTERED.createdAtLocation'?: {
2743
- type: "exact";
2744
- term: string;
2745
- } | {
2746
- type: "within";
2747
- location: string;
2748
- } | undefined;
2749
- 'legalStatus.REGISTERED.registrationNumber'?: {
2750
- type: "exact";
2751
- term: string;
2752
- } | undefined;
2190
+ })[] | undefined;
2191
+ eventType?: string | undefined;
2753
2192
  }, {
2754
2193
  status?: {
2755
2194
  type: "exact";
@@ -2759,14 +2198,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2759
2198
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2760
2199
  } | undefined;
2761
2200
  data?: any;
2762
- createdByUserType?: "system" | "user" | undefined;
2763
2201
  createdAt?: {
2202
+ type: "exact";
2203
+ term: string;
2204
+ } | {
2764
2205
  type: "range";
2765
2206
  gte: string;
2766
2207
  lte: string;
2767
- } | {
2768
- type: "exact";
2769
- term: string;
2770
2208
  } | undefined;
2771
2209
  createdBy?: {
2772
2210
  type: "exact";
@@ -2792,12 +2230,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2792
2230
  };
2793
2231
  } | undefined;
2794
2232
  updatedAt?: {
2233
+ type: "exact";
2234
+ term: string;
2235
+ } | {
2795
2236
  type: "range";
2796
2237
  gte: string;
2797
2238
  lte: string;
2798
- } | {
2799
- type: "exact";
2800
- term: string;
2801
2239
  } | undefined;
2802
2240
  trackingId?: {
2803
2241
  type: "exact";
@@ -2820,30 +2258,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2820
2258
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2821
2259
  };
2822
2260
  } | undefined;
2823
- flags?: {
2824
- anyOf?: string[] | undefined;
2825
- noneOf?: string[] | undefined;
2826
- } | undefined;
2827
- eventType?: string | undefined;
2828
- 'legalStatus.REGISTERED.createdAt'?: {
2829
- type: "range";
2830
- gte: string;
2831
- lte: string;
2832
- } | {
2833
- type: "exact";
2834
- term: string;
2835
- } | undefined;
2836
- 'legalStatus.REGISTERED.createdAtLocation'?: {
2837
- type: "exact";
2838
- term: string;
2261
+ flags?: ({
2262
+ type: "anyOf";
2263
+ terms: string[];
2839
2264
  } | {
2840
- type: "within";
2841
- location: string;
2842
- } | undefined;
2843
- 'legalStatus.REGISTERED.registrationNumber'?: {
2844
- type: "exact";
2265
+ type: "not";
2845
2266
  term: string;
2846
- } | undefined;
2267
+ })[] | undefined;
2268
+ eventType?: string | undefined;
2847
2269
  }>, "many">;
2848
2270
  }, "strip", z.ZodTypeAny, {
2849
2271
  type: "and";
@@ -2856,14 +2278,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2856
2278
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2857
2279
  } | undefined;
2858
2280
  data?: any;
2859
- createdByUserType?: "system" | "user" | undefined;
2860
2281
  createdAt?: {
2282
+ type: "exact";
2283
+ term: string;
2284
+ } | {
2861
2285
  type: "range";
2862
2286
  gte: string;
2863
2287
  lte: string;
2864
- } | {
2865
- type: "exact";
2866
- term: string;
2867
2288
  } | undefined;
2868
2289
  createdBy?: {
2869
2290
  type: "exact";
@@ -2889,12 +2310,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2889
2310
  };
2890
2311
  } | undefined;
2891
2312
  updatedAt?: {
2313
+ type: "exact";
2314
+ term: string;
2315
+ } | {
2892
2316
  type: "range";
2893
2317
  gte: string;
2894
2318
  lte: string;
2895
- } | {
2896
- type: "exact";
2897
- term: string;
2898
2319
  } | undefined;
2899
2320
  trackingId?: {
2900
2321
  type: "exact";
@@ -2917,30 +2338,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2917
2338
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
2918
2339
  };
2919
2340
  } | undefined;
2920
- flags?: {
2921
- anyOf?: string[] | undefined;
2922
- noneOf?: string[] | undefined;
2923
- } | undefined;
2924
- eventType?: string | undefined;
2925
- 'legalStatus.REGISTERED.createdAt'?: {
2926
- type: "range";
2927
- gte: string;
2928
- lte: string;
2929
- } | {
2930
- type: "exact";
2931
- term: string;
2932
- } | undefined;
2933
- 'legalStatus.REGISTERED.createdAtLocation'?: {
2934
- type: "exact";
2935
- term: string;
2341
+ flags?: ({
2342
+ type: "anyOf";
2343
+ terms: string[];
2936
2344
  } | {
2937
- type: "within";
2938
- location: string;
2939
- } | undefined;
2940
- 'legalStatus.REGISTERED.registrationNumber'?: {
2941
- type: "exact";
2345
+ type: "not";
2942
2346
  term: string;
2943
- } | undefined;
2347
+ })[] | undefined;
2348
+ eventType?: string | undefined;
2944
2349
  }[];
2945
2350
  }, {
2946
2351
  type: "and";
@@ -2953,14 +2358,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2953
2358
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
2954
2359
  } | undefined;
2955
2360
  data?: any;
2956
- createdByUserType?: "system" | "user" | undefined;
2957
2361
  createdAt?: {
2362
+ type: "exact";
2363
+ term: string;
2364
+ } | {
2958
2365
  type: "range";
2959
2366
  gte: string;
2960
2367
  lte: string;
2961
- } | {
2962
- type: "exact";
2963
- term: string;
2964
2368
  } | undefined;
2965
2369
  createdBy?: {
2966
2370
  type: "exact";
@@ -2986,12 +2390,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
2986
2390
  };
2987
2391
  } | undefined;
2988
2392
  updatedAt?: {
2393
+ type: "exact";
2394
+ term: string;
2395
+ } | {
2989
2396
  type: "range";
2990
2397
  gte: string;
2991
2398
  lte: string;
2992
- } | {
2993
- type: "exact";
2994
- term: string;
2995
2399
  } | undefined;
2996
2400
  trackingId?: {
2997
2401
  type: "exact";
@@ -3014,30 +2418,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3014
2418
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3015
2419
  };
3016
2420
  } | undefined;
3017
- flags?: {
3018
- anyOf?: string[] | undefined;
3019
- noneOf?: string[] | undefined;
3020
- } | undefined;
3021
- eventType?: string | undefined;
3022
- 'legalStatus.REGISTERED.createdAt'?: {
3023
- type: "range";
3024
- gte: string;
3025
- lte: string;
3026
- } | {
3027
- type: "exact";
3028
- term: string;
3029
- } | undefined;
3030
- 'legalStatus.REGISTERED.createdAtLocation'?: {
3031
- type: "exact";
3032
- term: string;
2421
+ flags?: ({
2422
+ type: "anyOf";
2423
+ terms: string[];
3033
2424
  } | {
3034
- type: "within";
3035
- location: string;
3036
- } | undefined;
3037
- 'legalStatus.REGISTERED.registrationNumber'?: {
3038
- type: "exact";
2425
+ type: "not";
3039
2426
  term: string;
3040
- } | undefined;
2427
+ })[] | undefined;
2428
+ eventType?: string | undefined;
3041
2429
  }[];
3042
2430
  }>, z.ZodObject<{
3043
2431
  type: z.ZodLiteral<"or">;
@@ -3062,52 +2450,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3062
2450
  type: "exact";
3063
2451
  term: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
3064
2452
  }>]>>>;
3065
- createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2453
+ createdAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3066
2454
  type: z.ZodLiteral<"exact">;
3067
2455
  term: z.ZodString;
3068
- }, {
3069
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3070
- }>, "strip", z.ZodTypeAny, {
3071
- type: "exact";
3072
- term: string;
3073
- }, {
3074
- type: "exact";
3075
- term: string;
3076
- }>, z.ZodObject<z.objectUtil.extendShape<{
3077
- type: z.ZodLiteral<"range">;
3078
- gte: z.ZodString;
3079
- lte: z.ZodString;
3080
- }, {
3081
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3082
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3083
- }>, "strip", z.ZodTypeAny, {
3084
- type: "range";
3085
- gte: string;
3086
- lte: string;
3087
- }, {
3088
- type: "range";
3089
- gte: string;
3090
- lte: string;
3091
- }>]>>>;
3092
- updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3093
- type: z.ZodLiteral<"exact">;
3094
- term: z.ZodString;
3095
- }, {
3096
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3097
- }>, "strip", z.ZodTypeAny, {
2456
+ }, "strip", z.ZodTypeAny, {
3098
2457
  type: "exact";
3099
2458
  term: string;
3100
2459
  }, {
3101
2460
  type: "exact";
3102
2461
  term: string;
3103
- }>, z.ZodObject<z.objectUtil.extendShape<{
2462
+ }>, z.ZodObject<{
3104
2463
  type: z.ZodLiteral<"range">;
3105
2464
  gte: z.ZodString;
3106
2465
  lte: z.ZodString;
3107
- }, {
3108
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3109
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3110
- }>, "strip", z.ZodTypeAny, {
2466
+ }, "strip", z.ZodTypeAny, {
3111
2467
  type: "range";
3112
2468
  gte: string;
3113
2469
  lte: string;
@@ -3116,25 +2472,20 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3116
2472
  gte: string;
3117
2473
  lte: string;
3118
2474
  }>]>>>;
3119
- 'legalStatus.REGISTERED.createdAt': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2475
+ updatedAt: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3120
2476
  type: z.ZodLiteral<"exact">;
3121
2477
  term: z.ZodString;
3122
- }, {
3123
- term: z.ZodUnion<[z.ZodString, z.ZodString]>;
3124
- }>, "strip", z.ZodTypeAny, {
2478
+ }, "strip", z.ZodTypeAny, {
3125
2479
  type: "exact";
3126
2480
  term: string;
3127
2481
  }, {
3128
2482
  type: "exact";
3129
2483
  term: string;
3130
- }>, z.ZodObject<z.objectUtil.extendShape<{
2484
+ }>, z.ZodObject<{
3131
2485
  type: z.ZodLiteral<"range">;
3132
2486
  gte: z.ZodString;
3133
2487
  lte: z.ZodString;
3134
- }, {
3135
- gte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3136
- lte: z.ZodUnion<[z.ZodString, z.ZodString]>;
3137
- }>, "strip", z.ZodTypeAny, {
2488
+ }, "strip", z.ZodTypeAny, {
3138
2489
  type: "range";
3139
2490
  gte: string;
3140
2491
  lte: string;
@@ -3143,35 +2494,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3143
2494
  gte: string;
3144
2495
  lte: string;
3145
2496
  }>]>>>;
3146
- 'legalStatus.REGISTERED.createdAtLocation': z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3147
- type: z.ZodLiteral<"within">;
3148
- location: z.ZodString;
3149
- }, "strip", z.ZodTypeAny, {
3150
- type: "within";
3151
- location: string;
3152
- }, {
3153
- type: "within";
3154
- location: string;
3155
- }>, z.ZodObject<{
3156
- type: z.ZodLiteral<"exact">;
3157
- term: z.ZodString;
3158
- }, "strip", z.ZodTypeAny, {
3159
- type: "exact";
3160
- term: string;
3161
- }, {
3162
- type: "exact";
3163
- term: string;
3164
- }>]>>>;
3165
- 'legalStatus.REGISTERED.registrationNumber': z.ZodOptional<z.ZodOptional<z.ZodObject<{
3166
- type: z.ZodLiteral<"exact">;
3167
- term: z.ZodString;
3168
- }, "strip", z.ZodTypeAny, {
3169
- type: "exact";
3170
- term: string;
3171
- }, {
3172
- type: "exact";
3173
- term: string;
3174
- }>>>;
3175
2497
  createdAtLocation: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3176
2498
  type: z.ZodLiteral<"within">;
3177
2499
  location: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -3290,7 +2612,6 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3290
2612
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3291
2613
  };
3292
2614
  }>>>;
3293
- createdByUserType: z.ZodOptional<z.ZodEnum<["user", "system"]>>;
3294
2615
  updatedBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3295
2616
  type: z.ZodLiteral<"exact">;
3296
2617
  term: z.ZodUnion<[z.ZodString, z.ZodObject<{
@@ -3321,26 +2642,25 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3321
2642
  type: "exact";
3322
2643
  term: string;
3323
2644
  }>>>;
3324
- flags: z.ZodOptional<z.ZodOptional<z.ZodObject<{
3325
- anyOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3326
- readonly PRINTED: "printed";
3327
- readonly INCOMPLETE: "incomplete";
3328
- readonly REJECTED: "rejected";
3329
- readonly CORRECTION_REQUESTED: "correction-requested";
3330
- }>]>, "many">>;
3331
- noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
3332
- readonly PRINTED: "printed";
3333
- readonly INCOMPLETE: "incomplete";
3334
- readonly REJECTED: "rejected";
3335
- readonly CORRECTION_REQUESTED: "correction-requested";
3336
- }>]>, "many">>;
3337
- }, "strip", z.ZodTypeAny, {
3338
- anyOf?: string[] | undefined;
3339
- noneOf?: string[] | undefined;
3340
- }, {
3341
- anyOf?: string[] | undefined;
3342
- noneOf?: string[] | undefined;
3343
- }>>>;
2645
+ flags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
2646
+ type: z.ZodLiteral<"anyOf">;
2647
+ terms: z.ZodArray<z.ZodString, "many">;
2648
+ }, "strip", z.ZodTypeAny, {
2649
+ type: "anyOf";
2650
+ terms: string[];
2651
+ }, {
2652
+ type: "anyOf";
2653
+ terms: string[];
2654
+ }>, z.ZodObject<{
2655
+ type: z.ZodLiteral<"not">;
2656
+ term: z.ZodString;
2657
+ }, "strip", z.ZodTypeAny, {
2658
+ type: "not";
2659
+ term: string;
2660
+ }, {
2661
+ type: "not";
2662
+ term: string;
2663
+ }>]>, "many">>>;
3344
2664
  data: z.ZodOptional<z.ZodType<any, z.ZodTypeDef, any>>;
3345
2665
  }, "strip", z.ZodTypeAny, {
3346
2666
  status?: {
@@ -3351,14 +2671,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3351
2671
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3352
2672
  } | undefined;
3353
2673
  data?: any;
3354
- createdByUserType?: "system" | "user" | undefined;
3355
2674
  createdAt?: {
2675
+ type: "exact";
2676
+ term: string;
2677
+ } | {
3356
2678
  type: "range";
3357
2679
  gte: string;
3358
2680
  lte: string;
3359
- } | {
3360
- type: "exact";
3361
- term: string;
3362
2681
  } | undefined;
3363
2682
  createdBy?: {
3364
2683
  type: "exact";
@@ -3384,12 +2703,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3384
2703
  };
3385
2704
  } | undefined;
3386
2705
  updatedAt?: {
2706
+ type: "exact";
2707
+ term: string;
2708
+ } | {
3387
2709
  type: "range";
3388
2710
  gte: string;
3389
2711
  lte: string;
3390
- } | {
3391
- type: "exact";
3392
- term: string;
3393
2712
  } | undefined;
3394
2713
  trackingId?: {
3395
2714
  type: "exact";
@@ -3412,30 +2731,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3412
2731
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3413
2732
  };
3414
2733
  } | undefined;
3415
- flags?: {
3416
- anyOf?: string[] | undefined;
3417
- noneOf?: string[] | undefined;
3418
- } | undefined;
3419
- eventType?: string | undefined;
3420
- 'legalStatus.REGISTERED.createdAt'?: {
3421
- type: "range";
3422
- gte: string;
3423
- lte: string;
2734
+ flags?: ({
2735
+ type: "anyOf";
2736
+ terms: string[];
3424
2737
  } | {
3425
- type: "exact";
3426
- term: string;
3427
- } | undefined;
3428
- 'legalStatus.REGISTERED.createdAtLocation'?: {
3429
- type: "exact";
2738
+ type: "not";
3430
2739
  term: string;
3431
- } | {
3432
- type: "within";
3433
- location: string;
3434
- } | undefined;
3435
- 'legalStatus.REGISTERED.registrationNumber'?: {
3436
- type: "exact";
3437
- term: string;
3438
- } | undefined;
2740
+ })[] | undefined;
2741
+ eventType?: string | undefined;
3439
2742
  }, {
3440
2743
  status?: {
3441
2744
  type: "exact";
@@ -3445,14 +2748,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3445
2748
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3446
2749
  } | undefined;
3447
2750
  data?: any;
3448
- createdByUserType?: "system" | "user" | undefined;
3449
2751
  createdAt?: {
2752
+ type: "exact";
2753
+ term: string;
2754
+ } | {
3450
2755
  type: "range";
3451
2756
  gte: string;
3452
2757
  lte: string;
3453
- } | {
3454
- type: "exact";
3455
- term: string;
3456
2758
  } | undefined;
3457
2759
  createdBy?: {
3458
2760
  type: "exact";
@@ -3478,12 +2780,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3478
2780
  };
3479
2781
  } | undefined;
3480
2782
  updatedAt?: {
2783
+ type: "exact";
2784
+ term: string;
2785
+ } | {
3481
2786
  type: "range";
3482
2787
  gte: string;
3483
2788
  lte: string;
3484
- } | {
3485
- type: "exact";
3486
- term: string;
3487
2789
  } | undefined;
3488
2790
  trackingId?: {
3489
2791
  type: "exact";
@@ -3506,30 +2808,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3506
2808
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3507
2809
  };
3508
2810
  } | undefined;
3509
- flags?: {
3510
- anyOf?: string[] | undefined;
3511
- noneOf?: string[] | undefined;
3512
- } | undefined;
3513
- eventType?: string | undefined;
3514
- 'legalStatus.REGISTERED.createdAt'?: {
3515
- type: "range";
3516
- gte: string;
3517
- lte: string;
3518
- } | {
3519
- type: "exact";
3520
- term: string;
3521
- } | undefined;
3522
- 'legalStatus.REGISTERED.createdAtLocation'?: {
3523
- type: "exact";
3524
- term: string;
2811
+ flags?: ({
2812
+ type: "anyOf";
2813
+ terms: string[];
3525
2814
  } | {
3526
- type: "within";
3527
- location: string;
3528
- } | undefined;
3529
- 'legalStatus.REGISTERED.registrationNumber'?: {
3530
- type: "exact";
2815
+ type: "not";
3531
2816
  term: string;
3532
- } | undefined;
2817
+ })[] | undefined;
2818
+ eventType?: string | undefined;
3533
2819
  }>, "many">;
3534
2820
  }, "strip", z.ZodTypeAny, {
3535
2821
  type: "or";
@@ -3542,14 +2828,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3542
2828
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3543
2829
  } | undefined;
3544
2830
  data?: any;
3545
- createdByUserType?: "system" | "user" | undefined;
3546
2831
  createdAt?: {
2832
+ type: "exact";
2833
+ term: string;
2834
+ } | {
3547
2835
  type: "range";
3548
2836
  gte: string;
3549
2837
  lte: string;
3550
- } | {
3551
- type: "exact";
3552
- term: string;
3553
2838
  } | undefined;
3554
2839
  createdBy?: {
3555
2840
  type: "exact";
@@ -3575,12 +2860,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3575
2860
  };
3576
2861
  } | undefined;
3577
2862
  updatedAt?: {
2863
+ type: "exact";
2864
+ term: string;
2865
+ } | {
3578
2866
  type: "range";
3579
2867
  gte: string;
3580
2868
  lte: string;
3581
- } | {
3582
- type: "exact";
3583
- term: string;
3584
2869
  } | undefined;
3585
2870
  trackingId?: {
3586
2871
  type: "exact";
@@ -3603,30 +2888,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3603
2888
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3604
2889
  };
3605
2890
  } | undefined;
3606
- flags?: {
3607
- anyOf?: string[] | undefined;
3608
- noneOf?: string[] | undefined;
3609
- } | undefined;
3610
- eventType?: string | undefined;
3611
- 'legalStatus.REGISTERED.createdAt'?: {
3612
- type: "range";
3613
- gte: string;
3614
- lte: string;
3615
- } | {
3616
- type: "exact";
3617
- term: string;
3618
- } | undefined;
3619
- 'legalStatus.REGISTERED.createdAtLocation'?: {
3620
- type: "exact";
3621
- term: string;
2891
+ flags?: ({
2892
+ type: "anyOf";
2893
+ terms: string[];
3622
2894
  } | {
3623
- type: "within";
3624
- location: string;
3625
- } | undefined;
3626
- 'legalStatus.REGISTERED.registrationNumber'?: {
3627
- type: "exact";
2895
+ type: "not";
3628
2896
  term: string;
3629
- } | undefined;
2897
+ })[] | undefined;
2898
+ eventType?: string | undefined;
3630
2899
  }[];
3631
2900
  }, {
3632
2901
  type: "or";
@@ -3639,14 +2908,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3639
2908
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
3640
2909
  } | undefined;
3641
2910
  data?: any;
3642
- createdByUserType?: "system" | "user" | undefined;
3643
2911
  createdAt?: {
2912
+ type: "exact";
2913
+ term: string;
2914
+ } | {
3644
2915
  type: "range";
3645
2916
  gte: string;
3646
2917
  lte: string;
3647
- } | {
3648
- type: "exact";
3649
- term: string;
3650
2918
  } | undefined;
3651
2919
  createdBy?: {
3652
2920
  type: "exact";
@@ -3672,12 +2940,12 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3672
2940
  };
3673
2941
  } | undefined;
3674
2942
  updatedAt?: {
2943
+ type: "exact";
2944
+ term: string;
2945
+ } | {
3675
2946
  type: "range";
3676
2947
  gte: string;
3677
2948
  lte: string;
3678
- } | {
3679
- type: "exact";
3680
- term: string;
3681
2949
  } | undefined;
3682
2950
  trackingId?: {
3683
2951
  type: "exact";
@@ -3700,30 +2968,14 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<[z.ZodObject<{
3700
2968
  $userField: "id" | "name" | "role" | "signatureFilename" | "primaryOfficeId";
3701
2969
  };
3702
2970
  } | undefined;
3703
- flags?: {
3704
- anyOf?: string[] | undefined;
3705
- noneOf?: string[] | undefined;
3706
- } | undefined;
3707
- eventType?: string | undefined;
3708
- 'legalStatus.REGISTERED.createdAt'?: {
3709
- type: "range";
3710
- gte: string;
3711
- lte: string;
3712
- } | {
3713
- type: "exact";
3714
- term: string;
3715
- } | undefined;
3716
- 'legalStatus.REGISTERED.createdAtLocation'?: {
3717
- type: "exact";
3718
- term: string;
2971
+ flags?: ({
2972
+ type: "anyOf";
2973
+ terms: string[];
3719
2974
  } | {
3720
- type: "within";
3721
- location: string;
3722
- } | undefined;
3723
- 'legalStatus.REGISTERED.registrationNumber'?: {
3724
- type: "exact";
2975
+ type: "not";
3725
2976
  term: string;
3726
- } | undefined;
2977
+ })[] | undefined;
2978
+ eventType?: string | undefined;
3727
2979
  }[];
3728
2980
  }>]>;
3729
2981
  export type CountryConfigQueryInputType = z.infer<typeof CountryConfigQueryInputType>;