@nira-opencrvs/toolkit 1.9.11-rc.1f36427

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/README.md +70 -0
  2. package/build.sh +56 -0
  3. package/dist/api/index.d.ts +11 -0
  4. package/dist/api/index.d.ts.map +1 -0
  5. package/dist/api/index.js +52 -0
  6. package/dist/commons/api/router.d.ts +4125 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +824 -0
  8. package/dist/commons/conditionals/index.d.ts +2 -0
  9. package/dist/commons/conditionals/validate.d.ts +101 -0
  10. package/dist/commons/events/ActionConfig.d.ts +1609 -0
  11. package/dist/commons/events/ActionDocument.d.ts +2180 -0
  12. package/dist/commons/events/ActionInput.d.ts +1229 -0
  13. package/dist/commons/events/ActionType.d.ts +52 -0
  14. package/dist/commons/events/AdvancedSearchConfig.d.ts +1538 -0
  15. package/dist/commons/events/CompositeFieldValue.d.ts +280 -0
  16. package/dist/commons/events/Conditional.d.ts +55 -0
  17. package/dist/commons/events/Constants.d.ts +3 -0
  18. package/dist/commons/events/CountryConfigQueryInput.d.ts +4784 -0
  19. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  20. package/dist/commons/events/DeduplicationConfig.d.ts +233 -0
  21. package/dist/commons/events/Draft.d.ts +118 -0
  22. package/dist/commons/events/DynamicFieldValue.d.ts +139 -0
  23. package/dist/commons/events/EventConfig.d.ts +2255 -0
  24. package/dist/commons/events/EventConfigInput.d.ts +10 -0
  25. package/dist/commons/events/EventDocument.d.ts +1457 -0
  26. package/dist/commons/events/EventIndex.d.ts +1134 -0
  27. package/dist/commons/events/EventInput.d.ts +13 -0
  28. package/dist/commons/events/EventMetadata.d.ts +413 -0
  29. package/dist/commons/events/FieldConfig.d.ts +12935 -0
  30. package/dist/commons/events/FieldType.d.ts +55 -0
  31. package/dist/commons/events/FieldTypeMapping.d.ts +1289 -0
  32. package/dist/commons/events/FieldValue.d.ts +512 -0
  33. package/dist/commons/events/FileUtils.d.ts +4 -0
  34. package/dist/commons/events/FormConfig.d.ts +755 -0
  35. package/dist/commons/events/PageConfig.d.ts +342 -0
  36. package/dist/commons/events/PlainDate.d.ts +19 -0
  37. package/dist/commons/events/SummaryConfig.d.ts +170 -0
  38. package/dist/commons/events/TemplateConfig.d.ts +66 -0
  39. package/dist/commons/events/TranslationConfig.d.ts +15 -0
  40. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  41. package/dist/commons/events/WorkqueueConfig.d.ts +7957 -0
  42. package/dist/commons/events/deduplication.d.ts +69 -0
  43. package/dist/commons/events/defineConfig.d.ts +234 -0
  44. package/dist/commons/events/event.d.ts +80 -0
  45. package/dist/commons/events/field.d.ts +514 -0
  46. package/dist/commons/events/index.d.ts +45 -0
  47. package/dist/commons/events/locations.d.ts +24 -0
  48. package/dist/commons/events/scopes.d.ts +55 -0
  49. package/dist/commons/events/serializer.d.ts +2 -0
  50. package/dist/commons/events/state/availableActions.d.ts +6 -0
  51. package/dist/commons/events/state/flags.d.ts +4 -0
  52. package/dist/commons/events/state/index.d.ts +119 -0
  53. package/dist/commons/events/state/utils.d.ts +311 -0
  54. package/dist/commons/events/test.utils.d.ts +248 -0
  55. package/dist/commons/events/transactions.d.ts +2 -0
  56. package/dist/commons/events/utils.d.ts +486 -0
  57. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  58. package/dist/commons/notification/UserNotifications.d.ts +762 -0
  59. package/dist/commons/notification/index.d.ts +2 -0
  60. package/dist/conditionals/index.d.ts +2 -0
  61. package/dist/conditionals/index.d.ts.map +1 -0
  62. package/dist/conditionals/index.js +689 -0
  63. package/dist/events/deduplication.d.ts +69 -0
  64. package/dist/events/deduplication.d.ts.map +1 -0
  65. package/dist/events/deduplication.js +101 -0
  66. package/dist/events/index.d.ts +2 -0
  67. package/dist/events/index.d.ts.map +1 -0
  68. package/dist/events/index.js +9327 -0
  69. package/dist/notification/index.d.ts +2 -0
  70. package/dist/notification/index.d.ts.map +1 -0
  71. package/dist/notification/index.js +6674 -0
  72. package/dist/scopes/index.d.ts +385 -0
  73. package/dist/scopes/index.d.ts.map +1 -0
  74. package/dist/scopes/index.js +349 -0
  75. package/package.json +40 -0
  76. package/tsconfig.json +27 -0
  77. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,1229 @@
1
+ import { z } from 'zod';
2
+ export declare const BaseActionInput: z.ZodObject<{
3
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4
+ transactionId: z.ZodString;
5
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
6
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
7
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
8
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
9
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ transactionId: string;
12
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
13
+ eventId: string & z.BRAND<"UUID">;
14
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
15
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
16
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
17
+ keepAssignment?: boolean | undefined;
18
+ }, {
19
+ transactionId: string;
20
+ eventId: string;
21
+ createdAtLocation?: string | null | undefined;
22
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
23
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
24
+ originalActionId?: string | undefined;
25
+ keepAssignment?: boolean | undefined;
26
+ }>;
27
+ export declare const RegisterActionInput: z.ZodObject<z.objectUtil.extendShape<{
28
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
29
+ transactionId: z.ZodString;
30
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
31
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
32
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
33
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
34
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
35
+ }, {
36
+ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
37
+ registrationNumber: z.ZodOptional<z.ZodString>;
38
+ }>, "strict", z.ZodTypeAny, {
39
+ type: "REGISTER";
40
+ transactionId: string;
41
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
42
+ eventId: string & z.BRAND<"UUID">;
43
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
44
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
45
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
46
+ registrationNumber?: string | undefined;
47
+ keepAssignment?: boolean | undefined;
48
+ }, {
49
+ transactionId: string;
50
+ eventId: string;
51
+ type?: "REGISTER" | undefined;
52
+ createdAtLocation?: string | null | undefined;
53
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
54
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
55
+ originalActionId?: string | undefined;
56
+ registrationNumber?: string | undefined;
57
+ keepAssignment?: boolean | undefined;
58
+ }>;
59
+ export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
60
+ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
61
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
62
+ transactionId: z.ZodString;
63
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
64
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
65
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
66
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
67
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
68
+ }, {
69
+ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
70
+ }>, "strip", z.ZodTypeAny, {
71
+ type: "VALIDATE";
72
+ transactionId: string;
73
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
74
+ eventId: string & z.BRAND<"UUID">;
75
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
76
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
77
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
78
+ keepAssignment?: boolean | undefined;
79
+ }, {
80
+ transactionId: string;
81
+ eventId: string;
82
+ type?: "VALIDATE" | undefined;
83
+ createdAtLocation?: string | null | undefined;
84
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
85
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
86
+ originalActionId?: string | undefined;
87
+ keepAssignment?: boolean | undefined;
88
+ }>;
89
+ export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
90
+ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
91
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
92
+ transactionId: z.ZodString;
93
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
94
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
95
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
96
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
97
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
98
+ }, {
99
+ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
100
+ }>, "strip", z.ZodTypeAny, {
101
+ type: "NOTIFY";
102
+ transactionId: string;
103
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
104
+ eventId: string & z.BRAND<"UUID">;
105
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
106
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
107
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
108
+ keepAssignment?: boolean | undefined;
109
+ }, {
110
+ transactionId: string;
111
+ eventId: string;
112
+ type?: "NOTIFY" | undefined;
113
+ createdAtLocation?: string | null | undefined;
114
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
115
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
116
+ originalActionId?: string | undefined;
117
+ keepAssignment?: boolean | undefined;
118
+ }>;
119
+ export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
120
+ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
121
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
122
+ transactionId: z.ZodString;
123
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
124
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
125
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
126
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
127
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
128
+ }, {
129
+ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
130
+ }>, "strip", z.ZodTypeAny, {
131
+ type: "DECLARE";
132
+ transactionId: string;
133
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
134
+ eventId: string & z.BRAND<"UUID">;
135
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
136
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
137
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
138
+ keepAssignment?: boolean | undefined;
139
+ }, {
140
+ transactionId: string;
141
+ eventId: string;
142
+ type?: "DECLARE" | undefined;
143
+ createdAtLocation?: string | null | undefined;
144
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
145
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
146
+ originalActionId?: string | undefined;
147
+ keepAssignment?: boolean | undefined;
148
+ }>;
149
+ export declare const PrintCertificateActionInput: z.ZodObject<z.objectUtil.extendShape<{
150
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
151
+ transactionId: z.ZodString;
152
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
153
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
154
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
155
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
156
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
157
+ }, {
158
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
159
+ content: z.ZodOptional<z.ZodObject<{
160
+ templateId: z.ZodOptional<z.ZodString>;
161
+ }, "strip", z.ZodTypeAny, {
162
+ templateId?: string | undefined;
163
+ }, {
164
+ templateId?: string | undefined;
165
+ }>>;
166
+ }>, "strip", z.ZodTypeAny, {
167
+ type: "PRINT_CERTIFICATE";
168
+ transactionId: string;
169
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
170
+ eventId: string & z.BRAND<"UUID">;
171
+ content?: {
172
+ templateId?: string | undefined;
173
+ } | undefined;
174
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
175
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
176
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
177
+ keepAssignment?: boolean | undefined;
178
+ }, {
179
+ transactionId: string;
180
+ eventId: string;
181
+ type?: "PRINT_CERTIFICATE" | undefined;
182
+ content?: {
183
+ templateId?: string | undefined;
184
+ } | undefined;
185
+ createdAtLocation?: string | null | undefined;
186
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
187
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
188
+ originalActionId?: string | undefined;
189
+ keepAssignment?: boolean | undefined;
190
+ }>;
191
+ export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
192
+ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
193
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
194
+ transactionId: z.ZodString;
195
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
196
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
197
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
198
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
199
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
200
+ }, {
201
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
202
+ content: z.ZodObject<{
203
+ reason: z.ZodString;
204
+ }, "strip", z.ZodTypeAny, {
205
+ reason: string;
206
+ }, {
207
+ reason: string;
208
+ }>;
209
+ }>, "strip", z.ZodTypeAny, {
210
+ type: "REJECT";
211
+ content: {
212
+ reason: string;
213
+ };
214
+ transactionId: string;
215
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
216
+ eventId: string & z.BRAND<"UUID">;
217
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
218
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
219
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
220
+ keepAssignment?: boolean | undefined;
221
+ }, {
222
+ content: {
223
+ reason: string;
224
+ };
225
+ transactionId: string;
226
+ eventId: string;
227
+ type?: "REJECT" | undefined;
228
+ createdAtLocation?: string | null | undefined;
229
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
230
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
231
+ originalActionId?: string | undefined;
232
+ keepAssignment?: boolean | undefined;
233
+ }>;
234
+ export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
235
+ export declare const DuplicateDetectedActionInput: z.ZodObject<z.objectUtil.extendShape<{
236
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
237
+ transactionId: z.ZodString;
238
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
239
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
240
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
241
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
242
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
243
+ }, {
244
+ type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
245
+ content: z.ZodObject<{
246
+ duplicates: z.ZodArray<z.ZodObject<{
247
+ id: z.ZodBranded<z.ZodString, "UUID">;
248
+ trackingId: z.ZodString;
249
+ }, "strip", z.ZodTypeAny, {
250
+ id: string & z.BRAND<"UUID">;
251
+ trackingId: string;
252
+ }, {
253
+ id: string;
254
+ trackingId: string;
255
+ }>, "many">;
256
+ }, "strip", z.ZodTypeAny, {
257
+ duplicates: {
258
+ id: string & z.BRAND<"UUID">;
259
+ trackingId: string;
260
+ }[];
261
+ }, {
262
+ duplicates: {
263
+ id: string;
264
+ trackingId: string;
265
+ }[];
266
+ }>;
267
+ }>, "strip", z.ZodTypeAny, {
268
+ type: "DUPLICATE_DETECTED";
269
+ content: {
270
+ duplicates: {
271
+ id: string & z.BRAND<"UUID">;
272
+ trackingId: string;
273
+ }[];
274
+ };
275
+ transactionId: string;
276
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
277
+ eventId: string & z.BRAND<"UUID">;
278
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
279
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
280
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
281
+ keepAssignment?: boolean | undefined;
282
+ }, {
283
+ content: {
284
+ duplicates: {
285
+ id: string;
286
+ trackingId: string;
287
+ }[];
288
+ };
289
+ transactionId: string;
290
+ eventId: string;
291
+ type?: "DUPLICATE_DETECTED" | undefined;
292
+ createdAtLocation?: string | null | undefined;
293
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
294
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
295
+ originalActionId?: string | undefined;
296
+ keepAssignment?: boolean | undefined;
297
+ }>;
298
+ export declare const MarkAsDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
299
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
300
+ transactionId: z.ZodString;
301
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
302
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
303
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
304
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
305
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
306
+ }, {
307
+ type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
308
+ content: z.ZodOptional<z.ZodObject<{
309
+ duplicateOf: z.ZodBranded<z.ZodString, "UUID">;
310
+ }, "strip", z.ZodTypeAny, {
311
+ duplicateOf: string & z.BRAND<"UUID">;
312
+ }, {
313
+ duplicateOf: string;
314
+ }>>;
315
+ }>, "strip", z.ZodTypeAny, {
316
+ type: "MARK_AS_DUPLICATE";
317
+ transactionId: string;
318
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
319
+ eventId: string & z.BRAND<"UUID">;
320
+ content?: {
321
+ duplicateOf: string & z.BRAND<"UUID">;
322
+ } | undefined;
323
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
324
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
325
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
326
+ keepAssignment?: boolean | undefined;
327
+ }, {
328
+ transactionId: string;
329
+ eventId: string;
330
+ type?: "MARK_AS_DUPLICATE" | undefined;
331
+ content?: {
332
+ duplicateOf: string;
333
+ } | undefined;
334
+ createdAtLocation?: string | null | undefined;
335
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
336
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
337
+ originalActionId?: string | undefined;
338
+ keepAssignment?: boolean | undefined;
339
+ }>;
340
+ export type MarkAsDuplicateActionInput = z.infer<typeof MarkAsDuplicateActionInput>;
341
+ export declare const MarkNotDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
342
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
343
+ transactionId: z.ZodString;
344
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
345
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
346
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
347
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
348
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
349
+ }, {
350
+ type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
351
+ }>, "strip", z.ZodTypeAny, {
352
+ type: "MARK_AS_NOT_DUPLICATE";
353
+ transactionId: string;
354
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
355
+ eventId: string & z.BRAND<"UUID">;
356
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
357
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
358
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
359
+ keepAssignment?: boolean | undefined;
360
+ }, {
361
+ transactionId: string;
362
+ eventId: string;
363
+ type?: "MARK_AS_NOT_DUPLICATE" | undefined;
364
+ createdAtLocation?: string | null | undefined;
365
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
366
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
367
+ originalActionId?: string | undefined;
368
+ keepAssignment?: boolean | undefined;
369
+ }>;
370
+ export type MarkNotDuplicateActionInput = z.infer<typeof MarkNotDuplicateActionInput>;
371
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
372
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
373
+ transactionId: z.ZodString;
374
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
375
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
376
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
377
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
378
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
379
+ }, {
380
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
381
+ content: z.ZodObject<{
382
+ reason: z.ZodString;
383
+ }, "strip", z.ZodTypeAny, {
384
+ reason: string;
385
+ }, {
386
+ reason: string;
387
+ }>;
388
+ }>, "strip", z.ZodTypeAny, {
389
+ type: "ARCHIVE";
390
+ content: {
391
+ reason: string;
392
+ };
393
+ transactionId: string;
394
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
395
+ eventId: string & z.BRAND<"UUID">;
396
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
397
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
398
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
399
+ keepAssignment?: boolean | undefined;
400
+ }, {
401
+ content: {
402
+ reason: string;
403
+ };
404
+ transactionId: string;
405
+ eventId: string;
406
+ type?: "ARCHIVE" | undefined;
407
+ createdAtLocation?: string | null | undefined;
408
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
409
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
410
+ originalActionId?: string | undefined;
411
+ keepAssignment?: boolean | undefined;
412
+ }>;
413
+ export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
414
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
415
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
416
+ transactionId: z.ZodString;
417
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
418
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
419
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
420
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
422
+ }, {
423
+ type: z.ZodLiteral<"ASSIGN">;
424
+ assignedTo: z.ZodString;
425
+ }>, "strip", z.ZodTypeAny, {
426
+ type: "ASSIGN";
427
+ transactionId: string;
428
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
429
+ assignedTo: string;
430
+ eventId: string & z.BRAND<"UUID">;
431
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
432
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
433
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
434
+ keepAssignment?: boolean | undefined;
435
+ }, {
436
+ type: "ASSIGN";
437
+ transactionId: string;
438
+ assignedTo: string;
439
+ eventId: string;
440
+ createdAtLocation?: string | null | undefined;
441
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
442
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
443
+ originalActionId?: string | undefined;
444
+ keepAssignment?: boolean | undefined;
445
+ }>;
446
+ export type AssignActionInput = z.infer<typeof AssignActionInput>;
447
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
448
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
449
+ transactionId: z.ZodString;
450
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
451
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
452
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
453
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
454
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
455
+ }, {
456
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
457
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
458
+ }>, "strip", z.ZodTypeAny, {
459
+ type: "UNASSIGN";
460
+ transactionId: string;
461
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
462
+ assignedTo: null;
463
+ eventId: string & z.BRAND<"UUID">;
464
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
465
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
466
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
467
+ keepAssignment?: boolean | undefined;
468
+ }, {
469
+ transactionId: string;
470
+ eventId: string;
471
+ type?: "UNASSIGN" | undefined;
472
+ createdAtLocation?: string | null | undefined;
473
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
474
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
475
+ originalActionId?: string | undefined;
476
+ assignedTo?: null | undefined;
477
+ keepAssignment?: boolean | undefined;
478
+ }>;
479
+ export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
480
+ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
481
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
482
+ transactionId: z.ZodString;
483
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
484
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
485
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
486
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
487
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
488
+ }, {
489
+ type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
490
+ }>, "strip", z.ZodTypeAny, {
491
+ type: "REQUEST_CORRECTION";
492
+ transactionId: string;
493
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
494
+ eventId: string & z.BRAND<"UUID">;
495
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
496
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
497
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
498
+ keepAssignment?: boolean | undefined;
499
+ }, {
500
+ transactionId: string;
501
+ eventId: string;
502
+ type?: "REQUEST_CORRECTION" | undefined;
503
+ createdAtLocation?: string | null | undefined;
504
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
505
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
506
+ originalActionId?: string | undefined;
507
+ keepAssignment?: boolean | undefined;
508
+ }>;
509
+ export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
510
+ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
511
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
512
+ transactionId: z.ZodString;
513
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
514
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
515
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
516
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
517
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
518
+ }, {
519
+ requestId: z.ZodString;
520
+ type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
521
+ content: z.ZodObject<{
522
+ reason: z.ZodString;
523
+ }, "strip", z.ZodTypeAny, {
524
+ reason: string;
525
+ }, {
526
+ reason: string;
527
+ }>;
528
+ }>, "strip", z.ZodTypeAny, {
529
+ type: "REJECT_CORRECTION";
530
+ content: {
531
+ reason: string;
532
+ };
533
+ transactionId: string;
534
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
535
+ requestId: string;
536
+ eventId: string & z.BRAND<"UUID">;
537
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
538
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
539
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
540
+ keepAssignment?: boolean | undefined;
541
+ }, {
542
+ content: {
543
+ reason: string;
544
+ };
545
+ transactionId: string;
546
+ requestId: string;
547
+ eventId: string;
548
+ type?: "REJECT_CORRECTION" | undefined;
549
+ createdAtLocation?: string | null | undefined;
550
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
551
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
552
+ originalActionId?: string | undefined;
553
+ keepAssignment?: boolean | undefined;
554
+ }>;
555
+ export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
556
+ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
557
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
558
+ transactionId: z.ZodString;
559
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
560
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
561
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
562
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
563
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
564
+ }, {
565
+ requestId: z.ZodString;
566
+ type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
567
+ }>, "strip", z.ZodTypeAny, {
568
+ type: "APPROVE_CORRECTION";
569
+ transactionId: string;
570
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
571
+ requestId: string;
572
+ eventId: string & z.BRAND<"UUID">;
573
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
574
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
575
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
576
+ keepAssignment?: boolean | undefined;
577
+ }, {
578
+ transactionId: string;
579
+ requestId: string;
580
+ eventId: string;
581
+ type?: "APPROVE_CORRECTION" | undefined;
582
+ createdAtLocation?: string | null | undefined;
583
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
584
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
585
+ originalActionId?: string | undefined;
586
+ keepAssignment?: boolean | undefined;
587
+ }>;
588
+ export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
589
+ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
590
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
591
+ transactionId: z.ZodString;
592
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
593
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
594
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
595
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
597
+ }, {
598
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
599
+ }>, "strip", z.ZodTypeAny, {
600
+ type: "READ";
601
+ transactionId: string;
602
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
603
+ eventId: string & z.BRAND<"UUID">;
604
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
605
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
606
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
607
+ keepAssignment?: boolean | undefined;
608
+ }, {
609
+ transactionId: string;
610
+ eventId: string;
611
+ type?: "READ" | undefined;
612
+ createdAtLocation?: string | null | undefined;
613
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
614
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
615
+ originalActionId?: string | undefined;
616
+ keepAssignment?: boolean | undefined;
617
+ }>;
618
+ export type ReadActionInput = z.infer<typeof ReadActionInput>;
619
+ export declare const DeleteActionInput: z.ZodObject<{
620
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
621
+ }, "strip", z.ZodTypeAny, {
622
+ eventId: string & z.BRAND<"UUID">;
623
+ }, {
624
+ eventId: string;
625
+ }>;
626
+ export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
627
+ /**
628
+ * ActionInput types are used to validate the input data for the action.
629
+ * In our use case, we use it directly with TRPC to validate the input data for the action.
630
+ * using z.literal(ActionType.ACTION).default(ActionType.ACTION) makes them more convenient to use
631
+ * without having to pass the type in the input data, when it's defined in the method.
632
+ *
633
+ * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
634
+ */
635
+ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
636
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
637
+ transactionId: z.ZodString;
638
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
639
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
640
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
641
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
642
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
643
+ }, {
644
+ type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
645
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
646
+ }>, "strip", z.ZodTypeAny, {
647
+ type: "CREATE";
648
+ transactionId: string;
649
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
650
+ eventId: string & z.BRAND<"UUID">;
651
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
652
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
653
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
654
+ keepAssignment?: boolean | undefined;
655
+ }, {
656
+ transactionId: string;
657
+ eventId: string;
658
+ type?: "CREATE" | undefined;
659
+ createdAtLocation?: string | null | undefined;
660
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
661
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
662
+ originalActionId?: string | undefined;
663
+ keepAssignment?: boolean | undefined;
664
+ }>, z.ZodObject<z.objectUtil.extendShape<{
665
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
666
+ transactionId: z.ZodString;
667
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
668
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
669
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
670
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
671
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
672
+ }, {
673
+ type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
674
+ }>, "strip", z.ZodTypeAny, {
675
+ type: "VALIDATE";
676
+ transactionId: string;
677
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
678
+ eventId: string & z.BRAND<"UUID">;
679
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
680
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
681
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
682
+ keepAssignment?: boolean | undefined;
683
+ }, {
684
+ transactionId: string;
685
+ eventId: string;
686
+ type?: "VALIDATE" | undefined;
687
+ createdAtLocation?: string | null | undefined;
688
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
689
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
690
+ originalActionId?: string | undefined;
691
+ keepAssignment?: boolean | undefined;
692
+ }>, z.ZodObject<z.objectUtil.extendShape<{
693
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
694
+ transactionId: z.ZodString;
695
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
696
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
697
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
698
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
699
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
700
+ }, {
701
+ type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
702
+ registrationNumber: z.ZodOptional<z.ZodString>;
703
+ }>, "strict", z.ZodTypeAny, {
704
+ type: "REGISTER";
705
+ transactionId: string;
706
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
707
+ eventId: string & z.BRAND<"UUID">;
708
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
709
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
710
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
711
+ registrationNumber?: string | undefined;
712
+ keepAssignment?: boolean | undefined;
713
+ }, {
714
+ transactionId: string;
715
+ eventId: string;
716
+ type?: "REGISTER" | undefined;
717
+ createdAtLocation?: string | null | undefined;
718
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
719
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
720
+ originalActionId?: string | undefined;
721
+ registrationNumber?: string | undefined;
722
+ keepAssignment?: boolean | undefined;
723
+ }>, z.ZodObject<z.objectUtil.extendShape<{
724
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
725
+ transactionId: z.ZodString;
726
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
727
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
728
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
729
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
730
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
731
+ }, {
732
+ type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
733
+ }>, "strip", z.ZodTypeAny, {
734
+ type: "NOTIFY";
735
+ transactionId: string;
736
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
737
+ eventId: string & z.BRAND<"UUID">;
738
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
739
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
740
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
741
+ keepAssignment?: boolean | undefined;
742
+ }, {
743
+ transactionId: string;
744
+ eventId: string;
745
+ type?: "NOTIFY" | undefined;
746
+ createdAtLocation?: string | null | undefined;
747
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
748
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
749
+ originalActionId?: string | undefined;
750
+ keepAssignment?: boolean | undefined;
751
+ }>, z.ZodObject<z.objectUtil.extendShape<{
752
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
753
+ transactionId: z.ZodString;
754
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
755
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
756
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
757
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
758
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
759
+ }, {
760
+ type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
761
+ }>, "strip", z.ZodTypeAny, {
762
+ type: "DECLARE";
763
+ transactionId: string;
764
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
765
+ eventId: string & z.BRAND<"UUID">;
766
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
767
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
768
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
769
+ keepAssignment?: boolean | undefined;
770
+ }, {
771
+ transactionId: string;
772
+ eventId: string;
773
+ type?: "DECLARE" | undefined;
774
+ createdAtLocation?: string | null | undefined;
775
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
776
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
777
+ originalActionId?: string | undefined;
778
+ keepAssignment?: boolean | undefined;
779
+ }>, z.ZodObject<z.objectUtil.extendShape<{
780
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
781
+ transactionId: z.ZodString;
782
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
783
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
784
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
785
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
786
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
787
+ }, {
788
+ type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
789
+ content: z.ZodObject<{
790
+ reason: z.ZodString;
791
+ }, "strip", z.ZodTypeAny, {
792
+ reason: string;
793
+ }, {
794
+ reason: string;
795
+ }>;
796
+ }>, "strip", z.ZodTypeAny, {
797
+ type: "REJECT";
798
+ content: {
799
+ reason: string;
800
+ };
801
+ transactionId: string;
802
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
803
+ eventId: string & z.BRAND<"UUID">;
804
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
805
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
806
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
807
+ keepAssignment?: boolean | undefined;
808
+ }, {
809
+ content: {
810
+ reason: string;
811
+ };
812
+ transactionId: string;
813
+ eventId: string;
814
+ type?: "REJECT" | undefined;
815
+ createdAtLocation?: string | null | undefined;
816
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
817
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
818
+ originalActionId?: string | undefined;
819
+ keepAssignment?: boolean | undefined;
820
+ }>, z.ZodObject<z.objectUtil.extendShape<{
821
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
822
+ transactionId: z.ZodString;
823
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
824
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
825
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
826
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
827
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
828
+ }, {
829
+ type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
830
+ content: z.ZodObject<{
831
+ duplicates: z.ZodArray<z.ZodObject<{
832
+ id: z.ZodBranded<z.ZodString, "UUID">;
833
+ trackingId: z.ZodString;
834
+ }, "strip", z.ZodTypeAny, {
835
+ id: string & z.BRAND<"UUID">;
836
+ trackingId: string;
837
+ }, {
838
+ id: string;
839
+ trackingId: string;
840
+ }>, "many">;
841
+ }, "strip", z.ZodTypeAny, {
842
+ duplicates: {
843
+ id: string & z.BRAND<"UUID">;
844
+ trackingId: string;
845
+ }[];
846
+ }, {
847
+ duplicates: {
848
+ id: string;
849
+ trackingId: string;
850
+ }[];
851
+ }>;
852
+ }>, "strip", z.ZodTypeAny, {
853
+ type: "DUPLICATE_DETECTED";
854
+ content: {
855
+ duplicates: {
856
+ id: string & z.BRAND<"UUID">;
857
+ trackingId: string;
858
+ }[];
859
+ };
860
+ transactionId: string;
861
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
862
+ eventId: string & z.BRAND<"UUID">;
863
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
864
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
865
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
866
+ keepAssignment?: boolean | undefined;
867
+ }, {
868
+ content: {
869
+ duplicates: {
870
+ id: string;
871
+ trackingId: string;
872
+ }[];
873
+ };
874
+ transactionId: string;
875
+ eventId: string;
876
+ type?: "DUPLICATE_DETECTED" | undefined;
877
+ createdAtLocation?: string | null | undefined;
878
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
879
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
880
+ originalActionId?: string | undefined;
881
+ keepAssignment?: boolean | undefined;
882
+ }>, z.ZodObject<z.objectUtil.extendShape<{
883
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
884
+ transactionId: z.ZodString;
885
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
886
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
887
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
888
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
889
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
890
+ }, {
891
+ type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
892
+ content: z.ZodOptional<z.ZodObject<{
893
+ duplicateOf: z.ZodBranded<z.ZodString, "UUID">;
894
+ }, "strip", z.ZodTypeAny, {
895
+ duplicateOf: string & z.BRAND<"UUID">;
896
+ }, {
897
+ duplicateOf: string;
898
+ }>>;
899
+ }>, "strip", z.ZodTypeAny, {
900
+ type: "MARK_AS_DUPLICATE";
901
+ transactionId: string;
902
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
903
+ eventId: string & z.BRAND<"UUID">;
904
+ content?: {
905
+ duplicateOf: string & z.BRAND<"UUID">;
906
+ } | undefined;
907
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
908
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
909
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
910
+ keepAssignment?: boolean | undefined;
911
+ }, {
912
+ transactionId: string;
913
+ eventId: string;
914
+ type?: "MARK_AS_DUPLICATE" | undefined;
915
+ content?: {
916
+ duplicateOf: string;
917
+ } | undefined;
918
+ createdAtLocation?: string | null | undefined;
919
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
920
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
921
+ originalActionId?: string | undefined;
922
+ keepAssignment?: boolean | undefined;
923
+ }>, z.ZodObject<z.objectUtil.extendShape<{
924
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
925
+ transactionId: z.ZodString;
926
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
927
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
928
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
929
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
930
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
931
+ }, {
932
+ type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
933
+ }>, "strip", z.ZodTypeAny, {
934
+ type: "MARK_AS_NOT_DUPLICATE";
935
+ transactionId: string;
936
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
937
+ eventId: string & z.BRAND<"UUID">;
938
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
939
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
940
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
941
+ keepAssignment?: boolean | undefined;
942
+ }, {
943
+ transactionId: string;
944
+ eventId: string;
945
+ type?: "MARK_AS_NOT_DUPLICATE" | undefined;
946
+ createdAtLocation?: string | null | undefined;
947
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
948
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
949
+ originalActionId?: string | undefined;
950
+ keepAssignment?: boolean | undefined;
951
+ }>, z.ZodObject<z.objectUtil.extendShape<{
952
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
953
+ transactionId: z.ZodString;
954
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
955
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
956
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
957
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
958
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
959
+ }, {
960
+ type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
961
+ content: z.ZodObject<{
962
+ reason: z.ZodString;
963
+ }, "strip", z.ZodTypeAny, {
964
+ reason: string;
965
+ }, {
966
+ reason: string;
967
+ }>;
968
+ }>, "strip", z.ZodTypeAny, {
969
+ type: "ARCHIVE";
970
+ content: {
971
+ reason: string;
972
+ };
973
+ transactionId: string;
974
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
975
+ eventId: string & z.BRAND<"UUID">;
976
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
977
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
978
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
979
+ keepAssignment?: boolean | undefined;
980
+ }, {
981
+ content: {
982
+ reason: string;
983
+ };
984
+ transactionId: string;
985
+ eventId: string;
986
+ type?: "ARCHIVE" | undefined;
987
+ createdAtLocation?: string | null | undefined;
988
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
989
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
990
+ originalActionId?: string | undefined;
991
+ keepAssignment?: boolean | undefined;
992
+ }>, z.ZodObject<z.objectUtil.extendShape<{
993
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
994
+ transactionId: z.ZodString;
995
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
996
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
997
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
998
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
999
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1000
+ }, {
1001
+ type: z.ZodLiteral<"ASSIGN">;
1002
+ assignedTo: z.ZodString;
1003
+ }>, "strip", z.ZodTypeAny, {
1004
+ type: "ASSIGN";
1005
+ transactionId: string;
1006
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1007
+ assignedTo: string;
1008
+ eventId: string & z.BRAND<"UUID">;
1009
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1010
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1011
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1012
+ keepAssignment?: boolean | undefined;
1013
+ }, {
1014
+ type: "ASSIGN";
1015
+ transactionId: string;
1016
+ assignedTo: string;
1017
+ eventId: string;
1018
+ createdAtLocation?: string | null | undefined;
1019
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1020
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1021
+ originalActionId?: string | undefined;
1022
+ keepAssignment?: boolean | undefined;
1023
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1024
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1025
+ transactionId: z.ZodString;
1026
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1027
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1028
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1029
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1030
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1031
+ }, {
1032
+ type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
1033
+ assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
1034
+ }>, "strip", z.ZodTypeAny, {
1035
+ type: "UNASSIGN";
1036
+ transactionId: string;
1037
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1038
+ assignedTo: null;
1039
+ eventId: string & z.BRAND<"UUID">;
1040
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1041
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1042
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1043
+ keepAssignment?: boolean | undefined;
1044
+ }, {
1045
+ transactionId: string;
1046
+ eventId: string;
1047
+ type?: "UNASSIGN" | undefined;
1048
+ createdAtLocation?: string | null | undefined;
1049
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1050
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1051
+ originalActionId?: string | undefined;
1052
+ assignedTo?: null | undefined;
1053
+ keepAssignment?: boolean | undefined;
1054
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1055
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1056
+ transactionId: z.ZodString;
1057
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1058
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1059
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1060
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1061
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1062
+ }, {
1063
+ type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
1064
+ content: z.ZodOptional<z.ZodObject<{
1065
+ templateId: z.ZodOptional<z.ZodString>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ templateId?: string | undefined;
1068
+ }, {
1069
+ templateId?: string | undefined;
1070
+ }>>;
1071
+ }>, "strip", z.ZodTypeAny, {
1072
+ type: "PRINT_CERTIFICATE";
1073
+ transactionId: string;
1074
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1075
+ eventId: string & z.BRAND<"UUID">;
1076
+ content?: {
1077
+ templateId?: string | undefined;
1078
+ } | undefined;
1079
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1080
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1081
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1082
+ keepAssignment?: boolean | undefined;
1083
+ }, {
1084
+ transactionId: string;
1085
+ eventId: string;
1086
+ type?: "PRINT_CERTIFICATE" | undefined;
1087
+ content?: {
1088
+ templateId?: string | undefined;
1089
+ } | undefined;
1090
+ createdAtLocation?: string | null | undefined;
1091
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1092
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1093
+ originalActionId?: string | undefined;
1094
+ keepAssignment?: boolean | undefined;
1095
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1096
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1097
+ transactionId: z.ZodString;
1098
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1099
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1100
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1101
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1102
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1103
+ }, {
1104
+ type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
1105
+ }>, "strip", z.ZodTypeAny, {
1106
+ type: "REQUEST_CORRECTION";
1107
+ transactionId: string;
1108
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1109
+ eventId: string & z.BRAND<"UUID">;
1110
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1111
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1112
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1113
+ keepAssignment?: boolean | undefined;
1114
+ }, {
1115
+ transactionId: string;
1116
+ eventId: string;
1117
+ type?: "REQUEST_CORRECTION" | undefined;
1118
+ createdAtLocation?: string | null | undefined;
1119
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1120
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1121
+ originalActionId?: string | undefined;
1122
+ keepAssignment?: boolean | undefined;
1123
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1124
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1125
+ transactionId: z.ZodString;
1126
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1127
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1128
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1129
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1130
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1131
+ }, {
1132
+ requestId: z.ZodString;
1133
+ type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
1134
+ content: z.ZodObject<{
1135
+ reason: z.ZodString;
1136
+ }, "strip", z.ZodTypeAny, {
1137
+ reason: string;
1138
+ }, {
1139
+ reason: string;
1140
+ }>;
1141
+ }>, "strip", z.ZodTypeAny, {
1142
+ type: "REJECT_CORRECTION";
1143
+ content: {
1144
+ reason: string;
1145
+ };
1146
+ transactionId: string;
1147
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1148
+ requestId: string;
1149
+ eventId: string & z.BRAND<"UUID">;
1150
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1151
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1152
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1153
+ keepAssignment?: boolean | undefined;
1154
+ }, {
1155
+ content: {
1156
+ reason: string;
1157
+ };
1158
+ transactionId: string;
1159
+ requestId: string;
1160
+ eventId: string;
1161
+ type?: "REJECT_CORRECTION" | undefined;
1162
+ createdAtLocation?: string | null | undefined;
1163
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1164
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1165
+ originalActionId?: string | undefined;
1166
+ keepAssignment?: boolean | undefined;
1167
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1168
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1169
+ transactionId: z.ZodString;
1170
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1171
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1172
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1173
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1174
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1175
+ }, {
1176
+ requestId: z.ZodString;
1177
+ type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
1178
+ }>, "strip", z.ZodTypeAny, {
1179
+ type: "APPROVE_CORRECTION";
1180
+ transactionId: string;
1181
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1182
+ requestId: string;
1183
+ eventId: string & z.BRAND<"UUID">;
1184
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1185
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1186
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1187
+ keepAssignment?: boolean | undefined;
1188
+ }, {
1189
+ transactionId: string;
1190
+ requestId: string;
1191
+ eventId: string;
1192
+ type?: "APPROVE_CORRECTION" | undefined;
1193
+ createdAtLocation?: string | null | undefined;
1194
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1195
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1196
+ originalActionId?: string | undefined;
1197
+ keepAssignment?: boolean | undefined;
1198
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1199
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
1200
+ transactionId: z.ZodString;
1201
+ declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1202
+ annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, z.ZodTypeDef, import("./FieldValue").FieldUpdateValue>>>;
1203
+ originalActionId: z.ZodOptional<z.ZodBranded<z.ZodString, "UUID">>;
1204
+ keepAssignment: z.ZodOptional<z.ZodBoolean>;
1205
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1206
+ }, {
1207
+ type: z.ZodDefault<z.ZodLiteral<"READ">>;
1208
+ }>, "strip", z.ZodTypeAny, {
1209
+ type: "READ";
1210
+ transactionId: string;
1211
+ declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
1212
+ eventId: string & z.BRAND<"UUID">;
1213
+ createdAtLocation?: (string & z.BRAND<"UUID">) | null | undefined;
1214
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1215
+ originalActionId?: (string & z.BRAND<"UUID">) | undefined;
1216
+ keepAssignment?: boolean | undefined;
1217
+ }, {
1218
+ transactionId: string;
1219
+ eventId: string;
1220
+ type?: "READ" | undefined;
1221
+ createdAtLocation?: string | null | undefined;
1222
+ declaration?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1223
+ annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | undefined;
1224
+ originalActionId?: string | undefined;
1225
+ keepAssignment?: boolean | undefined;
1226
+ }>]>;
1227
+ export type ActionInput = z.input<typeof ActionInput>;
1228
+ export type ActionInputWithType = z.infer<typeof ActionInput>;
1229
+ //# sourceMappingURL=ActionInput.d.ts.map