@opencrvs/toolkit 1.8.1-rc.8c25e85 → 1.8.1-rc.a372970
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 +5078 -5910
- package/dist/commons/conditionals/conditionals.d.ts +13 -9
- package/dist/commons/conditionals/validate.d.ts +6 -15
- package/dist/commons/events/ActionConfig.d.ts +1718 -119315
- package/dist/commons/events/ActionDocument.d.ts +1325 -4879
- package/dist/commons/events/ActionInput.d.ts +1025 -3205
- package/dist/commons/events/ActionType.d.ts +1 -10
- package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1282
- package/dist/commons/events/CompositeFieldValue.d.ts +9 -40
- package/dist/commons/events/Draft.d.ts +97 -288
- package/dist/commons/events/EventConfig.d.ts +1359 -54365
- package/dist/commons/events/EventDocument.d.ts +833 -2720
- package/dist/commons/events/EventIndex.d.ts +29 -2228
- package/dist/commons/events/EventMetadata.d.ts +47 -347
- package/dist/commons/events/FieldConfig.d.ts +1250 -6746
- package/dist/commons/events/FieldType.d.ts +3 -8
- package/dist/commons/events/FieldTypeMapping.d.ts +73 -161
- package/dist/commons/events/FieldValue.d.ts +20 -91
- package/dist/commons/events/FormConfig.d.ts +533 -55781
- package/dist/commons/events/PageConfig.d.ts +208 -13824
- package/dist/commons/events/SummaryConfig.d.ts +42 -93
- package/dist/commons/events/User.d.ts +2 -34
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -8116
- package/dist/commons/events/defineConfig.d.ts +99 -8551
- package/dist/commons/events/index.d.ts +0 -8
- package/dist/commons/events/test.utils.d.ts +90 -206
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +94 -15442
- package/dist/conditionals/index.js +56 -66
- package/dist/events/index.js +1835 -4707
- package/dist/scopes/index.d.ts +7 -184
- package/dist/scopes/index.js +40 -140
- package/package.json +3 -4
- package/dist/commons/events/Constants.d.ts +0 -3
- package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -4132
- package/dist/commons/events/CreatedAtLocation.d.ts +0 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +0 -53
- package/dist/commons/events/event.d.ts +0 -46
- package/dist/commons/events/field.d.ts +0 -94
- package/dist/commons/events/scopes.d.ts +0 -45
- package/dist/commons/events/serializer.d.ts +0 -2
- package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -1,53 +1,39 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const Draft: z.ZodObject<{
|
3
|
-
id: z.
|
4
|
-
eventId: z.
|
3
|
+
id: z.ZodString;
|
4
|
+
eventId: z.ZodString;
|
5
5
|
transactionId: z.ZodString;
|
6
6
|
createdAt: z.ZodString;
|
7
7
|
action: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8
|
-
id: z.
|
9
|
-
transactionId: z.ZodString;
|
10
|
-
createdByUserType: z.ZodEnum<["user", "system"]>;
|
8
|
+
id: z.ZodString;
|
11
9
|
createdAt: z.ZodString;
|
12
10
|
createdBy: z.ZodString;
|
13
|
-
|
14
|
-
|
15
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
16
|
-
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
17
|
-
start: z.ZodString;
|
18
|
-
end: z.ZodString;
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
20
|
-
start: string;
|
21
|
-
end: string;
|
22
|
-
}, {
|
23
|
-
start: string;
|
24
|
-
end: string;
|
25
|
-
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
26
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
11
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
12
|
+
filename: z.ZodString;
|
27
13
|
originalFilename: z.ZodString;
|
28
14
|
type: z.ZodString;
|
29
15
|
}, "strip", z.ZodTypeAny, {
|
30
16
|
type: string;
|
31
|
-
|
17
|
+
filename: string;
|
32
18
|
originalFilename: string;
|
33
19
|
}, {
|
34
20
|
type: string;
|
35
|
-
|
21
|
+
filename: string;
|
36
22
|
originalFilename: string;
|
37
23
|
}>, z.ZodArray<z.ZodObject<{
|
38
|
-
|
24
|
+
filename: z.ZodString;
|
39
25
|
originalFilename: z.ZodString;
|
40
26
|
type: z.ZodString;
|
41
27
|
option: z.ZodString;
|
42
28
|
}, "strip", z.ZodTypeAny, {
|
43
29
|
type: string;
|
44
30
|
option: string;
|
45
|
-
|
31
|
+
filename: string;
|
46
32
|
originalFilename: string;
|
47
33
|
}, {
|
48
34
|
type: string;
|
49
35
|
option: string;
|
50
|
-
|
36
|
+
filename: string;
|
51
37
|
originalFilename: string;
|
52
38
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
53
39
|
country: z.ZodString;
|
@@ -135,54 +121,33 @@ export declare const Draft: z.ZodObject<{
|
|
135
121
|
addressLine2?: string | null | undefined;
|
136
122
|
addressLine3?: string | null | undefined;
|
137
123
|
postcodeOrZip?: string | null | undefined;
|
138
|
-
}
|
139
|
-
|
140
|
-
|
141
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
143
|
-
firstname?: string | null | undefined;
|
144
|
-
surname?: string | null | undefined;
|
145
|
-
middlename?: string | null | undefined;
|
146
|
-
}, {
|
147
|
-
firstname?: string | null | undefined;
|
148
|
-
surname?: string | null | undefined;
|
149
|
-
middlename?: string | null | undefined;
|
150
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
151
|
-
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
152
|
-
start: z.ZodString;
|
153
|
-
end: z.ZodString;
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
155
|
-
start: string;
|
156
|
-
end: string;
|
157
|
-
}, {
|
158
|
-
start: string;
|
159
|
-
end: string;
|
160
|
-
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
161
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
124
|
+
}>]>>;
|
125
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
126
|
+
filename: z.ZodString;
|
162
127
|
originalFilename: z.ZodString;
|
163
128
|
type: z.ZodString;
|
164
129
|
}, "strip", z.ZodTypeAny, {
|
165
130
|
type: string;
|
166
|
-
|
131
|
+
filename: string;
|
167
132
|
originalFilename: string;
|
168
133
|
}, {
|
169
134
|
type: string;
|
170
|
-
|
135
|
+
filename: string;
|
171
136
|
originalFilename: string;
|
172
137
|
}>, z.ZodArray<z.ZodObject<{
|
173
|
-
|
138
|
+
filename: z.ZodString;
|
174
139
|
originalFilename: z.ZodString;
|
175
140
|
type: z.ZodString;
|
176
141
|
option: z.ZodString;
|
177
142
|
}, "strip", z.ZodTypeAny, {
|
178
143
|
type: string;
|
179
144
|
option: string;
|
180
|
-
|
145
|
+
filename: string;
|
181
146
|
originalFilename: string;
|
182
147
|
}, {
|
183
148
|
type: string;
|
184
149
|
option: string;
|
185
|
-
|
150
|
+
filename: string;
|
186
151
|
originalFilename: string;
|
187
152
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
188
153
|
country: z.ZodString;
|
@@ -270,34 +235,20 @@ export declare const Draft: z.ZodObject<{
|
|
270
235
|
addressLine2?: string | null | undefined;
|
271
236
|
addressLine3?: string | null | undefined;
|
272
237
|
postcodeOrZip?: string | null | undefined;
|
273
|
-
}
|
274
|
-
|
275
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
276
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
278
|
-
firstname?: string | null | undefined;
|
279
|
-
surname?: string | null | undefined;
|
280
|
-
middlename?: string | null | undefined;
|
281
|
-
}, {
|
282
|
-
firstname?: string | null | undefined;
|
283
|
-
surname?: string | null | undefined;
|
284
|
-
middlename?: string | null | undefined;
|
285
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
238
|
+
}>]>>>;
|
239
|
+
createdAtLocation: z.ZodString;
|
286
240
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
287
|
-
originalActionId: z.
|
241
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
288
242
|
}, {
|
289
243
|
type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
290
244
|
}>, "id">, "strip", z.ZodTypeAny, {
|
291
|
-
type: "
|
245
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
292
246
|
status: "Rejected" | "Requested" | "Accepted";
|
293
|
-
transactionId: string;
|
294
|
-
createdByUserType: "system" | "user";
|
295
247
|
createdAt: string;
|
296
248
|
createdBy: string;
|
297
|
-
createdByRole: string;
|
298
249
|
declaration: Record<string, string | number | boolean | {
|
299
250
|
type: string;
|
300
|
-
|
251
|
+
filename: string;
|
301
252
|
originalFilename: string;
|
302
253
|
} | {
|
303
254
|
country: string;
|
@@ -310,10 +261,6 @@ export declare const Draft: z.ZodObject<{
|
|
310
261
|
residentialArea?: string | null | undefined;
|
311
262
|
street?: string | null | undefined;
|
312
263
|
zipCode?: string | null | undefined;
|
313
|
-
} | {
|
314
|
-
firstname?: string | null | undefined;
|
315
|
-
surname?: string | null | undefined;
|
316
|
-
middlename?: string | null | undefined;
|
317
264
|
} | {
|
318
265
|
country: string;
|
319
266
|
district: string;
|
@@ -334,17 +281,13 @@ export declare const Draft: z.ZodObject<{
|
|
334
281
|
} | {
|
335
282
|
type: string;
|
336
283
|
option: string;
|
337
|
-
|
284
|
+
filename: string;
|
338
285
|
originalFilename: string;
|
339
|
-
}[] |
|
340
|
-
|
341
|
-
end: string;
|
342
|
-
} | null | undefined>;
|
343
|
-
createdBySignature?: string | null | undefined;
|
344
|
-
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
286
|
+
}[] | undefined>;
|
287
|
+
createdAtLocation: string;
|
345
288
|
annotation?: Record<string, string | number | boolean | {
|
346
289
|
type: string;
|
347
|
-
|
290
|
+
filename: string;
|
348
291
|
originalFilename: string;
|
349
292
|
} | {
|
350
293
|
country: string;
|
@@ -357,10 +300,6 @@ export declare const Draft: z.ZodObject<{
|
|
357
300
|
residentialArea?: string | null | undefined;
|
358
301
|
street?: string | null | undefined;
|
359
302
|
zipCode?: string | null | undefined;
|
360
|
-
} | {
|
361
|
-
firstname?: string | null | undefined;
|
362
|
-
surname?: string | null | undefined;
|
363
|
-
middlename?: string | null | undefined;
|
364
303
|
} | {
|
365
304
|
country: string;
|
366
305
|
district: string;
|
@@ -381,24 +320,18 @@ export declare const Draft: z.ZodObject<{
|
|
381
320
|
} | {
|
382
321
|
type: string;
|
383
322
|
option: string;
|
384
|
-
|
323
|
+
filename: string;
|
385
324
|
originalFilename: string;
|
386
|
-
}[] |
|
387
|
-
|
388
|
-
end: string;
|
389
|
-
} | null | undefined> | null | undefined;
|
390
|
-
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
325
|
+
}[] | undefined> | undefined;
|
326
|
+
originalActionId?: string | undefined;
|
391
327
|
}, {
|
392
|
-
type: "
|
328
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
393
329
|
status: "Rejected" | "Requested" | "Accepted";
|
394
|
-
transactionId: string;
|
395
|
-
createdByUserType: "system" | "user";
|
396
330
|
createdAt: string;
|
397
331
|
createdBy: string;
|
398
|
-
createdByRole: string;
|
399
332
|
declaration: Record<string, string | number | boolean | {
|
400
333
|
type: string;
|
401
|
-
|
334
|
+
filename: string;
|
402
335
|
originalFilename: string;
|
403
336
|
} | {
|
404
337
|
country: string;
|
@@ -411,10 +344,6 @@ export declare const Draft: z.ZodObject<{
|
|
411
344
|
residentialArea?: string | null | undefined;
|
412
345
|
street?: string | null | undefined;
|
413
346
|
zipCode?: string | null | undefined;
|
414
|
-
} | {
|
415
|
-
firstname?: string | null | undefined;
|
416
|
-
surname?: string | null | undefined;
|
417
|
-
middlename?: string | null | undefined;
|
418
347
|
} | {
|
419
348
|
country: string;
|
420
349
|
district: string;
|
@@ -435,17 +364,13 @@ export declare const Draft: z.ZodObject<{
|
|
435
364
|
} | {
|
436
365
|
type: string;
|
437
366
|
option: string;
|
438
|
-
|
367
|
+
filename: string;
|
439
368
|
originalFilename: string;
|
440
|
-
}[] |
|
441
|
-
|
442
|
-
end: string;
|
443
|
-
} | null | undefined>;
|
444
|
-
createdBySignature?: string | null | undefined;
|
445
|
-
createdAtLocation?: string | null | undefined;
|
369
|
+
}[] | undefined>;
|
370
|
+
createdAtLocation: string;
|
446
371
|
annotation?: Record<string, string | number | boolean | {
|
447
372
|
type: string;
|
448
|
-
|
373
|
+
filename: string;
|
449
374
|
originalFilename: string;
|
450
375
|
} | {
|
451
376
|
country: string;
|
@@ -458,10 +383,6 @@ export declare const Draft: z.ZodObject<{
|
|
458
383
|
residentialArea?: string | null | undefined;
|
459
384
|
street?: string | null | undefined;
|
460
385
|
zipCode?: string | null | undefined;
|
461
|
-
} | {
|
462
|
-
firstname?: string | null | undefined;
|
463
|
-
surname?: string | null | undefined;
|
464
|
-
middlename?: string | null | undefined;
|
465
386
|
} | {
|
466
387
|
country: string;
|
467
388
|
district: string;
|
@@ -482,30 +403,24 @@ export declare const Draft: z.ZodObject<{
|
|
482
403
|
} | {
|
483
404
|
type: string;
|
484
405
|
option: string;
|
485
|
-
|
406
|
+
filename: string;
|
486
407
|
originalFilename: string;
|
487
|
-
}[] |
|
488
|
-
|
489
|
-
end: string;
|
490
|
-
} | null | undefined> | null | undefined;
|
491
|
-
originalActionId?: string | null | undefined;
|
408
|
+
}[] | undefined> | undefined;
|
409
|
+
originalActionId?: string | undefined;
|
492
410
|
}>;
|
493
411
|
}, "strip", z.ZodTypeAny, {
|
494
|
-
id: string
|
495
|
-
transactionId: string;
|
412
|
+
id: string;
|
496
413
|
createdAt: string;
|
497
|
-
eventId: string
|
414
|
+
eventId: string;
|
415
|
+
transactionId: string;
|
498
416
|
action: {
|
499
|
-
type: "
|
417
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
500
418
|
status: "Rejected" | "Requested" | "Accepted";
|
501
|
-
transactionId: string;
|
502
|
-
createdByUserType: "system" | "user";
|
503
419
|
createdAt: string;
|
504
420
|
createdBy: string;
|
505
|
-
createdByRole: string;
|
506
421
|
declaration: Record<string, string | number | boolean | {
|
507
422
|
type: string;
|
508
|
-
|
423
|
+
filename: string;
|
509
424
|
originalFilename: string;
|
510
425
|
} | {
|
511
426
|
country: string;
|
@@ -518,10 +433,6 @@ export declare const Draft: z.ZodObject<{
|
|
518
433
|
residentialArea?: string | null | undefined;
|
519
434
|
street?: string | null | undefined;
|
520
435
|
zipCode?: string | null | undefined;
|
521
|
-
} | {
|
522
|
-
firstname?: string | null | undefined;
|
523
|
-
surname?: string | null | undefined;
|
524
|
-
middlename?: string | null | undefined;
|
525
436
|
} | {
|
526
437
|
country: string;
|
527
438
|
district: string;
|
@@ -542,17 +453,13 @@ export declare const Draft: z.ZodObject<{
|
|
542
453
|
} | {
|
543
454
|
type: string;
|
544
455
|
option: string;
|
545
|
-
|
456
|
+
filename: string;
|
546
457
|
originalFilename: string;
|
547
|
-
}[] |
|
548
|
-
|
549
|
-
end: string;
|
550
|
-
} | null | undefined>;
|
551
|
-
createdBySignature?: string | null | undefined;
|
552
|
-
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
458
|
+
}[] | undefined>;
|
459
|
+
createdAtLocation: string;
|
553
460
|
annotation?: Record<string, string | number | boolean | {
|
554
461
|
type: string;
|
555
|
-
|
462
|
+
filename: string;
|
556
463
|
originalFilename: string;
|
557
464
|
} | {
|
558
465
|
country: string;
|
@@ -565,10 +472,6 @@ export declare const Draft: z.ZodObject<{
|
|
565
472
|
residentialArea?: string | null | undefined;
|
566
473
|
street?: string | null | undefined;
|
567
474
|
zipCode?: string | null | undefined;
|
568
|
-
} | {
|
569
|
-
firstname?: string | null | undefined;
|
570
|
-
surname?: string | null | undefined;
|
571
|
-
middlename?: string | null | undefined;
|
572
475
|
} | {
|
573
476
|
country: string;
|
574
477
|
district: string;
|
@@ -589,30 +492,24 @@ export declare const Draft: z.ZodObject<{
|
|
589
492
|
} | {
|
590
493
|
type: string;
|
591
494
|
option: string;
|
592
|
-
|
495
|
+
filename: string;
|
593
496
|
originalFilename: string;
|
594
|
-
}[] |
|
595
|
-
|
596
|
-
end: string;
|
597
|
-
} | null | undefined> | null | undefined;
|
598
|
-
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
497
|
+
}[] | undefined> | undefined;
|
498
|
+
originalActionId?: string | undefined;
|
599
499
|
};
|
600
500
|
}, {
|
601
501
|
id: string;
|
602
|
-
transactionId: string;
|
603
502
|
createdAt: string;
|
604
503
|
eventId: string;
|
504
|
+
transactionId: string;
|
605
505
|
action: {
|
606
|
-
type: "
|
506
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
607
507
|
status: "Rejected" | "Requested" | "Accepted";
|
608
|
-
transactionId: string;
|
609
|
-
createdByUserType: "system" | "user";
|
610
508
|
createdAt: string;
|
611
509
|
createdBy: string;
|
612
|
-
createdByRole: string;
|
613
510
|
declaration: Record<string, string | number | boolean | {
|
614
511
|
type: string;
|
615
|
-
|
512
|
+
filename: string;
|
616
513
|
originalFilename: string;
|
617
514
|
} | {
|
618
515
|
country: string;
|
@@ -625,10 +522,6 @@ export declare const Draft: z.ZodObject<{
|
|
625
522
|
residentialArea?: string | null | undefined;
|
626
523
|
street?: string | null | undefined;
|
627
524
|
zipCode?: string | null | undefined;
|
628
|
-
} | {
|
629
|
-
firstname?: string | null | undefined;
|
630
|
-
surname?: string | null | undefined;
|
631
|
-
middlename?: string | null | undefined;
|
632
525
|
} | {
|
633
526
|
country: string;
|
634
527
|
district: string;
|
@@ -649,17 +542,13 @@ export declare const Draft: z.ZodObject<{
|
|
649
542
|
} | {
|
650
543
|
type: string;
|
651
544
|
option: string;
|
652
|
-
|
545
|
+
filename: string;
|
653
546
|
originalFilename: string;
|
654
|
-
}[] |
|
655
|
-
|
656
|
-
end: string;
|
657
|
-
} | null | undefined>;
|
658
|
-
createdBySignature?: string | null | undefined;
|
659
|
-
createdAtLocation?: string | null | undefined;
|
547
|
+
}[] | undefined>;
|
548
|
+
createdAtLocation: string;
|
660
549
|
annotation?: Record<string, string | number | boolean | {
|
661
550
|
type: string;
|
662
|
-
|
551
|
+
filename: string;
|
663
552
|
originalFilename: string;
|
664
553
|
} | {
|
665
554
|
country: string;
|
@@ -672,10 +561,6 @@ export declare const Draft: z.ZodObject<{
|
|
672
561
|
residentialArea?: string | null | undefined;
|
673
562
|
street?: string | null | undefined;
|
674
563
|
zipCode?: string | null | undefined;
|
675
|
-
} | {
|
676
|
-
firstname?: string | null | undefined;
|
677
|
-
surname?: string | null | undefined;
|
678
|
-
middlename?: string | null | undefined;
|
679
564
|
} | {
|
680
565
|
country: string;
|
681
566
|
district: string;
|
@@ -696,53 +581,41 @@ export declare const Draft: z.ZodObject<{
|
|
696
581
|
} | {
|
697
582
|
type: string;
|
698
583
|
option: string;
|
699
|
-
|
584
|
+
filename: string;
|
700
585
|
originalFilename: string;
|
701
|
-
}[] |
|
702
|
-
|
703
|
-
end: string;
|
704
|
-
} | null | undefined> | null | undefined;
|
705
|
-
originalActionId?: string | null | undefined;
|
586
|
+
}[] | undefined> | undefined;
|
587
|
+
originalActionId?: string | undefined;
|
706
588
|
};
|
707
589
|
}>;
|
708
590
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
709
|
-
eventId: z.
|
591
|
+
eventId: z.ZodString;
|
710
592
|
transactionId: z.ZodString;
|
711
|
-
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.
|
712
|
-
|
713
|
-
end: z.ZodString;
|
714
|
-
}, "strip", z.ZodTypeAny, {
|
715
|
-
start: string;
|
716
|
-
end: string;
|
717
|
-
}, {
|
718
|
-
start: string;
|
719
|
-
end: string;
|
720
|
-
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
721
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
593
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
594
|
+
filename: z.ZodString;
|
722
595
|
originalFilename: z.ZodString;
|
723
596
|
type: z.ZodString;
|
724
597
|
}, "strip", z.ZodTypeAny, {
|
725
598
|
type: string;
|
726
|
-
|
599
|
+
filename: string;
|
727
600
|
originalFilename: string;
|
728
601
|
}, {
|
729
602
|
type: string;
|
730
|
-
|
603
|
+
filename: string;
|
731
604
|
originalFilename: string;
|
732
605
|
}>, z.ZodArray<z.ZodObject<{
|
733
|
-
|
606
|
+
filename: z.ZodString;
|
734
607
|
originalFilename: z.ZodString;
|
735
608
|
type: z.ZodString;
|
736
609
|
option: z.ZodString;
|
737
610
|
}, "strip", z.ZodTypeAny, {
|
738
611
|
type: string;
|
739
612
|
option: string;
|
740
|
-
|
613
|
+
filename: string;
|
741
614
|
originalFilename: string;
|
742
615
|
}, {
|
743
616
|
type: string;
|
744
617
|
option: string;
|
745
|
-
|
618
|
+
filename: string;
|
746
619
|
originalFilename: string;
|
747
620
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
748
621
|
country: z.ZodString;
|
@@ -830,54 +703,33 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
830
703
|
addressLine2?: string | null | undefined;
|
831
704
|
addressLine3?: string | null | undefined;
|
832
705
|
postcodeOrZip?: string | null | undefined;
|
833
|
-
}
|
834
|
-
|
835
|
-
|
836
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
837
|
-
}, "strip", z.ZodTypeAny, {
|
838
|
-
firstname?: string | null | undefined;
|
839
|
-
surname?: string | null | undefined;
|
840
|
-
middlename?: string | null | undefined;
|
841
|
-
}, {
|
842
|
-
firstname?: string | null | undefined;
|
843
|
-
surname?: string | null | undefined;
|
844
|
-
middlename?: string | null | undefined;
|
845
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
846
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString, z.ZodUnion<[z.ZodObject<{
|
847
|
-
start: z.ZodString;
|
848
|
-
end: z.ZodString;
|
849
|
-
}, "strip", z.ZodTypeAny, {
|
850
|
-
start: string;
|
851
|
-
end: string;
|
852
|
-
}, {
|
853
|
-
start: string;
|
854
|
-
end: string;
|
855
|
-
}>, z.ZodString]>, z.ZodEnum<["last7Days", "last30Days", "last90Days", "last365Days"]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
856
|
-
path: z.ZodEffects<z.ZodString, string, string>;
|
706
|
+
}>]>>>;
|
707
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
708
|
+
filename: z.ZodString;
|
857
709
|
originalFilename: z.ZodString;
|
858
710
|
type: z.ZodString;
|
859
711
|
}, "strip", z.ZodTypeAny, {
|
860
712
|
type: string;
|
861
|
-
|
713
|
+
filename: string;
|
862
714
|
originalFilename: string;
|
863
715
|
}, {
|
864
716
|
type: string;
|
865
|
-
|
717
|
+
filename: string;
|
866
718
|
originalFilename: string;
|
867
719
|
}>, z.ZodArray<z.ZodObject<{
|
868
|
-
|
720
|
+
filename: z.ZodString;
|
869
721
|
originalFilename: z.ZodString;
|
870
722
|
type: z.ZodString;
|
871
723
|
option: z.ZodString;
|
872
724
|
}, "strip", z.ZodTypeAny, {
|
873
725
|
type: string;
|
874
726
|
option: string;
|
875
|
-
|
727
|
+
filename: string;
|
876
728
|
originalFilename: string;
|
877
729
|
}, {
|
878
730
|
type: string;
|
879
731
|
option: string;
|
880
|
-
|
732
|
+
filename: string;
|
881
733
|
originalFilename: string;
|
882
734
|
}>, "many">, z.ZodObject<z.objectUtil.extendShape<{
|
883
735
|
country: z.ZodString;
|
@@ -965,31 +817,16 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
965
817
|
addressLine2?: string | null | undefined;
|
966
818
|
addressLine3?: string | null | undefined;
|
967
819
|
postcodeOrZip?: string | null | undefined;
|
968
|
-
}
|
969
|
-
|
970
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
971
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
972
|
-
}, "strip", z.ZodTypeAny, {
|
973
|
-
firstname?: string | null | undefined;
|
974
|
-
surname?: string | null | undefined;
|
975
|
-
middlename?: string | null | undefined;
|
976
|
-
}, {
|
977
|
-
firstname?: string | null | undefined;
|
978
|
-
surname?: string | null | undefined;
|
979
|
-
middlename?: string | null | undefined;
|
980
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
981
|
-
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
820
|
+
}>]>>>;
|
821
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
982
822
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
983
823
|
}, {
|
984
824
|
type: z.ZodEnum<["DELETE", "CREATE", "NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "DETECT_DUPLICATE", "REJECT", "MARKED_AS_DUPLICATE", "ARCHIVE", "PRINT_CERTIFICATE", "REQUEST_CORRECTION", "REJECT_CORRECTION", "APPROVE_CORRECTION", "READ", "ASSIGN", "UNASSIGN"]>;
|
985
|
-
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
986
825
|
}>, "strip", z.ZodTypeAny, {
|
987
|
-
type: "
|
988
|
-
status: "Rejected" | "Requested" | "Accepted";
|
989
|
-
transactionId: string;
|
826
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
990
827
|
declaration: Record<string, string | number | boolean | {
|
991
828
|
type: string;
|
992
|
-
|
829
|
+
filename: string;
|
993
830
|
originalFilename: string;
|
994
831
|
} | {
|
995
832
|
country: string;
|
@@ -1002,10 +839,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1002
839
|
residentialArea?: string | null | undefined;
|
1003
840
|
street?: string | null | undefined;
|
1004
841
|
zipCode?: string | null | undefined;
|
1005
|
-
} | {
|
1006
|
-
firstname?: string | null | undefined;
|
1007
|
-
surname?: string | null | undefined;
|
1008
|
-
middlename?: string | null | undefined;
|
1009
842
|
} | {
|
1010
843
|
country: string;
|
1011
844
|
district: string;
|
@@ -1026,16 +859,14 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1026
859
|
} | {
|
1027
860
|
type: string;
|
1028
861
|
option: string;
|
1029
|
-
|
862
|
+
filename: string;
|
1030
863
|
originalFilename: string;
|
1031
|
-
}[] |
|
1032
|
-
|
1033
|
-
|
1034
|
-
} | null | undefined>;
|
1035
|
-
eventId: string & z.BRAND<"UUID">;
|
864
|
+
}[] | undefined>;
|
865
|
+
eventId: string;
|
866
|
+
transactionId: string;
|
1036
867
|
annotation?: Record<string, string | number | boolean | {
|
1037
868
|
type: string;
|
1038
|
-
|
869
|
+
filename: string;
|
1039
870
|
originalFilename: string;
|
1040
871
|
} | {
|
1041
872
|
country: string;
|
@@ -1048,10 +879,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1048
879
|
residentialArea?: string | null | undefined;
|
1049
880
|
street?: string | null | undefined;
|
1050
881
|
zipCode?: string | null | undefined;
|
1051
|
-
} | {
|
1052
|
-
firstname?: string | null | undefined;
|
1053
|
-
surname?: string | null | undefined;
|
1054
|
-
middlename?: string | null | undefined;
|
1055
882
|
} | {
|
1056
883
|
country: string;
|
1057
884
|
district: string;
|
@@ -1072,22 +899,18 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1072
899
|
} | {
|
1073
900
|
type: string;
|
1074
901
|
option: string;
|
1075
|
-
|
902
|
+
filename: string;
|
1076
903
|
originalFilename: string;
|
1077
|
-
}[] |
|
1078
|
-
|
1079
|
-
end: string;
|
1080
|
-
} | null | undefined> | undefined;
|
1081
|
-
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
904
|
+
}[] | undefined> | undefined;
|
905
|
+
originalActionId?: string | undefined;
|
1082
906
|
keepAssignment?: boolean | undefined;
|
1083
907
|
}, {
|
1084
|
-
type: "
|
1085
|
-
status: "Rejected" | "Requested" | "Accepted";
|
1086
|
-
transactionId: string;
|
908
|
+
type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
1087
909
|
eventId: string;
|
910
|
+
transactionId: string;
|
1088
911
|
declaration?: Record<string, string | number | boolean | {
|
1089
912
|
type: string;
|
1090
|
-
|
913
|
+
filename: string;
|
1091
914
|
originalFilename: string;
|
1092
915
|
} | {
|
1093
916
|
country: string;
|
@@ -1100,10 +923,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1100
923
|
residentialArea?: string | null | undefined;
|
1101
924
|
street?: string | null | undefined;
|
1102
925
|
zipCode?: string | null | undefined;
|
1103
|
-
} | {
|
1104
|
-
firstname?: string | null | undefined;
|
1105
|
-
surname?: string | null | undefined;
|
1106
|
-
middlename?: string | null | undefined;
|
1107
926
|
} | {
|
1108
927
|
country: string;
|
1109
928
|
district: string;
|
@@ -1124,15 +943,12 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1124
943
|
} | {
|
1125
944
|
type: string;
|
1126
945
|
option: string;
|
1127
|
-
|
946
|
+
filename: string;
|
1128
947
|
originalFilename: string;
|
1129
|
-
}[] |
|
1130
|
-
start: string;
|
1131
|
-
end: string;
|
1132
|
-
} | null | undefined> | undefined;
|
948
|
+
}[] | undefined> | undefined;
|
1133
949
|
annotation?: Record<string, string | number | boolean | {
|
1134
950
|
type: string;
|
1135
|
-
|
951
|
+
filename: string;
|
1136
952
|
originalFilename: string;
|
1137
953
|
} | {
|
1138
954
|
country: string;
|
@@ -1145,10 +961,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1145
961
|
residentialArea?: string | null | undefined;
|
1146
962
|
street?: string | null | undefined;
|
1147
963
|
zipCode?: string | null | undefined;
|
1148
|
-
} | {
|
1149
|
-
firstname?: string | null | undefined;
|
1150
|
-
surname?: string | null | undefined;
|
1151
|
-
middlename?: string | null | undefined;
|
1152
964
|
} | {
|
1153
965
|
country: string;
|
1154
966
|
district: string;
|
@@ -1169,12 +981,9 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1169
981
|
} | {
|
1170
982
|
type: string;
|
1171
983
|
option: string;
|
1172
|
-
|
984
|
+
filename: string;
|
1173
985
|
originalFilename: string;
|
1174
|
-
}[] |
|
1175
|
-
start: string;
|
1176
|
-
end: string;
|
1177
|
-
} | null | undefined> | undefined;
|
986
|
+
}[] | undefined> | undefined;
|
1178
987
|
originalActionId?: string | undefined;
|
1179
988
|
keepAssignment?: boolean | undefined;
|
1180
989
|
}>;
|