@opencrvs/toolkit 1.8.0-rc.fde984c → 1.8.0-rc.fe4d9d5
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 +4652 -128
- package/dist/commons/conditionals/validate.d.ts +5 -0
- package/dist/commons/events/ActionDocument.d.ts +105 -0
- package/dist/commons/events/ActionType.d.ts +6 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +254 -168
- package/dist/commons/events/Draft.d.ts +5 -0
- package/dist/commons/events/EventDocument.d.ts +80 -0
- package/dist/commons/events/EventIndex.d.ts +596 -160
- package/dist/commons/events/EventMetadata.d.ts +35 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +1959 -470
- package/dist/commons/events/index.d.ts +1 -0
- package/dist/commons/events/scopes.d.ts +1 -2
- package/dist/commons/events/test.utils.d.ts +13 -0
- package/dist/commons/events/utils.d.ts +1 -0
- package/dist/events/index.js +870 -539
- package/dist/scopes/index.d.ts +4 -1
- package/dist/scopes/index.js +67 -17
- package/package.json +1 -1
@@ -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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType: 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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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
|
+
createdByUserType?: "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", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags"];
|
368
|
+
export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "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", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"];
|
4
|
+
export declare const WorkqueueColumnKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
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", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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", "createdByUserType", "updatedByUserRole", "createdAtLocation", "updatedAtLocation", "updatedAt", "assignedTo", "updatedBy", "trackingId", "legalStatuses", "flags", "title", "outbox"]>;
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
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" | "createdByUserType" | "createdAt" | "createdBy" | "createdAtLocation" | "assignedTo" | "updatedAt" | "trackingId" | "legalStatuses" | "dateOfEvent" | "updatedByUserRole" | "updatedAtLocation" | "updatedBy" | "flags" | "outbox";
|
50
50
|
};
|
51
51
|
label: TranslationConfig;
|
52
52
|
}[];
|