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