@opencrvs/toolkit 2.0.0-rc.abc5419 → 2.0.0-rc.abe5d6d
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.
- package/dist/application-config/index.js +9 -2
- package/dist/cli.js +10 -4
- package/dist/commons/api/router.d.ts +28 -17
- package/dist/commons/events/ActionConfig.d.ts +28 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +342 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/EventIndex.d.ts +14 -0
- package/dist/commons/events/FieldConfig.d.ts +1 -0
- package/dist/commons/events/FieldType.d.ts +1 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/WorkqueueConfig.d.ts +39 -0
- package/dist/commons/events/field.d.ts +6 -0
- package/dist/commons/events/state/utils.d.ts +12 -290
- package/dist/events/index.js +168 -67
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +1 -1
- package/dist/migrations/v2.0/index.js +10 -4
- package/dist/notification/index.js +101 -4
- package/dist/scopes/index.d.ts +4 -6
- package/dist/scopes/index.js +9 -3
- package/opencrvs-toolkit-2.0.0-rc.abe5d6d.tgz +0 -0
- package/package.json +1 -1
- package/opencrvs-toolkit-2.0.0-rc.abc5419.tgz +0 -0
|
@@ -91,6 +91,63 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
91
91
|
validator: z.ZodAny;
|
|
92
92
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
93
93
|
}, z.core.$strip>>>;
|
|
94
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
96
|
+
administrativeArea: "administrativeArea";
|
|
97
|
+
location: "location";
|
|
98
|
+
all: "all";
|
|
99
|
+
}>, z.ZodObject<{
|
|
100
|
+
$scope: z.ZodEnum<{
|
|
101
|
+
"record.search": "record.search";
|
|
102
|
+
"record.create": "record.create";
|
|
103
|
+
"record.read": "record.read";
|
|
104
|
+
"record.declare": "record.declare";
|
|
105
|
+
"record.notify": "record.notify";
|
|
106
|
+
"record.edit": "record.edit";
|
|
107
|
+
"record.reject": "record.reject";
|
|
108
|
+
"record.archive": "record.archive";
|
|
109
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
110
|
+
"record.register": "record.register";
|
|
111
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
112
|
+
"record.request-correction": "record.request-correction";
|
|
113
|
+
"record.correct": "record.correct";
|
|
114
|
+
"record.unassign-others": "record.unassign-others";
|
|
115
|
+
"record.custom-action": "record.custom-action";
|
|
116
|
+
bypassratelimit: "bypassratelimit";
|
|
117
|
+
"record.reindex": "record.reindex";
|
|
118
|
+
"user.data-seeding": "user.data-seeding";
|
|
119
|
+
"integration.create": "integration.create";
|
|
120
|
+
"record.import": "record.import";
|
|
121
|
+
"config.update-all": "config.update-all";
|
|
122
|
+
"attachment.upload": "attachment.upload";
|
|
123
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
124
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
125
|
+
"performance.read": "performance.read";
|
|
126
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
127
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
128
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
129
|
+
"record.reject-registration": "record.reject-registration";
|
|
130
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
131
|
+
"user.read": "user.read";
|
|
132
|
+
"user.create": "user.create";
|
|
133
|
+
"user.edit": "user.edit";
|
|
134
|
+
"user.search": "user.search";
|
|
135
|
+
workqueue: "workqueue";
|
|
136
|
+
"dashboard.view": "dashboard.view";
|
|
137
|
+
}>;
|
|
138
|
+
$option: z.ZodEnum<{
|
|
139
|
+
role: "role";
|
|
140
|
+
event: "event";
|
|
141
|
+
placeOfEvent: "placeOfEvent";
|
|
142
|
+
declaredIn: "declaredIn";
|
|
143
|
+
declaredBy: "declaredBy";
|
|
144
|
+
registeredIn: "registeredIn";
|
|
145
|
+
registeredBy: "registeredBy";
|
|
146
|
+
accessLevel: "accessLevel";
|
|
147
|
+
ids: "ids";
|
|
148
|
+
}>;
|
|
149
|
+
}, z.core.$strip>]>;
|
|
150
|
+
}, z.core.$strip>>;
|
|
94
151
|
fieldId: z.ZodString;
|
|
95
152
|
fieldType: z.ZodLiteral<"field">;
|
|
96
153
|
}, z.core.$strip>;
|
|
@@ -211,6 +268,63 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
211
268
|
validator: z.ZodAny;
|
|
212
269
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
213
270
|
}, z.core.$strip>>>;
|
|
271
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
272
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
273
|
+
administrativeArea: "administrativeArea";
|
|
274
|
+
location: "location";
|
|
275
|
+
all: "all";
|
|
276
|
+
}>, z.ZodObject<{
|
|
277
|
+
$scope: z.ZodEnum<{
|
|
278
|
+
"record.search": "record.search";
|
|
279
|
+
"record.create": "record.create";
|
|
280
|
+
"record.read": "record.read";
|
|
281
|
+
"record.declare": "record.declare";
|
|
282
|
+
"record.notify": "record.notify";
|
|
283
|
+
"record.edit": "record.edit";
|
|
284
|
+
"record.reject": "record.reject";
|
|
285
|
+
"record.archive": "record.archive";
|
|
286
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
287
|
+
"record.register": "record.register";
|
|
288
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
289
|
+
"record.request-correction": "record.request-correction";
|
|
290
|
+
"record.correct": "record.correct";
|
|
291
|
+
"record.unassign-others": "record.unassign-others";
|
|
292
|
+
"record.custom-action": "record.custom-action";
|
|
293
|
+
bypassratelimit: "bypassratelimit";
|
|
294
|
+
"record.reindex": "record.reindex";
|
|
295
|
+
"user.data-seeding": "user.data-seeding";
|
|
296
|
+
"integration.create": "integration.create";
|
|
297
|
+
"record.import": "record.import";
|
|
298
|
+
"config.update-all": "config.update-all";
|
|
299
|
+
"attachment.upload": "attachment.upload";
|
|
300
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
301
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
302
|
+
"performance.read": "performance.read";
|
|
303
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
304
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
305
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
306
|
+
"record.reject-registration": "record.reject-registration";
|
|
307
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
308
|
+
"user.read": "user.read";
|
|
309
|
+
"user.create": "user.create";
|
|
310
|
+
"user.edit": "user.edit";
|
|
311
|
+
"user.search": "user.search";
|
|
312
|
+
workqueue: "workqueue";
|
|
313
|
+
"dashboard.view": "dashboard.view";
|
|
314
|
+
}>;
|
|
315
|
+
$option: z.ZodEnum<{
|
|
316
|
+
role: "role";
|
|
317
|
+
event: "event";
|
|
318
|
+
placeOfEvent: "placeOfEvent";
|
|
319
|
+
declaredIn: "declaredIn";
|
|
320
|
+
declaredBy: "declaredBy";
|
|
321
|
+
registeredIn: "registeredIn";
|
|
322
|
+
registeredBy: "registeredBy";
|
|
323
|
+
accessLevel: "accessLevel";
|
|
324
|
+
ids: "ids";
|
|
325
|
+
}>;
|
|
326
|
+
}, z.core.$strip>]>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
214
328
|
fieldId: z.ZodEnum<{
|
|
215
329
|
"event.updatedAt": "event.updatedAt";
|
|
216
330
|
"event.status": "event.status";
|
|
@@ -307,6 +421,63 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
307
421
|
validator: z.ZodAny;
|
|
308
422
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
309
423
|
}, z.core.$strip>>>;
|
|
424
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
426
|
+
administrativeArea: "administrativeArea";
|
|
427
|
+
location: "location";
|
|
428
|
+
all: "all";
|
|
429
|
+
}>, z.ZodObject<{
|
|
430
|
+
$scope: z.ZodEnum<{
|
|
431
|
+
"record.search": "record.search";
|
|
432
|
+
"record.create": "record.create";
|
|
433
|
+
"record.read": "record.read";
|
|
434
|
+
"record.declare": "record.declare";
|
|
435
|
+
"record.notify": "record.notify";
|
|
436
|
+
"record.edit": "record.edit";
|
|
437
|
+
"record.reject": "record.reject";
|
|
438
|
+
"record.archive": "record.archive";
|
|
439
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
440
|
+
"record.register": "record.register";
|
|
441
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
442
|
+
"record.request-correction": "record.request-correction";
|
|
443
|
+
"record.correct": "record.correct";
|
|
444
|
+
"record.unassign-others": "record.unassign-others";
|
|
445
|
+
"record.custom-action": "record.custom-action";
|
|
446
|
+
bypassratelimit: "bypassratelimit";
|
|
447
|
+
"record.reindex": "record.reindex";
|
|
448
|
+
"user.data-seeding": "user.data-seeding";
|
|
449
|
+
"integration.create": "integration.create";
|
|
450
|
+
"record.import": "record.import";
|
|
451
|
+
"config.update-all": "config.update-all";
|
|
452
|
+
"attachment.upload": "attachment.upload";
|
|
453
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
454
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
455
|
+
"performance.read": "performance.read";
|
|
456
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
457
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
458
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
459
|
+
"record.reject-registration": "record.reject-registration";
|
|
460
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
461
|
+
"user.read": "user.read";
|
|
462
|
+
"user.create": "user.create";
|
|
463
|
+
"user.edit": "user.edit";
|
|
464
|
+
"user.search": "user.search";
|
|
465
|
+
workqueue: "workqueue";
|
|
466
|
+
"dashboard.view": "dashboard.view";
|
|
467
|
+
}>;
|
|
468
|
+
$option: z.ZodEnum<{
|
|
469
|
+
role: "role";
|
|
470
|
+
event: "event";
|
|
471
|
+
placeOfEvent: "placeOfEvent";
|
|
472
|
+
declaredIn: "declaredIn";
|
|
473
|
+
declaredBy: "declaredBy";
|
|
474
|
+
registeredIn: "registeredIn";
|
|
475
|
+
registeredBy: "registeredBy";
|
|
476
|
+
accessLevel: "accessLevel";
|
|
477
|
+
ids: "ids";
|
|
478
|
+
}>;
|
|
479
|
+
}, z.core.$strip>]>;
|
|
480
|
+
}, z.core.$strip>>;
|
|
310
481
|
fieldId: z.ZodString;
|
|
311
482
|
fieldType: z.ZodLiteral<"field">;
|
|
312
483
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -395,6 +566,63 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
395
566
|
validator: z.ZodAny;
|
|
396
567
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
397
568
|
}, z.core.$strip>>>;
|
|
569
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
570
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
571
|
+
administrativeArea: "administrativeArea";
|
|
572
|
+
location: "location";
|
|
573
|
+
all: "all";
|
|
574
|
+
}>, z.ZodObject<{
|
|
575
|
+
$scope: z.ZodEnum<{
|
|
576
|
+
"record.search": "record.search";
|
|
577
|
+
"record.create": "record.create";
|
|
578
|
+
"record.read": "record.read";
|
|
579
|
+
"record.declare": "record.declare";
|
|
580
|
+
"record.notify": "record.notify";
|
|
581
|
+
"record.edit": "record.edit";
|
|
582
|
+
"record.reject": "record.reject";
|
|
583
|
+
"record.archive": "record.archive";
|
|
584
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
585
|
+
"record.register": "record.register";
|
|
586
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
587
|
+
"record.request-correction": "record.request-correction";
|
|
588
|
+
"record.correct": "record.correct";
|
|
589
|
+
"record.unassign-others": "record.unassign-others";
|
|
590
|
+
"record.custom-action": "record.custom-action";
|
|
591
|
+
bypassratelimit: "bypassratelimit";
|
|
592
|
+
"record.reindex": "record.reindex";
|
|
593
|
+
"user.data-seeding": "user.data-seeding";
|
|
594
|
+
"integration.create": "integration.create";
|
|
595
|
+
"record.import": "record.import";
|
|
596
|
+
"config.update-all": "config.update-all";
|
|
597
|
+
"attachment.upload": "attachment.upload";
|
|
598
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
599
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
600
|
+
"performance.read": "performance.read";
|
|
601
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
602
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
603
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
604
|
+
"record.reject-registration": "record.reject-registration";
|
|
605
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
606
|
+
"user.read": "user.read";
|
|
607
|
+
"user.create": "user.create";
|
|
608
|
+
"user.edit": "user.edit";
|
|
609
|
+
"user.search": "user.search";
|
|
610
|
+
workqueue: "workqueue";
|
|
611
|
+
"dashboard.view": "dashboard.view";
|
|
612
|
+
}>;
|
|
613
|
+
$option: z.ZodEnum<{
|
|
614
|
+
role: "role";
|
|
615
|
+
event: "event";
|
|
616
|
+
placeOfEvent: "placeOfEvent";
|
|
617
|
+
declaredIn: "declaredIn";
|
|
618
|
+
declaredBy: "declaredBy";
|
|
619
|
+
registeredIn: "registeredIn";
|
|
620
|
+
registeredBy: "registeredBy";
|
|
621
|
+
accessLevel: "accessLevel";
|
|
622
|
+
ids: "ids";
|
|
623
|
+
}>;
|
|
624
|
+
}, z.core.$strip>]>;
|
|
625
|
+
}, z.core.$strip>>;
|
|
398
626
|
fieldId: z.ZodEnum<{
|
|
399
627
|
"event.updatedAt": "event.updatedAt";
|
|
400
628
|
"event.status": "event.status";
|
|
@@ -494,6 +722,63 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
494
722
|
validator: z.ZodAny;
|
|
495
723
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
496
724
|
}, z.core.$strip>>>;
|
|
725
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
726
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
727
|
+
administrativeArea: "administrativeArea";
|
|
728
|
+
location: "location";
|
|
729
|
+
all: "all";
|
|
730
|
+
}>, z.ZodObject<{
|
|
731
|
+
$scope: z.ZodEnum<{
|
|
732
|
+
"record.search": "record.search";
|
|
733
|
+
"record.create": "record.create";
|
|
734
|
+
"record.read": "record.read";
|
|
735
|
+
"record.declare": "record.declare";
|
|
736
|
+
"record.notify": "record.notify";
|
|
737
|
+
"record.edit": "record.edit";
|
|
738
|
+
"record.reject": "record.reject";
|
|
739
|
+
"record.archive": "record.archive";
|
|
740
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
741
|
+
"record.register": "record.register";
|
|
742
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
743
|
+
"record.request-correction": "record.request-correction";
|
|
744
|
+
"record.correct": "record.correct";
|
|
745
|
+
"record.unassign-others": "record.unassign-others";
|
|
746
|
+
"record.custom-action": "record.custom-action";
|
|
747
|
+
bypassratelimit: "bypassratelimit";
|
|
748
|
+
"record.reindex": "record.reindex";
|
|
749
|
+
"user.data-seeding": "user.data-seeding";
|
|
750
|
+
"integration.create": "integration.create";
|
|
751
|
+
"record.import": "record.import";
|
|
752
|
+
"config.update-all": "config.update-all";
|
|
753
|
+
"attachment.upload": "attachment.upload";
|
|
754
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
755
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
756
|
+
"performance.read": "performance.read";
|
|
757
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
758
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
759
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
760
|
+
"record.reject-registration": "record.reject-registration";
|
|
761
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
762
|
+
"user.read": "user.read";
|
|
763
|
+
"user.create": "user.create";
|
|
764
|
+
"user.edit": "user.edit";
|
|
765
|
+
"user.search": "user.search";
|
|
766
|
+
workqueue: "workqueue";
|
|
767
|
+
"dashboard.view": "dashboard.view";
|
|
768
|
+
}>;
|
|
769
|
+
$option: z.ZodEnum<{
|
|
770
|
+
role: "role";
|
|
771
|
+
event: "event";
|
|
772
|
+
placeOfEvent: "placeOfEvent";
|
|
773
|
+
declaredIn: "declaredIn";
|
|
774
|
+
declaredBy: "declaredBy";
|
|
775
|
+
registeredIn: "registeredIn";
|
|
776
|
+
registeredBy: "registeredBy";
|
|
777
|
+
accessLevel: "accessLevel";
|
|
778
|
+
ids: "ids";
|
|
779
|
+
}>;
|
|
780
|
+
}, z.core.$strip>]>;
|
|
781
|
+
}, z.core.$strip>>;
|
|
497
782
|
fieldId: z.ZodString;
|
|
498
783
|
fieldType: z.ZodLiteral<"field">;
|
|
499
784
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -582,6 +867,63 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
582
867
|
validator: z.ZodAny;
|
|
583
868
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
584
869
|
}, z.core.$strip>>>;
|
|
870
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
871
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
872
|
+
administrativeArea: "administrativeArea";
|
|
873
|
+
location: "location";
|
|
874
|
+
all: "all";
|
|
875
|
+
}>, z.ZodObject<{
|
|
876
|
+
$scope: z.ZodEnum<{
|
|
877
|
+
"record.search": "record.search";
|
|
878
|
+
"record.create": "record.create";
|
|
879
|
+
"record.read": "record.read";
|
|
880
|
+
"record.declare": "record.declare";
|
|
881
|
+
"record.notify": "record.notify";
|
|
882
|
+
"record.edit": "record.edit";
|
|
883
|
+
"record.reject": "record.reject";
|
|
884
|
+
"record.archive": "record.archive";
|
|
885
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
886
|
+
"record.register": "record.register";
|
|
887
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
888
|
+
"record.request-correction": "record.request-correction";
|
|
889
|
+
"record.correct": "record.correct";
|
|
890
|
+
"record.unassign-others": "record.unassign-others";
|
|
891
|
+
"record.custom-action": "record.custom-action";
|
|
892
|
+
bypassratelimit: "bypassratelimit";
|
|
893
|
+
"record.reindex": "record.reindex";
|
|
894
|
+
"user.data-seeding": "user.data-seeding";
|
|
895
|
+
"integration.create": "integration.create";
|
|
896
|
+
"record.import": "record.import";
|
|
897
|
+
"config.update-all": "config.update-all";
|
|
898
|
+
"attachment.upload": "attachment.upload";
|
|
899
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
900
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
901
|
+
"performance.read": "performance.read";
|
|
902
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
903
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
904
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
905
|
+
"record.reject-registration": "record.reject-registration";
|
|
906
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
907
|
+
"user.read": "user.read";
|
|
908
|
+
"user.create": "user.create";
|
|
909
|
+
"user.edit": "user.edit";
|
|
910
|
+
"user.search": "user.search";
|
|
911
|
+
workqueue: "workqueue";
|
|
912
|
+
"dashboard.view": "dashboard.view";
|
|
913
|
+
}>;
|
|
914
|
+
$option: z.ZodEnum<{
|
|
915
|
+
role: "role";
|
|
916
|
+
event: "event";
|
|
917
|
+
placeOfEvent: "placeOfEvent";
|
|
918
|
+
declaredIn: "declaredIn";
|
|
919
|
+
declaredBy: "declaredBy";
|
|
920
|
+
registeredIn: "registeredIn";
|
|
921
|
+
registeredBy: "registeredBy";
|
|
922
|
+
accessLevel: "accessLevel";
|
|
923
|
+
ids: "ids";
|
|
924
|
+
}>;
|
|
925
|
+
}, z.core.$strip>]>;
|
|
926
|
+
}, z.core.$strip>>;
|
|
585
927
|
fieldId: z.ZodEnum<{
|
|
586
928
|
"event.updatedAt": "event.updatedAt";
|
|
587
929
|
"event.status": "event.status";
|
|
@@ -346,6 +346,13 @@ export declare const SerializedQueryExpression: z.ZodObject<{
|
|
|
346
346
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
347
347
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
348
348
|
}>]>, z.ZodString]>>>;
|
|
349
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
350
|
+
readonly INCOMPLETE: "incomplete";
|
|
351
|
+
readonly REJECTED: "rejected";
|
|
352
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
353
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
354
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
355
|
+
}>]>, z.ZodString]>>>;
|
|
349
356
|
}, z.core.$strip>>>;
|
|
350
357
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
351
358
|
}, z.core.$strip>;
|
|
@@ -657,6 +664,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
657
664
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
658
665
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
659
666
|
}>]>, z.ZodString]>>>;
|
|
667
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
668
|
+
readonly INCOMPLETE: "incomplete";
|
|
669
|
+
readonly REJECTED: "rejected";
|
|
670
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
671
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
672
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
673
|
+
}>]>, z.ZodString]>>>;
|
|
660
674
|
}, z.core.$strip>>>;
|
|
661
675
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
662
676
|
}, z.core.$strip>>;
|
|
@@ -967,6 +981,13 @@ export declare const CountryConfigQueryType: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
967
981
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
968
982
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
969
983
|
}>]>, z.ZodString]>>>;
|
|
984
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
985
|
+
readonly INCOMPLETE: "incomplete";
|
|
986
|
+
readonly REJECTED: "rejected";
|
|
987
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
988
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
989
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
990
|
+
}>]>, z.ZodString]>>>;
|
|
970
991
|
}, z.core.$strip>>>;
|
|
971
992
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
972
993
|
}, z.core.$strip>>;
|
|
@@ -1277,6 +1298,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1277
1298
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1278
1299
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1279
1300
|
}>]>, z.ZodString]>>>;
|
|
1301
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1302
|
+
readonly INCOMPLETE: "incomplete";
|
|
1303
|
+
readonly REJECTED: "rejected";
|
|
1304
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1305
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1306
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1307
|
+
}>]>, z.ZodString]>>>;
|
|
1280
1308
|
}, z.core.$strip>>>;
|
|
1281
1309
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1282
1310
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1586,6 +1614,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1586
1614
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1587
1615
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1588
1616
|
}>]>, z.ZodString]>>>;
|
|
1617
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1618
|
+
readonly INCOMPLETE: "incomplete";
|
|
1619
|
+
readonly REJECTED: "rejected";
|
|
1620
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1621
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1622
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1623
|
+
}>]>, z.ZodString]>>>;
|
|
1589
1624
|
}, z.core.$strip>>>;
|
|
1590
1625
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1591
1626
|
}, z.core.$strip>>;
|
|
@@ -1896,6 +1931,13 @@ export declare const CountryConfigQueryInputType: z.ZodUnion<readonly [z.ZodObje
|
|
|
1896
1931
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1897
1932
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1898
1933
|
}>]>, z.ZodString]>>>;
|
|
1934
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1935
|
+
readonly INCOMPLETE: "incomplete";
|
|
1936
|
+
readonly REJECTED: "rejected";
|
|
1937
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1938
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1939
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1940
|
+
}>]>, z.ZodString]>>>;
|
|
1899
1941
|
}, z.core.$strip>>>;
|
|
1900
1942
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1901
1943
|
}, z.core.$strip>>;
|
|
@@ -127,6 +127,13 @@ export declare const ContainsFlags: z.ZodObject<{
|
|
|
127
127
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
128
128
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
129
129
|
}>]>, z.ZodString]>>>;
|
|
130
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
131
|
+
readonly INCOMPLETE: "incomplete";
|
|
132
|
+
readonly REJECTED: "rejected";
|
|
133
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
134
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
135
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
136
|
+
}>]>, z.ZodString]>>>;
|
|
130
137
|
}, z.core.$strip>;
|
|
131
138
|
export declare const Within: z.ZodObject<{
|
|
132
139
|
type: z.ZodLiteral<"within">;
|
|
@@ -306,6 +313,13 @@ export declare const QueryExpression: z.ZodObject<{
|
|
|
306
313
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
307
314
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
308
315
|
}>]>, z.ZodString]>>>;
|
|
316
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
317
|
+
readonly INCOMPLETE: "incomplete";
|
|
318
|
+
readonly REJECTED: "rejected";
|
|
319
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
320
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
321
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
322
|
+
}>]>, z.ZodString]>>>;
|
|
309
323
|
}, z.core.$strip>>>;
|
|
310
324
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
311
325
|
}, z.core.$strip>;
|
|
@@ -267,6 +267,7 @@ declare const NumberField: z.ZodObject<{
|
|
|
267
267
|
configuration: z.ZodOptional<z.ZodObject<{
|
|
268
268
|
min: z.ZodOptional<z.ZodNumber>;
|
|
269
269
|
max: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
integer: z.ZodOptional<z.ZodBoolean>;
|
|
270
271
|
prefix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
271
272
|
postfix: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
272
273
|
}, z.core.$strip>>;
|
|
@@ -75,4 +75,5 @@ export type FieldType = (typeof fieldTypes)[number];
|
|
|
75
75
|
*/
|
|
76
76
|
export declare const compositeFieldTypes: ("NAME" | "ADDRESS" | "DATE_RANGE" | "FILE" | "FILE_WITH_OPTIONS" | "DATA" | "ID_READER")[];
|
|
77
77
|
export declare const FieldTypesToHideInReview: ("IMAGE_VIEW" | "PARAGRAPH" | "PAGE_HEADER" | "BULLET_LIST" | "DIVIDER" | "DATA" | "ALPHA_PRINT_BUTTON" | "HTTP" | "QUERY_PARAM_READER" | "ID_READER" | "LOADER" | "ALPHA_HIDDEN")[];
|
|
78
|
+
export declare const HiddenFieldTypes: ("HTTP" | "QUERY_PARAM_READER" | "ALPHA_HIDDEN")[];
|
|
78
79
|
//# sourceMappingURL=FieldType.d.ts.map
|
|
@@ -690,7 +690,7 @@ export declare const isHiddenFieldType: (field: {
|
|
|
690
690
|
value: undefined;
|
|
691
691
|
config: HiddenField;
|
|
692
692
|
};
|
|
693
|
-
export type NonInteractiveFieldType = Divider | PageHeader | ImageViewField | Paragraph | Heading | BulletList | DataField | AlphaPrintButton |
|
|
693
|
+
export type NonInteractiveFieldType = Divider | PageHeader | ImageViewField | Paragraph | Heading | BulletList | DataField | AlphaPrintButton | LinkButtonField | LoaderField | AutocompleteField;
|
|
694
694
|
export type InteractiveFieldType = Exclude<FieldConfig, NonInteractiveFieldType>;
|
|
695
695
|
export declare const isNonInteractiveFieldType: (field: FieldConfig) => field is NonInteractiveFieldType;
|
|
696
696
|
export {};
|
|
@@ -322,6 +322,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
322
322
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
323
323
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
324
324
|
}>]>, z.ZodString]>>>;
|
|
325
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
326
|
+
readonly INCOMPLETE: "incomplete";
|
|
327
|
+
readonly REJECTED: "rejected";
|
|
328
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
329
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
330
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
331
|
+
}>]>, z.ZodString]>>>;
|
|
325
332
|
}, z.core.$strip>>>;
|
|
326
333
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
327
334
|
}, z.core.$strip>>;
|
|
@@ -632,6 +639,13 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
632
639
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
633
640
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
634
641
|
}>]>, z.ZodString]>>>;
|
|
642
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
643
|
+
readonly INCOMPLETE: "incomplete";
|
|
644
|
+
readonly REJECTED: "rejected";
|
|
645
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
646
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
647
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
648
|
+
}>]>, z.ZodString]>>>;
|
|
635
649
|
}, z.core.$strip>>>;
|
|
636
650
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
637
651
|
}, z.core.$strip>>;
|
|
@@ -1361,6 +1375,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1361
1375
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1362
1376
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1363
1377
|
}>]>, z.ZodString]>>>;
|
|
1378
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1379
|
+
readonly INCOMPLETE: "incomplete";
|
|
1380
|
+
readonly REJECTED: "rejected";
|
|
1381
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1382
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1383
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1384
|
+
}>]>, z.ZodString]>>>;
|
|
1364
1385
|
}, z.core.$strip>>>;
|
|
1365
1386
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1366
1387
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1670,6 +1691,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1670
1691
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1671
1692
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1672
1693
|
}>]>, z.ZodString]>>>;
|
|
1694
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1695
|
+
readonly INCOMPLETE: "incomplete";
|
|
1696
|
+
readonly REJECTED: "rejected";
|
|
1697
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
1698
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1699
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1700
|
+
}>]>, z.ZodString]>>>;
|
|
1673
1701
|
}, z.core.$strip>>>;
|
|
1674
1702
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1675
1703
|
}, z.core.$strip>>;
|
|
@@ -1980,6 +2008,13 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1980
2008
|
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
1981
2009
|
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
1982
2010
|
}>]>, z.ZodString]>>>;
|
|
2011
|
+
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
2012
|
+
readonly INCOMPLETE: "incomplete";
|
|
2013
|
+
readonly REJECTED: "rejected";
|
|
2014
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
2015
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
2016
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
2017
|
+
}>]>, z.ZodString]>>>;
|
|
1983
2018
|
}, z.core.$strip>>>;
|
|
1984
2019
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
1985
2020
|
}, z.core.$strip>>;
|
|
@@ -2130,6 +2165,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2130
2165
|
flags?: {
|
|
2131
2166
|
anyOf?: string[] | undefined;
|
|
2132
2167
|
noneOf?: string[] | undefined;
|
|
2168
|
+
allOf?: string[] | undefined;
|
|
2133
2169
|
} | undefined;
|
|
2134
2170
|
data?: unknown;
|
|
2135
2171
|
}[];
|
|
@@ -2268,6 +2304,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2268
2304
|
flags?: {
|
|
2269
2305
|
anyOf?: string[] | undefined;
|
|
2270
2306
|
noneOf?: string[] | undefined;
|
|
2307
|
+
allOf?: string[] | undefined;
|
|
2271
2308
|
} | undefined;
|
|
2272
2309
|
data?: unknown;
|
|
2273
2310
|
}[];
|
|
@@ -2439,6 +2476,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2439
2476
|
flags?: {
|
|
2440
2477
|
anyOf?: string[] | undefined;
|
|
2441
2478
|
noneOf?: string[] | undefined;
|
|
2479
|
+
allOf?: string[] | undefined;
|
|
2442
2480
|
} | undefined;
|
|
2443
2481
|
data?: unknown;
|
|
2444
2482
|
}[];
|
|
@@ -2577,6 +2615,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2577
2615
|
flags?: {
|
|
2578
2616
|
anyOf?: string[] | undefined;
|
|
2579
2617
|
noneOf?: string[] | undefined;
|
|
2618
|
+
allOf?: string[] | undefined;
|
|
2580
2619
|
} | undefined;
|
|
2581
2620
|
data?: unknown;
|
|
2582
2621
|
}[];
|