@opencrvs/toolkit 2.0.0-rc.3126aa4 → 2.0.0-rc.315863
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/README.md +15 -0
- package/build.sh +3 -2
- package/create-countryconfig/index.js +50 -20
- package/dist/application-config/index.js +82 -40
- package/dist/cli.js +3264 -50
- package/dist/commons/api/router.d.ts +700 -22
- package/dist/commons/application-config/index.d.ts +1 -0
- package/dist/commons/conditionals/conditionals.d.ts +360 -10
- package/dist/commons/conditionals/validate.d.ts +51 -2
- package/dist/commons/events/ActionConfig.d.ts +54 -2
- package/dist/commons/events/ActionDocument.d.ts +50 -0
- package/dist/commons/events/ActionInput.d.ts +32 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +360 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +42 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventConfig.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +25 -0
- package/dist/commons/events/EventIndex.d.ts +25 -0
- package/dist/commons/events/EventMetadata.d.ts +26 -0
- package/dist/commons/events/FieldConfig.d.ts +393 -50
- package/dist/commons/events/FieldType.d.ts +1 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +1 -1
- package/dist/commons/events/FieldValue.d.ts +6 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +44 -2
- package/dist/commons/events/field.d.ts +53 -1
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locations.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/state/flags.d.ts +16 -0
- package/dist/commons/events/state/index.d.ts +8 -0
- package/dist/commons/events/state/utils.d.ts +21 -287
- package/dist/commons/events/test.utils.d.ts +9 -1
- package/dist/commons/events/utils.d.ts +27 -2
- package/dist/conditionals/index.js +64 -6
- package/dist/environment/custom-types.d.ts +33 -0
- package/dist/environment/custom-types.d.ts.map +1 -0
- package/dist/environment/custom-types.js +12 -0
- package/dist/environment/derived-variables.d.ts +134 -0
- package/dist/environment/derived-variables.d.ts.map +1 -0
- package/dist/environment/derived-variables.js +169 -0
- package/dist/environment/editor-questions.d.ts +4 -0
- package/dist/environment/editor-questions.d.ts.map +1 -0
- package/dist/environment/editor-questions.js +67 -0
- package/dist/environment/git.d.ts +5 -0
- package/dist/environment/git.d.ts.map +1 -0
- package/dist/environment/git.js +38 -0
- package/dist/environment/github.d.ts +26 -0
- package/dist/environment/github.d.ts.map +1 -0
- package/dist/environment/github.js +247 -0
- package/dist/environment/index.d.ts +5 -0
- package/dist/environment/index.d.ts.map +1 -0
- package/dist/environment/index.js +71 -0
- package/dist/environment/logger.d.ts +15 -0
- package/dist/environment/logger.d.ts.map +1 -0
- package/dist/environment/logger.js +25 -0
- package/dist/environment/manage-users.d.ts +11 -0
- package/dist/environment/manage-users.d.ts.map +1 -0
- package/dist/environment/manage-users.js +497 -0
- package/dist/environment/questions-helper.d.ts +15 -0
- package/dist/environment/questions-helper.d.ts.map +1 -0
- package/dist/environment/questions-helper.js +70 -0
- package/dist/environment/questions.d.ts +199 -0
- package/dist/environment/questions.d.ts.map +1 -0
- package/dist/environment/questions.js +412 -0
- package/dist/environment/setup-environment.d.ts +2 -0
- package/dist/environment/setup-environment.d.ts.map +1 -0
- package/dist/environment/setup-environment.js +794 -0
- package/dist/environment/ssh-keygen.d.ts +5 -0
- package/dist/environment/ssh-keygen.d.ts.map +1 -0
- package/dist/environment/ssh-keygen.js +21 -0
- package/dist/environment/swarm-to-k8s.d.ts +2 -0
- package/dist/environment/swarm-to-k8s.d.ts.map +1 -0
- package/dist/environment/swarm-to-k8s.js +173 -0
- package/dist/environment/templates.d.ts +27 -0
- package/dist/environment/templates.d.ts.map +1 -0
- package/dist/environment/templates.js +163 -0
- package/dist/environment/update-workflows.d.ts +2 -0
- package/dist/environment/update-workflows.d.ts.map +1 -0
- package/dist/environment/update-workflows.js +169 -0
- package/dist/environment/users.d.ts +2 -0
- package/dist/environment/users.d.ts.map +1 -0
- package/dist/environment/users.js +112 -0
- package/dist/environment/utils.d.ts +18 -0
- package/dist/environment/utils.d.ts.map +1 -0
- package/dist/environment/utils.js +100 -0
- package/dist/events/index.js +517 -151
- 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 +22 -9
- package/dist/notification/index.js +298 -46
- package/dist/scopes/index.d.ts +100 -8
- package/dist/scopes/index.js +21 -8
- package/dist/templates/charts-values/dependencies/values.override.yaml +4 -0
- package/dist/templates/charts-values/dependencies/values.yaml +83 -0
- package/dist/templates/charts-values/opencrvs-services/values.override.yaml +4 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +81 -0
- package/dist/templates/charts-values/traefik/values.override.yaml +4 -0
- package/dist/templates/charts-values/traefik/values.yaml +115 -0
- package/dist/templates/inventory/inventory.template.yml +100 -0
- package/dist/templates/inventory/production.example.yml +77 -0
- package/dist/templates/inventory/qa.example.yml +48 -0
- package/opencrvs-toolkit-2.0.0-rc.0315863.tgz +0 -0
- package/package.json +16 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.0.0-rc.3126aa4.tgz +0 -0
|
@@ -388,6 +388,27 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
388
388
|
content: z.ZodObject<{
|
|
389
389
|
reason: z.ZodString;
|
|
390
390
|
}, z.core.$strip>;
|
|
391
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
392
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
393
|
+
transactionId: z.ZodString;
|
|
394
|
+
createdByUserType: z.ZodEnum<{
|
|
395
|
+
user: "user";
|
|
396
|
+
system: "system";
|
|
397
|
+
}>;
|
|
398
|
+
createdAt: z.ZodString;
|
|
399
|
+
createdBy: z.ZodString;
|
|
400
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
401
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
402
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
403
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<FieldUpdateValue, unknown, z.core.$ZodTypeInternals<FieldUpdateValue, unknown>>>;
|
|
404
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<FieldUpdateValue, unknown, z.core.$ZodTypeInternals<FieldUpdateValue, unknown>>>>>;
|
|
405
|
+
status: z.ZodEnum<{
|
|
406
|
+
Requested: "Requested";
|
|
407
|
+
Accepted: "Accepted";
|
|
408
|
+
Rejected: "Rejected";
|
|
409
|
+
}>;
|
|
410
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
411
|
+
type: z.ZodLiteral<"UNARCHIVE">;
|
|
391
412
|
}, z.core.$strip>, z.ZodObject<{
|
|
392
413
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
393
414
|
transactionId: z.ZodString;
|
|
@@ -517,6 +538,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
517
538
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
518
539
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
519
540
|
requestId: z.ZodString;
|
|
541
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
542
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
543
|
+
}, z.core.$strip>>;
|
|
520
544
|
}, z.core.$strip>, z.ZodObject<{
|
|
521
545
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
522
546
|
transactionId: z.ZodString;
|
|
@@ -677,6 +701,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<{
|
|
|
677
701
|
EDIT: "EDIT";
|
|
678
702
|
REJECT: "REJECT";
|
|
679
703
|
ARCHIVE: "ARCHIVE";
|
|
704
|
+
UNARCHIVE: "UNARCHIVE";
|
|
680
705
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
681
706
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
682
707
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -826,6 +851,27 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
826
851
|
content: z.ZodObject<{
|
|
827
852
|
reason: z.ZodString;
|
|
828
853
|
}, z.core.$strip>;
|
|
854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
855
|
+
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
856
|
+
transactionId: z.ZodString;
|
|
857
|
+
createdByUserType: z.ZodEnum<{
|
|
858
|
+
user: "user";
|
|
859
|
+
system: "system";
|
|
860
|
+
}>;
|
|
861
|
+
createdAt: z.ZodString;
|
|
862
|
+
createdBy: z.ZodString;
|
|
863
|
+
createdByRole: z.ZodOptional<z.ZodString>;
|
|
864
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
865
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
866
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodType<FieldUpdateValue, unknown, z.core.$ZodTypeInternals<FieldUpdateValue, unknown>>>;
|
|
867
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<FieldUpdateValue, unknown, z.core.$ZodTypeInternals<FieldUpdateValue, unknown>>>>>;
|
|
868
|
+
status: z.ZodEnum<{
|
|
869
|
+
Requested: "Requested";
|
|
870
|
+
Accepted: "Accepted";
|
|
871
|
+
Rejected: "Rejected";
|
|
872
|
+
}>;
|
|
873
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
874
|
+
type: z.ZodLiteral<"UNARCHIVE">;
|
|
829
875
|
}, z.core.$strip>, z.ZodObject<{
|
|
830
876
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
831
877
|
transactionId: z.ZodString;
|
|
@@ -955,6 +1001,9 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
955
1001
|
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
956
1002
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
957
1003
|
requestId: z.ZodString;
|
|
1004
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
1005
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
1006
|
+
}, z.core.$strip>>;
|
|
958
1007
|
}, z.core.$strip>, z.ZodObject<{
|
|
959
1008
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
960
1009
|
transactionId: z.ZodString;
|
|
@@ -1113,6 +1162,7 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1113
1162
|
EDIT: "EDIT";
|
|
1114
1163
|
REJECT: "REJECT";
|
|
1115
1164
|
ARCHIVE: "ARCHIVE";
|
|
1165
|
+
UNARCHIVE: "UNARCHIVE";
|
|
1116
1166
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
1117
1167
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
1118
1168
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -171,6 +171,20 @@ export declare const ArchiveActionInput: z.ZodObject<{
|
|
|
171
171
|
}, z.core.$strip>;
|
|
172
172
|
}, z.core.$strip>;
|
|
173
173
|
export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
|
|
174
|
+
export declare const UnarchiveActionInput: z.ZodObject<{
|
|
175
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
176
|
+
transactionId: z.ZodString;
|
|
177
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
178
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
179
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
180
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
182
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
183
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
184
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
185
|
+
type: z.ZodDefault<z.ZodLiteral<"UNARCHIVE">>;
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
export type UnarchiveActionInput = z.infer<typeof UnarchiveActionInput>;
|
|
174
188
|
export declare const AssignActionInput: z.ZodObject<{
|
|
175
189
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
176
190
|
transactionId: z.ZodString;
|
|
@@ -246,6 +260,9 @@ export declare const ApproveCorrectionActionInput: z.ZodObject<{
|
|
|
246
260
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
247
261
|
requestId: z.ZodString;
|
|
248
262
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
263
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
265
|
+
}, z.core.$strip>>;
|
|
249
266
|
}, z.core.$strip>;
|
|
250
267
|
export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
|
|
251
268
|
export declare const ReadActionInput: z.ZodObject<{
|
|
@@ -413,6 +430,18 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
413
430
|
content: z.ZodObject<{
|
|
414
431
|
reason: z.ZodString;
|
|
415
432
|
}, z.core.$strip>;
|
|
433
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
434
|
+
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
435
|
+
transactionId: z.ZodString;
|
|
436
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
437
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
|
|
438
|
+
originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>;
|
|
439
|
+
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
keepAssignmentIfAccepted: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
keepAssignmentIfRejected: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
waitFor: z.ZodDefault<z.ZodBoolean>;
|
|
443
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
444
|
+
type: z.ZodDefault<z.ZodLiteral<"UNARCHIVE">>;
|
|
416
445
|
}, z.core.$strip>, z.ZodObject<{
|
|
417
446
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
418
447
|
transactionId: z.ZodString;
|
|
@@ -495,6 +524,9 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
495
524
|
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
496
525
|
requestId: z.ZodString;
|
|
497
526
|
type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
|
|
527
|
+
content: z.ZodOptional<z.ZodObject<{
|
|
528
|
+
immediateCorrection: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
}, z.core.$strip>>;
|
|
498
530
|
}, z.core.$strip>, z.ZodObject<{
|
|
499
531
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
500
532
|
transactionId: z.ZodString;
|
|
@@ -14,6 +14,7 @@ export declare const ActionType: {
|
|
|
14
14
|
readonly MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
15
15
|
readonly MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
16
16
|
readonly ARCHIVE: "ARCHIVE";
|
|
17
|
+
readonly UNARCHIVE: "UNARCHIVE";
|
|
17
18
|
readonly PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
18
19
|
readonly REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
19
20
|
readonly REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -24,7 +25,7 @@ export declare const ActionType: {
|
|
|
24
25
|
readonly CUSTOM: "CUSTOM";
|
|
25
26
|
};
|
|
26
27
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
27
|
-
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION", "CUSTOM"];
|
|
28
|
+
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "UNARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION", "CUSTOM"];
|
|
28
29
|
/** Testing building types from enums as an alternative */
|
|
29
30
|
export declare const ActionTypes: z.ZodEnum<{
|
|
30
31
|
CUSTOM: "CUSTOM";
|
|
@@ -39,6 +40,7 @@ export declare const ActionTypes: z.ZodEnum<{
|
|
|
39
40
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
40
41
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
41
42
|
ARCHIVE: "ARCHIVE";
|
|
43
|
+
UNARCHIVE: "UNARCHIVE";
|
|
42
44
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
43
45
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
44
46
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -83,6 +85,7 @@ export declare const annotationActions: z.ZodEnum<{
|
|
|
83
85
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
84
86
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
85
87
|
ARCHIVE: "ARCHIVE";
|
|
88
|
+
UNARCHIVE: "UNARCHIVE";
|
|
86
89
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
87
90
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
88
91
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -105,6 +108,7 @@ export declare const writeActions: z.ZodEnum<{
|
|
|
105
108
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
106
109
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
107
110
|
ARCHIVE: "ARCHIVE";
|
|
111
|
+
UNARCHIVE: "UNARCHIVE";
|
|
108
112
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
109
113
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
110
114
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -119,6 +123,7 @@ export declare const WorkqueueActionType: z.ZodEnum<{
|
|
|
119
123
|
REJECT: "REJECT";
|
|
120
124
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
121
125
|
ARCHIVE: "ARCHIVE";
|
|
126
|
+
UNARCHIVE: "UNARCHIVE";
|
|
122
127
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
123
128
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
124
129
|
READ: "READ";
|
|
@@ -91,6 +91,66 @@ 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.unarchive": "record.unarchive";
|
|
110
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
111
|
+
"record.register": "record.register";
|
|
112
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
113
|
+
"record.request-correction": "record.request-correction";
|
|
114
|
+
"record.correct": "record.correct";
|
|
115
|
+
"record.unassign-others": "record.unassign-others";
|
|
116
|
+
"record.custom-action": "record.custom-action";
|
|
117
|
+
bypassratelimit: "bypassratelimit";
|
|
118
|
+
"record.reindex": "record.reindex";
|
|
119
|
+
"user.data-seeding": "user.data-seeding";
|
|
120
|
+
"integration.create": "integration.create";
|
|
121
|
+
"record.import": "record.import";
|
|
122
|
+
"config.update-all": "config.update-all";
|
|
123
|
+
"attachment.upload": "attachment.upload";
|
|
124
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
125
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
126
|
+
"performance.read": "performance.read";
|
|
127
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
128
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
129
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
130
|
+
"record.reject-registration": "record.reject-registration";
|
|
131
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
132
|
+
"user.read": "user.read";
|
|
133
|
+
"user.create": "user.create";
|
|
134
|
+
"user.edit": "user.edit";
|
|
135
|
+
"user.search": "user.search";
|
|
136
|
+
workqueue: "workqueue";
|
|
137
|
+
"dashboard.view": "dashboard.view";
|
|
138
|
+
}>;
|
|
139
|
+
$option: z.ZodEnum<{
|
|
140
|
+
role: "role";
|
|
141
|
+
event: "event";
|
|
142
|
+
placeOfEvent: "placeOfEvent";
|
|
143
|
+
notifiedIn: "notifiedIn";
|
|
144
|
+
notifiedBy: "notifiedBy";
|
|
145
|
+
declaredIn: "declaredIn";
|
|
146
|
+
declaredBy: "declaredBy";
|
|
147
|
+
registeredIn: "registeredIn";
|
|
148
|
+
registeredBy: "registeredBy";
|
|
149
|
+
accessLevel: "accessLevel";
|
|
150
|
+
ids: "ids";
|
|
151
|
+
}>;
|
|
152
|
+
}, z.core.$strip>]>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
94
154
|
fieldId: z.ZodString;
|
|
95
155
|
fieldType: z.ZodLiteral<"field">;
|
|
96
156
|
}, z.core.$strip>;
|
|
@@ -211,6 +271,66 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
211
271
|
validator: z.ZodAny;
|
|
212
272
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
213
273
|
}, z.core.$strip>>>;
|
|
274
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
275
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
276
|
+
administrativeArea: "administrativeArea";
|
|
277
|
+
location: "location";
|
|
278
|
+
all: "all";
|
|
279
|
+
}>, z.ZodObject<{
|
|
280
|
+
$scope: z.ZodEnum<{
|
|
281
|
+
"record.search": "record.search";
|
|
282
|
+
"record.create": "record.create";
|
|
283
|
+
"record.read": "record.read";
|
|
284
|
+
"record.declare": "record.declare";
|
|
285
|
+
"record.notify": "record.notify";
|
|
286
|
+
"record.edit": "record.edit";
|
|
287
|
+
"record.reject": "record.reject";
|
|
288
|
+
"record.archive": "record.archive";
|
|
289
|
+
"record.unarchive": "record.unarchive";
|
|
290
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
291
|
+
"record.register": "record.register";
|
|
292
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
293
|
+
"record.request-correction": "record.request-correction";
|
|
294
|
+
"record.correct": "record.correct";
|
|
295
|
+
"record.unassign-others": "record.unassign-others";
|
|
296
|
+
"record.custom-action": "record.custom-action";
|
|
297
|
+
bypassratelimit: "bypassratelimit";
|
|
298
|
+
"record.reindex": "record.reindex";
|
|
299
|
+
"user.data-seeding": "user.data-seeding";
|
|
300
|
+
"integration.create": "integration.create";
|
|
301
|
+
"record.import": "record.import";
|
|
302
|
+
"config.update-all": "config.update-all";
|
|
303
|
+
"attachment.upload": "attachment.upload";
|
|
304
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
305
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
306
|
+
"performance.read": "performance.read";
|
|
307
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
308
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
309
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
310
|
+
"record.reject-registration": "record.reject-registration";
|
|
311
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
312
|
+
"user.read": "user.read";
|
|
313
|
+
"user.create": "user.create";
|
|
314
|
+
"user.edit": "user.edit";
|
|
315
|
+
"user.search": "user.search";
|
|
316
|
+
workqueue: "workqueue";
|
|
317
|
+
"dashboard.view": "dashboard.view";
|
|
318
|
+
}>;
|
|
319
|
+
$option: z.ZodEnum<{
|
|
320
|
+
role: "role";
|
|
321
|
+
event: "event";
|
|
322
|
+
placeOfEvent: "placeOfEvent";
|
|
323
|
+
notifiedIn: "notifiedIn";
|
|
324
|
+
notifiedBy: "notifiedBy";
|
|
325
|
+
declaredIn: "declaredIn";
|
|
326
|
+
declaredBy: "declaredBy";
|
|
327
|
+
registeredIn: "registeredIn";
|
|
328
|
+
registeredBy: "registeredBy";
|
|
329
|
+
accessLevel: "accessLevel";
|
|
330
|
+
ids: "ids";
|
|
331
|
+
}>;
|
|
332
|
+
}, z.core.$strip>]>;
|
|
333
|
+
}, z.core.$strip>>;
|
|
214
334
|
fieldId: z.ZodEnum<{
|
|
215
335
|
"event.updatedAt": "event.updatedAt";
|
|
216
336
|
"event.status": "event.status";
|
|
@@ -307,6 +427,66 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
307
427
|
validator: z.ZodAny;
|
|
308
428
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
309
429
|
}, z.core.$strip>>>;
|
|
430
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
431
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
432
|
+
administrativeArea: "administrativeArea";
|
|
433
|
+
location: "location";
|
|
434
|
+
all: "all";
|
|
435
|
+
}>, z.ZodObject<{
|
|
436
|
+
$scope: z.ZodEnum<{
|
|
437
|
+
"record.search": "record.search";
|
|
438
|
+
"record.create": "record.create";
|
|
439
|
+
"record.read": "record.read";
|
|
440
|
+
"record.declare": "record.declare";
|
|
441
|
+
"record.notify": "record.notify";
|
|
442
|
+
"record.edit": "record.edit";
|
|
443
|
+
"record.reject": "record.reject";
|
|
444
|
+
"record.archive": "record.archive";
|
|
445
|
+
"record.unarchive": "record.unarchive";
|
|
446
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
447
|
+
"record.register": "record.register";
|
|
448
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
449
|
+
"record.request-correction": "record.request-correction";
|
|
450
|
+
"record.correct": "record.correct";
|
|
451
|
+
"record.unassign-others": "record.unassign-others";
|
|
452
|
+
"record.custom-action": "record.custom-action";
|
|
453
|
+
bypassratelimit: "bypassratelimit";
|
|
454
|
+
"record.reindex": "record.reindex";
|
|
455
|
+
"user.data-seeding": "user.data-seeding";
|
|
456
|
+
"integration.create": "integration.create";
|
|
457
|
+
"record.import": "record.import";
|
|
458
|
+
"config.update-all": "config.update-all";
|
|
459
|
+
"attachment.upload": "attachment.upload";
|
|
460
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
461
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
462
|
+
"performance.read": "performance.read";
|
|
463
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
464
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
465
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
466
|
+
"record.reject-registration": "record.reject-registration";
|
|
467
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
468
|
+
"user.read": "user.read";
|
|
469
|
+
"user.create": "user.create";
|
|
470
|
+
"user.edit": "user.edit";
|
|
471
|
+
"user.search": "user.search";
|
|
472
|
+
workqueue: "workqueue";
|
|
473
|
+
"dashboard.view": "dashboard.view";
|
|
474
|
+
}>;
|
|
475
|
+
$option: z.ZodEnum<{
|
|
476
|
+
role: "role";
|
|
477
|
+
event: "event";
|
|
478
|
+
placeOfEvent: "placeOfEvent";
|
|
479
|
+
notifiedIn: "notifiedIn";
|
|
480
|
+
notifiedBy: "notifiedBy";
|
|
481
|
+
declaredIn: "declaredIn";
|
|
482
|
+
declaredBy: "declaredBy";
|
|
483
|
+
registeredIn: "registeredIn";
|
|
484
|
+
registeredBy: "registeredBy";
|
|
485
|
+
accessLevel: "accessLevel";
|
|
486
|
+
ids: "ids";
|
|
487
|
+
}>;
|
|
488
|
+
}, z.core.$strip>]>;
|
|
489
|
+
}, z.core.$strip>>;
|
|
310
490
|
fieldId: z.ZodString;
|
|
311
491
|
fieldType: z.ZodLiteral<"field">;
|
|
312
492
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -395,6 +575,66 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
395
575
|
validator: z.ZodAny;
|
|
396
576
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
397
577
|
}, z.core.$strip>>>;
|
|
578
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
579
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
580
|
+
administrativeArea: "administrativeArea";
|
|
581
|
+
location: "location";
|
|
582
|
+
all: "all";
|
|
583
|
+
}>, z.ZodObject<{
|
|
584
|
+
$scope: z.ZodEnum<{
|
|
585
|
+
"record.search": "record.search";
|
|
586
|
+
"record.create": "record.create";
|
|
587
|
+
"record.read": "record.read";
|
|
588
|
+
"record.declare": "record.declare";
|
|
589
|
+
"record.notify": "record.notify";
|
|
590
|
+
"record.edit": "record.edit";
|
|
591
|
+
"record.reject": "record.reject";
|
|
592
|
+
"record.archive": "record.archive";
|
|
593
|
+
"record.unarchive": "record.unarchive";
|
|
594
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
595
|
+
"record.register": "record.register";
|
|
596
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
597
|
+
"record.request-correction": "record.request-correction";
|
|
598
|
+
"record.correct": "record.correct";
|
|
599
|
+
"record.unassign-others": "record.unassign-others";
|
|
600
|
+
"record.custom-action": "record.custom-action";
|
|
601
|
+
bypassratelimit: "bypassratelimit";
|
|
602
|
+
"record.reindex": "record.reindex";
|
|
603
|
+
"user.data-seeding": "user.data-seeding";
|
|
604
|
+
"integration.create": "integration.create";
|
|
605
|
+
"record.import": "record.import";
|
|
606
|
+
"config.update-all": "config.update-all";
|
|
607
|
+
"attachment.upload": "attachment.upload";
|
|
608
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
609
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
610
|
+
"performance.read": "performance.read";
|
|
611
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
612
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
613
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
614
|
+
"record.reject-registration": "record.reject-registration";
|
|
615
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
616
|
+
"user.read": "user.read";
|
|
617
|
+
"user.create": "user.create";
|
|
618
|
+
"user.edit": "user.edit";
|
|
619
|
+
"user.search": "user.search";
|
|
620
|
+
workqueue: "workqueue";
|
|
621
|
+
"dashboard.view": "dashboard.view";
|
|
622
|
+
}>;
|
|
623
|
+
$option: z.ZodEnum<{
|
|
624
|
+
role: "role";
|
|
625
|
+
event: "event";
|
|
626
|
+
placeOfEvent: "placeOfEvent";
|
|
627
|
+
notifiedIn: "notifiedIn";
|
|
628
|
+
notifiedBy: "notifiedBy";
|
|
629
|
+
declaredIn: "declaredIn";
|
|
630
|
+
declaredBy: "declaredBy";
|
|
631
|
+
registeredIn: "registeredIn";
|
|
632
|
+
registeredBy: "registeredBy";
|
|
633
|
+
accessLevel: "accessLevel";
|
|
634
|
+
ids: "ids";
|
|
635
|
+
}>;
|
|
636
|
+
}, z.core.$strip>]>;
|
|
637
|
+
}, z.core.$strip>>;
|
|
398
638
|
fieldId: z.ZodEnum<{
|
|
399
639
|
"event.updatedAt": "event.updatedAt";
|
|
400
640
|
"event.status": "event.status";
|
|
@@ -494,6 +734,66 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
494
734
|
validator: z.ZodAny;
|
|
495
735
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
496
736
|
}, z.core.$strip>>>;
|
|
737
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
738
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
739
|
+
administrativeArea: "administrativeArea";
|
|
740
|
+
location: "location";
|
|
741
|
+
all: "all";
|
|
742
|
+
}>, z.ZodObject<{
|
|
743
|
+
$scope: z.ZodEnum<{
|
|
744
|
+
"record.search": "record.search";
|
|
745
|
+
"record.create": "record.create";
|
|
746
|
+
"record.read": "record.read";
|
|
747
|
+
"record.declare": "record.declare";
|
|
748
|
+
"record.notify": "record.notify";
|
|
749
|
+
"record.edit": "record.edit";
|
|
750
|
+
"record.reject": "record.reject";
|
|
751
|
+
"record.archive": "record.archive";
|
|
752
|
+
"record.unarchive": "record.unarchive";
|
|
753
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
754
|
+
"record.register": "record.register";
|
|
755
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
756
|
+
"record.request-correction": "record.request-correction";
|
|
757
|
+
"record.correct": "record.correct";
|
|
758
|
+
"record.unassign-others": "record.unassign-others";
|
|
759
|
+
"record.custom-action": "record.custom-action";
|
|
760
|
+
bypassratelimit: "bypassratelimit";
|
|
761
|
+
"record.reindex": "record.reindex";
|
|
762
|
+
"user.data-seeding": "user.data-seeding";
|
|
763
|
+
"integration.create": "integration.create";
|
|
764
|
+
"record.import": "record.import";
|
|
765
|
+
"config.update-all": "config.update-all";
|
|
766
|
+
"attachment.upload": "attachment.upload";
|
|
767
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
768
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
769
|
+
"performance.read": "performance.read";
|
|
770
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
771
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
772
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
773
|
+
"record.reject-registration": "record.reject-registration";
|
|
774
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
775
|
+
"user.read": "user.read";
|
|
776
|
+
"user.create": "user.create";
|
|
777
|
+
"user.edit": "user.edit";
|
|
778
|
+
"user.search": "user.search";
|
|
779
|
+
workqueue: "workqueue";
|
|
780
|
+
"dashboard.view": "dashboard.view";
|
|
781
|
+
}>;
|
|
782
|
+
$option: z.ZodEnum<{
|
|
783
|
+
role: "role";
|
|
784
|
+
event: "event";
|
|
785
|
+
placeOfEvent: "placeOfEvent";
|
|
786
|
+
notifiedIn: "notifiedIn";
|
|
787
|
+
notifiedBy: "notifiedBy";
|
|
788
|
+
declaredIn: "declaredIn";
|
|
789
|
+
declaredBy: "declaredBy";
|
|
790
|
+
registeredIn: "registeredIn";
|
|
791
|
+
registeredBy: "registeredBy";
|
|
792
|
+
accessLevel: "accessLevel";
|
|
793
|
+
ids: "ids";
|
|
794
|
+
}>;
|
|
795
|
+
}, z.core.$strip>]>;
|
|
796
|
+
}, z.core.$strip>>;
|
|
497
797
|
fieldId: z.ZodString;
|
|
498
798
|
fieldType: z.ZodLiteral<"field">;
|
|
499
799
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -582,6 +882,66 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
582
882
|
validator: z.ZodAny;
|
|
583
883
|
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
584
884
|
}, z.core.$strip>>>;
|
|
885
|
+
allowedLocations: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
$jurisdiction: z.ZodUnion<[z.ZodEnum<{
|
|
887
|
+
administrativeArea: "administrativeArea";
|
|
888
|
+
location: "location";
|
|
889
|
+
all: "all";
|
|
890
|
+
}>, z.ZodObject<{
|
|
891
|
+
$scope: z.ZodEnum<{
|
|
892
|
+
"record.search": "record.search";
|
|
893
|
+
"record.create": "record.create";
|
|
894
|
+
"record.read": "record.read";
|
|
895
|
+
"record.declare": "record.declare";
|
|
896
|
+
"record.notify": "record.notify";
|
|
897
|
+
"record.edit": "record.edit";
|
|
898
|
+
"record.reject": "record.reject";
|
|
899
|
+
"record.archive": "record.archive";
|
|
900
|
+
"record.unarchive": "record.unarchive";
|
|
901
|
+
"record.review-duplicates": "record.review-duplicates";
|
|
902
|
+
"record.register": "record.register";
|
|
903
|
+
"record.print-certified-copies": "record.print-certified-copies";
|
|
904
|
+
"record.request-correction": "record.request-correction";
|
|
905
|
+
"record.correct": "record.correct";
|
|
906
|
+
"record.unassign-others": "record.unassign-others";
|
|
907
|
+
"record.custom-action": "record.custom-action";
|
|
908
|
+
bypassratelimit: "bypassratelimit";
|
|
909
|
+
"record.reindex": "record.reindex";
|
|
910
|
+
"user.data-seeding": "user.data-seeding";
|
|
911
|
+
"integration.create": "integration.create";
|
|
912
|
+
"record.import": "record.import";
|
|
913
|
+
"config.update-all": "config.update-all";
|
|
914
|
+
"attachment.upload": "attachment.upload";
|
|
915
|
+
"profile.electronic-signature": "profile.electronic-signature";
|
|
916
|
+
"user.read-only-my-audit": "user.read-only-my-audit";
|
|
917
|
+
"performance.read": "performance.read";
|
|
918
|
+
"performance.read-dashboards": "performance.read-dashboards";
|
|
919
|
+
"performance.vital-statistics-export": "performance.vital-statistics-export";
|
|
920
|
+
"record.confirm-registration": "record.confirm-registration";
|
|
921
|
+
"record.reject-registration": "record.reject-registration";
|
|
922
|
+
"organisation.read-locations": "organisation.read-locations";
|
|
923
|
+
"user.read": "user.read";
|
|
924
|
+
"user.create": "user.create";
|
|
925
|
+
"user.edit": "user.edit";
|
|
926
|
+
"user.search": "user.search";
|
|
927
|
+
workqueue: "workqueue";
|
|
928
|
+
"dashboard.view": "dashboard.view";
|
|
929
|
+
}>;
|
|
930
|
+
$option: z.ZodEnum<{
|
|
931
|
+
role: "role";
|
|
932
|
+
event: "event";
|
|
933
|
+
placeOfEvent: "placeOfEvent";
|
|
934
|
+
notifiedIn: "notifiedIn";
|
|
935
|
+
notifiedBy: "notifiedBy";
|
|
936
|
+
declaredIn: "declaredIn";
|
|
937
|
+
declaredBy: "declaredBy";
|
|
938
|
+
registeredIn: "registeredIn";
|
|
939
|
+
registeredBy: "registeredBy";
|
|
940
|
+
accessLevel: "accessLevel";
|
|
941
|
+
ids: "ids";
|
|
942
|
+
}>;
|
|
943
|
+
}, z.core.$strip>]>;
|
|
944
|
+
}, z.core.$strip>>;
|
|
585
945
|
fieldId: z.ZodEnum<{
|
|
586
946
|
"event.updatedAt": "event.updatedAt";
|
|
587
947
|
"event.status": "event.status";
|
|
@@ -18,6 +18,7 @@ declare const EventActionEntrySchema: z.ZodObject<{
|
|
|
18
18
|
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
19
19
|
"event.actions.read.request": "event.actions.read.request";
|
|
20
20
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
21
|
+
"event.actions.unarchive.request": "event.actions.unarchive.request";
|
|
21
22
|
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
22
23
|
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
23
24
|
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
@@ -153,6 +154,7 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
153
154
|
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
154
155
|
"event.actions.read.request": "event.actions.read.request";
|
|
155
156
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
157
|
+
"event.actions.unarchive.request": "event.actions.unarchive.request";
|
|
156
158
|
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
157
159
|
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
158
160
|
"event.actions.correction.request.request": "event.actions.correction.request.request";
|