@opencrvs/toolkit 1.8.0-rc.fb2e700 → 1.8.0-rc.fbb40d1
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 +11542 -4327
- package/dist/commons/conditionals/conditionals.d.ts +11 -7
- package/dist/commons/conditionals/validate.d.ts +4 -6
- package/dist/commons/events/ActionConfig.d.ts +104357 -1720
- package/dist/commons/events/ActionDocument.d.ts +865 -452
- package/dist/commons/events/ActionInput.d.ts +443 -363
- package/dist/commons/events/AdvancedSearchConfig.d.ts +957 -22
- package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
- package/dist/commons/events/Constants.d.ts +2 -0
- package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
- package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
- package/dist/commons/events/Draft.d.ts +52 -39
- package/dist/commons/events/EventConfig.d.ts +50126 -1345
- package/dist/commons/events/EventDocument.d.ts +550 -330
- package/dist/commons/events/EventIndex.d.ts +1327 -18
- package/dist/commons/events/EventMetadata.d.ts +269 -16
- package/dist/commons/events/FieldConfig.d.ts +4280 -754
- package/dist/commons/events/FieldType.d.ts +3 -3
- package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
- package/dist/commons/events/FieldValue.d.ts +7 -4
- package/dist/commons/events/FormConfig.d.ts +43591 -439
- package/dist/commons/events/PageConfig.d.ts +10860 -204
- package/dist/commons/events/SummaryConfig.d.ts +95 -39
- package/dist/commons/events/User.d.ts +31 -2
- package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
- package/dist/commons/events/WorkqueueConfig.d.ts +4525 -20
- package/dist/commons/events/defineConfig.d.ts +7940 -28
- package/dist/commons/events/event.d.ts +54 -0
- package/dist/commons/events/field.d.ts +82 -0
- package/dist/commons/events/index.d.ts +7 -0
- package/dist/commons/events/scopes.d.ts +45 -0
- package/dist/commons/events/serializer.d.ts +2 -0
- package/dist/commons/events/test.utils.d.ts +22 -51
- package/dist/commons/events/transactions.d.ts +1 -1
- package/dist/commons/events/utils.d.ts +3670 -71
- package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
- package/dist/conditionals/index.js +55 -35
- package/dist/events/index.js +3662 -1691
- package/dist/scopes/index.d.ts +94 -6
- package/dist/scopes/index.js +42 -21
- package/package.json +3 -2
@@ -1,14 +1,17 @@
|
|
1
1
|
import { z } from 'zod';
|
2
2
|
export declare const EventDocument: z.ZodObject<{
|
3
|
-
id: z.ZodString
|
3
|
+
id: z.ZodBranded<z.ZodString, "UUID">;
|
4
4
|
type: z.ZodString;
|
5
5
|
createdAt: z.ZodString;
|
6
6
|
updatedAt: z.ZodString;
|
7
7
|
actions: z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
8
8
|
id: z.ZodString;
|
9
|
+
transactionId: z.ZodString;
|
9
10
|
createdAt: z.ZodString;
|
10
11
|
createdBy: z.ZodString;
|
11
|
-
|
12
|
+
createdByRole: z.ZodString;
|
13
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
14
|
+
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<{
|
12
15
|
filename: z.ZodString;
|
13
16
|
originalFilename: z.ZodString;
|
14
17
|
type: z.ZodString;
|
@@ -122,7 +125,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
122
125
|
addressLine3?: string | null | undefined;
|
123
126
|
postcodeOrZip?: string | null | undefined;
|
124
127
|
}>]>>;
|
125
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
128
|
+
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<{
|
126
129
|
filename: z.ZodString;
|
127
130
|
originalFilename: z.ZodString;
|
128
131
|
type: z.ZodString;
|
@@ -235,18 +238,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
235
238
|
addressLine2?: string | null | undefined;
|
236
239
|
addressLine3?: string | null | undefined;
|
237
240
|
postcodeOrZip?: string | null | undefined;
|
238
|
-
}>]
|
239
|
-
createdAtLocation: z.ZodString;
|
241
|
+
}>]>>>>;
|
240
242
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
241
|
-
originalActionId: z.ZodOptional<z.ZodString
|
243
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
242
244
|
}, {
|
243
245
|
type: z.ZodLiteral<"CREATE">;
|
244
246
|
}>, "strip", z.ZodTypeAny, {
|
245
247
|
type: "CREATE";
|
246
248
|
id: string;
|
247
249
|
status: "Rejected" | "Requested" | "Accepted";
|
250
|
+
transactionId: string;
|
248
251
|
createdAt: string;
|
249
252
|
createdBy: string;
|
253
|
+
createdByRole: string;
|
250
254
|
declaration: Record<string, string | number | boolean | {
|
251
255
|
type: string;
|
252
256
|
filename: string;
|
@@ -284,8 +288,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
284
288
|
option: string;
|
285
289
|
filename: string;
|
286
290
|
originalFilename: string;
|
287
|
-
}[] | undefined>;
|
288
|
-
createdAtLocation
|
291
|
+
}[] | [string, string] | undefined>;
|
292
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
289
293
|
annotation?: Record<string, string | number | boolean | {
|
290
294
|
type: string;
|
291
295
|
filename: string;
|
@@ -323,14 +327,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
323
327
|
option: string;
|
324
328
|
filename: string;
|
325
329
|
originalFilename: string;
|
326
|
-
}[] | undefined> | undefined;
|
327
|
-
originalActionId?: string | undefined;
|
330
|
+
}[] | [string, string] | undefined> | null | undefined;
|
331
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
328
332
|
}, {
|
329
333
|
type: "CREATE";
|
330
334
|
id: string;
|
331
335
|
status: "Rejected" | "Requested" | "Accepted";
|
336
|
+
transactionId: string;
|
332
337
|
createdAt: string;
|
333
338
|
createdBy: string;
|
339
|
+
createdByRole: string;
|
334
340
|
declaration: Record<string, string | number | boolean | {
|
335
341
|
type: string;
|
336
342
|
filename: string;
|
@@ -368,8 +374,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
368
374
|
option: string;
|
369
375
|
filename: string;
|
370
376
|
originalFilename: string;
|
371
|
-
}[] | undefined>;
|
372
|
-
createdAtLocation
|
377
|
+
}[] | [string, string] | undefined>;
|
378
|
+
createdAtLocation?: string | null | undefined;
|
373
379
|
annotation?: Record<string, string | number | boolean | {
|
374
380
|
type: string;
|
375
381
|
filename: string;
|
@@ -407,13 +413,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
407
413
|
option: string;
|
408
414
|
filename: string;
|
409
415
|
originalFilename: string;
|
410
|
-
}[] | undefined> | undefined;
|
411
|
-
originalActionId?: string | undefined;
|
416
|
+
}[] | [string, string] | undefined> | null | undefined;
|
417
|
+
originalActionId?: string | null | undefined;
|
412
418
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
413
419
|
id: z.ZodString;
|
420
|
+
transactionId: z.ZodString;
|
414
421
|
createdAt: z.ZodString;
|
415
422
|
createdBy: z.ZodString;
|
416
|
-
|
423
|
+
createdByRole: z.ZodString;
|
424
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
425
|
+
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<{
|
417
426
|
filename: z.ZodString;
|
418
427
|
originalFilename: z.ZodString;
|
419
428
|
type: z.ZodString;
|
@@ -527,7 +536,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
527
536
|
addressLine3?: string | null | undefined;
|
528
537
|
postcodeOrZip?: string | null | undefined;
|
529
538
|
}>]>>;
|
530
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
539
|
+
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<{
|
531
540
|
filename: z.ZodString;
|
532
541
|
originalFilename: z.ZodString;
|
533
542
|
type: z.ZodString;
|
@@ -640,18 +649,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
640
649
|
addressLine2?: string | null | undefined;
|
641
650
|
addressLine3?: string | null | undefined;
|
642
651
|
postcodeOrZip?: string | null | undefined;
|
643
|
-
}>]
|
644
|
-
createdAtLocation: z.ZodString;
|
652
|
+
}>]>>>>;
|
645
653
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
646
|
-
originalActionId: z.ZodOptional<z.ZodString
|
654
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
647
655
|
}, {
|
648
656
|
type: z.ZodLiteral<"VALIDATE">;
|
649
657
|
}>, "strip", z.ZodTypeAny, {
|
650
658
|
type: "VALIDATE";
|
651
659
|
id: string;
|
652
660
|
status: "Rejected" | "Requested" | "Accepted";
|
661
|
+
transactionId: string;
|
653
662
|
createdAt: string;
|
654
663
|
createdBy: string;
|
664
|
+
createdByRole: string;
|
655
665
|
declaration: Record<string, string | number | boolean | {
|
656
666
|
type: string;
|
657
667
|
filename: string;
|
@@ -689,8 +699,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
689
699
|
option: string;
|
690
700
|
filename: string;
|
691
701
|
originalFilename: string;
|
692
|
-
}[] | undefined>;
|
693
|
-
createdAtLocation
|
702
|
+
}[] | [string, string] | undefined>;
|
703
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
694
704
|
annotation?: Record<string, string | number | boolean | {
|
695
705
|
type: string;
|
696
706
|
filename: string;
|
@@ -728,14 +738,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
728
738
|
option: string;
|
729
739
|
filename: string;
|
730
740
|
originalFilename: string;
|
731
|
-
}[] | undefined> | undefined;
|
732
|
-
originalActionId?: string | undefined;
|
741
|
+
}[] | [string, string] | undefined> | null | undefined;
|
742
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
733
743
|
}, {
|
734
744
|
type: "VALIDATE";
|
735
745
|
id: string;
|
736
746
|
status: "Rejected" | "Requested" | "Accepted";
|
747
|
+
transactionId: string;
|
737
748
|
createdAt: string;
|
738
749
|
createdBy: string;
|
750
|
+
createdByRole: string;
|
739
751
|
declaration: Record<string, string | number | boolean | {
|
740
752
|
type: string;
|
741
753
|
filename: string;
|
@@ -773,8 +785,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
773
785
|
option: string;
|
774
786
|
filename: string;
|
775
787
|
originalFilename: string;
|
776
|
-
}[] | undefined>;
|
777
|
-
createdAtLocation
|
788
|
+
}[] | [string, string] | undefined>;
|
789
|
+
createdAtLocation?: string | null | undefined;
|
778
790
|
annotation?: Record<string, string | number | boolean | {
|
779
791
|
type: string;
|
780
792
|
filename: string;
|
@@ -812,13 +824,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
812
824
|
option: string;
|
813
825
|
filename: string;
|
814
826
|
originalFilename: string;
|
815
|
-
}[] | undefined> | undefined;
|
816
|
-
originalActionId?: string | undefined;
|
827
|
+
}[] | [string, string] | undefined> | null | undefined;
|
828
|
+
originalActionId?: string | null | undefined;
|
817
829
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
818
830
|
id: z.ZodString;
|
831
|
+
transactionId: z.ZodString;
|
819
832
|
createdAt: z.ZodString;
|
820
833
|
createdBy: z.ZodString;
|
821
|
-
|
834
|
+
createdByRole: z.ZodString;
|
835
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
836
|
+
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<{
|
822
837
|
filename: z.ZodString;
|
823
838
|
originalFilename: z.ZodString;
|
824
839
|
type: z.ZodString;
|
@@ -932,7 +947,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
932
947
|
addressLine3?: string | null | undefined;
|
933
948
|
postcodeOrZip?: string | null | undefined;
|
934
949
|
}>]>>;
|
935
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
950
|
+
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<{
|
936
951
|
filename: z.ZodString;
|
937
952
|
originalFilename: z.ZodString;
|
938
953
|
type: z.ZodString;
|
@@ -1045,18 +1060,33 @@ export declare const EventDocument: z.ZodObject<{
|
|
1045
1060
|
addressLine2?: string | null | undefined;
|
1046
1061
|
addressLine3?: string | null | undefined;
|
1047
1062
|
postcodeOrZip?: string | null | undefined;
|
1048
|
-
}>]
|
1049
|
-
createdAtLocation: z.ZodString;
|
1063
|
+
}>]>>>>;
|
1050
1064
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1051
|
-
originalActionId: z.ZodOptional<z.ZodString
|
1065
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
1052
1066
|
}, {
|
1053
1067
|
type: z.ZodLiteral<"REJECT">;
|
1068
|
+
reason: z.ZodObject<{
|
1069
|
+
message: z.ZodString;
|
1070
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
1071
|
+
}, "strip", z.ZodTypeAny, {
|
1072
|
+
message: string;
|
1073
|
+
isDuplicate?: boolean | undefined;
|
1074
|
+
}, {
|
1075
|
+
message: string;
|
1076
|
+
isDuplicate?: boolean | undefined;
|
1077
|
+
}>;
|
1054
1078
|
}>, "strip", z.ZodTypeAny, {
|
1055
1079
|
type: "REJECT";
|
1056
1080
|
id: string;
|
1057
1081
|
status: "Rejected" | "Requested" | "Accepted";
|
1082
|
+
reason: {
|
1083
|
+
message: string;
|
1084
|
+
isDuplicate?: boolean | undefined;
|
1085
|
+
};
|
1086
|
+
transactionId: string;
|
1058
1087
|
createdAt: string;
|
1059
1088
|
createdBy: string;
|
1089
|
+
createdByRole: string;
|
1060
1090
|
declaration: Record<string, string | number | boolean | {
|
1061
1091
|
type: string;
|
1062
1092
|
filename: string;
|
@@ -1094,8 +1124,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1094
1124
|
option: string;
|
1095
1125
|
filename: string;
|
1096
1126
|
originalFilename: string;
|
1097
|
-
}[] | undefined>;
|
1098
|
-
createdAtLocation
|
1127
|
+
}[] | [string, string] | undefined>;
|
1128
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
1099
1129
|
annotation?: Record<string, string | number | boolean | {
|
1100
1130
|
type: string;
|
1101
1131
|
filename: string;
|
@@ -1133,14 +1163,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
1133
1163
|
option: string;
|
1134
1164
|
filename: string;
|
1135
1165
|
originalFilename: string;
|
1136
|
-
}[] | undefined> | undefined;
|
1137
|
-
originalActionId?: string | undefined;
|
1166
|
+
}[] | [string, string] | undefined> | null | undefined;
|
1167
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
1138
1168
|
}, {
|
1139
1169
|
type: "REJECT";
|
1140
1170
|
id: string;
|
1141
1171
|
status: "Rejected" | "Requested" | "Accepted";
|
1172
|
+
reason: {
|
1173
|
+
message: string;
|
1174
|
+
isDuplicate?: boolean | undefined;
|
1175
|
+
};
|
1176
|
+
transactionId: string;
|
1142
1177
|
createdAt: string;
|
1143
1178
|
createdBy: string;
|
1179
|
+
createdByRole: string;
|
1144
1180
|
declaration: Record<string, string | number | boolean | {
|
1145
1181
|
type: string;
|
1146
1182
|
filename: string;
|
@@ -1178,8 +1214,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1178
1214
|
option: string;
|
1179
1215
|
filename: string;
|
1180
1216
|
originalFilename: string;
|
1181
|
-
}[] | undefined>;
|
1182
|
-
createdAtLocation
|
1217
|
+
}[] | [string, string] | undefined>;
|
1218
|
+
createdAtLocation?: string | null | undefined;
|
1183
1219
|
annotation?: Record<string, string | number | boolean | {
|
1184
1220
|
type: string;
|
1185
1221
|
filename: string;
|
@@ -1217,13 +1253,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
1217
1253
|
option: string;
|
1218
1254
|
filename: string;
|
1219
1255
|
originalFilename: string;
|
1220
|
-
}[] | undefined> | undefined;
|
1221
|
-
originalActionId?: string | undefined;
|
1256
|
+
}[] | [string, string] | undefined> | null | undefined;
|
1257
|
+
originalActionId?: string | null | undefined;
|
1222
1258
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1223
1259
|
id: z.ZodString;
|
1260
|
+
transactionId: z.ZodString;
|
1224
1261
|
createdAt: z.ZodString;
|
1225
1262
|
createdBy: z.ZodString;
|
1226
|
-
|
1263
|
+
createdByRole: z.ZodString;
|
1264
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
1265
|
+
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<{
|
1227
1266
|
filename: z.ZodString;
|
1228
1267
|
originalFilename: z.ZodString;
|
1229
1268
|
type: z.ZodString;
|
@@ -1337,7 +1376,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1337
1376
|
addressLine3?: string | null | undefined;
|
1338
1377
|
postcodeOrZip?: string | null | undefined;
|
1339
1378
|
}>]>>;
|
1340
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1379
|
+
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<{
|
1341
1380
|
filename: z.ZodString;
|
1342
1381
|
originalFilename: z.ZodString;
|
1343
1382
|
type: z.ZodString;
|
@@ -1450,18 +1489,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
1450
1489
|
addressLine2?: string | null | undefined;
|
1451
1490
|
addressLine3?: string | null | undefined;
|
1452
1491
|
postcodeOrZip?: string | null | undefined;
|
1453
|
-
}>]
|
1454
|
-
createdAtLocation: z.ZodString;
|
1492
|
+
}>]>>>>;
|
1455
1493
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1456
|
-
originalActionId: z.ZodOptional<z.ZodString
|
1494
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
1457
1495
|
}, {
|
1458
1496
|
type: z.ZodLiteral<"MARKED_AS_DUPLICATE">;
|
1459
1497
|
}>, "strip", z.ZodTypeAny, {
|
1460
1498
|
type: "MARKED_AS_DUPLICATE";
|
1461
1499
|
id: string;
|
1462
1500
|
status: "Rejected" | "Requested" | "Accepted";
|
1501
|
+
transactionId: string;
|
1463
1502
|
createdAt: string;
|
1464
1503
|
createdBy: string;
|
1504
|
+
createdByRole: string;
|
1465
1505
|
declaration: Record<string, string | number | boolean | {
|
1466
1506
|
type: string;
|
1467
1507
|
filename: string;
|
@@ -1499,8 +1539,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1499
1539
|
option: string;
|
1500
1540
|
filename: string;
|
1501
1541
|
originalFilename: string;
|
1502
|
-
}[] | undefined>;
|
1503
|
-
createdAtLocation
|
1542
|
+
}[] | [string, string] | undefined>;
|
1543
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
1504
1544
|
annotation?: Record<string, string | number | boolean | {
|
1505
1545
|
type: string;
|
1506
1546
|
filename: string;
|
@@ -1538,14 +1578,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
1538
1578
|
option: string;
|
1539
1579
|
filename: string;
|
1540
1580
|
originalFilename: string;
|
1541
|
-
}[] | undefined> | undefined;
|
1542
|
-
originalActionId?: string | undefined;
|
1581
|
+
}[] | [string, string] | undefined> | null | undefined;
|
1582
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
1543
1583
|
}, {
|
1544
1584
|
type: "MARKED_AS_DUPLICATE";
|
1545
1585
|
id: string;
|
1546
1586
|
status: "Rejected" | "Requested" | "Accepted";
|
1587
|
+
transactionId: string;
|
1547
1588
|
createdAt: string;
|
1548
1589
|
createdBy: string;
|
1590
|
+
createdByRole: string;
|
1549
1591
|
declaration: Record<string, string | number | boolean | {
|
1550
1592
|
type: string;
|
1551
1593
|
filename: string;
|
@@ -1583,8 +1625,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1583
1625
|
option: string;
|
1584
1626
|
filename: string;
|
1585
1627
|
originalFilename: string;
|
1586
|
-
}[] | undefined>;
|
1587
|
-
createdAtLocation
|
1628
|
+
}[] | [string, string] | undefined>;
|
1629
|
+
createdAtLocation?: string | null | undefined;
|
1588
1630
|
annotation?: Record<string, string | number | boolean | {
|
1589
1631
|
type: string;
|
1590
1632
|
filename: string;
|
@@ -1622,13 +1664,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
1622
1664
|
option: string;
|
1623
1665
|
filename: string;
|
1624
1666
|
originalFilename: string;
|
1625
|
-
}[] | undefined> | undefined;
|
1626
|
-
originalActionId?: string | undefined;
|
1667
|
+
}[] | [string, string] | undefined> | null | undefined;
|
1668
|
+
originalActionId?: string | null | undefined;
|
1627
1669
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
1628
1670
|
id: z.ZodString;
|
1671
|
+
transactionId: z.ZodString;
|
1629
1672
|
createdAt: z.ZodString;
|
1630
1673
|
createdBy: z.ZodString;
|
1631
|
-
|
1674
|
+
createdByRole: z.ZodString;
|
1675
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
1676
|
+
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<{
|
1632
1677
|
filename: z.ZodString;
|
1633
1678
|
originalFilename: z.ZodString;
|
1634
1679
|
type: z.ZodString;
|
@@ -1742,7 +1787,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
1742
1787
|
addressLine3?: string | null | undefined;
|
1743
1788
|
postcodeOrZip?: string | null | undefined;
|
1744
1789
|
}>]>>;
|
1745
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
1790
|
+
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<{
|
1746
1791
|
filename: z.ZodString;
|
1747
1792
|
originalFilename: z.ZodString;
|
1748
1793
|
type: z.ZodString;
|
@@ -1855,18 +1900,33 @@ export declare const EventDocument: z.ZodObject<{
|
|
1855
1900
|
addressLine2?: string | null | undefined;
|
1856
1901
|
addressLine3?: string | null | undefined;
|
1857
1902
|
postcodeOrZip?: string | null | undefined;
|
1858
|
-
}>]
|
1859
|
-
createdAtLocation: z.ZodString;
|
1903
|
+
}>]>>>>;
|
1860
1904
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
1861
|
-
originalActionId: z.ZodOptional<z.ZodString
|
1905
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
1862
1906
|
}, {
|
1863
1907
|
type: z.ZodLiteral<"ARCHIVE">;
|
1908
|
+
reason: z.ZodObject<{
|
1909
|
+
message: z.ZodString;
|
1910
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
1911
|
+
}, "strip", z.ZodTypeAny, {
|
1912
|
+
message: string;
|
1913
|
+
isDuplicate?: boolean | undefined;
|
1914
|
+
}, {
|
1915
|
+
message: string;
|
1916
|
+
isDuplicate?: boolean | undefined;
|
1917
|
+
}>;
|
1864
1918
|
}>, "strip", z.ZodTypeAny, {
|
1865
1919
|
type: "ARCHIVE";
|
1866
1920
|
id: string;
|
1867
1921
|
status: "Rejected" | "Requested" | "Accepted";
|
1922
|
+
reason: {
|
1923
|
+
message: string;
|
1924
|
+
isDuplicate?: boolean | undefined;
|
1925
|
+
};
|
1926
|
+
transactionId: string;
|
1868
1927
|
createdAt: string;
|
1869
1928
|
createdBy: string;
|
1929
|
+
createdByRole: string;
|
1870
1930
|
declaration: Record<string, string | number | boolean | {
|
1871
1931
|
type: string;
|
1872
1932
|
filename: string;
|
@@ -1904,8 +1964,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1904
1964
|
option: string;
|
1905
1965
|
filename: string;
|
1906
1966
|
originalFilename: string;
|
1907
|
-
}[] | undefined>;
|
1908
|
-
createdAtLocation
|
1967
|
+
}[] | [string, string] | undefined>;
|
1968
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
1909
1969
|
annotation?: Record<string, string | number | boolean | {
|
1910
1970
|
type: string;
|
1911
1971
|
filename: string;
|
@@ -1943,14 +2003,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
1943
2003
|
option: string;
|
1944
2004
|
filename: string;
|
1945
2005
|
originalFilename: string;
|
1946
|
-
}[] | undefined> | undefined;
|
1947
|
-
originalActionId?: string | undefined;
|
2006
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2007
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
1948
2008
|
}, {
|
1949
2009
|
type: "ARCHIVE";
|
1950
2010
|
id: string;
|
1951
2011
|
status: "Rejected" | "Requested" | "Accepted";
|
2012
|
+
reason: {
|
2013
|
+
message: string;
|
2014
|
+
isDuplicate?: boolean | undefined;
|
2015
|
+
};
|
2016
|
+
transactionId: string;
|
1952
2017
|
createdAt: string;
|
1953
2018
|
createdBy: string;
|
2019
|
+
createdByRole: string;
|
1954
2020
|
declaration: Record<string, string | number | boolean | {
|
1955
2021
|
type: string;
|
1956
2022
|
filename: string;
|
@@ -1988,8 +2054,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
1988
2054
|
option: string;
|
1989
2055
|
filename: string;
|
1990
2056
|
originalFilename: string;
|
1991
|
-
}[] | undefined>;
|
1992
|
-
createdAtLocation
|
2057
|
+
}[] | [string, string] | undefined>;
|
2058
|
+
createdAtLocation?: string | null | undefined;
|
1993
2059
|
annotation?: Record<string, string | number | boolean | {
|
1994
2060
|
type: string;
|
1995
2061
|
filename: string;
|
@@ -2027,13 +2093,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
2027
2093
|
option: string;
|
2028
2094
|
filename: string;
|
2029
2095
|
originalFilename: string;
|
2030
|
-
}[] | undefined> | undefined;
|
2031
|
-
originalActionId?: string | undefined;
|
2096
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2097
|
+
originalActionId?: string | null | undefined;
|
2032
2098
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2033
2099
|
id: z.ZodString;
|
2100
|
+
transactionId: z.ZodString;
|
2034
2101
|
createdAt: z.ZodString;
|
2035
2102
|
createdBy: z.ZodString;
|
2036
|
-
|
2103
|
+
createdByRole: z.ZodString;
|
2104
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
2105
|
+
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<{
|
2037
2106
|
filename: z.ZodString;
|
2038
2107
|
originalFilename: z.ZodString;
|
2039
2108
|
type: z.ZodString;
|
@@ -2147,7 +2216,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2147
2216
|
addressLine3?: string | null | undefined;
|
2148
2217
|
postcodeOrZip?: string | null | undefined;
|
2149
2218
|
}>]>>;
|
2150
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2219
|
+
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<{
|
2151
2220
|
filename: z.ZodString;
|
2152
2221
|
originalFilename: z.ZodString;
|
2153
2222
|
type: z.ZodString;
|
@@ -2260,18 +2329,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
2260
2329
|
addressLine2?: string | null | undefined;
|
2261
2330
|
addressLine3?: string | null | undefined;
|
2262
2331
|
postcodeOrZip?: string | null | undefined;
|
2263
|
-
}>]
|
2264
|
-
createdAtLocation: z.ZodString;
|
2332
|
+
}>]>>>>;
|
2265
2333
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2266
|
-
originalActionId: z.ZodOptional<z.ZodString
|
2334
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
2267
2335
|
}, {
|
2268
2336
|
type: z.ZodLiteral<"NOTIFY">;
|
2269
2337
|
}>, "strip", z.ZodTypeAny, {
|
2270
2338
|
type: "NOTIFY";
|
2271
2339
|
id: string;
|
2272
2340
|
status: "Rejected" | "Requested" | "Accepted";
|
2341
|
+
transactionId: string;
|
2273
2342
|
createdAt: string;
|
2274
2343
|
createdBy: string;
|
2344
|
+
createdByRole: string;
|
2275
2345
|
declaration: Record<string, string | number | boolean | {
|
2276
2346
|
type: string;
|
2277
2347
|
filename: string;
|
@@ -2309,8 +2379,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2309
2379
|
option: string;
|
2310
2380
|
filename: string;
|
2311
2381
|
originalFilename: string;
|
2312
|
-
}[] | undefined>;
|
2313
|
-
createdAtLocation
|
2382
|
+
}[] | [string, string] | undefined>;
|
2383
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
2314
2384
|
annotation?: Record<string, string | number | boolean | {
|
2315
2385
|
type: string;
|
2316
2386
|
filename: string;
|
@@ -2348,14 +2418,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
2348
2418
|
option: string;
|
2349
2419
|
filename: string;
|
2350
2420
|
originalFilename: string;
|
2351
|
-
}[] | undefined> | undefined;
|
2352
|
-
originalActionId?: string | undefined;
|
2421
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2422
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
2353
2423
|
}, {
|
2354
2424
|
type: "NOTIFY";
|
2355
2425
|
id: string;
|
2356
2426
|
status: "Rejected" | "Requested" | "Accepted";
|
2427
|
+
transactionId: string;
|
2357
2428
|
createdAt: string;
|
2358
2429
|
createdBy: string;
|
2430
|
+
createdByRole: string;
|
2359
2431
|
declaration: Record<string, string | number | boolean | {
|
2360
2432
|
type: string;
|
2361
2433
|
filename: string;
|
@@ -2393,8 +2465,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2393
2465
|
option: string;
|
2394
2466
|
filename: string;
|
2395
2467
|
originalFilename: string;
|
2396
|
-
}[] | undefined>;
|
2397
|
-
createdAtLocation
|
2468
|
+
}[] | [string, string] | undefined>;
|
2469
|
+
createdAtLocation?: string | null | undefined;
|
2398
2470
|
annotation?: Record<string, string | number | boolean | {
|
2399
2471
|
type: string;
|
2400
2472
|
filename: string;
|
@@ -2432,13 +2504,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
2432
2504
|
option: string;
|
2433
2505
|
filename: string;
|
2434
2506
|
originalFilename: string;
|
2435
|
-
}[] | undefined> | undefined;
|
2436
|
-
originalActionId?: string | undefined;
|
2507
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2508
|
+
originalActionId?: string | null | undefined;
|
2437
2509
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2438
2510
|
id: z.ZodString;
|
2511
|
+
transactionId: z.ZodString;
|
2439
2512
|
createdAt: z.ZodString;
|
2440
2513
|
createdBy: z.ZodString;
|
2441
|
-
|
2514
|
+
createdByRole: z.ZodString;
|
2515
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
2516
|
+
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<{
|
2442
2517
|
filename: z.ZodString;
|
2443
2518
|
originalFilename: z.ZodString;
|
2444
2519
|
type: z.ZodString;
|
@@ -2552,7 +2627,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2552
2627
|
addressLine3?: string | null | undefined;
|
2553
2628
|
postcodeOrZip?: string | null | undefined;
|
2554
2629
|
}>]>>;
|
2555
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
2630
|
+
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<{
|
2556
2631
|
filename: z.ZodString;
|
2557
2632
|
originalFilename: z.ZodString;
|
2558
2633
|
type: z.ZodString;
|
@@ -2665,10 +2740,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
2665
2740
|
addressLine2?: string | null | undefined;
|
2666
2741
|
addressLine3?: string | null | undefined;
|
2667
2742
|
postcodeOrZip?: string | null | undefined;
|
2668
|
-
}>]
|
2669
|
-
createdAtLocation: z.ZodString;
|
2743
|
+
}>]>>>>;
|
2670
2744
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
2671
|
-
originalActionId: z.ZodOptional<z.ZodString
|
2745
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
2672
2746
|
}, {
|
2673
2747
|
type: z.ZodLiteral<"REGISTER">;
|
2674
2748
|
registrationNumber: z.ZodOptional<z.ZodString>;
|
@@ -2676,8 +2750,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
2676
2750
|
type: "REGISTER";
|
2677
2751
|
id: string;
|
2678
2752
|
status: "Rejected" | "Requested" | "Accepted";
|
2753
|
+
transactionId: string;
|
2679
2754
|
createdAt: string;
|
2680
2755
|
createdBy: string;
|
2756
|
+
createdByRole: string;
|
2681
2757
|
declaration: Record<string, string | number | boolean | {
|
2682
2758
|
type: string;
|
2683
2759
|
filename: string;
|
@@ -2715,8 +2791,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2715
2791
|
option: string;
|
2716
2792
|
filename: string;
|
2717
2793
|
originalFilename: string;
|
2718
|
-
}[] | undefined>;
|
2719
|
-
createdAtLocation
|
2794
|
+
}[] | [string, string] | undefined>;
|
2795
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
2720
2796
|
annotation?: Record<string, string | number | boolean | {
|
2721
2797
|
type: string;
|
2722
2798
|
filename: string;
|
@@ -2754,15 +2830,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
2754
2830
|
option: string;
|
2755
2831
|
filename: string;
|
2756
2832
|
originalFilename: string;
|
2757
|
-
}[] | undefined> | undefined;
|
2758
|
-
originalActionId?: string | undefined;
|
2833
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2834
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
2759
2835
|
registrationNumber?: string | undefined;
|
2760
2836
|
}, {
|
2761
2837
|
type: "REGISTER";
|
2762
2838
|
id: string;
|
2763
2839
|
status: "Rejected" | "Requested" | "Accepted";
|
2840
|
+
transactionId: string;
|
2764
2841
|
createdAt: string;
|
2765
2842
|
createdBy: string;
|
2843
|
+
createdByRole: string;
|
2766
2844
|
declaration: Record<string, string | number | boolean | {
|
2767
2845
|
type: string;
|
2768
2846
|
filename: string;
|
@@ -2800,8 +2878,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
2800
2878
|
option: string;
|
2801
2879
|
filename: string;
|
2802
2880
|
originalFilename: string;
|
2803
|
-
}[] | undefined>;
|
2804
|
-
createdAtLocation
|
2881
|
+
}[] | [string, string] | undefined>;
|
2882
|
+
createdAtLocation?: string | null | undefined;
|
2805
2883
|
annotation?: Record<string, string | number | boolean | {
|
2806
2884
|
type: string;
|
2807
2885
|
filename: string;
|
@@ -2839,14 +2917,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
2839
2917
|
option: string;
|
2840
2918
|
filename: string;
|
2841
2919
|
originalFilename: string;
|
2842
|
-
}[] | undefined> | undefined;
|
2843
|
-
originalActionId?: string | undefined;
|
2920
|
+
}[] | [string, string] | undefined> | null | undefined;
|
2921
|
+
originalActionId?: string | null | undefined;
|
2844
2922
|
registrationNumber?: string | undefined;
|
2845
2923
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
2846
2924
|
id: z.ZodString;
|
2925
|
+
transactionId: z.ZodString;
|
2847
2926
|
createdAt: z.ZodString;
|
2848
2927
|
createdBy: z.ZodString;
|
2849
|
-
|
2928
|
+
createdByRole: z.ZodString;
|
2929
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
2930
|
+
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<{
|
2850
2931
|
filename: z.ZodString;
|
2851
2932
|
originalFilename: z.ZodString;
|
2852
2933
|
type: z.ZodString;
|
@@ -2960,7 +3041,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
2960
3041
|
addressLine3?: string | null | undefined;
|
2961
3042
|
postcodeOrZip?: string | null | undefined;
|
2962
3043
|
}>]>>;
|
2963
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3044
|
+
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<{
|
2964
3045
|
filename: z.ZodString;
|
2965
3046
|
originalFilename: z.ZodString;
|
2966
3047
|
type: z.ZodString;
|
@@ -3073,18 +3154,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
3073
3154
|
addressLine2?: string | null | undefined;
|
3074
3155
|
addressLine3?: string | null | undefined;
|
3075
3156
|
postcodeOrZip?: string | null | undefined;
|
3076
|
-
}>]
|
3077
|
-
createdAtLocation: z.ZodString;
|
3157
|
+
}>]>>>>;
|
3078
3158
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3079
|
-
originalActionId: z.ZodOptional<z.ZodString
|
3159
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
3080
3160
|
}, {
|
3081
3161
|
type: z.ZodLiteral<"DECLARE">;
|
3082
3162
|
}>, "strip", z.ZodTypeAny, {
|
3083
3163
|
type: "DECLARE";
|
3084
3164
|
id: string;
|
3085
3165
|
status: "Rejected" | "Requested" | "Accepted";
|
3166
|
+
transactionId: string;
|
3086
3167
|
createdAt: string;
|
3087
3168
|
createdBy: string;
|
3169
|
+
createdByRole: string;
|
3088
3170
|
declaration: Record<string, string | number | boolean | {
|
3089
3171
|
type: string;
|
3090
3172
|
filename: string;
|
@@ -3122,8 +3204,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3122
3204
|
option: string;
|
3123
3205
|
filename: string;
|
3124
3206
|
originalFilename: string;
|
3125
|
-
}[] | undefined>;
|
3126
|
-
createdAtLocation
|
3207
|
+
}[] | [string, string] | undefined>;
|
3208
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
3127
3209
|
annotation?: Record<string, string | number | boolean | {
|
3128
3210
|
type: string;
|
3129
3211
|
filename: string;
|
@@ -3161,14 +3243,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
3161
3243
|
option: string;
|
3162
3244
|
filename: string;
|
3163
3245
|
originalFilename: string;
|
3164
|
-
}[] | undefined> | undefined;
|
3165
|
-
originalActionId?: string | undefined;
|
3246
|
+
}[] | [string, string] | undefined> | null | undefined;
|
3247
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
3166
3248
|
}, {
|
3167
3249
|
type: "DECLARE";
|
3168
3250
|
id: string;
|
3169
3251
|
status: "Rejected" | "Requested" | "Accepted";
|
3252
|
+
transactionId: string;
|
3170
3253
|
createdAt: string;
|
3171
3254
|
createdBy: string;
|
3255
|
+
createdByRole: string;
|
3172
3256
|
declaration: Record<string, string | number | boolean | {
|
3173
3257
|
type: string;
|
3174
3258
|
filename: string;
|
@@ -3206,8 +3290,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3206
3290
|
option: string;
|
3207
3291
|
filename: string;
|
3208
3292
|
originalFilename: string;
|
3209
|
-
}[] | undefined>;
|
3210
|
-
createdAtLocation
|
3293
|
+
}[] | [string, string] | undefined>;
|
3294
|
+
createdAtLocation?: string | null | undefined;
|
3211
3295
|
annotation?: Record<string, string | number | boolean | {
|
3212
3296
|
type: string;
|
3213
3297
|
filename: string;
|
@@ -3245,13 +3329,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
3245
3329
|
option: string;
|
3246
3330
|
filename: string;
|
3247
3331
|
originalFilename: string;
|
3248
|
-
}[] | undefined> | undefined;
|
3249
|
-
originalActionId?: string | undefined;
|
3332
|
+
}[] | [string, string] | undefined> | null | undefined;
|
3333
|
+
originalActionId?: string | null | undefined;
|
3250
3334
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3251
3335
|
id: z.ZodString;
|
3336
|
+
transactionId: z.ZodString;
|
3252
3337
|
createdAt: z.ZodString;
|
3253
3338
|
createdBy: z.ZodString;
|
3254
|
-
|
3339
|
+
createdByRole: z.ZodString;
|
3340
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
3341
|
+
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<{
|
3255
3342
|
filename: z.ZodString;
|
3256
3343
|
originalFilename: z.ZodString;
|
3257
3344
|
type: z.ZodString;
|
@@ -3365,7 +3452,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3365
3452
|
addressLine3?: string | null | undefined;
|
3366
3453
|
postcodeOrZip?: string | null | undefined;
|
3367
3454
|
}>]>>;
|
3368
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3455
|
+
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<{
|
3369
3456
|
filename: z.ZodString;
|
3370
3457
|
originalFilename: z.ZodString;
|
3371
3458
|
type: z.ZodString;
|
@@ -3478,10 +3565,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3478
3565
|
addressLine2?: string | null | undefined;
|
3479
3566
|
addressLine3?: string | null | undefined;
|
3480
3567
|
postcodeOrZip?: string | null | undefined;
|
3481
|
-
}>]
|
3482
|
-
createdAtLocation: z.ZodString;
|
3568
|
+
}>]>>>>;
|
3483
3569
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3484
|
-
originalActionId: z.ZodOptional<z.ZodString
|
3570
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
3485
3571
|
}, {
|
3486
3572
|
type: z.ZodLiteral<"ASSIGN">;
|
3487
3573
|
assignedTo: z.ZodString;
|
@@ -3489,8 +3575,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
3489
3575
|
type: "ASSIGN";
|
3490
3576
|
id: string;
|
3491
3577
|
status: "Rejected" | "Requested" | "Accepted";
|
3578
|
+
transactionId: string;
|
3492
3579
|
createdAt: string;
|
3493
3580
|
createdBy: string;
|
3581
|
+
createdByRole: string;
|
3494
3582
|
declaration: Record<string, string | number | boolean | {
|
3495
3583
|
type: string;
|
3496
3584
|
filename: string;
|
@@ -3528,9 +3616,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3528
3616
|
option: string;
|
3529
3617
|
filename: string;
|
3530
3618
|
originalFilename: string;
|
3531
|
-
}[] | undefined>;
|
3532
|
-
createdAtLocation: string;
|
3619
|
+
}[] | [string, string] | undefined>;
|
3533
3620
|
assignedTo: string;
|
3621
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
3534
3622
|
annotation?: Record<string, string | number | boolean | {
|
3535
3623
|
type: string;
|
3536
3624
|
filename: string;
|
@@ -3568,14 +3656,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
3568
3656
|
option: string;
|
3569
3657
|
filename: string;
|
3570
3658
|
originalFilename: string;
|
3571
|
-
}[] | undefined> | undefined;
|
3572
|
-
originalActionId?: string | undefined;
|
3659
|
+
}[] | [string, string] | undefined> | null | undefined;
|
3660
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
3573
3661
|
}, {
|
3574
3662
|
type: "ASSIGN";
|
3575
3663
|
id: string;
|
3576
3664
|
status: "Rejected" | "Requested" | "Accepted";
|
3665
|
+
transactionId: string;
|
3577
3666
|
createdAt: string;
|
3578
3667
|
createdBy: string;
|
3668
|
+
createdByRole: string;
|
3579
3669
|
declaration: Record<string, string | number | boolean | {
|
3580
3670
|
type: string;
|
3581
3671
|
filename: string;
|
@@ -3613,9 +3703,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
3613
3703
|
option: string;
|
3614
3704
|
filename: string;
|
3615
3705
|
originalFilename: string;
|
3616
|
-
}[] | undefined>;
|
3617
|
-
createdAtLocation: string;
|
3706
|
+
}[] | [string, string] | undefined>;
|
3618
3707
|
assignedTo: string;
|
3708
|
+
createdAtLocation?: string | null | undefined;
|
3619
3709
|
annotation?: Record<string, string | number | boolean | {
|
3620
3710
|
type: string;
|
3621
3711
|
filename: string;
|
@@ -3653,13 +3743,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
3653
3743
|
option: string;
|
3654
3744
|
filename: string;
|
3655
3745
|
originalFilename: string;
|
3656
|
-
}[] | undefined> | undefined;
|
3657
|
-
originalActionId?: string | undefined;
|
3746
|
+
}[] | [string, string] | undefined> | null | undefined;
|
3747
|
+
originalActionId?: string | null | undefined;
|
3658
3748
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
3659
3749
|
id: z.ZodString;
|
3750
|
+
transactionId: z.ZodString;
|
3660
3751
|
createdAt: z.ZodString;
|
3661
3752
|
createdBy: z.ZodString;
|
3662
|
-
|
3753
|
+
createdByRole: z.ZodString;
|
3754
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
3755
|
+
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<{
|
3663
3756
|
filename: z.ZodString;
|
3664
3757
|
originalFilename: z.ZodString;
|
3665
3758
|
type: z.ZodString;
|
@@ -3773,7 +3866,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
3773
3866
|
addressLine3?: string | null | undefined;
|
3774
3867
|
postcodeOrZip?: string | null | undefined;
|
3775
3868
|
}>]>>;
|
3776
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
3869
|
+
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<{
|
3777
3870
|
filename: z.ZodString;
|
3778
3871
|
originalFilename: z.ZodString;
|
3779
3872
|
type: z.ZodString;
|
@@ -3886,18 +3979,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
3886
3979
|
addressLine2?: string | null | undefined;
|
3887
3980
|
addressLine3?: string | null | undefined;
|
3888
3981
|
postcodeOrZip?: string | null | undefined;
|
3889
|
-
}>]
|
3890
|
-
createdAtLocation: z.ZodString;
|
3982
|
+
}>]>>>>;
|
3891
3983
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
3892
|
-
originalActionId: z.ZodOptional<z.ZodString
|
3984
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
3893
3985
|
}, {
|
3894
3986
|
type: z.ZodLiteral<"REQUEST_CORRECTION">;
|
3895
3987
|
}>, "strip", z.ZodTypeAny, {
|
3896
3988
|
type: "REQUEST_CORRECTION";
|
3897
3989
|
id: string;
|
3898
3990
|
status: "Rejected" | "Requested" | "Accepted";
|
3991
|
+
transactionId: string;
|
3899
3992
|
createdAt: string;
|
3900
3993
|
createdBy: string;
|
3994
|
+
createdByRole: string;
|
3901
3995
|
declaration: Record<string, string | number | boolean | {
|
3902
3996
|
type: string;
|
3903
3997
|
filename: string;
|
@@ -3935,8 +4029,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
3935
4029
|
option: string;
|
3936
4030
|
filename: string;
|
3937
4031
|
originalFilename: string;
|
3938
|
-
}[] | undefined>;
|
3939
|
-
createdAtLocation
|
4032
|
+
}[] | [string, string] | undefined>;
|
4033
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
3940
4034
|
annotation?: Record<string, string | number | boolean | {
|
3941
4035
|
type: string;
|
3942
4036
|
filename: string;
|
@@ -3974,14 +4068,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
3974
4068
|
option: string;
|
3975
4069
|
filename: string;
|
3976
4070
|
originalFilename: string;
|
3977
|
-
}[] | undefined> | undefined;
|
3978
|
-
originalActionId?: string | undefined;
|
4071
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4072
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
3979
4073
|
}, {
|
3980
4074
|
type: "REQUEST_CORRECTION";
|
3981
4075
|
id: string;
|
3982
4076
|
status: "Rejected" | "Requested" | "Accepted";
|
4077
|
+
transactionId: string;
|
3983
4078
|
createdAt: string;
|
3984
4079
|
createdBy: string;
|
4080
|
+
createdByRole: string;
|
3985
4081
|
declaration: Record<string, string | number | boolean | {
|
3986
4082
|
type: string;
|
3987
4083
|
filename: string;
|
@@ -4019,8 +4115,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
4019
4115
|
option: string;
|
4020
4116
|
filename: string;
|
4021
4117
|
originalFilename: string;
|
4022
|
-
}[] | undefined>;
|
4023
|
-
createdAtLocation
|
4118
|
+
}[] | [string, string] | undefined>;
|
4119
|
+
createdAtLocation?: string | null | undefined;
|
4024
4120
|
annotation?: Record<string, string | number | boolean | {
|
4025
4121
|
type: string;
|
4026
4122
|
filename: string;
|
@@ -4058,13 +4154,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
4058
4154
|
option: string;
|
4059
4155
|
filename: string;
|
4060
4156
|
originalFilename: string;
|
4061
|
-
}[] | undefined> | undefined;
|
4062
|
-
originalActionId?: string | undefined;
|
4157
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4158
|
+
originalActionId?: string | null | undefined;
|
4063
4159
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4064
4160
|
id: z.ZodString;
|
4161
|
+
transactionId: z.ZodString;
|
4065
4162
|
createdAt: z.ZodString;
|
4066
4163
|
createdBy: z.ZodString;
|
4067
|
-
|
4164
|
+
createdByRole: z.ZodString;
|
4165
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
4166
|
+
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<{
|
4068
4167
|
filename: z.ZodString;
|
4069
4168
|
originalFilename: z.ZodString;
|
4070
4169
|
type: z.ZodString;
|
@@ -4178,7 +4277,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4178
4277
|
addressLine3?: string | null | undefined;
|
4179
4278
|
postcodeOrZip?: string | null | undefined;
|
4180
4279
|
}>]>>;
|
4181
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4280
|
+
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<{
|
4182
4281
|
filename: z.ZodString;
|
4183
4282
|
originalFilename: z.ZodString;
|
4184
4283
|
type: z.ZodString;
|
@@ -4291,10 +4390,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4291
4390
|
addressLine2?: string | null | undefined;
|
4292
4391
|
addressLine3?: string | null | undefined;
|
4293
4392
|
postcodeOrZip?: string | null | undefined;
|
4294
|
-
}>]
|
4295
|
-
createdAtLocation: z.ZodString;
|
4393
|
+
}>]>>>>;
|
4296
4394
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4297
|
-
originalActionId: z.ZodOptional<z.ZodString
|
4395
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
4298
4396
|
}, {
|
4299
4397
|
type: z.ZodLiteral<"APPROVE_CORRECTION">;
|
4300
4398
|
requestId: z.ZodString;
|
@@ -4302,8 +4400,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
4302
4400
|
type: "APPROVE_CORRECTION";
|
4303
4401
|
id: string;
|
4304
4402
|
status: "Rejected" | "Requested" | "Accepted";
|
4403
|
+
transactionId: string;
|
4305
4404
|
createdAt: string;
|
4306
4405
|
createdBy: string;
|
4406
|
+
createdByRole: string;
|
4307
4407
|
declaration: Record<string, string | number | boolean | {
|
4308
4408
|
type: string;
|
4309
4409
|
filename: string;
|
@@ -4341,9 +4441,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4341
4441
|
option: string;
|
4342
4442
|
filename: string;
|
4343
4443
|
originalFilename: string;
|
4344
|
-
}[] | undefined>;
|
4345
|
-
createdAtLocation: string;
|
4444
|
+
}[] | [string, string] | undefined>;
|
4346
4445
|
requestId: string;
|
4446
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
4347
4447
|
annotation?: Record<string, string | number | boolean | {
|
4348
4448
|
type: string;
|
4349
4449
|
filename: string;
|
@@ -4381,14 +4481,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
4381
4481
|
option: string;
|
4382
4482
|
filename: string;
|
4383
4483
|
originalFilename: string;
|
4384
|
-
}[] | undefined> | undefined;
|
4385
|
-
originalActionId?: string | undefined;
|
4484
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4485
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
4386
4486
|
}, {
|
4387
4487
|
type: "APPROVE_CORRECTION";
|
4388
4488
|
id: string;
|
4389
4489
|
status: "Rejected" | "Requested" | "Accepted";
|
4490
|
+
transactionId: string;
|
4390
4491
|
createdAt: string;
|
4391
4492
|
createdBy: string;
|
4493
|
+
createdByRole: string;
|
4392
4494
|
declaration: Record<string, string | number | boolean | {
|
4393
4495
|
type: string;
|
4394
4496
|
filename: string;
|
@@ -4426,9 +4528,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4426
4528
|
option: string;
|
4427
4529
|
filename: string;
|
4428
4530
|
originalFilename: string;
|
4429
|
-
}[] | undefined>;
|
4430
|
-
createdAtLocation: string;
|
4531
|
+
}[] | [string, string] | undefined>;
|
4431
4532
|
requestId: string;
|
4533
|
+
createdAtLocation?: string | null | undefined;
|
4432
4534
|
annotation?: Record<string, string | number | boolean | {
|
4433
4535
|
type: string;
|
4434
4536
|
filename: string;
|
@@ -4466,13 +4568,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
4466
4568
|
option: string;
|
4467
4569
|
filename: string;
|
4468
4570
|
originalFilename: string;
|
4469
|
-
}[] | undefined> | undefined;
|
4470
|
-
originalActionId?: string | undefined;
|
4571
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4572
|
+
originalActionId?: string | null | undefined;
|
4471
4573
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4472
4574
|
id: z.ZodString;
|
4575
|
+
transactionId: z.ZodString;
|
4473
4576
|
createdAt: z.ZodString;
|
4474
4577
|
createdBy: z.ZodString;
|
4475
|
-
|
4578
|
+
createdByRole: z.ZodString;
|
4579
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
4580
|
+
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<{
|
4476
4581
|
filename: z.ZodString;
|
4477
4582
|
originalFilename: z.ZodString;
|
4478
4583
|
type: z.ZodString;
|
@@ -4586,7 +4691,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4586
4691
|
addressLine3?: string | null | undefined;
|
4587
4692
|
postcodeOrZip?: string | null | undefined;
|
4588
4693
|
}>]>>;
|
4589
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
4694
|
+
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<{
|
4590
4695
|
filename: z.ZodString;
|
4591
4696
|
originalFilename: z.ZodString;
|
4592
4697
|
type: z.ZodString;
|
@@ -4699,10 +4804,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4699
4804
|
addressLine2?: string | null | undefined;
|
4700
4805
|
addressLine3?: string | null | undefined;
|
4701
4806
|
postcodeOrZip?: string | null | undefined;
|
4702
|
-
}>]
|
4703
|
-
createdAtLocation: z.ZodString;
|
4807
|
+
}>]>>>>;
|
4704
4808
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
4705
|
-
originalActionId: z.ZodOptional<z.ZodString
|
4809
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
4706
4810
|
}, {
|
4707
4811
|
type: z.ZodLiteral<"REJECT_CORRECTION">;
|
4708
4812
|
requestId: z.ZodString;
|
@@ -4710,8 +4814,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
4710
4814
|
type: "REJECT_CORRECTION";
|
4711
4815
|
id: string;
|
4712
4816
|
status: "Rejected" | "Requested" | "Accepted";
|
4817
|
+
transactionId: string;
|
4713
4818
|
createdAt: string;
|
4714
4819
|
createdBy: string;
|
4820
|
+
createdByRole: string;
|
4715
4821
|
declaration: Record<string, string | number | boolean | {
|
4716
4822
|
type: string;
|
4717
4823
|
filename: string;
|
@@ -4749,9 +4855,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4749
4855
|
option: string;
|
4750
4856
|
filename: string;
|
4751
4857
|
originalFilename: string;
|
4752
|
-
}[] | undefined>;
|
4753
|
-
createdAtLocation: string;
|
4858
|
+
}[] | [string, string] | undefined>;
|
4754
4859
|
requestId: string;
|
4860
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
4755
4861
|
annotation?: Record<string, string | number | boolean | {
|
4756
4862
|
type: string;
|
4757
4863
|
filename: string;
|
@@ -4789,14 +4895,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
4789
4895
|
option: string;
|
4790
4896
|
filename: string;
|
4791
4897
|
originalFilename: string;
|
4792
|
-
}[] | undefined> | undefined;
|
4793
|
-
originalActionId?: string | undefined;
|
4898
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4899
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
4794
4900
|
}, {
|
4795
4901
|
type: "REJECT_CORRECTION";
|
4796
4902
|
id: string;
|
4797
4903
|
status: "Rejected" | "Requested" | "Accepted";
|
4904
|
+
transactionId: string;
|
4798
4905
|
createdAt: string;
|
4799
4906
|
createdBy: string;
|
4907
|
+
createdByRole: string;
|
4800
4908
|
declaration: Record<string, string | number | boolean | {
|
4801
4909
|
type: string;
|
4802
4910
|
filename: string;
|
@@ -4834,9 +4942,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
4834
4942
|
option: string;
|
4835
4943
|
filename: string;
|
4836
4944
|
originalFilename: string;
|
4837
|
-
}[] | undefined>;
|
4838
|
-
createdAtLocation: string;
|
4945
|
+
}[] | [string, string] | undefined>;
|
4839
4946
|
requestId: string;
|
4947
|
+
createdAtLocation?: string | null | undefined;
|
4840
4948
|
annotation?: Record<string, string | number | boolean | {
|
4841
4949
|
type: string;
|
4842
4950
|
filename: string;
|
@@ -4874,13 +4982,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
4874
4982
|
option: string;
|
4875
4983
|
filename: string;
|
4876
4984
|
originalFilename: string;
|
4877
|
-
}[] | undefined> | undefined;
|
4878
|
-
originalActionId?: string | undefined;
|
4985
|
+
}[] | [string, string] | undefined> | null | undefined;
|
4986
|
+
originalActionId?: string | null | undefined;
|
4879
4987
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
4880
4988
|
id: z.ZodString;
|
4989
|
+
transactionId: z.ZodString;
|
4881
4990
|
createdAt: z.ZodString;
|
4882
4991
|
createdBy: z.ZodString;
|
4883
|
-
|
4992
|
+
createdByRole: z.ZodString;
|
4993
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
4994
|
+
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<{
|
4884
4995
|
filename: z.ZodString;
|
4885
4996
|
originalFilename: z.ZodString;
|
4886
4997
|
type: z.ZodString;
|
@@ -4994,7 +5105,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
4994
5105
|
addressLine3?: string | null | undefined;
|
4995
5106
|
postcodeOrZip?: string | null | undefined;
|
4996
5107
|
}>]>>;
|
4997
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5108
|
+
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<{
|
4998
5109
|
filename: z.ZodString;
|
4999
5110
|
originalFilename: z.ZodString;
|
5000
5111
|
type: z.ZodString;
|
@@ -5107,19 +5218,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
5107
5218
|
addressLine2?: string | null | undefined;
|
5108
5219
|
addressLine3?: string | null | undefined;
|
5109
5220
|
postcodeOrZip?: string | null | undefined;
|
5110
|
-
}>]
|
5111
|
-
createdAtLocation: z.ZodString;
|
5221
|
+
}>]>>>>;
|
5112
5222
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5113
|
-
originalActionId: z.ZodOptional<z.ZodString
|
5223
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5114
5224
|
}, {
|
5115
5225
|
type: z.ZodLiteral<"UNASSIGN">;
|
5116
|
-
assignedTo: z.
|
5226
|
+
assignedTo: z.ZodLiteral<null>;
|
5117
5227
|
}>, "strip", z.ZodTypeAny, {
|
5118
5228
|
type: "UNASSIGN";
|
5119
5229
|
id: string;
|
5120
5230
|
status: "Rejected" | "Requested" | "Accepted";
|
5231
|
+
transactionId: string;
|
5121
5232
|
createdAt: string;
|
5122
5233
|
createdBy: string;
|
5234
|
+
createdByRole: string;
|
5123
5235
|
declaration: Record<string, string | number | boolean | {
|
5124
5236
|
type: string;
|
5125
5237
|
filename: string;
|
@@ -5157,9 +5269,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
5157
5269
|
option: string;
|
5158
5270
|
filename: string;
|
5159
5271
|
originalFilename: string;
|
5160
|
-
}[] | undefined>;
|
5161
|
-
createdAtLocation: string;
|
5272
|
+
}[] | [string, string] | undefined>;
|
5162
5273
|
assignedTo: null;
|
5274
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
5163
5275
|
annotation?: Record<string, string | number | boolean | {
|
5164
5276
|
type: string;
|
5165
5277
|
filename: string;
|
@@ -5197,14 +5309,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
5197
5309
|
option: string;
|
5198
5310
|
filename: string;
|
5199
5311
|
originalFilename: string;
|
5200
|
-
}[] | undefined> | undefined;
|
5201
|
-
originalActionId?: string | undefined;
|
5312
|
+
}[] | [string, string] | undefined> | null | undefined;
|
5313
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
5202
5314
|
}, {
|
5203
5315
|
type: "UNASSIGN";
|
5204
5316
|
id: string;
|
5205
5317
|
status: "Rejected" | "Requested" | "Accepted";
|
5318
|
+
transactionId: string;
|
5206
5319
|
createdAt: string;
|
5207
5320
|
createdBy: string;
|
5321
|
+
createdByRole: string;
|
5208
5322
|
declaration: Record<string, string | number | boolean | {
|
5209
5323
|
type: string;
|
5210
5324
|
filename: string;
|
@@ -5242,8 +5356,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
5242
5356
|
option: string;
|
5243
5357
|
filename: string;
|
5244
5358
|
originalFilename: string;
|
5245
|
-
}[] | undefined>;
|
5246
|
-
|
5359
|
+
}[] | [string, string] | undefined>;
|
5360
|
+
assignedTo: null;
|
5361
|
+
createdAtLocation?: string | null | undefined;
|
5247
5362
|
annotation?: Record<string, string | number | boolean | {
|
5248
5363
|
type: string;
|
5249
5364
|
filename: string;
|
@@ -5281,14 +5396,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
5281
5396
|
option: string;
|
5282
5397
|
filename: string;
|
5283
5398
|
originalFilename: string;
|
5284
|
-
}[] | undefined> | undefined;
|
5285
|
-
originalActionId?: string | undefined;
|
5286
|
-
assignedTo?: null | undefined;
|
5399
|
+
}[] | [string, string] | undefined> | null | undefined;
|
5400
|
+
originalActionId?: string | null | undefined;
|
5287
5401
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5288
5402
|
id: z.ZodString;
|
5403
|
+
transactionId: z.ZodString;
|
5289
5404
|
createdAt: z.ZodString;
|
5290
5405
|
createdBy: z.ZodString;
|
5291
|
-
|
5406
|
+
createdByRole: z.ZodString;
|
5407
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
5408
|
+
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<{
|
5292
5409
|
filename: z.ZodString;
|
5293
5410
|
originalFilename: z.ZodString;
|
5294
5411
|
type: z.ZodString;
|
@@ -5402,7 +5519,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5402
5519
|
addressLine3?: string | null | undefined;
|
5403
5520
|
postcodeOrZip?: string | null | undefined;
|
5404
5521
|
}>]>>;
|
5405
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5522
|
+
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<{
|
5406
5523
|
filename: z.ZodString;
|
5407
5524
|
originalFilename: z.ZodString;
|
5408
5525
|
type: z.ZodString;
|
@@ -5515,18 +5632,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
5515
5632
|
addressLine2?: string | null | undefined;
|
5516
5633
|
addressLine3?: string | null | undefined;
|
5517
5634
|
postcodeOrZip?: string | null | undefined;
|
5518
|
-
}>]
|
5519
|
-
createdAtLocation: z.ZodString;
|
5635
|
+
}>]>>>>;
|
5520
5636
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5521
|
-
originalActionId: z.ZodOptional<z.ZodString
|
5637
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5522
5638
|
}, {
|
5523
5639
|
type: z.ZodLiteral<"PRINT_CERTIFICATE">;
|
5524
5640
|
}>, "strip", z.ZodTypeAny, {
|
5525
5641
|
type: "PRINT_CERTIFICATE";
|
5526
5642
|
id: string;
|
5527
5643
|
status: "Rejected" | "Requested" | "Accepted";
|
5644
|
+
transactionId: string;
|
5528
5645
|
createdAt: string;
|
5529
5646
|
createdBy: string;
|
5647
|
+
createdByRole: string;
|
5530
5648
|
declaration: Record<string, string | number | boolean | {
|
5531
5649
|
type: string;
|
5532
5650
|
filename: string;
|
@@ -5564,8 +5682,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5564
5682
|
option: string;
|
5565
5683
|
filename: string;
|
5566
5684
|
originalFilename: string;
|
5567
|
-
}[] | undefined>;
|
5568
|
-
createdAtLocation
|
5685
|
+
}[] | [string, string] | undefined>;
|
5686
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
5569
5687
|
annotation?: Record<string, string | number | boolean | {
|
5570
5688
|
type: string;
|
5571
5689
|
filename: string;
|
@@ -5603,14 +5721,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
5603
5721
|
option: string;
|
5604
5722
|
filename: string;
|
5605
5723
|
originalFilename: string;
|
5606
|
-
}[] | undefined> | undefined;
|
5607
|
-
originalActionId?: string | undefined;
|
5724
|
+
}[] | [string, string] | undefined> | null | undefined;
|
5725
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
5608
5726
|
}, {
|
5609
5727
|
type: "PRINT_CERTIFICATE";
|
5610
5728
|
id: string;
|
5611
5729
|
status: "Rejected" | "Requested" | "Accepted";
|
5730
|
+
transactionId: string;
|
5612
5731
|
createdAt: string;
|
5613
5732
|
createdBy: string;
|
5733
|
+
createdByRole: string;
|
5614
5734
|
declaration: Record<string, string | number | boolean | {
|
5615
5735
|
type: string;
|
5616
5736
|
filename: string;
|
@@ -5648,8 +5768,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5648
5768
|
option: string;
|
5649
5769
|
filename: string;
|
5650
5770
|
originalFilename: string;
|
5651
|
-
}[] | undefined>;
|
5652
|
-
createdAtLocation
|
5771
|
+
}[] | [string, string] | undefined>;
|
5772
|
+
createdAtLocation?: string | null | undefined;
|
5653
5773
|
annotation?: Record<string, string | number | boolean | {
|
5654
5774
|
type: string;
|
5655
5775
|
filename: string;
|
@@ -5687,13 +5807,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
5687
5807
|
option: string;
|
5688
5808
|
filename: string;
|
5689
5809
|
originalFilename: string;
|
5690
|
-
}[] | undefined> | undefined;
|
5691
|
-
originalActionId?: string | undefined;
|
5810
|
+
}[] | [string, string] | undefined> | null | undefined;
|
5811
|
+
originalActionId?: string | null | undefined;
|
5692
5812
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
5693
5813
|
id: z.ZodString;
|
5814
|
+
transactionId: z.ZodString;
|
5694
5815
|
createdAt: z.ZodString;
|
5695
5816
|
createdBy: z.ZodString;
|
5696
|
-
|
5817
|
+
createdByRole: z.ZodString;
|
5818
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
5819
|
+
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<{
|
5697
5820
|
filename: z.ZodString;
|
5698
5821
|
originalFilename: z.ZodString;
|
5699
5822
|
type: z.ZodString;
|
@@ -5807,7 +5930,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
5807
5930
|
addressLine3?: string | null | undefined;
|
5808
5931
|
postcodeOrZip?: string | null | undefined;
|
5809
5932
|
}>]>>;
|
5810
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
5933
|
+
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<{
|
5811
5934
|
filename: z.ZodString;
|
5812
5935
|
originalFilename: z.ZodString;
|
5813
5936
|
type: z.ZodString;
|
@@ -5920,18 +6043,19 @@ export declare const EventDocument: z.ZodObject<{
|
|
5920
6043
|
addressLine2?: string | null | undefined;
|
5921
6044
|
addressLine3?: string | null | undefined;
|
5922
6045
|
postcodeOrZip?: string | null | undefined;
|
5923
|
-
}>]
|
5924
|
-
createdAtLocation: z.ZodString;
|
6046
|
+
}>]>>>>;
|
5925
6047
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
5926
|
-
originalActionId: z.ZodOptional<z.ZodString
|
6048
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
5927
6049
|
}, {
|
5928
6050
|
type: z.ZodLiteral<"READ">;
|
5929
6051
|
}>, "strip", z.ZodTypeAny, {
|
5930
6052
|
type: "READ";
|
5931
6053
|
id: string;
|
5932
6054
|
status: "Rejected" | "Requested" | "Accepted";
|
6055
|
+
transactionId: string;
|
5933
6056
|
createdAt: string;
|
5934
6057
|
createdBy: string;
|
6058
|
+
createdByRole: string;
|
5935
6059
|
declaration: Record<string, string | number | boolean | {
|
5936
6060
|
type: string;
|
5937
6061
|
filename: string;
|
@@ -5969,8 +6093,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
5969
6093
|
option: string;
|
5970
6094
|
filename: string;
|
5971
6095
|
originalFilename: string;
|
5972
|
-
}[] | undefined>;
|
5973
|
-
createdAtLocation
|
6096
|
+
}[] | [string, string] | undefined>;
|
6097
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
5974
6098
|
annotation?: Record<string, string | number | boolean | {
|
5975
6099
|
type: string;
|
5976
6100
|
filename: string;
|
@@ -6008,14 +6132,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6008
6132
|
option: string;
|
6009
6133
|
filename: string;
|
6010
6134
|
originalFilename: string;
|
6011
|
-
}[] | undefined> | undefined;
|
6012
|
-
originalActionId?: string | undefined;
|
6135
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6136
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6013
6137
|
}, {
|
6014
6138
|
type: "READ";
|
6015
6139
|
id: string;
|
6016
6140
|
status: "Rejected" | "Requested" | "Accepted";
|
6141
|
+
transactionId: string;
|
6017
6142
|
createdAt: string;
|
6018
6143
|
createdBy: string;
|
6144
|
+
createdByRole: string;
|
6019
6145
|
declaration: Record<string, string | number | boolean | {
|
6020
6146
|
type: string;
|
6021
6147
|
filename: string;
|
@@ -6053,8 +6179,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6053
6179
|
option: string;
|
6054
6180
|
filename: string;
|
6055
6181
|
originalFilename: string;
|
6056
|
-
}[] | undefined>;
|
6057
|
-
createdAtLocation
|
6182
|
+
}[] | [string, string] | undefined>;
|
6183
|
+
createdAtLocation?: string | null | undefined;
|
6058
6184
|
annotation?: Record<string, string | number | boolean | {
|
6059
6185
|
type: string;
|
6060
6186
|
filename: string;
|
@@ -6092,13 +6218,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6092
6218
|
option: string;
|
6093
6219
|
filename: string;
|
6094
6220
|
originalFilename: string;
|
6095
|
-
}[] | undefined> | undefined;
|
6096
|
-
originalActionId?: string | undefined;
|
6221
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6222
|
+
originalActionId?: string | null | undefined;
|
6097
6223
|
}>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
6098
6224
|
id: z.ZodString;
|
6225
|
+
transactionId: z.ZodString;
|
6099
6226
|
createdAt: z.ZodString;
|
6100
6227
|
createdBy: z.ZodString;
|
6101
|
-
|
6228
|
+
createdByRole: z.ZodString;
|
6229
|
+
createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
|
6230
|
+
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<{
|
6102
6231
|
filename: z.ZodString;
|
6103
6232
|
originalFilename: z.ZodString;
|
6104
6233
|
type: z.ZodString;
|
@@ -6212,7 +6341,7 @@ export declare const EventDocument: z.ZodObject<{
|
|
6212
6341
|
addressLine3?: string | null | undefined;
|
6213
6342
|
postcodeOrZip?: string | null | undefined;
|
6214
6343
|
}>]>>;
|
6215
|
-
annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
|
6344
|
+
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<{
|
6216
6345
|
filename: z.ZodString;
|
6217
6346
|
originalFilename: z.ZodString;
|
6218
6347
|
type: z.ZodString;
|
@@ -6325,38 +6454,47 @@ export declare const EventDocument: z.ZodObject<{
|
|
6325
6454
|
addressLine2?: string | null | undefined;
|
6326
6455
|
addressLine3?: string | null | undefined;
|
6327
6456
|
postcodeOrZip?: string | null | undefined;
|
6328
|
-
}>]
|
6329
|
-
createdAtLocation: z.ZodString;
|
6457
|
+
}>]>>>>;
|
6330
6458
|
status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
|
6331
|
-
originalActionId: z.ZodOptional<z.ZodString
|
6332
|
-
}, "
|
6459
|
+
originalActionId: z.ZodNullable<z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>>;
|
6460
|
+
}, "declaration" | "annotation">, {
|
6333
6461
|
type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
|
6334
6462
|
status: z.ZodLiteral<"Rejected">;
|
6335
6463
|
}>, "strip", z.ZodTypeAny, {
|
6336
6464
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6337
6465
|
id: string;
|
6338
6466
|
status: "Rejected";
|
6467
|
+
transactionId: string;
|
6339
6468
|
createdAt: string;
|
6340
|
-
|
6469
|
+
createdBy: string;
|
6470
|
+
createdByRole: string;
|
6471
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6472
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6341
6473
|
}, {
|
6342
6474
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
6343
6475
|
id: string;
|
6344
6476
|
status: "Rejected";
|
6477
|
+
transactionId: string;
|
6345
6478
|
createdAt: string;
|
6346
|
-
|
6479
|
+
createdBy: string;
|
6480
|
+
createdByRole: string;
|
6481
|
+
createdAtLocation?: string | null | undefined;
|
6482
|
+
originalActionId?: string | null | undefined;
|
6347
6483
|
}>]>, "many">;
|
6348
6484
|
trackingId: z.ZodString;
|
6349
6485
|
}, "strip", z.ZodTypeAny, {
|
6350
6486
|
type: string;
|
6351
|
-
id: string
|
6487
|
+
id: string & z.BRAND<"UUID">;
|
6352
6488
|
createdAt: string;
|
6353
6489
|
updatedAt: string;
|
6354
6490
|
actions: ({
|
6355
6491
|
type: "ASSIGN";
|
6356
6492
|
id: string;
|
6357
6493
|
status: "Rejected" | "Requested" | "Accepted";
|
6494
|
+
transactionId: string;
|
6358
6495
|
createdAt: string;
|
6359
6496
|
createdBy: string;
|
6497
|
+
createdByRole: string;
|
6360
6498
|
declaration: Record<string, string | number | boolean | {
|
6361
6499
|
type: string;
|
6362
6500
|
filename: string;
|
@@ -6394,9 +6532,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6394
6532
|
option: string;
|
6395
6533
|
filename: string;
|
6396
6534
|
originalFilename: string;
|
6397
|
-
}[] | undefined>;
|
6398
|
-
createdAtLocation: string;
|
6535
|
+
}[] | [string, string] | undefined>;
|
6399
6536
|
assignedTo: string;
|
6537
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6400
6538
|
annotation?: Record<string, string | number | boolean | {
|
6401
6539
|
type: string;
|
6402
6540
|
filename: string;
|
@@ -6434,14 +6572,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6434
6572
|
option: string;
|
6435
6573
|
filename: string;
|
6436
6574
|
originalFilename: string;
|
6437
|
-
}[] | undefined> | undefined;
|
6438
|
-
originalActionId?: string | undefined;
|
6575
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6576
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6439
6577
|
} | {
|
6440
6578
|
type: "UNASSIGN";
|
6441
6579
|
id: string;
|
6442
6580
|
status: "Rejected" | "Requested" | "Accepted";
|
6581
|
+
transactionId: string;
|
6443
6582
|
createdAt: string;
|
6444
6583
|
createdBy: string;
|
6584
|
+
createdByRole: string;
|
6445
6585
|
declaration: Record<string, string | number | boolean | {
|
6446
6586
|
type: string;
|
6447
6587
|
filename: string;
|
@@ -6479,9 +6619,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
6479
6619
|
option: string;
|
6480
6620
|
filename: string;
|
6481
6621
|
originalFilename: string;
|
6482
|
-
}[] | undefined>;
|
6483
|
-
createdAtLocation: string;
|
6622
|
+
}[] | [string, string] | undefined>;
|
6484
6623
|
assignedTo: null;
|
6624
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6485
6625
|
annotation?: Record<string, string | number | boolean | {
|
6486
6626
|
type: string;
|
6487
6627
|
filename: string;
|
@@ -6519,14 +6659,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6519
6659
|
option: string;
|
6520
6660
|
filename: string;
|
6521
6661
|
originalFilename: string;
|
6522
|
-
}[] | undefined> | undefined;
|
6523
|
-
originalActionId?: string | undefined;
|
6662
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6663
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6524
6664
|
} | {
|
6525
6665
|
type: "REGISTER";
|
6526
6666
|
id: string;
|
6527
6667
|
status: "Rejected" | "Requested" | "Accepted";
|
6668
|
+
transactionId: string;
|
6528
6669
|
createdAt: string;
|
6529
6670
|
createdBy: string;
|
6671
|
+
createdByRole: string;
|
6530
6672
|
declaration: Record<string, string | number | boolean | {
|
6531
6673
|
type: string;
|
6532
6674
|
filename: string;
|
@@ -6564,8 +6706,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6564
6706
|
option: string;
|
6565
6707
|
filename: string;
|
6566
6708
|
originalFilename: string;
|
6567
|
-
}[] | undefined>;
|
6568
|
-
createdAtLocation
|
6709
|
+
}[] | [string, string] | undefined>;
|
6710
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6569
6711
|
annotation?: Record<string, string | number | boolean | {
|
6570
6712
|
type: string;
|
6571
6713
|
filename: string;
|
@@ -6603,15 +6745,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
6603
6745
|
option: string;
|
6604
6746
|
filename: string;
|
6605
6747
|
originalFilename: string;
|
6606
|
-
}[] | undefined> | undefined;
|
6607
|
-
originalActionId?: string | undefined;
|
6748
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6749
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6608
6750
|
registrationNumber?: string | undefined;
|
6609
6751
|
} | {
|
6610
6752
|
type: "DECLARE";
|
6611
6753
|
id: string;
|
6612
6754
|
status: "Rejected" | "Requested" | "Accepted";
|
6755
|
+
transactionId: string;
|
6613
6756
|
createdAt: string;
|
6614
6757
|
createdBy: string;
|
6758
|
+
createdByRole: string;
|
6615
6759
|
declaration: Record<string, string | number | boolean | {
|
6616
6760
|
type: string;
|
6617
6761
|
filename: string;
|
@@ -6649,8 +6793,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6649
6793
|
option: string;
|
6650
6794
|
filename: string;
|
6651
6795
|
originalFilename: string;
|
6652
|
-
}[] | undefined>;
|
6653
|
-
createdAtLocation
|
6796
|
+
}[] | [string, string] | undefined>;
|
6797
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6654
6798
|
annotation?: Record<string, string | number | boolean | {
|
6655
6799
|
type: string;
|
6656
6800
|
filename: string;
|
@@ -6688,14 +6832,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6688
6832
|
option: string;
|
6689
6833
|
filename: string;
|
6690
6834
|
originalFilename: string;
|
6691
|
-
}[] | undefined> | undefined;
|
6692
|
-
originalActionId?: string | undefined;
|
6835
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6836
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6693
6837
|
} | {
|
6694
6838
|
type: "VALIDATE";
|
6695
6839
|
id: string;
|
6696
6840
|
status: "Rejected" | "Requested" | "Accepted";
|
6841
|
+
transactionId: string;
|
6697
6842
|
createdAt: string;
|
6698
6843
|
createdBy: string;
|
6844
|
+
createdByRole: string;
|
6699
6845
|
declaration: Record<string, string | number | boolean | {
|
6700
6846
|
type: string;
|
6701
6847
|
filename: string;
|
@@ -6733,8 +6879,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6733
6879
|
option: string;
|
6734
6880
|
filename: string;
|
6735
6881
|
originalFilename: string;
|
6736
|
-
}[] | undefined>;
|
6737
|
-
createdAtLocation
|
6882
|
+
}[] | [string, string] | undefined>;
|
6883
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6738
6884
|
annotation?: Record<string, string | number | boolean | {
|
6739
6885
|
type: string;
|
6740
6886
|
filename: string;
|
@@ -6772,14 +6918,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
6772
6918
|
option: string;
|
6773
6919
|
filename: string;
|
6774
6920
|
originalFilename: string;
|
6775
|
-
}[] | undefined> | undefined;
|
6776
|
-
originalActionId?: string | undefined;
|
6921
|
+
}[] | [string, string] | undefined> | null | undefined;
|
6922
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6777
6923
|
} | {
|
6778
6924
|
type: "REJECT";
|
6779
6925
|
id: string;
|
6780
6926
|
status: "Rejected" | "Requested" | "Accepted";
|
6927
|
+
reason: {
|
6928
|
+
message: string;
|
6929
|
+
isDuplicate?: boolean | undefined;
|
6930
|
+
};
|
6931
|
+
transactionId: string;
|
6781
6932
|
createdAt: string;
|
6782
6933
|
createdBy: string;
|
6934
|
+
createdByRole: string;
|
6783
6935
|
declaration: Record<string, string | number | boolean | {
|
6784
6936
|
type: string;
|
6785
6937
|
filename: string;
|
@@ -6817,8 +6969,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6817
6969
|
option: string;
|
6818
6970
|
filename: string;
|
6819
6971
|
originalFilename: string;
|
6820
|
-
}[] | undefined>;
|
6821
|
-
createdAtLocation
|
6972
|
+
}[] | [string, string] | undefined>;
|
6973
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6822
6974
|
annotation?: Record<string, string | number | boolean | {
|
6823
6975
|
type: string;
|
6824
6976
|
filename: string;
|
@@ -6856,14 +7008,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
6856
7008
|
option: string;
|
6857
7009
|
filename: string;
|
6858
7010
|
originalFilename: string;
|
6859
|
-
}[] | undefined> | undefined;
|
6860
|
-
originalActionId?: string | undefined;
|
7011
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7012
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6861
7013
|
} | {
|
6862
7014
|
type: "MARKED_AS_DUPLICATE";
|
6863
7015
|
id: string;
|
6864
7016
|
status: "Rejected" | "Requested" | "Accepted";
|
7017
|
+
transactionId: string;
|
6865
7018
|
createdAt: string;
|
6866
7019
|
createdBy: string;
|
7020
|
+
createdByRole: string;
|
6867
7021
|
declaration: Record<string, string | number | boolean | {
|
6868
7022
|
type: string;
|
6869
7023
|
filename: string;
|
@@ -6901,8 +7055,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6901
7055
|
option: string;
|
6902
7056
|
filename: string;
|
6903
7057
|
originalFilename: string;
|
6904
|
-
}[] | undefined>;
|
6905
|
-
createdAtLocation
|
7058
|
+
}[] | [string, string] | undefined>;
|
7059
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6906
7060
|
annotation?: Record<string, string | number | boolean | {
|
6907
7061
|
type: string;
|
6908
7062
|
filename: string;
|
@@ -6940,14 +7094,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
6940
7094
|
option: string;
|
6941
7095
|
filename: string;
|
6942
7096
|
originalFilename: string;
|
6943
|
-
}[] | undefined> | undefined;
|
6944
|
-
originalActionId?: string | undefined;
|
7097
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7098
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
6945
7099
|
} | {
|
6946
7100
|
type: "ARCHIVE";
|
6947
7101
|
id: string;
|
6948
7102
|
status: "Rejected" | "Requested" | "Accepted";
|
7103
|
+
reason: {
|
7104
|
+
message: string;
|
7105
|
+
isDuplicate?: boolean | undefined;
|
7106
|
+
};
|
7107
|
+
transactionId: string;
|
6949
7108
|
createdAt: string;
|
6950
7109
|
createdBy: string;
|
7110
|
+
createdByRole: string;
|
6951
7111
|
declaration: Record<string, string | number | boolean | {
|
6952
7112
|
type: string;
|
6953
7113
|
filename: string;
|
@@ -6985,8 +7145,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
6985
7145
|
option: string;
|
6986
7146
|
filename: string;
|
6987
7147
|
originalFilename: string;
|
6988
|
-
}[] | undefined>;
|
6989
|
-
createdAtLocation
|
7148
|
+
}[] | [string, string] | undefined>;
|
7149
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
6990
7150
|
annotation?: Record<string, string | number | boolean | {
|
6991
7151
|
type: string;
|
6992
7152
|
filename: string;
|
@@ -7024,14 +7184,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7024
7184
|
option: string;
|
7025
7185
|
filename: string;
|
7026
7186
|
originalFilename: string;
|
7027
|
-
}[] | undefined> | undefined;
|
7028
|
-
originalActionId?: string | undefined;
|
7187
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7188
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7029
7189
|
} | {
|
7030
7190
|
type: "CREATE";
|
7031
7191
|
id: string;
|
7032
7192
|
status: "Rejected" | "Requested" | "Accepted";
|
7193
|
+
transactionId: string;
|
7033
7194
|
createdAt: string;
|
7034
7195
|
createdBy: string;
|
7196
|
+
createdByRole: string;
|
7035
7197
|
declaration: Record<string, string | number | boolean | {
|
7036
7198
|
type: string;
|
7037
7199
|
filename: string;
|
@@ -7069,8 +7231,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7069
7231
|
option: string;
|
7070
7232
|
filename: string;
|
7071
7233
|
originalFilename: string;
|
7072
|
-
}[] | undefined>;
|
7073
|
-
createdAtLocation
|
7234
|
+
}[] | [string, string] | undefined>;
|
7235
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7074
7236
|
annotation?: Record<string, string | number | boolean | {
|
7075
7237
|
type: string;
|
7076
7238
|
filename: string;
|
@@ -7108,14 +7270,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7108
7270
|
option: string;
|
7109
7271
|
filename: string;
|
7110
7272
|
originalFilename: string;
|
7111
|
-
}[] | undefined> | undefined;
|
7112
|
-
originalActionId?: string | undefined;
|
7273
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7274
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7113
7275
|
} | {
|
7114
7276
|
type: "NOTIFY";
|
7115
7277
|
id: string;
|
7116
7278
|
status: "Rejected" | "Requested" | "Accepted";
|
7279
|
+
transactionId: string;
|
7117
7280
|
createdAt: string;
|
7118
7281
|
createdBy: string;
|
7282
|
+
createdByRole: string;
|
7119
7283
|
declaration: Record<string, string | number | boolean | {
|
7120
7284
|
type: string;
|
7121
7285
|
filename: string;
|
@@ -7153,8 +7317,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7153
7317
|
option: string;
|
7154
7318
|
filename: string;
|
7155
7319
|
originalFilename: string;
|
7156
|
-
}[] | undefined>;
|
7157
|
-
createdAtLocation
|
7320
|
+
}[] | [string, string] | undefined>;
|
7321
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7158
7322
|
annotation?: Record<string, string | number | boolean | {
|
7159
7323
|
type: string;
|
7160
7324
|
filename: string;
|
@@ -7192,14 +7356,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7192
7356
|
option: string;
|
7193
7357
|
filename: string;
|
7194
7358
|
originalFilename: string;
|
7195
|
-
}[] | undefined> | undefined;
|
7196
|
-
originalActionId?: string | undefined;
|
7359
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7360
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7197
7361
|
} | {
|
7198
7362
|
type: "PRINT_CERTIFICATE";
|
7199
7363
|
id: string;
|
7200
7364
|
status: "Rejected" | "Requested" | "Accepted";
|
7365
|
+
transactionId: string;
|
7201
7366
|
createdAt: string;
|
7202
7367
|
createdBy: string;
|
7368
|
+
createdByRole: string;
|
7203
7369
|
declaration: Record<string, string | number | boolean | {
|
7204
7370
|
type: string;
|
7205
7371
|
filename: string;
|
@@ -7237,8 +7403,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7237
7403
|
option: string;
|
7238
7404
|
filename: string;
|
7239
7405
|
originalFilename: string;
|
7240
|
-
}[] | undefined>;
|
7241
|
-
createdAtLocation
|
7406
|
+
}[] | [string, string] | undefined>;
|
7407
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7242
7408
|
annotation?: Record<string, string | number | boolean | {
|
7243
7409
|
type: string;
|
7244
7410
|
filename: string;
|
@@ -7276,14 +7442,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7276
7442
|
option: string;
|
7277
7443
|
filename: string;
|
7278
7444
|
originalFilename: string;
|
7279
|
-
}[] | undefined> | undefined;
|
7280
|
-
originalActionId?: string | undefined;
|
7445
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7446
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7281
7447
|
} | {
|
7282
7448
|
type: "REQUEST_CORRECTION";
|
7283
7449
|
id: string;
|
7284
7450
|
status: "Rejected" | "Requested" | "Accepted";
|
7451
|
+
transactionId: string;
|
7285
7452
|
createdAt: string;
|
7286
7453
|
createdBy: string;
|
7454
|
+
createdByRole: string;
|
7287
7455
|
declaration: Record<string, string | number | boolean | {
|
7288
7456
|
type: string;
|
7289
7457
|
filename: string;
|
@@ -7321,8 +7489,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7321
7489
|
option: string;
|
7322
7490
|
filename: string;
|
7323
7491
|
originalFilename: string;
|
7324
|
-
}[] | undefined>;
|
7325
|
-
createdAtLocation
|
7492
|
+
}[] | [string, string] | undefined>;
|
7493
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7326
7494
|
annotation?: Record<string, string | number | boolean | {
|
7327
7495
|
type: string;
|
7328
7496
|
filename: string;
|
@@ -7360,14 +7528,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7360
7528
|
option: string;
|
7361
7529
|
filename: string;
|
7362
7530
|
originalFilename: string;
|
7363
|
-
}[] | undefined> | undefined;
|
7364
|
-
originalActionId?: string | undefined;
|
7531
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7532
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7365
7533
|
} | {
|
7366
7534
|
type: "APPROVE_CORRECTION";
|
7367
7535
|
id: string;
|
7368
7536
|
status: "Rejected" | "Requested" | "Accepted";
|
7537
|
+
transactionId: string;
|
7369
7538
|
createdAt: string;
|
7370
7539
|
createdBy: string;
|
7540
|
+
createdByRole: string;
|
7371
7541
|
declaration: Record<string, string | number | boolean | {
|
7372
7542
|
type: string;
|
7373
7543
|
filename: string;
|
@@ -7405,9 +7575,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7405
7575
|
option: string;
|
7406
7576
|
filename: string;
|
7407
7577
|
originalFilename: string;
|
7408
|
-
}[] | undefined>;
|
7409
|
-
createdAtLocation: string;
|
7578
|
+
}[] | [string, string] | undefined>;
|
7410
7579
|
requestId: string;
|
7580
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7411
7581
|
annotation?: Record<string, string | number | boolean | {
|
7412
7582
|
type: string;
|
7413
7583
|
filename: string;
|
@@ -7445,14 +7615,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7445
7615
|
option: string;
|
7446
7616
|
filename: string;
|
7447
7617
|
originalFilename: string;
|
7448
|
-
}[] | undefined> | undefined;
|
7449
|
-
originalActionId?: string | undefined;
|
7618
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7619
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7450
7620
|
} | {
|
7451
7621
|
type: "REJECT_CORRECTION";
|
7452
7622
|
id: string;
|
7453
7623
|
status: "Rejected" | "Requested" | "Accepted";
|
7624
|
+
transactionId: string;
|
7454
7625
|
createdAt: string;
|
7455
7626
|
createdBy: string;
|
7627
|
+
createdByRole: string;
|
7456
7628
|
declaration: Record<string, string | number | boolean | {
|
7457
7629
|
type: string;
|
7458
7630
|
filename: string;
|
@@ -7490,9 +7662,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7490
7662
|
option: string;
|
7491
7663
|
filename: string;
|
7492
7664
|
originalFilename: string;
|
7493
|
-
}[] | undefined>;
|
7494
|
-
createdAtLocation: string;
|
7665
|
+
}[] | [string, string] | undefined>;
|
7495
7666
|
requestId: string;
|
7667
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7496
7668
|
annotation?: Record<string, string | number | boolean | {
|
7497
7669
|
type: string;
|
7498
7670
|
filename: string;
|
@@ -7530,14 +7702,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7530
7702
|
option: string;
|
7531
7703
|
filename: string;
|
7532
7704
|
originalFilename: string;
|
7533
|
-
}[] | undefined> | undefined;
|
7534
|
-
originalActionId?: string | undefined;
|
7705
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7706
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7535
7707
|
} | {
|
7536
7708
|
type: "READ";
|
7537
7709
|
id: string;
|
7538
7710
|
status: "Rejected" | "Requested" | "Accepted";
|
7711
|
+
transactionId: string;
|
7539
7712
|
createdAt: string;
|
7540
7713
|
createdBy: string;
|
7714
|
+
createdByRole: string;
|
7541
7715
|
declaration: Record<string, string | number | boolean | {
|
7542
7716
|
type: string;
|
7543
7717
|
filename: string;
|
@@ -7575,8 +7749,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7575
7749
|
option: string;
|
7576
7750
|
filename: string;
|
7577
7751
|
originalFilename: string;
|
7578
|
-
}[] | undefined>;
|
7579
|
-
createdAtLocation
|
7752
|
+
}[] | [string, string] | undefined>;
|
7753
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7580
7754
|
annotation?: Record<string, string | number | boolean | {
|
7581
7755
|
type: string;
|
7582
7756
|
filename: string;
|
@@ -7614,14 +7788,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
7614
7788
|
option: string;
|
7615
7789
|
filename: string;
|
7616
7790
|
originalFilename: string;
|
7617
|
-
}[] | undefined> | undefined;
|
7618
|
-
originalActionId?: string | undefined;
|
7791
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7792
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7619
7793
|
} | {
|
7620
7794
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
7621
7795
|
id: string;
|
7622
7796
|
status: "Rejected";
|
7797
|
+
transactionId: string;
|
7623
7798
|
createdAt: string;
|
7624
|
-
|
7799
|
+
createdBy: string;
|
7800
|
+
createdByRole: string;
|
7801
|
+
createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
|
7802
|
+
originalActionId?: (string & z.BRAND<"UUID">) | null | undefined;
|
7625
7803
|
})[];
|
7626
7804
|
trackingId: string;
|
7627
7805
|
}, {
|
@@ -7633,8 +7811,10 @@ export declare const EventDocument: z.ZodObject<{
|
|
7633
7811
|
type: "ASSIGN";
|
7634
7812
|
id: string;
|
7635
7813
|
status: "Rejected" | "Requested" | "Accepted";
|
7814
|
+
transactionId: string;
|
7636
7815
|
createdAt: string;
|
7637
7816
|
createdBy: string;
|
7817
|
+
createdByRole: string;
|
7638
7818
|
declaration: Record<string, string | number | boolean | {
|
7639
7819
|
type: string;
|
7640
7820
|
filename: string;
|
@@ -7672,9 +7852,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7672
7852
|
option: string;
|
7673
7853
|
filename: string;
|
7674
7854
|
originalFilename: string;
|
7675
|
-
}[] | undefined>;
|
7676
|
-
createdAtLocation: string;
|
7855
|
+
}[] | [string, string] | undefined>;
|
7677
7856
|
assignedTo: string;
|
7857
|
+
createdAtLocation?: string | null | undefined;
|
7678
7858
|
annotation?: Record<string, string | number | boolean | {
|
7679
7859
|
type: string;
|
7680
7860
|
filename: string;
|
@@ -7712,14 +7892,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7712
7892
|
option: string;
|
7713
7893
|
filename: string;
|
7714
7894
|
originalFilename: string;
|
7715
|
-
}[] | undefined> | undefined;
|
7716
|
-
originalActionId?: string | undefined;
|
7895
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7896
|
+
originalActionId?: string | null | undefined;
|
7717
7897
|
} | {
|
7718
7898
|
type: "UNASSIGN";
|
7719
7899
|
id: string;
|
7720
7900
|
status: "Rejected" | "Requested" | "Accepted";
|
7901
|
+
transactionId: string;
|
7721
7902
|
createdAt: string;
|
7722
7903
|
createdBy: string;
|
7904
|
+
createdByRole: string;
|
7723
7905
|
declaration: Record<string, string | number | boolean | {
|
7724
7906
|
type: string;
|
7725
7907
|
filename: string;
|
@@ -7757,8 +7939,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
7757
7939
|
option: string;
|
7758
7940
|
filename: string;
|
7759
7941
|
originalFilename: string;
|
7760
|
-
}[] | undefined>;
|
7761
|
-
|
7942
|
+
}[] | [string, string] | undefined>;
|
7943
|
+
assignedTo: null;
|
7944
|
+
createdAtLocation?: string | null | undefined;
|
7762
7945
|
annotation?: Record<string, string | number | boolean | {
|
7763
7946
|
type: string;
|
7764
7947
|
filename: string;
|
@@ -7796,15 +7979,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7796
7979
|
option: string;
|
7797
7980
|
filename: string;
|
7798
7981
|
originalFilename: string;
|
7799
|
-
}[] | undefined> | undefined;
|
7800
|
-
originalActionId?: string | undefined;
|
7801
|
-
assignedTo?: null | undefined;
|
7982
|
+
}[] | [string, string] | undefined> | null | undefined;
|
7983
|
+
originalActionId?: string | null | undefined;
|
7802
7984
|
} | {
|
7803
7985
|
type: "REGISTER";
|
7804
7986
|
id: string;
|
7805
7987
|
status: "Rejected" | "Requested" | "Accepted";
|
7988
|
+
transactionId: string;
|
7806
7989
|
createdAt: string;
|
7807
7990
|
createdBy: string;
|
7991
|
+
createdByRole: string;
|
7808
7992
|
declaration: Record<string, string | number | boolean | {
|
7809
7993
|
type: string;
|
7810
7994
|
filename: string;
|
@@ -7842,8 +8026,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7842
8026
|
option: string;
|
7843
8027
|
filename: string;
|
7844
8028
|
originalFilename: string;
|
7845
|
-
}[] | undefined>;
|
7846
|
-
createdAtLocation
|
8029
|
+
}[] | [string, string] | undefined>;
|
8030
|
+
createdAtLocation?: string | null | undefined;
|
7847
8031
|
annotation?: Record<string, string | number | boolean | {
|
7848
8032
|
type: string;
|
7849
8033
|
filename: string;
|
@@ -7881,15 +8065,17 @@ export declare const EventDocument: z.ZodObject<{
|
|
7881
8065
|
option: string;
|
7882
8066
|
filename: string;
|
7883
8067
|
originalFilename: string;
|
7884
|
-
}[] | undefined> | undefined;
|
7885
|
-
originalActionId?: string | undefined;
|
8068
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8069
|
+
originalActionId?: string | null | undefined;
|
7886
8070
|
registrationNumber?: string | undefined;
|
7887
8071
|
} | {
|
7888
8072
|
type: "DECLARE";
|
7889
8073
|
id: string;
|
7890
8074
|
status: "Rejected" | "Requested" | "Accepted";
|
8075
|
+
transactionId: string;
|
7891
8076
|
createdAt: string;
|
7892
8077
|
createdBy: string;
|
8078
|
+
createdByRole: string;
|
7893
8079
|
declaration: Record<string, string | number | boolean | {
|
7894
8080
|
type: string;
|
7895
8081
|
filename: string;
|
@@ -7927,8 +8113,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
7927
8113
|
option: string;
|
7928
8114
|
filename: string;
|
7929
8115
|
originalFilename: string;
|
7930
|
-
}[] | undefined>;
|
7931
|
-
createdAtLocation
|
8116
|
+
}[] | [string, string] | undefined>;
|
8117
|
+
createdAtLocation?: string | null | undefined;
|
7932
8118
|
annotation?: Record<string, string | number | boolean | {
|
7933
8119
|
type: string;
|
7934
8120
|
filename: string;
|
@@ -7966,14 +8152,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
7966
8152
|
option: string;
|
7967
8153
|
filename: string;
|
7968
8154
|
originalFilename: string;
|
7969
|
-
}[] | undefined> | undefined;
|
7970
|
-
originalActionId?: string | undefined;
|
8155
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8156
|
+
originalActionId?: string | null | undefined;
|
7971
8157
|
} | {
|
7972
8158
|
type: "VALIDATE";
|
7973
8159
|
id: string;
|
7974
8160
|
status: "Rejected" | "Requested" | "Accepted";
|
8161
|
+
transactionId: string;
|
7975
8162
|
createdAt: string;
|
7976
8163
|
createdBy: string;
|
8164
|
+
createdByRole: string;
|
7977
8165
|
declaration: Record<string, string | number | boolean | {
|
7978
8166
|
type: string;
|
7979
8167
|
filename: string;
|
@@ -8011,8 +8199,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8011
8199
|
option: string;
|
8012
8200
|
filename: string;
|
8013
8201
|
originalFilename: string;
|
8014
|
-
}[] | undefined>;
|
8015
|
-
createdAtLocation
|
8202
|
+
}[] | [string, string] | undefined>;
|
8203
|
+
createdAtLocation?: string | null | undefined;
|
8016
8204
|
annotation?: Record<string, string | number | boolean | {
|
8017
8205
|
type: string;
|
8018
8206
|
filename: string;
|
@@ -8050,14 +8238,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
8050
8238
|
option: string;
|
8051
8239
|
filename: string;
|
8052
8240
|
originalFilename: string;
|
8053
|
-
}[] | undefined> | undefined;
|
8054
|
-
originalActionId?: string | undefined;
|
8241
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8242
|
+
originalActionId?: string | null | undefined;
|
8055
8243
|
} | {
|
8056
8244
|
type: "REJECT";
|
8057
8245
|
id: string;
|
8058
8246
|
status: "Rejected" | "Requested" | "Accepted";
|
8247
|
+
reason: {
|
8248
|
+
message: string;
|
8249
|
+
isDuplicate?: boolean | undefined;
|
8250
|
+
};
|
8251
|
+
transactionId: string;
|
8059
8252
|
createdAt: string;
|
8060
8253
|
createdBy: string;
|
8254
|
+
createdByRole: string;
|
8061
8255
|
declaration: Record<string, string | number | boolean | {
|
8062
8256
|
type: string;
|
8063
8257
|
filename: string;
|
@@ -8095,8 +8289,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8095
8289
|
option: string;
|
8096
8290
|
filename: string;
|
8097
8291
|
originalFilename: string;
|
8098
|
-
}[] | undefined>;
|
8099
|
-
createdAtLocation
|
8292
|
+
}[] | [string, string] | undefined>;
|
8293
|
+
createdAtLocation?: string | null | undefined;
|
8100
8294
|
annotation?: Record<string, string | number | boolean | {
|
8101
8295
|
type: string;
|
8102
8296
|
filename: string;
|
@@ -8134,14 +8328,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8134
8328
|
option: string;
|
8135
8329
|
filename: string;
|
8136
8330
|
originalFilename: string;
|
8137
|
-
}[] | undefined> | undefined;
|
8138
|
-
originalActionId?: string | undefined;
|
8331
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8332
|
+
originalActionId?: string | null | undefined;
|
8139
8333
|
} | {
|
8140
8334
|
type: "MARKED_AS_DUPLICATE";
|
8141
8335
|
id: string;
|
8142
8336
|
status: "Rejected" | "Requested" | "Accepted";
|
8337
|
+
transactionId: string;
|
8143
8338
|
createdAt: string;
|
8144
8339
|
createdBy: string;
|
8340
|
+
createdByRole: string;
|
8145
8341
|
declaration: Record<string, string | number | boolean | {
|
8146
8342
|
type: string;
|
8147
8343
|
filename: string;
|
@@ -8179,8 +8375,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8179
8375
|
option: string;
|
8180
8376
|
filename: string;
|
8181
8377
|
originalFilename: string;
|
8182
|
-
}[] | undefined>;
|
8183
|
-
createdAtLocation
|
8378
|
+
}[] | [string, string] | undefined>;
|
8379
|
+
createdAtLocation?: string | null | undefined;
|
8184
8380
|
annotation?: Record<string, string | number | boolean | {
|
8185
8381
|
type: string;
|
8186
8382
|
filename: string;
|
@@ -8218,14 +8414,20 @@ export declare const EventDocument: z.ZodObject<{
|
|
8218
8414
|
option: string;
|
8219
8415
|
filename: string;
|
8220
8416
|
originalFilename: string;
|
8221
|
-
}[] | undefined> | undefined;
|
8222
|
-
originalActionId?: string | undefined;
|
8417
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8418
|
+
originalActionId?: string | null | undefined;
|
8223
8419
|
} | {
|
8224
8420
|
type: "ARCHIVE";
|
8225
8421
|
id: string;
|
8226
8422
|
status: "Rejected" | "Requested" | "Accepted";
|
8423
|
+
reason: {
|
8424
|
+
message: string;
|
8425
|
+
isDuplicate?: boolean | undefined;
|
8426
|
+
};
|
8427
|
+
transactionId: string;
|
8227
8428
|
createdAt: string;
|
8228
8429
|
createdBy: string;
|
8430
|
+
createdByRole: string;
|
8229
8431
|
declaration: Record<string, string | number | boolean | {
|
8230
8432
|
type: string;
|
8231
8433
|
filename: string;
|
@@ -8263,8 +8465,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8263
8465
|
option: string;
|
8264
8466
|
filename: string;
|
8265
8467
|
originalFilename: string;
|
8266
|
-
}[] | undefined>;
|
8267
|
-
createdAtLocation
|
8468
|
+
}[] | [string, string] | undefined>;
|
8469
|
+
createdAtLocation?: string | null | undefined;
|
8268
8470
|
annotation?: Record<string, string | number | boolean | {
|
8269
8471
|
type: string;
|
8270
8472
|
filename: string;
|
@@ -8302,14 +8504,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8302
8504
|
option: string;
|
8303
8505
|
filename: string;
|
8304
8506
|
originalFilename: string;
|
8305
|
-
}[] | undefined> | undefined;
|
8306
|
-
originalActionId?: string | undefined;
|
8507
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8508
|
+
originalActionId?: string | null | undefined;
|
8307
8509
|
} | {
|
8308
8510
|
type: "CREATE";
|
8309
8511
|
id: string;
|
8310
8512
|
status: "Rejected" | "Requested" | "Accepted";
|
8513
|
+
transactionId: string;
|
8311
8514
|
createdAt: string;
|
8312
8515
|
createdBy: string;
|
8516
|
+
createdByRole: string;
|
8313
8517
|
declaration: Record<string, string | number | boolean | {
|
8314
8518
|
type: string;
|
8315
8519
|
filename: string;
|
@@ -8347,8 +8551,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8347
8551
|
option: string;
|
8348
8552
|
filename: string;
|
8349
8553
|
originalFilename: string;
|
8350
|
-
}[] | undefined>;
|
8351
|
-
createdAtLocation
|
8554
|
+
}[] | [string, string] | undefined>;
|
8555
|
+
createdAtLocation?: string | null | undefined;
|
8352
8556
|
annotation?: Record<string, string | number | boolean | {
|
8353
8557
|
type: string;
|
8354
8558
|
filename: string;
|
@@ -8386,14 +8590,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8386
8590
|
option: string;
|
8387
8591
|
filename: string;
|
8388
8592
|
originalFilename: string;
|
8389
|
-
}[] | undefined> | undefined;
|
8390
|
-
originalActionId?: string | undefined;
|
8593
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8594
|
+
originalActionId?: string | null | undefined;
|
8391
8595
|
} | {
|
8392
8596
|
type: "NOTIFY";
|
8393
8597
|
id: string;
|
8394
8598
|
status: "Rejected" | "Requested" | "Accepted";
|
8599
|
+
transactionId: string;
|
8395
8600
|
createdAt: string;
|
8396
8601
|
createdBy: string;
|
8602
|
+
createdByRole: string;
|
8397
8603
|
declaration: Record<string, string | number | boolean | {
|
8398
8604
|
type: string;
|
8399
8605
|
filename: string;
|
@@ -8431,8 +8637,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8431
8637
|
option: string;
|
8432
8638
|
filename: string;
|
8433
8639
|
originalFilename: string;
|
8434
|
-
}[] | undefined>;
|
8435
|
-
createdAtLocation
|
8640
|
+
}[] | [string, string] | undefined>;
|
8641
|
+
createdAtLocation?: string | null | undefined;
|
8436
8642
|
annotation?: Record<string, string | number | boolean | {
|
8437
8643
|
type: string;
|
8438
8644
|
filename: string;
|
@@ -8470,14 +8676,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8470
8676
|
option: string;
|
8471
8677
|
filename: string;
|
8472
8678
|
originalFilename: string;
|
8473
|
-
}[] | undefined> | undefined;
|
8474
|
-
originalActionId?: string | undefined;
|
8679
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8680
|
+
originalActionId?: string | null | undefined;
|
8475
8681
|
} | {
|
8476
8682
|
type: "PRINT_CERTIFICATE";
|
8477
8683
|
id: string;
|
8478
8684
|
status: "Rejected" | "Requested" | "Accepted";
|
8685
|
+
transactionId: string;
|
8479
8686
|
createdAt: string;
|
8480
8687
|
createdBy: string;
|
8688
|
+
createdByRole: string;
|
8481
8689
|
declaration: Record<string, string | number | boolean | {
|
8482
8690
|
type: string;
|
8483
8691
|
filename: string;
|
@@ -8515,8 +8723,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8515
8723
|
option: string;
|
8516
8724
|
filename: string;
|
8517
8725
|
originalFilename: string;
|
8518
|
-
}[] | undefined>;
|
8519
|
-
createdAtLocation
|
8726
|
+
}[] | [string, string] | undefined>;
|
8727
|
+
createdAtLocation?: string | null | undefined;
|
8520
8728
|
annotation?: Record<string, string | number | boolean | {
|
8521
8729
|
type: string;
|
8522
8730
|
filename: string;
|
@@ -8554,14 +8762,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8554
8762
|
option: string;
|
8555
8763
|
filename: string;
|
8556
8764
|
originalFilename: string;
|
8557
|
-
}[] | undefined> | undefined;
|
8558
|
-
originalActionId?: string | undefined;
|
8765
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8766
|
+
originalActionId?: string | null | undefined;
|
8559
8767
|
} | {
|
8560
8768
|
type: "REQUEST_CORRECTION";
|
8561
8769
|
id: string;
|
8562
8770
|
status: "Rejected" | "Requested" | "Accepted";
|
8771
|
+
transactionId: string;
|
8563
8772
|
createdAt: string;
|
8564
8773
|
createdBy: string;
|
8774
|
+
createdByRole: string;
|
8565
8775
|
declaration: Record<string, string | number | boolean | {
|
8566
8776
|
type: string;
|
8567
8777
|
filename: string;
|
@@ -8599,8 +8809,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8599
8809
|
option: string;
|
8600
8810
|
filename: string;
|
8601
8811
|
originalFilename: string;
|
8602
|
-
}[] | undefined>;
|
8603
|
-
createdAtLocation
|
8812
|
+
}[] | [string, string] | undefined>;
|
8813
|
+
createdAtLocation?: string | null | undefined;
|
8604
8814
|
annotation?: Record<string, string | number | boolean | {
|
8605
8815
|
type: string;
|
8606
8816
|
filename: string;
|
@@ -8638,14 +8848,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8638
8848
|
option: string;
|
8639
8849
|
filename: string;
|
8640
8850
|
originalFilename: string;
|
8641
|
-
}[] | undefined> | undefined;
|
8642
|
-
originalActionId?: string | undefined;
|
8851
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8852
|
+
originalActionId?: string | null | undefined;
|
8643
8853
|
} | {
|
8644
8854
|
type: "APPROVE_CORRECTION";
|
8645
8855
|
id: string;
|
8646
8856
|
status: "Rejected" | "Requested" | "Accepted";
|
8857
|
+
transactionId: string;
|
8647
8858
|
createdAt: string;
|
8648
8859
|
createdBy: string;
|
8860
|
+
createdByRole: string;
|
8649
8861
|
declaration: Record<string, string | number | boolean | {
|
8650
8862
|
type: string;
|
8651
8863
|
filename: string;
|
@@ -8683,9 +8895,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8683
8895
|
option: string;
|
8684
8896
|
filename: string;
|
8685
8897
|
originalFilename: string;
|
8686
|
-
}[] | undefined>;
|
8687
|
-
createdAtLocation: string;
|
8898
|
+
}[] | [string, string] | undefined>;
|
8688
8899
|
requestId: string;
|
8900
|
+
createdAtLocation?: string | null | undefined;
|
8689
8901
|
annotation?: Record<string, string | number | boolean | {
|
8690
8902
|
type: string;
|
8691
8903
|
filename: string;
|
@@ -8723,14 +8935,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8723
8935
|
option: string;
|
8724
8936
|
filename: string;
|
8725
8937
|
originalFilename: string;
|
8726
|
-
}[] | undefined> | undefined;
|
8727
|
-
originalActionId?: string | undefined;
|
8938
|
+
}[] | [string, string] | undefined> | null | undefined;
|
8939
|
+
originalActionId?: string | null | undefined;
|
8728
8940
|
} | {
|
8729
8941
|
type: "REJECT_CORRECTION";
|
8730
8942
|
id: string;
|
8731
8943
|
status: "Rejected" | "Requested" | "Accepted";
|
8944
|
+
transactionId: string;
|
8732
8945
|
createdAt: string;
|
8733
8946
|
createdBy: string;
|
8947
|
+
createdByRole: string;
|
8734
8948
|
declaration: Record<string, string | number | boolean | {
|
8735
8949
|
type: string;
|
8736
8950
|
filename: string;
|
@@ -8768,9 +8982,9 @@ export declare const EventDocument: z.ZodObject<{
|
|
8768
8982
|
option: string;
|
8769
8983
|
filename: string;
|
8770
8984
|
originalFilename: string;
|
8771
|
-
}[] | undefined>;
|
8772
|
-
createdAtLocation: string;
|
8985
|
+
}[] | [string, string] | undefined>;
|
8773
8986
|
requestId: string;
|
8987
|
+
createdAtLocation?: string | null | undefined;
|
8774
8988
|
annotation?: Record<string, string | number | boolean | {
|
8775
8989
|
type: string;
|
8776
8990
|
filename: string;
|
@@ -8808,14 +9022,16 @@ export declare const EventDocument: z.ZodObject<{
|
|
8808
9022
|
option: string;
|
8809
9023
|
filename: string;
|
8810
9024
|
originalFilename: string;
|
8811
|
-
}[] | undefined> | undefined;
|
8812
|
-
originalActionId?: string | undefined;
|
9025
|
+
}[] | [string, string] | undefined> | null | undefined;
|
9026
|
+
originalActionId?: string | null | undefined;
|
8813
9027
|
} | {
|
8814
9028
|
type: "READ";
|
8815
9029
|
id: string;
|
8816
9030
|
status: "Rejected" | "Requested" | "Accepted";
|
9031
|
+
transactionId: string;
|
8817
9032
|
createdAt: string;
|
8818
9033
|
createdBy: string;
|
9034
|
+
createdByRole: string;
|
8819
9035
|
declaration: Record<string, string | number | boolean | {
|
8820
9036
|
type: string;
|
8821
9037
|
filename: string;
|
@@ -8853,8 +9069,8 @@ export declare const EventDocument: z.ZodObject<{
|
|
8853
9069
|
option: string;
|
8854
9070
|
filename: string;
|
8855
9071
|
originalFilename: string;
|
8856
|
-
}[] | undefined>;
|
8857
|
-
createdAtLocation
|
9072
|
+
}[] | [string, string] | undefined>;
|
9073
|
+
createdAtLocation?: string | null | undefined;
|
8858
9074
|
annotation?: Record<string, string | number | boolean | {
|
8859
9075
|
type: string;
|
8860
9076
|
filename: string;
|
@@ -8892,14 +9108,18 @@ export declare const EventDocument: z.ZodObject<{
|
|
8892
9108
|
option: string;
|
8893
9109
|
filename: string;
|
8894
9110
|
originalFilename: string;
|
8895
|
-
}[] | undefined> | undefined;
|
8896
|
-
originalActionId?: string | undefined;
|
9111
|
+
}[] | [string, string] | undefined> | null | undefined;
|
9112
|
+
originalActionId?: string | null | undefined;
|
8897
9113
|
} | {
|
8898
9114
|
type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
|
8899
9115
|
id: string;
|
8900
9116
|
status: "Rejected";
|
9117
|
+
transactionId: string;
|
8901
9118
|
createdAt: string;
|
8902
|
-
|
9119
|
+
createdBy: string;
|
9120
|
+
createdByRole: string;
|
9121
|
+
createdAtLocation?: string | null | undefined;
|
9122
|
+
originalActionId?: string | null | undefined;
|
8903
9123
|
})[];
|
8904
9124
|
trackingId: string;
|
8905
9125
|
}>;
|