@opencrvs/toolkit 1.9.2-rc.c76ff3e → 1.9.2-rc.f6dcfa6

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 (56) hide show
  1. package/dist/commons/api/router.d.ts +1620 -26666
  2. package/dist/commons/conditionals/conditionals.d.ts +1 -10
  3. package/dist/commons/conditionals/validate.d.ts +4 -11
  4. package/dist/commons/events/ActionConfig.d.ts +1525 -21293
  5. package/dist/commons/events/ActionDocument.d.ts +1849 -764
  6. package/dist/commons/events/ActionInput.d.ts +1066 -264
  7. package/dist/commons/events/ActionType.d.ts +8 -85
  8. package/dist/commons/events/AdvancedSearchConfig.d.ts +1238 -211
  9. package/dist/commons/events/CompositeFieldValue.d.ts +176 -25
  10. package/dist/commons/events/Conditional.d.ts +38 -26
  11. package/dist/commons/events/Constants.d.ts +1 -1
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +4169 -919
  13. package/dist/commons/events/CreatedAtLocation.d.ts +1 -1
  14. package/dist/commons/events/DeduplicationConfig.d.ts +150 -15
  15. package/dist/commons/events/Draft.d.ts +105 -70
  16. package/dist/commons/events/DynamicFieldValue.d.ts +91 -7
  17. package/dist/commons/events/EventConfig.d.ts +2096 -17110
  18. package/dist/commons/events/EventConfigInput.d.ts +1 -1
  19. package/dist/commons/events/EventDocument.d.ts +1326 -311
  20. package/dist/commons/events/EventIndex.d.ts +967 -191
  21. package/dist/commons/events/EventInput.d.ts +8 -2
  22. package/dist/commons/events/EventMetadata.d.ts +345 -102
  23. package/dist/commons/events/FieldConfig.d.ts +11775 -4088
  24. package/dist/commons/events/FieldType.d.ts +2 -6
  25. package/dist/commons/events/FieldTypeMapping.d.ts +810 -164
  26. package/dist/commons/events/FieldValue.d.ts +354 -80
  27. package/dist/commons/events/FormConfig.d.ts +697 -12636
  28. package/dist/commons/events/PageConfig.d.ts +314 -8441
  29. package/dist/commons/events/SummaryConfig.d.ts +161 -14
  30. package/dist/commons/events/TranslationConfig.d.ts +2 -2
  31. package/dist/commons/events/WorkqueueColumnConfig.d.ts +36 -70
  32. package/dist/commons/events/WorkqueueConfig.d.ts +7080 -1597
  33. package/dist/commons/events/deduplication.d.ts +3 -3
  34. package/dist/commons/events/defineConfig.d.ts +155 -24703
  35. package/dist/commons/events/index.d.ts +0 -1
  36. package/dist/commons/events/locations.d.ts +19 -15
  37. package/dist/commons/events/scopes.d.ts +0 -1
  38. package/dist/commons/events/state/availableActions.d.ts +1 -2
  39. package/dist/commons/events/state/flags.d.ts +3 -21
  40. package/dist/commons/events/state/index.d.ts +19 -17
  41. package/dist/commons/events/state/utils.d.ts +112 -127
  42. package/dist/commons/events/test.utils.d.ts +5 -11
  43. package/dist/commons/events/transactions.d.ts +1 -1
  44. package/dist/commons/events/utils.d.ts +359 -49444
  45. package/dist/commons/notification/UserNotifications.d.ts +636 -55
  46. package/dist/conditionals/index.d.ts.map +1 -1
  47. package/dist/conditionals/index.js +5 -38
  48. package/dist/events/deduplication.d.ts +3 -3
  49. package/dist/events/index.js +1360 -1502
  50. package/dist/notification/index.d.ts.map +1 -1
  51. package/dist/notification/index.js +1279 -1276
  52. package/dist/scopes/index.d.ts +136 -106
  53. package/dist/scopes/index.d.ts.map +1 -1
  54. package/dist/scopes/index.js +93 -116
  55. package/package.json +5 -5
  56. package/dist/commons/events/Flag.d.ts +0 -43
@@ -1,229 +1,629 @@
1
- import * as z from 'zod/v4';
1
+ import { z } from 'zod';
2
2
  export declare const BaseActionInput: z.ZodObject<{
3
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
3
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
4
4
  transactionId: z.ZodString;
5
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
6
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
7
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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
8
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
9
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
10
- }, z.core.$strip>;
11
- export declare const RegisterActionInput: z.ZodObject<{
12
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
13
29
  transactionId: z.ZodString;
14
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
15
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
16
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
17
33
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
18
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
34
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
35
+ }, {
19
36
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
20
37
  registrationNumber: z.ZodOptional<z.ZodString>;
21
- }, z.core.$strip>;
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
+ }>;
22
59
  export type RegisterActionInput = z.infer<typeof RegisterActionInput>;
23
- export declare const ValidateActionInput: z.ZodObject<{
24
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
60
+ export declare const ValidateActionInput: z.ZodObject<z.objectUtil.extendShape<{
61
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
25
62
  transactionId: z.ZodString;
26
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
27
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
28
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
29
66
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
30
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
67
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
68
+ }, {
31
69
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
32
- }, z.core.$strip>;
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
+ }>;
33
89
  export type ValidateActionInput = z.infer<typeof ValidateActionInput>;
34
- export declare const NotifyActionInput: z.ZodObject<{
35
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
90
+ export declare const NotifyActionInput: z.ZodObject<z.objectUtil.extendShape<{
91
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
36
92
  transactionId: z.ZodString;
37
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
38
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
39
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
40
96
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
41
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
97
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
98
+ }, {
42
99
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
43
- }, z.core.$strip>;
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
+ }>;
44
119
  export type NotifyActionInput = z.infer<typeof NotifyActionInput>;
45
- export declare const DeclareActionInput: z.ZodObject<{
46
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
120
+ export declare const DeclareActionInput: z.ZodObject<z.objectUtil.extendShape<{
121
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
47
122
  transactionId: z.ZodString;
48
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
49
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
50
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
51
126
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
52
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
127
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
128
+ }, {
53
129
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
54
- }, z.core.$strip>;
55
- export declare const PrintCertificateActionInput: z.ZodObject<{
56
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
57
151
  transactionId: z.ZodString;
58
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
59
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
60
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
61
155
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
62
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
156
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
157
+ }, {
63
158
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
64
159
  content: z.ZodOptional<z.ZodObject<{
65
160
  templateId: z.ZodOptional<z.ZodString>;
66
- }, z.core.$strip>>;
67
- }, z.core.$strip>;
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
+ }>;
68
191
  export type DeclareActionInput = z.infer<typeof DeclareActionInput>;
69
- export declare const RejectDeclarationActionInput: z.ZodObject<{
70
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
192
+ export declare const RejectDeclarationActionInput: z.ZodObject<z.objectUtil.extendShape<{
193
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
71
194
  transactionId: z.ZodString;
72
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
73
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
74
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
75
198
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
76
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
199
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
200
+ }, {
77
201
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
78
202
  content: z.ZodObject<{
79
203
  reason: z.ZodString;
80
- }, z.core.$strip>;
81
- }, z.core.$strip>;
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
+ }>;
82
234
  export type RejectDeclarationActionInput = z.infer<typeof RejectDeclarationActionInput>;
83
- export declare const DuplicateDetectedActionInput: z.ZodObject<{
84
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
235
+ export declare const DuplicateDetectedActionInput: z.ZodObject<z.objectUtil.extendShape<{
236
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
85
237
  transactionId: z.ZodString;
86
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
87
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
88
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
89
241
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
90
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
242
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
243
+ }, {
91
244
  type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
92
245
  content: z.ZodObject<{
93
246
  duplicates: z.ZodArray<z.ZodObject<{
94
- id: z.core.$ZodBranded<z.ZodUUID, "UUID">;
247
+ id: z.ZodBranded<z.ZodString, "UUID">;
95
248
  trackingId: z.ZodString;
96
- }, z.core.$strip>>;
97
- }, z.core.$strip>;
98
- }, z.core.$strip>;
99
- export declare const MarkAsDuplicateActionInput: z.ZodObject<{
100
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
101
300
  transactionId: z.ZodString;
102
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
103
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
104
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
105
304
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
106
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
305
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
306
+ }, {
107
307
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
108
308
  content: z.ZodOptional<z.ZodObject<{
109
- duplicateOf: z.core.$ZodBranded<z.ZodUUID, "UUID">;
110
- }, z.core.$strip>>;
111
- }, z.core.$strip>;
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
+ }>;
112
340
  export type MarkAsDuplicateActionInput = z.infer<typeof MarkAsDuplicateActionInput>;
113
- export declare const MarkNotDuplicateActionInput: z.ZodObject<{
114
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
341
+ export declare const MarkNotDuplicateActionInput: z.ZodObject<z.objectUtil.extendShape<{
342
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
115
343
  transactionId: z.ZodString;
116
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
117
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
118
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
119
347
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
120
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
348
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
349
+ }, {
121
350
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
122
- }, z.core.$strip>;
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
+ }>;
123
370
  export type MarkNotDuplicateActionInput = z.infer<typeof MarkNotDuplicateActionInput>;
124
- export declare const ArchiveActionInput: z.ZodObject<{
125
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
371
+ export declare const ArchiveActionInput: z.ZodObject<z.objectUtil.extendShape<{
372
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
126
373
  transactionId: z.ZodString;
127
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
128
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
129
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
130
377
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
131
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
378
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
379
+ }, {
132
380
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
133
381
  content: z.ZodObject<{
134
382
  reason: z.ZodString;
135
- }, z.core.$strip>;
136
- }, z.core.$strip>;
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
+ }>;
137
413
  export type ArchiveActionInput = z.infer<typeof ArchiveActionInput>;
138
- export declare const AssignActionInput: z.ZodObject<{
139
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
414
+ export declare const AssignActionInput: z.ZodObject<z.objectUtil.extendShape<{
415
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
140
416
  transactionId: z.ZodString;
141
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
142
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
143
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
144
420
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
145
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
421
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
422
+ }, {
146
423
  type: z.ZodLiteral<"ASSIGN">;
147
424
  assignedTo: z.ZodString;
148
- }, z.core.$strip>;
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
+ }>;
149
446
  export type AssignActionInput = z.infer<typeof AssignActionInput>;
150
- export declare const UnassignActionInput: z.ZodObject<{
151
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
447
+ export declare const UnassignActionInput: z.ZodObject<z.objectUtil.extendShape<{
448
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
152
449
  transactionId: z.ZodString;
153
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
154
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
155
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
156
453
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
157
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
454
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
455
+ }, {
158
456
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
159
457
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
160
- }, z.core.$strip>;
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
+ }>;
161
479
  export type UnassignActionInput = z.infer<typeof UnassignActionInput>;
162
- export declare const RequestCorrectionActionInput: z.ZodObject<{
163
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
480
+ export declare const RequestCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
481
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
164
482
  transactionId: z.ZodString;
165
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
166
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
167
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
168
486
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
169
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
487
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
488
+ }, {
170
489
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
171
- }, z.core.$strip>;
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
+ }>;
172
509
  export type RequestCorrectionActionInput = z.infer<typeof RequestCorrectionActionInput>;
173
- export declare const RejectCorrectionActionInput: z.ZodObject<{
174
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
510
+ export declare const RejectCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
511
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
175
512
  transactionId: z.ZodString;
176
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
177
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
178
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
179
516
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
180
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
517
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
518
+ }, {
181
519
  requestId: z.ZodString;
182
520
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
183
521
  content: z.ZodObject<{
184
522
  reason: z.ZodString;
185
- }, z.core.$strip>;
186
- }, z.core.$strip>;
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
+ }>;
187
555
  export type RejectCorrectionActionInput = z.infer<typeof RejectCorrectionActionInput>;
188
- export declare const ApproveCorrectionActionInput: z.ZodObject<{
189
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
556
+ export declare const ApproveCorrectionActionInput: z.ZodObject<z.objectUtil.extendShape<{
557
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
190
558
  transactionId: z.ZodString;
191
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
192
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
193
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
194
562
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
195
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
563
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
564
+ }, {
196
565
  requestId: z.ZodString;
197
566
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
198
- }, z.core.$strip>;
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
+ }>;
199
588
  export type ApproveCorrectionActionInput = z.infer<typeof ApproveCorrectionActionInput>;
200
- export declare const ReadActionInput: z.ZodObject<{
201
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
589
+ export declare const ReadActionInput: z.ZodObject<z.objectUtil.extendShape<{
590
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
202
591
  transactionId: z.ZodString;
203
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
204
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
205
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
206
595
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
207
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
596
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
597
+ }, {
208
598
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
209
- }, z.core.$strip>;
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
+ }>;
210
618
  export type ReadActionInput = z.infer<typeof ReadActionInput>;
211
619
  export declare const DeleteActionInput: z.ZodObject<{
212
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
213
- }, z.core.$strip>;
620
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
621
+ }, "strip", z.ZodTypeAny, {
622
+ eventId: string & z.BRAND<"UUID">;
623
+ }, {
624
+ eventId: string;
625
+ }>;
214
626
  export type DeleteActionInput = z.infer<typeof DeleteActionInput>;
215
- export declare const CustomActionInput: z.ZodObject<{
216
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
217
- transactionId: z.ZodString;
218
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
219
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
220
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
221
- keepAssignment: z.ZodOptional<z.ZodBoolean>;
222
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
223
- type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
224
- customActionType: z.ZodString;
225
- }, z.core.$strip>;
226
- export type CustomActionInput = z.infer<typeof CustomActionInput>;
227
627
  /**
228
628
  * ActionInput types are used to validate the input data for the action.
229
629
  * In our use case, we use it directly with TRPC to validate the input data for the action.
@@ -232,196 +632,598 @@ export type CustomActionInput = z.infer<typeof CustomActionInput>;
232
632
  *
233
633
  * e.g. mutation.declare({createdAt: new Date()}) vs mutation.declare({createdAt: new Date(), type: 'DECLARE'})
234
634
  */
235
- export declare const ActionInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
236
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
635
+ export declare const ActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
636
+ eventId: z.ZodBranded<z.ZodString, "UUID">;
237
637
  transactionId: z.ZodString;
238
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
239
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
240
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
241
641
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
642
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
643
+ }, {
242
644
  type: z.ZodDefault<z.ZodLiteral<"CREATE">>;
243
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
244
- }, z.core.$strip>, z.ZodObject<{
245
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
246
666
  transactionId: z.ZodString;
247
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
248
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
249
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
250
670
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
251
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
671
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
672
+ }, {
252
673
  type: z.ZodDefault<z.ZodLiteral<"VALIDATE">>;
253
- }, z.core.$strip>, z.ZodObject<{
254
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
255
694
  transactionId: z.ZodString;
256
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
257
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
258
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
259
698
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
260
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
699
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
700
+ }, {
261
701
  type: z.ZodDefault<z.ZodLiteral<"REGISTER">>;
262
702
  registrationNumber: z.ZodOptional<z.ZodString>;
263
- }, z.core.$strip>, z.ZodObject<{
264
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
265
725
  transactionId: z.ZodString;
266
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
267
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
268
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
269
729
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
270
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
730
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
731
+ }, {
271
732
  type: z.ZodDefault<z.ZodLiteral<"NOTIFY">>;
272
- }, z.core.$strip>, z.ZodObject<{
273
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
274
753
  transactionId: z.ZodString;
275
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
276
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
277
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
278
757
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
279
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
758
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
759
+ }, {
280
760
  type: z.ZodDefault<z.ZodLiteral<"DECLARE">>;
281
- }, z.core.$strip>, z.ZodObject<{
282
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
283
781
  transactionId: z.ZodString;
284
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
285
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
286
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
287
785
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
288
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
786
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
787
+ }, {
289
788
  type: z.ZodDefault<z.ZodLiteral<"REJECT">>;
290
789
  content: z.ZodObject<{
291
790
  reason: z.ZodString;
292
- }, z.core.$strip>;
293
- }, z.core.$strip>, z.ZodObject<{
294
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
295
822
  transactionId: z.ZodString;
296
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
297
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
298
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
299
826
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
300
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
827
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
828
+ }, {
301
829
  type: z.ZodDefault<z.ZodLiteral<"DUPLICATE_DETECTED">>;
302
830
  content: z.ZodObject<{
303
831
  duplicates: z.ZodArray<z.ZodObject<{
304
- id: z.core.$ZodBranded<z.ZodUUID, "UUID">;
832
+ id: z.ZodBranded<z.ZodString, "UUID">;
305
833
  trackingId: z.ZodString;
306
- }, z.core.$strip>>;
307
- }, z.core.$strip>;
308
- }, z.core.$strip>, z.ZodObject<{
309
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
310
884
  transactionId: z.ZodString;
311
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
312
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
313
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
314
888
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
315
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
889
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
890
+ }, {
316
891
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_DUPLICATE">>;
317
892
  content: z.ZodOptional<z.ZodObject<{
318
- duplicateOf: z.core.$ZodBranded<z.ZodUUID, "UUID">;
319
- }, z.core.$strip>>;
320
- }, z.core.$strip>, z.ZodObject<{
321
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
322
925
  transactionId: z.ZodString;
323
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
324
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
325
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
326
929
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
327
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
930
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
931
+ }, {
328
932
  type: z.ZodDefault<z.ZodLiteral<"MARK_AS_NOT_DUPLICATE">>;
329
- }, z.core.$strip>, z.ZodObject<{
330
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
331
953
  transactionId: z.ZodString;
332
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
333
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
334
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
335
957
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
336
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
958
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
959
+ }, {
337
960
  type: z.ZodDefault<z.ZodLiteral<"ARCHIVE">>;
338
961
  content: z.ZodObject<{
339
962
  reason: z.ZodString;
340
- }, z.core.$strip>;
341
- }, z.core.$strip>, z.ZodObject<{
342
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
343
994
  transactionId: z.ZodString;
344
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
345
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
346
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
347
998
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
348
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
999
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1000
+ }, {
349
1001
  type: z.ZodLiteral<"ASSIGN">;
350
1002
  assignedTo: z.ZodString;
351
- }, z.core.$strip>, z.ZodObject<{
352
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
353
1025
  transactionId: z.ZodString;
354
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
355
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
356
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
357
1029
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
358
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1030
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1031
+ }, {
359
1032
  type: z.ZodDefault<z.ZodLiteral<"UNASSIGN">>;
360
1033
  assignedTo: z.ZodDefault<z.ZodLiteral<null>>;
361
- }, z.core.$strip>, z.ZodObject<{
362
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
363
1056
  transactionId: z.ZodString;
364
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
365
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
366
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
367
1060
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
368
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1061
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1062
+ }, {
369
1063
  type: z.ZodDefault<z.ZodLiteral<"PRINT_CERTIFICATE">>;
370
1064
  content: z.ZodOptional<z.ZodObject<{
371
1065
  templateId: z.ZodOptional<z.ZodString>;
372
- }, z.core.$strip>>;
373
- }, z.core.$strip>, z.ZodObject<{
374
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
375
1097
  transactionId: z.ZodString;
376
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
377
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
378
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
379
1101
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
380
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1102
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1103
+ }, {
381
1104
  type: z.ZodDefault<z.ZodLiteral<"REQUEST_CORRECTION">>;
382
- }, z.core.$strip>, z.ZodObject<{
383
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
384
1125
  transactionId: z.ZodString;
385
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
386
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
387
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
388
1129
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
389
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1130
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1131
+ }, {
390
1132
  requestId: z.ZodString;
391
1133
  type: z.ZodDefault<z.ZodLiteral<"REJECT_CORRECTION">>;
392
1134
  content: z.ZodObject<{
393
1135
  reason: z.ZodString;
394
- }, z.core.$strip>;
395
- }, z.core.$strip>, z.ZodObject<{
396
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
397
1169
  transactionId: z.ZodString;
398
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
399
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
400
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
401
1173
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
402
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1174
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1175
+ }, {
403
1176
  requestId: z.ZodString;
404
1177
  type: z.ZodDefault<z.ZodLiteral<"APPROVE_CORRECTION">>;
405
- }, z.core.$strip>, z.ZodObject<{
406
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
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">;
407
1200
  transactionId: z.ZodString;
408
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
409
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
410
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
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">>;
411
1204
  keepAssignment: z.ZodOptional<z.ZodBoolean>;
412
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
1205
+ createdAtLocation: z.ZodOptional<z.ZodNullable<z.ZodBranded<z.ZodString, "UUID">>>;
1206
+ }, {
413
1207
  type: z.ZodDefault<z.ZodLiteral<"READ">>;
414
- }, z.core.$strip>, z.ZodObject<{
415
- eventId: z.core.$ZodBranded<z.ZodUUID, "UUID">;
416
- transactionId: z.ZodString;
417
- declaration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
418
- annotation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<import("./FieldValue").FieldUpdateValue, unknown, z.core.$ZodTypeInternals<import("./FieldValue").FieldUpdateValue, unknown>>>>;
419
- originalActionId: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "UUID">>;
420
- keepAssignment: z.ZodOptional<z.ZodBoolean>;
421
- createdAtLocation: z.ZodOptional<z.ZodNullable<z.core.$ZodBranded<z.ZodUUID, "UUID">>>;
422
- type: z.ZodDefault<z.ZodLiteral<"CUSTOM">>;
423
- customActionType: z.ZodString;
424
- }, z.core.$strip>], "type">;
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
+ }>]>;
425
1227
  export type ActionInput = z.input<typeof ActionInput>;
426
1228
  export type ActionInputWithType = z.infer<typeof ActionInput>;
427
1229
  //# sourceMappingURL=ActionInput.d.ts.map