@opencrvs/toolkit 1.9.2 → 1.9.3-rc.0b3cc48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commons/api/router.d.ts +6 -1
- package/dist/commons/conditionals/conditionals.d.ts +44 -0
- package/dist/commons/conditionals/validate.d.ts +2 -1
- package/dist/commons/events/ActionConfig.d.ts +28 -0
- package/dist/commons/events/EventConfig.d.ts +25 -0
- package/dist/commons/events/FormConfig.d.ts +30 -0
- package/dist/commons/events/PageConfig.d.ts +6 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +8 -8
- package/dist/commons/events/defineConfig.d.ts +5 -0
- package/dist/commons/events/field.d.ts +110 -0
- package/dist/commons/events/utils.d.ts +9 -0
- package/dist/conditionals/index.js +65 -5
- package/dist/events/index.js +326 -10
- package/dist/notification/index.js +322 -8
- package/package.json +1 -1
|
@@ -73,6 +73,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
73
73
|
id: string;
|
|
74
74
|
title: import("../commons").TranslationConfig;
|
|
75
75
|
fields: import("../commons").FieldConfig[];
|
|
76
|
+
requireCompletionToContinue: boolean;
|
|
76
77
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
77
78
|
}[];
|
|
78
79
|
};
|
|
@@ -138,6 +139,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
138
139
|
id: string;
|
|
139
140
|
title: import("../commons").TranslationConfig;
|
|
140
141
|
fields: import("../commons").FieldConfig[];
|
|
142
|
+
requireCompletionToContinue: boolean;
|
|
141
143
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
142
144
|
} | {
|
|
143
145
|
type: "VERIFICATION";
|
|
@@ -156,6 +158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
156
158
|
};
|
|
157
159
|
};
|
|
158
160
|
fields: import("../commons").FieldConfig[];
|
|
161
|
+
requireCompletionToContinue: boolean;
|
|
159
162
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
160
163
|
})[];
|
|
161
164
|
};
|
|
@@ -169,6 +172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
169
172
|
id: string;
|
|
170
173
|
title: import("../commons").TranslationConfig;
|
|
171
174
|
fields: import("../commons").FieldConfig[];
|
|
175
|
+
requireCompletionToContinue: boolean;
|
|
172
176
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
173
177
|
} | {
|
|
174
178
|
type: "VERIFICATION";
|
|
@@ -187,6 +191,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
187
191
|
};
|
|
188
192
|
};
|
|
189
193
|
fields: import("../commons").FieldConfig[];
|
|
194
|
+
requireCompletionToContinue: boolean;
|
|
190
195
|
conditional?: import("../commons").JSONSchema | undefined;
|
|
191
196
|
})[];
|
|
192
197
|
};
|
|
@@ -4036,7 +4041,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4036
4041
|
} | undefined;
|
|
4037
4042
|
}[];
|
|
4038
4043
|
};
|
|
4039
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "
|
|
4044
|
+
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "IdentificationCard" | "Check" | "Assigned" | "Close" | "Collapse" | "DuplicateYellow" | "Expand" | "ExternalValidate" | "FilledCheck" | "InReview" | "Offline" | "RequiresUpdates" | "Sent" | "WaitingApproval" | "ChartActivity" | "Activity" | "ArchiveTray" | "ArrowLeft" | "ArrowRight" | "Buildings" | "Circle" | "CaretDown" | "CaretLeft" | "CaretRight" | "ChartBar" | "ChartLine" | "ChatCircle" | "CheckSquare" | "Compass" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MapPin" | "Medal" | "NotePencil" | "Paperclip" | "PaperPlaneTilt" | "Pen" | "Pencil" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "SignOut" | "Star" | "Target" | "TextT" | "Trash" | "UploadSimple" | "User" | "UserPlus" | "Users" | "WarningCircle" | "X" | "CircleWavyCheck" | "CircleWavyQuestion" | "ArchiveBox" | "ArrowCircleDown" | "FileArrowUp" | "FileDotted" | "Files" | "PencilLine" | "PencilCircle" | "UserCircle" | "Clock" | "QrCode" | "Webcam" | "Sun" | "DeviceTabletCamera" | "Globe" | "Fingerprint" | "PushPin" | "Timer";
|
|
4040
4045
|
slug: string;
|
|
4041
4046
|
columns: {
|
|
4042
4047
|
value: {
|
|
@@ -117,6 +117,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
117
117
|
days: (days: number) => {
|
|
118
118
|
inPast: () => JSONSchema;
|
|
119
119
|
inFuture: () => JSONSchema;
|
|
120
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
121
|
+
fromNow: () => JSONSchema;
|
|
120
122
|
};
|
|
121
123
|
date: (date: string | FieldReference) => JSONSchema;
|
|
122
124
|
now: () => JSONSchema;
|
|
@@ -125,6 +127,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
125
127
|
days: (days: number) => {
|
|
126
128
|
inPast: () => JSONSchema;
|
|
127
129
|
inFuture: () => JSONSchema;
|
|
130
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
131
|
+
fromNow: () => JSONSchema;
|
|
128
132
|
};
|
|
129
133
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
130
134
|
now: () => JSONSchema;
|
|
@@ -172,6 +176,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
172
176
|
days: (days: number) => {
|
|
173
177
|
inPast: () => JSONSchema;
|
|
174
178
|
inFuture: () => JSONSchema;
|
|
179
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
180
|
+
fromNow: () => JSONSchema;
|
|
175
181
|
};
|
|
176
182
|
date: (date: string | FieldReference) => JSONSchema;
|
|
177
183
|
now: () => JSONSchema;
|
|
@@ -180,6 +186,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
180
186
|
days: (days: number) => {
|
|
181
187
|
inPast: () => JSONSchema;
|
|
182
188
|
inFuture: () => JSONSchema;
|
|
189
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
190
|
+
fromNow: () => JSONSchema;
|
|
183
191
|
};
|
|
184
192
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
185
193
|
now: () => JSONSchema;
|
|
@@ -241,6 +249,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
241
249
|
days: (days: number) => {
|
|
242
250
|
inPast: () => JSONSchema;
|
|
243
251
|
inFuture: () => JSONSchema;
|
|
252
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
253
|
+
fromNow: () => JSONSchema;
|
|
244
254
|
};
|
|
245
255
|
date: (date: string | FieldReference) => JSONSchema;
|
|
246
256
|
now: () => JSONSchema;
|
|
@@ -249,6 +259,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
249
259
|
days: (days: number) => {
|
|
250
260
|
inPast: () => JSONSchema;
|
|
251
261
|
inFuture: () => JSONSchema;
|
|
262
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
263
|
+
fromNow: () => JSONSchema;
|
|
252
264
|
};
|
|
253
265
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
254
266
|
now: () => JSONSchema;
|
|
@@ -305,6 +317,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
305
317
|
days: (days: number) => {
|
|
306
318
|
inPast: () => JSONSchema;
|
|
307
319
|
inFuture: () => JSONSchema;
|
|
320
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
321
|
+
fromNow: () => JSONSchema;
|
|
308
322
|
};
|
|
309
323
|
date: (date: string | FieldReference) => JSONSchema;
|
|
310
324
|
now: () => JSONSchema;
|
|
@@ -313,6 +327,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
313
327
|
days: (days: number) => {
|
|
314
328
|
inPast: () => JSONSchema;
|
|
315
329
|
inFuture: () => JSONSchema;
|
|
330
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
331
|
+
fromNow: () => JSONSchema;
|
|
316
332
|
};
|
|
317
333
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
318
334
|
now: () => JSONSchema;
|
|
@@ -368,6 +384,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
368
384
|
days: (days: number) => {
|
|
369
385
|
inPast: () => JSONSchema;
|
|
370
386
|
inFuture: () => JSONSchema;
|
|
387
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
388
|
+
fromNow: () => JSONSchema;
|
|
371
389
|
};
|
|
372
390
|
date: (date: string | FieldReference) => JSONSchema;
|
|
373
391
|
now: () => JSONSchema;
|
|
@@ -376,6 +394,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
376
394
|
days: (days: number) => {
|
|
377
395
|
inPast: () => JSONSchema;
|
|
378
396
|
inFuture: () => JSONSchema;
|
|
397
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
398
|
+
fromNow: () => JSONSchema;
|
|
379
399
|
};
|
|
380
400
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
381
401
|
now: () => JSONSchema;
|
|
@@ -421,6 +441,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
421
441
|
days: (days: number) => {
|
|
422
442
|
inPast: () => JSONSchema;
|
|
423
443
|
inFuture: () => JSONSchema;
|
|
444
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
445
|
+
fromNow: () => JSONSchema;
|
|
424
446
|
};
|
|
425
447
|
date: (date: string | FieldReference) => JSONSchema;
|
|
426
448
|
now: () => JSONSchema;
|
|
@@ -429,6 +451,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
429
451
|
days: (days: number) => {
|
|
430
452
|
inPast: () => JSONSchema;
|
|
431
453
|
inFuture: () => JSONSchema;
|
|
454
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
455
|
+
fromNow: () => JSONSchema;
|
|
432
456
|
};
|
|
433
457
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
434
458
|
now: () => JSONSchema;
|
|
@@ -491,6 +515,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
491
515
|
days: (days: number) => {
|
|
492
516
|
inPast: () => JSONSchema;
|
|
493
517
|
inFuture: () => JSONSchema;
|
|
518
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
519
|
+
fromNow: () => JSONSchema;
|
|
494
520
|
};
|
|
495
521
|
date: (date: string | FieldReference) => JSONSchema;
|
|
496
522
|
now: () => JSONSchema;
|
|
@@ -499,6 +525,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
499
525
|
days: (days: number) => {
|
|
500
526
|
inPast: () => JSONSchema;
|
|
501
527
|
inFuture: () => JSONSchema;
|
|
528
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
529
|
+
fromNow: () => JSONSchema;
|
|
502
530
|
};
|
|
503
531
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
504
532
|
now: () => JSONSchema;
|
|
@@ -546,6 +574,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
546
574
|
days: (days: number) => {
|
|
547
575
|
inPast: () => JSONSchema;
|
|
548
576
|
inFuture: () => JSONSchema;
|
|
577
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
578
|
+
fromNow: () => JSONSchema;
|
|
549
579
|
};
|
|
550
580
|
date: (date: string | FieldReference) => JSONSchema;
|
|
551
581
|
now: () => JSONSchema;
|
|
@@ -554,6 +584,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
554
584
|
days: (days: number) => {
|
|
555
585
|
inPast: () => JSONSchema;
|
|
556
586
|
inFuture: () => JSONSchema;
|
|
587
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
588
|
+
fromNow: () => JSONSchema;
|
|
557
589
|
};
|
|
558
590
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
559
591
|
now: () => JSONSchema;
|
|
@@ -616,6 +648,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
616
648
|
days: (days: number) => {
|
|
617
649
|
inPast: () => JSONSchema;
|
|
618
650
|
inFuture: () => JSONSchema;
|
|
651
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
652
|
+
fromNow: () => JSONSchema;
|
|
619
653
|
};
|
|
620
654
|
date: (date: string | FieldReference) => JSONSchema;
|
|
621
655
|
now: () => JSONSchema;
|
|
@@ -624,6 +658,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
624
658
|
days: (days: number) => {
|
|
625
659
|
inPast: () => JSONSchema;
|
|
626
660
|
inFuture: () => JSONSchema;
|
|
661
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
662
|
+
fromNow: () => JSONSchema;
|
|
627
663
|
};
|
|
628
664
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
629
665
|
now: () => JSONSchema;
|
|
@@ -671,6 +707,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
671
707
|
days: (days: number) => {
|
|
672
708
|
inPast: () => JSONSchema;
|
|
673
709
|
inFuture: () => JSONSchema;
|
|
710
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
711
|
+
fromNow: () => JSONSchema;
|
|
674
712
|
};
|
|
675
713
|
date: (date: string | FieldReference) => JSONSchema;
|
|
676
714
|
now: () => JSONSchema;
|
|
@@ -679,6 +717,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
679
717
|
days: (days: number) => {
|
|
680
718
|
inPast: () => JSONSchema;
|
|
681
719
|
inFuture: () => JSONSchema;
|
|
720
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
721
|
+
fromNow: () => JSONSchema;
|
|
682
722
|
};
|
|
683
723
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
684
724
|
now: () => JSONSchema;
|
|
@@ -724,6 +764,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
724
764
|
days: (days: number) => {
|
|
725
765
|
inPast: () => JSONSchema;
|
|
726
766
|
inFuture: () => JSONSchema;
|
|
767
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
768
|
+
fromNow: () => JSONSchema;
|
|
727
769
|
};
|
|
728
770
|
date: (date: string | FieldReference) => JSONSchema;
|
|
729
771
|
now: () => JSONSchema;
|
|
@@ -732,6 +774,8 @@ export declare function createFieldConditionals(fieldId: string): {
|
|
|
732
774
|
days: (days: number) => {
|
|
733
775
|
inPast: () => JSONSchema;
|
|
734
776
|
inFuture: () => JSONSchema;
|
|
777
|
+
fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
778
|
+
fromNow: () => JSONSchema;
|
|
735
779
|
};
|
|
736
780
|
date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
|
|
737
781
|
now: () => JSONSchema;
|
|
@@ -6,7 +6,7 @@ import { FieldUpdateValue, FieldValue } from '../events/FieldValue';
|
|
|
6
6
|
import { TranslationConfig } from '../events/TranslationConfig';
|
|
7
7
|
import { ITokenPayload } from '../authentication';
|
|
8
8
|
import { UUID } from '../uuid';
|
|
9
|
-
import { ActionType } from '../client';
|
|
9
|
+
import { ActionType, EventDocument } from '../client';
|
|
10
10
|
export declare function validate(schema: JSONSchema, data: ConditionalParameters): boolean;
|
|
11
11
|
export declare function validateValue(schema: JSONSchema, data: unknown): boolean;
|
|
12
12
|
export declare function isOnline(): boolean;
|
|
@@ -17,6 +17,7 @@ export type ValidatorContext = {
|
|
|
17
17
|
leafAdminStructureLocationIds?: Array<{
|
|
18
18
|
id: UUID;
|
|
19
19
|
}>;
|
|
20
|
+
event?: EventDocument;
|
|
20
21
|
};
|
|
21
22
|
export declare function isFieldVisible(field: FieldConfig, form: Partial<ActionUpdate | EventState>, context: ValidatorContext): boolean;
|
|
22
23
|
export declare function isFieldEnabled(field: FieldConfig, form: ActionUpdate | EventState, context: ValidatorContext): boolean;
|
|
@@ -498,6 +498,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
498
498
|
description: string;
|
|
499
499
|
defaultMessage: string;
|
|
500
500
|
}>;
|
|
501
|
+
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
501
502
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
502
503
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
503
504
|
}, {
|
|
@@ -507,6 +508,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
507
508
|
id: string;
|
|
508
509
|
title: TranslationConfig;
|
|
509
510
|
fields: FieldConfig[];
|
|
511
|
+
requireCompletionToContinue: boolean;
|
|
510
512
|
conditional?: import(".").JSONSchema | undefined;
|
|
511
513
|
}, {
|
|
512
514
|
id: string;
|
|
@@ -518,6 +520,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
518
520
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
519
521
|
type?: "FORM" | undefined;
|
|
520
522
|
conditional?: import(".").JSONSchema | undefined;
|
|
523
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
521
524
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
522
525
|
id: z.ZodString;
|
|
523
526
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -525,6 +528,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
525
528
|
description: string;
|
|
526
529
|
defaultMessage: string;
|
|
527
530
|
}>;
|
|
531
|
+
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
528
532
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
529
533
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
530
534
|
}, {
|
|
@@ -660,6 +664,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
660
664
|
};
|
|
661
665
|
};
|
|
662
666
|
fields: FieldConfig[];
|
|
667
|
+
requireCompletionToContinue: boolean;
|
|
663
668
|
conditional?: import(".").JSONSchema | undefined;
|
|
664
669
|
}, {
|
|
665
670
|
type: "VERIFICATION";
|
|
@@ -699,6 +704,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
699
704
|
};
|
|
700
705
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
701
706
|
conditional?: import(".").JSONSchema | undefined;
|
|
707
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
702
708
|
}>)[]>, "many">;
|
|
703
709
|
}, "strip", z.ZodTypeAny, {
|
|
704
710
|
label: TranslationConfig;
|
|
@@ -707,6 +713,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
707
713
|
id: string;
|
|
708
714
|
title: TranslationConfig;
|
|
709
715
|
fields: FieldConfig[];
|
|
716
|
+
requireCompletionToContinue: boolean;
|
|
710
717
|
conditional?: import(".").JSONSchema | undefined;
|
|
711
718
|
} | {
|
|
712
719
|
type: "VERIFICATION";
|
|
@@ -725,6 +732,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
725
732
|
};
|
|
726
733
|
};
|
|
727
734
|
fields: FieldConfig[];
|
|
735
|
+
requireCompletionToContinue: boolean;
|
|
728
736
|
conditional?: import(".").JSONSchema | undefined;
|
|
729
737
|
})[];
|
|
730
738
|
}, {
|
|
@@ -743,6 +751,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
743
751
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
744
752
|
type?: "FORM" | undefined;
|
|
745
753
|
conditional?: import(".").JSONSchema | undefined;
|
|
754
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
746
755
|
} | {
|
|
747
756
|
type: "VERIFICATION";
|
|
748
757
|
id: string;
|
|
@@ -781,6 +790,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
781
790
|
};
|
|
782
791
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
783
792
|
conditional?: import(".").JSONSchema | undefined;
|
|
793
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
784
794
|
})[];
|
|
785
795
|
}>;
|
|
786
796
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -793,6 +803,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
793
803
|
id: string;
|
|
794
804
|
title: TranslationConfig;
|
|
795
805
|
fields: FieldConfig[];
|
|
806
|
+
requireCompletionToContinue: boolean;
|
|
796
807
|
conditional?: import(".").JSONSchema | undefined;
|
|
797
808
|
} | {
|
|
798
809
|
type: "VERIFICATION";
|
|
@@ -811,6 +822,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
811
822
|
};
|
|
812
823
|
};
|
|
813
824
|
fields: FieldConfig[];
|
|
825
|
+
requireCompletionToContinue: boolean;
|
|
814
826
|
conditional?: import(".").JSONSchema | undefined;
|
|
815
827
|
})[];
|
|
816
828
|
};
|
|
@@ -837,6 +849,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
837
849
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
838
850
|
type?: "FORM" | undefined;
|
|
839
851
|
conditional?: import(".").JSONSchema | undefined;
|
|
852
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
840
853
|
} | {
|
|
841
854
|
type: "VERIFICATION";
|
|
842
855
|
id: string;
|
|
@@ -875,6 +888,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
|
|
|
875
888
|
};
|
|
876
889
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
877
890
|
conditional?: import(".").JSONSchema | undefined;
|
|
891
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
878
892
|
})[];
|
|
879
893
|
};
|
|
880
894
|
}>;
|
|
@@ -899,6 +913,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
899
913
|
description: string;
|
|
900
914
|
defaultMessage: string;
|
|
901
915
|
}>;
|
|
916
|
+
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
902
917
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
903
918
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
904
919
|
}, {
|
|
@@ -908,6 +923,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
908
923
|
id: string;
|
|
909
924
|
title: TranslationConfig;
|
|
910
925
|
fields: FieldConfig[];
|
|
926
|
+
requireCompletionToContinue: boolean;
|
|
911
927
|
conditional?: import(".").JSONSchema | undefined;
|
|
912
928
|
}, {
|
|
913
929
|
id: string;
|
|
@@ -919,6 +935,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
919
935
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
920
936
|
type?: "FORM" | undefined;
|
|
921
937
|
conditional?: import(".").JSONSchema | undefined;
|
|
938
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
922
939
|
}> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
923
940
|
id: z.ZodString;
|
|
924
941
|
title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
|
@@ -926,6 +943,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
926
943
|
description: string;
|
|
927
944
|
defaultMessage: string;
|
|
928
945
|
}>;
|
|
946
|
+
requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
|
|
929
947
|
fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
|
|
930
948
|
conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
|
|
931
949
|
}, {
|
|
@@ -1061,6 +1079,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1061
1079
|
};
|
|
1062
1080
|
};
|
|
1063
1081
|
fields: FieldConfig[];
|
|
1082
|
+
requireCompletionToContinue: boolean;
|
|
1064
1083
|
conditional?: import(".").JSONSchema | undefined;
|
|
1065
1084
|
}, {
|
|
1066
1085
|
type: "VERIFICATION";
|
|
@@ -1100,6 +1119,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1100
1119
|
};
|
|
1101
1120
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1102
1121
|
conditional?: import(".").JSONSchema | undefined;
|
|
1122
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
1103
1123
|
}>)[]>, "many">;
|
|
1104
1124
|
}, "strip", z.ZodTypeAny, {
|
|
1105
1125
|
label: TranslationConfig;
|
|
@@ -1108,6 +1128,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1108
1128
|
id: string;
|
|
1109
1129
|
title: TranslationConfig;
|
|
1110
1130
|
fields: FieldConfig[];
|
|
1131
|
+
requireCompletionToContinue: boolean;
|
|
1111
1132
|
conditional?: import(".").JSONSchema | undefined;
|
|
1112
1133
|
} | {
|
|
1113
1134
|
type: "VERIFICATION";
|
|
@@ -1126,6 +1147,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1126
1147
|
};
|
|
1127
1148
|
};
|
|
1128
1149
|
fields: FieldConfig[];
|
|
1150
|
+
requireCompletionToContinue: boolean;
|
|
1129
1151
|
conditional?: import(".").JSONSchema | undefined;
|
|
1130
1152
|
})[];
|
|
1131
1153
|
}, {
|
|
@@ -1144,6 +1166,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1144
1166
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1145
1167
|
type?: "FORM" | undefined;
|
|
1146
1168
|
conditional?: import(".").JSONSchema | undefined;
|
|
1169
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
1147
1170
|
} | {
|
|
1148
1171
|
type: "VERIFICATION";
|
|
1149
1172
|
id: string;
|
|
@@ -1182,6 +1205,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1182
1205
|
};
|
|
1183
1206
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1184
1207
|
conditional?: import(".").JSONSchema | undefined;
|
|
1208
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
1185
1209
|
})[];
|
|
1186
1210
|
}>;
|
|
1187
1211
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -1194,6 +1218,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1194
1218
|
id: string;
|
|
1195
1219
|
title: TranslationConfig;
|
|
1196
1220
|
fields: FieldConfig[];
|
|
1221
|
+
requireCompletionToContinue: boolean;
|
|
1197
1222
|
conditional?: import(".").JSONSchema | undefined;
|
|
1198
1223
|
} | {
|
|
1199
1224
|
type: "VERIFICATION";
|
|
@@ -1212,6 +1237,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1212
1237
|
};
|
|
1213
1238
|
};
|
|
1214
1239
|
fields: FieldConfig[];
|
|
1240
|
+
requireCompletionToContinue: boolean;
|
|
1215
1241
|
conditional?: import(".").JSONSchema | undefined;
|
|
1216
1242
|
})[];
|
|
1217
1243
|
};
|
|
@@ -1238,6 +1264,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1238
1264
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1239
1265
|
type?: "FORM" | undefined;
|
|
1240
1266
|
conditional?: import(".").JSONSchema | undefined;
|
|
1267
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
1241
1268
|
} | {
|
|
1242
1269
|
type: "VERIFICATION";
|
|
1243
1270
|
id: string;
|
|
@@ -1276,6 +1303,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1276
1303
|
};
|
|
1277
1304
|
fields: import("./FieldConfig").FieldConfigInput[];
|
|
1278
1305
|
conditional?: import(".").JSONSchema | undefined;
|
|
1306
|
+
requireCompletionToContinue?: boolean | undefined;
|
|
1279
1307
|
})[];
|
|
1280
1308
|
};
|
|
1281
1309
|
}>;
|