@opencrvs/toolkit 1.8.0-rc.ff0b26c → 1.8.0-rc.ff1f8e0
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 +2356 -1097
- package/dist/commons/conditionals/conditionals.d.ts +7 -6
- package/dist/commons/events/ActionConfig.d.ts +15774 -7797
- package/dist/commons/events/ActionDocument.d.ts +533 -346
- package/dist/commons/events/ActionInput.d.ts +197 -125
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +29 -24
- package/dist/commons/events/EventConfig.d.ts +13649 -9488
- package/dist/commons/events/EventDocument.d.ts +386 -267
- package/dist/commons/events/EventIndex.d.ts +209 -605
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +71 -48
- package/dist/commons/events/FieldConfig.d.ts +486 -440
- package/dist/commons/events/FieldTypeMapping.d.ts +5 -2
- package/dist/commons/events/FieldValue.d.ts +2 -0
- package/dist/commons/events/FormConfig.d.ts +3346 -3052
- package/dist/commons/events/PageConfig.d.ts +750 -680
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +3460 -485
- package/dist/commons/events/defineConfig.d.ts +1381 -575
- package/dist/commons/events/event.d.ts +2 -2
- package/dist/commons/events/field.d.ts +4 -13
- package/dist/commons/events/index.d.ts +4 -0
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +26 -5
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +333 -296
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +28 -8
- package/dist/events/index.js +1564 -584
- package/package.json +1 -1
@@ -2,25 +2,12 @@ import { z } from 'zod';
|
|
2
2
|
export declare const EventInput: z.ZodObject<{
|
3
3
|
transactionId: z.ZodString;
|
4
4
|
type: z.ZodString;
|
5
|
-
dateOfEvent: z.ZodOptional<z.ZodObject<{
|
6
|
-
fieldId: z.ZodString;
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
8
|
-
fieldId: string;
|
9
|
-
}, {
|
10
|
-
fieldId: string;
|
11
|
-
}>>;
|
12
5
|
}, "strip", z.ZodTypeAny, {
|
13
6
|
type: string;
|
14
7
|
transactionId: string;
|
15
|
-
dateOfEvent?: {
|
16
|
-
fieldId: string;
|
17
|
-
} | undefined;
|
18
8
|
}, {
|
19
9
|
type: string;
|
20
10
|
transactionId: string;
|
21
|
-
dateOfEvent?: {
|
22
|
-
fieldId: string;
|
23
|
-
} | undefined;
|
24
11
|
}>;
|
25
12
|
export type EventInput = z.infer<typeof EventInput>;
|
26
13
|
//# sourceMappingURL=EventInput.d.ts.map
|
@@ -38,121 +38,137 @@ export declare const ZodDate: z.ZodString;
|
|
38
38
|
export declare const ActionCreationMetadata: z.ZodObject<{
|
39
39
|
createdAt: z.ZodString;
|
40
40
|
createdBy: z.ZodString;
|
41
|
-
createdAtLocation: z.ZodString
|
41
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
42
42
|
acceptedAt: z.ZodString;
|
43
43
|
createdByRole: z.ZodString;
|
44
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
44
45
|
}, "strip", z.ZodTypeAny, {
|
45
46
|
createdAt: string;
|
46
47
|
createdBy: string;
|
47
48
|
createdByRole: string;
|
48
|
-
createdAtLocation: string;
|
49
49
|
acceptedAt: string;
|
50
|
+
createdBySignature?: string | null | undefined;
|
51
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
50
52
|
}, {
|
51
53
|
createdAt: string;
|
52
54
|
createdBy: string;
|
53
55
|
createdByRole: string;
|
54
|
-
createdAtLocation: string;
|
55
56
|
acceptedAt: string;
|
57
|
+
createdBySignature?: string | null | undefined;
|
58
|
+
createdAtLocation?: string | null | undefined;
|
56
59
|
}>;
|
57
60
|
export type ActionCreationMetadata = z.infer<typeof ActionCreationMetadata>;
|
58
61
|
export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.extendShape<{
|
59
62
|
createdAt: z.ZodString;
|
60
63
|
createdBy: z.ZodString;
|
61
|
-
createdAtLocation: z.ZodString
|
64
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
62
65
|
acceptedAt: z.ZodString;
|
63
66
|
createdByRole: z.ZodString;
|
67
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
64
68
|
}, {
|
65
69
|
registrationNumber: z.ZodString;
|
66
70
|
}>, "strip", z.ZodTypeAny, {
|
67
71
|
createdAt: string;
|
68
72
|
createdBy: string;
|
69
73
|
createdByRole: string;
|
70
|
-
createdAtLocation: string;
|
71
74
|
registrationNumber: string;
|
72
75
|
acceptedAt: string;
|
76
|
+
createdBySignature?: string | null | undefined;
|
77
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
73
78
|
}, {
|
74
79
|
createdAt: string;
|
75
80
|
createdBy: string;
|
76
81
|
createdByRole: string;
|
77
|
-
createdAtLocation: string;
|
78
82
|
registrationNumber: string;
|
79
83
|
acceptedAt: string;
|
84
|
+
createdBySignature?: string | null | undefined;
|
85
|
+
createdAtLocation?: string | null | undefined;
|
80
86
|
}>;
|
81
87
|
export type RegistrationCreationMetadata = z.infer<typeof RegistrationCreationMetadata>;
|
82
88
|
export declare const LegalStatuses: z.ZodObject<{
|
83
89
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
84
90
|
createdAt: z.ZodString;
|
85
91
|
createdBy: z.ZodString;
|
86
|
-
createdAtLocation: z.ZodString
|
92
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
87
93
|
acceptedAt: z.ZodString;
|
88
94
|
createdByRole: z.ZodString;
|
95
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
89
96
|
}, "strip", z.ZodTypeAny, {
|
90
97
|
createdAt: string;
|
91
98
|
createdBy: string;
|
92
99
|
createdByRole: string;
|
93
|
-
createdAtLocation: string;
|
94
100
|
acceptedAt: string;
|
101
|
+
createdBySignature?: string | null | undefined;
|
102
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
95
103
|
}, {
|
96
104
|
createdAt: string;
|
97
105
|
createdBy: string;
|
98
106
|
createdByRole: string;
|
99
|
-
createdAtLocation: string;
|
100
107
|
acceptedAt: string;
|
108
|
+
createdBySignature?: string | null | undefined;
|
109
|
+
createdAtLocation?: string | null | undefined;
|
101
110
|
}>>>;
|
102
111
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
103
112
|
createdAt: z.ZodString;
|
104
113
|
createdBy: z.ZodString;
|
105
|
-
createdAtLocation: z.ZodString
|
114
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
106
115
|
acceptedAt: z.ZodString;
|
107
116
|
createdByRole: z.ZodString;
|
117
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
108
118
|
}, {
|
109
119
|
registrationNumber: z.ZodString;
|
110
120
|
}>, "strip", z.ZodTypeAny, {
|
111
121
|
createdAt: string;
|
112
122
|
createdBy: string;
|
113
123
|
createdByRole: string;
|
114
|
-
createdAtLocation: string;
|
115
124
|
registrationNumber: string;
|
116
125
|
acceptedAt: string;
|
126
|
+
createdBySignature?: string | null | undefined;
|
127
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
117
128
|
}, {
|
118
129
|
createdAt: string;
|
119
130
|
createdBy: string;
|
120
131
|
createdByRole: string;
|
121
|
-
createdAtLocation: string;
|
122
132
|
registrationNumber: string;
|
123
133
|
acceptedAt: string;
|
134
|
+
createdBySignature?: string | null | undefined;
|
135
|
+
createdAtLocation?: string | null | undefined;
|
124
136
|
}>>>;
|
125
137
|
}, "strip", z.ZodTypeAny, {
|
126
138
|
DECLARED?: {
|
127
139
|
createdAt: string;
|
128
140
|
createdBy: string;
|
129
141
|
createdByRole: string;
|
130
|
-
createdAtLocation: string;
|
131
142
|
acceptedAt: string;
|
143
|
+
createdBySignature?: string | null | undefined;
|
144
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
132
145
|
} | null | undefined;
|
133
146
|
REGISTERED?: {
|
134
147
|
createdAt: string;
|
135
148
|
createdBy: string;
|
136
149
|
createdByRole: string;
|
137
|
-
createdAtLocation: string;
|
138
150
|
registrationNumber: string;
|
139
151
|
acceptedAt: string;
|
152
|
+
createdBySignature?: string | null | undefined;
|
153
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
140
154
|
} | null | undefined;
|
141
155
|
}, {
|
142
156
|
DECLARED?: {
|
143
157
|
createdAt: string;
|
144
158
|
createdBy: string;
|
145
159
|
createdByRole: string;
|
146
|
-
createdAtLocation: string;
|
147
160
|
acceptedAt: string;
|
161
|
+
createdBySignature?: string | null | undefined;
|
162
|
+
createdAtLocation?: string | null | undefined;
|
148
163
|
} | null | undefined;
|
149
164
|
REGISTERED?: {
|
150
165
|
createdAt: string;
|
151
166
|
createdBy: string;
|
152
167
|
createdByRole: string;
|
153
|
-
createdAtLocation: string;
|
154
168
|
registrationNumber: string;
|
155
169
|
acceptedAt: string;
|
170
|
+
createdBySignature?: string | null | undefined;
|
171
|
+
createdAtLocation?: string | null | undefined;
|
156
172
|
} | null | undefined;
|
157
173
|
}>;
|
158
174
|
/**
|
@@ -161,7 +177,7 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
161
177
|
* Accessed through `event.` in configuration.
|
162
178
|
*/
|
163
179
|
export declare const EventMetadata: z.ZodObject<{
|
164
|
-
id: z.ZodString
|
180
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
165
181
|
type: z.ZodString;
|
166
182
|
status: z.ZodNativeEnum<{
|
167
183
|
readonly CREATED: "CREATED";
|
@@ -177,84 +193,95 @@ export declare const EventMetadata: z.ZodObject<{
|
|
177
193
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
178
194
|
createdAt: z.ZodString;
|
179
195
|
createdBy: z.ZodString;
|
180
|
-
createdAtLocation: z.ZodString
|
196
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
181
197
|
acceptedAt: z.ZodString;
|
182
198
|
createdByRole: z.ZodString;
|
199
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
183
200
|
}, "strip", z.ZodTypeAny, {
|
184
201
|
createdAt: string;
|
185
202
|
createdBy: string;
|
186
203
|
createdByRole: string;
|
187
|
-
createdAtLocation: string;
|
188
204
|
acceptedAt: string;
|
205
|
+
createdBySignature?: string | null | undefined;
|
206
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
189
207
|
}, {
|
190
208
|
createdAt: string;
|
191
209
|
createdBy: string;
|
192
210
|
createdByRole: string;
|
193
|
-
createdAtLocation: string;
|
194
211
|
acceptedAt: string;
|
212
|
+
createdBySignature?: string | null | undefined;
|
213
|
+
createdAtLocation?: string | null | undefined;
|
195
214
|
}>>>;
|
196
215
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
197
216
|
createdAt: z.ZodString;
|
198
217
|
createdBy: z.ZodString;
|
199
|
-
createdAtLocation: z.ZodString
|
218
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
200
219
|
acceptedAt: z.ZodString;
|
201
220
|
createdByRole: z.ZodString;
|
221
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
202
222
|
}, {
|
203
223
|
registrationNumber: z.ZodString;
|
204
224
|
}>, "strip", z.ZodTypeAny, {
|
205
225
|
createdAt: string;
|
206
226
|
createdBy: string;
|
207
227
|
createdByRole: string;
|
208
|
-
createdAtLocation: string;
|
209
228
|
registrationNumber: string;
|
210
229
|
acceptedAt: string;
|
230
|
+
createdBySignature?: string | null | undefined;
|
231
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
211
232
|
}, {
|
212
233
|
createdAt: string;
|
213
234
|
createdBy: string;
|
214
235
|
createdByRole: string;
|
215
|
-
createdAtLocation: string;
|
216
236
|
registrationNumber: string;
|
217
237
|
acceptedAt: string;
|
238
|
+
createdBySignature?: string | null | undefined;
|
239
|
+
createdAtLocation?: string | null | undefined;
|
218
240
|
}>>>;
|
219
241
|
}, "strip", z.ZodTypeAny, {
|
220
242
|
DECLARED?: {
|
221
243
|
createdAt: string;
|
222
244
|
createdBy: string;
|
223
245
|
createdByRole: string;
|
224
|
-
createdAtLocation: string;
|
225
246
|
acceptedAt: string;
|
247
|
+
createdBySignature?: string | null | undefined;
|
248
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
226
249
|
} | null | undefined;
|
227
250
|
REGISTERED?: {
|
228
251
|
createdAt: string;
|
229
252
|
createdBy: string;
|
230
253
|
createdByRole: string;
|
231
|
-
createdAtLocation: string;
|
232
254
|
registrationNumber: string;
|
233
255
|
acceptedAt: string;
|
256
|
+
createdBySignature?: string | null | undefined;
|
257
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
234
258
|
} | null | undefined;
|
235
259
|
}, {
|
236
260
|
DECLARED?: {
|
237
261
|
createdAt: string;
|
238
262
|
createdBy: string;
|
239
263
|
createdByRole: string;
|
240
|
-
createdAtLocation: string;
|
241
264
|
acceptedAt: string;
|
265
|
+
createdBySignature?: string | null | undefined;
|
266
|
+
createdAtLocation?: string | null | undefined;
|
242
267
|
} | null | undefined;
|
243
268
|
REGISTERED?: {
|
244
269
|
createdAt: string;
|
245
270
|
createdBy: string;
|
246
271
|
createdByRole: string;
|
247
|
-
createdAtLocation: string;
|
248
272
|
registrationNumber: string;
|
249
273
|
acceptedAt: string;
|
274
|
+
createdBySignature?: string | null | undefined;
|
275
|
+
createdAtLocation?: string | null | undefined;
|
250
276
|
} | null | undefined;
|
251
277
|
}>;
|
252
278
|
createdAt: z.ZodString;
|
253
279
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
254
280
|
createdBy: z.ZodString;
|
255
281
|
updatedByUserRole: z.ZodString;
|
256
|
-
createdAtLocation: z.ZodString
|
257
|
-
|
282
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
283
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
284
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
258
285
|
updatedAt: z.ZodString;
|
259
286
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
260
287
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -264,11 +291,10 @@ export declare const EventMetadata: z.ZodObject<{
|
|
264
291
|
}>]>, "many">;
|
265
292
|
}, "strip", z.ZodTypeAny, {
|
266
293
|
type: string;
|
267
|
-
id: string
|
294
|
+
id: string & z.BRAND<"UUID">;
|
268
295
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
269
296
|
createdAt: string;
|
270
297
|
createdBy: string;
|
271
|
-
createdAtLocation: string;
|
272
298
|
updatedAt: string;
|
273
299
|
trackingId: string;
|
274
300
|
legalStatuses: {
|
@@ -276,23 +302,27 @@ export declare const EventMetadata: z.ZodObject<{
|
|
276
302
|
createdAt: string;
|
277
303
|
createdBy: string;
|
278
304
|
createdByRole: string;
|
279
|
-
createdAtLocation: string;
|
280
305
|
acceptedAt: string;
|
306
|
+
createdBySignature?: string | null | undefined;
|
307
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
281
308
|
} | null | undefined;
|
282
309
|
REGISTERED?: {
|
283
310
|
createdAt: string;
|
284
311
|
createdBy: string;
|
285
312
|
createdByRole: string;
|
286
|
-
createdAtLocation: string;
|
287
313
|
registrationNumber: string;
|
288
314
|
acceptedAt: string;
|
315
|
+
createdBySignature?: string | null | undefined;
|
316
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
289
317
|
} | null | undefined;
|
290
318
|
};
|
291
319
|
updatedByUserRole: string;
|
292
320
|
flags: string[];
|
321
|
+
createdBySignature?: string | null | undefined;
|
322
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
293
323
|
assignedTo?: string | null | undefined;
|
294
324
|
dateOfEvent?: string | null | undefined;
|
295
|
-
updatedAtLocation?: string | null | undefined;
|
325
|
+
updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
296
326
|
updatedBy?: string | null | undefined;
|
297
327
|
}, {
|
298
328
|
type: string;
|
@@ -300,7 +330,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
300
330
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
301
331
|
createdAt: string;
|
302
332
|
createdBy: string;
|
303
|
-
createdAtLocation: string;
|
304
333
|
updatedAt: string;
|
305
334
|
trackingId: string;
|
306
335
|
legalStatuses: {
|
@@ -308,39 +337,33 @@ export declare const EventMetadata: z.ZodObject<{
|
|
308
337
|
createdAt: string;
|
309
338
|
createdBy: string;
|
310
339
|
createdByRole: string;
|
311
|
-
createdAtLocation: string;
|
312
340
|
acceptedAt: string;
|
341
|
+
createdBySignature?: string | null | undefined;
|
342
|
+
createdAtLocation?: string | null | undefined;
|
313
343
|
} | null | undefined;
|
314
344
|
REGISTERED?: {
|
315
345
|
createdAt: string;
|
316
346
|
createdBy: string;
|
317
347
|
createdByRole: string;
|
318
|
-
createdAtLocation: string;
|
319
348
|
registrationNumber: string;
|
320
349
|
acceptedAt: string;
|
350
|
+
createdBySignature?: string | null | undefined;
|
351
|
+
createdAtLocation?: string | null | undefined;
|
321
352
|
} | null | undefined;
|
322
353
|
};
|
323
354
|
updatedByUserRole: string;
|
324
355
|
flags: string[];
|
356
|
+
createdBySignature?: string | null | undefined;
|
357
|
+
createdAtLocation?: string | null | undefined;
|
325
358
|
assignedTo?: string | null | undefined;
|
326
359
|
dateOfEvent?: string | null | undefined;
|
327
360
|
updatedAtLocation?: string | null | undefined;
|
328
361
|
updatedBy?: string | null | undefined;
|
329
362
|
}>;
|
330
363
|
export type EventMetadata = z.infer<typeof EventMetadata>;
|
364
|
+
export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
|
331
365
|
export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"]>;
|
332
366
|
export type EventMetadataKeys = z.infer<typeof EventMetadataKeys>;
|
333
|
-
/**
|
334
|
-
* This ensures `event.field()` takes a key from `EventMetadata`
|
335
|
-
*/
|
336
|
-
export declare const EventMetadataParameter: z.ZodObject<{
|
337
|
-
$event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"]>;
|
338
|
-
}, "strip", z.ZodTypeAny, {
|
339
|
-
$event: "type" | "id" | "status" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "dateOfEvent" | "updatedAt" | "trackingId" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
340
|
-
}, {
|
341
|
-
$event: "type" | "id" | "status" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "dateOfEvent" | "updatedAt" | "trackingId" | "legalStatuses" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
|
342
|
-
}>;
|
343
|
-
export type EventMetadataParameter = z.infer<typeof EventMetadataParameter>;
|
344
367
|
/**
|
345
368
|
* Mapping of event metadata keys to translation configuration.
|
346
369
|
* Consider introducing type in same manner as we have in FieldConfig.
|