@opencrvs/toolkit 1.8.0-rc.fa8bcf6 → 1.8.0-rc.facf9d6

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 (39) hide show
  1. package/dist/commons/api/router.d.ts +7597 -4530
  2. package/dist/commons/conditionals/conditionals.d.ts +7 -6
  3. package/dist/commons/events/ActionConfig.d.ts +47498 -39631
  4. package/dist/commons/events/ActionDocument.d.ts +620 -413
  5. package/dist/commons/events/ActionInput.d.ts +255 -183
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +637 -48
  7. package/dist/commons/events/Constants.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +2982 -0
  9. package/dist/commons/events/CreatedAtLocation.d.ts +3 -0
  10. package/dist/commons/events/Draft.d.ts +29 -26
  11. package/dist/commons/events/EventConfig.d.ts +18414 -16593
  12. package/dist/commons/events/EventDocument.d.ts +373 -325
  13. package/dist/commons/events/EventIndex.d.ts +706 -291
  14. package/dist/commons/events/EventInput.d.ts +0 -13
  15. package/dist/commons/events/EventMetadata.d.ts +290 -14
  16. package/dist/commons/events/FieldConfig.d.ts +1305 -441
  17. package/dist/commons/events/FieldType.d.ts +3 -2
  18. package/dist/commons/events/FieldTypeMapping.d.ts +16 -6
  19. package/dist/commons/events/FieldValue.d.ts +8 -3
  20. package/dist/commons/events/FormConfig.d.ts +8993 -3809
  21. package/dist/commons/events/PageConfig.d.ts +1912 -636
  22. package/dist/commons/events/SummaryConfig.d.ts +17 -0
  23. package/dist/commons/events/User.d.ts +31 -7
  24. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  25. package/dist/commons/events/WorkqueueConfig.d.ts +4491 -10
  26. package/dist/commons/events/defineConfig.d.ts +3576 -3692
  27. package/dist/commons/events/event.d.ts +37 -8
  28. package/dist/commons/events/field.d.ts +28 -23
  29. package/dist/commons/events/index.d.ts +4 -0
  30. package/dist/commons/events/scopes.d.ts +21 -2
  31. package/dist/commons/events/serializer.d.ts +2 -0
  32. package/dist/commons/events/test.utils.d.ts +33 -13
  33. package/dist/commons/events/utils.d.ts +619 -291
  34. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  35. package/dist/conditionals/index.js +28 -8
  36. package/dist/events/index.js +3204 -1546
  37. package/dist/scopes/index.d.ts +158 -1
  38. package/dist/scopes/index.js +152 -1
  39. package/package.json +1 -1
@@ -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";
@@ -134,7 +247,9 @@ export declare const ActionBase: z.ZodObject<{
134
247
  createdAt: z.ZodString;
135
248
  createdBy: z.ZodString;
136
249
  createdByRole: z.ZodString;
137
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
250
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ 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<{
138
253
  filename: z.ZodString;
139
254
  originalFilename: z.ZodString;
140
255
  type: z.ZodString;
@@ -248,7 +363,7 @@ export declare const ActionBase: z.ZodObject<{
248
363
  addressLine3?: string | null | undefined;
249
364
  postcodeOrZip?: string | null | undefined;
250
365
  }>]>>;
251
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
366
+ 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<{
252
367
  filename: z.ZodString;
253
368
  originalFilename: z.ZodString;
254
369
  type: z.ZodString;
@@ -362,8 +477,6 @@ export declare const ActionBase: z.ZodObject<{
362
477
  addressLine3?: string | null | undefined;
363
478
  postcodeOrZip?: string | null | undefined;
364
479
  }>]>>>;
365
- createdAtLocation: z.ZodOptional<z.ZodString>;
366
- updatedAtLocation: z.ZodOptional<z.ZodString>;
367
480
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
368
481
  originalActionId: z.ZodOptional<z.ZodString>;
369
482
  }, "strip", z.ZodTypeAny, {
@@ -410,7 +523,9 @@ export declare const ActionBase: z.ZodObject<{
410
523
  option: string;
411
524
  filename: string;
412
525
  originalFilename: string;
413
- }[] | undefined>;
526
+ }[] | [string, string] | undefined>;
527
+ createdBySignature?: string | null | undefined;
528
+ createdAtLocation?: string | null | undefined;
414
529
  annotation?: Record<string, string | number | boolean | {
415
530
  type: string;
416
531
  filename: string;
@@ -448,9 +563,7 @@ export declare const ActionBase: z.ZodObject<{
448
563
  option: string;
449
564
  filename: string;
450
565
  originalFilename: string;
451
- }[] | undefined> | undefined;
452
- createdAtLocation?: string | undefined;
453
- updatedAtLocation?: string | undefined;
566
+ }[] | [string, string] | undefined> | undefined;
454
567
  originalActionId?: string | undefined;
455
568
  }, {
456
569
  id: string;
@@ -496,7 +609,9 @@ export declare const ActionBase: z.ZodObject<{
496
609
  option: string;
497
610
  filename: string;
498
611
  originalFilename: string;
499
- }[] | undefined>;
612
+ }[] | [string, string] | undefined>;
613
+ createdBySignature?: string | null | undefined;
614
+ createdAtLocation?: string | null | undefined;
500
615
  annotation?: Record<string, string | number | boolean | {
501
616
  type: string;
502
617
  filename: string;
@@ -534,9 +649,7 @@ export declare const ActionBase: z.ZodObject<{
534
649
  option: string;
535
650
  filename: string;
536
651
  originalFilename: string;
537
- }[] | undefined> | undefined;
538
- createdAtLocation?: string | undefined;
539
- updatedAtLocation?: string | undefined;
652
+ }[] | [string, string] | undefined> | undefined;
540
653
  originalActionId?: string | undefined;
541
654
  }>;
542
655
  export type ActionBase = z.infer<typeof ActionBase>;
@@ -546,7 +659,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
546
659
  createdAt: z.ZodString;
547
660
  createdBy: z.ZodString;
548
661
  createdByRole: z.ZodString;
549
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
662
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
664
+ 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<{
550
665
  filename: z.ZodString;
551
666
  originalFilename: z.ZodString;
552
667
  type: z.ZodString;
@@ -660,7 +775,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
660
775
  addressLine3?: string | null | undefined;
661
776
  postcodeOrZip?: string | null | undefined;
662
777
  }>]>>;
663
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
778
+ 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<{
664
779
  filename: z.ZodString;
665
780
  originalFilename: z.ZodString;
666
781
  type: z.ZodString;
@@ -774,8 +889,6 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
774
889
  addressLine3?: string | null | undefined;
775
890
  postcodeOrZip?: string | null | undefined;
776
891
  }>]>>>;
777
- createdAtLocation: z.ZodOptional<z.ZodString>;
778
- updatedAtLocation: z.ZodOptional<z.ZodString>;
779
892
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
780
893
  originalActionId: z.ZodOptional<z.ZodString>;
781
894
  }, {
@@ -826,7 +939,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
826
939
  option: string;
827
940
  filename: string;
828
941
  originalFilename: string;
829
- }[] | undefined>;
942
+ }[] | [string, string] | undefined>;
943
+ createdBySignature?: string | null | undefined;
944
+ createdAtLocation?: string | null | undefined;
830
945
  annotation?: Record<string, string | number | boolean | {
831
946
  type: string;
832
947
  filename: string;
@@ -864,9 +979,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
864
979
  option: string;
865
980
  filename: string;
866
981
  originalFilename: string;
867
- }[] | undefined> | undefined;
868
- createdAtLocation?: string | undefined;
869
- updatedAtLocation?: string | undefined;
982
+ }[] | [string, string] | undefined> | undefined;
870
983
  originalActionId?: string | undefined;
871
984
  registrationNumber?: string | undefined;
872
985
  }, {
@@ -914,7 +1027,9 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
914
1027
  option: string;
915
1028
  filename: string;
916
1029
  originalFilename: string;
917
- }[] | undefined>;
1030
+ }[] | [string, string] | undefined>;
1031
+ createdBySignature?: string | null | undefined;
1032
+ createdAtLocation?: string | null | undefined;
918
1033
  annotation?: Record<string, string | number | boolean | {
919
1034
  type: string;
920
1035
  filename: string;
@@ -952,20 +1067,30 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
952
1067
  option: string;
953
1068
  filename: string;
954
1069
  originalFilename: string;
955
- }[] | undefined> | undefined;
956
- createdAtLocation?: string | undefined;
957
- updatedAtLocation?: string | undefined;
1070
+ }[] | [string, string] | undefined> | undefined;
958
1071
  originalActionId?: string | undefined;
959
1072
  registrationNumber?: string | undefined;
960
1073
  }>;
961
1074
  export type RegisterAction = z.infer<typeof RegisterAction>;
1075
+ export declare const RejectionReason: z.ZodObject<{
1076
+ message: z.ZodString;
1077
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ message: string;
1080
+ isDuplicate?: boolean | undefined;
1081
+ }, {
1082
+ message: string;
1083
+ isDuplicate?: boolean | undefined;
1084
+ }>;
962
1085
  declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
963
1086
  id: z.ZodString;
964
1087
  transactionId: z.ZodString;
965
1088
  createdAt: z.ZodString;
966
1089
  createdBy: z.ZodString;
967
1090
  createdByRole: z.ZodString;
968
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1091
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1092
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
+ 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<{
969
1094
  filename: z.ZodString;
970
1095
  originalFilename: z.ZodString;
971
1096
  type: z.ZodString;
@@ -1079,7 +1204,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1079
1204
  addressLine3?: string | null | undefined;
1080
1205
  postcodeOrZip?: string | null | undefined;
1081
1206
  }>]>>;
1082
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1207
+ 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<{
1083
1208
  filename: z.ZodString;
1084
1209
  originalFilename: z.ZodString;
1085
1210
  type: z.ZodString;
@@ -1193,8 +1318,6 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1193
1318
  addressLine3?: string | null | undefined;
1194
1319
  postcodeOrZip?: string | null | undefined;
1195
1320
  }>]>>>;
1196
- createdAtLocation: z.ZodOptional<z.ZodString>;
1197
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1198
1321
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1199
1322
  originalActionId: z.ZodOptional<z.ZodString>;
1200
1323
  }, {
@@ -1244,7 +1367,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1244
1367
  option: string;
1245
1368
  filename: string;
1246
1369
  originalFilename: string;
1247
- }[] | undefined>;
1370
+ }[] | [string, string] | undefined>;
1371
+ createdBySignature?: string | null | undefined;
1372
+ createdAtLocation?: string | null | undefined;
1248
1373
  annotation?: Record<string, string | number | boolean | {
1249
1374
  type: string;
1250
1375
  filename: string;
@@ -1282,9 +1407,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1282
1407
  option: string;
1283
1408
  filename: string;
1284
1409
  originalFilename: string;
1285
- }[] | undefined> | undefined;
1286
- createdAtLocation?: string | undefined;
1287
- updatedAtLocation?: string | undefined;
1410
+ }[] | [string, string] | undefined> | undefined;
1288
1411
  originalActionId?: string | undefined;
1289
1412
  }, {
1290
1413
  type: "CREATE";
@@ -1331,7 +1454,9 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1331
1454
  option: string;
1332
1455
  filename: string;
1333
1456
  originalFilename: string;
1334
- }[] | undefined>;
1457
+ }[] | [string, string] | undefined>;
1458
+ createdBySignature?: string | null | undefined;
1459
+ createdAtLocation?: string | null | undefined;
1335
1460
  annotation?: Record<string, string | number | boolean | {
1336
1461
  type: string;
1337
1462
  filename: string;
@@ -1369,9 +1494,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1369
1494
  option: string;
1370
1495
  filename: string;
1371
1496
  originalFilename: string;
1372
- }[] | undefined> | undefined;
1373
- createdAtLocation?: string | undefined;
1374
- updatedAtLocation?: string | undefined;
1497
+ }[] | [string, string] | undefined> | undefined;
1375
1498
  originalActionId?: string | undefined;
1376
1499
  }>;
1377
1500
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -1380,7 +1503,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1380
1503
  createdAt: z.ZodString;
1381
1504
  createdBy: z.ZodString;
1382
1505
  createdByRole: z.ZodString;
1383
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1506
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1507
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1508
+ 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<{
1384
1509
  filename: z.ZodString;
1385
1510
  originalFilename: z.ZodString;
1386
1511
  type: z.ZodString;
@@ -1494,7 +1619,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1494
1619
  addressLine3?: string | null | undefined;
1495
1620
  postcodeOrZip?: string | null | undefined;
1496
1621
  }>]>>;
1497
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1622
+ 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<{
1498
1623
  filename: z.ZodString;
1499
1624
  originalFilename: z.ZodString;
1500
1625
  type: z.ZodString;
@@ -1608,8 +1733,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1608
1733
  addressLine3?: string | null | undefined;
1609
1734
  postcodeOrZip?: string | null | undefined;
1610
1735
  }>]>>>;
1611
- createdAtLocation: z.ZodOptional<z.ZodString>;
1612
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1613
1736
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1614
1737
  originalActionId: z.ZodOptional<z.ZodString>;
1615
1738
  }, {
@@ -1659,7 +1782,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1659
1782
  option: string;
1660
1783
  filename: string;
1661
1784
  originalFilename: string;
1662
- }[] | undefined>;
1785
+ }[] | [string, string] | undefined>;
1786
+ createdBySignature?: string | null | undefined;
1787
+ createdAtLocation?: string | null | undefined;
1663
1788
  annotation?: Record<string, string | number | boolean | {
1664
1789
  type: string;
1665
1790
  filename: string;
@@ -1697,9 +1822,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1697
1822
  option: string;
1698
1823
  filename: string;
1699
1824
  originalFilename: string;
1700
- }[] | undefined> | undefined;
1701
- createdAtLocation?: string | undefined;
1702
- updatedAtLocation?: string | undefined;
1825
+ }[] | [string, string] | undefined> | undefined;
1703
1826
  originalActionId?: string | undefined;
1704
1827
  }, {
1705
1828
  type: "CREATE";
@@ -1746,7 +1869,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1746
1869
  option: string;
1747
1870
  filename: string;
1748
1871
  originalFilename: string;
1749
- }[] | undefined>;
1872
+ }[] | [string, string] | undefined>;
1873
+ createdBySignature?: string | null | undefined;
1874
+ createdAtLocation?: string | null | undefined;
1750
1875
  annotation?: Record<string, string | number | boolean | {
1751
1876
  type: string;
1752
1877
  filename: string;
@@ -1784,9 +1909,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1784
1909
  option: string;
1785
1910
  filename: string;
1786
1911
  originalFilename: string;
1787
- }[] | undefined> | undefined;
1788
- createdAtLocation?: string | undefined;
1789
- updatedAtLocation?: string | undefined;
1912
+ }[] | [string, string] | undefined> | undefined;
1790
1913
  originalActionId?: string | undefined;
1791
1914
  }>, z.ZodObject<z.objectUtil.extendShape<{
1792
1915
  id: z.ZodString;
@@ -1794,7 +1917,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1794
1917
  createdAt: z.ZodString;
1795
1918
  createdBy: z.ZodString;
1796
1919
  createdByRole: z.ZodString;
1797
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1920
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1921
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
+ 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<{
1798
1923
  filename: z.ZodString;
1799
1924
  originalFilename: z.ZodString;
1800
1925
  type: z.ZodString;
@@ -1908,7 +2033,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1908
2033
  addressLine3?: string | null | undefined;
1909
2034
  postcodeOrZip?: string | null | undefined;
1910
2035
  }>]>>;
1911
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2036
+ 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<{
1912
2037
  filename: z.ZodString;
1913
2038
  originalFilename: z.ZodString;
1914
2039
  type: z.ZodString;
@@ -2022,8 +2147,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2022
2147
  addressLine3?: string | null | undefined;
2023
2148
  postcodeOrZip?: string | null | undefined;
2024
2149
  }>]>>>;
2025
- createdAtLocation: z.ZodOptional<z.ZodString>;
2026
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2027
2150
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2028
2151
  originalActionId: z.ZodOptional<z.ZodString>;
2029
2152
  }, {
@@ -2073,7 +2196,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2073
2196
  option: string;
2074
2197
  filename: string;
2075
2198
  originalFilename: string;
2076
- }[] | undefined>;
2199
+ }[] | [string, string] | undefined>;
2200
+ createdBySignature?: string | null | undefined;
2201
+ createdAtLocation?: string | null | undefined;
2077
2202
  annotation?: Record<string, string | number | boolean | {
2078
2203
  type: string;
2079
2204
  filename: string;
@@ -2111,9 +2236,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2111
2236
  option: string;
2112
2237
  filename: string;
2113
2238
  originalFilename: string;
2114
- }[] | undefined> | undefined;
2115
- createdAtLocation?: string | undefined;
2116
- updatedAtLocation?: string | undefined;
2239
+ }[] | [string, string] | undefined> | undefined;
2117
2240
  originalActionId?: string | undefined;
2118
2241
  }, {
2119
2242
  type: "VALIDATE";
@@ -2160,7 +2283,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2160
2283
  option: string;
2161
2284
  filename: string;
2162
2285
  originalFilename: string;
2163
- }[] | undefined>;
2286
+ }[] | [string, string] | undefined>;
2287
+ createdBySignature?: string | null | undefined;
2288
+ createdAtLocation?: string | null | undefined;
2164
2289
  annotation?: Record<string, string | number | boolean | {
2165
2290
  type: string;
2166
2291
  filename: string;
@@ -2198,9 +2323,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2198
2323
  option: string;
2199
2324
  filename: string;
2200
2325
  originalFilename: string;
2201
- }[] | undefined> | undefined;
2202
- createdAtLocation?: string | undefined;
2203
- updatedAtLocation?: string | undefined;
2326
+ }[] | [string, string] | undefined> | undefined;
2204
2327
  originalActionId?: string | undefined;
2205
2328
  }>, z.ZodObject<z.objectUtil.extendShape<{
2206
2329
  id: z.ZodString;
@@ -2208,7 +2331,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2208
2331
  createdAt: z.ZodString;
2209
2332
  createdBy: z.ZodString;
2210
2333
  createdByRole: z.ZodString;
2211
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2334
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2335
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2336
+ 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<{
2212
2337
  filename: z.ZodString;
2213
2338
  originalFilename: z.ZodString;
2214
2339
  type: z.ZodString;
@@ -2322,7 +2447,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2322
2447
  addressLine3?: string | null | undefined;
2323
2448
  postcodeOrZip?: string | null | undefined;
2324
2449
  }>]>>;
2325
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2450
+ 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<{
2326
2451
  filename: z.ZodString;
2327
2452
  originalFilename: z.ZodString;
2328
2453
  type: z.ZodString;
@@ -2436,16 +2561,28 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2436
2561
  addressLine3?: string | null | undefined;
2437
2562
  postcodeOrZip?: string | null | undefined;
2438
2563
  }>]>>>;
2439
- createdAtLocation: z.ZodOptional<z.ZodString>;
2440
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2441
2564
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2442
2565
  originalActionId: z.ZodOptional<z.ZodString>;
2443
2566
  }, {
2444
2567
  type: z.ZodLiteral<"REJECT">;
2568
+ reason: z.ZodObject<{
2569
+ message: z.ZodString;
2570
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
2571
+ }, "strip", z.ZodTypeAny, {
2572
+ message: string;
2573
+ isDuplicate?: boolean | undefined;
2574
+ }, {
2575
+ message: string;
2576
+ isDuplicate?: boolean | undefined;
2577
+ }>;
2445
2578
  }>, "strip", z.ZodTypeAny, {
2446
2579
  type: "REJECT";
2447
2580
  id: string;
2448
2581
  status: "Rejected" | "Requested" | "Accepted";
2582
+ reason: {
2583
+ message: string;
2584
+ isDuplicate?: boolean | undefined;
2585
+ };
2449
2586
  transactionId: string;
2450
2587
  createdAt: string;
2451
2588
  createdBy: string;
@@ -2487,7 +2624,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2487
2624
  option: string;
2488
2625
  filename: string;
2489
2626
  originalFilename: string;
2490
- }[] | undefined>;
2627
+ }[] | [string, string] | undefined>;
2628
+ createdBySignature?: string | null | undefined;
2629
+ createdAtLocation?: string | null | undefined;
2491
2630
  annotation?: Record<string, string | number | boolean | {
2492
2631
  type: string;
2493
2632
  filename: string;
@@ -2525,14 +2664,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2525
2664
  option: string;
2526
2665
  filename: string;
2527
2666
  originalFilename: string;
2528
- }[] | undefined> | undefined;
2529
- createdAtLocation?: string | undefined;
2530
- updatedAtLocation?: string | undefined;
2667
+ }[] | [string, string] | undefined> | undefined;
2531
2668
  originalActionId?: string | undefined;
2532
2669
  }, {
2533
2670
  type: "REJECT";
2534
2671
  id: string;
2535
2672
  status: "Rejected" | "Requested" | "Accepted";
2673
+ reason: {
2674
+ message: string;
2675
+ isDuplicate?: boolean | undefined;
2676
+ };
2536
2677
  transactionId: string;
2537
2678
  createdAt: string;
2538
2679
  createdBy: string;
@@ -2574,7 +2715,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2574
2715
  option: string;
2575
2716
  filename: string;
2576
2717
  originalFilename: string;
2577
- }[] | undefined>;
2718
+ }[] | [string, string] | undefined>;
2719
+ createdBySignature?: string | null | undefined;
2720
+ createdAtLocation?: string | null | undefined;
2578
2721
  annotation?: Record<string, string | number | boolean | {
2579
2722
  type: string;
2580
2723
  filename: string;
@@ -2612,9 +2755,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2612
2755
  option: string;
2613
2756
  filename: string;
2614
2757
  originalFilename: string;
2615
- }[] | undefined> | undefined;
2616
- createdAtLocation?: string | undefined;
2617
- updatedAtLocation?: string | undefined;
2758
+ }[] | [string, string] | undefined> | undefined;
2618
2759
  originalActionId?: string | undefined;
2619
2760
  }>, z.ZodObject<z.objectUtil.extendShape<{
2620
2761
  id: z.ZodString;
@@ -2622,7 +2763,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2622
2763
  createdAt: z.ZodString;
2623
2764
  createdBy: z.ZodString;
2624
2765
  createdByRole: z.ZodString;
2625
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2766
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
+ 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<{
2626
2769
  filename: z.ZodString;
2627
2770
  originalFilename: z.ZodString;
2628
2771
  type: z.ZodString;
@@ -2736,7 +2879,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2736
2879
  addressLine3?: string | null | undefined;
2737
2880
  postcodeOrZip?: string | null | undefined;
2738
2881
  }>]>>;
2739
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2882
+ 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<{
2740
2883
  filename: z.ZodString;
2741
2884
  originalFilename: z.ZodString;
2742
2885
  type: z.ZodString;
@@ -2850,8 +2993,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2850
2993
  addressLine3?: string | null | undefined;
2851
2994
  postcodeOrZip?: string | null | undefined;
2852
2995
  }>]>>>;
2853
- createdAtLocation: z.ZodOptional<z.ZodString>;
2854
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2855
2996
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2856
2997
  originalActionId: z.ZodOptional<z.ZodString>;
2857
2998
  }, {
@@ -2901,7 +3042,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2901
3042
  option: string;
2902
3043
  filename: string;
2903
3044
  originalFilename: string;
2904
- }[] | undefined>;
3045
+ }[] | [string, string] | undefined>;
3046
+ createdBySignature?: string | null | undefined;
3047
+ createdAtLocation?: string | null | undefined;
2905
3048
  annotation?: Record<string, string | number | boolean | {
2906
3049
  type: string;
2907
3050
  filename: string;
@@ -2939,9 +3082,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2939
3082
  option: string;
2940
3083
  filename: string;
2941
3084
  originalFilename: string;
2942
- }[] | undefined> | undefined;
2943
- createdAtLocation?: string | undefined;
2944
- updatedAtLocation?: string | undefined;
3085
+ }[] | [string, string] | undefined> | undefined;
2945
3086
  originalActionId?: string | undefined;
2946
3087
  }, {
2947
3088
  type: "MARKED_AS_DUPLICATE";
@@ -2988,7 +3129,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2988
3129
  option: string;
2989
3130
  filename: string;
2990
3131
  originalFilename: string;
2991
- }[] | undefined>;
3132
+ }[] | [string, string] | undefined>;
3133
+ createdBySignature?: string | null | undefined;
3134
+ createdAtLocation?: string | null | undefined;
2992
3135
  annotation?: Record<string, string | number | boolean | {
2993
3136
  type: string;
2994
3137
  filename: string;
@@ -3026,9 +3169,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3026
3169
  option: string;
3027
3170
  filename: string;
3028
3171
  originalFilename: string;
3029
- }[] | undefined> | undefined;
3030
- createdAtLocation?: string | undefined;
3031
- updatedAtLocation?: string | undefined;
3172
+ }[] | [string, string] | undefined> | undefined;
3032
3173
  originalActionId?: string | undefined;
3033
3174
  }>, z.ZodObject<z.objectUtil.extendShape<{
3034
3175
  id: z.ZodString;
@@ -3036,7 +3177,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3036
3177
  createdAt: z.ZodString;
3037
3178
  createdBy: z.ZodString;
3038
3179
  createdByRole: z.ZodString;
3039
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3180
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3181
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3182
+ 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<{
3040
3183
  filename: z.ZodString;
3041
3184
  originalFilename: z.ZodString;
3042
3185
  type: z.ZodString;
@@ -3150,7 +3293,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3150
3293
  addressLine3?: string | null | undefined;
3151
3294
  postcodeOrZip?: string | null | undefined;
3152
3295
  }>]>>;
3153
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3296
+ 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<{
3154
3297
  filename: z.ZodString;
3155
3298
  originalFilename: z.ZodString;
3156
3299
  type: z.ZodString;
@@ -3264,16 +3407,28 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3264
3407
  addressLine3?: string | null | undefined;
3265
3408
  postcodeOrZip?: string | null | undefined;
3266
3409
  }>]>>>;
3267
- createdAtLocation: z.ZodOptional<z.ZodString>;
3268
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3269
3410
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3270
3411
  originalActionId: z.ZodOptional<z.ZodString>;
3271
3412
  }, {
3272
3413
  type: z.ZodLiteral<"ARCHIVE">;
3414
+ reason: z.ZodObject<{
3415
+ message: z.ZodString;
3416
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
3417
+ }, "strip", z.ZodTypeAny, {
3418
+ message: string;
3419
+ isDuplicate?: boolean | undefined;
3420
+ }, {
3421
+ message: string;
3422
+ isDuplicate?: boolean | undefined;
3423
+ }>;
3273
3424
  }>, "strip", z.ZodTypeAny, {
3274
3425
  type: "ARCHIVE";
3275
3426
  id: string;
3276
3427
  status: "Rejected" | "Requested" | "Accepted";
3428
+ reason: {
3429
+ message: string;
3430
+ isDuplicate?: boolean | undefined;
3431
+ };
3277
3432
  transactionId: string;
3278
3433
  createdAt: string;
3279
3434
  createdBy: string;
@@ -3315,7 +3470,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3315
3470
  option: string;
3316
3471
  filename: string;
3317
3472
  originalFilename: string;
3318
- }[] | undefined>;
3473
+ }[] | [string, string] | undefined>;
3474
+ createdBySignature?: string | null | undefined;
3475
+ createdAtLocation?: string | null | undefined;
3319
3476
  annotation?: Record<string, string | number | boolean | {
3320
3477
  type: string;
3321
3478
  filename: string;
@@ -3353,14 +3510,16 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3353
3510
  option: string;
3354
3511
  filename: string;
3355
3512
  originalFilename: string;
3356
- }[] | undefined> | undefined;
3357
- createdAtLocation?: string | undefined;
3358
- updatedAtLocation?: string | undefined;
3513
+ }[] | [string, string] | undefined> | undefined;
3359
3514
  originalActionId?: string | undefined;
3360
3515
  }, {
3361
3516
  type: "ARCHIVE";
3362
3517
  id: string;
3363
3518
  status: "Rejected" | "Requested" | "Accepted";
3519
+ reason: {
3520
+ message: string;
3521
+ isDuplicate?: boolean | undefined;
3522
+ };
3364
3523
  transactionId: string;
3365
3524
  createdAt: string;
3366
3525
  createdBy: string;
@@ -3402,7 +3561,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3402
3561
  option: string;
3403
3562
  filename: string;
3404
3563
  originalFilename: string;
3405
- }[] | undefined>;
3564
+ }[] | [string, string] | undefined>;
3565
+ createdBySignature?: string | null | undefined;
3566
+ createdAtLocation?: string | null | undefined;
3406
3567
  annotation?: Record<string, string | number | boolean | {
3407
3568
  type: string;
3408
3569
  filename: string;
@@ -3440,9 +3601,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3440
3601
  option: string;
3441
3602
  filename: string;
3442
3603
  originalFilename: string;
3443
- }[] | undefined> | undefined;
3444
- createdAtLocation?: string | undefined;
3445
- updatedAtLocation?: string | undefined;
3604
+ }[] | [string, string] | undefined> | undefined;
3446
3605
  originalActionId?: string | undefined;
3447
3606
  }>, z.ZodObject<z.objectUtil.extendShape<{
3448
3607
  id: z.ZodString;
@@ -3450,7 +3609,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3450
3609
  createdAt: z.ZodString;
3451
3610
  createdBy: z.ZodString;
3452
3611
  createdByRole: z.ZodString;
3453
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3612
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3613
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3614
+ 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<{
3454
3615
  filename: z.ZodString;
3455
3616
  originalFilename: z.ZodString;
3456
3617
  type: z.ZodString;
@@ -3564,7 +3725,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3564
3725
  addressLine3?: string | null | undefined;
3565
3726
  postcodeOrZip?: string | null | undefined;
3566
3727
  }>]>>;
3567
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3728
+ 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<{
3568
3729
  filename: z.ZodString;
3569
3730
  originalFilename: z.ZodString;
3570
3731
  type: z.ZodString;
@@ -3678,8 +3839,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3678
3839
  addressLine3?: string | null | undefined;
3679
3840
  postcodeOrZip?: string | null | undefined;
3680
3841
  }>]>>>;
3681
- createdAtLocation: z.ZodOptional<z.ZodString>;
3682
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3683
3842
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3684
3843
  originalActionId: z.ZodOptional<z.ZodString>;
3685
3844
  }, {
@@ -3729,7 +3888,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3729
3888
  option: string;
3730
3889
  filename: string;
3731
3890
  originalFilename: string;
3732
- }[] | undefined>;
3891
+ }[] | [string, string] | undefined>;
3892
+ createdBySignature?: string | null | undefined;
3893
+ createdAtLocation?: string | null | undefined;
3733
3894
  annotation?: Record<string, string | number | boolean | {
3734
3895
  type: string;
3735
3896
  filename: string;
@@ -3767,9 +3928,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3767
3928
  option: string;
3768
3929
  filename: string;
3769
3930
  originalFilename: string;
3770
- }[] | undefined> | undefined;
3771
- createdAtLocation?: string | undefined;
3772
- updatedAtLocation?: string | undefined;
3931
+ }[] | [string, string] | undefined> | undefined;
3773
3932
  originalActionId?: string | undefined;
3774
3933
  }, {
3775
3934
  type: "NOTIFY";
@@ -3816,7 +3975,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3816
3975
  option: string;
3817
3976
  filename: string;
3818
3977
  originalFilename: string;
3819
- }[] | undefined>;
3978
+ }[] | [string, string] | undefined>;
3979
+ createdBySignature?: string | null | undefined;
3980
+ createdAtLocation?: string | null | undefined;
3820
3981
  annotation?: Record<string, string | number | boolean | {
3821
3982
  type: string;
3822
3983
  filename: string;
@@ -3854,9 +4015,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3854
4015
  option: string;
3855
4016
  filename: string;
3856
4017
  originalFilename: string;
3857
- }[] | undefined> | undefined;
3858
- createdAtLocation?: string | undefined;
3859
- updatedAtLocation?: string | undefined;
4018
+ }[] | [string, string] | undefined> | undefined;
3860
4019
  originalActionId?: string | undefined;
3861
4020
  }>, z.ZodObject<z.objectUtil.extendShape<{
3862
4021
  id: z.ZodString;
@@ -3864,7 +4023,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3864
4023
  createdAt: z.ZodString;
3865
4024
  createdBy: z.ZodString;
3866
4025
  createdByRole: z.ZodString;
3867
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4026
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4027
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4028
+ 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<{
3868
4029
  filename: z.ZodString;
3869
4030
  originalFilename: z.ZodString;
3870
4031
  type: z.ZodString;
@@ -3978,7 +4139,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3978
4139
  addressLine3?: string | null | undefined;
3979
4140
  postcodeOrZip?: string | null | undefined;
3980
4141
  }>]>>;
3981
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4142
+ 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<{
3982
4143
  filename: z.ZodString;
3983
4144
  originalFilename: z.ZodString;
3984
4145
  type: z.ZodString;
@@ -4092,8 +4253,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4092
4253
  addressLine3?: string | null | undefined;
4093
4254
  postcodeOrZip?: string | null | undefined;
4094
4255
  }>]>>>;
4095
- createdAtLocation: z.ZodOptional<z.ZodString>;
4096
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4097
4256
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4098
4257
  originalActionId: z.ZodOptional<z.ZodString>;
4099
4258
  }, {
@@ -4144,7 +4303,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4144
4303
  option: string;
4145
4304
  filename: string;
4146
4305
  originalFilename: string;
4147
- }[] | undefined>;
4306
+ }[] | [string, string] | undefined>;
4307
+ createdBySignature?: string | null | undefined;
4308
+ createdAtLocation?: string | null | undefined;
4148
4309
  annotation?: Record<string, string | number | boolean | {
4149
4310
  type: string;
4150
4311
  filename: string;
@@ -4182,9 +4343,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4182
4343
  option: string;
4183
4344
  filename: string;
4184
4345
  originalFilename: string;
4185
- }[] | undefined> | undefined;
4186
- createdAtLocation?: string | undefined;
4187
- updatedAtLocation?: string | undefined;
4346
+ }[] | [string, string] | undefined> | undefined;
4188
4347
  originalActionId?: string | undefined;
4189
4348
  registrationNumber?: string | undefined;
4190
4349
  }, {
@@ -4232,7 +4391,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4232
4391
  option: string;
4233
4392
  filename: string;
4234
4393
  originalFilename: string;
4235
- }[] | undefined>;
4394
+ }[] | [string, string] | undefined>;
4395
+ createdBySignature?: string | null | undefined;
4396
+ createdAtLocation?: string | null | undefined;
4236
4397
  annotation?: Record<string, string | number | boolean | {
4237
4398
  type: string;
4238
4399
  filename: string;
@@ -4270,9 +4431,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4270
4431
  option: string;
4271
4432
  filename: string;
4272
4433
  originalFilename: string;
4273
- }[] | undefined> | undefined;
4274
- createdAtLocation?: string | undefined;
4275
- updatedAtLocation?: string | undefined;
4434
+ }[] | [string, string] | undefined> | undefined;
4276
4435
  originalActionId?: string | undefined;
4277
4436
  registrationNumber?: string | undefined;
4278
4437
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4281,7 +4440,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4281
4440
  createdAt: z.ZodString;
4282
4441
  createdBy: z.ZodString;
4283
4442
  createdByRole: z.ZodString;
4284
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4443
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4444
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4445
+ 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<{
4285
4446
  filename: z.ZodString;
4286
4447
  originalFilename: z.ZodString;
4287
4448
  type: z.ZodString;
@@ -4395,7 +4556,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4395
4556
  addressLine3?: string | null | undefined;
4396
4557
  postcodeOrZip?: string | null | undefined;
4397
4558
  }>]>>;
4398
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4559
+ 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<{
4399
4560
  filename: z.ZodString;
4400
4561
  originalFilename: z.ZodString;
4401
4562
  type: z.ZodString;
@@ -4509,8 +4670,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4509
4670
  addressLine3?: string | null | undefined;
4510
4671
  postcodeOrZip?: string | null | undefined;
4511
4672
  }>]>>>;
4512
- createdAtLocation: z.ZodOptional<z.ZodString>;
4513
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4514
4673
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4515
4674
  originalActionId: z.ZodOptional<z.ZodString>;
4516
4675
  }, {
@@ -4560,7 +4719,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4560
4719
  option: string;
4561
4720
  filename: string;
4562
4721
  originalFilename: string;
4563
- }[] | undefined>;
4722
+ }[] | [string, string] | undefined>;
4723
+ createdBySignature?: string | null | undefined;
4724
+ createdAtLocation?: string | null | undefined;
4564
4725
  annotation?: Record<string, string | number | boolean | {
4565
4726
  type: string;
4566
4727
  filename: string;
@@ -4598,9 +4759,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4598
4759
  option: string;
4599
4760
  filename: string;
4600
4761
  originalFilename: string;
4601
- }[] | undefined> | undefined;
4602
- createdAtLocation?: string | undefined;
4603
- updatedAtLocation?: string | undefined;
4762
+ }[] | [string, string] | undefined> | undefined;
4604
4763
  originalActionId?: string | undefined;
4605
4764
  }, {
4606
4765
  type: "DECLARE";
@@ -4647,7 +4806,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4647
4806
  option: string;
4648
4807
  filename: string;
4649
4808
  originalFilename: string;
4650
- }[] | undefined>;
4809
+ }[] | [string, string] | undefined>;
4810
+ createdBySignature?: string | null | undefined;
4811
+ createdAtLocation?: string | null | undefined;
4651
4812
  annotation?: Record<string, string | number | boolean | {
4652
4813
  type: string;
4653
4814
  filename: string;
@@ -4685,9 +4846,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4685
4846
  option: string;
4686
4847
  filename: string;
4687
4848
  originalFilename: string;
4688
- }[] | undefined> | undefined;
4689
- createdAtLocation?: string | undefined;
4690
- updatedAtLocation?: string | undefined;
4849
+ }[] | [string, string] | undefined> | undefined;
4691
4850
  originalActionId?: string | undefined;
4692
4851
  }>, z.ZodObject<z.objectUtil.extendShape<{
4693
4852
  id: z.ZodString;
@@ -4695,7 +4854,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4695
4854
  createdAt: z.ZodString;
4696
4855
  createdBy: z.ZodString;
4697
4856
  createdByRole: z.ZodString;
4698
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4857
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4858
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4859
+ 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<{
4699
4860
  filename: z.ZodString;
4700
4861
  originalFilename: z.ZodString;
4701
4862
  type: z.ZodString;
@@ -4809,7 +4970,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4809
4970
  addressLine3?: string | null | undefined;
4810
4971
  postcodeOrZip?: string | null | undefined;
4811
4972
  }>]>>;
4812
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4973
+ 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<{
4813
4974
  filename: z.ZodString;
4814
4975
  originalFilename: z.ZodString;
4815
4976
  type: z.ZodString;
@@ -4923,8 +5084,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4923
5084
  addressLine3?: string | null | undefined;
4924
5085
  postcodeOrZip?: string | null | undefined;
4925
5086
  }>]>>>;
4926
- createdAtLocation: z.ZodOptional<z.ZodString>;
4927
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4928
5087
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4929
5088
  originalActionId: z.ZodOptional<z.ZodString>;
4930
5089
  }, {
@@ -4975,8 +5134,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4975
5134
  option: string;
4976
5135
  filename: string;
4977
5136
  originalFilename: string;
4978
- }[] | undefined>;
5137
+ }[] | [string, string] | undefined>;
4979
5138
  assignedTo: string;
5139
+ createdBySignature?: string | null | undefined;
5140
+ createdAtLocation?: string | null | undefined;
4980
5141
  annotation?: Record<string, string | number | boolean | {
4981
5142
  type: string;
4982
5143
  filename: string;
@@ -5014,9 +5175,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5014
5175
  option: string;
5015
5176
  filename: string;
5016
5177
  originalFilename: string;
5017
- }[] | undefined> | undefined;
5018
- createdAtLocation?: string | undefined;
5019
- updatedAtLocation?: string | undefined;
5178
+ }[] | [string, string] | undefined> | undefined;
5020
5179
  originalActionId?: string | undefined;
5021
5180
  }, {
5022
5181
  type: "ASSIGN";
@@ -5063,8 +5222,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5063
5222
  option: string;
5064
5223
  filename: string;
5065
5224
  originalFilename: string;
5066
- }[] | undefined>;
5225
+ }[] | [string, string] | undefined>;
5067
5226
  assignedTo: string;
5227
+ createdBySignature?: string | null | undefined;
5228
+ createdAtLocation?: string | null | undefined;
5068
5229
  annotation?: Record<string, string | number | boolean | {
5069
5230
  type: string;
5070
5231
  filename: string;
@@ -5102,9 +5263,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5102
5263
  option: string;
5103
5264
  filename: string;
5104
5265
  originalFilename: string;
5105
- }[] | undefined> | undefined;
5106
- createdAtLocation?: string | undefined;
5107
- updatedAtLocation?: string | undefined;
5266
+ }[] | [string, string] | undefined> | undefined;
5108
5267
  originalActionId?: string | undefined;
5109
5268
  }>, z.ZodObject<z.objectUtil.extendShape<{
5110
5269
  id: z.ZodString;
@@ -5112,7 +5271,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5112
5271
  createdAt: z.ZodString;
5113
5272
  createdBy: z.ZodString;
5114
5273
  createdByRole: z.ZodString;
5115
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5274
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5275
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5276
+ 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<{
5116
5277
  filename: z.ZodString;
5117
5278
  originalFilename: z.ZodString;
5118
5279
  type: z.ZodString;
@@ -5226,7 +5387,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5226
5387
  addressLine3?: string | null | undefined;
5227
5388
  postcodeOrZip?: string | null | undefined;
5228
5389
  }>]>>;
5229
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5390
+ 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<{
5230
5391
  filename: z.ZodString;
5231
5392
  originalFilename: z.ZodString;
5232
5393
  type: z.ZodString;
@@ -5340,8 +5501,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5340
5501
  addressLine3?: string | null | undefined;
5341
5502
  postcodeOrZip?: string | null | undefined;
5342
5503
  }>]>>>;
5343
- createdAtLocation: z.ZodOptional<z.ZodString>;
5344
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5345
5504
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5346
5505
  originalActionId: z.ZodOptional<z.ZodString>;
5347
5506
  }, {
@@ -5391,7 +5550,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5391
5550
  option: string;
5392
5551
  filename: string;
5393
5552
  originalFilename: string;
5394
- }[] | undefined>;
5553
+ }[] | [string, string] | undefined>;
5554
+ createdBySignature?: string | null | undefined;
5555
+ createdAtLocation?: string | null | undefined;
5395
5556
  annotation?: Record<string, string | number | boolean | {
5396
5557
  type: string;
5397
5558
  filename: string;
@@ -5429,9 +5590,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5429
5590
  option: string;
5430
5591
  filename: string;
5431
5592
  originalFilename: string;
5432
- }[] | undefined> | undefined;
5433
- createdAtLocation?: string | undefined;
5434
- updatedAtLocation?: string | undefined;
5593
+ }[] | [string, string] | undefined> | undefined;
5435
5594
  originalActionId?: string | undefined;
5436
5595
  }, {
5437
5596
  type: "REQUEST_CORRECTION";
@@ -5478,7 +5637,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5478
5637
  option: string;
5479
5638
  filename: string;
5480
5639
  originalFilename: string;
5481
- }[] | undefined>;
5640
+ }[] | [string, string] | undefined>;
5641
+ createdBySignature?: string | null | undefined;
5642
+ createdAtLocation?: string | null | undefined;
5482
5643
  annotation?: Record<string, string | number | boolean | {
5483
5644
  type: string;
5484
5645
  filename: string;
@@ -5516,9 +5677,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5516
5677
  option: string;
5517
5678
  filename: string;
5518
5679
  originalFilename: string;
5519
- }[] | undefined> | undefined;
5520
- createdAtLocation?: string | undefined;
5521
- updatedAtLocation?: string | undefined;
5680
+ }[] | [string, string] | undefined> | undefined;
5522
5681
  originalActionId?: string | undefined;
5523
5682
  }>, z.ZodObject<z.objectUtil.extendShape<{
5524
5683
  id: z.ZodString;
@@ -5526,7 +5685,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5526
5685
  createdAt: z.ZodString;
5527
5686
  createdBy: z.ZodString;
5528
5687
  createdByRole: z.ZodString;
5529
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5688
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5689
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5690
+ 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<{
5530
5691
  filename: z.ZodString;
5531
5692
  originalFilename: z.ZodString;
5532
5693
  type: z.ZodString;
@@ -5640,7 +5801,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5640
5801
  addressLine3?: string | null | undefined;
5641
5802
  postcodeOrZip?: string | null | undefined;
5642
5803
  }>]>>;
5643
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5804
+ 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<{
5644
5805
  filename: z.ZodString;
5645
5806
  originalFilename: z.ZodString;
5646
5807
  type: z.ZodString;
@@ -5754,8 +5915,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5754
5915
  addressLine3?: string | null | undefined;
5755
5916
  postcodeOrZip?: string | null | undefined;
5756
5917
  }>]>>>;
5757
- createdAtLocation: z.ZodOptional<z.ZodString>;
5758
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5759
5918
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5760
5919
  originalActionId: z.ZodOptional<z.ZodString>;
5761
5920
  }, {
@@ -5806,8 +5965,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5806
5965
  option: string;
5807
5966
  filename: string;
5808
5967
  originalFilename: string;
5809
- }[] | undefined>;
5968
+ }[] | [string, string] | undefined>;
5810
5969
  requestId: string;
5970
+ createdBySignature?: string | null | undefined;
5971
+ createdAtLocation?: string | null | undefined;
5811
5972
  annotation?: Record<string, string | number | boolean | {
5812
5973
  type: string;
5813
5974
  filename: string;
@@ -5845,9 +6006,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5845
6006
  option: string;
5846
6007
  filename: string;
5847
6008
  originalFilename: string;
5848
- }[] | undefined> | undefined;
5849
- createdAtLocation?: string | undefined;
5850
- updatedAtLocation?: string | undefined;
6009
+ }[] | [string, string] | undefined> | undefined;
5851
6010
  originalActionId?: string | undefined;
5852
6011
  }, {
5853
6012
  type: "APPROVE_CORRECTION";
@@ -5894,8 +6053,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5894
6053
  option: string;
5895
6054
  filename: string;
5896
6055
  originalFilename: string;
5897
- }[] | undefined>;
6056
+ }[] | [string, string] | undefined>;
5898
6057
  requestId: string;
6058
+ createdBySignature?: string | null | undefined;
6059
+ createdAtLocation?: string | null | undefined;
5899
6060
  annotation?: Record<string, string | number | boolean | {
5900
6061
  type: string;
5901
6062
  filename: string;
@@ -5933,9 +6094,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5933
6094
  option: string;
5934
6095
  filename: string;
5935
6096
  originalFilename: string;
5936
- }[] | undefined> | undefined;
5937
- createdAtLocation?: string | undefined;
5938
- updatedAtLocation?: string | undefined;
6097
+ }[] | [string, string] | undefined> | undefined;
5939
6098
  originalActionId?: string | undefined;
5940
6099
  }>, z.ZodObject<z.objectUtil.extendShape<{
5941
6100
  id: z.ZodString;
@@ -5943,7 +6102,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5943
6102
  createdAt: z.ZodString;
5944
6103
  createdBy: z.ZodString;
5945
6104
  createdByRole: z.ZodString;
5946
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6105
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6106
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6107
+ 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<{
5947
6108
  filename: z.ZodString;
5948
6109
  originalFilename: z.ZodString;
5949
6110
  type: z.ZodString;
@@ -6057,7 +6218,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6057
6218
  addressLine3?: string | null | undefined;
6058
6219
  postcodeOrZip?: string | null | undefined;
6059
6220
  }>]>>;
6060
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6221
+ 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<{
6061
6222
  filename: z.ZodString;
6062
6223
  originalFilename: z.ZodString;
6063
6224
  type: z.ZodString;
@@ -6171,8 +6332,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6171
6332
  addressLine3?: string | null | undefined;
6172
6333
  postcodeOrZip?: string | null | undefined;
6173
6334
  }>]>>>;
6174
- createdAtLocation: z.ZodOptional<z.ZodString>;
6175
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6176
6335
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6177
6336
  originalActionId: z.ZodOptional<z.ZodString>;
6178
6337
  }, {
@@ -6223,8 +6382,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6223
6382
  option: string;
6224
6383
  filename: string;
6225
6384
  originalFilename: string;
6226
- }[] | undefined>;
6385
+ }[] | [string, string] | undefined>;
6227
6386
  requestId: string;
6387
+ createdBySignature?: string | null | undefined;
6388
+ createdAtLocation?: string | null | undefined;
6228
6389
  annotation?: Record<string, string | number | boolean | {
6229
6390
  type: string;
6230
6391
  filename: string;
@@ -6262,9 +6423,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6262
6423
  option: string;
6263
6424
  filename: string;
6264
6425
  originalFilename: string;
6265
- }[] | undefined> | undefined;
6266
- createdAtLocation?: string | undefined;
6267
- updatedAtLocation?: string | undefined;
6426
+ }[] | [string, string] | undefined> | undefined;
6268
6427
  originalActionId?: string | undefined;
6269
6428
  }, {
6270
6429
  type: "REJECT_CORRECTION";
@@ -6311,8 +6470,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6311
6470
  option: string;
6312
6471
  filename: string;
6313
6472
  originalFilename: string;
6314
- }[] | undefined>;
6473
+ }[] | [string, string] | undefined>;
6315
6474
  requestId: string;
6475
+ createdBySignature?: string | null | undefined;
6476
+ createdAtLocation?: string | null | undefined;
6316
6477
  annotation?: Record<string, string | number | boolean | {
6317
6478
  type: string;
6318
6479
  filename: string;
@@ -6350,9 +6511,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6350
6511
  option: string;
6351
6512
  filename: string;
6352
6513
  originalFilename: string;
6353
- }[] | undefined> | undefined;
6354
- createdAtLocation?: string | undefined;
6355
- updatedAtLocation?: string | undefined;
6514
+ }[] | [string, string] | undefined> | undefined;
6356
6515
  originalActionId?: string | undefined;
6357
6516
  }>, z.ZodObject<z.objectUtil.extendShape<{
6358
6517
  id: z.ZodString;
@@ -6360,7 +6519,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6360
6519
  createdAt: z.ZodString;
6361
6520
  createdBy: z.ZodString;
6362
6521
  createdByRole: z.ZodString;
6363
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6522
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6523
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6524
+ 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<{
6364
6525
  filename: z.ZodString;
6365
6526
  originalFilename: z.ZodString;
6366
6527
  type: z.ZodString;
@@ -6474,7 +6635,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6474
6635
  addressLine3?: string | null | undefined;
6475
6636
  postcodeOrZip?: string | null | undefined;
6476
6637
  }>]>>;
6477
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6638
+ 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<{
6478
6639
  filename: z.ZodString;
6479
6640
  originalFilename: z.ZodString;
6480
6641
  type: z.ZodString;
@@ -6588,8 +6749,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6588
6749
  addressLine3?: string | null | undefined;
6589
6750
  postcodeOrZip?: string | null | undefined;
6590
6751
  }>]>>>;
6591
- createdAtLocation: z.ZodOptional<z.ZodString>;
6592
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6593
6752
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6594
6753
  originalActionId: z.ZodOptional<z.ZodString>;
6595
6754
  }, {
@@ -6640,8 +6799,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6640
6799
  option: string;
6641
6800
  filename: string;
6642
6801
  originalFilename: string;
6643
- }[] | undefined>;
6802
+ }[] | [string, string] | undefined>;
6644
6803
  assignedTo: null;
6804
+ createdBySignature?: string | null | undefined;
6805
+ createdAtLocation?: string | null | undefined;
6645
6806
  annotation?: Record<string, string | number | boolean | {
6646
6807
  type: string;
6647
6808
  filename: string;
@@ -6679,9 +6840,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6679
6840
  option: string;
6680
6841
  filename: string;
6681
6842
  originalFilename: string;
6682
- }[] | undefined> | undefined;
6683
- createdAtLocation?: string | undefined;
6684
- updatedAtLocation?: string | undefined;
6843
+ }[] | [string, string] | undefined> | undefined;
6685
6844
  originalActionId?: string | undefined;
6686
6845
  }, {
6687
6846
  type: "UNASSIGN";
@@ -6728,8 +6887,10 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6728
6887
  option: string;
6729
6888
  filename: string;
6730
6889
  originalFilename: string;
6731
- }[] | undefined>;
6890
+ }[] | [string, string] | undefined>;
6732
6891
  assignedTo: null;
6892
+ createdBySignature?: string | null | undefined;
6893
+ createdAtLocation?: string | null | undefined;
6733
6894
  annotation?: Record<string, string | number | boolean | {
6734
6895
  type: string;
6735
6896
  filename: string;
@@ -6767,9 +6928,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6767
6928
  option: string;
6768
6929
  filename: string;
6769
6930
  originalFilename: string;
6770
- }[] | undefined> | undefined;
6771
- createdAtLocation?: string | undefined;
6772
- updatedAtLocation?: string | undefined;
6931
+ }[] | [string, string] | undefined> | undefined;
6773
6932
  originalActionId?: string | undefined;
6774
6933
  }>, z.ZodObject<z.objectUtil.extendShape<{
6775
6934
  id: z.ZodString;
@@ -6777,7 +6936,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6777
6936
  createdAt: z.ZodString;
6778
6937
  createdBy: z.ZodString;
6779
6938
  createdByRole: z.ZodString;
6780
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6939
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6940
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6941
+ 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<{
6781
6942
  filename: z.ZodString;
6782
6943
  originalFilename: z.ZodString;
6783
6944
  type: z.ZodString;
@@ -6891,7 +7052,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6891
7052
  addressLine3?: string | null | undefined;
6892
7053
  postcodeOrZip?: string | null | undefined;
6893
7054
  }>]>>;
6894
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7055
+ 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<{
6895
7056
  filename: z.ZodString;
6896
7057
  originalFilename: z.ZodString;
6897
7058
  type: z.ZodString;
@@ -7005,8 +7166,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7005
7166
  addressLine3?: string | null | undefined;
7006
7167
  postcodeOrZip?: string | null | undefined;
7007
7168
  }>]>>>;
7008
- createdAtLocation: z.ZodOptional<z.ZodString>;
7009
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7010
7169
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7011
7170
  originalActionId: z.ZodOptional<z.ZodString>;
7012
7171
  }, {
@@ -7056,7 +7215,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7056
7215
  option: string;
7057
7216
  filename: string;
7058
7217
  originalFilename: string;
7059
- }[] | undefined>;
7218
+ }[] | [string, string] | undefined>;
7219
+ createdBySignature?: string | null | undefined;
7220
+ createdAtLocation?: string | null | undefined;
7060
7221
  annotation?: Record<string, string | number | boolean | {
7061
7222
  type: string;
7062
7223
  filename: string;
@@ -7094,9 +7255,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7094
7255
  option: string;
7095
7256
  filename: string;
7096
7257
  originalFilename: string;
7097
- }[] | undefined> | undefined;
7098
- createdAtLocation?: string | undefined;
7099
- updatedAtLocation?: string | undefined;
7258
+ }[] | [string, string] | undefined> | undefined;
7100
7259
  originalActionId?: string | undefined;
7101
7260
  }, {
7102
7261
  type: "PRINT_CERTIFICATE";
@@ -7143,7 +7302,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7143
7302
  option: string;
7144
7303
  filename: string;
7145
7304
  originalFilename: string;
7146
- }[] | undefined>;
7305
+ }[] | [string, string] | undefined>;
7306
+ createdBySignature?: string | null | undefined;
7307
+ createdAtLocation?: string | null | undefined;
7147
7308
  annotation?: Record<string, string | number | boolean | {
7148
7309
  type: string;
7149
7310
  filename: string;
@@ -7181,9 +7342,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7181
7342
  option: string;
7182
7343
  filename: string;
7183
7344
  originalFilename: string;
7184
- }[] | undefined> | undefined;
7185
- createdAtLocation?: string | undefined;
7186
- updatedAtLocation?: string | undefined;
7345
+ }[] | [string, string] | undefined> | undefined;
7187
7346
  originalActionId?: string | undefined;
7188
7347
  }>, z.ZodObject<z.objectUtil.extendShape<{
7189
7348
  id: z.ZodString;
@@ -7191,7 +7350,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7191
7350
  createdAt: z.ZodString;
7192
7351
  createdBy: z.ZodString;
7193
7352
  createdByRole: z.ZodString;
7194
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7353
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7354
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7355
+ 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<{
7195
7356
  filename: z.ZodString;
7196
7357
  originalFilename: z.ZodString;
7197
7358
  type: z.ZodString;
@@ -7305,7 +7466,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7305
7466
  addressLine3?: string | null | undefined;
7306
7467
  postcodeOrZip?: string | null | undefined;
7307
7468
  }>]>>;
7308
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7469
+ 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<{
7309
7470
  filename: z.ZodString;
7310
7471
  originalFilename: z.ZodString;
7311
7472
  type: z.ZodString;
@@ -7419,8 +7580,6 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7419
7580
  addressLine3?: string | null | undefined;
7420
7581
  postcodeOrZip?: string | null | undefined;
7421
7582
  }>]>>>;
7422
- createdAtLocation: z.ZodOptional<z.ZodString>;
7423
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7424
7583
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7425
7584
  originalActionId: z.ZodOptional<z.ZodString>;
7426
7585
  }, {
@@ -7470,7 +7629,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7470
7629
  option: string;
7471
7630
  filename: string;
7472
7631
  originalFilename: string;
7473
- }[] | undefined>;
7632
+ }[] | [string, string] | undefined>;
7633
+ createdBySignature?: string | null | undefined;
7634
+ createdAtLocation?: string | null | undefined;
7474
7635
  annotation?: Record<string, string | number | boolean | {
7475
7636
  type: string;
7476
7637
  filename: string;
@@ -7508,9 +7669,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7508
7669
  option: string;
7509
7670
  filename: string;
7510
7671
  originalFilename: string;
7511
- }[] | undefined> | undefined;
7512
- createdAtLocation?: string | undefined;
7513
- updatedAtLocation?: string | undefined;
7672
+ }[] | [string, string] | undefined> | undefined;
7514
7673
  originalActionId?: string | undefined;
7515
7674
  }, {
7516
7675
  type: "READ";
@@ -7557,7 +7716,9 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7557
7716
  option: string;
7558
7717
  filename: string;
7559
7718
  originalFilename: string;
7560
- }[] | undefined>;
7719
+ }[] | [string, string] | undefined>;
7720
+ createdBySignature?: string | null | undefined;
7721
+ createdAtLocation?: string | null | undefined;
7561
7722
  annotation?: Record<string, string | number | boolean | {
7562
7723
  type: string;
7563
7724
  filename: string;
@@ -7595,9 +7756,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7595
7756
  option: string;
7596
7757
  filename: string;
7597
7758
  originalFilename: string;
7598
- }[] | undefined> | undefined;
7599
- createdAtLocation?: string | undefined;
7600
- updatedAtLocation?: string | undefined;
7759
+ }[] | [string, string] | undefined> | undefined;
7601
7760
  originalActionId?: string | undefined;
7602
7761
  }>]>;
7603
7762
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -7607,7 +7766,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7607
7766
  createdAt: z.ZodString;
7608
7767
  createdBy: z.ZodString;
7609
7768
  createdByRole: z.ZodString;
7610
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7769
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7770
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7771
+ 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<{
7611
7772
  filename: z.ZodString;
7612
7773
  originalFilename: z.ZodString;
7613
7774
  type: z.ZodString;
@@ -7721,7 +7882,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7721
7882
  addressLine3?: string | null | undefined;
7722
7883
  postcodeOrZip?: string | null | undefined;
7723
7884
  }>]>>;
7724
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7885
+ 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<{
7725
7886
  filename: z.ZodString;
7726
7887
  originalFilename: z.ZodString;
7727
7888
  type: z.ZodString;
@@ -7835,11 +7996,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7835
7996
  addressLine3?: string | null | undefined;
7836
7997
  postcodeOrZip?: string | null | undefined;
7837
7998
  }>]>>>;
7838
- createdAtLocation: z.ZodOptional<z.ZodString>;
7839
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7840
7999
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7841
8000
  originalActionId: z.ZodOptional<z.ZodString>;
7842
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
8001
+ }, "declaration" | "annotation">, {
7843
8002
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7844
8003
  status: z.ZodLiteral<"Rejected">;
7845
8004
  }>, "strip", z.ZodTypeAny, {
@@ -7848,7 +8007,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7848
8007
  status: "Rejected";
7849
8008
  transactionId: string;
7850
8009
  createdAt: string;
7851
- updatedAtLocation?: string | undefined;
8010
+ createdBy: string;
8011
+ createdByRole: string;
8012
+ createdBySignature?: string | null | undefined;
8013
+ createdAtLocation?: string | null | undefined;
7852
8014
  originalActionId?: string | undefined;
7853
8015
  }, {
7854
8016
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7856,7 +8018,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7856
8018
  status: "Rejected";
7857
8019
  transactionId: string;
7858
8020
  createdAt: string;
7859
- updatedAtLocation?: string | undefined;
8021
+ createdBy: string;
8022
+ createdByRole: string;
8023
+ createdBySignature?: string | null | undefined;
8024
+ createdAtLocation?: string | null | undefined;
7860
8025
  originalActionId?: string | undefined;
7861
8026
  }>;
7862
8027
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -7866,7 +8031,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7866
8031
  createdAt: z.ZodString;
7867
8032
  createdBy: z.ZodString;
7868
8033
  createdByRole: z.ZodString;
7869
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8034
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8035
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8036
+ 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<{
7870
8037
  filename: z.ZodString;
7871
8038
  originalFilename: z.ZodString;
7872
8039
  type: z.ZodString;
@@ -7980,7 +8147,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7980
8147
  addressLine3?: string | null | undefined;
7981
8148
  postcodeOrZip?: string | null | undefined;
7982
8149
  }>]>>;
7983
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8150
+ 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<{
7984
8151
  filename: z.ZodString;
7985
8152
  originalFilename: z.ZodString;
7986
8153
  type: z.ZodString;
@@ -8094,8 +8261,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8094
8261
  addressLine3?: string | null | undefined;
8095
8262
  postcodeOrZip?: string | null | undefined;
8096
8263
  }>]>>>;
8097
- createdAtLocation: z.ZodOptional<z.ZodString>;
8098
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8099
8264
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8100
8265
  originalActionId: z.ZodOptional<z.ZodString>;
8101
8266
  }, {
@@ -8145,7 +8310,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8145
8310
  option: string;
8146
8311
  filename: string;
8147
8312
  originalFilename: string;
8148
- }[] | undefined>;
8313
+ }[] | [string, string] | undefined>;
8314
+ createdBySignature?: string | null | undefined;
8315
+ createdAtLocation?: string | null | undefined;
8149
8316
  annotation?: Record<string, string | number | boolean | {
8150
8317
  type: string;
8151
8318
  filename: string;
@@ -8183,9 +8350,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8183
8350
  option: string;
8184
8351
  filename: string;
8185
8352
  originalFilename: string;
8186
- }[] | undefined> | undefined;
8187
- createdAtLocation?: string | undefined;
8188
- updatedAtLocation?: string | undefined;
8353
+ }[] | [string, string] | undefined> | undefined;
8189
8354
  originalActionId?: string | undefined;
8190
8355
  }, {
8191
8356
  type: "CREATE";
@@ -8232,7 +8397,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8232
8397
  option: string;
8233
8398
  filename: string;
8234
8399
  originalFilename: string;
8235
- }[] | undefined>;
8400
+ }[] | [string, string] | undefined>;
8401
+ createdBySignature?: string | null | undefined;
8402
+ createdAtLocation?: string | null | undefined;
8236
8403
  annotation?: Record<string, string | number | boolean | {
8237
8404
  type: string;
8238
8405
  filename: string;
@@ -8270,9 +8437,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8270
8437
  option: string;
8271
8438
  filename: string;
8272
8439
  originalFilename: string;
8273
- }[] | undefined> | undefined;
8274
- createdAtLocation?: string | undefined;
8275
- updatedAtLocation?: string | undefined;
8440
+ }[] | [string, string] | undefined> | undefined;
8276
8441
  originalActionId?: string | undefined;
8277
8442
  }>, z.ZodObject<z.objectUtil.extendShape<{
8278
8443
  id: z.ZodString;
@@ -8280,7 +8445,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8280
8445
  createdAt: z.ZodString;
8281
8446
  createdBy: z.ZodString;
8282
8447
  createdByRole: z.ZodString;
8283
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8448
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8449
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8450
+ 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<{
8284
8451
  filename: z.ZodString;
8285
8452
  originalFilename: z.ZodString;
8286
8453
  type: z.ZodString;
@@ -8394,7 +8561,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8394
8561
  addressLine3?: string | null | undefined;
8395
8562
  postcodeOrZip?: string | null | undefined;
8396
8563
  }>]>>;
8397
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8564
+ 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<{
8398
8565
  filename: z.ZodString;
8399
8566
  originalFilename: z.ZodString;
8400
8567
  type: z.ZodString;
@@ -8508,8 +8675,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8508
8675
  addressLine3?: string | null | undefined;
8509
8676
  postcodeOrZip?: string | null | undefined;
8510
8677
  }>]>>>;
8511
- createdAtLocation: z.ZodOptional<z.ZodString>;
8512
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8513
8678
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8514
8679
  originalActionId: z.ZodOptional<z.ZodString>;
8515
8680
  }, {
@@ -8559,7 +8724,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8559
8724
  option: string;
8560
8725
  filename: string;
8561
8726
  originalFilename: string;
8562
- }[] | undefined>;
8727
+ }[] | [string, string] | undefined>;
8728
+ createdBySignature?: string | null | undefined;
8729
+ createdAtLocation?: string | null | undefined;
8563
8730
  annotation?: Record<string, string | number | boolean | {
8564
8731
  type: string;
8565
8732
  filename: string;
@@ -8597,9 +8764,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8597
8764
  option: string;
8598
8765
  filename: string;
8599
8766
  originalFilename: string;
8600
- }[] | undefined> | undefined;
8601
- createdAtLocation?: string | undefined;
8602
- updatedAtLocation?: string | undefined;
8767
+ }[] | [string, string] | undefined> | undefined;
8603
8768
  originalActionId?: string | undefined;
8604
8769
  }, {
8605
8770
  type: "VALIDATE";
@@ -8646,7 +8811,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8646
8811
  option: string;
8647
8812
  filename: string;
8648
8813
  originalFilename: string;
8649
- }[] | undefined>;
8814
+ }[] | [string, string] | undefined>;
8815
+ createdBySignature?: string | null | undefined;
8816
+ createdAtLocation?: string | null | undefined;
8650
8817
  annotation?: Record<string, string | number | boolean | {
8651
8818
  type: string;
8652
8819
  filename: string;
@@ -8684,9 +8851,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8684
8851
  option: string;
8685
8852
  filename: string;
8686
8853
  originalFilename: string;
8687
- }[] | undefined> | undefined;
8688
- createdAtLocation?: string | undefined;
8689
- updatedAtLocation?: string | undefined;
8854
+ }[] | [string, string] | undefined> | undefined;
8690
8855
  originalActionId?: string | undefined;
8691
8856
  }>, z.ZodObject<z.objectUtil.extendShape<{
8692
8857
  id: z.ZodString;
@@ -8694,7 +8859,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8694
8859
  createdAt: z.ZodString;
8695
8860
  createdBy: z.ZodString;
8696
8861
  createdByRole: z.ZodString;
8697
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8862
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8863
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8864
+ 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<{
8698
8865
  filename: z.ZodString;
8699
8866
  originalFilename: z.ZodString;
8700
8867
  type: z.ZodString;
@@ -8808,7 +8975,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8808
8975
  addressLine3?: string | null | undefined;
8809
8976
  postcodeOrZip?: string | null | undefined;
8810
8977
  }>]>>;
8811
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8978
+ 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<{
8812
8979
  filename: z.ZodString;
8813
8980
  originalFilename: z.ZodString;
8814
8981
  type: z.ZodString;
@@ -8922,16 +9089,28 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8922
9089
  addressLine3?: string | null | undefined;
8923
9090
  postcodeOrZip?: string | null | undefined;
8924
9091
  }>]>>>;
8925
- createdAtLocation: z.ZodOptional<z.ZodString>;
8926
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8927
9092
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8928
9093
  originalActionId: z.ZodOptional<z.ZodString>;
8929
9094
  }, {
8930
9095
  type: z.ZodLiteral<"REJECT">;
9096
+ reason: z.ZodObject<{
9097
+ message: z.ZodString;
9098
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9099
+ }, "strip", z.ZodTypeAny, {
9100
+ message: string;
9101
+ isDuplicate?: boolean | undefined;
9102
+ }, {
9103
+ message: string;
9104
+ isDuplicate?: boolean | undefined;
9105
+ }>;
8931
9106
  }>, "strip", z.ZodTypeAny, {
8932
9107
  type: "REJECT";
8933
9108
  id: string;
8934
9109
  status: "Rejected" | "Requested" | "Accepted";
9110
+ reason: {
9111
+ message: string;
9112
+ isDuplicate?: boolean | undefined;
9113
+ };
8935
9114
  transactionId: string;
8936
9115
  createdAt: string;
8937
9116
  createdBy: string;
@@ -8973,7 +9152,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8973
9152
  option: string;
8974
9153
  filename: string;
8975
9154
  originalFilename: string;
8976
- }[] | undefined>;
9155
+ }[] | [string, string] | undefined>;
9156
+ createdBySignature?: string | null | undefined;
9157
+ createdAtLocation?: string | null | undefined;
8977
9158
  annotation?: Record<string, string | number | boolean | {
8978
9159
  type: string;
8979
9160
  filename: string;
@@ -9011,14 +9192,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9011
9192
  option: string;
9012
9193
  filename: string;
9013
9194
  originalFilename: string;
9014
- }[] | undefined> | undefined;
9015
- createdAtLocation?: string | undefined;
9016
- updatedAtLocation?: string | undefined;
9195
+ }[] | [string, string] | undefined> | undefined;
9017
9196
  originalActionId?: string | undefined;
9018
9197
  }, {
9019
9198
  type: "REJECT";
9020
9199
  id: string;
9021
9200
  status: "Rejected" | "Requested" | "Accepted";
9201
+ reason: {
9202
+ message: string;
9203
+ isDuplicate?: boolean | undefined;
9204
+ };
9022
9205
  transactionId: string;
9023
9206
  createdAt: string;
9024
9207
  createdBy: string;
@@ -9060,7 +9243,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9060
9243
  option: string;
9061
9244
  filename: string;
9062
9245
  originalFilename: string;
9063
- }[] | undefined>;
9246
+ }[] | [string, string] | undefined>;
9247
+ createdBySignature?: string | null | undefined;
9248
+ createdAtLocation?: string | null | undefined;
9064
9249
  annotation?: Record<string, string | number | boolean | {
9065
9250
  type: string;
9066
9251
  filename: string;
@@ -9098,9 +9283,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9098
9283
  option: string;
9099
9284
  filename: string;
9100
9285
  originalFilename: string;
9101
- }[] | undefined> | undefined;
9102
- createdAtLocation?: string | undefined;
9103
- updatedAtLocation?: string | undefined;
9286
+ }[] | [string, string] | undefined> | undefined;
9104
9287
  originalActionId?: string | undefined;
9105
9288
  }>, z.ZodObject<z.objectUtil.extendShape<{
9106
9289
  id: z.ZodString;
@@ -9108,7 +9291,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9108
9291
  createdAt: z.ZodString;
9109
9292
  createdBy: z.ZodString;
9110
9293
  createdByRole: z.ZodString;
9111
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9294
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9295
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9296
+ 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<{
9112
9297
  filename: z.ZodString;
9113
9298
  originalFilename: z.ZodString;
9114
9299
  type: z.ZodString;
@@ -9222,7 +9407,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9222
9407
  addressLine3?: string | null | undefined;
9223
9408
  postcodeOrZip?: string | null | undefined;
9224
9409
  }>]>>;
9225
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9410
+ 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<{
9226
9411
  filename: z.ZodString;
9227
9412
  originalFilename: z.ZodString;
9228
9413
  type: z.ZodString;
@@ -9336,8 +9521,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9336
9521
  addressLine3?: string | null | undefined;
9337
9522
  postcodeOrZip?: string | null | undefined;
9338
9523
  }>]>>>;
9339
- createdAtLocation: z.ZodOptional<z.ZodString>;
9340
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9341
9524
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9342
9525
  originalActionId: z.ZodOptional<z.ZodString>;
9343
9526
  }, {
@@ -9387,7 +9570,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9387
9570
  option: string;
9388
9571
  filename: string;
9389
9572
  originalFilename: string;
9390
- }[] | undefined>;
9573
+ }[] | [string, string] | undefined>;
9574
+ createdBySignature?: string | null | undefined;
9575
+ createdAtLocation?: string | null | undefined;
9391
9576
  annotation?: Record<string, string | number | boolean | {
9392
9577
  type: string;
9393
9578
  filename: string;
@@ -9425,9 +9610,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9425
9610
  option: string;
9426
9611
  filename: string;
9427
9612
  originalFilename: string;
9428
- }[] | undefined> | undefined;
9429
- createdAtLocation?: string | undefined;
9430
- updatedAtLocation?: string | undefined;
9613
+ }[] | [string, string] | undefined> | undefined;
9431
9614
  originalActionId?: string | undefined;
9432
9615
  }, {
9433
9616
  type: "MARKED_AS_DUPLICATE";
@@ -9474,7 +9657,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9474
9657
  option: string;
9475
9658
  filename: string;
9476
9659
  originalFilename: string;
9477
- }[] | undefined>;
9660
+ }[] | [string, string] | undefined>;
9661
+ createdBySignature?: string | null | undefined;
9662
+ createdAtLocation?: string | null | undefined;
9478
9663
  annotation?: Record<string, string | number | boolean | {
9479
9664
  type: string;
9480
9665
  filename: string;
@@ -9512,9 +9697,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9512
9697
  option: string;
9513
9698
  filename: string;
9514
9699
  originalFilename: string;
9515
- }[] | undefined> | undefined;
9516
- createdAtLocation?: string | undefined;
9517
- updatedAtLocation?: string | undefined;
9700
+ }[] | [string, string] | undefined> | undefined;
9518
9701
  originalActionId?: string | undefined;
9519
9702
  }>, z.ZodObject<z.objectUtil.extendShape<{
9520
9703
  id: z.ZodString;
@@ -9522,7 +9705,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9522
9705
  createdAt: z.ZodString;
9523
9706
  createdBy: z.ZodString;
9524
9707
  createdByRole: z.ZodString;
9525
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9708
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9709
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9710
+ 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<{
9526
9711
  filename: z.ZodString;
9527
9712
  originalFilename: z.ZodString;
9528
9713
  type: z.ZodString;
@@ -9636,7 +9821,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9636
9821
  addressLine3?: string | null | undefined;
9637
9822
  postcodeOrZip?: string | null | undefined;
9638
9823
  }>]>>;
9639
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9824
+ 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<{
9640
9825
  filename: z.ZodString;
9641
9826
  originalFilename: z.ZodString;
9642
9827
  type: z.ZodString;
@@ -9750,16 +9935,28 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9750
9935
  addressLine3?: string | null | undefined;
9751
9936
  postcodeOrZip?: string | null | undefined;
9752
9937
  }>]>>>;
9753
- createdAtLocation: z.ZodOptional<z.ZodString>;
9754
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9755
9938
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9756
9939
  originalActionId: z.ZodOptional<z.ZodString>;
9757
9940
  }, {
9758
9941
  type: z.ZodLiteral<"ARCHIVE">;
9942
+ reason: z.ZodObject<{
9943
+ message: z.ZodString;
9944
+ isDuplicate: z.ZodOptional<z.ZodBoolean>;
9945
+ }, "strip", z.ZodTypeAny, {
9946
+ message: string;
9947
+ isDuplicate?: boolean | undefined;
9948
+ }, {
9949
+ message: string;
9950
+ isDuplicate?: boolean | undefined;
9951
+ }>;
9759
9952
  }>, "strip", z.ZodTypeAny, {
9760
9953
  type: "ARCHIVE";
9761
9954
  id: string;
9762
9955
  status: "Rejected" | "Requested" | "Accepted";
9956
+ reason: {
9957
+ message: string;
9958
+ isDuplicate?: boolean | undefined;
9959
+ };
9763
9960
  transactionId: string;
9764
9961
  createdAt: string;
9765
9962
  createdBy: string;
@@ -9801,7 +9998,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9801
9998
  option: string;
9802
9999
  filename: string;
9803
10000
  originalFilename: string;
9804
- }[] | undefined>;
10001
+ }[] | [string, string] | undefined>;
10002
+ createdBySignature?: string | null | undefined;
10003
+ createdAtLocation?: string | null | undefined;
9805
10004
  annotation?: Record<string, string | number | boolean | {
9806
10005
  type: string;
9807
10006
  filename: string;
@@ -9839,14 +10038,16 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9839
10038
  option: string;
9840
10039
  filename: string;
9841
10040
  originalFilename: string;
9842
- }[] | undefined> | undefined;
9843
- createdAtLocation?: string | undefined;
9844
- updatedAtLocation?: string | undefined;
10041
+ }[] | [string, string] | undefined> | undefined;
9845
10042
  originalActionId?: string | undefined;
9846
10043
  }, {
9847
10044
  type: "ARCHIVE";
9848
10045
  id: string;
9849
10046
  status: "Rejected" | "Requested" | "Accepted";
10047
+ reason: {
10048
+ message: string;
10049
+ isDuplicate?: boolean | undefined;
10050
+ };
9850
10051
  transactionId: string;
9851
10052
  createdAt: string;
9852
10053
  createdBy: string;
@@ -9888,7 +10089,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9888
10089
  option: string;
9889
10090
  filename: string;
9890
10091
  originalFilename: string;
9891
- }[] | undefined>;
10092
+ }[] | [string, string] | undefined>;
10093
+ createdBySignature?: string | null | undefined;
10094
+ createdAtLocation?: string | null | undefined;
9892
10095
  annotation?: Record<string, string | number | boolean | {
9893
10096
  type: string;
9894
10097
  filename: string;
@@ -9926,9 +10129,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9926
10129
  option: string;
9927
10130
  filename: string;
9928
10131
  originalFilename: string;
9929
- }[] | undefined> | undefined;
9930
- createdAtLocation?: string | undefined;
9931
- updatedAtLocation?: string | undefined;
10132
+ }[] | [string, string] | undefined> | undefined;
9932
10133
  originalActionId?: string | undefined;
9933
10134
  }>, z.ZodObject<z.objectUtil.extendShape<{
9934
10135
  id: z.ZodString;
@@ -9936,7 +10137,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9936
10137
  createdAt: z.ZodString;
9937
10138
  createdBy: z.ZodString;
9938
10139
  createdByRole: z.ZodString;
9939
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10140
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10141
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10142
+ 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<{
9940
10143
  filename: z.ZodString;
9941
10144
  originalFilename: z.ZodString;
9942
10145
  type: z.ZodString;
@@ -10050,7 +10253,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10050
10253
  addressLine3?: string | null | undefined;
10051
10254
  postcodeOrZip?: string | null | undefined;
10052
10255
  }>]>>;
10053
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10256
+ 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<{
10054
10257
  filename: z.ZodString;
10055
10258
  originalFilename: z.ZodString;
10056
10259
  type: z.ZodString;
@@ -10164,8 +10367,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10164
10367
  addressLine3?: string | null | undefined;
10165
10368
  postcodeOrZip?: string | null | undefined;
10166
10369
  }>]>>>;
10167
- createdAtLocation: z.ZodOptional<z.ZodString>;
10168
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10169
10370
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10170
10371
  originalActionId: z.ZodOptional<z.ZodString>;
10171
10372
  }, {
@@ -10215,7 +10416,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10215
10416
  option: string;
10216
10417
  filename: string;
10217
10418
  originalFilename: string;
10218
- }[] | undefined>;
10419
+ }[] | [string, string] | undefined>;
10420
+ createdBySignature?: string | null | undefined;
10421
+ createdAtLocation?: string | null | undefined;
10219
10422
  annotation?: Record<string, string | number | boolean | {
10220
10423
  type: string;
10221
10424
  filename: string;
@@ -10253,9 +10456,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10253
10456
  option: string;
10254
10457
  filename: string;
10255
10458
  originalFilename: string;
10256
- }[] | undefined> | undefined;
10257
- createdAtLocation?: string | undefined;
10258
- updatedAtLocation?: string | undefined;
10459
+ }[] | [string, string] | undefined> | undefined;
10259
10460
  originalActionId?: string | undefined;
10260
10461
  }, {
10261
10462
  type: "NOTIFY";
@@ -10302,7 +10503,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10302
10503
  option: string;
10303
10504
  filename: string;
10304
10505
  originalFilename: string;
10305
- }[] | undefined>;
10506
+ }[] | [string, string] | undefined>;
10507
+ createdBySignature?: string | null | undefined;
10508
+ createdAtLocation?: string | null | undefined;
10306
10509
  annotation?: Record<string, string | number | boolean | {
10307
10510
  type: string;
10308
10511
  filename: string;
@@ -10340,9 +10543,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10340
10543
  option: string;
10341
10544
  filename: string;
10342
10545
  originalFilename: string;
10343
- }[] | undefined> | undefined;
10344
- createdAtLocation?: string | undefined;
10345
- updatedAtLocation?: string | undefined;
10546
+ }[] | [string, string] | undefined> | undefined;
10346
10547
  originalActionId?: string | undefined;
10347
10548
  }>, z.ZodObject<z.objectUtil.extendShape<{
10348
10549
  id: z.ZodString;
@@ -10350,7 +10551,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10350
10551
  createdAt: z.ZodString;
10351
10552
  createdBy: z.ZodString;
10352
10553
  createdByRole: z.ZodString;
10353
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10554
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10555
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10556
+ 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<{
10354
10557
  filename: z.ZodString;
10355
10558
  originalFilename: z.ZodString;
10356
10559
  type: z.ZodString;
@@ -10464,7 +10667,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10464
10667
  addressLine3?: string | null | undefined;
10465
10668
  postcodeOrZip?: string | null | undefined;
10466
10669
  }>]>>;
10467
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10670
+ 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<{
10468
10671
  filename: z.ZodString;
10469
10672
  originalFilename: z.ZodString;
10470
10673
  type: z.ZodString;
@@ -10578,8 +10781,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10578
10781
  addressLine3?: string | null | undefined;
10579
10782
  postcodeOrZip?: string | null | undefined;
10580
10783
  }>]>>>;
10581
- createdAtLocation: z.ZodOptional<z.ZodString>;
10582
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10583
10784
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10584
10785
  originalActionId: z.ZodOptional<z.ZodString>;
10585
10786
  }, {
@@ -10630,7 +10831,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10630
10831
  option: string;
10631
10832
  filename: string;
10632
10833
  originalFilename: string;
10633
- }[] | undefined>;
10834
+ }[] | [string, string] | undefined>;
10835
+ createdBySignature?: string | null | undefined;
10836
+ createdAtLocation?: string | null | undefined;
10634
10837
  annotation?: Record<string, string | number | boolean | {
10635
10838
  type: string;
10636
10839
  filename: string;
@@ -10668,9 +10871,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10668
10871
  option: string;
10669
10872
  filename: string;
10670
10873
  originalFilename: string;
10671
- }[] | undefined> | undefined;
10672
- createdAtLocation?: string | undefined;
10673
- updatedAtLocation?: string | undefined;
10874
+ }[] | [string, string] | undefined> | undefined;
10674
10875
  originalActionId?: string | undefined;
10675
10876
  registrationNumber?: string | undefined;
10676
10877
  }, {
@@ -10718,7 +10919,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10718
10919
  option: string;
10719
10920
  filename: string;
10720
10921
  originalFilename: string;
10721
- }[] | undefined>;
10922
+ }[] | [string, string] | undefined>;
10923
+ createdBySignature?: string | null | undefined;
10924
+ createdAtLocation?: string | null | undefined;
10722
10925
  annotation?: Record<string, string | number | boolean | {
10723
10926
  type: string;
10724
10927
  filename: string;
@@ -10756,9 +10959,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10756
10959
  option: string;
10757
10960
  filename: string;
10758
10961
  originalFilename: string;
10759
- }[] | undefined> | undefined;
10760
- createdAtLocation?: string | undefined;
10761
- updatedAtLocation?: string | undefined;
10962
+ }[] | [string, string] | undefined> | undefined;
10762
10963
  originalActionId?: string | undefined;
10763
10964
  registrationNumber?: string | undefined;
10764
10965
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10767,7 +10968,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10767
10968
  createdAt: z.ZodString;
10768
10969
  createdBy: z.ZodString;
10769
10970
  createdByRole: z.ZodString;
10770
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10971
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10972
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10973
+ 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<{
10771
10974
  filename: z.ZodString;
10772
10975
  originalFilename: z.ZodString;
10773
10976
  type: z.ZodString;
@@ -10881,7 +11084,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10881
11084
  addressLine3?: string | null | undefined;
10882
11085
  postcodeOrZip?: string | null | undefined;
10883
11086
  }>]>>;
10884
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11087
+ 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<{
10885
11088
  filename: z.ZodString;
10886
11089
  originalFilename: z.ZodString;
10887
11090
  type: z.ZodString;
@@ -10995,8 +11198,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10995
11198
  addressLine3?: string | null | undefined;
10996
11199
  postcodeOrZip?: string | null | undefined;
10997
11200
  }>]>>>;
10998
- createdAtLocation: z.ZodOptional<z.ZodString>;
10999
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11000
11201
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11001
11202
  originalActionId: z.ZodOptional<z.ZodString>;
11002
11203
  }, {
@@ -11046,7 +11247,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11046
11247
  option: string;
11047
11248
  filename: string;
11048
11249
  originalFilename: string;
11049
- }[] | undefined>;
11250
+ }[] | [string, string] | undefined>;
11251
+ createdBySignature?: string | null | undefined;
11252
+ createdAtLocation?: string | null | undefined;
11050
11253
  annotation?: Record<string, string | number | boolean | {
11051
11254
  type: string;
11052
11255
  filename: string;
@@ -11084,9 +11287,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11084
11287
  option: string;
11085
11288
  filename: string;
11086
11289
  originalFilename: string;
11087
- }[] | undefined> | undefined;
11088
- createdAtLocation?: string | undefined;
11089
- updatedAtLocation?: string | undefined;
11290
+ }[] | [string, string] | undefined> | undefined;
11090
11291
  originalActionId?: string | undefined;
11091
11292
  }, {
11092
11293
  type: "DECLARE";
@@ -11133,7 +11334,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11133
11334
  option: string;
11134
11335
  filename: string;
11135
11336
  originalFilename: string;
11136
- }[] | undefined>;
11337
+ }[] | [string, string] | undefined>;
11338
+ createdBySignature?: string | null | undefined;
11339
+ createdAtLocation?: string | null | undefined;
11137
11340
  annotation?: Record<string, string | number | boolean | {
11138
11341
  type: string;
11139
11342
  filename: string;
@@ -11171,9 +11374,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11171
11374
  option: string;
11172
11375
  filename: string;
11173
11376
  originalFilename: string;
11174
- }[] | undefined> | undefined;
11175
- createdAtLocation?: string | undefined;
11176
- updatedAtLocation?: string | undefined;
11377
+ }[] | [string, string] | undefined> | undefined;
11177
11378
  originalActionId?: string | undefined;
11178
11379
  }>, z.ZodObject<z.objectUtil.extendShape<{
11179
11380
  id: z.ZodString;
@@ -11181,7 +11382,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11181
11382
  createdAt: z.ZodString;
11182
11383
  createdBy: z.ZodString;
11183
11384
  createdByRole: z.ZodString;
11184
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11385
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11386
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11387
+ 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<{
11185
11388
  filename: z.ZodString;
11186
11389
  originalFilename: z.ZodString;
11187
11390
  type: z.ZodString;
@@ -11295,7 +11498,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11295
11498
  addressLine3?: string | null | undefined;
11296
11499
  postcodeOrZip?: string | null | undefined;
11297
11500
  }>]>>;
11298
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11501
+ 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<{
11299
11502
  filename: z.ZodString;
11300
11503
  originalFilename: z.ZodString;
11301
11504
  type: z.ZodString;
@@ -11409,8 +11612,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11409
11612
  addressLine3?: string | null | undefined;
11410
11613
  postcodeOrZip?: string | null | undefined;
11411
11614
  }>]>>>;
11412
- createdAtLocation: z.ZodOptional<z.ZodString>;
11413
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11414
11615
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11415
11616
  originalActionId: z.ZodOptional<z.ZodString>;
11416
11617
  }, {
@@ -11461,8 +11662,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11461
11662
  option: string;
11462
11663
  filename: string;
11463
11664
  originalFilename: string;
11464
- }[] | undefined>;
11665
+ }[] | [string, string] | undefined>;
11465
11666
  assignedTo: string;
11667
+ createdBySignature?: string | null | undefined;
11668
+ createdAtLocation?: string | null | undefined;
11466
11669
  annotation?: Record<string, string | number | boolean | {
11467
11670
  type: string;
11468
11671
  filename: string;
@@ -11500,9 +11703,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11500
11703
  option: string;
11501
11704
  filename: string;
11502
11705
  originalFilename: string;
11503
- }[] | undefined> | undefined;
11504
- createdAtLocation?: string | undefined;
11505
- updatedAtLocation?: string | undefined;
11706
+ }[] | [string, string] | undefined> | undefined;
11506
11707
  originalActionId?: string | undefined;
11507
11708
  }, {
11508
11709
  type: "ASSIGN";
@@ -11549,8 +11750,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11549
11750
  option: string;
11550
11751
  filename: string;
11551
11752
  originalFilename: string;
11552
- }[] | undefined>;
11753
+ }[] | [string, string] | undefined>;
11553
11754
  assignedTo: string;
11755
+ createdBySignature?: string | null | undefined;
11756
+ createdAtLocation?: string | null | undefined;
11554
11757
  annotation?: Record<string, string | number | boolean | {
11555
11758
  type: string;
11556
11759
  filename: string;
@@ -11588,9 +11791,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11588
11791
  option: string;
11589
11792
  filename: string;
11590
11793
  originalFilename: string;
11591
- }[] | undefined> | undefined;
11592
- createdAtLocation?: string | undefined;
11593
- updatedAtLocation?: string | undefined;
11794
+ }[] | [string, string] | undefined> | undefined;
11594
11795
  originalActionId?: string | undefined;
11595
11796
  }>, z.ZodObject<z.objectUtil.extendShape<{
11596
11797
  id: z.ZodString;
@@ -11598,7 +11799,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11598
11799
  createdAt: z.ZodString;
11599
11800
  createdBy: z.ZodString;
11600
11801
  createdByRole: z.ZodString;
11601
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11802
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11803
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11804
+ 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<{
11602
11805
  filename: z.ZodString;
11603
11806
  originalFilename: z.ZodString;
11604
11807
  type: z.ZodString;
@@ -11712,7 +11915,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11712
11915
  addressLine3?: string | null | undefined;
11713
11916
  postcodeOrZip?: string | null | undefined;
11714
11917
  }>]>>;
11715
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11918
+ 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<{
11716
11919
  filename: z.ZodString;
11717
11920
  originalFilename: z.ZodString;
11718
11921
  type: z.ZodString;
@@ -11826,8 +12029,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11826
12029
  addressLine3?: string | null | undefined;
11827
12030
  postcodeOrZip?: string | null | undefined;
11828
12031
  }>]>>>;
11829
- createdAtLocation: z.ZodOptional<z.ZodString>;
11830
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11831
12032
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11832
12033
  originalActionId: z.ZodOptional<z.ZodString>;
11833
12034
  }, {
@@ -11877,7 +12078,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11877
12078
  option: string;
11878
12079
  filename: string;
11879
12080
  originalFilename: string;
11880
- }[] | undefined>;
12081
+ }[] | [string, string] | undefined>;
12082
+ createdBySignature?: string | null | undefined;
12083
+ createdAtLocation?: string | null | undefined;
11881
12084
  annotation?: Record<string, string | number | boolean | {
11882
12085
  type: string;
11883
12086
  filename: string;
@@ -11915,9 +12118,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11915
12118
  option: string;
11916
12119
  filename: string;
11917
12120
  originalFilename: string;
11918
- }[] | undefined> | undefined;
11919
- createdAtLocation?: string | undefined;
11920
- updatedAtLocation?: string | undefined;
12121
+ }[] | [string, string] | undefined> | undefined;
11921
12122
  originalActionId?: string | undefined;
11922
12123
  }, {
11923
12124
  type: "REQUEST_CORRECTION";
@@ -11964,7 +12165,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11964
12165
  option: string;
11965
12166
  filename: string;
11966
12167
  originalFilename: string;
11967
- }[] | undefined>;
12168
+ }[] | [string, string] | undefined>;
12169
+ createdBySignature?: string | null | undefined;
12170
+ createdAtLocation?: string | null | undefined;
11968
12171
  annotation?: Record<string, string | number | boolean | {
11969
12172
  type: string;
11970
12173
  filename: string;
@@ -12002,9 +12205,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12002
12205
  option: string;
12003
12206
  filename: string;
12004
12207
  originalFilename: string;
12005
- }[] | undefined> | undefined;
12006
- createdAtLocation?: string | undefined;
12007
- updatedAtLocation?: string | undefined;
12208
+ }[] | [string, string] | undefined> | undefined;
12008
12209
  originalActionId?: string | undefined;
12009
12210
  }>, z.ZodObject<z.objectUtil.extendShape<{
12010
12211
  id: z.ZodString;
@@ -12012,7 +12213,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12012
12213
  createdAt: z.ZodString;
12013
12214
  createdBy: z.ZodString;
12014
12215
  createdByRole: z.ZodString;
12015
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12216
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12217
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12218
+ 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<{
12016
12219
  filename: z.ZodString;
12017
12220
  originalFilename: z.ZodString;
12018
12221
  type: z.ZodString;
@@ -12126,7 +12329,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12126
12329
  addressLine3?: string | null | undefined;
12127
12330
  postcodeOrZip?: string | null | undefined;
12128
12331
  }>]>>;
12129
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12332
+ 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<{
12130
12333
  filename: z.ZodString;
12131
12334
  originalFilename: z.ZodString;
12132
12335
  type: z.ZodString;
@@ -12240,8 +12443,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12240
12443
  addressLine3?: string | null | undefined;
12241
12444
  postcodeOrZip?: string | null | undefined;
12242
12445
  }>]>>>;
12243
- createdAtLocation: z.ZodOptional<z.ZodString>;
12244
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12245
12446
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12246
12447
  originalActionId: z.ZodOptional<z.ZodString>;
12247
12448
  }, {
@@ -12292,8 +12493,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12292
12493
  option: string;
12293
12494
  filename: string;
12294
12495
  originalFilename: string;
12295
- }[] | undefined>;
12496
+ }[] | [string, string] | undefined>;
12296
12497
  requestId: string;
12498
+ createdBySignature?: string | null | undefined;
12499
+ createdAtLocation?: string | null | undefined;
12297
12500
  annotation?: Record<string, string | number | boolean | {
12298
12501
  type: string;
12299
12502
  filename: string;
@@ -12331,9 +12534,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12331
12534
  option: string;
12332
12535
  filename: string;
12333
12536
  originalFilename: string;
12334
- }[] | undefined> | undefined;
12335
- createdAtLocation?: string | undefined;
12336
- updatedAtLocation?: string | undefined;
12537
+ }[] | [string, string] | undefined> | undefined;
12337
12538
  originalActionId?: string | undefined;
12338
12539
  }, {
12339
12540
  type: "APPROVE_CORRECTION";
@@ -12380,8 +12581,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12380
12581
  option: string;
12381
12582
  filename: string;
12382
12583
  originalFilename: string;
12383
- }[] | undefined>;
12584
+ }[] | [string, string] | undefined>;
12384
12585
  requestId: string;
12586
+ createdBySignature?: string | null | undefined;
12587
+ createdAtLocation?: string | null | undefined;
12385
12588
  annotation?: Record<string, string | number | boolean | {
12386
12589
  type: string;
12387
12590
  filename: string;
@@ -12419,9 +12622,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12419
12622
  option: string;
12420
12623
  filename: string;
12421
12624
  originalFilename: string;
12422
- }[] | undefined> | undefined;
12423
- createdAtLocation?: string | undefined;
12424
- updatedAtLocation?: string | undefined;
12625
+ }[] | [string, string] | undefined> | undefined;
12425
12626
  originalActionId?: string | undefined;
12426
12627
  }>, z.ZodObject<z.objectUtil.extendShape<{
12427
12628
  id: z.ZodString;
@@ -12429,7 +12630,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12429
12630
  createdAt: z.ZodString;
12430
12631
  createdBy: z.ZodString;
12431
12632
  createdByRole: z.ZodString;
12432
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12633
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12634
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12635
+ 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<{
12433
12636
  filename: z.ZodString;
12434
12637
  originalFilename: z.ZodString;
12435
12638
  type: z.ZodString;
@@ -12543,7 +12746,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12543
12746
  addressLine3?: string | null | undefined;
12544
12747
  postcodeOrZip?: string | null | undefined;
12545
12748
  }>]>>;
12546
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12749
+ 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<{
12547
12750
  filename: z.ZodString;
12548
12751
  originalFilename: z.ZodString;
12549
12752
  type: z.ZodString;
@@ -12657,8 +12860,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12657
12860
  addressLine3?: string | null | undefined;
12658
12861
  postcodeOrZip?: string | null | undefined;
12659
12862
  }>]>>>;
12660
- createdAtLocation: z.ZodOptional<z.ZodString>;
12661
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12662
12863
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12663
12864
  originalActionId: z.ZodOptional<z.ZodString>;
12664
12865
  }, {
@@ -12709,8 +12910,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12709
12910
  option: string;
12710
12911
  filename: string;
12711
12912
  originalFilename: string;
12712
- }[] | undefined>;
12913
+ }[] | [string, string] | undefined>;
12713
12914
  requestId: string;
12915
+ createdBySignature?: string | null | undefined;
12916
+ createdAtLocation?: string | null | undefined;
12714
12917
  annotation?: Record<string, string | number | boolean | {
12715
12918
  type: string;
12716
12919
  filename: string;
@@ -12748,9 +12951,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12748
12951
  option: string;
12749
12952
  filename: string;
12750
12953
  originalFilename: string;
12751
- }[] | undefined> | undefined;
12752
- createdAtLocation?: string | undefined;
12753
- updatedAtLocation?: string | undefined;
12954
+ }[] | [string, string] | undefined> | undefined;
12754
12955
  originalActionId?: string | undefined;
12755
12956
  }, {
12756
12957
  type: "REJECT_CORRECTION";
@@ -12797,8 +12998,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12797
12998
  option: string;
12798
12999
  filename: string;
12799
13000
  originalFilename: string;
12800
- }[] | undefined>;
13001
+ }[] | [string, string] | undefined>;
12801
13002
  requestId: string;
13003
+ createdBySignature?: string | null | undefined;
13004
+ createdAtLocation?: string | null | undefined;
12802
13005
  annotation?: Record<string, string | number | boolean | {
12803
13006
  type: string;
12804
13007
  filename: string;
@@ -12836,9 +13039,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12836
13039
  option: string;
12837
13040
  filename: string;
12838
13041
  originalFilename: string;
12839
- }[] | undefined> | undefined;
12840
- createdAtLocation?: string | undefined;
12841
- updatedAtLocation?: string | undefined;
13042
+ }[] | [string, string] | undefined> | undefined;
12842
13043
  originalActionId?: string | undefined;
12843
13044
  }>, z.ZodObject<z.objectUtil.extendShape<{
12844
13045
  id: z.ZodString;
@@ -12846,7 +13047,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12846
13047
  createdAt: z.ZodString;
12847
13048
  createdBy: z.ZodString;
12848
13049
  createdByRole: z.ZodString;
12849
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13050
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13051
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13052
+ 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<{
12850
13053
  filename: z.ZodString;
12851
13054
  originalFilename: z.ZodString;
12852
13055
  type: z.ZodString;
@@ -12960,7 +13163,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12960
13163
  addressLine3?: string | null | undefined;
12961
13164
  postcodeOrZip?: string | null | undefined;
12962
13165
  }>]>>;
12963
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13166
+ 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<{
12964
13167
  filename: z.ZodString;
12965
13168
  originalFilename: z.ZodString;
12966
13169
  type: z.ZodString;
@@ -13074,8 +13277,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13074
13277
  addressLine3?: string | null | undefined;
13075
13278
  postcodeOrZip?: string | null | undefined;
13076
13279
  }>]>>>;
13077
- createdAtLocation: z.ZodOptional<z.ZodString>;
13078
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13079
13280
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13080
13281
  originalActionId: z.ZodOptional<z.ZodString>;
13081
13282
  }, {
@@ -13126,8 +13327,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13126
13327
  option: string;
13127
13328
  filename: string;
13128
13329
  originalFilename: string;
13129
- }[] | undefined>;
13330
+ }[] | [string, string] | undefined>;
13130
13331
  assignedTo: null;
13332
+ createdBySignature?: string | null | undefined;
13333
+ createdAtLocation?: string | null | undefined;
13131
13334
  annotation?: Record<string, string | number | boolean | {
13132
13335
  type: string;
13133
13336
  filename: string;
@@ -13165,9 +13368,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13165
13368
  option: string;
13166
13369
  filename: string;
13167
13370
  originalFilename: string;
13168
- }[] | undefined> | undefined;
13169
- createdAtLocation?: string | undefined;
13170
- updatedAtLocation?: string | undefined;
13371
+ }[] | [string, string] | undefined> | undefined;
13171
13372
  originalActionId?: string | undefined;
13172
13373
  }, {
13173
13374
  type: "UNASSIGN";
@@ -13214,8 +13415,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13214
13415
  option: string;
13215
13416
  filename: string;
13216
13417
  originalFilename: string;
13217
- }[] | undefined>;
13418
+ }[] | [string, string] | undefined>;
13218
13419
  assignedTo: null;
13420
+ createdBySignature?: string | null | undefined;
13421
+ createdAtLocation?: string | null | undefined;
13219
13422
  annotation?: Record<string, string | number | boolean | {
13220
13423
  type: string;
13221
13424
  filename: string;
@@ -13253,9 +13456,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13253
13456
  option: string;
13254
13457
  filename: string;
13255
13458
  originalFilename: string;
13256
- }[] | undefined> | undefined;
13257
- createdAtLocation?: string | undefined;
13258
- updatedAtLocation?: string | undefined;
13459
+ }[] | [string, string] | undefined> | undefined;
13259
13460
  originalActionId?: string | undefined;
13260
13461
  }>, z.ZodObject<z.objectUtil.extendShape<{
13261
13462
  id: z.ZodString;
@@ -13263,7 +13464,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13263
13464
  createdAt: z.ZodString;
13264
13465
  createdBy: z.ZodString;
13265
13466
  createdByRole: z.ZodString;
13266
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13467
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13468
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13469
+ 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<{
13267
13470
  filename: z.ZodString;
13268
13471
  originalFilename: z.ZodString;
13269
13472
  type: z.ZodString;
@@ -13377,7 +13580,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13377
13580
  addressLine3?: string | null | undefined;
13378
13581
  postcodeOrZip?: string | null | undefined;
13379
13582
  }>]>>;
13380
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13583
+ 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<{
13381
13584
  filename: z.ZodString;
13382
13585
  originalFilename: z.ZodString;
13383
13586
  type: z.ZodString;
@@ -13491,8 +13694,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13491
13694
  addressLine3?: string | null | undefined;
13492
13695
  postcodeOrZip?: string | null | undefined;
13493
13696
  }>]>>>;
13494
- createdAtLocation: z.ZodOptional<z.ZodString>;
13495
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13496
13697
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13497
13698
  originalActionId: z.ZodOptional<z.ZodString>;
13498
13699
  }, {
@@ -13542,7 +13743,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13542
13743
  option: string;
13543
13744
  filename: string;
13544
13745
  originalFilename: string;
13545
- }[] | undefined>;
13746
+ }[] | [string, string] | undefined>;
13747
+ createdBySignature?: string | null | undefined;
13748
+ createdAtLocation?: string | null | undefined;
13546
13749
  annotation?: Record<string, string | number | boolean | {
13547
13750
  type: string;
13548
13751
  filename: string;
@@ -13580,9 +13783,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13580
13783
  option: string;
13581
13784
  filename: string;
13582
13785
  originalFilename: string;
13583
- }[] | undefined> | undefined;
13584
- createdAtLocation?: string | undefined;
13585
- updatedAtLocation?: string | undefined;
13786
+ }[] | [string, string] | undefined> | undefined;
13586
13787
  originalActionId?: string | undefined;
13587
13788
  }, {
13588
13789
  type: "PRINT_CERTIFICATE";
@@ -13629,7 +13830,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13629
13830
  option: string;
13630
13831
  filename: string;
13631
13832
  originalFilename: string;
13632
- }[] | undefined>;
13833
+ }[] | [string, string] | undefined>;
13834
+ createdBySignature?: string | null | undefined;
13835
+ createdAtLocation?: string | null | undefined;
13633
13836
  annotation?: Record<string, string | number | boolean | {
13634
13837
  type: string;
13635
13838
  filename: string;
@@ -13667,9 +13870,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13667
13870
  option: string;
13668
13871
  filename: string;
13669
13872
  originalFilename: string;
13670
- }[] | undefined> | undefined;
13671
- createdAtLocation?: string | undefined;
13672
- updatedAtLocation?: string | undefined;
13873
+ }[] | [string, string] | undefined> | undefined;
13673
13874
  originalActionId?: string | undefined;
13674
13875
  }>, z.ZodObject<z.objectUtil.extendShape<{
13675
13876
  id: z.ZodString;
@@ -13677,7 +13878,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13677
13878
  createdAt: z.ZodString;
13678
13879
  createdBy: z.ZodString;
13679
13880
  createdByRole: z.ZodString;
13680
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13881
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13882
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13883
+ 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<{
13681
13884
  filename: z.ZodString;
13682
13885
  originalFilename: z.ZodString;
13683
13886
  type: z.ZodString;
@@ -13791,7 +13994,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13791
13994
  addressLine3?: string | null | undefined;
13792
13995
  postcodeOrZip?: string | null | undefined;
13793
13996
  }>]>>;
13794
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13997
+ 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<{
13795
13998
  filename: z.ZodString;
13796
13999
  originalFilename: z.ZodString;
13797
14000
  type: z.ZodString;
@@ -13905,8 +14108,6 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13905
14108
  addressLine3?: string | null | undefined;
13906
14109
  postcodeOrZip?: string | null | undefined;
13907
14110
  }>]>>>;
13908
- createdAtLocation: z.ZodOptional<z.ZodString>;
13909
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13910
14111
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13911
14112
  originalActionId: z.ZodOptional<z.ZodString>;
13912
14113
  }, {
@@ -13956,7 +14157,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13956
14157
  option: string;
13957
14158
  filename: string;
13958
14159
  originalFilename: string;
13959
- }[] | undefined>;
14160
+ }[] | [string, string] | undefined>;
14161
+ createdBySignature?: string | null | undefined;
14162
+ createdAtLocation?: string | null | undefined;
13960
14163
  annotation?: Record<string, string | number | boolean | {
13961
14164
  type: string;
13962
14165
  filename: string;
@@ -13994,9 +14197,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13994
14197
  option: string;
13995
14198
  filename: string;
13996
14199
  originalFilename: string;
13997
- }[] | undefined> | undefined;
13998
- createdAtLocation?: string | undefined;
13999
- updatedAtLocation?: string | undefined;
14200
+ }[] | [string, string] | undefined> | undefined;
14000
14201
  originalActionId?: string | undefined;
14001
14202
  }, {
14002
14203
  type: "READ";
@@ -14043,7 +14244,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14043
14244
  option: string;
14044
14245
  filename: string;
14045
14246
  originalFilename: string;
14046
- }[] | undefined>;
14247
+ }[] | [string, string] | undefined>;
14248
+ createdBySignature?: string | null | undefined;
14249
+ createdAtLocation?: string | null | undefined;
14047
14250
  annotation?: Record<string, string | number | boolean | {
14048
14251
  type: string;
14049
14252
  filename: string;
@@ -14081,9 +14284,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14081
14284
  option: string;
14082
14285
  filename: string;
14083
14286
  originalFilename: string;
14084
- }[] | undefined> | undefined;
14085
- createdAtLocation?: string | undefined;
14086
- updatedAtLocation?: string | undefined;
14287
+ }[] | [string, string] | undefined> | undefined;
14087
14288
  originalActionId?: string | undefined;
14088
14289
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14089
14290
  id: z.ZodString;
@@ -14091,7 +14292,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14091
14292
  createdAt: z.ZodString;
14092
14293
  createdBy: z.ZodString;
14093
14294
  createdByRole: z.ZodString;
14094
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14295
+ createdBySignature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14296
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14297
+ 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<{
14095
14298
  filename: z.ZodString;
14096
14299
  originalFilename: z.ZodString;
14097
14300
  type: z.ZodString;
@@ -14205,7 +14408,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14205
14408
  addressLine3?: string | null | undefined;
14206
14409
  postcodeOrZip?: string | null | undefined;
14207
14410
  }>]>>;
14208
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14411
+ 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<{
14209
14412
  filename: z.ZodString;
14210
14413
  originalFilename: z.ZodString;
14211
14414
  type: z.ZodString;
@@ -14319,11 +14522,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14319
14522
  addressLine3?: string | null | undefined;
14320
14523
  postcodeOrZip?: string | null | undefined;
14321
14524
  }>]>>>;
14322
- createdAtLocation: z.ZodOptional<z.ZodString>;
14323
- updatedAtLocation: z.ZodOptional<z.ZodString>;
14324
14525
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14325
14526
  originalActionId: z.ZodOptional<z.ZodString>;
14326
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
14527
+ }, "declaration" | "annotation">, {
14327
14528
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14328
14529
  status: z.ZodLiteral<"Rejected">;
14329
14530
  }>, "strip", z.ZodTypeAny, {
@@ -14332,7 +14533,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14332
14533
  status: "Rejected";
14333
14534
  transactionId: string;
14334
14535
  createdAt: string;
14335
- updatedAtLocation?: string | undefined;
14536
+ createdBy: string;
14537
+ createdByRole: string;
14538
+ createdBySignature?: string | null | undefined;
14539
+ createdAtLocation?: string | null | undefined;
14336
14540
  originalActionId?: string | undefined;
14337
14541
  }, {
14338
14542
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -14340,7 +14544,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14340
14544
  status: "Rejected";
14341
14545
  transactionId: string;
14342
14546
  createdAt: string;
14343
- updatedAtLocation?: string | undefined;
14547
+ createdBy: string;
14548
+ createdByRole: string;
14549
+ createdBySignature?: string | null | undefined;
14550
+ createdAtLocation?: string | null | undefined;
14344
14551
  originalActionId?: string | undefined;
14345
14552
  }>]>;
14346
14553
  export type Action = ActionDocument | AsyncRejectActionDocument;