@opencrvs/toolkit 1.8.0-rc.f9f9d64 → 1.8.0-rc.fa49ae3

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.
@@ -8,6 +8,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
8
8
  createdAt: z.ZodString;
9
9
  createdBy: z.ZodString;
10
10
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
11
12
  acceptedAt: z.ZodString;
12
13
  createdByRole: z.ZodString;
13
14
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16,6 +17,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
16
17
  createdBy: string;
17
18
  createdByRole: string;
18
19
  acceptedAt: string;
20
+ creator?: "system" | "user" | null | undefined;
19
21
  createdBySignature?: string | null | undefined;
20
22
  createdAtLocation?: string | null | undefined;
21
23
  }, {
@@ -23,6 +25,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
23
25
  createdBy: string;
24
26
  createdByRole: string;
25
27
  acceptedAt: string;
28
+ creator?: "system" | "user" | null | undefined;
26
29
  createdBySignature?: string | null | undefined;
27
30
  createdAtLocation?: string | null | undefined;
28
31
  }>>>;
@@ -30,6 +33,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
30
33
  createdAt: z.ZodString;
31
34
  createdBy: z.ZodString;
32
35
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
33
37
  acceptedAt: z.ZodString;
34
38
  createdByRole: z.ZodString;
35
39
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -41,6 +45,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
41
45
  createdByRole: string;
42
46
  registrationNumber: string;
43
47
  acceptedAt: string;
48
+ creator?: "system" | "user" | null | undefined;
44
49
  createdBySignature?: string | null | undefined;
45
50
  createdAtLocation?: string | null | undefined;
46
51
  }, {
@@ -49,6 +54,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
49
54
  createdByRole: string;
50
55
  registrationNumber: string;
51
56
  acceptedAt: string;
57
+ creator?: "system" | "user" | null | undefined;
52
58
  createdBySignature?: string | null | undefined;
53
59
  createdAtLocation?: string | null | undefined;
54
60
  }>>>;
@@ -58,6 +64,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
58
64
  createdBy: string;
59
65
  createdByRole: string;
60
66
  acceptedAt: string;
67
+ creator?: "system" | "user" | null | undefined;
61
68
  createdBySignature?: string | null | undefined;
62
69
  createdAtLocation?: string | null | undefined;
63
70
  } | null | undefined;
@@ -67,6 +74,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
67
74
  createdByRole: string;
68
75
  registrationNumber: string;
69
76
  acceptedAt: string;
77
+ creator?: "system" | "user" | null | undefined;
70
78
  createdBySignature?: string | null | undefined;
71
79
  createdAtLocation?: string | null | undefined;
72
80
  } | null | undefined;
@@ -76,6 +84,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
76
84
  createdBy: string;
77
85
  createdByRole: string;
78
86
  acceptedAt: string;
87
+ creator?: "system" | "user" | null | undefined;
79
88
  createdBySignature?: string | null | undefined;
80
89
  createdAtLocation?: string | null | undefined;
81
90
  } | null | undefined;
@@ -85,6 +94,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
85
94
  createdByRole: string;
86
95
  registrationNumber: string;
87
96
  acceptedAt: string;
97
+ creator?: "system" | "user" | null | undefined;
88
98
  createdBySignature?: string | null | undefined;
89
99
  createdAtLocation?: string | null | undefined;
90
100
  } | null | undefined;
@@ -92,6 +102,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
92
102
  createdAt: z.ZodString;
93
103
  dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
104
  createdBy: z.ZodString;
105
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
95
106
  updatedByUserRole: z.ZodString;
96
107
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
108
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -302,6 +313,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
302
313
  createdBy: string;
303
314
  createdByRole: string;
304
315
  acceptedAt: string;
316
+ creator?: "system" | "user" | null | undefined;
305
317
  createdBySignature?: string | null | undefined;
306
318
  createdAtLocation?: string | null | undefined;
307
319
  } | null | undefined;
@@ -311,12 +323,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
311
323
  createdByRole: string;
312
324
  registrationNumber: string;
313
325
  acceptedAt: string;
326
+ creator?: "system" | "user" | null | undefined;
314
327
  createdBySignature?: string | null | undefined;
315
328
  createdAtLocation?: string | null | undefined;
316
329
  } | null | undefined;
317
330
  };
318
331
  updatedByUserRole: string;
319
332
  flags: string[];
333
+ creator?: "system" | "user" | null | undefined;
320
334
  createdBySignature?: string | null | undefined;
321
335
  createdAtLocation?: string | null | undefined;
322
336
  assignedTo?: string | null | undefined;
@@ -383,6 +397,7 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
383
397
  createdBy: string;
384
398
  createdByRole: string;
385
399
  acceptedAt: string;
400
+ creator?: "system" | "user" | null | undefined;
386
401
  createdBySignature?: string | null | undefined;
387
402
  createdAtLocation?: string | null | undefined;
388
403
  } | null | undefined;
@@ -392,12 +407,14 @@ export declare const EventIndex: z.ZodObject<z.objectUtil.extendShape<{
392
407
  createdByRole: string;
393
408
  registrationNumber: string;
394
409
  acceptedAt: string;
410
+ creator?: "system" | "user" | null | undefined;
395
411
  createdBySignature?: string | null | undefined;
396
412
  createdAtLocation?: string | null | undefined;
397
413
  } | null | undefined;
398
414
  };
399
415
  updatedByUserRole: string;
400
416
  flags: string[];
417
+ creator?: "system" | "user" | null | undefined;
401
418
  createdBySignature?: string | null | undefined;
402
419
  createdAtLocation?: string | null | undefined;
403
420
  assignedTo?: string | null | undefined;
@@ -689,6 +706,7 @@ export declare const QueryExpression: z.ZodObject<{
689
706
  type: "exact";
690
707
  term: string;
691
708
  }>>>;
709
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
692
710
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
693
711
  type: z.ZodLiteral<"exact">;
694
712
  term: z.ZodString;
@@ -748,6 +766,7 @@ export declare const QueryExpression: z.ZodObject<{
748
766
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
749
767
  } | undefined;
750
768
  data?: any;
769
+ creator?: "system" | "user" | undefined;
751
770
  createdAt?: {
752
771
  type: "exact";
753
772
  term: string;
@@ -830,6 +849,7 @@ export declare const QueryExpression: z.ZodObject<{
830
849
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
831
850
  } | undefined;
832
851
  data?: any;
852
+ creator?: "system" | "user" | undefined;
833
853
  createdAt?: {
834
854
  type: "exact";
835
855
  term: string;
@@ -1070,6 +1090,7 @@ export declare const QueryType: z.ZodObject<{
1070
1090
  type: "exact";
1071
1091
  term: string;
1072
1092
  }>>>;
1093
+ creator: z.ZodOptional<z.ZodOptional<z.ZodEnum<["user", "system"]>>>;
1073
1094
  createdBy: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1074
1095
  type: z.ZodLiteral<"exact">;
1075
1096
  term: z.ZodString;
@@ -1129,6 +1150,7 @@ export declare const QueryType: z.ZodObject<{
1129
1150
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1130
1151
  } | undefined;
1131
1152
  data?: any;
1153
+ creator?: "system" | "user" | undefined;
1132
1154
  createdAt?: {
1133
1155
  type: "exact";
1134
1156
  term: string;
@@ -1211,6 +1233,7 @@ export declare const QueryType: z.ZodObject<{
1211
1233
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1212
1234
  } | undefined;
1213
1235
  data?: any;
1236
+ creator?: "system" | "user" | undefined;
1214
1237
  createdAt?: {
1215
1238
  type: "exact";
1216
1239
  term: string;
@@ -1293,6 +1316,7 @@ export declare const QueryType: z.ZodObject<{
1293
1316
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1294
1317
  } | undefined;
1295
1318
  data?: any;
1319
+ creator?: "system" | "user" | undefined;
1296
1320
  createdAt?: {
1297
1321
  type: "exact";
1298
1322
  term: string;
@@ -1375,6 +1399,7 @@ export declare const QueryType: z.ZodObject<{
1375
1399
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1376
1400
  } | undefined;
1377
1401
  data?: any;
1402
+ creator?: "system" | "user" | undefined;
1378
1403
  createdAt?: {
1379
1404
  type: "exact";
1380
1405
  term: string;
@@ -1460,6 +1485,7 @@ export declare const QueryType: z.ZodObject<{
1460
1485
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1461
1486
  } | undefined;
1462
1487
  data?: any;
1488
+ creator?: "system" | "user" | undefined;
1463
1489
  createdAt?: {
1464
1490
  type: "exact";
1465
1491
  term: string;
@@ -1542,6 +1568,7 @@ export declare const QueryType: z.ZodObject<{
1542
1568
  terms: ("ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED")[];
1543
1569
  } | undefined;
1544
1570
  data?: any;
1571
+ creator?: "system" | "user" | undefined;
1545
1572
  createdAt?: {
1546
1573
  type: "exact";
1547
1574
  term: string;
@@ -18,6 +18,7 @@ export declare const ActionCreationMetadata: z.ZodObject<{
18
18
  createdAt: z.ZodString;
19
19
  createdBy: z.ZodString;
20
20
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
21
22
  acceptedAt: z.ZodString;
22
23
  createdByRole: z.ZodString;
23
24
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,6 +27,7 @@ export declare const ActionCreationMetadata: z.ZodObject<{
26
27
  createdBy: string;
27
28
  createdByRole: string;
28
29
  acceptedAt: string;
30
+ creator?: "system" | "user" | null | undefined;
29
31
  createdBySignature?: string | null | undefined;
30
32
  createdAtLocation?: string | null | undefined;
31
33
  }, {
@@ -33,6 +35,7 @@ export declare const ActionCreationMetadata: z.ZodObject<{
33
35
  createdBy: string;
34
36
  createdByRole: string;
35
37
  acceptedAt: string;
38
+ creator?: "system" | "user" | null | undefined;
36
39
  createdBySignature?: string | null | undefined;
37
40
  createdAtLocation?: string | null | undefined;
38
41
  }>;
@@ -41,6 +44,7 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
41
44
  createdAt: z.ZodString;
42
45
  createdBy: z.ZodString;
43
46
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
44
48
  acceptedAt: z.ZodString;
45
49
  createdByRole: z.ZodString;
46
50
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -52,6 +56,7 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
52
56
  createdByRole: string;
53
57
  registrationNumber: string;
54
58
  acceptedAt: string;
59
+ creator?: "system" | "user" | null | undefined;
55
60
  createdBySignature?: string | null | undefined;
56
61
  createdAtLocation?: string | null | undefined;
57
62
  }, {
@@ -60,6 +65,7 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
60
65
  createdByRole: string;
61
66
  registrationNumber: string;
62
67
  acceptedAt: string;
68
+ creator?: "system" | "user" | null | undefined;
63
69
  createdBySignature?: string | null | undefined;
64
70
  createdAtLocation?: string | null | undefined;
65
71
  }>;
@@ -69,6 +75,7 @@ export declare const LegalStatuses: z.ZodObject<{
69
75
  createdAt: z.ZodString;
70
76
  createdBy: z.ZodString;
71
77
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
72
79
  acceptedAt: z.ZodString;
73
80
  createdByRole: z.ZodString;
74
81
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -77,6 +84,7 @@ export declare const LegalStatuses: z.ZodObject<{
77
84
  createdBy: string;
78
85
  createdByRole: string;
79
86
  acceptedAt: string;
87
+ creator?: "system" | "user" | null | undefined;
80
88
  createdBySignature?: string | null | undefined;
81
89
  createdAtLocation?: string | null | undefined;
82
90
  }, {
@@ -84,6 +92,7 @@ export declare const LegalStatuses: z.ZodObject<{
84
92
  createdBy: string;
85
93
  createdByRole: string;
86
94
  acceptedAt: string;
95
+ creator?: "system" | "user" | null | undefined;
87
96
  createdBySignature?: string | null | undefined;
88
97
  createdAtLocation?: string | null | undefined;
89
98
  }>>>;
@@ -91,6 +100,7 @@ export declare const LegalStatuses: z.ZodObject<{
91
100
  createdAt: z.ZodString;
92
101
  createdBy: z.ZodString;
93
102
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
94
104
  acceptedAt: z.ZodString;
95
105
  createdByRole: z.ZodString;
96
106
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -102,6 +112,7 @@ export declare const LegalStatuses: z.ZodObject<{
102
112
  createdByRole: string;
103
113
  registrationNumber: string;
104
114
  acceptedAt: string;
115
+ creator?: "system" | "user" | null | undefined;
105
116
  createdBySignature?: string | null | undefined;
106
117
  createdAtLocation?: string | null | undefined;
107
118
  }, {
@@ -110,6 +121,7 @@ export declare const LegalStatuses: z.ZodObject<{
110
121
  createdByRole: string;
111
122
  registrationNumber: string;
112
123
  acceptedAt: string;
124
+ creator?: "system" | "user" | null | undefined;
113
125
  createdBySignature?: string | null | undefined;
114
126
  createdAtLocation?: string | null | undefined;
115
127
  }>>>;
@@ -119,6 +131,7 @@ export declare const LegalStatuses: z.ZodObject<{
119
131
  createdBy: string;
120
132
  createdByRole: string;
121
133
  acceptedAt: string;
134
+ creator?: "system" | "user" | null | undefined;
122
135
  createdBySignature?: string | null | undefined;
123
136
  createdAtLocation?: string | null | undefined;
124
137
  } | null | undefined;
@@ -128,6 +141,7 @@ export declare const LegalStatuses: z.ZodObject<{
128
141
  createdByRole: string;
129
142
  registrationNumber: string;
130
143
  acceptedAt: string;
144
+ creator?: "system" | "user" | null | undefined;
131
145
  createdBySignature?: string | null | undefined;
132
146
  createdAtLocation?: string | null | undefined;
133
147
  } | null | undefined;
@@ -137,6 +151,7 @@ export declare const LegalStatuses: z.ZodObject<{
137
151
  createdBy: string;
138
152
  createdByRole: string;
139
153
  acceptedAt: string;
154
+ creator?: "system" | "user" | null | undefined;
140
155
  createdBySignature?: string | null | undefined;
141
156
  createdAtLocation?: string | null | undefined;
142
157
  } | null | undefined;
@@ -146,6 +161,7 @@ export declare const LegalStatuses: z.ZodObject<{
146
161
  createdByRole: string;
147
162
  registrationNumber: string;
148
163
  acceptedAt: string;
164
+ creator?: "system" | "user" | null | undefined;
149
165
  createdBySignature?: string | null | undefined;
150
166
  createdAtLocation?: string | null | undefined;
151
167
  } | null | undefined;
@@ -164,6 +180,7 @@ export declare const EventMetadata: z.ZodObject<{
164
180
  createdAt: z.ZodString;
165
181
  createdBy: z.ZodString;
166
182
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
183
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
167
184
  acceptedAt: z.ZodString;
168
185
  createdByRole: z.ZodString;
169
186
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -172,6 +189,7 @@ export declare const EventMetadata: z.ZodObject<{
172
189
  createdBy: string;
173
190
  createdByRole: string;
174
191
  acceptedAt: string;
192
+ creator?: "system" | "user" | null | undefined;
175
193
  createdBySignature?: string | null | undefined;
176
194
  createdAtLocation?: string | null | undefined;
177
195
  }, {
@@ -179,6 +197,7 @@ export declare const EventMetadata: z.ZodObject<{
179
197
  createdBy: string;
180
198
  createdByRole: string;
181
199
  acceptedAt: string;
200
+ creator?: "system" | "user" | null | undefined;
182
201
  createdBySignature?: string | null | undefined;
183
202
  createdAtLocation?: string | null | undefined;
184
203
  }>>>;
@@ -186,6 +205,7 @@ export declare const EventMetadata: z.ZodObject<{
186
205
  createdAt: z.ZodString;
187
206
  createdBy: z.ZodString;
188
207
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
208
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
189
209
  acceptedAt: z.ZodString;
190
210
  createdByRole: z.ZodString;
191
211
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -197,6 +217,7 @@ export declare const EventMetadata: z.ZodObject<{
197
217
  createdByRole: string;
198
218
  registrationNumber: string;
199
219
  acceptedAt: string;
220
+ creator?: "system" | "user" | null | undefined;
200
221
  createdBySignature?: string | null | undefined;
201
222
  createdAtLocation?: string | null | undefined;
202
223
  }, {
@@ -205,6 +226,7 @@ export declare const EventMetadata: z.ZodObject<{
205
226
  createdByRole: string;
206
227
  registrationNumber: string;
207
228
  acceptedAt: string;
229
+ creator?: "system" | "user" | null | undefined;
208
230
  createdBySignature?: string | null | undefined;
209
231
  createdAtLocation?: string | null | undefined;
210
232
  }>>>;
@@ -214,6 +236,7 @@ export declare const EventMetadata: z.ZodObject<{
214
236
  createdBy: string;
215
237
  createdByRole: string;
216
238
  acceptedAt: string;
239
+ creator?: "system" | "user" | null | undefined;
217
240
  createdBySignature?: string | null | undefined;
218
241
  createdAtLocation?: string | null | undefined;
219
242
  } | null | undefined;
@@ -223,6 +246,7 @@ export declare const EventMetadata: z.ZodObject<{
223
246
  createdByRole: string;
224
247
  registrationNumber: string;
225
248
  acceptedAt: string;
249
+ creator?: "system" | "user" | null | undefined;
226
250
  createdBySignature?: string | null | undefined;
227
251
  createdAtLocation?: string | null | undefined;
228
252
  } | null | undefined;
@@ -232,6 +256,7 @@ export declare const EventMetadata: z.ZodObject<{
232
256
  createdBy: string;
233
257
  createdByRole: string;
234
258
  acceptedAt: string;
259
+ creator?: "system" | "user" | null | undefined;
235
260
  createdBySignature?: string | null | undefined;
236
261
  createdAtLocation?: string | null | undefined;
237
262
  } | null | undefined;
@@ -241,6 +266,7 @@ export declare const EventMetadata: z.ZodObject<{
241
266
  createdByRole: string;
242
267
  registrationNumber: string;
243
268
  acceptedAt: string;
269
+ creator?: "system" | "user" | null | undefined;
244
270
  createdBySignature?: string | null | undefined;
245
271
  createdAtLocation?: string | null | undefined;
246
272
  } | null | undefined;
@@ -248,6 +274,7 @@ export declare const EventMetadata: z.ZodObject<{
248
274
  createdAt: z.ZodString;
249
275
  dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
276
  createdBy: z.ZodString;
277
+ creator: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
251
278
  updatedByUserRole: z.ZodString;
252
279
  createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
280
  createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -273,6 +300,7 @@ export declare const EventMetadata: z.ZodObject<{
273
300
  createdBy: string;
274
301
  createdByRole: string;
275
302
  acceptedAt: string;
303
+ creator?: "system" | "user" | null | undefined;
276
304
  createdBySignature?: string | null | undefined;
277
305
  createdAtLocation?: string | null | undefined;
278
306
  } | null | undefined;
@@ -282,12 +310,14 @@ export declare const EventMetadata: z.ZodObject<{
282
310
  createdByRole: string;
283
311
  registrationNumber: string;
284
312
  acceptedAt: string;
313
+ creator?: "system" | "user" | null | undefined;
285
314
  createdBySignature?: string | null | undefined;
286
315
  createdAtLocation?: string | null | undefined;
287
316
  } | null | undefined;
288
317
  };
289
318
  updatedByUserRole: string;
290
319
  flags: string[];
320
+ creator?: "system" | "user" | null | undefined;
291
321
  createdBySignature?: string | null | undefined;
292
322
  createdAtLocation?: string | null | undefined;
293
323
  assignedTo?: string | null | undefined;
@@ -308,6 +338,7 @@ export declare const EventMetadata: z.ZodObject<{
308
338
  createdBy: string;
309
339
  createdByRole: string;
310
340
  acceptedAt: string;
341
+ creator?: "system" | "user" | null | undefined;
311
342
  createdBySignature?: string | null | undefined;
312
343
  createdAtLocation?: string | null | undefined;
313
344
  } | null | undefined;
@@ -317,12 +348,14 @@ export declare const EventMetadata: z.ZodObject<{
317
348
  createdByRole: string;
318
349
  registrationNumber: string;
319
350
  acceptedAt: string;
351
+ creator?: "system" | "user" | null | undefined;
320
352
  createdBySignature?: string | null | undefined;
321
353
  createdAtLocation?: string | null | undefined;
322
354
  } | null | undefined;
323
355
  };
324
356
  updatedByUserRole: string;
325
357
  flags: string[];
358
+ creator?: "system" | "user" | null | undefined;
326
359
  createdBySignature?: string | null | undefined;
327
360
  createdAtLocation?: string | null | undefined;
328
361
  assignedTo?: string | null | undefined;
@@ -331,8 +364,8 @@ export declare const EventMetadata: z.ZodObject<{
331
364
  updatedBy?: string | null | undefined;
332
365
  }>;
333
366
  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"]>;
367
+ export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
368
+ export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"]>;
336
369
  export type EventMetadataKeys = z.infer<typeof EventMetadataKeys>;
337
370
  /**
338
371
  * Mapping of event metadata keys to translation configuration.
@@ -1,14 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { TranslationConfig } from './TranslationConfig';
3
- export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"];
4
- export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
3
+ export declare const WorkqueueColumnKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"];
4
+ export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
5
5
  export type WorkqueueColumnKeys = z.infer<typeof WorkqueueColumnKeys>;
6
6
  export declare const WorkqueueColumnValue: z.ZodObject<{
7
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
7
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
9
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
10
10
  }, {
11
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
11
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
12
12
  }>;
13
13
  export type WorkqueueColumnValue = z.infer<typeof WorkqueueColumnValue>;
14
14
  /**
@@ -21,20 +21,20 @@ export declare const WorkqueueColumn: z.ZodObject<{
21
21
  defaultMessage: string;
22
22
  }>;
23
23
  value: z.ZodObject<{
24
- $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
24
+ $event: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "creator", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title"]>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
26
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
27
27
  }, {
28
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
28
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
29
29
  }>;
30
30
  }, "strip", z.ZodTypeAny, {
31
31
  value: {
32
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
32
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
33
33
  };
34
34
  label: TranslationConfig;
35
35
  }, {
36
36
  value: {
37
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
37
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
38
38
  };
39
39
  label: {
40
40
  id: string;
@@ -46,7 +46,7 @@ export type WorkqueueColumn = z.infer<typeof WorkqueueColumn>;
46
46
  export type WorkqueueColumnInput = z.infer<typeof WorkqueueColumn>;
47
47
  export declare function defineWorkqueuesColumns(workqueueColumns: WorkqueueColumnInput[]): {
48
48
  value: {
49
- $event: "type" | "id" | "status" | "title" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
49
+ $event: "type" | "id" | "status" | "title" | "creator" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags";
50
50
  };
51
51
  label: TranslationConfig;
52
52
  }[];