@opencrvs/toolkit 1.9.3-rc.8e41e94 → 1.9.3-rc.8e8ac6e
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 +3 -3
- package/dist/commons/events/AdvancedSearchConfig.d.ts +24 -30
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -22
- package/dist/commons/events/EventConfig.d.ts +20 -22
- package/dist/commons/events/FieldConfig.d.ts +2 -284
- package/dist/commons/events/FieldType.d.ts +1 -2
- package/dist/commons/events/FieldTypeMapping.d.ts +3 -88
- package/dist/commons/events/FieldValue.d.ts +4 -52
- package/dist/commons/events/WorkqueueConfig.d.ts +8 -8
- package/dist/commons/events/defineConfig.d.ts +2 -2
- package/dist/commons/events/utils.d.ts +2 -14
- package/dist/events/index.js +1 -256
- package/dist/notification/index.js +1 -241
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, LocationInput, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField,
|
|
3
|
-
import { FieldValue, DataFieldValue, DateRangeFieldValue, SelectDateRangeValue, VerificationStatusValue, AgeValue
|
|
2
|
+
import { AddressField, AdministrativeArea, BulletList, Checkbox, Country, DateField, Divider, Facility, EmailField, FieldConfig, File, FileUploadWithOptions, LocationInput, Office, PageHeader, Paragraph, RadioGroup, SelectField, SignatureField, TextAreaField, TextField, NumberField, DataField, NameField, PhoneField, IdField, DateRangeField, SelectDateRangeField, TimeField, AlphaPrintButton, HttpField, SearchField, ButtonField, LinkButtonField, VerificationStatus, QueryParamReaderField, QrReaderField, IdReaderField, LoaderField, AgeField } from './FieldConfig';
|
|
3
|
+
import { FieldValue, DataFieldValue, DateRangeFieldValue, SelectDateRangeValue, VerificationStatusValue, AgeValue } from './FieldValue';
|
|
4
4
|
import { FullDocumentPath } from '../documents';
|
|
5
|
-
import { AddressFieldValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue
|
|
5
|
+
import { AddressFieldValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue } from './CompositeFieldValue';
|
|
6
6
|
import { ActionType } from './ActionType';
|
|
7
7
|
/**
|
|
8
8
|
* Mapping of field types to Zod schema.
|
|
@@ -229,24 +229,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
229
229
|
data?: any;
|
|
230
230
|
}, {
|
|
231
231
|
data?: any;
|
|
232
|
-
}>>> | z.ZodObject<{
|
|
233
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
234
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
numericValue?: number | undefined;
|
|
237
|
-
unit?: string | undefined;
|
|
238
|
-
}, {
|
|
239
|
-
numericValue?: number | undefined;
|
|
240
|
-
unit?: string | undefined;
|
|
241
|
-
}> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
242
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
243
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
244
|
-
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
numericValue?: number | undefined;
|
|
246
|
-
unit?: string | undefined;
|
|
247
|
-
}, {
|
|
248
|
-
numericValue?: number | undefined;
|
|
249
|
-
unit?: string | undefined;
|
|
250
232
|
}>>> | z.ZodObject<{
|
|
251
233
|
age: z.ZodNumber;
|
|
252
234
|
asOfDateRef: z.ZodString;
|
|
@@ -427,24 +409,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
427
409
|
data?: any;
|
|
428
410
|
}, {
|
|
429
411
|
data?: any;
|
|
430
|
-
}>, z.ZodObject<{
|
|
431
|
-
numericValue: z.ZodNumber;
|
|
432
|
-
unit: z.ZodString;
|
|
433
|
-
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
numericValue: number;
|
|
435
|
-
unit: string;
|
|
436
|
-
}, {
|
|
437
|
-
numericValue: number;
|
|
438
|
-
unit: string;
|
|
439
|
-
}>, z.ZodObject<{
|
|
440
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
441
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
442
|
-
}, "strip", z.ZodTypeAny, {
|
|
443
|
-
numericValue?: number | undefined;
|
|
444
|
-
unit?: string | undefined;
|
|
445
|
-
}, {
|
|
446
|
-
numericValue?: number | undefined;
|
|
447
|
-
unit?: string | undefined;
|
|
448
412
|
}>]>>;
|
|
449
413
|
}, "strip", z.ZodTypeAny, {
|
|
450
414
|
data: Record<string, string | number | boolean | {
|
|
@@ -484,12 +448,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
484
448
|
data: Record<string, string>;
|
|
485
449
|
} | {
|
|
486
450
|
data?: any;
|
|
487
|
-
} | {
|
|
488
|
-
numericValue: number;
|
|
489
|
-
unit: string;
|
|
490
|
-
} | {
|
|
491
|
-
numericValue?: number | undefined;
|
|
492
|
-
unit?: string | undefined;
|
|
493
451
|
} | {
|
|
494
452
|
age: number;
|
|
495
453
|
asOfDateRef: string;
|
|
@@ -535,12 +493,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
535
493
|
data: Record<string, string>;
|
|
536
494
|
} | {
|
|
537
495
|
data?: any;
|
|
538
|
-
} | {
|
|
539
|
-
numericValue: number;
|
|
540
|
-
unit: string;
|
|
541
|
-
} | {
|
|
542
|
-
numericValue?: number | undefined;
|
|
543
|
-
unit?: string | undefined;
|
|
544
496
|
} | {
|
|
545
497
|
age: number;
|
|
546
498
|
asOfDateRef: string;
|
|
@@ -692,24 +644,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
692
644
|
data?: any;
|
|
693
645
|
}, {
|
|
694
646
|
data?: any;
|
|
695
|
-
}>, z.ZodObject<{
|
|
696
|
-
numericValue: z.ZodNumber;
|
|
697
|
-
unit: z.ZodString;
|
|
698
|
-
}, "strip", z.ZodTypeAny, {
|
|
699
|
-
numericValue: number;
|
|
700
|
-
unit: string;
|
|
701
|
-
}, {
|
|
702
|
-
numericValue: number;
|
|
703
|
-
unit: string;
|
|
704
|
-
}>, z.ZodObject<{
|
|
705
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
706
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
707
|
-
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
numericValue?: number | undefined;
|
|
709
|
-
unit?: string | undefined;
|
|
710
|
-
}, {
|
|
711
|
-
numericValue?: number | undefined;
|
|
712
|
-
unit?: string | undefined;
|
|
713
647
|
}>]>>;
|
|
714
648
|
}, "strip", z.ZodTypeAny, {
|
|
715
649
|
data: Record<string, string | number | boolean | {
|
|
@@ -749,12 +683,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
749
683
|
data: Record<string, string>;
|
|
750
684
|
} | {
|
|
751
685
|
data?: any;
|
|
752
|
-
} | {
|
|
753
|
-
numericValue: number;
|
|
754
|
-
unit: string;
|
|
755
|
-
} | {
|
|
756
|
-
numericValue?: number | undefined;
|
|
757
|
-
unit?: string | undefined;
|
|
758
686
|
} | {
|
|
759
687
|
age: number;
|
|
760
688
|
asOfDateRef: string;
|
|
@@ -800,12 +728,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
800
728
|
data: Record<string, string>;
|
|
801
729
|
} | {
|
|
802
730
|
data?: any;
|
|
803
|
-
} | {
|
|
804
|
-
numericValue: number;
|
|
805
|
-
unit: string;
|
|
806
|
-
} | {
|
|
807
|
-
numericValue?: number | undefined;
|
|
808
|
-
unit?: string | undefined;
|
|
809
731
|
} | {
|
|
810
732
|
age: number;
|
|
811
733
|
asOfDateRef: string;
|
|
@@ -1048,13 +970,6 @@ export declare const isNumberFieldType: (field: {
|
|
|
1048
970
|
value: number;
|
|
1049
971
|
config: NumberField;
|
|
1050
972
|
};
|
|
1051
|
-
export declare const isNumberWithUnitFieldType: (field: {
|
|
1052
|
-
config: FieldConfig;
|
|
1053
|
-
value: FieldValue | FieldUpdateValue;
|
|
1054
|
-
}) => field is {
|
|
1055
|
-
value: NumberWithUnitFieldValue;
|
|
1056
|
-
config: NumberWithUnitField;
|
|
1057
|
-
};
|
|
1058
973
|
export declare const isNameFieldType: (field: {
|
|
1059
974
|
config: FieldConfig;
|
|
1060
975
|
value: FieldValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { AddressFieldValue, AddressFieldUpdateValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue, NameFieldUpdateValue,
|
|
2
|
+
import { AddressFieldValue, AddressFieldUpdateValue, FileFieldValue, FileFieldWithOptionValue, NameFieldValue, NameFieldUpdateValue, HttpFieldUpdateValue, QueryParamReaderFieldUpdateValue, QrReaderFieldValue, IdReaderFieldValue } from './CompositeFieldValue';
|
|
3
3
|
/**
|
|
4
4
|
* FieldValues defined in this file are primitive field values.
|
|
5
5
|
* FieldValues defined in CompositeFieldValue.ts are composed of multiple primitive field values (Address, File etc).
|
|
@@ -206,24 +206,6 @@ declare const FieldValuesWithoutDataField: z.ZodUnion<[z.ZodDiscriminatedUnion<"
|
|
|
206
206
|
data?: any;
|
|
207
207
|
}, {
|
|
208
208
|
data?: any;
|
|
209
|
-
}>, z.ZodObject<{
|
|
210
|
-
numericValue: z.ZodNumber;
|
|
211
|
-
unit: z.ZodString;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
numericValue: number;
|
|
214
|
-
unit: string;
|
|
215
|
-
}, {
|
|
216
|
-
numericValue: number;
|
|
217
|
-
unit: string;
|
|
218
|
-
}>, z.ZodObject<{
|
|
219
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
220
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
221
|
-
}, "strip", z.ZodTypeAny, {
|
|
222
|
-
numericValue?: number | undefined;
|
|
223
|
-
unit?: string | undefined;
|
|
224
|
-
}, {
|
|
225
|
-
numericValue?: number | undefined;
|
|
226
|
-
unit?: string | undefined;
|
|
227
209
|
}>]>;
|
|
228
210
|
type FieldValuesWithoutDataField = z.infer<typeof FieldValuesWithoutDataField>;
|
|
229
211
|
export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -370,24 +352,6 @@ export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
370
352
|
data?: any;
|
|
371
353
|
}, {
|
|
372
354
|
data?: any;
|
|
373
|
-
}>, z.ZodObject<{
|
|
374
|
-
numericValue: z.ZodNumber;
|
|
375
|
-
unit: z.ZodString;
|
|
376
|
-
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
numericValue: number;
|
|
378
|
-
unit: string;
|
|
379
|
-
}, {
|
|
380
|
-
numericValue: number;
|
|
381
|
-
unit: string;
|
|
382
|
-
}>, z.ZodObject<{
|
|
383
|
-
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
384
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
385
|
-
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
numericValue?: number | undefined;
|
|
387
|
-
unit?: string | undefined;
|
|
388
|
-
}, {
|
|
389
|
-
numericValue?: number | undefined;
|
|
390
|
-
unit?: string | undefined;
|
|
391
355
|
}>]>>;
|
|
392
356
|
}, "strip", z.ZodTypeAny, {
|
|
393
357
|
data: Record<string, string | number | boolean | {
|
|
@@ -427,12 +391,6 @@ export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
427
391
|
data: Record<string, string>;
|
|
428
392
|
} | {
|
|
429
393
|
data?: any;
|
|
430
|
-
} | {
|
|
431
|
-
numericValue: number;
|
|
432
|
-
unit: string;
|
|
433
|
-
} | {
|
|
434
|
-
numericValue?: number | undefined;
|
|
435
|
-
unit?: string | undefined;
|
|
436
394
|
} | {
|
|
437
395
|
age: number;
|
|
438
396
|
asOfDateRef: string;
|
|
@@ -478,12 +436,6 @@ export declare const DataFieldValue: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
|
478
436
|
data: Record<string, string>;
|
|
479
437
|
} | {
|
|
480
438
|
data?: any;
|
|
481
|
-
} | {
|
|
482
|
-
numericValue: number;
|
|
483
|
-
unit: string;
|
|
484
|
-
} | {
|
|
485
|
-
numericValue?: number | undefined;
|
|
486
|
-
unit?: string | undefined;
|
|
487
439
|
} | {
|
|
488
440
|
age: number;
|
|
489
441
|
asOfDateRef: string;
|
|
@@ -496,17 +448,17 @@ export type DataFieldValue = z.infer<typeof DataFieldValue>;
|
|
|
496
448
|
export type FieldValue = FieldValuesWithoutDataField | DataFieldValue;
|
|
497
449
|
export declare const FieldValue: z.ZodType<FieldValue>;
|
|
498
450
|
export declare function safeUnion<T extends [z.ZodTypeAny, ...z.ZodTypeAny[]]>(schemas: T): z.ZodType<z.TypeOf<T[number]>, z.ZodTypeDef, z.TypeOf<T[number]>>;
|
|
499
|
-
export type FieldUpdateValue = z.infer<typeof TextValue> | z.infer<typeof DateValue> | z.infer<typeof TimeValue> | z.infer<typeof AgeUpdateValue> | z.infer<typeof AddressFieldUpdateValue> | z.infer<typeof DateRangeFieldValue> | z.infer<typeof SelectDateRangeValue> | z.infer<typeof CheckboxFieldValue> | z.infer<typeof NumberFieldValue> | z.infer<typeof
|
|
451
|
+
export type FieldUpdateValue = z.infer<typeof TextValue> | z.infer<typeof DateValue> | z.infer<typeof TimeValue> | z.infer<typeof AgeUpdateValue> | z.infer<typeof AddressFieldUpdateValue> | z.infer<typeof DateRangeFieldValue> | z.infer<typeof SelectDateRangeValue> | z.infer<typeof CheckboxFieldValue> | z.infer<typeof NumberFieldValue> | z.infer<typeof FileFieldValue> | z.infer<typeof FileFieldWithOptionValue> | z.infer<typeof DataFieldValue> | z.infer<typeof NameFieldUpdateValue> | z.infer<typeof HttpFieldUpdateValue> | z.infer<typeof QueryParamReaderFieldUpdateValue>;
|
|
500
452
|
export declare const FieldUpdateValue: z.ZodType<FieldUpdateValue>;
|
|
501
453
|
/**
|
|
502
454
|
* NOTE: This is an exception. We need schema as a type in order to generate schema dynamically.
|
|
503
455
|
* */
|
|
504
|
-
export type FieldValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldValue | typeof NumberFieldValue | typeof
|
|
456
|
+
export type FieldValueSchema = typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldValue | typeof NumberFieldValue | typeof DataFieldValue | typeof NameFieldValue | z.ZodString | z.ZodBoolean;
|
|
505
457
|
/**
|
|
506
458
|
* NOTE: This is an exception. We need schema as a type in order to generate schema dynamically.
|
|
507
459
|
*
|
|
508
460
|
* FieldValueInputSchema uses Input types which have set optional values as nullish
|
|
509
461
|
* */
|
|
510
|
-
export type FieldUpdateValueSchema = typeof DateRangeFieldValue | typeof AgeValue | typeof SelectDateRangeValue | typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | typeof
|
|
462
|
+
export type FieldUpdateValueSchema = typeof DateRangeFieldValue | typeof AgeValue | typeof SelectDateRangeValue | typeof FileFieldValue | typeof FileFieldWithOptionValue | typeof CheckboxFieldValue | typeof AddressFieldUpdateValue | typeof NumberFieldValue | typeof DataFieldValue | typeof NameFieldValue | typeof NameFieldUpdateValue | typeof HttpFieldUpdateValue | typeof QueryParamReaderFieldUpdateValue | typeof ButtonFieldValue | typeof QrReaderFieldValue | typeof IdReaderFieldValue | z.ZodString | z.ZodBoolean;
|
|
511
463
|
export {};
|
|
512
464
|
//# sourceMappingURL=FieldValue.d.ts.map
|
|
@@ -1954,7 +1954,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
1954
1954
|
} | undefined;
|
|
1955
1955
|
}[];
|
|
1956
1956
|
};
|
|
1957
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
1957
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
1958
1958
|
slug: string;
|
|
1959
1959
|
columns: {
|
|
1960
1960
|
value: {
|
|
@@ -2206,7 +2206,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
2206
2206
|
} | undefined;
|
|
2207
2207
|
}[];
|
|
2208
2208
|
};
|
|
2209
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
2209
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
2210
2210
|
slug: string;
|
|
2211
2211
|
columns?: {
|
|
2212
2212
|
value: {
|
|
@@ -3934,7 +3934,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<Omit<{
|
|
|
3934
3934
|
type: "DELETE" | "DECLARE" | "VALIDATE" | "REGISTER" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
|
|
3935
3935
|
conditionals?: import(".").JSONSchema[] | undefined;
|
|
3936
3936
|
}[];
|
|
3937
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
3937
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
3938
3938
|
slug: string;
|
|
3939
3939
|
emptyMessage?: TranslationConfig | undefined;
|
|
3940
3940
|
}, {
|
|
@@ -3947,7 +3947,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<Omit<{
|
|
|
3947
3947
|
type: "DELETE" | "DECLARE" | "VALIDATE" | "REGISTER" | "MARK_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN" | "DEFAULT";
|
|
3948
3948
|
conditionals?: import(".").JSONSchema[] | undefined;
|
|
3949
3949
|
}[];
|
|
3950
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
3950
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
3951
3951
|
slug: string;
|
|
3952
3952
|
emptyMessage?: {
|
|
3953
3953
|
id: string;
|
|
@@ -6602,7 +6602,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
6602
6602
|
} | undefined;
|
|
6603
6603
|
}[];
|
|
6604
6604
|
};
|
|
6605
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
6605
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
6606
6606
|
slug: string;
|
|
6607
6607
|
columns: {
|
|
6608
6608
|
value: {
|
|
@@ -6967,7 +6967,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
6967
6967
|
} | undefined;
|
|
6968
6968
|
}[];
|
|
6969
6969
|
};
|
|
6970
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
6970
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
6971
6971
|
slug: string;
|
|
6972
6972
|
columns?: {
|
|
6973
6973
|
value: {
|
|
@@ -7227,7 +7227,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
7227
7227
|
} | undefined;
|
|
7228
7228
|
}[];
|
|
7229
7229
|
};
|
|
7230
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
7230
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
7231
7231
|
slug: string;
|
|
7232
7232
|
columns: {
|
|
7233
7233
|
value: {
|
|
@@ -7476,7 +7476,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInput[]): {
|
|
|
7476
7476
|
} | undefined;
|
|
7477
7477
|
}[];
|
|
7478
7478
|
};
|
|
7479
|
-
icon: "Validated" | "Registered" | "Certified" | "Archived" | "List" | "Draft" | "Archive" | "
|
|
7479
|
+
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" | "Check" | "Copy" | "Database" | "DotsThreeVertical" | "ArrowCounterClockwise" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "Export" | "Eye" | "EyeSlash" | "Envelope" | "File" | "FileSearch" | "FileMinus" | "FilePlus" | "FileText" | "FileX" | "Handshake" | "Gear" | "GitBranch" | "IdentificationCard" | "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";
|
|
7480
7480
|
slug: string;
|
|
7481
7481
|
columns: {
|
|
7482
7482
|
value: {
|
|
@@ -172,7 +172,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
172
172
|
};
|
|
173
173
|
fieldId: string;
|
|
174
174
|
fieldType: "field";
|
|
175
|
-
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "
|
|
175
|
+
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
176
176
|
options?: {
|
|
177
177
|
value: string;
|
|
178
178
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
@@ -200,7 +200,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
|
200
200
|
};
|
|
201
201
|
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
202
202
|
fieldType: "event";
|
|
203
|
-
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "
|
|
203
|
+
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
204
204
|
options?: {
|
|
205
205
|
value: string;
|
|
206
206
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
@@ -150,12 +150,6 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
|
150
150
|
data: Record<string, string>;
|
|
151
151
|
} | {
|
|
152
152
|
data?: any;
|
|
153
|
-
} | {
|
|
154
|
-
numericValue: number;
|
|
155
|
-
unit: string;
|
|
156
|
-
} | {
|
|
157
|
-
numericValue?: number | undefined;
|
|
158
|
-
unit?: string | undefined;
|
|
159
153
|
} | {
|
|
160
154
|
age: number;
|
|
161
155
|
asOfDateRef: string;
|
|
@@ -200,12 +194,6 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
|
200
194
|
data: Record<string, string>;
|
|
201
195
|
} | {
|
|
202
196
|
data?: any;
|
|
203
|
-
} | {
|
|
204
|
-
numericValue: number;
|
|
205
|
-
unit: string;
|
|
206
|
-
} | {
|
|
207
|
-
numericValue?: number | undefined;
|
|
208
|
-
unit?: string | undefined;
|
|
209
197
|
} | {
|
|
210
198
|
age: number;
|
|
211
199
|
asOfDateRef: string;
|
|
@@ -414,7 +402,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
414
402
|
};
|
|
415
403
|
fieldId: string;
|
|
416
404
|
fieldType: "field";
|
|
417
|
-
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "
|
|
405
|
+
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
418
406
|
options?: {
|
|
419
407
|
value: string;
|
|
420
408
|
label: string | import("./TranslationConfig").TranslationConfig;
|
|
@@ -442,7 +430,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
442
430
|
};
|
|
443
431
|
fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
|
|
444
432
|
fieldType: "event";
|
|
445
|
-
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "
|
|
433
|
+
type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
|
|
446
434
|
options?: {
|
|
447
435
|
value: string;
|
|
448
436
|
label: string | import("./TranslationConfig").TranslationConfig;
|