@opencrvs/toolkit 1.9.4-rc.793f834 → 1.9.4-rc.f09603b

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