@opencrvs/toolkit 2.0.0-rc.1498d58 → 2.0.0-rc.14dd6ca
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/build.sh +2 -2
- package/dist/application-config/index.js +5 -27
- package/dist/cli.js +5103 -167
- package/dist/commons/api/router.d.ts +68 -669
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/events/ActionConfig.d.ts +0 -202
- package/dist/commons/events/ActionDocument.d.ts +0 -44
- package/dist/commons/events/ActionInput.d.ts +0 -26
- package/dist/commons/events/ActionType.d.ts +1 -6
- package/dist/commons/events/AdvancedSearchConfig.d.ts +0 -18
- package/dist/commons/events/AuditLog.d.ts +0 -2
- package/dist/commons/events/Draft.d.ts +0 -2
- package/dist/commons/events/EventConfig.d.ts +0 -2
- package/dist/commons/events/EventDocument.d.ts +0 -22
- package/dist/commons/events/EventIndex.d.ts +0 -11
- package/dist/commons/events/EventMetadata.d.ts +0 -26
- package/dist/commons/events/FieldConfig.d.ts +0 -15
- package/dist/commons/events/WorkqueueConfig.d.ts +2 -5
- package/dist/commons/events/locations.d.ts +0 -1
- package/dist/commons/events/scopes.d.ts +0 -1
- package/dist/commons/events/state/index.d.ts +0 -8
- package/dist/commons/events/state/utils.d.ts +0 -9
- package/dist/commons/events/test.utils.d.ts +1 -9
- package/dist/commons/events/utils.d.ts +1 -15
- package/dist/conditionals/index.js +5 -12
- package/dist/events/index.js +23 -204
- package/dist/migrations/v2.0/index.js +5139 -88
- package/dist/notification/index.js +16 -146
- package/dist/scopes/index.d.ts +2 -96
- package/dist/scopes/index.js +5 -12
- package/opencrvs-toolkit-2.0.0-rc.14dd6ca.tgz +0 -0
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +0 -3
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +0 -1
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +0 -234
- package/dist/migrations/v2.1/index.d.ts +0 -6
- package/dist/migrations/v2.1/index.d.ts.map +0 -1
- package/dist/migrations/v2.1/index.js +0 -218
- package/opencrvs-toolkit-2.0.0-rc.1498d58.tgz +0 -0
|
@@ -93,17 +93,17 @@ export declare const user: typeof userSerializer & {
|
|
|
93
93
|
};
|
|
94
94
|
scope: (scope: import("../scopes").ScopeType) => {
|
|
95
95
|
attribute: (option: import("../scopes").ScopeOptionKey) => {
|
|
96
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.
|
|
97
|
-
$option: "role" | "event" | "placeOfEvent" | "
|
|
96
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
97
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
jurisdiction: (jurisdiction: import("../scopes").JurisdictionFilter | {
|
|
101
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.
|
|
102
|
-
$option: "role" | "event" | "placeOfEvent" | "
|
|
101
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
102
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
103
103
|
}) => {
|
|
104
104
|
$jurisdiction: "administrativeArea" | "location" | "all" | {
|
|
105
|
-
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.
|
|
106
|
-
$option: "role" | "event" | "placeOfEvent" | "
|
|
105
|
+
$scope: "record.search" | "record.create" | "record.read" | "record.declare" | "record.notify" | "record.edit" | "record.reject" | "record.archive" | "record.review-duplicates" | "record.register" | "record.print-certified-copies" | "record.request-correction" | "record.correct" | "record.unassign-others" | "record.custom-action" | "bypassratelimit" | "record.reindex" | "user.data-seeding" | "integration.create" | "record.import" | "config.update-all" | "attachment.upload" | "profile.electronic-signature" | "user.read-only-my-audit" | "performance.read" | "performance.read-dashboards" | "performance.vital-statistics-export" | "record.confirm-registration" | "record.reject-registration" | "organisation.read-locations" | "user.read" | "user.create" | "user.edit" | "user.search" | "workqueue" | "dashboard.view";
|
|
106
|
+
$option: "role" | "event" | "placeOfEvent" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
109
109
|
};
|
|
@@ -85,58 +85,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
85
85
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
86
86
|
}, z.core.$strip>;
|
|
87
87
|
conditionals: z.ZodOptional<z.ZodNever>;
|
|
88
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
89
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
90
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
91
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
92
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
93
|
-
type: z.ZodLiteral<"SHOW">;
|
|
94
|
-
conditional: z.ZodAny;
|
|
95
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
96
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
97
|
-
conditional: z.ZodAny;
|
|
98
|
-
}, z.core.$strip>], "type">>>;
|
|
99
|
-
type: z.ZodLiteral<"ASSIGN">;
|
|
100
|
-
flags: z.ZodOptional<z.ZodNever>;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
103
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
104
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
105
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
106
|
-
type: z.ZodLiteral<"SHOW">;
|
|
107
|
-
conditional: z.ZodAny;
|
|
108
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
110
|
-
conditional: z.ZodAny;
|
|
111
|
-
}, z.core.$strip>], "type">>>;
|
|
112
|
-
type: z.ZodLiteral<"UNASSIGN">;
|
|
113
|
-
flags: z.ZodOptional<z.ZodNever>;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
116
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
117
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
118
|
-
readonly INCOMPLETE: "incomplete";
|
|
119
|
-
readonly REJECTED: "rejected";
|
|
120
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
121
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
122
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
123
|
-
}>]>, z.ZodString]>;
|
|
124
|
-
operation: z.ZodEnum<{
|
|
125
|
-
add: "add";
|
|
126
|
-
remove: "remove";
|
|
127
|
-
}>;
|
|
128
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
129
|
-
}, z.core.$strip>>>>;
|
|
130
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
131
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
132
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
133
|
-
type: z.ZodLiteral<"SHOW">;
|
|
134
|
-
conditional: z.ZodAny;
|
|
135
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
136
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
137
|
-
conditional: z.ZodAny;
|
|
138
|
-
}, z.core.$strip>], "type">>>;
|
|
139
|
-
type: z.ZodLiteral<"DELETE">;
|
|
140
88
|
}, z.core.$strip>, z.ZodObject<{
|
|
141
89
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
142
90
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -203,78 +151,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
203
151
|
declare: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
204
152
|
register: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
205
153
|
}, z.core.$strip>>;
|
|
206
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
207
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
208
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
209
|
-
readonly INCOMPLETE: "incomplete";
|
|
210
|
-
readonly REJECTED: "rejected";
|
|
211
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
212
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
213
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
214
|
-
}>]>, z.ZodString]>;
|
|
215
|
-
operation: z.ZodEnum<{
|
|
216
|
-
add: "add";
|
|
217
|
-
remove: "remove";
|
|
218
|
-
}>;
|
|
219
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
220
|
-
}, z.core.$strip>>>>;
|
|
221
|
-
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
222
|
-
label: z.ZodOptional<z.ZodNever>;
|
|
223
|
-
supportingCopy: z.ZodOptional<z.ZodNever>;
|
|
224
|
-
icon: z.ZodOptional<z.ZodNever>;
|
|
225
|
-
conditionals: z.ZodOptional<z.ZodNever>;
|
|
226
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
227
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
228
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
229
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
230
|
-
readonly INCOMPLETE: "incomplete";
|
|
231
|
-
readonly REJECTED: "rejected";
|
|
232
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
233
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
234
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
235
|
-
}>]>, z.ZodString]>;
|
|
236
|
-
operation: z.ZodEnum<{
|
|
237
|
-
add: "add";
|
|
238
|
-
remove: "remove";
|
|
239
|
-
}>;
|
|
240
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
241
|
-
}, z.core.$strip>>>>;
|
|
242
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
243
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
244
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
245
|
-
type: z.ZodLiteral<"SHOW">;
|
|
246
|
-
conditional: z.ZodAny;
|
|
247
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
249
|
-
conditional: z.ZodAny;
|
|
250
|
-
}, z.core.$strip>], "type">>>;
|
|
251
|
-
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
252
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
254
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
255
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
256
|
-
readonly INCOMPLETE: "incomplete";
|
|
257
|
-
readonly REJECTED: "rejected";
|
|
258
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
259
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
260
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
261
|
-
}>]>, z.ZodString]>;
|
|
262
|
-
operation: z.ZodEnum<{
|
|
263
|
-
add: "add";
|
|
264
|
-
remove: "remove";
|
|
265
|
-
}>;
|
|
266
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
267
|
-
}, z.core.$strip>>>>;
|
|
268
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
269
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
270
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
271
|
-
type: z.ZodLiteral<"SHOW">;
|
|
272
|
-
conditional: z.ZodAny;
|
|
273
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
274
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
275
|
-
conditional: z.ZodAny;
|
|
276
|
-
}, z.core.$strip>], "type">>>;
|
|
277
|
-
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
278
154
|
}, z.core.$strip>, z.ZodObject<{
|
|
279
155
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
280
156
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -444,58 +320,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
444
320
|
}, z.core.$strip>;
|
|
445
321
|
}, z.core.$strip>], "type">>;
|
|
446
322
|
}, z.core.$strip>;
|
|
447
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
448
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
449
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
450
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
451
|
-
readonly INCOMPLETE: "incomplete";
|
|
452
|
-
readonly REJECTED: "rejected";
|
|
453
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
454
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
455
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
456
|
-
}>]>, z.ZodString]>;
|
|
457
|
-
operation: z.ZodEnum<{
|
|
458
|
-
add: "add";
|
|
459
|
-
remove: "remove";
|
|
460
|
-
}>;
|
|
461
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
462
|
-
}, z.core.$strip>>>>;
|
|
463
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
464
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
465
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
466
|
-
type: z.ZodLiteral<"SHOW">;
|
|
467
|
-
conditional: z.ZodAny;
|
|
468
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
469
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
470
|
-
conditional: z.ZodAny;
|
|
471
|
-
}, z.core.$strip>], "type">>>;
|
|
472
|
-
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
473
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
474
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
475
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
476
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
477
|
-
readonly INCOMPLETE: "incomplete";
|
|
478
|
-
readonly REJECTED: "rejected";
|
|
479
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
480
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
481
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
482
|
-
}>]>, z.ZodString]>;
|
|
483
|
-
operation: z.ZodEnum<{
|
|
484
|
-
add: "add";
|
|
485
|
-
remove: "remove";
|
|
486
|
-
}>;
|
|
487
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
488
|
-
}, z.core.$strip>>>>;
|
|
489
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
490
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
491
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
492
|
-
type: z.ZodLiteral<"SHOW">;
|
|
493
|
-
conditional: z.ZodAny;
|
|
494
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
495
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
496
|
-
conditional: z.ZodAny;
|
|
497
|
-
}, z.core.$strip>], "type">>>;
|
|
498
|
-
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
499
323
|
}, z.core.$strip>, z.ZodObject<{
|
|
500
324
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
501
325
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -553,32 +377,6 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
553
377
|
conditional: z.ZodAny;
|
|
554
378
|
}, z.core.$strip>], "type">>>;
|
|
555
379
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
556
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
557
|
-
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
558
|
-
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
559
|
-
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
560
|
-
readonly INCOMPLETE: "incomplete";
|
|
561
|
-
readonly REJECTED: "rejected";
|
|
562
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
563
|
-
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
564
|
-
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
565
|
-
}>]>, z.ZodString]>;
|
|
566
|
-
operation: z.ZodEnum<{
|
|
567
|
-
add: "add";
|
|
568
|
-
remove: "remove";
|
|
569
|
-
}>;
|
|
570
|
-
conditional: z.ZodOptional<z.ZodAny>;
|
|
571
|
-
}, z.core.$strip>>>>;
|
|
572
|
-
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
573
|
-
icon: z.ZodOptional<z.ZodString>;
|
|
574
|
-
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
575
|
-
type: z.ZodLiteral<"SHOW">;
|
|
576
|
-
conditional: z.ZodAny;
|
|
577
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
578
|
-
type: z.ZodLiteral<"ENABLE">;
|
|
579
|
-
conditional: z.ZodAny;
|
|
580
|
-
}, z.core.$strip>], "type">>>;
|
|
581
|
-
type: z.ZodLiteral<"UNARCHIVE">;
|
|
582
380
|
}, z.core.$strip>, z.ZodObject<{
|
|
583
381
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
584
382
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -388,27 +388,6 @@ 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">;
|
|
412
391
|
}, z.core.$strip>, z.ZodObject<{
|
|
413
392
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
414
393
|
transactionId: z.ZodString;
|
|
@@ -701,7 +680,6 @@ export declare const AsyncRejectActionDocument: z.ZodObject<{
|
|
|
701
680
|
EDIT: "EDIT";
|
|
702
681
|
REJECT: "REJECT";
|
|
703
682
|
ARCHIVE: "ARCHIVE";
|
|
704
|
-
UNARCHIVE: "UNARCHIVE";
|
|
705
683
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
706
684
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
707
685
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -851,27 +829,6 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
851
829
|
content: z.ZodObject<{
|
|
852
830
|
reason: z.ZodString;
|
|
853
831
|
}, 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">;
|
|
875
832
|
}, z.core.$strip>, z.ZodObject<{
|
|
876
833
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
877
834
|
transactionId: z.ZodString;
|
|
@@ -1162,7 +1119,6 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1162
1119
|
EDIT: "EDIT";
|
|
1163
1120
|
REJECT: "REJECT";
|
|
1164
1121
|
ARCHIVE: "ARCHIVE";
|
|
1165
|
-
UNARCHIVE: "UNARCHIVE";
|
|
1166
1122
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
1167
1123
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
1168
1124
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -171,20 +171,6 @@ 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>;
|
|
188
174
|
export declare const AssignActionInput: z.ZodObject<{
|
|
189
175
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
190
176
|
transactionId: z.ZodString;
|
|
@@ -430,18 +416,6 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
430
416
|
content: z.ZodObject<{
|
|
431
417
|
reason: z.ZodString;
|
|
432
418
|
}, 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">>;
|
|
445
419
|
}, z.core.$strip>, z.ZodObject<{
|
|
446
420
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
447
421
|
transactionId: z.ZodString;
|
|
@@ -14,7 +14,6 @@ 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";
|
|
18
17
|
readonly PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
19
18
|
readonly REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
20
19
|
readonly REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -25,7 +24,7 @@ export declare const ActionType: {
|
|
|
25
24
|
readonly CUSTOM: "CUSTOM";
|
|
26
25
|
};
|
|
27
26
|
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
28
|
-
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "
|
|
27
|
+
export declare const ConfirmableActions: readonly ["NOTIFY", "DECLARE", "EDIT", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "APPROVE_CORRECTION", "REJECT_CORRECTION", "CUSTOM"];
|
|
29
28
|
/** Testing building types from enums as an alternative */
|
|
30
29
|
export declare const ActionTypes: z.ZodEnum<{
|
|
31
30
|
CUSTOM: "CUSTOM";
|
|
@@ -40,7 +39,6 @@ export declare const ActionTypes: z.ZodEnum<{
|
|
|
40
39
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
41
40
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
42
41
|
ARCHIVE: "ARCHIVE";
|
|
43
|
-
UNARCHIVE: "UNARCHIVE";
|
|
44
42
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
45
43
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
46
44
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -85,7 +83,6 @@ export declare const annotationActions: z.ZodEnum<{
|
|
|
85
83
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
86
84
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
87
85
|
ARCHIVE: "ARCHIVE";
|
|
88
|
-
UNARCHIVE: "UNARCHIVE";
|
|
89
86
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
90
87
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
91
88
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -108,7 +105,6 @@ export declare const writeActions: z.ZodEnum<{
|
|
|
108
105
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
109
106
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
110
107
|
ARCHIVE: "ARCHIVE";
|
|
111
|
-
UNARCHIVE: "UNARCHIVE";
|
|
112
108
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
113
109
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
114
110
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -123,7 +119,6 @@ export declare const WorkqueueActionType: z.ZodEnum<{
|
|
|
123
119
|
REJECT: "REJECT";
|
|
124
120
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
125
121
|
ARCHIVE: "ARCHIVE";
|
|
126
|
-
UNARCHIVE: "UNARCHIVE";
|
|
127
122
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
128
123
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
129
124
|
READ: "READ";
|
|
@@ -106,7 +106,6 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
106
106
|
"record.edit": "record.edit";
|
|
107
107
|
"record.reject": "record.reject";
|
|
108
108
|
"record.archive": "record.archive";
|
|
109
|
-
"record.unarchive": "record.unarchive";
|
|
110
109
|
"record.review-duplicates": "record.review-duplicates";
|
|
111
110
|
"record.register": "record.register";
|
|
112
111
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -140,8 +139,6 @@ export declare const FieldConfigSchema: z.ZodObject<{
|
|
|
140
139
|
role: "role";
|
|
141
140
|
event: "event";
|
|
142
141
|
placeOfEvent: "placeOfEvent";
|
|
143
|
-
notifiedIn: "notifiedIn";
|
|
144
|
-
notifiedBy: "notifiedBy";
|
|
145
142
|
declaredIn: "declaredIn";
|
|
146
143
|
declaredBy: "declaredBy";
|
|
147
144
|
registeredIn: "registeredIn";
|
|
@@ -286,7 +283,6 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
286
283
|
"record.edit": "record.edit";
|
|
287
284
|
"record.reject": "record.reject";
|
|
288
285
|
"record.archive": "record.archive";
|
|
289
|
-
"record.unarchive": "record.unarchive";
|
|
290
286
|
"record.review-duplicates": "record.review-duplicates";
|
|
291
287
|
"record.register": "record.register";
|
|
292
288
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -320,8 +316,6 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
320
316
|
role: "role";
|
|
321
317
|
event: "event";
|
|
322
318
|
placeOfEvent: "placeOfEvent";
|
|
323
|
-
notifiedIn: "notifiedIn";
|
|
324
|
-
notifiedBy: "notifiedBy";
|
|
325
319
|
declaredIn: "declaredIn";
|
|
326
320
|
declaredBy: "declaredBy";
|
|
327
321
|
registeredIn: "registeredIn";
|
|
@@ -442,7 +436,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
442
436
|
"record.edit": "record.edit";
|
|
443
437
|
"record.reject": "record.reject";
|
|
444
438
|
"record.archive": "record.archive";
|
|
445
|
-
"record.unarchive": "record.unarchive";
|
|
446
439
|
"record.review-duplicates": "record.review-duplicates";
|
|
447
440
|
"record.register": "record.register";
|
|
448
441
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -476,8 +469,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
476
469
|
role: "role";
|
|
477
470
|
event: "event";
|
|
478
471
|
placeOfEvent: "placeOfEvent";
|
|
479
|
-
notifiedIn: "notifiedIn";
|
|
480
|
-
notifiedBy: "notifiedBy";
|
|
481
472
|
declaredIn: "declaredIn";
|
|
482
473
|
declaredBy: "declaredBy";
|
|
483
474
|
registeredIn: "registeredIn";
|
|
@@ -590,7 +581,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
590
581
|
"record.edit": "record.edit";
|
|
591
582
|
"record.reject": "record.reject";
|
|
592
583
|
"record.archive": "record.archive";
|
|
593
|
-
"record.unarchive": "record.unarchive";
|
|
594
584
|
"record.review-duplicates": "record.review-duplicates";
|
|
595
585
|
"record.register": "record.register";
|
|
596
586
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -624,8 +614,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
624
614
|
role: "role";
|
|
625
615
|
event: "event";
|
|
626
616
|
placeOfEvent: "placeOfEvent";
|
|
627
|
-
notifiedIn: "notifiedIn";
|
|
628
|
-
notifiedBy: "notifiedBy";
|
|
629
617
|
declaredIn: "declaredIn";
|
|
630
618
|
declaredBy: "declaredBy";
|
|
631
619
|
registeredIn: "registeredIn";
|
|
@@ -749,7 +737,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
749
737
|
"record.edit": "record.edit";
|
|
750
738
|
"record.reject": "record.reject";
|
|
751
739
|
"record.archive": "record.archive";
|
|
752
|
-
"record.unarchive": "record.unarchive";
|
|
753
740
|
"record.review-duplicates": "record.review-duplicates";
|
|
754
741
|
"record.register": "record.register";
|
|
755
742
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -783,8 +770,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
783
770
|
role: "role";
|
|
784
771
|
event: "event";
|
|
785
772
|
placeOfEvent: "placeOfEvent";
|
|
786
|
-
notifiedIn: "notifiedIn";
|
|
787
|
-
notifiedBy: "notifiedBy";
|
|
788
773
|
declaredIn: "declaredIn";
|
|
789
774
|
declaredBy: "declaredBy";
|
|
790
775
|
registeredIn: "registeredIn";
|
|
@@ -897,7 +882,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
897
882
|
"record.edit": "record.edit";
|
|
898
883
|
"record.reject": "record.reject";
|
|
899
884
|
"record.archive": "record.archive";
|
|
900
|
-
"record.unarchive": "record.unarchive";
|
|
901
885
|
"record.review-duplicates": "record.review-duplicates";
|
|
902
886
|
"record.register": "record.register";
|
|
903
887
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -931,8 +915,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
931
915
|
role: "role";
|
|
932
916
|
event: "event";
|
|
933
917
|
placeOfEvent: "placeOfEvent";
|
|
934
|
-
notifiedIn: "notifiedIn";
|
|
935
|
-
notifiedBy: "notifiedBy";
|
|
936
918
|
declaredIn: "declaredIn";
|
|
937
919
|
declaredBy: "declaredBy";
|
|
938
920
|
registeredIn: "registeredIn";
|
|
@@ -18,7 +18,6 @@ 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";
|
|
22
21
|
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
23
22
|
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
24
23
|
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
@@ -154,7 +153,6 @@ export declare const AuditLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
154
153
|
"event.actions.unassign.request": "event.actions.unassign.request";
|
|
155
154
|
"event.actions.read.request": "event.actions.read.request";
|
|
156
155
|
"event.actions.archive.request": "event.actions.archive.request";
|
|
157
|
-
"event.actions.unarchive.request": "event.actions.unarchive.request";
|
|
158
156
|
"event.actions.reinstate.request": "event.actions.reinstate.request";
|
|
159
157
|
"event.actions.print_certificate.request": "event.actions.print_certificate.request";
|
|
160
158
|
"event.actions.correction.request.request": "event.actions.correction.request.request";
|
|
@@ -17,7 +17,6 @@ export declare const Draft: z.ZodObject<{
|
|
|
17
17
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
18
18
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
19
19
|
ARCHIVE: "ARCHIVE";
|
|
20
|
-
UNARCHIVE: "UNARCHIVE";
|
|
21
20
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
22
21
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
23
22
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -67,7 +66,6 @@ export declare const DraftInput: z.ZodObject<{
|
|
|
67
66
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
68
67
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
69
68
|
ARCHIVE: "ARCHIVE";
|
|
70
|
-
UNARCHIVE: "UNARCHIVE";
|
|
71
69
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
72
70
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
73
71
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -10,8 +10,6 @@ export declare const EventFieldReference: z.ZodObject<{
|
|
|
10
10
|
$$event: z.ZodEnum<{
|
|
11
11
|
updatedAt: "updatedAt";
|
|
12
12
|
createdAt: "createdAt";
|
|
13
|
-
"legalStatuses.NOTIFIED.createdAt": "legalStatuses.NOTIFIED.createdAt";
|
|
14
|
-
"legalStatuses.NOTIFIED.acceptedAt": "legalStatuses.NOTIFIED.acceptedAt";
|
|
15
13
|
"legalStatuses.DECLARED.createdAt": "legalStatuses.DECLARED.createdAt";
|
|
16
14
|
"legalStatuses.DECLARED.acceptedAt": "legalStatuses.DECLARED.acceptedAt";
|
|
17
15
|
"legalStatuses.REGISTERED.createdAt": "legalStatuses.REGISTERED.createdAt";
|
|
@@ -145,27 +145,6 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
145
145
|
content: z.ZodObject<{
|
|
146
146
|
reason: z.ZodString;
|
|
147
147
|
}, z.core.$strip>;
|
|
148
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
149
|
-
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
|
-
transactionId: z.ZodString;
|
|
151
|
-
createdByUserType: z.ZodEnum<{
|
|
152
|
-
user: "user";
|
|
153
|
-
system: "system";
|
|
154
|
-
}>;
|
|
155
|
-
createdAt: z.ZodString;
|
|
156
|
-
createdBy: z.ZodString;
|
|
157
|
-
createdByRole: z.ZodOptional<z.ZodString>;
|
|
158
|
-
createdBySignature: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">>>;
|
|
159
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
160
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>;
|
|
161
|
-
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>>;
|
|
162
|
-
status: z.ZodEnum<{
|
|
163
|
-
Requested: "Requested";
|
|
164
|
-
Accepted: "Accepted";
|
|
165
|
-
Rejected: "Rejected";
|
|
166
|
-
}>;
|
|
167
|
-
originalActionId: z.ZodNullable<z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
168
|
-
type: z.ZodLiteral<"UNARCHIVE">;
|
|
169
148
|
}, z.core.$strip>, z.ZodObject<{
|
|
170
149
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
171
150
|
transactionId: z.ZodString;
|
|
@@ -456,7 +435,6 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
456
435
|
EDIT: "EDIT";
|
|
457
436
|
REJECT: "REJECT";
|
|
458
437
|
ARCHIVE: "ARCHIVE";
|
|
459
|
-
UNARCHIVE: "UNARCHIVE";
|
|
460
438
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
461
439
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
462
440
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -10,17 +10,6 @@ export declare const EventIndex: z.ZodObject<{
|
|
|
10
10
|
ARCHIVED: "ARCHIVED";
|
|
11
11
|
}>;
|
|
12
12
|
legalStatuses: z.ZodObject<{
|
|
13
|
-
NOTIFIED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
-
createdAt: z.ZodISODateTime;
|
|
15
|
-
createdBy: z.ZodString;
|
|
16
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID", "out">>>;
|
|
17
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18
|
-
user: "user";
|
|
19
|
-
system: "system";
|
|
20
|
-
}>>>;
|
|
21
|
-
acceptedAt: z.ZodISODateTime;
|
|
22
|
-
createdByRole: z.ZodOptional<z.ZodString>;
|
|
23
|
-
}, z.core.$strip>>>;
|
|
24
13
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
25
14
|
createdAt: z.ZodISODateTime;
|
|
26
15
|
createdBy: z.ZodString;
|