@opencrvs/toolkit 1.9.3-rc.da977ad → 1.9.3-rc.e47111c

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