@opencrvs/toolkit 2.1.0-rc.b0003b1 → 2.1.0-rc.b8f206f
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 +12 -0
- package/dist/cli.js +165 -5106
- package/dist/commons/api/router.d.ts +723 -130
- package/dist/commons/conditionals/conditionals.d.ts +1589 -37
- package/dist/commons/events/ActionConfig.d.ts +209 -0
- package/dist/commons/events/ActionDocument.d.ts +44 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/ActionType.d.ts +6 -1
- package/dist/commons/events/AdvancedSearchConfig.d.ts +6 -0
- package/dist/commons/events/AuditLog.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +2 -0
- package/dist/commons/events/EventDocument.d.ts +22 -0
- package/dist/commons/events/FieldConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +5 -2
- package/dist/commons/events/field.d.ts +722 -34
- package/dist/commons/events/scopes.d.ts +1 -0
- package/dist/commons/events/test.utils.d.ts +9 -1
- package/dist/commons/events/utils.d.ts +23 -1
- package/dist/conditionals/index.js +2 -0
- package/dist/environment/logger.d.ts +3 -12
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +17 -7
- package/dist/environment/swarm-to-k8s.js +17 -7
- package/dist/environment/update-workflows.js +17 -7
- package/dist/environment/users.js +17 -7
- package/dist/environment/utils.js +17 -7
- package/dist/events/index.js +195 -30
- package/dist/migrations/v2.0/convert-config-files-to-ts.js +17 -7
- package/dist/migrations/v2.0/index.js +88 -5144
- package/dist/migrations/v2.0/remove-hearth-migrations.js +17 -7
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts +3 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-explicit-correction-flags.js +234 -0
- package/dist/migrations/v2.1/index.d.ts +6 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -0
- package/dist/migrations/v2.1/index.js +218 -0
- package/dist/notification/index.js +146 -22
- package/dist/scopes/index.d.ts +7 -1
- package/dist/scopes/index.js +2 -0
- package/opencrvs-toolkit-2.1.0-rc.b8f206f.tgz +0 -0
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/opencrvs-toolkit-2.1.0-rc.b0003b1.tgz +0 -0
|
@@ -85,6 +85,58 @@ 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">;
|
|
88
140
|
}, z.core.$strip>, z.ZodObject<{
|
|
89
141
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
90
142
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -111,6 +163,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
111
163
|
conditional: z.ZodAny;
|
|
112
164
|
}, z.core.$strip>], "type">>>;
|
|
113
165
|
type: z.ZodLiteral<"NOTIFY">;
|
|
166
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
114
167
|
}, z.core.$strip>, z.ZodObject<{
|
|
115
168
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
116
169
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -146,11 +199,84 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
146
199
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
147
200
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
148
201
|
}, z.core.$strip>;
|
|
202
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
149
203
|
dialogCopy: z.ZodOptional<z.ZodObject<{
|
|
150
204
|
notify: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
151
205
|
declare: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
152
206
|
register: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
153
207
|
}, z.core.$strip>>;
|
|
208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
209
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
211
|
+
readonly INCOMPLETE: "incomplete";
|
|
212
|
+
readonly REJECTED: "rejected";
|
|
213
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
214
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
215
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
216
|
+
}>]>, z.ZodString]>;
|
|
217
|
+
operation: z.ZodEnum<{
|
|
218
|
+
add: "add";
|
|
219
|
+
remove: "remove";
|
|
220
|
+
}>;
|
|
221
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
222
|
+
}, z.core.$strip>>>>;
|
|
223
|
+
type: z.ZodLiteral<"DUPLICATE_DETECTED">;
|
|
224
|
+
label: z.ZodOptional<z.ZodNever>;
|
|
225
|
+
supportingCopy: z.ZodOptional<z.ZodNever>;
|
|
226
|
+
icon: z.ZodOptional<z.ZodNever>;
|
|
227
|
+
conditionals: z.ZodOptional<z.ZodNever>;
|
|
228
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
229
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
230
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
231
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
232
|
+
readonly INCOMPLETE: "incomplete";
|
|
233
|
+
readonly REJECTED: "rejected";
|
|
234
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
235
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
236
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
237
|
+
}>]>, z.ZodString]>;
|
|
238
|
+
operation: z.ZodEnum<{
|
|
239
|
+
add: "add";
|
|
240
|
+
remove: "remove";
|
|
241
|
+
}>;
|
|
242
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
243
|
+
}, z.core.$strip>>>>;
|
|
244
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
245
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
246
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
247
|
+
type: z.ZodLiteral<"SHOW">;
|
|
248
|
+
conditional: z.ZodAny;
|
|
249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
250
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
251
|
+
conditional: z.ZodAny;
|
|
252
|
+
}, z.core.$strip>], "type">>>;
|
|
253
|
+
type: z.ZodLiteral<"MARK_AS_DUPLICATE">;
|
|
254
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
255
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
256
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
258
|
+
readonly INCOMPLETE: "incomplete";
|
|
259
|
+
readonly REJECTED: "rejected";
|
|
260
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
261
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
262
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
263
|
+
}>]>, z.ZodString]>;
|
|
264
|
+
operation: z.ZodEnum<{
|
|
265
|
+
add: "add";
|
|
266
|
+
remove: "remove";
|
|
267
|
+
}>;
|
|
268
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
269
|
+
}, z.core.$strip>>>>;
|
|
270
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
271
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
272
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
273
|
+
type: z.ZodLiteral<"SHOW">;
|
|
274
|
+
conditional: z.ZodAny;
|
|
275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
276
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
277
|
+
conditional: z.ZodAny;
|
|
278
|
+
}, z.core.$strip>], "type">>>;
|
|
279
|
+
type: z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">;
|
|
154
280
|
}, z.core.$strip>, z.ZodObject<{
|
|
155
281
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
156
282
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -177,6 +303,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
177
303
|
conditional: z.ZodAny;
|
|
178
304
|
}, z.core.$strip>], "type">>>;
|
|
179
305
|
type: z.ZodLiteral<"REJECT">;
|
|
306
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
180
307
|
}, z.core.$strip>, z.ZodObject<{
|
|
181
308
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
182
309
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -208,6 +335,7 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
208
335
|
query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput, z.core.$ZodTypeInternals<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput>>;
|
|
209
336
|
}, z.core.$strip>>;
|
|
210
337
|
type: z.ZodLiteral<"REGISTER">;
|
|
338
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
211
339
|
}, z.core.$strip>, z.ZodObject<{
|
|
212
340
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
213
341
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -320,6 +448,58 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
320
448
|
}, z.core.$strip>;
|
|
321
449
|
}, z.core.$strip>], "type">>;
|
|
322
450
|
}, z.core.$strip>;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
453
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
454
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
455
|
+
readonly INCOMPLETE: "incomplete";
|
|
456
|
+
readonly REJECTED: "rejected";
|
|
457
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
458
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
459
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
460
|
+
}>]>, z.ZodString]>;
|
|
461
|
+
operation: z.ZodEnum<{
|
|
462
|
+
add: "add";
|
|
463
|
+
remove: "remove";
|
|
464
|
+
}>;
|
|
465
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
466
|
+
}, z.core.$strip>>>>;
|
|
467
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
468
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
469
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
470
|
+
type: z.ZodLiteral<"SHOW">;
|
|
471
|
+
conditional: z.ZodAny;
|
|
472
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
474
|
+
conditional: z.ZodAny;
|
|
475
|
+
}, z.core.$strip>], "type">>>;
|
|
476
|
+
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
|
477
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
478
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
479
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
480
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
481
|
+
readonly INCOMPLETE: "incomplete";
|
|
482
|
+
readonly REJECTED: "rejected";
|
|
483
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
484
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
485
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
486
|
+
}>]>, z.ZodString]>;
|
|
487
|
+
operation: z.ZodEnum<{
|
|
488
|
+
add: "add";
|
|
489
|
+
remove: "remove";
|
|
490
|
+
}>;
|
|
491
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
492
|
+
}, z.core.$strip>>>>;
|
|
493
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
494
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
495
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
496
|
+
type: z.ZodLiteral<"SHOW">;
|
|
497
|
+
conditional: z.ZodAny;
|
|
498
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
499
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
500
|
+
conditional: z.ZodAny;
|
|
501
|
+
}, z.core.$strip>], "type">>>;
|
|
502
|
+
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
|
323
503
|
}, z.core.$strip>, z.ZodObject<{
|
|
324
504
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
325
505
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -377,6 +557,33 @@ export declare const ActionConfig: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
377
557
|
conditional: z.ZodAny;
|
|
378
558
|
}, z.core.$strip>], "type">>>;
|
|
379
559
|
type: z.ZodLiteral<"ARCHIVE">;
|
|
560
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
561
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
562
|
+
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
563
|
+
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
564
|
+
id: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
565
|
+
readonly INCOMPLETE: "incomplete";
|
|
566
|
+
readonly REJECTED: "rejected";
|
|
567
|
+
readonly CORRECTION_REQUESTED: "correction-requested";
|
|
568
|
+
readonly POTENTIAL_DUPLICATE: "potential-duplicate";
|
|
569
|
+
readonly EDIT_IN_PROGRESS: "edit-in-progress";
|
|
570
|
+
}>]>, z.ZodString]>;
|
|
571
|
+
operation: z.ZodEnum<{
|
|
572
|
+
add: "add";
|
|
573
|
+
remove: "remove";
|
|
574
|
+
}>;
|
|
575
|
+
conditional: z.ZodOptional<z.ZodAny>;
|
|
576
|
+
}, z.core.$strip>>>>;
|
|
577
|
+
supportingCopy: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
578
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
579
|
+
conditionals: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
580
|
+
type: z.ZodLiteral<"SHOW">;
|
|
581
|
+
conditional: z.ZodAny;
|
|
582
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
583
|
+
type: z.ZodLiteral<"ENABLE">;
|
|
584
|
+
conditional: z.ZodAny;
|
|
585
|
+
}, z.core.$strip>], "type">>>;
|
|
586
|
+
type: z.ZodLiteral<"UNARCHIVE">;
|
|
380
587
|
}, z.core.$strip>, z.ZodObject<{
|
|
381
588
|
label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
382
589
|
flags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -453,6 +660,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
453
660
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
454
661
|
fields: z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>;
|
|
455
662
|
}, z.core.$strip>;
|
|
663
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
456
664
|
dialogCopy: z.ZodOptional<z.ZodObject<{
|
|
457
665
|
notify: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
458
666
|
declare: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
@@ -489,6 +697,7 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<[z.ZodObje
|
|
|
489
697
|
query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput, z.core.$ZodTypeInternals<import("./DeduplicationConfig").ClauseOutput, import("./DeduplicationConfig").ClauseInput>>;
|
|
490
698
|
}, z.core.$strip>>;
|
|
491
699
|
type: z.ZodLiteral<"REGISTER">;
|
|
700
|
+
form: z.ZodOptional<z.ZodArray<z.ZodType<FieldConfig, import("./FieldConfig").FieldConfigInput, z.core.$ZodTypeInternals<FieldConfig, import("./FieldConfig").FieldConfigInput>>>>;
|
|
492
701
|
}, z.core.$strip>], "type">;
|
|
493
702
|
export type DeclarationActionConfig = z.infer<typeof DeclarationActionConfig>;
|
|
494
703
|
export {};
|
|
@@ -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;
|
|
@@ -680,6 +701,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<{
|
|
|
680
701
|
EDIT: "EDIT";
|
|
681
702
|
REJECT: "REJECT";
|
|
682
703
|
ARCHIVE: "ARCHIVE";
|
|
704
|
+
UNARCHIVE: "UNARCHIVE";
|
|
683
705
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
684
706
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
685
707
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -829,6 +851,27 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
829
851
|
content: z.ZodObject<{
|
|
830
852
|
reason: z.ZodString;
|
|
831
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">;
|
|
832
875
|
}, z.core.$strip>, z.ZodObject<{
|
|
833
876
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
834
877
|
transactionId: z.ZodString;
|
|
@@ -1119,6 +1162,7 @@ export declare const Action: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zod
|
|
|
1119
1162
|
EDIT: "EDIT";
|
|
1120
1163
|
REJECT: "REJECT";
|
|
1121
1164
|
ARCHIVE: "ARCHIVE";
|
|
1165
|
+
UNARCHIVE: "UNARCHIVE";
|
|
1122
1166
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
1123
1167
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
1124
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;
|
|
@@ -416,6 +430,18 @@ export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
416
430
|
content: z.ZodObject<{
|
|
417
431
|
reason: z.ZodString;
|
|
418
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">>;
|
|
419
445
|
}, z.core.$strip>, z.ZodObject<{
|
|
420
446
|
eventId: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
421
447
|
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";
|
|
@@ -106,6 +106,7 @@ 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";
|
|
109
110
|
"record.review-duplicates": "record.review-duplicates";
|
|
110
111
|
"record.register": "record.register";
|
|
111
112
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -285,6 +286,7 @@ export declare const EventFieldConfigSchema: z.ZodObject<{
|
|
|
285
286
|
"record.edit": "record.edit";
|
|
286
287
|
"record.reject": "record.reject";
|
|
287
288
|
"record.archive": "record.archive";
|
|
289
|
+
"record.unarchive": "record.unarchive";
|
|
288
290
|
"record.review-duplicates": "record.review-duplicates";
|
|
289
291
|
"record.register": "record.register";
|
|
290
292
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -440,6 +442,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
440
442
|
"record.edit": "record.edit";
|
|
441
443
|
"record.reject": "record.reject";
|
|
442
444
|
"record.archive": "record.archive";
|
|
445
|
+
"record.unarchive": "record.unarchive";
|
|
443
446
|
"record.review-duplicates": "record.review-duplicates";
|
|
444
447
|
"record.register": "record.register";
|
|
445
448
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -587,6 +590,7 @@ export declare const AdvancedSearchField: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
587
590
|
"record.edit": "record.edit";
|
|
588
591
|
"record.reject": "record.reject";
|
|
589
592
|
"record.archive": "record.archive";
|
|
593
|
+
"record.unarchive": "record.unarchive";
|
|
590
594
|
"record.review-duplicates": "record.review-duplicates";
|
|
591
595
|
"record.register": "record.register";
|
|
592
596
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -745,6 +749,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
745
749
|
"record.edit": "record.edit";
|
|
746
750
|
"record.reject": "record.reject";
|
|
747
751
|
"record.archive": "record.archive";
|
|
752
|
+
"record.unarchive": "record.unarchive";
|
|
748
753
|
"record.review-duplicates": "record.review-duplicates";
|
|
749
754
|
"record.register": "record.register";
|
|
750
755
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -892,6 +897,7 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
|
892
897
|
"record.edit": "record.edit";
|
|
893
898
|
"record.reject": "record.reject";
|
|
894
899
|
"record.archive": "record.archive";
|
|
900
|
+
"record.unarchive": "record.unarchive";
|
|
895
901
|
"record.review-duplicates": "record.review-duplicates";
|
|
896
902
|
"record.register": "record.register";
|
|
897
903
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -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";
|
|
@@ -17,6 +17,7 @@ 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";
|
|
20
21
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
21
22
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
22
23
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -66,6 +67,7 @@ export declare const DraftInput: z.ZodObject<{
|
|
|
66
67
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
67
68
|
MARK_AS_NOT_DUPLICATE: "MARK_AS_NOT_DUPLICATE";
|
|
68
69
|
ARCHIVE: "ARCHIVE";
|
|
70
|
+
UNARCHIVE: "UNARCHIVE";
|
|
69
71
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
70
72
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
71
73
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -145,6 +145,27 @@ 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">;
|
|
148
169
|
}, z.core.$strip>, z.ZodObject<{
|
|
149
170
|
id: z.core.$ZodBranded<z.ZodUUID, "UUID", "out">;
|
|
150
171
|
transactionId: z.ZodString;
|
|
@@ -435,6 +456,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
|
435
456
|
EDIT: "EDIT";
|
|
436
457
|
REJECT: "REJECT";
|
|
437
458
|
ARCHIVE: "ARCHIVE";
|
|
459
|
+
UNARCHIVE: "UNARCHIVE";
|
|
438
460
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
439
461
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
440
462
|
REJECT_CORRECTION: "REJECT_CORRECTION";
|
|
@@ -1886,6 +1886,7 @@ 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";
|
|
1889
1890
|
"record.review-duplicates": "record.review-duplicates";
|
|
1890
1891
|
"record.register": "record.register";
|
|
1891
1892
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2014,6 +2015,7 @@ declare const LocationInput: z.ZodObject<{
|
|
|
2014
2015
|
"record.edit": "record.edit";
|
|
2015
2016
|
"record.reject": "record.reject";
|
|
2016
2017
|
"record.archive": "record.archive";
|
|
2018
|
+
"record.unarchive": "record.unarchive";
|
|
2017
2019
|
"record.review-duplicates": "record.review-duplicates";
|
|
2018
2020
|
"record.register": "record.register";
|
|
2019
2021
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2213,6 +2215,7 @@ declare const Facility: z.ZodObject<{
|
|
|
2213
2215
|
"record.edit": "record.edit";
|
|
2214
2216
|
"record.reject": "record.reject";
|
|
2215
2217
|
"record.archive": "record.archive";
|
|
2218
|
+
"record.unarchive": "record.unarchive";
|
|
2216
2219
|
"record.review-duplicates": "record.review-duplicates";
|
|
2217
2220
|
"record.register": "record.register";
|
|
2218
2221
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2327,6 +2330,7 @@ declare const Office: z.ZodObject<{
|
|
|
2327
2330
|
"record.edit": "record.edit";
|
|
2328
2331
|
"record.reject": "record.reject";
|
|
2329
2332
|
"record.archive": "record.archive";
|
|
2333
|
+
"record.unarchive": "record.unarchive";
|
|
2330
2334
|
"record.review-duplicates": "record.review-duplicates";
|
|
2331
2335
|
"record.register": "record.register";
|
|
2332
2336
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -2527,6 +2531,7 @@ declare const Address: z.ZodObject<{
|
|
|
2527
2531
|
"record.edit": "record.edit";
|
|
2528
2532
|
"record.reject": "record.reject";
|
|
2529
2533
|
"record.archive": "record.archive";
|
|
2534
|
+
"record.unarchive": "record.unarchive";
|
|
2530
2535
|
"record.review-duplicates": "record.review-duplicates";
|
|
2531
2536
|
"record.register": "record.register";
|
|
2532
2537
|
"record.print-certified-copies": "record.print-certified-copies";
|
|
@@ -659,6 +659,7 @@ 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";
|
|
662
663
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
663
664
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
664
665
|
READ: "READ";
|
|
@@ -913,6 +914,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
|
|
|
913
914
|
REJECT: "REJECT";
|
|
914
915
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
915
916
|
ARCHIVE: "ARCHIVE";
|
|
917
|
+
UNARCHIVE: "UNARCHIVE";
|
|
916
918
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
917
919
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
918
920
|
READ: "READ";
|
|
@@ -933,6 +935,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
933
935
|
REJECT: "REJECT";
|
|
934
936
|
MARK_AS_DUPLICATE: "MARK_AS_DUPLICATE";
|
|
935
937
|
ARCHIVE: "ARCHIVE";
|
|
938
|
+
UNARCHIVE: "UNARCHIVE";
|
|
936
939
|
PRINT_CERTIFICATE: "PRINT_CERTIFICATE";
|
|
937
940
|
REQUEST_CORRECTION: "REQUEST_CORRECTION";
|
|
938
941
|
READ: "READ";
|
|
@@ -2321,7 +2324,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2321
2324
|
}[];
|
|
2322
2325
|
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";
|
|
2323
2326
|
action?: {
|
|
2324
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2327
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2325
2328
|
} | undefined;
|
|
2326
2329
|
emptyMessage?: {
|
|
2327
2330
|
id: string;
|
|
@@ -2632,7 +2635,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2632
2635
|
}[];
|
|
2633
2636
|
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";
|
|
2634
2637
|
action?: {
|
|
2635
|
-
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2638
|
+
type: "DELETE" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "UNARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ";
|
|
2636
2639
|
} | undefined;
|
|
2637
2640
|
emptyMessage?: {
|
|
2638
2641
|
id: string;
|