@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
@@ -2472,6 +2472,70 @@ export declare function getDeclarationPages(configuration: EventConfig): {
2472
2472
  defaultValue?: {
2473
2473
  data: any;
2474
2474
  } | undefined;
2475
+ } | {
2476
+ id: string;
2477
+ label: {
2478
+ id: string;
2479
+ defaultMessage: string;
2480
+ description: string;
2481
+ };
2482
+ type: "CUSTOM";
2483
+ src: string;
2484
+ parent?: {
2485
+ $$field: string;
2486
+ $$subfield?: string[] | undefined;
2487
+ } | {
2488
+ $$field: string;
2489
+ $$subfield?: string[] | undefined;
2490
+ }[] | undefined;
2491
+ required?: boolean | {
2492
+ message: {
2493
+ id: string;
2494
+ defaultMessage: string;
2495
+ description: string;
2496
+ };
2497
+ } | undefined;
2498
+ conditionals?: ({
2499
+ type: "SHOW";
2500
+ conditional: any;
2501
+ } | {
2502
+ type: "ENABLE";
2503
+ conditional: any;
2504
+ } | {
2505
+ type: "DISPLAY_ON_REVIEW";
2506
+ conditional: any;
2507
+ })[] | undefined;
2508
+ secured?: boolean | undefined;
2509
+ placeholder?: {
2510
+ id: string;
2511
+ defaultMessage: string;
2512
+ description: string;
2513
+ } | undefined;
2514
+ validation?: {
2515
+ validator: any;
2516
+ message: {
2517
+ id: string;
2518
+ defaultMessage: string;
2519
+ description: string;
2520
+ };
2521
+ }[] | undefined;
2522
+ helperText?: {
2523
+ id: string;
2524
+ defaultMessage: string;
2525
+ description: string;
2526
+ } | undefined;
2527
+ hideLabel?: boolean | undefined;
2528
+ uncorrectable?: boolean | undefined;
2529
+ value?: {
2530
+ $$field: string;
2531
+ $$subfield?: string[] | undefined;
2532
+ } | {
2533
+ $$field: string;
2534
+ $$subfield?: string[] | undefined;
2535
+ }[] | undefined;
2536
+ analytics?: boolean | undefined;
2537
+ defaultValue?: unknown;
2538
+ configuration?: unknown;
2475
2539
  } | {
2476
2540
  id: string;
2477
2541
  label: {
@@ -5514,6 +5578,70 @@ export declare function getDeclaration(configuration: EventConfig): {
5514
5578
  defaultValue?: {
5515
5579
  data: any;
5516
5580
  } | undefined;
5581
+ } | {
5582
+ id: string;
5583
+ label: {
5584
+ id: string;
5585
+ defaultMessage: string;
5586
+ description: string;
5587
+ };
5588
+ type: "CUSTOM";
5589
+ src: string;
5590
+ parent?: {
5591
+ $$field: string;
5592
+ $$subfield?: string[] | undefined;
5593
+ } | {
5594
+ $$field: string;
5595
+ $$subfield?: string[] | undefined;
5596
+ }[] | undefined;
5597
+ required?: boolean | {
5598
+ message: {
5599
+ id: string;
5600
+ defaultMessage: string;
5601
+ description: string;
5602
+ };
5603
+ } | undefined;
5604
+ conditionals?: ({
5605
+ type: "SHOW";
5606
+ conditional: any;
5607
+ } | {
5608
+ type: "ENABLE";
5609
+ conditional: any;
5610
+ } | {
5611
+ type: "DISPLAY_ON_REVIEW";
5612
+ conditional: any;
5613
+ })[] | undefined;
5614
+ secured?: boolean | undefined;
5615
+ placeholder?: {
5616
+ id: string;
5617
+ defaultMessage: string;
5618
+ description: string;
5619
+ } | undefined;
5620
+ validation?: {
5621
+ validator: any;
5622
+ message: {
5623
+ id: string;
5624
+ defaultMessage: string;
5625
+ description: string;
5626
+ };
5627
+ }[] | undefined;
5628
+ helperText?: {
5629
+ id: string;
5630
+ defaultMessage: string;
5631
+ description: string;
5632
+ } | undefined;
5633
+ hideLabel?: boolean | undefined;
5634
+ uncorrectable?: boolean | undefined;
5635
+ value?: {
5636
+ $$field: string;
5637
+ $$subfield?: string[] | undefined;
5638
+ } | {
5639
+ $$field: string;
5640
+ $$subfield?: string[] | undefined;
5641
+ }[] | undefined;
5642
+ analytics?: boolean | undefined;
5643
+ defaultValue?: unknown;
5644
+ configuration?: unknown;
5517
5645
  } | {
5518
5646
  id: string;
5519
5647
  label: {
@@ -8565,14 +8693,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8565
8693
  defaultMessage: string;
8566
8694
  description: string;
8567
8695
  };
8568
- type: "LOADER";
8569
- configuration: {
8570
- text: {
8571
- id: string;
8572
- defaultMessage: string;
8573
- description: string;
8574
- };
8575
- };
8696
+ type: "CUSTOM";
8697
+ src: string;
8576
8698
  parent?: {
8577
8699
  $$field: string;
8578
8700
  $$subfield?: string[] | undefined;
@@ -8626,6 +8748,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8626
8748
  $$subfield?: string[] | undefined;
8627
8749
  }[] | undefined;
8628
8750
  analytics?: boolean | undefined;
8751
+ defaultValue?: unknown;
8752
+ configuration?: unknown;
8629
8753
  } | {
8630
8754
  id: string;
8631
8755
  label: {
@@ -8633,112 +8757,14 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8633
8757
  defaultMessage: string;
8634
8758
  description: string;
8635
8759
  };
8636
- type: "ADDRESS";
8637
- parent?: {
8638
- $$field: string;
8639
- $$subfield?: string[] | undefined;
8640
- } | {
8641
- $$field: string;
8642
- $$subfield?: string[] | undefined;
8643
- }[] | undefined;
8644
- required?: boolean | {
8645
- message: {
8646
- id: string;
8647
- defaultMessage: string;
8648
- description: string;
8649
- };
8650
- } | undefined;
8651
- conditionals?: ({
8652
- type: "SHOW";
8653
- conditional: any;
8654
- } | {
8655
- type: "ENABLE";
8656
- conditional: any;
8657
- } | {
8658
- type: "DISPLAY_ON_REVIEW";
8659
- conditional: any;
8660
- })[] | undefined;
8661
- secured?: boolean | undefined;
8662
- placeholder?: {
8663
- id: string;
8664
- defaultMessage: string;
8665
- description: string;
8666
- } | undefined;
8667
- validation?: {
8668
- validator: any;
8669
- message: {
8760
+ type: "LOADER";
8761
+ configuration: {
8762
+ text: {
8670
8763
  id: string;
8671
8764
  defaultMessage: string;
8672
8765
  description: string;
8673
8766
  };
8674
- }[] | undefined;
8675
- helperText?: {
8676
- id: string;
8677
- defaultMessage: string;
8678
- description: string;
8679
- } | undefined;
8680
- hideLabel?: boolean | undefined;
8681
- uncorrectable?: boolean | undefined;
8682
- value?: {
8683
- $$field: string;
8684
- $$subfield?: string[] | undefined;
8685
- } | {
8686
- $$field: string;
8687
- $$subfield?: string[] | undefined;
8688
- }[] | undefined;
8689
- analytics?: boolean | undefined;
8690
- configuration?: {
8691
- lineSeparator?: string | undefined;
8692
- fields?: ("country" | "administrativeArea")[] | undefined;
8693
- administrativeLevels?: string[] | undefined;
8694
- streetAddressForm?: {
8695
- id: string;
8696
- label: {
8697
- id: string;
8698
- defaultMessage: string;
8699
- description: string;
8700
- };
8701
- type: "TEXT";
8702
- required?: boolean | {
8703
- message: {
8704
- id: string;
8705
- defaultMessage: string;
8706
- description: string;
8707
- };
8708
- } | undefined;
8709
- conditionals?: ({
8710
- type: "SHOW";
8711
- conditional: any;
8712
- } | {
8713
- type: "ENABLE";
8714
- conditional: any;
8715
- } | {
8716
- type: "DISPLAY_ON_REVIEW";
8717
- conditional: any;
8718
- })[] | undefined;
8719
- parent?: {
8720
- $$field: string;
8721
- $$subfield?: string[] | undefined;
8722
- } | undefined;
8723
- }[] | undefined;
8724
- } | undefined;
8725
- defaultValue?: {
8726
- country: string;
8727
- addressType: "DOMESTIC";
8728
- streetLevelDetails?: Record<string, string> | undefined;
8729
- administrativeArea?: (string & import("zod/v4").$brand<"UUID">) | {
8730
- $userField: "signature" | "id" | "name" | "primaryOfficeId" | "role" | "avatar";
8731
- $location?: string | undefined;
8732
- } | undefined;
8733
- } | undefined;
8734
- } | {
8735
- id: string;
8736
- label: {
8737
- id: string;
8738
- defaultMessage: string;
8739
- description: string;
8740
8767
  };
8741
- type: "NUMBER";
8742
8768
  parent?: {
8743
8769
  $$field: string;
8744
8770
  $$subfield?: string[] | undefined;
@@ -8792,21 +8818,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8792
8818
  $$subfield?: string[] | undefined;
8793
8819
  }[] | undefined;
8794
8820
  analytics?: boolean | undefined;
8795
- defaultValue?: number | undefined;
8796
- configuration?: {
8797
- min?: number | undefined;
8798
- max?: number | undefined;
8799
- prefix?: {
8800
- id: string;
8801
- defaultMessage: string;
8802
- description: string;
8803
- } | undefined;
8804
- postfix?: {
8805
- id: string;
8806
- defaultMessage: string;
8807
- description: string;
8808
- } | undefined;
8809
- } | undefined;
8810
8821
  } | {
8811
8822
  id: string;
8812
8823
  label: {
@@ -8814,15 +8825,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8814
8825
  defaultMessage: string;
8815
8826
  description: string;
8816
8827
  };
8817
- type: "SELECT";
8818
- options: {
8819
- value: string;
8820
- label: string | {
8821
- id: string;
8822
- defaultMessage: string;
8823
- description: string;
8824
- };
8825
- }[];
8828
+ type: "ADDRESS";
8826
8829
  parent?: {
8827
8830
  $$field: string;
8828
8831
  $$subfield?: string[] | undefined;
@@ -8876,11 +8879,49 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8876
8879
  $$subfield?: string[] | undefined;
8877
8880
  }[] | undefined;
8878
8881
  analytics?: boolean | undefined;
8879
- defaultValue?: string | undefined;
8880
- noOptionsMessage?: {
8881
- id: string;
8882
- defaultMessage: string;
8883
- description: string;
8882
+ configuration?: {
8883
+ lineSeparator?: string | undefined;
8884
+ fields?: ("country" | "administrativeArea")[] | undefined;
8885
+ administrativeLevels?: string[] | undefined;
8886
+ streetAddressForm?: {
8887
+ id: string;
8888
+ label: {
8889
+ id: string;
8890
+ defaultMessage: string;
8891
+ description: string;
8892
+ };
8893
+ type: "TEXT";
8894
+ required?: boolean | {
8895
+ message: {
8896
+ id: string;
8897
+ defaultMessage: string;
8898
+ description: string;
8899
+ };
8900
+ } | undefined;
8901
+ conditionals?: ({
8902
+ type: "SHOW";
8903
+ conditional: any;
8904
+ } | {
8905
+ type: "ENABLE";
8906
+ conditional: any;
8907
+ } | {
8908
+ type: "DISPLAY_ON_REVIEW";
8909
+ conditional: any;
8910
+ })[] | undefined;
8911
+ parent?: {
8912
+ $$field: string;
8913
+ $$subfield?: string[] | undefined;
8914
+ } | undefined;
8915
+ }[] | undefined;
8916
+ } | undefined;
8917
+ defaultValue?: {
8918
+ country: string;
8919
+ addressType: "DOMESTIC";
8920
+ streetLevelDetails?: Record<string, string> | undefined;
8921
+ administrativeArea?: (string & import("zod/v4").$brand<"UUID">) | {
8922
+ $userField: "signature" | "id" | "name" | "primaryOfficeId" | "role" | "avatar";
8923
+ $location?: string | undefined;
8924
+ } | undefined;
8884
8925
  } | undefined;
8885
8926
  } | {
8886
8927
  id: string;
@@ -8889,7 +8930,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8889
8930
  defaultMessage: string;
8890
8931
  description: string;
8891
8932
  };
8892
- type: "NAME";
8933
+ type: "NUMBER";
8893
8934
  parent?: {
8894
8935
  $$field: string;
8895
8936
  $$subfield?: string[] | undefined;
@@ -8943,58 +8984,10 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
8943
8984
  $$subfield?: string[] | undefined;
8944
8985
  }[] | undefined;
8945
8986
  analytics?: boolean | undefined;
8946
- defaultValue?: {
8947
- firstname?: string | undefined;
8948
- middlename?: string | undefined;
8949
- surname?: string | undefined;
8950
- } | undefined;
8987
+ defaultValue?: number | undefined;
8951
8988
  configuration?: {
8952
- name?: {
8953
- firstname?: {
8954
- required?: boolean | {
8955
- message: {
8956
- id: string;
8957
- defaultMessage: string;
8958
- description: string;
8959
- };
8960
- } | undefined;
8961
- label?: {
8962
- id: string;
8963
- defaultMessage: string;
8964
- description: string;
8965
- } | undefined;
8966
- } | undefined;
8967
- middlename?: {
8968
- required?: boolean | {
8969
- message: {
8970
- id: string;
8971
- defaultMessage: string;
8972
- description: string;
8973
- };
8974
- } | undefined;
8975
- label?: {
8976
- id: string;
8977
- defaultMessage: string;
8978
- description: string;
8979
- } | undefined;
8980
- } | undefined;
8981
- surname?: {
8982
- required?: boolean | {
8983
- message: {
8984
- id: string;
8985
- defaultMessage: string;
8986
- description: string;
8987
- };
8988
- } | undefined;
8989
- label?: {
8990
- id: string;
8991
- defaultMessage: string;
8992
- description: string;
8993
- } | undefined;
8994
- } | undefined;
8995
- } | undefined;
8996
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
8997
- maxLength?: number | undefined;
8989
+ min?: number | undefined;
8990
+ max?: number | undefined;
8998
8991
  prefix?: {
8999
8992
  id: string;
9000
8993
  defaultMessage: string;
@@ -9013,7 +9006,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9013
9006
  defaultMessage: string;
9014
9007
  description: string;
9015
9008
  };
9016
- type: "PHONE";
9009
+ type: "SELECT";
9010
+ options: {
9011
+ value: string;
9012
+ label: string | {
9013
+ id: string;
9014
+ defaultMessage: string;
9015
+ description: string;
9016
+ };
9017
+ }[];
9017
9018
  parent?: {
9018
9019
  $$field: string;
9019
9020
  $$subfield?: string[] | undefined;
@@ -9068,6 +9069,11 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9068
9069
  }[] | undefined;
9069
9070
  analytics?: boolean | undefined;
9070
9071
  defaultValue?: string | undefined;
9072
+ noOptionsMessage?: {
9073
+ id: string;
9074
+ defaultMessage: string;
9075
+ description: string;
9076
+ } | undefined;
9071
9077
  } | {
9072
9078
  id: string;
9073
9079
  label: {
@@ -9075,7 +9081,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9075
9081
  defaultMessage: string;
9076
9082
  description: string;
9077
9083
  };
9078
- type: "ID";
9084
+ type: "NAME";
9079
9085
  parent?: {
9080
9086
  $$field: string;
9081
9087
  $$subfield?: string[] | undefined;
@@ -9129,25 +9135,77 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9129
9135
  $$subfield?: string[] | undefined;
9130
9136
  }[] | undefined;
9131
9137
  analytics?: boolean | undefined;
9132
- defaultValue?: string | undefined;
9133
- })[];
9134
- type: "FORM";
9135
- conditional?: any;
9136
- } | {
9137
- id: string;
9138
- title: {
9139
- id: string;
9140
- defaultMessage: string;
9141
- description: string;
9142
- };
9143
- fields: ({
9138
+ defaultValue?: {
9139
+ firstname?: string | undefined;
9140
+ middlename?: string | undefined;
9141
+ surname?: string | undefined;
9142
+ } | undefined;
9143
+ configuration?: {
9144
+ name?: {
9145
+ firstname?: {
9146
+ required?: boolean | {
9147
+ message: {
9148
+ id: string;
9149
+ defaultMessage: string;
9150
+ description: string;
9151
+ };
9152
+ } | undefined;
9153
+ label?: {
9154
+ id: string;
9155
+ defaultMessage: string;
9156
+ description: string;
9157
+ } | undefined;
9158
+ } | undefined;
9159
+ middlename?: {
9160
+ required?: boolean | {
9161
+ message: {
9162
+ id: string;
9163
+ defaultMessage: string;
9164
+ description: string;
9165
+ };
9166
+ } | undefined;
9167
+ label?: {
9168
+ id: string;
9169
+ defaultMessage: string;
9170
+ description: string;
9171
+ } | undefined;
9172
+ } | undefined;
9173
+ surname?: {
9174
+ required?: boolean | {
9175
+ message: {
9176
+ id: string;
9177
+ defaultMessage: string;
9178
+ description: string;
9179
+ };
9180
+ } | undefined;
9181
+ label?: {
9182
+ id: string;
9183
+ defaultMessage: string;
9184
+ description: string;
9185
+ } | undefined;
9186
+ } | undefined;
9187
+ } | undefined;
9188
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9189
+ maxLength?: number | undefined;
9190
+ prefix?: {
9191
+ id: string;
9192
+ defaultMessage: string;
9193
+ description: string;
9194
+ } | undefined;
9195
+ postfix?: {
9196
+ id: string;
9197
+ defaultMessage: string;
9198
+ description: string;
9199
+ } | undefined;
9200
+ } | undefined;
9201
+ } | {
9144
9202
  id: string;
9145
9203
  label: {
9146
9204
  id: string;
9147
9205
  defaultMessage: string;
9148
9206
  description: string;
9149
9207
  };
9150
- type: "DIVIDER";
9208
+ type: "PHONE";
9151
9209
  parent?: {
9152
9210
  $$field: string;
9153
9211
  $$subfield?: string[] | undefined;
@@ -9201,6 +9259,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9201
9259
  $$subfield?: string[] | undefined;
9202
9260
  }[] | undefined;
9203
9261
  analytics?: boolean | undefined;
9262
+ defaultValue?: string | undefined;
9204
9263
  } | {
9205
9264
  id: string;
9206
9265
  label: {
@@ -9208,7 +9267,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9208
9267
  defaultMessage: string;
9209
9268
  description: string;
9210
9269
  };
9211
- type: "TEXT";
9270
+ type: "ID";
9212
9271
  parent?: {
9213
9272
  $$field: string;
9214
9273
  $$subfield?: string[] | undefined;
@@ -9263,28 +9322,24 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9263
9322
  }[] | undefined;
9264
9323
  analytics?: boolean | undefined;
9265
9324
  defaultValue?: string | undefined;
9266
- configuration?: {
9267
- maxLength?: number | undefined;
9268
- type?: "text" | "password" | undefined;
9269
- prefix?: {
9270
- id: string;
9271
- defaultMessage: string;
9272
- description: string;
9273
- } | undefined;
9274
- postfix?: {
9275
- id: string;
9276
- defaultMessage: string;
9277
- description: string;
9278
- } | undefined;
9279
- } | undefined;
9280
- } | {
9325
+ })[];
9326
+ type: "FORM";
9327
+ conditional?: any;
9328
+ } | {
9329
+ id: string;
9330
+ title: {
9331
+ id: string;
9332
+ defaultMessage: string;
9333
+ description: string;
9334
+ };
9335
+ fields: ({
9281
9336
  id: string;
9282
9337
  label: {
9283
9338
  id: string;
9284
9339
  defaultMessage: string;
9285
9340
  description: string;
9286
9341
  };
9287
- type: "TEXTAREA";
9342
+ type: "DIVIDER";
9288
9343
  parent?: {
9289
9344
  $$field: string;
9290
9345
  $$subfield?: string[] | undefined;
@@ -9338,22 +9393,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9338
9393
  $$subfield?: string[] | undefined;
9339
9394
  }[] | undefined;
9340
9395
  analytics?: boolean | undefined;
9341
- defaultValue?: string | undefined;
9342
- configuration?: {
9343
- maxLength?: number | undefined;
9344
- rows?: number | undefined;
9345
- cols?: number | undefined;
9346
- prefix?: {
9347
- id: string;
9348
- defaultMessage: string;
9349
- description: string;
9350
- } | undefined;
9351
- postfix?: {
9352
- id: string;
9353
- defaultMessage: string;
9354
- description: string;
9355
- } | undefined;
9356
- } | undefined;
9357
9396
  } | {
9358
9397
  id: string;
9359
9398
  label: {
@@ -9361,16 +9400,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9361
9400
  defaultMessage: string;
9362
9401
  description: string;
9363
9402
  };
9364
- type: "SIGNATURE";
9365
- signaturePromptLabel: {
9366
- id: string;
9367
- defaultMessage: string;
9368
- description: string;
9369
- };
9370
- configuration: {
9371
- maxFileSize: number;
9372
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
9373
- };
9403
+ type: "TEXT";
9374
9404
  parent?: {
9375
9405
  $$field: string;
9376
9406
  $$subfield?: string[] | undefined;
@@ -9425,71 +9455,20 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9425
9455
  }[] | undefined;
9426
9456
  analytics?: boolean | undefined;
9427
9457
  defaultValue?: string | undefined;
9428
- } | {
9429
- id: string;
9430
- label: {
9431
- id: string;
9432
- defaultMessage: string;
9433
- description: string;
9434
- };
9435
- type: "EMAIL";
9436
- parent?: {
9437
- $$field: string;
9438
- $$subfield?: string[] | undefined;
9439
- } | {
9440
- $$field: string;
9441
- $$subfield?: string[] | undefined;
9442
- }[] | undefined;
9443
- required?: boolean | {
9444
- message: {
9458
+ configuration?: {
9459
+ maxLength?: number | undefined;
9460
+ type?: "text" | "password" | undefined;
9461
+ prefix?: {
9445
9462
  id: string;
9446
9463
  defaultMessage: string;
9447
9464
  description: string;
9448
- };
9449
- } | undefined;
9450
- conditionals?: ({
9451
- type: "SHOW";
9452
- conditional: any;
9453
- } | {
9454
- type: "ENABLE";
9455
- conditional: any;
9456
- } | {
9457
- type: "DISPLAY_ON_REVIEW";
9458
- conditional: any;
9459
- })[] | undefined;
9460
- secured?: boolean | undefined;
9461
- placeholder?: {
9462
- id: string;
9463
- defaultMessage: string;
9464
- description: string;
9465
- } | undefined;
9466
- validation?: {
9467
- validator: any;
9468
- message: {
9465
+ } | undefined;
9466
+ postfix?: {
9469
9467
  id: string;
9470
9468
  defaultMessage: string;
9471
9469
  description: string;
9472
- };
9473
- }[] | undefined;
9474
- helperText?: {
9475
- id: string;
9476
- defaultMessage: string;
9477
- description: string;
9478
- } | undefined;
9479
- hideLabel?: boolean | undefined;
9480
- uncorrectable?: boolean | undefined;
9481
- value?: {
9482
- $$field: string;
9483
- $$subfield?: string[] | undefined;
9484
- } | {
9485
- $$field: string;
9486
- $$subfield?: string[] | undefined;
9487
- }[] | undefined;
9488
- analytics?: boolean | undefined;
9489
- configuration?: {
9490
- maxLength?: number | undefined;
9470
+ } | undefined;
9491
9471
  } | undefined;
9492
- defaultValue?: string | undefined;
9493
9472
  } | {
9494
9473
  id: string;
9495
9474
  label: {
@@ -9497,7 +9476,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9497
9476
  defaultMessage: string;
9498
9477
  description: string;
9499
9478
  };
9500
- type: "DATE";
9479
+ type: "TEXTAREA";
9501
9480
  parent?: {
9502
9481
  $$field: string;
9503
9482
  $$subfield?: string[] | undefined;
@@ -9553,7 +9532,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9553
9532
  analytics?: boolean | undefined;
9554
9533
  defaultValue?: string | undefined;
9555
9534
  configuration?: {
9556
- notice?: {
9535
+ maxLength?: number | undefined;
9536
+ rows?: number | undefined;
9537
+ cols?: number | undefined;
9538
+ prefix?: {
9539
+ id: string;
9540
+ defaultMessage: string;
9541
+ description: string;
9542
+ } | undefined;
9543
+ postfix?: {
9557
9544
  id: string;
9558
9545
  defaultMessage: string;
9559
9546
  description: string;
@@ -9566,22 +9553,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9566
9553
  defaultMessage: string;
9567
9554
  description: string;
9568
9555
  };
9569
- type: "AGE";
9556
+ type: "SIGNATURE";
9557
+ signaturePromptLabel: {
9558
+ id: string;
9559
+ defaultMessage: string;
9560
+ description: string;
9561
+ };
9570
9562
  configuration: {
9571
- asOfDate: {
9572
- $$field: string;
9573
- $$subfield?: string[] | undefined;
9574
- };
9575
- prefix?: {
9576
- id: string;
9577
- defaultMessage: string;
9578
- description: string;
9579
- } | undefined;
9580
- postfix?: {
9581
- id: string;
9582
- defaultMessage: string;
9583
- description: string;
9584
- } | undefined;
9563
+ maxFileSize: number;
9564
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
9585
9565
  };
9586
9566
  parent?: {
9587
9567
  $$field: string;
@@ -9636,7 +9616,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9636
9616
  $$subfield?: string[] | undefined;
9637
9617
  }[] | undefined;
9638
9618
  analytics?: boolean | undefined;
9639
- defaultValue?: number | undefined;
9619
+ defaultValue?: string | undefined;
9640
9620
  } | {
9641
9621
  id: string;
9642
9622
  label: {
@@ -9644,7 +9624,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9644
9624
  defaultMessage: string;
9645
9625
  description: string;
9646
9626
  };
9647
- type: "TIME";
9627
+ type: "EMAIL";
9648
9628
  parent?: {
9649
9629
  $$field: string;
9650
9630
  $$subfield?: string[] | undefined;
@@ -9698,15 +9678,10 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9698
9678
  $$subfield?: string[] | undefined;
9699
9679
  }[] | undefined;
9700
9680
  analytics?: boolean | undefined;
9701
- defaultValue?: string | undefined;
9702
9681
  configuration?: {
9703
- use12HourFormat?: boolean | undefined;
9704
- notice?: {
9705
- id: string;
9706
- defaultMessage: string;
9707
- description: string;
9708
- } | undefined;
9682
+ maxLength?: number | undefined;
9709
9683
  } | undefined;
9684
+ defaultValue?: string | undefined;
9710
9685
  } | {
9711
9686
  id: string;
9712
9687
  label: {
@@ -9714,7 +9689,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9714
9689
  defaultMessage: string;
9715
9690
  description: string;
9716
9691
  };
9717
- type: "DATE_RANGE";
9692
+ type: "DATE";
9718
9693
  parent?: {
9719
9694
  $$field: string;
9720
9695
  $$subfield?: string[] | undefined;
@@ -9768,10 +9743,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9768
9743
  $$subfield?: string[] | undefined;
9769
9744
  }[] | undefined;
9770
9745
  analytics?: boolean | undefined;
9771
- defaultValue?: string | {
9772
- start: string;
9773
- end: string;
9774
- } | undefined;
9746
+ defaultValue?: string | undefined;
9775
9747
  configuration?: {
9776
9748
  notice?: {
9777
9749
  id: string;
@@ -9786,75 +9758,23 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9786
9758
  defaultMessage: string;
9787
9759
  description: string;
9788
9760
  };
9789
- type: "PARAGRAPH";
9761
+ type: "AGE";
9790
9762
  configuration: {
9791
- styles?: {
9792
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
9793
- hint?: boolean | undefined;
9794
- } | undefined;
9795
- };
9796
- parent?: {
9797
- $$field: string;
9798
- $$subfield?: string[] | undefined;
9799
- } | {
9800
- $$field: string;
9801
- $$subfield?: string[] | undefined;
9802
- }[] | undefined;
9803
- required?: boolean | {
9804
- message: {
9763
+ asOfDate: {
9764
+ $$field: string;
9765
+ $$subfield?: string[] | undefined;
9766
+ };
9767
+ prefix?: {
9805
9768
  id: string;
9806
9769
  defaultMessage: string;
9807
9770
  description: string;
9808
- };
9809
- } | undefined;
9810
- conditionals?: ({
9811
- type: "SHOW";
9812
- conditional: any;
9813
- } | {
9814
- type: "ENABLE";
9815
- conditional: any;
9816
- } | {
9817
- type: "DISPLAY_ON_REVIEW";
9818
- conditional: any;
9819
- })[] | undefined;
9820
- secured?: boolean | undefined;
9821
- placeholder?: {
9822
- id: string;
9823
- defaultMessage: string;
9824
- description: string;
9825
- } | undefined;
9826
- validation?: {
9827
- validator: any;
9828
- message: {
9771
+ } | undefined;
9772
+ postfix?: {
9829
9773
  id: string;
9830
9774
  defaultMessage: string;
9831
9775
  description: string;
9832
- };
9833
- }[] | undefined;
9834
- helperText?: {
9835
- id: string;
9836
- defaultMessage: string;
9837
- description: string;
9838
- } | undefined;
9839
- hideLabel?: boolean | undefined;
9840
- uncorrectable?: boolean | undefined;
9841
- value?: {
9842
- $$field: string;
9843
- $$subfield?: string[] | undefined;
9844
- } | {
9845
- $$field: string;
9846
- $$subfield?: string[] | undefined;
9847
- }[] | undefined;
9848
- analytics?: boolean | undefined;
9849
- defaultValue?: string | undefined;
9850
- } | {
9851
- id: string;
9852
- label: {
9853
- id: string;
9854
- defaultMessage: string;
9855
- description: string;
9776
+ } | undefined;
9856
9777
  };
9857
- type: "PAGE_HEADER";
9858
9778
  parent?: {
9859
9779
  $$field: string;
9860
9780
  $$subfield?: string[] | undefined;
@@ -9908,7 +9828,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9908
9828
  $$subfield?: string[] | undefined;
9909
9829
  }[] | undefined;
9910
9830
  analytics?: boolean | undefined;
9911
- defaultValue?: string | undefined;
9831
+ defaultValue?: number | undefined;
9912
9832
  } | {
9913
9833
  id: string;
9914
9834
  label: {
@@ -9916,19 +9836,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9916
9836
  defaultMessage: string;
9917
9837
  description: string;
9918
9838
  };
9919
- type: "FILE";
9920
- configuration: {
9921
- maxFileSize: number;
9922
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
9923
- style?: {
9924
- width?: "full" | "auto" | undefined;
9925
- } | undefined;
9926
- fileName?: {
9927
- id: string;
9928
- defaultMessage: string;
9929
- description: string;
9930
- } | undefined;
9931
- };
9839
+ type: "TIME";
9932
9840
  parent?: {
9933
9841
  $$field: string;
9934
9842
  $$subfield?: string[] | undefined;
@@ -9982,10 +9890,14 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9982
9890
  $$subfield?: string[] | undefined;
9983
9891
  }[] | undefined;
9984
9892
  analytics?: boolean | undefined;
9985
- defaultValue?: {
9986
- path: string;
9987
- originalFilename: string;
9988
- type: string;
9893
+ defaultValue?: string | undefined;
9894
+ configuration?: {
9895
+ use12HourFormat?: boolean | undefined;
9896
+ notice?: {
9897
+ id: string;
9898
+ defaultMessage: string;
9899
+ description: string;
9900
+ } | undefined;
9989
9901
  } | undefined;
9990
9902
  } | {
9991
9903
  id: string;
@@ -9994,15 +9906,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
9994
9906
  defaultMessage: string;
9995
9907
  description: string;
9996
9908
  };
9997
- type: "RADIO_GROUP";
9998
- options: {
9999
- value: string;
10000
- label: string | {
10001
- id: string;
10002
- defaultMessage: string;
10003
- description: string;
10004
- };
10005
- }[];
9909
+ type: "DATE_RANGE";
10006
9910
  parent?: {
10007
9911
  $$field: string;
10008
9912
  $$subfield?: string[] | undefined;
@@ -10056,10 +9960,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10056
9960
  $$subfield?: string[] | undefined;
10057
9961
  }[] | undefined;
10058
9962
  analytics?: boolean | undefined;
10059
- defaultValue?: string | undefined;
9963
+ defaultValue?: string | {
9964
+ start: string;
9965
+ end: string;
9966
+ } | undefined;
10060
9967
  configuration?: {
10061
- styles?: {
10062
- size?: "NORMAL" | "LARGE" | undefined;
9968
+ notice?: {
9969
+ id: string;
9970
+ defaultMessage: string;
9971
+ description: string;
10063
9972
  } | undefined;
10064
9973
  } | undefined;
10065
9974
  } | {
@@ -10069,15 +9978,11 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10069
9978
  defaultMessage: string;
10070
9979
  description: string;
10071
9980
  };
10072
- type: "BULLET_LIST";
10073
- items: {
10074
- id: string;
10075
- defaultMessage: string;
10076
- description: string;
10077
- }[];
9981
+ type: "PARAGRAPH";
10078
9982
  configuration: {
10079
9983
  styles?: {
10080
9984
  fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
9985
+ hint?: boolean | undefined;
10081
9986
  } | undefined;
10082
9987
  };
10083
9988
  parent?: {
@@ -10141,15 +10046,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10141
10046
  defaultMessage: string;
10142
10047
  description: string;
10143
10048
  };
10144
- type: "SELECT_DATE_RANGE";
10145
- options: {
10146
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
10147
- label: {
10148
- id: string;
10149
- defaultMessage: string;
10150
- description: string;
10151
- };
10152
- }[];
10049
+ type: "PAGE_HEADER";
10153
10050
  parent?: {
10154
10051
  $$field: string;
10155
10052
  $$subfield?: string[] | undefined;
@@ -10203,7 +10100,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10203
10100
  $$subfield?: string[] | undefined;
10204
10101
  }[] | undefined;
10205
10102
  analytics?: boolean | undefined;
10206
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
10103
+ defaultValue?: string | undefined;
10207
10104
  } | {
10208
10105
  id: string;
10209
10106
  label: {
@@ -10211,69 +10108,19 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10211
10108
  defaultMessage: string;
10212
10109
  description: string;
10213
10110
  };
10214
- type: "CHECKBOX";
10215
- defaultValue: boolean;
10216
- parent?: {
10217
- $$field: string;
10218
- $$subfield?: string[] | undefined;
10219
- } | {
10220
- $$field: string;
10221
- $$subfield?: string[] | undefined;
10222
- }[] | undefined;
10223
- required?: boolean | {
10224
- message: {
10225
- id: string;
10226
- defaultMessage: string;
10227
- description: string;
10228
- };
10229
- } | undefined;
10230
- conditionals?: ({
10231
- type: "SHOW";
10232
- conditional: any;
10233
- } | {
10234
- type: "ENABLE";
10235
- conditional: any;
10236
- } | {
10237
- type: "DISPLAY_ON_REVIEW";
10238
- conditional: any;
10239
- })[] | undefined;
10240
- secured?: boolean | undefined;
10241
- placeholder?: {
10242
- id: string;
10243
- defaultMessage: string;
10244
- description: string;
10245
- } | undefined;
10246
- validation?: {
10247
- validator: any;
10248
- message: {
10111
+ type: "FILE";
10112
+ configuration: {
10113
+ maxFileSize: number;
10114
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
10115
+ style?: {
10116
+ width?: "full" | "auto" | undefined;
10117
+ } | undefined;
10118
+ fileName?: {
10249
10119
  id: string;
10250
10120
  defaultMessage: string;
10251
10121
  description: string;
10252
- };
10253
- }[] | undefined;
10254
- helperText?: {
10255
- id: string;
10256
- defaultMessage: string;
10257
- description: string;
10258
- } | undefined;
10259
- hideLabel?: boolean | undefined;
10260
- uncorrectable?: boolean | undefined;
10261
- value?: {
10262
- $$field: string;
10263
- $$subfield?: string[] | undefined;
10264
- } | {
10265
- $$field: string;
10266
- $$subfield?: string[] | undefined;
10267
- }[] | undefined;
10268
- analytics?: boolean | undefined;
10269
- } | {
10270
- id: string;
10271
- label: {
10272
- id: string;
10273
- defaultMessage: string;
10274
- description: string;
10122
+ } | undefined;
10275
10123
  };
10276
- type: "COUNTRY";
10277
10124
  parent?: {
10278
10125
  $$field: string;
10279
10126
  $$subfield?: string[] | undefined;
@@ -10327,7 +10174,11 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10327
10174
  $$subfield?: string[] | undefined;
10328
10175
  }[] | undefined;
10329
10176
  analytics?: boolean | undefined;
10330
- defaultValue?: string | undefined;
10177
+ defaultValue?: {
10178
+ path: string;
10179
+ originalFilename: string;
10180
+ type: string;
10181
+ } | undefined;
10331
10182
  } | {
10332
10183
  id: string;
10333
10184
  label: {
@@ -10335,13 +10186,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10335
10186
  defaultMessage: string;
10336
10187
  description: string;
10337
10188
  };
10338
- type: "ADMINISTRATIVE_AREA";
10339
- configuration: {
10340
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
10341
- partOf?: {
10342
- $declaration: string;
10343
- } | undefined;
10344
- };
10189
+ type: "RADIO_GROUP";
10190
+ options: {
10191
+ value: string;
10192
+ label: string | {
10193
+ id: string;
10194
+ defaultMessage: string;
10195
+ description: string;
10196
+ };
10197
+ }[];
10345
10198
  parent?: {
10346
10199
  $$field: string;
10347
10200
  $$subfield?: string[] | undefined;
@@ -10396,6 +10249,11 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10396
10249
  }[] | undefined;
10397
10250
  analytics?: boolean | undefined;
10398
10251
  defaultValue?: string | undefined;
10252
+ configuration?: {
10253
+ styles?: {
10254
+ size?: "NORMAL" | "LARGE" | undefined;
10255
+ } | undefined;
10256
+ } | undefined;
10399
10257
  } | {
10400
10258
  id: string;
10401
10259
  label: {
@@ -10403,9 +10261,16 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10403
10261
  defaultMessage: string;
10404
10262
  description: string;
10405
10263
  };
10406
- type: "LOCATION";
10264
+ type: "BULLET_LIST";
10265
+ items: {
10266
+ id: string;
10267
+ defaultMessage: string;
10268
+ description: string;
10269
+ }[];
10407
10270
  configuration: {
10408
- searchableResource: ("locations" | "facilities" | "offices")[];
10271
+ styles?: {
10272
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
10273
+ } | undefined;
10409
10274
  };
10410
10275
  parent?: {
10411
10276
  $$field: string;
@@ -10468,19 +10333,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10468
10333
  defaultMessage: string;
10469
10334
  description: string;
10470
10335
  };
10471
- type: "FILE_WITH_OPTIONS";
10336
+ type: "SELECT_DATE_RANGE";
10472
10337
  options: {
10473
- value: string;
10474
- label: string | {
10338
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
10339
+ label: {
10475
10340
  id: string;
10476
10341
  defaultMessage: string;
10477
10342
  description: string;
10478
10343
  };
10479
10344
  }[];
10480
- configuration: {
10481
- maxFileSize: number;
10482
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
10483
- };
10484
10345
  parent?: {
10485
10346
  $$field: string;
10486
10347
  $$subfield?: string[] | undefined;
@@ -10534,12 +10395,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10534
10395
  $$subfield?: string[] | undefined;
10535
10396
  }[] | undefined;
10536
10397
  analytics?: boolean | undefined;
10537
- defaultValue?: {
10538
- path: string;
10539
- originalFilename: string;
10540
- type: string;
10541
- option: string;
10542
- }[] | undefined;
10398
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
10543
10399
  } | {
10544
10400
  id: string;
10545
10401
  label: {
@@ -10547,7 +10403,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10547
10403
  defaultMessage: string;
10548
10404
  description: string;
10549
10405
  };
10550
- type: "FACILITY";
10406
+ type: "CHECKBOX";
10407
+ defaultValue: boolean;
10551
10408
  parent?: {
10552
10409
  $$field: string;
10553
10410
  $$subfield?: string[] | undefined;
@@ -10601,7 +10458,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10601
10458
  $$subfield?: string[] | undefined;
10602
10459
  }[] | undefined;
10603
10460
  analytics?: boolean | undefined;
10604
- defaultValue?: string | undefined;
10605
10461
  } | {
10606
10462
  id: string;
10607
10463
  label: {
@@ -10609,7 +10465,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10609
10465
  defaultMessage: string;
10610
10466
  description: string;
10611
10467
  };
10612
- type: "OFFICE";
10468
+ type: "COUNTRY";
10613
10469
  parent?: {
10614
10470
  $$field: string;
10615
10471
  $$subfield?: string[] | undefined;
@@ -10671,30 +10527,11 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10671
10527
  defaultMessage: string;
10672
10528
  description: string;
10673
10529
  };
10674
- type: "DATA";
10530
+ type: "ADMINISTRATIVE_AREA";
10675
10531
  configuration: {
10676
- data: ({
10677
- id: string;
10678
- label: {
10679
- id: string;
10680
- defaultMessage: string;
10681
- description: string;
10682
- };
10683
- value: string | {
10684
- $$field: string;
10685
- $$subfield?: string[] | undefined;
10686
- } | {
10687
- id: string;
10688
- defaultMessage: string;
10689
- description: string;
10690
- };
10691
- } | {
10692
- fieldId: string;
10693
- })[];
10694
- subtitle?: {
10695
- id: string;
10696
- defaultMessage: string;
10697
- description: string;
10532
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
10533
+ partOf?: {
10534
+ $declaration: string;
10698
10535
  } | undefined;
10699
10536
  };
10700
10537
  parent?: {
@@ -10750,6 +10587,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10750
10587
  $$subfield?: string[] | undefined;
10751
10588
  }[] | undefined;
10752
10589
  analytics?: boolean | undefined;
10590
+ defaultValue?: string | undefined;
10753
10591
  } | {
10754
10592
  id: string;
10755
10593
  label: {
@@ -10757,15 +10595,9 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10757
10595
  defaultMessage: string;
10758
10596
  description: string;
10759
10597
  };
10760
- type: "BUTTON";
10598
+ type: "LOCATION";
10761
10599
  configuration: {
10762
- text: {
10763
- id: string;
10764
- defaultMessage: string;
10765
- description: string;
10766
- };
10767
- icon?: string | undefined;
10768
- loading?: boolean | undefined;
10600
+ searchableResource: ("locations" | "facilities" | "offices")[];
10769
10601
  };
10770
10602
  parent?: {
10771
10603
  $$field: string;
@@ -10820,7 +10652,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10820
10652
  $$subfield?: string[] | undefined;
10821
10653
  }[] | undefined;
10822
10654
  analytics?: boolean | undefined;
10823
- defaultValue?: number | undefined;
10655
+ defaultValue?: string | undefined;
10824
10656
  } | {
10825
10657
  id: string;
10826
10658
  label: {
@@ -10828,91 +10660,451 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
10828
10660
  defaultMessage: string;
10829
10661
  description: string;
10830
10662
  };
10831
- type: "ALPHA_PRINT_BUTTON";
10832
- configuration: {
10833
- template: string;
10834
- buttonLabel?: {
10835
- id: string;
10836
- defaultMessage: string;
10837
- description: string;
10838
- } | undefined;
10839
- };
10840
- parent?: {
10841
- $$field: string;
10842
- $$subfield?: string[] | undefined;
10843
- } | {
10844
- $$field: string;
10845
- $$subfield?: string[] | undefined;
10846
- }[] | undefined;
10847
- required?: boolean | {
10848
- message: {
10849
- id: string;
10850
- defaultMessage: string;
10851
- description: string;
10852
- };
10853
- } | undefined;
10854
- conditionals?: ({
10855
- type: "SHOW";
10856
- conditional: any;
10857
- } | {
10858
- type: "ENABLE";
10859
- conditional: any;
10860
- } | {
10861
- type: "DISPLAY_ON_REVIEW";
10862
- conditional: any;
10863
- })[] | undefined;
10864
- secured?: boolean | undefined;
10865
- placeholder?: {
10866
- id: string;
10867
- defaultMessage: string;
10868
- description: string;
10869
- } | undefined;
10870
- validation?: {
10871
- validator: any;
10872
- message: {
10663
+ type: "FILE_WITH_OPTIONS";
10664
+ options: {
10665
+ value: string;
10666
+ label: string | {
10873
10667
  id: string;
10874
10668
  defaultMessage: string;
10875
10669
  description: string;
10876
10670
  };
10877
- }[] | undefined;
10878
- helperText?: {
10879
- id: string;
10880
- defaultMessage: string;
10881
- description: string;
10882
- } | undefined;
10883
- hideLabel?: boolean | undefined;
10884
- uncorrectable?: boolean | undefined;
10885
- value?: {
10886
- $$field: string;
10887
- $$subfield?: string[] | undefined;
10888
- } | {
10889
- $$field: string;
10890
- $$subfield?: string[] | undefined;
10891
- }[] | undefined;
10892
- analytics?: boolean | undefined;
10893
- } | {
10894
- id: string;
10895
- label: {
10896
- id: string;
10897
- defaultMessage: string;
10898
- description: string;
10899
- };
10900
- type: "HTTP";
10671
+ }[];
10901
10672
  configuration: {
10902
- trigger: {
10903
- $$field: string;
10904
- $$subfield?: string[] | undefined;
10905
- };
10906
- url: string;
10907
- method: "POST" | "DELETE" | "GET" | "PUT";
10908
- timeout: number;
10909
- headers?: Record<string, string> | undefined;
10910
- body?: Record<string, any> | undefined;
10911
- errorValue?: any;
10912
- params?: Record<string, string | {
10913
- $$field: string;
10914
- $$subfield?: string[] | undefined;
10915
- }> | undefined;
10673
+ maxFileSize: number;
10674
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml" | "application/pdf" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.oasis.opendocument.text")[] | undefined;
10675
+ };
10676
+ parent?: {
10677
+ $$field: string;
10678
+ $$subfield?: string[] | undefined;
10679
+ } | {
10680
+ $$field: string;
10681
+ $$subfield?: string[] | undefined;
10682
+ }[] | undefined;
10683
+ required?: boolean | {
10684
+ message: {
10685
+ id: string;
10686
+ defaultMessage: string;
10687
+ description: string;
10688
+ };
10689
+ } | undefined;
10690
+ conditionals?: ({
10691
+ type: "SHOW";
10692
+ conditional: any;
10693
+ } | {
10694
+ type: "ENABLE";
10695
+ conditional: any;
10696
+ } | {
10697
+ type: "DISPLAY_ON_REVIEW";
10698
+ conditional: any;
10699
+ })[] | undefined;
10700
+ secured?: boolean | undefined;
10701
+ placeholder?: {
10702
+ id: string;
10703
+ defaultMessage: string;
10704
+ description: string;
10705
+ } | undefined;
10706
+ validation?: {
10707
+ validator: any;
10708
+ message: {
10709
+ id: string;
10710
+ defaultMessage: string;
10711
+ description: string;
10712
+ };
10713
+ }[] | undefined;
10714
+ helperText?: {
10715
+ id: string;
10716
+ defaultMessage: string;
10717
+ description: string;
10718
+ } | undefined;
10719
+ hideLabel?: boolean | undefined;
10720
+ uncorrectable?: boolean | undefined;
10721
+ value?: {
10722
+ $$field: string;
10723
+ $$subfield?: string[] | undefined;
10724
+ } | {
10725
+ $$field: string;
10726
+ $$subfield?: string[] | undefined;
10727
+ }[] | undefined;
10728
+ analytics?: boolean | undefined;
10729
+ defaultValue?: {
10730
+ path: string;
10731
+ originalFilename: string;
10732
+ type: string;
10733
+ option: string;
10734
+ }[] | undefined;
10735
+ } | {
10736
+ id: string;
10737
+ label: {
10738
+ id: string;
10739
+ defaultMessage: string;
10740
+ description: string;
10741
+ };
10742
+ type: "FACILITY";
10743
+ parent?: {
10744
+ $$field: string;
10745
+ $$subfield?: string[] | undefined;
10746
+ } | {
10747
+ $$field: string;
10748
+ $$subfield?: string[] | undefined;
10749
+ }[] | undefined;
10750
+ required?: boolean | {
10751
+ message: {
10752
+ id: string;
10753
+ defaultMessage: string;
10754
+ description: string;
10755
+ };
10756
+ } | undefined;
10757
+ conditionals?: ({
10758
+ type: "SHOW";
10759
+ conditional: any;
10760
+ } | {
10761
+ type: "ENABLE";
10762
+ conditional: any;
10763
+ } | {
10764
+ type: "DISPLAY_ON_REVIEW";
10765
+ conditional: any;
10766
+ })[] | undefined;
10767
+ secured?: boolean | undefined;
10768
+ placeholder?: {
10769
+ id: string;
10770
+ defaultMessage: string;
10771
+ description: string;
10772
+ } | undefined;
10773
+ validation?: {
10774
+ validator: any;
10775
+ message: {
10776
+ id: string;
10777
+ defaultMessage: string;
10778
+ description: string;
10779
+ };
10780
+ }[] | undefined;
10781
+ helperText?: {
10782
+ id: string;
10783
+ defaultMessage: string;
10784
+ description: string;
10785
+ } | undefined;
10786
+ hideLabel?: boolean | undefined;
10787
+ uncorrectable?: boolean | undefined;
10788
+ value?: {
10789
+ $$field: string;
10790
+ $$subfield?: string[] | undefined;
10791
+ } | {
10792
+ $$field: string;
10793
+ $$subfield?: string[] | undefined;
10794
+ }[] | undefined;
10795
+ analytics?: boolean | undefined;
10796
+ defaultValue?: string | undefined;
10797
+ } | {
10798
+ id: string;
10799
+ label: {
10800
+ id: string;
10801
+ defaultMessage: string;
10802
+ description: string;
10803
+ };
10804
+ type: "OFFICE";
10805
+ parent?: {
10806
+ $$field: string;
10807
+ $$subfield?: string[] | undefined;
10808
+ } | {
10809
+ $$field: string;
10810
+ $$subfield?: string[] | undefined;
10811
+ }[] | undefined;
10812
+ required?: boolean | {
10813
+ message: {
10814
+ id: string;
10815
+ defaultMessage: string;
10816
+ description: string;
10817
+ };
10818
+ } | undefined;
10819
+ conditionals?: ({
10820
+ type: "SHOW";
10821
+ conditional: any;
10822
+ } | {
10823
+ type: "ENABLE";
10824
+ conditional: any;
10825
+ } | {
10826
+ type: "DISPLAY_ON_REVIEW";
10827
+ conditional: any;
10828
+ })[] | undefined;
10829
+ secured?: boolean | undefined;
10830
+ placeholder?: {
10831
+ id: string;
10832
+ defaultMessage: string;
10833
+ description: string;
10834
+ } | undefined;
10835
+ validation?: {
10836
+ validator: any;
10837
+ message: {
10838
+ id: string;
10839
+ defaultMessage: string;
10840
+ description: string;
10841
+ };
10842
+ }[] | undefined;
10843
+ helperText?: {
10844
+ id: string;
10845
+ defaultMessage: string;
10846
+ description: string;
10847
+ } | undefined;
10848
+ hideLabel?: boolean | undefined;
10849
+ uncorrectable?: boolean | undefined;
10850
+ value?: {
10851
+ $$field: string;
10852
+ $$subfield?: string[] | undefined;
10853
+ } | {
10854
+ $$field: string;
10855
+ $$subfield?: string[] | undefined;
10856
+ }[] | undefined;
10857
+ analytics?: boolean | undefined;
10858
+ defaultValue?: string | undefined;
10859
+ } | {
10860
+ id: string;
10861
+ label: {
10862
+ id: string;
10863
+ defaultMessage: string;
10864
+ description: string;
10865
+ };
10866
+ type: "DATA";
10867
+ configuration: {
10868
+ data: ({
10869
+ id: string;
10870
+ label: {
10871
+ id: string;
10872
+ defaultMessage: string;
10873
+ description: string;
10874
+ };
10875
+ value: string | {
10876
+ $$field: string;
10877
+ $$subfield?: string[] | undefined;
10878
+ } | {
10879
+ id: string;
10880
+ defaultMessage: string;
10881
+ description: string;
10882
+ };
10883
+ } | {
10884
+ fieldId: string;
10885
+ })[];
10886
+ subtitle?: {
10887
+ id: string;
10888
+ defaultMessage: string;
10889
+ description: string;
10890
+ } | undefined;
10891
+ };
10892
+ parent?: {
10893
+ $$field: string;
10894
+ $$subfield?: string[] | undefined;
10895
+ } | {
10896
+ $$field: string;
10897
+ $$subfield?: string[] | undefined;
10898
+ }[] | undefined;
10899
+ required?: boolean | {
10900
+ message: {
10901
+ id: string;
10902
+ defaultMessage: string;
10903
+ description: string;
10904
+ };
10905
+ } | undefined;
10906
+ conditionals?: ({
10907
+ type: "SHOW";
10908
+ conditional: any;
10909
+ } | {
10910
+ type: "ENABLE";
10911
+ conditional: any;
10912
+ } | {
10913
+ type: "DISPLAY_ON_REVIEW";
10914
+ conditional: any;
10915
+ })[] | undefined;
10916
+ secured?: boolean | undefined;
10917
+ placeholder?: {
10918
+ id: string;
10919
+ defaultMessage: string;
10920
+ description: string;
10921
+ } | undefined;
10922
+ validation?: {
10923
+ validator: any;
10924
+ message: {
10925
+ id: string;
10926
+ defaultMessage: string;
10927
+ description: string;
10928
+ };
10929
+ }[] | undefined;
10930
+ helperText?: {
10931
+ id: string;
10932
+ defaultMessage: string;
10933
+ description: string;
10934
+ } | undefined;
10935
+ hideLabel?: boolean | undefined;
10936
+ uncorrectable?: boolean | undefined;
10937
+ value?: {
10938
+ $$field: string;
10939
+ $$subfield?: string[] | undefined;
10940
+ } | {
10941
+ $$field: string;
10942
+ $$subfield?: string[] | undefined;
10943
+ }[] | undefined;
10944
+ analytics?: boolean | undefined;
10945
+ } | {
10946
+ id: string;
10947
+ label: {
10948
+ id: string;
10949
+ defaultMessage: string;
10950
+ description: string;
10951
+ };
10952
+ type: "BUTTON";
10953
+ configuration: {
10954
+ text: {
10955
+ id: string;
10956
+ defaultMessage: string;
10957
+ description: string;
10958
+ };
10959
+ icon?: string | undefined;
10960
+ loading?: boolean | undefined;
10961
+ };
10962
+ parent?: {
10963
+ $$field: string;
10964
+ $$subfield?: string[] | undefined;
10965
+ } | {
10966
+ $$field: string;
10967
+ $$subfield?: string[] | undefined;
10968
+ }[] | undefined;
10969
+ required?: boolean | {
10970
+ message: {
10971
+ id: string;
10972
+ defaultMessage: string;
10973
+ description: string;
10974
+ };
10975
+ } | undefined;
10976
+ conditionals?: ({
10977
+ type: "SHOW";
10978
+ conditional: any;
10979
+ } | {
10980
+ type: "ENABLE";
10981
+ conditional: any;
10982
+ } | {
10983
+ type: "DISPLAY_ON_REVIEW";
10984
+ conditional: any;
10985
+ })[] | undefined;
10986
+ secured?: boolean | undefined;
10987
+ placeholder?: {
10988
+ id: string;
10989
+ defaultMessage: string;
10990
+ description: string;
10991
+ } | undefined;
10992
+ validation?: {
10993
+ validator: any;
10994
+ message: {
10995
+ id: string;
10996
+ defaultMessage: string;
10997
+ description: string;
10998
+ };
10999
+ }[] | undefined;
11000
+ helperText?: {
11001
+ id: string;
11002
+ defaultMessage: string;
11003
+ description: string;
11004
+ } | undefined;
11005
+ hideLabel?: boolean | undefined;
11006
+ uncorrectable?: boolean | undefined;
11007
+ value?: {
11008
+ $$field: string;
11009
+ $$subfield?: string[] | undefined;
11010
+ } | {
11011
+ $$field: string;
11012
+ $$subfield?: string[] | undefined;
11013
+ }[] | undefined;
11014
+ analytics?: boolean | undefined;
11015
+ defaultValue?: number | undefined;
11016
+ } | {
11017
+ id: string;
11018
+ label: {
11019
+ id: string;
11020
+ defaultMessage: string;
11021
+ description: string;
11022
+ };
11023
+ type: "ALPHA_PRINT_BUTTON";
11024
+ configuration: {
11025
+ template: string;
11026
+ buttonLabel?: {
11027
+ id: string;
11028
+ defaultMessage: string;
11029
+ description: string;
11030
+ } | undefined;
11031
+ };
11032
+ parent?: {
11033
+ $$field: string;
11034
+ $$subfield?: string[] | undefined;
11035
+ } | {
11036
+ $$field: string;
11037
+ $$subfield?: string[] | undefined;
11038
+ }[] | undefined;
11039
+ required?: boolean | {
11040
+ message: {
11041
+ id: string;
11042
+ defaultMessage: string;
11043
+ description: string;
11044
+ };
11045
+ } | undefined;
11046
+ conditionals?: ({
11047
+ type: "SHOW";
11048
+ conditional: any;
11049
+ } | {
11050
+ type: "ENABLE";
11051
+ conditional: any;
11052
+ } | {
11053
+ type: "DISPLAY_ON_REVIEW";
11054
+ conditional: any;
11055
+ })[] | undefined;
11056
+ secured?: boolean | undefined;
11057
+ placeholder?: {
11058
+ id: string;
11059
+ defaultMessage: string;
11060
+ description: string;
11061
+ } | undefined;
11062
+ validation?: {
11063
+ validator: any;
11064
+ message: {
11065
+ id: string;
11066
+ defaultMessage: string;
11067
+ description: string;
11068
+ };
11069
+ }[] | undefined;
11070
+ helperText?: {
11071
+ id: string;
11072
+ defaultMessage: string;
11073
+ description: string;
11074
+ } | undefined;
11075
+ hideLabel?: boolean | undefined;
11076
+ uncorrectable?: boolean | undefined;
11077
+ value?: {
11078
+ $$field: string;
11079
+ $$subfield?: string[] | undefined;
11080
+ } | {
11081
+ $$field: string;
11082
+ $$subfield?: string[] | undefined;
11083
+ }[] | undefined;
11084
+ analytics?: boolean | undefined;
11085
+ } | {
11086
+ id: string;
11087
+ label: {
11088
+ id: string;
11089
+ defaultMessage: string;
11090
+ description: string;
11091
+ };
11092
+ type: "HTTP";
11093
+ configuration: {
11094
+ trigger: {
11095
+ $$field: string;
11096
+ $$subfield?: string[] | undefined;
11097
+ };
11098
+ url: string;
11099
+ method: "POST" | "DELETE" | "GET" | "PUT";
11100
+ timeout: number;
11101
+ headers?: Record<string, string> | undefined;
11102
+ body?: Record<string, any> | undefined;
11103
+ errorValue?: any;
11104
+ params?: Record<string, string | {
11105
+ $$field: string;
11106
+ $$subfield?: string[] | undefined;
11107
+ }> | undefined;
10916
11108
  };
10917
11109
  parent?: {
10918
11110
  $$field: string;
@@ -11593,6 +11785,70 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
11593
11785
  defaultValue?: {
11594
11786
  data: any;
11595
11787
  } | undefined;
11788
+ } | {
11789
+ id: string;
11790
+ label: {
11791
+ id: string;
11792
+ defaultMessage: string;
11793
+ description: string;
11794
+ };
11795
+ type: "CUSTOM";
11796
+ src: string;
11797
+ parent?: {
11798
+ $$field: string;
11799
+ $$subfield?: string[] | undefined;
11800
+ } | {
11801
+ $$field: string;
11802
+ $$subfield?: string[] | undefined;
11803
+ }[] | undefined;
11804
+ required?: boolean | {
11805
+ message: {
11806
+ id: string;
11807
+ defaultMessage: string;
11808
+ description: string;
11809
+ };
11810
+ } | undefined;
11811
+ conditionals?: ({
11812
+ type: "SHOW";
11813
+ conditional: any;
11814
+ } | {
11815
+ type: "ENABLE";
11816
+ conditional: any;
11817
+ } | {
11818
+ type: "DISPLAY_ON_REVIEW";
11819
+ conditional: any;
11820
+ })[] | undefined;
11821
+ secured?: boolean | undefined;
11822
+ placeholder?: {
11823
+ id: string;
11824
+ defaultMessage: string;
11825
+ description: string;
11826
+ } | undefined;
11827
+ validation?: {
11828
+ validator: any;
11829
+ message: {
11830
+ id: string;
11831
+ defaultMessage: string;
11832
+ description: string;
11833
+ };
11834
+ }[] | undefined;
11835
+ helperText?: {
11836
+ id: string;
11837
+ defaultMessage: string;
11838
+ description: string;
11839
+ } | undefined;
11840
+ hideLabel?: boolean | undefined;
11841
+ uncorrectable?: boolean | undefined;
11842
+ value?: {
11843
+ $$field: string;
11844
+ $$subfield?: string[] | undefined;
11845
+ } | {
11846
+ $$field: string;
11847
+ $$subfield?: string[] | undefined;
11848
+ }[] | undefined;
11849
+ analytics?: boolean | undefined;
11850
+ defaultValue?: unknown;
11851
+ configuration?: unknown;
11596
11852
  } | {
11597
11853
  id: string;
11598
11854
  label: {
@@ -14650,6 +14906,70 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
14650
14906
  defaultValue?: {
14651
14907
  data: any;
14652
14908
  } | undefined;
14909
+ } | {
14910
+ id: string;
14911
+ label: {
14912
+ id: string;
14913
+ defaultMessage: string;
14914
+ description: string;
14915
+ };
14916
+ type: "CUSTOM";
14917
+ src: string;
14918
+ parent?: {
14919
+ $$field: string;
14920
+ $$subfield?: string[] | undefined;
14921
+ } | {
14922
+ $$field: string;
14923
+ $$subfield?: string[] | undefined;
14924
+ }[] | undefined;
14925
+ required?: boolean | {
14926
+ message: {
14927
+ id: string;
14928
+ defaultMessage: string;
14929
+ description: string;
14930
+ };
14931
+ } | undefined;
14932
+ conditionals?: ({
14933
+ type: "SHOW";
14934
+ conditional: any;
14935
+ } | {
14936
+ type: "ENABLE";
14937
+ conditional: any;
14938
+ } | {
14939
+ type: "DISPLAY_ON_REVIEW";
14940
+ conditional: any;
14941
+ })[] | undefined;
14942
+ secured?: boolean | undefined;
14943
+ placeholder?: {
14944
+ id: string;
14945
+ defaultMessage: string;
14946
+ description: string;
14947
+ } | undefined;
14948
+ validation?: {
14949
+ validator: any;
14950
+ message: {
14951
+ id: string;
14952
+ defaultMessage: string;
14953
+ description: string;
14954
+ };
14955
+ }[] | undefined;
14956
+ helperText?: {
14957
+ id: string;
14958
+ defaultMessage: string;
14959
+ description: string;
14960
+ } | undefined;
14961
+ hideLabel?: boolean | undefined;
14962
+ uncorrectable?: boolean | undefined;
14963
+ value?: {
14964
+ $$field: string;
14965
+ $$subfield?: string[] | undefined;
14966
+ } | {
14967
+ $$field: string;
14968
+ $$subfield?: string[] | undefined;
14969
+ }[] | undefined;
14970
+ analytics?: boolean | undefined;
14971
+ defaultValue?: unknown;
14972
+ configuration?: unknown;
14653
14973
  } | {
14654
14974
  id: string;
14655
14975
  label: {
@@ -17676,6 +17996,70 @@ export declare function getAllUniqueFields(eventConfig: EventConfig): ({
17676
17996
  defaultValue?: {
17677
17997
  data: any;
17678
17998
  } | undefined;
17999
+ } | {
18000
+ id: string;
18001
+ label: {
18002
+ id: string;
18003
+ defaultMessage: string;
18004
+ description: string;
18005
+ };
18006
+ type: "CUSTOM";
18007
+ src: string;
18008
+ parent?: {
18009
+ $$field: string;
18010
+ $$subfield?: string[] | undefined;
18011
+ } | {
18012
+ $$field: string;
18013
+ $$subfield?: string[] | undefined;
18014
+ }[] | undefined;
18015
+ required?: boolean | {
18016
+ message: {
18017
+ id: string;
18018
+ defaultMessage: string;
18019
+ description: string;
18020
+ };
18021
+ } | undefined;
18022
+ conditionals?: ({
18023
+ type: "SHOW";
18024
+ conditional: any;
18025
+ } | {
18026
+ type: "ENABLE";
18027
+ conditional: any;
18028
+ } | {
18029
+ type: "DISPLAY_ON_REVIEW";
18030
+ conditional: any;
18031
+ })[] | undefined;
18032
+ secured?: boolean | undefined;
18033
+ placeholder?: {
18034
+ id: string;
18035
+ defaultMessage: string;
18036
+ description: string;
18037
+ } | undefined;
18038
+ validation?: {
18039
+ validator: any;
18040
+ message: {
18041
+ id: string;
18042
+ defaultMessage: string;
18043
+ description: string;
18044
+ };
18045
+ }[] | undefined;
18046
+ helperText?: {
18047
+ id: string;
18048
+ defaultMessage: string;
18049
+ description: string;
18050
+ } | undefined;
18051
+ hideLabel?: boolean | undefined;
18052
+ uncorrectable?: boolean | undefined;
18053
+ value?: {
18054
+ $$field: string;
18055
+ $$subfield?: string[] | undefined;
18056
+ } | {
18057
+ $$field: string;
18058
+ $$subfield?: string[] | undefined;
18059
+ }[] | undefined;
18060
+ analytics?: boolean | undefined;
18061
+ defaultValue?: unknown;
18062
+ configuration?: unknown;
17679
18063
  } | {
17680
18064
  id: string;
17681
18065
  label: {
@@ -20713,6 +21097,70 @@ export declare function getActionReview(configuration: EventConfig, actionType:
20713
21097
  defaultValue?: {
20714
21098
  data: any;
20715
21099
  } | undefined;
21100
+ } | {
21101
+ id: string;
21102
+ label: {
21103
+ id: string;
21104
+ defaultMessage: string;
21105
+ description: string;
21106
+ };
21107
+ type: "CUSTOM";
21108
+ src: string;
21109
+ parent?: {
21110
+ $$field: string;
21111
+ $$subfield?: string[] | undefined;
21112
+ } | {
21113
+ $$field: string;
21114
+ $$subfield?: string[] | undefined;
21115
+ }[] | undefined;
21116
+ required?: boolean | {
21117
+ message: {
21118
+ id: string;
21119
+ defaultMessage: string;
21120
+ description: string;
21121
+ };
21122
+ } | undefined;
21123
+ conditionals?: ({
21124
+ type: "SHOW";
21125
+ conditional: any;
21126
+ } | {
21127
+ type: "ENABLE";
21128
+ conditional: any;
21129
+ } | {
21130
+ type: "DISPLAY_ON_REVIEW";
21131
+ conditional: any;
21132
+ })[] | undefined;
21133
+ secured?: boolean | undefined;
21134
+ placeholder?: {
21135
+ id: string;
21136
+ defaultMessage: string;
21137
+ description: string;
21138
+ } | undefined;
21139
+ validation?: {
21140
+ validator: any;
21141
+ message: {
21142
+ id: string;
21143
+ defaultMessage: string;
21144
+ description: string;
21145
+ };
21146
+ }[] | undefined;
21147
+ helperText?: {
21148
+ id: string;
21149
+ defaultMessage: string;
21150
+ description: string;
21151
+ } | undefined;
21152
+ hideLabel?: boolean | undefined;
21153
+ uncorrectable?: boolean | undefined;
21154
+ value?: {
21155
+ $$field: string;
21156
+ $$subfield?: string[] | undefined;
21157
+ } | {
21158
+ $$field: string;
21159
+ $$subfield?: string[] | undefined;
21160
+ }[] | undefined;
21161
+ analytics?: boolean | undefined;
21162
+ defaultValue?: unknown;
21163
+ configuration?: unknown;
20716
21164
  } | {
20717
21165
  id: string;
20718
21166
  label: {
@@ -23740,6 +24188,70 @@ export declare function getActionReviewFields(configuration: EventConfig, action
23740
24188
  defaultValue?: {
23741
24189
  data: any;
23742
24190
  } | undefined;
24191
+ } | {
24192
+ id: string;
24193
+ label: {
24194
+ id: string;
24195
+ defaultMessage: string;
24196
+ description: string;
24197
+ };
24198
+ type: "CUSTOM";
24199
+ src: string;
24200
+ parent?: {
24201
+ $$field: string;
24202
+ $$subfield?: string[] | undefined;
24203
+ } | {
24204
+ $$field: string;
24205
+ $$subfield?: string[] | undefined;
24206
+ }[] | undefined;
24207
+ required?: boolean | {
24208
+ message: {
24209
+ id: string;
24210
+ defaultMessage: string;
24211
+ description: string;
24212
+ };
24213
+ } | undefined;
24214
+ conditionals?: ({
24215
+ type: "SHOW";
24216
+ conditional: any;
24217
+ } | {
24218
+ type: "ENABLE";
24219
+ conditional: any;
24220
+ } | {
24221
+ type: "DISPLAY_ON_REVIEW";
24222
+ conditional: any;
24223
+ })[] | undefined;
24224
+ secured?: boolean | undefined;
24225
+ placeholder?: {
24226
+ id: string;
24227
+ defaultMessage: string;
24228
+ description: string;
24229
+ } | undefined;
24230
+ validation?: {
24231
+ validator: any;
24232
+ message: {
24233
+ id: string;
24234
+ defaultMessage: string;
24235
+ description: string;
24236
+ };
24237
+ }[] | undefined;
24238
+ helperText?: {
24239
+ id: string;
24240
+ defaultMessage: string;
24241
+ description: string;
24242
+ } | undefined;
24243
+ hideLabel?: boolean | undefined;
24244
+ uncorrectable?: boolean | undefined;
24245
+ value?: {
24246
+ $$field: string;
24247
+ $$subfield?: string[] | undefined;
24248
+ } | {
24249
+ $$field: string;
24250
+ $$subfield?: string[] | undefined;
24251
+ }[] | undefined;
24252
+ analytics?: boolean | undefined;
24253
+ defaultValue?: unknown;
24254
+ configuration?: unknown;
23743
24255
  } | {
23744
24256
  id: string;
23745
24257
  label: {
@@ -24328,7 +24840,7 @@ export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate
24328
24840
  * @returns {Partial<T>} A new object containing only the values for visible fields
24329
24841
  */
24330
24842
  export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], formValues: T, validatorContext: ValidatorContext): Partial<T>;
24331
- export declare function omitHiddenPaginatedFields<T extends EventState | ActionUpdate>(formConfig: FormConfig, values: T, validatorContext: ValidatorContext): Partial<Partial<T>>;
24843
+ export declare function omitHiddenPaginatedFields<T extends EventState | ActionUpdate>(formConfig: FormConfig, values: T, validatorContext: ValidatorContext): Partial<import("lodash").Dictionary<unknown>>;
24332
24844
  /**
24333
24845
  *
24334
24846
  * @returns a draft for the event that has been created since the last non-read action.
@@ -24338,113 +24850,7 @@ export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionTyp
24338
24850
  export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
24339
24851
  export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate, context: ValidatorContext): string[];
24340
24852
  export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, declaration: EventState, annotation: ActionUpdate, context: ValidatorContext): Partial<{
24341
- [x: string]: string | number | boolean | {
24342
- path: string;
24343
- originalFilename: string;
24344
- type: string;
24345
- } | {
24346
- firstname: string;
24347
- surname: string;
24348
- middlename?: string | undefined;
24349
- } | {
24350
- firstname?: string | null | undefined;
24351
- surname?: string | null | undefined;
24352
- middlename?: string | null | undefined;
24353
- } | {
24354
- country: string;
24355
- addressType: "DOMESTIC";
24356
- administrativeArea: string;
24357
- streetLevelDetails?: Record<string, string> | undefined;
24358
- } | {
24359
- country: string;
24360
- addressType: "INTERNATIONAL";
24361
- streetLevelDetails?: Record<string, string> | undefined;
24362
- } | {
24363
- addressType: "DOMESTIC";
24364
- country?: string | null | undefined;
24365
- streetLevelDetails?: Record<string, string | null> | null | undefined;
24366
- administrativeArea?: string | null | undefined;
24367
- } | {
24368
- addressType: "INTERNATIONAL";
24369
- country?: string | null | undefined;
24370
- streetLevelDetails?: Record<string, string | null> | null | undefined;
24371
- } | {
24372
- path: string;
24373
- originalFilename: string;
24374
- type: string;
24375
- option: string;
24376
- }[] | {
24377
- loading: boolean;
24378
- data: any;
24379
- error?: {
24380
- statusCode: number;
24381
- message: string;
24382
- } | null | undefined;
24383
- } | {
24384
- data: Record<string, string>;
24385
- } | {
24386
- data: any;
24387
- } | {
24388
- age: number;
24389
- asOfDateRef: string;
24390
- } | {
24391
- start: string;
24392
- end: string;
24393
- } | {
24394
- data: Record<string, string | number | boolean | {
24395
- path: string;
24396
- originalFilename: string;
24397
- type: string;
24398
- } | {
24399
- firstname: string;
24400
- surname: string;
24401
- middlename?: string | undefined;
24402
- } | {
24403
- firstname?: string | null | undefined;
24404
- surname?: string | null | undefined;
24405
- middlename?: string | null | undefined;
24406
- } | {
24407
- country: string;
24408
- addressType: "DOMESTIC";
24409
- administrativeArea: string;
24410
- streetLevelDetails?: Record<string, string> | undefined;
24411
- } | {
24412
- country: string;
24413
- addressType: "INTERNATIONAL";
24414
- streetLevelDetails?: Record<string, string> | undefined;
24415
- } | {
24416
- path: string;
24417
- originalFilename: string;
24418
- type: string;
24419
- option: string;
24420
- }[] | {
24421
- loading: boolean;
24422
- data: any;
24423
- error?: {
24424
- statusCode: number;
24425
- message: string;
24426
- } | null | undefined;
24427
- } | {
24428
- data: Record<string, string>;
24429
- } | {
24430
- data: any;
24431
- } | {
24432
- age: number;
24433
- asOfDateRef: string;
24434
- } | {
24435
- start: string;
24436
- end: string;
24437
- } | null | undefined>;
24438
- } | {
24439
- loading?: boolean | null | undefined;
24440
- error?: {
24441
- statusCode: number;
24442
- message: string;
24443
- } | null | undefined;
24444
- data?: any;
24445
- } | {
24446
- data: Record<string, string>;
24447
- } | null | undefined;
24853
+ [x: string]: unknown;
24448
24854
  }>;
24449
24855
  /**
24450
24856
  * Merges two documents together.
@@ -24462,12 +24868,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24462
24868
  createdAt: string;
24463
24869
  createdBy: string;
24464
24870
  createdByRole: string;
24465
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24871
+ declaration: Record<string, unknown>;
24466
24872
  status: "Rejected" | "Requested" | "Accepted";
24467
24873
  type: "REGISTER";
24468
24874
  createdBySignature?: string | null | undefined;
24469
24875
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24470
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24876
+ annotation?: Record<string, unknown> | null | undefined;
24471
24877
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24472
24878
  registrationNumber?: string | undefined;
24473
24879
  } | {
@@ -24477,7 +24883,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24477
24883
  createdAt: string;
24478
24884
  createdBy: string;
24479
24885
  createdByRole: string;
24480
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24886
+ declaration: Record<string, unknown>;
24481
24887
  status: "Rejected" | "Requested" | "Accepted";
24482
24888
  type: "DUPLICATE_DETECTED";
24483
24889
  content: {
@@ -24488,24 +24894,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24488
24894
  };
24489
24895
  createdBySignature?: string | null | undefined;
24490
24896
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24491
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24492
- originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24493
- } | {
24494
- id: string & import("zod/v4").$brand<"UUID">;
24495
- transactionId: string;
24496
- createdByUserType: "system" | "user";
24497
- createdAt: string;
24498
- createdBy: string;
24499
- createdByRole: string;
24500
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24501
- status: "Rejected" | "Requested" | "Accepted";
24502
- type: "EDIT";
24503
- content: {
24504
- comment?: string | undefined;
24505
- };
24506
- createdBySignature?: string | null | undefined;
24507
- createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24508
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24897
+ annotation?: Record<string, unknown> | null | undefined;
24509
24898
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24510
24899
  } | {
24511
24900
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24514,12 +24903,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24514
24903
  createdAt: string;
24515
24904
  createdBy: string;
24516
24905
  createdByRole: string;
24517
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24906
+ declaration: Record<string, unknown>;
24518
24907
  status: "Rejected" | "Requested" | "Accepted";
24519
24908
  type: "PRINT_CERTIFICATE";
24520
24909
  createdBySignature?: string | null | undefined;
24521
24910
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24522
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24911
+ annotation?: Record<string, unknown> | null | undefined;
24523
24912
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24524
24913
  content?: {
24525
24914
  templateId?: string | undefined;
@@ -24531,12 +24920,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24531
24920
  createdAt: string;
24532
24921
  createdBy: string;
24533
24922
  createdByRole: string;
24534
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24923
+ declaration: Record<string, unknown>;
24535
24924
  status: "Rejected" | "Requested" | "Accepted";
24536
24925
  type: "REQUEST_CORRECTION";
24537
24926
  createdBySignature?: string | null | undefined;
24538
24927
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24539
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24928
+ annotation?: Record<string, unknown> | null | undefined;
24540
24929
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24541
24930
  } | {
24542
24931
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24545,13 +24934,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24545
24934
  createdAt: string;
24546
24935
  createdBy: string;
24547
24936
  createdByRole: string;
24548
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24937
+ declaration: Record<string, unknown>;
24549
24938
  status: "Rejected" | "Requested" | "Accepted";
24550
24939
  type: "CUSTOM";
24551
24940
  customActionType: string;
24552
24941
  createdBySignature?: string | null | undefined;
24553
24942
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24554
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24943
+ annotation?: Record<string, unknown> | null | undefined;
24555
24944
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24556
24945
  } | {
24557
24946
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24560,12 +24949,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24560
24949
  createdAt: string;
24561
24950
  createdBy: string;
24562
24951
  createdByRole: string;
24563
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24952
+ declaration: Record<string, unknown>;
24564
24953
  status: "Rejected" | "Requested" | "Accepted";
24565
24954
  type: "CREATE";
24566
24955
  createdBySignature?: string | null | undefined;
24567
24956
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24568
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24957
+ annotation?: Record<string, unknown> | null | undefined;
24569
24958
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24570
24959
  } | {
24571
24960
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24574,12 +24963,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24574
24963
  createdAt: string;
24575
24964
  createdBy: string;
24576
24965
  createdByRole: string;
24577
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24966
+ declaration: Record<string, unknown>;
24578
24967
  status: "Rejected" | "Requested" | "Accepted";
24579
24968
  type: "VALIDATE";
24580
24969
  createdBySignature?: string | null | undefined;
24581
24970
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24582
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24971
+ annotation?: Record<string, unknown> | null | undefined;
24583
24972
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24584
24973
  } | {
24585
24974
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24588,7 +24977,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24588
24977
  createdAt: string;
24589
24978
  createdBy: string;
24590
24979
  createdByRole: string;
24591
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24980
+ declaration: Record<string, unknown>;
24592
24981
  status: "Rejected" | "Requested" | "Accepted";
24593
24982
  type: "REJECT";
24594
24983
  content: {
@@ -24596,7 +24985,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24596
24985
  };
24597
24986
  createdBySignature?: string | null | undefined;
24598
24987
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24599
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
24988
+ annotation?: Record<string, unknown> | null | undefined;
24600
24989
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24601
24990
  } | {
24602
24991
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24605,12 +24994,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24605
24994
  createdAt: string;
24606
24995
  createdBy: string;
24607
24996
  createdByRole: string;
24608
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
24997
+ declaration: Record<string, unknown>;
24609
24998
  status: "Rejected" | "Requested" | "Accepted";
24610
24999
  type: "MARK_AS_NOT_DUPLICATE";
24611
25000
  createdBySignature?: string | null | undefined;
24612
25001
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24613
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25002
+ annotation?: Record<string, unknown> | null | undefined;
24614
25003
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24615
25004
  } | {
24616
25005
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24619,12 +25008,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24619
25008
  createdAt: string;
24620
25009
  createdBy: string;
24621
25010
  createdByRole: string;
24622
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25011
+ declaration: Record<string, unknown>;
24623
25012
  status: "Rejected" | "Requested" | "Accepted";
24624
25013
  type: "MARK_AS_DUPLICATE";
24625
25014
  createdBySignature?: string | null | undefined;
24626
25015
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24627
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25016
+ annotation?: Record<string, unknown> | null | undefined;
24628
25017
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24629
25018
  content?: {
24630
25019
  duplicateOf: string & import("zod/v4").$brand<"UUID">;
@@ -24636,7 +25025,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24636
25025
  createdAt: string;
24637
25026
  createdBy: string;
24638
25027
  createdByRole: string;
24639
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25028
+ declaration: Record<string, unknown>;
24640
25029
  status: "Rejected" | "Requested" | "Accepted";
24641
25030
  type: "ARCHIVE";
24642
25031
  content: {
@@ -24644,7 +25033,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24644
25033
  };
24645
25034
  createdBySignature?: string | null | undefined;
24646
25035
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24647
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25036
+ annotation?: Record<string, unknown> | null | undefined;
24648
25037
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24649
25038
  } | {
24650
25039
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24653,12 +25042,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24653
25042
  createdAt: string;
24654
25043
  createdBy: string;
24655
25044
  createdByRole: string;
24656
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25045
+ declaration: Record<string, unknown>;
24657
25046
  status: "Rejected" | "Requested" | "Accepted";
24658
25047
  type: "NOTIFY";
24659
25048
  createdBySignature?: string | null | undefined;
24660
25049
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24661
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25050
+ annotation?: Record<string, unknown> | null | undefined;
24662
25051
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24663
25052
  } | {
24664
25053
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24667,12 +25056,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24667
25056
  createdAt: string;
24668
25057
  createdBy: string;
24669
25058
  createdByRole: string;
24670
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25059
+ declaration: Record<string, unknown>;
24671
25060
  status: "Rejected" | "Requested" | "Accepted";
24672
25061
  type: "DECLARE";
24673
25062
  createdBySignature?: string | null | undefined;
24674
25063
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24675
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25064
+ annotation?: Record<string, unknown> | null | undefined;
24676
25065
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24677
25066
  } | {
24678
25067
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24681,13 +25070,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24681
25070
  createdAt: string;
24682
25071
  createdBy: string;
24683
25072
  createdByRole: string;
24684
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25073
+ declaration: Record<string, unknown>;
24685
25074
  status: "Rejected" | "Requested" | "Accepted";
24686
25075
  type: "ASSIGN";
24687
25076
  assignedTo: string;
24688
25077
  createdBySignature?: string | null | undefined;
24689
25078
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24690
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25079
+ annotation?: Record<string, unknown> | null | undefined;
24691
25080
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24692
25081
  } | {
24693
25082
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24696,13 +25085,13 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24696
25085
  createdAt: string;
24697
25086
  createdBy: string;
24698
25087
  createdByRole: string;
24699
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25088
+ declaration: Record<string, unknown>;
24700
25089
  status: "Rejected" | "Requested" | "Accepted";
24701
25090
  type: "APPROVE_CORRECTION";
24702
25091
  requestId: string;
24703
25092
  createdBySignature?: string | null | undefined;
24704
25093
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24705
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25094
+ annotation?: Record<string, unknown> | null | undefined;
24706
25095
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24707
25096
  } | {
24708
25097
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24711,7 +25100,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24711
25100
  createdAt: string;
24712
25101
  createdBy: string;
24713
25102
  createdByRole: string;
24714
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25103
+ declaration: Record<string, unknown>;
24715
25104
  status: "Rejected" | "Requested" | "Accepted";
24716
25105
  type: "REJECT_CORRECTION";
24717
25106
  requestId: string;
@@ -24720,7 +25109,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24720
25109
  };
24721
25110
  createdBySignature?: string | null | undefined;
24722
25111
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24723
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25112
+ annotation?: Record<string, unknown> | null | undefined;
24724
25113
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24725
25114
  } | {
24726
25115
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24729,12 +25118,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24729
25118
  createdAt: string;
24730
25119
  createdBy: string;
24731
25120
  createdByRole: string;
24732
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25121
+ declaration: Record<string, unknown>;
24733
25122
  status: "Rejected" | "Requested" | "Accepted";
24734
25123
  type: "UNASSIGN";
24735
25124
  createdBySignature?: string | null | undefined;
24736
25125
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24737
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25126
+ annotation?: Record<string, unknown> | null | undefined;
24738
25127
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24739
25128
  } | {
24740
25129
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24743,12 +25132,12 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24743
25132
  createdAt: string;
24744
25133
  createdBy: string;
24745
25134
  createdByRole: string;
24746
- declaration: Record<string, import("./FieldValue").FieldUpdateValue>;
25135
+ declaration: Record<string, unknown>;
24747
25136
  status: "Rejected" | "Requested" | "Accepted";
24748
25137
  type: "READ";
24749
25138
  createdBySignature?: string | null | undefined;
24750
25139
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24751
- annotation?: Record<string, import("./FieldValue").FieldUpdateValue> | null | undefined;
25140
+ annotation?: Record<string, unknown> | null | undefined;
24752
25141
  originalActionId?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
24753
25142
  } | {
24754
25143
  id: string & import("zod/v4").$brand<"UUID">;
@@ -24757,7 +25146,7 @@ export declare function findLastAssignmentAction(actions: Action[]): {
24757
25146
  createdAt: string;
24758
25147
  createdBy: string;
24759
25148
  createdByRole: string;
24760
- type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "EDIT" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
25149
+ type: "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "REJECT" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "CUSTOM";
24761
25150
  status: "Rejected";
24762
25151
  createdBySignature?: string | null | undefined;
24763
25152
  createdAtLocation?: (string & import("zod/v4").$brand<"UUID">) | null | undefined;
@@ -27301,6 +27690,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
27301
27690
  defaultValue?: {
27302
27691
  data: any;
27303
27692
  } | undefined;
27693
+ } | {
27694
+ id: string;
27695
+ label: {
27696
+ id: string;
27697
+ defaultMessage: string;
27698
+ description: string;
27699
+ };
27700
+ type: "CUSTOM";
27701
+ src: string;
27702
+ parent?: {
27703
+ $$field: string;
27704
+ $$subfield?: string[] | undefined;
27705
+ } | {
27706
+ $$field: string;
27707
+ $$subfield?: string[] | undefined;
27708
+ }[] | undefined;
27709
+ required?: boolean | {
27710
+ message: {
27711
+ id: string;
27712
+ defaultMessage: string;
27713
+ description: string;
27714
+ };
27715
+ } | undefined;
27716
+ conditionals?: ({
27717
+ type: "SHOW";
27718
+ conditional: any;
27719
+ } | {
27720
+ type: "ENABLE";
27721
+ conditional: any;
27722
+ } | {
27723
+ type: "DISPLAY_ON_REVIEW";
27724
+ conditional: any;
27725
+ })[] | undefined;
27726
+ secured?: boolean | undefined;
27727
+ placeholder?: {
27728
+ id: string;
27729
+ defaultMessage: string;
27730
+ description: string;
27731
+ } | undefined;
27732
+ validation?: {
27733
+ validator: any;
27734
+ message: {
27735
+ id: string;
27736
+ defaultMessage: string;
27737
+ description: string;
27738
+ };
27739
+ }[] | undefined;
27740
+ helperText?: {
27741
+ id: string;
27742
+ defaultMessage: string;
27743
+ description: string;
27744
+ } | undefined;
27745
+ hideLabel?: boolean | undefined;
27746
+ uncorrectable?: boolean | undefined;
27747
+ value?: {
27748
+ $$field: string;
27749
+ $$subfield?: string[] | undefined;
27750
+ } | {
27751
+ $$field: string;
27752
+ $$subfield?: string[] | undefined;
27753
+ }[] | undefined;
27754
+ analytics?: boolean | undefined;
27755
+ defaultValue?: unknown;
27756
+ configuration?: unknown;
27304
27757
  } | {
27305
27758
  id: string;
27306
27759
  label: {
@@ -30158,9 +30611,211 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
30158
30611
  defaultValue?: {
30159
30612
  data: any;
30160
30613
  } | undefined;
30161
- configuration?: {
30162
- validator: any;
30163
- } | undefined;
30614
+ configuration?: {
30615
+ validator: any;
30616
+ } | undefined;
30617
+ } | {
30618
+ id: string;
30619
+ label: {
30620
+ id: string;
30621
+ defaultMessage: string;
30622
+ description: string;
30623
+ };
30624
+ type: "ID_READER";
30625
+ methods: ({
30626
+ id: string;
30627
+ label: {
30628
+ id: string;
30629
+ defaultMessage: string;
30630
+ description: string;
30631
+ };
30632
+ type: "LINK_BUTTON";
30633
+ configuration: {
30634
+ url: string;
30635
+ text: {
30636
+ id: string;
30637
+ defaultMessage: string;
30638
+ description: string;
30639
+ };
30640
+ icon?: string | undefined;
30641
+ };
30642
+ parent?: {
30643
+ $$field: string;
30644
+ $$subfield?: string[] | undefined;
30645
+ } | {
30646
+ $$field: string;
30647
+ $$subfield?: string[] | undefined;
30648
+ }[] | undefined;
30649
+ required?: boolean | {
30650
+ message: {
30651
+ id: string;
30652
+ defaultMessage: string;
30653
+ description: string;
30654
+ };
30655
+ } | undefined;
30656
+ conditionals?: ({
30657
+ type: "SHOW";
30658
+ conditional: any;
30659
+ } | {
30660
+ type: "ENABLE";
30661
+ conditional: any;
30662
+ } | {
30663
+ type: "DISPLAY_ON_REVIEW";
30664
+ conditional: any;
30665
+ })[] | undefined;
30666
+ secured?: boolean | undefined;
30667
+ placeholder?: {
30668
+ id: string;
30669
+ defaultMessage: string;
30670
+ description: string;
30671
+ } | undefined;
30672
+ validation?: {
30673
+ validator: any;
30674
+ message: {
30675
+ id: string;
30676
+ defaultMessage: string;
30677
+ description: string;
30678
+ };
30679
+ }[] | undefined;
30680
+ helperText?: {
30681
+ id: string;
30682
+ defaultMessage: string;
30683
+ description: string;
30684
+ } | undefined;
30685
+ hideLabel?: boolean | undefined;
30686
+ uncorrectable?: boolean | undefined;
30687
+ value?: {
30688
+ $$field: string;
30689
+ $$subfield?: string[] | undefined;
30690
+ } | {
30691
+ $$field: string;
30692
+ $$subfield?: string[] | undefined;
30693
+ }[] | undefined;
30694
+ analytics?: boolean | undefined;
30695
+ } | {
30696
+ id: string;
30697
+ label: {
30698
+ id: string;
30699
+ defaultMessage: string;
30700
+ description: string;
30701
+ };
30702
+ type: "QR_READER";
30703
+ parent?: {
30704
+ $$field: string;
30705
+ $$subfield?: string[] | undefined;
30706
+ } | {
30707
+ $$field: string;
30708
+ $$subfield?: string[] | undefined;
30709
+ }[] | undefined;
30710
+ required?: boolean | {
30711
+ message: {
30712
+ id: string;
30713
+ defaultMessage: string;
30714
+ description: string;
30715
+ };
30716
+ } | undefined;
30717
+ conditionals?: ({
30718
+ type: "SHOW";
30719
+ conditional: any;
30720
+ } | {
30721
+ type: "ENABLE";
30722
+ conditional: any;
30723
+ } | {
30724
+ type: "DISPLAY_ON_REVIEW";
30725
+ conditional: any;
30726
+ })[] | undefined;
30727
+ secured?: boolean | undefined;
30728
+ placeholder?: {
30729
+ id: string;
30730
+ defaultMessage: string;
30731
+ description: string;
30732
+ } | undefined;
30733
+ validation?: {
30734
+ validator: any;
30735
+ message: {
30736
+ id: string;
30737
+ defaultMessage: string;
30738
+ description: string;
30739
+ };
30740
+ }[] | undefined;
30741
+ helperText?: {
30742
+ id: string;
30743
+ defaultMessage: string;
30744
+ description: string;
30745
+ } | undefined;
30746
+ hideLabel?: boolean | undefined;
30747
+ uncorrectable?: boolean | undefined;
30748
+ value?: {
30749
+ $$field: string;
30750
+ $$subfield?: string[] | undefined;
30751
+ } | {
30752
+ $$field: string;
30753
+ $$subfield?: string[] | undefined;
30754
+ }[] | undefined;
30755
+ analytics?: boolean | undefined;
30756
+ defaultValue?: {
30757
+ data: any;
30758
+ } | undefined;
30759
+ configuration?: {
30760
+ validator: any;
30761
+ } | undefined;
30762
+ })[];
30763
+ parent?: {
30764
+ $$field: string;
30765
+ $$subfield?: string[] | undefined;
30766
+ } | {
30767
+ $$field: string;
30768
+ $$subfield?: string[] | undefined;
30769
+ }[] | undefined;
30770
+ required?: boolean | {
30771
+ message: {
30772
+ id: string;
30773
+ defaultMessage: string;
30774
+ description: string;
30775
+ };
30776
+ } | undefined;
30777
+ conditionals?: ({
30778
+ type: "SHOW";
30779
+ conditional: any;
30780
+ } | {
30781
+ type: "ENABLE";
30782
+ conditional: any;
30783
+ } | {
30784
+ type: "DISPLAY_ON_REVIEW";
30785
+ conditional: any;
30786
+ })[] | undefined;
30787
+ secured?: boolean | undefined;
30788
+ placeholder?: {
30789
+ id: string;
30790
+ defaultMessage: string;
30791
+ description: string;
30792
+ } | undefined;
30793
+ validation?: {
30794
+ validator: any;
30795
+ message: {
30796
+ id: string;
30797
+ defaultMessage: string;
30798
+ description: string;
30799
+ };
30800
+ }[] | undefined;
30801
+ helperText?: {
30802
+ id: string;
30803
+ defaultMessage: string;
30804
+ description: string;
30805
+ } | undefined;
30806
+ hideLabel?: boolean | undefined;
30807
+ uncorrectable?: boolean | undefined;
30808
+ value?: {
30809
+ $$field: string;
30810
+ $$subfield?: string[] | undefined;
30811
+ } | {
30812
+ $$field: string;
30813
+ $$subfield?: string[] | undefined;
30814
+ }[] | undefined;
30815
+ analytics?: boolean | undefined;
30816
+ defaultValue?: {
30817
+ data: any;
30818
+ } | undefined;
30164
30819
  } | {
30165
30820
  id: string;
30166
30821
  label: {
@@ -30168,145 +30823,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
30168
30823
  defaultMessage: string;
30169
30824
  description: string;
30170
30825
  };
30171
- type: "ID_READER";
30172
- methods: ({
30173
- id: string;
30174
- label: {
30175
- id: string;
30176
- defaultMessage: string;
30177
- description: string;
30178
- };
30179
- type: "LINK_BUTTON";
30180
- configuration: {
30181
- url: string;
30182
- text: {
30183
- id: string;
30184
- defaultMessage: string;
30185
- description: string;
30186
- };
30187
- icon?: string | undefined;
30188
- };
30189
- parent?: {
30190
- $$field: string;
30191
- $$subfield?: string[] | undefined;
30192
- } | {
30193
- $$field: string;
30194
- $$subfield?: string[] | undefined;
30195
- }[] | undefined;
30196
- required?: boolean | {
30197
- message: {
30198
- id: string;
30199
- defaultMessage: string;
30200
- description: string;
30201
- };
30202
- } | undefined;
30203
- conditionals?: ({
30204
- type: "SHOW";
30205
- conditional: any;
30206
- } | {
30207
- type: "ENABLE";
30208
- conditional: any;
30209
- } | {
30210
- type: "DISPLAY_ON_REVIEW";
30211
- conditional: any;
30212
- })[] | undefined;
30213
- secured?: boolean | undefined;
30214
- placeholder?: {
30215
- id: string;
30216
- defaultMessage: string;
30217
- description: string;
30218
- } | undefined;
30219
- validation?: {
30220
- validator: any;
30221
- message: {
30222
- id: string;
30223
- defaultMessage: string;
30224
- description: string;
30225
- };
30226
- }[] | undefined;
30227
- helperText?: {
30228
- id: string;
30229
- defaultMessage: string;
30230
- description: string;
30231
- } | undefined;
30232
- hideLabel?: boolean | undefined;
30233
- uncorrectable?: boolean | undefined;
30234
- value?: {
30235
- $$field: string;
30236
- $$subfield?: string[] | undefined;
30237
- } | {
30238
- $$field: string;
30239
- $$subfield?: string[] | undefined;
30240
- }[] | undefined;
30241
- analytics?: boolean | undefined;
30242
- } | {
30243
- id: string;
30244
- label: {
30245
- id: string;
30246
- defaultMessage: string;
30247
- description: string;
30248
- };
30249
- type: "QR_READER";
30250
- parent?: {
30251
- $$field: string;
30252
- $$subfield?: string[] | undefined;
30253
- } | {
30254
- $$field: string;
30255
- $$subfield?: string[] | undefined;
30256
- }[] | undefined;
30257
- required?: boolean | {
30258
- message: {
30259
- id: string;
30260
- defaultMessage: string;
30261
- description: string;
30262
- };
30263
- } | undefined;
30264
- conditionals?: ({
30265
- type: "SHOW";
30266
- conditional: any;
30267
- } | {
30268
- type: "ENABLE";
30269
- conditional: any;
30270
- } | {
30271
- type: "DISPLAY_ON_REVIEW";
30272
- conditional: any;
30273
- })[] | undefined;
30274
- secured?: boolean | undefined;
30275
- placeholder?: {
30276
- id: string;
30277
- defaultMessage: string;
30278
- description: string;
30279
- } | undefined;
30280
- validation?: {
30281
- validator: any;
30282
- message: {
30283
- id: string;
30284
- defaultMessage: string;
30285
- description: string;
30286
- };
30287
- }[] | undefined;
30288
- helperText?: {
30289
- id: string;
30290
- defaultMessage: string;
30291
- description: string;
30292
- } | undefined;
30293
- hideLabel?: boolean | undefined;
30294
- uncorrectable?: boolean | undefined;
30295
- value?: {
30296
- $$field: string;
30297
- $$subfield?: string[] | undefined;
30298
- } | {
30299
- $$field: string;
30300
- $$subfield?: string[] | undefined;
30301
- }[] | undefined;
30302
- analytics?: boolean | undefined;
30303
- defaultValue?: {
30304
- data: any;
30305
- } | undefined;
30306
- configuration?: {
30307
- validator: any;
30308
- } | undefined;
30309
- })[];
30826
+ type: "CUSTOM";
30827
+ src: string;
30310
30828
  parent?: {
30311
30829
  $$field: string;
30312
30830
  $$subfield?: string[] | undefined;
@@ -30360,9 +30878,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
30360
30878
  $$subfield?: string[] | undefined;
30361
30879
  }[] | undefined;
30362
30880
  analytics?: boolean | undefined;
30363
- defaultValue?: {
30364
- data: any;
30365
- } | undefined;
30881
+ defaultValue?: unknown;
30882
+ configuration?: unknown;
30366
30883
  } | {
30367
30884
  id: string;
30368
30885
  label: {
@@ -33420,6 +33937,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
33420
33937
  defaultValue?: {
33421
33938
  data: any;
33422
33939
  } | undefined;
33940
+ } | {
33941
+ id: string;
33942
+ label: {
33943
+ id: string;
33944
+ defaultMessage: string;
33945
+ description: string;
33946
+ };
33947
+ type: "CUSTOM";
33948
+ src: string;
33949
+ parent?: {
33950
+ $$field: string;
33951
+ $$subfield?: string[] | undefined;
33952
+ } | {
33953
+ $$field: string;
33954
+ $$subfield?: string[] | undefined;
33955
+ }[] | undefined;
33956
+ required?: boolean | {
33957
+ message: {
33958
+ id: string;
33959
+ defaultMessage: string;
33960
+ description: string;
33961
+ };
33962
+ } | undefined;
33963
+ conditionals?: ({
33964
+ type: "SHOW";
33965
+ conditional: any;
33966
+ } | {
33967
+ type: "ENABLE";
33968
+ conditional: any;
33969
+ } | {
33970
+ type: "DISPLAY_ON_REVIEW";
33971
+ conditional: any;
33972
+ })[] | undefined;
33973
+ secured?: boolean | undefined;
33974
+ placeholder?: {
33975
+ id: string;
33976
+ defaultMessage: string;
33977
+ description: string;
33978
+ } | undefined;
33979
+ validation?: {
33980
+ validator: any;
33981
+ message: {
33982
+ id: string;
33983
+ defaultMessage: string;
33984
+ description: string;
33985
+ };
33986
+ }[] | undefined;
33987
+ helperText?: {
33988
+ id: string;
33989
+ defaultMessage: string;
33990
+ description: string;
33991
+ } | undefined;
33992
+ hideLabel?: boolean | undefined;
33993
+ uncorrectable?: boolean | undefined;
33994
+ value?: {
33995
+ $$field: string;
33996
+ $$subfield?: string[] | undefined;
33997
+ } | {
33998
+ $$field: string;
33999
+ $$subfield?: string[] | undefined;
34000
+ }[] | undefined;
34001
+ analytics?: boolean | undefined;
34002
+ defaultValue?: unknown;
34003
+ configuration?: unknown;
33423
34004
  } | {
33424
34005
  id: string;
33425
34006
  label: {
@@ -36607,6 +37188,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
36607
37188
  defaultValue?: {
36608
37189
  data: any;
36609
37190
  } | undefined;
37191
+ } | {
37192
+ id: string;
37193
+ label: {
37194
+ id: string;
37195
+ defaultMessage: string;
37196
+ description: string;
37197
+ };
37198
+ type: "CUSTOM";
37199
+ src: string;
37200
+ parent?: {
37201
+ $$field: string;
37202
+ $$subfield?: string[] | undefined;
37203
+ } | {
37204
+ $$field: string;
37205
+ $$subfield?: string[] | undefined;
37206
+ }[] | undefined;
37207
+ required?: boolean | {
37208
+ message: {
37209
+ id: string;
37210
+ defaultMessage: string;
37211
+ description: string;
37212
+ };
37213
+ } | undefined;
37214
+ conditionals?: ({
37215
+ type: "SHOW";
37216
+ conditional: any;
37217
+ } | {
37218
+ type: "ENABLE";
37219
+ conditional: any;
37220
+ } | {
37221
+ type: "DISPLAY_ON_REVIEW";
37222
+ conditional: any;
37223
+ })[] | undefined;
37224
+ secured?: boolean | undefined;
37225
+ placeholder?: {
37226
+ id: string;
37227
+ defaultMessage: string;
37228
+ description: string;
37229
+ } | undefined;
37230
+ validation?: {
37231
+ validator: any;
37232
+ message: {
37233
+ id: string;
37234
+ defaultMessage: string;
37235
+ description: string;
37236
+ };
37237
+ }[] | undefined;
37238
+ helperText?: {
37239
+ id: string;
37240
+ defaultMessage: string;
37241
+ description: string;
37242
+ } | undefined;
37243
+ hideLabel?: boolean | undefined;
37244
+ uncorrectable?: boolean | undefined;
37245
+ value?: {
37246
+ $$field: string;
37247
+ $$subfield?: string[] | undefined;
37248
+ } | {
37249
+ $$field: string;
37250
+ $$subfield?: string[] | undefined;
37251
+ }[] | undefined;
37252
+ analytics?: boolean | undefined;
37253
+ defaultValue?: unknown;
37254
+ configuration?: unknown;
36610
37255
  } | {
36611
37256
  id: string;
36612
37257
  label: {
@@ -39642,6 +40287,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
39642
40287
  defaultValue?: {
39643
40288
  data: any;
39644
40289
  } | undefined;
40290
+ } | {
40291
+ id: string;
40292
+ label: {
40293
+ id: string;
40294
+ defaultMessage: string;
40295
+ description: string;
40296
+ };
40297
+ type: "CUSTOM";
40298
+ src: string;
40299
+ parent?: {
40300
+ $$field: string;
40301
+ $$subfield?: string[] | undefined;
40302
+ } | {
40303
+ $$field: string;
40304
+ $$subfield?: string[] | undefined;
40305
+ }[] | undefined;
40306
+ required?: boolean | {
40307
+ message: {
40308
+ id: string;
40309
+ defaultMessage: string;
40310
+ description: string;
40311
+ };
40312
+ } | undefined;
40313
+ conditionals?: ({
40314
+ type: "SHOW";
40315
+ conditional: any;
40316
+ } | {
40317
+ type: "ENABLE";
40318
+ conditional: any;
40319
+ } | {
40320
+ type: "DISPLAY_ON_REVIEW";
40321
+ conditional: any;
40322
+ })[] | undefined;
40323
+ secured?: boolean | undefined;
40324
+ placeholder?: {
40325
+ id: string;
40326
+ defaultMessage: string;
40327
+ description: string;
40328
+ } | undefined;
40329
+ validation?: {
40330
+ validator: any;
40331
+ message: {
40332
+ id: string;
40333
+ defaultMessage: string;
40334
+ description: string;
40335
+ };
40336
+ }[] | undefined;
40337
+ helperText?: {
40338
+ id: string;
40339
+ defaultMessage: string;
40340
+ description: string;
40341
+ } | undefined;
40342
+ hideLabel?: boolean | undefined;
40343
+ uncorrectable?: boolean | undefined;
40344
+ value?: {
40345
+ $$field: string;
40346
+ $$subfield?: string[] | undefined;
40347
+ } | {
40348
+ $$field: string;
40349
+ $$subfield?: string[] | undefined;
40350
+ }[] | undefined;
40351
+ analytics?: boolean | undefined;
40352
+ defaultValue?: unknown;
40353
+ configuration?: unknown;
39645
40354
  } | {
39646
40355
  id: string;
39647
40356
  label: {
@@ -42538,9 +43247,211 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
42538
43247
  defaultValue?: {
42539
43248
  data: any;
42540
43249
  } | undefined;
42541
- configuration?: {
42542
- validator: any;
42543
- } | undefined;
43250
+ configuration?: {
43251
+ validator: any;
43252
+ } | undefined;
43253
+ } | {
43254
+ id: string;
43255
+ label: {
43256
+ id: string;
43257
+ defaultMessage: string;
43258
+ description: string;
43259
+ };
43260
+ type: "ID_READER";
43261
+ methods: ({
43262
+ id: string;
43263
+ label: {
43264
+ id: string;
43265
+ defaultMessage: string;
43266
+ description: string;
43267
+ };
43268
+ type: "LINK_BUTTON";
43269
+ configuration: {
43270
+ url: string;
43271
+ text: {
43272
+ id: string;
43273
+ defaultMessage: string;
43274
+ description: string;
43275
+ };
43276
+ icon?: string | undefined;
43277
+ };
43278
+ parent?: {
43279
+ $$field: string;
43280
+ $$subfield?: string[] | undefined;
43281
+ } | {
43282
+ $$field: string;
43283
+ $$subfield?: string[] | undefined;
43284
+ }[] | undefined;
43285
+ required?: boolean | {
43286
+ message: {
43287
+ id: string;
43288
+ defaultMessage: string;
43289
+ description: string;
43290
+ };
43291
+ } | undefined;
43292
+ conditionals?: ({
43293
+ type: "SHOW";
43294
+ conditional: any;
43295
+ } | {
43296
+ type: "ENABLE";
43297
+ conditional: any;
43298
+ } | {
43299
+ type: "DISPLAY_ON_REVIEW";
43300
+ conditional: any;
43301
+ })[] | undefined;
43302
+ secured?: boolean | undefined;
43303
+ placeholder?: {
43304
+ id: string;
43305
+ defaultMessage: string;
43306
+ description: string;
43307
+ } | undefined;
43308
+ validation?: {
43309
+ validator: any;
43310
+ message: {
43311
+ id: string;
43312
+ defaultMessage: string;
43313
+ description: string;
43314
+ };
43315
+ }[] | undefined;
43316
+ helperText?: {
43317
+ id: string;
43318
+ defaultMessage: string;
43319
+ description: string;
43320
+ } | undefined;
43321
+ hideLabel?: boolean | undefined;
43322
+ uncorrectable?: boolean | undefined;
43323
+ value?: {
43324
+ $$field: string;
43325
+ $$subfield?: string[] | undefined;
43326
+ } | {
43327
+ $$field: string;
43328
+ $$subfield?: string[] | undefined;
43329
+ }[] | undefined;
43330
+ analytics?: boolean | undefined;
43331
+ } | {
43332
+ id: string;
43333
+ label: {
43334
+ id: string;
43335
+ defaultMessage: string;
43336
+ description: string;
43337
+ };
43338
+ type: "QR_READER";
43339
+ parent?: {
43340
+ $$field: string;
43341
+ $$subfield?: string[] | undefined;
43342
+ } | {
43343
+ $$field: string;
43344
+ $$subfield?: string[] | undefined;
43345
+ }[] | undefined;
43346
+ required?: boolean | {
43347
+ message: {
43348
+ id: string;
43349
+ defaultMessage: string;
43350
+ description: string;
43351
+ };
43352
+ } | undefined;
43353
+ conditionals?: ({
43354
+ type: "SHOW";
43355
+ conditional: any;
43356
+ } | {
43357
+ type: "ENABLE";
43358
+ conditional: any;
43359
+ } | {
43360
+ type: "DISPLAY_ON_REVIEW";
43361
+ conditional: any;
43362
+ })[] | undefined;
43363
+ secured?: boolean | undefined;
43364
+ placeholder?: {
43365
+ id: string;
43366
+ defaultMessage: string;
43367
+ description: string;
43368
+ } | undefined;
43369
+ validation?: {
43370
+ validator: any;
43371
+ message: {
43372
+ id: string;
43373
+ defaultMessage: string;
43374
+ description: string;
43375
+ };
43376
+ }[] | undefined;
43377
+ helperText?: {
43378
+ id: string;
43379
+ defaultMessage: string;
43380
+ description: string;
43381
+ } | undefined;
43382
+ hideLabel?: boolean | undefined;
43383
+ uncorrectable?: boolean | undefined;
43384
+ value?: {
43385
+ $$field: string;
43386
+ $$subfield?: string[] | undefined;
43387
+ } | {
43388
+ $$field: string;
43389
+ $$subfield?: string[] | undefined;
43390
+ }[] | undefined;
43391
+ analytics?: boolean | undefined;
43392
+ defaultValue?: {
43393
+ data: any;
43394
+ } | undefined;
43395
+ configuration?: {
43396
+ validator: any;
43397
+ } | undefined;
43398
+ })[];
43399
+ parent?: {
43400
+ $$field: string;
43401
+ $$subfield?: string[] | undefined;
43402
+ } | {
43403
+ $$field: string;
43404
+ $$subfield?: string[] | undefined;
43405
+ }[] | undefined;
43406
+ required?: boolean | {
43407
+ message: {
43408
+ id: string;
43409
+ defaultMessage: string;
43410
+ description: string;
43411
+ };
43412
+ } | undefined;
43413
+ conditionals?: ({
43414
+ type: "SHOW";
43415
+ conditional: any;
43416
+ } | {
43417
+ type: "ENABLE";
43418
+ conditional: any;
43419
+ } | {
43420
+ type: "DISPLAY_ON_REVIEW";
43421
+ conditional: any;
43422
+ })[] | undefined;
43423
+ secured?: boolean | undefined;
43424
+ placeholder?: {
43425
+ id: string;
43426
+ defaultMessage: string;
43427
+ description: string;
43428
+ } | undefined;
43429
+ validation?: {
43430
+ validator: any;
43431
+ message: {
43432
+ id: string;
43433
+ defaultMessage: string;
43434
+ description: string;
43435
+ };
43436
+ }[] | undefined;
43437
+ helperText?: {
43438
+ id: string;
43439
+ defaultMessage: string;
43440
+ description: string;
43441
+ } | undefined;
43442
+ hideLabel?: boolean | undefined;
43443
+ uncorrectable?: boolean | undefined;
43444
+ value?: {
43445
+ $$field: string;
43446
+ $$subfield?: string[] | undefined;
43447
+ } | {
43448
+ $$field: string;
43449
+ $$subfield?: string[] | undefined;
43450
+ }[] | undefined;
43451
+ analytics?: boolean | undefined;
43452
+ defaultValue?: {
43453
+ data: any;
43454
+ } | undefined;
42544
43455
  } | {
42545
43456
  id: string;
42546
43457
  label: {
@@ -42548,145 +43459,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
42548
43459
  defaultMessage: string;
42549
43460
  description: string;
42550
43461
  };
42551
- type: "ID_READER";
42552
- methods: ({
42553
- id: string;
42554
- label: {
42555
- id: string;
42556
- defaultMessage: string;
42557
- description: string;
42558
- };
42559
- type: "LINK_BUTTON";
42560
- configuration: {
42561
- url: string;
42562
- text: {
42563
- id: string;
42564
- defaultMessage: string;
42565
- description: string;
42566
- };
42567
- icon?: string | undefined;
42568
- };
42569
- parent?: {
42570
- $$field: string;
42571
- $$subfield?: string[] | undefined;
42572
- } | {
42573
- $$field: string;
42574
- $$subfield?: string[] | undefined;
42575
- }[] | undefined;
42576
- required?: boolean | {
42577
- message: {
42578
- id: string;
42579
- defaultMessage: string;
42580
- description: string;
42581
- };
42582
- } | undefined;
42583
- conditionals?: ({
42584
- type: "SHOW";
42585
- conditional: any;
42586
- } | {
42587
- type: "ENABLE";
42588
- conditional: any;
42589
- } | {
42590
- type: "DISPLAY_ON_REVIEW";
42591
- conditional: any;
42592
- })[] | undefined;
42593
- secured?: boolean | undefined;
42594
- placeholder?: {
42595
- id: string;
42596
- defaultMessage: string;
42597
- description: string;
42598
- } | undefined;
42599
- validation?: {
42600
- validator: any;
42601
- message: {
42602
- id: string;
42603
- defaultMessage: string;
42604
- description: string;
42605
- };
42606
- }[] | undefined;
42607
- helperText?: {
42608
- id: string;
42609
- defaultMessage: string;
42610
- description: string;
42611
- } | undefined;
42612
- hideLabel?: boolean | undefined;
42613
- uncorrectable?: boolean | undefined;
42614
- value?: {
42615
- $$field: string;
42616
- $$subfield?: string[] | undefined;
42617
- } | {
42618
- $$field: string;
42619
- $$subfield?: string[] | undefined;
42620
- }[] | undefined;
42621
- analytics?: boolean | undefined;
42622
- } | {
42623
- id: string;
42624
- label: {
42625
- id: string;
42626
- defaultMessage: string;
42627
- description: string;
42628
- };
42629
- type: "QR_READER";
42630
- parent?: {
42631
- $$field: string;
42632
- $$subfield?: string[] | undefined;
42633
- } | {
42634
- $$field: string;
42635
- $$subfield?: string[] | undefined;
42636
- }[] | undefined;
42637
- required?: boolean | {
42638
- message: {
42639
- id: string;
42640
- defaultMessage: string;
42641
- description: string;
42642
- };
42643
- } | undefined;
42644
- conditionals?: ({
42645
- type: "SHOW";
42646
- conditional: any;
42647
- } | {
42648
- type: "ENABLE";
42649
- conditional: any;
42650
- } | {
42651
- type: "DISPLAY_ON_REVIEW";
42652
- conditional: any;
42653
- })[] | undefined;
42654
- secured?: boolean | undefined;
42655
- placeholder?: {
42656
- id: string;
42657
- defaultMessage: string;
42658
- description: string;
42659
- } | undefined;
42660
- validation?: {
42661
- validator: any;
42662
- message: {
42663
- id: string;
42664
- defaultMessage: string;
42665
- description: string;
42666
- };
42667
- }[] | undefined;
42668
- helperText?: {
42669
- id: string;
42670
- defaultMessage: string;
42671
- description: string;
42672
- } | undefined;
42673
- hideLabel?: boolean | undefined;
42674
- uncorrectable?: boolean | undefined;
42675
- value?: {
42676
- $$field: string;
42677
- $$subfield?: string[] | undefined;
42678
- } | {
42679
- $$field: string;
42680
- $$subfield?: string[] | undefined;
42681
- }[] | undefined;
42682
- analytics?: boolean | undefined;
42683
- defaultValue?: {
42684
- data: any;
42685
- } | undefined;
42686
- configuration?: {
42687
- validator: any;
42688
- } | undefined;
42689
- })[];
43462
+ type: "CUSTOM";
43463
+ src: string;
42690
43464
  parent?: {
42691
43465
  $$field: string;
42692
43466
  $$subfield?: string[] | undefined;
@@ -42740,9 +43514,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
42740
43514
  $$subfield?: string[] | undefined;
42741
43515
  }[] | undefined;
42742
43516
  analytics?: boolean | undefined;
42743
- defaultValue?: {
42744
- data: any;
42745
- } | undefined;
43517
+ defaultValue?: unknown;
43518
+ configuration?: unknown;
42746
43519
  } | {
42747
43520
  id: string;
42748
43521
  label: {
@@ -45778,6 +46551,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
45778
46551
  defaultValue?: {
45779
46552
  data: any;
45780
46553
  } | undefined;
46554
+ } | {
46555
+ id: string;
46556
+ label: {
46557
+ id: string;
46558
+ defaultMessage: string;
46559
+ description: string;
46560
+ };
46561
+ type: "CUSTOM";
46562
+ src: string;
46563
+ parent?: {
46564
+ $$field: string;
46565
+ $$subfield?: string[] | undefined;
46566
+ } | {
46567
+ $$field: string;
46568
+ $$subfield?: string[] | undefined;
46569
+ }[] | undefined;
46570
+ required?: boolean | {
46571
+ message: {
46572
+ id: string;
46573
+ defaultMessage: string;
46574
+ description: string;
46575
+ };
46576
+ } | undefined;
46577
+ conditionals?: ({
46578
+ type: "SHOW";
46579
+ conditional: any;
46580
+ } | {
46581
+ type: "ENABLE";
46582
+ conditional: any;
46583
+ } | {
46584
+ type: "DISPLAY_ON_REVIEW";
46585
+ conditional: any;
46586
+ })[] | undefined;
46587
+ secured?: boolean | undefined;
46588
+ placeholder?: {
46589
+ id: string;
46590
+ defaultMessage: string;
46591
+ description: string;
46592
+ } | undefined;
46593
+ validation?: {
46594
+ validator: any;
46595
+ message: {
46596
+ id: string;
46597
+ defaultMessage: string;
46598
+ description: string;
46599
+ };
46600
+ }[] | undefined;
46601
+ helperText?: {
46602
+ id: string;
46603
+ defaultMessage: string;
46604
+ description: string;
46605
+ } | undefined;
46606
+ hideLabel?: boolean | undefined;
46607
+ uncorrectable?: boolean | undefined;
46608
+ value?: {
46609
+ $$field: string;
46610
+ $$subfield?: string[] | undefined;
46611
+ } | {
46612
+ $$field: string;
46613
+ $$subfield?: string[] | undefined;
46614
+ }[] | undefined;
46615
+ analytics?: boolean | undefined;
46616
+ defaultValue?: unknown;
46617
+ configuration?: unknown;
45781
46618
  } | {
45782
46619
  id: string;
45783
46620
  label: {
@@ -48868,6 +49705,70 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
48868
49705
  defaultValue?: {
48869
49706
  data: any;
48870
49707
  } | undefined;
49708
+ } | {
49709
+ id: string;
49710
+ label: {
49711
+ id: string;
49712
+ defaultMessage: string;
49713
+ description: string;
49714
+ };
49715
+ type: "CUSTOM";
49716
+ src: string;
49717
+ parent?: {
49718
+ $$field: string;
49719
+ $$subfield?: string[] | undefined;
49720
+ } | {
49721
+ $$field: string;
49722
+ $$subfield?: string[] | undefined;
49723
+ }[] | undefined;
49724
+ required?: boolean | {
49725
+ message: {
49726
+ id: string;
49727
+ defaultMessage: string;
49728
+ description: string;
49729
+ };
49730
+ } | undefined;
49731
+ conditionals?: ({
49732
+ type: "SHOW";
49733
+ conditional: any;
49734
+ } | {
49735
+ type: "ENABLE";
49736
+ conditional: any;
49737
+ } | {
49738
+ type: "DISPLAY_ON_REVIEW";
49739
+ conditional: any;
49740
+ })[] | undefined;
49741
+ secured?: boolean | undefined;
49742
+ placeholder?: {
49743
+ id: string;
49744
+ defaultMessage: string;
49745
+ description: string;
49746
+ } | undefined;
49747
+ validation?: {
49748
+ validator: any;
49749
+ message: {
49750
+ id: string;
49751
+ defaultMessage: string;
49752
+ description: string;
49753
+ };
49754
+ }[] | undefined;
49755
+ helperText?: {
49756
+ id: string;
49757
+ defaultMessage: string;
49758
+ description: string;
49759
+ } | undefined;
49760
+ hideLabel?: boolean | undefined;
49761
+ uncorrectable?: boolean | undefined;
49762
+ value?: {
49763
+ $$field: string;
49764
+ $$subfield?: string[] | undefined;
49765
+ } | {
49766
+ $$field: string;
49767
+ $$subfield?: string[] | undefined;
49768
+ }[] | undefined;
49769
+ analytics?: boolean | undefined;
49770
+ defaultValue?: unknown;
49771
+ configuration?: unknown;
48871
49772
  } | {
48872
49773
  id: string;
48873
49774
  label: {
@@ -49458,7 +50359,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
49458
50359
  };
49459
50360
  fieldId: string;
49460
50361
  fieldType: "field";
49461
- 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;
50362
+ 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;
49462
50363
  label?: {
49463
50364
  id: string;
49464
50365
  defaultMessage: string;
@@ -49502,7 +50403,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
49502
50403
  };
49503
50404
  fieldId: "event.status" | "event.trackingId" | "event.updatedAt" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation" | "event.legalStatuses.REGISTERED.registrationNumber";
49504
50405
  fieldType: "event";
49505
- 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;
50406
+ 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;
49506
50407
  label?: {
49507
50408
  id: string;
49508
50409
  defaultMessage: string;