@opencrvs/toolkit 2.1.0-rc.d7bd264 → 2.1.0-rc.d987aec
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/README.md +3 -12
- package/build.sh +9 -1
- package/create-countryconfig/index.js +412 -59
- package/create-countryconfig/node_modules/.bin/degit +21 -0
- package/create-countryconfig/package.json +4 -1
- package/dist/application-config/index.js +266 -212
- package/dist/authentication/index.d.ts +67 -0
- package/dist/authentication/index.d.ts.map +1 -0
- package/dist/authentication/index.js +750 -0
- package/dist/cli.js +1786 -120
- package/dist/commons/api/router.d.ts +691 -76
- package/dist/commons/conditionals/conditionals.d.ts +6 -6
- package/dist/commons/conditionals/validate.d.ts +15 -5
- package/dist/commons/events/ActionConfig.d.ts +0 -21
- package/dist/commons/events/ActionDocument.d.ts +4 -4
- package/dist/commons/events/ActionInput.d.ts +4 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -0
- package/dist/commons/events/AuditLog.d.ts +147 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -18
- package/dist/commons/events/EventConfig.d.ts +3 -0
- package/dist/commons/events/EventDocument.d.ts +470 -2
- package/dist/commons/events/EventIndex.d.ts +2 -6
- package/dist/commons/events/EventMetadata.d.ts +1 -12
- package/dist/commons/events/EventStatus.d.ts +19 -0
- package/dist/commons/events/FieldConfig.d.ts +84 -53
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -15
- package/dist/commons/events/FieldValue.d.ts +2 -2
- package/dist/commons/events/Flag.d.ts +0 -6
- package/dist/commons/events/PlainDate.d.ts +8 -0
- package/dist/commons/events/SummaryConfig.d.ts +249 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +5 -17
- package/dist/commons/events/event.d.ts +12 -0
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/locationPayloads.d.ts +95 -0
- package/dist/commons/events/locations.d.ts +169 -26
- package/dist/commons/events/mocks.test.utils.d.ts +30 -0
- package/dist/commons/events/test.utils.d.ts +25 -4
- package/dist/commons/events/utils.d.ts +13 -2
- package/dist/commons/notification/UserNotifications.d.ts +28 -13
- package/dist/commons/notification/dispatch.d.ts +10 -0
- package/dist/commons/notification/index.d.ts +1 -0
- package/dist/conditionals/index.js +81 -59
- package/dist/csv.d.ts +25 -0
- package/dist/csv.d.ts.map +1 -0
- package/dist/csv.js +120 -0
- package/dist/environment/index.d.ts +1 -0
- package/dist/environment/index.d.ts.map +1 -1
- package/dist/environment/index.js +10 -0
- package/dist/environment/logger.d.ts +15 -3
- package/dist/environment/logger.d.ts.map +1 -1
- package/dist/environment/manage-users.js +1 -1
- package/dist/environment/paths.d.ts +7 -0
- package/dist/environment/paths.d.ts.map +1 -0
- package/dist/environment/paths.js +72 -0
- package/dist/environment/questions.d.ts.map +1 -1
- package/dist/environment/questions.js +20 -14
- package/dist/environment/setup-environment.js +28 -7
- package/dist/environment/templates.d.ts +0 -1
- package/dist/environment/templates.d.ts.map +1 -1
- package/dist/environment/templates.js +5 -9
- package/dist/environment/update-workflows.d.ts.map +1 -1
- package/dist/environment/update-workflows.js +17 -5
- package/dist/environment/upgrade.d.ts +2 -0
- package/dist/environment/upgrade.d.ts.map +1 -0
- package/dist/environment/upgrade.js +82 -0
- package/dist/environment/users.js +11 -13
- package/dist/events/index.js +2905 -2463
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts +2 -2
- package/dist/migrations/v2.0/checkout-upstream-files.d.ts.map +1 -1
- package/dist/migrations/v2.0/checkout-upstream-files.js +2 -2
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts +3 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-recovery-link-notifications.js +511 -0
- package/dist/migrations/v2.1/add-translations.d.ts +9 -0
- package/dist/migrations/v2.1/add-translations.d.ts.map +1 -0
- package/dist/migrations/v2.1/add-translations.js +213 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts +3 -0
- package/dist/migrations/v2.1/enable-telemetry.d.ts.map +1 -0
- package/dist/migrations/v2.1/enable-telemetry.js +438 -0
- package/dist/migrations/v2.1/index.d.ts.map +1 -1
- package/dist/migrations/v2.1/index.js +1058 -0
- package/dist/notification/index.js +1317 -1475
- package/dist/scopes/index.d.ts +104 -59
- package/dist/scopes/index.js +81 -59
- package/dist/telemetry/index.d.ts +45 -0
- package/dist/telemetry/index.d.ts.map +1 -0
- package/dist/telemetry/index.js +39 -0
- package/dist/templates/charts-values/dependencies/values.yaml +2 -0
- package/dist/templates/charts-values/opencrvs-services/values.yaml +4 -3
- package/dist/templates/charts-values/opentelemetry/values.yaml +95 -0
- package/dist/templates/charts-values/traefik/values.yaml +23 -9
- package/dist/templates/inventory/inventory.template.yml +1 -3
- package/dist/translations/check.d.ts +21 -0
- package/dist/translations/check.d.ts.map +1 -0
- package/dist/translations/check.js +132 -0
- package/dist/verify/endpoints.d.ts +2 -0
- package/dist/verify/endpoints.d.ts.map +1 -0
- package/dist/verify/endpoints.js +345 -0
- package/opencrvs-toolkit-2.1.0-rc.d987aec.tgz +0 -0
- package/package.json +12 -6
- package/tsconfig.build.json +11 -0
- package/tsconfig.build.tsbuildinfo +1 -0
- package/tsconfig.json +3 -0
- package/dist/templates/inventory/production.example.yml +0 -77
- package/dist/templates/inventory/qa.example.yml +0 -48
- package/opencrvs-toolkit-2.1.0-rc.d7bd264.tgz +0 -0
- package/tsconfig.tsbuildinfo +0 -1
|
@@ -29,15 +29,11 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
29
29
|
}> | z.ZodNumber | z.ZodObject<Readonly<{
|
|
30
30
|
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
31
31
|
}>, z.core.$strip> | z.ZodObject<{
|
|
32
|
-
age: z.ZodNumber;
|
|
33
|
-
asOfDateRef: z.ZodString;
|
|
34
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
35
|
-
label: z.ZodString;
|
|
36
|
-
value: z.ZodString;
|
|
37
|
-
}, z.core.$strip> | z.ZodObject<{
|
|
38
32
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
39
33
|
originalFilename: z.ZodString;
|
|
40
34
|
type: z.ZodString;
|
|
35
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
36
|
+
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41
37
|
}, z.core.$strip> | z.ZodObject<{
|
|
42
38
|
data: z.ZodAny;
|
|
43
39
|
}, z.core.$strip> | z.ZodObject<{
|
|
@@ -47,7 +43,11 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
47
43
|
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
48
44
|
unit: z.ZodOptional<z.ZodString>;
|
|
49
45
|
}, z.core.$strip> | z.ZodObject<{
|
|
50
|
-
|
|
46
|
+
age: z.ZodNumber;
|
|
47
|
+
asOfDateRef: z.ZodString;
|
|
48
|
+
}, z.core.$strip> | z.ZodObject<{
|
|
49
|
+
label: z.ZodString;
|
|
50
|
+
value: z.ZodString;
|
|
51
51
|
}, z.core.$strip> | z.ZodObject<{
|
|
52
52
|
firstname: z.ZodString;
|
|
53
53
|
surname: z.ZodString;
|
|
@@ -65,15 +65,11 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
65
65
|
}>>> | z.ZodOptional<z.ZodNullable<z.ZodNumber>> | z.ZodOptional<z.ZodNullable<z.ZodObject<Readonly<{
|
|
66
66
|
[k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
67
67
|
}>, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
68
|
-
age: z.ZodNumber;
|
|
69
|
-
asOfDateRef: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
71
|
-
label: z.ZodString;
|
|
72
|
-
value: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
74
68
|
path: z.core.$ZodBranded<z.ZodString, "DocumentPath", "out">;
|
|
75
69
|
originalFilename: z.ZodString;
|
|
76
70
|
type: z.ZodString;
|
|
71
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
72
|
+
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
77
73
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
78
74
|
data: z.ZodAny;
|
|
79
75
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -82,6 +78,12 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
82
78
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
79
|
numericValue: z.ZodOptional<z.ZodNumber>;
|
|
84
80
|
unit: z.ZodOptional<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
82
|
+
age: z.ZodNumber;
|
|
83
|
+
asOfDateRef: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
85
|
+
label: z.ZodString;
|
|
86
|
+
value: z.ZodString;
|
|
85
87
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
86
88
|
data: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
87
89
|
country: z.ZodString;
|
|
@@ -152,8 +154,6 @@ export declare function mapFieldTypeToZod(field: FieldConfig, actionType?: Actio
|
|
|
152
154
|
label: z.ZodString;
|
|
153
155
|
value: z.ZodString;
|
|
154
156
|
}, z.core.$strip>>>]>>;
|
|
155
|
-
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
156
|
-
data: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
157
157
|
}, z.core.$strip>>> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
158
158
|
firstname: z.ZodString;
|
|
159
159
|
surname: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
2
|
import { AddressFieldUpdateValue, AddressFieldValue, CustomFieldValue, FileFieldValue, FileFieldWithOptionValue, HttpFieldUpdateValue, IdReaderFieldValue, NameFieldUpdateValue, NameFieldValue, NumberWithUnitFieldUpdateValue, NumberWithUnitFieldValue, QrReaderFieldValue, QueryParamReaderFieldUpdateValue } from './CompositeFieldValue';
|
|
3
|
-
import { PlainDate, plainDateToLocalDate } from './PlainDate';
|
|
4
|
-
export { PlainDate, plainDateToLocalDate };
|
|
3
|
+
import { PlainDate, plainDateToLocalDate, toPlainDate } from './PlainDate';
|
|
4
|
+
export { PlainDate, plainDateToLocalDate, toPlainDate };
|
|
5
5
|
/**
|
|
6
6
|
* FieldValues defined in this file are primitive field values.
|
|
7
7
|
* FieldValues defined in CompositeFieldValue.ts are composed of multiple primitive field values (Address, File etc).
|
|
@@ -11,7 +11,6 @@ export declare const InherentFlags: {
|
|
|
11
11
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
12
12
|
*/
|
|
13
13
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
14
|
-
readonly SEALED: 'sealed';
|
|
15
14
|
};
|
|
16
15
|
export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags];
|
|
17
16
|
export declare const ActionFlag: z.ZodString;
|
|
@@ -31,7 +30,6 @@ export declare const Flag: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
|
31
30
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
32
31
|
*/
|
|
33
32
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
34
|
-
readonly SEALED: 'sealed';
|
|
35
33
|
}>]>, z.ZodString]>;
|
|
36
34
|
export type Flag = z.infer<typeof Flag>;
|
|
37
35
|
export declare const ContainsFlags: z.ZodObject<{
|
|
@@ -47,7 +45,6 @@ export declare const ContainsFlags: z.ZodObject<{
|
|
|
47
45
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
48
46
|
*/
|
|
49
47
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
50
|
-
readonly SEALED: 'sealed';
|
|
51
48
|
}>]>, z.ZodString]>>>;
|
|
52
49
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
53
50
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -61,7 +58,6 @@ export declare const ContainsFlags: z.ZodObject<{
|
|
|
61
58
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
62
59
|
*/
|
|
63
60
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
64
|
-
readonly SEALED: 'sealed';
|
|
65
61
|
}>]>, z.ZodString]>>>;
|
|
66
62
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
67
63
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -75,7 +71,6 @@ export declare const ContainsFlags: z.ZodObject<{
|
|
|
75
71
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
76
72
|
*/
|
|
77
73
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
78
|
-
readonly SEALED: 'sealed';
|
|
79
74
|
}>]>, z.ZodString]>>>;
|
|
80
75
|
}, z.core.$strip>;
|
|
81
76
|
export type ContainsFlags = z.infer<typeof ContainsFlags>;
|
|
@@ -104,7 +99,6 @@ export declare const ActionFlagConfig: z.ZodObject<{
|
|
|
104
99
|
* We only use this flag to determine that a NOTIFY, DECLARE or REGISTER action is allowed next.
|
|
105
100
|
*/
|
|
106
101
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
107
|
-
readonly SEALED: 'sealed';
|
|
108
102
|
}>]>, z.ZodString]>;
|
|
109
103
|
operation: z.ZodEnum<{
|
|
110
104
|
add: "add";
|
|
@@ -9,6 +9,14 @@ import { z } from 'zod';
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const PlainDate: z.core.$ZodBranded<z.ZodString, "PlainDate", "out">;
|
|
11
11
|
export type PlainDate = z.infer<typeof PlainDate>;
|
|
12
|
+
/**
|
|
13
|
+
* Extracts the plain calendar date from an ISO 8601 datetime (or passes an
|
|
14
|
+
* already-plain YYYY-MM-DD through) as a {@link PlainDate}. This is the single
|
|
15
|
+
* conversion from a timestamp to a location-resolution anchor — comparing
|
|
16
|
+
* plain dates as strings, with no timezone conversion. Assumes a valid ISO /
|
|
17
|
+
* YYYY-MM-DD input, as produced by the event metadata and date fields.
|
|
18
|
+
*/
|
|
19
|
+
export declare function toPlainDate(dateTime: string): PlainDate;
|
|
12
20
|
/**
|
|
13
21
|
* Converts a {@link PlainDate} (YYYY-MM-DD) to a local `Date` at midnight.
|
|
14
22
|
*
|
|
@@ -1,5 +1,254 @@
|
|
|
1
1
|
import * as z from 'zod/v4';
|
|
2
|
+
export declare const InfoBox: z.ZodObject<{
|
|
3
|
+
type: z.ZodEnum<{
|
|
4
|
+
info: "info";
|
|
5
|
+
negative: "negative";
|
|
6
|
+
positive: "positive";
|
|
7
|
+
warning: "warning";
|
|
8
|
+
}>;
|
|
9
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
10
|
+
tinted: "tinted";
|
|
11
|
+
white: "white";
|
|
12
|
+
}>>>;
|
|
13
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
Activity: "Activity";
|
|
15
|
+
Archive: "Archive";
|
|
16
|
+
ArchiveBox: "ArchiveBox";
|
|
17
|
+
ArchiveTray: "ArchiveTray";
|
|
18
|
+
Archived: "Archived";
|
|
19
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
20
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
21
|
+
ArrowLeft: "ArrowLeft";
|
|
22
|
+
ArrowRight: "ArrowRight";
|
|
23
|
+
Assigned: "Assigned";
|
|
24
|
+
Briefcase: "Briefcase";
|
|
25
|
+
Buildings: "Buildings";
|
|
26
|
+
CaretDown: "CaretDown";
|
|
27
|
+
CaretLeft: "CaretLeft";
|
|
28
|
+
CaretRight: "CaretRight";
|
|
29
|
+
Certified: "Certified";
|
|
30
|
+
ChartActivity: "ChartActivity";
|
|
31
|
+
ChartBar: "ChartBar";
|
|
32
|
+
ChartLine: "ChartLine";
|
|
33
|
+
ChatCircle: "ChatCircle";
|
|
34
|
+
ChatText: "ChatText";
|
|
35
|
+
Check: "Check";
|
|
36
|
+
CheckSquare: "CheckSquare";
|
|
37
|
+
Circle: "Circle";
|
|
38
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
39
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
40
|
+
Clock: "Clock";
|
|
41
|
+
Close: "Close";
|
|
42
|
+
Collapse: "Collapse";
|
|
43
|
+
Compass: "Compass";
|
|
44
|
+
Copy: "Copy";
|
|
45
|
+
Database: "Database";
|
|
46
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
47
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
48
|
+
Draft: "Draft";
|
|
49
|
+
DuplicateYellow: "DuplicateYellow";
|
|
50
|
+
Envelope: "Envelope";
|
|
51
|
+
Expand: "Expand";
|
|
52
|
+
Export: "Export";
|
|
53
|
+
ExternalValidate: "ExternalValidate";
|
|
54
|
+
Eye: "Eye";
|
|
55
|
+
EyeSlash: "EyeSlash";
|
|
56
|
+
File: "File";
|
|
57
|
+
FileArrowUp: "FileArrowUp";
|
|
58
|
+
FileDotted: "FileDotted";
|
|
59
|
+
FileLock: "FileLock";
|
|
60
|
+
FileMinus: "FileMinus";
|
|
61
|
+
FilePlus: "FilePlus";
|
|
62
|
+
FileSearch: "FileSearch";
|
|
63
|
+
FileText: "FileText";
|
|
64
|
+
FileX: "FileX";
|
|
65
|
+
Files: "Files";
|
|
66
|
+
FilledCheck: "FilledCheck";
|
|
67
|
+
Fingerprint: "Fingerprint";
|
|
68
|
+
Gear: "Gear";
|
|
69
|
+
GitBranch: "GitBranch";
|
|
70
|
+
Globe: "Globe";
|
|
71
|
+
Handshake: "Handshake";
|
|
72
|
+
IdentificationCard: "IdentificationCard";
|
|
73
|
+
InReview: "InReview";
|
|
74
|
+
List: "List";
|
|
75
|
+
ListBullets: "ListBullets";
|
|
76
|
+
Lock: "Lock";
|
|
77
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
78
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
79
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
80
|
+
MapPin: "MapPin";
|
|
81
|
+
Medal: "Medal";
|
|
82
|
+
NotePencil: "NotePencil";
|
|
83
|
+
Offline: "Offline";
|
|
84
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
85
|
+
Paperclip: "Paperclip";
|
|
86
|
+
Pen: "Pen";
|
|
87
|
+
PenNib: "PenNib";
|
|
88
|
+
Pencil: "Pencil";
|
|
89
|
+
PencilCircle: "PencilCircle";
|
|
90
|
+
PencilLine: "PencilLine";
|
|
91
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
92
|
+
Phone: "Phone";
|
|
93
|
+
Plus: "Plus";
|
|
94
|
+
Printer: "Printer";
|
|
95
|
+
PushPin: "PushPin";
|
|
96
|
+
QrCode: "QrCode";
|
|
97
|
+
Registered: "Registered";
|
|
98
|
+
RequiresUpdates: "RequiresUpdates";
|
|
99
|
+
Sent: "Sent";
|
|
100
|
+
SignOut: "SignOut";
|
|
101
|
+
Stamp: "Stamp";
|
|
102
|
+
Star: "Star";
|
|
103
|
+
Sun: "Sun";
|
|
104
|
+
Target: "Target";
|
|
105
|
+
TextT: "TextT";
|
|
106
|
+
Timer: "Timer";
|
|
107
|
+
Trash: "Trash";
|
|
108
|
+
UploadSimple: "UploadSimple";
|
|
109
|
+
User: "User";
|
|
110
|
+
UserCircle: "UserCircle";
|
|
111
|
+
UserPlus: "UserPlus";
|
|
112
|
+
Users: "Users";
|
|
113
|
+
Validated: "Validated";
|
|
114
|
+
WaitingApproval: "WaitingApproval";
|
|
115
|
+
WarningCircle: "WarningCircle";
|
|
116
|
+
Webcam: "Webcam";
|
|
117
|
+
X: "X";
|
|
118
|
+
}>>;
|
|
119
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
120
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
121
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
122
|
+
type: z.ZodLiteral<"SHOW">;
|
|
123
|
+
conditional: z.ZodAny;
|
|
124
|
+
}, z.core.$strip>>>>;
|
|
125
|
+
}, z.core.$strip>;
|
|
126
|
+
export type InfoBox = z.infer<typeof InfoBox>;
|
|
2
127
|
export declare const SummaryConfig: z.ZodObject<{
|
|
128
|
+
banners: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
129
|
+
type: z.ZodEnum<{
|
|
130
|
+
info: "info";
|
|
131
|
+
negative: "negative";
|
|
132
|
+
positive: "positive";
|
|
133
|
+
warning: "warning";
|
|
134
|
+
}>;
|
|
135
|
+
background: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
136
|
+
tinted: "tinted";
|
|
137
|
+
white: "white";
|
|
138
|
+
}>>>;
|
|
139
|
+
icon: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
Activity: "Activity";
|
|
141
|
+
Archive: "Archive";
|
|
142
|
+
ArchiveBox: "ArchiveBox";
|
|
143
|
+
ArchiveTray: "ArchiveTray";
|
|
144
|
+
Archived: "Archived";
|
|
145
|
+
ArrowCircleDown: "ArrowCircleDown";
|
|
146
|
+
ArrowCounterClockwise: "ArrowCounterClockwise";
|
|
147
|
+
ArrowLeft: "ArrowLeft";
|
|
148
|
+
ArrowRight: "ArrowRight";
|
|
149
|
+
Assigned: "Assigned";
|
|
150
|
+
Briefcase: "Briefcase";
|
|
151
|
+
Buildings: "Buildings";
|
|
152
|
+
CaretDown: "CaretDown";
|
|
153
|
+
CaretLeft: "CaretLeft";
|
|
154
|
+
CaretRight: "CaretRight";
|
|
155
|
+
Certified: "Certified";
|
|
156
|
+
ChartActivity: "ChartActivity";
|
|
157
|
+
ChartBar: "ChartBar";
|
|
158
|
+
ChartLine: "ChartLine";
|
|
159
|
+
ChatCircle: "ChatCircle";
|
|
160
|
+
ChatText: "ChatText";
|
|
161
|
+
Check: "Check";
|
|
162
|
+
CheckSquare: "CheckSquare";
|
|
163
|
+
Circle: "Circle";
|
|
164
|
+
CircleWavyCheck: "CircleWavyCheck";
|
|
165
|
+
CircleWavyQuestion: "CircleWavyQuestion";
|
|
166
|
+
Clock: "Clock";
|
|
167
|
+
Close: "Close";
|
|
168
|
+
Collapse: "Collapse";
|
|
169
|
+
Compass: "Compass";
|
|
170
|
+
Copy: "Copy";
|
|
171
|
+
Database: "Database";
|
|
172
|
+
DeviceTabletCamera: "DeviceTabletCamera";
|
|
173
|
+
DotsThreeVertical: "DotsThreeVertical";
|
|
174
|
+
Draft: "Draft";
|
|
175
|
+
DuplicateYellow: "DuplicateYellow";
|
|
176
|
+
Envelope: "Envelope";
|
|
177
|
+
Expand: "Expand";
|
|
178
|
+
Export: "Export";
|
|
179
|
+
ExternalValidate: "ExternalValidate";
|
|
180
|
+
Eye: "Eye";
|
|
181
|
+
EyeSlash: "EyeSlash";
|
|
182
|
+
File: "File";
|
|
183
|
+
FileArrowUp: "FileArrowUp";
|
|
184
|
+
FileDotted: "FileDotted";
|
|
185
|
+
FileLock: "FileLock";
|
|
186
|
+
FileMinus: "FileMinus";
|
|
187
|
+
FilePlus: "FilePlus";
|
|
188
|
+
FileSearch: "FileSearch";
|
|
189
|
+
FileText: "FileText";
|
|
190
|
+
FileX: "FileX";
|
|
191
|
+
Files: "Files";
|
|
192
|
+
FilledCheck: "FilledCheck";
|
|
193
|
+
Fingerprint: "Fingerprint";
|
|
194
|
+
Gear: "Gear";
|
|
195
|
+
GitBranch: "GitBranch";
|
|
196
|
+
Globe: "Globe";
|
|
197
|
+
Handshake: "Handshake";
|
|
198
|
+
IdentificationCard: "IdentificationCard";
|
|
199
|
+
InReview: "InReview";
|
|
200
|
+
List: "List";
|
|
201
|
+
ListBullets: "ListBullets";
|
|
202
|
+
Lock: "Lock";
|
|
203
|
+
MagnifyingGlass: "MagnifyingGlass";
|
|
204
|
+
MagnifyingGlassMinus: "MagnifyingGlassMinus";
|
|
205
|
+
MagnifyingGlassPlus: "MagnifyingGlassPlus";
|
|
206
|
+
MapPin: "MapPin";
|
|
207
|
+
Medal: "Medal";
|
|
208
|
+
NotePencil: "NotePencil";
|
|
209
|
+
Offline: "Offline";
|
|
210
|
+
PaperPlaneTilt: "PaperPlaneTilt";
|
|
211
|
+
Paperclip: "Paperclip";
|
|
212
|
+
Pen: "Pen";
|
|
213
|
+
PenNib: "PenNib";
|
|
214
|
+
Pencil: "Pencil";
|
|
215
|
+
PencilCircle: "PencilCircle";
|
|
216
|
+
PencilLine: "PencilLine";
|
|
217
|
+
PencilSimpleLine: "PencilSimpleLine";
|
|
218
|
+
Phone: "Phone";
|
|
219
|
+
Plus: "Plus";
|
|
220
|
+
Printer: "Printer";
|
|
221
|
+
PushPin: "PushPin";
|
|
222
|
+
QrCode: "QrCode";
|
|
223
|
+
Registered: "Registered";
|
|
224
|
+
RequiresUpdates: "RequiresUpdates";
|
|
225
|
+
Sent: "Sent";
|
|
226
|
+
SignOut: "SignOut";
|
|
227
|
+
Stamp: "Stamp";
|
|
228
|
+
Star: "Star";
|
|
229
|
+
Sun: "Sun";
|
|
230
|
+
Target: "Target";
|
|
231
|
+
TextT: "TextT";
|
|
232
|
+
Timer: "Timer";
|
|
233
|
+
Trash: "Trash";
|
|
234
|
+
UploadSimple: "UploadSimple";
|
|
235
|
+
User: "User";
|
|
236
|
+
UserCircle: "UserCircle";
|
|
237
|
+
UserPlus: "UserPlus";
|
|
238
|
+
Users: "Users";
|
|
239
|
+
Validated: "Validated";
|
|
240
|
+
WaitingApproval: "WaitingApproval";
|
|
241
|
+
WarningCircle: "WarningCircle";
|
|
242
|
+
Webcam: "Webcam";
|
|
243
|
+
X: "X";
|
|
244
|
+
}>>;
|
|
245
|
+
heading: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>;
|
|
246
|
+
description: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
247
|
+
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"SHOW">;
|
|
249
|
+
conditional: z.ZodAny;
|
|
250
|
+
}, z.core.$strip>>>>;
|
|
251
|
+
}, z.core.$strip>>>>;
|
|
3
252
|
fields: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
4
253
|
emptyValueMessage: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, z.core.$strip>>;
|
|
5
254
|
conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -314,7 +314,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
314
314
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
315
315
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
316
316
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
317
|
-
readonly SEALED: 'sealed';
|
|
318
317
|
}>]>, z.ZodString]>>>;
|
|
319
318
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
320
319
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -322,7 +321,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
322
321
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
323
322
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
324
323
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
325
|
-
readonly SEALED: 'sealed';
|
|
326
324
|
}>]>, z.ZodString]>>>;
|
|
327
325
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
328
326
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -330,7 +328,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
330
328
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
331
329
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
332
330
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
333
|
-
readonly SEALED: 'sealed';
|
|
334
331
|
}>]>, z.ZodString]>>>;
|
|
335
332
|
}, z.core.$strip>>>;
|
|
336
333
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -634,7 +631,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
634
631
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
635
632
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
636
633
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
637
|
-
readonly SEALED: 'sealed';
|
|
638
634
|
}>]>, z.ZodString]>>>;
|
|
639
635
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
640
636
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -642,7 +638,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
642
638
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
643
639
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
644
640
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
645
|
-
readonly SEALED: 'sealed';
|
|
646
641
|
}>]>, z.ZodString]>>>;
|
|
647
642
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
648
643
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -650,7 +645,6 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
650
645
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
651
646
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
652
647
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
653
|
-
readonly SEALED: 'sealed';
|
|
654
648
|
}>]>, z.ZodString]>>>;
|
|
655
649
|
}, z.core.$strip>>>;
|
|
656
650
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -743,6 +737,7 @@ export declare const WorkqueueConfig: z.ZodObject<{
|
|
|
743
737
|
File: "File";
|
|
744
738
|
FileArrowUp: "FileArrowUp";
|
|
745
739
|
FileDotted: "FileDotted";
|
|
740
|
+
FileLock: "FileLock";
|
|
746
741
|
FileMinus: "FileMinus";
|
|
747
742
|
FilePlus: "FilePlus";
|
|
748
743
|
FileSearch: "FileSearch";
|
|
@@ -868,6 +863,7 @@ export declare const WorkqueueConfigWithoutQuery: z.ZodObject<{
|
|
|
868
863
|
File: "File";
|
|
869
864
|
FileArrowUp: "FileArrowUp";
|
|
870
865
|
FileDotted: "FileDotted";
|
|
866
|
+
FileLock: "FileLock";
|
|
871
867
|
FileMinus: "FileMinus";
|
|
872
868
|
FilePlus: "FilePlus";
|
|
873
869
|
FileSearch: "FileSearch";
|
|
@@ -1019,6 +1015,7 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1019
1015
|
File: "File";
|
|
1020
1016
|
FileArrowUp: "FileArrowUp";
|
|
1021
1017
|
FileDotted: "FileDotted";
|
|
1018
|
+
FileLock: "FileLock";
|
|
1022
1019
|
FileMinus: "FileMinus";
|
|
1023
1020
|
FilePlus: "FilePlus";
|
|
1024
1021
|
FileSearch: "FileSearch";
|
|
@@ -1376,7 +1373,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1376
1373
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1377
1374
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1378
1375
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1379
|
-
readonly SEALED: 'sealed';
|
|
1380
1376
|
}>]>, z.ZodString]>>>;
|
|
1381
1377
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1382
1378
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1384,7 +1380,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1384
1380
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1385
1381
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1386
1382
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1387
|
-
readonly SEALED: 'sealed';
|
|
1388
1383
|
}>]>, z.ZodString]>>>;
|
|
1389
1384
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1390
1385
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1392,7 +1387,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1392
1387
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1393
1388
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1394
1389
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1395
|
-
readonly SEALED: 'sealed';
|
|
1396
1390
|
}>]>, z.ZodString]>>>;
|
|
1397
1391
|
}, z.core.$strip>>>;
|
|
1398
1392
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -1695,7 +1689,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1695
1689
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1696
1690
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1697
1691
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1698
|
-
readonly SEALED: 'sealed';
|
|
1699
1692
|
}>]>, z.ZodString]>>>;
|
|
1700
1693
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1701
1694
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1703,7 +1696,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1703
1696
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1704
1697
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1705
1698
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1706
|
-
readonly SEALED: 'sealed';
|
|
1707
1699
|
}>]>, z.ZodString]>>>;
|
|
1708
1700
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
1709
1701
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -1711,7 +1703,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
1711
1703
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
1712
1704
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
1713
1705
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
1714
|
-
readonly SEALED: 'sealed';
|
|
1715
1706
|
}>]>, z.ZodString]>>>;
|
|
1716
1707
|
}, z.core.$strip>>>;
|
|
1717
1708
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -2015,7 +2006,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
2015
2006
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
2016
2007
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
2017
2008
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
2018
|
-
readonly SEALED: 'sealed';
|
|
2019
2009
|
}>]>, z.ZodString]>>>;
|
|
2020
2010
|
noneOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
2021
2011
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -2023,7 +2013,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
2023
2013
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
2024
2014
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
2025
2015
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
2026
|
-
readonly SEALED: 'sealed';
|
|
2027
2016
|
}>]>, z.ZodString]>>>;
|
|
2028
2017
|
allOf: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodEnum<{
|
|
2029
2018
|
readonly INCOMPLETE: 'incomplete';
|
|
@@ -2031,7 +2020,6 @@ export declare const WorkqueueConfigInput: z.ZodObject<{
|
|
|
2031
2020
|
readonly CORRECTION_REQUESTED: 'correction-requested';
|
|
2032
2021
|
readonly POTENTIAL_DUPLICATE: 'potential-duplicate';
|
|
2033
2022
|
readonly EDIT_IN_PROGRESS: 'edit-in-progress';
|
|
2034
|
-
readonly SEALED: 'sealed';
|
|
2035
2023
|
}>]>, z.ZodString]>>>;
|
|
2036
2024
|
}, z.core.$strip>>>;
|
|
2037
2025
|
data: z.ZodOptional<z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>>;
|
|
@@ -2340,7 +2328,7 @@ export declare function defineWorkqueue(workqueueInput: WorkqueueConfigInput): {
|
|
|
2340
2328
|
$event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
|
|
2341
2329
|
};
|
|
2342
2330
|
}[];
|
|
2343
|
-
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
2331
|
+
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileLock" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
2344
2332
|
emptyMessage?: {
|
|
2345
2333
|
id: string;
|
|
2346
2334
|
defaultMessage: string;
|
|
@@ -2651,7 +2639,7 @@ export declare function defineWorkqueues(workqueues: WorkqueueConfigInputWithV19
|
|
|
2651
2639
|
$event: "assignedTo" | "createdAt" | "createdAtLocation" | "createdBy" | "createdByUserType" | "dateOfEvent" | "flags" | "id" | "legalStatuses" | "outbox" | "placeOfEvent" | "status" | "title" | "trackingId" | "type" | "updatedAt" | "updatedAtLocation" | "updatedBy" | "updatedByUserRole";
|
|
2652
2640
|
};
|
|
2653
2641
|
}[];
|
|
2654
|
-
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
2642
|
+
icon: "Activity" | "Archive" | "ArchiveBox" | "ArchiveTray" | "Archived" | "ArrowCircleDown" | "ArrowCounterClockwise" | "ArrowLeft" | "ArrowRight" | "Assigned" | "Briefcase" | "Buildings" | "CaretDown" | "CaretLeft" | "CaretRight" | "Certified" | "ChartActivity" | "ChartBar" | "ChartLine" | "ChatCircle" | "ChatText" | "Check" | "CheckSquare" | "Circle" | "CircleWavyCheck" | "CircleWavyQuestion" | "Clock" | "Close" | "Collapse" | "Compass" | "Copy" | "Database" | "DeviceTabletCamera" | "DotsThreeVertical" | "Draft" | "DuplicateYellow" | "Envelope" | "Expand" | "Export" | "ExternalValidate" | "Eye" | "EyeSlash" | "File" | "FileArrowUp" | "FileDotted" | "FileLock" | "FileMinus" | "FilePlus" | "FileSearch" | "FileText" | "FileX" | "Files" | "FilledCheck" | "Fingerprint" | "Gear" | "GitBranch" | "Globe" | "Handshake" | "IdentificationCard" | "InReview" | "List" | "ListBullets" | "Lock" | "MagnifyingGlass" | "MagnifyingGlassMinus" | "MagnifyingGlassPlus" | "MapPin" | "Medal" | "NotePencil" | "Offline" | "PaperPlaneTilt" | "Paperclip" | "Pen" | "PenNib" | "Pencil" | "PencilCircle" | "PencilLine" | "PencilSimpleLine" | "Phone" | "Plus" | "Printer" | "PushPin" | "QrCode" | "Registered" | "RequiresUpdates" | "Sent" | "SignOut" | "Stamp" | "Star" | "Sun" | "Target" | "TextT" | "Timer" | "Trash" | "UploadSimple" | "User" | "UserCircle" | "UserPlus" | "Users" | "Validated" | "WaitingApproval" | "WarningCircle" | "Webcam" | "X";
|
|
2655
2643
|
emptyMessage?: {
|
|
2656
2644
|
id: string;
|
|
2657
2645
|
defaultMessage: string;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { NonSearchableEventMetadataTimeFieldIdInput, AdvancedSearchConfig } from '../event-config/event-configuration';
|
|
2
2
|
import { ActionType } from './ActionType';
|
|
3
3
|
import { EventFieldIdInput } from './AdvancedSearchConfig';
|
|
4
|
+
import { EventStatus } from './EventMetadata';
|
|
5
|
+
import { Flag } from './Flag';
|
|
4
6
|
import { WorkqueueColumnKeys, WorkqueueColumnValue } from './WorkqueueColumnConfig';
|
|
5
7
|
/**
|
|
6
8
|
* Creates a function that acts like a callable + static method container.
|
|
@@ -75,6 +77,16 @@ declare const event: typeof eventFn & {
|
|
|
75
77
|
};
|
|
76
78
|
};
|
|
77
79
|
field(field: WorkqueueColumnKeys): WorkqueueColumnValue;
|
|
80
|
+
/**
|
|
81
|
+
* Checks if the event currently has the given status.
|
|
82
|
+
* @param eventStatus - The status to check for.
|
|
83
|
+
*/
|
|
84
|
+
hasStatus: (eventStatus: EventStatus) => import("../conditionals/conditionals").JSONSchema;
|
|
85
|
+
/**
|
|
86
|
+
* Checks if the event currently carries the given flag.
|
|
87
|
+
* @param flagValue - The flag to check for.
|
|
88
|
+
*/
|
|
89
|
+
hasFlag: (flagValue: Flag) => import("../conditionals/conditionals").JSONSchema;
|
|
78
90
|
};
|
|
79
91
|
export { event };
|
|
80
92
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -45,6 +45,7 @@ export * from './field';
|
|
|
45
45
|
export * from './Flag';
|
|
46
46
|
export * from './event';
|
|
47
47
|
export * from './locations';
|
|
48
|
+
export * from './locationPayloads';
|
|
48
49
|
export { UUID } from '../uuid';
|
|
49
50
|
export { DocumentPath } from '../documents';
|
|
50
51
|
//# sourceMappingURL=index.d.ts.map
|