@opencrvs/toolkit 1.9.2-rc.e90dda1 → 1.9.2-rc.ebb7011

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 (32) hide show
  1. package/dist/commons/api/router.d.ts +958 -609
  2. package/dist/commons/events/ActionConfig.d.ts +440 -13
  3. package/dist/commons/events/ActionDocument.d.ts +90 -167
  4. package/dist/commons/events/ActionInput.d.ts +72 -98
  5. package/dist/commons/events/ActionType.d.ts +1 -7
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +7 -2
  7. package/dist/commons/events/CompositeFieldValue.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -12
  9. package/dist/commons/events/Draft.d.ts +4 -6
  10. package/dist/commons/events/EventConfig.d.ts +354 -8
  11. package/dist/commons/events/EventDocument.d.ts +36 -61
  12. package/dist/commons/events/EventIndex.d.ts +1 -6
  13. package/dist/commons/events/EventMetadata.d.ts +0 -1
  14. package/dist/commons/events/FieldConfig.d.ts +90 -0
  15. package/dist/commons/events/FieldType.d.ts +2 -1
  16. package/dist/commons/events/FieldTypeMapping.d.ts +13 -6
  17. package/dist/commons/events/FieldValue.d.ts +5 -5
  18. package/dist/commons/events/Flag.d.ts +0 -3
  19. package/dist/commons/events/FormConfig.d.ts +264 -0
  20. package/dist/commons/events/PageConfig.d.ts +176 -0
  21. package/dist/commons/events/WorkqueueConfig.d.ts +2 -16
  22. package/dist/commons/events/defineConfig.d.ts +514 -2
  23. package/dist/commons/events/scopes.d.ts +0 -1
  24. package/dist/commons/events/state/index.d.ts +1 -1
  25. package/dist/commons/events/state/utils.d.ts +37 -54
  26. package/dist/commons/events/test.utils.d.ts +9 -17
  27. package/dist/commons/events/utils.d.ts +1996 -1095
  28. package/dist/events/index.js +57 -85
  29. package/dist/notification/index.js +18 -34
  30. package/dist/scopes/index.d.ts +2 -6
  31. package/dist/scopes/index.js +0 -1
  32. package/package.json +1 -1
@@ -13,12 +13,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
13
13
  createdAt: string;
14
14
  createdBy: string;
15
15
  createdByRole: string;
16
- declaration: Record<string, import("..").FieldUpdateValue>;
16
+ declaration: Record<string, unknown>;
17
17
  status: "Rejected" | "Requested" | "Accepted";
18
18
  type: "REGISTER";
19
19
  createdBySignature?: string | null | undefined;
20
20
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
21
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
21
+ annotation?: Record<string, unknown> | null | undefined;
22
22
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
23
23
  registrationNumber?: string | undefined;
24
24
  } | {
@@ -28,7 +28,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
28
28
  createdAt: string;
29
29
  createdBy: string;
30
30
  createdByRole: string;
31
- declaration: Record<string, import("..").FieldUpdateValue>;
31
+ declaration: Record<string, unknown>;
32
32
  status: "Rejected" | "Requested" | "Accepted";
33
33
  type: "DUPLICATE_DETECTED";
34
34
  content: {
@@ -39,7 +39,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
39
39
  };
40
40
  createdBySignature?: string | null | undefined;
41
41
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
42
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
42
+ annotation?: Record<string, unknown> | null | undefined;
43
43
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
44
44
  } | {
45
45
  id: string & import("zod/v4").$brand<"UUID">;
@@ -48,29 +48,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
48
48
  createdAt: string;
49
49
  createdBy: string;
50
50
  createdByRole: string;
51
- declaration: Record<string, import("..").FieldUpdateValue>;
52
- status: "Rejected" | "Requested" | "Accepted";
53
- type: "EDIT";
54
- content: {
55
- comment?: string | undefined;
56
- };
57
- createdBySignature?: string | null | undefined;
58
- createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
59
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
60
- originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
61
- } | {
62
- id: string & import("zod/v4").$brand<"UUID">;
63
- transactionId: string;
64
- createdByUserType: "system" | "user";
65
- createdAt: string;
66
- createdBy: string;
67
- createdByRole: string;
68
- declaration: Record<string, import("..").FieldUpdateValue>;
51
+ declaration: Record<string, unknown>;
69
52
  status: "Rejected" | "Requested" | "Accepted";
70
53
  type: "PRINT_CERTIFICATE";
71
54
  createdBySignature?: string | null | undefined;
72
55
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
73
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
56
+ annotation?: Record<string, unknown> | null | undefined;
74
57
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
75
58
  content?: {
76
59
  templateId?: string | undefined;
@@ -82,12 +65,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
82
65
  createdAt: string;
83
66
  createdBy: string;
84
67
  createdByRole: string;
85
- declaration: Record<string, import("..").FieldUpdateValue>;
68
+ declaration: Record<string, unknown>;
86
69
  status: "Rejected" | "Requested" | "Accepted";
87
70
  type: "REQUEST_CORRECTION";
88
71
  createdBySignature?: string | null | undefined;
89
72
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
90
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
73
+ annotation?: Record<string, unknown> | null | undefined;
91
74
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
92
75
  } | {
93
76
  id: string & import("zod/v4").$brand<"UUID">;
@@ -96,13 +79,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
96
79
  createdAt: string;
97
80
  createdBy: string;
98
81
  createdByRole: string;
99
- declaration: Record<string, import("..").FieldUpdateValue>;
82
+ declaration: Record<string, unknown>;
100
83
  status: "Rejected" | "Requested" | "Accepted";
101
84
  type: "CUSTOM";
102
85
  customActionType: string;
103
86
  createdBySignature?: string | null | undefined;
104
87
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
105
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
88
+ annotation?: Record<string, unknown> | null | undefined;
106
89
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
107
90
  } | {
108
91
  id: string & import("zod/v4").$brand<"UUID">;
@@ -111,12 +94,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
111
94
  createdAt: string;
112
95
  createdBy: string;
113
96
  createdByRole: string;
114
- declaration: Record<string, import("..").FieldUpdateValue>;
97
+ declaration: Record<string, unknown>;
115
98
  status: "Rejected" | "Requested" | "Accepted";
116
99
  type: "CREATE";
117
100
  createdBySignature?: string | null | undefined;
118
101
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
119
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
102
+ annotation?: Record<string, unknown> | null | undefined;
120
103
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
121
104
  } | {
122
105
  id: string & import("zod/v4").$brand<"UUID">;
@@ -125,12 +108,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
125
108
  createdAt: string;
126
109
  createdBy: string;
127
110
  createdByRole: string;
128
- declaration: Record<string, import("..").FieldUpdateValue>;
111
+ declaration: Record<string, unknown>;
129
112
  status: "Rejected" | "Requested" | "Accepted";
130
113
  type: "VALIDATE";
131
114
  createdBySignature?: string | null | undefined;
132
115
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
133
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
116
+ annotation?: Record<string, unknown> | null | undefined;
134
117
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
135
118
  } | {
136
119
  id: string & import("zod/v4").$brand<"UUID">;
@@ -139,7 +122,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
139
122
  createdAt: string;
140
123
  createdBy: string;
141
124
  createdByRole: string;
142
- declaration: Record<string, import("..").FieldUpdateValue>;
125
+ declaration: Record<string, unknown>;
143
126
  status: "Rejected" | "Requested" | "Accepted";
144
127
  type: "REJECT";
145
128
  content: {
@@ -147,7 +130,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
147
130
  };
148
131
  createdBySignature?: string | null | undefined;
149
132
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
150
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
133
+ annotation?: Record<string, unknown> | null | undefined;
151
134
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
152
135
  } | {
153
136
  id: string & import("zod/v4").$brand<"UUID">;
@@ -156,12 +139,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
156
139
  createdAt: string;
157
140
  createdBy: string;
158
141
  createdByRole: string;
159
- declaration: Record<string, import("..").FieldUpdateValue>;
142
+ declaration: Record<string, unknown>;
160
143
  status: "Rejected" | "Requested" | "Accepted";
161
144
  type: "MARK_AS_NOT_DUPLICATE";
162
145
  createdBySignature?: string | null | undefined;
163
146
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
164
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
147
+ annotation?: Record<string, unknown> | null | undefined;
165
148
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
166
149
  } | {
167
150
  id: string & import("zod/v4").$brand<"UUID">;
@@ -170,12 +153,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
170
153
  createdAt: string;
171
154
  createdBy: string;
172
155
  createdByRole: string;
173
- declaration: Record<string, import("..").FieldUpdateValue>;
156
+ declaration: Record<string, unknown>;
174
157
  status: "Rejected" | "Requested" | "Accepted";
175
158
  type: "MARK_AS_DUPLICATE";
176
159
  createdBySignature?: string | null | undefined;
177
160
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
178
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
161
+ annotation?: Record<string, unknown> | null | undefined;
179
162
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
180
163
  content?: {
181
164
  duplicateOf: string & import("zod/v4").$brand<"UUID">;
@@ -187,7 +170,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
187
170
  createdAt: string;
188
171
  createdBy: string;
189
172
  createdByRole: string;
190
- declaration: Record<string, import("..").FieldUpdateValue>;
173
+ declaration: Record<string, unknown>;
191
174
  status: "Rejected" | "Requested" | "Accepted";
192
175
  type: "ARCHIVE";
193
176
  content: {
@@ -195,7 +178,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
195
178
  };
196
179
  createdBySignature?: string | null | undefined;
197
180
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
198
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
181
+ annotation?: Record<string, unknown> | null | undefined;
199
182
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
200
183
  } | {
201
184
  id: string & import("zod/v4").$brand<"UUID">;
@@ -204,12 +187,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
204
187
  createdAt: string;
205
188
  createdBy: string;
206
189
  createdByRole: string;
207
- declaration: Record<string, import("..").FieldUpdateValue>;
190
+ declaration: Record<string, unknown>;
208
191
  status: "Rejected" | "Requested" | "Accepted";
209
192
  type: "NOTIFY";
210
193
  createdBySignature?: string | null | undefined;
211
194
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
212
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
195
+ annotation?: Record<string, unknown> | null | undefined;
213
196
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
214
197
  } | {
215
198
  id: string & import("zod/v4").$brand<"UUID">;
@@ -218,12 +201,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
218
201
  createdAt: string;
219
202
  createdBy: string;
220
203
  createdByRole: string;
221
- declaration: Record<string, import("..").FieldUpdateValue>;
204
+ declaration: Record<string, unknown>;
222
205
  status: "Rejected" | "Requested" | "Accepted";
223
206
  type: "DECLARE";
224
207
  createdBySignature?: string | null | undefined;
225
208
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
226
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
209
+ annotation?: Record<string, unknown> | null | undefined;
227
210
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
228
211
  } | {
229
212
  id: string & import("zod/v4").$brand<"UUID">;
@@ -232,13 +215,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
232
215
  createdAt: string;
233
216
  createdBy: string;
234
217
  createdByRole: string;
235
- declaration: Record<string, import("..").FieldUpdateValue>;
218
+ declaration: Record<string, unknown>;
236
219
  status: "Rejected" | "Requested" | "Accepted";
237
220
  type: "ASSIGN";
238
221
  assignedTo: string;
239
222
  createdBySignature?: string | null | undefined;
240
223
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
241
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
224
+ annotation?: Record<string, unknown> | null | undefined;
242
225
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
243
226
  } | {
244
227
  id: string & import("zod/v4").$brand<"UUID">;
@@ -247,13 +230,13 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
247
230
  createdAt: string;
248
231
  createdBy: string;
249
232
  createdByRole: string;
250
- declaration: Record<string, import("..").FieldUpdateValue>;
233
+ declaration: Record<string, unknown>;
251
234
  status: "Rejected" | "Requested" | "Accepted";
252
235
  type: "APPROVE_CORRECTION";
253
236
  requestId: string;
254
237
  createdBySignature?: string | null | undefined;
255
238
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
256
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
239
+ annotation?: Record<string, unknown> | null | undefined;
257
240
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
258
241
  } | {
259
242
  id: string & import("zod/v4").$brand<"UUID">;
@@ -262,7 +245,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
262
245
  createdAt: string;
263
246
  createdBy: string;
264
247
  createdByRole: string;
265
- declaration: Record<string, import("..").FieldUpdateValue>;
248
+ declaration: Record<string, unknown>;
266
249
  status: "Rejected" | "Requested" | "Accepted";
267
250
  type: "REJECT_CORRECTION";
268
251
  requestId: string;
@@ -271,7 +254,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
271
254
  };
272
255
  createdBySignature?: string | null | undefined;
273
256
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
274
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
257
+ annotation?: Record<string, unknown> | null | undefined;
275
258
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
276
259
  } | {
277
260
  id: string & import("zod/v4").$brand<"UUID">;
@@ -280,12 +263,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
280
263
  createdAt: string;
281
264
  createdBy: string;
282
265
  createdByRole: string;
283
- declaration: Record<string, import("..").FieldUpdateValue>;
266
+ declaration: Record<string, unknown>;
284
267
  status: "Rejected" | "Requested" | "Accepted";
285
268
  type: "UNASSIGN";
286
269
  createdBySignature?: string | null | undefined;
287
270
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
288
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
271
+ annotation?: Record<string, unknown> | null | undefined;
289
272
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
290
273
  } | {
291
274
  id: string & import("zod/v4").$brand<"UUID">;
@@ -294,12 +277,12 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
294
277
  createdAt: string;
295
278
  createdBy: string;
296
279
  createdByRole: string;
297
- declaration: Record<string, import("..").FieldUpdateValue>;
280
+ declaration: Record<string, unknown>;
298
281
  status: "Rejected" | "Requested" | "Accepted";
299
282
  type: "READ";
300
283
  createdBySignature?: string | null | undefined;
301
284
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
302
- annotation?: Record<string, import("..").FieldUpdateValue> | null | undefined;
285
+ annotation?: Record<string, unknown> | null | undefined;
303
286
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
304
287
  } | {
305
288
  id: string & import("zod/v4").$brand<"UUID">;
@@ -308,7 +291,7 @@ export declare function getActionUpdateMetadata(actions: Action[]): Partial<{
308
291
  createdAt: string;
309
292
  createdBy: string;
310
293
  createdByRole: string;
311
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
294
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
312
295
  status: "Rejected";
313
296
  createdBySignature?: string | null | undefined;
314
297
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { UUID } from '../uuid';
2
2
  import { ActionDocument, ActionUpdate } from './ActionDocument';
3
- import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, EditActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput, ValidateActionInput } from './ActionInput';
3
+ import { ApproveCorrectionActionInput, ArchiveActionInput, AssignActionInput, DeclareActionInput, MarkAsDuplicateActionInput, MarkNotDuplicateActionInput, NotifyActionInput, RegisterActionInput, RejectCorrectionActionInput, RejectDeclarationActionInput, RequestCorrectionActionInput, UnassignActionInput, ValidateActionInput } from './ActionInput';
4
4
  import { ActionType } from './ActionType';
5
5
  import { Draft } from './Draft';
6
6
  import { EventConfig } from './EventConfig';
@@ -61,7 +61,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
61
61
  actions: {
62
62
  declare: (eventId: string, input?: Partial<Pick<DeclareActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
63
63
  transactionId: string;
64
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
64
+ declaration: Record<string, unknown>;
65
65
  annotation: {};
66
66
  keepAssignment?: boolean | undefined;
67
67
  type: "DECLARE";
@@ -73,21 +73,13 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
73
73
  notify: (eventId: string, input?: Partial<Pick<NotifyActionInput, "transactionId" | "declaration" | "keepAssignment">>) => {
74
74
  type: "NOTIFY";
75
75
  transactionId: string;
76
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
76
+ declaration: Record<string, unknown>;
77
77
  eventId: string;
78
78
  keepAssignment: boolean | undefined;
79
79
  };
80
- edit: (eventId: string, input?: Partial<Pick<EditActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
81
- transactionId: string;
82
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
83
- annotation: {};
84
- keepAssignment?: boolean | undefined;
85
- type: "EDIT";
86
- eventId: string;
87
- };
88
80
  validate: (eventId: string, input?: Partial<Pick<ValidateActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
89
81
  transactionId: string;
90
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
82
+ declaration: Record<string, unknown>;
91
83
  annotation: {};
92
84
  keepAssignment?: boolean | undefined;
93
85
  type: "VALIDATE";
@@ -109,7 +101,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
109
101
  };
110
102
  archive: (eventId: string, input?: Partial<Pick<ArchiveActionInput, "transactionId" | "declaration" | "keepAssignment">>) => {
111
103
  transactionId: string;
112
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
104
+ declaration: Record<string, unknown>;
113
105
  keepAssignment?: boolean | undefined;
114
106
  type: "ARCHIVE";
115
107
  annotation: {};
@@ -131,7 +123,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
131
123
  };
132
124
  register: (eventId: string, input?: Partial<Pick<RegisterActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment" | "registrationNumber">>) => {
133
125
  transactionId: string;
134
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
126
+ declaration: Record<string, unknown>;
135
127
  annotation: {};
136
128
  registrationNumber?: string | undefined;
137
129
  keepAssignment?: boolean | undefined;
@@ -150,7 +142,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
150
142
  request: (eventId: string, input?: Partial<Pick<RequestCorrectionActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
151
143
  type: "REQUEST_CORRECTION";
152
144
  transactionId: string;
153
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
145
+ declaration: Record<string, unknown>;
154
146
  annotation: {};
155
147
  eventId: string;
156
148
  keepAssignment: boolean | undefined;
@@ -181,7 +173,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
181
173
  markAsDuplicate: (eventId: string, input?: Partial<Pick<MarkAsDuplicateActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
182
174
  type: "MARK_AS_DUPLICATE";
183
175
  transactionId: string;
184
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
176
+ declaration: Record<string, unknown>;
185
177
  annotation: {};
186
178
  eventId: string;
187
179
  keepAssignment: boolean | undefined;
@@ -189,7 +181,7 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
189
181
  markNotDuplicate: (eventId: string, input?: Partial<Pick<MarkNotDuplicateActionInput, "transactionId" | "declaration" | "annotation" | "keepAssignment">>) => {
190
182
  type: "MARK_AS_NOT_DUPLICATE";
191
183
  transactionId: string;
192
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
184
+ declaration: Record<string, unknown>;
193
185
  annotation: {};
194
186
  eventId: string;
195
187
  keepAssignment: boolean | undefined;