@opencrvs/toolkit 1.8.0-rc.feef45c → 1.8.0-rc.fef0fdd
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 +9340 -7709
- package/dist/commons/conditionals/conditionals.d.ts +8 -3
- package/dist/commons/conditionals/validate.d.ts +6 -0
- package/dist/commons/events/ActionConfig.d.ts +72517 -38926
- package/dist/commons/events/ActionDocument.d.ts +2375 -665
- package/dist/commons/events/ActionInput.d.ts +1639 -367
- package/dist/commons/events/ActionType.d.ts +6 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +913 -48
- package/dist/commons/events/CompositeFieldValue.d.ts +28 -0
- package/dist/commons/events/Constants.d.ts +3 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +3068 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +148 -44
- package/dist/commons/events/EventConfig.d.ts +28287 -11538
- package/dist/commons/events/EventDocument.d.ts +1479 -492
- package/dist/commons/events/EventIndex.d.ts +1433 -343
- package/dist/commons/events/EventInput.d.ts +0 -13
- package/dist/commons/events/EventMetadata.d.ts +325 -46
- package/dist/commons/events/FieldConfig.d.ts +2962 -1131
- package/dist/commons/events/FieldType.d.ts +6 -2
- package/dist/commons/events/FieldTypeMapping.d.ts +103 -54
- package/dist/commons/events/FieldValue.d.ts +48 -7
- package/dist/commons/events/FormConfig.d.ts +20532 -9126
- package/dist/commons/events/PageConfig.d.ts +4906 -2112
- package/dist/commons/events/SummaryConfig.d.ts +17 -5
- package/dist/commons/events/User.d.ts +31 -7
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +6262 -16
- package/dist/commons/events/defineConfig.d.ts +3204 -625
- package/dist/commons/events/event.d.ts +37 -8
- package/dist/commons/events/field.d.ts +34 -20
- package/dist/commons/events/index.d.ts +5 -0
- package/dist/commons/events/scopes.d.ts +21 -3
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +171 -42
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +10720 -321
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +45 -8
- package/dist/events/index.js +4184 -1930
- package/dist/scopes/index.d.ts +161 -1
- package/dist/scopes/index.js +202 -1
- package/package.json +3 -3
@@ -1,16 +1,19 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const Draft: z.ZodObject<{
|
3
|
-
id: z.ZodString
|
4
|
-
eventId: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
|
+
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
5
5
|
transactionId: z.ZodString;
|
6
6
|
createdAt: z.ZodString;
|
7
7
|
action: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
8
|
-
id: z.ZodString
|
8
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
9
9
|
transactionId: z.ZodString;
|
10
|
+
createdByUserType: z.ZodEnum<["user", "system"]>;
|
10
11
|
createdAt: z.ZodString;
|
11
12
|
createdBy: z.ZodString;
|
12
13
|
createdByRole: z.ZodString;
|
13
|
-
|
14
|
+
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
15
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
16
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
14
17
|
filename: z.ZodString;
|
15
18
|
originalFilename: z.ZodString;
|
16
19
|
type: z.ZodString;
|
@@ -123,8 +126,20 @@ export declare const Draft: z.ZodObject<{
|
|
123
126
|
addressLine2?: string | null | undefined;
|
124
127
|
addressLine3?: string | null | undefined;
|
125
128
|
postcodeOrZip?: string | null | undefined;
|
126
|
-
}
|
127
|
-
|
129
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
130
|
+
firstname: z.ZodString;
|
131
|
+
surname: z.ZodString;
|
132
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
133
|
+
}, "strip", z.ZodTypeAny, {
|
134
|
+
firstname: string;
|
135
|
+
surname: string;
|
136
|
+
middlename?: string | null | undefined;
|
137
|
+
}, {
|
138
|
+
firstname: string;
|
139
|
+
surname: string;
|
140
|
+
middlename?: string | null | undefined;
|
141
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
142
|
+
annotation: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
128
143
|
filename: z.ZodString;
|
129
144
|
originalFilename: z.ZodString;
|
130
145
|
type: z.ZodString;
|
@@ -237,17 +252,28 @@ export declare const Draft: z.ZodObject<{
|
|
237
252
|
addressLine2?: string | null | undefined;
|
238
253
|
addressLine3?: string | null | undefined;
|
239
254
|
postcodeOrZip?: string | null | undefined;
|
240
|
-
}
|
241
|
-
|
242
|
-
|
255
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
256
|
+
firstname: z.ZodString;
|
257
|
+
surname: z.ZodString;
|
258
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
259
|
+
}, "strip", z.ZodTypeAny, {
|
260
|
+
firstname: string;
|
261
|
+
surname: string;
|
262
|
+
middlename?: string | null | undefined;
|
263
|
+
}, {
|
264
|
+
firstname: string;
|
265
|
+
surname: string;
|
266
|
+
middlename?: string | null | undefined;
|
267
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
243
268
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
244
|
-
originalActionId: z.ZodOptional<z.ZodString
|
269
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
245
270
|
}, {
|
246
271
|
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"]>;
|
247
272
|
}>, "id">, "strip", z.ZodTypeAny, {
|
248
273
|
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";
|
249
274
|
status: "Rejected" | "Requested" | "Accepted";
|
250
275
|
transactionId: string;
|
276
|
+
createdByUserType: "system" | "user";
|
251
277
|
createdAt: string;
|
252
278
|
createdBy: string;
|
253
279
|
createdByRole: string;
|
@@ -266,6 +292,10 @@ export declare const Draft: z.ZodObject<{
|
|
266
292
|
residentialArea?: string | null | undefined;
|
267
293
|
street?: string | null | undefined;
|
268
294
|
zipCode?: string | null | undefined;
|
295
|
+
} | {
|
296
|
+
firstname: string;
|
297
|
+
surname: string;
|
298
|
+
middlename?: string | null | undefined;
|
269
299
|
} | {
|
270
300
|
country: string;
|
271
301
|
district: string;
|
@@ -288,7 +318,9 @@ export declare const Draft: z.ZodObject<{
|
|
288
318
|
option: string;
|
289
319
|
filename: string;
|
290
320
|
originalFilename: string;
|
291
|
-
}[] | undefined>;
|
321
|
+
}[] | [string, string] | null | undefined>;
|
322
|
+
createdBySignature?: string | null | undefined;
|
323
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
292
324
|
annotation?: Record<string, string | number | boolean | {
|
293
325
|
type: string;
|
294
326
|
filename: string;
|
@@ -304,6 +336,10 @@ export declare const Draft: z.ZodObject<{
|
|
304
336
|
residentialArea?: string | null | undefined;
|
305
337
|
street?: string | null | undefined;
|
306
338
|
zipCode?: string | null | undefined;
|
339
|
+
} | {
|
340
|
+
firstname: string;
|
341
|
+
surname: string;
|
342
|
+
middlename?: string | null | undefined;
|
307
343
|
} | {
|
308
344
|
country: string;
|
309
345
|
district: string;
|
@@ -326,14 +362,13 @@ export declare const Draft: z.ZodObject<{
|
|
326
362
|
option: string;
|
327
363
|
filename: string;
|
328
364
|
originalFilename: string;
|
329
|
-
}[] | undefined> | undefined;
|
330
|
-
|
331
|
-
updatedAtLocation?: string | undefined;
|
332
|
-
originalActionId?: string | undefined;
|
365
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
366
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
333
367
|
}, {
|
334
368
|
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";
|
335
369
|
status: "Rejected" | "Requested" | "Accepted";
|
336
370
|
transactionId: string;
|
371
|
+
createdByUserType: "system" | "user";
|
337
372
|
createdAt: string;
|
338
373
|
createdBy: string;
|
339
374
|
createdByRole: string;
|
@@ -352,6 +387,10 @@ export declare const Draft: z.ZodObject<{
|
|
352
387
|
residentialArea?: string | null | undefined;
|
353
388
|
street?: string | null | undefined;
|
354
389
|
zipCode?: string | null | undefined;
|
390
|
+
} | {
|
391
|
+
firstname: string;
|
392
|
+
surname: string;
|
393
|
+
middlename?: string | null | undefined;
|
355
394
|
} | {
|
356
395
|
country: string;
|
357
396
|
district: string;
|
@@ -374,7 +413,9 @@ export declare const Draft: z.ZodObject<{
|
|
374
413
|
option: string;
|
375
414
|
filename: string;
|
376
415
|
originalFilename: string;
|
377
|
-
}[] | undefined>;
|
416
|
+
}[] | [string, string] | null | undefined>;
|
417
|
+
createdBySignature?: string | null | undefined;
|
418
|
+
createdAtLocation?: string | null | undefined;
|
378
419
|
annotation?: Record<string, string | number | boolean | {
|
379
420
|
type: string;
|
380
421
|
filename: string;
|
@@ -390,6 +431,10 @@ export declare const Draft: z.ZodObject<{
|
|
390
431
|
residentialArea?: string | null | undefined;
|
391
432
|
street?: string | null | undefined;
|
392
433
|
zipCode?: string | null | undefined;
|
434
|
+
} | {
|
435
|
+
firstname: string;
|
436
|
+
surname: string;
|
437
|
+
middlename?: string | null | undefined;
|
393
438
|
} | {
|
394
439
|
country: string;
|
395
440
|
district: string;
|
@@ -412,20 +457,19 @@ export declare const Draft: z.ZodObject<{
|
|
412
457
|
option: string;
|
413
458
|
filename: string;
|
414
459
|
originalFilename: string;
|
415
|
-
}[] | undefined> | undefined;
|
416
|
-
|
417
|
-
updatedAtLocation?: string | undefined;
|
418
|
-
originalActionId?: string | undefined;
|
460
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
461
|
+
originalActionId?: string | null | undefined;
|
419
462
|
}>;
|
420
463
|
}, "strip", z.ZodTypeAny, {
|
421
|
-
id: string
|
464
|
+
id: string & z.BRAND<"UUID">;
|
422
465
|
transactionId: string;
|
423
466
|
createdAt: string;
|
424
|
-
eventId: string
|
467
|
+
eventId: string & z.BRAND<"UUID">;
|
425
468
|
action: {
|
426
469
|
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";
|
427
470
|
status: "Rejected" | "Requested" | "Accepted";
|
428
471
|
transactionId: string;
|
472
|
+
createdByUserType: "system" | "user";
|
429
473
|
createdAt: string;
|
430
474
|
createdBy: string;
|
431
475
|
createdByRole: string;
|
@@ -444,6 +488,10 @@ export declare const Draft: z.ZodObject<{
|
|
444
488
|
residentialArea?: string | null | undefined;
|
445
489
|
street?: string | null | undefined;
|
446
490
|
zipCode?: string | null | undefined;
|
491
|
+
} | {
|
492
|
+
firstname: string;
|
493
|
+
surname: string;
|
494
|
+
middlename?: string | null | undefined;
|
447
495
|
} | {
|
448
496
|
country: string;
|
449
497
|
district: string;
|
@@ -466,7 +514,9 @@ export declare const Draft: z.ZodObject<{
|
|
466
514
|
option: string;
|
467
515
|
filename: string;
|
468
516
|
originalFilename: string;
|
469
|
-
}[] | undefined>;
|
517
|
+
}[] | [string, string] | null | undefined>;
|
518
|
+
createdBySignature?: string | null | undefined;
|
519
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
470
520
|
annotation?: Record<string, string | number | boolean | {
|
471
521
|
type: string;
|
472
522
|
filename: string;
|
@@ -482,6 +532,10 @@ export declare const Draft: z.ZodObject<{
|
|
482
532
|
residentialArea?: string | null | undefined;
|
483
533
|
street?: string | null | undefined;
|
484
534
|
zipCode?: string | null | undefined;
|
535
|
+
} | {
|
536
|
+
firstname: string;
|
537
|
+
surname: string;
|
538
|
+
middlename?: string | null | undefined;
|
485
539
|
} | {
|
486
540
|
country: string;
|
487
541
|
district: string;
|
@@ -504,10 +558,8 @@ export declare const Draft: z.ZodObject<{
|
|
504
558
|
option: string;
|
505
559
|
filename: string;
|
506
560
|
originalFilename: string;
|
507
|
-
}[] | undefined> | undefined;
|
508
|
-
|
509
|
-
updatedAtLocation?: string | undefined;
|
510
|
-
originalActionId?: string | undefined;
|
561
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
562
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
511
563
|
};
|
512
564
|
}, {
|
513
565
|
id: string;
|
@@ -518,6 +570,7 @@ export declare const Draft: z.ZodObject<{
|
|
518
570
|
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";
|
519
571
|
status: "Rejected" | "Requested" | "Accepted";
|
520
572
|
transactionId: string;
|
573
|
+
createdByUserType: "system" | "user";
|
521
574
|
createdAt: string;
|
522
575
|
createdBy: string;
|
523
576
|
createdByRole: string;
|
@@ -536,6 +589,10 @@ export declare const Draft: z.ZodObject<{
|
|
536
589
|
residentialArea?: string | null | undefined;
|
537
590
|
street?: string | null | undefined;
|
538
591
|
zipCode?: string | null | undefined;
|
592
|
+
} | {
|
593
|
+
firstname: string;
|
594
|
+
surname: string;
|
595
|
+
middlename?: string | null | undefined;
|
539
596
|
} | {
|
540
597
|
country: string;
|
541
598
|
district: string;
|
@@ -558,7 +615,9 @@ export declare const Draft: z.ZodObject<{
|
|
558
615
|
option: string;
|
559
616
|
filename: string;
|
560
617
|
originalFilename: string;
|
561
|
-
}[] | undefined>;
|
618
|
+
}[] | [string, string] | null | undefined>;
|
619
|
+
createdBySignature?: string | null | undefined;
|
620
|
+
createdAtLocation?: string | null | undefined;
|
562
621
|
annotation?: Record<string, string | number | boolean | {
|
563
622
|
type: string;
|
564
623
|
filename: string;
|
@@ -574,6 +633,10 @@ export declare const Draft: z.ZodObject<{
|
|
574
633
|
residentialArea?: string | null | undefined;
|
575
634
|
street?: string | null | undefined;
|
576
635
|
zipCode?: string | null | undefined;
|
636
|
+
} | {
|
637
|
+
firstname: string;
|
638
|
+
surname: string;
|
639
|
+
middlename?: string | null | undefined;
|
577
640
|
} | {
|
578
641
|
country: string;
|
579
642
|
district: string;
|
@@ -596,16 +659,14 @@ export declare const Draft: z.ZodObject<{
|
|
596
659
|
option: string;
|
597
660
|
filename: string;
|
598
661
|
originalFilename: string;
|
599
|
-
}[] | undefined> | undefined;
|
600
|
-
|
601
|
-
updatedAtLocation?: string | undefined;
|
602
|
-
originalActionId?: string | undefined;
|
662
|
+
}[] | [string, string] | null | undefined> | null | undefined;
|
663
|
+
originalActionId?: string | null | undefined;
|
603
664
|
};
|
604
665
|
}>;
|
605
666
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
606
|
-
eventId: z.ZodString
|
667
|
+
eventId: z.ZodBranded<z.ZodString, "UUID">;
|
607
668
|
transactionId: z.ZodString;
|
608
|
-
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
669
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
609
670
|
filename: z.ZodString;
|
610
671
|
originalFilename: z.ZodString;
|
611
672
|
type: z.ZodString;
|
@@ -718,8 +779,20 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
718
779
|
addressLine2?: string | null | undefined;
|
719
780
|
addressLine3?: string | null | undefined;
|
720
781
|
postcodeOrZip?: string | null | undefined;
|
721
|
-
}
|
722
|
-
|
782
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
783
|
+
firstname: z.ZodString;
|
784
|
+
surname: z.ZodString;
|
785
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
786
|
+
}, "strip", z.ZodTypeAny, {
|
787
|
+
firstname: string;
|
788
|
+
surname: string;
|
789
|
+
middlename?: string | null | undefined;
|
790
|
+
}, {
|
791
|
+
firstname: string;
|
792
|
+
surname: string;
|
793
|
+
middlename?: string | null | undefined;
|
794
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
795
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
723
796
|
filename: z.ZodString;
|
724
797
|
originalFilename: z.ZodString;
|
725
798
|
type: z.ZodString;
|
@@ -832,13 +905,27 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
832
905
|
addressLine2?: string | null | undefined;
|
833
906
|
addressLine3?: string | null | undefined;
|
834
907
|
postcodeOrZip?: string | null | undefined;
|
835
|
-
}
|
836
|
-
|
908
|
+
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
909
|
+
firstname: z.ZodString;
|
910
|
+
surname: z.ZodString;
|
911
|
+
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
912
|
+
}, "strip", z.ZodTypeAny, {
|
913
|
+
firstname: string;
|
914
|
+
surname: string;
|
915
|
+
middlename?: string | null | undefined;
|
916
|
+
}, {
|
917
|
+
firstname: string;
|
918
|
+
surname: string;
|
919
|
+
middlename?: string | null | undefined;
|
920
|
+
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
921
|
+
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
837
922
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
838
923
|
}, {
|
839
924
|
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"]>;
|
925
|
+
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
840
926
|
}>, "strip", z.ZodTypeAny, {
|
841
927
|
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";
|
928
|
+
status: "Rejected" | "Requested" | "Accepted";
|
842
929
|
transactionId: string;
|
843
930
|
declaration: Record<string, string | number | boolean | {
|
844
931
|
type: string;
|
@@ -855,6 +942,10 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
855
942
|
residentialArea?: string | null | undefined;
|
856
943
|
street?: string | null | undefined;
|
857
944
|
zipCode?: string | null | undefined;
|
945
|
+
} | {
|
946
|
+
firstname: string;
|
947
|
+
surname: string;
|
948
|
+
middlename?: string | null | undefined;
|
858
949
|
} | {
|
859
950
|
country: string;
|
860
951
|
district: string;
|
@@ -877,8 +968,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
877
968
|
option: string;
|
878
969
|
filename: string;
|
879
970
|
originalFilename: string;
|
880
|
-
}[] | undefined>;
|
881
|
-
eventId: string
|
971
|
+
}[] | [string, string] | null | undefined>;
|
972
|
+
eventId: string & z.BRAND<"UUID">;
|
882
973
|
annotation?: Record<string, string | number | boolean | {
|
883
974
|
type: string;
|
884
975
|
filename: string;
|
@@ -894,6 +985,10 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
894
985
|
residentialArea?: string | null | undefined;
|
895
986
|
street?: string | null | undefined;
|
896
987
|
zipCode?: string | null | undefined;
|
988
|
+
} | {
|
989
|
+
firstname: string;
|
990
|
+
surname: string;
|
991
|
+
middlename?: string | null | undefined;
|
897
992
|
} | {
|
898
993
|
country: string;
|
899
994
|
district: string;
|
@@ -916,11 +1011,12 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
916
1011
|
option: string;
|
917
1012
|
filename: string;
|
918
1013
|
originalFilename: string;
|
919
|
-
}[] | undefined> | undefined;
|
920
|
-
originalActionId?: string | undefined;
|
1014
|
+
}[] | [string, string] | null | undefined> | undefined;
|
1015
|
+
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
921
1016
|
keepAssignment?: boolean | undefined;
|
922
1017
|
}, {
|
923
1018
|
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";
|
1019
|
+
status: "Rejected" | "Requested" | "Accepted";
|
924
1020
|
transactionId: string;
|
925
1021
|
eventId: string;
|
926
1022
|
declaration?: Record<string, string | number | boolean | {
|
@@ -938,6 +1034,10 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
938
1034
|
residentialArea?: string | null | undefined;
|
939
1035
|
street?: string | null | undefined;
|
940
1036
|
zipCode?: string | null | undefined;
|
1037
|
+
} | {
|
1038
|
+
firstname: string;
|
1039
|
+
surname: string;
|
1040
|
+
middlename?: string | null | undefined;
|
941
1041
|
} | {
|
942
1042
|
country: string;
|
943
1043
|
district: string;
|
@@ -960,7 +1060,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
960
1060
|
option: string;
|
961
1061
|
filename: string;
|
962
1062
|
originalFilename: string;
|
963
|
-
}[] | undefined> | undefined;
|
1063
|
+
}[] | [string, string] | null | undefined> | undefined;
|
964
1064
|
annotation?: Record<string, string | number | boolean | {
|
965
1065
|
type: string;
|
966
1066
|
filename: string;
|
@@ -976,6 +1076,10 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
976
1076
|
residentialArea?: string | null | undefined;
|
977
1077
|
street?: string | null | undefined;
|
978
1078
|
zipCode?: string | null | undefined;
|
1079
|
+
} | {
|
1080
|
+
firstname: string;
|
1081
|
+
surname: string;
|
1082
|
+
middlename?: string | null | undefined;
|
979
1083
|
} | {
|
980
1084
|
country: string;
|
981
1085
|
district: string;
|
@@ -998,7 +1102,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
998
1102
|
option: string;
|
999
1103
|
filename: string;
|
1000
1104
|
originalFilename: string;
|
1001
|
-
}[] | undefined> | undefined;
|
1105
|
+
}[] | [string, string] | null | undefined> | undefined;
|
1002
1106
|
originalActionId?: string | undefined;
|
1003
1107
|
keepAssignment?: boolean | undefined;
|
1004
1108
|
}>;
|