@opencrvs/toolkit 2.0.0-rc.99921a2 → 2.0.0-rc.99b8626
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 +0 -12
- package/dist/cli.js +5108 -167
- package/dist/commons/api/router.d.ts +75 -668
- package/dist/commons/conditionals/conditionals.d.ts +3 -3
- 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 -6
- package/dist/commons/events/AuditLog.d.ts +0 -2
- package/dist/commons/events/Draft.d.ts +0 -2
- package/dist/commons/events/EventDocument.d.ts +0 -22
- package/dist/commons/events/FieldConfig.d.ts +0 -5
- package/dist/commons/events/WorkqueueConfig.d.ts +2 -5
- package/dist/commons/events/scopes.d.ts +0 -1
- package/dist/commons/events/test.utils.d.ts +1 -9
- package/dist/commons/events/utils.d.ts +1 -15
- package/dist/conditionals/index.js +0 -2
- package/dist/events/index.js +18 -166
- package/dist/migrations/v2.0/index.js +5144 -88
- package/dist/notification/index.js +11 -131
- package/dist/scopes/index.d.ts +1 -7
- package/dist/scopes/index.js +0 -2
- package/opencrvs-toolkit-2.0.0-rc.99b8626.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.99921a2.tgz +0 -0
|
@@ -93,16 +93,16 @@ 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.
|
|
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
97
|
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "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.
|
|
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
102
|
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "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.
|
|
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
106
|
$option: "role" | "event" | "placeOfEvent" | "notifiedIn" | "notifiedBy" | "declaredIn" | "declaredBy" | "registeredIn" | "registeredBy" | "accessLevel" | "ids";
|
|
107
107
|
};
|
|
108
108
|
};
|
|
@@ -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";
|
|
@@ -286,7 +285,6 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
286
285
|
"record.edit": "record.edit";
|
|
287
286
|
"record.reject": "record.reject";
|
|
288
287
|
"record.archive": "record.archive";
|
|
289
|
-
"record.unarchive": "record.unarchive";
|
|
290
288
|
"record.review-duplicates": "record.review-duplicates";
|
|
291
289
|
"record.register": "record.register";
|
|
292
290
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -442,7 +440,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
442
440
|
"record.edit": "record.edit";
|
|
443
441
|
"record.reject": "record.reject";
|
|
444
442
|
"record.archive": "record.archive";
|
|
445
|
-
"record.unarchive": "record.unarchive";
|
|
446
443
|
"record.review-duplicates": "record.review-duplicates";
|
|
447
444
|
"record.register": "record.register";
|
|
448
445
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -590,7 +587,6 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
590
587
|
"record.edit": "record.edit";
|
|
591
588
|
"record.reject": "record.reject";
|
|
592
589
|
"record.archive": "record.archive";
|
|
593
|
-
"record.unarchive": "record.unarchive";
|
|
594
590
|
"record.review-duplicates": "record.review-duplicates";
|
|
595
591
|
"record.register": "record.register";
|
|
596
592
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -749,7 +745,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
749
745
|
"record.edit": "record.edit";
|
|
750
746
|
"record.reject": "record.reject";
|
|
751
747
|
"record.archive": "record.archive";
|
|
752
|
-
"record.unarchive": "record.unarchive";
|
|
753
748
|
"record.review-duplicates": "record.review-duplicates";
|
|
754
749
|
"record.register": "record.register";
|
|
755
750
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -897,7 +892,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
897
892
|
"record.edit": "record.edit";
|
|
898
893
|
"record.reject": "record.reject";
|
|
899
894
|
"record.archive": "record.archive";
|
|
900
|
-
"record.unarchive": "record.unarchive";
|
|
901
895
|
"record.review-duplicates": "record.review-duplicates";
|
|
902
896
|
"record.register": "record.register";
|
|
903
897
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -1886,7 +1886,6 @@ declare const AdministrativeAreaField: z.ZodObject<{
|
|
|
1886
1886
|
"record.edit": "record.edit";
|
|
1887
1887
|
"record.reject": "record.reject";
|
|
1888
1888
|
"record.archive": "record.archive";
|
|
1889
|
-
"record.unarchive": "record.unarchive";
|
|
1890
1889
|
"record.review-duplicates": "record.review-duplicates";
|
|
1891
1890
|
"record.register": "record.register";
|
|
1892
1891
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2015,7 +2014,6 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2015
2014
|
"record.edit": "record.edit";
|
|
2016
2015
|
"record.reject": "record.reject";
|
|
2017
2016
|
"record.archive": "record.archive";
|
|
2018
|
-
"record.unarchive": "record.unarchive";
|
|
2019
2017
|
"record.review-duplicates": "record.review-duplicates";
|
|
2020
2018
|
"record.register": "record.register";
|
|
2021
2019
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2215,7 +2213,6 @@ declare const Facility: z.ZodObject<{
|
|
|
2215
2213
|
"record.edit": "record.edit";
|
|
2216
2214
|
"record.reject": "record.reject";
|
|
2217
2215
|
"record.archive": "record.archive";
|
|
2218
|
-
"record.unarchive": "record.unarchive";
|
|
2219
2216
|
"record.review-duplicates": "record.review-duplicates";
|
|
2220
2217
|
"record.register": "record.register";
|
|
2221
2218
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2330,7 +2327,6 @@ declare const Office: z.ZodObject<{
|
|
|
2330
2327
|
"record.edit": "record.edit";
|
|
2331
2328
|
"record.reject": "record.reject";
|
|
2332
2329
|
"record.archive": "record.archive";
|
|
2333
|
-
"record.unarchive": "record.unarchive";
|
|
2334
2330
|
"record.review-duplicates": "record.review-duplicates";
|
|
2335
2331
|
"record.register": "record.register";
|
|
2336
2332
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2531,7 +2527,6 @@ declare const Address: z.ZodObject<{
|
|
|
2531
2527
|
"record.edit": "record.edit";
|
|
2532
2528
|
"record.reject": "record.reject";
|
|
2533
2529
|
"record.archive": "record.archive";
|
|
2534
|
-
"record.unarchive": "record.unarchive";
|
|
2535
2530
|
"record.review-duplicates": "record.review-duplicates";
|
|
2536
2531
|
"record.register": "record.register";
|
|
2537
2532
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -659,7 +659,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
659
659
|
REJECT: "REJECT";
|
|
660
660
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
661
661
|
ARCHIVE: "ARCHIVE";
|
|
662
|
-
UNARCHIVE: "UNARCHIVE";
|
|
663
662
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
664
663
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
665
664
|
READ: "READ";
|
|
@@ -914,7 +913,6 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
|
|
|
914
913
|
REJECT: "REJECT";
|
|
915
914
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
916
915
|
ARCHIVE: "ARCHIVE";
|
|
917
|
-
UNARCHIVE: "UNARCHIVE";
|
|
918
916
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
919
917
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
920
918
|
READ: "READ";
|
|
@@ -935,7 +933,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
935
933
|
REJECT: "REJECT";
|
|
936
934
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
937
935
|
ARCHIVE: "ARCHIVE";
|
|
938
|
-
UNARCHIVE: "UNARCHIVE";
|
|
939
936
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
940
937
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
941
938
|
READ: "READ";
|
|
@@ -2324,7 +2321,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2324
2321
|
}[];
|
|
2325
2322
|
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
2326
2323
|
action?: {
|
|
2327
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "
|
|
2324
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2328
2325
|
} | undefined;
|
|
2329
2326
|
emptyMessage?: {
|
|
2330
2327
|
id: string;
|
|
@@ -2635,7 +2632,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2635
2632
|
}[];
|
|
2636
2633
|
icon: "File" | "Archived" | "Assigned" | "Briefcase" | "Certified" | "Close" | "Collapse" | "Draft" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "Registered" | "RequiresUpdates" | "Sent" | "Validated" | "WaitingApproval" | "ChartActivity" | "Activity" | "Archive" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "PenNib" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Stamp" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "ChatText" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
2637
2634
|
action?: {
|
|
2638
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "
|
|
2635
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2639
2636
|
} | undefined;
|
|
2640
2637
|
emptyMessage?: {
|
|
2641
2638
|
id: string;
|
|
@@ -20,7 +20,6 @@ export declare const ACTION_SCOPE_MAP: {
|
|
|
20
20
|
MARK_AS_DUPLICATE: "record.review-duplicates"[];
|
|
21
21
|
MARK_AS_NOT_DUPLICATE: "record.review-duplicates"[];
|
|
22
22
|
ARCHIVE: "record.archive"[];
|
|
23
|
-
UNARCHIVE: "record.unarchive"[];
|
|
24
23
|
REJECT: "record.reject"[];
|
|
25
24
|
ASSIGN: null;
|
|
26
25
|
UNASSIGN: null;
|