@opencrvs/toolkit 1.8.0-rc.fb96ec1 → 1.8.0-rc.fbababd
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 +5865 -12088
- package/dist/commons/events/ActionConfig.d.ts +18584 -30632
- package/dist/commons/events/ActionDocument.d.ts +387 -486
- package/dist/commons/events/ActionInput.d.ts +126 -126
- package/dist/commons/events/ActionType.d.ts +0 -2
- package/dist/commons/events/AdvancedSearchConfig.d.ts +0 -204
- package/dist/commons/events/CountryConfigQueryInput.d.ts +412 -1160
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -1
- package/dist/commons/events/Draft.d.ts +23 -28
- package/dist/commons/events/EventConfig.d.ts +17504 -26141
- package/dist/commons/events/EventDocument.d.ts +275 -350
- package/dist/commons/events/EventIndex.d.ts +214 -629
- package/dist/commons/events/EventMetadata.d.ts +31 -73
- package/dist/commons/events/FieldConfig.d.ts +37 -19
- package/dist/commons/events/FormConfig.d.ts +66 -0
- package/dist/commons/events/PageConfig.d.ts +18 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +740 -3237
- package/dist/commons/events/defineConfig.d.ts +1589 -3224
- package/dist/commons/events/field.d.ts +0 -5
- package/dist/commons/events/index.d.ts +0 -1
- package/dist/commons/events/scopes.d.ts +3 -2
- package/dist/commons/events/test.utils.d.ts +5 -28
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +1600 -3232
- package/dist/conditionals/index.js +17 -20
- package/dist/events/index.js +1312 -1681
- package/dist/scopes/index.d.ts +1 -4
- package/dist/scopes/index.js +17 -67
- package/package.json +3 -3
@@ -5,26 +5,19 @@ 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
|
9
|
-
readonly
|
10
|
-
readonly INCOMPLETE: "incomplete";
|
11
|
-
readonly REJECTED: "rejected";
|
12
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
8
|
+
export declare const CustomFlags: {
|
9
|
+
readonly CERTIFICATE_PRINTED: "certificate-printed";
|
13
10
|
};
|
14
|
-
export type
|
11
|
+
export type CustomFlags = (typeof CustomFlags)[keyof typeof CustomFlags];
|
15
12
|
export declare const Flag: z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
16
|
-
readonly
|
17
|
-
readonly INCOMPLETE: "incomplete";
|
18
|
-
readonly REJECTED: "rejected";
|
19
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
13
|
+
readonly CERTIFICATE_PRINTED: "certificate-printed";
|
20
14
|
}>]>;
|
21
15
|
export type Flag = z.infer<typeof Flag>;
|
22
16
|
export declare const ZodDate: z.ZodString;
|
23
17
|
export declare const ActionCreationMetadata: z.ZodObject<{
|
24
18
|
createdAt: z.ZodString;
|
25
19
|
createdBy: z.ZodString;
|
26
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
27
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
20
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
28
21
|
acceptedAt: z.ZodString;
|
29
22
|
createdByRole: z.ZodString;
|
30
23
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -33,15 +26,13 @@ export declare const ActionCreationMetadata: z.ZodObject<{
|
|
33
26
|
createdBy: string;
|
34
27
|
createdByRole: string;
|
35
28
|
acceptedAt: string;
|
36
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
37
29
|
createdBySignature?: string | null | undefined;
|
38
|
-
createdAtLocation?:
|
30
|
+
createdAtLocation?: string | null | undefined;
|
39
31
|
}, {
|
40
32
|
createdAt: string;
|
41
33
|
createdBy: string;
|
42
34
|
createdByRole: string;
|
43
35
|
acceptedAt: string;
|
44
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
45
36
|
createdBySignature?: string | null | undefined;
|
46
37
|
createdAtLocation?: string | null | undefined;
|
47
38
|
}>;
|
@@ -49,8 +40,7 @@ export type ActionCreationMetadata = z.infer<typeof ActionCreationMetadata>;
|
|
49
40
|
export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.extendShape<{
|
50
41
|
createdAt: z.ZodString;
|
51
42
|
createdBy: z.ZodString;
|
52
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
53
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
43
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
54
44
|
acceptedAt: z.ZodString;
|
55
45
|
createdByRole: z.ZodString;
|
56
46
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -62,16 +52,14 @@ export declare const RegistrationCreationMetadata: z.ZodObject<z.objectUtil.exte
|
|
62
52
|
createdByRole: string;
|
63
53
|
registrationNumber: string;
|
64
54
|
acceptedAt: string;
|
65
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
66
55
|
createdBySignature?: string | null | undefined;
|
67
|
-
createdAtLocation?:
|
56
|
+
createdAtLocation?: string | null | undefined;
|
68
57
|
}, {
|
69
58
|
createdAt: string;
|
70
59
|
createdBy: string;
|
71
60
|
createdByRole: string;
|
72
61
|
registrationNumber: string;
|
73
62
|
acceptedAt: string;
|
74
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
75
63
|
createdBySignature?: string | null | undefined;
|
76
64
|
createdAtLocation?: string | null | undefined;
|
77
65
|
}>;
|
@@ -80,8 +68,7 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
80
68
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
81
69
|
createdAt: z.ZodString;
|
82
70
|
createdBy: z.ZodString;
|
83
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
84
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
71
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
85
72
|
acceptedAt: z.ZodString;
|
86
73
|
createdByRole: z.ZodString;
|
87
74
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -90,23 +77,20 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
90
77
|
createdBy: string;
|
91
78
|
createdByRole: string;
|
92
79
|
acceptedAt: string;
|
93
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
94
80
|
createdBySignature?: string | null | undefined;
|
95
|
-
createdAtLocation?:
|
81
|
+
createdAtLocation?: string | null | undefined;
|
96
82
|
}, {
|
97
83
|
createdAt: string;
|
98
84
|
createdBy: string;
|
99
85
|
createdByRole: string;
|
100
86
|
acceptedAt: string;
|
101
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
102
87
|
createdBySignature?: string | null | undefined;
|
103
88
|
createdAtLocation?: string | null | undefined;
|
104
89
|
}>>>;
|
105
90
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
106
91
|
createdAt: z.ZodString;
|
107
92
|
createdBy: z.ZodString;
|
108
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
109
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
93
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
110
94
|
acceptedAt: z.ZodString;
|
111
95
|
createdByRole: z.ZodString;
|
112
96
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -118,16 +102,14 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
118
102
|
createdByRole: string;
|
119
103
|
registrationNumber: string;
|
120
104
|
acceptedAt: string;
|
121
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
122
105
|
createdBySignature?: string | null | undefined;
|
123
|
-
createdAtLocation?:
|
106
|
+
createdAtLocation?: string | null | undefined;
|
124
107
|
}, {
|
125
108
|
createdAt: string;
|
126
109
|
createdBy: string;
|
127
110
|
createdByRole: string;
|
128
111
|
registrationNumber: string;
|
129
112
|
acceptedAt: string;
|
130
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
131
113
|
createdBySignature?: string | null | undefined;
|
132
114
|
createdAtLocation?: string | null | undefined;
|
133
115
|
}>>>;
|
@@ -137,9 +119,8 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
137
119
|
createdBy: string;
|
138
120
|
createdByRole: string;
|
139
121
|
acceptedAt: string;
|
140
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
141
122
|
createdBySignature?: string | null | undefined;
|
142
|
-
createdAtLocation?:
|
123
|
+
createdAtLocation?: string | null | undefined;
|
143
124
|
} | null | undefined;
|
144
125
|
REGISTERED?: {
|
145
126
|
createdAt: string;
|
@@ -147,9 +128,8 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
147
128
|
createdByRole: string;
|
148
129
|
registrationNumber: string;
|
149
130
|
acceptedAt: string;
|
150
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
151
131
|
createdBySignature?: string | null | undefined;
|
152
|
-
createdAtLocation?:
|
132
|
+
createdAtLocation?: string | null | undefined;
|
153
133
|
} | null | undefined;
|
154
134
|
}, {
|
155
135
|
DECLARED?: {
|
@@ -157,7 +137,6 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
157
137
|
createdBy: string;
|
158
138
|
createdByRole: string;
|
159
139
|
acceptedAt: string;
|
160
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
161
140
|
createdBySignature?: string | null | undefined;
|
162
141
|
createdAtLocation?: string | null | undefined;
|
163
142
|
} | null | undefined;
|
@@ -167,7 +146,6 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
167
146
|
createdByRole: string;
|
168
147
|
registrationNumber: string;
|
169
148
|
acceptedAt: string;
|
170
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
171
149
|
createdBySignature?: string | null | undefined;
|
172
150
|
createdAtLocation?: string | null | undefined;
|
173
151
|
} | null | undefined;
|
@@ -178,15 +156,14 @@ export declare const LegalStatuses: z.ZodObject<{
|
|
178
156
|
* Accessed through `event.` in configuration.
|
179
157
|
*/
|
180
158
|
export declare const EventMetadata: z.ZodObject<{
|
181
|
-
id: z.
|
159
|
+
id: z.ZodString;
|
182
160
|
type: z.ZodString;
|
183
161
|
status: z.ZodEnum<["CREATED", "NOTIFIED", "DECLARED", "VALIDATED", "REGISTERED", "CERTIFIED", "REJECTED", "ARCHIVED"]>;
|
184
162
|
legalStatuses: z.ZodObject<{
|
185
163
|
DECLARED: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
186
164
|
createdAt: z.ZodString;
|
187
165
|
createdBy: z.ZodString;
|
188
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
189
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
166
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
190
167
|
acceptedAt: z.ZodString;
|
191
168
|
createdByRole: z.ZodString;
|
192
169
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -195,23 +172,20 @@ export declare const EventMetadata: z.ZodObject<{
|
|
195
172
|
createdBy: string;
|
196
173
|
createdByRole: string;
|
197
174
|
acceptedAt: string;
|
198
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
199
175
|
createdBySignature?: string | null | undefined;
|
200
|
-
createdAtLocation?:
|
176
|
+
createdAtLocation?: string | null | undefined;
|
201
177
|
}, {
|
202
178
|
createdAt: string;
|
203
179
|
createdBy: string;
|
204
180
|
createdByRole: string;
|
205
181
|
acceptedAt: string;
|
206
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
207
182
|
createdBySignature?: string | null | undefined;
|
208
183
|
createdAtLocation?: string | null | undefined;
|
209
184
|
}>>>;
|
210
185
|
REGISTERED: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
|
211
186
|
createdAt: z.ZodString;
|
212
187
|
createdBy: z.ZodString;
|
213
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
214
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
188
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
215
189
|
acceptedAt: z.ZodString;
|
216
190
|
createdByRole: z.ZodString;
|
217
191
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -223,16 +197,14 @@ export declare const EventMetadata: z.ZodObject<{
|
|
223
197
|
createdByRole: string;
|
224
198
|
registrationNumber: string;
|
225
199
|
acceptedAt: string;
|
226
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
227
200
|
createdBySignature?: string | null | undefined;
|
228
|
-
createdAtLocation?:
|
201
|
+
createdAtLocation?: string | null | undefined;
|
229
202
|
}, {
|
230
203
|
createdAt: string;
|
231
204
|
createdBy: string;
|
232
205
|
createdByRole: string;
|
233
206
|
registrationNumber: string;
|
234
207
|
acceptedAt: string;
|
235
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
236
208
|
createdBySignature?: string | null | undefined;
|
237
209
|
createdAtLocation?: string | null | undefined;
|
238
210
|
}>>>;
|
@@ -242,9 +214,8 @@ export declare const EventMetadata: z.ZodObject<{
|
|
242
214
|
createdBy: string;
|
243
215
|
createdByRole: string;
|
244
216
|
acceptedAt: string;
|
245
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
246
217
|
createdBySignature?: string | null | undefined;
|
247
|
-
createdAtLocation?:
|
218
|
+
createdAtLocation?: string | null | undefined;
|
248
219
|
} | null | undefined;
|
249
220
|
REGISTERED?: {
|
250
221
|
createdAt: string;
|
@@ -252,9 +223,8 @@ export declare const EventMetadata: z.ZodObject<{
|
|
252
223
|
createdByRole: string;
|
253
224
|
registrationNumber: string;
|
254
225
|
acceptedAt: string;
|
255
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
256
226
|
createdBySignature?: string | null | undefined;
|
257
|
-
createdAtLocation?:
|
227
|
+
createdAtLocation?: string | null | undefined;
|
258
228
|
} | null | undefined;
|
259
229
|
}, {
|
260
230
|
DECLARED?: {
|
@@ -262,7 +232,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
262
232
|
createdBy: string;
|
263
233
|
createdByRole: string;
|
264
234
|
acceptedAt: string;
|
265
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
266
235
|
createdBySignature?: string | null | undefined;
|
267
236
|
createdAtLocation?: string | null | undefined;
|
268
237
|
} | null | undefined;
|
@@ -272,7 +241,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
272
241
|
createdByRole: string;
|
273
242
|
registrationNumber: string;
|
274
243
|
acceptedAt: string;
|
275
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
276
244
|
createdBySignature?: string | null | undefined;
|
277
245
|
createdAtLocation?: string | null | undefined;
|
278
246
|
} | null | undefined;
|
@@ -280,24 +248,20 @@ export declare const EventMetadata: z.ZodObject<{
|
|
280
248
|
createdAt: z.ZodString;
|
281
249
|
dateOfEvent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
282
250
|
createdBy: z.ZodString;
|
283
|
-
createdByUserType: z.ZodOptional<z.ZodNullable<z.ZodEnum<["user", "system"]>>>;
|
284
251
|
updatedByUserRole: z.ZodString;
|
285
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
252
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
286
253
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
287
|
-
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.
|
254
|
+
updatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
288
255
|
updatedAt: z.ZodString;
|
289
256
|
assignedTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
290
257
|
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
291
258
|
trackingId: z.ZodString;
|
292
259
|
flags: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNativeEnum<{
|
293
|
-
readonly
|
294
|
-
readonly INCOMPLETE: "incomplete";
|
295
|
-
readonly REJECTED: "rejected";
|
296
|
-
readonly CORRECTION_REQUESTED: "correction-requested";
|
260
|
+
readonly CERTIFICATE_PRINTED: "certificate-printed";
|
297
261
|
}>]>, "many">;
|
298
262
|
}, "strip", z.ZodTypeAny, {
|
299
263
|
type: string;
|
300
|
-
id: string
|
264
|
+
id: string;
|
301
265
|
status: "ARCHIVED" | "CERTIFIED" | "DECLARED" | "REGISTERED" | "REJECTED" | "VALIDATED" | "CREATED" | "NOTIFIED";
|
302
266
|
createdAt: string;
|
303
267
|
createdBy: string;
|
@@ -309,9 +273,8 @@ export declare const EventMetadata: z.ZodObject<{
|
|
309
273
|
createdBy: string;
|
310
274
|
createdByRole: string;
|
311
275
|
acceptedAt: string;
|
312
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
313
276
|
createdBySignature?: string | null | undefined;
|
314
|
-
createdAtLocation?:
|
277
|
+
createdAtLocation?: string | null | undefined;
|
315
278
|
} | null | undefined;
|
316
279
|
REGISTERED?: {
|
317
280
|
createdAt: string;
|
@@ -319,19 +282,17 @@ export declare const EventMetadata: z.ZodObject<{
|
|
319
282
|
createdByRole: string;
|
320
283
|
registrationNumber: string;
|
321
284
|
acceptedAt: string;
|
322
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
323
285
|
createdBySignature?: string | null | undefined;
|
324
|
-
createdAtLocation?:
|
286
|
+
createdAtLocation?: string | null | undefined;
|
325
287
|
} | null | undefined;
|
326
288
|
};
|
327
289
|
updatedByUserRole: string;
|
328
290
|
flags: string[];
|
329
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
330
291
|
createdBySignature?: string | null | undefined;
|
331
|
-
createdAtLocation?:
|
292
|
+
createdAtLocation?: string | null | undefined;
|
332
293
|
assignedTo?: string | null | undefined;
|
333
294
|
dateOfEvent?: string | null | undefined;
|
334
|
-
updatedAtLocation?:
|
295
|
+
updatedAtLocation?: string | null | undefined;
|
335
296
|
updatedBy?: string | null | undefined;
|
336
297
|
}, {
|
337
298
|
type: string;
|
@@ -347,7 +308,6 @@ export declare const EventMetadata: z.ZodObject<{
|
|
347
308
|
createdBy: string;
|
348
309
|
createdByRole: string;
|
349
310
|
acceptedAt: string;
|
350
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
351
311
|
createdBySignature?: string | null | undefined;
|
352
312
|
createdAtLocation?: string | null | undefined;
|
353
313
|
} | null | undefined;
|
@@ -357,14 +317,12 @@ export declare const EventMetadata: z.ZodObject<{
|
|
357
317
|
createdByRole: string;
|
358
318
|
registrationNumber: string;
|
359
319
|
acceptedAt: string;
|
360
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
361
320
|
createdBySignature?: string | null | undefined;
|
362
321
|
createdAtLocation?: string | null | undefined;
|
363
322
|
} | null | undefined;
|
364
323
|
};
|
365
324
|
updatedByUserRole: string;
|
366
325
|
flags: string[];
|
367
|
-
createdByUserType?: "system" | "user" | null | undefined;
|
368
326
|
createdBySignature?: string | null | undefined;
|
369
327
|
createdAtLocation?: string | null | undefined;
|
370
328
|
assignedTo?: string | null | undefined;
|
@@ -373,8 +331,8 @@ export declare const EventMetadata: z.ZodObject<{
|
|
373
331
|
updatedBy?: string | null | undefined;
|
374
332
|
}>;
|
375
333
|
export type EventMetadata = z.infer<typeof EventMetadata>;
|
376
|
-
export declare const EventMetadataKeysArray: readonly ["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
377
|
-
export declare const EventMetadataKeys: z.ZodEnum<["id", "type", "status", "createdAt", "dateOfEvent", "createdBy", "
|
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"]>;
|
378
336
|
export type EventMetadataKeys = z.infer<typeof EventMetadataKeys>;
|
379
337
|
/**
|
380
338
|
* Mapping of event metadata keys to translation configuration.
|
@@ -8,25 +8,6 @@ export declare const FieldReference: z.ZodObject<{
|
|
8
8
|
}, {
|
9
9
|
$$field: string;
|
10
10
|
}>;
|
11
|
-
export declare const ValidationConfig: z.ZodObject<{
|
12
|
-
validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
|
13
|
-
message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
|
14
|
-
id: string;
|
15
|
-
description: string;
|
16
|
-
defaultMessage: string;
|
17
|
-
}>;
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
19
|
-
message: TranslationConfig;
|
20
|
-
validator: import(".").JSONSchema;
|
21
|
-
}, {
|
22
|
-
message: {
|
23
|
-
id: string;
|
24
|
-
description: string;
|
25
|
-
defaultMessage: string;
|
26
|
-
};
|
27
|
-
validator: import(".").JSONSchema;
|
28
|
-
}>;
|
29
|
-
export type ValidationConfig = z.infer<typeof ValidationConfig>;
|
30
11
|
declare const BaseField: z.ZodObject<{
|
31
12
|
id: z.ZodString;
|
32
13
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -1336,6 +1317,29 @@ declare const DateRangeField: z.ZodObject<z.objectUtil.extendShape<{
|
|
1336
1317
|
export type DateRangeField = z.infer<typeof DateRangeField>;
|
1337
1318
|
declare const HtmlFontVariant: z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>;
|
1338
1319
|
export type HtmlFontVariant = z.infer<typeof HtmlFontVariant>;
|
1320
|
+
declare const ParagraphConfiguration: z.ZodDefault<z.ZodObject<{
|
1321
|
+
styles: z.ZodOptional<z.ZodObject<{
|
1322
|
+
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
1323
|
+
hint: z.ZodOptional<z.ZodBoolean>;
|
1324
|
+
}, "strip", z.ZodTypeAny, {
|
1325
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1326
|
+
hint?: boolean | undefined;
|
1327
|
+
}, {
|
1328
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1329
|
+
hint?: boolean | undefined;
|
1330
|
+
}>>;
|
1331
|
+
}, "strip", z.ZodTypeAny, {
|
1332
|
+
styles?: {
|
1333
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1334
|
+
hint?: boolean | undefined;
|
1335
|
+
} | undefined;
|
1336
|
+
}, {
|
1337
|
+
styles?: {
|
1338
|
+
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1339
|
+
hint?: boolean | undefined;
|
1340
|
+
} | undefined;
|
1341
|
+
}>>;
|
1342
|
+
export type ParagraphConfiguration = z.infer<typeof ParagraphConfiguration>;
|
1339
1343
|
declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
1340
1344
|
id: z.ZodString;
|
1341
1345
|
parent: z.ZodOptional<z.ZodObject<{
|
@@ -1387,18 +1391,23 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1387
1391
|
configuration: z.ZodDefault<z.ZodObject<{
|
1388
1392
|
styles: z.ZodOptional<z.ZodObject<{
|
1389
1393
|
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
1394
|
+
hint: z.ZodOptional<z.ZodBoolean>;
|
1390
1395
|
}, "strip", z.ZodTypeAny, {
|
1391
1396
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1397
|
+
hint?: boolean | undefined;
|
1392
1398
|
}, {
|
1393
1399
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1400
|
+
hint?: boolean | undefined;
|
1394
1401
|
}>>;
|
1395
1402
|
}, "strip", z.ZodTypeAny, {
|
1396
1403
|
styles?: {
|
1397
1404
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1405
|
+
hint?: boolean | undefined;
|
1398
1406
|
} | undefined;
|
1399
1407
|
}, {
|
1400
1408
|
styles?: {
|
1401
1409
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1410
|
+
hint?: boolean | undefined;
|
1402
1411
|
} | undefined;
|
1403
1412
|
}>>;
|
1404
1413
|
}>, "strip", z.ZodTypeAny, {
|
@@ -1408,6 +1417,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1408
1417
|
configuration: {
|
1409
1418
|
styles?: {
|
1410
1419
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1420
|
+
hint?: boolean | undefined;
|
1411
1421
|
} | undefined;
|
1412
1422
|
};
|
1413
1423
|
parent?: {
|
@@ -1477,6 +1487,7 @@ declare const Paragraph: z.ZodObject<z.objectUtil.extendShape<{
|
|
1477
1487
|
configuration?: {
|
1478
1488
|
styles?: {
|
1479
1489
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
1490
|
+
hint?: boolean | undefined;
|
1480
1491
|
} | undefined;
|
1481
1492
|
} | undefined;
|
1482
1493
|
}>;
|
@@ -5265,18 +5276,23 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5265
5276
|
configuration: z.ZodDefault<z.ZodObject<{
|
5266
5277
|
styles: z.ZodOptional<z.ZodObject<{
|
5267
5278
|
fontVariant: z.ZodOptional<z.ZodEnum<["reg12", "reg14", "reg16", "reg18", "h4", "h3", "h2", "h1"]>>;
|
5279
|
+
hint: z.ZodOptional<z.ZodBoolean>;
|
5268
5280
|
}, "strip", z.ZodTypeAny, {
|
5269
5281
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5282
|
+
hint?: boolean | undefined;
|
5270
5283
|
}, {
|
5271
5284
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5285
|
+
hint?: boolean | undefined;
|
5272
5286
|
}>>;
|
5273
5287
|
}, "strip", z.ZodTypeAny, {
|
5274
5288
|
styles?: {
|
5275
5289
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5290
|
+
hint?: boolean | undefined;
|
5276
5291
|
} | undefined;
|
5277
5292
|
}, {
|
5278
5293
|
styles?: {
|
5279
5294
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5295
|
+
hint?: boolean | undefined;
|
5280
5296
|
} | undefined;
|
5281
5297
|
}>>;
|
5282
5298
|
}>, "strip", z.ZodTypeAny, {
|
@@ -5286,6 +5302,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5286
5302
|
configuration: {
|
5287
5303
|
styles?: {
|
5288
5304
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5305
|
+
hint?: boolean | undefined;
|
5289
5306
|
} | undefined;
|
5290
5307
|
};
|
5291
5308
|
parent?: {
|
@@ -5355,6 +5372,7 @@ export declare const FieldConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z
|
|
5355
5372
|
configuration?: {
|
5356
5373
|
styles?: {
|
5357
5374
|
fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
|
5375
|
+
hint?: boolean | undefined;
|
5358
5376
|
} | undefined;
|
5359
5377
|
} | undefined;
|
5360
5378
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|