@opencrvs/toolkit 1.8.0-rc.fd8a78f → 1.8.0-rc.fde35f6

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.
Files changed (35) hide show
  1. package/dist/commons/api/router.d.ts +3117 -11206
  2. package/dist/commons/conditionals/conditionals.d.ts +0 -12
  3. package/dist/commons/events/ActionConfig.d.ts +12032 -3972
  4. package/dist/commons/events/ActionDocument.d.ts +3029 -1886
  5. package/dist/commons/events/ActionInput.d.ts +2406 -1506
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +304 -51
  7. package/dist/commons/events/CompositeFieldValue.d.ts +15 -15
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +1891 -741
  9. package/dist/commons/events/CreatedAtLocation.d.ts +1 -2
  10. package/dist/commons/events/Draft.d.ts +213 -136
  11. package/dist/commons/events/EventConfig.d.ts +4770 -755
  12. package/dist/commons/events/EventDocument.d.ts +1942 -1219
  13. package/dist/commons/events/EventIndex.d.ts +897 -263
  14. package/dist/commons/events/EventMetadata.d.ts +73 -31
  15. package/dist/commons/events/FieldConfig.d.ts +607 -30
  16. package/dist/commons/events/FieldType.d.ts +2 -1
  17. package/dist/commons/events/FieldTypeMapping.d.ts +73 -41
  18. package/dist/commons/events/FieldValue.d.ts +57 -28
  19. package/dist/commons/events/FormConfig.d.ts +4685 -1295
  20. package/dist/commons/events/PageConfig.d.ts +868 -38
  21. package/dist/commons/events/User.d.ts +6 -3
  22. package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
  23. package/dist/commons/events/WorkqueueConfig.d.ts +4490 -1177
  24. package/dist/commons/events/defineConfig.d.ts +759 -34
  25. package/dist/commons/events/event.d.ts +15 -10
  26. package/dist/commons/events/field.d.ts +17 -0
  27. package/dist/commons/events/scopes.d.ts +1 -2
  28. package/dist/commons/events/test.utils.d.ts +83 -36
  29. package/dist/commons/events/transactions.d.ts +1 -1
  30. package/dist/commons/events/utils.d.ts +2926 -88
  31. package/dist/conditionals/index.js +22 -51
  32. package/dist/events/index.js +1550 -1048
  33. package/dist/scopes/index.d.ts +96 -7
  34. package/dist/scopes/index.js +105 -26
  35. package/package.json +3 -3
@@ -5,19 +5,26 @@ import { TranslationConfig } from './TranslationConfig';
5
5
  */
6
6
  export declare const EventStatus: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
7
7
  export type EventStatus = z.infer<typeof EventStatus>;
8
- export declare const CustomFlags: {
9
- readonly CERTIFICATE_PRINTED: "certificate-printed";
8
+ export declare const InherentFlags: {
9
+ readonly PRINTED: "printed";
10
+ readonly INCOMPLETE: "incomplete";
11
+ readonly REJECTED: "rejected";
12
+ readonly CORRECTION_REQUESTED: "correction-requested";
10
13
  };
11
- export type CustomFlags = (typeof CustomFlags)[keyof typeof CustomFlags];
14
+ export type InherentFlags = (typeof InherentFlags)[keyof typeof InherentFlags];
12
15
  export declare const Flag: z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
13
- readonly CERTIFICATE_PRINTED: "certificate-printed";
16
+ readonly PRINTED: "printed";
17
+ readonly INCOMPLETE: "incomplete";
18
+ readonly REJECTED: "rejected";
19
+ readonly CORRECTION_REQUESTED: "correction-requested";
14
20
  }>]>;
15
21
  export type Flag = z.infer<typeof Flag>;
16
22
  export declare const ZodDate: z.ZodString;
17
23
  export declare const ActionCreationMetadata: z.ZodObject<{
18
24
  createdAt: z.ZodString;
19
25
  createdBy: z.ZodString;
20
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
27
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
21
28
  acceptedAt: z.ZodString;
22
29
  createdByRole: z.ZodString;
23
30
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,13 +33,15 @@ export declare const ActionCreationMetadata: z.ZodObject<{
26
33
  createdBy: string;
27
34
  createdByRole: string;
28
35
  acceptedAt: string;
36
+ createdByUserType?: "system" | "user" | null | undefined;
29
37
  createdBySignature?: string | null | undefined;
30
- createdAtLocation?: string | null | undefined;
38
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
31
39
  }, {
32
40
  createdAt: string;
33
41
  createdBy: string;
34
42
  createdByRole: string;
35
43
  acceptedAt: string;
44
+ createdByUserType?: "system" | "user" | null | undefined;
36
45
  createdBySignature?: string | null | undefined;
37
46
  createdAtLocation?: string | null | undefined;
38
47
  }>;
@@ -40,7 +49,8 @@ export type ActionCreationMetadata = z.infer<typeof ActionCreationMetadata>;
40
49
  export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.extendShape<{
41
50
  createdAt: z.ZodString;
42
51
  createdBy: z.ZodString;
43
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
53
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
44
54
  acceptedAt: z.ZodString;
45
55
  createdByRole: z.ZodString;
46
56
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -52,14 +62,16 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
52
62
  createdByRole: string;
53
63
  registrationNumber: string;
54
64
  acceptedAt: string;
65
+ createdByUserType?: "system" | "user" | null | undefined;
55
66
  createdBySignature?: string | null | undefined;
56
- createdAtLocation?: string | null | undefined;
67
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
57
68
  }, {
58
69
  createdAt: string;
59
70
  createdBy: string;
60
71
  createdByRole: string;
61
72
  registrationNumber: string;
62
73
  acceptedAt: string;
74
+ createdByUserType?: "system" | "user" | null | undefined;
63
75
  createdBySignature?: string | null | undefined;
64
76
  createdAtLocation?: string | null | undefined;
65
77
  }>;
@@ -68,7 +80,8 @@ export declare const LegalStatuses: z.ZodObject<{
68
80
  DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
69
81
  createdAt: z.ZodString;
70
82
  createdBy: z.ZodString;
71
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
84
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
72
85
  acceptedAt: z.ZodString;
73
86
  createdByRole: z.ZodString;
74
87
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -77,20 +90,23 @@ export declare const LegalStatuses: z.ZodObject<{
77
90
  createdBy: string;
78
91
  createdByRole: string;
79
92
  acceptedAt: string;
93
+ createdByUserType?: "system" | "user" | null | undefined;
80
94
  createdBySignature?: string | null | undefined;
81
- createdAtLocation?: string | null | undefined;
95
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
82
96
  }, {
83
97
  createdAt: string;
84
98
  createdBy: string;
85
99
  createdByRole: string;
86
100
  acceptedAt: string;
101
+ createdByUserType?: "system" | "user" | null | undefined;
87
102
  createdBySignature?: string | null | undefined;
88
103
  createdAtLocation?: string | null | undefined;
89
104
  }>>>;
90
105
  REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
91
106
  createdAt: z.ZodString;
92
107
  createdBy: z.ZodString;
93
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
108
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
109
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
94
110
  acceptedAt: z.ZodString;
95
111
  createdByRole: z.ZodString;
96
112
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -102,14 +118,16 @@ export declare const LegalStatuses: z.ZodObject<{
102
118
  createdByRole: string;
103
119
  registrationNumber: string;
104
120
  acceptedAt: string;
121
+ createdByUserType?: "system" | "user" | null | undefined;
105
122
  createdBySignature?: string | null | undefined;
106
- createdAtLocation?: string | null | undefined;
123
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
107
124
  }, {
108
125
  createdAt: string;
109
126
  createdBy: string;
110
127
  createdByRole: string;
111
128
  registrationNumber: string;
112
129
  acceptedAt: string;
130
+ createdByUserType?: "system" | "user" | null | undefined;
113
131
  createdBySignature?: string | null | undefined;
114
132
  createdAtLocation?: string | null | undefined;
115
133
  }>>>;
@@ -119,8 +137,9 @@ export declare const LegalStatuses: z.ZodObject<{
119
137
  createdBy: string;
120
138
  createdByRole: string;
121
139
  acceptedAt: string;
140
+ createdByUserType?: "system" | "user" | null | undefined;
122
141
  createdBySignature?: string | null | undefined;
123
- createdAtLocation?: string | null | undefined;
142
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
124
143
  } | null | undefined;
125
144
  REGISTERED?: {
126
145
  createdAt: string;
@@ -128,8 +147,9 @@ export declare const LegalStatuses: z.ZodObject<{
128
147
  createdByRole: string;
129
148
  registrationNumber: string;
130
149
  acceptedAt: string;
150
+ createdByUserType?: "system" | "user" | null | undefined;
131
151
  createdBySignature?: string | null | undefined;
132
- createdAtLocation?: string | null | undefined;
152
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
133
153
  } | null | undefined;
134
154
  }, {
135
155
  DECLARED?: {
@@ -137,6 +157,7 @@ export declare const LegalStatuses: z.ZodObject<{
137
157
  createdBy: string;
138
158
  createdByRole: string;
139
159
  acceptedAt: string;
160
+ createdByUserType?: "system" | "user" | null | undefined;
140
161
  createdBySignature?: string | null | undefined;
141
162
  createdAtLocation?: string | null | undefined;
142
163
  } | null | undefined;
@@ -146,6 +167,7 @@ export declare const LegalStatuses: z.ZodObject<{
146
167
  createdByRole: string;
147
168
  registrationNumber: string;
148
169
  acceptedAt: string;
170
+ createdByUserType?: "system" | "user" | null | undefined;
149
171
  createdBySignature?: string | null | undefined;
150
172
  createdAtLocation?: string | null | undefined;
151
173
  } | null | undefined;
@@ -156,14 +178,15 @@ export declare const LegalStatuses: z.ZodObject<{
156
178
  * Accessed through `event.` in configuration.
157
179
  */
158
180
  export declare const EventMetadata: z.ZodObject<{
159
- id: z.ZodString;
181
+ id: z.ZodBranded<z.ZodString, "UUID">;
160
182
  type: z.ZodString;
161
183
  status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
162
184
  legalStatuses: z.ZodObject<{
163
185
  DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
164
186
  createdAt: z.ZodString;
165
187
  createdBy: z.ZodString;
166
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
189
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
167
190
  acceptedAt: z.ZodString;
168
191
  createdByRole: z.ZodString;
169
192
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -172,20 +195,23 @@ export declare const EventMetadata: z.ZodObject<{
172
195
  createdBy: string;
173
196
  createdByRole: string;
174
197
  acceptedAt: string;
198
+ createdByUserType?: "system" | "user" | null | undefined;
175
199
  createdBySignature?: string | null | undefined;
176
- createdAtLocation?: string | null | undefined;
200
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
177
201
  }, {
178
202
  createdAt: string;
179
203
  createdBy: string;
180
204
  createdByRole: string;
181
205
  acceptedAt: string;
206
+ createdByUserType?: "system" | "user" | null | undefined;
182
207
  createdBySignature?: string | null | undefined;
183
208
  createdAtLocation?: string | null | undefined;
184
209
  }>>>;
185
210
  REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
186
211
  createdAt: z.ZodString;
187
212
  createdBy: z.ZodString;
188
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
213
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
214
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
189
215
  acceptedAt: z.ZodString;
190
216
  createdByRole: z.ZodString;
191
217
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -197,14 +223,16 @@ export declare const EventMetadata: z.ZodObject<{
197
223
  createdByRole: string;
198
224
  registrationNumber: string;
199
225
  acceptedAt: string;
226
+ createdByUserType?: "system" | "user" | null | undefined;
200
227
  createdBySignature?: string | null | undefined;
201
- createdAtLocation?: string | null | undefined;
228
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
202
229
  }, {
203
230
  createdAt: string;
204
231
  createdBy: string;
205
232
  createdByRole: string;
206
233
  registrationNumber: string;
207
234
  acceptedAt: string;
235
+ createdByUserType?: "system" | "user" | null | undefined;
208
236
  createdBySignature?: string | null | undefined;
209
237
  createdAtLocation?: string | null | undefined;
210
238
  }>>>;
@@ -214,8 +242,9 @@ export declare const EventMetadata: z.ZodObject<{
214
242
  createdBy: string;
215
243
  createdByRole: string;
216
244
  acceptedAt: string;
245
+ createdByUserType?: "system" | "user" | null | undefined;
217
246
  createdBySignature?: string | null | undefined;
218
- createdAtLocation?: string | null | undefined;
247
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
219
248
  } | null | undefined;
220
249
  REGISTERED?: {
221
250
  createdAt: string;
@@ -223,8 +252,9 @@ export declare const EventMetadata: z.ZodObject<{
223
252
  createdByRole: string;
224
253
  registrationNumber: string;
225
254
  acceptedAt: string;
255
+ createdByUserType?: "system" | "user" | null | undefined;
226
256
  createdBySignature?: string | null | undefined;
227
- createdAtLocation?: string | null | undefined;
257
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
228
258
  } | null | undefined;
229
259
  }, {
230
260
  DECLARED?: {
@@ -232,6 +262,7 @@ export declare const EventMetadata: z.ZodObject<{
232
262
  createdBy: string;
233
263
  createdByRole: string;
234
264
  acceptedAt: string;
265
+ createdByUserType?: "system" | "user" | null | undefined;
235
266
  createdBySignature?: string | null | undefined;
236
267
  createdAtLocation?: string | null | undefined;
237
268
  } | null | undefined;
@@ -241,6 +272,7 @@ export declare const EventMetadata: z.ZodObject<{
241
272
  createdByRole: string;
242
273
  registrationNumber: string;
243
274
  acceptedAt: string;
275
+ createdByUserType?: "system" | "user" | null | undefined;
244
276
  createdBySignature?: string | null | undefined;
245
277
  createdAtLocation?: string | null | undefined;
246
278
  } | null | undefined;
@@ -248,20 +280,24 @@ export declare const EventMetadata: z.ZodObject<{
248
280
  createdAt: z.ZodString;
249
281
  dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
282
  createdBy: z.ZodString;
283
+ createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
251
284
  updatedByUserRole: z.ZodString;
252
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
285
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
253
286
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
- updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
+ updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
255
288
  updatedAt: z.ZodString;
256
289
  assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
290
  updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
258
291
  trackingId: z.ZodString;
259
292
  flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
260
- readonly CERTIFICATE_PRINTED: "certificate-printed";
293
+ readonly PRINTED: "printed";
294
+ readonly INCOMPLETE: "incomplete";
295
+ readonly REJECTED: "rejected";
296
+ readonly CORRECTION_REQUESTED: "correction-requested";
261
297
  }>]>, "many">;
262
298
  }, "strip", z.ZodTypeAny, {
263
299
  type: string;
264
- id: string;
300
+ id: string & z.BRAND<"UUID">;
265
301
  status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
266
302
  createdAt: string;
267
303
  createdBy: string;
@@ -273,8 +309,9 @@ export declare const EventMetadata: z.ZodObject<{
273
309
  createdBy: string;
274
310
  createdByRole: string;
275
311
  acceptedAt: string;
312
+ createdByUserType?: "system" | "user" | null | undefined;
276
313
  createdBySignature?: string | null | undefined;
277
- createdAtLocation?: string | null | undefined;
314
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
278
315
  } | null | undefined;
279
316
  REGISTERED?: {
280
317
  createdAt: string;
@@ -282,17 +319,19 @@ export declare const EventMetadata: z.ZodObject<{
282
319
  createdByRole: string;
283
320
  registrationNumber: string;
284
321
  acceptedAt: string;
322
+ createdByUserType?: "system" | "user" | null | undefined;
285
323
  createdBySignature?: string | null | undefined;
286
- createdAtLocation?: string | null | undefined;
324
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
287
325
  } | null | undefined;
288
326
  };
289
327
  updatedByUserRole: string;
290
328
  flags: string[];
329
+ createdByUserType?: "system" | "user" | null | undefined;
291
330
  createdBySignature?: string | null | undefined;
292
- createdAtLocation?: string | null | undefined;
331
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
293
332
  assignedTo?: string | null | undefined;
294
333
  dateOfEvent?: string | null | undefined;
295
- updatedAtLocation?: string | null | undefined;
334
+ updatedAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
296
335
  updatedBy?: string | null | undefined;
297
336
  }, {
298
337
  type: string;
@@ -308,6 +347,7 @@ export declare const EventMetadata: z.ZodObject<{
308
347
  createdBy: string;
309
348
  createdByRole: string;
310
349
  acceptedAt: string;
350
+ createdByUserType?: "system" | "user" | null | undefined;
311
351
  createdBySignature?: string | null | undefined;
312
352
  createdAtLocation?: string | null | undefined;
313
353
  } | null | undefined;
@@ -317,12 +357,14 @@ export declare const EventMetadata: z.ZodObject<{
317
357
  createdByRole: string;
318
358
  registrationNumber: string;
319
359
  acceptedAt: string;
360
+ createdByUserType?: "system" | "user" | null | undefined;
320
361
  createdBySignature?: string | null | undefined;
321
362
  createdAtLocation?: string | null | undefined;
322
363
  } | null | undefined;
323
364
  };
324
365
  updatedByUserRole: string;
325
366
  flags: string[];
367
+ createdByUserType?: "system" | "user" | null | undefined;
326
368
  createdBySignature?: string | null | undefined;
327
369
  createdAtLocation?: string | null | undefined;
328
370
  assignedTo?: string | null | undefined;
@@ -331,8 +373,8 @@ export declare const EventMetadata: z.ZodObject<{
331
373
  updatedBy?: string | null | undefined;
332
374
  }>;
333
375
  export type EventMetadata = z.infer<typeof EventMetadata>;
334
- export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
335
- export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"]>;
376
+ export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
377
+ export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"]>;
336
378
  export type EventMetadataKeys = z.infer<typeof EventMetadataKeys>;
337
379
  /**
338
380
  * Mapping of event metadata keys to translation configuration.