@opencrvs/toolkit 1.9.4-rc.0e695b2 → 1.9.4-rc.469f912

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