@opencrvs/toolkit 1.8.0-rc.fd754eb → 1.8.0-rc.fd936ab

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 (33) hide show
  1. package/dist/commons/api/router.d.ts +4205 -7695
  2. package/dist/commons/conditionals/conditionals.d.ts +6 -9
  3. package/dist/commons/conditionals/validate.d.ts +6 -4
  4. package/dist/commons/events/ActionConfig.d.ts +1680 -90025
  5. package/dist/commons/events/ActionDocument.d.ts +211 -542
  6. package/dist/commons/events/ActionInput.d.ts +240 -248
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +25 -369
  8. package/dist/commons/events/CompositeFieldValue.d.ts +0 -3
  9. package/dist/commons/events/Draft.d.ts +20 -33
  10. package/dist/commons/events/EventConfig.d.ts +1344 -42812
  11. package/dist/commons/events/EventDocument.d.ts +156 -337
  12. package/dist/commons/events/EventIndex.d.ts +13 -1346
  13. package/dist/commons/events/EventInput.d.ts +0 -13
  14. package/dist/commons/events/EventMetadata.d.ts +11 -273
  15. package/dist/commons/events/FieldConfig.d.ts +724 -3733
  16. package/dist/commons/events/FieldType.d.ts +3 -3
  17. package/dist/commons/events/FieldTypeMapping.d.ts +4 -11
  18. package/dist/commons/events/FieldValue.d.ts +4 -7
  19. package/dist/commons/events/FormConfig.d.ts +441 -40419
  20. package/dist/commons/events/PageConfig.d.ts +194 -10068
  21. package/dist/commons/events/SummaryConfig.d.ts +39 -95
  22. package/dist/commons/events/User.d.ts +0 -5
  23. package/dist/commons/events/WorkqueueConfig.d.ts +19 -1135
  24. package/dist/commons/events/defineConfig.d.ts +35 -6966
  25. package/dist/commons/events/index.d.ts +0 -3
  26. package/dist/commons/events/test.utils.d.ts +44 -7
  27. package/dist/commons/events/utils.d.ts +67 -3550
  28. package/dist/conditionals/index.js +33 -36
  29. package/dist/events/index.js +977 -1672
  30. package/package.json +2 -3
  31. package/dist/commons/events/event.d.ts +0 -27
  32. package/dist/commons/events/field.d.ts +0 -68
  33. package/dist/commons/events/scopes.d.ts +0 -26
@@ -1,6 +1,7 @@
1
1
  import { ActionType, DeclarationActionType } from './ActionType';
2
2
  import { EventConfig } from './EventConfig';
3
3
  import { FieldConfig } from './FieldConfig';
4
+ import { WorkqueueConfig } from './WorkqueueConfig';
4
5
  import { Action, ActionUpdate, EventState } from './ActionDocument';
5
6
  import { PageConfig, VerificationPageConfig } from './PageConfig';
6
7
  import { Draft } from './Draft';
@@ -12,698 +13,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
12
13
  type: "FORM";
13
14
  id: string;
14
15
  title: import("./TranslationConfig").TranslationConfig;
15
- fields: ({
16
- type: "DIVIDER";
17
- id: string;
18
- label: import("./TranslationConfig").TranslationConfig;
19
- parent?: {
20
- _fieldId?: string | undefined;
21
- } | undefined;
22
- validation?: {
23
- message: import("./TranslationConfig").TranslationConfig;
24
- validator: import(".").JSONSchema;
25
- }[] | undefined;
26
- required?: boolean | undefined;
27
- defaultValue?: string | number | boolean | undefined;
28
- conditionals?: ({
29
- type: "SHOW";
30
- conditional: import(".").JSONSchema;
31
- } | {
32
- type: "ENABLE";
33
- conditional: import(".").JSONSchema;
34
- } | {
35
- type: "DISPLAY_ON_REVIEW";
36
- conditional: import(".").JSONSchema;
37
- })[] | undefined;
38
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
39
- hideLabel?: boolean | undefined;
40
- } | {
41
- type: "TEXT";
42
- id: string;
43
- label: import("./TranslationConfig").TranslationConfig;
44
- parent?: {
45
- _fieldId?: string | undefined;
46
- } | undefined;
47
- validation?: {
48
- message: import("./TranslationConfig").TranslationConfig;
49
- validator: import(".").JSONSchema;
50
- }[] | undefined;
51
- required?: boolean | undefined;
52
- defaultValue?: string | undefined;
53
- conditionals?: ({
54
- type: "SHOW";
55
- conditional: import(".").JSONSchema;
56
- } | {
57
- type: "ENABLE";
58
- conditional: import(".").JSONSchema;
59
- } | {
60
- type: "DISPLAY_ON_REVIEW";
61
- conditional: import(".").JSONSchema;
62
- })[] | undefined;
63
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
64
- hideLabel?: boolean | undefined;
65
- configuration?: {
66
- type?: "text" | "password" | undefined;
67
- maxLength?: number | undefined;
68
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
69
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
70
- } | undefined;
71
- } | {
72
- type: "NUMBER";
73
- id: string;
74
- label: import("./TranslationConfig").TranslationConfig;
75
- parent?: {
76
- _fieldId?: string | undefined;
77
- } | undefined;
78
- validation?: {
79
- message: import("./TranslationConfig").TranslationConfig;
80
- validator: import(".").JSONSchema;
81
- }[] | undefined;
82
- required?: boolean | undefined;
83
- defaultValue?: number | undefined;
84
- conditionals?: ({
85
- type: "SHOW";
86
- conditional: import(".").JSONSchema;
87
- } | {
88
- type: "ENABLE";
89
- conditional: import(".").JSONSchema;
90
- } | {
91
- type: "DISPLAY_ON_REVIEW";
92
- conditional: import(".").JSONSchema;
93
- })[] | undefined;
94
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
95
- hideLabel?: boolean | undefined;
96
- configuration?: {
97
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
98
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
99
- min?: number | undefined;
100
- max?: number | undefined;
101
- } | undefined;
102
- } | {
103
- type: "TEXTAREA";
104
- id: string;
105
- label: import("./TranslationConfig").TranslationConfig;
106
- parent?: {
107
- _fieldId?: string | undefined;
108
- } | undefined;
109
- validation?: {
110
- message: import("./TranslationConfig").TranslationConfig;
111
- validator: import(".").JSONSchema;
112
- }[] | undefined;
113
- required?: boolean | undefined;
114
- defaultValue?: string | undefined;
115
- conditionals?: ({
116
- type: "SHOW";
117
- conditional: import(".").JSONSchema;
118
- } | {
119
- type: "ENABLE";
120
- conditional: import(".").JSONSchema;
121
- } | {
122
- type: "DISPLAY_ON_REVIEW";
123
- conditional: import(".").JSONSchema;
124
- })[] | undefined;
125
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
126
- hideLabel?: boolean | undefined;
127
- configuration?: {
128
- maxLength?: number | undefined;
129
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
130
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
131
- rows?: number | undefined;
132
- cols?: number | undefined;
133
- } | undefined;
134
- } | {
135
- type: "SIGNATURE";
136
- id: string;
137
- label: import("./TranslationConfig").TranslationConfig;
138
- configuration: {
139
- maxFileSize: number;
140
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
141
- };
142
- signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
143
- parent?: {
144
- _fieldId?: string | undefined;
145
- } | undefined;
146
- validation?: {
147
- message: import("./TranslationConfig").TranslationConfig;
148
- validator: import(".").JSONSchema;
149
- }[] | undefined;
150
- required?: boolean | undefined;
151
- defaultValue?: string | number | boolean | undefined;
152
- conditionals?: ({
153
- type: "SHOW";
154
- conditional: import(".").JSONSchema;
155
- } | {
156
- type: "ENABLE";
157
- conditional: import(".").JSONSchema;
158
- } | {
159
- type: "DISPLAY_ON_REVIEW";
160
- conditional: import(".").JSONSchema;
161
- })[] | undefined;
162
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
163
- hideLabel?: boolean | undefined;
164
- } | {
165
- type: "EMAIL";
166
- id: string;
167
- label: import("./TranslationConfig").TranslationConfig;
168
- parent?: {
169
- _fieldId?: string | undefined;
170
- } | undefined;
171
- validation?: {
172
- message: import("./TranslationConfig").TranslationConfig;
173
- validator: import(".").JSONSchema;
174
- }[] | undefined;
175
- required?: boolean | undefined;
176
- defaultValue?: string | undefined;
177
- conditionals?: ({
178
- type: "SHOW";
179
- conditional: import(".").JSONSchema;
180
- } | {
181
- type: "ENABLE";
182
- conditional: import(".").JSONSchema;
183
- } | {
184
- type: "DISPLAY_ON_REVIEW";
185
- conditional: import(".").JSONSchema;
186
- })[] | undefined;
187
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
188
- hideLabel?: boolean | undefined;
189
- configuration?: {
190
- maxLength?: number | undefined;
191
- } | undefined;
192
- } | {
193
- type: "DATE";
194
- id: string;
195
- label: import("./TranslationConfig").TranslationConfig;
196
- parent?: {
197
- _fieldId?: string | undefined;
198
- } | undefined;
199
- validation?: {
200
- message: import("./TranslationConfig").TranslationConfig;
201
- validator: import(".").JSONSchema;
202
- }[] | undefined;
203
- required?: boolean | undefined;
204
- defaultValue?: string | undefined;
205
- conditionals?: ({
206
- type: "SHOW";
207
- conditional: import(".").JSONSchema;
208
- } | {
209
- type: "ENABLE";
210
- conditional: import(".").JSONSchema;
211
- } | {
212
- type: "DISPLAY_ON_REVIEW";
213
- conditional: import(".").JSONSchema;
214
- })[] | undefined;
215
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
216
- hideLabel?: boolean | undefined;
217
- configuration?: {
218
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
219
- } | undefined;
220
- } | {
221
- type: "DATE_RANGE";
222
- id: string;
223
- label: import("./TranslationConfig").TranslationConfig;
224
- parent?: {
225
- _fieldId?: string | undefined;
226
- } | undefined;
227
- validation?: {
228
- message: import("./TranslationConfig").TranslationConfig;
229
- validator: import(".").JSONSchema;
230
- }[] | undefined;
231
- required?: boolean | undefined;
232
- defaultValue?: string | [string, string] | undefined;
233
- conditionals?: ({
234
- type: "SHOW";
235
- conditional: import(".").JSONSchema;
236
- } | {
237
- type: "ENABLE";
238
- conditional: import(".").JSONSchema;
239
- } | {
240
- type: "DISPLAY_ON_REVIEW";
241
- conditional: import(".").JSONSchema;
242
- })[] | undefined;
243
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
244
- hideLabel?: boolean | undefined;
245
- configuration?: {
246
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
247
- } | undefined;
248
- } | {
249
- type: "PARAGRAPH";
250
- id: string;
251
- label: import("./TranslationConfig").TranslationConfig;
252
- configuration: {
253
- styles?: {
254
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
255
- } | undefined;
256
- };
257
- parent?: {
258
- _fieldId?: string | undefined;
259
- } | undefined;
260
- validation?: {
261
- message: import("./TranslationConfig").TranslationConfig;
262
- validator: import(".").JSONSchema;
263
- }[] | undefined;
264
- required?: boolean | undefined;
265
- defaultValue?: string | undefined;
266
- conditionals?: ({
267
- type: "SHOW";
268
- conditional: import(".").JSONSchema;
269
- } | {
270
- type: "ENABLE";
271
- conditional: import(".").JSONSchema;
272
- } | {
273
- type: "DISPLAY_ON_REVIEW";
274
- conditional: import(".").JSONSchema;
275
- })[] | undefined;
276
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
277
- hideLabel?: boolean | undefined;
278
- } | {
279
- type: "PAGE_HEADER";
280
- id: string;
281
- label: import("./TranslationConfig").TranslationConfig;
282
- parent?: {
283
- _fieldId?: string | undefined;
284
- } | undefined;
285
- validation?: {
286
- message: import("./TranslationConfig").TranslationConfig;
287
- validator: import(".").JSONSchema;
288
- }[] | undefined;
289
- required?: boolean | undefined;
290
- defaultValue?: string | undefined;
291
- conditionals?: ({
292
- type: "SHOW";
293
- conditional: import(".").JSONSchema;
294
- } | {
295
- type: "ENABLE";
296
- conditional: import(".").JSONSchema;
297
- } | {
298
- type: "DISPLAY_ON_REVIEW";
299
- conditional: import(".").JSONSchema;
300
- })[] | undefined;
301
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
302
- hideLabel?: boolean | undefined;
303
- } | {
304
- type: "FILE";
305
- id: string;
306
- label: import("./TranslationConfig").TranslationConfig;
307
- configuration: {
308
- maxFileSize: number;
309
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
310
- style?: {
311
- width?: "full" | "auto" | undefined;
312
- } | undefined;
313
- fileName?: import("./TranslationConfig").TranslationConfig | undefined;
314
- };
315
- parent?: {
316
- _fieldId?: string | undefined;
317
- } | undefined;
318
- validation?: {
319
- message: import("./TranslationConfig").TranslationConfig;
320
- validator: import(".").JSONSchema;
321
- }[] | undefined;
322
- required?: boolean | undefined;
323
- defaultValue?: string | number | boolean | undefined;
324
- conditionals?: ({
325
- type: "SHOW";
326
- conditional: import(".").JSONSchema;
327
- } | {
328
- type: "ENABLE";
329
- conditional: import(".").JSONSchema;
330
- } | {
331
- type: "DISPLAY_ON_REVIEW";
332
- conditional: import(".").JSONSchema;
333
- })[] | undefined;
334
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
335
- hideLabel?: boolean | undefined;
336
- } | {
337
- type: "RADIO_GROUP";
338
- id: string;
339
- options: {
340
- value: string;
341
- label: import("./TranslationConfig").TranslationConfig;
342
- }[];
343
- label: import("./TranslationConfig").TranslationConfig;
344
- parent?: {
345
- _fieldId?: string | undefined;
346
- } | undefined;
347
- validation?: {
348
- message: import("./TranslationConfig").TranslationConfig;
349
- validator: import(".").JSONSchema;
350
- }[] | undefined;
351
- required?: boolean | undefined;
352
- defaultValue?: string | undefined;
353
- conditionals?: ({
354
- type: "SHOW";
355
- conditional: import(".").JSONSchema;
356
- } | {
357
- type: "ENABLE";
358
- conditional: import(".").JSONSchema;
359
- } | {
360
- type: "DISPLAY_ON_REVIEW";
361
- conditional: import(".").JSONSchema;
362
- })[] | undefined;
363
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
364
- hideLabel?: boolean | undefined;
365
- configuration?: {
366
- styles?: {
367
- size?: "NORMAL" | "LARGE" | undefined;
368
- } | undefined;
369
- } | undefined;
370
- } | {
371
- type: "BULLET_LIST";
372
- id: string;
373
- label: import("./TranslationConfig").TranslationConfig;
374
- configuration: {
375
- styles?: {
376
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
377
- } | undefined;
378
- };
379
- items: import("./TranslationConfig").TranslationConfig[];
380
- parent?: {
381
- _fieldId?: string | undefined;
382
- } | undefined;
383
- validation?: {
384
- message: import("./TranslationConfig").TranslationConfig;
385
- validator: import(".").JSONSchema;
386
- }[] | undefined;
387
- required?: boolean | undefined;
388
- defaultValue?: string | undefined;
389
- conditionals?: ({
390
- type: "SHOW";
391
- conditional: import(".").JSONSchema;
392
- } | {
393
- type: "ENABLE";
394
- conditional: import(".").JSONSchema;
395
- } | {
396
- type: "DISPLAY_ON_REVIEW";
397
- conditional: import(".").JSONSchema;
398
- })[] | undefined;
399
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
400
- hideLabel?: boolean | undefined;
401
- } | {
402
- type: "SELECT";
403
- id: string;
404
- options: {
405
- value: string;
406
- label: import("./TranslationConfig").TranslationConfig;
407
- }[];
408
- label: import("./TranslationConfig").TranslationConfig;
409
- parent?: {
410
- _fieldId?: string | undefined;
411
- } | undefined;
412
- validation?: {
413
- message: import("./TranslationConfig").TranslationConfig;
414
- validator: import(".").JSONSchema;
415
- }[] | undefined;
416
- required?: boolean | undefined;
417
- defaultValue?: string | undefined;
418
- conditionals?: ({
419
- type: "SHOW";
420
- conditional: import(".").JSONSchema;
421
- } | {
422
- type: "ENABLE";
423
- conditional: import(".").JSONSchema;
424
- } | {
425
- type: "DISPLAY_ON_REVIEW";
426
- conditional: import(".").JSONSchema;
427
- })[] | undefined;
428
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
429
- hideLabel?: boolean | undefined;
430
- } | {
431
- type: "CHECKBOX";
432
- id: string;
433
- label: import("./TranslationConfig").TranslationConfig;
434
- parent?: {
435
- _fieldId?: string | undefined;
436
- } | undefined;
437
- validation?: {
438
- message: import("./TranslationConfig").TranslationConfig;
439
- validator: import(".").JSONSchema;
440
- }[] | undefined;
441
- required?: boolean | undefined;
442
- defaultValue?: boolean | undefined;
443
- conditionals?: ({
444
- type: "SHOW";
445
- conditional: import(".").JSONSchema;
446
- } | {
447
- type: "ENABLE";
448
- conditional: import(".").JSONSchema;
449
- } | {
450
- type: "DISPLAY_ON_REVIEW";
451
- conditional: import(".").JSONSchema;
452
- })[] | undefined;
453
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
454
- hideLabel?: boolean | undefined;
455
- } | {
456
- type: "COUNTRY";
457
- id: string;
458
- label: import("./TranslationConfig").TranslationConfig;
459
- parent?: {
460
- _fieldId?: string | undefined;
461
- } | undefined;
462
- validation?: {
463
- message: import("./TranslationConfig").TranslationConfig;
464
- validator: import(".").JSONSchema;
465
- }[] | undefined;
466
- required?: boolean | undefined;
467
- defaultValue?: string | undefined;
468
- conditionals?: ({
469
- type: "SHOW";
470
- conditional: import(".").JSONSchema;
471
- } | {
472
- type: "ENABLE";
473
- conditional: import(".").JSONSchema;
474
- } | {
475
- type: "DISPLAY_ON_REVIEW";
476
- conditional: import(".").JSONSchema;
477
- })[] | undefined;
478
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
479
- hideLabel?: boolean | undefined;
480
- } | {
481
- type: "ADMINISTRATIVE_AREA";
482
- id: string;
483
- label: import("./TranslationConfig").TranslationConfig;
484
- configuration: {
485
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
486
- partOf?: {
487
- $declaration: string;
488
- } | undefined;
489
- };
490
- parent?: {
491
- _fieldId?: string | undefined;
492
- } | undefined;
493
- validation?: {
494
- message: import("./TranslationConfig").TranslationConfig;
495
- validator: import(".").JSONSchema;
496
- }[] | undefined;
497
- required?: boolean | undefined;
498
- defaultValue?: string | undefined;
499
- conditionals?: ({
500
- type: "SHOW";
501
- conditional: import(".").JSONSchema;
502
- } | {
503
- type: "ENABLE";
504
- conditional: import(".").JSONSchema;
505
- } | {
506
- type: "DISPLAY_ON_REVIEW";
507
- conditional: import(".").JSONSchema;
508
- })[] | undefined;
509
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
510
- hideLabel?: boolean | undefined;
511
- } | {
512
- type: "LOCATION";
513
- id: string;
514
- label: import("./TranslationConfig").TranslationConfig;
515
- parent?: {
516
- _fieldId?: string | undefined;
517
- } | undefined;
518
- validation?: {
519
- message: import("./TranslationConfig").TranslationConfig;
520
- validator: import(".").JSONSchema;
521
- }[] | undefined;
522
- required?: boolean | undefined;
523
- defaultValue?: string | undefined;
524
- conditionals?: ({
525
- type: "SHOW";
526
- conditional: import(".").JSONSchema;
527
- } | {
528
- type: "ENABLE";
529
- conditional: import(".").JSONSchema;
530
- } | {
531
- type: "DISPLAY_ON_REVIEW";
532
- conditional: import(".").JSONSchema;
533
- })[] | undefined;
534
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
535
- hideLabel?: boolean | undefined;
536
- } | {
537
- type: "FILE_WITH_OPTIONS";
538
- id: string;
539
- options: {
540
- value: string;
541
- label: import("./TranslationConfig").TranslationConfig;
542
- }[];
543
- label: import("./TranslationConfig").TranslationConfig;
544
- configuration: {
545
- maxFileSize: number;
546
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
547
- };
548
- parent?: {
549
- _fieldId?: string | undefined;
550
- } | undefined;
551
- validation?: {
552
- message: import("./TranslationConfig").TranslationConfig;
553
- validator: import(".").JSONSchema;
554
- }[] | undefined;
555
- required?: boolean | undefined;
556
- defaultValue?: string | number | boolean | undefined;
557
- conditionals?: ({
558
- type: "SHOW";
559
- conditional: import(".").JSONSchema;
560
- } | {
561
- type: "ENABLE";
562
- conditional: import(".").JSONSchema;
563
- } | {
564
- type: "DISPLAY_ON_REVIEW";
565
- conditional: import(".").JSONSchema;
566
- })[] | undefined;
567
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
568
- hideLabel?: boolean | undefined;
569
- } | {
570
- type: "FACILITY";
571
- id: string;
572
- label: import("./TranslationConfig").TranslationConfig;
573
- parent?: {
574
- _fieldId?: string | undefined;
575
- } | undefined;
576
- validation?: {
577
- message: import("./TranslationConfig").TranslationConfig;
578
- validator: import(".").JSONSchema;
579
- }[] | undefined;
580
- required?: boolean | undefined;
581
- defaultValue?: string | undefined;
582
- conditionals?: ({
583
- type: "SHOW";
584
- conditional: import(".").JSONSchema;
585
- } | {
586
- type: "ENABLE";
587
- conditional: import(".").JSONSchema;
588
- } | {
589
- type: "DISPLAY_ON_REVIEW";
590
- conditional: import(".").JSONSchema;
591
- })[] | undefined;
592
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
593
- hideLabel?: boolean | undefined;
594
- } | {
595
- type: "OFFICE";
596
- id: string;
597
- label: import("./TranslationConfig").TranslationConfig;
598
- parent?: {
599
- _fieldId?: string | undefined;
600
- } | undefined;
601
- validation?: {
602
- message: import("./TranslationConfig").TranslationConfig;
603
- validator: import(".").JSONSchema;
604
- }[] | undefined;
605
- required?: boolean | undefined;
606
- defaultValue?: string | undefined;
607
- conditionals?: ({
608
- type: "SHOW";
609
- conditional: import(".").JSONSchema;
610
- } | {
611
- type: "ENABLE";
612
- conditional: import(".").JSONSchema;
613
- } | {
614
- type: "DISPLAY_ON_REVIEW";
615
- conditional: import(".").JSONSchema;
616
- })[] | undefined;
617
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
618
- hideLabel?: boolean | undefined;
619
- } | {
620
- type: "ADDRESS";
621
- id: string;
622
- label: import("./TranslationConfig").TranslationConfig;
623
- parent?: {
624
- _fieldId?: string | undefined;
625
- } | undefined;
626
- validation?: {
627
- message: import("./TranslationConfig").TranslationConfig;
628
- validator: import(".").JSONSchema;
629
- }[] | undefined;
630
- required?: boolean | undefined;
631
- defaultValue?: {
632
- country: string;
633
- district: string;
634
- addressType: "DOMESTIC";
635
- province: string;
636
- urbanOrRural: "URBAN";
637
- number?: string | undefined;
638
- town?: string | undefined;
639
- residentialArea?: string | undefined;
640
- street?: string | undefined;
641
- zipCode?: string | undefined;
642
- } | {
643
- country: string;
644
- district: string;
645
- addressType: "DOMESTIC";
646
- province: string;
647
- urbanOrRural: "RURAL";
648
- village?: string | undefined;
649
- } | {
650
- country: string;
651
- state: string;
652
- addressType: "INTERNATIONAL";
653
- district2: string;
654
- cityOrTown?: string | undefined;
655
- addressLine1?: string | undefined;
656
- addressLine2?: string | undefined;
657
- addressLine3?: string | undefined;
658
- postcodeOrZip?: string | undefined;
659
- } | undefined;
660
- conditionals?: ({
661
- type: "SHOW";
662
- conditional: import(".").JSONSchema;
663
- } | {
664
- type: "ENABLE";
665
- conditional: import(".").JSONSchema;
666
- } | {
667
- type: "DISPLAY_ON_REVIEW";
668
- conditional: import(".").JSONSchema;
669
- })[] | undefined;
670
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
671
- hideLabel?: boolean | undefined;
672
- } | {
673
- type: "DATA";
674
- id: string;
675
- label: import("./TranslationConfig").TranslationConfig;
676
- configuration: {
677
- data: ({
678
- value: string | import("./TranslationConfig").TranslationConfig;
679
- label: import("./TranslationConfig").TranslationConfig;
680
- } | {
681
- fieldId: string;
682
- })[];
683
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
684
- };
685
- parent?: {
686
- _fieldId?: string | undefined;
687
- } | undefined;
688
- validation?: {
689
- message: import("./TranslationConfig").TranslationConfig;
690
- validator: import(".").JSONSchema;
691
- }[] | undefined;
692
- required?: boolean | undefined;
693
- defaultValue?: string | number | boolean | undefined;
694
- conditionals?: ({
695
- type: "SHOW";
696
- conditional: import(".").JSONSchema;
697
- } | {
698
- type: "ENABLE";
699
- conditional: import(".").JSONSchema;
700
- } | {
701
- type: "DISPLAY_ON_REVIEW";
702
- conditional: import(".").JSONSchema;
703
- })[] | undefined;
704
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
705
- hideLabel?: boolean | undefined;
706
- })[];
16
+ fields: import("./FieldConfig").Inferred[];
707
17
  conditional?: import(".").JSONSchema | undefined;
708
18
  }[];
709
19
  export declare function getDeclaration(configuration: EventConfig): {
@@ -712,2787 +22,66 @@ export declare function getDeclaration(configuration: EventConfig): {
712
22
  type: "FORM";
713
23
  id: string;
714
24
  title: import("./TranslationConfig").TranslationConfig;
715
- fields: ({
716
- type: "DIVIDER";
717
- id: string;
718
- label: import("./TranslationConfig").TranslationConfig;
719
- parent?: {
720
- _fieldId?: string | undefined;
721
- } | undefined;
722
- validation?: {
723
- message: import("./TranslationConfig").TranslationConfig;
724
- validator: import(".").JSONSchema;
725
- }[] | undefined;
726
- required?: boolean | undefined;
727
- defaultValue?: string | number | boolean | undefined;
728
- conditionals?: ({
729
- type: "SHOW";
730
- conditional: import(".").JSONSchema;
731
- } | {
732
- type: "ENABLE";
733
- conditional: import(".").JSONSchema;
734
- } | {
735
- type: "DISPLAY_ON_REVIEW";
736
- conditional: import(".").JSONSchema;
737
- })[] | undefined;
738
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
739
- hideLabel?: boolean | undefined;
740
- } | {
741
- type: "TEXT";
742
- id: string;
743
- label: import("./TranslationConfig").TranslationConfig;
744
- parent?: {
745
- _fieldId?: string | undefined;
746
- } | undefined;
747
- validation?: {
748
- message: import("./TranslationConfig").TranslationConfig;
749
- validator: import(".").JSONSchema;
750
- }[] | undefined;
751
- required?: boolean | undefined;
752
- defaultValue?: string | undefined;
753
- conditionals?: ({
754
- type: "SHOW";
755
- conditional: import(".").JSONSchema;
756
- } | {
757
- type: "ENABLE";
758
- conditional: import(".").JSONSchema;
759
- } | {
760
- type: "DISPLAY_ON_REVIEW";
761
- conditional: import(".").JSONSchema;
762
- })[] | undefined;
763
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
764
- hideLabel?: boolean | undefined;
765
- configuration?: {
766
- type?: "text" | "password" | undefined;
767
- maxLength?: number | undefined;
768
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
769
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
770
- } | undefined;
771
- } | {
772
- type: "NUMBER";
773
- id: string;
774
- label: import("./TranslationConfig").TranslationConfig;
775
- parent?: {
776
- _fieldId?: string | undefined;
777
- } | undefined;
778
- validation?: {
779
- message: import("./TranslationConfig").TranslationConfig;
780
- validator: import(".").JSONSchema;
781
- }[] | undefined;
782
- required?: boolean | undefined;
783
- defaultValue?: number | undefined;
784
- conditionals?: ({
785
- type: "SHOW";
786
- conditional: import(".").JSONSchema;
787
- } | {
788
- type: "ENABLE";
789
- conditional: import(".").JSONSchema;
790
- } | {
791
- type: "DISPLAY_ON_REVIEW";
792
- conditional: import(".").JSONSchema;
793
- })[] | undefined;
794
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
795
- hideLabel?: boolean | undefined;
796
- configuration?: {
797
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
798
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
799
- min?: number | undefined;
800
- max?: number | undefined;
801
- } | undefined;
802
- } | {
803
- type: "TEXTAREA";
804
- id: string;
805
- label: import("./TranslationConfig").TranslationConfig;
806
- parent?: {
807
- _fieldId?: string | undefined;
808
- } | undefined;
809
- validation?: {
810
- message: import("./TranslationConfig").TranslationConfig;
811
- validator: import(".").JSONSchema;
812
- }[] | undefined;
813
- required?: boolean | undefined;
814
- defaultValue?: string | undefined;
815
- conditionals?: ({
816
- type: "SHOW";
817
- conditional: import(".").JSONSchema;
818
- } | {
819
- type: "ENABLE";
820
- conditional: import(".").JSONSchema;
821
- } | {
822
- type: "DISPLAY_ON_REVIEW";
823
- conditional: import(".").JSONSchema;
824
- })[] | undefined;
825
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
826
- hideLabel?: boolean | undefined;
827
- configuration?: {
828
- maxLength?: number | undefined;
829
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
830
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
831
- rows?: number | undefined;
832
- cols?: number | undefined;
833
- } | undefined;
834
- } | {
835
- type: "SIGNATURE";
836
- id: string;
837
- label: import("./TranslationConfig").TranslationConfig;
838
- configuration: {
839
- maxFileSize: number;
840
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
841
- };
842
- signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
843
- parent?: {
844
- _fieldId?: string | undefined;
845
- } | undefined;
846
- validation?: {
847
- message: import("./TranslationConfig").TranslationConfig;
848
- validator: import(".").JSONSchema;
849
- }[] | undefined;
850
- required?: boolean | undefined;
851
- defaultValue?: string | number | boolean | undefined;
852
- conditionals?: ({
853
- type: "SHOW";
854
- conditional: import(".").JSONSchema;
855
- } | {
856
- type: "ENABLE";
857
- conditional: import(".").JSONSchema;
858
- } | {
859
- type: "DISPLAY_ON_REVIEW";
860
- conditional: import(".").JSONSchema;
861
- })[] | undefined;
862
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
863
- hideLabel?: boolean | undefined;
864
- } | {
865
- type: "EMAIL";
866
- id: string;
867
- label: import("./TranslationConfig").TranslationConfig;
868
- parent?: {
869
- _fieldId?: string | undefined;
870
- } | undefined;
871
- validation?: {
872
- message: import("./TranslationConfig").TranslationConfig;
873
- validator: import(".").JSONSchema;
874
- }[] | undefined;
875
- required?: boolean | undefined;
876
- defaultValue?: string | undefined;
877
- conditionals?: ({
878
- type: "SHOW";
879
- conditional: import(".").JSONSchema;
880
- } | {
881
- type: "ENABLE";
882
- conditional: import(".").JSONSchema;
883
- } | {
884
- type: "DISPLAY_ON_REVIEW";
885
- conditional: import(".").JSONSchema;
886
- })[] | undefined;
887
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
888
- hideLabel?: boolean | undefined;
889
- configuration?: {
890
- maxLength?: number | undefined;
891
- } | undefined;
892
- } | {
893
- type: "DATE";
894
- id: string;
895
- label: import("./TranslationConfig").TranslationConfig;
896
- parent?: {
897
- _fieldId?: string | undefined;
898
- } | undefined;
899
- validation?: {
900
- message: import("./TranslationConfig").TranslationConfig;
901
- validator: import(".").JSONSchema;
902
- }[] | undefined;
903
- required?: boolean | undefined;
904
- defaultValue?: string | undefined;
905
- conditionals?: ({
906
- type: "SHOW";
907
- conditional: import(".").JSONSchema;
908
- } | {
909
- type: "ENABLE";
910
- conditional: import(".").JSONSchema;
911
- } | {
912
- type: "DISPLAY_ON_REVIEW";
913
- conditional: import(".").JSONSchema;
914
- })[] | undefined;
915
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
916
- hideLabel?: boolean | undefined;
917
- configuration?: {
918
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
919
- } | undefined;
920
- } | {
921
- type: "DATE_RANGE";
922
- id: string;
923
- label: import("./TranslationConfig").TranslationConfig;
924
- parent?: {
925
- _fieldId?: string | undefined;
926
- } | undefined;
927
- validation?: {
928
- message: import("./TranslationConfig").TranslationConfig;
929
- validator: import(".").JSONSchema;
930
- }[] | undefined;
931
- required?: boolean | undefined;
932
- defaultValue?: string | [string, string] | undefined;
933
- conditionals?: ({
934
- type: "SHOW";
935
- conditional: import(".").JSONSchema;
936
- } | {
937
- type: "ENABLE";
938
- conditional: import(".").JSONSchema;
939
- } | {
940
- type: "DISPLAY_ON_REVIEW";
941
- conditional: import(".").JSONSchema;
942
- })[] | undefined;
943
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
944
- hideLabel?: boolean | undefined;
945
- configuration?: {
946
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
947
- } | undefined;
948
- } | {
949
- type: "PARAGRAPH";
950
- id: string;
951
- label: import("./TranslationConfig").TranslationConfig;
952
- configuration: {
953
- styles?: {
954
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
955
- } | undefined;
956
- };
957
- parent?: {
958
- _fieldId?: string | undefined;
959
- } | undefined;
960
- validation?: {
961
- message: import("./TranslationConfig").TranslationConfig;
962
- validator: import(".").JSONSchema;
963
- }[] | undefined;
964
- required?: boolean | undefined;
965
- defaultValue?: string | undefined;
966
- conditionals?: ({
967
- type: "SHOW";
968
- conditional: import(".").JSONSchema;
969
- } | {
970
- type: "ENABLE";
971
- conditional: import(".").JSONSchema;
972
- } | {
973
- type: "DISPLAY_ON_REVIEW";
974
- conditional: import(".").JSONSchema;
975
- })[] | undefined;
976
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
977
- hideLabel?: boolean | undefined;
978
- } | {
979
- type: "PAGE_HEADER";
980
- id: string;
981
- label: import("./TranslationConfig").TranslationConfig;
982
- parent?: {
983
- _fieldId?: string | undefined;
984
- } | undefined;
985
- validation?: {
986
- message: import("./TranslationConfig").TranslationConfig;
987
- validator: import(".").JSONSchema;
988
- }[] | undefined;
989
- required?: boolean | undefined;
990
- defaultValue?: string | undefined;
991
- conditionals?: ({
992
- type: "SHOW";
993
- conditional: import(".").JSONSchema;
994
- } | {
995
- type: "ENABLE";
996
- conditional: import(".").JSONSchema;
997
- } | {
998
- type: "DISPLAY_ON_REVIEW";
999
- conditional: import(".").JSONSchema;
1000
- })[] | undefined;
1001
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1002
- hideLabel?: boolean | undefined;
1003
- } | {
1004
- type: "FILE";
1005
- id: string;
1006
- label: import("./TranslationConfig").TranslationConfig;
1007
- configuration: {
1008
- maxFileSize: number;
1009
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1010
- style?: {
1011
- width?: "full" | "auto" | undefined;
1012
- } | undefined;
1013
- fileName?: import("./TranslationConfig").TranslationConfig | undefined;
1014
- };
1015
- parent?: {
1016
- _fieldId?: string | undefined;
1017
- } | undefined;
1018
- validation?: {
1019
- message: import("./TranslationConfig").TranslationConfig;
1020
- validator: import(".").JSONSchema;
1021
- }[] | undefined;
1022
- required?: boolean | undefined;
1023
- defaultValue?: string | number | boolean | undefined;
1024
- conditionals?: ({
1025
- type: "SHOW";
1026
- conditional: import(".").JSONSchema;
1027
- } | {
1028
- type: "ENABLE";
1029
- conditional: import(".").JSONSchema;
1030
- } | {
1031
- type: "DISPLAY_ON_REVIEW";
1032
- conditional: import(".").JSONSchema;
1033
- })[] | undefined;
1034
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1035
- hideLabel?: boolean | undefined;
1036
- } | {
1037
- type: "RADIO_GROUP";
1038
- id: string;
1039
- options: {
1040
- value: string;
1041
- label: import("./TranslationConfig").TranslationConfig;
1042
- }[];
1043
- label: import("./TranslationConfig").TranslationConfig;
1044
- parent?: {
1045
- _fieldId?: string | undefined;
1046
- } | undefined;
1047
- validation?: {
1048
- message: import("./TranslationConfig").TranslationConfig;
1049
- validator: import(".").JSONSchema;
1050
- }[] | undefined;
1051
- required?: boolean | undefined;
1052
- defaultValue?: string | undefined;
1053
- conditionals?: ({
1054
- type: "SHOW";
1055
- conditional: import(".").JSONSchema;
1056
- } | {
1057
- type: "ENABLE";
1058
- conditional: import(".").JSONSchema;
1059
- } | {
1060
- type: "DISPLAY_ON_REVIEW";
1061
- conditional: import(".").JSONSchema;
1062
- })[] | undefined;
1063
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1064
- hideLabel?: boolean | undefined;
1065
- configuration?: {
1066
- styles?: {
1067
- size?: "NORMAL" | "LARGE" | undefined;
1068
- } | undefined;
1069
- } | undefined;
1070
- } | {
1071
- type: "BULLET_LIST";
1072
- id: string;
1073
- label: import("./TranslationConfig").TranslationConfig;
1074
- configuration: {
1075
- styles?: {
1076
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1077
- } | undefined;
1078
- };
1079
- items: import("./TranslationConfig").TranslationConfig[];
1080
- parent?: {
1081
- _fieldId?: string | undefined;
1082
- } | undefined;
1083
- validation?: {
1084
- message: import("./TranslationConfig").TranslationConfig;
1085
- validator: import(".").JSONSchema;
1086
- }[] | undefined;
1087
- required?: boolean | undefined;
1088
- defaultValue?: string | undefined;
1089
- conditionals?: ({
1090
- type: "SHOW";
1091
- conditional: import(".").JSONSchema;
1092
- } | {
1093
- type: "ENABLE";
1094
- conditional: import(".").JSONSchema;
1095
- } | {
1096
- type: "DISPLAY_ON_REVIEW";
1097
- conditional: import(".").JSONSchema;
1098
- })[] | undefined;
1099
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1100
- hideLabel?: boolean | undefined;
1101
- } | {
1102
- type: "SELECT";
1103
- id: string;
1104
- options: {
1105
- value: string;
1106
- label: import("./TranslationConfig").TranslationConfig;
1107
- }[];
1108
- label: import("./TranslationConfig").TranslationConfig;
1109
- parent?: {
1110
- _fieldId?: string | undefined;
1111
- } | undefined;
1112
- validation?: {
1113
- message: import("./TranslationConfig").TranslationConfig;
1114
- validator: import(".").JSONSchema;
1115
- }[] | undefined;
1116
- required?: boolean | undefined;
1117
- defaultValue?: string | undefined;
1118
- conditionals?: ({
1119
- type: "SHOW";
1120
- conditional: import(".").JSONSchema;
1121
- } | {
1122
- type: "ENABLE";
1123
- conditional: import(".").JSONSchema;
1124
- } | {
1125
- type: "DISPLAY_ON_REVIEW";
1126
- conditional: import(".").JSONSchema;
1127
- })[] | undefined;
1128
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1129
- hideLabel?: boolean | undefined;
1130
- } | {
1131
- type: "CHECKBOX";
1132
- id: string;
1133
- label: import("./TranslationConfig").TranslationConfig;
1134
- parent?: {
1135
- _fieldId?: string | undefined;
1136
- } | undefined;
1137
- validation?: {
1138
- message: import("./TranslationConfig").TranslationConfig;
1139
- validator: import(".").JSONSchema;
1140
- }[] | undefined;
1141
- required?: boolean | undefined;
1142
- defaultValue?: boolean | undefined;
1143
- conditionals?: ({
1144
- type: "SHOW";
1145
- conditional: import(".").JSONSchema;
1146
- } | {
1147
- type: "ENABLE";
1148
- conditional: import(".").JSONSchema;
1149
- } | {
1150
- type: "DISPLAY_ON_REVIEW";
1151
- conditional: import(".").JSONSchema;
1152
- })[] | undefined;
1153
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1154
- hideLabel?: boolean | undefined;
1155
- } | {
1156
- type: "COUNTRY";
1157
- id: string;
1158
- label: import("./TranslationConfig").TranslationConfig;
1159
- parent?: {
1160
- _fieldId?: string | undefined;
1161
- } | undefined;
1162
- validation?: {
1163
- message: import("./TranslationConfig").TranslationConfig;
1164
- validator: import(".").JSONSchema;
1165
- }[] | undefined;
1166
- required?: boolean | undefined;
1167
- defaultValue?: string | undefined;
1168
- conditionals?: ({
1169
- type: "SHOW";
1170
- conditional: import(".").JSONSchema;
1171
- } | {
1172
- type: "ENABLE";
1173
- conditional: import(".").JSONSchema;
1174
- } | {
1175
- type: "DISPLAY_ON_REVIEW";
1176
- conditional: import(".").JSONSchema;
1177
- })[] | undefined;
1178
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1179
- hideLabel?: boolean | undefined;
1180
- } | {
1181
- type: "ADMINISTRATIVE_AREA";
1182
- id: string;
1183
- label: import("./TranslationConfig").TranslationConfig;
1184
- configuration: {
1185
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
1186
- partOf?: {
1187
- $declaration: string;
1188
- } | undefined;
1189
- };
1190
- parent?: {
1191
- _fieldId?: string | undefined;
1192
- } | undefined;
1193
- validation?: {
1194
- message: import("./TranslationConfig").TranslationConfig;
1195
- validator: import(".").JSONSchema;
1196
- }[] | undefined;
1197
- required?: boolean | undefined;
1198
- defaultValue?: string | undefined;
1199
- conditionals?: ({
1200
- type: "SHOW";
1201
- conditional: import(".").JSONSchema;
1202
- } | {
1203
- type: "ENABLE";
1204
- conditional: import(".").JSONSchema;
1205
- } | {
1206
- type: "DISPLAY_ON_REVIEW";
1207
- conditional: import(".").JSONSchema;
1208
- })[] | undefined;
1209
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1210
- hideLabel?: boolean | undefined;
1211
- } | {
1212
- type: "LOCATION";
1213
- id: string;
1214
- label: import("./TranslationConfig").TranslationConfig;
1215
- parent?: {
1216
- _fieldId?: string | undefined;
1217
- } | undefined;
1218
- validation?: {
1219
- message: import("./TranslationConfig").TranslationConfig;
1220
- validator: import(".").JSONSchema;
1221
- }[] | undefined;
1222
- required?: boolean | undefined;
1223
- defaultValue?: string | undefined;
1224
- conditionals?: ({
1225
- type: "SHOW";
1226
- conditional: import(".").JSONSchema;
1227
- } | {
1228
- type: "ENABLE";
1229
- conditional: import(".").JSONSchema;
1230
- } | {
1231
- type: "DISPLAY_ON_REVIEW";
1232
- conditional: import(".").JSONSchema;
1233
- })[] | undefined;
1234
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1235
- hideLabel?: boolean | undefined;
1236
- } | {
1237
- type: "FILE_WITH_OPTIONS";
1238
- id: string;
1239
- options: {
1240
- value: string;
1241
- label: import("./TranslationConfig").TranslationConfig;
1242
- }[];
1243
- label: import("./TranslationConfig").TranslationConfig;
1244
- configuration: {
1245
- maxFileSize: number;
1246
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1247
- };
1248
- parent?: {
1249
- _fieldId?: string | undefined;
1250
- } | undefined;
1251
- validation?: {
1252
- message: import("./TranslationConfig").TranslationConfig;
1253
- validator: import(".").JSONSchema;
1254
- }[] | undefined;
1255
- required?: boolean | undefined;
1256
- defaultValue?: string | number | boolean | undefined;
1257
- conditionals?: ({
1258
- type: "SHOW";
1259
- conditional: import(".").JSONSchema;
1260
- } | {
1261
- type: "ENABLE";
1262
- conditional: import(".").JSONSchema;
1263
- } | {
1264
- type: "DISPLAY_ON_REVIEW";
1265
- conditional: import(".").JSONSchema;
1266
- })[] | undefined;
1267
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1268
- hideLabel?: boolean | undefined;
1269
- } | {
1270
- type: "FACILITY";
1271
- id: string;
1272
- label: import("./TranslationConfig").TranslationConfig;
1273
- parent?: {
1274
- _fieldId?: string | undefined;
1275
- } | undefined;
1276
- validation?: {
1277
- message: import("./TranslationConfig").TranslationConfig;
1278
- validator: import(".").JSONSchema;
1279
- }[] | undefined;
1280
- required?: boolean | undefined;
1281
- defaultValue?: string | undefined;
1282
- conditionals?: ({
1283
- type: "SHOW";
1284
- conditional: import(".").JSONSchema;
1285
- } | {
1286
- type: "ENABLE";
1287
- conditional: import(".").JSONSchema;
1288
- } | {
1289
- type: "DISPLAY_ON_REVIEW";
1290
- conditional: import(".").JSONSchema;
1291
- })[] | undefined;
1292
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1293
- hideLabel?: boolean | undefined;
1294
- } | {
1295
- type: "OFFICE";
1296
- id: string;
1297
- label: import("./TranslationConfig").TranslationConfig;
1298
- parent?: {
1299
- _fieldId?: string | undefined;
1300
- } | undefined;
1301
- validation?: {
1302
- message: import("./TranslationConfig").TranslationConfig;
1303
- validator: import(".").JSONSchema;
1304
- }[] | undefined;
1305
- required?: boolean | undefined;
1306
- defaultValue?: string | undefined;
1307
- conditionals?: ({
1308
- type: "SHOW";
1309
- conditional: import(".").JSONSchema;
1310
- } | {
1311
- type: "ENABLE";
1312
- conditional: import(".").JSONSchema;
1313
- } | {
1314
- type: "DISPLAY_ON_REVIEW";
1315
- conditional: import(".").JSONSchema;
1316
- })[] | undefined;
1317
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1318
- hideLabel?: boolean | undefined;
1319
- } | {
1320
- type: "ADDRESS";
1321
- id: string;
1322
- label: import("./TranslationConfig").TranslationConfig;
1323
- parent?: {
1324
- _fieldId?: string | undefined;
1325
- } | undefined;
1326
- validation?: {
1327
- message: import("./TranslationConfig").TranslationConfig;
1328
- validator: import(".").JSONSchema;
1329
- }[] | undefined;
1330
- required?: boolean | undefined;
1331
- defaultValue?: {
1332
- country: string;
1333
- district: string;
1334
- addressType: "DOMESTIC";
1335
- province: string;
1336
- urbanOrRural: "URBAN";
1337
- number?: string | undefined;
1338
- town?: string | undefined;
1339
- residentialArea?: string | undefined;
1340
- street?: string | undefined;
1341
- zipCode?: string | undefined;
1342
- } | {
1343
- country: string;
1344
- district: string;
1345
- addressType: "DOMESTIC";
1346
- province: string;
1347
- urbanOrRural: "RURAL";
1348
- village?: string | undefined;
1349
- } | {
1350
- country: string;
1351
- state: string;
1352
- addressType: "INTERNATIONAL";
1353
- district2: string;
1354
- cityOrTown?: string | undefined;
1355
- addressLine1?: string | undefined;
1356
- addressLine2?: string | undefined;
1357
- addressLine3?: string | undefined;
1358
- postcodeOrZip?: string | undefined;
1359
- } | undefined;
1360
- conditionals?: ({
1361
- type: "SHOW";
1362
- conditional: import(".").JSONSchema;
1363
- } | {
1364
- type: "ENABLE";
1365
- conditional: import(".").JSONSchema;
1366
- } | {
1367
- type: "DISPLAY_ON_REVIEW";
1368
- conditional: import(".").JSONSchema;
1369
- })[] | undefined;
1370
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1371
- hideLabel?: boolean | undefined;
1372
- } | {
1373
- type: "DATA";
1374
- id: string;
1375
- label: import("./TranslationConfig").TranslationConfig;
1376
- configuration: {
1377
- data: ({
1378
- value: string | import("./TranslationConfig").TranslationConfig;
1379
- label: import("./TranslationConfig").TranslationConfig;
1380
- } | {
1381
- fieldId: string;
1382
- })[];
1383
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
1384
- };
1385
- parent?: {
1386
- _fieldId?: string | undefined;
1387
- } | undefined;
1388
- validation?: {
1389
- message: import("./TranslationConfig").TranslationConfig;
1390
- validator: import(".").JSONSchema;
1391
- }[] | undefined;
1392
- required?: boolean | undefined;
1393
- defaultValue?: string | number | boolean | undefined;
1394
- conditionals?: ({
1395
- type: "SHOW";
1396
- conditional: import(".").JSONSchema;
1397
- } | {
1398
- type: "ENABLE";
1399
- conditional: import(".").JSONSchema;
1400
- } | {
1401
- type: "DISPLAY_ON_REVIEW";
1402
- conditional: import(".").JSONSchema;
1403
- })[] | undefined;
1404
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1405
- hideLabel?: boolean | undefined;
1406
- })[];
25
+ fields: import("./FieldConfig").Inferred[];
1407
26
  conditional?: import(".").JSONSchema | undefined;
1408
27
  }[];
1409
28
  };
1410
- export declare const getActionAnnotationFields: (actionConfig: ActionConfig) => ({
1411
- type: "DIVIDER";
1412
- id: string;
1413
- label: import("./TranslationConfig").TranslationConfig;
1414
- parent?: {
1415
- _fieldId?: string | undefined;
1416
- } | undefined;
1417
- validation?: {
1418
- message: import("./TranslationConfig").TranslationConfig;
1419
- validator: import(".").JSONSchema;
1420
- }[] | undefined;
1421
- required?: boolean | undefined;
1422
- defaultValue?: string | number | boolean | undefined;
1423
- conditionals?: ({
1424
- type: "SHOW";
1425
- conditional: import(".").JSONSchema;
1426
- } | {
1427
- type: "ENABLE";
1428
- conditional: import(".").JSONSchema;
1429
- } | {
1430
- type: "DISPLAY_ON_REVIEW";
1431
- conditional: import(".").JSONSchema;
1432
- })[] | undefined;
1433
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1434
- hideLabel?: boolean | undefined;
1435
- } | {
1436
- type: "TEXT";
1437
- id: string;
1438
- label: import("./TranslationConfig").TranslationConfig;
1439
- parent?: {
1440
- _fieldId?: string | undefined;
1441
- } | undefined;
1442
- validation?: {
1443
- message: import("./TranslationConfig").TranslationConfig;
1444
- validator: import(".").JSONSchema;
1445
- }[] | undefined;
1446
- required?: boolean | undefined;
1447
- defaultValue?: string | undefined;
1448
- conditionals?: ({
1449
- type: "SHOW";
1450
- conditional: import(".").JSONSchema;
1451
- } | {
1452
- type: "ENABLE";
1453
- conditional: import(".").JSONSchema;
1454
- } | {
1455
- type: "DISPLAY_ON_REVIEW";
1456
- conditional: import(".").JSONSchema;
1457
- })[] | undefined;
1458
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1459
- hideLabel?: boolean | undefined;
1460
- configuration?: {
1461
- type?: "text" | "password" | undefined;
1462
- maxLength?: number | undefined;
1463
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1464
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1465
- } | undefined;
1466
- } | {
1467
- type: "NUMBER";
1468
- id: string;
1469
- label: import("./TranslationConfig").TranslationConfig;
1470
- parent?: {
1471
- _fieldId?: string | undefined;
1472
- } | undefined;
1473
- validation?: {
1474
- message: import("./TranslationConfig").TranslationConfig;
1475
- validator: import(".").JSONSchema;
1476
- }[] | undefined;
1477
- required?: boolean | undefined;
1478
- defaultValue?: number | undefined;
1479
- conditionals?: ({
1480
- type: "SHOW";
1481
- conditional: import(".").JSONSchema;
1482
- } | {
1483
- type: "ENABLE";
1484
- conditional: import(".").JSONSchema;
1485
- } | {
1486
- type: "DISPLAY_ON_REVIEW";
1487
- conditional: import(".").JSONSchema;
1488
- })[] | undefined;
1489
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1490
- hideLabel?: boolean | undefined;
1491
- configuration?: {
1492
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1493
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1494
- min?: number | undefined;
1495
- max?: number | undefined;
1496
- } | undefined;
1497
- } | {
1498
- type: "TEXTAREA";
1499
- id: string;
1500
- label: import("./TranslationConfig").TranslationConfig;
1501
- parent?: {
1502
- _fieldId?: string | undefined;
1503
- } | undefined;
1504
- validation?: {
1505
- message: import("./TranslationConfig").TranslationConfig;
1506
- validator: import(".").JSONSchema;
1507
- }[] | undefined;
1508
- required?: boolean | undefined;
1509
- defaultValue?: string | undefined;
1510
- conditionals?: ({
1511
- type: "SHOW";
1512
- conditional: import(".").JSONSchema;
1513
- } | {
1514
- type: "ENABLE";
1515
- conditional: import(".").JSONSchema;
1516
- } | {
1517
- type: "DISPLAY_ON_REVIEW";
1518
- conditional: import(".").JSONSchema;
1519
- })[] | undefined;
1520
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1521
- hideLabel?: boolean | undefined;
1522
- configuration?: {
1523
- maxLength?: number | undefined;
1524
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1525
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1526
- rows?: number | undefined;
1527
- cols?: number | undefined;
1528
- } | undefined;
1529
- } | {
1530
- type: "SIGNATURE";
1531
- id: string;
1532
- label: import("./TranslationConfig").TranslationConfig;
1533
- configuration: {
1534
- maxFileSize: number;
1535
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1536
- };
1537
- signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
1538
- parent?: {
1539
- _fieldId?: string | undefined;
1540
- } | undefined;
1541
- validation?: {
1542
- message: import("./TranslationConfig").TranslationConfig;
1543
- validator: import(".").JSONSchema;
1544
- }[] | undefined;
1545
- required?: boolean | undefined;
1546
- defaultValue?: string | number | boolean | undefined;
1547
- conditionals?: ({
1548
- type: "SHOW";
1549
- conditional: import(".").JSONSchema;
1550
- } | {
1551
- type: "ENABLE";
1552
- conditional: import(".").JSONSchema;
1553
- } | {
1554
- type: "DISPLAY_ON_REVIEW";
1555
- conditional: import(".").JSONSchema;
1556
- })[] | undefined;
1557
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1558
- hideLabel?: boolean | undefined;
1559
- } | {
1560
- type: "EMAIL";
1561
- id: string;
1562
- label: import("./TranslationConfig").TranslationConfig;
1563
- parent?: {
1564
- _fieldId?: string | undefined;
1565
- } | undefined;
1566
- validation?: {
1567
- message: import("./TranslationConfig").TranslationConfig;
1568
- validator: import(".").JSONSchema;
1569
- }[] | undefined;
1570
- required?: boolean | undefined;
1571
- defaultValue?: string | undefined;
1572
- conditionals?: ({
1573
- type: "SHOW";
1574
- conditional: import(".").JSONSchema;
1575
- } | {
1576
- type: "ENABLE";
1577
- conditional: import(".").JSONSchema;
1578
- } | {
1579
- type: "DISPLAY_ON_REVIEW";
1580
- conditional: import(".").JSONSchema;
1581
- })[] | undefined;
1582
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1583
- hideLabel?: boolean | undefined;
1584
- configuration?: {
1585
- maxLength?: number | undefined;
1586
- } | undefined;
1587
- } | {
1588
- type: "DATE";
1589
- id: string;
1590
- label: import("./TranslationConfig").TranslationConfig;
1591
- parent?: {
1592
- _fieldId?: string | undefined;
1593
- } | undefined;
1594
- validation?: {
1595
- message: import("./TranslationConfig").TranslationConfig;
1596
- validator: import(".").JSONSchema;
1597
- }[] | undefined;
1598
- required?: boolean | undefined;
1599
- defaultValue?: string | undefined;
1600
- conditionals?: ({
1601
- type: "SHOW";
1602
- conditional: import(".").JSONSchema;
1603
- } | {
1604
- type: "ENABLE";
1605
- conditional: import(".").JSONSchema;
1606
- } | {
1607
- type: "DISPLAY_ON_REVIEW";
1608
- conditional: import(".").JSONSchema;
1609
- })[] | undefined;
1610
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1611
- hideLabel?: boolean | undefined;
1612
- configuration?: {
1613
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
1614
- } | undefined;
1615
- } | {
1616
- type: "DATE_RANGE";
1617
- id: string;
1618
- label: import("./TranslationConfig").TranslationConfig;
1619
- parent?: {
1620
- _fieldId?: string | undefined;
1621
- } | undefined;
1622
- validation?: {
1623
- message: import("./TranslationConfig").TranslationConfig;
1624
- validator: import(".").JSONSchema;
1625
- }[] | undefined;
1626
- required?: boolean | undefined;
1627
- defaultValue?: string | [string, string] | undefined;
1628
- conditionals?: ({
1629
- type: "SHOW";
1630
- conditional: import(".").JSONSchema;
1631
- } | {
1632
- type: "ENABLE";
1633
- conditional: import(".").JSONSchema;
1634
- } | {
1635
- type: "DISPLAY_ON_REVIEW";
1636
- conditional: import(".").JSONSchema;
1637
- })[] | undefined;
1638
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1639
- hideLabel?: boolean | undefined;
1640
- configuration?: {
1641
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
1642
- } | undefined;
1643
- } | {
1644
- type: "PARAGRAPH";
1645
- id: string;
1646
- label: import("./TranslationConfig").TranslationConfig;
1647
- configuration: {
1648
- styles?: {
1649
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1650
- } | undefined;
1651
- };
1652
- parent?: {
1653
- _fieldId?: string | undefined;
1654
- } | undefined;
1655
- validation?: {
1656
- message: import("./TranslationConfig").TranslationConfig;
1657
- validator: import(".").JSONSchema;
1658
- }[] | undefined;
1659
- required?: boolean | undefined;
1660
- defaultValue?: string | undefined;
1661
- conditionals?: ({
1662
- type: "SHOW";
1663
- conditional: import(".").JSONSchema;
1664
- } | {
1665
- type: "ENABLE";
1666
- conditional: import(".").JSONSchema;
1667
- } | {
1668
- type: "DISPLAY_ON_REVIEW";
1669
- conditional: import(".").JSONSchema;
1670
- })[] | undefined;
1671
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1672
- hideLabel?: boolean | undefined;
1673
- } | {
1674
- type: "PAGE_HEADER";
1675
- id: string;
1676
- label: import("./TranslationConfig").TranslationConfig;
1677
- parent?: {
1678
- _fieldId?: string | undefined;
1679
- } | undefined;
1680
- validation?: {
1681
- message: import("./TranslationConfig").TranslationConfig;
1682
- validator: import(".").JSONSchema;
1683
- }[] | undefined;
1684
- required?: boolean | undefined;
1685
- defaultValue?: string | undefined;
1686
- conditionals?: ({
1687
- type: "SHOW";
1688
- conditional: import(".").JSONSchema;
1689
- } | {
1690
- type: "ENABLE";
1691
- conditional: import(".").JSONSchema;
1692
- } | {
1693
- type: "DISPLAY_ON_REVIEW";
1694
- conditional: import(".").JSONSchema;
1695
- })[] | undefined;
1696
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1697
- hideLabel?: boolean | undefined;
1698
- } | {
1699
- type: "FILE";
1700
- id: string;
1701
- label: import("./TranslationConfig").TranslationConfig;
1702
- configuration: {
1703
- maxFileSize: number;
1704
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1705
- style?: {
1706
- width?: "full" | "auto" | undefined;
1707
- } | undefined;
1708
- fileName?: import("./TranslationConfig").TranslationConfig | undefined;
1709
- };
1710
- parent?: {
1711
- _fieldId?: string | undefined;
1712
- } | undefined;
1713
- validation?: {
1714
- message: import("./TranslationConfig").TranslationConfig;
1715
- validator: import(".").JSONSchema;
1716
- }[] | undefined;
1717
- required?: boolean | undefined;
1718
- defaultValue?: string | number | boolean | undefined;
1719
- conditionals?: ({
1720
- type: "SHOW";
1721
- conditional: import(".").JSONSchema;
1722
- } | {
1723
- type: "ENABLE";
1724
- conditional: import(".").JSONSchema;
1725
- } | {
1726
- type: "DISPLAY_ON_REVIEW";
1727
- conditional: import(".").JSONSchema;
1728
- })[] | undefined;
1729
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1730
- hideLabel?: boolean | undefined;
1731
- } | {
1732
- type: "RADIO_GROUP";
1733
- id: string;
1734
- options: {
1735
- value: string;
1736
- label: import("./TranslationConfig").TranslationConfig;
1737
- }[];
1738
- label: import("./TranslationConfig").TranslationConfig;
1739
- parent?: {
1740
- _fieldId?: string | undefined;
1741
- } | undefined;
1742
- validation?: {
1743
- message: import("./TranslationConfig").TranslationConfig;
1744
- validator: import(".").JSONSchema;
1745
- }[] | undefined;
1746
- required?: boolean | undefined;
1747
- defaultValue?: string | undefined;
1748
- conditionals?: ({
1749
- type: "SHOW";
1750
- conditional: import(".").JSONSchema;
1751
- } | {
1752
- type: "ENABLE";
1753
- conditional: import(".").JSONSchema;
1754
- } | {
1755
- type: "DISPLAY_ON_REVIEW";
1756
- conditional: import(".").JSONSchema;
1757
- })[] | undefined;
1758
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1759
- hideLabel?: boolean | undefined;
1760
- configuration?: {
1761
- styles?: {
1762
- size?: "NORMAL" | "LARGE" | undefined;
1763
- } | undefined;
1764
- } | undefined;
1765
- } | {
1766
- type: "BULLET_LIST";
1767
- id: string;
1768
- label: import("./TranslationConfig").TranslationConfig;
1769
- configuration: {
1770
- styles?: {
1771
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
1772
- } | undefined;
1773
- };
1774
- items: import("./TranslationConfig").TranslationConfig[];
1775
- parent?: {
1776
- _fieldId?: string | undefined;
1777
- } | undefined;
1778
- validation?: {
1779
- message: import("./TranslationConfig").TranslationConfig;
1780
- validator: import(".").JSONSchema;
1781
- }[] | undefined;
1782
- required?: boolean | undefined;
1783
- defaultValue?: string | undefined;
1784
- conditionals?: ({
1785
- type: "SHOW";
1786
- conditional: import(".").JSONSchema;
1787
- } | {
1788
- type: "ENABLE";
1789
- conditional: import(".").JSONSchema;
1790
- } | {
1791
- type: "DISPLAY_ON_REVIEW";
1792
- conditional: import(".").JSONSchema;
1793
- })[] | undefined;
1794
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1795
- hideLabel?: boolean | undefined;
1796
- } | {
1797
- type: "SELECT";
1798
- id: string;
1799
- options: {
1800
- value: string;
1801
- label: import("./TranslationConfig").TranslationConfig;
1802
- }[];
1803
- label: import("./TranslationConfig").TranslationConfig;
1804
- parent?: {
1805
- _fieldId?: string | undefined;
1806
- } | undefined;
1807
- validation?: {
1808
- message: import("./TranslationConfig").TranslationConfig;
1809
- validator: import(".").JSONSchema;
1810
- }[] | undefined;
1811
- required?: boolean | undefined;
1812
- defaultValue?: string | undefined;
1813
- conditionals?: ({
1814
- type: "SHOW";
1815
- conditional: import(".").JSONSchema;
1816
- } | {
1817
- type: "ENABLE";
1818
- conditional: import(".").JSONSchema;
1819
- } | {
1820
- type: "DISPLAY_ON_REVIEW";
1821
- conditional: import(".").JSONSchema;
1822
- })[] | undefined;
1823
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1824
- hideLabel?: boolean | undefined;
1825
- } | {
1826
- type: "CHECKBOX";
1827
- id: string;
1828
- label: import("./TranslationConfig").TranslationConfig;
1829
- parent?: {
1830
- _fieldId?: string | undefined;
1831
- } | undefined;
1832
- validation?: {
1833
- message: import("./TranslationConfig").TranslationConfig;
1834
- validator: import(".").JSONSchema;
1835
- }[] | undefined;
1836
- required?: boolean | undefined;
1837
- defaultValue?: boolean | undefined;
1838
- conditionals?: ({
1839
- type: "SHOW";
1840
- conditional: import(".").JSONSchema;
1841
- } | {
1842
- type: "ENABLE";
1843
- conditional: import(".").JSONSchema;
1844
- } | {
1845
- type: "DISPLAY_ON_REVIEW";
1846
- conditional: import(".").JSONSchema;
1847
- })[] | undefined;
1848
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1849
- hideLabel?: boolean | undefined;
1850
- } | {
1851
- type: "COUNTRY";
1852
- id: string;
1853
- label: import("./TranslationConfig").TranslationConfig;
1854
- parent?: {
1855
- _fieldId?: string | undefined;
1856
- } | undefined;
1857
- validation?: {
1858
- message: import("./TranslationConfig").TranslationConfig;
1859
- validator: import(".").JSONSchema;
1860
- }[] | undefined;
1861
- required?: boolean | undefined;
1862
- defaultValue?: string | undefined;
1863
- conditionals?: ({
1864
- type: "SHOW";
1865
- conditional: import(".").JSONSchema;
1866
- } | {
1867
- type: "ENABLE";
1868
- conditional: import(".").JSONSchema;
1869
- } | {
1870
- type: "DISPLAY_ON_REVIEW";
1871
- conditional: import(".").JSONSchema;
1872
- })[] | undefined;
1873
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1874
- hideLabel?: boolean | undefined;
1875
- } | {
1876
- type: "ADMINISTRATIVE_AREA";
1877
- id: string;
1878
- label: import("./TranslationConfig").TranslationConfig;
1879
- configuration: {
1880
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
1881
- partOf?: {
1882
- $declaration: string;
1883
- } | undefined;
1884
- };
1885
- parent?: {
1886
- _fieldId?: string | undefined;
1887
- } | undefined;
1888
- validation?: {
1889
- message: import("./TranslationConfig").TranslationConfig;
1890
- validator: import(".").JSONSchema;
1891
- }[] | undefined;
1892
- required?: boolean | undefined;
1893
- defaultValue?: string | undefined;
1894
- conditionals?: ({
1895
- type: "SHOW";
1896
- conditional: import(".").JSONSchema;
1897
- } | {
1898
- type: "ENABLE";
1899
- conditional: import(".").JSONSchema;
1900
- } | {
1901
- type: "DISPLAY_ON_REVIEW";
1902
- conditional: import(".").JSONSchema;
1903
- })[] | undefined;
1904
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1905
- hideLabel?: boolean | undefined;
1906
- } | {
1907
- type: "LOCATION";
1908
- id: string;
1909
- label: import("./TranslationConfig").TranslationConfig;
1910
- parent?: {
1911
- _fieldId?: string | undefined;
1912
- } | undefined;
1913
- validation?: {
1914
- message: import("./TranslationConfig").TranslationConfig;
1915
- validator: import(".").JSONSchema;
1916
- }[] | undefined;
1917
- required?: boolean | undefined;
1918
- defaultValue?: string | undefined;
1919
- conditionals?: ({
1920
- type: "SHOW";
1921
- conditional: import(".").JSONSchema;
1922
- } | {
1923
- type: "ENABLE";
1924
- conditional: import(".").JSONSchema;
1925
- } | {
1926
- type: "DISPLAY_ON_REVIEW";
1927
- conditional: import(".").JSONSchema;
1928
- })[] | undefined;
1929
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1930
- hideLabel?: boolean | undefined;
1931
- } | {
1932
- type: "FILE_WITH_OPTIONS";
1933
- id: string;
1934
- options: {
1935
- value: string;
1936
- label: import("./TranslationConfig").TranslationConfig;
1937
- }[];
1938
- label: import("./TranslationConfig").TranslationConfig;
1939
- configuration: {
1940
- maxFileSize: number;
1941
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
1942
- };
1943
- parent?: {
1944
- _fieldId?: string | undefined;
1945
- } | undefined;
1946
- validation?: {
1947
- message: import("./TranslationConfig").TranslationConfig;
1948
- validator: import(".").JSONSchema;
1949
- }[] | undefined;
1950
- required?: boolean | undefined;
1951
- defaultValue?: string | number | boolean | undefined;
1952
- conditionals?: ({
1953
- type: "SHOW";
1954
- conditional: import(".").JSONSchema;
1955
- } | {
1956
- type: "ENABLE";
1957
- conditional: import(".").JSONSchema;
1958
- } | {
1959
- type: "DISPLAY_ON_REVIEW";
1960
- conditional: import(".").JSONSchema;
1961
- })[] | undefined;
1962
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1963
- hideLabel?: boolean | undefined;
1964
- } | {
1965
- type: "FACILITY";
1966
- id: string;
1967
- label: import("./TranslationConfig").TranslationConfig;
1968
- parent?: {
1969
- _fieldId?: string | undefined;
1970
- } | undefined;
1971
- validation?: {
1972
- message: import("./TranslationConfig").TranslationConfig;
1973
- validator: import(".").JSONSchema;
1974
- }[] | undefined;
1975
- required?: boolean | undefined;
1976
- defaultValue?: string | undefined;
1977
- conditionals?: ({
1978
- type: "SHOW";
1979
- conditional: import(".").JSONSchema;
1980
- } | {
1981
- type: "ENABLE";
1982
- conditional: import(".").JSONSchema;
1983
- } | {
1984
- type: "DISPLAY_ON_REVIEW";
1985
- conditional: import(".").JSONSchema;
1986
- })[] | undefined;
1987
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1988
- hideLabel?: boolean | undefined;
1989
- } | {
1990
- type: "OFFICE";
1991
- id: string;
1992
- label: import("./TranslationConfig").TranslationConfig;
1993
- parent?: {
1994
- _fieldId?: string | undefined;
1995
- } | undefined;
1996
- validation?: {
1997
- message: import("./TranslationConfig").TranslationConfig;
1998
- validator: import(".").JSONSchema;
1999
- }[] | undefined;
2000
- required?: boolean | undefined;
2001
- defaultValue?: string | undefined;
2002
- conditionals?: ({
2003
- type: "SHOW";
2004
- conditional: import(".").JSONSchema;
2005
- } | {
2006
- type: "ENABLE";
2007
- conditional: import(".").JSONSchema;
2008
- } | {
2009
- type: "DISPLAY_ON_REVIEW";
2010
- conditional: import(".").JSONSchema;
2011
- })[] | undefined;
2012
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2013
- hideLabel?: boolean | undefined;
2014
- } | {
2015
- type: "ADDRESS";
2016
- id: string;
2017
- label: import("./TranslationConfig").TranslationConfig;
2018
- parent?: {
2019
- _fieldId?: string | undefined;
2020
- } | undefined;
2021
- validation?: {
2022
- message: import("./TranslationConfig").TranslationConfig;
2023
- validator: import(".").JSONSchema;
2024
- }[] | undefined;
2025
- required?: boolean | undefined;
2026
- defaultValue?: {
2027
- country: string;
2028
- district: string;
2029
- addressType: "DOMESTIC";
2030
- province: string;
2031
- urbanOrRural: "URBAN";
2032
- number?: string | undefined;
2033
- town?: string | undefined;
2034
- residentialArea?: string | undefined;
2035
- street?: string | undefined;
2036
- zipCode?: string | undefined;
2037
- } | {
2038
- country: string;
2039
- district: string;
2040
- addressType: "DOMESTIC";
2041
- province: string;
2042
- urbanOrRural: "RURAL";
2043
- village?: string | undefined;
2044
- } | {
2045
- country: string;
2046
- state: string;
2047
- addressType: "INTERNATIONAL";
2048
- district2: string;
2049
- cityOrTown?: string | undefined;
2050
- addressLine1?: string | undefined;
2051
- addressLine2?: string | undefined;
2052
- addressLine3?: string | undefined;
2053
- postcodeOrZip?: string | undefined;
2054
- } | undefined;
2055
- conditionals?: ({
2056
- type: "SHOW";
2057
- conditional: import(".").JSONSchema;
2058
- } | {
2059
- type: "ENABLE";
2060
- conditional: import(".").JSONSchema;
2061
- } | {
2062
- type: "DISPLAY_ON_REVIEW";
2063
- conditional: import(".").JSONSchema;
2064
- })[] | undefined;
2065
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2066
- hideLabel?: boolean | undefined;
2067
- } | {
2068
- type: "DATA";
2069
- id: string;
2070
- label: import("./TranslationConfig").TranslationConfig;
2071
- configuration: {
2072
- data: ({
2073
- value: string | import("./TranslationConfig").TranslationConfig;
2074
- label: import("./TranslationConfig").TranslationConfig;
2075
- } | {
2076
- fieldId: string;
2077
- })[];
2078
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
2079
- };
2080
- parent?: {
2081
- _fieldId?: string | undefined;
2082
- } | undefined;
2083
- validation?: {
2084
- message: import("./TranslationConfig").TranslationConfig;
2085
- validator: import(".").JSONSchema;
2086
- }[] | undefined;
2087
- required?: boolean | undefined;
2088
- defaultValue?: string | number | boolean | undefined;
2089
- conditionals?: ({
2090
- type: "SHOW";
2091
- conditional: import(".").JSONSchema;
2092
- } | {
2093
- type: "ENABLE";
2094
- conditional: import(".").JSONSchema;
2095
- } | {
2096
- type: "DISPLAY_ON_REVIEW";
2097
- conditional: import(".").JSONSchema;
2098
- })[] | undefined;
2099
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2100
- hideLabel?: boolean | undefined;
2101
- })[];
29
+ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) => import("./FieldConfig").Inferred[];
30
+ export declare const getAllAnnotationFields: (config: EventConfig) => FieldConfig[];
31
+ /**
32
+ * @returns All the fields in the event configuration.
33
+ */
34
+ export declare const findAllFields: (config: EventConfig) => FieldConfig[];
2102
35
  /**
2103
36
  * @TODO: Request correction should have same format as print certificate
2104
37
  */
2105
38
  export declare const findRecordActionPages: (config: EventConfig, actionType: ActionType) => PageConfig[];
2106
39
  export declare function getActionReview(configuration: EventConfig, actionType: ActionType): {
2107
40
  title: import("./TranslationConfig").TranslationConfig;
2108
- fields: ({
2109
- type: "DIVIDER";
2110
- id: string;
2111
- label: import("./TranslationConfig").TranslationConfig;
2112
- parent?: {
2113
- _fieldId?: string | undefined;
2114
- } | undefined;
2115
- validation?: {
2116
- message: import("./TranslationConfig").TranslationConfig;
2117
- validator: import(".").JSONSchema;
2118
- }[] | undefined;
2119
- required?: boolean | undefined;
2120
- defaultValue?: string | number | boolean | undefined;
2121
- conditionals?: ({
2122
- type: "SHOW";
2123
- conditional: import(".").JSONSchema;
2124
- } | {
2125
- type: "ENABLE";
2126
- conditional: import(".").JSONSchema;
2127
- } | {
2128
- type: "DISPLAY_ON_REVIEW";
2129
- conditional: import(".").JSONSchema;
2130
- })[] | undefined;
2131
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2132
- hideLabel?: boolean | undefined;
2133
- } | {
2134
- type: "TEXT";
2135
- id: string;
2136
- label: import("./TranslationConfig").TranslationConfig;
2137
- parent?: {
2138
- _fieldId?: string | undefined;
2139
- } | undefined;
2140
- validation?: {
2141
- message: import("./TranslationConfig").TranslationConfig;
2142
- validator: import(".").JSONSchema;
2143
- }[] | undefined;
2144
- required?: boolean | undefined;
2145
- defaultValue?: string | undefined;
2146
- conditionals?: ({
2147
- type: "SHOW";
2148
- conditional: import(".").JSONSchema;
2149
- } | {
2150
- type: "ENABLE";
2151
- conditional: import(".").JSONSchema;
2152
- } | {
2153
- type: "DISPLAY_ON_REVIEW";
2154
- conditional: import(".").JSONSchema;
2155
- })[] | undefined;
2156
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2157
- hideLabel?: boolean | undefined;
2158
- configuration?: {
2159
- type?: "text" | "password" | undefined;
2160
- maxLength?: number | undefined;
2161
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2162
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2163
- } | undefined;
2164
- } | {
2165
- type: "NUMBER";
2166
- id: string;
2167
- label: import("./TranslationConfig").TranslationConfig;
2168
- parent?: {
2169
- _fieldId?: string | undefined;
2170
- } | undefined;
2171
- validation?: {
2172
- message: import("./TranslationConfig").TranslationConfig;
2173
- validator: import(".").JSONSchema;
2174
- }[] | undefined;
2175
- required?: boolean | undefined;
2176
- defaultValue?: number | undefined;
2177
- conditionals?: ({
2178
- type: "SHOW";
2179
- conditional: import(".").JSONSchema;
2180
- } | {
2181
- type: "ENABLE";
2182
- conditional: import(".").JSONSchema;
2183
- } | {
2184
- type: "DISPLAY_ON_REVIEW";
2185
- conditional: import(".").JSONSchema;
2186
- })[] | undefined;
2187
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2188
- hideLabel?: boolean | undefined;
2189
- configuration?: {
2190
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2191
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2192
- min?: number | undefined;
2193
- max?: number | undefined;
2194
- } | undefined;
2195
- } | {
2196
- type: "TEXTAREA";
2197
- id: string;
2198
- label: import("./TranslationConfig").TranslationConfig;
2199
- parent?: {
2200
- _fieldId?: string | undefined;
2201
- } | undefined;
2202
- validation?: {
2203
- message: import("./TranslationConfig").TranslationConfig;
2204
- validator: import(".").JSONSchema;
2205
- }[] | undefined;
2206
- required?: boolean | undefined;
2207
- defaultValue?: string | undefined;
2208
- conditionals?: ({
2209
- type: "SHOW";
2210
- conditional: import(".").JSONSchema;
2211
- } | {
2212
- type: "ENABLE";
2213
- conditional: import(".").JSONSchema;
2214
- } | {
2215
- type: "DISPLAY_ON_REVIEW";
2216
- conditional: import(".").JSONSchema;
2217
- })[] | undefined;
2218
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2219
- hideLabel?: boolean | undefined;
2220
- configuration?: {
2221
- maxLength?: number | undefined;
2222
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2223
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2224
- rows?: number | undefined;
2225
- cols?: number | undefined;
2226
- } | undefined;
2227
- } | {
2228
- type: "SIGNATURE";
2229
- id: string;
2230
- label: import("./TranslationConfig").TranslationConfig;
2231
- configuration: {
2232
- maxFileSize: number;
2233
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2234
- };
2235
- signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
2236
- parent?: {
2237
- _fieldId?: string | undefined;
2238
- } | undefined;
2239
- validation?: {
2240
- message: import("./TranslationConfig").TranslationConfig;
2241
- validator: import(".").JSONSchema;
2242
- }[] | undefined;
2243
- required?: boolean | undefined;
2244
- defaultValue?: string | number | boolean | undefined;
2245
- conditionals?: ({
2246
- type: "SHOW";
2247
- conditional: import(".").JSONSchema;
2248
- } | {
2249
- type: "ENABLE";
2250
- conditional: import(".").JSONSchema;
2251
- } | {
2252
- type: "DISPLAY_ON_REVIEW";
2253
- conditional: import(".").JSONSchema;
2254
- })[] | undefined;
2255
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2256
- hideLabel?: boolean | undefined;
2257
- } | {
2258
- type: "EMAIL";
2259
- id: string;
2260
- label: import("./TranslationConfig").TranslationConfig;
2261
- parent?: {
2262
- _fieldId?: string | undefined;
2263
- } | undefined;
2264
- validation?: {
2265
- message: import("./TranslationConfig").TranslationConfig;
2266
- validator: import(".").JSONSchema;
2267
- }[] | undefined;
2268
- required?: boolean | undefined;
2269
- defaultValue?: string | undefined;
2270
- conditionals?: ({
2271
- type: "SHOW";
2272
- conditional: import(".").JSONSchema;
2273
- } | {
2274
- type: "ENABLE";
2275
- conditional: import(".").JSONSchema;
2276
- } | {
2277
- type: "DISPLAY_ON_REVIEW";
2278
- conditional: import(".").JSONSchema;
2279
- })[] | undefined;
2280
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2281
- hideLabel?: boolean | undefined;
2282
- configuration?: {
2283
- maxLength?: number | undefined;
2284
- } | undefined;
2285
- } | {
2286
- type: "DATE";
2287
- id: string;
2288
- label: import("./TranslationConfig").TranslationConfig;
2289
- parent?: {
2290
- _fieldId?: string | undefined;
2291
- } | undefined;
2292
- validation?: {
2293
- message: import("./TranslationConfig").TranslationConfig;
2294
- validator: import(".").JSONSchema;
2295
- }[] | undefined;
2296
- required?: boolean | undefined;
2297
- defaultValue?: string | undefined;
2298
- conditionals?: ({
2299
- type: "SHOW";
2300
- conditional: import(".").JSONSchema;
2301
- } | {
2302
- type: "ENABLE";
2303
- conditional: import(".").JSONSchema;
2304
- } | {
2305
- type: "DISPLAY_ON_REVIEW";
2306
- conditional: import(".").JSONSchema;
2307
- })[] | undefined;
2308
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2309
- hideLabel?: boolean | undefined;
2310
- configuration?: {
2311
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
2312
- } | undefined;
2313
- } | {
2314
- type: "DATE_RANGE";
2315
- id: string;
2316
- label: import("./TranslationConfig").TranslationConfig;
2317
- parent?: {
2318
- _fieldId?: string | undefined;
2319
- } | undefined;
2320
- validation?: {
2321
- message: import("./TranslationConfig").TranslationConfig;
2322
- validator: import(".").JSONSchema;
2323
- }[] | undefined;
2324
- required?: boolean | undefined;
2325
- defaultValue?: string | [string, string] | undefined;
2326
- conditionals?: ({
2327
- type: "SHOW";
2328
- conditional: import(".").JSONSchema;
2329
- } | {
2330
- type: "ENABLE";
2331
- conditional: import(".").JSONSchema;
2332
- } | {
2333
- type: "DISPLAY_ON_REVIEW";
2334
- conditional: import(".").JSONSchema;
2335
- })[] | undefined;
2336
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2337
- hideLabel?: boolean | undefined;
2338
- configuration?: {
2339
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
2340
- } | undefined;
2341
- } | {
2342
- type: "PARAGRAPH";
2343
- id: string;
2344
- label: import("./TranslationConfig").TranslationConfig;
2345
- configuration: {
2346
- styles?: {
2347
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
2348
- } | undefined;
2349
- };
2350
- parent?: {
2351
- _fieldId?: string | undefined;
2352
- } | undefined;
2353
- validation?: {
2354
- message: import("./TranslationConfig").TranslationConfig;
2355
- validator: import(".").JSONSchema;
2356
- }[] | undefined;
2357
- required?: boolean | undefined;
2358
- defaultValue?: string | undefined;
2359
- conditionals?: ({
2360
- type: "SHOW";
2361
- conditional: import(".").JSONSchema;
2362
- } | {
2363
- type: "ENABLE";
2364
- conditional: import(".").JSONSchema;
2365
- } | {
2366
- type: "DISPLAY_ON_REVIEW";
2367
- conditional: import(".").JSONSchema;
2368
- })[] | undefined;
2369
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2370
- hideLabel?: boolean | undefined;
2371
- } | {
2372
- type: "PAGE_HEADER";
2373
- id: string;
2374
- label: import("./TranslationConfig").TranslationConfig;
2375
- parent?: {
2376
- _fieldId?: string | undefined;
2377
- } | undefined;
2378
- validation?: {
2379
- message: import("./TranslationConfig").TranslationConfig;
2380
- validator: import(".").JSONSchema;
2381
- }[] | undefined;
2382
- required?: boolean | undefined;
2383
- defaultValue?: string | undefined;
2384
- conditionals?: ({
2385
- type: "SHOW";
2386
- conditional: import(".").JSONSchema;
2387
- } | {
2388
- type: "ENABLE";
2389
- conditional: import(".").JSONSchema;
2390
- } | {
2391
- type: "DISPLAY_ON_REVIEW";
2392
- conditional: import(".").JSONSchema;
2393
- })[] | undefined;
2394
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2395
- hideLabel?: boolean | undefined;
2396
- } | {
2397
- type: "FILE";
2398
- id: string;
2399
- label: import("./TranslationConfig").TranslationConfig;
2400
- configuration: {
2401
- maxFileSize: number;
2402
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2403
- style?: {
2404
- width?: "full" | "auto" | undefined;
2405
- } | undefined;
2406
- fileName?: import("./TranslationConfig").TranslationConfig | undefined;
2407
- };
2408
- parent?: {
2409
- _fieldId?: string | undefined;
2410
- } | undefined;
2411
- validation?: {
2412
- message: import("./TranslationConfig").TranslationConfig;
2413
- validator: import(".").JSONSchema;
2414
- }[] | undefined;
2415
- required?: boolean | undefined;
2416
- defaultValue?: string | number | boolean | undefined;
2417
- conditionals?: ({
2418
- type: "SHOW";
2419
- conditional: import(".").JSONSchema;
2420
- } | {
2421
- type: "ENABLE";
2422
- conditional: import(".").JSONSchema;
2423
- } | {
2424
- type: "DISPLAY_ON_REVIEW";
2425
- conditional: import(".").JSONSchema;
2426
- })[] | undefined;
2427
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2428
- hideLabel?: boolean | undefined;
2429
- } | {
2430
- type: "RADIO_GROUP";
2431
- id: string;
2432
- options: {
2433
- value: string;
2434
- label: import("./TranslationConfig").TranslationConfig;
2435
- }[];
2436
- label: import("./TranslationConfig").TranslationConfig;
2437
- parent?: {
2438
- _fieldId?: string | undefined;
2439
- } | undefined;
2440
- validation?: {
2441
- message: import("./TranslationConfig").TranslationConfig;
2442
- validator: import(".").JSONSchema;
2443
- }[] | undefined;
2444
- required?: boolean | undefined;
2445
- defaultValue?: string | undefined;
2446
- conditionals?: ({
2447
- type: "SHOW";
2448
- conditional: import(".").JSONSchema;
2449
- } | {
2450
- type: "ENABLE";
2451
- conditional: import(".").JSONSchema;
2452
- } | {
2453
- type: "DISPLAY_ON_REVIEW";
2454
- conditional: import(".").JSONSchema;
2455
- })[] | undefined;
2456
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2457
- hideLabel?: boolean | undefined;
2458
- configuration?: {
2459
- styles?: {
2460
- size?: "NORMAL" | "LARGE" | undefined;
2461
- } | undefined;
2462
- } | undefined;
2463
- } | {
2464
- type: "BULLET_LIST";
2465
- id: string;
2466
- label: import("./TranslationConfig").TranslationConfig;
2467
- configuration: {
2468
- styles?: {
2469
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
2470
- } | undefined;
2471
- };
2472
- items: import("./TranslationConfig").TranslationConfig[];
2473
- parent?: {
2474
- _fieldId?: string | undefined;
2475
- } | undefined;
2476
- validation?: {
2477
- message: import("./TranslationConfig").TranslationConfig;
2478
- validator: import(".").JSONSchema;
2479
- }[] | undefined;
2480
- required?: boolean | undefined;
2481
- defaultValue?: string | undefined;
2482
- conditionals?: ({
2483
- type: "SHOW";
2484
- conditional: import(".").JSONSchema;
2485
- } | {
2486
- type: "ENABLE";
2487
- conditional: import(".").JSONSchema;
2488
- } | {
2489
- type: "DISPLAY_ON_REVIEW";
2490
- conditional: import(".").JSONSchema;
2491
- })[] | undefined;
2492
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2493
- hideLabel?: boolean | undefined;
2494
- } | {
2495
- type: "SELECT";
2496
- id: string;
2497
- options: {
2498
- value: string;
2499
- label: import("./TranslationConfig").TranslationConfig;
2500
- }[];
2501
- label: import("./TranslationConfig").TranslationConfig;
2502
- parent?: {
2503
- _fieldId?: string | undefined;
2504
- } | undefined;
2505
- validation?: {
2506
- message: import("./TranslationConfig").TranslationConfig;
2507
- validator: import(".").JSONSchema;
2508
- }[] | undefined;
2509
- required?: boolean | undefined;
2510
- defaultValue?: string | undefined;
2511
- conditionals?: ({
2512
- type: "SHOW";
2513
- conditional: import(".").JSONSchema;
2514
- } | {
2515
- type: "ENABLE";
2516
- conditional: import(".").JSONSchema;
2517
- } | {
2518
- type: "DISPLAY_ON_REVIEW";
2519
- conditional: import(".").JSONSchema;
2520
- })[] | undefined;
2521
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2522
- hideLabel?: boolean | undefined;
2523
- } | {
2524
- type: "CHECKBOX";
2525
- id: string;
2526
- label: import("./TranslationConfig").TranslationConfig;
2527
- parent?: {
2528
- _fieldId?: string | undefined;
2529
- } | undefined;
2530
- validation?: {
2531
- message: import("./TranslationConfig").TranslationConfig;
2532
- validator: import(".").JSONSchema;
2533
- }[] | undefined;
2534
- required?: boolean | undefined;
2535
- defaultValue?: boolean | undefined;
2536
- conditionals?: ({
2537
- type: "SHOW";
2538
- conditional: import(".").JSONSchema;
2539
- } | {
2540
- type: "ENABLE";
2541
- conditional: import(".").JSONSchema;
2542
- } | {
2543
- type: "DISPLAY_ON_REVIEW";
2544
- conditional: import(".").JSONSchema;
2545
- })[] | undefined;
2546
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2547
- hideLabel?: boolean | undefined;
2548
- } | {
2549
- type: "COUNTRY";
2550
- id: string;
2551
- label: import("./TranslationConfig").TranslationConfig;
2552
- parent?: {
2553
- _fieldId?: string | undefined;
2554
- } | undefined;
2555
- validation?: {
2556
- message: import("./TranslationConfig").TranslationConfig;
2557
- validator: import(".").JSONSchema;
2558
- }[] | undefined;
2559
- required?: boolean | undefined;
2560
- defaultValue?: string | undefined;
2561
- conditionals?: ({
2562
- type: "SHOW";
2563
- conditional: import(".").JSONSchema;
2564
- } | {
2565
- type: "ENABLE";
2566
- conditional: import(".").JSONSchema;
2567
- } | {
2568
- type: "DISPLAY_ON_REVIEW";
2569
- conditional: import(".").JSONSchema;
2570
- })[] | undefined;
2571
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2572
- hideLabel?: boolean | undefined;
2573
- } | {
2574
- type: "ADMINISTRATIVE_AREA";
2575
- id: string;
2576
- label: import("./TranslationConfig").TranslationConfig;
2577
- configuration: {
2578
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
2579
- partOf?: {
2580
- $declaration: string;
2581
- } | undefined;
2582
- };
2583
- parent?: {
2584
- _fieldId?: string | undefined;
2585
- } | undefined;
2586
- validation?: {
2587
- message: import("./TranslationConfig").TranslationConfig;
2588
- validator: import(".").JSONSchema;
2589
- }[] | undefined;
2590
- required?: boolean | undefined;
2591
- defaultValue?: string | undefined;
2592
- conditionals?: ({
2593
- type: "SHOW";
2594
- conditional: import(".").JSONSchema;
2595
- } | {
2596
- type: "ENABLE";
2597
- conditional: import(".").JSONSchema;
2598
- } | {
2599
- type: "DISPLAY_ON_REVIEW";
2600
- conditional: import(".").JSONSchema;
2601
- })[] | undefined;
2602
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2603
- hideLabel?: boolean | undefined;
2604
- } | {
2605
- type: "LOCATION";
2606
- id: string;
2607
- label: import("./TranslationConfig").TranslationConfig;
2608
- parent?: {
2609
- _fieldId?: string | undefined;
2610
- } | undefined;
2611
- validation?: {
2612
- message: import("./TranslationConfig").TranslationConfig;
2613
- validator: import(".").JSONSchema;
2614
- }[] | undefined;
2615
- required?: boolean | undefined;
2616
- defaultValue?: string | undefined;
2617
- conditionals?: ({
2618
- type: "SHOW";
2619
- conditional: import(".").JSONSchema;
2620
- } | {
2621
- type: "ENABLE";
2622
- conditional: import(".").JSONSchema;
2623
- } | {
2624
- type: "DISPLAY_ON_REVIEW";
2625
- conditional: import(".").JSONSchema;
2626
- })[] | undefined;
2627
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2628
- hideLabel?: boolean | undefined;
2629
- } | {
2630
- type: "FILE_WITH_OPTIONS";
2631
- id: string;
2632
- options: {
2633
- value: string;
2634
- label: import("./TranslationConfig").TranslationConfig;
2635
- }[];
2636
- label: import("./TranslationConfig").TranslationConfig;
2637
- configuration: {
2638
- maxFileSize: number;
2639
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2640
- };
2641
- parent?: {
2642
- _fieldId?: string | undefined;
2643
- } | undefined;
2644
- validation?: {
2645
- message: import("./TranslationConfig").TranslationConfig;
2646
- validator: import(".").JSONSchema;
2647
- }[] | undefined;
2648
- required?: boolean | undefined;
2649
- defaultValue?: string | number | boolean | undefined;
2650
- conditionals?: ({
2651
- type: "SHOW";
2652
- conditional: import(".").JSONSchema;
2653
- } | {
2654
- type: "ENABLE";
2655
- conditional: import(".").JSONSchema;
2656
- } | {
2657
- type: "DISPLAY_ON_REVIEW";
2658
- conditional: import(".").JSONSchema;
2659
- })[] | undefined;
2660
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2661
- hideLabel?: boolean | undefined;
2662
- } | {
2663
- type: "FACILITY";
2664
- id: string;
2665
- label: import("./TranslationConfig").TranslationConfig;
2666
- parent?: {
2667
- _fieldId?: string | undefined;
2668
- } | undefined;
2669
- validation?: {
2670
- message: import("./TranslationConfig").TranslationConfig;
2671
- validator: import(".").JSONSchema;
2672
- }[] | undefined;
2673
- required?: boolean | undefined;
2674
- defaultValue?: string | undefined;
2675
- conditionals?: ({
2676
- type: "SHOW";
2677
- conditional: import(".").JSONSchema;
2678
- } | {
2679
- type: "ENABLE";
2680
- conditional: import(".").JSONSchema;
2681
- } | {
2682
- type: "DISPLAY_ON_REVIEW";
2683
- conditional: import(".").JSONSchema;
2684
- })[] | undefined;
2685
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2686
- hideLabel?: boolean | undefined;
2687
- } | {
2688
- type: "OFFICE";
2689
- id: string;
2690
- label: import("./TranslationConfig").TranslationConfig;
2691
- parent?: {
2692
- _fieldId?: string | undefined;
2693
- } | undefined;
2694
- validation?: {
2695
- message: import("./TranslationConfig").TranslationConfig;
2696
- validator: import(".").JSONSchema;
2697
- }[] | undefined;
2698
- required?: boolean | undefined;
2699
- defaultValue?: string | undefined;
2700
- conditionals?: ({
2701
- type: "SHOW";
2702
- conditional: import(".").JSONSchema;
2703
- } | {
2704
- type: "ENABLE";
2705
- conditional: import(".").JSONSchema;
2706
- } | {
2707
- type: "DISPLAY_ON_REVIEW";
2708
- conditional: import(".").JSONSchema;
2709
- })[] | undefined;
2710
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2711
- hideLabel?: boolean | undefined;
2712
- } | {
2713
- type: "ADDRESS";
2714
- id: string;
2715
- label: import("./TranslationConfig").TranslationConfig;
2716
- parent?: {
2717
- _fieldId?: string | undefined;
2718
- } | undefined;
2719
- validation?: {
2720
- message: import("./TranslationConfig").TranslationConfig;
2721
- validator: import(".").JSONSchema;
2722
- }[] | undefined;
2723
- required?: boolean | undefined;
2724
- defaultValue?: {
2725
- country: string;
2726
- district: string;
2727
- addressType: "DOMESTIC";
2728
- province: string;
2729
- urbanOrRural: "URBAN";
2730
- number?: string | undefined;
2731
- town?: string | undefined;
2732
- residentialArea?: string | undefined;
2733
- street?: string | undefined;
2734
- zipCode?: string | undefined;
2735
- } | {
2736
- country: string;
2737
- district: string;
2738
- addressType: "DOMESTIC";
2739
- province: string;
2740
- urbanOrRural: "RURAL";
2741
- village?: string | undefined;
2742
- } | {
2743
- country: string;
2744
- state: string;
2745
- addressType: "INTERNATIONAL";
2746
- district2: string;
2747
- cityOrTown?: string | undefined;
2748
- addressLine1?: string | undefined;
2749
- addressLine2?: string | undefined;
2750
- addressLine3?: string | undefined;
2751
- postcodeOrZip?: string | undefined;
2752
- } | undefined;
2753
- conditionals?: ({
2754
- type: "SHOW";
2755
- conditional: import(".").JSONSchema;
2756
- } | {
2757
- type: "ENABLE";
2758
- conditional: import(".").JSONSchema;
2759
- } | {
2760
- type: "DISPLAY_ON_REVIEW";
2761
- conditional: import(".").JSONSchema;
2762
- })[] | undefined;
2763
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2764
- hideLabel?: boolean | undefined;
2765
- } | {
2766
- type: "DATA";
2767
- id: string;
2768
- label: import("./TranslationConfig").TranslationConfig;
2769
- configuration: {
2770
- data: ({
2771
- value: string | import("./TranslationConfig").TranslationConfig;
2772
- label: import("./TranslationConfig").TranslationConfig;
2773
- } | {
2774
- fieldId: string;
2775
- })[];
2776
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
2777
- };
2778
- parent?: {
2779
- _fieldId?: string | undefined;
2780
- } | undefined;
2781
- validation?: {
2782
- message: import("./TranslationConfig").TranslationConfig;
2783
- validator: import(".").JSONSchema;
2784
- }[] | undefined;
2785
- required?: boolean | undefined;
2786
- defaultValue?: string | number | boolean | undefined;
2787
- conditionals?: ({
2788
- type: "SHOW";
2789
- conditional: import(".").JSONSchema;
2790
- } | {
2791
- type: "ENABLE";
2792
- conditional: import(".").JSONSchema;
2793
- } | {
2794
- type: "DISPLAY_ON_REVIEW";
2795
- conditional: import(".").JSONSchema;
2796
- })[] | undefined;
2797
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2798
- hideLabel?: boolean | undefined;
2799
- })[];
41
+ fields: import("./FieldConfig").Inferred[];
2800
42
  };
2801
- export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
2802
- type: "DIVIDER";
2803
- id: string;
2804
- label: import("./TranslationConfig").TranslationConfig;
2805
- parent?: {
2806
- _fieldId?: string | undefined;
2807
- } | undefined;
2808
- validation?: {
2809
- message: import("./TranslationConfig").TranslationConfig;
2810
- validator: import(".").JSONSchema;
2811
- }[] | undefined;
2812
- required?: boolean | undefined;
2813
- defaultValue?: string | number | boolean | undefined;
2814
- conditionals?: ({
2815
- type: "SHOW";
2816
- conditional: import(".").JSONSchema;
2817
- } | {
2818
- type: "ENABLE";
2819
- conditional: import(".").JSONSchema;
2820
- } | {
2821
- type: "DISPLAY_ON_REVIEW";
2822
- conditional: import(".").JSONSchema;
2823
- })[] | undefined;
2824
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2825
- hideLabel?: boolean | undefined;
2826
- } | {
2827
- type: "TEXT";
2828
- id: string;
2829
- label: import("./TranslationConfig").TranslationConfig;
2830
- parent?: {
2831
- _fieldId?: string | undefined;
2832
- } | undefined;
2833
- validation?: {
2834
- message: import("./TranslationConfig").TranslationConfig;
2835
- validator: import(".").JSONSchema;
2836
- }[] | undefined;
2837
- required?: boolean | undefined;
2838
- defaultValue?: string | undefined;
2839
- conditionals?: ({
2840
- type: "SHOW";
2841
- conditional: import(".").JSONSchema;
2842
- } | {
2843
- type: "ENABLE";
2844
- conditional: import(".").JSONSchema;
2845
- } | {
2846
- type: "DISPLAY_ON_REVIEW";
2847
- conditional: import(".").JSONSchema;
2848
- })[] | undefined;
2849
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2850
- hideLabel?: boolean | undefined;
2851
- configuration?: {
2852
- type?: "text" | "password" | undefined;
2853
- maxLength?: number | undefined;
2854
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2855
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2856
- } | undefined;
2857
- } | {
2858
- type: "NUMBER";
2859
- id: string;
2860
- label: import("./TranslationConfig").TranslationConfig;
2861
- parent?: {
2862
- _fieldId?: string | undefined;
2863
- } | undefined;
2864
- validation?: {
2865
- message: import("./TranslationConfig").TranslationConfig;
2866
- validator: import(".").JSONSchema;
2867
- }[] | undefined;
2868
- required?: boolean | undefined;
2869
- defaultValue?: number | undefined;
2870
- conditionals?: ({
2871
- type: "SHOW";
2872
- conditional: import(".").JSONSchema;
2873
- } | {
2874
- type: "ENABLE";
2875
- conditional: import(".").JSONSchema;
2876
- } | {
2877
- type: "DISPLAY_ON_REVIEW";
2878
- conditional: import(".").JSONSchema;
2879
- })[] | undefined;
2880
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2881
- hideLabel?: boolean | undefined;
2882
- configuration?: {
2883
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2884
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2885
- min?: number | undefined;
2886
- max?: number | undefined;
2887
- } | undefined;
2888
- } | {
2889
- type: "TEXTAREA";
2890
- id: string;
2891
- label: import("./TranslationConfig").TranslationConfig;
2892
- parent?: {
2893
- _fieldId?: string | undefined;
2894
- } | undefined;
2895
- validation?: {
2896
- message: import("./TranslationConfig").TranslationConfig;
2897
- validator: import(".").JSONSchema;
2898
- }[] | undefined;
2899
- required?: boolean | undefined;
2900
- defaultValue?: string | undefined;
2901
- conditionals?: ({
2902
- type: "SHOW";
2903
- conditional: import(".").JSONSchema;
2904
- } | {
2905
- type: "ENABLE";
2906
- conditional: import(".").JSONSchema;
2907
- } | {
2908
- type: "DISPLAY_ON_REVIEW";
2909
- conditional: import(".").JSONSchema;
2910
- })[] | undefined;
2911
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2912
- hideLabel?: boolean | undefined;
2913
- configuration?: {
2914
- maxLength?: number | undefined;
2915
- prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2916
- postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2917
- rows?: number | undefined;
2918
- cols?: number | undefined;
2919
- } | undefined;
2920
- } | {
2921
- type: "SIGNATURE";
2922
- id: string;
2923
- label: import("./TranslationConfig").TranslationConfig;
2924
- configuration: {
2925
- maxFileSize: number;
2926
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
2927
- };
2928
- signaturePromptLabel: import("./TranslationConfig").TranslationConfig;
2929
- parent?: {
2930
- _fieldId?: string | undefined;
2931
- } | undefined;
2932
- validation?: {
2933
- message: import("./TranslationConfig").TranslationConfig;
2934
- validator: import(".").JSONSchema;
2935
- }[] | undefined;
2936
- required?: boolean | undefined;
2937
- defaultValue?: string | number | boolean | undefined;
2938
- conditionals?: ({
2939
- type: "SHOW";
2940
- conditional: import(".").JSONSchema;
2941
- } | {
2942
- type: "ENABLE";
2943
- conditional: import(".").JSONSchema;
2944
- } | {
2945
- type: "DISPLAY_ON_REVIEW";
2946
- conditional: import(".").JSONSchema;
2947
- })[] | undefined;
2948
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2949
- hideLabel?: boolean | undefined;
2950
- } | {
2951
- type: "EMAIL";
2952
- id: string;
2953
- label: import("./TranslationConfig").TranslationConfig;
2954
- parent?: {
2955
- _fieldId?: string | undefined;
2956
- } | undefined;
2957
- validation?: {
2958
- message: import("./TranslationConfig").TranslationConfig;
2959
- validator: import(".").JSONSchema;
2960
- }[] | undefined;
2961
- required?: boolean | undefined;
2962
- defaultValue?: string | undefined;
2963
- conditionals?: ({
2964
- type: "SHOW";
2965
- conditional: import(".").JSONSchema;
2966
- } | {
2967
- type: "ENABLE";
2968
- conditional: import(".").JSONSchema;
2969
- } | {
2970
- type: "DISPLAY_ON_REVIEW";
2971
- conditional: import(".").JSONSchema;
2972
- })[] | undefined;
2973
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2974
- hideLabel?: boolean | undefined;
2975
- configuration?: {
2976
- maxLength?: number | undefined;
2977
- } | undefined;
2978
- } | {
2979
- type: "DATE";
2980
- id: string;
2981
- label: import("./TranslationConfig").TranslationConfig;
2982
- parent?: {
2983
- _fieldId?: string | undefined;
2984
- } | undefined;
2985
- validation?: {
2986
- message: import("./TranslationConfig").TranslationConfig;
2987
- validator: import(".").JSONSchema;
2988
- }[] | undefined;
2989
- required?: boolean | undefined;
2990
- defaultValue?: string | undefined;
2991
- conditionals?: ({
2992
- type: "SHOW";
2993
- conditional: import(".").JSONSchema;
2994
- } | {
2995
- type: "ENABLE";
2996
- conditional: import(".").JSONSchema;
2997
- } | {
2998
- type: "DISPLAY_ON_REVIEW";
2999
- conditional: import(".").JSONSchema;
3000
- })[] | undefined;
3001
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3002
- hideLabel?: boolean | undefined;
3003
- configuration?: {
3004
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
3005
- } | undefined;
3006
- } | {
3007
- type: "DATE_RANGE";
3008
- id: string;
3009
- label: import("./TranslationConfig").TranslationConfig;
3010
- parent?: {
3011
- _fieldId?: string | undefined;
3012
- } | undefined;
3013
- validation?: {
3014
- message: import("./TranslationConfig").TranslationConfig;
3015
- validator: import(".").JSONSchema;
3016
- }[] | undefined;
3017
- required?: boolean | undefined;
3018
- defaultValue?: string | [string, string] | undefined;
3019
- conditionals?: ({
3020
- type: "SHOW";
3021
- conditional: import(".").JSONSchema;
3022
- } | {
3023
- type: "ENABLE";
3024
- conditional: import(".").JSONSchema;
3025
- } | {
3026
- type: "DISPLAY_ON_REVIEW";
3027
- conditional: import(".").JSONSchema;
3028
- })[] | undefined;
3029
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3030
- hideLabel?: boolean | undefined;
3031
- configuration?: {
3032
- notice?: import("./TranslationConfig").TranslationConfig | undefined;
3033
- } | undefined;
3034
- } | {
3035
- type: "PARAGRAPH";
3036
- id: string;
3037
- label: import("./TranslationConfig").TranslationConfig;
3038
- configuration: {
3039
- styles?: {
3040
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
3041
- } | undefined;
3042
- };
3043
- parent?: {
3044
- _fieldId?: string | undefined;
3045
- } | undefined;
3046
- validation?: {
3047
- message: import("./TranslationConfig").TranslationConfig;
3048
- validator: import(".").JSONSchema;
3049
- }[] | undefined;
3050
- required?: boolean | undefined;
3051
- defaultValue?: string | undefined;
3052
- conditionals?: ({
3053
- type: "SHOW";
3054
- conditional: import(".").JSONSchema;
3055
- } | {
3056
- type: "ENABLE";
3057
- conditional: import(".").JSONSchema;
3058
- } | {
3059
- type: "DISPLAY_ON_REVIEW";
3060
- conditional: import(".").JSONSchema;
3061
- })[] | undefined;
3062
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3063
- hideLabel?: boolean | undefined;
3064
- } | {
3065
- type: "PAGE_HEADER";
3066
- id: string;
3067
- label: import("./TranslationConfig").TranslationConfig;
3068
- parent?: {
3069
- _fieldId?: string | undefined;
3070
- } | undefined;
3071
- validation?: {
3072
- message: import("./TranslationConfig").TranslationConfig;
3073
- validator: import(".").JSONSchema;
3074
- }[] | undefined;
3075
- required?: boolean | undefined;
3076
- defaultValue?: string | undefined;
3077
- conditionals?: ({
3078
- type: "SHOW";
3079
- conditional: import(".").JSONSchema;
3080
- } | {
3081
- type: "ENABLE";
3082
- conditional: import(".").JSONSchema;
3083
- } | {
3084
- type: "DISPLAY_ON_REVIEW";
3085
- conditional: import(".").JSONSchema;
3086
- })[] | undefined;
3087
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3088
- hideLabel?: boolean | undefined;
3089
- } | {
3090
- type: "FILE";
3091
- id: string;
3092
- label: import("./TranslationConfig").TranslationConfig;
3093
- configuration: {
3094
- maxFileSize: number;
3095
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3096
- style?: {
3097
- width?: "full" | "auto" | undefined;
3098
- } | undefined;
3099
- fileName?: import("./TranslationConfig").TranslationConfig | undefined;
3100
- };
3101
- parent?: {
3102
- _fieldId?: string | undefined;
3103
- } | undefined;
3104
- validation?: {
3105
- message: import("./TranslationConfig").TranslationConfig;
3106
- validator: import(".").JSONSchema;
3107
- }[] | undefined;
3108
- required?: boolean | undefined;
3109
- defaultValue?: string | number | boolean | undefined;
3110
- conditionals?: ({
3111
- type: "SHOW";
3112
- conditional: import(".").JSONSchema;
3113
- } | {
3114
- type: "ENABLE";
3115
- conditional: import(".").JSONSchema;
3116
- } | {
3117
- type: "DISPLAY_ON_REVIEW";
3118
- conditional: import(".").JSONSchema;
3119
- })[] | undefined;
3120
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3121
- hideLabel?: boolean | undefined;
3122
- } | {
3123
- type: "RADIO_GROUP";
3124
- id: string;
3125
- options: {
3126
- value: string;
3127
- label: import("./TranslationConfig").TranslationConfig;
3128
- }[];
3129
- label: import("./TranslationConfig").TranslationConfig;
3130
- parent?: {
3131
- _fieldId?: string | undefined;
3132
- } | undefined;
3133
- validation?: {
3134
- message: import("./TranslationConfig").TranslationConfig;
3135
- validator: import(".").JSONSchema;
3136
- }[] | undefined;
3137
- required?: boolean | undefined;
3138
- defaultValue?: string | undefined;
3139
- conditionals?: ({
3140
- type: "SHOW";
3141
- conditional: import(".").JSONSchema;
3142
- } | {
3143
- type: "ENABLE";
3144
- conditional: import(".").JSONSchema;
3145
- } | {
3146
- type: "DISPLAY_ON_REVIEW";
3147
- conditional: import(".").JSONSchema;
3148
- })[] | undefined;
3149
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3150
- hideLabel?: boolean | undefined;
3151
- configuration?: {
3152
- styles?: {
3153
- size?: "NORMAL" | "LARGE" | undefined;
3154
- } | undefined;
3155
- } | undefined;
3156
- } | {
3157
- type: "BULLET_LIST";
3158
- id: string;
3159
- label: import("./TranslationConfig").TranslationConfig;
3160
- configuration: {
3161
- styles?: {
3162
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
3163
- } | undefined;
3164
- };
3165
- items: import("./TranslationConfig").TranslationConfig[];
3166
- parent?: {
3167
- _fieldId?: string | undefined;
3168
- } | undefined;
3169
- validation?: {
3170
- message: import("./TranslationConfig").TranslationConfig;
3171
- validator: import(".").JSONSchema;
3172
- }[] | undefined;
3173
- required?: boolean | undefined;
3174
- defaultValue?: string | undefined;
3175
- conditionals?: ({
3176
- type: "SHOW";
3177
- conditional: import(".").JSONSchema;
3178
- } | {
3179
- type: "ENABLE";
3180
- conditional: import(".").JSONSchema;
3181
- } | {
3182
- type: "DISPLAY_ON_REVIEW";
3183
- conditional: import(".").JSONSchema;
3184
- })[] | undefined;
3185
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3186
- hideLabel?: boolean | undefined;
3187
- } | {
3188
- type: "SELECT";
3189
- id: string;
3190
- options: {
3191
- value: string;
3192
- label: import("./TranslationConfig").TranslationConfig;
3193
- }[];
3194
- label: import("./TranslationConfig").TranslationConfig;
3195
- parent?: {
3196
- _fieldId?: string | undefined;
3197
- } | undefined;
3198
- validation?: {
3199
- message: import("./TranslationConfig").TranslationConfig;
3200
- validator: import(".").JSONSchema;
3201
- }[] | undefined;
3202
- required?: boolean | undefined;
3203
- defaultValue?: string | undefined;
3204
- conditionals?: ({
3205
- type: "SHOW";
3206
- conditional: import(".").JSONSchema;
3207
- } | {
3208
- type: "ENABLE";
3209
- conditional: import(".").JSONSchema;
3210
- } | {
3211
- type: "DISPLAY_ON_REVIEW";
3212
- conditional: import(".").JSONSchema;
3213
- })[] | undefined;
3214
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3215
- hideLabel?: boolean | undefined;
3216
- } | {
3217
- type: "CHECKBOX";
3218
- id: string;
3219
- label: import("./TranslationConfig").TranslationConfig;
3220
- parent?: {
3221
- _fieldId?: string | undefined;
3222
- } | undefined;
3223
- validation?: {
3224
- message: import("./TranslationConfig").TranslationConfig;
3225
- validator: import(".").JSONSchema;
3226
- }[] | undefined;
3227
- required?: boolean | undefined;
3228
- defaultValue?: boolean | undefined;
3229
- conditionals?: ({
3230
- type: "SHOW";
3231
- conditional: import(".").JSONSchema;
3232
- } | {
3233
- type: "ENABLE";
3234
- conditional: import(".").JSONSchema;
3235
- } | {
3236
- type: "DISPLAY_ON_REVIEW";
3237
- conditional: import(".").JSONSchema;
3238
- })[] | undefined;
3239
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3240
- hideLabel?: boolean | undefined;
3241
- } | {
3242
- type: "COUNTRY";
3243
- id: string;
3244
- label: import("./TranslationConfig").TranslationConfig;
3245
- parent?: {
3246
- _fieldId?: string | undefined;
3247
- } | undefined;
3248
- validation?: {
3249
- message: import("./TranslationConfig").TranslationConfig;
3250
- validator: import(".").JSONSchema;
3251
- }[] | undefined;
3252
- required?: boolean | undefined;
3253
- defaultValue?: string | undefined;
3254
- conditionals?: ({
3255
- type: "SHOW";
3256
- conditional: import(".").JSONSchema;
3257
- } | {
3258
- type: "ENABLE";
3259
- conditional: import(".").JSONSchema;
3260
- } | {
3261
- type: "DISPLAY_ON_REVIEW";
3262
- conditional: import(".").JSONSchema;
3263
- })[] | undefined;
3264
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3265
- hideLabel?: boolean | undefined;
3266
- } | {
3267
- type: "ADMINISTRATIVE_AREA";
3268
- id: string;
3269
- label: import("./TranslationConfig").TranslationConfig;
3270
- configuration: {
3271
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
3272
- partOf?: {
3273
- $declaration: string;
3274
- } | undefined;
3275
- };
3276
- parent?: {
3277
- _fieldId?: string | undefined;
3278
- } | undefined;
3279
- validation?: {
3280
- message: import("./TranslationConfig").TranslationConfig;
3281
- validator: import(".").JSONSchema;
3282
- }[] | undefined;
3283
- required?: boolean | undefined;
3284
- defaultValue?: string | undefined;
3285
- conditionals?: ({
3286
- type: "SHOW";
3287
- conditional: import(".").JSONSchema;
3288
- } | {
3289
- type: "ENABLE";
3290
- conditional: import(".").JSONSchema;
3291
- } | {
3292
- type: "DISPLAY_ON_REVIEW";
3293
- conditional: import(".").JSONSchema;
3294
- })[] | undefined;
3295
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3296
- hideLabel?: boolean | undefined;
3297
- } | {
3298
- type: "LOCATION";
3299
- id: string;
3300
- label: import("./TranslationConfig").TranslationConfig;
3301
- parent?: {
3302
- _fieldId?: string | undefined;
3303
- } | undefined;
3304
- validation?: {
3305
- message: import("./TranslationConfig").TranslationConfig;
3306
- validator: import(".").JSONSchema;
3307
- }[] | undefined;
3308
- required?: boolean | undefined;
3309
- defaultValue?: string | undefined;
3310
- conditionals?: ({
3311
- type: "SHOW";
3312
- conditional: import(".").JSONSchema;
3313
- } | {
3314
- type: "ENABLE";
3315
- conditional: import(".").JSONSchema;
3316
- } | {
3317
- type: "DISPLAY_ON_REVIEW";
3318
- conditional: import(".").JSONSchema;
3319
- })[] | undefined;
3320
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3321
- hideLabel?: boolean | undefined;
3322
- } | {
3323
- type: "FILE_WITH_OPTIONS";
3324
- id: string;
3325
- options: {
3326
- value: string;
3327
- label: import("./TranslationConfig").TranslationConfig;
3328
- }[];
3329
- label: import("./TranslationConfig").TranslationConfig;
3330
- configuration: {
3331
- maxFileSize: number;
3332
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
3333
- };
3334
- parent?: {
3335
- _fieldId?: string | undefined;
3336
- } | undefined;
3337
- validation?: {
3338
- message: import("./TranslationConfig").TranslationConfig;
3339
- validator: import(".").JSONSchema;
3340
- }[] | undefined;
3341
- required?: boolean | undefined;
3342
- defaultValue?: string | number | boolean | undefined;
3343
- conditionals?: ({
3344
- type: "SHOW";
3345
- conditional: import(".").JSONSchema;
3346
- } | {
3347
- type: "ENABLE";
3348
- conditional: import(".").JSONSchema;
3349
- } | {
3350
- type: "DISPLAY_ON_REVIEW";
3351
- conditional: import(".").JSONSchema;
3352
- })[] | undefined;
3353
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3354
- hideLabel?: boolean | undefined;
43
+ export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): import("./FieldConfig").Inferred[];
44
+ export declare function validateWorkqueueConfig(workqueueConfigs: WorkqueueConfig[]): void;
45
+ export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
46
+ export declare function omitHiddenFields(fields: FieldConfig[], values: EventState): import("lodash").Dictionary<string | number | boolean | {
47
+ type: string;
48
+ filename: string;
49
+ originalFilename: string;
3355
50
  } | {
3356
- type: "FACILITY";
3357
- id: string;
3358
- label: import("./TranslationConfig").TranslationConfig;
3359
- parent?: {
3360
- _fieldId?: string | undefined;
3361
- } | undefined;
3362
- validation?: {
3363
- message: import("./TranslationConfig").TranslationConfig;
3364
- validator: import(".").JSONSchema;
3365
- }[] | undefined;
3366
- required?: boolean | undefined;
3367
- defaultValue?: string | undefined;
3368
- conditionals?: ({
3369
- type: "SHOW";
3370
- conditional: import(".").JSONSchema;
3371
- } | {
3372
- type: "ENABLE";
3373
- conditional: import(".").JSONSchema;
3374
- } | {
3375
- type: "DISPLAY_ON_REVIEW";
3376
- conditional: import(".").JSONSchema;
3377
- })[] | undefined;
3378
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3379
- hideLabel?: boolean | undefined;
51
+ country: string;
52
+ district: string;
53
+ addressType: "DOMESTIC";
54
+ province: string;
55
+ urbanOrRural: "URBAN";
56
+ number?: string | undefined;
57
+ town?: string | undefined;
58
+ residentialArea?: string | undefined;
59
+ street?: string | undefined;
60
+ zipCode?: string | undefined;
3380
61
  } | {
3381
- type: "OFFICE";
3382
- id: string;
3383
- label: import("./TranslationConfig").TranslationConfig;
3384
- parent?: {
3385
- _fieldId?: string | undefined;
3386
- } | undefined;
3387
- validation?: {
3388
- message: import("./TranslationConfig").TranslationConfig;
3389
- validator: import(".").JSONSchema;
3390
- }[] | undefined;
3391
- required?: boolean | undefined;
3392
- defaultValue?: string | undefined;
3393
- conditionals?: ({
3394
- type: "SHOW";
3395
- conditional: import(".").JSONSchema;
3396
- } | {
3397
- type: "ENABLE";
3398
- conditional: import(".").JSONSchema;
3399
- } | {
3400
- type: "DISPLAY_ON_REVIEW";
3401
- conditional: import(".").JSONSchema;
3402
- })[] | undefined;
3403
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3404
- hideLabel?: boolean | undefined;
62
+ country: string;
63
+ district: string;
64
+ addressType: "DOMESTIC";
65
+ province: string;
66
+ urbanOrRural: "RURAL";
67
+ village?: string | undefined;
3405
68
  } | {
3406
- type: "ADDRESS";
3407
- id: string;
3408
- label: import("./TranslationConfig").TranslationConfig;
3409
- parent?: {
3410
- _fieldId?: string | undefined;
3411
- } | undefined;
3412
- validation?: {
3413
- message: import("./TranslationConfig").TranslationConfig;
3414
- validator: import(".").JSONSchema;
3415
- }[] | undefined;
3416
- required?: boolean | undefined;
3417
- defaultValue?: {
3418
- country: string;
3419
- district: string;
3420
- addressType: "DOMESTIC";
3421
- province: string;
3422
- urbanOrRural: "URBAN";
3423
- number?: string | undefined;
3424
- town?: string | undefined;
3425
- residentialArea?: string | undefined;
3426
- street?: string | undefined;
3427
- zipCode?: string | undefined;
3428
- } | {
3429
- country: string;
3430
- district: string;
3431
- addressType: "DOMESTIC";
3432
- province: string;
3433
- urbanOrRural: "RURAL";
3434
- village?: string | undefined;
3435
- } | {
3436
- country: string;
3437
- state: string;
3438
- addressType: "INTERNATIONAL";
3439
- district2: string;
3440
- cityOrTown?: string | undefined;
3441
- addressLine1?: string | undefined;
3442
- addressLine2?: string | undefined;
3443
- addressLine3?: string | undefined;
3444
- postcodeOrZip?: string | undefined;
3445
- } | undefined;
3446
- conditionals?: ({
3447
- type: "SHOW";
3448
- conditional: import(".").JSONSchema;
3449
- } | {
3450
- type: "ENABLE";
3451
- conditional: import(".").JSONSchema;
3452
- } | {
3453
- type: "DISPLAY_ON_REVIEW";
3454
- conditional: import(".").JSONSchema;
3455
- })[] | undefined;
3456
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3457
- hideLabel?: boolean | undefined;
69
+ country: string;
70
+ state: string;
71
+ addressType: "INTERNATIONAL";
72
+ district2: string;
73
+ cityOrTown?: string | undefined;
74
+ addressLine1?: string | undefined;
75
+ addressLine2?: string | undefined;
76
+ addressLine3?: string | undefined;
77
+ postcodeOrZip?: string | undefined;
3458
78
  } | {
3459
- type: "DATA";
3460
- id: string;
3461
- label: import("./TranslationConfig").TranslationConfig;
3462
- configuration: {
3463
- data: ({
3464
- value: string | import("./TranslationConfig").TranslationConfig;
3465
- label: import("./TranslationConfig").TranslationConfig;
3466
- } | {
3467
- fieldId: string;
3468
- })[];
3469
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
3470
- };
3471
- parent?: {
3472
- _fieldId?: string | undefined;
3473
- } | undefined;
3474
- validation?: {
3475
- message: import("./TranslationConfig").TranslationConfig;
3476
- validator: import(".").JSONSchema;
3477
- }[] | undefined;
3478
- required?: boolean | undefined;
3479
- defaultValue?: string | number | boolean | undefined;
3480
- conditionals?: ({
3481
- type: "SHOW";
3482
- conditional: import(".").JSONSchema;
3483
- } | {
3484
- type: "ENABLE";
3485
- conditional: import(".").JSONSchema;
3486
- } | {
3487
- type: "DISPLAY_ON_REVIEW";
3488
- conditional: import(".").JSONSchema;
3489
- })[] | undefined;
3490
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3491
- hideLabel?: boolean | undefined;
3492
- })[];
3493
- export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
3494
- export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
3495
- export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declaration: EventState): Partial<Record<string, string | number | boolean | {
79
+ type: string;
80
+ option: string;
81
+ filename: string;
82
+ originalFilename: string;
83
+ }[] | undefined>;
84
+ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declaration: EventState): import("lodash").Dictionary<string | number | boolean | {
3496
85
  type: string;
3497
86
  filename: string;
3498
87
  originalFilename: string;
@@ -3529,19 +118,17 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
3529
118
  option: string;
3530
119
  filename: string;
3531
120
  originalFilename: string;
3532
- }[] | [string, string] | undefined>>;
121
+ }[] | undefined>;
3533
122
  export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]): {
3534
123
  id: string;
3535
- transactionId: string;
3536
124
  createdAt: string;
3537
125
  eventId: string;
126
+ transactionId: string;
3538
127
  action: {
3539
128
  type: "DECLARE" | "REGISTER" | "VALIDATE" | "DELETE" | "CREATE" | "NOTIFY" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
3540
129
  status: "Rejected" | "Requested" | "Accepted";
3541
- transactionId: string;
3542
130
  createdAt: string;
3543
131
  createdBy: string;
3544
- createdByRole: string;
3545
132
  declaration: Record<string, string | number | boolean | {
3546
133
  type: string;
3547
134
  filename: string;
@@ -3579,7 +166,7 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
3579
166
  option: string;
3580
167
  filename: string;
3581
168
  originalFilename: string;
3582
- }[] | [string, string] | undefined>;
169
+ }[] | undefined>;
3583
170
  createdAtLocation: string;
3584
171
  annotation?: Record<string, string | number | boolean | {
3585
172
  type: string;
@@ -3618,83 +205,26 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
3618
205
  option: string;
3619
206
  filename: string;
3620
207
  originalFilename: string;
3621
- }[] | [string, string] | undefined> | undefined;
208
+ }[] | undefined> | undefined;
3622
209
  originalActionId?: string | undefined;
3623
210
  };
3624
211
  }[];
3625
- export declare function createEmptyDraft(eventId: string, draftId: string, actionType: ActionType): Draft;
212
+ export declare function createEmptyDraft(eventId: string, draftId: string, actionType: ActionType): {
213
+ id: string;
214
+ eventId: string;
215
+ createdAt: string;
216
+ transactionId: import("../uuid").UUID;
217
+ action: {
218
+ type: ActionType;
219
+ declaration: {};
220
+ annotation: {};
221
+ createdAt: string;
222
+ createdBy: string;
223
+ createdAtLocation: string;
224
+ };
225
+ };
3626
226
  export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
3627
- export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
3628
- export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
3629
- export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, declaration: EventState, annotation: ActionUpdate): Partial<{
3630
- [x: string]: string | number | boolean | {
3631
- type: string;
3632
- filename: string;
3633
- originalFilename: string;
3634
- } | {
3635
- country: string;
3636
- district: string;
3637
- addressType: "DOMESTIC";
3638
- province: string;
3639
- urbanOrRural: "URBAN";
3640
- number?: string | undefined;
3641
- town?: string | undefined;
3642
- residentialArea?: string | undefined;
3643
- street?: string | undefined;
3644
- zipCode?: string | undefined;
3645
- } | {
3646
- country: string;
3647
- district: string;
3648
- addressType: "DOMESTIC";
3649
- province: string;
3650
- urbanOrRural: "RURAL";
3651
- village?: string | undefined;
3652
- } | {
3653
- country: string;
3654
- district: string;
3655
- addressType: "DOMESTIC";
3656
- province: string;
3657
- urbanOrRural: "URBAN";
3658
- number?: string | null | undefined;
3659
- town?: string | null | undefined;
3660
- residentialArea?: string | null | undefined;
3661
- street?: string | null | undefined;
3662
- zipCode?: string | null | undefined;
3663
- } | {
3664
- country: string;
3665
- district: string;
3666
- addressType: "DOMESTIC";
3667
- province: string;
3668
- urbanOrRural: "RURAL";
3669
- village?: string | null | undefined;
3670
- } | {
3671
- country: string;
3672
- state: string;
3673
- addressType: "INTERNATIONAL";
3674
- district2: string;
3675
- cityOrTown?: string | undefined;
3676
- addressLine1?: string | undefined;
3677
- addressLine2?: string | undefined;
3678
- addressLine3?: string | undefined;
3679
- postcodeOrZip?: string | undefined;
3680
- } | {
3681
- country: string;
3682
- state: string;
3683
- addressType: "INTERNATIONAL";
3684
- district2: string;
3685
- cityOrTown?: string | null | undefined;
3686
- addressLine1?: string | null | undefined;
3687
- addressLine2?: string | null | undefined;
3688
- addressLine3?: string | null | undefined;
3689
- postcodeOrZip?: string | null | undefined;
3690
- } | {
3691
- type: string;
3692
- option: string;
3693
- filename: string;
3694
- originalFilename: string;
3695
- }[] | [string, string] | undefined;
3696
- }>;
3697
- export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
227
+ export declare function deepMerge<T extends Record<string, unknown>>(currentDocument: T, actionDocument: T): T;
3698
228
  export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
3699
229
  /** Tell compiler that accessing record with arbitrary key might result to undefined
3700
230
  * Use when you **cannot guarantee** that key exists in the record
@@ -3703,17 +233,4 @@ export type IndexMap<T> = {
3703
233
  [id: string]: T | undefined;
3704
234
  };
3705
235
  export declare function isWriteAction(actionType: ActionType): boolean;
3706
- /**
3707
- * @returns All the fields in the event configuration.
3708
- */
3709
- export declare const findAllFields: (config: EventConfig) => FieldConfig[];
3710
- /**
3711
- * Returns the value of the object at the given path with the ability of resolving mixed paths. See examples.
3712
- *
3713
- * @param obj Entity we want to get the value from
3714
- * @param path property path e.g. `a.b.c`
3715
- * @param defaultValue
3716
- * @returns the value of the object at the given path.
3717
- */
3718
- export declare function getMixedPath<T = unknown>(obj: Record<string, unknown>, path: string, defaultValue?: T | undefined): T | undefined;
3719
236
  //# sourceMappingURL=utils.d.ts.map