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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/commons/api/router.d.ts +958 -609
  2. package/dist/commons/events/ActionConfig.d.ts +440 -13
  3. package/dist/commons/events/ActionDocument.d.ts +90 -167
  4. package/dist/commons/events/ActionInput.d.ts +72 -98
  5. package/dist/commons/events/ActionType.d.ts +1 -7
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +7 -2
  7. package/dist/commons/events/CompositeFieldValue.d.ts +2 -0
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +0 -12
  9. package/dist/commons/events/Draft.d.ts +4 -6
  10. package/dist/commons/events/EventConfig.d.ts +354 -8
  11. package/dist/commons/events/EventDocument.d.ts +36 -61
  12. package/dist/commons/events/EventIndex.d.ts +1 -6
  13. package/dist/commons/events/EventMetadata.d.ts +0 -1
  14. package/dist/commons/events/FieldConfig.d.ts +90 -0
  15. package/dist/commons/events/FieldType.d.ts +2 -1
  16. package/dist/commons/events/FieldTypeMapping.d.ts +13 -6
  17. package/dist/commons/events/FieldValue.d.ts +5 -5
  18. package/dist/commons/events/Flag.d.ts +0 -3
  19. package/dist/commons/events/FormConfig.d.ts +264 -0
  20. package/dist/commons/events/PageConfig.d.ts +176 -0
  21. package/dist/commons/events/WorkqueueConfig.d.ts +2 -16
  22. package/dist/commons/events/defineConfig.d.ts +514 -2
  23. package/dist/commons/events/scopes.d.ts +0 -1
  24. package/dist/commons/events/state/index.d.ts +1 -1
  25. package/dist/commons/events/state/utils.d.ts +37 -54
  26. package/dist/commons/events/test.utils.d.ts +9 -17
  27. package/dist/commons/events/utils.d.ts +1996 -1095
  28. package/dist/events/index.js +57 -85
  29. package/dist/notification/index.js +18 -34
  30. package/dist/scopes/index.d.ts +2 -6
  31. package/dist/scopes/index.js +0 -1
  32. package/package.json +1 -1
@@ -2521,6 +2521,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
2521
2521
  defaultValue?: {
2522
2522
  data: any;
2523
2523
  } | undefined;
2524
+ } | {
2525
+ id: string;
2526
+ label: {
2527
+ id: string;
2528
+ defaultMessage: string;
2529
+ description: string;
2530
+ };
2531
+ type: "CUSTOM";
2532
+ src: string;
2533
+ parent?: {
2534
+ $$field: string;
2535
+ $$subfield?: string[] | undefined;
2536
+ } | {
2537
+ $$field: string;
2538
+ $$subfield?: string[] | undefined;
2539
+ }[] | undefined;
2540
+ required?: boolean | {
2541
+ message: {
2542
+ id: string;
2543
+ defaultMessage: string;
2544
+ description: string;
2545
+ };
2546
+ } | undefined;
2547
+ conditionals?: ({
2548
+ type: "SHOW";
2549
+ conditional: any;
2550
+ } | {
2551
+ type: "ENABLE";
2552
+ conditional: any;
2553
+ } | {
2554
+ type: "DISPLAY_ON_REVIEW";
2555
+ conditional: any;
2556
+ })[] | undefined;
2557
+ secured?: boolean | undefined;
2558
+ placeholder?: {
2559
+ id: string;
2560
+ defaultMessage: string;
2561
+ description: string;
2562
+ } | undefined;
2563
+ validation?: {
2564
+ validator: any;
2565
+ message: {
2566
+ id: string;
2567
+ defaultMessage: string;
2568
+ description: string;
2569
+ };
2570
+ }[] | undefined;
2571
+ helperText?: {
2572
+ id: string;
2573
+ defaultMessage: string;
2574
+ description: string;
2575
+ } | undefined;
2576
+ hideLabel?: boolean | undefined;
2577
+ uncorrectable?: boolean | undefined;
2578
+ value?: {
2579
+ $$field: string;
2580
+ $$subfield?: string[] | undefined;
2581
+ } | {
2582
+ $$field: string;
2583
+ $$subfield?: string[] | undefined;
2584
+ }[] | undefined;
2585
+ analytics?: boolean | undefined;
2586
+ defaultValue?: unknown;
2587
+ configuration?: unknown;
2524
2588
  } | {
2525
2589
  id: string;
2526
2590
  label: {
@@ -5583,6 +5647,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
5583
5647
  defaultValue?: {
5584
5648
  data: any;
5585
5649
  } | undefined;
5650
+ } | {
5651
+ id: string;
5652
+ label: {
5653
+ id: string;
5654
+ defaultMessage: string;
5655
+ description: string;
5656
+ };
5657
+ type: "CUSTOM";
5658
+ src: string;
5659
+ parent?: {
5660
+ $$field: string;
5661
+ $$subfield?: string[] | undefined;
5662
+ } | {
5663
+ $$field: string;
5664
+ $$subfield?: string[] | undefined;
5665
+ }[] | undefined;
5666
+ required?: boolean | {
5667
+ message: {
5668
+ id: string;
5669
+ defaultMessage: string;
5670
+ description: string;
5671
+ };
5672
+ } | undefined;
5673
+ conditionals?: ({
5674
+ type: "SHOW";
5675
+ conditional: any;
5676
+ } | {
5677
+ type: "ENABLE";
5678
+ conditional: any;
5679
+ } | {
5680
+ type: "DISPLAY_ON_REVIEW";
5681
+ conditional: any;
5682
+ })[] | undefined;
5683
+ secured?: boolean | undefined;
5684
+ placeholder?: {
5685
+ id: string;
5686
+ defaultMessage: string;
5687
+ description: string;
5688
+ } | undefined;
5689
+ validation?: {
5690
+ validator: any;
5691
+ message: {
5692
+ id: string;
5693
+ defaultMessage: string;
5694
+ description: string;
5695
+ };
5696
+ }[] | undefined;
5697
+ helperText?: {
5698
+ id: string;
5699
+ defaultMessage: string;
5700
+ description: string;
5701
+ } | undefined;
5702
+ hideLabel?: boolean | undefined;
5703
+ uncorrectable?: boolean | undefined;
5704
+ value?: {
5705
+ $$field: string;
5706
+ $$subfield?: string[] | undefined;
5707
+ } | {
5708
+ $$field: string;
5709
+ $$subfield?: string[] | undefined;
5710
+ }[] | undefined;
5711
+ analytics?: boolean | undefined;
5712
+ defaultValue?: unknown;
5713
+ configuration?: unknown;
5586
5714
  } | {
5587
5715
  id: string;
5588
5716
  label: {
@@ -8640,6 +8768,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
8640
8768
  defaultValue?: {
8641
8769
  data: any;
8642
8770
  } | undefined;
8771
+ } | {
8772
+ id: string;
8773
+ label: {
8774
+ id: string;
8775
+ defaultMessage: string;
8776
+ description: string;
8777
+ };
8778
+ type: "CUSTOM";
8779
+ src: string;
8780
+ parent?: {
8781
+ $$field: string;
8782
+ $$subfield?: string[] | undefined;
8783
+ } | {
8784
+ $$field: string;
8785
+ $$subfield?: string[] | undefined;
8786
+ }[] | undefined;
8787
+ required?: boolean | {
8788
+ message: {
8789
+ id: string;
8790
+ defaultMessage: string;
8791
+ description: string;
8792
+ };
8793
+ } | undefined;
8794
+ conditionals?: ({
8795
+ type: "SHOW";
8796
+ conditional: any;
8797
+ } | {
8798
+ type: "ENABLE";
8799
+ conditional: any;
8800
+ } | {
8801
+ type: "DISPLAY_ON_REVIEW";
8802
+ conditional: any;
8803
+ })[] | undefined;
8804
+ secured?: boolean | undefined;
8805
+ placeholder?: {
8806
+ id: string;
8807
+ defaultMessage: string;
8808
+ description: string;
8809
+ } | undefined;
8810
+ validation?: {
8811
+ validator: any;
8812
+ message: {
8813
+ id: string;
8814
+ defaultMessage: string;
8815
+ description: string;
8816
+ };
8817
+ }[] | undefined;
8818
+ helperText?: {
8819
+ id: string;
8820
+ defaultMessage: string;
8821
+ description: string;
8822
+ } | undefined;
8823
+ hideLabel?: boolean | undefined;
8824
+ uncorrectable?: boolean | undefined;
8825
+ value?: {
8826
+ $$field: string;
8827
+ $$subfield?: string[] | undefined;
8828
+ } | {
8829
+ $$field: string;
8830
+ $$subfield?: string[] | undefined;
8831
+ }[] | undefined;
8832
+ analytics?: boolean | undefined;
8833
+ defaultValue?: unknown;
8834
+ configuration?: unknown;
8643
8835
  } | {
8644
8836
  id: string;
8645
8837
  label: {
@@ -11827,6 +12019,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
11827
12019
  defaultValue?: {
11828
12020
  data: any;
11829
12021
  } | undefined;
12022
+ } | {
12023
+ id: string;
12024
+ label: {
12025
+ id: string;
12026
+ defaultMessage: string;
12027
+ description: string;
12028
+ };
12029
+ type: "CUSTOM";
12030
+ src: string;
12031
+ parent?: {
12032
+ $$field: string;
12033
+ $$subfield?: string[] | undefined;
12034
+ } | {
12035
+ $$field: string;
12036
+ $$subfield?: string[] | undefined;
12037
+ }[] | undefined;
12038
+ required?: boolean | {
12039
+ message: {
12040
+ id: string;
12041
+ defaultMessage: string;
12042
+ description: string;
12043
+ };
12044
+ } | undefined;
12045
+ conditionals?: ({
12046
+ type: "SHOW";
12047
+ conditional: any;
12048
+ } | {
12049
+ type: "ENABLE";
12050
+ conditional: any;
12051
+ } | {
12052
+ type: "DISPLAY_ON_REVIEW";
12053
+ conditional: any;
12054
+ })[] | undefined;
12055
+ secured?: boolean | undefined;
12056
+ placeholder?: {
12057
+ id: string;
12058
+ defaultMessage: string;
12059
+ description: string;
12060
+ } | undefined;
12061
+ validation?: {
12062
+ validator: any;
12063
+ message: {
12064
+ id: string;
12065
+ defaultMessage: string;
12066
+ description: string;
12067
+ };
12068
+ }[] | undefined;
12069
+ helperText?: {
12070
+ id: string;
12071
+ defaultMessage: string;
12072
+ description: string;
12073
+ } | undefined;
12074
+ hideLabel?: boolean | undefined;
12075
+ uncorrectable?: boolean | undefined;
12076
+ value?: {
12077
+ $$field: string;
12078
+ $$subfield?: string[] | undefined;
12079
+ } | {
12080
+ $$field: string;
12081
+ $$subfield?: string[] | undefined;
12082
+ }[] | undefined;
12083
+ analytics?: boolean | undefined;
12084
+ defaultValue?: unknown;
12085
+ configuration?: unknown;
11830
12086
  } | {
11831
12087
  id: string;
11832
12088
  label: {
@@ -14862,6 +15118,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
14862
15118
  defaultValue?: {
14863
15119
  data: any;
14864
15120
  } | undefined;
15121
+ } | {
15122
+ id: string;
15123
+ label: {
15124
+ id: string;
15125
+ defaultMessage: string;
15126
+ description: string;
15127
+ };
15128
+ type: "CUSTOM";
15129
+ src: string;
15130
+ parent?: {
15131
+ $$field: string;
15132
+ $$subfield?: string[] | undefined;
15133
+ } | {
15134
+ $$field: string;
15135
+ $$subfield?: string[] | undefined;
15136
+ }[] | undefined;
15137
+ required?: boolean | {
15138
+ message: {
15139
+ id: string;
15140
+ defaultMessage: string;
15141
+ description: string;
15142
+ };
15143
+ } | undefined;
15144
+ conditionals?: ({
15145
+ type: "SHOW";
15146
+ conditional: any;
15147
+ } | {
15148
+ type: "ENABLE";
15149
+ conditional: any;
15150
+ } | {
15151
+ type: "DISPLAY_ON_REVIEW";
15152
+ conditional: any;
15153
+ })[] | undefined;
15154
+ secured?: boolean | undefined;
15155
+ placeholder?: {
15156
+ id: string;
15157
+ defaultMessage: string;
15158
+ description: string;
15159
+ } | undefined;
15160
+ validation?: {
15161
+ validator: any;
15162
+ message: {
15163
+ id: string;
15164
+ defaultMessage: string;
15165
+ description: string;
15166
+ };
15167
+ }[] | undefined;
15168
+ helperText?: {
15169
+ id: string;
15170
+ defaultMessage: string;
15171
+ description: string;
15172
+ } | undefined;
15173
+ hideLabel?: boolean | undefined;
15174
+ uncorrectable?: boolean | undefined;
15175
+ value?: {
15176
+ $$field: string;
15177
+ $$subfield?: string[] | undefined;
15178
+ } | {
15179
+ $$field: string;
15180
+ $$subfield?: string[] | undefined;
15181
+ }[] | undefined;
15182
+ analytics?: boolean | undefined;
15183
+ defaultValue?: unknown;
15184
+ configuration?: unknown;
14865
15185
  } | {
14866
15186
  id: string;
14867
15187
  label: {
@@ -17963,6 +18283,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
17963
18283
  defaultValue?: {
17964
18284
  data: any;
17965
18285
  } | undefined;
18286
+ } | {
18287
+ id: string;
18288
+ label: {
18289
+ id: string;
18290
+ defaultMessage: string;
18291
+ description: string;
18292
+ };
18293
+ type: "CUSTOM";
18294
+ src: string;
18295
+ parent?: {
18296
+ $$field: string;
18297
+ $$subfield?: string[] | undefined;
18298
+ } | {
18299
+ $$field: string;
18300
+ $$subfield?: string[] | undefined;
18301
+ }[] | undefined;
18302
+ required?: boolean | {
18303
+ message: {
18304
+ id: string;
18305
+ defaultMessage: string;
18306
+ description: string;
18307
+ };
18308
+ } | undefined;
18309
+ conditionals?: ({
18310
+ type: "SHOW";
18311
+ conditional: any;
18312
+ } | {
18313
+ type: "ENABLE";
18314
+ conditional: any;
18315
+ } | {
18316
+ type: "DISPLAY_ON_REVIEW";
18317
+ conditional: any;
18318
+ })[] | undefined;
18319
+ secured?: boolean | undefined;
18320
+ placeholder?: {
18321
+ id: string;
18322
+ defaultMessage: string;
18323
+ description: string;
18324
+ } | undefined;
18325
+ validation?: {
18326
+ validator: any;
18327
+ message: {
18328
+ id: string;
18329
+ defaultMessage: string;
18330
+ description: string;
18331
+ };
18332
+ }[] | undefined;
18333
+ helperText?: {
18334
+ id: string;
18335
+ defaultMessage: string;
18336
+ description: string;
18337
+ } | undefined;
18338
+ hideLabel?: boolean | undefined;
18339
+ uncorrectable?: boolean | undefined;
18340
+ value?: {
18341
+ $$field: string;
18342
+ $$subfield?: string[] | undefined;
18343
+ } | {
18344
+ $$field: string;
18345
+ $$subfield?: string[] | undefined;
18346
+ }[] | undefined;
18347
+ analytics?: boolean | undefined;
18348
+ defaultValue?: unknown;
18349
+ configuration?: unknown;
17966
18350
  } | {
17967
18351
  id: string;
17968
18352
  label: {
@@ -20998,6 +21382,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
20998
21382
  defaultValue?: {
20999
21383
  data: any;
21000
21384
  } | undefined;
21385
+ } | {
21386
+ id: string;
21387
+ label: {
21388
+ id: string;
21389
+ defaultMessage: string;
21390
+ description: string;
21391
+ };
21392
+ type: "CUSTOM";
21393
+ src: string;
21394
+ parent?: {
21395
+ $$field: string;
21396
+ $$subfield?: string[] | undefined;
21397
+ } | {
21398
+ $$field: string;
21399
+ $$subfield?: string[] | undefined;
21400
+ }[] | undefined;
21401
+ required?: boolean | {
21402
+ message: {
21403
+ id: string;
21404
+ defaultMessage: string;
21405
+ description: string;
21406
+ };
21407
+ } | undefined;
21408
+ conditionals?: ({
21409
+ type: "SHOW";
21410
+ conditional: any;
21411
+ } | {
21412
+ type: "ENABLE";
21413
+ conditional: any;
21414
+ } | {
21415
+ type: "DISPLAY_ON_REVIEW";
21416
+ conditional: any;
21417
+ })[] | undefined;
21418
+ secured?: boolean | undefined;
21419
+ placeholder?: {
21420
+ id: string;
21421
+ defaultMessage: string;
21422
+ description: string;
21423
+ } | undefined;
21424
+ validation?: {
21425
+ validator: any;
21426
+ message: {
21427
+ id: string;
21428
+ defaultMessage: string;
21429
+ description: string;
21430
+ };
21431
+ }[] | undefined;
21432
+ helperText?: {
21433
+ id: string;
21434
+ defaultMessage: string;
21435
+ description: string;
21436
+ } | undefined;
21437
+ hideLabel?: boolean | undefined;
21438
+ uncorrectable?: boolean | undefined;
21439
+ value?: {
21440
+ $$field: string;
21441
+ $$subfield?: string[] | undefined;
21442
+ } | {
21443
+ $$field: string;
21444
+ $$subfield?: string[] | undefined;
21445
+ }[] | undefined;
21446
+ analytics?: boolean | undefined;
21447
+ defaultValue?: unknown;
21448
+ configuration?: unknown;
21001
21449
  } | {
21002
21450
  id: string;
21003
21451
  label: {
@@ -24088,6 +24536,70 @@ export declare const defineConfig: (config: EventConfigInput) => {
24088
24536
  defaultValue?: {
24089
24537
  data: any;
24090
24538
  } | undefined;
24539
+ } | {
24540
+ id: string;
24541
+ label: {
24542
+ id: string;
24543
+ defaultMessage: string;
24544
+ description: string;
24545
+ };
24546
+ type: "CUSTOM";
24547
+ src: string;
24548
+ parent?: {
24549
+ $$field: string;
24550
+ $$subfield?: string[] | undefined;
24551
+ } | {
24552
+ $$field: string;
24553
+ $$subfield?: string[] | undefined;
24554
+ }[] | undefined;
24555
+ required?: boolean | {
24556
+ message: {
24557
+ id: string;
24558
+ defaultMessage: string;
24559
+ description: string;
24560
+ };
24561
+ } | undefined;
24562
+ conditionals?: ({
24563
+ type: "SHOW";
24564
+ conditional: any;
24565
+ } | {
24566
+ type: "ENABLE";
24567
+ conditional: any;
24568
+ } | {
24569
+ type: "DISPLAY_ON_REVIEW";
24570
+ conditional: any;
24571
+ })[] | undefined;
24572
+ secured?: boolean | undefined;
24573
+ placeholder?: {
24574
+ id: string;
24575
+ defaultMessage: string;
24576
+ description: string;
24577
+ } | undefined;
24578
+ validation?: {
24579
+ validator: any;
24580
+ message: {
24581
+ id: string;
24582
+ defaultMessage: string;
24583
+ description: string;
24584
+ };
24585
+ }[] | undefined;
24586
+ helperText?: {
24587
+ id: string;
24588
+ defaultMessage: string;
24589
+ description: string;
24590
+ } | undefined;
24591
+ hideLabel?: boolean | undefined;
24592
+ uncorrectable?: boolean | undefined;
24593
+ value?: {
24594
+ $$field: string;
24595
+ $$subfield?: string[] | undefined;
24596
+ } | {
24597
+ $$field: string;
24598
+ $$subfield?: string[] | undefined;
24599
+ }[] | undefined;
24600
+ analytics?: boolean | undefined;
24601
+ defaultValue?: unknown;
24602
+ configuration?: unknown;
24091
24603
  } | {
24092
24604
  id: string;
24093
24605
  label: {
@@ -24678,7 +25190,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
24678
25190
  };
24679
25191
  fieldId: string;
24680
25192
  fieldType: "field";
24681
- type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
25193
+ type?: "CUSTOM" | "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
24682
25194
  label?: {
24683
25195
  id: string;
24684
25196
  defaultMessage: string;
@@ -24722,7 +25234,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
24722
25234
  };
24723
25235
  fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
24724
25236
  fieldType: "event";
24725
- type?: "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
25237
+ type?: "CUSTOM" | "NAME" | "PHONE" | "ID" | "ADDRESS" | "TEXT" | "NUMBER" | "TEXTAREA" | "EMAIL" | "DATE" | "AGE" | "DATE_RANGE" | "SELECT_DATE_RANGE" | "TIME" | "PARAGRAPH" | "PAGE_HEADER" | "RADIO_GROUP" | "FILE" | "FILE_WITH_OPTIONS" | "BULLET_LIST" | "CHECKBOX" | "SELECT" | "COUNTRY" | "LOCATION" | "DIVIDER" | "ADMINISTRATIVE_AREA" | "FACILITY" | "OFFICE" | "SIGNATURE" | "DATA" | "BUTTON" | "SEARCH" | "ALPHA_PRINT_BUTTON" | "HTTP" | "LINK_BUTTON" | "VERIFICATION_STATUS" | "QUERY_PARAM_READER" | "QR_READER" | "ID_READER" | "LOADER" | undefined;
24726
25238
  label?: {
24727
25239
  id: string;
24728
25240
  defaultMessage: string;
@@ -6,7 +6,6 @@ export declare const ACTION_SCOPE_MAP: {
6
6
  CREATE: "record.create"[];
7
7
  NOTIFY: "record.notify"[];
8
8
  DECLARE: ("record.register" | "record.declare" | "record.declared.validate")[];
9
- EDIT: "record.declared.edit"[];
10
9
  DELETE: "record.declare"[];
11
10
  VALIDATE: ("record.register" | "record.declared.validate")[];
12
11
  REGISTER: "record.register"[];
@@ -94,7 +94,7 @@ export declare function applyDraftToEventIndex(eventIndex: EventIndex, draft: Dr
94
94
  trackingId: string;
95
95
  }[];
96
96
  flags: string[];
97
- declaration: Record<string, import("..").FieldValue>;
97
+ declaration: Record<string, unknown>;
98
98
  dateOfEvent?: string | null | undefined;
99
99
  createdByUserType?: "system" | "user" | null | undefined;
100
100
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;