@opencrvs/toolkit 1.8.0-rc.fb5b9fe → 1.8.0-rc.fb96ec1

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