@opencrvs/toolkit 1.8.0-rc.feef45c → 1.8.0-rc.ff0a1b5

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.
@@ -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,7 @@ 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
+ 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
251
  filename: z.ZodString;
139
252
  originalFilename: z.ZodString;
140
253
  type: z.ZodString;
@@ -248,7 +361,7 @@ export declare const ActionBase: z.ZodObject<{
248
361
  addressLine3?: string | null | undefined;
249
362
  postcodeOrZip?: string | null | undefined;
250
363
  }>]>>;
251
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
364
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
252
365
  filename: z.ZodString;
253
366
  originalFilename: z.ZodString;
254
367
  type: z.ZodString;
@@ -362,8 +475,7 @@ export declare const ActionBase: z.ZodObject<{
362
475
  addressLine3?: string | null | undefined;
363
476
  postcodeOrZip?: string | null | undefined;
364
477
  }>]>>>;
365
- createdAtLocation: z.ZodOptional<z.ZodString>;
366
- updatedAtLocation: z.ZodOptional<z.ZodString>;
478
+ createdAtLocation: z.ZodString;
367
479
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
368
480
  originalActionId: z.ZodOptional<z.ZodString>;
369
481
  }, "strip", z.ZodTypeAny, {
@@ -410,7 +522,8 @@ export declare const ActionBase: z.ZodObject<{
410
522
  option: string;
411
523
  filename: string;
412
524
  originalFilename: string;
413
- }[] | undefined>;
525
+ }[] | [string, string] | undefined>;
526
+ createdAtLocation: string;
414
527
  annotation?: Record<string, string | number | boolean | {
415
528
  type: string;
416
529
  filename: string;
@@ -448,9 +561,7 @@ export declare const ActionBase: z.ZodObject<{
448
561
  option: string;
449
562
  filename: string;
450
563
  originalFilename: string;
451
- }[] | undefined> | undefined;
452
- createdAtLocation?: string | undefined;
453
- updatedAtLocation?: string | undefined;
564
+ }[] | [string, string] | undefined> | undefined;
454
565
  originalActionId?: string | undefined;
455
566
  }, {
456
567
  id: string;
@@ -496,7 +607,8 @@ export declare const ActionBase: z.ZodObject<{
496
607
  option: string;
497
608
  filename: string;
498
609
  originalFilename: string;
499
- }[] | undefined>;
610
+ }[] | [string, string] | undefined>;
611
+ createdAtLocation: string;
500
612
  annotation?: Record<string, string | number | boolean | {
501
613
  type: string;
502
614
  filename: string;
@@ -534,9 +646,7 @@ export declare const ActionBase: z.ZodObject<{
534
646
  option: string;
535
647
  filename: string;
536
648
  originalFilename: string;
537
- }[] | undefined> | undefined;
538
- createdAtLocation?: string | undefined;
539
- updatedAtLocation?: string | undefined;
649
+ }[] | [string, string] | undefined> | undefined;
540
650
  originalActionId?: string | undefined;
541
651
  }>;
542
652
  export type ActionBase = z.infer<typeof ActionBase>;
@@ -546,7 +656,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
546
656
  createdAt: z.ZodString;
547
657
  createdBy: z.ZodString;
548
658
  createdByRole: z.ZodString;
549
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
659
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
550
660
  filename: z.ZodString;
551
661
  originalFilename: z.ZodString;
552
662
  type: z.ZodString;
@@ -660,7 +770,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
660
770
  addressLine3?: string | null | undefined;
661
771
  postcodeOrZip?: string | null | undefined;
662
772
  }>]>>;
663
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
773
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
664
774
  filename: z.ZodString;
665
775
  originalFilename: z.ZodString;
666
776
  type: z.ZodString;
@@ -774,8 +884,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
774
884
  addressLine3?: string | null | undefined;
775
885
  postcodeOrZip?: string | null | undefined;
776
886
  }>]>>>;
777
- createdAtLocation: z.ZodOptional<z.ZodString>;
778
- updatedAtLocation: z.ZodOptional<z.ZodString>;
887
+ createdAtLocation: z.ZodString;
779
888
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
780
889
  originalActionId: z.ZodOptional<z.ZodString>;
781
890
  }, {
@@ -826,7 +935,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
826
935
  option: string;
827
936
  filename: string;
828
937
  originalFilename: string;
829
- }[] | undefined>;
938
+ }[] | [string, string] | undefined>;
939
+ createdAtLocation: string;
830
940
  annotation?: Record<string, string | number | boolean | {
831
941
  type: string;
832
942
  filename: string;
@@ -864,9 +974,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
864
974
  option: string;
865
975
  filename: string;
866
976
  originalFilename: string;
867
- }[] | undefined> | undefined;
868
- createdAtLocation?: string | undefined;
869
- updatedAtLocation?: string | undefined;
977
+ }[] | [string, string] | undefined> | undefined;
870
978
  originalActionId?: string | undefined;
871
979
  registrationNumber?: string | undefined;
872
980
  }, {
@@ -914,7 +1022,8 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
914
1022
  option: string;
915
1023
  filename: string;
916
1024
  originalFilename: string;
917
- }[] | undefined>;
1025
+ }[] | [string, string] | undefined>;
1026
+ createdAtLocation: string;
918
1027
  annotation?: Record<string, string | number | boolean | {
919
1028
  type: string;
920
1029
  filename: string;
@@ -952,9 +1061,7 @@ export declare const RegisterAction: z.ZodObject<z.objectUtil.extendShape<{
952
1061
  option: string;
953
1062
  filename: string;
954
1063
  originalFilename: string;
955
- }[] | undefined> | undefined;
956
- createdAtLocation?: string | undefined;
957
- updatedAtLocation?: string | undefined;
1064
+ }[] | [string, string] | undefined> | undefined;
958
1065
  originalActionId?: string | undefined;
959
1066
  registrationNumber?: string | undefined;
960
1067
  }>;
@@ -965,7 +1072,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
965
1072
  createdAt: z.ZodString;
966
1073
  createdBy: z.ZodString;
967
1074
  createdByRole: z.ZodString;
968
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1075
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
969
1076
  filename: z.ZodString;
970
1077
  originalFilename: z.ZodString;
971
1078
  type: z.ZodString;
@@ -1079,7 +1186,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1079
1186
  addressLine3?: string | null | undefined;
1080
1187
  postcodeOrZip?: string | null | undefined;
1081
1188
  }>]>>;
1082
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1189
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1083
1190
  filename: z.ZodString;
1084
1191
  originalFilename: z.ZodString;
1085
1192
  type: z.ZodString;
@@ -1193,8 +1300,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1193
1300
  addressLine3?: string | null | undefined;
1194
1301
  postcodeOrZip?: string | null | undefined;
1195
1302
  }>]>>>;
1196
- createdAtLocation: z.ZodOptional<z.ZodString>;
1197
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1303
+ createdAtLocation: z.ZodString;
1198
1304
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1199
1305
  originalActionId: z.ZodOptional<z.ZodString>;
1200
1306
  }, {
@@ -1244,7 +1350,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1244
1350
  option: string;
1245
1351
  filename: string;
1246
1352
  originalFilename: string;
1247
- }[] | undefined>;
1353
+ }[] | [string, string] | undefined>;
1354
+ createdAtLocation: string;
1248
1355
  annotation?: Record<string, string | number | boolean | {
1249
1356
  type: string;
1250
1357
  filename: string;
@@ -1282,9 +1389,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1282
1389
  option: string;
1283
1390
  filename: string;
1284
1391
  originalFilename: string;
1285
- }[] | undefined> | undefined;
1286
- createdAtLocation?: string | undefined;
1287
- updatedAtLocation?: string | undefined;
1392
+ }[] | [string, string] | undefined> | undefined;
1288
1393
  originalActionId?: string | undefined;
1289
1394
  }, {
1290
1395
  type: "CREATE";
@@ -1331,7 +1436,8 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1331
1436
  option: string;
1332
1437
  filename: string;
1333
1438
  originalFilename: string;
1334
- }[] | undefined>;
1439
+ }[] | [string, string] | undefined>;
1440
+ createdAtLocation: string;
1335
1441
  annotation?: Record<string, string | number | boolean | {
1336
1442
  type: string;
1337
1443
  filename: string;
@@ -1369,9 +1475,7 @@ declare const CreatedAction: z.ZodObject<z.objectUtil.extendShape<{
1369
1475
  option: string;
1370
1476
  filename: string;
1371
1477
  originalFilename: string;
1372
- }[] | undefined> | undefined;
1373
- createdAtLocation?: string | undefined;
1374
- updatedAtLocation?: string | undefined;
1478
+ }[] | [string, string] | undefined> | undefined;
1375
1479
  originalActionId?: string | undefined;
1376
1480
  }>;
1377
1481
  export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
@@ -1380,7 +1484,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1380
1484
  createdAt: z.ZodString;
1381
1485
  createdBy: z.ZodString;
1382
1486
  createdByRole: z.ZodString;
1383
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1487
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1384
1488
  filename: z.ZodString;
1385
1489
  originalFilename: z.ZodString;
1386
1490
  type: z.ZodString;
@@ -1494,7 +1598,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1494
1598
  addressLine3?: string | null | undefined;
1495
1599
  postcodeOrZip?: string | null | undefined;
1496
1600
  }>]>>;
1497
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1601
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1498
1602
  filename: z.ZodString;
1499
1603
  originalFilename: z.ZodString;
1500
1604
  type: z.ZodString;
@@ -1608,8 +1712,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1608
1712
  addressLine3?: string | null | undefined;
1609
1713
  postcodeOrZip?: string | null | undefined;
1610
1714
  }>]>>>;
1611
- createdAtLocation: z.ZodOptional<z.ZodString>;
1612
- updatedAtLocation: z.ZodOptional<z.ZodString>;
1715
+ createdAtLocation: z.ZodString;
1613
1716
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
1614
1717
  originalActionId: z.ZodOptional<z.ZodString>;
1615
1718
  }, {
@@ -1659,7 +1762,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1659
1762
  option: string;
1660
1763
  filename: string;
1661
1764
  originalFilename: string;
1662
- }[] | undefined>;
1765
+ }[] | [string, string] | undefined>;
1766
+ createdAtLocation: string;
1663
1767
  annotation?: Record<string, string | number | boolean | {
1664
1768
  type: string;
1665
1769
  filename: string;
@@ -1697,9 +1801,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1697
1801
  option: string;
1698
1802
  filename: string;
1699
1803
  originalFilename: string;
1700
- }[] | undefined> | undefined;
1701
- createdAtLocation?: string | undefined;
1702
- updatedAtLocation?: string | undefined;
1804
+ }[] | [string, string] | undefined> | undefined;
1703
1805
  originalActionId?: string | undefined;
1704
1806
  }, {
1705
1807
  type: "CREATE";
@@ -1746,7 +1848,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1746
1848
  option: string;
1747
1849
  filename: string;
1748
1850
  originalFilename: string;
1749
- }[] | undefined>;
1851
+ }[] | [string, string] | undefined>;
1852
+ createdAtLocation: string;
1750
1853
  annotation?: Record<string, string | number | boolean | {
1751
1854
  type: string;
1752
1855
  filename: string;
@@ -1784,9 +1887,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1784
1887
  option: string;
1785
1888
  filename: string;
1786
1889
  originalFilename: string;
1787
- }[] | undefined> | undefined;
1788
- createdAtLocation?: string | undefined;
1789
- updatedAtLocation?: string | undefined;
1890
+ }[] | [string, string] | undefined> | undefined;
1790
1891
  originalActionId?: string | undefined;
1791
1892
  }>, z.ZodObject<z.objectUtil.extendShape<{
1792
1893
  id: z.ZodString;
@@ -1794,7 +1895,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1794
1895
  createdAt: z.ZodString;
1795
1896
  createdBy: z.ZodString;
1796
1897
  createdByRole: z.ZodString;
1797
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1898
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1798
1899
  filename: z.ZodString;
1799
1900
  originalFilename: z.ZodString;
1800
1901
  type: z.ZodString;
@@ -1908,7 +2009,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1908
2009
  addressLine3?: string | null | undefined;
1909
2010
  postcodeOrZip?: string | null | undefined;
1910
2011
  }>]>>;
1911
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2012
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
1912
2013
  filename: z.ZodString;
1913
2014
  originalFilename: z.ZodString;
1914
2015
  type: z.ZodString;
@@ -2022,8 +2123,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2022
2123
  addressLine3?: string | null | undefined;
2023
2124
  postcodeOrZip?: string | null | undefined;
2024
2125
  }>]>>>;
2025
- createdAtLocation: z.ZodOptional<z.ZodString>;
2026
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2126
+ createdAtLocation: z.ZodString;
2027
2127
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2028
2128
  originalActionId: z.ZodOptional<z.ZodString>;
2029
2129
  }, {
@@ -2073,7 +2173,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2073
2173
  option: string;
2074
2174
  filename: string;
2075
2175
  originalFilename: string;
2076
- }[] | undefined>;
2176
+ }[] | [string, string] | undefined>;
2177
+ createdAtLocation: string;
2077
2178
  annotation?: Record<string, string | number | boolean | {
2078
2179
  type: string;
2079
2180
  filename: string;
@@ -2111,9 +2212,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2111
2212
  option: string;
2112
2213
  filename: string;
2113
2214
  originalFilename: string;
2114
- }[] | undefined> | undefined;
2115
- createdAtLocation?: string | undefined;
2116
- updatedAtLocation?: string | undefined;
2215
+ }[] | [string, string] | undefined> | undefined;
2117
2216
  originalActionId?: string | undefined;
2118
2217
  }, {
2119
2218
  type: "VALIDATE";
@@ -2160,7 +2259,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2160
2259
  option: string;
2161
2260
  filename: string;
2162
2261
  originalFilename: string;
2163
- }[] | undefined>;
2262
+ }[] | [string, string] | undefined>;
2263
+ createdAtLocation: string;
2164
2264
  annotation?: Record<string, string | number | boolean | {
2165
2265
  type: string;
2166
2266
  filename: string;
@@ -2198,9 +2298,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2198
2298
  option: string;
2199
2299
  filename: string;
2200
2300
  originalFilename: string;
2201
- }[] | undefined> | undefined;
2202
- createdAtLocation?: string | undefined;
2203
- updatedAtLocation?: string | undefined;
2301
+ }[] | [string, string] | undefined> | undefined;
2204
2302
  originalActionId?: string | undefined;
2205
2303
  }>, z.ZodObject<z.objectUtil.extendShape<{
2206
2304
  id: z.ZodString;
@@ -2208,7 +2306,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2208
2306
  createdAt: z.ZodString;
2209
2307
  createdBy: z.ZodString;
2210
2308
  createdByRole: z.ZodString;
2211
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2309
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2212
2310
  filename: z.ZodString;
2213
2311
  originalFilename: z.ZodString;
2214
2312
  type: z.ZodString;
@@ -2322,7 +2420,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2322
2420
  addressLine3?: string | null | undefined;
2323
2421
  postcodeOrZip?: string | null | undefined;
2324
2422
  }>]>>;
2325
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2423
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2326
2424
  filename: z.ZodString;
2327
2425
  originalFilename: z.ZodString;
2328
2426
  type: z.ZodString;
@@ -2436,8 +2534,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2436
2534
  addressLine3?: string | null | undefined;
2437
2535
  postcodeOrZip?: string | null | undefined;
2438
2536
  }>]>>>;
2439
- createdAtLocation: z.ZodOptional<z.ZodString>;
2440
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2537
+ createdAtLocation: z.ZodString;
2441
2538
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2442
2539
  originalActionId: z.ZodOptional<z.ZodString>;
2443
2540
  }, {
@@ -2487,7 +2584,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2487
2584
  option: string;
2488
2585
  filename: string;
2489
2586
  originalFilename: string;
2490
- }[] | undefined>;
2587
+ }[] | [string, string] | undefined>;
2588
+ createdAtLocation: string;
2491
2589
  annotation?: Record<string, string | number | boolean | {
2492
2590
  type: string;
2493
2591
  filename: string;
@@ -2525,9 +2623,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2525
2623
  option: string;
2526
2624
  filename: string;
2527
2625
  originalFilename: string;
2528
- }[] | undefined> | undefined;
2529
- createdAtLocation?: string | undefined;
2530
- updatedAtLocation?: string | undefined;
2626
+ }[] | [string, string] | undefined> | undefined;
2531
2627
  originalActionId?: string | undefined;
2532
2628
  }, {
2533
2629
  type: "REJECT";
@@ -2574,7 +2670,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2574
2670
  option: string;
2575
2671
  filename: string;
2576
2672
  originalFilename: string;
2577
- }[] | undefined>;
2673
+ }[] | [string, string] | undefined>;
2674
+ createdAtLocation: string;
2578
2675
  annotation?: Record<string, string | number | boolean | {
2579
2676
  type: string;
2580
2677
  filename: string;
@@ -2612,9 +2709,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2612
2709
  option: string;
2613
2710
  filename: string;
2614
2711
  originalFilename: string;
2615
- }[] | undefined> | undefined;
2616
- createdAtLocation?: string | undefined;
2617
- updatedAtLocation?: string | undefined;
2712
+ }[] | [string, string] | undefined> | undefined;
2618
2713
  originalActionId?: string | undefined;
2619
2714
  }>, z.ZodObject<z.objectUtil.extendShape<{
2620
2715
  id: z.ZodString;
@@ -2622,7 +2717,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2622
2717
  createdAt: z.ZodString;
2623
2718
  createdBy: z.ZodString;
2624
2719
  createdByRole: z.ZodString;
2625
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2720
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2626
2721
  filename: z.ZodString;
2627
2722
  originalFilename: z.ZodString;
2628
2723
  type: z.ZodString;
@@ -2736,7 +2831,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2736
2831
  addressLine3?: string | null | undefined;
2737
2832
  postcodeOrZip?: string | null | undefined;
2738
2833
  }>]>>;
2739
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2834
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
2740
2835
  filename: z.ZodString;
2741
2836
  originalFilename: z.ZodString;
2742
2837
  type: z.ZodString;
@@ -2850,8 +2945,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2850
2945
  addressLine3?: string | null | undefined;
2851
2946
  postcodeOrZip?: string | null | undefined;
2852
2947
  }>]>>>;
2853
- createdAtLocation: z.ZodOptional<z.ZodString>;
2854
- updatedAtLocation: z.ZodOptional<z.ZodString>;
2948
+ createdAtLocation: z.ZodString;
2855
2949
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
2856
2950
  originalActionId: z.ZodOptional<z.ZodString>;
2857
2951
  }, {
@@ -2901,7 +2995,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2901
2995
  option: string;
2902
2996
  filename: string;
2903
2997
  originalFilename: string;
2904
- }[] | undefined>;
2998
+ }[] | [string, string] | undefined>;
2999
+ createdAtLocation: string;
2905
3000
  annotation?: Record<string, string | number | boolean | {
2906
3001
  type: string;
2907
3002
  filename: string;
@@ -2939,9 +3034,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2939
3034
  option: string;
2940
3035
  filename: string;
2941
3036
  originalFilename: string;
2942
- }[] | undefined> | undefined;
2943
- createdAtLocation?: string | undefined;
2944
- updatedAtLocation?: string | undefined;
3037
+ }[] | [string, string] | undefined> | undefined;
2945
3038
  originalActionId?: string | undefined;
2946
3039
  }, {
2947
3040
  type: "MARKED_AS_DUPLICATE";
@@ -2988,7 +3081,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
2988
3081
  option: string;
2989
3082
  filename: string;
2990
3083
  originalFilename: string;
2991
- }[] | undefined>;
3084
+ }[] | [string, string] | undefined>;
3085
+ createdAtLocation: string;
2992
3086
  annotation?: Record<string, string | number | boolean | {
2993
3087
  type: string;
2994
3088
  filename: string;
@@ -3026,9 +3120,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3026
3120
  option: string;
3027
3121
  filename: string;
3028
3122
  originalFilename: string;
3029
- }[] | undefined> | undefined;
3030
- createdAtLocation?: string | undefined;
3031
- updatedAtLocation?: string | undefined;
3123
+ }[] | [string, string] | undefined> | undefined;
3032
3124
  originalActionId?: string | undefined;
3033
3125
  }>, z.ZodObject<z.objectUtil.extendShape<{
3034
3126
  id: z.ZodString;
@@ -3036,7 +3128,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3036
3128
  createdAt: z.ZodString;
3037
3129
  createdBy: z.ZodString;
3038
3130
  createdByRole: z.ZodString;
3039
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3131
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3040
3132
  filename: z.ZodString;
3041
3133
  originalFilename: z.ZodString;
3042
3134
  type: z.ZodString;
@@ -3150,7 +3242,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3150
3242
  addressLine3?: string | null | undefined;
3151
3243
  postcodeOrZip?: string | null | undefined;
3152
3244
  }>]>>;
3153
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3245
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3154
3246
  filename: z.ZodString;
3155
3247
  originalFilename: z.ZodString;
3156
3248
  type: z.ZodString;
@@ -3264,8 +3356,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3264
3356
  addressLine3?: string | null | undefined;
3265
3357
  postcodeOrZip?: string | null | undefined;
3266
3358
  }>]>>>;
3267
- createdAtLocation: z.ZodOptional<z.ZodString>;
3268
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3359
+ createdAtLocation: z.ZodString;
3269
3360
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3270
3361
  originalActionId: z.ZodOptional<z.ZodString>;
3271
3362
  }, {
@@ -3315,7 +3406,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3315
3406
  option: string;
3316
3407
  filename: string;
3317
3408
  originalFilename: string;
3318
- }[] | undefined>;
3409
+ }[] | [string, string] | undefined>;
3410
+ createdAtLocation: string;
3319
3411
  annotation?: Record<string, string | number | boolean | {
3320
3412
  type: string;
3321
3413
  filename: string;
@@ -3353,9 +3445,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3353
3445
  option: string;
3354
3446
  filename: string;
3355
3447
  originalFilename: string;
3356
- }[] | undefined> | undefined;
3357
- createdAtLocation?: string | undefined;
3358
- updatedAtLocation?: string | undefined;
3448
+ }[] | [string, string] | undefined> | undefined;
3359
3449
  originalActionId?: string | undefined;
3360
3450
  }, {
3361
3451
  type: "ARCHIVE";
@@ -3402,7 +3492,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3402
3492
  option: string;
3403
3493
  filename: string;
3404
3494
  originalFilename: string;
3405
- }[] | undefined>;
3495
+ }[] | [string, string] | undefined>;
3496
+ createdAtLocation: string;
3406
3497
  annotation?: Record<string, string | number | boolean | {
3407
3498
  type: string;
3408
3499
  filename: string;
@@ -3440,9 +3531,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3440
3531
  option: string;
3441
3532
  filename: string;
3442
3533
  originalFilename: string;
3443
- }[] | undefined> | undefined;
3444
- createdAtLocation?: string | undefined;
3445
- updatedAtLocation?: string | undefined;
3534
+ }[] | [string, string] | undefined> | undefined;
3446
3535
  originalActionId?: string | undefined;
3447
3536
  }>, z.ZodObject<z.objectUtil.extendShape<{
3448
3537
  id: z.ZodString;
@@ -3450,7 +3539,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3450
3539
  createdAt: z.ZodString;
3451
3540
  createdBy: z.ZodString;
3452
3541
  createdByRole: z.ZodString;
3453
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3542
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3454
3543
  filename: z.ZodString;
3455
3544
  originalFilename: z.ZodString;
3456
3545
  type: z.ZodString;
@@ -3564,7 +3653,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3564
3653
  addressLine3?: string | null | undefined;
3565
3654
  postcodeOrZip?: string | null | undefined;
3566
3655
  }>]>>;
3567
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3656
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3568
3657
  filename: z.ZodString;
3569
3658
  originalFilename: z.ZodString;
3570
3659
  type: z.ZodString;
@@ -3678,8 +3767,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3678
3767
  addressLine3?: string | null | undefined;
3679
3768
  postcodeOrZip?: string | null | undefined;
3680
3769
  }>]>>>;
3681
- createdAtLocation: z.ZodOptional<z.ZodString>;
3682
- updatedAtLocation: z.ZodOptional<z.ZodString>;
3770
+ createdAtLocation: z.ZodString;
3683
3771
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
3684
3772
  originalActionId: z.ZodOptional<z.ZodString>;
3685
3773
  }, {
@@ -3729,7 +3817,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3729
3817
  option: string;
3730
3818
  filename: string;
3731
3819
  originalFilename: string;
3732
- }[] | undefined>;
3820
+ }[] | [string, string] | undefined>;
3821
+ createdAtLocation: string;
3733
3822
  annotation?: Record<string, string | number | boolean | {
3734
3823
  type: string;
3735
3824
  filename: string;
@@ -3767,9 +3856,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3767
3856
  option: string;
3768
3857
  filename: string;
3769
3858
  originalFilename: string;
3770
- }[] | undefined> | undefined;
3771
- createdAtLocation?: string | undefined;
3772
- updatedAtLocation?: string | undefined;
3859
+ }[] | [string, string] | undefined> | undefined;
3773
3860
  originalActionId?: string | undefined;
3774
3861
  }, {
3775
3862
  type: "NOTIFY";
@@ -3816,7 +3903,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3816
3903
  option: string;
3817
3904
  filename: string;
3818
3905
  originalFilename: string;
3819
- }[] | undefined>;
3906
+ }[] | [string, string] | undefined>;
3907
+ createdAtLocation: string;
3820
3908
  annotation?: Record<string, string | number | boolean | {
3821
3909
  type: string;
3822
3910
  filename: string;
@@ -3854,9 +3942,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3854
3942
  option: string;
3855
3943
  filename: string;
3856
3944
  originalFilename: string;
3857
- }[] | undefined> | undefined;
3858
- createdAtLocation?: string | undefined;
3859
- updatedAtLocation?: string | undefined;
3945
+ }[] | [string, string] | undefined> | undefined;
3860
3946
  originalActionId?: string | undefined;
3861
3947
  }>, z.ZodObject<z.objectUtil.extendShape<{
3862
3948
  id: z.ZodString;
@@ -3864,7 +3950,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3864
3950
  createdAt: z.ZodString;
3865
3951
  createdBy: z.ZodString;
3866
3952
  createdByRole: z.ZodString;
3867
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3953
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3868
3954
  filename: z.ZodString;
3869
3955
  originalFilename: z.ZodString;
3870
3956
  type: z.ZodString;
@@ -3978,7 +4064,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
3978
4064
  addressLine3?: string | null | undefined;
3979
4065
  postcodeOrZip?: string | null | undefined;
3980
4066
  }>]>>;
3981
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4067
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
3982
4068
  filename: z.ZodString;
3983
4069
  originalFilename: z.ZodString;
3984
4070
  type: z.ZodString;
@@ -4092,8 +4178,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4092
4178
  addressLine3?: string | null | undefined;
4093
4179
  postcodeOrZip?: string | null | undefined;
4094
4180
  }>]>>>;
4095
- createdAtLocation: z.ZodOptional<z.ZodString>;
4096
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4181
+ createdAtLocation: z.ZodString;
4097
4182
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4098
4183
  originalActionId: z.ZodOptional<z.ZodString>;
4099
4184
  }, {
@@ -4144,7 +4229,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4144
4229
  option: string;
4145
4230
  filename: string;
4146
4231
  originalFilename: string;
4147
- }[] | undefined>;
4232
+ }[] | [string, string] | undefined>;
4233
+ createdAtLocation: string;
4148
4234
  annotation?: Record<string, string | number | boolean | {
4149
4235
  type: string;
4150
4236
  filename: string;
@@ -4182,9 +4268,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4182
4268
  option: string;
4183
4269
  filename: string;
4184
4270
  originalFilename: string;
4185
- }[] | undefined> | undefined;
4186
- createdAtLocation?: string | undefined;
4187
- updatedAtLocation?: string | undefined;
4271
+ }[] | [string, string] | undefined> | undefined;
4188
4272
  originalActionId?: string | undefined;
4189
4273
  registrationNumber?: string | undefined;
4190
4274
  }, {
@@ -4232,7 +4316,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4232
4316
  option: string;
4233
4317
  filename: string;
4234
4318
  originalFilename: string;
4235
- }[] | undefined>;
4319
+ }[] | [string, string] | undefined>;
4320
+ createdAtLocation: string;
4236
4321
  annotation?: Record<string, string | number | boolean | {
4237
4322
  type: string;
4238
4323
  filename: string;
@@ -4270,9 +4355,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4270
4355
  option: string;
4271
4356
  filename: string;
4272
4357
  originalFilename: string;
4273
- }[] | undefined> | undefined;
4274
- createdAtLocation?: string | undefined;
4275
- updatedAtLocation?: string | undefined;
4358
+ }[] | [string, string] | undefined> | undefined;
4276
4359
  originalActionId?: string | undefined;
4277
4360
  registrationNumber?: string | undefined;
4278
4361
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -4281,7 +4364,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4281
4364
  createdAt: z.ZodString;
4282
4365
  createdBy: z.ZodString;
4283
4366
  createdByRole: z.ZodString;
4284
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4367
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4285
4368
  filename: z.ZodString;
4286
4369
  originalFilename: z.ZodString;
4287
4370
  type: z.ZodString;
@@ -4395,7 +4478,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4395
4478
  addressLine3?: string | null | undefined;
4396
4479
  postcodeOrZip?: string | null | undefined;
4397
4480
  }>]>>;
4398
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4481
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4399
4482
  filename: z.ZodString;
4400
4483
  originalFilename: z.ZodString;
4401
4484
  type: z.ZodString;
@@ -4509,8 +4592,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4509
4592
  addressLine3?: string | null | undefined;
4510
4593
  postcodeOrZip?: string | null | undefined;
4511
4594
  }>]>>>;
4512
- createdAtLocation: z.ZodOptional<z.ZodString>;
4513
- updatedAtLocation: z.ZodOptional<z.ZodString>;
4595
+ createdAtLocation: z.ZodString;
4514
4596
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4515
4597
  originalActionId: z.ZodOptional<z.ZodString>;
4516
4598
  }, {
@@ -4560,7 +4642,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4560
4642
  option: string;
4561
4643
  filename: string;
4562
4644
  originalFilename: string;
4563
- }[] | undefined>;
4645
+ }[] | [string, string] | undefined>;
4646
+ createdAtLocation: string;
4564
4647
  annotation?: Record<string, string | number | boolean | {
4565
4648
  type: string;
4566
4649
  filename: string;
@@ -4598,9 +4681,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4598
4681
  option: string;
4599
4682
  filename: string;
4600
4683
  originalFilename: string;
4601
- }[] | undefined> | undefined;
4602
- createdAtLocation?: string | undefined;
4603
- updatedAtLocation?: string | undefined;
4684
+ }[] | [string, string] | undefined> | undefined;
4604
4685
  originalActionId?: string | undefined;
4605
4686
  }, {
4606
4687
  type: "DECLARE";
@@ -4647,7 +4728,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4647
4728
  option: string;
4648
4729
  filename: string;
4649
4730
  originalFilename: string;
4650
- }[] | undefined>;
4731
+ }[] | [string, string] | undefined>;
4732
+ createdAtLocation: string;
4651
4733
  annotation?: Record<string, string | number | boolean | {
4652
4734
  type: string;
4653
4735
  filename: string;
@@ -4685,9 +4767,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4685
4767
  option: string;
4686
4768
  filename: string;
4687
4769
  originalFilename: string;
4688
- }[] | undefined> | undefined;
4689
- createdAtLocation?: string | undefined;
4690
- updatedAtLocation?: string | undefined;
4770
+ }[] | [string, string] | undefined> | undefined;
4691
4771
  originalActionId?: string | undefined;
4692
4772
  }>, z.ZodObject<z.objectUtil.extendShape<{
4693
4773
  id: z.ZodString;
@@ -4695,7 +4775,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4695
4775
  createdAt: z.ZodString;
4696
4776
  createdBy: z.ZodString;
4697
4777
  createdByRole: z.ZodString;
4698
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4778
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4699
4779
  filename: z.ZodString;
4700
4780
  originalFilename: z.ZodString;
4701
4781
  type: z.ZodString;
@@ -4809,7 +4889,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4809
4889
  addressLine3?: string | null | undefined;
4810
4890
  postcodeOrZip?: string | null | undefined;
4811
4891
  }>]>>;
4812
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4892
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
4813
4893
  filename: z.ZodString;
4814
4894
  originalFilename: z.ZodString;
4815
4895
  type: z.ZodString;
@@ -4923,8 +5003,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4923
5003
  addressLine3?: string | null | undefined;
4924
5004
  postcodeOrZip?: string | null | undefined;
4925
5005
  }>]>>>;
4926
- createdAtLocation: z.ZodOptional<z.ZodString>;
4927
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5006
+ createdAtLocation: z.ZodString;
4928
5007
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
4929
5008
  originalActionId: z.ZodOptional<z.ZodString>;
4930
5009
  }, {
@@ -4975,7 +5054,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
4975
5054
  option: string;
4976
5055
  filename: string;
4977
5056
  originalFilename: string;
4978
- }[] | undefined>;
5057
+ }[] | [string, string] | undefined>;
5058
+ createdAtLocation: string;
4979
5059
  assignedTo: string;
4980
5060
  annotation?: Record<string, string | number | boolean | {
4981
5061
  type: string;
@@ -5014,9 +5094,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5014
5094
  option: string;
5015
5095
  filename: string;
5016
5096
  originalFilename: string;
5017
- }[] | undefined> | undefined;
5018
- createdAtLocation?: string | undefined;
5019
- updatedAtLocation?: string | undefined;
5097
+ }[] | [string, string] | undefined> | undefined;
5020
5098
  originalActionId?: string | undefined;
5021
5099
  }, {
5022
5100
  type: "ASSIGN";
@@ -5063,7 +5141,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5063
5141
  option: string;
5064
5142
  filename: string;
5065
5143
  originalFilename: string;
5066
- }[] | undefined>;
5144
+ }[] | [string, string] | undefined>;
5145
+ createdAtLocation: string;
5067
5146
  assignedTo: string;
5068
5147
  annotation?: Record<string, string | number | boolean | {
5069
5148
  type: string;
@@ -5102,9 +5181,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5102
5181
  option: string;
5103
5182
  filename: string;
5104
5183
  originalFilename: string;
5105
- }[] | undefined> | undefined;
5106
- createdAtLocation?: string | undefined;
5107
- updatedAtLocation?: string | undefined;
5184
+ }[] | [string, string] | undefined> | undefined;
5108
5185
  originalActionId?: string | undefined;
5109
5186
  }>, z.ZodObject<z.objectUtil.extendShape<{
5110
5187
  id: z.ZodString;
@@ -5112,7 +5189,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5112
5189
  createdAt: z.ZodString;
5113
5190
  createdBy: z.ZodString;
5114
5191
  createdByRole: z.ZodString;
5115
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5192
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5116
5193
  filename: z.ZodString;
5117
5194
  originalFilename: z.ZodString;
5118
5195
  type: z.ZodString;
@@ -5226,7 +5303,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5226
5303
  addressLine3?: string | null | undefined;
5227
5304
  postcodeOrZip?: string | null | undefined;
5228
5305
  }>]>>;
5229
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5306
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5230
5307
  filename: z.ZodString;
5231
5308
  originalFilename: z.ZodString;
5232
5309
  type: z.ZodString;
@@ -5340,8 +5417,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5340
5417
  addressLine3?: string | null | undefined;
5341
5418
  postcodeOrZip?: string | null | undefined;
5342
5419
  }>]>>>;
5343
- createdAtLocation: z.ZodOptional<z.ZodString>;
5344
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5420
+ createdAtLocation: z.ZodString;
5345
5421
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5346
5422
  originalActionId: z.ZodOptional<z.ZodString>;
5347
5423
  }, {
@@ -5391,7 +5467,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5391
5467
  option: string;
5392
5468
  filename: string;
5393
5469
  originalFilename: string;
5394
- }[] | undefined>;
5470
+ }[] | [string, string] | undefined>;
5471
+ createdAtLocation: string;
5395
5472
  annotation?: Record<string, string | number | boolean | {
5396
5473
  type: string;
5397
5474
  filename: string;
@@ -5429,9 +5506,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5429
5506
  option: string;
5430
5507
  filename: string;
5431
5508
  originalFilename: string;
5432
- }[] | undefined> | undefined;
5433
- createdAtLocation?: string | undefined;
5434
- updatedAtLocation?: string | undefined;
5509
+ }[] | [string, string] | undefined> | undefined;
5435
5510
  originalActionId?: string | undefined;
5436
5511
  }, {
5437
5512
  type: "REQUEST_CORRECTION";
@@ -5478,7 +5553,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5478
5553
  option: string;
5479
5554
  filename: string;
5480
5555
  originalFilename: string;
5481
- }[] | undefined>;
5556
+ }[] | [string, string] | undefined>;
5557
+ createdAtLocation: string;
5482
5558
  annotation?: Record<string, string | number | boolean | {
5483
5559
  type: string;
5484
5560
  filename: string;
@@ -5516,9 +5592,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5516
5592
  option: string;
5517
5593
  filename: string;
5518
5594
  originalFilename: string;
5519
- }[] | undefined> | undefined;
5520
- createdAtLocation?: string | undefined;
5521
- updatedAtLocation?: string | undefined;
5595
+ }[] | [string, string] | undefined> | undefined;
5522
5596
  originalActionId?: string | undefined;
5523
5597
  }>, z.ZodObject<z.objectUtil.extendShape<{
5524
5598
  id: z.ZodString;
@@ -5526,7 +5600,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5526
5600
  createdAt: z.ZodString;
5527
5601
  createdBy: z.ZodString;
5528
5602
  createdByRole: z.ZodString;
5529
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5603
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5530
5604
  filename: z.ZodString;
5531
5605
  originalFilename: z.ZodString;
5532
5606
  type: z.ZodString;
@@ -5640,7 +5714,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5640
5714
  addressLine3?: string | null | undefined;
5641
5715
  postcodeOrZip?: string | null | undefined;
5642
5716
  }>]>>;
5643
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5717
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5644
5718
  filename: z.ZodString;
5645
5719
  originalFilename: z.ZodString;
5646
5720
  type: z.ZodString;
@@ -5754,8 +5828,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5754
5828
  addressLine3?: string | null | undefined;
5755
5829
  postcodeOrZip?: string | null | undefined;
5756
5830
  }>]>>>;
5757
- createdAtLocation: z.ZodOptional<z.ZodString>;
5758
- updatedAtLocation: z.ZodOptional<z.ZodString>;
5831
+ createdAtLocation: z.ZodString;
5759
5832
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
5760
5833
  originalActionId: z.ZodOptional<z.ZodString>;
5761
5834
  }, {
@@ -5806,7 +5879,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5806
5879
  option: string;
5807
5880
  filename: string;
5808
5881
  originalFilename: string;
5809
- }[] | undefined>;
5882
+ }[] | [string, string] | undefined>;
5883
+ createdAtLocation: string;
5810
5884
  requestId: string;
5811
5885
  annotation?: Record<string, string | number | boolean | {
5812
5886
  type: string;
@@ -5845,9 +5919,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5845
5919
  option: string;
5846
5920
  filename: string;
5847
5921
  originalFilename: string;
5848
- }[] | undefined> | undefined;
5849
- createdAtLocation?: string | undefined;
5850
- updatedAtLocation?: string | undefined;
5922
+ }[] | [string, string] | undefined> | undefined;
5851
5923
  originalActionId?: string | undefined;
5852
5924
  }, {
5853
5925
  type: "APPROVE_CORRECTION";
@@ -5894,7 +5966,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5894
5966
  option: string;
5895
5967
  filename: string;
5896
5968
  originalFilename: string;
5897
- }[] | undefined>;
5969
+ }[] | [string, string] | undefined>;
5970
+ createdAtLocation: string;
5898
5971
  requestId: string;
5899
5972
  annotation?: Record<string, string | number | boolean | {
5900
5973
  type: string;
@@ -5933,9 +6006,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5933
6006
  option: string;
5934
6007
  filename: string;
5935
6008
  originalFilename: string;
5936
- }[] | undefined> | undefined;
5937
- createdAtLocation?: string | undefined;
5938
- updatedAtLocation?: string | undefined;
6009
+ }[] | [string, string] | undefined> | undefined;
5939
6010
  originalActionId?: string | undefined;
5940
6011
  }>, z.ZodObject<z.objectUtil.extendShape<{
5941
6012
  id: z.ZodString;
@@ -5943,7 +6014,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5943
6014
  createdAt: z.ZodString;
5944
6015
  createdBy: z.ZodString;
5945
6016
  createdByRole: z.ZodString;
5946
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6017
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
5947
6018
  filename: z.ZodString;
5948
6019
  originalFilename: z.ZodString;
5949
6020
  type: z.ZodString;
@@ -6057,7 +6128,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6057
6128
  addressLine3?: string | null | undefined;
6058
6129
  postcodeOrZip?: string | null | undefined;
6059
6130
  }>]>>;
6060
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6131
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6061
6132
  filename: z.ZodString;
6062
6133
  originalFilename: z.ZodString;
6063
6134
  type: z.ZodString;
@@ -6171,8 +6242,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6171
6242
  addressLine3?: string | null | undefined;
6172
6243
  postcodeOrZip?: string | null | undefined;
6173
6244
  }>]>>>;
6174
- createdAtLocation: z.ZodOptional<z.ZodString>;
6175
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6245
+ createdAtLocation: z.ZodString;
6176
6246
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6177
6247
  originalActionId: z.ZodOptional<z.ZodString>;
6178
6248
  }, {
@@ -6223,7 +6293,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6223
6293
  option: string;
6224
6294
  filename: string;
6225
6295
  originalFilename: string;
6226
- }[] | undefined>;
6296
+ }[] | [string, string] | undefined>;
6297
+ createdAtLocation: string;
6227
6298
  requestId: string;
6228
6299
  annotation?: Record<string, string | number | boolean | {
6229
6300
  type: string;
@@ -6262,9 +6333,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6262
6333
  option: string;
6263
6334
  filename: string;
6264
6335
  originalFilename: string;
6265
- }[] | undefined> | undefined;
6266
- createdAtLocation?: string | undefined;
6267
- updatedAtLocation?: string | undefined;
6336
+ }[] | [string, string] | undefined> | undefined;
6268
6337
  originalActionId?: string | undefined;
6269
6338
  }, {
6270
6339
  type: "REJECT_CORRECTION";
@@ -6311,7 +6380,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6311
6380
  option: string;
6312
6381
  filename: string;
6313
6382
  originalFilename: string;
6314
- }[] | undefined>;
6383
+ }[] | [string, string] | undefined>;
6384
+ createdAtLocation: string;
6315
6385
  requestId: string;
6316
6386
  annotation?: Record<string, string | number | boolean | {
6317
6387
  type: string;
@@ -6350,9 +6420,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6350
6420
  option: string;
6351
6421
  filename: string;
6352
6422
  originalFilename: string;
6353
- }[] | undefined> | undefined;
6354
- createdAtLocation?: string | undefined;
6355
- updatedAtLocation?: string | undefined;
6423
+ }[] | [string, string] | undefined> | undefined;
6356
6424
  originalActionId?: string | undefined;
6357
6425
  }>, z.ZodObject<z.objectUtil.extendShape<{
6358
6426
  id: z.ZodString;
@@ -6360,7 +6428,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6360
6428
  createdAt: z.ZodString;
6361
6429
  createdBy: z.ZodString;
6362
6430
  createdByRole: z.ZodString;
6363
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6431
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6364
6432
  filename: z.ZodString;
6365
6433
  originalFilename: z.ZodString;
6366
6434
  type: z.ZodString;
@@ -6474,7 +6542,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6474
6542
  addressLine3?: string | null | undefined;
6475
6543
  postcodeOrZip?: string | null | undefined;
6476
6544
  }>]>>;
6477
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6545
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6478
6546
  filename: z.ZodString;
6479
6547
  originalFilename: z.ZodString;
6480
6548
  type: z.ZodString;
@@ -6588,8 +6656,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6588
6656
  addressLine3?: string | null | undefined;
6589
6657
  postcodeOrZip?: string | null | undefined;
6590
6658
  }>]>>>;
6591
- createdAtLocation: z.ZodOptional<z.ZodString>;
6592
- updatedAtLocation: z.ZodOptional<z.ZodString>;
6659
+ createdAtLocation: z.ZodString;
6593
6660
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
6594
6661
  originalActionId: z.ZodOptional<z.ZodString>;
6595
6662
  }, {
@@ -6640,7 +6707,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6640
6707
  option: string;
6641
6708
  filename: string;
6642
6709
  originalFilename: string;
6643
- }[] | undefined>;
6710
+ }[] | [string, string] | undefined>;
6711
+ createdAtLocation: string;
6644
6712
  assignedTo: null;
6645
6713
  annotation?: Record<string, string | number | boolean | {
6646
6714
  type: string;
@@ -6679,9 +6747,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6679
6747
  option: string;
6680
6748
  filename: string;
6681
6749
  originalFilename: string;
6682
- }[] | undefined> | undefined;
6683
- createdAtLocation?: string | undefined;
6684
- updatedAtLocation?: string | undefined;
6750
+ }[] | [string, string] | undefined> | undefined;
6685
6751
  originalActionId?: string | undefined;
6686
6752
  }, {
6687
6753
  type: "UNASSIGN";
@@ -6728,7 +6794,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6728
6794
  option: string;
6729
6795
  filename: string;
6730
6796
  originalFilename: string;
6731
- }[] | undefined>;
6797
+ }[] | [string, string] | undefined>;
6798
+ createdAtLocation: string;
6732
6799
  assignedTo: null;
6733
6800
  annotation?: Record<string, string | number | boolean | {
6734
6801
  type: string;
@@ -6767,9 +6834,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6767
6834
  option: string;
6768
6835
  filename: string;
6769
6836
  originalFilename: string;
6770
- }[] | undefined> | undefined;
6771
- createdAtLocation?: string | undefined;
6772
- updatedAtLocation?: string | undefined;
6837
+ }[] | [string, string] | undefined> | undefined;
6773
6838
  originalActionId?: string | undefined;
6774
6839
  }>, z.ZodObject<z.objectUtil.extendShape<{
6775
6840
  id: z.ZodString;
@@ -6777,7 +6842,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6777
6842
  createdAt: z.ZodString;
6778
6843
  createdBy: z.ZodString;
6779
6844
  createdByRole: z.ZodString;
6780
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6845
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6781
6846
  filename: z.ZodString;
6782
6847
  originalFilename: z.ZodString;
6783
6848
  type: z.ZodString;
@@ -6891,7 +6956,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6891
6956
  addressLine3?: string | null | undefined;
6892
6957
  postcodeOrZip?: string | null | undefined;
6893
6958
  }>]>>;
6894
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6959
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
6895
6960
  filename: z.ZodString;
6896
6961
  originalFilename: z.ZodString;
6897
6962
  type: z.ZodString;
@@ -7005,8 +7070,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7005
7070
  addressLine3?: string | null | undefined;
7006
7071
  postcodeOrZip?: string | null | undefined;
7007
7072
  }>]>>>;
7008
- createdAtLocation: z.ZodOptional<z.ZodString>;
7009
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7073
+ createdAtLocation: z.ZodString;
7010
7074
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7011
7075
  originalActionId: z.ZodOptional<z.ZodString>;
7012
7076
  }, {
@@ -7056,7 +7120,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7056
7120
  option: string;
7057
7121
  filename: string;
7058
7122
  originalFilename: string;
7059
- }[] | undefined>;
7123
+ }[] | [string, string] | undefined>;
7124
+ createdAtLocation: string;
7060
7125
  annotation?: Record<string, string | number | boolean | {
7061
7126
  type: string;
7062
7127
  filename: string;
@@ -7094,9 +7159,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7094
7159
  option: string;
7095
7160
  filename: string;
7096
7161
  originalFilename: string;
7097
- }[] | undefined> | undefined;
7098
- createdAtLocation?: string | undefined;
7099
- updatedAtLocation?: string | undefined;
7162
+ }[] | [string, string] | undefined> | undefined;
7100
7163
  originalActionId?: string | undefined;
7101
7164
  }, {
7102
7165
  type: "PRINT_CERTIFICATE";
@@ -7143,7 +7206,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7143
7206
  option: string;
7144
7207
  filename: string;
7145
7208
  originalFilename: string;
7146
- }[] | undefined>;
7209
+ }[] | [string, string] | undefined>;
7210
+ createdAtLocation: string;
7147
7211
  annotation?: Record<string, string | number | boolean | {
7148
7212
  type: string;
7149
7213
  filename: string;
@@ -7181,9 +7245,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7181
7245
  option: string;
7182
7246
  filename: string;
7183
7247
  originalFilename: string;
7184
- }[] | undefined> | undefined;
7185
- createdAtLocation?: string | undefined;
7186
- updatedAtLocation?: string | undefined;
7248
+ }[] | [string, string] | undefined> | undefined;
7187
7249
  originalActionId?: string | undefined;
7188
7250
  }>, z.ZodObject<z.objectUtil.extendShape<{
7189
7251
  id: z.ZodString;
@@ -7191,7 +7253,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7191
7253
  createdAt: z.ZodString;
7192
7254
  createdBy: z.ZodString;
7193
7255
  createdByRole: z.ZodString;
7194
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7256
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7195
7257
  filename: z.ZodString;
7196
7258
  originalFilename: z.ZodString;
7197
7259
  type: z.ZodString;
@@ -7305,7 +7367,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7305
7367
  addressLine3?: string | null | undefined;
7306
7368
  postcodeOrZip?: string | null | undefined;
7307
7369
  }>]>>;
7308
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7370
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7309
7371
  filename: z.ZodString;
7310
7372
  originalFilename: z.ZodString;
7311
7373
  type: z.ZodString;
@@ -7419,8 +7481,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7419
7481
  addressLine3?: string | null | undefined;
7420
7482
  postcodeOrZip?: string | null | undefined;
7421
7483
  }>]>>>;
7422
- createdAtLocation: z.ZodOptional<z.ZodString>;
7423
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7484
+ createdAtLocation: z.ZodString;
7424
7485
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7425
7486
  originalActionId: z.ZodOptional<z.ZodString>;
7426
7487
  }, {
@@ -7470,7 +7531,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7470
7531
  option: string;
7471
7532
  filename: string;
7472
7533
  originalFilename: string;
7473
- }[] | undefined>;
7534
+ }[] | [string, string] | undefined>;
7535
+ createdAtLocation: string;
7474
7536
  annotation?: Record<string, string | number | boolean | {
7475
7537
  type: string;
7476
7538
  filename: string;
@@ -7508,9 +7570,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7508
7570
  option: string;
7509
7571
  filename: string;
7510
7572
  originalFilename: string;
7511
- }[] | undefined> | undefined;
7512
- createdAtLocation?: string | undefined;
7513
- updatedAtLocation?: string | undefined;
7573
+ }[] | [string, string] | undefined> | undefined;
7514
7574
  originalActionId?: string | undefined;
7515
7575
  }, {
7516
7576
  type: "READ";
@@ -7557,7 +7617,8 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7557
7617
  option: string;
7558
7618
  filename: string;
7559
7619
  originalFilename: string;
7560
- }[] | undefined>;
7620
+ }[] | [string, string] | undefined>;
7621
+ createdAtLocation: string;
7561
7622
  annotation?: Record<string, string | number | boolean | {
7562
7623
  type: string;
7563
7624
  filename: string;
@@ -7595,9 +7656,7 @@ export declare const ActionDocument: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
7595
7656
  option: string;
7596
7657
  filename: string;
7597
7658
  originalFilename: string;
7598
- }[] | undefined> | undefined;
7599
- createdAtLocation?: string | undefined;
7600
- updatedAtLocation?: string | undefined;
7659
+ }[] | [string, string] | undefined> | undefined;
7601
7660
  originalActionId?: string | undefined;
7602
7661
  }>]>;
7603
7662
  export type ActionDocument = z.infer<typeof ActionDocument>;
@@ -7607,7 +7666,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7607
7666
  createdAt: z.ZodString;
7608
7667
  createdBy: z.ZodString;
7609
7668
  createdByRole: z.ZodString;
7610
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7669
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7611
7670
  filename: z.ZodString;
7612
7671
  originalFilename: z.ZodString;
7613
7672
  type: z.ZodString;
@@ -7721,7 +7780,7 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7721
7780
  addressLine3?: string | null | undefined;
7722
7781
  postcodeOrZip?: string | null | undefined;
7723
7782
  }>]>>;
7724
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7783
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7725
7784
  filename: z.ZodString;
7726
7785
  originalFilename: z.ZodString;
7727
7786
  type: z.ZodString;
@@ -7835,11 +7894,10 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7835
7894
  addressLine3?: string | null | undefined;
7836
7895
  postcodeOrZip?: string | null | undefined;
7837
7896
  }>]>>>;
7838
- createdAtLocation: z.ZodOptional<z.ZodString>;
7839
- updatedAtLocation: z.ZodOptional<z.ZodString>;
7897
+ createdAtLocation: z.ZodString;
7840
7898
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
7841
7899
  originalActionId: z.ZodOptional<z.ZodString>;
7842
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
7900
+ }, "declaration" | "annotation">, {
7843
7901
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
7844
7902
  status: z.ZodLiteral<"Rejected">;
7845
7903
  }>, "strip", z.ZodTypeAny, {
@@ -7848,7 +7906,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7848
7906
  status: "Rejected";
7849
7907
  transactionId: string;
7850
7908
  createdAt: string;
7851
- updatedAtLocation?: string | undefined;
7909
+ createdBy: string;
7910
+ createdByRole: string;
7911
+ createdAtLocation: string;
7852
7912
  originalActionId?: string | undefined;
7853
7913
  }, {
7854
7914
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -7856,7 +7916,9 @@ export declare const AsyncRejectActionDocument: z.ZodObject<z.objectUtil.extendS
7856
7916
  status: "Rejected";
7857
7917
  transactionId: string;
7858
7918
  createdAt: string;
7859
- updatedAtLocation?: string | undefined;
7919
+ createdBy: string;
7920
+ createdByRole: string;
7921
+ createdAtLocation: string;
7860
7922
  originalActionId?: string | undefined;
7861
7923
  }>;
7862
7924
  export type AsyncRejectActionDocument = z.infer<typeof AsyncRejectActionDocument>;
@@ -7866,7 +7928,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7866
7928
  createdAt: z.ZodString;
7867
7929
  createdBy: z.ZodString;
7868
7930
  createdByRole: z.ZodString;
7869
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7931
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7870
7932
  filename: z.ZodString;
7871
7933
  originalFilename: z.ZodString;
7872
7934
  type: z.ZodString;
@@ -7980,7 +8042,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
7980
8042
  addressLine3?: string | null | undefined;
7981
8043
  postcodeOrZip?: string | null | undefined;
7982
8044
  }>]>>;
7983
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8045
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
7984
8046
  filename: z.ZodString;
7985
8047
  originalFilename: z.ZodString;
7986
8048
  type: z.ZodString;
@@ -8094,8 +8156,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8094
8156
  addressLine3?: string | null | undefined;
8095
8157
  postcodeOrZip?: string | null | undefined;
8096
8158
  }>]>>>;
8097
- createdAtLocation: z.ZodOptional<z.ZodString>;
8098
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8159
+ createdAtLocation: z.ZodString;
8099
8160
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8100
8161
  originalActionId: z.ZodOptional<z.ZodString>;
8101
8162
  }, {
@@ -8145,7 +8206,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8145
8206
  option: string;
8146
8207
  filename: string;
8147
8208
  originalFilename: string;
8148
- }[] | undefined>;
8209
+ }[] | [string, string] | undefined>;
8210
+ createdAtLocation: string;
8149
8211
  annotation?: Record<string, string | number | boolean | {
8150
8212
  type: string;
8151
8213
  filename: string;
@@ -8183,9 +8245,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8183
8245
  option: string;
8184
8246
  filename: string;
8185
8247
  originalFilename: string;
8186
- }[] | undefined> | undefined;
8187
- createdAtLocation?: string | undefined;
8188
- updatedAtLocation?: string | undefined;
8248
+ }[] | [string, string] | undefined> | undefined;
8189
8249
  originalActionId?: string | undefined;
8190
8250
  }, {
8191
8251
  type: "CREATE";
@@ -8232,7 +8292,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8232
8292
  option: string;
8233
8293
  filename: string;
8234
8294
  originalFilename: string;
8235
- }[] | undefined>;
8295
+ }[] | [string, string] | undefined>;
8296
+ createdAtLocation: string;
8236
8297
  annotation?: Record<string, string | number | boolean | {
8237
8298
  type: string;
8238
8299
  filename: string;
@@ -8270,9 +8331,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8270
8331
  option: string;
8271
8332
  filename: string;
8272
8333
  originalFilename: string;
8273
- }[] | undefined> | undefined;
8274
- createdAtLocation?: string | undefined;
8275
- updatedAtLocation?: string | undefined;
8334
+ }[] | [string, string] | undefined> | undefined;
8276
8335
  originalActionId?: string | undefined;
8277
8336
  }>, z.ZodObject<z.objectUtil.extendShape<{
8278
8337
  id: z.ZodString;
@@ -8280,7 +8339,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8280
8339
  createdAt: z.ZodString;
8281
8340
  createdBy: z.ZodString;
8282
8341
  createdByRole: z.ZodString;
8283
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8342
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8284
8343
  filename: z.ZodString;
8285
8344
  originalFilename: z.ZodString;
8286
8345
  type: z.ZodString;
@@ -8394,7 +8453,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8394
8453
  addressLine3?: string | null | undefined;
8395
8454
  postcodeOrZip?: string | null | undefined;
8396
8455
  }>]>>;
8397
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8456
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8398
8457
  filename: z.ZodString;
8399
8458
  originalFilename: z.ZodString;
8400
8459
  type: z.ZodString;
@@ -8508,8 +8567,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8508
8567
  addressLine3?: string | null | undefined;
8509
8568
  postcodeOrZip?: string | null | undefined;
8510
8569
  }>]>>>;
8511
- createdAtLocation: z.ZodOptional<z.ZodString>;
8512
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8570
+ createdAtLocation: z.ZodString;
8513
8571
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8514
8572
  originalActionId: z.ZodOptional<z.ZodString>;
8515
8573
  }, {
@@ -8559,7 +8617,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8559
8617
  option: string;
8560
8618
  filename: string;
8561
8619
  originalFilename: string;
8562
- }[] | undefined>;
8620
+ }[] | [string, string] | undefined>;
8621
+ createdAtLocation: string;
8563
8622
  annotation?: Record<string, string | number | boolean | {
8564
8623
  type: string;
8565
8624
  filename: string;
@@ -8597,9 +8656,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8597
8656
  option: string;
8598
8657
  filename: string;
8599
8658
  originalFilename: string;
8600
- }[] | undefined> | undefined;
8601
- createdAtLocation?: string | undefined;
8602
- updatedAtLocation?: string | undefined;
8659
+ }[] | [string, string] | undefined> | undefined;
8603
8660
  originalActionId?: string | undefined;
8604
8661
  }, {
8605
8662
  type: "VALIDATE";
@@ -8646,7 +8703,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8646
8703
  option: string;
8647
8704
  filename: string;
8648
8705
  originalFilename: string;
8649
- }[] | undefined>;
8706
+ }[] | [string, string] | undefined>;
8707
+ createdAtLocation: string;
8650
8708
  annotation?: Record<string, string | number | boolean | {
8651
8709
  type: string;
8652
8710
  filename: string;
@@ -8684,9 +8742,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8684
8742
  option: string;
8685
8743
  filename: string;
8686
8744
  originalFilename: string;
8687
- }[] | undefined> | undefined;
8688
- createdAtLocation?: string | undefined;
8689
- updatedAtLocation?: string | undefined;
8745
+ }[] | [string, string] | undefined> | undefined;
8690
8746
  originalActionId?: string | undefined;
8691
8747
  }>, z.ZodObject<z.objectUtil.extendShape<{
8692
8748
  id: z.ZodString;
@@ -8694,7 +8750,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8694
8750
  createdAt: z.ZodString;
8695
8751
  createdBy: z.ZodString;
8696
8752
  createdByRole: z.ZodString;
8697
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8753
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8698
8754
  filename: z.ZodString;
8699
8755
  originalFilename: z.ZodString;
8700
8756
  type: z.ZodString;
@@ -8808,7 +8864,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8808
8864
  addressLine3?: string | null | undefined;
8809
8865
  postcodeOrZip?: string | null | undefined;
8810
8866
  }>]>>;
8811
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8867
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
8812
8868
  filename: z.ZodString;
8813
8869
  originalFilename: z.ZodString;
8814
8870
  type: z.ZodString;
@@ -8922,8 +8978,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8922
8978
  addressLine3?: string | null | undefined;
8923
8979
  postcodeOrZip?: string | null | undefined;
8924
8980
  }>]>>>;
8925
- createdAtLocation: z.ZodOptional<z.ZodString>;
8926
- updatedAtLocation: z.ZodOptional<z.ZodString>;
8981
+ createdAtLocation: z.ZodString;
8927
8982
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
8928
8983
  originalActionId: z.ZodOptional<z.ZodString>;
8929
8984
  }, {
@@ -8973,7 +9028,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
8973
9028
  option: string;
8974
9029
  filename: string;
8975
9030
  originalFilename: string;
8976
- }[] | undefined>;
9031
+ }[] | [string, string] | undefined>;
9032
+ createdAtLocation: string;
8977
9033
  annotation?: Record<string, string | number | boolean | {
8978
9034
  type: string;
8979
9035
  filename: string;
@@ -9011,9 +9067,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9011
9067
  option: string;
9012
9068
  filename: string;
9013
9069
  originalFilename: string;
9014
- }[] | undefined> | undefined;
9015
- createdAtLocation?: string | undefined;
9016
- updatedAtLocation?: string | undefined;
9070
+ }[] | [string, string] | undefined> | undefined;
9017
9071
  originalActionId?: string | undefined;
9018
9072
  }, {
9019
9073
  type: "REJECT";
@@ -9060,7 +9114,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9060
9114
  option: string;
9061
9115
  filename: string;
9062
9116
  originalFilename: string;
9063
- }[] | undefined>;
9117
+ }[] | [string, string] | undefined>;
9118
+ createdAtLocation: string;
9064
9119
  annotation?: Record<string, string | number | boolean | {
9065
9120
  type: string;
9066
9121
  filename: string;
@@ -9098,9 +9153,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9098
9153
  option: string;
9099
9154
  filename: string;
9100
9155
  originalFilename: string;
9101
- }[] | undefined> | undefined;
9102
- createdAtLocation?: string | undefined;
9103
- updatedAtLocation?: string | undefined;
9156
+ }[] | [string, string] | undefined> | undefined;
9104
9157
  originalActionId?: string | undefined;
9105
9158
  }>, z.ZodObject<z.objectUtil.extendShape<{
9106
9159
  id: z.ZodString;
@@ -9108,7 +9161,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9108
9161
  createdAt: z.ZodString;
9109
9162
  createdBy: z.ZodString;
9110
9163
  createdByRole: z.ZodString;
9111
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9164
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9112
9165
  filename: z.ZodString;
9113
9166
  originalFilename: z.ZodString;
9114
9167
  type: z.ZodString;
@@ -9222,7 +9275,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9222
9275
  addressLine3?: string | null | undefined;
9223
9276
  postcodeOrZip?: string | null | undefined;
9224
9277
  }>]>>;
9225
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9278
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9226
9279
  filename: z.ZodString;
9227
9280
  originalFilename: z.ZodString;
9228
9281
  type: z.ZodString;
@@ -9336,8 +9389,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9336
9389
  addressLine3?: string | null | undefined;
9337
9390
  postcodeOrZip?: string | null | undefined;
9338
9391
  }>]>>>;
9339
- createdAtLocation: z.ZodOptional<z.ZodString>;
9340
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9392
+ createdAtLocation: z.ZodString;
9341
9393
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9342
9394
  originalActionId: z.ZodOptional<z.ZodString>;
9343
9395
  }, {
@@ -9387,7 +9439,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9387
9439
  option: string;
9388
9440
  filename: string;
9389
9441
  originalFilename: string;
9390
- }[] | undefined>;
9442
+ }[] | [string, string] | undefined>;
9443
+ createdAtLocation: string;
9391
9444
  annotation?: Record<string, string | number | boolean | {
9392
9445
  type: string;
9393
9446
  filename: string;
@@ -9425,9 +9478,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9425
9478
  option: string;
9426
9479
  filename: string;
9427
9480
  originalFilename: string;
9428
- }[] | undefined> | undefined;
9429
- createdAtLocation?: string | undefined;
9430
- updatedAtLocation?: string | undefined;
9481
+ }[] | [string, string] | undefined> | undefined;
9431
9482
  originalActionId?: string | undefined;
9432
9483
  }, {
9433
9484
  type: "MARKED_AS_DUPLICATE";
@@ -9474,7 +9525,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9474
9525
  option: string;
9475
9526
  filename: string;
9476
9527
  originalFilename: string;
9477
- }[] | undefined>;
9528
+ }[] | [string, string] | undefined>;
9529
+ createdAtLocation: string;
9478
9530
  annotation?: Record<string, string | number | boolean | {
9479
9531
  type: string;
9480
9532
  filename: string;
@@ -9512,9 +9564,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9512
9564
  option: string;
9513
9565
  filename: string;
9514
9566
  originalFilename: string;
9515
- }[] | undefined> | undefined;
9516
- createdAtLocation?: string | undefined;
9517
- updatedAtLocation?: string | undefined;
9567
+ }[] | [string, string] | undefined> | undefined;
9518
9568
  originalActionId?: string | undefined;
9519
9569
  }>, z.ZodObject<z.objectUtil.extendShape<{
9520
9570
  id: z.ZodString;
@@ -9522,7 +9572,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9522
9572
  createdAt: z.ZodString;
9523
9573
  createdBy: z.ZodString;
9524
9574
  createdByRole: z.ZodString;
9525
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9575
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9526
9576
  filename: z.ZodString;
9527
9577
  originalFilename: z.ZodString;
9528
9578
  type: z.ZodString;
@@ -9636,7 +9686,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9636
9686
  addressLine3?: string | null | undefined;
9637
9687
  postcodeOrZip?: string | null | undefined;
9638
9688
  }>]>>;
9639
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9689
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9640
9690
  filename: z.ZodString;
9641
9691
  originalFilename: z.ZodString;
9642
9692
  type: z.ZodString;
@@ -9750,8 +9800,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9750
9800
  addressLine3?: string | null | undefined;
9751
9801
  postcodeOrZip?: string | null | undefined;
9752
9802
  }>]>>>;
9753
- createdAtLocation: z.ZodOptional<z.ZodString>;
9754
- updatedAtLocation: z.ZodOptional<z.ZodString>;
9803
+ createdAtLocation: z.ZodString;
9755
9804
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
9756
9805
  originalActionId: z.ZodOptional<z.ZodString>;
9757
9806
  }, {
@@ -9801,7 +9850,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9801
9850
  option: string;
9802
9851
  filename: string;
9803
9852
  originalFilename: string;
9804
- }[] | undefined>;
9853
+ }[] | [string, string] | undefined>;
9854
+ createdAtLocation: string;
9805
9855
  annotation?: Record<string, string | number | boolean | {
9806
9856
  type: string;
9807
9857
  filename: string;
@@ -9839,9 +9889,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9839
9889
  option: string;
9840
9890
  filename: string;
9841
9891
  originalFilename: string;
9842
- }[] | undefined> | undefined;
9843
- createdAtLocation?: string | undefined;
9844
- updatedAtLocation?: string | undefined;
9892
+ }[] | [string, string] | undefined> | undefined;
9845
9893
  originalActionId?: string | undefined;
9846
9894
  }, {
9847
9895
  type: "ARCHIVE";
@@ -9888,7 +9936,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9888
9936
  option: string;
9889
9937
  filename: string;
9890
9938
  originalFilename: string;
9891
- }[] | undefined>;
9939
+ }[] | [string, string] | undefined>;
9940
+ createdAtLocation: string;
9892
9941
  annotation?: Record<string, string | number | boolean | {
9893
9942
  type: string;
9894
9943
  filename: string;
@@ -9926,9 +9975,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9926
9975
  option: string;
9927
9976
  filename: string;
9928
9977
  originalFilename: string;
9929
- }[] | undefined> | undefined;
9930
- createdAtLocation?: string | undefined;
9931
- updatedAtLocation?: string | undefined;
9978
+ }[] | [string, string] | undefined> | undefined;
9932
9979
  originalActionId?: string | undefined;
9933
9980
  }>, z.ZodObject<z.objectUtil.extendShape<{
9934
9981
  id: z.ZodString;
@@ -9936,7 +9983,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
9936
9983
  createdAt: z.ZodString;
9937
9984
  createdBy: z.ZodString;
9938
9985
  createdByRole: z.ZodString;
9939
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9986
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
9940
9987
  filename: z.ZodString;
9941
9988
  originalFilename: z.ZodString;
9942
9989
  type: z.ZodString;
@@ -10050,7 +10097,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10050
10097
  addressLine3?: string | null | undefined;
10051
10098
  postcodeOrZip?: string | null | undefined;
10052
10099
  }>]>>;
10053
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10100
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10054
10101
  filename: z.ZodString;
10055
10102
  originalFilename: z.ZodString;
10056
10103
  type: z.ZodString;
@@ -10164,8 +10211,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10164
10211
  addressLine3?: string | null | undefined;
10165
10212
  postcodeOrZip?: string | null | undefined;
10166
10213
  }>]>>>;
10167
- createdAtLocation: z.ZodOptional<z.ZodString>;
10168
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10214
+ createdAtLocation: z.ZodString;
10169
10215
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10170
10216
  originalActionId: z.ZodOptional<z.ZodString>;
10171
10217
  }, {
@@ -10215,7 +10261,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10215
10261
  option: string;
10216
10262
  filename: string;
10217
10263
  originalFilename: string;
10218
- }[] | undefined>;
10264
+ }[] | [string, string] | undefined>;
10265
+ createdAtLocation: string;
10219
10266
  annotation?: Record<string, string | number | boolean | {
10220
10267
  type: string;
10221
10268
  filename: string;
@@ -10253,9 +10300,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10253
10300
  option: string;
10254
10301
  filename: string;
10255
10302
  originalFilename: string;
10256
- }[] | undefined> | undefined;
10257
- createdAtLocation?: string | undefined;
10258
- updatedAtLocation?: string | undefined;
10303
+ }[] | [string, string] | undefined> | undefined;
10259
10304
  originalActionId?: string | undefined;
10260
10305
  }, {
10261
10306
  type: "NOTIFY";
@@ -10302,7 +10347,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10302
10347
  option: string;
10303
10348
  filename: string;
10304
10349
  originalFilename: string;
10305
- }[] | undefined>;
10350
+ }[] | [string, string] | undefined>;
10351
+ createdAtLocation: string;
10306
10352
  annotation?: Record<string, string | number | boolean | {
10307
10353
  type: string;
10308
10354
  filename: string;
@@ -10340,9 +10386,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10340
10386
  option: string;
10341
10387
  filename: string;
10342
10388
  originalFilename: string;
10343
- }[] | undefined> | undefined;
10344
- createdAtLocation?: string | undefined;
10345
- updatedAtLocation?: string | undefined;
10389
+ }[] | [string, string] | undefined> | undefined;
10346
10390
  originalActionId?: string | undefined;
10347
10391
  }>, z.ZodObject<z.objectUtil.extendShape<{
10348
10392
  id: z.ZodString;
@@ -10350,7 +10394,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10350
10394
  createdAt: z.ZodString;
10351
10395
  createdBy: z.ZodString;
10352
10396
  createdByRole: z.ZodString;
10353
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10397
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10354
10398
  filename: z.ZodString;
10355
10399
  originalFilename: z.ZodString;
10356
10400
  type: z.ZodString;
@@ -10464,7 +10508,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10464
10508
  addressLine3?: string | null | undefined;
10465
10509
  postcodeOrZip?: string | null | undefined;
10466
10510
  }>]>>;
10467
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10511
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10468
10512
  filename: z.ZodString;
10469
10513
  originalFilename: z.ZodString;
10470
10514
  type: z.ZodString;
@@ -10578,8 +10622,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10578
10622
  addressLine3?: string | null | undefined;
10579
10623
  postcodeOrZip?: string | null | undefined;
10580
10624
  }>]>>>;
10581
- createdAtLocation: z.ZodOptional<z.ZodString>;
10582
- updatedAtLocation: z.ZodOptional<z.ZodString>;
10625
+ createdAtLocation: z.ZodString;
10583
10626
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
10584
10627
  originalActionId: z.ZodOptional<z.ZodString>;
10585
10628
  }, {
@@ -10630,7 +10673,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10630
10673
  option: string;
10631
10674
  filename: string;
10632
10675
  originalFilename: string;
10633
- }[] | undefined>;
10676
+ }[] | [string, string] | undefined>;
10677
+ createdAtLocation: string;
10634
10678
  annotation?: Record<string, string | number | boolean | {
10635
10679
  type: string;
10636
10680
  filename: string;
@@ -10668,9 +10712,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10668
10712
  option: string;
10669
10713
  filename: string;
10670
10714
  originalFilename: string;
10671
- }[] | undefined> | undefined;
10672
- createdAtLocation?: string | undefined;
10673
- updatedAtLocation?: string | undefined;
10715
+ }[] | [string, string] | undefined> | undefined;
10674
10716
  originalActionId?: string | undefined;
10675
10717
  registrationNumber?: string | undefined;
10676
10718
  }, {
@@ -10718,7 +10760,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10718
10760
  option: string;
10719
10761
  filename: string;
10720
10762
  originalFilename: string;
10721
- }[] | undefined>;
10763
+ }[] | [string, string] | undefined>;
10764
+ createdAtLocation: string;
10722
10765
  annotation?: Record<string, string | number | boolean | {
10723
10766
  type: string;
10724
10767
  filename: string;
@@ -10756,9 +10799,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10756
10799
  option: string;
10757
10800
  filename: string;
10758
10801
  originalFilename: string;
10759
- }[] | undefined> | undefined;
10760
- createdAtLocation?: string | undefined;
10761
- updatedAtLocation?: string | undefined;
10802
+ }[] | [string, string] | undefined> | undefined;
10762
10803
  originalActionId?: string | undefined;
10763
10804
  registrationNumber?: string | undefined;
10764
10805
  }>, z.ZodObject<z.objectUtil.extendShape<{
@@ -10767,7 +10808,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10767
10808
  createdAt: z.ZodString;
10768
10809
  createdBy: z.ZodString;
10769
10810
  createdByRole: z.ZodString;
10770
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10811
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10771
10812
  filename: z.ZodString;
10772
10813
  originalFilename: z.ZodString;
10773
10814
  type: z.ZodString;
@@ -10881,7 +10922,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10881
10922
  addressLine3?: string | null | undefined;
10882
10923
  postcodeOrZip?: string | null | undefined;
10883
10924
  }>]>>;
10884
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10925
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
10885
10926
  filename: z.ZodString;
10886
10927
  originalFilename: z.ZodString;
10887
10928
  type: z.ZodString;
@@ -10995,8 +11036,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
10995
11036
  addressLine3?: string | null | undefined;
10996
11037
  postcodeOrZip?: string | null | undefined;
10997
11038
  }>]>>>;
10998
- createdAtLocation: z.ZodOptional<z.ZodString>;
10999
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11039
+ createdAtLocation: z.ZodString;
11000
11040
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11001
11041
  originalActionId: z.ZodOptional<z.ZodString>;
11002
11042
  }, {
@@ -11046,7 +11086,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11046
11086
  option: string;
11047
11087
  filename: string;
11048
11088
  originalFilename: string;
11049
- }[] | undefined>;
11089
+ }[] | [string, string] | undefined>;
11090
+ createdAtLocation: string;
11050
11091
  annotation?: Record<string, string | number | boolean | {
11051
11092
  type: string;
11052
11093
  filename: string;
@@ -11084,9 +11125,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11084
11125
  option: string;
11085
11126
  filename: string;
11086
11127
  originalFilename: string;
11087
- }[] | undefined> | undefined;
11088
- createdAtLocation?: string | undefined;
11089
- updatedAtLocation?: string | undefined;
11128
+ }[] | [string, string] | undefined> | undefined;
11090
11129
  originalActionId?: string | undefined;
11091
11130
  }, {
11092
11131
  type: "DECLARE";
@@ -11133,7 +11172,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11133
11172
  option: string;
11134
11173
  filename: string;
11135
11174
  originalFilename: string;
11136
- }[] | undefined>;
11175
+ }[] | [string, string] | undefined>;
11176
+ createdAtLocation: string;
11137
11177
  annotation?: Record<string, string | number | boolean | {
11138
11178
  type: string;
11139
11179
  filename: string;
@@ -11171,9 +11211,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11171
11211
  option: string;
11172
11212
  filename: string;
11173
11213
  originalFilename: string;
11174
- }[] | undefined> | undefined;
11175
- createdAtLocation?: string | undefined;
11176
- updatedAtLocation?: string | undefined;
11214
+ }[] | [string, string] | undefined> | undefined;
11177
11215
  originalActionId?: string | undefined;
11178
11216
  }>, z.ZodObject<z.objectUtil.extendShape<{
11179
11217
  id: z.ZodString;
@@ -11181,7 +11219,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11181
11219
  createdAt: z.ZodString;
11182
11220
  createdBy: z.ZodString;
11183
11221
  createdByRole: z.ZodString;
11184
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11222
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11185
11223
  filename: z.ZodString;
11186
11224
  originalFilename: z.ZodString;
11187
11225
  type: z.ZodString;
@@ -11295,7 +11333,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11295
11333
  addressLine3?: string | null | undefined;
11296
11334
  postcodeOrZip?: string | null | undefined;
11297
11335
  }>]>>;
11298
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11336
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11299
11337
  filename: z.ZodString;
11300
11338
  originalFilename: z.ZodString;
11301
11339
  type: z.ZodString;
@@ -11409,8 +11447,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11409
11447
  addressLine3?: string | null | undefined;
11410
11448
  postcodeOrZip?: string | null | undefined;
11411
11449
  }>]>>>;
11412
- createdAtLocation: z.ZodOptional<z.ZodString>;
11413
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11450
+ createdAtLocation: z.ZodString;
11414
11451
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11415
11452
  originalActionId: z.ZodOptional<z.ZodString>;
11416
11453
  }, {
@@ -11461,7 +11498,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11461
11498
  option: string;
11462
11499
  filename: string;
11463
11500
  originalFilename: string;
11464
- }[] | undefined>;
11501
+ }[] | [string, string] | undefined>;
11502
+ createdAtLocation: string;
11465
11503
  assignedTo: string;
11466
11504
  annotation?: Record<string, string | number | boolean | {
11467
11505
  type: string;
@@ -11500,9 +11538,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11500
11538
  option: string;
11501
11539
  filename: string;
11502
11540
  originalFilename: string;
11503
- }[] | undefined> | undefined;
11504
- createdAtLocation?: string | undefined;
11505
- updatedAtLocation?: string | undefined;
11541
+ }[] | [string, string] | undefined> | undefined;
11506
11542
  originalActionId?: string | undefined;
11507
11543
  }, {
11508
11544
  type: "ASSIGN";
@@ -11549,7 +11585,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11549
11585
  option: string;
11550
11586
  filename: string;
11551
11587
  originalFilename: string;
11552
- }[] | undefined>;
11588
+ }[] | [string, string] | undefined>;
11589
+ createdAtLocation: string;
11553
11590
  assignedTo: string;
11554
11591
  annotation?: Record<string, string | number | boolean | {
11555
11592
  type: string;
@@ -11588,9 +11625,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11588
11625
  option: string;
11589
11626
  filename: string;
11590
11627
  originalFilename: string;
11591
- }[] | undefined> | undefined;
11592
- createdAtLocation?: string | undefined;
11593
- updatedAtLocation?: string | undefined;
11628
+ }[] | [string, string] | undefined> | undefined;
11594
11629
  originalActionId?: string | undefined;
11595
11630
  }>, z.ZodObject<z.objectUtil.extendShape<{
11596
11631
  id: z.ZodString;
@@ -11598,7 +11633,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11598
11633
  createdAt: z.ZodString;
11599
11634
  createdBy: z.ZodString;
11600
11635
  createdByRole: z.ZodString;
11601
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11636
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11602
11637
  filename: z.ZodString;
11603
11638
  originalFilename: z.ZodString;
11604
11639
  type: z.ZodString;
@@ -11712,7 +11747,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11712
11747
  addressLine3?: string | null | undefined;
11713
11748
  postcodeOrZip?: string | null | undefined;
11714
11749
  }>]>>;
11715
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11750
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
11716
11751
  filename: z.ZodString;
11717
11752
  originalFilename: z.ZodString;
11718
11753
  type: z.ZodString;
@@ -11826,8 +11861,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11826
11861
  addressLine3?: string | null | undefined;
11827
11862
  postcodeOrZip?: string | null | undefined;
11828
11863
  }>]>>>;
11829
- createdAtLocation: z.ZodOptional<z.ZodString>;
11830
- updatedAtLocation: z.ZodOptional<z.ZodString>;
11864
+ createdAtLocation: z.ZodString;
11831
11865
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
11832
11866
  originalActionId: z.ZodOptional<z.ZodString>;
11833
11867
  }, {
@@ -11877,7 +11911,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11877
11911
  option: string;
11878
11912
  filename: string;
11879
11913
  originalFilename: string;
11880
- }[] | undefined>;
11914
+ }[] | [string, string] | undefined>;
11915
+ createdAtLocation: string;
11881
11916
  annotation?: Record<string, string | number | boolean | {
11882
11917
  type: string;
11883
11918
  filename: string;
@@ -11915,9 +11950,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11915
11950
  option: string;
11916
11951
  filename: string;
11917
11952
  originalFilename: string;
11918
- }[] | undefined> | undefined;
11919
- createdAtLocation?: string | undefined;
11920
- updatedAtLocation?: string | undefined;
11953
+ }[] | [string, string] | undefined> | undefined;
11921
11954
  originalActionId?: string | undefined;
11922
11955
  }, {
11923
11956
  type: "REQUEST_CORRECTION";
@@ -11964,7 +11997,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
11964
11997
  option: string;
11965
11998
  filename: string;
11966
11999
  originalFilename: string;
11967
- }[] | undefined>;
12000
+ }[] | [string, string] | undefined>;
12001
+ createdAtLocation: string;
11968
12002
  annotation?: Record<string, string | number | boolean | {
11969
12003
  type: string;
11970
12004
  filename: string;
@@ -12002,9 +12036,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12002
12036
  option: string;
12003
12037
  filename: string;
12004
12038
  originalFilename: string;
12005
- }[] | undefined> | undefined;
12006
- createdAtLocation?: string | undefined;
12007
- updatedAtLocation?: string | undefined;
12039
+ }[] | [string, string] | undefined> | undefined;
12008
12040
  originalActionId?: string | undefined;
12009
12041
  }>, z.ZodObject<z.objectUtil.extendShape<{
12010
12042
  id: z.ZodString;
@@ -12012,7 +12044,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12012
12044
  createdAt: z.ZodString;
12013
12045
  createdBy: z.ZodString;
12014
12046
  createdByRole: z.ZodString;
12015
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12047
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12016
12048
  filename: z.ZodString;
12017
12049
  originalFilename: z.ZodString;
12018
12050
  type: z.ZodString;
@@ -12126,7 +12158,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12126
12158
  addressLine3?: string | null | undefined;
12127
12159
  postcodeOrZip?: string | null | undefined;
12128
12160
  }>]>>;
12129
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12161
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12130
12162
  filename: z.ZodString;
12131
12163
  originalFilename: z.ZodString;
12132
12164
  type: z.ZodString;
@@ -12240,8 +12272,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12240
12272
  addressLine3?: string | null | undefined;
12241
12273
  postcodeOrZip?: string | null | undefined;
12242
12274
  }>]>>>;
12243
- createdAtLocation: z.ZodOptional<z.ZodString>;
12244
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12275
+ createdAtLocation: z.ZodString;
12245
12276
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12246
12277
  originalActionId: z.ZodOptional<z.ZodString>;
12247
12278
  }, {
@@ -12292,7 +12323,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12292
12323
  option: string;
12293
12324
  filename: string;
12294
12325
  originalFilename: string;
12295
- }[] | undefined>;
12326
+ }[] | [string, string] | undefined>;
12327
+ createdAtLocation: string;
12296
12328
  requestId: string;
12297
12329
  annotation?: Record<string, string | number | boolean | {
12298
12330
  type: string;
@@ -12331,9 +12363,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12331
12363
  option: string;
12332
12364
  filename: string;
12333
12365
  originalFilename: string;
12334
- }[] | undefined> | undefined;
12335
- createdAtLocation?: string | undefined;
12336
- updatedAtLocation?: string | undefined;
12366
+ }[] | [string, string] | undefined> | undefined;
12337
12367
  originalActionId?: string | undefined;
12338
12368
  }, {
12339
12369
  type: "APPROVE_CORRECTION";
@@ -12380,7 +12410,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12380
12410
  option: string;
12381
12411
  filename: string;
12382
12412
  originalFilename: string;
12383
- }[] | undefined>;
12413
+ }[] | [string, string] | undefined>;
12414
+ createdAtLocation: string;
12384
12415
  requestId: string;
12385
12416
  annotation?: Record<string, string | number | boolean | {
12386
12417
  type: string;
@@ -12419,9 +12450,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12419
12450
  option: string;
12420
12451
  filename: string;
12421
12452
  originalFilename: string;
12422
- }[] | undefined> | undefined;
12423
- createdAtLocation?: string | undefined;
12424
- updatedAtLocation?: string | undefined;
12453
+ }[] | [string, string] | undefined> | undefined;
12425
12454
  originalActionId?: string | undefined;
12426
12455
  }>, z.ZodObject<z.objectUtil.extendShape<{
12427
12456
  id: z.ZodString;
@@ -12429,7 +12458,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12429
12458
  createdAt: z.ZodString;
12430
12459
  createdBy: z.ZodString;
12431
12460
  createdByRole: z.ZodString;
12432
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12461
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12433
12462
  filename: z.ZodString;
12434
12463
  originalFilename: z.ZodString;
12435
12464
  type: z.ZodString;
@@ -12543,7 +12572,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12543
12572
  addressLine3?: string | null | undefined;
12544
12573
  postcodeOrZip?: string | null | undefined;
12545
12574
  }>]>>;
12546
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12575
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12547
12576
  filename: z.ZodString;
12548
12577
  originalFilename: z.ZodString;
12549
12578
  type: z.ZodString;
@@ -12657,8 +12686,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12657
12686
  addressLine3?: string | null | undefined;
12658
12687
  postcodeOrZip?: string | null | undefined;
12659
12688
  }>]>>>;
12660
- createdAtLocation: z.ZodOptional<z.ZodString>;
12661
- updatedAtLocation: z.ZodOptional<z.ZodString>;
12689
+ createdAtLocation: z.ZodString;
12662
12690
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
12663
12691
  originalActionId: z.ZodOptional<z.ZodString>;
12664
12692
  }, {
@@ -12709,7 +12737,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12709
12737
  option: string;
12710
12738
  filename: string;
12711
12739
  originalFilename: string;
12712
- }[] | undefined>;
12740
+ }[] | [string, string] | undefined>;
12741
+ createdAtLocation: string;
12713
12742
  requestId: string;
12714
12743
  annotation?: Record<string, string | number | boolean | {
12715
12744
  type: string;
@@ -12748,9 +12777,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12748
12777
  option: string;
12749
12778
  filename: string;
12750
12779
  originalFilename: string;
12751
- }[] | undefined> | undefined;
12752
- createdAtLocation?: string | undefined;
12753
- updatedAtLocation?: string | undefined;
12780
+ }[] | [string, string] | undefined> | undefined;
12754
12781
  originalActionId?: string | undefined;
12755
12782
  }, {
12756
12783
  type: "REJECT_CORRECTION";
@@ -12797,7 +12824,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12797
12824
  option: string;
12798
12825
  filename: string;
12799
12826
  originalFilename: string;
12800
- }[] | undefined>;
12827
+ }[] | [string, string] | undefined>;
12828
+ createdAtLocation: string;
12801
12829
  requestId: string;
12802
12830
  annotation?: Record<string, string | number | boolean | {
12803
12831
  type: string;
@@ -12836,9 +12864,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12836
12864
  option: string;
12837
12865
  filename: string;
12838
12866
  originalFilename: string;
12839
- }[] | undefined> | undefined;
12840
- createdAtLocation?: string | undefined;
12841
- updatedAtLocation?: string | undefined;
12867
+ }[] | [string, string] | undefined> | undefined;
12842
12868
  originalActionId?: string | undefined;
12843
12869
  }>, z.ZodObject<z.objectUtil.extendShape<{
12844
12870
  id: z.ZodString;
@@ -12846,7 +12872,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12846
12872
  createdAt: z.ZodString;
12847
12873
  createdBy: z.ZodString;
12848
12874
  createdByRole: z.ZodString;
12849
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12875
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12850
12876
  filename: z.ZodString;
12851
12877
  originalFilename: z.ZodString;
12852
12878
  type: z.ZodString;
@@ -12960,7 +12986,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
12960
12986
  addressLine3?: string | null | undefined;
12961
12987
  postcodeOrZip?: string | null | undefined;
12962
12988
  }>]>>;
12963
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12989
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
12964
12990
  filename: z.ZodString;
12965
12991
  originalFilename: z.ZodString;
12966
12992
  type: z.ZodString;
@@ -13074,8 +13100,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13074
13100
  addressLine3?: string | null | undefined;
13075
13101
  postcodeOrZip?: string | null | undefined;
13076
13102
  }>]>>>;
13077
- createdAtLocation: z.ZodOptional<z.ZodString>;
13078
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13103
+ createdAtLocation: z.ZodString;
13079
13104
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13080
13105
  originalActionId: z.ZodOptional<z.ZodString>;
13081
13106
  }, {
@@ -13126,7 +13151,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13126
13151
  option: string;
13127
13152
  filename: string;
13128
13153
  originalFilename: string;
13129
- }[] | undefined>;
13154
+ }[] | [string, string] | undefined>;
13155
+ createdAtLocation: string;
13130
13156
  assignedTo: null;
13131
13157
  annotation?: Record<string, string | number | boolean | {
13132
13158
  type: string;
@@ -13165,9 +13191,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13165
13191
  option: string;
13166
13192
  filename: string;
13167
13193
  originalFilename: string;
13168
- }[] | undefined> | undefined;
13169
- createdAtLocation?: string | undefined;
13170
- updatedAtLocation?: string | undefined;
13194
+ }[] | [string, string] | undefined> | undefined;
13171
13195
  originalActionId?: string | undefined;
13172
13196
  }, {
13173
13197
  type: "UNASSIGN";
@@ -13214,7 +13238,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13214
13238
  option: string;
13215
13239
  filename: string;
13216
13240
  originalFilename: string;
13217
- }[] | undefined>;
13241
+ }[] | [string, string] | undefined>;
13242
+ createdAtLocation: string;
13218
13243
  assignedTo: null;
13219
13244
  annotation?: Record<string, string | number | boolean | {
13220
13245
  type: string;
@@ -13253,9 +13278,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13253
13278
  option: string;
13254
13279
  filename: string;
13255
13280
  originalFilename: string;
13256
- }[] | undefined> | undefined;
13257
- createdAtLocation?: string | undefined;
13258
- updatedAtLocation?: string | undefined;
13281
+ }[] | [string, string] | undefined> | undefined;
13259
13282
  originalActionId?: string | undefined;
13260
13283
  }>, z.ZodObject<z.objectUtil.extendShape<{
13261
13284
  id: z.ZodString;
@@ -13263,7 +13286,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13263
13286
  createdAt: z.ZodString;
13264
13287
  createdBy: z.ZodString;
13265
13288
  createdByRole: z.ZodString;
13266
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13289
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13267
13290
  filename: z.ZodString;
13268
13291
  originalFilename: z.ZodString;
13269
13292
  type: z.ZodString;
@@ -13377,7 +13400,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13377
13400
  addressLine3?: string | null | undefined;
13378
13401
  postcodeOrZip?: string | null | undefined;
13379
13402
  }>]>>;
13380
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13403
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13381
13404
  filename: z.ZodString;
13382
13405
  originalFilename: z.ZodString;
13383
13406
  type: z.ZodString;
@@ -13491,8 +13514,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13491
13514
  addressLine3?: string | null | undefined;
13492
13515
  postcodeOrZip?: string | null | undefined;
13493
13516
  }>]>>>;
13494
- createdAtLocation: z.ZodOptional<z.ZodString>;
13495
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13517
+ createdAtLocation: z.ZodString;
13496
13518
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13497
13519
  originalActionId: z.ZodOptional<z.ZodString>;
13498
13520
  }, {
@@ -13542,7 +13564,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13542
13564
  option: string;
13543
13565
  filename: string;
13544
13566
  originalFilename: string;
13545
- }[] | undefined>;
13567
+ }[] | [string, string] | undefined>;
13568
+ createdAtLocation: string;
13546
13569
  annotation?: Record<string, string | number | boolean | {
13547
13570
  type: string;
13548
13571
  filename: string;
@@ -13580,9 +13603,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13580
13603
  option: string;
13581
13604
  filename: string;
13582
13605
  originalFilename: string;
13583
- }[] | undefined> | undefined;
13584
- createdAtLocation?: string | undefined;
13585
- updatedAtLocation?: string | undefined;
13606
+ }[] | [string, string] | undefined> | undefined;
13586
13607
  originalActionId?: string | undefined;
13587
13608
  }, {
13588
13609
  type: "PRINT_CERTIFICATE";
@@ -13629,7 +13650,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13629
13650
  option: string;
13630
13651
  filename: string;
13631
13652
  originalFilename: string;
13632
- }[] | undefined>;
13653
+ }[] | [string, string] | undefined>;
13654
+ createdAtLocation: string;
13633
13655
  annotation?: Record<string, string | number | boolean | {
13634
13656
  type: string;
13635
13657
  filename: string;
@@ -13667,9 +13689,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13667
13689
  option: string;
13668
13690
  filename: string;
13669
13691
  originalFilename: string;
13670
- }[] | undefined> | undefined;
13671
- createdAtLocation?: string | undefined;
13672
- updatedAtLocation?: string | undefined;
13692
+ }[] | [string, string] | undefined> | undefined;
13673
13693
  originalActionId?: string | undefined;
13674
13694
  }>, z.ZodObject<z.objectUtil.extendShape<{
13675
13695
  id: z.ZodString;
@@ -13677,7 +13697,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13677
13697
  createdAt: z.ZodString;
13678
13698
  createdBy: z.ZodString;
13679
13699
  createdByRole: z.ZodString;
13680
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13700
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13681
13701
  filename: z.ZodString;
13682
13702
  originalFilename: z.ZodString;
13683
13703
  type: z.ZodString;
@@ -13791,7 +13811,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13791
13811
  addressLine3?: string | null | undefined;
13792
13812
  postcodeOrZip?: string | null | undefined;
13793
13813
  }>]>>;
13794
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13814
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
13795
13815
  filename: z.ZodString;
13796
13816
  originalFilename: z.ZodString;
13797
13817
  type: z.ZodString;
@@ -13905,8 +13925,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13905
13925
  addressLine3?: string | null | undefined;
13906
13926
  postcodeOrZip?: string | null | undefined;
13907
13927
  }>]>>>;
13908
- createdAtLocation: z.ZodOptional<z.ZodString>;
13909
- updatedAtLocation: z.ZodOptional<z.ZodString>;
13928
+ createdAtLocation: z.ZodString;
13910
13929
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
13911
13930
  originalActionId: z.ZodOptional<z.ZodString>;
13912
13931
  }, {
@@ -13956,7 +13975,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13956
13975
  option: string;
13957
13976
  filename: string;
13958
13977
  originalFilename: string;
13959
- }[] | undefined>;
13978
+ }[] | [string, string] | undefined>;
13979
+ createdAtLocation: string;
13960
13980
  annotation?: Record<string, string | number | boolean | {
13961
13981
  type: string;
13962
13982
  filename: string;
@@ -13994,9 +14014,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
13994
14014
  option: string;
13995
14015
  filename: string;
13996
14016
  originalFilename: string;
13997
- }[] | undefined> | undefined;
13998
- createdAtLocation?: string | undefined;
13999
- updatedAtLocation?: string | undefined;
14017
+ }[] | [string, string] | undefined> | undefined;
14000
14018
  originalActionId?: string | undefined;
14001
14019
  }, {
14002
14020
  type: "READ";
@@ -14043,7 +14061,8 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14043
14061
  option: string;
14044
14062
  filename: string;
14045
14063
  originalFilename: string;
14046
- }[] | undefined>;
14064
+ }[] | [string, string] | undefined>;
14065
+ createdAtLocation: string;
14047
14066
  annotation?: Record<string, string | number | boolean | {
14048
14067
  type: string;
14049
14068
  filename: string;
@@ -14081,9 +14100,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14081
14100
  option: string;
14082
14101
  filename: string;
14083
14102
  originalFilename: string;
14084
- }[] | undefined> | undefined;
14085
- createdAtLocation?: string | undefined;
14086
- updatedAtLocation?: string | undefined;
14103
+ }[] | [string, string] | undefined> | undefined;
14087
14104
  originalActionId?: string | undefined;
14088
14105
  }>]>, z.ZodObject<z.objectUtil.extendShape<Omit<{
14089
14106
  id: z.ZodString;
@@ -14091,7 +14108,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14091
14108
  createdAt: z.ZodString;
14092
14109
  createdBy: z.ZodString;
14093
14110
  createdByRole: z.ZodString;
14094
- declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14111
+ declaration: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14095
14112
  filename: z.ZodString;
14096
14113
  originalFilename: z.ZodString;
14097
14114
  type: z.ZodString;
@@ -14205,7 +14222,7 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14205
14222
  addressLine3?: string | null | undefined;
14206
14223
  postcodeOrZip?: string | null | undefined;
14207
14224
  }>]>>;
14208
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14225
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodString, z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodString], null>]>, z.ZodBoolean, z.ZodNumber, z.ZodObject<{
14209
14226
  filename: z.ZodString;
14210
14227
  originalFilename: z.ZodString;
14211
14228
  type: z.ZodString;
@@ -14319,11 +14336,10 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14319
14336
  addressLine3?: string | null | undefined;
14320
14337
  postcodeOrZip?: string | null | undefined;
14321
14338
  }>]>>>;
14322
- createdAtLocation: z.ZodOptional<z.ZodString>;
14323
- updatedAtLocation: z.ZodOptional<z.ZodString>;
14339
+ createdAtLocation: z.ZodString;
14324
14340
  status: z.ZodEnum<["Requested", "Accepted", "Rejected"]>;
14325
14341
  originalActionId: z.ZodOptional<z.ZodString>;
14326
- }, "createdBy" | "createdByRole" | "declaration" | "annotation" | "createdAtLocation">, {
14342
+ }, "declaration" | "annotation">, {
14327
14343
  type: z.ZodEnum<["NOTIFY", "DECLARE", "VALIDATE", "REGISTER", "REJECT", "ARCHIVE", "PRINT_CERTIFICATE"]>;
14328
14344
  status: z.ZodLiteral<"Rejected">;
14329
14345
  }>, "strip", z.ZodTypeAny, {
@@ -14332,7 +14348,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14332
14348
  status: "Rejected";
14333
14349
  transactionId: string;
14334
14350
  createdAt: string;
14335
- updatedAtLocation?: string | undefined;
14351
+ createdBy: string;
14352
+ createdByRole: string;
14353
+ createdAtLocation: string;
14336
14354
  originalActionId?: string | undefined;
14337
14355
  }, {
14338
14356
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "NOTIFY" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE";
@@ -14340,7 +14358,9 @@ export declare const Action: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodO
14340
14358
  status: "Rejected";
14341
14359
  transactionId: string;
14342
14360
  createdAt: string;
14343
- updatedAtLocation?: string | undefined;
14361
+ createdBy: string;
14362
+ createdByRole: string;
14363
+ createdAtLocation: string;
14344
14364
  originalActionId?: string | undefined;
14345
14365
  }>]>;
14346
14366
  export type Action = ActionDocument | AsyncRejectActionDocument;