@opencrvs/toolkit 1.8.0-rc.f89fbcb → 1.8.0-rc.f8aa0c5
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 +589 -589
- package/dist/commons/events/ActionConfig.d.ts +256 -0
- package/dist/commons/events/ActionDocument.d.ts +700 -700
- package/dist/commons/events/ActionInput.d.ts +600 -600
- package/dist/commons/events/AdvancedSearchConfig.d.ts +18 -40
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/Draft.d.ts +54 -54
- package/dist/commons/events/EventConfig.d.ts +106 -18
- package/dist/commons/events/EventDocument.d.ts +436 -436
- package/dist/commons/events/EventIndex.d.ts +15 -10
- package/dist/commons/events/FieldConfig.d.ts +20 -0
- package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +108 -0
- package/dist/commons/events/PageConfig.d.ts +28 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +14 -14
- package/dist/commons/events/defineConfig.d.ts +22 -2
- package/dist/commons/events/field.d.ts +1 -13
- package/dist/commons/events/test.utils.d.ts +12 -12
- package/dist/commons/events/utils.d.ts +41 -11
- package/dist/events/index.js +48 -57
- package/dist/scopes/index.d.ts +92 -6
- package/dist/scopes/index.js +38 -9
- package/package.json +1 -1
@@ -128,16 +128,16 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
128
128
|
surname: string;
|
129
129
|
middlename?: string | undefined;
|
130
130
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
131
|
-
firstname: z.ZodString
|
132
|
-
surname: z.ZodString
|
131
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
132
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
133
133
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
134
134
|
}, "strip", z.ZodTypeAny, {
|
135
|
-
firstname
|
136
|
-
surname
|
135
|
+
firstname?: string | null | undefined;
|
136
|
+
surname?: string | null | undefined;
|
137
137
|
middlename?: string | null | undefined;
|
138
138
|
}, {
|
139
|
-
firstname
|
140
|
-
surname
|
139
|
+
firstname?: string | null | undefined;
|
140
|
+
surname?: string | null | undefined;
|
141
141
|
middlename?: string | null | undefined;
|
142
142
|
}>, z.ZodNull]>, z.ZodUndefined]>]>, z.objectOutputType<{
|
143
143
|
eventType: z.ZodOptional<z.ZodString>;
|
@@ -267,16 +267,16 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
267
267
|
surname: string;
|
268
268
|
middlename?: string | undefined;
|
269
269
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
270
|
-
firstname: z.ZodString
|
271
|
-
surname: z.ZodString
|
270
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
271
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
272
272
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
274
|
-
firstname
|
275
|
-
surname
|
274
|
+
firstname?: string | null | undefined;
|
275
|
+
surname?: string | null | undefined;
|
276
276
|
middlename?: string | null | undefined;
|
277
277
|
}, {
|
278
|
-
firstname
|
279
|
-
surname
|
278
|
+
firstname?: string | null | undefined;
|
279
|
+
surname?: string | null | undefined;
|
280
280
|
middlename?: string | null | undefined;
|
281
281
|
}>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">, z.objectInputType<{
|
282
282
|
eventType: z.ZodOptional<z.ZodString>;
|
@@ -406,16 +406,16 @@ export declare const SearchQueryParams: z.ZodObject<{
|
|
406
406
|
surname: string;
|
407
407
|
middlename?: string | undefined;
|
408
408
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
409
|
-
firstname: z.ZodString
|
410
|
-
surname: z.ZodString
|
409
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
410
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
411
411
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
412
412
|
}, "strip", z.ZodTypeAny, {
|
413
|
-
firstname
|
414
|
-
surname
|
413
|
+
firstname?: string | null | undefined;
|
414
|
+
surname?: string | null | undefined;
|
415
415
|
middlename?: string | null | undefined;
|
416
416
|
}, {
|
417
|
-
firstname
|
418
|
-
surname
|
417
|
+
firstname?: string | null | undefined;
|
418
|
+
surname?: string | null | undefined;
|
419
419
|
middlename?: string | null | undefined;
|
420
420
|
}>, z.ZodNull]>, z.ZodUndefined]>]>, "strip">>;
|
421
421
|
export type SearchQueryParams = z.infer<typeof SearchQueryParams>;
|
@@ -472,8 +472,6 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
472
472
|
}, {
|
473
473
|
fieldId: z.ZodString;
|
474
474
|
fieldType: z.ZodLiteral<"field">;
|
475
|
-
alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
476
|
-
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
477
475
|
}>, "strip", z.ZodTypeAny, {
|
478
476
|
config: {
|
479
477
|
type: "exact" | "fuzzy" | "range";
|
@@ -499,8 +497,6 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
499
497
|
message: TranslationConfig;
|
500
498
|
validator: import(".").JSONSchema;
|
501
499
|
}[] | undefined;
|
502
|
-
alternateFieldIds?: string[] | undefined;
|
503
|
-
excludeInSearchQuery?: boolean | undefined;
|
504
500
|
}, {
|
505
501
|
config: {
|
506
502
|
type: "exact" | "fuzzy" | "range";
|
@@ -538,8 +534,6 @@ export declare const FieldConfigSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
538
534
|
};
|
539
535
|
validator: import(".").JSONSchema;
|
540
536
|
}[] | undefined;
|
541
|
-
alternateFieldIds?: string[] | undefined;
|
542
|
-
excludeInSearchQuery?: boolean | undefined;
|
543
537
|
}>;
|
544
538
|
export declare const EventFieldId: z.ZodEnum<["trackingId", "status", "legalStatus.REGISTERED.createdAt", "legalStatus.REGISTERED.createdAtLocation", "updatedAt"]>;
|
545
539
|
export type EventFieldId = z.infer<typeof EventFieldId>;
|
@@ -712,8 +706,6 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
712
706
|
}, {
|
713
707
|
fieldId: z.ZodString;
|
714
708
|
fieldType: z.ZodLiteral<"field">;
|
715
|
-
alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
716
|
-
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
717
709
|
}>, "strip", z.ZodTypeAny, {
|
718
710
|
config: {
|
719
711
|
type: "exact" | "fuzzy" | "range";
|
@@ -739,8 +731,6 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
739
731
|
message: TranslationConfig;
|
740
732
|
validator: import(".").JSONSchema;
|
741
733
|
}[] | undefined;
|
742
|
-
alternateFieldIds?: string[] | undefined;
|
743
|
-
excludeInSearchQuery?: boolean | undefined;
|
744
734
|
}, {
|
745
735
|
config: {
|
746
736
|
type: "exact" | "fuzzy" | "range";
|
@@ -778,8 +768,6 @@ export declare const SearchField: z.ZodDiscriminatedUnion<"fieldType", [z.ZodObj
|
|
778
768
|
};
|
779
769
|
validator: import(".").JSONSchema;
|
780
770
|
}[] | undefined;
|
781
|
-
alternateFieldIds?: string[] | undefined;
|
782
|
-
excludeInSearchQuery?: boolean | undefined;
|
783
771
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
784
772
|
config: z.ZodObject<{
|
785
773
|
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
@@ -956,8 +944,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
956
944
|
}, {
|
957
945
|
fieldId: z.ZodString;
|
958
946
|
fieldType: z.ZodLiteral<"field">;
|
959
|
-
alternateFieldIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
960
|
-
excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
961
947
|
}>, "strip", z.ZodTypeAny, {
|
962
948
|
config: {
|
963
949
|
type: "exact" | "fuzzy" | "range";
|
@@ -983,8 +969,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
983
969
|
message: TranslationConfig;
|
984
970
|
validator: import(".").JSONSchema;
|
985
971
|
}[] | undefined;
|
986
|
-
alternateFieldIds?: string[] | undefined;
|
987
|
-
excludeInSearchQuery?: boolean | undefined;
|
988
972
|
}, {
|
989
973
|
config: {
|
990
974
|
type: "exact" | "fuzzy" | "range";
|
@@ -1022,8 +1006,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1022
1006
|
};
|
1023
1007
|
validator: import(".").JSONSchema;
|
1024
1008
|
}[] | undefined;
|
1025
|
-
alternateFieldIds?: string[] | undefined;
|
1026
|
-
excludeInSearchQuery?: boolean | undefined;
|
1027
1009
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1028
1010
|
config: z.ZodObject<{
|
1029
1011
|
type: z.ZodEnum<["fuzzy", "exact", "range"]>;
|
@@ -1167,8 +1149,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1167
1149
|
message: TranslationConfig;
|
1168
1150
|
validator: import(".").JSONSchema;
|
1169
1151
|
}[] | undefined;
|
1170
|
-
alternateFieldIds?: string[] | undefined;
|
1171
|
-
excludeInSearchQuery?: boolean | undefined;
|
1172
1152
|
} | {
|
1173
1153
|
config: {
|
1174
1154
|
type: "exact" | "fuzzy" | "range";
|
@@ -1238,8 +1218,6 @@ export declare const AdvancedSearchConfig: z.ZodObject<{
|
|
1238
1218
|
};
|
1239
1219
|
validator: import(".").JSONSchema;
|
1240
1220
|
}[] | undefined;
|
1241
|
-
alternateFieldIds?: string[] | undefined;
|
1242
|
-
excludeInSearchQuery?: boolean | undefined;
|
1243
1221
|
} | {
|
1244
1222
|
config: {
|
1245
1223
|
type: "exact" | "fuzzy" | "range";
|
@@ -131,16 +131,16 @@ export declare const NameFieldValue: z.ZodObject<{
|
|
131
131
|
middlename?: string | undefined;
|
132
132
|
}>;
|
133
133
|
export declare const NameFieldUpdateValue: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
134
|
-
firstname: z.ZodString
|
135
|
-
surname: z.ZodString
|
134
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
135
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
136
136
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
138
|
-
firstname
|
139
|
-
surname
|
138
|
+
firstname?: string | null | undefined;
|
139
|
+
surname?: string | null | undefined;
|
140
140
|
middlename?: string | null | undefined;
|
141
141
|
}, {
|
142
|
-
firstname
|
143
|
-
surname
|
142
|
+
firstname?: string | null | undefined;
|
143
|
+
surname?: string | null | undefined;
|
144
144
|
middlename?: string | null | undefined;
|
145
145
|
}>, z.ZodNull]>, z.ZodUndefined]>;
|
146
146
|
export type NameFieldValue = z.infer<typeof NameFieldValue>;
|
@@ -127,16 +127,16 @@ export declare const Draft: z.ZodObject<{
|
|
127
127
|
addressLine3?: string | null | undefined;
|
128
128
|
postcodeOrZip?: string | null | undefined;
|
129
129
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
130
|
-
firstname: z.ZodString
|
131
|
-
surname: z.ZodString
|
130
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
131
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
132
132
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
133
133
|
}, "strip", z.ZodTypeAny, {
|
134
|
-
firstname
|
135
|
-
surname
|
134
|
+
firstname?: string | null | undefined;
|
135
|
+
surname?: string | null | undefined;
|
136
136
|
middlename?: string | null | undefined;
|
137
137
|
}, {
|
138
|
-
firstname
|
139
|
-
surname
|
138
|
+
firstname?: string | null | undefined;
|
139
|
+
surname?: string | null | undefined;
|
140
140
|
middlename?: string | null | undefined;
|
141
141
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>;
|
142
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<{
|
@@ -253,16 +253,16 @@ export declare const Draft: z.ZodObject<{
|
|
253
253
|
addressLine3?: string | null | undefined;
|
254
254
|
postcodeOrZip?: string | null | undefined;
|
255
255
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
256
|
-
firstname: z.ZodString
|
257
|
-
surname: z.ZodString
|
256
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
257
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
258
258
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
260
|
-
firstname
|
261
|
-
surname
|
260
|
+
firstname?: string | null | undefined;
|
261
|
+
surname?: string | null | undefined;
|
262
262
|
middlename?: string | null | undefined;
|
263
263
|
}, {
|
264
|
-
firstname
|
265
|
-
surname
|
264
|
+
firstname?: string | null | undefined;
|
265
|
+
surname?: string | null | undefined;
|
266
266
|
middlename?: string | null | undefined;
|
267
267
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>>;
|
268
268
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
@@ -270,7 +270,7 @@ export declare const Draft: z.ZodObject<{
|
|
270
270
|
}, {
|
271
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"]>;
|
272
272
|
}>, "id">, "strip", z.ZodTypeAny, {
|
273
|
-
type: "
|
273
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
274
274
|
status: "Rejected" | "Requested" | "Accepted";
|
275
275
|
transactionId: string;
|
276
276
|
createdByUserType: "system" | "user";
|
@@ -293,8 +293,8 @@ export declare const Draft: z.ZodObject<{
|
|
293
293
|
street?: string | null | undefined;
|
294
294
|
zipCode?: string | null | undefined;
|
295
295
|
} | {
|
296
|
-
firstname
|
297
|
-
surname
|
296
|
+
firstname?: string | null | undefined;
|
297
|
+
surname?: string | null | undefined;
|
298
298
|
middlename?: string | null | undefined;
|
299
299
|
} | {
|
300
300
|
country: string;
|
@@ -337,8 +337,8 @@ export declare const Draft: z.ZodObject<{
|
|
337
337
|
street?: string | null | undefined;
|
338
338
|
zipCode?: string | null | undefined;
|
339
339
|
} | {
|
340
|
-
firstname
|
341
|
-
surname
|
340
|
+
firstname?: string | null | undefined;
|
341
|
+
surname?: string | null | undefined;
|
342
342
|
middlename?: string | null | undefined;
|
343
343
|
} | {
|
344
344
|
country: string;
|
@@ -365,7 +365,7 @@ export declare const Draft: z.ZodObject<{
|
|
365
365
|
}[] | [string, string] | null | undefined> | null | undefined;
|
366
366
|
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
367
367
|
}, {
|
368
|
-
type: "
|
368
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
369
369
|
status: "Rejected" | "Requested" | "Accepted";
|
370
370
|
transactionId: string;
|
371
371
|
createdByUserType: "system" | "user";
|
@@ -388,8 +388,8 @@ export declare const Draft: z.ZodObject<{
|
|
388
388
|
street?: string | null | undefined;
|
389
389
|
zipCode?: string | null | undefined;
|
390
390
|
} | {
|
391
|
-
firstname
|
392
|
-
surname
|
391
|
+
firstname?: string | null | undefined;
|
392
|
+
surname?: string | null | undefined;
|
393
393
|
middlename?: string | null | undefined;
|
394
394
|
} | {
|
395
395
|
country: string;
|
@@ -432,8 +432,8 @@ export declare const Draft: z.ZodObject<{
|
|
432
432
|
street?: string | null | undefined;
|
433
433
|
zipCode?: string | null | undefined;
|
434
434
|
} | {
|
435
|
-
firstname
|
436
|
-
surname
|
435
|
+
firstname?: string | null | undefined;
|
436
|
+
surname?: string | null | undefined;
|
437
437
|
middlename?: string | null | undefined;
|
438
438
|
} | {
|
439
439
|
country: string;
|
@@ -466,7 +466,7 @@ export declare const Draft: z.ZodObject<{
|
|
466
466
|
createdAt: string;
|
467
467
|
eventId: string & z.BRAND<"UUID">;
|
468
468
|
action: {
|
469
|
-
type: "
|
469
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
470
470
|
status: "Rejected" | "Requested" | "Accepted";
|
471
471
|
transactionId: string;
|
472
472
|
createdByUserType: "system" | "user";
|
@@ -489,8 +489,8 @@ export declare const Draft: z.ZodObject<{
|
|
489
489
|
street?: string | null | undefined;
|
490
490
|
zipCode?: string | null | undefined;
|
491
491
|
} | {
|
492
|
-
firstname
|
493
|
-
surname
|
492
|
+
firstname?: string | null | undefined;
|
493
|
+
surname?: string | null | undefined;
|
494
494
|
middlename?: string | null | undefined;
|
495
495
|
} | {
|
496
496
|
country: string;
|
@@ -533,8 +533,8 @@ export declare const Draft: z.ZodObject<{
|
|
533
533
|
street?: string | null | undefined;
|
534
534
|
zipCode?: string | null | undefined;
|
535
535
|
} | {
|
536
|
-
firstname
|
537
|
-
surname
|
536
|
+
firstname?: string | null | undefined;
|
537
|
+
surname?: string | null | undefined;
|
538
538
|
middlename?: string | null | undefined;
|
539
539
|
} | {
|
540
540
|
country: string;
|
@@ -567,7 +567,7 @@ export declare const Draft: z.ZodObject<{
|
|
567
567
|
createdAt: string;
|
568
568
|
eventId: string;
|
569
569
|
action: {
|
570
|
-
type: "
|
570
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
571
571
|
status: "Rejected" | "Requested" | "Accepted";
|
572
572
|
transactionId: string;
|
573
573
|
createdByUserType: "system" | "user";
|
@@ -590,8 +590,8 @@ export declare const Draft: z.ZodObject<{
|
|
590
590
|
street?: string | null | undefined;
|
591
591
|
zipCode?: string | null | undefined;
|
592
592
|
} | {
|
593
|
-
firstname
|
594
|
-
surname
|
593
|
+
firstname?: string | null | undefined;
|
594
|
+
surname?: string | null | undefined;
|
595
595
|
middlename?: string | null | undefined;
|
596
596
|
} | {
|
597
597
|
country: string;
|
@@ -634,8 +634,8 @@ export declare const Draft: z.ZodObject<{
|
|
634
634
|
street?: string | null | undefined;
|
635
635
|
zipCode?: string | null | undefined;
|
636
636
|
} | {
|
637
|
-
firstname
|
638
|
-
surname
|
637
|
+
firstname?: string | null | undefined;
|
638
|
+
surname?: string | null | undefined;
|
639
639
|
middlename?: string | null | undefined;
|
640
640
|
} | {
|
641
641
|
country: string;
|
@@ -780,16 +780,16 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
780
780
|
addressLine3?: string | null | undefined;
|
781
781
|
postcodeOrZip?: string | null | undefined;
|
782
782
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
783
|
-
firstname: z.ZodString
|
784
|
-
surname: z.ZodString
|
783
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
784
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
785
785
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
787
|
-
firstname
|
788
|
-
surname
|
787
|
+
firstname?: string | null | undefined;
|
788
|
+
surname?: string | null | undefined;
|
789
789
|
middlename?: string | null | undefined;
|
790
790
|
}, {
|
791
|
-
firstname
|
792
|
-
surname
|
791
|
+
firstname?: string | null | undefined;
|
792
|
+
surname?: string | null | undefined;
|
793
793
|
middlename?: string | null | undefined;
|
794
794
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
795
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<{
|
@@ -906,16 +906,16 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
906
906
|
addressLine3?: string | null | undefined;
|
907
907
|
postcodeOrZip?: string | null | undefined;
|
908
908
|
}>, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
909
|
-
firstname: z.ZodString
|
910
|
-
surname: z.ZodString
|
909
|
+
firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
910
|
+
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
911
911
|
middlename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
912
912
|
}, "strip", z.ZodTypeAny, {
|
913
|
-
firstname
|
914
|
-
surname
|
913
|
+
firstname?: string | null | undefined;
|
914
|
+
surname?: string | null | undefined;
|
915
915
|
middlename?: string | null | undefined;
|
916
916
|
}, {
|
917
|
-
firstname
|
918
|
-
surname
|
917
|
+
firstname?: string | null | undefined;
|
918
|
+
surname?: string | null | undefined;
|
919
919
|
middlename?: string | null | undefined;
|
920
920
|
}>, z.ZodNull]>, z.ZodUndefined]>]>>>;
|
921
921
|
originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
|
@@ -924,7 +924,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
924
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
925
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
926
926
|
}>, "strip", z.ZodTypeAny, {
|
927
|
-
type: "
|
927
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
928
928
|
status: "Rejected" | "Requested" | "Accepted";
|
929
929
|
transactionId: string;
|
930
930
|
declaration: Record<string, string | number | boolean | {
|
@@ -943,8 +943,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
943
943
|
street?: string | null | undefined;
|
944
944
|
zipCode?: string | null | undefined;
|
945
945
|
} | {
|
946
|
-
firstname
|
947
|
-
surname
|
946
|
+
firstname?: string | null | undefined;
|
947
|
+
surname?: string | null | undefined;
|
948
948
|
middlename?: string | null | undefined;
|
949
949
|
} | {
|
950
950
|
country: string;
|
@@ -986,8 +986,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
986
986
|
street?: string | null | undefined;
|
987
987
|
zipCode?: string | null | undefined;
|
988
988
|
} | {
|
989
|
-
firstname
|
990
|
-
surname
|
989
|
+
firstname?: string | null | undefined;
|
990
|
+
surname?: string | null | undefined;
|
991
991
|
middlename?: string | null | undefined;
|
992
992
|
} | {
|
993
993
|
country: string;
|
@@ -1015,7 +1015,7 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1015
1015
|
originalActionId?: (string & z.BRAND<"UUID">) | undefined;
|
1016
1016
|
keepAssignment?: boolean | undefined;
|
1017
1017
|
}, {
|
1018
|
-
type: "
|
1018
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
1019
1019
|
status: "Rejected" | "Requested" | "Accepted";
|
1020
1020
|
transactionId: string;
|
1021
1021
|
eventId: string;
|
@@ -1035,8 +1035,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1035
1035
|
street?: string | null | undefined;
|
1036
1036
|
zipCode?: string | null | undefined;
|
1037
1037
|
} | {
|
1038
|
-
firstname
|
1039
|
-
surname
|
1038
|
+
firstname?: string | null | undefined;
|
1039
|
+
surname?: string | null | undefined;
|
1040
1040
|
middlename?: string | null | undefined;
|
1041
1041
|
} | {
|
1042
1042
|
country: string;
|
@@ -1077,8 +1077,8 @@ export declare const DraftInput: z.ZodObject<z.objectUtil.extendShape<{
|
|
1077
1077
|
street?: string | null | undefined;
|
1078
1078
|
zipCode?: string | null | undefined;
|
1079
1079
|
} | {
|
1080
|
-
firstname
|
1081
|
-
surname
|
1080
|
+
firstname?: string | null | undefined;
|
1081
|
+
surname?: string | null | undefined;
|
1082
1082
|
middlename?: string | null | undefined;
|
1083
1083
|
} | {
|
1084
1084
|
country: string;
|