@ecrvs/opencrvs-toolkit 1.8.1-rc.70f4b82

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