@opencrvs/toolkit 1.8.0-rc.fd754eb → 1.8.0-rc.fd936ab

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.
Files changed (33) hide show
  1. package/dist/commons/api/router.d.ts +4205 -7695
  2. package/dist/commons/conditionals/conditionals.d.ts +6 -9
  3. package/dist/commons/conditionals/validate.d.ts +6 -4
  4. package/dist/commons/events/ActionConfig.d.ts +1680 -90025
  5. package/dist/commons/events/ActionDocument.d.ts +211 -542
  6. package/dist/commons/events/ActionInput.d.ts +240 -248
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +25 -369
  8. package/dist/commons/events/CompositeFieldValue.d.ts +0 -3
  9. package/dist/commons/events/Draft.d.ts +20 -33
  10. package/dist/commons/events/EventConfig.d.ts +1344 -42812
  11. package/dist/commons/events/EventDocument.d.ts +156 -337
  12. package/dist/commons/events/EventIndex.d.ts +13 -1346
  13. package/dist/commons/events/EventInput.d.ts +0 -13
  14. package/dist/commons/events/EventMetadata.d.ts +11 -273
  15. package/dist/commons/events/FieldConfig.d.ts +724 -3733
  16. package/dist/commons/events/FieldType.d.ts +3 -3
  17. package/dist/commons/events/FieldTypeMapping.d.ts +4 -11
  18. package/dist/commons/events/FieldValue.d.ts +4 -7
  19. package/dist/commons/events/FormConfig.d.ts +441 -40419
  20. package/dist/commons/events/PageConfig.d.ts +194 -10068
  21. package/dist/commons/events/SummaryConfig.d.ts +39 -95
  22. package/dist/commons/events/User.d.ts +0 -5
  23. package/dist/commons/events/WorkqueueConfig.d.ts +19 -1135
  24. package/dist/commons/events/defineConfig.d.ts +35 -6966
  25. package/dist/commons/events/index.d.ts +0 -3
  26. package/dist/commons/events/test.utils.d.ts +44 -7
  27. package/dist/commons/events/utils.d.ts +67 -3550
  28. package/dist/conditionals/index.js +33 -36
  29. package/dist/events/index.js +977 -1672
  30. package/package.json +2 -3
  31. package/dist/commons/events/event.d.ts +0 -27
  32. package/dist/commons/events/field.d.ts +0 -68
  33. package/dist/commons/events/scopes.d.ts +0 -26
@@ -1,8 +1,9 @@
1
1
  import { z } from 'zod';
2
+ import { FieldValue } from './FieldValue';
2
3
  /**
3
4
  * ActionUpdate is a record of a specific action that updated data fields.
4
5
  */
5
- export declare const ActionUpdate: 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<{
6
+ export declare const ActionUpdate: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6
7
  filename: z.ZodString;
7
8
  originalFilename: z.ZodString;
8
9
  type: z.ZodString;
@@ -120,121 +121,7 @@ export type ActionUpdate = z.infer<typeof ActionUpdate>;
120
121
  /**
121
122
  * EventState is an aggregate of all the actions that have been applied to event data.
122
123
  */
123
- export declare const EventState: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
124
- filename: z.ZodString;
125
- originalFilename: z.ZodString;
126
- type: z.ZodString;
127
- }, "strip", z.ZodTypeAny, {
128
- type: string;
129
- filename: string;
130
- originalFilename: string;
131
- }, {
132
- type: string;
133
- filename: string;
134
- originalFilename: string;
135
- }>, z.ZodArray<z.ZodObject<{
136
- filename: z.ZodString;
137
- originalFilename: z.ZodString;
138
- type: z.ZodString;
139
- option: z.ZodString;
140
- }, "strip", z.ZodTypeAny, {
141
- type: string;
142
- option: string;
143
- filename: string;
144
- originalFilename: string;
145
- }, {
146
- type: string;
147
- option: string;
148
- filename: string;
149
- originalFilename: string;
150
- }>, "many">, z.ZodObject<z.objectUtil.extendShape<{
151
- country: z.ZodString;
152
- addressType: z.ZodLiteral<"DOMESTIC">;
153
- province: z.ZodString;
154
- district: z.ZodString;
155
- }, {
156
- urbanOrRural: z.ZodLiteral<"URBAN">;
157
- town: z.ZodOptional<z.ZodString>;
158
- residentialArea: z.ZodOptional<z.ZodString>;
159
- street: z.ZodOptional<z.ZodString>;
160
- number: z.ZodOptional<z.ZodString>;
161
- zipCode: z.ZodOptional<z.ZodString>;
162
- }>, "strip", z.ZodTypeAny, {
163
- country: string;
164
- district: string;
165
- addressType: "DOMESTIC";
166
- province: string;
167
- urbanOrRural: "URBAN";
168
- number?: string | undefined;
169
- town?: string | undefined;
170
- residentialArea?: string | undefined;
171
- street?: string | undefined;
172
- zipCode?: string | undefined;
173
- }, {
174
- country: string;
175
- district: string;
176
- addressType: "DOMESTIC";
177
- province: string;
178
- urbanOrRural: "URBAN";
179
- number?: string | undefined;
180
- town?: string | undefined;
181
- residentialArea?: string | undefined;
182
- street?: string | undefined;
183
- zipCode?: string | undefined;
184
- }>, z.ZodObject<z.objectUtil.extendShape<{
185
- country: z.ZodString;
186
- addressType: z.ZodLiteral<"DOMESTIC">;
187
- province: z.ZodString;
188
- district: z.ZodString;
189
- }, {
190
- urbanOrRural: z.ZodLiteral<"RURAL">;
191
- village: z.ZodOptional<z.ZodString>;
192
- }>, "strip", z.ZodTypeAny, {
193
- country: string;
194
- district: string;
195
- addressType: "DOMESTIC";
196
- province: string;
197
- urbanOrRural: "RURAL";
198
- village?: string | undefined;
199
- }, {
200
- country: string;
201
- district: string;
202
- addressType: "DOMESTIC";
203
- province: string;
204
- urbanOrRural: "RURAL";
205
- village?: string | undefined;
206
- }>, z.ZodUndefined, z.ZodObject<{
207
- country: z.ZodString;
208
- addressType: z.ZodLiteral<"INTERNATIONAL">;
209
- state: z.ZodString;
210
- district2: z.ZodString;
211
- cityOrTown: z.ZodOptional<z.ZodString>;
212
- addressLine1: z.ZodOptional<z.ZodString>;
213
- addressLine2: z.ZodOptional<z.ZodString>;
214
- addressLine3: z.ZodOptional<z.ZodString>;
215
- postcodeOrZip: z.ZodOptional<z.ZodString>;
216
- }, "strip", z.ZodTypeAny, {
217
- country: string;
218
- state: string;
219
- addressType: "INTERNATIONAL";
220
- district2: string;
221
- cityOrTown?: string | undefined;
222
- addressLine1?: string | undefined;
223
- addressLine2?: string | undefined;
224
- addressLine3?: string | undefined;
225
- postcodeOrZip?: string | undefined;
226
- }, {
227
- country: string;
228
- state: string;
229
- addressType: "INTERNATIONAL";
230
- district2: string;
231
- cityOrTown?: string | undefined;
232
- addressLine1?: string | undefined;
233
- addressLine2?: string | undefined;
234
- addressLine3?: string | undefined;
235
- postcodeOrZip?: string | undefined;
236
- }>]>>;
237
- export type EventState = z.infer<typeof EventState>;
124
+ export type EventState = Record<string, FieldValue>;
238
125
  export declare const ActionStatus: {
239
126
  readonly Requested: "Requested";
240
127
  readonly Accepted: "Accepted";
@@ -243,11 +130,9 @@ export declare const ActionStatus: {
243
130
  export type ActionStatus = keyof typeof ActionStatus;
244
131
  export declare const ActionBase: z.ZodObject<{
245
132
  id: z.ZodString;
246
- transactionId: z.ZodString;
247
133
  createdAt: z.ZodString;
248
134
  createdBy: z.ZodString;
249
- createdByRole: z.ZodString;
250
- 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<{
135
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
251
136
  filename: z.ZodString;
252
137
  originalFilename: z.ZodString;
253
138
  type: z.ZodString;
@@ -361,7 +246,7 @@ export declare const ActionBase: z.ZodObject<{
361
246
  addressLine3?: string | null | undefined;
362
247
  postcodeOrZip?: string | null | undefined;
363
248
  }>]>>;
364
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
249
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
365
250
  filename: z.ZodString;
366
251
  originalFilename: z.ZodString;
367
252
  type: z.ZodString;
@@ -481,10 +366,8 @@ export declare const ActionBase: z.ZodObject<{
481
366
  }, "strip", z.ZodTypeAny, {
482
367
  id: string;
483
368
  status: "Rejected" | "Requested" | "Accepted";
484
- transactionId: string;
485
369
  createdAt: string;
486
370
  createdBy: string;
487
- createdByRole: string;
488
371
  declaration: Record<string, string | number | boolean | {
489
372
  type: string;
490
373
  filename: string;
@@ -522,7 +405,7 @@ export declare const ActionBase: z.ZodObject<{
522
405
  option: string;
523
406
  filename: string;
524
407
  originalFilename: string;
525
- }[] | [string, string] | undefined>;
408
+ }[] | undefined>;
526
409
  createdAtLocation: string;
527
410
  annotation?: Record<string, string | number | boolean | {
528
411
  type: string;
@@ -561,15 +444,13 @@ export declare const ActionBase: z.ZodObject<{
561
444
  option: string;
562
445
  filename: string;
563
446
  originalFilename: string;
564
- }[] | [string, string] | undefined> | undefined;
447
+ }[] | undefined> | undefined;
565
448
  originalActionId?: string | undefined;
566
449
  }, {
567
450
  id: string;
568
451
  status: "Rejected" | "Requested" | "Accepted";
569
- transactionId: string;
570
452
  createdAt: string;
571
453
  createdBy: string;
572
- createdByRole: string;
573
454
  declaration: Record<string, string | number | boolean | {
574
455
  type: string;
575
456
  filename: string;
@@ -607,7 +488,7 @@ export declare const ActionBase: z.ZodObject<{
607
488
  option: string;
608
489
  filename: string;
609
490
  originalFilename: string;
610
- }[] | [string, string] | undefined>;
491
+ }[] | undefined>;
611
492
  createdAtLocation: string;
612
493
  annotation?: Record<string, string | number | boolean | {
613
494
  type: string;
@@ -646,17 +527,15 @@ export declare const ActionBase: z.ZodObject<{
646
527
  option: string;
647
528
  filename: string;
648
529
  originalFilename: string;
649
- }[] | [string, string] | undefined> | undefined;
530
+ }[] | undefined> | undefined;
650
531
  originalActionId?: string | undefined;
651
532
  }>;
652
533
  export type ActionBase = z.infer<typeof ActionBase>;
653
534
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
654
535
  id: z.ZodString;
655
- transactionId: z.ZodString;
656
536
  createdAt: z.ZodString;
657
537
  createdBy: z.ZodString;
658
- createdByRole: z.ZodString;
659
- 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<{
538
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
660
539
  filename: z.ZodString;
661
540
  originalFilename: z.ZodString;
662
541
  type: z.ZodString;
@@ -770,7 +649,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
770
649
  addressLine3?: string | null | undefined;
771
650
  postcodeOrZip?: string | null | undefined;
772
651
  }>]>>;
773
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
652
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
774
653
  filename: z.ZodString;
775
654
  originalFilename: z.ZodString;
776
655
  type: z.ZodString;
@@ -894,10 +773,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
894
773
  type: "REGISTER";
895
774
  id: string;
896
775
  status: "Rejected" | "Requested" | "Accepted";
897
- transactionId: string;
898
776
  createdAt: string;
899
777
  createdBy: string;
900
- createdByRole: string;
901
778
  declaration: Record<string, string | number | boolean | {
902
779
  type: string;
903
780
  filename: string;
@@ -935,7 +812,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
935
812
  option: string;
936
813
  filename: string;
937
814
  originalFilename: string;
938
- }[] | [string, string] | undefined>;
815
+ }[] | undefined>;
939
816
  createdAtLocation: string;
940
817
  annotation?: Record<string, string | number | boolean | {
941
818
  type: string;
@@ -974,17 +851,15 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
974
851
  option: string;
975
852
  filename: string;
976
853
  originalFilename: string;
977
- }[] | [string, string] | undefined> | undefined;
854
+ }[] | undefined> | undefined;
978
855
  originalActionId?: string | undefined;
979
856
  registrationNumber?: string | undefined;
980
857
  }, {
981
858
  type: "REGISTER";
982
859
  id: string;
983
860
  status: "Rejected" | "Requested" | "Accepted";
984
- transactionId: string;
985
861
  createdAt: string;
986
862
  createdBy: string;
987
- createdByRole: string;
988
863
  declaration: Record<string, string | number | boolean | {
989
864
  type: string;
990
865
  filename: string;
@@ -1022,7 +897,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1022
897
  option: string;
1023
898
  filename: string;
1024
899
  originalFilename: string;
1025
- }[] | [string, string] | undefined>;
900
+ }[] | undefined>;
1026
901
  createdAtLocation: string;
1027
902
  annotation?: Record<string, string | number | boolean | {
1028
903
  type: string;
@@ -1061,18 +936,16 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
1061
936
  option: string;
1062
937
  filename: string;
1063
938
  originalFilename: string;
1064
- }[] | [string, string] | undefined> | undefined;
939
+ }[] | undefined> | undefined;
1065
940
  originalActionId?: string | undefined;
1066
941
  registrationNumber?: string | undefined;
1067
942
  }>;
1068
943
  export type RegisterAction = z.infer<typeof RegisterAction>;
1069
944
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1070
945
  id: z.ZodString;
1071
- transactionId: z.ZodString;
1072
946
  createdAt: z.ZodString;
1073
947
  createdBy: z.ZodString;
1074
- createdByRole: z.ZodString;
1075
- 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<{
948
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1076
949
  filename: z.ZodString;
1077
950
  originalFilename: z.ZodString;
1078
951
  type: z.ZodString;
@@ -1186,7 +1059,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1186
1059
  addressLine3?: string | null | undefined;
1187
1060
  postcodeOrZip?: string | null | undefined;
1188
1061
  }>]>>;
1189
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1062
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1190
1063
  filename: z.ZodString;
1191
1064
  originalFilename: z.ZodString;
1192
1065
  type: z.ZodString;
@@ -1309,10 +1182,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1309
1182
  type: "CREATE";
1310
1183
  id: string;
1311
1184
  status: "Rejected" | "Requested" | "Accepted";
1312
- transactionId: string;
1313
1185
  createdAt: string;
1314
1186
  createdBy: string;
1315
- createdByRole: string;
1316
1187
  declaration: Record<string, string | number | boolean | {
1317
1188
  type: string;
1318
1189
  filename: string;
@@ -1350,7 +1221,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1350
1221
  option: string;
1351
1222
  filename: string;
1352
1223
  originalFilename: string;
1353
- }[] | [string, string] | undefined>;
1224
+ }[] | undefined>;
1354
1225
  createdAtLocation: string;
1355
1226
  annotation?: Record<string, string | number | boolean | {
1356
1227
  type: string;
@@ -1389,16 +1260,14 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1389
1260
  option: string;
1390
1261
  filename: string;
1391
1262
  originalFilename: string;
1392
- }[] | [string, string] | undefined> | undefined;
1263
+ }[] | undefined> | undefined;
1393
1264
  originalActionId?: string | undefined;
1394
1265
  }, {
1395
1266
  type: "CREATE";
1396
1267
  id: string;
1397
1268
  status: "Rejected" | "Requested" | "Accepted";
1398
- transactionId: string;
1399
1269
  createdAt: string;
1400
1270
  createdBy: string;
1401
- createdByRole: string;
1402
1271
  declaration: Record<string, string | number | boolean | {
1403
1272
  type: string;
1404
1273
  filename: string;
@@ -1436,7 +1305,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1436
1305
  option: string;
1437
1306
  filename: string;
1438
1307
  originalFilename: string;
1439
- }[] | [string, string] | undefined>;
1308
+ }[] | undefined>;
1440
1309
  createdAtLocation: string;
1441
1310
  annotation?: Record<string, string | number | boolean | {
1442
1311
  type: string;
@@ -1475,16 +1344,14 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1475
1344
  option: string;
1476
1345
  filename: string;
1477
1346
  originalFilename: string;
1478
- }[] | [string, string] | undefined> | undefined;
1347
+ }[] | undefined> | undefined;
1479
1348
  originalActionId?: string | undefined;
1480
1349
  }>;
1481
1350
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1482
1351
  id: z.ZodString;
1483
- transactionId: z.ZodString;
1484
1352
  createdAt: z.ZodString;
1485
1353
  createdBy: z.ZodString;
1486
- createdByRole: z.ZodString;
1487
- 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<{
1354
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1488
1355
  filename: z.ZodString;
1489
1356
  originalFilename: z.ZodString;
1490
1357
  type: z.ZodString;
@@ -1598,7 +1465,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1598
1465
  addressLine3?: string | null | undefined;
1599
1466
  postcodeOrZip?: string | null | undefined;
1600
1467
  }>]>>;
1601
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1468
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1602
1469
  filename: z.ZodString;
1603
1470
  originalFilename: z.ZodString;
1604
1471
  type: z.ZodString;
@@ -1721,10 +1588,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1721
1588
  type: "CREATE";
1722
1589
  id: string;
1723
1590
  status: "Rejected" | "Requested" | "Accepted";
1724
- transactionId: string;
1725
1591
  createdAt: string;
1726
1592
  createdBy: string;
1727
- createdByRole: string;
1728
1593
  declaration: Record<string, string | number | boolean | {
1729
1594
  type: string;
1730
1595
  filename: string;
@@ -1762,7 +1627,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1762
1627
  option: string;
1763
1628
  filename: string;
1764
1629
  originalFilename: string;
1765
- }[] | [string, string] | undefined>;
1630
+ }[] | undefined>;
1766
1631
  createdAtLocation: string;
1767
1632
  annotation?: Record<string, string | number | boolean | {
1768
1633
  type: string;
@@ -1801,16 +1666,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1801
1666
  option: string;
1802
1667
  filename: string;
1803
1668
  originalFilename: string;
1804
- }[] | [string, string] | undefined> | undefined;
1669
+ }[] | undefined> | undefined;
1805
1670
  originalActionId?: string | undefined;
1806
1671
  }, {
1807
1672
  type: "CREATE";
1808
1673
  id: string;
1809
1674
  status: "Rejected" | "Requested" | "Accepted";
1810
- transactionId: string;
1811
1675
  createdAt: string;
1812
1676
  createdBy: string;
1813
- createdByRole: string;
1814
1677
  declaration: Record<string, string | number | boolean | {
1815
1678
  type: string;
1816
1679
  filename: string;
@@ -1848,7 +1711,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1848
1711
  option: string;
1849
1712
  filename: string;
1850
1713
  originalFilename: string;
1851
- }[] | [string, string] | undefined>;
1714
+ }[] | undefined>;
1852
1715
  createdAtLocation: string;
1853
1716
  annotation?: Record<string, string | number | boolean | {
1854
1717
  type: string;
@@ -1887,15 +1750,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1887
1750
  option: string;
1888
1751
  filename: string;
1889
1752
  originalFilename: string;
1890
- }[] | [string, string] | undefined> | undefined;
1753
+ }[] | undefined> | undefined;
1891
1754
  originalActionId?: string | undefined;
1892
1755
  }>, z.ZodObject<z.objectUtil.extendShape<{
1893
1756
  id: z.ZodString;
1894
- transactionId: z.ZodString;
1895
1757
  createdAt: z.ZodString;
1896
1758
  createdBy: z.ZodString;
1897
- createdByRole: z.ZodString;
1898
- 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<{
1759
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1899
1760
  filename: z.ZodString;
1900
1761
  originalFilename: z.ZodString;
1901
1762
  type: z.ZodString;
@@ -2009,7 +1870,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2009
1870
  addressLine3?: string | null | undefined;
2010
1871
  postcodeOrZip?: string | null | undefined;
2011
1872
  }>]>>;
2012
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1873
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2013
1874
  filename: z.ZodString;
2014
1875
  originalFilename: z.ZodString;
2015
1876
  type: z.ZodString;
@@ -2132,10 +1993,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2132
1993
  type: "VALIDATE";
2133
1994
  id: string;
2134
1995
  status: "Rejected" | "Requested" | "Accepted";
2135
- transactionId: string;
2136
1996
  createdAt: string;
2137
1997
  createdBy: string;
2138
- createdByRole: string;
2139
1998
  declaration: Record<string, string | number | boolean | {
2140
1999
  type: string;
2141
2000
  filename: string;
@@ -2173,7 +2032,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2173
2032
  option: string;
2174
2033
  filename: string;
2175
2034
  originalFilename: string;
2176
- }[] | [string, string] | undefined>;
2035
+ }[] | undefined>;
2177
2036
  createdAtLocation: string;
2178
2037
  annotation?: Record<string, string | number | boolean | {
2179
2038
  type: string;
@@ -2212,16 +2071,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2212
2071
  option: string;
2213
2072
  filename: string;
2214
2073
  originalFilename: string;
2215
- }[] | [string, string] | undefined> | undefined;
2074
+ }[] | undefined> | undefined;
2216
2075
  originalActionId?: string | undefined;
2217
2076
  }, {
2218
2077
  type: "VALIDATE";
2219
2078
  id: string;
2220
2079
  status: "Rejected" | "Requested" | "Accepted";
2221
- transactionId: string;
2222
2080
  createdAt: string;
2223
2081
  createdBy: string;
2224
- createdByRole: string;
2225
2082
  declaration: Record<string, string | number | boolean | {
2226
2083
  type: string;
2227
2084
  filename: string;
@@ -2259,7 +2116,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2259
2116
  option: string;
2260
2117
  filename: string;
2261
2118
  originalFilename: string;
2262
- }[] | [string, string] | undefined>;
2119
+ }[] | undefined>;
2263
2120
  createdAtLocation: string;
2264
2121
  annotation?: Record<string, string | number | boolean | {
2265
2122
  type: string;
@@ -2298,15 +2155,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2298
2155
  option: string;
2299
2156
  filename: string;
2300
2157
  originalFilename: string;
2301
- }[] | [string, string] | undefined> | undefined;
2158
+ }[] | undefined> | undefined;
2302
2159
  originalActionId?: string | undefined;
2303
2160
  }>, z.ZodObject<z.objectUtil.extendShape<{
2304
2161
  id: z.ZodString;
2305
- transactionId: z.ZodString;
2306
2162
  createdAt: z.ZodString;
2307
2163
  createdBy: z.ZodString;
2308
- createdByRole: z.ZodString;
2309
- 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<{
2164
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2310
2165
  filename: z.ZodString;
2311
2166
  originalFilename: z.ZodString;
2312
2167
  type: z.ZodString;
@@ -2420,7 +2275,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2420
2275
  addressLine3?: string | null | undefined;
2421
2276
  postcodeOrZip?: string | null | undefined;
2422
2277
  }>]>>;
2423
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2278
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2424
2279
  filename: z.ZodString;
2425
2280
  originalFilename: z.ZodString;
2426
2281
  type: z.ZodString;
@@ -2543,10 +2398,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2543
2398
  type: "REJECT";
2544
2399
  id: string;
2545
2400
  status: "Rejected" | "Requested" | "Accepted";
2546
- transactionId: string;
2547
2401
  createdAt: string;
2548
2402
  createdBy: string;
2549
- createdByRole: string;
2550
2403
  declaration: Record<string, string | number | boolean | {
2551
2404
  type: string;
2552
2405
  filename: string;
@@ -2584,7 +2437,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2584
2437
  option: string;
2585
2438
  filename: string;
2586
2439
  originalFilename: string;
2587
- }[] | [string, string] | undefined>;
2440
+ }[] | undefined>;
2588
2441
  createdAtLocation: string;
2589
2442
  annotation?: Record<string, string | number | boolean | {
2590
2443
  type: string;
@@ -2623,16 +2476,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2623
2476
  option: string;
2624
2477
  filename: string;
2625
2478
  originalFilename: string;
2626
- }[] | [string, string] | undefined> | undefined;
2479
+ }[] | undefined> | undefined;
2627
2480
  originalActionId?: string | undefined;
2628
2481
  }, {
2629
2482
  type: "REJECT";
2630
2483
  id: string;
2631
2484
  status: "Rejected" | "Requested" | "Accepted";
2632
- transactionId: string;
2633
2485
  createdAt: string;
2634
2486
  createdBy: string;
2635
- createdByRole: string;
2636
2487
  declaration: Record<string, string | number | boolean | {
2637
2488
  type: string;
2638
2489
  filename: string;
@@ -2670,7 +2521,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2670
2521
  option: string;
2671
2522
  filename: string;
2672
2523
  originalFilename: string;
2673
- }[] | [string, string] | undefined>;
2524
+ }[] | undefined>;
2674
2525
  createdAtLocation: string;
2675
2526
  annotation?: Record<string, string | number | boolean | {
2676
2527
  type: string;
@@ -2709,15 +2560,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2709
2560
  option: string;
2710
2561
  filename: string;
2711
2562
  originalFilename: string;
2712
- }[] | [string, string] | undefined> | undefined;
2563
+ }[] | undefined> | undefined;
2713
2564
  originalActionId?: string | undefined;
2714
2565
  }>, z.ZodObject<z.objectUtil.extendShape<{
2715
2566
  id: z.ZodString;
2716
- transactionId: z.ZodString;
2717
2567
  createdAt: z.ZodString;
2718
2568
  createdBy: z.ZodString;
2719
- createdByRole: z.ZodString;
2720
- 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<{
2569
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2721
2570
  filename: z.ZodString;
2722
2571
  originalFilename: z.ZodString;
2723
2572
  type: z.ZodString;
@@ -2831,7 +2680,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2831
2680
  addressLine3?: string | null | undefined;
2832
2681
  postcodeOrZip?: string | null | undefined;
2833
2682
  }>]>>;
2834
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2683
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2835
2684
  filename: z.ZodString;
2836
2685
  originalFilename: z.ZodString;
2837
2686
  type: z.ZodString;
@@ -2954,10 +2803,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2954
2803
  type: "MARKED_AS_DUPLICATE";
2955
2804
  id: string;
2956
2805
  status: "Rejected" | "Requested" | "Accepted";
2957
- transactionId: string;
2958
2806
  createdAt: string;
2959
2807
  createdBy: string;
2960
- createdByRole: string;
2961
2808
  declaration: Record<string, string | number | boolean | {
2962
2809
  type: string;
2963
2810
  filename: string;
@@ -2995,7 +2842,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2995
2842
  option: string;
2996
2843
  filename: string;
2997
2844
  originalFilename: string;
2998
- }[] | [string, string] | undefined>;
2845
+ }[] | undefined>;
2999
2846
  createdAtLocation: string;
3000
2847
  annotation?: Record<string, string | number | boolean | {
3001
2848
  type: string;
@@ -3034,16 +2881,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3034
2881
  option: string;
3035
2882
  filename: string;
3036
2883
  originalFilename: string;
3037
- }[] | [string, string] | undefined> | undefined;
2884
+ }[] | undefined> | undefined;
3038
2885
  originalActionId?: string | undefined;
3039
2886
  }, {
3040
2887
  type: "MARKED_AS_DUPLICATE";
3041
2888
  id: string;
3042
2889
  status: "Rejected" | "Requested" | "Accepted";
3043
- transactionId: string;
3044
2890
  createdAt: string;
3045
2891
  createdBy: string;
3046
- createdByRole: string;
3047
2892
  declaration: Record<string, string | number | boolean | {
3048
2893
  type: string;
3049
2894
  filename: string;
@@ -3081,7 +2926,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3081
2926
  option: string;
3082
2927
  filename: string;
3083
2928
  originalFilename: string;
3084
- }[] | [string, string] | undefined>;
2929
+ }[] | undefined>;
3085
2930
  createdAtLocation: string;
3086
2931
  annotation?: Record<string, string | number | boolean | {
3087
2932
  type: string;
@@ -3120,15 +2965,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3120
2965
  option: string;
3121
2966
  filename: string;
3122
2967
  originalFilename: string;
3123
- }[] | [string, string] | undefined> | undefined;
2968
+ }[] | undefined> | undefined;
3124
2969
  originalActionId?: string | undefined;
3125
2970
  }>, z.ZodObject<z.objectUtil.extendShape<{
3126
2971
  id: z.ZodString;
3127
- transactionId: z.ZodString;
3128
2972
  createdAt: z.ZodString;
3129
2973
  createdBy: z.ZodString;
3130
- createdByRole: z.ZodString;
3131
- 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<{
2974
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3132
2975
  filename: z.ZodString;
3133
2976
  originalFilename: z.ZodString;
3134
2977
  type: z.ZodString;
@@ -3242,7 +3085,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3242
3085
  addressLine3?: string | null | undefined;
3243
3086
  postcodeOrZip?: string | null | undefined;
3244
3087
  }>]>>;
3245
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3088
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3246
3089
  filename: z.ZodString;
3247
3090
  originalFilename: z.ZodString;
3248
3091
  type: z.ZodString;
@@ -3365,10 +3208,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3365
3208
  type: "ARCHIVE";
3366
3209
  id: string;
3367
3210
  status: "Rejected" | "Requested" | "Accepted";
3368
- transactionId: string;
3369
3211
  createdAt: string;
3370
3212
  createdBy: string;
3371
- createdByRole: string;
3372
3213
  declaration: Record<string, string | number | boolean | {
3373
3214
  type: string;
3374
3215
  filename: string;
@@ -3406,7 +3247,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3406
3247
  option: string;
3407
3248
  filename: string;
3408
3249
  originalFilename: string;
3409
- }[] | [string, string] | undefined>;
3250
+ }[] | undefined>;
3410
3251
  createdAtLocation: string;
3411
3252
  annotation?: Record<string, string | number | boolean | {
3412
3253
  type: string;
@@ -3445,16 +3286,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3445
3286
  option: string;
3446
3287
  filename: string;
3447
3288
  originalFilename: string;
3448
- }[] | [string, string] | undefined> | undefined;
3289
+ }[] | undefined> | undefined;
3449
3290
  originalActionId?: string | undefined;
3450
3291
  }, {
3451
3292
  type: "ARCHIVE";
3452
3293
  id: string;
3453
3294
  status: "Rejected" | "Requested" | "Accepted";
3454
- transactionId: string;
3455
3295
  createdAt: string;
3456
3296
  createdBy: string;
3457
- createdByRole: string;
3458
3297
  declaration: Record<string, string | number | boolean | {
3459
3298
  type: string;
3460
3299
  filename: string;
@@ -3492,7 +3331,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3492
3331
  option: string;
3493
3332
  filename: string;
3494
3333
  originalFilename: string;
3495
- }[] | [string, string] | undefined>;
3334
+ }[] | undefined>;
3496
3335
  createdAtLocation: string;
3497
3336
  annotation?: Record<string, string | number | boolean | {
3498
3337
  type: string;
@@ -3531,15 +3370,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3531
3370
  option: string;
3532
3371
  filename: string;
3533
3372
  originalFilename: string;
3534
- }[] | [string, string] | undefined> | undefined;
3373
+ }[] | undefined> | undefined;
3535
3374
  originalActionId?: string | undefined;
3536
3375
  }>, z.ZodObject<z.objectUtil.extendShape<{
3537
3376
  id: z.ZodString;
3538
- transactionId: z.ZodString;
3539
3377
  createdAt: z.ZodString;
3540
3378
  createdBy: z.ZodString;
3541
- createdByRole: z.ZodString;
3542
- 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<{
3379
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3543
3380
  filename: z.ZodString;
3544
3381
  originalFilename: z.ZodString;
3545
3382
  type: z.ZodString;
@@ -3653,7 +3490,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3653
3490
  addressLine3?: string | null | undefined;
3654
3491
  postcodeOrZip?: string | null | undefined;
3655
3492
  }>]>>;
3656
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3493
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3657
3494
  filename: z.ZodString;
3658
3495
  originalFilename: z.ZodString;
3659
3496
  type: z.ZodString;
@@ -3776,10 +3613,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3776
3613
  type: "NOTIFY";
3777
3614
  id: string;
3778
3615
  status: "Rejected" | "Requested" | "Accepted";
3779
- transactionId: string;
3780
3616
  createdAt: string;
3781
3617
  createdBy: string;
3782
- createdByRole: string;
3783
3618
  declaration: Record<string, string | number | boolean | {
3784
3619
  type: string;
3785
3620
  filename: string;
@@ -3817,7 +3652,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3817
3652
  option: string;
3818
3653
  filename: string;
3819
3654
  originalFilename: string;
3820
- }[] | [string, string] | undefined>;
3655
+ }[] | undefined>;
3821
3656
  createdAtLocation: string;
3822
3657
  annotation?: Record<string, string | number | boolean | {
3823
3658
  type: string;
@@ -3856,16 +3691,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3856
3691
  option: string;
3857
3692
  filename: string;
3858
3693
  originalFilename: string;
3859
- }[] | [string, string] | undefined> | undefined;
3694
+ }[] | undefined> | undefined;
3860
3695
  originalActionId?: string | undefined;
3861
3696
  }, {
3862
3697
  type: "NOTIFY";
3863
3698
  id: string;
3864
3699
  status: "Rejected" | "Requested" | "Accepted";
3865
- transactionId: string;
3866
3700
  createdAt: string;
3867
3701
  createdBy: string;
3868
- createdByRole: string;
3869
3702
  declaration: Record<string, string | number | boolean | {
3870
3703
  type: string;
3871
3704
  filename: string;
@@ -3903,7 +3736,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3903
3736
  option: string;
3904
3737
  filename: string;
3905
3738
  originalFilename: string;
3906
- }[] | [string, string] | undefined>;
3739
+ }[] | undefined>;
3907
3740
  createdAtLocation: string;
3908
3741
  annotation?: Record<string, string | number | boolean | {
3909
3742
  type: string;
@@ -3942,15 +3775,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3942
3775
  option: string;
3943
3776
  filename: string;
3944
3777
  originalFilename: string;
3945
- }[] | [string, string] | undefined> | undefined;
3778
+ }[] | undefined> | undefined;
3946
3779
  originalActionId?: string | undefined;
3947
3780
  }>, z.ZodObject<z.objectUtil.extendShape<{
3948
3781
  id: z.ZodString;
3949
- transactionId: z.ZodString;
3950
3782
  createdAt: z.ZodString;
3951
3783
  createdBy: z.ZodString;
3952
- createdByRole: z.ZodString;
3953
- 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<{
3784
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3954
3785
  filename: z.ZodString;
3955
3786
  originalFilename: z.ZodString;
3956
3787
  type: z.ZodString;
@@ -4064,7 +3895,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4064
3895
  addressLine3?: string | null | undefined;
4065
3896
  postcodeOrZip?: string | null | undefined;
4066
3897
  }>]>>;
4067
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3898
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4068
3899
  filename: z.ZodString;
4069
3900
  originalFilename: z.ZodString;
4070
3901
  type: z.ZodString;
@@ -4188,10 +4019,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4188
4019
  type: "REGISTER";
4189
4020
  id: string;
4190
4021
  status: "Rejected" | "Requested" | "Accepted";
4191
- transactionId: string;
4192
4022
  createdAt: string;
4193
4023
  createdBy: string;
4194
- createdByRole: string;
4195
4024
  declaration: Record<string, string | number | boolean | {
4196
4025
  type: string;
4197
4026
  filename: string;
@@ -4229,7 +4058,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4229
4058
  option: string;
4230
4059
  filename: string;
4231
4060
  originalFilename: string;
4232
- }[] | [string, string] | undefined>;
4061
+ }[] | undefined>;
4233
4062
  createdAtLocation: string;
4234
4063
  annotation?: Record<string, string | number | boolean | {
4235
4064
  type: string;
@@ -4268,17 +4097,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4268
4097
  option: string;
4269
4098
  filename: string;
4270
4099
  originalFilename: string;
4271
- }[] | [string, string] | undefined> | undefined;
4100
+ }[] | undefined> | undefined;
4272
4101
  originalActionId?: string | undefined;
4273
4102
  registrationNumber?: string | undefined;
4274
4103
  }, {
4275
4104
  type: "REGISTER";
4276
4105
  id: string;
4277
4106
  status: "Rejected" | "Requested" | "Accepted";
4278
- transactionId: string;
4279
4107
  createdAt: string;
4280
4108
  createdBy: string;
4281
- createdByRole: string;
4282
4109
  declaration: Record<string, string | number | boolean | {
4283
4110
  type: string;
4284
4111
  filename: string;
@@ -4316,7 +4143,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4316
4143
  option: string;
4317
4144
  filename: string;
4318
4145
  originalFilename: string;
4319
- }[] | [string, string] | undefined>;
4146
+ }[] | undefined>;
4320
4147
  createdAtLocation: string;
4321
4148
  annotation?: Record<string, string | number | boolean | {
4322
4149
  type: string;
@@ -4355,16 +4182,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4355
4182
  option: string;
4356
4183
  filename: string;
4357
4184
  originalFilename: string;
4358
- }[] | [string, string] | undefined> | undefined;
4185
+ }[] | undefined> | undefined;
4359
4186
  originalActionId?: string | undefined;
4360
4187
  registrationNumber?: string | undefined;
4361
4188
  }>, z.ZodObject<z.objectUtil.extendShape<{
4362
4189
  id: z.ZodString;
4363
- transactionId: z.ZodString;
4364
4190
  createdAt: z.ZodString;
4365
4191
  createdBy: z.ZodString;
4366
- createdByRole: z.ZodString;
4367
- 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<{
4192
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4368
4193
  filename: z.ZodString;
4369
4194
  originalFilename: z.ZodString;
4370
4195
  type: z.ZodString;
@@ -4478,7 +4303,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4478
4303
  addressLine3?: string | null | undefined;
4479
4304
  postcodeOrZip?: string | null | undefined;
4480
4305
  }>]>>;
4481
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4306
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4482
4307
  filename: z.ZodString;
4483
4308
  originalFilename: z.ZodString;
4484
4309
  type: z.ZodString;
@@ -4601,10 +4426,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4601
4426
  type: "DECLARE";
4602
4427
  id: string;
4603
4428
  status: "Rejected" | "Requested" | "Accepted";
4604
- transactionId: string;
4605
4429
  createdAt: string;
4606
4430
  createdBy: string;
4607
- createdByRole: string;
4608
4431
  declaration: Record<string, string | number | boolean | {
4609
4432
  type: string;
4610
4433
  filename: string;
@@ -4642,7 +4465,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4642
4465
  option: string;
4643
4466
  filename: string;
4644
4467
  originalFilename: string;
4645
- }[] | [string, string] | undefined>;
4468
+ }[] | undefined>;
4646
4469
  createdAtLocation: string;
4647
4470
  annotation?: Record<string, string | number | boolean | {
4648
4471
  type: string;
@@ -4681,16 +4504,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4681
4504
  option: string;
4682
4505
  filename: string;
4683
4506
  originalFilename: string;
4684
- }[] | [string, string] | undefined> | undefined;
4507
+ }[] | undefined> | undefined;
4685
4508
  originalActionId?: string | undefined;
4686
4509
  }, {
4687
4510
  type: "DECLARE";
4688
4511
  id: string;
4689
4512
  status: "Rejected" | "Requested" | "Accepted";
4690
- transactionId: string;
4691
4513
  createdAt: string;
4692
4514
  createdBy: string;
4693
- createdByRole: string;
4694
4515
  declaration: Record<string, string | number | boolean | {
4695
4516
  type: string;
4696
4517
  filename: string;
@@ -4728,7 +4549,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4728
4549
  option: string;
4729
4550
  filename: string;
4730
4551
  originalFilename: string;
4731
- }[] | [string, string] | undefined>;
4552
+ }[] | undefined>;
4732
4553
  createdAtLocation: string;
4733
4554
  annotation?: Record<string, string | number | boolean | {
4734
4555
  type: string;
@@ -4767,15 +4588,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4767
4588
  option: string;
4768
4589
  filename: string;
4769
4590
  originalFilename: string;
4770
- }[] | [string, string] | undefined> | undefined;
4591
+ }[] | undefined> | undefined;
4771
4592
  originalActionId?: string | undefined;
4772
4593
  }>, z.ZodObject<z.objectUtil.extendShape<{
4773
4594
  id: z.ZodString;
4774
- transactionId: z.ZodString;
4775
4595
  createdAt: z.ZodString;
4776
4596
  createdBy: z.ZodString;
4777
- createdByRole: z.ZodString;
4778
- 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<{
4597
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4779
4598
  filename: z.ZodString;
4780
4599
  originalFilename: z.ZodString;
4781
4600
  type: z.ZodString;
@@ -4889,7 +4708,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4889
4708
  addressLine3?: string | null | undefined;
4890
4709
  postcodeOrZip?: string | null | undefined;
4891
4710
  }>]>>;
4892
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4711
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4893
4712
  filename: z.ZodString;
4894
4713
  originalFilename: z.ZodString;
4895
4714
  type: z.ZodString;
@@ -5013,10 +4832,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5013
4832
  type: "ASSIGN";
5014
4833
  id: string;
5015
4834
  status: "Rejected" | "Requested" | "Accepted";
5016
- transactionId: string;
5017
4835
  createdAt: string;
5018
4836
  createdBy: string;
5019
- createdByRole: string;
5020
4837
  declaration: Record<string, string | number | boolean | {
5021
4838
  type: string;
5022
4839
  filename: string;
@@ -5054,7 +4871,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5054
4871
  option: string;
5055
4872
  filename: string;
5056
4873
  originalFilename: string;
5057
- }[] | [string, string] | undefined>;
4874
+ }[] | undefined>;
5058
4875
  createdAtLocation: string;
5059
4876
  assignedTo: string;
5060
4877
  annotation?: Record<string, string | number | boolean | {
@@ -5094,16 +4911,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5094
4911
  option: string;
5095
4912
  filename: string;
5096
4913
  originalFilename: string;
5097
- }[] | [string, string] | undefined> | undefined;
4914
+ }[] | undefined> | undefined;
5098
4915
  originalActionId?: string | undefined;
5099
4916
  }, {
5100
4917
  type: "ASSIGN";
5101
4918
  id: string;
5102
4919
  status: "Rejected" | "Requested" | "Accepted";
5103
- transactionId: string;
5104
4920
  createdAt: string;
5105
4921
  createdBy: string;
5106
- createdByRole: string;
5107
4922
  declaration: Record<string, string | number | boolean | {
5108
4923
  type: string;
5109
4924
  filename: string;
@@ -5141,7 +4956,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5141
4956
  option: string;
5142
4957
  filename: string;
5143
4958
  originalFilename: string;
5144
- }[] | [string, string] | undefined>;
4959
+ }[] | undefined>;
5145
4960
  createdAtLocation: string;
5146
4961
  assignedTo: string;
5147
4962
  annotation?: Record<string, string | number | boolean | {
@@ -5181,15 +4996,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5181
4996
  option: string;
5182
4997
  filename: string;
5183
4998
  originalFilename: string;
5184
- }[] | [string, string] | undefined> | undefined;
4999
+ }[] | undefined> | undefined;
5185
5000
  originalActionId?: string | undefined;
5186
5001
  }>, z.ZodObject<z.objectUtil.extendShape<{
5187
5002
  id: z.ZodString;
5188
- transactionId: z.ZodString;
5189
5003
  createdAt: z.ZodString;
5190
5004
  createdBy: z.ZodString;
5191
- createdByRole: z.ZodString;
5192
- 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<{
5005
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5193
5006
  filename: z.ZodString;
5194
5007
  originalFilename: z.ZodString;
5195
5008
  type: z.ZodString;
@@ -5303,7 +5116,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5303
5116
  addressLine3?: string | null | undefined;
5304
5117
  postcodeOrZip?: string | null | undefined;
5305
5118
  }>]>>;
5306
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5119
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5307
5120
  filename: z.ZodString;
5308
5121
  originalFilename: z.ZodString;
5309
5122
  type: z.ZodString;
@@ -5426,10 +5239,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5426
5239
  type: "REQUEST_CORRECTION";
5427
5240
  id: string;
5428
5241
  status: "Rejected" | "Requested" | "Accepted";
5429
- transactionId: string;
5430
5242
  createdAt: string;
5431
5243
  createdBy: string;
5432
- createdByRole: string;
5433
5244
  declaration: Record<string, string | number | boolean | {
5434
5245
  type: string;
5435
5246
  filename: string;
@@ -5467,7 +5278,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5467
5278
  option: string;
5468
5279
  filename: string;
5469
5280
  originalFilename: string;
5470
- }[] | [string, string] | undefined>;
5281
+ }[] | undefined>;
5471
5282
  createdAtLocation: string;
5472
5283
  annotation?: Record<string, string | number | boolean | {
5473
5284
  type: string;
@@ -5506,16 +5317,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5506
5317
  option: string;
5507
5318
  filename: string;
5508
5319
  originalFilename: string;
5509
- }[] | [string, string] | undefined> | undefined;
5320
+ }[] | undefined> | undefined;
5510
5321
  originalActionId?: string | undefined;
5511
5322
  }, {
5512
5323
  type: "REQUEST_CORRECTION";
5513
5324
  id: string;
5514
5325
  status: "Rejected" | "Requested" | "Accepted";
5515
- transactionId: string;
5516
5326
  createdAt: string;
5517
5327
  createdBy: string;
5518
- createdByRole: string;
5519
5328
  declaration: Record<string, string | number | boolean | {
5520
5329
  type: string;
5521
5330
  filename: string;
@@ -5553,7 +5362,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5553
5362
  option: string;
5554
5363
  filename: string;
5555
5364
  originalFilename: string;
5556
- }[] | [string, string] | undefined>;
5365
+ }[] | undefined>;
5557
5366
  createdAtLocation: string;
5558
5367
  annotation?: Record<string, string | number | boolean | {
5559
5368
  type: string;
@@ -5592,15 +5401,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5592
5401
  option: string;
5593
5402
  filename: string;
5594
5403
  originalFilename: string;
5595
- }[] | [string, string] | undefined> | undefined;
5404
+ }[] | undefined> | undefined;
5596
5405
  originalActionId?: string | undefined;
5597
5406
  }>, z.ZodObject<z.objectUtil.extendShape<{
5598
5407
  id: z.ZodString;
5599
- transactionId: z.ZodString;
5600
5408
  createdAt: z.ZodString;
5601
5409
  createdBy: z.ZodString;
5602
- createdByRole: z.ZodString;
5603
- 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<{
5410
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5604
5411
  filename: z.ZodString;
5605
5412
  originalFilename: z.ZodString;
5606
5413
  type: z.ZodString;
@@ -5714,7 +5521,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5714
5521
  addressLine3?: string | null | undefined;
5715
5522
  postcodeOrZip?: string | null | undefined;
5716
5523
  }>]>>;
5717
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5524
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5718
5525
  filename: z.ZodString;
5719
5526
  originalFilename: z.ZodString;
5720
5527
  type: z.ZodString;
@@ -5838,10 +5645,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5838
5645
  type: "APPROVE_CORRECTION";
5839
5646
  id: string;
5840
5647
  status: "Rejected" | "Requested" | "Accepted";
5841
- transactionId: string;
5842
5648
  createdAt: string;
5843
5649
  createdBy: string;
5844
- createdByRole: string;
5845
5650
  declaration: Record<string, string | number | boolean | {
5846
5651
  type: string;
5847
5652
  filename: string;
@@ -5879,7 +5684,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5879
5684
  option: string;
5880
5685
  filename: string;
5881
5686
  originalFilename: string;
5882
- }[] | [string, string] | undefined>;
5687
+ }[] | undefined>;
5883
5688
  createdAtLocation: string;
5884
5689
  requestId: string;
5885
5690
  annotation?: Record<string, string | number | boolean | {
@@ -5919,16 +5724,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5919
5724
  option: string;
5920
5725
  filename: string;
5921
5726
  originalFilename: string;
5922
- }[] | [string, string] | undefined> | undefined;
5727
+ }[] | undefined> | undefined;
5923
5728
  originalActionId?: string | undefined;
5924
5729
  }, {
5925
5730
  type: "APPROVE_CORRECTION";
5926
5731
  id: string;
5927
5732
  status: "Rejected" | "Requested" | "Accepted";
5928
- transactionId: string;
5929
5733
  createdAt: string;
5930
5734
  createdBy: string;
5931
- createdByRole: string;
5932
5735
  declaration: Record<string, string | number | boolean | {
5933
5736
  type: string;
5934
5737
  filename: string;
@@ -5966,7 +5769,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5966
5769
  option: string;
5967
5770
  filename: string;
5968
5771
  originalFilename: string;
5969
- }[] | [string, string] | undefined>;
5772
+ }[] | undefined>;
5970
5773
  createdAtLocation: string;
5971
5774
  requestId: string;
5972
5775
  annotation?: Record<string, string | number | boolean | {
@@ -6006,15 +5809,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
5809
  option: string;
6007
5810
  filename: string;
6008
5811
  originalFilename: string;
6009
- }[] | [string, string] | undefined> | undefined;
5812
+ }[] | undefined> | undefined;
6010
5813
  originalActionId?: string | undefined;
6011
5814
  }>, z.ZodObject<z.objectUtil.extendShape<{
6012
5815
  id: z.ZodString;
6013
- transactionId: z.ZodString;
6014
5816
  createdAt: z.ZodString;
6015
5817
  createdBy: z.ZodString;
6016
- createdByRole: z.ZodString;
6017
- 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<{
5818
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6018
5819
  filename: z.ZodString;
6019
5820
  originalFilename: z.ZodString;
6020
5821
  type: z.ZodString;
@@ -6128,7 +5929,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6128
5929
  addressLine3?: string | null | undefined;
6129
5930
  postcodeOrZip?: string | null | undefined;
6130
5931
  }>]>>;
6131
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5932
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6132
5933
  filename: z.ZodString;
6133
5934
  originalFilename: z.ZodString;
6134
5935
  type: z.ZodString;
@@ -6252,10 +6053,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6252
6053
  type: "REJECT_CORRECTION";
6253
6054
  id: string;
6254
6055
  status: "Rejected" | "Requested" | "Accepted";
6255
- transactionId: string;
6256
6056
  createdAt: string;
6257
6057
  createdBy: string;
6258
- createdByRole: string;
6259
6058
  declaration: Record<string, string | number | boolean | {
6260
6059
  type: string;
6261
6060
  filename: string;
@@ -6293,7 +6092,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6293
6092
  option: string;
6294
6093
  filename: string;
6295
6094
  originalFilename: string;
6296
- }[] | [string, string] | undefined>;
6095
+ }[] | undefined>;
6297
6096
  createdAtLocation: string;
6298
6097
  requestId: string;
6299
6098
  annotation?: Record<string, string | number | boolean | {
@@ -6333,16 +6132,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6333
6132
  option: string;
6334
6133
  filename: string;
6335
6134
  originalFilename: string;
6336
- }[] | [string, string] | undefined> | undefined;
6135
+ }[] | undefined> | undefined;
6337
6136
  originalActionId?: string | undefined;
6338
6137
  }, {
6339
6138
  type: "REJECT_CORRECTION";
6340
6139
  id: string;
6341
6140
  status: "Rejected" | "Requested" | "Accepted";
6342
- transactionId: string;
6343
6141
  createdAt: string;
6344
6142
  createdBy: string;
6345
- createdByRole: string;
6346
6143
  declaration: Record<string, string | number | boolean | {
6347
6144
  type: string;
6348
6145
  filename: string;
@@ -6380,7 +6177,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6380
6177
  option: string;
6381
6178
  filename: string;
6382
6179
  originalFilename: string;
6383
- }[] | [string, string] | undefined>;
6180
+ }[] | undefined>;
6384
6181
  createdAtLocation: string;
6385
6182
  requestId: string;
6386
6183
  annotation?: Record<string, string | number | boolean | {
@@ -6420,15 +6217,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6420
6217
  option: string;
6421
6218
  filename: string;
6422
6219
  originalFilename: string;
6423
- }[] | [string, string] | undefined> | undefined;
6220
+ }[] | undefined> | undefined;
6424
6221
  originalActionId?: string | undefined;
6425
6222
  }>, z.ZodObject<z.objectUtil.extendShape<{
6426
6223
  id: z.ZodString;
6427
- transactionId: z.ZodString;
6428
6224
  createdAt: z.ZodString;
6429
6225
  createdBy: z.ZodString;
6430
- createdByRole: z.ZodString;
6431
- 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<{
6226
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6432
6227
  filename: z.ZodString;
6433
6228
  originalFilename: z.ZodString;
6434
6229
  type: z.ZodString;
@@ -6542,7 +6337,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6542
6337
  addressLine3?: string | null | undefined;
6543
6338
  postcodeOrZip?: string | null | undefined;
6544
6339
  }>]>>;
6545
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6340
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6546
6341
  filename: z.ZodString;
6547
6342
  originalFilename: z.ZodString;
6548
6343
  type: z.ZodString;
@@ -6661,15 +6456,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6661
6456
  originalActionId: z.ZodOptional<z.ZodString>;
6662
6457
  }, {
6663
6458
  type: z.ZodLiteral<"UNASSIGN">;
6664
- assignedTo: z.ZodLiteral<null>;
6459
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
6665
6460
  }>, "strip", z.ZodTypeAny, {
6666
6461
  type: "UNASSIGN";
6667
6462
  id: string;
6668
6463
  status: "Rejected" | "Requested" | "Accepted";
6669
- transactionId: string;
6670
6464
  createdAt: string;
6671
6465
  createdBy: string;
6672
- createdByRole: string;
6673
6466
  declaration: Record<string, string | number | boolean | {
6674
6467
  type: string;
6675
6468
  filename: string;
@@ -6707,7 +6500,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6707
6500
  option: string;
6708
6501
  filename: string;
6709
6502
  originalFilename: string;
6710
- }[] | [string, string] | undefined>;
6503
+ }[] | undefined>;
6711
6504
  createdAtLocation: string;
6712
6505
  assignedTo: null;
6713
6506
  annotation?: Record<string, string | number | boolean | {
@@ -6747,16 +6540,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
6540
  option: string;
6748
6541
  filename: string;
6749
6542
  originalFilename: string;
6750
- }[] | [string, string] | undefined> | undefined;
6543
+ }[] | undefined> | undefined;
6751
6544
  originalActionId?: string | undefined;
6752
6545
  }, {
6753
6546
  type: "UNASSIGN";
6754
6547
  id: string;
6755
6548
  status: "Rejected" | "Requested" | "Accepted";
6756
- transactionId: string;
6757
6549
  createdAt: string;
6758
6550
  createdBy: string;
6759
- createdByRole: string;
6760
6551
  declaration: Record<string, string | number | boolean | {
6761
6552
  type: string;
6762
6553
  filename: string;
@@ -6794,9 +6585,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6794
6585
  option: string;
6795
6586
  filename: string;
6796
6587
  originalFilename: string;
6797
- }[] | [string, string] | undefined>;
6588
+ }[] | undefined>;
6798
6589
  createdAtLocation: string;
6799
- assignedTo: null;
6800
6590
  annotation?: Record<string, string | number | boolean | {
6801
6591
  type: string;
6802
6592
  filename: string;
@@ -6834,15 +6624,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6834
6624
  option: string;
6835
6625
  filename: string;
6836
6626
  originalFilename: string;
6837
- }[] | [string, string] | undefined> | undefined;
6627
+ }[] | undefined> | undefined;
6838
6628
  originalActionId?: string | undefined;
6629
+ assignedTo?: null | undefined;
6839
6630
  }>, z.ZodObject<z.objectUtil.extendShape<{
6840
6631
  id: z.ZodString;
6841
- transactionId: z.ZodString;
6842
6632
  createdAt: z.ZodString;
6843
6633
  createdBy: z.ZodString;
6844
- createdByRole: z.ZodString;
6845
- 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<{
6634
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6846
6635
  filename: z.ZodString;
6847
6636
  originalFilename: z.ZodString;
6848
6637
  type: z.ZodString;
@@ -6956,7 +6745,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6956
6745
  addressLine3?: string | null | undefined;
6957
6746
  postcodeOrZip?: string | null | undefined;
6958
6747
  }>]>>;
6959
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6748
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6960
6749
  filename: z.ZodString;
6961
6750
  originalFilename: z.ZodString;
6962
6751
  type: z.ZodString;
@@ -7079,10 +6868,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7079
6868
  type: "PRINT_CERTIFICATE";
7080
6869
  id: string;
7081
6870
  status: "Rejected" | "Requested" | "Accepted";
7082
- transactionId: string;
7083
6871
  createdAt: string;
7084
6872
  createdBy: string;
7085
- createdByRole: string;
7086
6873
  declaration: Record<string, string | number | boolean | {
7087
6874
  type: string;
7088
6875
  filename: string;
@@ -7120,7 +6907,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7120
6907
  option: string;
7121
6908
  filename: string;
7122
6909
  originalFilename: string;
7123
- }[] | [string, string] | undefined>;
6910
+ }[] | undefined>;
7124
6911
  createdAtLocation: string;
7125
6912
  annotation?: Record<string, string | number | boolean | {
7126
6913
  type: string;
@@ -7159,16 +6946,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7159
6946
  option: string;
7160
6947
  filename: string;
7161
6948
  originalFilename: string;
7162
- }[] | [string, string] | undefined> | undefined;
6949
+ }[] | undefined> | undefined;
7163
6950
  originalActionId?: string | undefined;
7164
6951
  }, {
7165
6952
  type: "PRINT_CERTIFICATE";
7166
6953
  id: string;
7167
6954
  status: "Rejected" | "Requested" | "Accepted";
7168
- transactionId: string;
7169
6955
  createdAt: string;
7170
6956
  createdBy: string;
7171
- createdByRole: string;
7172
6957
  declaration: Record<string, string | number | boolean | {
7173
6958
  type: string;
7174
6959
  filename: string;
@@ -7206,7 +6991,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7206
6991
  option: string;
7207
6992
  filename: string;
7208
6993
  originalFilename: string;
7209
- }[] | [string, string] | undefined>;
6994
+ }[] | undefined>;
7210
6995
  createdAtLocation: string;
7211
6996
  annotation?: Record<string, string | number | boolean | {
7212
6997
  type: string;
@@ -7245,15 +7030,13 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7245
7030
  option: string;
7246
7031
  filename: string;
7247
7032
  originalFilename: string;
7248
- }[] | [string, string] | undefined> | undefined;
7033
+ }[] | undefined> | undefined;
7249
7034
  originalActionId?: string | undefined;
7250
7035
  }>, z.ZodObject<z.objectUtil.extendShape<{
7251
7036
  id: z.ZodString;
7252
- transactionId: z.ZodString;
7253
7037
  createdAt: z.ZodString;
7254
7038
  createdBy: z.ZodString;
7255
- createdByRole: z.ZodString;
7256
- 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<{
7039
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7257
7040
  filename: z.ZodString;
7258
7041
  originalFilename: z.ZodString;
7259
7042
  type: z.ZodString;
@@ -7367,7 +7150,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7367
7150
  addressLine3?: string | null | undefined;
7368
7151
  postcodeOrZip?: string | null | undefined;
7369
7152
  }>]>>;
7370
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7153
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7371
7154
  filename: z.ZodString;
7372
7155
  originalFilename: z.ZodString;
7373
7156
  type: z.ZodString;
@@ -7490,10 +7273,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7490
7273
  type: "READ";
7491
7274
  id: string;
7492
7275
  status: "Rejected" | "Requested" | "Accepted";
7493
- transactionId: string;
7494
7276
  createdAt: string;
7495
7277
  createdBy: string;
7496
- createdByRole: string;
7497
7278
  declaration: Record<string, string | number | boolean | {
7498
7279
  type: string;
7499
7280
  filename: string;
@@ -7531,7 +7312,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7531
7312
  option: string;
7532
7313
  filename: string;
7533
7314
  originalFilename: string;
7534
- }[] | [string, string] | undefined>;
7315
+ }[] | undefined>;
7535
7316
  createdAtLocation: string;
7536
7317
  annotation?: Record<string, string | number | boolean | {
7537
7318
  type: string;
@@ -7570,16 +7351,14 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7570
7351
  option: string;
7571
7352
  filename: string;
7572
7353
  originalFilename: string;
7573
- }[] | [string, string] | undefined> | undefined;
7354
+ }[] | undefined> | undefined;
7574
7355
  originalActionId?: string | undefined;
7575
7356
  }, {
7576
7357
  type: "READ";
7577
7358
  id: string;
7578
7359
  status: "Rejected" | "Requested" | "Accepted";
7579
- transactionId: string;
7580
7360
  createdAt: string;
7581
7361
  createdBy: string;
7582
- createdByRole: string;
7583
7362
  declaration: Record<string, string | number | boolean | {
7584
7363
  type: string;
7585
7364
  filename: string;
@@ -7617,7 +7396,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7617
7396
  option: string;
7618
7397
  filename: string;
7619
7398
  originalFilename: string;
7620
- }[] | [string, string] | undefined>;
7399
+ }[] | undefined>;
7621
7400
  createdAtLocation: string;
7622
7401
  annotation?: Record<string, string | number | boolean | {
7623
7402
  type: string;
@@ -7656,17 +7435,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7656
7435
  option: string;
7657
7436
  filename: string;
7658
7437
  originalFilename: string;
7659
- }[] | [string, string] | undefined> | undefined;
7438
+ }[] | undefined> | undefined;
7660
7439
  originalActionId?: string | undefined;
7661
7440
  }>]>;
7662
7441
  export type ActionDocument = z.infer<typeof ActionDocument>;
7663
7442
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
7664
7443
  id: z.ZodString;
7665
- transactionId: z.ZodString;
7666
7444
  createdAt: z.ZodString;
7667
7445
  createdBy: z.ZodString;
7668
- createdByRole: z.ZodString;
7669
- 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<{
7446
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7670
7447
  filename: z.ZodString;
7671
7448
  originalFilename: z.ZodString;
7672
7449
  type: z.ZodString;
@@ -7780,7 +7557,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7780
7557
  addressLine3?: string | null | undefined;
7781
7558
  postcodeOrZip?: string | null | undefined;
7782
7559
  }>]>>;
7783
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7560
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7784
7561
  filename: z.ZodString;
7785
7562
  originalFilename: z.ZodString;
7786
7563
  type: z.ZodString;
@@ -7897,38 +7674,28 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7897
7674
  createdAtLocation: z.ZodString;
7898
7675
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7899
7676
  originalActionId: z.ZodOptional<z.ZodString>;
7900
- }, "declaration" | "annotation">, {
7677
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7901
7678
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7902
7679
  status: z.ZodLiteral<"Rejected">;
7903
7680
  }>, "strip", z.ZodTypeAny, {
7904
7681
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7905
7682
  id: string;
7906
7683
  status: "Rejected";
7907
- transactionId: string;
7908
7684
  createdAt: string;
7909
- createdBy: string;
7910
- createdByRole: string;
7911
- createdAtLocation: string;
7912
7685
  originalActionId?: string | undefined;
7913
7686
  }, {
7914
7687
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7915
7688
  id: string;
7916
7689
  status: "Rejected";
7917
- transactionId: string;
7918
7690
  createdAt: string;
7919
- createdBy: string;
7920
- createdByRole: string;
7921
- createdAtLocation: string;
7922
7691
  originalActionId?: string | undefined;
7923
7692
  }>;
7924
7693
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7925
7694
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7926
7695
  id: z.ZodString;
7927
- transactionId: z.ZodString;
7928
7696
  createdAt: z.ZodString;
7929
7697
  createdBy: z.ZodString;
7930
- createdByRole: z.ZodString;
7931
- 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<{
7698
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7932
7699
  filename: z.ZodString;
7933
7700
  originalFilename: z.ZodString;
7934
7701
  type: z.ZodString;
@@ -8042,7 +7809,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8042
7809
  addressLine3?: string | null | undefined;
8043
7810
  postcodeOrZip?: string | null | undefined;
8044
7811
  }>]>>;
8045
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7812
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8046
7813
  filename: z.ZodString;
8047
7814
  originalFilename: z.ZodString;
8048
7815
  type: z.ZodString;
@@ -8165,10 +7932,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8165
7932
  type: "CREATE";
8166
7933
  id: string;
8167
7934
  status: "Rejected" | "Requested" | "Accepted";
8168
- transactionId: string;
8169
7935
  createdAt: string;
8170
7936
  createdBy: string;
8171
- createdByRole: string;
8172
7937
  declaration: Record<string, string | number | boolean | {
8173
7938
  type: string;
8174
7939
  filename: string;
@@ -8206,7 +7971,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8206
7971
  option: string;
8207
7972
  filename: string;
8208
7973
  originalFilename: string;
8209
- }[] | [string, string] | undefined>;
7974
+ }[] | undefined>;
8210
7975
  createdAtLocation: string;
8211
7976
  annotation?: Record<string, string | number | boolean | {
8212
7977
  type: string;
@@ -8245,16 +8010,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8245
8010
  option: string;
8246
8011
  filename: string;
8247
8012
  originalFilename: string;
8248
- }[] | [string, string] | undefined> | undefined;
8013
+ }[] | undefined> | undefined;
8249
8014
  originalActionId?: string | undefined;
8250
8015
  }, {
8251
8016
  type: "CREATE";
8252
8017
  id: string;
8253
8018
  status: "Rejected" | "Requested" | "Accepted";
8254
- transactionId: string;
8255
8019
  createdAt: string;
8256
8020
  createdBy: string;
8257
- createdByRole: string;
8258
8021
  declaration: Record<string, string | number | boolean | {
8259
8022
  type: string;
8260
8023
  filename: string;
@@ -8292,7 +8055,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8292
8055
  option: string;
8293
8056
  filename: string;
8294
8057
  originalFilename: string;
8295
- }[] | [string, string] | undefined>;
8058
+ }[] | undefined>;
8296
8059
  createdAtLocation: string;
8297
8060
  annotation?: Record<string, string | number | boolean | {
8298
8061
  type: string;
@@ -8331,15 +8094,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8331
8094
  option: string;
8332
8095
  filename: string;
8333
8096
  originalFilename: string;
8334
- }[] | [string, string] | undefined> | undefined;
8097
+ }[] | undefined> | undefined;
8335
8098
  originalActionId?: string | undefined;
8336
8099
  }>, z.ZodObject<z.objectUtil.extendShape<{
8337
8100
  id: z.ZodString;
8338
- transactionId: z.ZodString;
8339
8101
  createdAt: z.ZodString;
8340
8102
  createdBy: z.ZodString;
8341
- createdByRole: z.ZodString;
8342
- 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<{
8103
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8343
8104
  filename: z.ZodString;
8344
8105
  originalFilename: z.ZodString;
8345
8106
  type: z.ZodString;
@@ -8453,7 +8214,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8453
8214
  addressLine3?: string | null | undefined;
8454
8215
  postcodeOrZip?: string | null | undefined;
8455
8216
  }>]>>;
8456
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8217
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8457
8218
  filename: z.ZodString;
8458
8219
  originalFilename: z.ZodString;
8459
8220
  type: z.ZodString;
@@ -8576,10 +8337,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8576
8337
  type: "VALIDATE";
8577
8338
  id: string;
8578
8339
  status: "Rejected" | "Requested" | "Accepted";
8579
- transactionId: string;
8580
8340
  createdAt: string;
8581
8341
  createdBy: string;
8582
- createdByRole: string;
8583
8342
  declaration: Record<string, string | number | boolean | {
8584
8343
  type: string;
8585
8344
  filename: string;
@@ -8617,7 +8376,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8617
8376
  option: string;
8618
8377
  filename: string;
8619
8378
  originalFilename: string;
8620
- }[] | [string, string] | undefined>;
8379
+ }[] | undefined>;
8621
8380
  createdAtLocation: string;
8622
8381
  annotation?: Record<string, string | number | boolean | {
8623
8382
  type: string;
@@ -8656,16 +8415,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8656
8415
  option: string;
8657
8416
  filename: string;
8658
8417
  originalFilename: string;
8659
- }[] | [string, string] | undefined> | undefined;
8418
+ }[] | undefined> | undefined;
8660
8419
  originalActionId?: string | undefined;
8661
8420
  }, {
8662
8421
  type: "VALIDATE";
8663
8422
  id: string;
8664
8423
  status: "Rejected" | "Requested" | "Accepted";
8665
- transactionId: string;
8666
8424
  createdAt: string;
8667
8425
  createdBy: string;
8668
- createdByRole: string;
8669
8426
  declaration: Record<string, string | number | boolean | {
8670
8427
  type: string;
8671
8428
  filename: string;
@@ -8703,7 +8460,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8703
8460
  option: string;
8704
8461
  filename: string;
8705
8462
  originalFilename: string;
8706
- }[] | [string, string] | undefined>;
8463
+ }[] | undefined>;
8707
8464
  createdAtLocation: string;
8708
8465
  annotation?: Record<string, string | number | boolean | {
8709
8466
  type: string;
@@ -8742,15 +8499,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8742
8499
  option: string;
8743
8500
  filename: string;
8744
8501
  originalFilename: string;
8745
- }[] | [string, string] | undefined> | undefined;
8502
+ }[] | undefined> | undefined;
8746
8503
  originalActionId?: string | undefined;
8747
8504
  }>, z.ZodObject<z.objectUtil.extendShape<{
8748
8505
  id: z.ZodString;
8749
- transactionId: z.ZodString;
8750
8506
  createdAt: z.ZodString;
8751
8507
  createdBy: z.ZodString;
8752
- createdByRole: z.ZodString;
8753
- 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<{
8508
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8754
8509
  filename: z.ZodString;
8755
8510
  originalFilename: z.ZodString;
8756
8511
  type: z.ZodString;
@@ -8864,7 +8619,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8864
8619
  addressLine3?: string | null | undefined;
8865
8620
  postcodeOrZip?: string | null | undefined;
8866
8621
  }>]>>;
8867
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8622
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8868
8623
  filename: z.ZodString;
8869
8624
  originalFilename: z.ZodString;
8870
8625
  type: z.ZodString;
@@ -8987,10 +8742,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8987
8742
  type: "REJECT";
8988
8743
  id: string;
8989
8744
  status: "Rejected" | "Requested" | "Accepted";
8990
- transactionId: string;
8991
8745
  createdAt: string;
8992
8746
  createdBy: string;
8993
- createdByRole: string;
8994
8747
  declaration: Record<string, string | number | boolean | {
8995
8748
  type: string;
8996
8749
  filename: string;
@@ -9028,7 +8781,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9028
8781
  option: string;
9029
8782
  filename: string;
9030
8783
  originalFilename: string;
9031
- }[] | [string, string] | undefined>;
8784
+ }[] | undefined>;
9032
8785
  createdAtLocation: string;
9033
8786
  annotation?: Record<string, string | number | boolean | {
9034
8787
  type: string;
@@ -9067,16 +8820,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9067
8820
  option: string;
9068
8821
  filename: string;
9069
8822
  originalFilename: string;
9070
- }[] | [string, string] | undefined> | undefined;
8823
+ }[] | undefined> | undefined;
9071
8824
  originalActionId?: string | undefined;
9072
8825
  }, {
9073
8826
  type: "REJECT";
9074
8827
  id: string;
9075
8828
  status: "Rejected" | "Requested" | "Accepted";
9076
- transactionId: string;
9077
8829
  createdAt: string;
9078
8830
  createdBy: string;
9079
- createdByRole: string;
9080
8831
  declaration: Record<string, string | number | boolean | {
9081
8832
  type: string;
9082
8833
  filename: string;
@@ -9114,7 +8865,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9114
8865
  option: string;
9115
8866
  filename: string;
9116
8867
  originalFilename: string;
9117
- }[] | [string, string] | undefined>;
8868
+ }[] | undefined>;
9118
8869
  createdAtLocation: string;
9119
8870
  annotation?: Record<string, string | number | boolean | {
9120
8871
  type: string;
@@ -9153,15 +8904,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9153
8904
  option: string;
9154
8905
  filename: string;
9155
8906
  originalFilename: string;
9156
- }[] | [string, string] | undefined> | undefined;
8907
+ }[] | undefined> | undefined;
9157
8908
  originalActionId?: string | undefined;
9158
8909
  }>, z.ZodObject<z.objectUtil.extendShape<{
9159
8910
  id: z.ZodString;
9160
- transactionId: z.ZodString;
9161
8911
  createdAt: z.ZodString;
9162
8912
  createdBy: z.ZodString;
9163
- createdByRole: z.ZodString;
9164
- 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<{
8913
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9165
8914
  filename: z.ZodString;
9166
8915
  originalFilename: z.ZodString;
9167
8916
  type: z.ZodString;
@@ -9275,7 +9024,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9275
9024
  addressLine3?: string | null | undefined;
9276
9025
  postcodeOrZip?: string | null | undefined;
9277
9026
  }>]>>;
9278
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9027
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9279
9028
  filename: z.ZodString;
9280
9029
  originalFilename: z.ZodString;
9281
9030
  type: z.ZodString;
@@ -9398,10 +9147,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9398
9147
  type: "MARKED_AS_DUPLICATE";
9399
9148
  id: string;
9400
9149
  status: "Rejected" | "Requested" | "Accepted";
9401
- transactionId: string;
9402
9150
  createdAt: string;
9403
9151
  createdBy: string;
9404
- createdByRole: string;
9405
9152
  declaration: Record<string, string | number | boolean | {
9406
9153
  type: string;
9407
9154
  filename: string;
@@ -9439,7 +9186,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9439
9186
  option: string;
9440
9187
  filename: string;
9441
9188
  originalFilename: string;
9442
- }[] | [string, string] | undefined>;
9189
+ }[] | undefined>;
9443
9190
  createdAtLocation: string;
9444
9191
  annotation?: Record<string, string | number | boolean | {
9445
9192
  type: string;
@@ -9478,16 +9225,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9478
9225
  option: string;
9479
9226
  filename: string;
9480
9227
  originalFilename: string;
9481
- }[] | [string, string] | undefined> | undefined;
9228
+ }[] | undefined> | undefined;
9482
9229
  originalActionId?: string | undefined;
9483
9230
  }, {
9484
9231
  type: "MARKED_AS_DUPLICATE";
9485
9232
  id: string;
9486
9233
  status: "Rejected" | "Requested" | "Accepted";
9487
- transactionId: string;
9488
9234
  createdAt: string;
9489
9235
  createdBy: string;
9490
- createdByRole: string;
9491
9236
  declaration: Record<string, string | number | boolean | {
9492
9237
  type: string;
9493
9238
  filename: string;
@@ -9525,7 +9270,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9525
9270
  option: string;
9526
9271
  filename: string;
9527
9272
  originalFilename: string;
9528
- }[] | [string, string] | undefined>;
9273
+ }[] | undefined>;
9529
9274
  createdAtLocation: string;
9530
9275
  annotation?: Record<string, string | number | boolean | {
9531
9276
  type: string;
@@ -9564,15 +9309,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9564
9309
  option: string;
9565
9310
  filename: string;
9566
9311
  originalFilename: string;
9567
- }[] | [string, string] | undefined> | undefined;
9312
+ }[] | undefined> | undefined;
9568
9313
  originalActionId?: string | undefined;
9569
9314
  }>, z.ZodObject<z.objectUtil.extendShape<{
9570
9315
  id: z.ZodString;
9571
- transactionId: z.ZodString;
9572
9316
  createdAt: z.ZodString;
9573
9317
  createdBy: z.ZodString;
9574
- createdByRole: z.ZodString;
9575
- 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<{
9318
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9576
9319
  filename: z.ZodString;
9577
9320
  originalFilename: z.ZodString;
9578
9321
  type: z.ZodString;
@@ -9686,7 +9429,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9686
9429
  addressLine3?: string | null | undefined;
9687
9430
  postcodeOrZip?: string | null | undefined;
9688
9431
  }>]>>;
9689
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9432
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9690
9433
  filename: z.ZodString;
9691
9434
  originalFilename: z.ZodString;
9692
9435
  type: z.ZodString;
@@ -9809,10 +9552,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9809
9552
  type: "ARCHIVE";
9810
9553
  id: string;
9811
9554
  status: "Rejected" | "Requested" | "Accepted";
9812
- transactionId: string;
9813
9555
  createdAt: string;
9814
9556
  createdBy: string;
9815
- createdByRole: string;
9816
9557
  declaration: Record<string, string | number | boolean | {
9817
9558
  type: string;
9818
9559
  filename: string;
@@ -9850,7 +9591,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9850
9591
  option: string;
9851
9592
  filename: string;
9852
9593
  originalFilename: string;
9853
- }[] | [string, string] | undefined>;
9594
+ }[] | undefined>;
9854
9595
  createdAtLocation: string;
9855
9596
  annotation?: Record<string, string | number | boolean | {
9856
9597
  type: string;
@@ -9889,16 +9630,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9889
9630
  option: string;
9890
9631
  filename: string;
9891
9632
  originalFilename: string;
9892
- }[] | [string, string] | undefined> | undefined;
9633
+ }[] | undefined> | undefined;
9893
9634
  originalActionId?: string | undefined;
9894
9635
  }, {
9895
9636
  type: "ARCHIVE";
9896
9637
  id: string;
9897
9638
  status: "Rejected" | "Requested" | "Accepted";
9898
- transactionId: string;
9899
9639
  createdAt: string;
9900
9640
  createdBy: string;
9901
- createdByRole: string;
9902
9641
  declaration: Record<string, string | number | boolean | {
9903
9642
  type: string;
9904
9643
  filename: string;
@@ -9936,7 +9675,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9936
9675
  option: string;
9937
9676
  filename: string;
9938
9677
  originalFilename: string;
9939
- }[] | [string, string] | undefined>;
9678
+ }[] | undefined>;
9940
9679
  createdAtLocation: string;
9941
9680
  annotation?: Record<string, string | number | boolean | {
9942
9681
  type: string;
@@ -9975,15 +9714,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9975
9714
  option: string;
9976
9715
  filename: string;
9977
9716
  originalFilename: string;
9978
- }[] | [string, string] | undefined> | undefined;
9717
+ }[] | undefined> | undefined;
9979
9718
  originalActionId?: string | undefined;
9980
9719
  }>, z.ZodObject<z.objectUtil.extendShape<{
9981
9720
  id: z.ZodString;
9982
- transactionId: z.ZodString;
9983
9721
  createdAt: z.ZodString;
9984
9722
  createdBy: z.ZodString;
9985
- createdByRole: z.ZodString;
9986
- 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<{
9723
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9987
9724
  filename: z.ZodString;
9988
9725
  originalFilename: z.ZodString;
9989
9726
  type: z.ZodString;
@@ -10097,7 +9834,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10097
9834
  addressLine3?: string | null | undefined;
10098
9835
  postcodeOrZip?: string | null | undefined;
10099
9836
  }>]>>;
10100
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9837
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10101
9838
  filename: z.ZodString;
10102
9839
  originalFilename: z.ZodString;
10103
9840
  type: z.ZodString;
@@ -10220,10 +9957,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10220
9957
  type: "NOTIFY";
10221
9958
  id: string;
10222
9959
  status: "Rejected" | "Requested" | "Accepted";
10223
- transactionId: string;
10224
9960
  createdAt: string;
10225
9961
  createdBy: string;
10226
- createdByRole: string;
10227
9962
  declaration: Record<string, string | number | boolean | {
10228
9963
  type: string;
10229
9964
  filename: string;
@@ -10261,7 +9996,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10261
9996
  option: string;
10262
9997
  filename: string;
10263
9998
  originalFilename: string;
10264
- }[] | [string, string] | undefined>;
9999
+ }[] | undefined>;
10265
10000
  createdAtLocation: string;
10266
10001
  annotation?: Record<string, string | number | boolean | {
10267
10002
  type: string;
@@ -10300,16 +10035,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10300
10035
  option: string;
10301
10036
  filename: string;
10302
10037
  originalFilename: string;
10303
- }[] | [string, string] | undefined> | undefined;
10038
+ }[] | undefined> | undefined;
10304
10039
  originalActionId?: string | undefined;
10305
10040
  }, {
10306
10041
  type: "NOTIFY";
10307
10042
  id: string;
10308
10043
  status: "Rejected" | "Requested" | "Accepted";
10309
- transactionId: string;
10310
10044
  createdAt: string;
10311
10045
  createdBy: string;
10312
- createdByRole: string;
10313
10046
  declaration: Record<string, string | number | boolean | {
10314
10047
  type: string;
10315
10048
  filename: string;
@@ -10347,7 +10080,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10347
10080
  option: string;
10348
10081
  filename: string;
10349
10082
  originalFilename: string;
10350
- }[] | [string, string] | undefined>;
10083
+ }[] | undefined>;
10351
10084
  createdAtLocation: string;
10352
10085
  annotation?: Record<string, string | number | boolean | {
10353
10086
  type: string;
@@ -10386,15 +10119,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10386
10119
  option: string;
10387
10120
  filename: string;
10388
10121
  originalFilename: string;
10389
- }[] | [string, string] | undefined> | undefined;
10122
+ }[] | undefined> | undefined;
10390
10123
  originalActionId?: string | undefined;
10391
10124
  }>, z.ZodObject<z.objectUtil.extendShape<{
10392
10125
  id: z.ZodString;
10393
- transactionId: z.ZodString;
10394
10126
  createdAt: z.ZodString;
10395
10127
  createdBy: z.ZodString;
10396
- createdByRole: z.ZodString;
10397
- 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<{
10128
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10398
10129
  filename: z.ZodString;
10399
10130
  originalFilename: z.ZodString;
10400
10131
  type: z.ZodString;
@@ -10508,7 +10239,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10508
10239
  addressLine3?: string | null | undefined;
10509
10240
  postcodeOrZip?: string | null | undefined;
10510
10241
  }>]>>;
10511
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10242
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10512
10243
  filename: z.ZodString;
10513
10244
  originalFilename: z.ZodString;
10514
10245
  type: z.ZodString;
@@ -10632,10 +10363,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10632
10363
  type: "REGISTER";
10633
10364
  id: string;
10634
10365
  status: "Rejected" | "Requested" | "Accepted";
10635
- transactionId: string;
10636
10366
  createdAt: string;
10637
10367
  createdBy: string;
10638
- createdByRole: string;
10639
10368
  declaration: Record<string, string | number | boolean | {
10640
10369
  type: string;
10641
10370
  filename: string;
@@ -10673,7 +10402,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10673
10402
  option: string;
10674
10403
  filename: string;
10675
10404
  originalFilename: string;
10676
- }[] | [string, string] | undefined>;
10405
+ }[] | undefined>;
10677
10406
  createdAtLocation: string;
10678
10407
  annotation?: Record<string, string | number | boolean | {
10679
10408
  type: string;
@@ -10712,17 +10441,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10712
10441
  option: string;
10713
10442
  filename: string;
10714
10443
  originalFilename: string;
10715
- }[] | [string, string] | undefined> | undefined;
10444
+ }[] | undefined> | undefined;
10716
10445
  originalActionId?: string | undefined;
10717
10446
  registrationNumber?: string | undefined;
10718
10447
  }, {
10719
10448
  type: "REGISTER";
10720
10449
  id: string;
10721
10450
  status: "Rejected" | "Requested" | "Accepted";
10722
- transactionId: string;
10723
10451
  createdAt: string;
10724
10452
  createdBy: string;
10725
- createdByRole: string;
10726
10453
  declaration: Record<string, string | number | boolean | {
10727
10454
  type: string;
10728
10455
  filename: string;
@@ -10760,7 +10487,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10760
10487
  option: string;
10761
10488
  filename: string;
10762
10489
  originalFilename: string;
10763
- }[] | [string, string] | undefined>;
10490
+ }[] | undefined>;
10764
10491
  createdAtLocation: string;
10765
10492
  annotation?: Record<string, string | number | boolean | {
10766
10493
  type: string;
@@ -10799,16 +10526,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10799
10526
  option: string;
10800
10527
  filename: string;
10801
10528
  originalFilename: string;
10802
- }[] | [string, string] | undefined> | undefined;
10529
+ }[] | undefined> | undefined;
10803
10530
  originalActionId?: string | undefined;
10804
10531
  registrationNumber?: string | undefined;
10805
10532
  }>, z.ZodObject<z.objectUtil.extendShape<{
10806
10533
  id: z.ZodString;
10807
- transactionId: z.ZodString;
10808
10534
  createdAt: z.ZodString;
10809
10535
  createdBy: z.ZodString;
10810
- createdByRole: z.ZodString;
10811
- 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<{
10536
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10812
10537
  filename: z.ZodString;
10813
10538
  originalFilename: z.ZodString;
10814
10539
  type: z.ZodString;
@@ -10922,7 +10647,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10922
10647
  addressLine3?: string | null | undefined;
10923
10648
  postcodeOrZip?: string | null | undefined;
10924
10649
  }>]>>;
10925
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10650
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10926
10651
  filename: z.ZodString;
10927
10652
  originalFilename: z.ZodString;
10928
10653
  type: z.ZodString;
@@ -11045,10 +10770,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11045
10770
  type: "DECLARE";
11046
10771
  id: string;
11047
10772
  status: "Rejected" | "Requested" | "Accepted";
11048
- transactionId: string;
11049
10773
  createdAt: string;
11050
10774
  createdBy: string;
11051
- createdByRole: string;
11052
10775
  declaration: Record<string, string | number | boolean | {
11053
10776
  type: string;
11054
10777
  filename: string;
@@ -11086,7 +10809,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11086
10809
  option: string;
11087
10810
  filename: string;
11088
10811
  originalFilename: string;
11089
- }[] | [string, string] | undefined>;
10812
+ }[] | undefined>;
11090
10813
  createdAtLocation: string;
11091
10814
  annotation?: Record<string, string | number | boolean | {
11092
10815
  type: string;
@@ -11125,16 +10848,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11125
10848
  option: string;
11126
10849
  filename: string;
11127
10850
  originalFilename: string;
11128
- }[] | [string, string] | undefined> | undefined;
10851
+ }[] | undefined> | undefined;
11129
10852
  originalActionId?: string | undefined;
11130
10853
  }, {
11131
10854
  type: "DECLARE";
11132
10855
  id: string;
11133
10856
  status: "Rejected" | "Requested" | "Accepted";
11134
- transactionId: string;
11135
10857
  createdAt: string;
11136
10858
  createdBy: string;
11137
- createdByRole: string;
11138
10859
  declaration: Record<string, string | number | boolean | {
11139
10860
  type: string;
11140
10861
  filename: string;
@@ -11172,7 +10893,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11172
10893
  option: string;
11173
10894
  filename: string;
11174
10895
  originalFilename: string;
11175
- }[] | [string, string] | undefined>;
10896
+ }[] | undefined>;
11176
10897
  createdAtLocation: string;
11177
10898
  annotation?: Record<string, string | number | boolean | {
11178
10899
  type: string;
@@ -11211,15 +10932,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11211
10932
  option: string;
11212
10933
  filename: string;
11213
10934
  originalFilename: string;
11214
- }[] | [string, string] | undefined> | undefined;
10935
+ }[] | undefined> | undefined;
11215
10936
  originalActionId?: string | undefined;
11216
10937
  }>, z.ZodObject<z.objectUtil.extendShape<{
11217
10938
  id: z.ZodString;
11218
- transactionId: z.ZodString;
11219
10939
  createdAt: z.ZodString;
11220
10940
  createdBy: z.ZodString;
11221
- createdByRole: z.ZodString;
11222
- 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<{
10941
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11223
10942
  filename: z.ZodString;
11224
10943
  originalFilename: z.ZodString;
11225
10944
  type: z.ZodString;
@@ -11333,7 +11052,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11333
11052
  addressLine3?: string | null | undefined;
11334
11053
  postcodeOrZip?: string | null | undefined;
11335
11054
  }>]>>;
11336
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11055
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11337
11056
  filename: z.ZodString;
11338
11057
  originalFilename: z.ZodString;
11339
11058
  type: z.ZodString;
@@ -11457,10 +11176,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11457
11176
  type: "ASSIGN";
11458
11177
  id: string;
11459
11178
  status: "Rejected" | "Requested" | "Accepted";
11460
- transactionId: string;
11461
11179
  createdAt: string;
11462
11180
  createdBy: string;
11463
- createdByRole: string;
11464
11181
  declaration: Record<string, string | number | boolean | {
11465
11182
  type: string;
11466
11183
  filename: string;
@@ -11498,7 +11215,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11498
11215
  option: string;
11499
11216
  filename: string;
11500
11217
  originalFilename: string;
11501
- }[] | [string, string] | undefined>;
11218
+ }[] | undefined>;
11502
11219
  createdAtLocation: string;
11503
11220
  assignedTo: string;
11504
11221
  annotation?: Record<string, string | number | boolean | {
@@ -11538,16 +11255,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11538
11255
  option: string;
11539
11256
  filename: string;
11540
11257
  originalFilename: string;
11541
- }[] | [string, string] | undefined> | undefined;
11258
+ }[] | undefined> | undefined;
11542
11259
  originalActionId?: string | undefined;
11543
11260
  }, {
11544
11261
  type: "ASSIGN";
11545
11262
  id: string;
11546
11263
  status: "Rejected" | "Requested" | "Accepted";
11547
- transactionId: string;
11548
11264
  createdAt: string;
11549
11265
  createdBy: string;
11550
- createdByRole: string;
11551
11266
  declaration: Record<string, string | number | boolean | {
11552
11267
  type: string;
11553
11268
  filename: string;
@@ -11585,7 +11300,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11585
11300
  option: string;
11586
11301
  filename: string;
11587
11302
  originalFilename: string;
11588
- }[] | [string, string] | undefined>;
11303
+ }[] | undefined>;
11589
11304
  createdAtLocation: string;
11590
11305
  assignedTo: string;
11591
11306
  annotation?: Record<string, string | number | boolean | {
@@ -11625,15 +11340,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11625
11340
  option: string;
11626
11341
  filename: string;
11627
11342
  originalFilename: string;
11628
- }[] | [string, string] | undefined> | undefined;
11343
+ }[] | undefined> | undefined;
11629
11344
  originalActionId?: string | undefined;
11630
11345
  }>, z.ZodObject<z.objectUtil.extendShape<{
11631
11346
  id: z.ZodString;
11632
- transactionId: z.ZodString;
11633
11347
  createdAt: z.ZodString;
11634
11348
  createdBy: z.ZodString;
11635
- createdByRole: z.ZodString;
11636
- 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<{
11349
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11637
11350
  filename: z.ZodString;
11638
11351
  originalFilename: z.ZodString;
11639
11352
  type: z.ZodString;
@@ -11747,7 +11460,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11747
11460
  addressLine3?: string | null | undefined;
11748
11461
  postcodeOrZip?: string | null | undefined;
11749
11462
  }>]>>;
11750
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11463
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11751
11464
  filename: z.ZodString;
11752
11465
  originalFilename: z.ZodString;
11753
11466
  type: z.ZodString;
@@ -11870,10 +11583,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11870
11583
  type: "REQUEST_CORRECTION";
11871
11584
  id: string;
11872
11585
  status: "Rejected" | "Requested" | "Accepted";
11873
- transactionId: string;
11874
11586
  createdAt: string;
11875
11587
  createdBy: string;
11876
- createdByRole: string;
11877
11588
  declaration: Record<string, string | number | boolean | {
11878
11589
  type: string;
11879
11590
  filename: string;
@@ -11911,7 +11622,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11911
11622
  option: string;
11912
11623
  filename: string;
11913
11624
  originalFilename: string;
11914
- }[] | [string, string] | undefined>;
11625
+ }[] | undefined>;
11915
11626
  createdAtLocation: string;
11916
11627
  annotation?: Record<string, string | number | boolean | {
11917
11628
  type: string;
@@ -11950,16 +11661,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11950
11661
  option: string;
11951
11662
  filename: string;
11952
11663
  originalFilename: string;
11953
- }[] | [string, string] | undefined> | undefined;
11664
+ }[] | undefined> | undefined;
11954
11665
  originalActionId?: string | undefined;
11955
11666
  }, {
11956
11667
  type: "REQUEST_CORRECTION";
11957
11668
  id: string;
11958
11669
  status: "Rejected" | "Requested" | "Accepted";
11959
- transactionId: string;
11960
11670
  createdAt: string;
11961
11671
  createdBy: string;
11962
- createdByRole: string;
11963
11672
  declaration: Record<string, string | number | boolean | {
11964
11673
  type: string;
11965
11674
  filename: string;
@@ -11997,7 +11706,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11997
11706
  option: string;
11998
11707
  filename: string;
11999
11708
  originalFilename: string;
12000
- }[] | [string, string] | undefined>;
11709
+ }[] | undefined>;
12001
11710
  createdAtLocation: string;
12002
11711
  annotation?: Record<string, string | number | boolean | {
12003
11712
  type: string;
@@ -12036,15 +11745,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12036
11745
  option: string;
12037
11746
  filename: string;
12038
11747
  originalFilename: string;
12039
- }[] | [string, string] | undefined> | undefined;
11748
+ }[] | undefined> | undefined;
12040
11749
  originalActionId?: string | undefined;
12041
11750
  }>, z.ZodObject<z.objectUtil.extendShape<{
12042
11751
  id: z.ZodString;
12043
- transactionId: z.ZodString;
12044
11752
  createdAt: z.ZodString;
12045
11753
  createdBy: z.ZodString;
12046
- createdByRole: z.ZodString;
12047
- 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<{
11754
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12048
11755
  filename: z.ZodString;
12049
11756
  originalFilename: z.ZodString;
12050
11757
  type: z.ZodString;
@@ -12158,7 +11865,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12158
11865
  addressLine3?: string | null | undefined;
12159
11866
  postcodeOrZip?: string | null | undefined;
12160
11867
  }>]>>;
12161
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11868
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12162
11869
  filename: z.ZodString;
12163
11870
  originalFilename: z.ZodString;
12164
11871
  type: z.ZodString;
@@ -12282,10 +11989,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12282
11989
  type: "APPROVE_CORRECTION";
12283
11990
  id: string;
12284
11991
  status: "Rejected" | "Requested" | "Accepted";
12285
- transactionId: string;
12286
11992
  createdAt: string;
12287
11993
  createdBy: string;
12288
- createdByRole: string;
12289
11994
  declaration: Record<string, string | number | boolean | {
12290
11995
  type: string;
12291
11996
  filename: string;
@@ -12323,7 +12028,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12323
12028
  option: string;
12324
12029
  filename: string;
12325
12030
  originalFilename: string;
12326
- }[] | [string, string] | undefined>;
12031
+ }[] | undefined>;
12327
12032
  createdAtLocation: string;
12328
12033
  requestId: string;
12329
12034
  annotation?: Record<string, string | number | boolean | {
@@ -12363,16 +12068,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
12068
  option: string;
12364
12069
  filename: string;
12365
12070
  originalFilename: string;
12366
- }[] | [string, string] | undefined> | undefined;
12071
+ }[] | undefined> | undefined;
12367
12072
  originalActionId?: string | undefined;
12368
12073
  }, {
12369
12074
  type: "APPROVE_CORRECTION";
12370
12075
  id: string;
12371
12076
  status: "Rejected" | "Requested" | "Accepted";
12372
- transactionId: string;
12373
12077
  createdAt: string;
12374
12078
  createdBy: string;
12375
- createdByRole: string;
12376
12079
  declaration: Record<string, string | number | boolean | {
12377
12080
  type: string;
12378
12081
  filename: string;
@@ -12410,7 +12113,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12410
12113
  option: string;
12411
12114
  filename: string;
12412
12115
  originalFilename: string;
12413
- }[] | [string, string] | undefined>;
12116
+ }[] | undefined>;
12414
12117
  createdAtLocation: string;
12415
12118
  requestId: string;
12416
12119
  annotation?: Record<string, string | number | boolean | {
@@ -12450,15 +12153,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12450
12153
  option: string;
12451
12154
  filename: string;
12452
12155
  originalFilename: string;
12453
- }[] | [string, string] | undefined> | undefined;
12156
+ }[] | undefined> | undefined;
12454
12157
  originalActionId?: string | undefined;
12455
12158
  }>, z.ZodObject<z.objectUtil.extendShape<{
12456
12159
  id: z.ZodString;
12457
- transactionId: z.ZodString;
12458
12160
  createdAt: z.ZodString;
12459
12161
  createdBy: z.ZodString;
12460
- createdByRole: z.ZodString;
12461
- 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<{
12162
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12462
12163
  filename: z.ZodString;
12463
12164
  originalFilename: z.ZodString;
12464
12165
  type: z.ZodString;
@@ -12572,7 +12273,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12572
12273
  addressLine3?: string | null | undefined;
12573
12274
  postcodeOrZip?: string | null | undefined;
12574
12275
  }>]>>;
12575
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12276
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12576
12277
  filename: z.ZodString;
12577
12278
  originalFilename: z.ZodString;
12578
12279
  type: z.ZodString;
@@ -12696,10 +12397,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12696
12397
  type: "REJECT_CORRECTION";
12697
12398
  id: string;
12698
12399
  status: "Rejected" | "Requested" | "Accepted";
12699
- transactionId: string;
12700
12400
  createdAt: string;
12701
12401
  createdBy: string;
12702
- createdByRole: string;
12703
12402
  declaration: Record<string, string | number | boolean | {
12704
12403
  type: string;
12705
12404
  filename: string;
@@ -12737,7 +12436,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12737
12436
  option: string;
12738
12437
  filename: string;
12739
12438
  originalFilename: string;
12740
- }[] | [string, string] | undefined>;
12439
+ }[] | undefined>;
12741
12440
  createdAtLocation: string;
12742
12441
  requestId: string;
12743
12442
  annotation?: Record<string, string | number | boolean | {
@@ -12777,16 +12476,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12777
12476
  option: string;
12778
12477
  filename: string;
12779
12478
  originalFilename: string;
12780
- }[] | [string, string] | undefined> | undefined;
12479
+ }[] | undefined> | undefined;
12781
12480
  originalActionId?: string | undefined;
12782
12481
  }, {
12783
12482
  type: "REJECT_CORRECTION";
12784
12483
  id: string;
12785
12484
  status: "Rejected" | "Requested" | "Accepted";
12786
- transactionId: string;
12787
12485
  createdAt: string;
12788
12486
  createdBy: string;
12789
- createdByRole: string;
12790
12487
  declaration: Record<string, string | number | boolean | {
12791
12488
  type: string;
12792
12489
  filename: string;
@@ -12824,7 +12521,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12824
12521
  option: string;
12825
12522
  filename: string;
12826
12523
  originalFilename: string;
12827
- }[] | [string, string] | undefined>;
12524
+ }[] | undefined>;
12828
12525
  createdAtLocation: string;
12829
12526
  requestId: string;
12830
12527
  annotation?: Record<string, string | number | boolean | {
@@ -12864,15 +12561,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12864
12561
  option: string;
12865
12562
  filename: string;
12866
12563
  originalFilename: string;
12867
- }[] | [string, string] | undefined> | undefined;
12564
+ }[] | undefined> | undefined;
12868
12565
  originalActionId?: string | undefined;
12869
12566
  }>, z.ZodObject<z.objectUtil.extendShape<{
12870
12567
  id: z.ZodString;
12871
- transactionId: z.ZodString;
12872
12568
  createdAt: z.ZodString;
12873
12569
  createdBy: z.ZodString;
12874
- createdByRole: z.ZodString;
12875
- 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<{
12570
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12876
12571
  filename: z.ZodString;
12877
12572
  originalFilename: z.ZodString;
12878
12573
  type: z.ZodString;
@@ -12986,7 +12681,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12986
12681
  addressLine3?: string | null | undefined;
12987
12682
  postcodeOrZip?: string | null | undefined;
12988
12683
  }>]>>;
12989
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12684
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12990
12685
  filename: z.ZodString;
12991
12686
  originalFilename: z.ZodString;
12992
12687
  type: z.ZodString;
@@ -13105,15 +12800,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13105
12800
  originalActionId: z.ZodOptional<z.ZodString>;
13106
12801
  }, {
13107
12802
  type: z.ZodLiteral<"UNASSIGN">;
13108
- assignedTo: z.ZodLiteral<null>;
12803
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
13109
12804
  }>, "strip", z.ZodTypeAny, {
13110
12805
  type: "UNASSIGN";
13111
12806
  id: string;
13112
12807
  status: "Rejected" | "Requested" | "Accepted";
13113
- transactionId: string;
13114
12808
  createdAt: string;
13115
12809
  createdBy: string;
13116
- createdByRole: string;
13117
12810
  declaration: Record<string, string | number | boolean | {
13118
12811
  type: string;
13119
12812
  filename: string;
@@ -13151,7 +12844,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13151
12844
  option: string;
13152
12845
  filename: string;
13153
12846
  originalFilename: string;
13154
- }[] | [string, string] | undefined>;
12847
+ }[] | undefined>;
13155
12848
  createdAtLocation: string;
13156
12849
  assignedTo: null;
13157
12850
  annotation?: Record<string, string | number | boolean | {
@@ -13191,16 +12884,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13191
12884
  option: string;
13192
12885
  filename: string;
13193
12886
  originalFilename: string;
13194
- }[] | [string, string] | undefined> | undefined;
12887
+ }[] | undefined> | undefined;
13195
12888
  originalActionId?: string | undefined;
13196
12889
  }, {
13197
12890
  type: "UNASSIGN";
13198
12891
  id: string;
13199
12892
  status: "Rejected" | "Requested" | "Accepted";
13200
- transactionId: string;
13201
12893
  createdAt: string;
13202
12894
  createdBy: string;
13203
- createdByRole: string;
13204
12895
  declaration: Record<string, string | number | boolean | {
13205
12896
  type: string;
13206
12897
  filename: string;
@@ -13238,9 +12929,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13238
12929
  option: string;
13239
12930
  filename: string;
13240
12931
  originalFilename: string;
13241
- }[] | [string, string] | undefined>;
12932
+ }[] | undefined>;
13242
12933
  createdAtLocation: string;
13243
- assignedTo: null;
13244
12934
  annotation?: Record<string, string | number | boolean | {
13245
12935
  type: string;
13246
12936
  filename: string;
@@ -13278,15 +12968,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13278
12968
  option: string;
13279
12969
  filename: string;
13280
12970
  originalFilename: string;
13281
- }[] | [string, string] | undefined> | undefined;
12971
+ }[] | undefined> | undefined;
13282
12972
  originalActionId?: string | undefined;
12973
+ assignedTo?: null | undefined;
13283
12974
  }>, z.ZodObject<z.objectUtil.extendShape<{
13284
12975
  id: z.ZodString;
13285
- transactionId: z.ZodString;
13286
12976
  createdAt: z.ZodString;
13287
12977
  createdBy: z.ZodString;
13288
- createdByRole: z.ZodString;
13289
- 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<{
12978
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13290
12979
  filename: z.ZodString;
13291
12980
  originalFilename: z.ZodString;
13292
12981
  type: z.ZodString;
@@ -13400,7 +13089,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13400
13089
  addressLine3?: string | null | undefined;
13401
13090
  postcodeOrZip?: string | null | undefined;
13402
13091
  }>]>>;
13403
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13092
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13404
13093
  filename: z.ZodString;
13405
13094
  originalFilename: z.ZodString;
13406
13095
  type: z.ZodString;
@@ -13523,10 +13212,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13523
13212
  type: "PRINT_CERTIFICATE";
13524
13213
  id: string;
13525
13214
  status: "Rejected" | "Requested" | "Accepted";
13526
- transactionId: string;
13527
13215
  createdAt: string;
13528
13216
  createdBy: string;
13529
- createdByRole: string;
13530
13217
  declaration: Record<string, string | number | boolean | {
13531
13218
  type: string;
13532
13219
  filename: string;
@@ -13564,7 +13251,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13564
13251
  option: string;
13565
13252
  filename: string;
13566
13253
  originalFilename: string;
13567
- }[] | [string, string] | undefined>;
13254
+ }[] | undefined>;
13568
13255
  createdAtLocation: string;
13569
13256
  annotation?: Record<string, string | number | boolean | {
13570
13257
  type: string;
@@ -13603,16 +13290,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13603
13290
  option: string;
13604
13291
  filename: string;
13605
13292
  originalFilename: string;
13606
- }[] | [string, string] | undefined> | undefined;
13293
+ }[] | undefined> | undefined;
13607
13294
  originalActionId?: string | undefined;
13608
13295
  }, {
13609
13296
  type: "PRINT_CERTIFICATE";
13610
13297
  id: string;
13611
13298
  status: "Rejected" | "Requested" | "Accepted";
13612
- transactionId: string;
13613
13299
  createdAt: string;
13614
13300
  createdBy: string;
13615
- createdByRole: string;
13616
13301
  declaration: Record<string, string | number | boolean | {
13617
13302
  type: string;
13618
13303
  filename: string;
@@ -13650,7 +13335,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13650
13335
  option: string;
13651
13336
  filename: string;
13652
13337
  originalFilename: string;
13653
- }[] | [string, string] | undefined>;
13338
+ }[] | undefined>;
13654
13339
  createdAtLocation: string;
13655
13340
  annotation?: Record<string, string | number | boolean | {
13656
13341
  type: string;
@@ -13689,15 +13374,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13689
13374
  option: string;
13690
13375
  filename: string;
13691
13376
  originalFilename: string;
13692
- }[] | [string, string] | undefined> | undefined;
13377
+ }[] | undefined> | undefined;
13693
13378
  originalActionId?: string | undefined;
13694
13379
  }>, z.ZodObject<z.objectUtil.extendShape<{
13695
13380
  id: z.ZodString;
13696
- transactionId: z.ZodString;
13697
13381
  createdAt: z.ZodString;
13698
13382
  createdBy: z.ZodString;
13699
- createdByRole: z.ZodString;
13700
- 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<{
13383
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13701
13384
  filename: z.ZodString;
13702
13385
  originalFilename: z.ZodString;
13703
13386
  type: z.ZodString;
@@ -13811,7 +13494,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13811
13494
  addressLine3?: string | null | undefined;
13812
13495
  postcodeOrZip?: string | null | undefined;
13813
13496
  }>]>>;
13814
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13497
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13815
13498
  filename: z.ZodString;
13816
13499
  originalFilename: z.ZodString;
13817
13500
  type: z.ZodString;
@@ -13934,10 +13617,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13934
13617
  type: "READ";
13935
13618
  id: string;
13936
13619
  status: "Rejected" | "Requested" | "Accepted";
13937
- transactionId: string;
13938
13620
  createdAt: string;
13939
13621
  createdBy: string;
13940
- createdByRole: string;
13941
13622
  declaration: Record<string, string | number | boolean | {
13942
13623
  type: string;
13943
13624
  filename: string;
@@ -13975,7 +13656,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13975
13656
  option: string;
13976
13657
  filename: string;
13977
13658
  originalFilename: string;
13978
- }[] | [string, string] | undefined>;
13659
+ }[] | undefined>;
13979
13660
  createdAtLocation: string;
13980
13661
  annotation?: Record<string, string | number | boolean | {
13981
13662
  type: string;
@@ -14014,16 +13695,14 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14014
13695
  option: string;
14015
13696
  filename: string;
14016
13697
  originalFilename: string;
14017
- }[] | [string, string] | undefined> | undefined;
13698
+ }[] | undefined> | undefined;
14018
13699
  originalActionId?: string | undefined;
14019
13700
  }, {
14020
13701
  type: "READ";
14021
13702
  id: string;
14022
13703
  status: "Rejected" | "Requested" | "Accepted";
14023
- transactionId: string;
14024
13704
  createdAt: string;
14025
13705
  createdBy: string;
14026
- createdByRole: string;
14027
13706
  declaration: Record<string, string | number | boolean | {
14028
13707
  type: string;
14029
13708
  filename: string;
@@ -14061,7 +13740,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14061
13740
  option: string;
14062
13741
  filename: string;
14063
13742
  originalFilename: string;
14064
- }[] | [string, string] | undefined>;
13743
+ }[] | undefined>;
14065
13744
  createdAtLocation: string;
14066
13745
  annotation?: Record<string, string | number | boolean | {
14067
13746
  type: string;
@@ -14100,15 +13779,13 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14100
13779
  option: string;
14101
13780
  filename: string;
14102
13781
  originalFilename: string;
14103
- }[] | [string, string] | undefined> | undefined;
13782
+ }[] | undefined> | undefined;
14104
13783
  originalActionId?: string | undefined;
14105
13784
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14106
13785
  id: z.ZodString;
14107
- transactionId: z.ZodString;
14108
13786
  createdAt: z.ZodString;
14109
13787
  createdBy: z.ZodString;
14110
- createdByRole: z.ZodString;
14111
- 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<{
13788
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14112
13789
  filename: z.ZodString;
14113
13790
  originalFilename: z.ZodString;
14114
13791
  type: z.ZodString;
@@ -14222,7 +13899,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14222
13899
  addressLine3?: string | null | undefined;
14223
13900
  postcodeOrZip?: string | null | undefined;
14224
13901
  }>]>>;
14225
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13902
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14226
13903
  filename: z.ZodString;
14227
13904
  originalFilename: z.ZodString;
14228
13905
  type: z.ZodString;
@@ -14339,28 +14016,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14339
14016
  createdAtLocation: z.ZodString;
14340
14017
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14341
14018
  originalActionId: z.ZodOptional<z.ZodString>;
14342
- }, "declaration" | "annotation">, {
14019
+ }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
14343
14020
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14344
14021
  status: z.ZodLiteral<"Rejected">;
14345
14022
  }>, "strip", z.ZodTypeAny, {
14346
14023
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14347
14024
  id: string;
14348
14025
  status: "Rejected";
14349
- transactionId: string;
14350
14026
  createdAt: string;
14351
- createdBy: string;
14352
- createdByRole: string;
14353
- createdAtLocation: string;
14354
14027
  originalActionId?: string | undefined;
14355
14028
  }, {
14356
14029
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14357
14030
  id: string;
14358
14031
  status: "Rejected";
14359
- transactionId: string;
14360
14032
  createdAt: string;
14361
- createdBy: string;
14362
- createdByRole: string;
14363
- createdAtLocation: string;
14364
14033
  originalActionId?: string | undefined;
14365
14034
  }>]>;
14366
14035
  export type Action = ActionDocument | AsyncRejectActionDocument;