@opencrvs/toolkit 1.8.0-rc.f8e4107 → 1.8.0-rc.f966df9

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 (35) hide show
  1. package/dist/commons/api/router.d.ts +8083 -4833
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -69
  3. package/dist/commons/conditionals/validate.d.ts +4 -6
  4. package/dist/commons/events/ActionConfig.d.ts +90025 -1680
  5. package/dist/commons/events/ActionDocument.d.ts +643 -417
  6. package/dist/commons/events/ActionInput.d.ts +248 -240
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +274 -23
  8. package/dist/commons/events/CompositeFieldValue.d.ts +3 -0
  9. package/dist/commons/events/Draft.d.ts +38 -30
  10. package/dist/commons/events/EventConfig.d.ts +42787 -1385
  11. package/dist/commons/events/EventDocument.d.ts +413 -312
  12. package/dist/commons/events/EventIndex.d.ts +862 -155
  13. package/dist/commons/events/EventInput.d.ts +13 -0
  14. package/dist/commons/events/EventMetadata.d.ts +271 -11
  15. package/dist/commons/events/FieldConfig.d.ts +3778 -769
  16. package/dist/commons/events/FieldType.d.ts +3 -3
  17. package/dist/commons/events/FieldTypeMapping.d.ts +11 -4
  18. package/dist/commons/events/FieldValue.d.ts +7 -4
  19. package/dist/commons/events/FormConfig.d.ts +40417 -439
  20. package/dist/commons/events/PageConfig.d.ts +10077 -203
  21. package/dist/commons/events/SummaryConfig.d.ts +95 -39
  22. package/dist/commons/events/User.d.ts +5 -0
  23. package/dist/commons/events/WorkqueueConfig.d.ts +1257 -19
  24. package/dist/commons/events/defineConfig.d.ts +7008 -81
  25. package/dist/commons/events/event.d.ts +27 -0
  26. package/dist/commons/events/field.d.ts +68 -0
  27. package/dist/commons/events/index.d.ts +3 -0
  28. package/dist/commons/events/scopes.d.ts +45 -0
  29. package/dist/commons/events/test.utils.d.ts +7 -44
  30. package/dist/commons/events/utils.d.ts +3551 -65
  31. package/dist/conditionals/index.js +35 -81
  32. package/dist/events/index.js +1691 -1021
  33. package/dist/scopes/index.d.ts +137 -1
  34. package/dist/scopes/index.js +147 -0
  35. package/package.json +3 -2
@@ -1,9 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { FieldValue } from './FieldValue';
3
2
  /**
4
3
  * ActionUpdate is a record of a specific action that updated data fields.
5
4
  */
6
- export declare const ActionUpdate: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7
6
  filename: z.ZodString;
8
7
  originalFilename: z.ZodString;
9
8
  type: z.ZodString;
@@ -121,7 +120,121 @@ export type ActionUpdate = z.infer<typeof ActionUpdate>;
121
120
  /**
122
121
  * EventState is an aggregate of all the actions that have been applied to event data.
123
122
  */
124
- export type EventState = Record<string, FieldValue>;
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>;
125
238
  export declare const ActionStatus: {
126
239
  readonly Requested: "Requested";
127
240
  readonly Accepted: "Accepted";
@@ -130,9 +243,11 @@ export declare const ActionStatus: {
130
243
  export type ActionStatus = keyof typeof ActionStatus;
131
244
  export declare const ActionBase: z.ZodObject<{
132
245
  id: z.ZodString;
246
+ transactionId: z.ZodString;
133
247
  createdAt: z.ZodString;
134
248
  createdBy: z.ZodString;
135
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
136
251
  filename: z.ZodString;
137
252
  originalFilename: z.ZodString;
138
253
  type: z.ZodString;
@@ -246,7 +361,7 @@ export declare const ActionBase: z.ZodObject<{
246
361
  addressLine3?: string | null | undefined;
247
362
  postcodeOrZip?: string | null | undefined;
248
363
  }>]>>;
249
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
250
365
  filename: z.ZodString;
251
366
  originalFilename: z.ZodString;
252
367
  type: z.ZodString;
@@ -360,15 +475,16 @@ export declare const ActionBase: z.ZodObject<{
360
475
  addressLine3?: string | null | undefined;
361
476
  postcodeOrZip?: string | null | undefined;
362
477
  }>]>>>;
363
- createdAtLocation: z.ZodOptional<z.ZodString>;
364
- updatedAtLocation: z.ZodOptional<z.ZodString>;
478
+ createdAtLocation: z.ZodString;
365
479
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
366
480
  originalActionId: z.ZodOptional<z.ZodString>;
367
481
  }, "strip", z.ZodTypeAny, {
368
482
  id: string;
369
483
  status: "Rejected" | "Requested" | "Accepted";
484
+ transactionId: string;
370
485
  createdAt: string;
371
486
  createdBy: string;
487
+ createdByRole: string;
372
488
  declaration: Record<string, string | number | boolean | {
373
489
  type: string;
374
490
  filename: string;
@@ -406,7 +522,8 @@ export declare const ActionBase: z.ZodObject<{
406
522
  option: string;
407
523
  filename: string;
408
524
  originalFilename: string;
409
- }[] | undefined>;
525
+ }[] | [string, string] | undefined>;
526
+ createdAtLocation: string;
410
527
  annotation?: Record<string, string | number | boolean | {
411
528
  type: string;
412
529
  filename: string;
@@ -444,15 +561,15 @@ export declare const ActionBase: z.ZodObject<{
444
561
  option: string;
445
562
  filename: string;
446
563
  originalFilename: string;
447
- }[] | undefined> | undefined;
448
- createdAtLocation?: string | undefined;
449
- updatedAtLocation?: string | undefined;
564
+ }[] | [string, string] | undefined> | undefined;
450
565
  originalActionId?: string | undefined;
451
566
  }, {
452
567
  id: string;
453
568
  status: "Rejected" | "Requested" | "Accepted";
569
+ transactionId: string;
454
570
  createdAt: string;
455
571
  createdBy: string;
572
+ createdByRole: string;
456
573
  declaration: Record<string, string | number | boolean | {
457
574
  type: string;
458
575
  filename: string;
@@ -490,7 +607,8 @@ export declare const ActionBase: z.ZodObject<{
490
607
  option: string;
491
608
  filename: string;
492
609
  originalFilename: string;
493
- }[] | undefined>;
610
+ }[] | [string, string] | undefined>;
611
+ createdAtLocation: string;
494
612
  annotation?: Record<string, string | number | boolean | {
495
613
  type: string;
496
614
  filename: string;
@@ -528,17 +646,17 @@ export declare const ActionBase: z.ZodObject<{
528
646
  option: string;
529
647
  filename: string;
530
648
  originalFilename: string;
531
- }[] | undefined> | undefined;
532
- createdAtLocation?: string | undefined;
533
- updatedAtLocation?: string | undefined;
649
+ }[] | [string, string] | undefined> | undefined;
534
650
  originalActionId?: string | undefined;
535
651
  }>;
536
652
  export type ActionBase = z.infer<typeof ActionBase>;
537
653
  export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
538
654
  id: z.ZodString;
655
+ transactionId: z.ZodString;
539
656
  createdAt: z.ZodString;
540
657
  createdBy: z.ZodString;
541
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
542
660
  filename: z.ZodString;
543
661
  originalFilename: z.ZodString;
544
662
  type: z.ZodString;
@@ -652,7 +770,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
652
770
  addressLine3?: string | null | undefined;
653
771
  postcodeOrZip?: string | null | undefined;
654
772
  }>]>>;
655
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
656
774
  filename: z.ZodString;
657
775
  originalFilename: z.ZodString;
658
776
  type: z.ZodString;
@@ -766,8 +884,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
766
884
  addressLine3?: string | null | undefined;
767
885
  postcodeOrZip?: string | null | undefined;
768
886
  }>]>>>;
769
- createdAtLocation: z.ZodOptional<z.ZodString>;
770
- updatedAtLocation: z.ZodOptional<z.ZodString>;
887
+ createdAtLocation: z.ZodString;
771
888
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
772
889
  originalActionId: z.ZodOptional<z.ZodString>;
773
890
  }, {
@@ -777,8 +894,10 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
777
894
  type: "REGISTER";
778
895
  id: string;
779
896
  status: "Rejected" | "Requested" | "Accepted";
897
+ transactionId: string;
780
898
  createdAt: string;
781
899
  createdBy: string;
900
+ createdByRole: string;
782
901
  declaration: Record<string, string | number | boolean | {
783
902
  type: string;
784
903
  filename: string;
@@ -816,7 +935,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
816
935
  option: string;
817
936
  filename: string;
818
937
  originalFilename: string;
819
- }[] | undefined>;
938
+ }[] | [string, string] | undefined>;
939
+ createdAtLocation: string;
820
940
  annotation?: Record<string, string | number | boolean | {
821
941
  type: string;
822
942
  filename: string;
@@ -854,17 +974,17 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
854
974
  option: string;
855
975
  filename: string;
856
976
  originalFilename: string;
857
- }[] | undefined> | undefined;
858
- createdAtLocation?: string | undefined;
859
- updatedAtLocation?: string | undefined;
977
+ }[] | [string, string] | undefined> | undefined;
860
978
  originalActionId?: string | undefined;
861
979
  registrationNumber?: string | undefined;
862
980
  }, {
863
981
  type: "REGISTER";
864
982
  id: string;
865
983
  status: "Rejected" | "Requested" | "Accepted";
984
+ transactionId: string;
866
985
  createdAt: string;
867
986
  createdBy: string;
987
+ createdByRole: string;
868
988
  declaration: Record<string, string | number | boolean | {
869
989
  type: string;
870
990
  filename: string;
@@ -902,7 +1022,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
902
1022
  option: string;
903
1023
  filename: string;
904
1024
  originalFilename: string;
905
- }[] | undefined>;
1025
+ }[] | [string, string] | undefined>;
1026
+ createdAtLocation: string;
906
1027
  annotation?: Record<string, string | number | boolean | {
907
1028
  type: string;
908
1029
  filename: string;
@@ -940,18 +1061,18 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
940
1061
  option: string;
941
1062
  filename: string;
942
1063
  originalFilename: string;
943
- }[] | undefined> | undefined;
944
- createdAtLocation?: string | undefined;
945
- updatedAtLocation?: string | undefined;
1064
+ }[] | [string, string] | undefined> | undefined;
946
1065
  originalActionId?: string | undefined;
947
1066
  registrationNumber?: string | undefined;
948
1067
  }>;
949
1068
  export type RegisterAction = z.infer<typeof RegisterAction>;
950
1069
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
951
1070
  id: z.ZodString;
1071
+ transactionId: z.ZodString;
952
1072
  createdAt: z.ZodString;
953
1073
  createdBy: z.ZodString;
954
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
955
1076
  filename: z.ZodString;
956
1077
  originalFilename: z.ZodString;
957
1078
  type: z.ZodString;
@@ -1065,7 +1186,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1065
1186
  addressLine3?: string | null | undefined;
1066
1187
  postcodeOrZip?: string | null | undefined;
1067
1188
  }>]>>;
1068
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1069
1190
  filename: z.ZodString;
1070
1191
  originalFilename: z.ZodString;
1071
1192
  type: z.ZodString;
@@ -1179,8 +1300,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1179
1300
  addressLine3?: string | null | undefined;
1180
1301
  postcodeOrZip?: string | null | undefined;
1181
1302
  }>]>>>;
1182
- createdAtLocation: z.ZodOptional<z.ZodString>;
1183
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1303
+ createdAtLocation: z.ZodString;
1184
1304
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1185
1305
  originalActionId: z.ZodOptional<z.ZodString>;
1186
1306
  }, {
@@ -1189,8 +1309,10 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1189
1309
  type: "CREATE";
1190
1310
  id: string;
1191
1311
  status: "Rejected" | "Requested" | "Accepted";
1312
+ transactionId: string;
1192
1313
  createdAt: string;
1193
1314
  createdBy: string;
1315
+ createdByRole: string;
1194
1316
  declaration: Record<string, string | number | boolean | {
1195
1317
  type: string;
1196
1318
  filename: string;
@@ -1228,7 +1350,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1228
1350
  option: string;
1229
1351
  filename: string;
1230
1352
  originalFilename: string;
1231
- }[] | undefined>;
1353
+ }[] | [string, string] | undefined>;
1354
+ createdAtLocation: string;
1232
1355
  annotation?: Record<string, string | number | boolean | {
1233
1356
  type: string;
1234
1357
  filename: string;
@@ -1266,16 +1389,16 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1266
1389
  option: string;
1267
1390
  filename: string;
1268
1391
  originalFilename: string;
1269
- }[] | undefined> | undefined;
1270
- createdAtLocation?: string | undefined;
1271
- updatedAtLocation?: string | undefined;
1392
+ }[] | [string, string] | undefined> | undefined;
1272
1393
  originalActionId?: string | undefined;
1273
1394
  }, {
1274
1395
  type: "CREATE";
1275
1396
  id: string;
1276
1397
  status: "Rejected" | "Requested" | "Accepted";
1398
+ transactionId: string;
1277
1399
  createdAt: string;
1278
1400
  createdBy: string;
1401
+ createdByRole: string;
1279
1402
  declaration: Record<string, string | number | boolean | {
1280
1403
  type: string;
1281
1404
  filename: string;
@@ -1313,7 +1436,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1313
1436
  option: string;
1314
1437
  filename: string;
1315
1438
  originalFilename: string;
1316
- }[] | undefined>;
1439
+ }[] | [string, string] | undefined>;
1440
+ createdAtLocation: string;
1317
1441
  annotation?: Record<string, string | number | boolean | {
1318
1442
  type: string;
1319
1443
  filename: string;
@@ -1351,16 +1475,16 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1351
1475
  option: string;
1352
1476
  filename: string;
1353
1477
  originalFilename: string;
1354
- }[] | undefined> | undefined;
1355
- createdAtLocation?: string | undefined;
1356
- updatedAtLocation?: string | undefined;
1478
+ }[] | [string, string] | undefined> | undefined;
1357
1479
  originalActionId?: string | undefined;
1358
1480
  }>;
1359
1481
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1360
1482
  id: z.ZodString;
1483
+ transactionId: z.ZodString;
1361
1484
  createdAt: z.ZodString;
1362
1485
  createdBy: z.ZodString;
1363
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1364
1488
  filename: z.ZodString;
1365
1489
  originalFilename: z.ZodString;
1366
1490
  type: z.ZodString;
@@ -1474,7 +1598,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1474
1598
  addressLine3?: string | null | undefined;
1475
1599
  postcodeOrZip?: string | null | undefined;
1476
1600
  }>]>>;
1477
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1478
1602
  filename: z.ZodString;
1479
1603
  originalFilename: z.ZodString;
1480
1604
  type: z.ZodString;
@@ -1588,8 +1712,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1588
1712
  addressLine3?: string | null | undefined;
1589
1713
  postcodeOrZip?: string | null | undefined;
1590
1714
  }>]>>>;
1591
- createdAtLocation: z.ZodOptional<z.ZodString>;
1592
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1715
+ createdAtLocation: z.ZodString;
1593
1716
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1594
1717
  originalActionId: z.ZodOptional<z.ZodString>;
1595
1718
  }, {
@@ -1598,8 +1721,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1598
1721
  type: "CREATE";
1599
1722
  id: string;
1600
1723
  status: "Rejected" | "Requested" | "Accepted";
1724
+ transactionId: string;
1601
1725
  createdAt: string;
1602
1726
  createdBy: string;
1727
+ createdByRole: string;
1603
1728
  declaration: Record<string, string | number | boolean | {
1604
1729
  type: string;
1605
1730
  filename: string;
@@ -1637,7 +1762,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1637
1762
  option: string;
1638
1763
  filename: string;
1639
1764
  originalFilename: string;
1640
- }[] | undefined>;
1765
+ }[] | [string, string] | undefined>;
1766
+ createdAtLocation: string;
1641
1767
  annotation?: Record<string, string | number | boolean | {
1642
1768
  type: string;
1643
1769
  filename: string;
@@ -1675,16 +1801,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1675
1801
  option: string;
1676
1802
  filename: string;
1677
1803
  originalFilename: string;
1678
- }[] | undefined> | undefined;
1679
- createdAtLocation?: string | undefined;
1680
- updatedAtLocation?: string | undefined;
1804
+ }[] | [string, string] | undefined> | undefined;
1681
1805
  originalActionId?: string | undefined;
1682
1806
  }, {
1683
1807
  type: "CREATE";
1684
1808
  id: string;
1685
1809
  status: "Rejected" | "Requested" | "Accepted";
1810
+ transactionId: string;
1686
1811
  createdAt: string;
1687
1812
  createdBy: string;
1813
+ createdByRole: string;
1688
1814
  declaration: Record<string, string | number | boolean | {
1689
1815
  type: string;
1690
1816
  filename: string;
@@ -1722,7 +1848,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1722
1848
  option: string;
1723
1849
  filename: string;
1724
1850
  originalFilename: string;
1725
- }[] | undefined>;
1851
+ }[] | [string, string] | undefined>;
1852
+ createdAtLocation: string;
1726
1853
  annotation?: Record<string, string | number | boolean | {
1727
1854
  type: string;
1728
1855
  filename: string;
@@ -1760,15 +1887,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1760
1887
  option: string;
1761
1888
  filename: string;
1762
1889
  originalFilename: string;
1763
- }[] | undefined> | undefined;
1764
- createdAtLocation?: string | undefined;
1765
- updatedAtLocation?: string | undefined;
1890
+ }[] | [string, string] | undefined> | undefined;
1766
1891
  originalActionId?: string | undefined;
1767
1892
  }>, z.ZodObject<z.objectUtil.extendShape<{
1768
1893
  id: z.ZodString;
1894
+ transactionId: z.ZodString;
1769
1895
  createdAt: z.ZodString;
1770
1896
  createdBy: z.ZodString;
1771
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1772
1899
  filename: z.ZodString;
1773
1900
  originalFilename: z.ZodString;
1774
1901
  type: z.ZodString;
@@ -1882,7 +2009,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1882
2009
  addressLine3?: string | null | undefined;
1883
2010
  postcodeOrZip?: string | null | undefined;
1884
2011
  }>]>>;
1885
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
1886
2013
  filename: z.ZodString;
1887
2014
  originalFilename: z.ZodString;
1888
2015
  type: z.ZodString;
@@ -1996,8 +2123,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1996
2123
  addressLine3?: string | null | undefined;
1997
2124
  postcodeOrZip?: string | null | undefined;
1998
2125
  }>]>>>;
1999
- createdAtLocation: z.ZodOptional<z.ZodString>;
2000
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2126
+ createdAtLocation: z.ZodString;
2001
2127
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2002
2128
  originalActionId: z.ZodOptional<z.ZodString>;
2003
2129
  }, {
@@ -2006,8 +2132,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2006
2132
  type: "VALIDATE";
2007
2133
  id: string;
2008
2134
  status: "Rejected" | "Requested" | "Accepted";
2135
+ transactionId: string;
2009
2136
  createdAt: string;
2010
2137
  createdBy: string;
2138
+ createdByRole: string;
2011
2139
  declaration: Record<string, string | number | boolean | {
2012
2140
  type: string;
2013
2141
  filename: string;
@@ -2045,7 +2173,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2045
2173
  option: string;
2046
2174
  filename: string;
2047
2175
  originalFilename: string;
2048
- }[] | undefined>;
2176
+ }[] | [string, string] | undefined>;
2177
+ createdAtLocation: string;
2049
2178
  annotation?: Record<string, string | number | boolean | {
2050
2179
  type: string;
2051
2180
  filename: string;
@@ -2083,16 +2212,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2083
2212
  option: string;
2084
2213
  filename: string;
2085
2214
  originalFilename: string;
2086
- }[] | undefined> | undefined;
2087
- createdAtLocation?: string | undefined;
2088
- updatedAtLocation?: string | undefined;
2215
+ }[] | [string, string] | undefined> | undefined;
2089
2216
  originalActionId?: string | undefined;
2090
2217
  }, {
2091
2218
  type: "VALIDATE";
2092
2219
  id: string;
2093
2220
  status: "Rejected" | "Requested" | "Accepted";
2221
+ transactionId: string;
2094
2222
  createdAt: string;
2095
2223
  createdBy: string;
2224
+ createdByRole: string;
2096
2225
  declaration: Record<string, string | number | boolean | {
2097
2226
  type: string;
2098
2227
  filename: string;
@@ -2130,7 +2259,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2130
2259
  option: string;
2131
2260
  filename: string;
2132
2261
  originalFilename: string;
2133
- }[] | undefined>;
2262
+ }[] | [string, string] | undefined>;
2263
+ createdAtLocation: string;
2134
2264
  annotation?: Record<string, string | number | boolean | {
2135
2265
  type: string;
2136
2266
  filename: string;
@@ -2168,15 +2298,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2168
2298
  option: string;
2169
2299
  filename: string;
2170
2300
  originalFilename: string;
2171
- }[] | undefined> | undefined;
2172
- createdAtLocation?: string | undefined;
2173
- updatedAtLocation?: string | undefined;
2301
+ }[] | [string, string] | undefined> | undefined;
2174
2302
  originalActionId?: string | undefined;
2175
2303
  }>, z.ZodObject<z.objectUtil.extendShape<{
2176
2304
  id: z.ZodString;
2305
+ transactionId: z.ZodString;
2177
2306
  createdAt: z.ZodString;
2178
2307
  createdBy: z.ZodString;
2179
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2180
2310
  filename: z.ZodString;
2181
2311
  originalFilename: z.ZodString;
2182
2312
  type: z.ZodString;
@@ -2290,7 +2420,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2290
2420
  addressLine3?: string | null | undefined;
2291
2421
  postcodeOrZip?: string | null | undefined;
2292
2422
  }>]>>;
2293
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2294
2424
  filename: z.ZodString;
2295
2425
  originalFilename: z.ZodString;
2296
2426
  type: z.ZodString;
@@ -2404,8 +2534,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2404
2534
  addressLine3?: string | null | undefined;
2405
2535
  postcodeOrZip?: string | null | undefined;
2406
2536
  }>]>>>;
2407
- createdAtLocation: z.ZodOptional<z.ZodString>;
2408
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2537
+ createdAtLocation: z.ZodString;
2409
2538
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2410
2539
  originalActionId: z.ZodOptional<z.ZodString>;
2411
2540
  }, {
@@ -2414,8 +2543,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2414
2543
  type: "REJECT";
2415
2544
  id: string;
2416
2545
  status: "Rejected" | "Requested" | "Accepted";
2546
+ transactionId: string;
2417
2547
  createdAt: string;
2418
2548
  createdBy: string;
2549
+ createdByRole: string;
2419
2550
  declaration: Record<string, string | number | boolean | {
2420
2551
  type: string;
2421
2552
  filename: string;
@@ -2453,7 +2584,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2453
2584
  option: string;
2454
2585
  filename: string;
2455
2586
  originalFilename: string;
2456
- }[] | undefined>;
2587
+ }[] | [string, string] | undefined>;
2588
+ createdAtLocation: string;
2457
2589
  annotation?: Record<string, string | number | boolean | {
2458
2590
  type: string;
2459
2591
  filename: string;
@@ -2491,16 +2623,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2491
2623
  option: string;
2492
2624
  filename: string;
2493
2625
  originalFilename: string;
2494
- }[] | undefined> | undefined;
2495
- createdAtLocation?: string | undefined;
2496
- updatedAtLocation?: string | undefined;
2626
+ }[] | [string, string] | undefined> | undefined;
2497
2627
  originalActionId?: string | undefined;
2498
2628
  }, {
2499
2629
  type: "REJECT";
2500
2630
  id: string;
2501
2631
  status: "Rejected" | "Requested" | "Accepted";
2632
+ transactionId: string;
2502
2633
  createdAt: string;
2503
2634
  createdBy: string;
2635
+ createdByRole: string;
2504
2636
  declaration: Record<string, string | number | boolean | {
2505
2637
  type: string;
2506
2638
  filename: string;
@@ -2538,7 +2670,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2538
2670
  option: string;
2539
2671
  filename: string;
2540
2672
  originalFilename: string;
2541
- }[] | undefined>;
2673
+ }[] | [string, string] | undefined>;
2674
+ createdAtLocation: string;
2542
2675
  annotation?: Record<string, string | number | boolean | {
2543
2676
  type: string;
2544
2677
  filename: string;
@@ -2576,15 +2709,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2576
2709
  option: string;
2577
2710
  filename: string;
2578
2711
  originalFilename: string;
2579
- }[] | undefined> | undefined;
2580
- createdAtLocation?: string | undefined;
2581
- updatedAtLocation?: string | undefined;
2712
+ }[] | [string, string] | undefined> | undefined;
2582
2713
  originalActionId?: string | undefined;
2583
2714
  }>, z.ZodObject<z.objectUtil.extendShape<{
2584
2715
  id: z.ZodString;
2716
+ transactionId: z.ZodString;
2585
2717
  createdAt: z.ZodString;
2586
2718
  createdBy: z.ZodString;
2587
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2588
2721
  filename: z.ZodString;
2589
2722
  originalFilename: z.ZodString;
2590
2723
  type: z.ZodString;
@@ -2698,7 +2831,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2698
2831
  addressLine3?: string | null | undefined;
2699
2832
  postcodeOrZip?: string | null | undefined;
2700
2833
  }>]>>;
2701
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2702
2835
  filename: z.ZodString;
2703
2836
  originalFilename: z.ZodString;
2704
2837
  type: z.ZodString;
@@ -2812,8 +2945,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2812
2945
  addressLine3?: string | null | undefined;
2813
2946
  postcodeOrZip?: string | null | undefined;
2814
2947
  }>]>>>;
2815
- createdAtLocation: z.ZodOptional<z.ZodString>;
2816
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2948
+ createdAtLocation: z.ZodString;
2817
2949
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2818
2950
  originalActionId: z.ZodOptional<z.ZodString>;
2819
2951
  }, {
@@ -2822,8 +2954,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2822
2954
  type: "MARKED_AS_DUPLICATE";
2823
2955
  id: string;
2824
2956
  status: "Rejected" | "Requested" | "Accepted";
2957
+ transactionId: string;
2825
2958
  createdAt: string;
2826
2959
  createdBy: string;
2960
+ createdByRole: string;
2827
2961
  declaration: Record<string, string | number | boolean | {
2828
2962
  type: string;
2829
2963
  filename: string;
@@ -2861,7 +2995,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2861
2995
  option: string;
2862
2996
  filename: string;
2863
2997
  originalFilename: string;
2864
- }[] | undefined>;
2998
+ }[] | [string, string] | undefined>;
2999
+ createdAtLocation: string;
2865
3000
  annotation?: Record<string, string | number | boolean | {
2866
3001
  type: string;
2867
3002
  filename: string;
@@ -2899,16 +3034,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2899
3034
  option: string;
2900
3035
  filename: string;
2901
3036
  originalFilename: string;
2902
- }[] | undefined> | undefined;
2903
- createdAtLocation?: string | undefined;
2904
- updatedAtLocation?: string | undefined;
3037
+ }[] | [string, string] | undefined> | undefined;
2905
3038
  originalActionId?: string | undefined;
2906
3039
  }, {
2907
3040
  type: "MARKED_AS_DUPLICATE";
2908
3041
  id: string;
2909
3042
  status: "Rejected" | "Requested" | "Accepted";
3043
+ transactionId: string;
2910
3044
  createdAt: string;
2911
3045
  createdBy: string;
3046
+ createdByRole: string;
2912
3047
  declaration: Record<string, string | number | boolean | {
2913
3048
  type: string;
2914
3049
  filename: string;
@@ -2946,7 +3081,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2946
3081
  option: string;
2947
3082
  filename: string;
2948
3083
  originalFilename: string;
2949
- }[] | undefined>;
3084
+ }[] | [string, string] | undefined>;
3085
+ createdAtLocation: string;
2950
3086
  annotation?: Record<string, string | number | boolean | {
2951
3087
  type: string;
2952
3088
  filename: string;
@@ -2984,15 +3120,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2984
3120
  option: string;
2985
3121
  filename: string;
2986
3122
  originalFilename: string;
2987
- }[] | undefined> | undefined;
2988
- createdAtLocation?: string | undefined;
2989
- updatedAtLocation?: string | undefined;
3123
+ }[] | [string, string] | undefined> | undefined;
2990
3124
  originalActionId?: string | undefined;
2991
3125
  }>, z.ZodObject<z.objectUtil.extendShape<{
2992
3126
  id: z.ZodString;
3127
+ transactionId: z.ZodString;
2993
3128
  createdAt: z.ZodString;
2994
3129
  createdBy: z.ZodString;
2995
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
2996
3132
  filename: z.ZodString;
2997
3133
  originalFilename: z.ZodString;
2998
3134
  type: z.ZodString;
@@ -3106,7 +3242,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3106
3242
  addressLine3?: string | null | undefined;
3107
3243
  postcodeOrZip?: string | null | undefined;
3108
3244
  }>]>>;
3109
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3110
3246
  filename: z.ZodString;
3111
3247
  originalFilename: z.ZodString;
3112
3248
  type: z.ZodString;
@@ -3220,8 +3356,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3220
3356
  addressLine3?: string | null | undefined;
3221
3357
  postcodeOrZip?: string | null | undefined;
3222
3358
  }>]>>>;
3223
- createdAtLocation: z.ZodOptional<z.ZodString>;
3224
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3359
+ createdAtLocation: z.ZodString;
3225
3360
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3226
3361
  originalActionId: z.ZodOptional<z.ZodString>;
3227
3362
  }, {
@@ -3230,8 +3365,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3230
3365
  type: "ARCHIVE";
3231
3366
  id: string;
3232
3367
  status: "Rejected" | "Requested" | "Accepted";
3368
+ transactionId: string;
3233
3369
  createdAt: string;
3234
3370
  createdBy: string;
3371
+ createdByRole: string;
3235
3372
  declaration: Record<string, string | number | boolean | {
3236
3373
  type: string;
3237
3374
  filename: string;
@@ -3269,7 +3406,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3269
3406
  option: string;
3270
3407
  filename: string;
3271
3408
  originalFilename: string;
3272
- }[] | undefined>;
3409
+ }[] | [string, string] | undefined>;
3410
+ createdAtLocation: string;
3273
3411
  annotation?: Record<string, string | number | boolean | {
3274
3412
  type: string;
3275
3413
  filename: string;
@@ -3307,16 +3445,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3307
3445
  option: string;
3308
3446
  filename: string;
3309
3447
  originalFilename: string;
3310
- }[] | undefined> | undefined;
3311
- createdAtLocation?: string | undefined;
3312
- updatedAtLocation?: string | undefined;
3448
+ }[] | [string, string] | undefined> | undefined;
3313
3449
  originalActionId?: string | undefined;
3314
3450
  }, {
3315
3451
  type: "ARCHIVE";
3316
3452
  id: string;
3317
3453
  status: "Rejected" | "Requested" | "Accepted";
3454
+ transactionId: string;
3318
3455
  createdAt: string;
3319
3456
  createdBy: string;
3457
+ createdByRole: string;
3320
3458
  declaration: Record<string, string | number | boolean | {
3321
3459
  type: string;
3322
3460
  filename: string;
@@ -3354,7 +3492,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3354
3492
  option: string;
3355
3493
  filename: string;
3356
3494
  originalFilename: string;
3357
- }[] | undefined>;
3495
+ }[] | [string, string] | undefined>;
3496
+ createdAtLocation: string;
3358
3497
  annotation?: Record<string, string | number | boolean | {
3359
3498
  type: string;
3360
3499
  filename: string;
@@ -3392,15 +3531,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3392
3531
  option: string;
3393
3532
  filename: string;
3394
3533
  originalFilename: string;
3395
- }[] | undefined> | undefined;
3396
- createdAtLocation?: string | undefined;
3397
- updatedAtLocation?: string | undefined;
3534
+ }[] | [string, string] | undefined> | undefined;
3398
3535
  originalActionId?: string | undefined;
3399
3536
  }>, z.ZodObject<z.objectUtil.extendShape<{
3400
3537
  id: z.ZodString;
3538
+ transactionId: z.ZodString;
3401
3539
  createdAt: z.ZodString;
3402
3540
  createdBy: z.ZodString;
3403
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3404
3543
  filename: z.ZodString;
3405
3544
  originalFilename: z.ZodString;
3406
3545
  type: z.ZodString;
@@ -3514,7 +3653,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3514
3653
  addressLine3?: string | null | undefined;
3515
3654
  postcodeOrZip?: string | null | undefined;
3516
3655
  }>]>>;
3517
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3518
3657
  filename: z.ZodString;
3519
3658
  originalFilename: z.ZodString;
3520
3659
  type: z.ZodString;
@@ -3628,8 +3767,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3628
3767
  addressLine3?: string | null | undefined;
3629
3768
  postcodeOrZip?: string | null | undefined;
3630
3769
  }>]>>>;
3631
- createdAtLocation: z.ZodOptional<z.ZodString>;
3632
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3770
+ createdAtLocation: z.ZodString;
3633
3771
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3634
3772
  originalActionId: z.ZodOptional<z.ZodString>;
3635
3773
  }, {
@@ -3638,8 +3776,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3638
3776
  type: "NOTIFY";
3639
3777
  id: string;
3640
3778
  status: "Rejected" | "Requested" | "Accepted";
3779
+ transactionId: string;
3641
3780
  createdAt: string;
3642
3781
  createdBy: string;
3782
+ createdByRole: string;
3643
3783
  declaration: Record<string, string | number | boolean | {
3644
3784
  type: string;
3645
3785
  filename: string;
@@ -3677,7 +3817,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3677
3817
  option: string;
3678
3818
  filename: string;
3679
3819
  originalFilename: string;
3680
- }[] | undefined>;
3820
+ }[] | [string, string] | undefined>;
3821
+ createdAtLocation: string;
3681
3822
  annotation?: Record<string, string | number | boolean | {
3682
3823
  type: string;
3683
3824
  filename: string;
@@ -3715,16 +3856,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3715
3856
  option: string;
3716
3857
  filename: string;
3717
3858
  originalFilename: string;
3718
- }[] | undefined> | undefined;
3719
- createdAtLocation?: string | undefined;
3720
- updatedAtLocation?: string | undefined;
3859
+ }[] | [string, string] | undefined> | undefined;
3721
3860
  originalActionId?: string | undefined;
3722
3861
  }, {
3723
3862
  type: "NOTIFY";
3724
3863
  id: string;
3725
3864
  status: "Rejected" | "Requested" | "Accepted";
3865
+ transactionId: string;
3726
3866
  createdAt: string;
3727
3867
  createdBy: string;
3868
+ createdByRole: string;
3728
3869
  declaration: Record<string, string | number | boolean | {
3729
3870
  type: string;
3730
3871
  filename: string;
@@ -3762,7 +3903,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3762
3903
  option: string;
3763
3904
  filename: string;
3764
3905
  originalFilename: string;
3765
- }[] | undefined>;
3906
+ }[] | [string, string] | undefined>;
3907
+ createdAtLocation: string;
3766
3908
  annotation?: Record<string, string | number | boolean | {
3767
3909
  type: string;
3768
3910
  filename: string;
@@ -3800,15 +3942,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3800
3942
  option: string;
3801
3943
  filename: string;
3802
3944
  originalFilename: string;
3803
- }[] | undefined> | undefined;
3804
- createdAtLocation?: string | undefined;
3805
- updatedAtLocation?: string | undefined;
3945
+ }[] | [string, string] | undefined> | undefined;
3806
3946
  originalActionId?: string | undefined;
3807
3947
  }>, z.ZodObject<z.objectUtil.extendShape<{
3808
3948
  id: z.ZodString;
3949
+ transactionId: z.ZodString;
3809
3950
  createdAt: z.ZodString;
3810
3951
  createdBy: z.ZodString;
3811
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3812
3954
  filename: z.ZodString;
3813
3955
  originalFilename: z.ZodString;
3814
3956
  type: z.ZodString;
@@ -3922,7 +4064,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3922
4064
  addressLine3?: string | null | undefined;
3923
4065
  postcodeOrZip?: string | null | undefined;
3924
4066
  }>]>>;
3925
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
3926
4068
  filename: z.ZodString;
3927
4069
  originalFilename: z.ZodString;
3928
4070
  type: z.ZodString;
@@ -4036,8 +4178,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4036
4178
  addressLine3?: string | null | undefined;
4037
4179
  postcodeOrZip?: string | null | undefined;
4038
4180
  }>]>>>;
4039
- createdAtLocation: z.ZodOptional<z.ZodString>;
4040
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4181
+ createdAtLocation: z.ZodString;
4041
4182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4042
4183
  originalActionId: z.ZodOptional<z.ZodString>;
4043
4184
  }, {
@@ -4047,8 +4188,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4047
4188
  type: "REGISTER";
4048
4189
  id: string;
4049
4190
  status: "Rejected" | "Requested" | "Accepted";
4191
+ transactionId: string;
4050
4192
  createdAt: string;
4051
4193
  createdBy: string;
4194
+ createdByRole: string;
4052
4195
  declaration: Record<string, string | number | boolean | {
4053
4196
  type: string;
4054
4197
  filename: string;
@@ -4086,7 +4229,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4086
4229
  option: string;
4087
4230
  filename: string;
4088
4231
  originalFilename: string;
4089
- }[] | undefined>;
4232
+ }[] | [string, string] | undefined>;
4233
+ createdAtLocation: string;
4090
4234
  annotation?: Record<string, string | number | boolean | {
4091
4235
  type: string;
4092
4236
  filename: string;
@@ -4124,17 +4268,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4124
4268
  option: string;
4125
4269
  filename: string;
4126
4270
  originalFilename: string;
4127
- }[] | undefined> | undefined;
4128
- createdAtLocation?: string | undefined;
4129
- updatedAtLocation?: string | undefined;
4271
+ }[] | [string, string] | undefined> | undefined;
4130
4272
  originalActionId?: string | undefined;
4131
4273
  registrationNumber?: string | undefined;
4132
4274
  }, {
4133
4275
  type: "REGISTER";
4134
4276
  id: string;
4135
4277
  status: "Rejected" | "Requested" | "Accepted";
4278
+ transactionId: string;
4136
4279
  createdAt: string;
4137
4280
  createdBy: string;
4281
+ createdByRole: string;
4138
4282
  declaration: Record<string, string | number | boolean | {
4139
4283
  type: string;
4140
4284
  filename: string;
@@ -4172,7 +4316,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4172
4316
  option: string;
4173
4317
  filename: string;
4174
4318
  originalFilename: string;
4175
- }[] | undefined>;
4319
+ }[] | [string, string] | undefined>;
4320
+ createdAtLocation: string;
4176
4321
  annotation?: Record<string, string | number | boolean | {
4177
4322
  type: string;
4178
4323
  filename: string;
@@ -4210,16 +4355,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4210
4355
  option: string;
4211
4356
  filename: string;
4212
4357
  originalFilename: string;
4213
- }[] | undefined> | undefined;
4214
- createdAtLocation?: string | undefined;
4215
- updatedAtLocation?: string | undefined;
4358
+ }[] | [string, string] | undefined> | undefined;
4216
4359
  originalActionId?: string | undefined;
4217
4360
  registrationNumber?: string | undefined;
4218
4361
  }>, z.ZodObject<z.objectUtil.extendShape<{
4219
4362
  id: z.ZodString;
4363
+ transactionId: z.ZodString;
4220
4364
  createdAt: z.ZodString;
4221
4365
  createdBy: z.ZodString;
4222
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4223
4368
  filename: z.ZodString;
4224
4369
  originalFilename: z.ZodString;
4225
4370
  type: z.ZodString;
@@ -4333,7 +4478,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4333
4478
  addressLine3?: string | null | undefined;
4334
4479
  postcodeOrZip?: string | null | undefined;
4335
4480
  }>]>>;
4336
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4337
4482
  filename: z.ZodString;
4338
4483
  originalFilename: z.ZodString;
4339
4484
  type: z.ZodString;
@@ -4447,8 +4592,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4447
4592
  addressLine3?: string | null | undefined;
4448
4593
  postcodeOrZip?: string | null | undefined;
4449
4594
  }>]>>>;
4450
- createdAtLocation: z.ZodOptional<z.ZodString>;
4451
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4595
+ createdAtLocation: z.ZodString;
4452
4596
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4453
4597
  originalActionId: z.ZodOptional<z.ZodString>;
4454
4598
  }, {
@@ -4457,8 +4601,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4457
4601
  type: "DECLARE";
4458
4602
  id: string;
4459
4603
  status: "Rejected" | "Requested" | "Accepted";
4604
+ transactionId: string;
4460
4605
  createdAt: string;
4461
4606
  createdBy: string;
4607
+ createdByRole: string;
4462
4608
  declaration: Record<string, string | number | boolean | {
4463
4609
  type: string;
4464
4610
  filename: string;
@@ -4496,7 +4642,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4496
4642
  option: string;
4497
4643
  filename: string;
4498
4644
  originalFilename: string;
4499
- }[] | undefined>;
4645
+ }[] | [string, string] | undefined>;
4646
+ createdAtLocation: string;
4500
4647
  annotation?: Record<string, string | number | boolean | {
4501
4648
  type: string;
4502
4649
  filename: string;
@@ -4534,16 +4681,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4534
4681
  option: string;
4535
4682
  filename: string;
4536
4683
  originalFilename: string;
4537
- }[] | undefined> | undefined;
4538
- createdAtLocation?: string | undefined;
4539
- updatedAtLocation?: string | undefined;
4684
+ }[] | [string, string] | undefined> | undefined;
4540
4685
  originalActionId?: string | undefined;
4541
4686
  }, {
4542
4687
  type: "DECLARE";
4543
4688
  id: string;
4544
4689
  status: "Rejected" | "Requested" | "Accepted";
4690
+ transactionId: string;
4545
4691
  createdAt: string;
4546
4692
  createdBy: string;
4693
+ createdByRole: string;
4547
4694
  declaration: Record<string, string | number | boolean | {
4548
4695
  type: string;
4549
4696
  filename: string;
@@ -4581,7 +4728,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4581
4728
  option: string;
4582
4729
  filename: string;
4583
4730
  originalFilename: string;
4584
- }[] | undefined>;
4731
+ }[] | [string, string] | undefined>;
4732
+ createdAtLocation: string;
4585
4733
  annotation?: Record<string, string | number | boolean | {
4586
4734
  type: string;
4587
4735
  filename: string;
@@ -4619,15 +4767,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4619
4767
  option: string;
4620
4768
  filename: string;
4621
4769
  originalFilename: string;
4622
- }[] | undefined> | undefined;
4623
- createdAtLocation?: string | undefined;
4624
- updatedAtLocation?: string | undefined;
4770
+ }[] | [string, string] | undefined> | undefined;
4625
4771
  originalActionId?: string | undefined;
4626
4772
  }>, z.ZodObject<z.objectUtil.extendShape<{
4627
4773
  id: z.ZodString;
4774
+ transactionId: z.ZodString;
4628
4775
  createdAt: z.ZodString;
4629
4776
  createdBy: z.ZodString;
4630
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4631
4779
  filename: z.ZodString;
4632
4780
  originalFilename: z.ZodString;
4633
4781
  type: z.ZodString;
@@ -4741,7 +4889,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4741
4889
  addressLine3?: string | null | undefined;
4742
4890
  postcodeOrZip?: string | null | undefined;
4743
4891
  }>]>>;
4744
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
4745
4893
  filename: z.ZodString;
4746
4894
  originalFilename: z.ZodString;
4747
4895
  type: z.ZodString;
@@ -4855,8 +5003,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4855
5003
  addressLine3?: string | null | undefined;
4856
5004
  postcodeOrZip?: string | null | undefined;
4857
5005
  }>]>>>;
4858
- createdAtLocation: z.ZodOptional<z.ZodString>;
4859
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5006
+ createdAtLocation: z.ZodString;
4860
5007
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4861
5008
  originalActionId: z.ZodOptional<z.ZodString>;
4862
5009
  }, {
@@ -4866,8 +5013,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4866
5013
  type: "ASSIGN";
4867
5014
  id: string;
4868
5015
  status: "Rejected" | "Requested" | "Accepted";
5016
+ transactionId: string;
4869
5017
  createdAt: string;
4870
5018
  createdBy: string;
5019
+ createdByRole: string;
4871
5020
  declaration: Record<string, string | number | boolean | {
4872
5021
  type: string;
4873
5022
  filename: string;
@@ -4905,7 +5054,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4905
5054
  option: string;
4906
5055
  filename: string;
4907
5056
  originalFilename: string;
4908
- }[] | undefined>;
5057
+ }[] | [string, string] | undefined>;
5058
+ createdAtLocation: string;
4909
5059
  assignedTo: string;
4910
5060
  annotation?: Record<string, string | number | boolean | {
4911
5061
  type: string;
@@ -4944,16 +5094,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4944
5094
  option: string;
4945
5095
  filename: string;
4946
5096
  originalFilename: string;
4947
- }[] | undefined> | undefined;
4948
- createdAtLocation?: string | undefined;
4949
- updatedAtLocation?: string | undefined;
5097
+ }[] | [string, string] | undefined> | undefined;
4950
5098
  originalActionId?: string | undefined;
4951
5099
  }, {
4952
5100
  type: "ASSIGN";
4953
5101
  id: string;
4954
5102
  status: "Rejected" | "Requested" | "Accepted";
5103
+ transactionId: string;
4955
5104
  createdAt: string;
4956
5105
  createdBy: string;
5106
+ createdByRole: string;
4957
5107
  declaration: Record<string, string | number | boolean | {
4958
5108
  type: string;
4959
5109
  filename: string;
@@ -4991,7 +5141,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4991
5141
  option: string;
4992
5142
  filename: string;
4993
5143
  originalFilename: string;
4994
- }[] | undefined>;
5144
+ }[] | [string, string] | undefined>;
5145
+ createdAtLocation: string;
4995
5146
  assignedTo: string;
4996
5147
  annotation?: Record<string, string | number | boolean | {
4997
5148
  type: string;
@@ -5030,15 +5181,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5030
5181
  option: string;
5031
5182
  filename: string;
5032
5183
  originalFilename: string;
5033
- }[] | undefined> | undefined;
5034
- createdAtLocation?: string | undefined;
5035
- updatedAtLocation?: string | undefined;
5184
+ }[] | [string, string] | undefined> | undefined;
5036
5185
  originalActionId?: string | undefined;
5037
5186
  }>, z.ZodObject<z.objectUtil.extendShape<{
5038
5187
  id: z.ZodString;
5188
+ transactionId: z.ZodString;
5039
5189
  createdAt: z.ZodString;
5040
5190
  createdBy: z.ZodString;
5041
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5042
5193
  filename: z.ZodString;
5043
5194
  originalFilename: z.ZodString;
5044
5195
  type: z.ZodString;
@@ -5152,7 +5303,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5152
5303
  addressLine3?: string | null | undefined;
5153
5304
  postcodeOrZip?: string | null | undefined;
5154
5305
  }>]>>;
5155
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5156
5307
  filename: z.ZodString;
5157
5308
  originalFilename: z.ZodString;
5158
5309
  type: z.ZodString;
@@ -5266,8 +5417,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5266
5417
  addressLine3?: string | null | undefined;
5267
5418
  postcodeOrZip?: string | null | undefined;
5268
5419
  }>]>>>;
5269
- createdAtLocation: z.ZodOptional<z.ZodString>;
5270
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5420
+ createdAtLocation: z.ZodString;
5271
5421
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5272
5422
  originalActionId: z.ZodOptional<z.ZodString>;
5273
5423
  }, {
@@ -5276,8 +5426,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5276
5426
  type: "REQUEST_CORRECTION";
5277
5427
  id: string;
5278
5428
  status: "Rejected" | "Requested" | "Accepted";
5429
+ transactionId: string;
5279
5430
  createdAt: string;
5280
5431
  createdBy: string;
5432
+ createdByRole: string;
5281
5433
  declaration: Record<string, string | number | boolean | {
5282
5434
  type: string;
5283
5435
  filename: string;
@@ -5315,7 +5467,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5315
5467
  option: string;
5316
5468
  filename: string;
5317
5469
  originalFilename: string;
5318
- }[] | undefined>;
5470
+ }[] | [string, string] | undefined>;
5471
+ createdAtLocation: string;
5319
5472
  annotation?: Record<string, string | number | boolean | {
5320
5473
  type: string;
5321
5474
  filename: string;
@@ -5353,16 +5506,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5353
5506
  option: string;
5354
5507
  filename: string;
5355
5508
  originalFilename: string;
5356
- }[] | undefined> | undefined;
5357
- createdAtLocation?: string | undefined;
5358
- updatedAtLocation?: string | undefined;
5509
+ }[] | [string, string] | undefined> | undefined;
5359
5510
  originalActionId?: string | undefined;
5360
5511
  }, {
5361
5512
  type: "REQUEST_CORRECTION";
5362
5513
  id: string;
5363
5514
  status: "Rejected" | "Requested" | "Accepted";
5515
+ transactionId: string;
5364
5516
  createdAt: string;
5365
5517
  createdBy: string;
5518
+ createdByRole: string;
5366
5519
  declaration: Record<string, string | number | boolean | {
5367
5520
  type: string;
5368
5521
  filename: string;
@@ -5400,7 +5553,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5400
5553
  option: string;
5401
5554
  filename: string;
5402
5555
  originalFilename: string;
5403
- }[] | undefined>;
5556
+ }[] | [string, string] | undefined>;
5557
+ createdAtLocation: string;
5404
5558
  annotation?: Record<string, string | number | boolean | {
5405
5559
  type: string;
5406
5560
  filename: string;
@@ -5438,15 +5592,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5438
5592
  option: string;
5439
5593
  filename: string;
5440
5594
  originalFilename: string;
5441
- }[] | undefined> | undefined;
5442
- createdAtLocation?: string | undefined;
5443
- updatedAtLocation?: string | undefined;
5595
+ }[] | [string, string] | undefined> | undefined;
5444
5596
  originalActionId?: string | undefined;
5445
5597
  }>, z.ZodObject<z.objectUtil.extendShape<{
5446
5598
  id: z.ZodString;
5599
+ transactionId: z.ZodString;
5447
5600
  createdAt: z.ZodString;
5448
5601
  createdBy: z.ZodString;
5449
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5450
5604
  filename: z.ZodString;
5451
5605
  originalFilename: z.ZodString;
5452
5606
  type: z.ZodString;
@@ -5560,7 +5714,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5560
5714
  addressLine3?: string | null | undefined;
5561
5715
  postcodeOrZip?: string | null | undefined;
5562
5716
  }>]>>;
5563
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5564
5718
  filename: z.ZodString;
5565
5719
  originalFilename: z.ZodString;
5566
5720
  type: z.ZodString;
@@ -5674,8 +5828,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5674
5828
  addressLine3?: string | null | undefined;
5675
5829
  postcodeOrZip?: string | null | undefined;
5676
5830
  }>]>>>;
5677
- createdAtLocation: z.ZodOptional<z.ZodString>;
5678
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5831
+ createdAtLocation: z.ZodString;
5679
5832
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5680
5833
  originalActionId: z.ZodOptional<z.ZodString>;
5681
5834
  }, {
@@ -5685,8 +5838,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5685
5838
  type: "APPROVE_CORRECTION";
5686
5839
  id: string;
5687
5840
  status: "Rejected" | "Requested" | "Accepted";
5841
+ transactionId: string;
5688
5842
  createdAt: string;
5689
5843
  createdBy: string;
5844
+ createdByRole: string;
5690
5845
  declaration: Record<string, string | number | boolean | {
5691
5846
  type: string;
5692
5847
  filename: string;
@@ -5724,7 +5879,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5724
5879
  option: string;
5725
5880
  filename: string;
5726
5881
  originalFilename: string;
5727
- }[] | undefined>;
5882
+ }[] | [string, string] | undefined>;
5883
+ createdAtLocation: string;
5728
5884
  requestId: string;
5729
5885
  annotation?: Record<string, string | number | boolean | {
5730
5886
  type: string;
@@ -5763,16 +5919,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5763
5919
  option: string;
5764
5920
  filename: string;
5765
5921
  originalFilename: string;
5766
- }[] | undefined> | undefined;
5767
- createdAtLocation?: string | undefined;
5768
- updatedAtLocation?: string | undefined;
5922
+ }[] | [string, string] | undefined> | undefined;
5769
5923
  originalActionId?: string | undefined;
5770
5924
  }, {
5771
5925
  type: "APPROVE_CORRECTION";
5772
5926
  id: string;
5773
5927
  status: "Rejected" | "Requested" | "Accepted";
5928
+ transactionId: string;
5774
5929
  createdAt: string;
5775
5930
  createdBy: string;
5931
+ createdByRole: string;
5776
5932
  declaration: Record<string, string | number | boolean | {
5777
5933
  type: string;
5778
5934
  filename: string;
@@ -5810,7 +5966,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5810
5966
  option: string;
5811
5967
  filename: string;
5812
5968
  originalFilename: string;
5813
- }[] | undefined>;
5969
+ }[] | [string, string] | undefined>;
5970
+ createdAtLocation: string;
5814
5971
  requestId: string;
5815
5972
  annotation?: Record<string, string | number | boolean | {
5816
5973
  type: string;
@@ -5849,15 +6006,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5849
6006
  option: string;
5850
6007
  filename: string;
5851
6008
  originalFilename: string;
5852
- }[] | undefined> | undefined;
5853
- createdAtLocation?: string | undefined;
5854
- updatedAtLocation?: string | undefined;
6009
+ }[] | [string, string] | undefined> | undefined;
5855
6010
  originalActionId?: string | undefined;
5856
6011
  }>, z.ZodObject<z.objectUtil.extendShape<{
5857
6012
  id: z.ZodString;
6013
+ transactionId: z.ZodString;
5858
6014
  createdAt: z.ZodString;
5859
6015
  createdBy: z.ZodString;
5860
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5861
6018
  filename: z.ZodString;
5862
6019
  originalFilename: z.ZodString;
5863
6020
  type: z.ZodString;
@@ -5971,7 +6128,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5971
6128
  addressLine3?: string | null | undefined;
5972
6129
  postcodeOrZip?: string | null | undefined;
5973
6130
  }>]>>;
5974
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
5975
6132
  filename: z.ZodString;
5976
6133
  originalFilename: z.ZodString;
5977
6134
  type: z.ZodString;
@@ -6085,8 +6242,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6085
6242
  addressLine3?: string | null | undefined;
6086
6243
  postcodeOrZip?: string | null | undefined;
6087
6244
  }>]>>>;
6088
- createdAtLocation: z.ZodOptional<z.ZodString>;
6089
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6245
+ createdAtLocation: z.ZodString;
6090
6246
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6091
6247
  originalActionId: z.ZodOptional<z.ZodString>;
6092
6248
  }, {
@@ -6096,8 +6252,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6096
6252
  type: "REJECT_CORRECTION";
6097
6253
  id: string;
6098
6254
  status: "Rejected" | "Requested" | "Accepted";
6255
+ transactionId: string;
6099
6256
  createdAt: string;
6100
6257
  createdBy: string;
6258
+ createdByRole: string;
6101
6259
  declaration: Record<string, string | number | boolean | {
6102
6260
  type: string;
6103
6261
  filename: string;
@@ -6135,7 +6293,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6135
6293
  option: string;
6136
6294
  filename: string;
6137
6295
  originalFilename: string;
6138
- }[] | undefined>;
6296
+ }[] | [string, string] | undefined>;
6297
+ createdAtLocation: string;
6139
6298
  requestId: string;
6140
6299
  annotation?: Record<string, string | number | boolean | {
6141
6300
  type: string;
@@ -6174,16 +6333,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6174
6333
  option: string;
6175
6334
  filename: string;
6176
6335
  originalFilename: string;
6177
- }[] | undefined> | undefined;
6178
- createdAtLocation?: string | undefined;
6179
- updatedAtLocation?: string | undefined;
6336
+ }[] | [string, string] | undefined> | undefined;
6180
6337
  originalActionId?: string | undefined;
6181
6338
  }, {
6182
6339
  type: "REJECT_CORRECTION";
6183
6340
  id: string;
6184
6341
  status: "Rejected" | "Requested" | "Accepted";
6342
+ transactionId: string;
6185
6343
  createdAt: string;
6186
6344
  createdBy: string;
6345
+ createdByRole: string;
6187
6346
  declaration: Record<string, string | number | boolean | {
6188
6347
  type: string;
6189
6348
  filename: string;
@@ -6221,7 +6380,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6221
6380
  option: string;
6222
6381
  filename: string;
6223
6382
  originalFilename: string;
6224
- }[] | undefined>;
6383
+ }[] | [string, string] | undefined>;
6384
+ createdAtLocation: string;
6225
6385
  requestId: string;
6226
6386
  annotation?: Record<string, string | number | boolean | {
6227
6387
  type: string;
@@ -6260,15 +6420,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6260
6420
  option: string;
6261
6421
  filename: string;
6262
6422
  originalFilename: string;
6263
- }[] | undefined> | undefined;
6264
- createdAtLocation?: string | undefined;
6265
- updatedAtLocation?: string | undefined;
6423
+ }[] | [string, string] | undefined> | undefined;
6266
6424
  originalActionId?: string | undefined;
6267
6425
  }>, z.ZodObject<z.objectUtil.extendShape<{
6268
6426
  id: z.ZodString;
6427
+ transactionId: z.ZodString;
6269
6428
  createdAt: z.ZodString;
6270
6429
  createdBy: z.ZodString;
6271
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6272
6432
  filename: z.ZodString;
6273
6433
  originalFilename: z.ZodString;
6274
6434
  type: z.ZodString;
@@ -6382,7 +6542,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6382
6542
  addressLine3?: string | null | undefined;
6383
6543
  postcodeOrZip?: string | null | undefined;
6384
6544
  }>]>>;
6385
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6386
6546
  filename: z.ZodString;
6387
6547
  originalFilename: z.ZodString;
6388
6548
  type: z.ZodString;
@@ -6496,19 +6656,20 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6496
6656
  addressLine3?: string | null | undefined;
6497
6657
  postcodeOrZip?: string | null | undefined;
6498
6658
  }>]>>>;
6499
- createdAtLocation: z.ZodOptional<z.ZodString>;
6500
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6659
+ createdAtLocation: z.ZodString;
6501
6660
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6502
6661
  originalActionId: z.ZodOptional<z.ZodString>;
6503
6662
  }, {
6504
6663
  type: z.ZodLiteral<"UNASSIGN">;
6505
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
6664
+ assignedTo: z.ZodLiteral<null>;
6506
6665
  }>, "strip", z.ZodTypeAny, {
6507
6666
  type: "UNASSIGN";
6508
6667
  id: string;
6509
6668
  status: "Rejected" | "Requested" | "Accepted";
6669
+ transactionId: string;
6510
6670
  createdAt: string;
6511
6671
  createdBy: string;
6672
+ createdByRole: string;
6512
6673
  declaration: Record<string, string | number | boolean | {
6513
6674
  type: string;
6514
6675
  filename: string;
@@ -6546,7 +6707,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6546
6707
  option: string;
6547
6708
  filename: string;
6548
6709
  originalFilename: string;
6549
- }[] | undefined>;
6710
+ }[] | [string, string] | undefined>;
6711
+ createdAtLocation: string;
6550
6712
  assignedTo: null;
6551
6713
  annotation?: Record<string, string | number | boolean | {
6552
6714
  type: string;
@@ -6585,16 +6747,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6585
6747
  option: string;
6586
6748
  filename: string;
6587
6749
  originalFilename: string;
6588
- }[] | undefined> | undefined;
6589
- createdAtLocation?: string | undefined;
6590
- updatedAtLocation?: string | undefined;
6750
+ }[] | [string, string] | undefined> | undefined;
6591
6751
  originalActionId?: string | undefined;
6592
6752
  }, {
6593
6753
  type: "UNASSIGN";
6594
6754
  id: string;
6595
6755
  status: "Rejected" | "Requested" | "Accepted";
6756
+ transactionId: string;
6596
6757
  createdAt: string;
6597
6758
  createdBy: string;
6759
+ createdByRole: string;
6598
6760
  declaration: Record<string, string | number | boolean | {
6599
6761
  type: string;
6600
6762
  filename: string;
@@ -6632,7 +6794,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6632
6794
  option: string;
6633
6795
  filename: string;
6634
6796
  originalFilename: string;
6635
- }[] | undefined>;
6797
+ }[] | [string, string] | undefined>;
6798
+ createdAtLocation: string;
6799
+ assignedTo: null;
6636
6800
  annotation?: Record<string, string | number | boolean | {
6637
6801
  type: string;
6638
6802
  filename: string;
@@ -6670,16 +6834,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6670
6834
  option: string;
6671
6835
  filename: string;
6672
6836
  originalFilename: string;
6673
- }[] | undefined> | undefined;
6674
- createdAtLocation?: string | undefined;
6675
- updatedAtLocation?: string | undefined;
6837
+ }[] | [string, string] | undefined> | undefined;
6676
6838
  originalActionId?: string | undefined;
6677
- assignedTo?: null | undefined;
6678
6839
  }>, z.ZodObject<z.objectUtil.extendShape<{
6679
6840
  id: z.ZodString;
6841
+ transactionId: z.ZodString;
6680
6842
  createdAt: z.ZodString;
6681
6843
  createdBy: z.ZodString;
6682
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6683
6846
  filename: z.ZodString;
6684
6847
  originalFilename: z.ZodString;
6685
6848
  type: z.ZodString;
@@ -6793,7 +6956,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6793
6956
  addressLine3?: string | null | undefined;
6794
6957
  postcodeOrZip?: string | null | undefined;
6795
6958
  }>]>>;
6796
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
6797
6960
  filename: z.ZodString;
6798
6961
  originalFilename: z.ZodString;
6799
6962
  type: z.ZodString;
@@ -6907,8 +7070,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6907
7070
  addressLine3?: string | null | undefined;
6908
7071
  postcodeOrZip?: string | null | undefined;
6909
7072
  }>]>>>;
6910
- createdAtLocation: z.ZodOptional<z.ZodString>;
6911
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7073
+ createdAtLocation: z.ZodString;
6912
7074
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6913
7075
  originalActionId: z.ZodOptional<z.ZodString>;
6914
7076
  }, {
@@ -6917,8 +7079,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6917
7079
  type: "PRINT_CERTIFICATE";
6918
7080
  id: string;
6919
7081
  status: "Rejected" | "Requested" | "Accepted";
7082
+ transactionId: string;
6920
7083
  createdAt: string;
6921
7084
  createdBy: string;
7085
+ createdByRole: string;
6922
7086
  declaration: Record<string, string | number | boolean | {
6923
7087
  type: string;
6924
7088
  filename: string;
@@ -6956,7 +7120,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6956
7120
  option: string;
6957
7121
  filename: string;
6958
7122
  originalFilename: string;
6959
- }[] | undefined>;
7123
+ }[] | [string, string] | undefined>;
7124
+ createdAtLocation: string;
6960
7125
  annotation?: Record<string, string | number | boolean | {
6961
7126
  type: string;
6962
7127
  filename: string;
@@ -6994,16 +7159,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6994
7159
  option: string;
6995
7160
  filename: string;
6996
7161
  originalFilename: string;
6997
- }[] | undefined> | undefined;
6998
- createdAtLocation?: string | undefined;
6999
- updatedAtLocation?: string | undefined;
7162
+ }[] | [string, string] | undefined> | undefined;
7000
7163
  originalActionId?: string | undefined;
7001
7164
  }, {
7002
7165
  type: "PRINT_CERTIFICATE";
7003
7166
  id: string;
7004
7167
  status: "Rejected" | "Requested" | "Accepted";
7168
+ transactionId: string;
7005
7169
  createdAt: string;
7006
7170
  createdBy: string;
7171
+ createdByRole: string;
7007
7172
  declaration: Record<string, string | number | boolean | {
7008
7173
  type: string;
7009
7174
  filename: string;
@@ -7041,7 +7206,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7041
7206
  option: string;
7042
7207
  filename: string;
7043
7208
  originalFilename: string;
7044
- }[] | undefined>;
7209
+ }[] | [string, string] | undefined>;
7210
+ createdAtLocation: string;
7045
7211
  annotation?: Record<string, string | number | boolean | {
7046
7212
  type: string;
7047
7213
  filename: string;
@@ -7079,15 +7245,15 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7079
7245
  option: string;
7080
7246
  filename: string;
7081
7247
  originalFilename: string;
7082
- }[] | undefined> | undefined;
7083
- createdAtLocation?: string | undefined;
7084
- updatedAtLocation?: string | undefined;
7248
+ }[] | [string, string] | undefined> | undefined;
7085
7249
  originalActionId?: string | undefined;
7086
7250
  }>, z.ZodObject<z.objectUtil.extendShape<{
7087
7251
  id: z.ZodString;
7252
+ transactionId: z.ZodString;
7088
7253
  createdAt: z.ZodString;
7089
7254
  createdBy: z.ZodString;
7090
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7091
7257
  filename: z.ZodString;
7092
7258
  originalFilename: z.ZodString;
7093
7259
  type: z.ZodString;
@@ -7201,7 +7367,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7201
7367
  addressLine3?: string | null | undefined;
7202
7368
  postcodeOrZip?: string | null | undefined;
7203
7369
  }>]>>;
7204
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7205
7371
  filename: z.ZodString;
7206
7372
  originalFilename: z.ZodString;
7207
7373
  type: z.ZodString;
@@ -7315,8 +7481,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7315
7481
  addressLine3?: string | null | undefined;
7316
7482
  postcodeOrZip?: string | null | undefined;
7317
7483
  }>]>>>;
7318
- createdAtLocation: z.ZodOptional<z.ZodString>;
7319
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7484
+ createdAtLocation: z.ZodString;
7320
7485
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7321
7486
  originalActionId: z.ZodOptional<z.ZodString>;
7322
7487
  }, {
@@ -7325,8 +7490,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7325
7490
  type: "READ";
7326
7491
  id: string;
7327
7492
  status: "Rejected" | "Requested" | "Accepted";
7493
+ transactionId: string;
7328
7494
  createdAt: string;
7329
7495
  createdBy: string;
7496
+ createdByRole: string;
7330
7497
  declaration: Record<string, string | number | boolean | {
7331
7498
  type: string;
7332
7499
  filename: string;
@@ -7364,7 +7531,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7364
7531
  option: string;
7365
7532
  filename: string;
7366
7533
  originalFilename: string;
7367
- }[] | undefined>;
7534
+ }[] | [string, string] | undefined>;
7535
+ createdAtLocation: string;
7368
7536
  annotation?: Record<string, string | number | boolean | {
7369
7537
  type: string;
7370
7538
  filename: string;
@@ -7402,16 +7570,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7402
7570
  option: string;
7403
7571
  filename: string;
7404
7572
  originalFilename: string;
7405
- }[] | undefined> | undefined;
7406
- createdAtLocation?: string | undefined;
7407
- updatedAtLocation?: string | undefined;
7573
+ }[] | [string, string] | undefined> | undefined;
7408
7574
  originalActionId?: string | undefined;
7409
7575
  }, {
7410
7576
  type: "READ";
7411
7577
  id: string;
7412
7578
  status: "Rejected" | "Requested" | "Accepted";
7579
+ transactionId: string;
7413
7580
  createdAt: string;
7414
7581
  createdBy: string;
7582
+ createdByRole: string;
7415
7583
  declaration: Record<string, string | number | boolean | {
7416
7584
  type: string;
7417
7585
  filename: string;
@@ -7449,7 +7617,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7449
7617
  option: string;
7450
7618
  filename: string;
7451
7619
  originalFilename: string;
7452
- }[] | undefined>;
7620
+ }[] | [string, string] | undefined>;
7621
+ createdAtLocation: string;
7453
7622
  annotation?: Record<string, string | number | boolean | {
7454
7623
  type: string;
7455
7624
  filename: string;
@@ -7487,17 +7656,17 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7487
7656
  option: string;
7488
7657
  filename: string;
7489
7658
  originalFilename: string;
7490
- }[] | undefined> | undefined;
7491
- createdAtLocation?: string | undefined;
7492
- updatedAtLocation?: string | undefined;
7659
+ }[] | [string, string] | undefined> | undefined;
7493
7660
  originalActionId?: string | undefined;
7494
7661
  }>]>;
7495
7662
  export type ActionDocument = z.infer<typeof ActionDocument>;
7496
7663
  export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendShape<Omit<{
7497
7664
  id: z.ZodString;
7665
+ transactionId: z.ZodString;
7498
7666
  createdAt: z.ZodString;
7499
7667
  createdBy: z.ZodString;
7500
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7501
7670
  filename: z.ZodString;
7502
7671
  originalFilename: z.ZodString;
7503
7672
  type: z.ZodString;
@@ -7611,7 +7780,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7611
7780
  addressLine3?: string | null | undefined;
7612
7781
  postcodeOrZip?: string | null | undefined;
7613
7782
  }>]>>;
7614
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7615
7784
  filename: z.ZodString;
7616
7785
  originalFilename: z.ZodString;
7617
7786
  type: z.ZodString;
@@ -7725,34 +7894,41 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7725
7894
  addressLine3?: string | null | undefined;
7726
7895
  postcodeOrZip?: string | null | undefined;
7727
7896
  }>]>>>;
7728
- createdAtLocation: z.ZodOptional<z.ZodString>;
7729
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7897
+ createdAtLocation: z.ZodString;
7730
7898
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7731
7899
  originalActionId: z.ZodOptional<z.ZodString>;
7732
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
7900
+ }, "declaration" | "annotation">, {
7733
7901
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7734
7902
  status: z.ZodLiteral<"Rejected">;
7735
7903
  }>, "strip", z.ZodTypeAny, {
7736
7904
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7737
7905
  id: string;
7738
7906
  status: "Rejected";
7907
+ transactionId: string;
7739
7908
  createdAt: string;
7740
- updatedAtLocation?: string | undefined;
7909
+ createdBy: string;
7910
+ createdByRole: string;
7911
+ createdAtLocation: string;
7741
7912
  originalActionId?: string | undefined;
7742
7913
  }, {
7743
7914
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
7744
7915
  id: string;
7745
7916
  status: "Rejected";
7917
+ transactionId: string;
7746
7918
  createdAt: string;
7747
- updatedAtLocation?: string | undefined;
7919
+ createdBy: string;
7920
+ createdByRole: string;
7921
+ createdAtLocation: string;
7748
7922
  originalActionId?: string | undefined;
7749
7923
  }>;
7750
7924
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
7751
7925
  export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
7752
7926
  id: z.ZodString;
7927
+ transactionId: z.ZodString;
7753
7928
  createdAt: z.ZodString;
7754
7929
  createdBy: z.ZodString;
7755
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7756
7932
  filename: z.ZodString;
7757
7933
  originalFilename: z.ZodString;
7758
7934
  type: z.ZodString;
@@ -7866,7 +8042,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7866
8042
  addressLine3?: string | null | undefined;
7867
8043
  postcodeOrZip?: string | null | undefined;
7868
8044
  }>]>>;
7869
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
7870
8046
  filename: z.ZodString;
7871
8047
  originalFilename: z.ZodString;
7872
8048
  type: z.ZodString;
@@ -7980,8 +8156,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7980
8156
  addressLine3?: string | null | undefined;
7981
8157
  postcodeOrZip?: string | null | undefined;
7982
8158
  }>]>>>;
7983
- createdAtLocation: z.ZodOptional<z.ZodString>;
7984
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8159
+ createdAtLocation: z.ZodString;
7985
8160
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7986
8161
  originalActionId: z.ZodOptional<z.ZodString>;
7987
8162
  }, {
@@ -7990,8 +8165,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7990
8165
  type: "CREATE";
7991
8166
  id: string;
7992
8167
  status: "Rejected" | "Requested" | "Accepted";
8168
+ transactionId: string;
7993
8169
  createdAt: string;
7994
8170
  createdBy: string;
8171
+ createdByRole: string;
7995
8172
  declaration: Record<string, string | number | boolean | {
7996
8173
  type: string;
7997
8174
  filename: string;
@@ -8029,7 +8206,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8029
8206
  option: string;
8030
8207
  filename: string;
8031
8208
  originalFilename: string;
8032
- }[] | undefined>;
8209
+ }[] | [string, string] | undefined>;
8210
+ createdAtLocation: string;
8033
8211
  annotation?: Record<string, string | number | boolean | {
8034
8212
  type: string;
8035
8213
  filename: string;
@@ -8067,16 +8245,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8067
8245
  option: string;
8068
8246
  filename: string;
8069
8247
  originalFilename: string;
8070
- }[] | undefined> | undefined;
8071
- createdAtLocation?: string | undefined;
8072
- updatedAtLocation?: string | undefined;
8248
+ }[] | [string, string] | undefined> | undefined;
8073
8249
  originalActionId?: string | undefined;
8074
8250
  }, {
8075
8251
  type: "CREATE";
8076
8252
  id: string;
8077
8253
  status: "Rejected" | "Requested" | "Accepted";
8254
+ transactionId: string;
8078
8255
  createdAt: string;
8079
8256
  createdBy: string;
8257
+ createdByRole: string;
8080
8258
  declaration: Record<string, string | number | boolean | {
8081
8259
  type: string;
8082
8260
  filename: string;
@@ -8114,7 +8292,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8114
8292
  option: string;
8115
8293
  filename: string;
8116
8294
  originalFilename: string;
8117
- }[] | undefined>;
8295
+ }[] | [string, string] | undefined>;
8296
+ createdAtLocation: string;
8118
8297
  annotation?: Record<string, string | number | boolean | {
8119
8298
  type: string;
8120
8299
  filename: string;
@@ -8152,15 +8331,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8152
8331
  option: string;
8153
8332
  filename: string;
8154
8333
  originalFilename: string;
8155
- }[] | undefined> | undefined;
8156
- createdAtLocation?: string | undefined;
8157
- updatedAtLocation?: string | undefined;
8334
+ }[] | [string, string] | undefined> | undefined;
8158
8335
  originalActionId?: string | undefined;
8159
8336
  }>, z.ZodObject<z.objectUtil.extendShape<{
8160
8337
  id: z.ZodString;
8338
+ transactionId: z.ZodString;
8161
8339
  createdAt: z.ZodString;
8162
8340
  createdBy: z.ZodString;
8163
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8164
8343
  filename: z.ZodString;
8165
8344
  originalFilename: z.ZodString;
8166
8345
  type: z.ZodString;
@@ -8274,7 +8453,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8274
8453
  addressLine3?: string | null | undefined;
8275
8454
  postcodeOrZip?: string | null | undefined;
8276
8455
  }>]>>;
8277
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8278
8457
  filename: z.ZodString;
8279
8458
  originalFilename: z.ZodString;
8280
8459
  type: z.ZodString;
@@ -8388,8 +8567,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8388
8567
  addressLine3?: string | null | undefined;
8389
8568
  postcodeOrZip?: string | null | undefined;
8390
8569
  }>]>>>;
8391
- createdAtLocation: z.ZodOptional<z.ZodString>;
8392
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8570
+ createdAtLocation: z.ZodString;
8393
8571
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8394
8572
  originalActionId: z.ZodOptional<z.ZodString>;
8395
8573
  }, {
@@ -8398,8 +8576,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8398
8576
  type: "VALIDATE";
8399
8577
  id: string;
8400
8578
  status: "Rejected" | "Requested" | "Accepted";
8579
+ transactionId: string;
8401
8580
  createdAt: string;
8402
8581
  createdBy: string;
8582
+ createdByRole: string;
8403
8583
  declaration: Record<string, string | number | boolean | {
8404
8584
  type: string;
8405
8585
  filename: string;
@@ -8437,7 +8617,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8437
8617
  option: string;
8438
8618
  filename: string;
8439
8619
  originalFilename: string;
8440
- }[] | undefined>;
8620
+ }[] | [string, string] | undefined>;
8621
+ createdAtLocation: string;
8441
8622
  annotation?: Record<string, string | number | boolean | {
8442
8623
  type: string;
8443
8624
  filename: string;
@@ -8475,16 +8656,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8475
8656
  option: string;
8476
8657
  filename: string;
8477
8658
  originalFilename: string;
8478
- }[] | undefined> | undefined;
8479
- createdAtLocation?: string | undefined;
8480
- updatedAtLocation?: string | undefined;
8659
+ }[] | [string, string] | undefined> | undefined;
8481
8660
  originalActionId?: string | undefined;
8482
8661
  }, {
8483
8662
  type: "VALIDATE";
8484
8663
  id: string;
8485
8664
  status: "Rejected" | "Requested" | "Accepted";
8665
+ transactionId: string;
8486
8666
  createdAt: string;
8487
8667
  createdBy: string;
8668
+ createdByRole: string;
8488
8669
  declaration: Record<string, string | number | boolean | {
8489
8670
  type: string;
8490
8671
  filename: string;
@@ -8522,7 +8703,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8522
8703
  option: string;
8523
8704
  filename: string;
8524
8705
  originalFilename: string;
8525
- }[] | undefined>;
8706
+ }[] | [string, string] | undefined>;
8707
+ createdAtLocation: string;
8526
8708
  annotation?: Record<string, string | number | boolean | {
8527
8709
  type: string;
8528
8710
  filename: string;
@@ -8560,15 +8742,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8560
8742
  option: string;
8561
8743
  filename: string;
8562
8744
  originalFilename: string;
8563
- }[] | undefined> | undefined;
8564
- createdAtLocation?: string | undefined;
8565
- updatedAtLocation?: string | undefined;
8745
+ }[] | [string, string] | undefined> | undefined;
8566
8746
  originalActionId?: string | undefined;
8567
8747
  }>, z.ZodObject<z.objectUtil.extendShape<{
8568
8748
  id: z.ZodString;
8749
+ transactionId: z.ZodString;
8569
8750
  createdAt: z.ZodString;
8570
8751
  createdBy: z.ZodString;
8571
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8572
8754
  filename: z.ZodString;
8573
8755
  originalFilename: z.ZodString;
8574
8756
  type: z.ZodString;
@@ -8682,7 +8864,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8682
8864
  addressLine3?: string | null | undefined;
8683
8865
  postcodeOrZip?: string | null | undefined;
8684
8866
  }>]>>;
8685
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8686
8868
  filename: z.ZodString;
8687
8869
  originalFilename: z.ZodString;
8688
8870
  type: z.ZodString;
@@ -8796,8 +8978,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8796
8978
  addressLine3?: string | null | undefined;
8797
8979
  postcodeOrZip?: string | null | undefined;
8798
8980
  }>]>>>;
8799
- createdAtLocation: z.ZodOptional<z.ZodString>;
8800
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8981
+ createdAtLocation: z.ZodString;
8801
8982
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8802
8983
  originalActionId: z.ZodOptional<z.ZodString>;
8803
8984
  }, {
@@ -8806,8 +8987,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8806
8987
  type: "REJECT";
8807
8988
  id: string;
8808
8989
  status: "Rejected" | "Requested" | "Accepted";
8990
+ transactionId: string;
8809
8991
  createdAt: string;
8810
8992
  createdBy: string;
8993
+ createdByRole: string;
8811
8994
  declaration: Record<string, string | number | boolean | {
8812
8995
  type: string;
8813
8996
  filename: string;
@@ -8845,7 +9028,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8845
9028
  option: string;
8846
9029
  filename: string;
8847
9030
  originalFilename: string;
8848
- }[] | undefined>;
9031
+ }[] | [string, string] | undefined>;
9032
+ createdAtLocation: string;
8849
9033
  annotation?: Record<string, string | number | boolean | {
8850
9034
  type: string;
8851
9035
  filename: string;
@@ -8883,16 +9067,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8883
9067
  option: string;
8884
9068
  filename: string;
8885
9069
  originalFilename: string;
8886
- }[] | undefined> | undefined;
8887
- createdAtLocation?: string | undefined;
8888
- updatedAtLocation?: string | undefined;
9070
+ }[] | [string, string] | undefined> | undefined;
8889
9071
  originalActionId?: string | undefined;
8890
9072
  }, {
8891
9073
  type: "REJECT";
8892
9074
  id: string;
8893
9075
  status: "Rejected" | "Requested" | "Accepted";
9076
+ transactionId: string;
8894
9077
  createdAt: string;
8895
9078
  createdBy: string;
9079
+ createdByRole: string;
8896
9080
  declaration: Record<string, string | number | boolean | {
8897
9081
  type: string;
8898
9082
  filename: string;
@@ -8930,7 +9114,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8930
9114
  option: string;
8931
9115
  filename: string;
8932
9116
  originalFilename: string;
8933
- }[] | undefined>;
9117
+ }[] | [string, string] | undefined>;
9118
+ createdAtLocation: string;
8934
9119
  annotation?: Record<string, string | number | boolean | {
8935
9120
  type: string;
8936
9121
  filename: string;
@@ -8968,15 +9153,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8968
9153
  option: string;
8969
9154
  filename: string;
8970
9155
  originalFilename: string;
8971
- }[] | undefined> | undefined;
8972
- createdAtLocation?: string | undefined;
8973
- updatedAtLocation?: string | undefined;
9156
+ }[] | [string, string] | undefined> | undefined;
8974
9157
  originalActionId?: string | undefined;
8975
9158
  }>, z.ZodObject<z.objectUtil.extendShape<{
8976
9159
  id: z.ZodString;
9160
+ transactionId: z.ZodString;
8977
9161
  createdAt: z.ZodString;
8978
9162
  createdBy: z.ZodString;
8979
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
8980
9165
  filename: z.ZodString;
8981
9166
  originalFilename: z.ZodString;
8982
9167
  type: z.ZodString;
@@ -9090,7 +9275,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9090
9275
  addressLine3?: string | null | undefined;
9091
9276
  postcodeOrZip?: string | null | undefined;
9092
9277
  }>]>>;
9093
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9094
9279
  filename: z.ZodString;
9095
9280
  originalFilename: z.ZodString;
9096
9281
  type: z.ZodString;
@@ -9204,8 +9389,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9204
9389
  addressLine3?: string | null | undefined;
9205
9390
  postcodeOrZip?: string | null | undefined;
9206
9391
  }>]>>>;
9207
- createdAtLocation: z.ZodOptional<z.ZodString>;
9208
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9392
+ createdAtLocation: z.ZodString;
9209
9393
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9210
9394
  originalActionId: z.ZodOptional<z.ZodString>;
9211
9395
  }, {
@@ -9214,8 +9398,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9214
9398
  type: "MARKED_AS_DUPLICATE";
9215
9399
  id: string;
9216
9400
  status: "Rejected" | "Requested" | "Accepted";
9401
+ transactionId: string;
9217
9402
  createdAt: string;
9218
9403
  createdBy: string;
9404
+ createdByRole: string;
9219
9405
  declaration: Record<string, string | number | boolean | {
9220
9406
  type: string;
9221
9407
  filename: string;
@@ -9253,7 +9439,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9253
9439
  option: string;
9254
9440
  filename: string;
9255
9441
  originalFilename: string;
9256
- }[] | undefined>;
9442
+ }[] | [string, string] | undefined>;
9443
+ createdAtLocation: string;
9257
9444
  annotation?: Record<string, string | number | boolean | {
9258
9445
  type: string;
9259
9446
  filename: string;
@@ -9291,16 +9478,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9291
9478
  option: string;
9292
9479
  filename: string;
9293
9480
  originalFilename: string;
9294
- }[] | undefined> | undefined;
9295
- createdAtLocation?: string | undefined;
9296
- updatedAtLocation?: string | undefined;
9481
+ }[] | [string, string] | undefined> | undefined;
9297
9482
  originalActionId?: string | undefined;
9298
9483
  }, {
9299
9484
  type: "MARKED_AS_DUPLICATE";
9300
9485
  id: string;
9301
9486
  status: "Rejected" | "Requested" | "Accepted";
9487
+ transactionId: string;
9302
9488
  createdAt: string;
9303
9489
  createdBy: string;
9490
+ createdByRole: string;
9304
9491
  declaration: Record<string, string | number | boolean | {
9305
9492
  type: string;
9306
9493
  filename: string;
@@ -9338,7 +9525,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9338
9525
  option: string;
9339
9526
  filename: string;
9340
9527
  originalFilename: string;
9341
- }[] | undefined>;
9528
+ }[] | [string, string] | undefined>;
9529
+ createdAtLocation: string;
9342
9530
  annotation?: Record<string, string | number | boolean | {
9343
9531
  type: string;
9344
9532
  filename: string;
@@ -9376,15 +9564,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9376
9564
  option: string;
9377
9565
  filename: string;
9378
9566
  originalFilename: string;
9379
- }[] | undefined> | undefined;
9380
- createdAtLocation?: string | undefined;
9381
- updatedAtLocation?: string | undefined;
9567
+ }[] | [string, string] | undefined> | undefined;
9382
9568
  originalActionId?: string | undefined;
9383
9569
  }>, z.ZodObject<z.objectUtil.extendShape<{
9384
9570
  id: z.ZodString;
9571
+ transactionId: z.ZodString;
9385
9572
  createdAt: z.ZodString;
9386
9573
  createdBy: z.ZodString;
9387
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9388
9576
  filename: z.ZodString;
9389
9577
  originalFilename: z.ZodString;
9390
9578
  type: z.ZodString;
@@ -9498,7 +9686,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9498
9686
  addressLine3?: string | null | undefined;
9499
9687
  postcodeOrZip?: string | null | undefined;
9500
9688
  }>]>>;
9501
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9502
9690
  filename: z.ZodString;
9503
9691
  originalFilename: z.ZodString;
9504
9692
  type: z.ZodString;
@@ -9612,8 +9800,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9612
9800
  addressLine3?: string | null | undefined;
9613
9801
  postcodeOrZip?: string | null | undefined;
9614
9802
  }>]>>>;
9615
- createdAtLocation: z.ZodOptional<z.ZodString>;
9616
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9803
+ createdAtLocation: z.ZodString;
9617
9804
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9618
9805
  originalActionId: z.ZodOptional<z.ZodString>;
9619
9806
  }, {
@@ -9622,8 +9809,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9622
9809
  type: "ARCHIVE";
9623
9810
  id: string;
9624
9811
  status: "Rejected" | "Requested" | "Accepted";
9812
+ transactionId: string;
9625
9813
  createdAt: string;
9626
9814
  createdBy: string;
9815
+ createdByRole: string;
9627
9816
  declaration: Record<string, string | number | boolean | {
9628
9817
  type: string;
9629
9818
  filename: string;
@@ -9661,7 +9850,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9661
9850
  option: string;
9662
9851
  filename: string;
9663
9852
  originalFilename: string;
9664
- }[] | undefined>;
9853
+ }[] | [string, string] | undefined>;
9854
+ createdAtLocation: string;
9665
9855
  annotation?: Record<string, string | number | boolean | {
9666
9856
  type: string;
9667
9857
  filename: string;
@@ -9699,16 +9889,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9699
9889
  option: string;
9700
9890
  filename: string;
9701
9891
  originalFilename: string;
9702
- }[] | undefined> | undefined;
9703
- createdAtLocation?: string | undefined;
9704
- updatedAtLocation?: string | undefined;
9892
+ }[] | [string, string] | undefined> | undefined;
9705
9893
  originalActionId?: string | undefined;
9706
9894
  }, {
9707
9895
  type: "ARCHIVE";
9708
9896
  id: string;
9709
9897
  status: "Rejected" | "Requested" | "Accepted";
9898
+ transactionId: string;
9710
9899
  createdAt: string;
9711
9900
  createdBy: string;
9901
+ createdByRole: string;
9712
9902
  declaration: Record<string, string | number | boolean | {
9713
9903
  type: string;
9714
9904
  filename: string;
@@ -9746,7 +9936,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9746
9936
  option: string;
9747
9937
  filename: string;
9748
9938
  originalFilename: string;
9749
- }[] | undefined>;
9939
+ }[] | [string, string] | undefined>;
9940
+ createdAtLocation: string;
9750
9941
  annotation?: Record<string, string | number | boolean | {
9751
9942
  type: string;
9752
9943
  filename: string;
@@ -9784,15 +9975,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9784
9975
  option: string;
9785
9976
  filename: string;
9786
9977
  originalFilename: string;
9787
- }[] | undefined> | undefined;
9788
- createdAtLocation?: string | undefined;
9789
- updatedAtLocation?: string | undefined;
9978
+ }[] | [string, string] | undefined> | undefined;
9790
9979
  originalActionId?: string | undefined;
9791
9980
  }>, z.ZodObject<z.objectUtil.extendShape<{
9792
9981
  id: z.ZodString;
9982
+ transactionId: z.ZodString;
9793
9983
  createdAt: z.ZodString;
9794
9984
  createdBy: z.ZodString;
9795
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9796
9987
  filename: z.ZodString;
9797
9988
  originalFilename: z.ZodString;
9798
9989
  type: z.ZodString;
@@ -9906,7 +10097,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9906
10097
  addressLine3?: string | null | undefined;
9907
10098
  postcodeOrZip?: string | null | undefined;
9908
10099
  }>]>>;
9909
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
9910
10101
  filename: z.ZodString;
9911
10102
  originalFilename: z.ZodString;
9912
10103
  type: z.ZodString;
@@ -10020,8 +10211,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10020
10211
  addressLine3?: string | null | undefined;
10021
10212
  postcodeOrZip?: string | null | undefined;
10022
10213
  }>]>>>;
10023
- createdAtLocation: z.ZodOptional<z.ZodString>;
10024
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10214
+ createdAtLocation: z.ZodString;
10025
10215
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10026
10216
  originalActionId: z.ZodOptional<z.ZodString>;
10027
10217
  }, {
@@ -10030,8 +10220,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10030
10220
  type: "NOTIFY";
10031
10221
  id: string;
10032
10222
  status: "Rejected" | "Requested" | "Accepted";
10223
+ transactionId: string;
10033
10224
  createdAt: string;
10034
10225
  createdBy: string;
10226
+ createdByRole: string;
10035
10227
  declaration: Record<string, string | number | boolean | {
10036
10228
  type: string;
10037
10229
  filename: string;
@@ -10069,7 +10261,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10069
10261
  option: string;
10070
10262
  filename: string;
10071
10263
  originalFilename: string;
10072
- }[] | undefined>;
10264
+ }[] | [string, string] | undefined>;
10265
+ createdAtLocation: string;
10073
10266
  annotation?: Record<string, string | number | boolean | {
10074
10267
  type: string;
10075
10268
  filename: string;
@@ -10107,16 +10300,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10107
10300
  option: string;
10108
10301
  filename: string;
10109
10302
  originalFilename: string;
10110
- }[] | undefined> | undefined;
10111
- createdAtLocation?: string | undefined;
10112
- updatedAtLocation?: string | undefined;
10303
+ }[] | [string, string] | undefined> | undefined;
10113
10304
  originalActionId?: string | undefined;
10114
10305
  }, {
10115
10306
  type: "NOTIFY";
10116
10307
  id: string;
10117
10308
  status: "Rejected" | "Requested" | "Accepted";
10309
+ transactionId: string;
10118
10310
  createdAt: string;
10119
10311
  createdBy: string;
10312
+ createdByRole: string;
10120
10313
  declaration: Record<string, string | number | boolean | {
10121
10314
  type: string;
10122
10315
  filename: string;
@@ -10154,7 +10347,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10154
10347
  option: string;
10155
10348
  filename: string;
10156
10349
  originalFilename: string;
10157
- }[] | undefined>;
10350
+ }[] | [string, string] | undefined>;
10351
+ createdAtLocation: string;
10158
10352
  annotation?: Record<string, string | number | boolean | {
10159
10353
  type: string;
10160
10354
  filename: string;
@@ -10192,15 +10386,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10192
10386
  option: string;
10193
10387
  filename: string;
10194
10388
  originalFilename: string;
10195
- }[] | undefined> | undefined;
10196
- createdAtLocation?: string | undefined;
10197
- updatedAtLocation?: string | undefined;
10389
+ }[] | [string, string] | undefined> | undefined;
10198
10390
  originalActionId?: string | undefined;
10199
10391
  }>, z.ZodObject<z.objectUtil.extendShape<{
10200
10392
  id: z.ZodString;
10393
+ transactionId: z.ZodString;
10201
10394
  createdAt: z.ZodString;
10202
10395
  createdBy: z.ZodString;
10203
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10204
10398
  filename: z.ZodString;
10205
10399
  originalFilename: z.ZodString;
10206
10400
  type: z.ZodString;
@@ -10314,7 +10508,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10314
10508
  addressLine3?: string | null | undefined;
10315
10509
  postcodeOrZip?: string | null | undefined;
10316
10510
  }>]>>;
10317
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10318
10512
  filename: z.ZodString;
10319
10513
  originalFilename: z.ZodString;
10320
10514
  type: z.ZodString;
@@ -10428,8 +10622,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10428
10622
  addressLine3?: string | null | undefined;
10429
10623
  postcodeOrZip?: string | null | undefined;
10430
10624
  }>]>>>;
10431
- createdAtLocation: z.ZodOptional<z.ZodString>;
10432
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10625
+ createdAtLocation: z.ZodString;
10433
10626
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10434
10627
  originalActionId: z.ZodOptional<z.ZodString>;
10435
10628
  }, {
@@ -10439,8 +10632,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10439
10632
  type: "REGISTER";
10440
10633
  id: string;
10441
10634
  status: "Rejected" | "Requested" | "Accepted";
10635
+ transactionId: string;
10442
10636
  createdAt: string;
10443
10637
  createdBy: string;
10638
+ createdByRole: string;
10444
10639
  declaration: Record<string, string | number | boolean | {
10445
10640
  type: string;
10446
10641
  filename: string;
@@ -10478,7 +10673,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10478
10673
  option: string;
10479
10674
  filename: string;
10480
10675
  originalFilename: string;
10481
- }[] | undefined>;
10676
+ }[] | [string, string] | undefined>;
10677
+ createdAtLocation: string;
10482
10678
  annotation?: Record<string, string | number | boolean | {
10483
10679
  type: string;
10484
10680
  filename: string;
@@ -10516,17 +10712,17 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10516
10712
  option: string;
10517
10713
  filename: string;
10518
10714
  originalFilename: string;
10519
- }[] | undefined> | undefined;
10520
- createdAtLocation?: string | undefined;
10521
- updatedAtLocation?: string | undefined;
10715
+ }[] | [string, string] | undefined> | undefined;
10522
10716
  originalActionId?: string | undefined;
10523
10717
  registrationNumber?: string | undefined;
10524
10718
  }, {
10525
10719
  type: "REGISTER";
10526
10720
  id: string;
10527
10721
  status: "Rejected" | "Requested" | "Accepted";
10722
+ transactionId: string;
10528
10723
  createdAt: string;
10529
10724
  createdBy: string;
10725
+ createdByRole: string;
10530
10726
  declaration: Record<string, string | number | boolean | {
10531
10727
  type: string;
10532
10728
  filename: string;
@@ -10564,7 +10760,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10564
10760
  option: string;
10565
10761
  filename: string;
10566
10762
  originalFilename: string;
10567
- }[] | undefined>;
10763
+ }[] | [string, string] | undefined>;
10764
+ createdAtLocation: string;
10568
10765
  annotation?: Record<string, string | number | boolean | {
10569
10766
  type: string;
10570
10767
  filename: string;
@@ -10602,16 +10799,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10602
10799
  option: string;
10603
10800
  filename: string;
10604
10801
  originalFilename: string;
10605
- }[] | undefined> | undefined;
10606
- createdAtLocation?: string | undefined;
10607
- updatedAtLocation?: string | undefined;
10802
+ }[] | [string, string] | undefined> | undefined;
10608
10803
  originalActionId?: string | undefined;
10609
10804
  registrationNumber?: string | undefined;
10610
10805
  }>, z.ZodObject<z.objectUtil.extendShape<{
10611
10806
  id: z.ZodString;
10807
+ transactionId: z.ZodString;
10612
10808
  createdAt: z.ZodString;
10613
10809
  createdBy: z.ZodString;
10614
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10615
10812
  filename: z.ZodString;
10616
10813
  originalFilename: z.ZodString;
10617
10814
  type: z.ZodString;
@@ -10725,7 +10922,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10725
10922
  addressLine3?: string | null | undefined;
10726
10923
  postcodeOrZip?: string | null | undefined;
10727
10924
  }>]>>;
10728
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
10729
10926
  filename: z.ZodString;
10730
10927
  originalFilename: z.ZodString;
10731
10928
  type: z.ZodString;
@@ -10839,8 +11036,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10839
11036
  addressLine3?: string | null | undefined;
10840
11037
  postcodeOrZip?: string | null | undefined;
10841
11038
  }>]>>>;
10842
- createdAtLocation: z.ZodOptional<z.ZodString>;
10843
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11039
+ createdAtLocation: z.ZodString;
10844
11040
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10845
11041
  originalActionId: z.ZodOptional<z.ZodString>;
10846
11042
  }, {
@@ -10849,8 +11045,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10849
11045
  type: "DECLARE";
10850
11046
  id: string;
10851
11047
  status: "Rejected" | "Requested" | "Accepted";
11048
+ transactionId: string;
10852
11049
  createdAt: string;
10853
11050
  createdBy: string;
11051
+ createdByRole: string;
10854
11052
  declaration: Record<string, string | number | boolean | {
10855
11053
  type: string;
10856
11054
  filename: string;
@@ -10888,7 +11086,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10888
11086
  option: string;
10889
11087
  filename: string;
10890
11088
  originalFilename: string;
10891
- }[] | undefined>;
11089
+ }[] | [string, string] | undefined>;
11090
+ createdAtLocation: string;
10892
11091
  annotation?: Record<string, string | number | boolean | {
10893
11092
  type: string;
10894
11093
  filename: string;
@@ -10926,16 +11125,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10926
11125
  option: string;
10927
11126
  filename: string;
10928
11127
  originalFilename: string;
10929
- }[] | undefined> | undefined;
10930
- createdAtLocation?: string | undefined;
10931
- updatedAtLocation?: string | undefined;
11128
+ }[] | [string, string] | undefined> | undefined;
10932
11129
  originalActionId?: string | undefined;
10933
11130
  }, {
10934
11131
  type: "DECLARE";
10935
11132
  id: string;
10936
11133
  status: "Rejected" | "Requested" | "Accepted";
11134
+ transactionId: string;
10937
11135
  createdAt: string;
10938
11136
  createdBy: string;
11137
+ createdByRole: string;
10939
11138
  declaration: Record<string, string | number | boolean | {
10940
11139
  type: string;
10941
11140
  filename: string;
@@ -10973,7 +11172,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10973
11172
  option: string;
10974
11173
  filename: string;
10975
11174
  originalFilename: string;
10976
- }[] | undefined>;
11175
+ }[] | [string, string] | undefined>;
11176
+ createdAtLocation: string;
10977
11177
  annotation?: Record<string, string | number | boolean | {
10978
11178
  type: string;
10979
11179
  filename: string;
@@ -11011,15 +11211,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11011
11211
  option: string;
11012
11212
  filename: string;
11013
11213
  originalFilename: string;
11014
- }[] | undefined> | undefined;
11015
- createdAtLocation?: string | undefined;
11016
- updatedAtLocation?: string | undefined;
11214
+ }[] | [string, string] | undefined> | undefined;
11017
11215
  originalActionId?: string | undefined;
11018
11216
  }>, z.ZodObject<z.objectUtil.extendShape<{
11019
11217
  id: z.ZodString;
11218
+ transactionId: z.ZodString;
11020
11219
  createdAt: z.ZodString;
11021
11220
  createdBy: z.ZodString;
11022
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11023
11223
  filename: z.ZodString;
11024
11224
  originalFilename: z.ZodString;
11025
11225
  type: z.ZodString;
@@ -11133,7 +11333,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11133
11333
  addressLine3?: string | null | undefined;
11134
11334
  postcodeOrZip?: string | null | undefined;
11135
11335
  }>]>>;
11136
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11137
11337
  filename: z.ZodString;
11138
11338
  originalFilename: z.ZodString;
11139
11339
  type: z.ZodString;
@@ -11247,8 +11447,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11247
11447
  addressLine3?: string | null | undefined;
11248
11448
  postcodeOrZip?: string | null | undefined;
11249
11449
  }>]>>>;
11250
- createdAtLocation: z.ZodOptional<z.ZodString>;
11251
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11450
+ createdAtLocation: z.ZodString;
11252
11451
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11253
11452
  originalActionId: z.ZodOptional<z.ZodString>;
11254
11453
  }, {
@@ -11258,8 +11457,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11258
11457
  type: "ASSIGN";
11259
11458
  id: string;
11260
11459
  status: "Rejected" | "Requested" | "Accepted";
11460
+ transactionId: string;
11261
11461
  createdAt: string;
11262
11462
  createdBy: string;
11463
+ createdByRole: string;
11263
11464
  declaration: Record<string, string | number | boolean | {
11264
11465
  type: string;
11265
11466
  filename: string;
@@ -11297,7 +11498,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11297
11498
  option: string;
11298
11499
  filename: string;
11299
11500
  originalFilename: string;
11300
- }[] | undefined>;
11501
+ }[] | [string, string] | undefined>;
11502
+ createdAtLocation: string;
11301
11503
  assignedTo: string;
11302
11504
  annotation?: Record<string, string | number | boolean | {
11303
11505
  type: string;
@@ -11336,16 +11538,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11336
11538
  option: string;
11337
11539
  filename: string;
11338
11540
  originalFilename: string;
11339
- }[] | undefined> | undefined;
11340
- createdAtLocation?: string | undefined;
11341
- updatedAtLocation?: string | undefined;
11541
+ }[] | [string, string] | undefined> | undefined;
11342
11542
  originalActionId?: string | undefined;
11343
11543
  }, {
11344
11544
  type: "ASSIGN";
11345
11545
  id: string;
11346
11546
  status: "Rejected" | "Requested" | "Accepted";
11547
+ transactionId: string;
11347
11548
  createdAt: string;
11348
11549
  createdBy: string;
11550
+ createdByRole: string;
11349
11551
  declaration: Record<string, string | number | boolean | {
11350
11552
  type: string;
11351
11553
  filename: string;
@@ -11383,7 +11585,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11383
11585
  option: string;
11384
11586
  filename: string;
11385
11587
  originalFilename: string;
11386
- }[] | undefined>;
11588
+ }[] | [string, string] | undefined>;
11589
+ createdAtLocation: string;
11387
11590
  assignedTo: string;
11388
11591
  annotation?: Record<string, string | number | boolean | {
11389
11592
  type: string;
@@ -11422,15 +11625,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11422
11625
  option: string;
11423
11626
  filename: string;
11424
11627
  originalFilename: string;
11425
- }[] | undefined> | undefined;
11426
- createdAtLocation?: string | undefined;
11427
- updatedAtLocation?: string | undefined;
11628
+ }[] | [string, string] | undefined> | undefined;
11428
11629
  originalActionId?: string | undefined;
11429
11630
  }>, z.ZodObject<z.objectUtil.extendShape<{
11430
11631
  id: z.ZodString;
11632
+ transactionId: z.ZodString;
11431
11633
  createdAt: z.ZodString;
11432
11634
  createdBy: z.ZodString;
11433
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11434
11637
  filename: z.ZodString;
11435
11638
  originalFilename: z.ZodString;
11436
11639
  type: z.ZodString;
@@ -11544,7 +11747,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11544
11747
  addressLine3?: string | null | undefined;
11545
11748
  postcodeOrZip?: string | null | undefined;
11546
11749
  }>]>>;
11547
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11548
11751
  filename: z.ZodString;
11549
11752
  originalFilename: z.ZodString;
11550
11753
  type: z.ZodString;
@@ -11658,8 +11861,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11658
11861
  addressLine3?: string | null | undefined;
11659
11862
  postcodeOrZip?: string | null | undefined;
11660
11863
  }>]>>>;
11661
- createdAtLocation: z.ZodOptional<z.ZodString>;
11662
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11864
+ createdAtLocation: z.ZodString;
11663
11865
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11664
11866
  originalActionId: z.ZodOptional<z.ZodString>;
11665
11867
  }, {
@@ -11668,8 +11870,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11668
11870
  type: "REQUEST_CORRECTION";
11669
11871
  id: string;
11670
11872
  status: "Rejected" | "Requested" | "Accepted";
11873
+ transactionId: string;
11671
11874
  createdAt: string;
11672
11875
  createdBy: string;
11876
+ createdByRole: string;
11673
11877
  declaration: Record<string, string | number | boolean | {
11674
11878
  type: string;
11675
11879
  filename: string;
@@ -11707,7 +11911,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11707
11911
  option: string;
11708
11912
  filename: string;
11709
11913
  originalFilename: string;
11710
- }[] | undefined>;
11914
+ }[] | [string, string] | undefined>;
11915
+ createdAtLocation: string;
11711
11916
  annotation?: Record<string, string | number | boolean | {
11712
11917
  type: string;
11713
11918
  filename: string;
@@ -11745,16 +11950,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11745
11950
  option: string;
11746
11951
  filename: string;
11747
11952
  originalFilename: string;
11748
- }[] | undefined> | undefined;
11749
- createdAtLocation?: string | undefined;
11750
- updatedAtLocation?: string | undefined;
11953
+ }[] | [string, string] | undefined> | undefined;
11751
11954
  originalActionId?: string | undefined;
11752
11955
  }, {
11753
11956
  type: "REQUEST_CORRECTION";
11754
11957
  id: string;
11755
11958
  status: "Rejected" | "Requested" | "Accepted";
11959
+ transactionId: string;
11756
11960
  createdAt: string;
11757
11961
  createdBy: string;
11962
+ createdByRole: string;
11758
11963
  declaration: Record<string, string | number | boolean | {
11759
11964
  type: string;
11760
11965
  filename: string;
@@ -11792,7 +11997,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11792
11997
  option: string;
11793
11998
  filename: string;
11794
11999
  originalFilename: string;
11795
- }[] | undefined>;
12000
+ }[] | [string, string] | undefined>;
12001
+ createdAtLocation: string;
11796
12002
  annotation?: Record<string, string | number | boolean | {
11797
12003
  type: string;
11798
12004
  filename: string;
@@ -11830,15 +12036,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11830
12036
  option: string;
11831
12037
  filename: string;
11832
12038
  originalFilename: string;
11833
- }[] | undefined> | undefined;
11834
- createdAtLocation?: string | undefined;
11835
- updatedAtLocation?: string | undefined;
12039
+ }[] | [string, string] | undefined> | undefined;
11836
12040
  originalActionId?: string | undefined;
11837
12041
  }>, z.ZodObject<z.objectUtil.extendShape<{
11838
12042
  id: z.ZodString;
12043
+ transactionId: z.ZodString;
11839
12044
  createdAt: z.ZodString;
11840
12045
  createdBy: z.ZodString;
11841
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11842
12048
  filename: z.ZodString;
11843
12049
  originalFilename: z.ZodString;
11844
12050
  type: z.ZodString;
@@ -11952,7 +12158,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11952
12158
  addressLine3?: string | null | undefined;
11953
12159
  postcodeOrZip?: string | null | undefined;
11954
12160
  }>]>>;
11955
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
11956
12162
  filename: z.ZodString;
11957
12163
  originalFilename: z.ZodString;
11958
12164
  type: z.ZodString;
@@ -12066,8 +12272,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12066
12272
  addressLine3?: string | null | undefined;
12067
12273
  postcodeOrZip?: string | null | undefined;
12068
12274
  }>]>>>;
12069
- createdAtLocation: z.ZodOptional<z.ZodString>;
12070
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12275
+ createdAtLocation: z.ZodString;
12071
12276
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12072
12277
  originalActionId: z.ZodOptional<z.ZodString>;
12073
12278
  }, {
@@ -12077,8 +12282,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12077
12282
  type: "APPROVE_CORRECTION";
12078
12283
  id: string;
12079
12284
  status: "Rejected" | "Requested" | "Accepted";
12285
+ transactionId: string;
12080
12286
  createdAt: string;
12081
12287
  createdBy: string;
12288
+ createdByRole: string;
12082
12289
  declaration: Record<string, string | number | boolean | {
12083
12290
  type: string;
12084
12291
  filename: string;
@@ -12116,7 +12323,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12116
12323
  option: string;
12117
12324
  filename: string;
12118
12325
  originalFilename: string;
12119
- }[] | undefined>;
12326
+ }[] | [string, string] | undefined>;
12327
+ createdAtLocation: string;
12120
12328
  requestId: string;
12121
12329
  annotation?: Record<string, string | number | boolean | {
12122
12330
  type: string;
@@ -12155,16 +12363,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12155
12363
  option: string;
12156
12364
  filename: string;
12157
12365
  originalFilename: string;
12158
- }[] | undefined> | undefined;
12159
- createdAtLocation?: string | undefined;
12160
- updatedAtLocation?: string | undefined;
12366
+ }[] | [string, string] | undefined> | undefined;
12161
12367
  originalActionId?: string | undefined;
12162
12368
  }, {
12163
12369
  type: "APPROVE_CORRECTION";
12164
12370
  id: string;
12165
12371
  status: "Rejected" | "Requested" | "Accepted";
12372
+ transactionId: string;
12166
12373
  createdAt: string;
12167
12374
  createdBy: string;
12375
+ createdByRole: string;
12168
12376
  declaration: Record<string, string | number | boolean | {
12169
12377
  type: string;
12170
12378
  filename: string;
@@ -12202,7 +12410,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12202
12410
  option: string;
12203
12411
  filename: string;
12204
12412
  originalFilename: string;
12205
- }[] | undefined>;
12413
+ }[] | [string, string] | undefined>;
12414
+ createdAtLocation: string;
12206
12415
  requestId: string;
12207
12416
  annotation?: Record<string, string | number | boolean | {
12208
12417
  type: string;
@@ -12241,15 +12450,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12241
12450
  option: string;
12242
12451
  filename: string;
12243
12452
  originalFilename: string;
12244
- }[] | undefined> | undefined;
12245
- createdAtLocation?: string | undefined;
12246
- updatedAtLocation?: string | undefined;
12453
+ }[] | [string, string] | undefined> | undefined;
12247
12454
  originalActionId?: string | undefined;
12248
12455
  }>, z.ZodObject<z.objectUtil.extendShape<{
12249
12456
  id: z.ZodString;
12457
+ transactionId: z.ZodString;
12250
12458
  createdAt: z.ZodString;
12251
12459
  createdBy: z.ZodString;
12252
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12253
12462
  filename: z.ZodString;
12254
12463
  originalFilename: z.ZodString;
12255
12464
  type: z.ZodString;
@@ -12363,7 +12572,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12363
12572
  addressLine3?: string | null | undefined;
12364
12573
  postcodeOrZip?: string | null | undefined;
12365
12574
  }>]>>;
12366
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12367
12576
  filename: z.ZodString;
12368
12577
  originalFilename: z.ZodString;
12369
12578
  type: z.ZodString;
@@ -12477,8 +12686,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12477
12686
  addressLine3?: string | null | undefined;
12478
12687
  postcodeOrZip?: string | null | undefined;
12479
12688
  }>]>>>;
12480
- createdAtLocation: z.ZodOptional<z.ZodString>;
12481
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12689
+ createdAtLocation: z.ZodString;
12482
12690
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12483
12691
  originalActionId: z.ZodOptional<z.ZodString>;
12484
12692
  }, {
@@ -12488,8 +12696,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12488
12696
  type: "REJECT_CORRECTION";
12489
12697
  id: string;
12490
12698
  status: "Rejected" | "Requested" | "Accepted";
12699
+ transactionId: string;
12491
12700
  createdAt: string;
12492
12701
  createdBy: string;
12702
+ createdByRole: string;
12493
12703
  declaration: Record<string, string | number | boolean | {
12494
12704
  type: string;
12495
12705
  filename: string;
@@ -12527,7 +12737,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12527
12737
  option: string;
12528
12738
  filename: string;
12529
12739
  originalFilename: string;
12530
- }[] | undefined>;
12740
+ }[] | [string, string] | undefined>;
12741
+ createdAtLocation: string;
12531
12742
  requestId: string;
12532
12743
  annotation?: Record<string, string | number | boolean | {
12533
12744
  type: string;
@@ -12566,16 +12777,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12566
12777
  option: string;
12567
12778
  filename: string;
12568
12779
  originalFilename: string;
12569
- }[] | undefined> | undefined;
12570
- createdAtLocation?: string | undefined;
12571
- updatedAtLocation?: string | undefined;
12780
+ }[] | [string, string] | undefined> | undefined;
12572
12781
  originalActionId?: string | undefined;
12573
12782
  }, {
12574
12783
  type: "REJECT_CORRECTION";
12575
12784
  id: string;
12576
12785
  status: "Rejected" | "Requested" | "Accepted";
12786
+ transactionId: string;
12577
12787
  createdAt: string;
12578
12788
  createdBy: string;
12789
+ createdByRole: string;
12579
12790
  declaration: Record<string, string | number | boolean | {
12580
12791
  type: string;
12581
12792
  filename: string;
@@ -12613,7 +12824,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12613
12824
  option: string;
12614
12825
  filename: string;
12615
12826
  originalFilename: string;
12616
- }[] | undefined>;
12827
+ }[] | [string, string] | undefined>;
12828
+ createdAtLocation: string;
12617
12829
  requestId: string;
12618
12830
  annotation?: Record<string, string | number | boolean | {
12619
12831
  type: string;
@@ -12652,15 +12864,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12652
12864
  option: string;
12653
12865
  filename: string;
12654
12866
  originalFilename: string;
12655
- }[] | undefined> | undefined;
12656
- createdAtLocation?: string | undefined;
12657
- updatedAtLocation?: string | undefined;
12867
+ }[] | [string, string] | undefined> | undefined;
12658
12868
  originalActionId?: string | undefined;
12659
12869
  }>, z.ZodObject<z.objectUtil.extendShape<{
12660
12870
  id: z.ZodString;
12871
+ transactionId: z.ZodString;
12661
12872
  createdAt: z.ZodString;
12662
12873
  createdBy: z.ZodString;
12663
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12664
12876
  filename: z.ZodString;
12665
12877
  originalFilename: z.ZodString;
12666
12878
  type: z.ZodString;
@@ -12774,7 +12986,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12774
12986
  addressLine3?: string | null | undefined;
12775
12987
  postcodeOrZip?: string | null | undefined;
12776
12988
  }>]>>;
12777
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
12778
12990
  filename: z.ZodString;
12779
12991
  originalFilename: z.ZodString;
12780
12992
  type: z.ZodString;
@@ -12888,19 +13100,20 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12888
13100
  addressLine3?: string | null | undefined;
12889
13101
  postcodeOrZip?: string | null | undefined;
12890
13102
  }>]>>>;
12891
- createdAtLocation: z.ZodOptional<z.ZodString>;
12892
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13103
+ createdAtLocation: z.ZodString;
12893
13104
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12894
13105
  originalActionId: z.ZodOptional<z.ZodString>;
12895
13106
  }, {
12896
13107
  type: z.ZodLiteral<"UNASSIGN">;
12897
- assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
13108
+ assignedTo: z.ZodLiteral<null>;
12898
13109
  }>, "strip", z.ZodTypeAny, {
12899
13110
  type: "UNASSIGN";
12900
13111
  id: string;
12901
13112
  status: "Rejected" | "Requested" | "Accepted";
13113
+ transactionId: string;
12902
13114
  createdAt: string;
12903
13115
  createdBy: string;
13116
+ createdByRole: string;
12904
13117
  declaration: Record<string, string | number | boolean | {
12905
13118
  type: string;
12906
13119
  filename: string;
@@ -12938,7 +13151,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12938
13151
  option: string;
12939
13152
  filename: string;
12940
13153
  originalFilename: string;
12941
- }[] | undefined>;
13154
+ }[] | [string, string] | undefined>;
13155
+ createdAtLocation: string;
12942
13156
  assignedTo: null;
12943
13157
  annotation?: Record<string, string | number | boolean | {
12944
13158
  type: string;
@@ -12977,16 +13191,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12977
13191
  option: string;
12978
13192
  filename: string;
12979
13193
  originalFilename: string;
12980
- }[] | undefined> | undefined;
12981
- createdAtLocation?: string | undefined;
12982
- updatedAtLocation?: string | undefined;
13194
+ }[] | [string, string] | undefined> | undefined;
12983
13195
  originalActionId?: string | undefined;
12984
13196
  }, {
12985
13197
  type: "UNASSIGN";
12986
13198
  id: string;
12987
13199
  status: "Rejected" | "Requested" | "Accepted";
13200
+ transactionId: string;
12988
13201
  createdAt: string;
12989
13202
  createdBy: string;
13203
+ createdByRole: string;
12990
13204
  declaration: Record<string, string | number | boolean | {
12991
13205
  type: string;
12992
13206
  filename: string;
@@ -13024,7 +13238,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13024
13238
  option: string;
13025
13239
  filename: string;
13026
13240
  originalFilename: string;
13027
- }[] | undefined>;
13241
+ }[] | [string, string] | undefined>;
13242
+ createdAtLocation: string;
13243
+ assignedTo: null;
13028
13244
  annotation?: Record<string, string | number | boolean | {
13029
13245
  type: string;
13030
13246
  filename: string;
@@ -13062,16 +13278,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13062
13278
  option: string;
13063
13279
  filename: string;
13064
13280
  originalFilename: string;
13065
- }[] | undefined> | undefined;
13066
- createdAtLocation?: string | undefined;
13067
- updatedAtLocation?: string | undefined;
13281
+ }[] | [string, string] | undefined> | undefined;
13068
13282
  originalActionId?: string | undefined;
13069
- assignedTo?: null | undefined;
13070
13283
  }>, z.ZodObject<z.objectUtil.extendShape<{
13071
13284
  id: z.ZodString;
13285
+ transactionId: z.ZodString;
13072
13286
  createdAt: z.ZodString;
13073
13287
  createdBy: z.ZodString;
13074
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13075
13290
  filename: z.ZodString;
13076
13291
  originalFilename: z.ZodString;
13077
13292
  type: z.ZodString;
@@ -13185,7 +13400,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13185
13400
  addressLine3?: string | null | undefined;
13186
13401
  postcodeOrZip?: string | null | undefined;
13187
13402
  }>]>>;
13188
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13189
13404
  filename: z.ZodString;
13190
13405
  originalFilename: z.ZodString;
13191
13406
  type: z.ZodString;
@@ -13299,8 +13514,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13299
13514
  addressLine3?: string | null | undefined;
13300
13515
  postcodeOrZip?: string | null | undefined;
13301
13516
  }>]>>>;
13302
- createdAtLocation: z.ZodOptional<z.ZodString>;
13303
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13517
+ createdAtLocation: z.ZodString;
13304
13518
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13305
13519
  originalActionId: z.ZodOptional<z.ZodString>;
13306
13520
  }, {
@@ -13309,8 +13523,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13309
13523
  type: "PRINT_CERTIFICATE";
13310
13524
  id: string;
13311
13525
  status: "Rejected" | "Requested" | "Accepted";
13526
+ transactionId: string;
13312
13527
  createdAt: string;
13313
13528
  createdBy: string;
13529
+ createdByRole: string;
13314
13530
  declaration: Record<string, string | number | boolean | {
13315
13531
  type: string;
13316
13532
  filename: string;
@@ -13348,7 +13564,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13348
13564
  option: string;
13349
13565
  filename: string;
13350
13566
  originalFilename: string;
13351
- }[] | undefined>;
13567
+ }[] | [string, string] | undefined>;
13568
+ createdAtLocation: string;
13352
13569
  annotation?: Record<string, string | number | boolean | {
13353
13570
  type: string;
13354
13571
  filename: string;
@@ -13386,16 +13603,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13386
13603
  option: string;
13387
13604
  filename: string;
13388
13605
  originalFilename: string;
13389
- }[] | undefined> | undefined;
13390
- createdAtLocation?: string | undefined;
13391
- updatedAtLocation?: string | undefined;
13606
+ }[] | [string, string] | undefined> | undefined;
13392
13607
  originalActionId?: string | undefined;
13393
13608
  }, {
13394
13609
  type: "PRINT_CERTIFICATE";
13395
13610
  id: string;
13396
13611
  status: "Rejected" | "Requested" | "Accepted";
13612
+ transactionId: string;
13397
13613
  createdAt: string;
13398
13614
  createdBy: string;
13615
+ createdByRole: string;
13399
13616
  declaration: Record<string, string | number | boolean | {
13400
13617
  type: string;
13401
13618
  filename: string;
@@ -13433,7 +13650,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13433
13650
  option: string;
13434
13651
  filename: string;
13435
13652
  originalFilename: string;
13436
- }[] | undefined>;
13653
+ }[] | [string, string] | undefined>;
13654
+ createdAtLocation: string;
13437
13655
  annotation?: Record<string, string | number | boolean | {
13438
13656
  type: string;
13439
13657
  filename: string;
@@ -13471,15 +13689,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13471
13689
  option: string;
13472
13690
  filename: string;
13473
13691
  originalFilename: string;
13474
- }[] | undefined> | undefined;
13475
- createdAtLocation?: string | undefined;
13476
- updatedAtLocation?: string | undefined;
13692
+ }[] | [string, string] | undefined> | undefined;
13477
13693
  originalActionId?: string | undefined;
13478
13694
  }>, z.ZodObject<z.objectUtil.extendShape<{
13479
13695
  id: z.ZodString;
13696
+ transactionId: z.ZodString;
13480
13697
  createdAt: z.ZodString;
13481
13698
  createdBy: z.ZodString;
13482
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13483
13701
  filename: z.ZodString;
13484
13702
  originalFilename: z.ZodString;
13485
13703
  type: z.ZodString;
@@ -13593,7 +13811,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13593
13811
  addressLine3?: string | null | undefined;
13594
13812
  postcodeOrZip?: string | null | undefined;
13595
13813
  }>]>>;
13596
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13597
13815
  filename: z.ZodString;
13598
13816
  originalFilename: z.ZodString;
13599
13817
  type: z.ZodString;
@@ -13707,8 +13925,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13707
13925
  addressLine3?: string | null | undefined;
13708
13926
  postcodeOrZip?: string | null | undefined;
13709
13927
  }>]>>>;
13710
- createdAtLocation: z.ZodOptional<z.ZodString>;
13711
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13928
+ createdAtLocation: z.ZodString;
13712
13929
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13713
13930
  originalActionId: z.ZodOptional<z.ZodString>;
13714
13931
  }, {
@@ -13717,8 +13934,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13717
13934
  type: "READ";
13718
13935
  id: string;
13719
13936
  status: "Rejected" | "Requested" | "Accepted";
13937
+ transactionId: string;
13720
13938
  createdAt: string;
13721
13939
  createdBy: string;
13940
+ createdByRole: string;
13722
13941
  declaration: Record<string, string | number | boolean | {
13723
13942
  type: string;
13724
13943
  filename: string;
@@ -13756,7 +13975,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13756
13975
  option: string;
13757
13976
  filename: string;
13758
13977
  originalFilename: string;
13759
- }[] | undefined>;
13978
+ }[] | [string, string] | undefined>;
13979
+ createdAtLocation: string;
13760
13980
  annotation?: Record<string, string | number | boolean | {
13761
13981
  type: string;
13762
13982
  filename: string;
@@ -13794,16 +14014,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13794
14014
  option: string;
13795
14015
  filename: string;
13796
14016
  originalFilename: string;
13797
- }[] | undefined> | undefined;
13798
- createdAtLocation?: string | undefined;
13799
- updatedAtLocation?: string | undefined;
14017
+ }[] | [string, string] | undefined> | undefined;
13800
14018
  originalActionId?: string | undefined;
13801
14019
  }, {
13802
14020
  type: "READ";
13803
14021
  id: string;
13804
14022
  status: "Rejected" | "Requested" | "Accepted";
14023
+ transactionId: string;
13805
14024
  createdAt: string;
13806
14025
  createdBy: string;
14026
+ createdByRole: string;
13807
14027
  declaration: Record<string, string | number | boolean | {
13808
14028
  type: string;
13809
14029
  filename: string;
@@ -13841,7 +14061,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13841
14061
  option: string;
13842
14062
  filename: string;
13843
14063
  originalFilename: string;
13844
- }[] | undefined>;
14064
+ }[] | [string, string] | undefined>;
14065
+ createdAtLocation: string;
13845
14066
  annotation?: Record<string, string | number | boolean | {
13846
14067
  type: string;
13847
14068
  filename: string;
@@ -13879,15 +14100,15 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13879
14100
  option: string;
13880
14101
  filename: string;
13881
14102
  originalFilename: string;
13882
- }[] | undefined> | undefined;
13883
- createdAtLocation?: string | undefined;
13884
- updatedAtLocation?: string | undefined;
14103
+ }[] | [string, string] | undefined> | undefined;
13885
14104
  originalActionId?: string | undefined;
13886
14105
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
13887
14106
  id: z.ZodString;
14107
+ transactionId: z.ZodString;
13888
14108
  createdAt: z.ZodString;
13889
14109
  createdBy: z.ZodString;
13890
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
13891
14112
  filename: z.ZodString;
13892
14113
  originalFilename: z.ZodString;
13893
14114
  type: z.ZodString;
@@ -14001,7 +14222,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14001
14222
  addressLine3?: string | null | undefined;
14002
14223
  postcodeOrZip?: string | null | undefined;
14003
14224
  }>]>>;
14004
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
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<{
14005
14226
  filename: z.ZodString;
14006
14227
  originalFilename: z.ZodString;
14007
14228
  type: z.ZodString;
@@ -14115,26 +14336,31 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14115
14336
  addressLine3?: string | null | undefined;
14116
14337
  postcodeOrZip?: string | null | undefined;
14117
14338
  }>]>>>;
14118
- createdAtLocation: z.ZodOptional<z.ZodString>;
14119
- updatedAtLocation: z.ZodOptional<z.ZodString>;
14339
+ createdAtLocation: z.ZodString;
14120
14340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14121
14341
  originalActionId: z.ZodOptional<z.ZodString>;
14122
- }, "createdBy" | "declaration" | "annotation" | "createdAtLocation">, {
14342
+ }, "declaration" | "annotation">, {
14123
14343
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14124
14344
  status: z.ZodLiteral<"Rejected">;
14125
14345
  }>, "strip", z.ZodTypeAny, {
14126
14346
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14127
14347
  id: string;
14128
14348
  status: "Rejected";
14349
+ transactionId: string;
14129
14350
  createdAt: string;
14130
- updatedAtLocation?: string | undefined;
14351
+ createdBy: string;
14352
+ createdByRole: string;
14353
+ createdAtLocation: string;
14131
14354
  originalActionId?: string | undefined;
14132
14355
  }, {
14133
14356
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
14134
14357
  id: string;
14135
14358
  status: "Rejected";
14359
+ transactionId: string;
14136
14360
  createdAt: string;
14137
- updatedAtLocation?: string | undefined;
14361
+ createdBy: string;
14362
+ createdByRole: string;
14363
+ createdAtLocation: string;
14138
14364
  originalActionId?: string | undefined;
14139
14365
  }>]>;
14140
14366
  export type Action = ActionDocument | AsyncRejectActionDocument;