@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8e0ee5
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 +7549 -6145
- package/dist/commons/conditionals/conditionals.d.ts +0 -4
- package/dist/commons/conditionals/validate.d.ts +0 -6
- package/dist/commons/events/ActionConfig.d.ts +20914 -46894
- package/dist/commons/events/ActionDocument.d.ts +494 -1997
- package/dist/commons/events/ActionInput.d.ts +306 -1506
- package/dist/commons/events/ActionType.d.ts +0 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +3 -279
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -28
- package/dist/commons/events/Constants.d.ts +0 -1
- 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 +40 -141
- package/dist/commons/events/EventConfig.d.ts +14286 -29320
- package/dist/commons/events/EventDocument.d.ts +355 -1294
- package/dist/commons/events/EventIndex.d.ts +191 -849
- package/dist/commons/events/EventMetadata.d.ts +64 -73
- package/dist/commons/events/FieldConfig.d.ts +888 -1875
- package/dist/commons/events/FieldType.d.ts +1 -4
- package/dist/commons/events/FieldTypeMapping.d.ts +50 -89
- package/dist/commons/events/FieldValue.d.ts +5 -41
- package/dist/commons/events/FormConfig.d.ts +2510 -8840
- package/dist/commons/events/PageConfig.d.ts +1638 -3184
- package/dist/commons/events/SummaryConfig.d.ts +5 -0
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +11 -11
- package/dist/commons/events/WorkqueueConfig.d.ts +1778 -4553
- package/dist/commons/events/defineConfig.d.ts +1440 -4157
- package/dist/commons/events/field.d.ts +0 -9
- 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 +39 -148
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +19 -10122
- package/dist/conditionals/index.js +18 -38
- package/dist/events/index.js +1681 -2347
- package/dist/scopes/index.d.ts +7 -96
- package/dist/scopes/index.js +26 -105
- package/package.json +3 -3
@@ -1,2 +1,3 @@
|
|
1
|
-
|
1
|
+
import { z } from 'zod';
|
2
|
+
export declare const CreatedAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2
3
|
//# sourceMappingURL=CreatedAtLocation.d.ts.map
|
@@ -1,18 +1,17 @@
|
|
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.
|
8
|
+
id: z.ZodString;
|
9
9
|
transactionId: z.ZodString;
|
10
|
-
createdByUserType: z.ZodEnum<["user", "system"]>;
|
11
10
|
createdAt: z.ZodString;
|
12
11
|
createdBy: z.ZodString;
|
13
12
|
createdByRole: z.ZodString;
|
14
13
|
createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
15
|
-
createdAtLocation: z.ZodOptional<z.ZodNullable<z.
|
14
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
16
15
|
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<{
|
17
16
|
filename: z.ZodString;
|
18
17
|
originalFilename: z.ZodString;
|
@@ -126,20 +125,8 @@ export declare const Draft: z.ZodObject<{
|
|
126
125
|
addressLine2?: string | null | undefined;
|
127
126
|
addressLine3?: string | null | undefined;
|
128
127
|
postcodeOrZip?: string | null | undefined;
|
129
|
-
}
|
130
|
-
|
131
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
132
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
133
|
-
}, "strip", z.ZodTypeAny, {
|
134
|
-
firstname?: string | null | undefined;
|
135
|
-
surname?: string | null | undefined;
|
136
|
-
middlename?: string | null | undefined;
|
137
|
-
}, {
|
138
|
-
firstname?: string | null | undefined;
|
139
|
-
surname?: string | null | undefined;
|
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
|
+
}>]>>;
|
129
|
+
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<{
|
143
130
|
filename: z.ZodString;
|
144
131
|
originalFilename: z.ZodString;
|
145
132
|
type: z.ZodString;
|
@@ -252,28 +239,15 @@ export declare const Draft: z.ZodObject<{
|
|
252
239
|
addressLine2?: string | null | undefined;
|
253
240
|
addressLine3?: string | null | undefined;
|
254
241
|
postcodeOrZip?: string | null | undefined;
|
255
|
-
}
|
256
|
-
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
257
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
258
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
259
|
-
}, "strip", z.ZodTypeAny, {
|
260
|
-
firstname?: string | null | undefined;
|
261
|
-
surname?: string | null | undefined;
|
262
|
-
middlename?: string | null | undefined;
|
263
|
-
}, {
|
264
|
-
firstname?: string | null | undefined;
|
265
|
-
surname?: string | null | undefined;
|
266
|
-
middlename?: string | null | undefined;
|
267
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
242
|
+
}>]>>>;
|
268
243
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
269
|
-
originalActionId: z.
|
244
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
270
245
|
}, {
|
271
246
|
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"]>;
|
272
247
|
}>, "id">, "strip", z.ZodTypeAny, {
|
273
|
-
type: "
|
248
|
+
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";
|
274
249
|
status: "Rejected" | "Requested" | "Accepted";
|
275
250
|
transactionId: string;
|
276
|
-
createdByUserType: "system" | "user";
|
277
251
|
createdAt: string;
|
278
252
|
createdBy: string;
|
279
253
|
createdByRole: string;
|
@@ -292,10 +266,6 @@ export declare const Draft: z.ZodObject<{
|
|
292
266
|
residentialArea?: string | null | undefined;
|
293
267
|
street?: string | null | undefined;
|
294
268
|
zipCode?: string | null | undefined;
|
295
|
-
} | {
|
296
|
-
firstname?: string | null | undefined;
|
297
|
-
surname?: string | null | undefined;
|
298
|
-
middlename?: string | null | undefined;
|
299
269
|
} | {
|
300
270
|
country: string;
|
301
271
|
district: string;
|
@@ -318,9 +288,9 @@ export declare const Draft: z.ZodObject<{
|
|
318
288
|
option: string;
|
319
289
|
filename: string;
|
320
290
|
originalFilename: string;
|
321
|
-
}[] | [string, string] |
|
291
|
+
}[] | [string, string] | undefined>;
|
322
292
|
createdBySignature?: string | null | undefined;
|
323
|
-
createdAtLocation?:
|
293
|
+
createdAtLocation?: string | null | undefined;
|
324
294
|
annotation?: Record<string, string | number | boolean | {
|
325
295
|
type: string;
|
326
296
|
filename: string;
|
@@ -336,10 +306,6 @@ export declare const Draft: z.ZodObject<{
|
|
336
306
|
residentialArea?: string | null | undefined;
|
337
307
|
street?: string | null | undefined;
|
338
308
|
zipCode?: string | null | undefined;
|
339
|
-
} | {
|
340
|
-
firstname?: string | null | undefined;
|
341
|
-
surname?: string | null | undefined;
|
342
|
-
middlename?: string | null | undefined;
|
343
309
|
} | {
|
344
310
|
country: string;
|
345
311
|
district: string;
|
@@ -362,13 +328,12 @@ export declare const Draft: z.ZodObject<{
|
|
362
328
|
option: string;
|
363
329
|
filename: string;
|
364
330
|
originalFilename: string;
|
365
|
-
}[] | [string, string] |
|
366
|
-
originalActionId?:
|
331
|
+
}[] | [string, string] | undefined> | undefined;
|
332
|
+
originalActionId?: string | undefined;
|
367
333
|
}, {
|
368
|
-
type: "
|
334
|
+
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";
|
369
335
|
status: "Rejected" | "Requested" | "Accepted";
|
370
336
|
transactionId: string;
|
371
|
-
createdByUserType: "system" | "user";
|
372
337
|
createdAt: string;
|
373
338
|
createdBy: string;
|
374
339
|
createdByRole: string;
|
@@ -387,10 +352,6 @@ export declare const Draft: z.ZodObject<{
|
|
387
352
|
residentialArea?: string | null | undefined;
|
388
353
|
street?: string | null | undefined;
|
389
354
|
zipCode?: string | null | undefined;
|
390
|
-
} | {
|
391
|
-
firstname?: string | null | undefined;
|
392
|
-
surname?: string | null | undefined;
|
393
|
-
middlename?: string | null | undefined;
|
394
355
|
} | {
|
395
356
|
country: string;
|
396
357
|
district: string;
|
@@ -413,7 +374,7 @@ export declare const Draft: z.ZodObject<{
|
|
413
374
|
option: string;
|
414
375
|
filename: string;
|
415
376
|
originalFilename: string;
|
416
|
-
}[] | [string, string] |
|
377
|
+
}[] | [string, string] | undefined>;
|
417
378
|
createdBySignature?: string | null | undefined;
|
418
379
|
createdAtLocation?: string | null | undefined;
|
419
380
|
annotation?: Record<string, string | number | boolean | {
|
@@ -431,10 +392,6 @@ export declare const Draft: z.ZodObject<{
|
|
431
392
|
residentialArea?: string | null | undefined;
|
432
393
|
street?: string | null | undefined;
|
433
394
|
zipCode?: string | null | undefined;
|
434
|
-
} | {
|
435
|
-
firstname?: string | null | undefined;
|
436
|
-
surname?: string | null | undefined;
|
437
|
-
middlename?: string | null | undefined;
|
438
395
|
} | {
|
439
396
|
country: string;
|
440
397
|
district: string;
|
@@ -457,19 +414,18 @@ export declare const Draft: z.ZodObject<{
|
|
457
414
|
option: string;
|
458
415
|
filename: string;
|
459
416
|
originalFilename: string;
|
460
|
-
}[] | [string, string] |
|
461
|
-
originalActionId?: string |
|
417
|
+
}[] | [string, string] | undefined> | undefined;
|
418
|
+
originalActionId?: string | undefined;
|
462
419
|
}>;
|
463
420
|
}, "strip", z.ZodTypeAny, {
|
464
|
-
id: string
|
421
|
+
id: string;
|
465
422
|
transactionId: string;
|
466
423
|
createdAt: string;
|
467
|
-
eventId: string
|
424
|
+
eventId: string;
|
468
425
|
action: {
|
469
|
-
type: "
|
426
|
+
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";
|
470
427
|
status: "Rejected" | "Requested" | "Accepted";
|
471
428
|
transactionId: string;
|
472
|
-
createdByUserType: "system" | "user";
|
473
429
|
createdAt: string;
|
474
430
|
createdBy: string;
|
475
431
|
createdByRole: string;
|
@@ -488,10 +444,6 @@ export declare const Draft: z.ZodObject<{
|
|
488
444
|
residentialArea?: string | null | undefined;
|
489
445
|
street?: string | null | undefined;
|
490
446
|
zipCode?: string | null | undefined;
|
491
|
-
} | {
|
492
|
-
firstname?: string | null | undefined;
|
493
|
-
surname?: string | null | undefined;
|
494
|
-
middlename?: string | null | undefined;
|
495
447
|
} | {
|
496
448
|
country: string;
|
497
449
|
district: string;
|
@@ -514,9 +466,9 @@ export declare const Draft: z.ZodObject<{
|
|
514
466
|
option: string;
|
515
467
|
filename: string;
|
516
468
|
originalFilename: string;
|
517
|
-
}[] | [string, string] |
|
469
|
+
}[] | [string, string] | undefined>;
|
518
470
|
createdBySignature?: string | null | undefined;
|
519
|
-
createdAtLocation?:
|
471
|
+
createdAtLocation?: string | null | undefined;
|
520
472
|
annotation?: Record<string, string | number | boolean | {
|
521
473
|
type: string;
|
522
474
|
filename: string;
|
@@ -532,10 +484,6 @@ export declare const Draft: z.ZodObject<{
|
|
532
484
|
residentialArea?: string | null | undefined;
|
533
485
|
street?: string | null | undefined;
|
534
486
|
zipCode?: string | null | undefined;
|
535
|
-
} | {
|
536
|
-
firstname?: string | null | undefined;
|
537
|
-
surname?: string | null | undefined;
|
538
|
-
middlename?: string | null | undefined;
|
539
487
|
} | {
|
540
488
|
country: string;
|
541
489
|
district: string;
|
@@ -558,8 +506,8 @@ export declare const Draft: z.ZodObject<{
|
|
558
506
|
option: string;
|
559
507
|
filename: string;
|
560
508
|
originalFilename: string;
|
561
|
-
}[] | [string, string] |
|
562
|
-
originalActionId?:
|
509
|
+
}[] | [string, string] | undefined> | undefined;
|
510
|
+
originalActionId?: string | undefined;
|
563
511
|
};
|
564
512
|
}, {
|
565
513
|
id: string;
|
@@ -567,10 +515,9 @@ export declare const Draft: z.ZodObject<{
|
|
567
515
|
createdAt: string;
|
568
516
|
eventId: string;
|
569
517
|
action: {
|
570
|
-
type: "
|
518
|
+
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";
|
571
519
|
status: "Rejected" | "Requested" | "Accepted";
|
572
520
|
transactionId: string;
|
573
|
-
createdByUserType: "system" | "user";
|
574
521
|
createdAt: string;
|
575
522
|
createdBy: string;
|
576
523
|
createdByRole: string;
|
@@ -589,10 +536,6 @@ export declare const Draft: z.ZodObject<{
|
|
589
536
|
residentialArea?: string | null | undefined;
|
590
537
|
street?: string | null | undefined;
|
591
538
|
zipCode?: string | null | undefined;
|
592
|
-
} | {
|
593
|
-
firstname?: string | null | undefined;
|
594
|
-
surname?: string | null | undefined;
|
595
|
-
middlename?: string | null | undefined;
|
596
539
|
} | {
|
597
540
|
country: string;
|
598
541
|
district: string;
|
@@ -615,7 +558,7 @@ export declare const Draft: z.ZodObject<{
|
|
615
558
|
option: string;
|
616
559
|
filename: string;
|
617
560
|
originalFilename: string;
|
618
|
-
}[] | [string, string] |
|
561
|
+
}[] | [string, string] | undefined>;
|
619
562
|
createdBySignature?: string | null | undefined;
|
620
563
|
createdAtLocation?: string | null | undefined;
|
621
564
|
annotation?: Record<string, string | number | boolean | {
|
@@ -633,10 +576,6 @@ export declare const Draft: z.ZodObject<{
|
|
633
576
|
residentialArea?: string | null | undefined;
|
634
577
|
street?: string | null | undefined;
|
635
578
|
zipCode?: string | null | undefined;
|
636
|
-
} | {
|
637
|
-
firstname?: string | null | undefined;
|
638
|
-
surname?: string | null | undefined;
|
639
|
-
middlename?: string | null | undefined;
|
640
579
|
} | {
|
641
580
|
country: string;
|
642
581
|
district: string;
|
@@ -659,12 +598,12 @@ export declare const Draft: z.ZodObject<{
|
|
659
598
|
option: string;
|
660
599
|
filename: string;
|
661
600
|
originalFilename: string;
|
662
|
-
}[] | [string, string] |
|
663
|
-
originalActionId?: string |
|
601
|
+
}[] | [string, string] | undefined> | undefined;
|
602
|
+
originalActionId?: string | undefined;
|
664
603
|
};
|
665
604
|
}>;
|
666
605
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
667
|
-
eventId: z.
|
606
|
+
eventId: z.ZodString;
|
668
607
|
transactionId: z.ZodString;
|
669
608
|
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<{
|
670
609
|
filename: z.ZodString;
|
@@ -779,19 +718,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
779
718
|
addressLine2?: string | null | undefined;
|
780
719
|
addressLine3?: string | null | undefined;
|
781
720
|
postcodeOrZip?: string | null | undefined;
|
782
|
-
}
|
783
|
-
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
784
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
785
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
786
|
-
}, "strip", z.ZodTypeAny, {
|
787
|
-
firstname?: string | null | undefined;
|
788
|
-
surname?: string | null | undefined;
|
789
|
-
middlename?: string | null | undefined;
|
790
|
-
}, {
|
791
|
-
firstname?: string | null | undefined;
|
792
|
-
surname?: string | null | undefined;
|
793
|
-
middlename?: string | null | undefined;
|
794
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
721
|
+
}>]>>>;
|
795
722
|
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<{
|
796
723
|
filename: z.ZodString;
|
797
724
|
originalFilename: z.ZodString;
|
@@ -905,26 +832,14 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
905
832
|
addressLine2?: string | null | undefined;
|
906
833
|
addressLine3?: string | null | undefined;
|
907
834
|
postcodeOrZip?: string | null | undefined;
|
908
|
-
}
|
909
|
-
|
910
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
911
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
912
|
-
}, "strip", z.ZodTypeAny, {
|
913
|
-
firstname?: string | null | undefined;
|
914
|
-
surname?: string | null | undefined;
|
915
|
-
middlename?: string | null | undefined;
|
916
|
-
}, {
|
917
|
-
firstname?: string | null | undefined;
|
918
|
-
surname?: string | null | undefined;
|
919
|
-
middlename?: string | null | undefined;
|
920
|
-
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
921
|
-
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
835
|
+
}>]>>>;
|
836
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
922
837
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
923
838
|
}, {
|
924
839
|
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
840
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
926
841
|
}>, "strip", z.ZodTypeAny, {
|
927
|
-
type: "
|
842
|
+
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
843
|
status: "Rejected" | "Requested" | "Accepted";
|
929
844
|
transactionId: string;
|
930
845
|
declaration: Record<string, string | number | boolean | {
|
@@ -942,10 +857,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
942
857
|
residentialArea?: string | null | undefined;
|
943
858
|
street?: string | null | undefined;
|
944
859
|
zipCode?: string | null | undefined;
|
945
|
-
} | {
|
946
|
-
firstname?: string | null | undefined;
|
947
|
-
surname?: string | null | undefined;
|
948
|
-
middlename?: string | null | undefined;
|
949
860
|
} | {
|
950
861
|
country: string;
|
951
862
|
district: string;
|
@@ -968,8 +879,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
968
879
|
option: string;
|
969
880
|
filename: string;
|
970
881
|
originalFilename: string;
|
971
|
-
}[] | [string, string] |
|
972
|
-
eventId: string
|
882
|
+
}[] | [string, string] | undefined>;
|
883
|
+
eventId: string;
|
973
884
|
annotation?: Record<string, string | number | boolean | {
|
974
885
|
type: string;
|
975
886
|
filename: string;
|
@@ -985,10 +896,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
985
896
|
residentialArea?: string | null | undefined;
|
986
897
|
street?: string | null | undefined;
|
987
898
|
zipCode?: string | null | undefined;
|
988
|
-
} | {
|
989
|
-
firstname?: string | null | undefined;
|
990
|
-
surname?: string | null | undefined;
|
991
|
-
middlename?: string | null | undefined;
|
992
899
|
} | {
|
993
900
|
country: string;
|
994
901
|
district: string;
|
@@ -1011,11 +918,11 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1011
918
|
option: string;
|
1012
919
|
filename: string;
|
1013
920
|
originalFilename: string;
|
1014
|
-
}[] | [string, string] |
|
1015
|
-
originalActionId?:
|
921
|
+
}[] | [string, string] | undefined> | undefined;
|
922
|
+
originalActionId?: string | undefined;
|
1016
923
|
keepAssignment?: boolean | undefined;
|
1017
924
|
}, {
|
1018
|
-
type: "
|
925
|
+
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
926
|
status: "Rejected" | "Requested" | "Accepted";
|
1020
927
|
transactionId: string;
|
1021
928
|
eventId: string;
|
@@ -1034,10 +941,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1034
941
|
residentialArea?: string | null | undefined;
|
1035
942
|
street?: string | null | undefined;
|
1036
943
|
zipCode?: string | null | undefined;
|
1037
|
-
} | {
|
1038
|
-
firstname?: string | null | undefined;
|
1039
|
-
surname?: string | null | undefined;
|
1040
|
-
middlename?: string | null | undefined;
|
1041
944
|
} | {
|
1042
945
|
country: string;
|
1043
946
|
district: string;
|
@@ -1060,7 +963,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1060
963
|
option: string;
|
1061
964
|
filename: string;
|
1062
965
|
originalFilename: string;
|
1063
|
-
}[] | [string, string] |
|
966
|
+
}[] | [string, string] | undefined> | undefined;
|
1064
967
|
annotation?: Record<string, string | number | boolean | {
|
1065
968
|
type: string;
|
1066
969
|
filename: string;
|
@@ -1076,10 +979,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1076
979
|
residentialArea?: string | null | undefined;
|
1077
980
|
street?: string | null | undefined;
|
1078
981
|
zipCode?: string | null | undefined;
|
1079
|
-
} | {
|
1080
|
-
firstname?: string | null | undefined;
|
1081
|
-
surname?: string | null | undefined;
|
1082
|
-
middlename?: string | null | undefined;
|
1083
982
|
} | {
|
1084
983
|
country: string;
|
1085
984
|
district: string;
|
@@ -1102,7 +1001,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1102
1001
|
option: string;
|
1103
1002
|
filename: string;
|
1104
1003
|
originalFilename: string;
|
1105
|
-
}[] | [string, string] |
|
1004
|
+
}[] | [string, string] | undefined> | undefined;
|
1106
1005
|
originalActionId?: string | undefined;
|
1107
1006
|
keepAssignment?: boolean | undefined;
|
1108
1007
|
}>;
|