@opencrvs/toolkit 1.8.0-rc.f8aa0c5 → 1.8.0-rc.f8b1f33
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 +978 -5785
- package/dist/commons/conditionals/conditionals.d.ts +6 -14
- package/dist/commons/conditionals/validate.d.ts +6 -10
- package/dist/commons/events/ActionConfig.d.ts +1726 -120271
- package/dist/commons/events/ActionDocument.d.ts +564 -2585
- package/dist/commons/events/ActionInput.d.ts +425 -1705
- package/dist/commons/events/ActionType.d.ts +0 -4
- package/dist/commons/events/AdvancedSearchConfig.d.ts +22 -1233
- package/dist/commons/events/CompositeFieldValue.d.ts +0 -31
- package/dist/commons/events/Draft.d.ts +49 -168
- package/dist/commons/events/EventConfig.d.ts +1362 -57941
- package/dist/commons/events/EventDocument.d.ts +400 -1639
- package/dist/commons/events/EventIndex.d.ts +27 -2012
- package/dist/commons/events/EventMetadata.d.ts +45 -343
- package/dist/commons/events/FieldConfig.d.ts +1059 -5655
- package/dist/commons/events/FieldType.d.ts +3 -6
- package/dist/commons/events/FieldTypeMapping.d.ts +54 -103
- package/dist/commons/events/FieldValue.d.ts +8 -49
- package/dist/commons/events/FormConfig.d.ts +524 -50366
- package/dist/commons/events/PageConfig.d.ts +208 -12498
- package/dist/commons/events/SummaryConfig.d.ts +42 -93
- package/dist/commons/events/User.d.ts +2 -31
- package/dist/commons/events/WorkqueueConfig.d.ts +20 -7300
- package/dist/commons/events/defineConfig.d.ts +75 -9326
- package/dist/commons/events/index.d.ts +0 -8
- package/dist/commons/events/test.utils.d.ts +79 -171
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +72 -13814
- package/dist/conditionals/index.js +52 -95
- package/dist/events/index.js +1522 -4190
- 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 -3730
- 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 -54
- package/dist/commons/events/field.d.ts +0 -82
- package/dist/commons/events/scopes.d.ts +0 -44
- package/dist/commons/events/serializer.d.ts +0 -2
- package/dist/commons/events/workqueueDefaultColumns.d.ts +0 -3
@@ -117,35 +117,6 @@ export declare const UrbanAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
117
117
|
street?: string | null | undefined;
|
118
118
|
zipCode?: string | null | undefined;
|
119
119
|
}>;
|
120
|
-
export declare const NameFieldValue: z.ZodObject<{
|
121
|
-
firstname: z.ZodString;
|
122
|
-
surname: z.ZodString;
|
123
|
-
middlename: z.ZodOptional<z.ZodString>;
|
124
|
-
}, "strip", z.ZodTypeAny, {
|
125
|
-
firstname: string;
|
126
|
-
surname: string;
|
127
|
-
middlename?: string | undefined;
|
128
|
-
}, {
|
129
|
-
firstname: string;
|
130
|
-
surname: string;
|
131
|
-
middlename?: string | undefined;
|
132
|
-
}>;
|
133
|
-
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
-
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
135
|
-
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
136
|
-
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
|
-
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname?: string | null | undefined;
|
139
|
-
surname?: string | null | undefined;
|
140
|
-
middlename?: string | null | undefined;
|
141
|
-
}, {
|
142
|
-
firstname?: string | null | undefined;
|
143
|
-
surname?: string | null | undefined;
|
144
|
-
middlename?: string | null | undefined;
|
145
|
-
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
|
-
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
147
|
-
export type NameFieldUpdateValue = z.infer<typeof NameFieldUpdateValue>;
|
148
|
-
export type UrbanAddressUpdateValue = z.infer<typeof UrbanAddressUpdateValue>;
|
149
120
|
export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendShape<{
|
150
121
|
country: z.ZodString;
|
151
122
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -169,7 +140,6 @@ export declare const RuralAddressUpdateValue: z.ZodObject<z.objectUtil.extendSha
|
|
169
140
|
urbanOrRural: "RURAL";
|
170
141
|
village?: string | null | undefined;
|
171
142
|
}>;
|
172
|
-
export type RuralAddressUpdateValue = z.infer<typeof RuralAddressUpdateValue>;
|
173
143
|
export declare const GenericAddressValue: z.ZodObject<{
|
174
144
|
country: z.ZodString;
|
175
145
|
addressType: z.ZodLiteral<"INTERNATIONAL">;
|
@@ -319,7 +289,6 @@ export declare const GenericAddressUpdateValue: z.ZodObject<{
|
|
319
289
|
addressLine3?: string | null | undefined;
|
320
290
|
postcodeOrZip?: string | null | undefined;
|
321
291
|
}>;
|
322
|
-
export type GenericAddressUpdateValue = z.infer<typeof GenericAddressUpdateValue>;
|
323
292
|
export declare const AddressFieldUpdateValue: z.ZodUnion<[z.ZodDiscriminatedUnion<"urbanOrRural", [z.ZodObject<z.objectUtil.extendShape<{
|
324
293
|
country: z.ZodString;
|
325
294
|
addressType: z.ZodLiteral<"DOMESTIC">;
|
@@ -1,19 +1,14 @@
|
|
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
|
-
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<{
|
11
|
+
declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
17
12
|
filename: z.ZodString;
|
18
13
|
originalFilename: z.ZodString;
|
19
14
|
type: z.ZodString;
|
@@ -126,20 +121,8 @@ export declare const Draft: z.ZodObject<{
|
|
126
121
|
addressLine2?: string | null | undefined;
|
127
122
|
addressLine3?: string | null | undefined;
|
128
123
|
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<{
|
124
|
+
}>]>>;
|
125
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
143
126
|
filename: z.ZodString;
|
144
127
|
originalFilename: z.ZodString;
|
145
128
|
type: z.ZodString;
|
@@ -252,31 +235,17 @@ export declare const Draft: z.ZodObject<{
|
|
252
235
|
addressLine2?: string | null | undefined;
|
253
236
|
addressLine3?: string | null | undefined;
|
254
237
|
postcodeOrZip?: string | null | undefined;
|
255
|
-
}
|
256
|
-
|
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]>]>>>>;
|
238
|
+
}>]>>>;
|
239
|
+
createdAtLocation: z.ZodString;
|
268
240
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
269
|
-
originalActionId: z.
|
241
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
270
242
|
}, {
|
271
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"]>;
|
272
244
|
}>, "id">, "strip", z.ZodTypeAny, {
|
273
|
-
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";
|
274
246
|
status: "Rejected" | "Requested" | "Accepted";
|
275
|
-
transactionId: string;
|
276
|
-
createdByUserType: "system" | "user";
|
277
247
|
createdAt: string;
|
278
248
|
createdBy: string;
|
279
|
-
createdByRole: string;
|
280
249
|
declaration: Record<string, string | number | boolean | {
|
281
250
|
type: string;
|
282
251
|
filename: string;
|
@@ -292,10 +261,6 @@ export declare const Draft: z.ZodObject<{
|
|
292
261
|
residentialArea?: string | null | undefined;
|
293
262
|
street?: string | null | undefined;
|
294
263
|
zipCode?: string | null | undefined;
|
295
|
-
} | {
|
296
|
-
firstname?: string | null | undefined;
|
297
|
-
surname?: string | null | undefined;
|
298
|
-
middlename?: string | null | undefined;
|
299
264
|
} | {
|
300
265
|
country: string;
|
301
266
|
district: string;
|
@@ -318,9 +283,8 @@ export declare const Draft: z.ZodObject<{
|
|
318
283
|
option: string;
|
319
284
|
filename: string;
|
320
285
|
originalFilename: string;
|
321
|
-
}[] |
|
322
|
-
|
323
|
-
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
286
|
+
}[] | undefined>;
|
287
|
+
createdAtLocation: string;
|
324
288
|
annotation?: Record<string, string | number | boolean | {
|
325
289
|
type: string;
|
326
290
|
filename: string;
|
@@ -336,10 +300,6 @@ export declare const Draft: z.ZodObject<{
|
|
336
300
|
residentialArea?: string | null | undefined;
|
337
301
|
street?: string | null | undefined;
|
338
302
|
zipCode?: string | null | undefined;
|
339
|
-
} | {
|
340
|
-
firstname?: string | null | undefined;
|
341
|
-
surname?: string | null | undefined;
|
342
|
-
middlename?: string | null | undefined;
|
343
303
|
} | {
|
344
304
|
country: string;
|
345
305
|
district: string;
|
@@ -362,16 +322,13 @@ export declare const Draft: z.ZodObject<{
|
|
362
322
|
option: string;
|
363
323
|
filename: string;
|
364
324
|
originalFilename: string;
|
365
|
-
}[] |
|
366
|
-
originalActionId?:
|
325
|
+
}[] | undefined> | undefined;
|
326
|
+
originalActionId?: string | undefined;
|
367
327
|
}, {
|
368
|
-
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";
|
369
329
|
status: "Rejected" | "Requested" | "Accepted";
|
370
|
-
transactionId: string;
|
371
|
-
createdByUserType: "system" | "user";
|
372
330
|
createdAt: string;
|
373
331
|
createdBy: string;
|
374
|
-
createdByRole: string;
|
375
332
|
declaration: Record<string, string | number | boolean | {
|
376
333
|
type: string;
|
377
334
|
filename: string;
|
@@ -387,10 +344,6 @@ export declare const Draft: z.ZodObject<{
|
|
387
344
|
residentialArea?: string | null | undefined;
|
388
345
|
street?: string | null | undefined;
|
389
346
|
zipCode?: string | null | undefined;
|
390
|
-
} | {
|
391
|
-
firstname?: string | null | undefined;
|
392
|
-
surname?: string | null | undefined;
|
393
|
-
middlename?: string | null | undefined;
|
394
347
|
} | {
|
395
348
|
country: string;
|
396
349
|
district: string;
|
@@ -413,9 +366,8 @@ export declare const Draft: z.ZodObject<{
|
|
413
366
|
option: string;
|
414
367
|
filename: string;
|
415
368
|
originalFilename: string;
|
416
|
-
}[] |
|
417
|
-
|
418
|
-
createdAtLocation?: string | null | undefined;
|
369
|
+
}[] | undefined>;
|
370
|
+
createdAtLocation: string;
|
419
371
|
annotation?: Record<string, string | number | boolean | {
|
420
372
|
type: string;
|
421
373
|
filename: string;
|
@@ -431,10 +383,6 @@ export declare const Draft: z.ZodObject<{
|
|
431
383
|
residentialArea?: string | null | undefined;
|
432
384
|
street?: string | null | undefined;
|
433
385
|
zipCode?: string | null | undefined;
|
434
|
-
} | {
|
435
|
-
firstname?: string | null | undefined;
|
436
|
-
surname?: string | null | undefined;
|
437
|
-
middlename?: string | null | undefined;
|
438
386
|
} | {
|
439
387
|
country: string;
|
440
388
|
district: string;
|
@@ -457,22 +405,19 @@ export declare const Draft: z.ZodObject<{
|
|
457
405
|
option: string;
|
458
406
|
filename: string;
|
459
407
|
originalFilename: string;
|
460
|
-
}[] |
|
461
|
-
originalActionId?: string |
|
408
|
+
}[] | undefined> | undefined;
|
409
|
+
originalActionId?: string | undefined;
|
462
410
|
}>;
|
463
411
|
}, "strip", z.ZodTypeAny, {
|
464
|
-
id: string
|
465
|
-
transactionId: string;
|
412
|
+
id: string;
|
466
413
|
createdAt: string;
|
467
|
-
eventId: string
|
414
|
+
eventId: string;
|
415
|
+
transactionId: string;
|
468
416
|
action: {
|
469
|
-
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";
|
470
418
|
status: "Rejected" | "Requested" | "Accepted";
|
471
|
-
transactionId: string;
|
472
|
-
createdByUserType: "system" | "user";
|
473
419
|
createdAt: string;
|
474
420
|
createdBy: string;
|
475
|
-
createdByRole: string;
|
476
421
|
declaration: Record<string, string | number | boolean | {
|
477
422
|
type: string;
|
478
423
|
filename: string;
|
@@ -488,10 +433,6 @@ export declare const Draft: z.ZodObject<{
|
|
488
433
|
residentialArea?: string | null | undefined;
|
489
434
|
street?: string | null | undefined;
|
490
435
|
zipCode?: string | null | undefined;
|
491
|
-
} | {
|
492
|
-
firstname?: string | null | undefined;
|
493
|
-
surname?: string | null | undefined;
|
494
|
-
middlename?: string | null | undefined;
|
495
436
|
} | {
|
496
437
|
country: string;
|
497
438
|
district: string;
|
@@ -514,9 +455,8 @@ export declare const Draft: z.ZodObject<{
|
|
514
455
|
option: string;
|
515
456
|
filename: string;
|
516
457
|
originalFilename: string;
|
517
|
-
}[] |
|
518
|
-
|
519
|
-
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
458
|
+
}[] | undefined>;
|
459
|
+
createdAtLocation: string;
|
520
460
|
annotation?: Record<string, string | number | boolean | {
|
521
461
|
type: string;
|
522
462
|
filename: string;
|
@@ -532,10 +472,6 @@ export declare const Draft: z.ZodObject<{
|
|
532
472
|
residentialArea?: string | null | undefined;
|
533
473
|
street?: string | null | undefined;
|
534
474
|
zipCode?: string | null | undefined;
|
535
|
-
} | {
|
536
|
-
firstname?: string | null | undefined;
|
537
|
-
surname?: string | null | undefined;
|
538
|
-
middlename?: string | null | undefined;
|
539
475
|
} | {
|
540
476
|
country: string;
|
541
477
|
district: string;
|
@@ -558,22 +494,19 @@ export declare const Draft: z.ZodObject<{
|
|
558
494
|
option: string;
|
559
495
|
filename: string;
|
560
496
|
originalFilename: string;
|
561
|
-
}[] |
|
562
|
-
originalActionId?:
|
497
|
+
}[] | undefined> | undefined;
|
498
|
+
originalActionId?: string | undefined;
|
563
499
|
};
|
564
500
|
}, {
|
565
501
|
id: string;
|
566
|
-
transactionId: string;
|
567
502
|
createdAt: string;
|
568
503
|
eventId: string;
|
504
|
+
transactionId: string;
|
569
505
|
action: {
|
570
|
-
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";
|
571
507
|
status: "Rejected" | "Requested" | "Accepted";
|
572
|
-
transactionId: string;
|
573
|
-
createdByUserType: "system" | "user";
|
574
508
|
createdAt: string;
|
575
509
|
createdBy: string;
|
576
|
-
createdByRole: string;
|
577
510
|
declaration: Record<string, string | number | boolean | {
|
578
511
|
type: string;
|
579
512
|
filename: string;
|
@@ -589,10 +522,6 @@ export declare const Draft: z.ZodObject<{
|
|
589
522
|
residentialArea?: string | null | undefined;
|
590
523
|
street?: string | null | undefined;
|
591
524
|
zipCode?: string | null | undefined;
|
592
|
-
} | {
|
593
|
-
firstname?: string | null | undefined;
|
594
|
-
surname?: string | null | undefined;
|
595
|
-
middlename?: string | null | undefined;
|
596
525
|
} | {
|
597
526
|
country: string;
|
598
527
|
district: string;
|
@@ -615,9 +544,8 @@ export declare const Draft: z.ZodObject<{
|
|
615
544
|
option: string;
|
616
545
|
filename: string;
|
617
546
|
originalFilename: string;
|
618
|
-
}[] |
|
619
|
-
|
620
|
-
createdAtLocation?: string | null | undefined;
|
547
|
+
}[] | undefined>;
|
548
|
+
createdAtLocation: string;
|
621
549
|
annotation?: Record<string, string | number | boolean | {
|
622
550
|
type: string;
|
623
551
|
filename: string;
|
@@ -633,10 +561,6 @@ export declare const Draft: z.ZodObject<{
|
|
633
561
|
residentialArea?: string | null | undefined;
|
634
562
|
street?: string | null | undefined;
|
635
563
|
zipCode?: string | null | undefined;
|
636
|
-
} | {
|
637
|
-
firstname?: string | null | undefined;
|
638
|
-
surname?: string | null | undefined;
|
639
|
-
middlename?: string | null | undefined;
|
640
564
|
} | {
|
641
565
|
country: string;
|
642
566
|
district: string;
|
@@ -659,14 +583,14 @@ export declare const Draft: z.ZodObject<{
|
|
659
583
|
option: string;
|
660
584
|
filename: string;
|
661
585
|
originalFilename: string;
|
662
|
-
}[] |
|
663
|
-
originalActionId?: string |
|
586
|
+
}[] | undefined> | undefined;
|
587
|
+
originalActionId?: string | undefined;
|
664
588
|
};
|
665
589
|
}>;
|
666
590
|
export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
667
|
-
eventId: z.
|
591
|
+
eventId: z.ZodString;
|
668
592
|
transactionId: z.ZodString;
|
669
|
-
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.
|
593
|
+
declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
670
594
|
filename: z.ZodString;
|
671
595
|
originalFilename: z.ZodString;
|
672
596
|
type: z.ZodString;
|
@@ -779,20 +703,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
779
703
|
addressLine2?: string | null | undefined;
|
780
704
|
addressLine3?: string | null | undefined;
|
781
705
|
postcodeOrZip?: string | null | undefined;
|
782
|
-
}
|
783
|
-
|
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]>]>>>;
|
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<{
|
706
|
+
}>]>>>;
|
707
|
+
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
796
708
|
filename: z.ZodString;
|
797
709
|
originalFilename: z.ZodString;
|
798
710
|
type: z.ZodString;
|
@@ -905,28 +817,13 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
905
817
|
addressLine2?: string | null | undefined;
|
906
818
|
addressLine3?: string | null | undefined;
|
907
819
|
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">>;
|
820
|
+
}>]>>>;
|
821
|
+
originalActionId: z.ZodOptional<z.ZodString>;
|
922
822
|
keepAssignment: z.ZodOptional<z.ZodBoolean>;
|
923
823
|
}, {
|
924
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"]>;
|
925
|
-
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
926
825
|
}>, "strip", z.ZodTypeAny, {
|
927
|
-
type: "
|
928
|
-
status: "Rejected" | "Requested" | "Accepted";
|
929
|
-
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";
|
930
827
|
declaration: Record<string, string | number | boolean | {
|
931
828
|
type: string;
|
932
829
|
filename: string;
|
@@ -942,10 +839,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
942
839
|
residentialArea?: string | null | undefined;
|
943
840
|
street?: string | null | undefined;
|
944
841
|
zipCode?: string | null | undefined;
|
945
|
-
} | {
|
946
|
-
firstname?: string | null | undefined;
|
947
|
-
surname?: string | null | undefined;
|
948
|
-
middlename?: string | null | undefined;
|
949
842
|
} | {
|
950
843
|
country: string;
|
951
844
|
district: string;
|
@@ -968,8 +861,9 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
968
861
|
option: string;
|
969
862
|
filename: string;
|
970
863
|
originalFilename: string;
|
971
|
-
}[] |
|
972
|
-
eventId: string
|
864
|
+
}[] | undefined>;
|
865
|
+
eventId: string;
|
866
|
+
transactionId: string;
|
973
867
|
annotation?: Record<string, string | number | boolean | {
|
974
868
|
type: string;
|
975
869
|
filename: string;
|
@@ -985,10 +879,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
985
879
|
residentialArea?: string | null | undefined;
|
986
880
|
street?: string | null | undefined;
|
987
881
|
zipCode?: string | null | undefined;
|
988
|
-
} | {
|
989
|
-
firstname?: string | null | undefined;
|
990
|
-
surname?: string | null | undefined;
|
991
|
-
middlename?: string | null | undefined;
|
992
882
|
} | {
|
993
883
|
country: string;
|
994
884
|
district: string;
|
@@ -1011,14 +901,13 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1011
901
|
option: string;
|
1012
902
|
filename: string;
|
1013
903
|
originalFilename: string;
|
1014
|
-
}[] |
|
1015
|
-
originalActionId?:
|
904
|
+
}[] | undefined> | undefined;
|
905
|
+
originalActionId?: string | undefined;
|
1016
906
|
keepAssignment?: boolean | undefined;
|
1017
907
|
}, {
|
1018
|
-
type: "
|
1019
|
-
status: "Rejected" | "Requested" | "Accepted";
|
1020
|
-
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";
|
1021
909
|
eventId: string;
|
910
|
+
transactionId: string;
|
1022
911
|
declaration?: Record<string, string | number | boolean | {
|
1023
912
|
type: string;
|
1024
913
|
filename: string;
|
@@ -1034,10 +923,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1034
923
|
residentialArea?: string | null | undefined;
|
1035
924
|
street?: string | null | undefined;
|
1036
925
|
zipCode?: string | null | undefined;
|
1037
|
-
} | {
|
1038
|
-
firstname?: string | null | undefined;
|
1039
|
-
surname?: string | null | undefined;
|
1040
|
-
middlename?: string | null | undefined;
|
1041
926
|
} | {
|
1042
927
|
country: string;
|
1043
928
|
district: string;
|
@@ -1060,7 +945,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1060
945
|
option: string;
|
1061
946
|
filename: string;
|
1062
947
|
originalFilename: string;
|
1063
|
-
}[] |
|
948
|
+
}[] | undefined> | undefined;
|
1064
949
|
annotation?: Record<string, string | number | boolean | {
|
1065
950
|
type: string;
|
1066
951
|
filename: string;
|
@@ -1076,10 +961,6 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1076
961
|
residentialArea?: string | null | undefined;
|
1077
962
|
street?: string | null | undefined;
|
1078
963
|
zipCode?: string | null | undefined;
|
1079
|
-
} | {
|
1080
|
-
firstname?: string | null | undefined;
|
1081
|
-
surname?: string | null | undefined;
|
1082
|
-
middlename?: string | null | undefined;
|
1083
964
|
} | {
|
1084
965
|
country: string;
|
1085
966
|
district: string;
|
@@ -1102,7 +983,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1102
983
|
option: string;
|
1103
984
|
filename: string;
|
1104
985
|
originalFilename: string;
|
1105
|
-
}[] |
|
986
|
+
}[] | undefined> | undefined;
|
1106
987
|
originalActionId?: string | undefined;
|
1107
988
|
keepAssignment?: boolean | undefined;
|
1108
989
|
}>;
|