@opencrvs/toolkit 1.9.7-rc.4e5787b → 1.9.7-rc.51d3a8b
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 +239 -223
- package/dist/commons/events/ActionConfig.d.ts +70 -0
- package/dist/commons/events/ActionDocument.d.ts +47 -47
- package/dist/commons/events/Draft.d.ts +1 -1
- package/dist/commons/events/EventConfig.d.ts +56 -0
- package/dist/commons/events/EventDocument.d.ts +19 -19
- package/dist/commons/events/EventIndex.d.ts +3 -3
- package/dist/commons/events/EventMetadata.d.ts +7 -7
- package/dist/commons/events/FieldConfig.d.ts +21 -0
- package/dist/commons/events/FormConfig.d.ts +42 -0
- package/dist/commons/events/PageConfig.d.ts +28 -0
- package/dist/commons/events/defineConfig.d.ts +8 -0
- package/dist/commons/events/state/index.d.ts +3 -3
- package/dist/commons/events/state/utils.d.ts +21 -21
- package/dist/commons/events/utils.d.ts +35 -19
- package/dist/events/index.js +11 -5
- package/dist/notification/index.js +11 -5
- package/dist/scopes/index.d.ts +3 -2
- package/dist/scopes/index.js +3 -1
- package/package.json +1 -1
|
@@ -12,10 +12,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
12
12
|
createdByUserType: "system" | "user";
|
|
13
13
|
createdAt: string;
|
|
14
14
|
createdBy: string;
|
|
15
|
-
createdByRole: string;
|
|
16
15
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
17
16
|
status: "Rejected" | "Requested" | "Accepted";
|
|
18
17
|
type: "REGISTER";
|
|
18
|
+
createdByRole?: string | undefined;
|
|
19
19
|
createdBySignature?: string | null | undefined;
|
|
20
20
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
21
21
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -27,7 +27,6 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
27
27
|
createdByUserType: "system" | "user";
|
|
28
28
|
createdAt: string;
|
|
29
29
|
createdBy: string;
|
|
30
|
-
createdByRole: string;
|
|
31
30
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
32
31
|
status: "Rejected" | "Requested" | "Accepted";
|
|
33
32
|
type: "DUPLICATE_DETECTED";
|
|
@@ -37,6 +36,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
37
36
|
trackingId: string;
|
|
38
37
|
}[];
|
|
39
38
|
};
|
|
39
|
+
createdByRole?: string | undefined;
|
|
40
40
|
createdBySignature?: string | null | undefined;
|
|
41
41
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
42
42
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -47,13 +47,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
47
47
|
createdByUserType: "system" | "user";
|
|
48
48
|
createdAt: string;
|
|
49
49
|
createdBy: string;
|
|
50
|
-
createdByRole: string;
|
|
51
50
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
52
51
|
status: "Rejected" | "Requested" | "Accepted";
|
|
53
52
|
type: "EDIT";
|
|
54
53
|
content: {
|
|
55
54
|
comment?: string | undefined;
|
|
56
55
|
};
|
|
56
|
+
createdByRole?: string | undefined;
|
|
57
57
|
createdBySignature?: string | null | undefined;
|
|
58
58
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
59
59
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -64,10 +64,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
64
64
|
createdByUserType: "system" | "user";
|
|
65
65
|
createdAt: string;
|
|
66
66
|
createdBy: string;
|
|
67
|
-
createdByRole: string;
|
|
68
67
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
69
68
|
status: "Rejected" | "Requested" | "Accepted";
|
|
70
69
|
type: "PRINT_CERTIFICATE";
|
|
70
|
+
createdByRole?: string | undefined;
|
|
71
71
|
createdBySignature?: string | null | undefined;
|
|
72
72
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
73
73
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -81,10 +81,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
81
81
|
createdByUserType: "system" | "user";
|
|
82
82
|
createdAt: string;
|
|
83
83
|
createdBy: string;
|
|
84
|
-
createdByRole: string;
|
|
85
84
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
86
85
|
status: "Rejected" | "Requested" | "Accepted";
|
|
87
86
|
type: "REQUEST_CORRECTION";
|
|
87
|
+
createdByRole?: string | undefined;
|
|
88
88
|
createdBySignature?: string | null | undefined;
|
|
89
89
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
90
90
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -95,11 +95,11 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
95
95
|
createdByUserType: "system" | "user";
|
|
96
96
|
createdAt: string;
|
|
97
97
|
createdBy: string;
|
|
98
|
-
createdByRole: string;
|
|
99
98
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
100
99
|
status: "Rejected" | "Requested" | "Accepted";
|
|
101
100
|
type: "CUSTOM";
|
|
102
101
|
customActionType: string;
|
|
102
|
+
createdByRole?: string | undefined;
|
|
103
103
|
createdBySignature?: string | null | undefined;
|
|
104
104
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
105
105
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -110,10 +110,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
110
110
|
createdByUserType: "system" | "user";
|
|
111
111
|
createdAt: string;
|
|
112
112
|
createdBy: string;
|
|
113
|
-
createdByRole: string;
|
|
114
113
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
115
114
|
status: "Rejected" | "Requested" | "Accepted";
|
|
116
115
|
type: "CREATE";
|
|
116
|
+
createdByRole?: string | undefined;
|
|
117
117
|
createdBySignature?: string | null | undefined;
|
|
118
118
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
119
119
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -124,13 +124,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
124
124
|
createdByUserType: "system" | "user";
|
|
125
125
|
createdAt: string;
|
|
126
126
|
createdBy: string;
|
|
127
|
-
createdByRole: string;
|
|
128
127
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
129
128
|
status: "Rejected" | "Requested" | "Accepted";
|
|
130
129
|
type: "REJECT";
|
|
131
130
|
content: {
|
|
132
131
|
reason: string;
|
|
133
132
|
};
|
|
133
|
+
createdByRole?: string | undefined;
|
|
134
134
|
createdBySignature?: string | null | undefined;
|
|
135
135
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
136
136
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -141,10 +141,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
141
141
|
createdByUserType: "system" | "user";
|
|
142
142
|
createdAt: string;
|
|
143
143
|
createdBy: string;
|
|
144
|
-
createdByRole: string;
|
|
145
144
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
146
145
|
status: "Rejected" | "Requested" | "Accepted";
|
|
147
146
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
147
|
+
createdByRole?: string | undefined;
|
|
148
148
|
createdBySignature?: string | null | undefined;
|
|
149
149
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
150
150
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -155,10 +155,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
155
155
|
createdByUserType: "system" | "user";
|
|
156
156
|
createdAt: string;
|
|
157
157
|
createdBy: string;
|
|
158
|
-
createdByRole: string;
|
|
159
158
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
160
159
|
status: "Rejected" | "Requested" | "Accepted";
|
|
161
160
|
type: "MARK_AS_DUPLICATE";
|
|
161
|
+
createdByRole?: string | undefined;
|
|
162
162
|
createdBySignature?: string | null | undefined;
|
|
163
163
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
164
164
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -172,13 +172,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
172
172
|
createdByUserType: "system" | "user";
|
|
173
173
|
createdAt: string;
|
|
174
174
|
createdBy: string;
|
|
175
|
-
createdByRole: string;
|
|
176
175
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
177
176
|
status: "Rejected" | "Requested" | "Accepted";
|
|
178
177
|
type: "ARCHIVE";
|
|
179
178
|
content: {
|
|
180
179
|
reason: string;
|
|
181
180
|
};
|
|
181
|
+
createdByRole?: string | undefined;
|
|
182
182
|
createdBySignature?: string | null | undefined;
|
|
183
183
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
184
184
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -189,10 +189,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
189
189
|
createdByUserType: "system" | "user";
|
|
190
190
|
createdAt: string;
|
|
191
191
|
createdBy: string;
|
|
192
|
-
createdByRole: string;
|
|
193
192
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
194
193
|
status: "Rejected" | "Requested" | "Accepted";
|
|
195
194
|
type: "NOTIFY";
|
|
195
|
+
createdByRole?: string | undefined;
|
|
196
196
|
createdBySignature?: string | null | undefined;
|
|
197
197
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
198
198
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -203,10 +203,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
203
203
|
createdByUserType: "system" | "user";
|
|
204
204
|
createdAt: string;
|
|
205
205
|
createdBy: string;
|
|
206
|
-
createdByRole: string;
|
|
207
206
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
208
207
|
status: "Rejected" | "Requested" | "Accepted";
|
|
209
208
|
type: "DECLARE";
|
|
209
|
+
createdByRole?: string | undefined;
|
|
210
210
|
createdBySignature?: string | null | undefined;
|
|
211
211
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
212
212
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -217,11 +217,11 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
217
217
|
createdByUserType: "system" | "user";
|
|
218
218
|
createdAt: string;
|
|
219
219
|
createdBy: string;
|
|
220
|
-
createdByRole: string;
|
|
221
220
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
222
221
|
status: "Rejected" | "Requested" | "Accepted";
|
|
223
222
|
type: "ASSIGN";
|
|
224
223
|
assignedTo: string;
|
|
224
|
+
createdByRole?: string | undefined;
|
|
225
225
|
createdBySignature?: string | null | undefined;
|
|
226
226
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
227
227
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -232,11 +232,11 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
232
232
|
createdByUserType: "system" | "user";
|
|
233
233
|
createdAt: string;
|
|
234
234
|
createdBy: string;
|
|
235
|
-
createdByRole: string;
|
|
236
235
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
237
236
|
status: "Rejected" | "Requested" | "Accepted";
|
|
238
237
|
type: "APPROVE_CORRECTION";
|
|
239
238
|
requestId: string;
|
|
239
|
+
createdByRole?: string | undefined;
|
|
240
240
|
createdBySignature?: string | null | undefined;
|
|
241
241
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
242
242
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -247,7 +247,6 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
247
247
|
createdByUserType: "system" | "user";
|
|
248
248
|
createdAt: string;
|
|
249
249
|
createdBy: string;
|
|
250
|
-
createdByRole: string;
|
|
251
250
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
252
251
|
status: "Rejected" | "Requested" | "Accepted";
|
|
253
252
|
type: "REJECT_CORRECTION";
|
|
@@ -255,6 +254,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
255
254
|
content: {
|
|
256
255
|
reason: string;
|
|
257
256
|
};
|
|
257
|
+
createdByRole?: string | undefined;
|
|
258
258
|
createdBySignature?: string | null | undefined;
|
|
259
259
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
260
260
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -265,10 +265,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
265
265
|
createdByUserType: "system" | "user";
|
|
266
266
|
createdAt: string;
|
|
267
267
|
createdBy: string;
|
|
268
|
-
createdByRole: string;
|
|
269
268
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
270
269
|
status: "Rejected" | "Requested" | "Accepted";
|
|
271
270
|
type: "UNASSIGN";
|
|
271
|
+
createdByRole?: string | undefined;
|
|
272
272
|
createdBySignature?: string | null | undefined;
|
|
273
273
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
274
274
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -279,10 +279,10 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
279
279
|
createdByUserType: "system" | "user";
|
|
280
280
|
createdAt: string;
|
|
281
281
|
createdBy: string;
|
|
282
|
-
createdByRole: string;
|
|
283
282
|
declaration: Record<string, import("..").FieldUpdateValue>;
|
|
284
283
|
status: "Rejected" | "Requested" | "Accepted";
|
|
285
284
|
type: "READ";
|
|
285
|
+
createdByRole?: string | undefined;
|
|
286
286
|
createdBySignature?: string | null | undefined;
|
|
287
287
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
288
288
|
annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
|
|
@@ -293,9 +293,9 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
|
|
|
293
293
|
createdByUserType: "system" | "user";
|
|
294
294
|
createdAt: string;
|
|
295
295
|
createdBy: string;
|
|
296
|
-
createdByRole: string;
|
|
297
296
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
298
297
|
status: "Rejected";
|
|
298
|
+
createdByRole?: string | undefined;
|
|
299
299
|
createdBySignature?: string | null | undefined;
|
|
300
300
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
301
301
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -311,7 +311,7 @@ export declare function getLegalStatuses(actions: Action[]): {
|
|
|
311
311
|
createdByUserType: "system" | "user";
|
|
312
312
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
313
313
|
acceptedAt: string;
|
|
314
|
-
createdByRole: string;
|
|
314
|
+
createdByRole: string | undefined;
|
|
315
315
|
createdBySignature: string | null | undefined;
|
|
316
316
|
registrationNumber: string | null | undefined;
|
|
317
317
|
} | null;
|
|
@@ -321,7 +321,7 @@ export declare function getLegalStatuses(actions: Action[]): {
|
|
|
321
321
|
createdByUserType: "system" | "user";
|
|
322
322
|
createdAtLocation: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
323
323
|
acceptedAt: string;
|
|
324
|
-
createdByRole: string;
|
|
324
|
+
createdByRole: string | undefined;
|
|
325
325
|
createdBySignature: string | null | undefined;
|
|
326
326
|
registrationNumber: string | null | undefined;
|
|
327
327
|
} | null;
|
|
@@ -678,6 +678,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
|
678
678
|
styles?: {
|
|
679
679
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
680
680
|
hint?: boolean | undefined;
|
|
681
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
681
682
|
} | undefined;
|
|
682
683
|
};
|
|
683
684
|
parent?: {
|
|
@@ -3951,6 +3952,7 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
|
3951
3952
|
styles?: {
|
|
3952
3953
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
3953
3954
|
hint?: boolean | undefined;
|
|
3955
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
3954
3956
|
} | undefined;
|
|
3955
3957
|
};
|
|
3956
3958
|
parent?: {
|
|
@@ -7226,6 +7228,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
7226
7228
|
styles?: {
|
|
7227
7229
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
7228
7230
|
hint?: boolean | undefined;
|
|
7231
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
7229
7232
|
} | undefined;
|
|
7230
7233
|
};
|
|
7231
7234
|
parent?: {
|
|
@@ -10492,6 +10495,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
|
10492
10495
|
styles?: {
|
|
10493
10496
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
10494
10497
|
hint?: boolean | undefined;
|
|
10498
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
10495
10499
|
} | undefined;
|
|
10496
10500
|
};
|
|
10497
10501
|
parent?: {
|
|
@@ -13779,6 +13783,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
|
13779
13783
|
styles?: {
|
|
13780
13784
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
13781
13785
|
hint?: boolean | undefined;
|
|
13786
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
13782
13787
|
} | undefined;
|
|
13783
13788
|
};
|
|
13784
13789
|
parent?: {
|
|
@@ -17035,6 +17040,7 @@ export declare function getAllUniqueFields(eventConfig: EventConfig): ({
|
|
|
17035
17040
|
styles?: {
|
|
17036
17041
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
17037
17042
|
hint?: boolean | undefined;
|
|
17043
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
17038
17044
|
} | undefined;
|
|
17039
17045
|
};
|
|
17040
17046
|
parent?: {
|
|
@@ -20302,6 +20308,7 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
|
20302
20308
|
styles?: {
|
|
20303
20309
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
20304
20310
|
hint?: boolean | undefined;
|
|
20311
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
20305
20312
|
} | undefined;
|
|
20306
20313
|
};
|
|
20307
20314
|
parent?: {
|
|
@@ -23559,6 +23566,7 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
|
23559
23566
|
styles?: {
|
|
23560
23567
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
23561
23568
|
hint?: boolean | undefined;
|
|
23569
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
23562
23570
|
} | undefined;
|
|
23563
23571
|
};
|
|
23564
23572
|
parent?: {
|
|
@@ -26317,10 +26325,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26317
26325
|
createdByUserType: "system" | "user";
|
|
26318
26326
|
createdAt: string;
|
|
26319
26327
|
createdBy: string;
|
|
26320
|
-
createdByRole: string;
|
|
26321
26328
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26322
26329
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26323
26330
|
type: "REGISTER";
|
|
26331
|
+
createdByRole?: string | undefined;
|
|
26324
26332
|
createdBySignature?: string | null | undefined;
|
|
26325
26333
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26326
26334
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26332,7 +26340,6 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26332
26340
|
createdByUserType: "system" | "user";
|
|
26333
26341
|
createdAt: string;
|
|
26334
26342
|
createdBy: string;
|
|
26335
|
-
createdByRole: string;
|
|
26336
26343
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26337
26344
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26338
26345
|
type: "DUPLICATE_DETECTED";
|
|
@@ -26342,6 +26349,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26342
26349
|
trackingId: string;
|
|
26343
26350
|
}[];
|
|
26344
26351
|
};
|
|
26352
|
+
createdByRole?: string | undefined;
|
|
26345
26353
|
createdBySignature?: string | null | undefined;
|
|
26346
26354
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26347
26355
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26352,13 +26360,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26352
26360
|
createdByUserType: "system" | "user";
|
|
26353
26361
|
createdAt: string;
|
|
26354
26362
|
createdBy: string;
|
|
26355
|
-
createdByRole: string;
|
|
26356
26363
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26357
26364
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26358
26365
|
type: "EDIT";
|
|
26359
26366
|
content: {
|
|
26360
26367
|
comment?: string | undefined;
|
|
26361
26368
|
};
|
|
26369
|
+
createdByRole?: string | undefined;
|
|
26362
26370
|
createdBySignature?: string | null | undefined;
|
|
26363
26371
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26364
26372
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26369,10 +26377,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26369
26377
|
createdByUserType: "system" | "user";
|
|
26370
26378
|
createdAt: string;
|
|
26371
26379
|
createdBy: string;
|
|
26372
|
-
createdByRole: string;
|
|
26373
26380
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26374
26381
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26375
26382
|
type: "PRINT_CERTIFICATE";
|
|
26383
|
+
createdByRole?: string | undefined;
|
|
26376
26384
|
createdBySignature?: string | null | undefined;
|
|
26377
26385
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26378
26386
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26386,10 +26394,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26386
26394
|
createdByUserType: "system" | "user";
|
|
26387
26395
|
createdAt: string;
|
|
26388
26396
|
createdBy: string;
|
|
26389
|
-
createdByRole: string;
|
|
26390
26397
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26391
26398
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26392
26399
|
type: "REQUEST_CORRECTION";
|
|
26400
|
+
createdByRole?: string | undefined;
|
|
26393
26401
|
createdBySignature?: string | null | undefined;
|
|
26394
26402
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26395
26403
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26400,11 +26408,11 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26400
26408
|
createdByUserType: "system" | "user";
|
|
26401
26409
|
createdAt: string;
|
|
26402
26410
|
createdBy: string;
|
|
26403
|
-
createdByRole: string;
|
|
26404
26411
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26405
26412
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26406
26413
|
type: "CUSTOM";
|
|
26407
26414
|
customActionType: string;
|
|
26415
|
+
createdByRole?: string | undefined;
|
|
26408
26416
|
createdBySignature?: string | null | undefined;
|
|
26409
26417
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26410
26418
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26415,10 +26423,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26415
26423
|
createdByUserType: "system" | "user";
|
|
26416
26424
|
createdAt: string;
|
|
26417
26425
|
createdBy: string;
|
|
26418
|
-
createdByRole: string;
|
|
26419
26426
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26420
26427
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26421
26428
|
type: "CREATE";
|
|
26429
|
+
createdByRole?: string | undefined;
|
|
26422
26430
|
createdBySignature?: string | null | undefined;
|
|
26423
26431
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26424
26432
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26429,13 +26437,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26429
26437
|
createdByUserType: "system" | "user";
|
|
26430
26438
|
createdAt: string;
|
|
26431
26439
|
createdBy: string;
|
|
26432
|
-
createdByRole: string;
|
|
26433
26440
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26434
26441
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26435
26442
|
type: "REJECT";
|
|
26436
26443
|
content: {
|
|
26437
26444
|
reason: string;
|
|
26438
26445
|
};
|
|
26446
|
+
createdByRole?: string | undefined;
|
|
26439
26447
|
createdBySignature?: string | null | undefined;
|
|
26440
26448
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26441
26449
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26446,10 +26454,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26446
26454
|
createdByUserType: "system" | "user";
|
|
26447
26455
|
createdAt: string;
|
|
26448
26456
|
createdBy: string;
|
|
26449
|
-
createdByRole: string;
|
|
26450
26457
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26451
26458
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26452
26459
|
type: "MARK_AS_NOT_DUPLICATE";
|
|
26460
|
+
createdByRole?: string | undefined;
|
|
26453
26461
|
createdBySignature?: string | null | undefined;
|
|
26454
26462
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26455
26463
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26460,10 +26468,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26460
26468
|
createdByUserType: "system" | "user";
|
|
26461
26469
|
createdAt: string;
|
|
26462
26470
|
createdBy: string;
|
|
26463
|
-
createdByRole: string;
|
|
26464
26471
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26465
26472
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26466
26473
|
type: "MARK_AS_DUPLICATE";
|
|
26474
|
+
createdByRole?: string | undefined;
|
|
26467
26475
|
createdBySignature?: string | null | undefined;
|
|
26468
26476
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26469
26477
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26477,13 +26485,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26477
26485
|
createdByUserType: "system" | "user";
|
|
26478
26486
|
createdAt: string;
|
|
26479
26487
|
createdBy: string;
|
|
26480
|
-
createdByRole: string;
|
|
26481
26488
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26482
26489
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26483
26490
|
type: "ARCHIVE";
|
|
26484
26491
|
content: {
|
|
26485
26492
|
reason: string;
|
|
26486
26493
|
};
|
|
26494
|
+
createdByRole?: string | undefined;
|
|
26487
26495
|
createdBySignature?: string | null | undefined;
|
|
26488
26496
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26489
26497
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26494,10 +26502,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26494
26502
|
createdByUserType: "system" | "user";
|
|
26495
26503
|
createdAt: string;
|
|
26496
26504
|
createdBy: string;
|
|
26497
|
-
createdByRole: string;
|
|
26498
26505
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26499
26506
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26500
26507
|
type: "NOTIFY";
|
|
26508
|
+
createdByRole?: string | undefined;
|
|
26501
26509
|
createdBySignature?: string | null | undefined;
|
|
26502
26510
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26503
26511
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26508,10 +26516,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26508
26516
|
createdByUserType: "system" | "user";
|
|
26509
26517
|
createdAt: string;
|
|
26510
26518
|
createdBy: string;
|
|
26511
|
-
createdByRole: string;
|
|
26512
26519
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26513
26520
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26514
26521
|
type: "DECLARE";
|
|
26522
|
+
createdByRole?: string | undefined;
|
|
26515
26523
|
createdBySignature?: string | null | undefined;
|
|
26516
26524
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26517
26525
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26522,11 +26530,11 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26522
26530
|
createdByUserType: "system" | "user";
|
|
26523
26531
|
createdAt: string;
|
|
26524
26532
|
createdBy: string;
|
|
26525
|
-
createdByRole: string;
|
|
26526
26533
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26527
26534
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26528
26535
|
type: "ASSIGN";
|
|
26529
26536
|
assignedTo: string;
|
|
26537
|
+
createdByRole?: string | undefined;
|
|
26530
26538
|
createdBySignature?: string | null | undefined;
|
|
26531
26539
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26532
26540
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26537,11 +26545,11 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26537
26545
|
createdByUserType: "system" | "user";
|
|
26538
26546
|
createdAt: string;
|
|
26539
26547
|
createdBy: string;
|
|
26540
|
-
createdByRole: string;
|
|
26541
26548
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26542
26549
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26543
26550
|
type: "APPROVE_CORRECTION";
|
|
26544
26551
|
requestId: string;
|
|
26552
|
+
createdByRole?: string | undefined;
|
|
26545
26553
|
createdBySignature?: string | null | undefined;
|
|
26546
26554
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26547
26555
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26552,7 +26560,6 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26552
26560
|
createdByUserType: "system" | "user";
|
|
26553
26561
|
createdAt: string;
|
|
26554
26562
|
createdBy: string;
|
|
26555
|
-
createdByRole: string;
|
|
26556
26563
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26557
26564
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26558
26565
|
type: "REJECT_CORRECTION";
|
|
@@ -26560,6 +26567,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26560
26567
|
content: {
|
|
26561
26568
|
reason: string;
|
|
26562
26569
|
};
|
|
26570
|
+
createdByRole?: string | undefined;
|
|
26563
26571
|
createdBySignature?: string | null | undefined;
|
|
26564
26572
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26565
26573
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26570,10 +26578,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26570
26578
|
createdByUserType: "system" | "user";
|
|
26571
26579
|
createdAt: string;
|
|
26572
26580
|
createdBy: string;
|
|
26573
|
-
createdByRole: string;
|
|
26574
26581
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26575
26582
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26576
26583
|
type: "UNASSIGN";
|
|
26584
|
+
createdByRole?: string | undefined;
|
|
26577
26585
|
createdBySignature?: string | null | undefined;
|
|
26578
26586
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26579
26587
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26584,10 +26592,10 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26584
26592
|
createdByUserType: "system" | "user";
|
|
26585
26593
|
createdAt: string;
|
|
26586
26594
|
createdBy: string;
|
|
26587
|
-
createdByRole: string;
|
|
26588
26595
|
declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
|
|
26589
26596
|
status: "Rejected" | "Requested" | "Accepted";
|
|
26590
26597
|
type: "READ";
|
|
26598
|
+
createdByRole?: string | undefined;
|
|
26591
26599
|
createdBySignature?: string | null | undefined;
|
|
26592
26600
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26593
26601
|
annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
|
|
@@ -26598,9 +26606,9 @@ export declare function findLastAssignmentAction(actions: Action[]): {
|
|
|
26598
26606
|
createdByUserType: "system" | "user";
|
|
26599
26607
|
createdAt: string;
|
|
26600
26608
|
createdBy: string;
|
|
26601
|
-
createdByRole: string;
|
|
26602
26609
|
type: "NOTIFY" | "DECLARE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
|
|
26603
26610
|
status: "Rejected";
|
|
26611
|
+
createdByRole?: string | undefined;
|
|
26604
26612
|
createdBySignature?: string | null | undefined;
|
|
26605
26613
|
createdAtLocation?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
26606
26614
|
originalActionId?: (string & import("zod").$brand<"UUID">) | null | undefined;
|
|
@@ -27348,6 +27356,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
27348
27356
|
styles?: {
|
|
27349
27357
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
27350
27358
|
hint?: boolean | undefined;
|
|
27359
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
27351
27360
|
} | undefined;
|
|
27352
27361
|
};
|
|
27353
27362
|
parent?: {
|
|
@@ -30640,6 +30649,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
30640
30649
|
styles?: {
|
|
30641
30650
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
30642
30651
|
hint?: boolean | undefined;
|
|
30652
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
30643
30653
|
} | undefined;
|
|
30644
30654
|
};
|
|
30645
30655
|
parent?: {
|
|
@@ -33922,6 +33932,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
33922
33932
|
styles?: {
|
|
33923
33933
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
33924
33934
|
hint?: boolean | undefined;
|
|
33935
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
33925
33936
|
} | undefined;
|
|
33926
33937
|
};
|
|
33927
33938
|
parent?: {
|
|
@@ -37303,6 +37314,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
37303
37314
|
styles?: {
|
|
37304
37315
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
37305
37316
|
hint?: boolean | undefined;
|
|
37317
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
37306
37318
|
} | undefined;
|
|
37307
37319
|
};
|
|
37308
37320
|
parent?: {
|
|
@@ -40569,6 +40581,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
40569
40581
|
styles?: {
|
|
40570
40582
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
40571
40583
|
hint?: boolean | undefined;
|
|
40584
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
40572
40585
|
} | undefined;
|
|
40573
40586
|
};
|
|
40574
40587
|
parent?: {
|
|
@@ -43896,6 +43909,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
43896
43909
|
styles?: {
|
|
43897
43910
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
43898
43911
|
hint?: boolean | undefined;
|
|
43912
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
43899
43913
|
} | undefined;
|
|
43900
43914
|
};
|
|
43901
43915
|
parent?: {
|
|
@@ -47162,6 +47176,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
47162
47176
|
styles?: {
|
|
47163
47177
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
47164
47178
|
hint?: boolean | undefined;
|
|
47179
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
47165
47180
|
} | undefined;
|
|
47166
47181
|
};
|
|
47167
47182
|
parent?: {
|
|
@@ -50545,6 +50560,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
|
50545
50560
|
styles?: {
|
|
50546
50561
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
|
50547
50562
|
hint?: boolean | undefined;
|
|
50563
|
+
textAlign?: "start" | "end" | "left" | "center" | "right" | undefined;
|
|
50548
50564
|
} | undefined;
|
|
50549
50565
|
};
|
|
50550
50566
|
parent?: {
|