@opencrvs/toolkit 1.8.1-rc.38ac682 → 1.8.1-rc.45a3ec4

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.
@@ -4617,155 +4617,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
4617
4617
  } | undefined;
4618
4618
  hideLabel?: boolean | undefined;
4619
4619
  uncorrectable?: boolean | undefined;
4620
- }>, z.ZodObject<z.objectUtil.extendShape<{
4621
- id: z.ZodString;
4622
- label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4623
- id: string;
4624
- description: string;
4625
- defaultMessage: string;
4626
- }>;
4627
- parent: z.ZodOptional<z.ZodObject<{
4628
- $$field: z.ZodString;
4629
- }, "strip", z.ZodTypeAny, {
4630
- $$field: string;
4631
- }, {
4632
- $$field: string;
4633
- }>>;
4634
- required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4635
- conditionals: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./Conditional").FieldConditionalType[]>, "many">>>;
4636
- secured: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4637
- placeholder: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4638
- id: string;
4639
- description: string;
4640
- defaultMessage: string;
4641
- }>>;
4642
- validation: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
4643
- validator: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
4644
- message: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4645
- id: string;
4646
- description: string;
4647
- defaultMessage: string;
4648
- }>;
4649
- }, "strip", z.ZodTypeAny, {
4650
- message: TranslationConfig;
4651
- validator: import(".").JSONSchema;
4652
- }, {
4653
- message: {
4654
- id: string;
4655
- description: string;
4656
- defaultMessage: string;
4657
- };
4658
- validator: import(".").JSONSchema;
4659
- }>, "many">>>;
4660
- helperText: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4661
- id: string;
4662
- description: string;
4663
- defaultMessage: string;
4664
- }>>;
4665
- hideLabel: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4666
- uncorrectable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
4667
- }, {
4668
- type: z.ZodLiteral<"PRINT_BUTTON">;
4669
- configuration: z.ZodObject<{
4670
- template: z.ZodString;
4671
- buttonLabel: z.ZodOptional<z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
4672
- id: string;
4673
- description: string;
4674
- defaultMessage: string;
4675
- }>>;
4676
- }, "strip", z.ZodTypeAny, {
4677
- template: string;
4678
- buttonLabel?: TranslationConfig | undefined;
4679
- }, {
4680
- template: string;
4681
- buttonLabel?: {
4682
- id: string;
4683
- description: string;
4684
- defaultMessage: string;
4685
- } | undefined;
4686
- }>;
4687
- }>, "strip", z.ZodTypeAny, {
4688
- type: "PRINT_BUTTON";
4689
- id: string;
4690
- label: TranslationConfig;
4691
- configuration: {
4692
- template: string;
4693
- buttonLabel?: TranslationConfig | undefined;
4694
- };
4695
- parent?: {
4696
- $$field: string;
4697
- } | undefined;
4698
- validation?: {
4699
- message: TranslationConfig;
4700
- validator: import(".").JSONSchema;
4701
- }[] | undefined;
4702
- required?: boolean | undefined;
4703
- conditionals?: ({
4704
- type: "SHOW";
4705
- conditional: import(".").JSONSchema;
4706
- } | {
4707
- type: "ENABLE";
4708
- conditional: import(".").JSONSchema;
4709
- } | {
4710
- type: "DISPLAY_ON_REVIEW";
4711
- conditional: import(".").JSONSchema;
4712
- })[] | undefined;
4713
- secured?: boolean | undefined;
4714
- placeholder?: TranslationConfig | undefined;
4715
- helperText?: TranslationConfig | undefined;
4716
- hideLabel?: boolean | undefined;
4717
- uncorrectable?: boolean | undefined;
4718
- }, {
4719
- type: "PRINT_BUTTON";
4720
- id: string;
4721
- label: {
4722
- id: string;
4723
- description: string;
4724
- defaultMessage: string;
4725
- };
4726
- configuration: {
4727
- template: string;
4728
- buttonLabel?: {
4729
- id: string;
4730
- description: string;
4731
- defaultMessage: string;
4732
- } | undefined;
4733
- };
4734
- parent?: {
4735
- $$field: string;
4736
- } | undefined;
4737
- validation?: {
4738
- message: {
4739
- id: string;
4740
- description: string;
4741
- defaultMessage: string;
4742
- };
4743
- validator: import(".").JSONSchema;
4744
- }[] | undefined;
4745
- required?: boolean | undefined;
4746
- conditionals?: ({
4747
- type: "SHOW";
4748
- conditional: import(".").JSONSchema;
4749
- } | {
4750
- type: "ENABLE";
4751
- conditional: import(".").JSONSchema;
4752
- } | {
4753
- type: "DISPLAY_ON_REVIEW";
4754
- conditional: import(".").JSONSchema;
4755
- })[] | undefined;
4756
- secured?: boolean | undefined;
4757
- placeholder?: {
4758
- id: string;
4759
- description: string;
4760
- defaultMessage: string;
4761
- } | undefined;
4762
- helperText?: {
4763
- id: string;
4764
- description: string;
4765
- defaultMessage: string;
4766
- } | undefined;
4767
- hideLabel?: boolean | undefined;
4768
- uncorrectable?: boolean | undefined;
4769
4620
  }>]>, "many">;
4770
4621
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
4771
4622
  }, {
@@ -5708,19 +5559,32 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
5708
5559
  helperText?: TranslationConfig | undefined;
5709
5560
  hideLabel?: boolean | undefined;
5710
5561
  uncorrectable?: boolean | undefined;
5711
- } | {
5712
- type: "PRINT_BUTTON";
5562
+ })[];
5563
+ conditional?: import(".").JSONSchema | undefined;
5564
+ }, {
5565
+ id: string;
5566
+ title: {
5713
5567
  id: string;
5714
- label: TranslationConfig;
5715
- configuration: {
5716
- template: string;
5717
- buttonLabel?: TranslationConfig | undefined;
5568
+ description: string;
5569
+ defaultMessage: string;
5570
+ };
5571
+ fields: ({
5572
+ type: "DIVIDER";
5573
+ id: string;
5574
+ label: {
5575
+ id: string;
5576
+ description: string;
5577
+ defaultMessage: string;
5718
5578
  };
5719
5579
  parent?: {
5720
5580
  $$field: string;
5721
5581
  } | undefined;
5722
5582
  validation?: {
5723
- message: TranslationConfig;
5583
+ message: {
5584
+ id: string;
5585
+ description: string;
5586
+ defaultMessage: string;
5587
+ };
5724
5588
  validator: import(".").JSONSchema;
5725
5589
  }[] | undefined;
5726
5590
  required?: boolean | undefined;
@@ -5735,21 +5599,78 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
5735
5599
  conditional: import(".").JSONSchema;
5736
5600
  })[] | undefined;
5737
5601
  secured?: boolean | undefined;
5738
- placeholder?: TranslationConfig | undefined;
5739
- helperText?: TranslationConfig | undefined;
5602
+ placeholder?: {
5603
+ id: string;
5604
+ description: string;
5605
+ defaultMessage: string;
5606
+ } | undefined;
5607
+ helperText?: {
5608
+ id: string;
5609
+ description: string;
5610
+ defaultMessage: string;
5611
+ } | undefined;
5740
5612
  hideLabel?: boolean | undefined;
5741
5613
  uncorrectable?: boolean | undefined;
5742
- })[];
5743
- conditional?: import(".").JSONSchema | undefined;
5744
- }, {
5745
- id: string;
5746
- title: {
5614
+ } | {
5615
+ type: "TEXT";
5747
5616
  id: string;
5748
- description: string;
5749
- defaultMessage: string;
5750
- };
5751
- fields: ({
5752
- type: "DIVIDER";
5617
+ label: {
5618
+ id: string;
5619
+ description: string;
5620
+ defaultMessage: string;
5621
+ };
5622
+ parent?: {
5623
+ $$field: string;
5624
+ } | undefined;
5625
+ validation?: {
5626
+ message: {
5627
+ id: string;
5628
+ description: string;
5629
+ defaultMessage: string;
5630
+ };
5631
+ validator: import(".").JSONSchema;
5632
+ }[] | undefined;
5633
+ required?: boolean | undefined;
5634
+ conditionals?: ({
5635
+ type: "SHOW";
5636
+ conditional: import(".").JSONSchema;
5637
+ } | {
5638
+ type: "ENABLE";
5639
+ conditional: import(".").JSONSchema;
5640
+ } | {
5641
+ type: "DISPLAY_ON_REVIEW";
5642
+ conditional: import(".").JSONSchema;
5643
+ })[] | undefined;
5644
+ secured?: boolean | undefined;
5645
+ placeholder?: {
5646
+ id: string;
5647
+ description: string;
5648
+ defaultMessage: string;
5649
+ } | undefined;
5650
+ helperText?: {
5651
+ id: string;
5652
+ description: string;
5653
+ defaultMessage: string;
5654
+ } | undefined;
5655
+ hideLabel?: boolean | undefined;
5656
+ uncorrectable?: boolean | undefined;
5657
+ defaultValue?: string | undefined;
5658
+ configuration?: {
5659
+ type?: "text" | "password" | undefined;
5660
+ maxLength?: number | undefined;
5661
+ prefix?: {
5662
+ id: string;
5663
+ description: string;
5664
+ defaultMessage: string;
5665
+ } | undefined;
5666
+ postfix?: {
5667
+ id: string;
5668
+ description: string;
5669
+ defaultMessage: string;
5670
+ } | undefined;
5671
+ } | undefined;
5672
+ } | {
5673
+ type: "NUMBER";
5753
5674
  id: string;
5754
5675
  label: {
5755
5676
  id: string;
@@ -5791,124 +5712,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
5791
5712
  } | undefined;
5792
5713
  hideLabel?: boolean | undefined;
5793
5714
  uncorrectable?: boolean | undefined;
5715
+ defaultValue?: number | undefined;
5716
+ configuration?: {
5717
+ prefix?: {
5718
+ id: string;
5719
+ description: string;
5720
+ defaultMessage: string;
5721
+ } | undefined;
5722
+ postfix?: {
5723
+ id: string;
5724
+ description: string;
5725
+ defaultMessage: string;
5726
+ } | undefined;
5727
+ min?: number | undefined;
5728
+ max?: number | undefined;
5729
+ } | undefined;
5794
5730
  } | {
5795
- type: "TEXT";
5796
- id: string;
5797
- label: {
5798
- id: string;
5799
- description: string;
5800
- defaultMessage: string;
5801
- };
5802
- parent?: {
5803
- $$field: string;
5804
- } | undefined;
5805
- validation?: {
5806
- message: {
5807
- id: string;
5808
- description: string;
5809
- defaultMessage: string;
5810
- };
5811
- validator: import(".").JSONSchema;
5812
- }[] | undefined;
5813
- required?: boolean | undefined;
5814
- conditionals?: ({
5815
- type: "SHOW";
5816
- conditional: import(".").JSONSchema;
5817
- } | {
5818
- type: "ENABLE";
5819
- conditional: import(".").JSONSchema;
5820
- } | {
5821
- type: "DISPLAY_ON_REVIEW";
5822
- conditional: import(".").JSONSchema;
5823
- })[] | undefined;
5824
- secured?: boolean | undefined;
5825
- placeholder?: {
5826
- id: string;
5827
- description: string;
5828
- defaultMessage: string;
5829
- } | undefined;
5830
- helperText?: {
5831
- id: string;
5832
- description: string;
5833
- defaultMessage: string;
5834
- } | undefined;
5835
- hideLabel?: boolean | undefined;
5836
- uncorrectable?: boolean | undefined;
5837
- defaultValue?: string | undefined;
5838
- configuration?: {
5839
- type?: "text" | "password" | undefined;
5840
- maxLength?: number | undefined;
5841
- prefix?: {
5842
- id: string;
5843
- description: string;
5844
- defaultMessage: string;
5845
- } | undefined;
5846
- postfix?: {
5847
- id: string;
5848
- description: string;
5849
- defaultMessage: string;
5850
- } | undefined;
5851
- } | undefined;
5852
- } | {
5853
- type: "NUMBER";
5854
- id: string;
5855
- label: {
5856
- id: string;
5857
- description: string;
5858
- defaultMessage: string;
5859
- };
5860
- parent?: {
5861
- $$field: string;
5862
- } | undefined;
5863
- validation?: {
5864
- message: {
5865
- id: string;
5866
- description: string;
5867
- defaultMessage: string;
5868
- };
5869
- validator: import(".").JSONSchema;
5870
- }[] | undefined;
5871
- required?: boolean | undefined;
5872
- conditionals?: ({
5873
- type: "SHOW";
5874
- conditional: import(".").JSONSchema;
5875
- } | {
5876
- type: "ENABLE";
5877
- conditional: import(".").JSONSchema;
5878
- } | {
5879
- type: "DISPLAY_ON_REVIEW";
5880
- conditional: import(".").JSONSchema;
5881
- })[] | undefined;
5882
- secured?: boolean | undefined;
5883
- placeholder?: {
5884
- id: string;
5885
- description: string;
5886
- defaultMessage: string;
5887
- } | undefined;
5888
- helperText?: {
5889
- id: string;
5890
- description: string;
5891
- defaultMessage: string;
5892
- } | undefined;
5893
- hideLabel?: boolean | undefined;
5894
- uncorrectable?: boolean | undefined;
5895
- defaultValue?: number | undefined;
5896
- configuration?: {
5897
- prefix?: {
5898
- id: string;
5899
- description: string;
5900
- defaultMessage: string;
5901
- } | undefined;
5902
- postfix?: {
5903
- id: string;
5904
- description: string;
5905
- defaultMessage: string;
5906
- } | undefined;
5907
- min?: number | undefined;
5908
- max?: number | undefined;
5909
- } | undefined;
5910
- } | {
5911
- type: "TEXTAREA";
5731
+ type: "TEXTAREA";
5912
5732
  id: string;
5913
5733
  label: {
5914
5734
  id: string;
@@ -7214,57 +7034,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
7214
7034
  } | undefined;
7215
7035
  hideLabel?: boolean | undefined;
7216
7036
  uncorrectable?: boolean | undefined;
7217
- } | {
7218
- type: "PRINT_BUTTON";
7219
- id: string;
7220
- label: {
7221
- id: string;
7222
- description: string;
7223
- defaultMessage: string;
7224
- };
7225
- configuration: {
7226
- template: string;
7227
- buttonLabel?: {
7228
- id: string;
7229
- description: string;
7230
- defaultMessage: string;
7231
- } | undefined;
7232
- };
7233
- parent?: {
7234
- $$field: string;
7235
- } | undefined;
7236
- validation?: {
7237
- message: {
7238
- id: string;
7239
- description: string;
7240
- defaultMessage: string;
7241
- };
7242
- validator: import(".").JSONSchema;
7243
- }[] | undefined;
7244
- required?: boolean | undefined;
7245
- conditionals?: ({
7246
- type: "SHOW";
7247
- conditional: import(".").JSONSchema;
7248
- } | {
7249
- type: "ENABLE";
7250
- conditional: import(".").JSONSchema;
7251
- } | {
7252
- type: "DISPLAY_ON_REVIEW";
7253
- conditional: import(".").JSONSchema;
7254
- })[] | undefined;
7255
- secured?: boolean | undefined;
7256
- placeholder?: {
7257
- id: string;
7258
- description: string;
7259
- defaultMessage: string;
7260
- } | undefined;
7261
- helperText?: {
7262
- id: string;
7263
- description: string;
7264
- defaultMessage: string;
7265
- } | undefined;
7266
- hideLabel?: boolean | undefined;
7267
- uncorrectable?: boolean | undefined;
7268
7037
  })[];
7269
7038
  type?: "FORM" | undefined;
7270
7039
  conditional?: import(".").JSONSchema | undefined;
@@ -8209,37 +7978,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
8209
7978
  helperText?: TranslationConfig | undefined;
8210
7979
  hideLabel?: boolean | undefined;
8211
7980
  uncorrectable?: boolean | undefined;
8212
- } | {
8213
- type: "PRINT_BUTTON";
8214
- id: string;
8215
- label: TranslationConfig;
8216
- configuration: {
8217
- template: string;
8218
- buttonLabel?: TranslationConfig | undefined;
8219
- };
8220
- parent?: {
8221
- $$field: string;
8222
- } | undefined;
8223
- validation?: {
8224
- message: TranslationConfig;
8225
- validator: import(".").JSONSchema;
8226
- }[] | undefined;
8227
- required?: boolean | undefined;
8228
- conditionals?: ({
8229
- type: "SHOW";
8230
- conditional: import(".").JSONSchema;
8231
- } | {
8232
- type: "ENABLE";
8233
- conditional: import(".").JSONSchema;
8234
- } | {
8235
- type: "DISPLAY_ON_REVIEW";
8236
- conditional: import(".").JSONSchema;
8237
- })[] | undefined;
8238
- secured?: boolean | undefined;
8239
- placeholder?: TranslationConfig | undefined;
8240
- helperText?: TranslationConfig | undefined;
8241
- hideLabel?: boolean | undefined;
8242
- uncorrectable?: boolean | undefined;
8243
7981
  })[];
8244
7982
  conditional?: import(".").JSONSchema | undefined;
8245
7983
  }[];
@@ -9722,57 +9460,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9722
9460
  } | undefined;
9723
9461
  hideLabel?: boolean | undefined;
9724
9462
  uncorrectable?: boolean | undefined;
9725
- } | {
9726
- type: "PRINT_BUTTON";
9727
- id: string;
9728
- label: {
9729
- id: string;
9730
- description: string;
9731
- defaultMessage: string;
9732
- };
9733
- configuration: {
9734
- template: string;
9735
- buttonLabel?: {
9736
- id: string;
9737
- description: string;
9738
- defaultMessage: string;
9739
- } | undefined;
9740
- };
9741
- parent?: {
9742
- $$field: string;
9743
- } | undefined;
9744
- validation?: {
9745
- message: {
9746
- id: string;
9747
- description: string;
9748
- defaultMessage: string;
9749
- };
9750
- validator: import(".").JSONSchema;
9751
- }[] | undefined;
9752
- required?: boolean | undefined;
9753
- conditionals?: ({
9754
- type: "SHOW";
9755
- conditional: import(".").JSONSchema;
9756
- } | {
9757
- type: "ENABLE";
9758
- conditional: import(".").JSONSchema;
9759
- } | {
9760
- type: "DISPLAY_ON_REVIEW";
9761
- conditional: import(".").JSONSchema;
9762
- })[] | undefined;
9763
- secured?: boolean | undefined;
9764
- placeholder?: {
9765
- id: string;
9766
- description: string;
9767
- defaultMessage: string;
9768
- } | undefined;
9769
- helperText?: {
9770
- id: string;
9771
- description: string;
9772
- defaultMessage: string;
9773
- } | undefined;
9774
- hideLabel?: boolean | undefined;
9775
- uncorrectable?: boolean | undefined;
9776
9463
  })[];
9777
9464
  type?: "FORM" | undefined;
9778
9465
  conditional?: import(".").JSONSchema | undefined;
@@ -9807,11 +9494,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9807
9494
  }>;
9808
9495
  fields: z.ZodArray<z.ZodDiscriminatedUnion<"fieldType", [z.ZodObject<z.objectUtil.extendShape<{
9809
9496
  config: z.ZodObject<{
9810
- type: z.ZodEnum<["fuzzy", "exact", "range"]>;
9497
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
9811
9498
  }, "strip", z.ZodTypeAny, {
9812
- type: "exact" | "fuzzy" | "range";
9499
+ type: "exact" | "fuzzy" | "range" | "within";
9813
9500
  }, {
9814
- type: "exact" | "fuzzy" | "range";
9501
+ type: "exact" | "fuzzy" | "range" | "within";
9815
9502
  }>;
9816
9503
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
9817
9504
  value: z.ZodString;
@@ -9862,7 +9549,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9862
9549
  excludeInSearchQuery: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9863
9550
  }>, "strip", z.ZodTypeAny, {
9864
9551
  config: {
9865
- type: "exact" | "fuzzy" | "range";
9552
+ type: "exact" | "fuzzy" | "range" | "within";
9866
9553
  };
9867
9554
  fieldId: string;
9868
9555
  fieldType: "field";
@@ -9889,7 +9576,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9889
9576
  excludeInSearchQuery?: boolean | undefined;
9890
9577
  }, {
9891
9578
  config: {
9892
- type: "exact" | "fuzzy" | "range";
9579
+ type: "exact" | "fuzzy" | "range" | "within";
9893
9580
  };
9894
9581
  fieldId: string;
9895
9582
  fieldType: "field";
@@ -9928,11 +9615,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9928
9615
  excludeInSearchQuery?: boolean | undefined;
9929
9616
  }>, z.ZodObject<z.objectUtil.extendShape<{
9930
9617
  config: z.ZodObject<{
9931
- type: z.ZodEnum<["fuzzy", "exact", "range"]>;
9618
+ type: z.ZodEnum<["fuzzy", "exact", "range", "within"]>;
9932
9619
  }, "strip", z.ZodTypeAny, {
9933
- type: "exact" | "fuzzy" | "range";
9620
+ type: "exact" | "fuzzy" | "range" | "within";
9934
9621
  }, {
9935
- type: "exact" | "fuzzy" | "range";
9622
+ type: "exact" | "fuzzy" | "range" | "within";
9936
9623
  }>;
9937
9624
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
9938
9625
  value: z.ZodString;
@@ -9981,7 +9668,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
9981
9668
  fieldType: z.ZodLiteral<"event">;
9982
9669
  }>, "strip", z.ZodTypeAny, {
9983
9670
  config: {
9984
- type: "exact" | "fuzzy" | "range";
9671
+ type: "exact" | "fuzzy" | "range" | "within";
9985
9672
  };
9986
9673
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
9987
9674
  fieldType: "event";
@@ -10006,7 +9693,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
10006
9693
  }[] | undefined;
10007
9694
  }, {
10008
9695
  config: {
10009
- type: "exact" | "fuzzy" | "range";
9696
+ type: "exact" | "fuzzy" | "range" | "within";
10010
9697
  };
10011
9698
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
10012
9699
  fieldType: "event";
@@ -10046,7 +9733,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
10046
9733
  title: TranslationConfig;
10047
9734
  fields: ({
10048
9735
  config: {
10049
- type: "exact" | "fuzzy" | "range";
9736
+ type: "exact" | "fuzzy" | "range" | "within";
10050
9737
  };
10051
9738
  fieldId: string;
10052
9739
  fieldType: "field";
@@ -10073,7 +9760,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
10073
9760
  excludeInSearchQuery?: boolean | undefined;
10074
9761
  } | {
10075
9762
  config: {
10076
- type: "exact" | "fuzzy" | "range";
9763
+ type: "exact" | "fuzzy" | "range" | "within";
10077
9764
  };
10078
9765
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
10079
9766
  fieldType: "event";
@@ -10105,7 +9792,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
10105
9792
  };
10106
9793
  fields: ({
10107
9794
  config: {
10108
- type: "exact" | "fuzzy" | "range";
9795
+ type: "exact" | "fuzzy" | "range" | "within";
10109
9796
  };
10110
9797
  fieldId: string;
10111
9798
  fieldType: "field";
@@ -10144,7 +9831,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
10144
9831
  excludeInSearchQuery?: boolean | undefined;
10145
9832
  } | {
10146
9833
  config: {
10147
- type: "exact" | "fuzzy" | "range";
9834
+ type: "exact" | "fuzzy" | "range" | "within";
10148
9835
  };
10149
9836
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
10150
9837
  fieldType: "event";
@@ -11124,55 +10811,24 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
11124
10811
  helperText?: TranslationConfig | undefined;
11125
10812
  hideLabel?: boolean | undefined;
11126
10813
  uncorrectable?: boolean | undefined;
11127
- } | {
11128
- type: "PRINT_BUTTON";
11129
- id: string;
11130
- label: TranslationConfig;
11131
- configuration: {
11132
- template: string;
11133
- buttonLabel?: TranslationConfig | undefined;
11134
- };
11135
- parent?: {
11136
- $$field: string;
11137
- } | undefined;
11138
- validation?: {
11139
- message: TranslationConfig;
11140
- validator: import(".").JSONSchema;
11141
- }[] | undefined;
11142
- required?: boolean | undefined;
11143
- conditionals?: ({
11144
- type: "SHOW";
11145
- conditional: import(".").JSONSchema;
11146
- } | {
11147
- type: "ENABLE";
11148
- conditional: import(".").JSONSchema;
11149
- } | {
11150
- type: "DISPLAY_ON_REVIEW";
11151
- conditional: import(".").JSONSchema;
11152
- })[] | undefined;
11153
- secured?: boolean | undefined;
11154
- placeholder?: TranslationConfig | undefined;
11155
- helperText?: TranslationConfig | undefined;
11156
- hideLabel?: boolean | undefined;
11157
- uncorrectable?: boolean | undefined;
11158
- })[];
11159
- conditional?: import(".").JSONSchema | undefined;
11160
- }[];
11161
- };
11162
- actions: ({
11163
- type: "READ";
11164
- label: TranslationConfig;
11165
- conditionals: ({
11166
- type: "SHOW";
11167
- conditional: import(".").JSONSchema;
11168
- } | {
11169
- type: "ENABLE";
11170
- conditional: import(".").JSONSchema;
11171
- })[];
11172
- review: {
11173
- title: TranslationConfig;
11174
- fields: ({
11175
- type: "DIVIDER";
10814
+ })[];
10815
+ conditional?: import(".").JSONSchema | undefined;
10816
+ }[];
10817
+ };
10818
+ actions: ({
10819
+ type: "READ";
10820
+ label: TranslationConfig;
10821
+ conditionals: ({
10822
+ type: "SHOW";
10823
+ conditional: import(".").JSONSchema;
10824
+ } | {
10825
+ type: "ENABLE";
10826
+ conditional: import(".").JSONSchema;
10827
+ })[];
10828
+ review: {
10829
+ title: TranslationConfig;
10830
+ fields: ({
10831
+ type: "DIVIDER";
11176
10832
  id: string;
11177
10833
  label: TranslationConfig;
11178
10834
  parent?: {
@@ -12105,37 +11761,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
12105
11761
  helperText?: TranslationConfig | undefined;
12106
11762
  hideLabel?: boolean | undefined;
12107
11763
  uncorrectable?: boolean | undefined;
12108
- } | {
12109
- type: "PRINT_BUTTON";
12110
- id: string;
12111
- label: TranslationConfig;
12112
- configuration: {
12113
- template: string;
12114
- buttonLabel?: TranslationConfig | undefined;
12115
- };
12116
- parent?: {
12117
- $$field: string;
12118
- } | undefined;
12119
- validation?: {
12120
- message: TranslationConfig;
12121
- validator: import(".").JSONSchema;
12122
- }[] | undefined;
12123
- required?: boolean | undefined;
12124
- conditionals?: ({
12125
- type: "SHOW";
12126
- conditional: import(".").JSONSchema;
12127
- } | {
12128
- type: "ENABLE";
12129
- conditional: import(".").JSONSchema;
12130
- } | {
12131
- type: "DISPLAY_ON_REVIEW";
12132
- conditional: import(".").JSONSchema;
12133
- })[] | undefined;
12134
- secured?: boolean | undefined;
12135
- placeholder?: TranslationConfig | undefined;
12136
- helperText?: TranslationConfig | undefined;
12137
- hideLabel?: boolean | undefined;
12138
- uncorrectable?: boolean | undefined;
12139
11764
  })[];
12140
11765
  };
12141
11766
  draft?: boolean | undefined;
@@ -13085,37 +12710,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
13085
12710
  helperText?: TranslationConfig | undefined;
13086
12711
  hideLabel?: boolean | undefined;
13087
12712
  uncorrectable?: boolean | undefined;
13088
- } | {
13089
- type: "PRINT_BUTTON";
13090
- id: string;
13091
- label: TranslationConfig;
13092
- configuration: {
13093
- template: string;
13094
- buttonLabel?: TranslationConfig | undefined;
13095
- };
13096
- parent?: {
13097
- $$field: string;
13098
- } | undefined;
13099
- validation?: {
13100
- message: TranslationConfig;
13101
- validator: import(".").JSONSchema;
13102
- }[] | undefined;
13103
- required?: boolean | undefined;
13104
- conditionals?: ({
13105
- type: "SHOW";
13106
- conditional: import(".").JSONSchema;
13107
- } | {
13108
- type: "ENABLE";
13109
- conditional: import(".").JSONSchema;
13110
- } | {
13111
- type: "DISPLAY_ON_REVIEW";
13112
- conditional: import(".").JSONSchema;
13113
- })[] | undefined;
13114
- secured?: boolean | undefined;
13115
- placeholder?: TranslationConfig | undefined;
13116
- helperText?: TranslationConfig | undefined;
13117
- hideLabel?: boolean | undefined;
13118
- uncorrectable?: boolean | undefined;
13119
12713
  })[];
13120
12714
  };
13121
12715
  draft?: boolean | undefined;
@@ -14065,37 +13659,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
14065
13659
  helperText?: TranslationConfig | undefined;
14066
13660
  hideLabel?: boolean | undefined;
14067
13661
  uncorrectable?: boolean | undefined;
14068
- } | {
14069
- type: "PRINT_BUTTON";
14070
- id: string;
14071
- label: TranslationConfig;
14072
- configuration: {
14073
- template: string;
14074
- buttonLabel?: TranslationConfig | undefined;
14075
- };
14076
- parent?: {
14077
- $$field: string;
14078
- } | undefined;
14079
- validation?: {
14080
- message: TranslationConfig;
14081
- validator: import(".").JSONSchema;
14082
- }[] | undefined;
14083
- required?: boolean | undefined;
14084
- conditionals?: ({
14085
- type: "SHOW";
14086
- conditional: import(".").JSONSchema;
14087
- } | {
14088
- type: "ENABLE";
14089
- conditional: import(".").JSONSchema;
14090
- } | {
14091
- type: "DISPLAY_ON_REVIEW";
14092
- conditional: import(".").JSONSchema;
14093
- })[] | undefined;
14094
- secured?: boolean | undefined;
14095
- placeholder?: TranslationConfig | undefined;
14096
- helperText?: TranslationConfig | undefined;
14097
- hideLabel?: boolean | undefined;
14098
- uncorrectable?: boolean | undefined;
14099
13662
  })[];
14100
13663
  };
14101
13664
  draft?: boolean | undefined;
@@ -15045,37 +14608,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
15045
14608
  helperText?: TranslationConfig | undefined;
15046
14609
  hideLabel?: boolean | undefined;
15047
14610
  uncorrectable?: boolean | undefined;
15048
- } | {
15049
- type: "PRINT_BUTTON";
15050
- id: string;
15051
- label: TranslationConfig;
15052
- configuration: {
15053
- template: string;
15054
- buttonLabel?: TranslationConfig | undefined;
15055
- };
15056
- parent?: {
15057
- $$field: string;
15058
- } | undefined;
15059
- validation?: {
15060
- message: TranslationConfig;
15061
- validator: import(".").JSONSchema;
15062
- }[] | undefined;
15063
- required?: boolean | undefined;
15064
- conditionals?: ({
15065
- type: "SHOW";
15066
- conditional: import(".").JSONSchema;
15067
- } | {
15068
- type: "ENABLE";
15069
- conditional: import(".").JSONSchema;
15070
- } | {
15071
- type: "DISPLAY_ON_REVIEW";
15072
- conditional: import(".").JSONSchema;
15073
- })[] | undefined;
15074
- secured?: boolean | undefined;
15075
- placeholder?: TranslationConfig | undefined;
15076
- helperText?: TranslationConfig | undefined;
15077
- hideLabel?: boolean | undefined;
15078
- uncorrectable?: boolean | undefined;
15079
14611
  })[];
15080
14612
  };
15081
14613
  draft?: boolean | undefined;
@@ -16073,37 +15605,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
16073
15605
  helperText?: TranslationConfig | undefined;
16074
15606
  hideLabel?: boolean | undefined;
16075
15607
  uncorrectable?: boolean | undefined;
16076
- } | {
16077
- type: "PRINT_BUTTON";
16078
- id: string;
16079
- label: TranslationConfig;
16080
- configuration: {
16081
- template: string;
16082
- buttonLabel?: TranslationConfig | undefined;
16083
- };
16084
- parent?: {
16085
- $$field: string;
16086
- } | undefined;
16087
- validation?: {
16088
- message: TranslationConfig;
16089
- validator: import(".").JSONSchema;
16090
- }[] | undefined;
16091
- required?: boolean | undefined;
16092
- conditionals?: ({
16093
- type: "SHOW";
16094
- conditional: import(".").JSONSchema;
16095
- } | {
16096
- type: "ENABLE";
16097
- conditional: import(".").JSONSchema;
16098
- } | {
16099
- type: "DISPLAY_ON_REVIEW";
16100
- conditional: import(".").JSONSchema;
16101
- })[] | undefined;
16102
- secured?: boolean | undefined;
16103
- placeholder?: TranslationConfig | undefined;
16104
- helperText?: TranslationConfig | undefined;
16105
- hideLabel?: boolean | undefined;
16106
- uncorrectable?: boolean | undefined;
16107
15608
  })[];
16108
15609
  conditional?: import(".").JSONSchema | undefined;
16109
15610
  } | {
@@ -17056,37 +16557,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
17056
16557
  helperText?: TranslationConfig | undefined;
17057
16558
  hideLabel?: boolean | undefined;
17058
16559
  uncorrectable?: boolean | undefined;
17059
- } | {
17060
- type: "PRINT_BUTTON";
17061
- id: string;
17062
- label: TranslationConfig;
17063
- configuration: {
17064
- template: string;
17065
- buttonLabel?: TranslationConfig | undefined;
17066
- };
17067
- parent?: {
17068
- $$field: string;
17069
- } | undefined;
17070
- validation?: {
17071
- message: TranslationConfig;
17072
- validator: import(".").JSONSchema;
17073
- }[] | undefined;
17074
- required?: boolean | undefined;
17075
- conditionals?: ({
17076
- type: "SHOW";
17077
- conditional: import(".").JSONSchema;
17078
- } | {
17079
- type: "ENABLE";
17080
- conditional: import(".").JSONSchema;
17081
- } | {
17082
- type: "DISPLAY_ON_REVIEW";
17083
- conditional: import(".").JSONSchema;
17084
- })[] | undefined;
17085
- secured?: boolean | undefined;
17086
- placeholder?: TranslationConfig | undefined;
17087
- helperText?: TranslationConfig | undefined;
17088
- hideLabel?: boolean | undefined;
17089
- uncorrectable?: boolean | undefined;
17090
16560
  })[];
17091
16561
  conditional?: import(".").JSONSchema | undefined;
17092
16562
  })[];
@@ -18042,84 +17512,53 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
18042
17512
  helperText?: TranslationConfig | undefined;
18043
17513
  hideLabel?: boolean | undefined;
18044
17514
  uncorrectable?: boolean | undefined;
17515
+ })[];
17516
+ conditional?: import(".").JSONSchema | undefined;
17517
+ } | {
17518
+ type: "VERIFICATION";
17519
+ id: string;
17520
+ title: TranslationConfig;
17521
+ actions: {
17522
+ verify: {
17523
+ label: TranslationConfig;
17524
+ };
17525
+ cancel: {
17526
+ label: TranslationConfig;
17527
+ confirmation: {
17528
+ title: TranslationConfig;
17529
+ body: TranslationConfig;
17530
+ };
17531
+ };
17532
+ };
17533
+ fields: ({
17534
+ type: "DIVIDER";
17535
+ id: string;
17536
+ label: TranslationConfig;
17537
+ parent?: {
17538
+ $$field: string;
17539
+ } | undefined;
17540
+ validation?: {
17541
+ message: TranslationConfig;
17542
+ validator: import(".").JSONSchema;
17543
+ }[] | undefined;
17544
+ required?: boolean | undefined;
17545
+ conditionals?: ({
17546
+ type: "SHOW";
17547
+ conditional: import(".").JSONSchema;
17548
+ } | {
17549
+ type: "ENABLE";
17550
+ conditional: import(".").JSONSchema;
17551
+ } | {
17552
+ type: "DISPLAY_ON_REVIEW";
17553
+ conditional: import(".").JSONSchema;
17554
+ })[] | undefined;
17555
+ secured?: boolean | undefined;
17556
+ placeholder?: TranslationConfig | undefined;
17557
+ helperText?: TranslationConfig | undefined;
17558
+ hideLabel?: boolean | undefined;
17559
+ uncorrectable?: boolean | undefined;
18045
17560
  } | {
18046
- type: "PRINT_BUTTON";
18047
- id: string;
18048
- label: TranslationConfig;
18049
- configuration: {
18050
- template: string;
18051
- buttonLabel?: TranslationConfig | undefined;
18052
- };
18053
- parent?: {
18054
- $$field: string;
18055
- } | undefined;
18056
- validation?: {
18057
- message: TranslationConfig;
18058
- validator: import(".").JSONSchema;
18059
- }[] | undefined;
18060
- required?: boolean | undefined;
18061
- conditionals?: ({
18062
- type: "SHOW";
18063
- conditional: import(".").JSONSchema;
18064
- } | {
18065
- type: "ENABLE";
18066
- conditional: import(".").JSONSchema;
18067
- } | {
18068
- type: "DISPLAY_ON_REVIEW";
18069
- conditional: import(".").JSONSchema;
18070
- })[] | undefined;
18071
- secured?: boolean | undefined;
18072
- placeholder?: TranslationConfig | undefined;
18073
- helperText?: TranslationConfig | undefined;
18074
- hideLabel?: boolean | undefined;
18075
- uncorrectable?: boolean | undefined;
18076
- })[];
18077
- conditional?: import(".").JSONSchema | undefined;
18078
- } | {
18079
- type: "VERIFICATION";
18080
- id: string;
18081
- title: TranslationConfig;
18082
- actions: {
18083
- verify: {
18084
- label: TranslationConfig;
18085
- };
18086
- cancel: {
18087
- label: TranslationConfig;
18088
- confirmation: {
18089
- title: TranslationConfig;
18090
- body: TranslationConfig;
18091
- };
18092
- };
18093
- };
18094
- fields: ({
18095
- type: "DIVIDER";
18096
- id: string;
18097
- label: TranslationConfig;
18098
- parent?: {
18099
- $$field: string;
18100
- } | undefined;
18101
- validation?: {
18102
- message: TranslationConfig;
18103
- validator: import(".").JSONSchema;
18104
- }[] | undefined;
18105
- required?: boolean | undefined;
18106
- conditionals?: ({
18107
- type: "SHOW";
18108
- conditional: import(".").JSONSchema;
18109
- } | {
18110
- type: "ENABLE";
18111
- conditional: import(".").JSONSchema;
18112
- } | {
18113
- type: "DISPLAY_ON_REVIEW";
18114
- conditional: import(".").JSONSchema;
18115
- })[] | undefined;
18116
- secured?: boolean | undefined;
18117
- placeholder?: TranslationConfig | undefined;
18118
- helperText?: TranslationConfig | undefined;
18119
- hideLabel?: boolean | undefined;
18120
- uncorrectable?: boolean | undefined;
18121
- } | {
18122
- type: "TEXT";
17561
+ type: "TEXT";
18123
17562
  id: string;
18124
17563
  label: TranslationConfig;
18125
17564
  parent?: {
@@ -19025,37 +18464,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
19025
18464
  helperText?: TranslationConfig | undefined;
19026
18465
  hideLabel?: boolean | undefined;
19027
18466
  uncorrectable?: boolean | undefined;
19028
- } | {
19029
- type: "PRINT_BUTTON";
19030
- id: string;
19031
- label: TranslationConfig;
19032
- configuration: {
19033
- template: string;
19034
- buttonLabel?: TranslationConfig | undefined;
19035
- };
19036
- parent?: {
19037
- $$field: string;
19038
- } | undefined;
19039
- validation?: {
19040
- message: TranslationConfig;
19041
- validator: import(".").JSONSchema;
19042
- }[] | undefined;
19043
- required?: boolean | undefined;
19044
- conditionals?: ({
19045
- type: "SHOW";
19046
- conditional: import(".").JSONSchema;
19047
- } | {
19048
- type: "ENABLE";
19049
- conditional: import(".").JSONSchema;
19050
- } | {
19051
- type: "DISPLAY_ON_REVIEW";
19052
- conditional: import(".").JSONSchema;
19053
- })[] | undefined;
19054
- secured?: boolean | undefined;
19055
- placeholder?: TranslationConfig | undefined;
19056
- helperText?: TranslationConfig | undefined;
19057
- hideLabel?: boolean | undefined;
19058
- uncorrectable?: boolean | undefined;
19059
18467
  })[];
19060
18468
  conditional?: import(".").JSONSchema | undefined;
19061
18469
  })[];
@@ -19114,7 +18522,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
19114
18522
  title: TranslationConfig;
19115
18523
  fields: ({
19116
18524
  config: {
19117
- type: "exact" | "fuzzy" | "range";
18525
+ type: "exact" | "fuzzy" | "range" | "within";
19118
18526
  };
19119
18527
  fieldId: string;
19120
18528
  fieldType: "field";
@@ -19141,7 +18549,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
19141
18549
  excludeInSearchQuery?: boolean | undefined;
19142
18550
  } | {
19143
18551
  config: {
19144
- type: "exact" | "fuzzy" | "range";
18552
+ type: "exact" | "fuzzy" | "range" | "within";
19145
18553
  };
19146
18554
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
19147
18555
  fieldType: "event";
@@ -20656,57 +20064,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
20656
20064
  } | undefined;
20657
20065
  hideLabel?: boolean | undefined;
20658
20066
  uncorrectable?: boolean | undefined;
20659
- } | {
20660
- type: "PRINT_BUTTON";
20661
- id: string;
20662
- label: {
20663
- id: string;
20664
- description: string;
20665
- defaultMessage: string;
20666
- };
20667
- configuration: {
20668
- template: string;
20669
- buttonLabel?: {
20670
- id: string;
20671
- description: string;
20672
- defaultMessage: string;
20673
- } | undefined;
20674
- };
20675
- parent?: {
20676
- $$field: string;
20677
- } | undefined;
20678
- validation?: {
20679
- message: {
20680
- id: string;
20681
- description: string;
20682
- defaultMessage: string;
20683
- };
20684
- validator: import(".").JSONSchema;
20685
- }[] | undefined;
20686
- required?: boolean | undefined;
20687
- conditionals?: ({
20688
- type: "SHOW";
20689
- conditional: import(".").JSONSchema;
20690
- } | {
20691
- type: "ENABLE";
20692
- conditional: import(".").JSONSchema;
20693
- } | {
20694
- type: "DISPLAY_ON_REVIEW";
20695
- conditional: import(".").JSONSchema;
20696
- })[] | undefined;
20697
- secured?: boolean | undefined;
20698
- placeholder?: {
20699
- id: string;
20700
- description: string;
20701
- defaultMessage: string;
20702
- } | undefined;
20703
- helperText?: {
20704
- id: string;
20705
- description: string;
20706
- defaultMessage: string;
20707
- } | undefined;
20708
- hideLabel?: boolean | undefined;
20709
- uncorrectable?: boolean | undefined;
20710
20067
  })[];
20711
20068
  type?: "FORM" | undefined;
20712
20069
  conditional?: import(".").JSONSchema | undefined;
@@ -22191,21 +21548,79 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
22191
21548
  } | undefined;
22192
21549
  hideLabel?: boolean | undefined;
22193
21550
  uncorrectable?: boolean | undefined;
22194
- } | {
22195
- type: "PRINT_BUTTON";
21551
+ })[];
21552
+ };
21553
+ draft?: boolean | undefined;
21554
+ conditionals?: ({
21555
+ type: "SHOW";
21556
+ conditional: import(".").JSONSchema;
21557
+ } | {
21558
+ type: "ENABLE";
21559
+ conditional: import(".").JSONSchema;
21560
+ })[] | undefined;
21561
+ } | {
21562
+ type: "DECLARE";
21563
+ label: {
21564
+ id: string;
21565
+ description: string;
21566
+ defaultMessage: string;
21567
+ };
21568
+ review: {
21569
+ title: {
21570
+ id: string;
21571
+ description: string;
21572
+ defaultMessage: string;
21573
+ };
21574
+ fields: ({
21575
+ type: "DIVIDER";
22196
21576
  id: string;
22197
21577
  label: {
22198
21578
  id: string;
22199
21579
  description: string;
22200
21580
  defaultMessage: string;
22201
21581
  };
22202
- configuration: {
22203
- template: string;
22204
- buttonLabel?: {
21582
+ parent?: {
21583
+ $$field: string;
21584
+ } | undefined;
21585
+ validation?: {
21586
+ message: {
22205
21587
  id: string;
22206
21588
  description: string;
22207
21589
  defaultMessage: string;
22208
- } | undefined;
21590
+ };
21591
+ validator: import(".").JSONSchema;
21592
+ }[] | undefined;
21593
+ required?: boolean | undefined;
21594
+ conditionals?: ({
21595
+ type: "SHOW";
21596
+ conditional: import(".").JSONSchema;
21597
+ } | {
21598
+ type: "ENABLE";
21599
+ conditional: import(".").JSONSchema;
21600
+ } | {
21601
+ type: "DISPLAY_ON_REVIEW";
21602
+ conditional: import(".").JSONSchema;
21603
+ })[] | undefined;
21604
+ secured?: boolean | undefined;
21605
+ placeholder?: {
21606
+ id: string;
21607
+ description: string;
21608
+ defaultMessage: string;
21609
+ } | undefined;
21610
+ helperText?: {
21611
+ id: string;
21612
+ description: string;
21613
+ defaultMessage: string;
21614
+ } | undefined;
21615
+ hideLabel?: boolean | undefined;
21616
+ uncorrectable?: boolean | undefined;
21617
+ } | {
21618
+ type: "TEXT";
21619
+ id: string;
21620
+ label: {
21621
+ id: string;
21622
+ description: string;
21623
+ defaultMessage: string;
22209
21624
  };
22210
21625
  parent?: {
22211
21626
  $$field: string;
@@ -22242,132 +21657,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
22242
21657
  } | undefined;
22243
21658
  hideLabel?: boolean | undefined;
22244
21659
  uncorrectable?: boolean | undefined;
22245
- })[];
22246
- };
22247
- draft?: boolean | undefined;
22248
- conditionals?: ({
22249
- type: "SHOW";
22250
- conditional: import(".").JSONSchema;
22251
- } | {
22252
- type: "ENABLE";
22253
- conditional: import(".").JSONSchema;
22254
- })[] | undefined;
22255
- } | {
22256
- type: "DECLARE";
22257
- label: {
22258
- id: string;
22259
- description: string;
22260
- defaultMessage: string;
22261
- };
22262
- review: {
22263
- title: {
22264
- id: string;
22265
- description: string;
22266
- defaultMessage: string;
22267
- };
22268
- fields: ({
22269
- type: "DIVIDER";
22270
- id: string;
22271
- label: {
22272
- id: string;
22273
- description: string;
22274
- defaultMessage: string;
22275
- };
22276
- parent?: {
22277
- $$field: string;
22278
- } | undefined;
22279
- validation?: {
22280
- message: {
22281
- id: string;
22282
- description: string;
22283
- defaultMessage: string;
22284
- };
22285
- validator: import(".").JSONSchema;
22286
- }[] | undefined;
22287
- required?: boolean | undefined;
22288
- conditionals?: ({
22289
- type: "SHOW";
22290
- conditional: import(".").JSONSchema;
22291
- } | {
22292
- type: "ENABLE";
22293
- conditional: import(".").JSONSchema;
22294
- } | {
22295
- type: "DISPLAY_ON_REVIEW";
22296
- conditional: import(".").JSONSchema;
22297
- })[] | undefined;
22298
- secured?: boolean | undefined;
22299
- placeholder?: {
22300
- id: string;
22301
- description: string;
22302
- defaultMessage: string;
22303
- } | undefined;
22304
- helperText?: {
22305
- id: string;
22306
- description: string;
22307
- defaultMessage: string;
22308
- } | undefined;
22309
- hideLabel?: boolean | undefined;
22310
- uncorrectable?: boolean | undefined;
22311
- } | {
22312
- type: "TEXT";
22313
- id: string;
22314
- label: {
22315
- id: string;
22316
- description: string;
22317
- defaultMessage: string;
22318
- };
22319
- parent?: {
22320
- $$field: string;
22321
- } | undefined;
22322
- validation?: {
22323
- message: {
22324
- id: string;
22325
- description: string;
22326
- defaultMessage: string;
22327
- };
22328
- validator: import(".").JSONSchema;
22329
- }[] | undefined;
22330
- required?: boolean | undefined;
22331
- conditionals?: ({
22332
- type: "SHOW";
22333
- conditional: import(".").JSONSchema;
22334
- } | {
22335
- type: "ENABLE";
22336
- conditional: import(".").JSONSchema;
22337
- } | {
22338
- type: "DISPLAY_ON_REVIEW";
22339
- conditional: import(".").JSONSchema;
22340
- })[] | undefined;
22341
- secured?: boolean | undefined;
22342
- placeholder?: {
22343
- id: string;
22344
- description: string;
22345
- defaultMessage: string;
22346
- } | undefined;
22347
- helperText?: {
22348
- id: string;
22349
- description: string;
22350
- defaultMessage: string;
22351
- } | undefined;
22352
- hideLabel?: boolean | undefined;
22353
- uncorrectable?: boolean | undefined;
22354
- defaultValue?: string | undefined;
22355
- configuration?: {
22356
- type?: "text" | "password" | undefined;
22357
- maxLength?: number | undefined;
22358
- prefix?: {
22359
- id: string;
22360
- description: string;
22361
- defaultMessage: string;
22362
- } | undefined;
22363
- postfix?: {
22364
- id: string;
22365
- description: string;
22366
- defaultMessage: string;
22367
- } | undefined;
22368
- } | undefined;
22369
- } | {
22370
- type: "NUMBER";
21660
+ defaultValue?: string | undefined;
21661
+ configuration?: {
21662
+ type?: "text" | "password" | undefined;
21663
+ maxLength?: number | undefined;
21664
+ prefix?: {
21665
+ id: string;
21666
+ description: string;
21667
+ defaultMessage: string;
21668
+ } | undefined;
21669
+ postfix?: {
21670
+ id: string;
21671
+ description: string;
21672
+ defaultMessage: string;
21673
+ } | undefined;
21674
+ } | undefined;
21675
+ } | {
21676
+ type: "NUMBER";
22371
21677
  id: string;
22372
21678
  label: {
22373
21679
  id: string;
@@ -23731,57 +23037,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
23731
23037
  } | undefined;
23732
23038
  hideLabel?: boolean | undefined;
23733
23039
  uncorrectable?: boolean | undefined;
23734
- } | {
23735
- type: "PRINT_BUTTON";
23736
- id: string;
23737
- label: {
23738
- id: string;
23739
- description: string;
23740
- defaultMessage: string;
23741
- };
23742
- configuration: {
23743
- template: string;
23744
- buttonLabel?: {
23745
- id: string;
23746
- description: string;
23747
- defaultMessage: string;
23748
- } | undefined;
23749
- };
23750
- parent?: {
23751
- $$field: string;
23752
- } | undefined;
23753
- validation?: {
23754
- message: {
23755
- id: string;
23756
- description: string;
23757
- defaultMessage: string;
23758
- };
23759
- validator: import(".").JSONSchema;
23760
- }[] | undefined;
23761
- required?: boolean | undefined;
23762
- conditionals?: ({
23763
- type: "SHOW";
23764
- conditional: import(".").JSONSchema;
23765
- } | {
23766
- type: "ENABLE";
23767
- conditional: import(".").JSONSchema;
23768
- } | {
23769
- type: "DISPLAY_ON_REVIEW";
23770
- conditional: import(".").JSONSchema;
23771
- })[] | undefined;
23772
- secured?: boolean | undefined;
23773
- placeholder?: {
23774
- id: string;
23775
- description: string;
23776
- defaultMessage: string;
23777
- } | undefined;
23778
- helperText?: {
23779
- id: string;
23780
- description: string;
23781
- defaultMessage: string;
23782
- } | undefined;
23783
- hideLabel?: boolean | undefined;
23784
- uncorrectable?: boolean | undefined;
23785
23040
  })[];
23786
23041
  };
23787
23042
  draft?: boolean | undefined;
@@ -25271,21 +24526,79 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
25271
24526
  } | undefined;
25272
24527
  hideLabel?: boolean | undefined;
25273
24528
  uncorrectable?: boolean | undefined;
25274
- } | {
25275
- type: "PRINT_BUTTON";
24529
+ })[];
24530
+ };
24531
+ draft?: boolean | undefined;
24532
+ conditionals?: ({
24533
+ type: "SHOW";
24534
+ conditional: import(".").JSONSchema;
24535
+ } | {
24536
+ type: "ENABLE";
24537
+ conditional: import(".").JSONSchema;
24538
+ })[] | undefined;
24539
+ } | {
24540
+ type: "REGISTER";
24541
+ label: {
24542
+ id: string;
24543
+ description: string;
24544
+ defaultMessage: string;
24545
+ };
24546
+ review: {
24547
+ title: {
24548
+ id: string;
24549
+ description: string;
24550
+ defaultMessage: string;
24551
+ };
24552
+ fields: ({
24553
+ type: "DIVIDER";
25276
24554
  id: string;
25277
24555
  label: {
25278
24556
  id: string;
25279
24557
  description: string;
25280
24558
  defaultMessage: string;
25281
24559
  };
25282
- configuration: {
25283
- template: string;
25284
- buttonLabel?: {
24560
+ parent?: {
24561
+ $$field: string;
24562
+ } | undefined;
24563
+ validation?: {
24564
+ message: {
25285
24565
  id: string;
25286
24566
  description: string;
25287
24567
  defaultMessage: string;
25288
- } | undefined;
24568
+ };
24569
+ validator: import(".").JSONSchema;
24570
+ }[] | undefined;
24571
+ required?: boolean | undefined;
24572
+ conditionals?: ({
24573
+ type: "SHOW";
24574
+ conditional: import(".").JSONSchema;
24575
+ } | {
24576
+ type: "ENABLE";
24577
+ conditional: import(".").JSONSchema;
24578
+ } | {
24579
+ type: "DISPLAY_ON_REVIEW";
24580
+ conditional: import(".").JSONSchema;
24581
+ })[] | undefined;
24582
+ secured?: boolean | undefined;
24583
+ placeholder?: {
24584
+ id: string;
24585
+ description: string;
24586
+ defaultMessage: string;
24587
+ } | undefined;
24588
+ helperText?: {
24589
+ id: string;
24590
+ description: string;
24591
+ defaultMessage: string;
24592
+ } | undefined;
24593
+ hideLabel?: boolean | undefined;
24594
+ uncorrectable?: boolean | undefined;
24595
+ } | {
24596
+ type: "TEXT";
24597
+ id: string;
24598
+ label: {
24599
+ id: string;
24600
+ description: string;
24601
+ defaultMessage: string;
25289
24602
  };
25290
24603
  parent?: {
25291
24604
  $$field: string;
@@ -25322,132 +24635,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
25322
24635
  } | undefined;
25323
24636
  hideLabel?: boolean | undefined;
25324
24637
  uncorrectable?: boolean | undefined;
25325
- })[];
25326
- };
25327
- draft?: boolean | undefined;
25328
- conditionals?: ({
25329
- type: "SHOW";
25330
- conditional: import(".").JSONSchema;
25331
- } | {
25332
- type: "ENABLE";
25333
- conditional: import(".").JSONSchema;
25334
- })[] | undefined;
25335
- } | {
25336
- type: "REGISTER";
25337
- label: {
25338
- id: string;
25339
- description: string;
25340
- defaultMessage: string;
25341
- };
25342
- review: {
25343
- title: {
25344
- id: string;
25345
- description: string;
25346
- defaultMessage: string;
25347
- };
25348
- fields: ({
25349
- type: "DIVIDER";
25350
- id: string;
25351
- label: {
25352
- id: string;
25353
- description: string;
25354
- defaultMessage: string;
25355
- };
25356
- parent?: {
25357
- $$field: string;
25358
- } | undefined;
25359
- validation?: {
25360
- message: {
25361
- id: string;
25362
- description: string;
25363
- defaultMessage: string;
25364
- };
25365
- validator: import(".").JSONSchema;
25366
- }[] | undefined;
25367
- required?: boolean | undefined;
25368
- conditionals?: ({
25369
- type: "SHOW";
25370
- conditional: import(".").JSONSchema;
25371
- } | {
25372
- type: "ENABLE";
25373
- conditional: import(".").JSONSchema;
25374
- } | {
25375
- type: "DISPLAY_ON_REVIEW";
25376
- conditional: import(".").JSONSchema;
25377
- })[] | undefined;
25378
- secured?: boolean | undefined;
25379
- placeholder?: {
25380
- id: string;
25381
- description: string;
25382
- defaultMessage: string;
25383
- } | undefined;
25384
- helperText?: {
25385
- id: string;
25386
- description: string;
25387
- defaultMessage: string;
25388
- } | undefined;
25389
- hideLabel?: boolean | undefined;
25390
- uncorrectable?: boolean | undefined;
25391
- } | {
25392
- type: "TEXT";
25393
- id: string;
25394
- label: {
25395
- id: string;
25396
- description: string;
25397
- defaultMessage: string;
25398
- };
25399
- parent?: {
25400
- $$field: string;
25401
- } | undefined;
25402
- validation?: {
25403
- message: {
25404
- id: string;
25405
- description: string;
25406
- defaultMessage: string;
25407
- };
25408
- validator: import(".").JSONSchema;
25409
- }[] | undefined;
25410
- required?: boolean | undefined;
25411
- conditionals?: ({
25412
- type: "SHOW";
25413
- conditional: import(".").JSONSchema;
25414
- } | {
25415
- type: "ENABLE";
25416
- conditional: import(".").JSONSchema;
25417
- } | {
25418
- type: "DISPLAY_ON_REVIEW";
25419
- conditional: import(".").JSONSchema;
25420
- })[] | undefined;
25421
- secured?: boolean | undefined;
25422
- placeholder?: {
25423
- id: string;
25424
- description: string;
25425
- defaultMessage: string;
25426
- } | undefined;
25427
- helperText?: {
25428
- id: string;
25429
- description: string;
25430
- defaultMessage: string;
25431
- } | undefined;
25432
- hideLabel?: boolean | undefined;
25433
- uncorrectable?: boolean | undefined;
25434
- defaultValue?: string | undefined;
25435
- configuration?: {
25436
- type?: "text" | "password" | undefined;
25437
- maxLength?: number | undefined;
25438
- prefix?: {
25439
- id: string;
25440
- description: string;
25441
- defaultMessage: string;
25442
- } | undefined;
25443
- postfix?: {
25444
- id: string;
25445
- description: string;
25446
- defaultMessage: string;
25447
- } | undefined;
25448
- } | undefined;
25449
- } | {
25450
- type: "NUMBER";
24638
+ defaultValue?: string | undefined;
24639
+ configuration?: {
24640
+ type?: "text" | "password" | undefined;
24641
+ maxLength?: number | undefined;
24642
+ prefix?: {
24643
+ id: string;
24644
+ description: string;
24645
+ defaultMessage: string;
24646
+ } | undefined;
24647
+ postfix?: {
24648
+ id: string;
24649
+ description: string;
24650
+ defaultMessage: string;
24651
+ } | undefined;
24652
+ } | undefined;
24653
+ } | {
24654
+ type: "NUMBER";
25451
24655
  id: string;
25452
24656
  label: {
25453
24657
  id: string;
@@ -26811,57 +26015,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
26811
26015
  } | undefined;
26812
26016
  hideLabel?: boolean | undefined;
26813
26017
  uncorrectable?: boolean | undefined;
26814
- } | {
26815
- type: "PRINT_BUTTON";
26816
- id: string;
26817
- label: {
26818
- id: string;
26819
- description: string;
26820
- defaultMessage: string;
26821
- };
26822
- configuration: {
26823
- template: string;
26824
- buttonLabel?: {
26825
- id: string;
26826
- description: string;
26827
- defaultMessage: string;
26828
- } | undefined;
26829
- };
26830
- parent?: {
26831
- $$field: string;
26832
- } | undefined;
26833
- validation?: {
26834
- message: {
26835
- id: string;
26836
- description: string;
26837
- defaultMessage: string;
26838
- };
26839
- validator: import(".").JSONSchema;
26840
- }[] | undefined;
26841
- required?: boolean | undefined;
26842
- conditionals?: ({
26843
- type: "SHOW";
26844
- conditional: import(".").JSONSchema;
26845
- } | {
26846
- type: "ENABLE";
26847
- conditional: import(".").JSONSchema;
26848
- } | {
26849
- type: "DISPLAY_ON_REVIEW";
26850
- conditional: import(".").JSONSchema;
26851
- })[] | undefined;
26852
- secured?: boolean | undefined;
26853
- placeholder?: {
26854
- id: string;
26855
- description: string;
26856
- defaultMessage: string;
26857
- } | undefined;
26858
- helperText?: {
26859
- id: string;
26860
- description: string;
26861
- defaultMessage: string;
26862
- } | undefined;
26863
- hideLabel?: boolean | undefined;
26864
- uncorrectable?: boolean | undefined;
26865
26018
  })[];
26866
26019
  };
26867
26020
  draft?: boolean | undefined;
@@ -28418,57 +27571,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
28418
27571
  } | undefined;
28419
27572
  hideLabel?: boolean | undefined;
28420
27573
  uncorrectable?: boolean | undefined;
28421
- } | {
28422
- type: "PRINT_BUTTON";
28423
- id: string;
28424
- label: {
28425
- id: string;
28426
- description: string;
28427
- defaultMessage: string;
28428
- };
28429
- configuration: {
28430
- template: string;
28431
- buttonLabel?: {
28432
- id: string;
28433
- description: string;
28434
- defaultMessage: string;
28435
- } | undefined;
28436
- };
28437
- parent?: {
28438
- $$field: string;
28439
- } | undefined;
28440
- validation?: {
28441
- message: {
28442
- id: string;
28443
- description: string;
28444
- defaultMessage: string;
28445
- };
28446
- validator: import(".").JSONSchema;
28447
- }[] | undefined;
28448
- required?: boolean | undefined;
28449
- conditionals?: ({
28450
- type: "SHOW";
28451
- conditional: import(".").JSONSchema;
28452
- } | {
28453
- type: "ENABLE";
28454
- conditional: import(".").JSONSchema;
28455
- } | {
28456
- type: "DISPLAY_ON_REVIEW";
28457
- conditional: import(".").JSONSchema;
28458
- })[] | undefined;
28459
- secured?: boolean | undefined;
28460
- placeholder?: {
28461
- id: string;
28462
- description: string;
28463
- defaultMessage: string;
28464
- } | undefined;
28465
- helperText?: {
28466
- id: string;
28467
- description: string;
28468
- defaultMessage: string;
28469
- } | undefined;
28470
- hideLabel?: boolean | undefined;
28471
- uncorrectable?: boolean | undefined;
28472
27574
  })[];
28473
27575
  type?: "FORM" | undefined;
28474
27576
  conditional?: import(".").JSONSchema | undefined;
@@ -29974,21 +29076,88 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
29974
29076
  } | undefined;
29975
29077
  hideLabel?: boolean | undefined;
29976
29078
  uncorrectable?: boolean | undefined;
29977
- } | {
29978
- type: "PRINT_BUTTON";
29079
+ })[];
29080
+ conditional?: import(".").JSONSchema | undefined;
29081
+ })[];
29082
+ };
29083
+ draft?: boolean | undefined;
29084
+ conditionals?: ({
29085
+ type: "SHOW";
29086
+ conditional: import(".").JSONSchema;
29087
+ } | {
29088
+ type: "ENABLE";
29089
+ conditional: import(".").JSONSchema;
29090
+ })[] | undefined;
29091
+ } | {
29092
+ type: "REQUEST_CORRECTION";
29093
+ label: {
29094
+ id: string;
29095
+ description: string;
29096
+ defaultMessage: string;
29097
+ };
29098
+ correctionForm: {
29099
+ label: {
29100
+ id: string;
29101
+ description: string;
29102
+ defaultMessage: string;
29103
+ };
29104
+ pages: ({
29105
+ id: string;
29106
+ title: {
29107
+ id: string;
29108
+ description: string;
29109
+ defaultMessage: string;
29110
+ };
29111
+ fields: ({
29112
+ type: "DIVIDER";
29979
29113
  id: string;
29980
29114
  label: {
29981
29115
  id: string;
29982
29116
  description: string;
29983
29117
  defaultMessage: string;
29984
29118
  };
29985
- configuration: {
29986
- template: string;
29987
- buttonLabel?: {
29119
+ parent?: {
29120
+ $$field: string;
29121
+ } | undefined;
29122
+ validation?: {
29123
+ message: {
29988
29124
  id: string;
29989
29125
  description: string;
29990
29126
  defaultMessage: string;
29991
- } | undefined;
29127
+ };
29128
+ validator: import(".").JSONSchema;
29129
+ }[] | undefined;
29130
+ required?: boolean | undefined;
29131
+ conditionals?: ({
29132
+ type: "SHOW";
29133
+ conditional: import(".").JSONSchema;
29134
+ } | {
29135
+ type: "ENABLE";
29136
+ conditional: import(".").JSONSchema;
29137
+ } | {
29138
+ type: "DISPLAY_ON_REVIEW";
29139
+ conditional: import(".").JSONSchema;
29140
+ })[] | undefined;
29141
+ secured?: boolean | undefined;
29142
+ placeholder?: {
29143
+ id: string;
29144
+ description: string;
29145
+ defaultMessage: string;
29146
+ } | undefined;
29147
+ helperText?: {
29148
+ id: string;
29149
+ description: string;
29150
+ defaultMessage: string;
29151
+ } | undefined;
29152
+ hideLabel?: boolean | undefined;
29153
+ uncorrectable?: boolean | undefined;
29154
+ } | {
29155
+ type: "TEXT";
29156
+ id: string;
29157
+ label: {
29158
+ id: string;
29159
+ description: string;
29160
+ defaultMessage: string;
29992
29161
  };
29993
29162
  parent?: {
29994
29163
  $$field: string;
@@ -30025,40 +29194,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30025
29194
  } | undefined;
30026
29195
  hideLabel?: boolean | undefined;
30027
29196
  uncorrectable?: boolean | undefined;
30028
- })[];
30029
- conditional?: import(".").JSONSchema | undefined;
30030
- })[];
30031
- };
30032
- draft?: boolean | undefined;
30033
- conditionals?: ({
30034
- type: "SHOW";
30035
- conditional: import(".").JSONSchema;
30036
- } | {
30037
- type: "ENABLE";
30038
- conditional: import(".").JSONSchema;
30039
- })[] | undefined;
30040
- } | {
30041
- type: "REQUEST_CORRECTION";
30042
- label: {
30043
- id: string;
30044
- description: string;
30045
- defaultMessage: string;
30046
- };
30047
- correctionForm: {
30048
- label: {
30049
- id: string;
30050
- description: string;
30051
- defaultMessage: string;
30052
- };
30053
- pages: ({
30054
- id: string;
30055
- title: {
30056
- id: string;
30057
- description: string;
30058
- defaultMessage: string;
30059
- };
30060
- fields: ({
30061
- type: "DIVIDER";
29197
+ defaultValue?: string | undefined;
29198
+ configuration?: {
29199
+ type?: "text" | "password" | undefined;
29200
+ maxLength?: number | undefined;
29201
+ prefix?: {
29202
+ id: string;
29203
+ description: string;
29204
+ defaultMessage: string;
29205
+ } | undefined;
29206
+ postfix?: {
29207
+ id: string;
29208
+ description: string;
29209
+ defaultMessage: string;
29210
+ } | undefined;
29211
+ } | undefined;
29212
+ } | {
29213
+ type: "NUMBER";
30062
29214
  id: string;
30063
29215
  label: {
30064
29216
  id: string;
@@ -30100,8 +29252,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30100
29252
  } | undefined;
30101
29253
  hideLabel?: boolean | undefined;
30102
29254
  uncorrectable?: boolean | undefined;
29255
+ defaultValue?: number | undefined;
29256
+ configuration?: {
29257
+ prefix?: {
29258
+ id: string;
29259
+ description: string;
29260
+ defaultMessage: string;
29261
+ } | undefined;
29262
+ postfix?: {
29263
+ id: string;
29264
+ description: string;
29265
+ defaultMessage: string;
29266
+ } | undefined;
29267
+ min?: number | undefined;
29268
+ max?: number | undefined;
29269
+ } | undefined;
30103
29270
  } | {
30104
- type: "TEXT";
29271
+ type: "TEXTAREA";
30105
29272
  id: string;
30106
29273
  label: {
30107
29274
  id: string;
@@ -30145,7 +29312,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30145
29312
  uncorrectable?: boolean | undefined;
30146
29313
  defaultValue?: string | undefined;
30147
29314
  configuration?: {
30148
- type?: "text" | "password" | undefined;
30149
29315
  maxLength?: number | undefined;
30150
29316
  prefix?: {
30151
29317
  id: string;
@@ -30157,15 +29323,22 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30157
29323
  description: string;
30158
29324
  defaultMessage: string;
30159
29325
  } | undefined;
29326
+ rows?: number | undefined;
29327
+ cols?: number | undefined;
30160
29328
  } | undefined;
30161
29329
  } | {
30162
- type: "NUMBER";
29330
+ type: "SIGNATURE";
30163
29331
  id: string;
30164
29332
  label: {
30165
29333
  id: string;
30166
29334
  description: string;
30167
29335
  defaultMessage: string;
30168
29336
  };
29337
+ signaturePromptLabel: {
29338
+ id: string;
29339
+ description: string;
29340
+ defaultMessage: string;
29341
+ };
30169
29342
  parent?: {
30170
29343
  $$field: string;
30171
29344
  } | undefined;
@@ -30201,23 +29374,13 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30201
29374
  } | undefined;
30202
29375
  hideLabel?: boolean | undefined;
30203
29376
  uncorrectable?: boolean | undefined;
30204
- defaultValue?: number | undefined;
29377
+ defaultValue?: string | undefined;
30205
29378
  configuration?: {
30206
- prefix?: {
30207
- id: string;
30208
- description: string;
30209
- defaultMessage: string;
30210
- } | undefined;
30211
- postfix?: {
30212
- id: string;
30213
- description: string;
30214
- defaultMessage: string;
30215
- } | undefined;
30216
- min?: number | undefined;
30217
- max?: number | undefined;
29379
+ maxFileSize?: number | undefined;
29380
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
30218
29381
  } | undefined;
30219
29382
  } | {
30220
- type: "TEXTAREA";
29383
+ type: "EMAIL";
30221
29384
  id: string;
30222
29385
  label: {
30223
29386
  id: string;
@@ -30262,32 +29425,15 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30262
29425
  defaultValue?: string | undefined;
30263
29426
  configuration?: {
30264
29427
  maxLength?: number | undefined;
30265
- prefix?: {
30266
- id: string;
30267
- description: string;
30268
- defaultMessage: string;
30269
- } | undefined;
30270
- postfix?: {
30271
- id: string;
30272
- description: string;
30273
- defaultMessage: string;
30274
- } | undefined;
30275
- rows?: number | undefined;
30276
- cols?: number | undefined;
30277
29428
  } | undefined;
30278
29429
  } | {
30279
- type: "SIGNATURE";
29430
+ type: "DATE";
30280
29431
  id: string;
30281
29432
  label: {
30282
29433
  id: string;
30283
29434
  description: string;
30284
29435
  defaultMessage: string;
30285
29436
  };
30286
- signaturePromptLabel: {
30287
- id: string;
30288
- description: string;
30289
- defaultMessage: string;
30290
- };
30291
29437
  parent?: {
30292
29438
  $$field: string;
30293
29439
  } | undefined;
@@ -30325,11 +29471,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30325
29471
  uncorrectable?: boolean | undefined;
30326
29472
  defaultValue?: string | undefined;
30327
29473
  configuration?: {
30328
- maxFileSize?: number | undefined;
30329
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
29474
+ notice?: {
29475
+ id: string;
29476
+ description: string;
29477
+ defaultMessage: string;
29478
+ } | undefined;
30330
29479
  } | undefined;
30331
29480
  } | {
30332
- type: "EMAIL";
29481
+ type: "TIME";
30333
29482
  id: string;
30334
29483
  label: {
30335
29484
  id: string;
@@ -30373,10 +29522,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30373
29522
  uncorrectable?: boolean | undefined;
30374
29523
  defaultValue?: string | undefined;
30375
29524
  configuration?: {
30376
- maxLength?: number | undefined;
29525
+ notice?: {
29526
+ id: string;
29527
+ description: string;
29528
+ defaultMessage: string;
29529
+ } | undefined;
30377
29530
  } | undefined;
30378
29531
  } | {
30379
- type: "DATE";
29532
+ type: "DATE_RANGE";
30380
29533
  id: string;
30381
29534
  label: {
30382
29535
  id: string;
@@ -30418,7 +29571,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30418
29571
  } | undefined;
30419
29572
  hideLabel?: boolean | undefined;
30420
29573
  uncorrectable?: boolean | undefined;
30421
- defaultValue?: string | undefined;
29574
+ defaultValue?: string | {
29575
+ start: string;
29576
+ end: string;
29577
+ } | undefined;
30422
29578
  configuration?: {
30423
29579
  notice?: {
30424
29580
  id: string;
@@ -30427,7 +29583,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30427
29583
  } | undefined;
30428
29584
  } | undefined;
30429
29585
  } | {
30430
- type: "TIME";
29586
+ type: "PARAGRAPH";
30431
29587
  id: string;
30432
29588
  label: {
30433
29589
  id: string;
@@ -30471,14 +29627,57 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30471
29627
  uncorrectable?: boolean | undefined;
30472
29628
  defaultValue?: string | undefined;
30473
29629
  configuration?: {
30474
- notice?: {
29630
+ styles?: {
29631
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
29632
+ hint?: boolean | undefined;
29633
+ } | undefined;
29634
+ } | undefined;
29635
+ } | {
29636
+ type: "PAGE_HEADER";
29637
+ id: string;
29638
+ label: {
29639
+ id: string;
29640
+ description: string;
29641
+ defaultMessage: string;
29642
+ };
29643
+ parent?: {
29644
+ $$field: string;
29645
+ } | undefined;
29646
+ validation?: {
29647
+ message: {
30475
29648
  id: string;
30476
29649
  description: string;
30477
29650
  defaultMessage: string;
30478
- } | undefined;
29651
+ };
29652
+ validator: import(".").JSONSchema;
29653
+ }[] | undefined;
29654
+ required?: boolean | undefined;
29655
+ conditionals?: ({
29656
+ type: "SHOW";
29657
+ conditional: import(".").JSONSchema;
29658
+ } | {
29659
+ type: "ENABLE";
29660
+ conditional: import(".").JSONSchema;
29661
+ } | {
29662
+ type: "DISPLAY_ON_REVIEW";
29663
+ conditional: import(".").JSONSchema;
29664
+ })[] | undefined;
29665
+ secured?: boolean | undefined;
29666
+ placeholder?: {
29667
+ id: string;
29668
+ description: string;
29669
+ defaultMessage: string;
29670
+ } | undefined;
29671
+ helperText?: {
29672
+ id: string;
29673
+ description: string;
29674
+ defaultMessage: string;
30479
29675
  } | undefined;
29676
+ hideLabel?: boolean | undefined;
29677
+ uncorrectable?: boolean | undefined;
29678
+ defaultValue?: string | undefined;
30480
29679
  } | {
30481
- type: "DATE_RANGE";
29680
+ type: "FILE";
30482
29681
  id: string;
30483
29682
  label: {
30484
29683
  id: string;
@@ -30520,20 +29719,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30520
29719
  } | undefined;
30521
29720
  hideLabel?: boolean | undefined;
30522
29721
  uncorrectable?: boolean | undefined;
30523
- defaultValue?: string | {
30524
- start: string;
30525
- end: string;
29722
+ defaultValue?: {
29723
+ type: string;
29724
+ path: string;
29725
+ originalFilename: string;
30526
29726
  } | undefined;
30527
29727
  configuration?: {
30528
- notice?: {
29728
+ maxFileSize?: number | undefined;
29729
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
29730
+ style?: {
29731
+ width?: "full" | "auto" | undefined;
29732
+ } | undefined;
29733
+ fileName?: {
30529
29734
  id: string;
30530
29735
  description: string;
30531
29736
  defaultMessage: string;
30532
29737
  } | undefined;
30533
29738
  } | undefined;
30534
29739
  } | {
30535
- type: "PARAGRAPH";
29740
+ type: "RADIO_GROUP";
30536
29741
  id: string;
29742
+ options: {
29743
+ value: string;
29744
+ label: {
29745
+ id: string;
29746
+ description: string;
29747
+ defaultMessage: string;
29748
+ };
29749
+ }[];
30537
29750
  label: {
30538
29751
  id: string;
30539
29752
  description: string;
@@ -30577,18 +29790,22 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30577
29790
  defaultValue?: string | undefined;
30578
29791
  configuration?: {
30579
29792
  styles?: {
30580
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
30581
- hint?: boolean | undefined;
29793
+ size?: "NORMAL" | "LARGE" | undefined;
30582
29794
  } | undefined;
30583
29795
  } | undefined;
30584
29796
  } | {
30585
- type: "PAGE_HEADER";
29797
+ type: "BULLET_LIST";
30586
29798
  id: string;
30587
29799
  label: {
30588
29800
  id: string;
30589
29801
  description: string;
30590
29802
  defaultMessage: string;
30591
29803
  };
29804
+ items: {
29805
+ id: string;
29806
+ description: string;
29807
+ defaultMessage: string;
29808
+ }[];
30592
29809
  parent?: {
30593
29810
  $$field: string;
30594
29811
  } | undefined;
@@ -30625,9 +29842,22 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30625
29842
  hideLabel?: boolean | undefined;
30626
29843
  uncorrectable?: boolean | undefined;
30627
29844
  defaultValue?: string | undefined;
29845
+ configuration?: {
29846
+ styles?: {
29847
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
29848
+ } | undefined;
29849
+ } | undefined;
30628
29850
  } | {
30629
- type: "FILE";
29851
+ type: "SELECT";
30630
29852
  id: string;
29853
+ options: {
29854
+ value: string;
29855
+ label: {
29856
+ id: string;
29857
+ description: string;
29858
+ defaultMessage: string;
29859
+ };
29860
+ }[];
30631
29861
  label: {
30632
29862
  id: string;
30633
29863
  description: string;
@@ -30668,191 +29898,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
30668
29898
  } | undefined;
30669
29899
  hideLabel?: boolean | undefined;
30670
29900
  uncorrectable?: boolean | undefined;
30671
- defaultValue?: {
30672
- type: string;
30673
- path: string;
30674
- originalFilename: string;
30675
- } | undefined;
30676
- configuration?: {
30677
- maxFileSize?: number | undefined;
30678
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
30679
- style?: {
30680
- width?: "full" | "auto" | undefined;
30681
- } | undefined;
30682
- fileName?: {
30683
- id: string;
30684
- description: string;
30685
- defaultMessage: string;
30686
- } | undefined;
30687
- } | undefined;
29901
+ defaultValue?: string | undefined;
30688
29902
  } | {
30689
- type: "RADIO_GROUP";
29903
+ type: "SELECT_DATE_RANGE";
30690
29904
  id: string;
30691
29905
  options: {
30692
- value: string;
30693
- label: {
30694
- id: string;
30695
- description: string;
30696
- defaultMessage: string;
30697
- };
30698
- }[];
30699
- label: {
30700
- id: string;
30701
- description: string;
30702
- defaultMessage: string;
30703
- };
30704
- parent?: {
30705
- $$field: string;
30706
- } | undefined;
30707
- validation?: {
30708
- message: {
30709
- id: string;
30710
- description: string;
30711
- defaultMessage: string;
30712
- };
30713
- validator: import(".").JSONSchema;
30714
- }[] | undefined;
30715
- required?: boolean | undefined;
30716
- conditionals?: ({
30717
- type: "SHOW";
30718
- conditional: import(".").JSONSchema;
30719
- } | {
30720
- type: "ENABLE";
30721
- conditional: import(".").JSONSchema;
30722
- } | {
30723
- type: "DISPLAY_ON_REVIEW";
30724
- conditional: import(".").JSONSchema;
30725
- })[] | undefined;
30726
- secured?: boolean | undefined;
30727
- placeholder?: {
30728
- id: string;
30729
- description: string;
30730
- defaultMessage: string;
30731
- } | undefined;
30732
- helperText?: {
30733
- id: string;
30734
- description: string;
30735
- defaultMessage: string;
30736
- } | undefined;
30737
- hideLabel?: boolean | undefined;
30738
- uncorrectable?: boolean | undefined;
30739
- defaultValue?: string | undefined;
30740
- configuration?: {
30741
- styles?: {
30742
- size?: "NORMAL" | "LARGE" | undefined;
30743
- } | undefined;
30744
- } | undefined;
30745
- } | {
30746
- type: "BULLET_LIST";
30747
- id: string;
30748
- label: {
30749
- id: string;
30750
- description: string;
30751
- defaultMessage: string;
30752
- };
30753
- items: {
30754
- id: string;
30755
- description: string;
30756
- defaultMessage: string;
30757
- }[];
30758
- parent?: {
30759
- $$field: string;
30760
- } | undefined;
30761
- validation?: {
30762
- message: {
30763
- id: string;
30764
- description: string;
30765
- defaultMessage: string;
30766
- };
30767
- validator: import(".").JSONSchema;
30768
- }[] | undefined;
30769
- required?: boolean | undefined;
30770
- conditionals?: ({
30771
- type: "SHOW";
30772
- conditional: import(".").JSONSchema;
30773
- } | {
30774
- type: "ENABLE";
30775
- conditional: import(".").JSONSchema;
30776
- } | {
30777
- type: "DISPLAY_ON_REVIEW";
30778
- conditional: import(".").JSONSchema;
30779
- })[] | undefined;
30780
- secured?: boolean | undefined;
30781
- placeholder?: {
30782
- id: string;
30783
- description: string;
30784
- defaultMessage: string;
30785
- } | undefined;
30786
- helperText?: {
30787
- id: string;
30788
- description: string;
30789
- defaultMessage: string;
30790
- } | undefined;
30791
- hideLabel?: boolean | undefined;
30792
- uncorrectable?: boolean | undefined;
30793
- defaultValue?: string | undefined;
30794
- configuration?: {
30795
- styles?: {
30796
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
30797
- } | undefined;
30798
- } | undefined;
30799
- } | {
30800
- type: "SELECT";
30801
- id: string;
30802
- options: {
30803
- value: string;
30804
- label: {
30805
- id: string;
30806
- description: string;
30807
- defaultMessage: string;
30808
- };
30809
- }[];
30810
- label: {
30811
- id: string;
30812
- description: string;
30813
- defaultMessage: string;
30814
- };
30815
- parent?: {
30816
- $$field: string;
30817
- } | undefined;
30818
- validation?: {
30819
- message: {
30820
- id: string;
30821
- description: string;
30822
- defaultMessage: string;
30823
- };
30824
- validator: import(".").JSONSchema;
30825
- }[] | undefined;
30826
- required?: boolean | undefined;
30827
- conditionals?: ({
30828
- type: "SHOW";
30829
- conditional: import(".").JSONSchema;
30830
- } | {
30831
- type: "ENABLE";
30832
- conditional: import(".").JSONSchema;
30833
- } | {
30834
- type: "DISPLAY_ON_REVIEW";
30835
- conditional: import(".").JSONSchema;
30836
- })[] | undefined;
30837
- secured?: boolean | undefined;
30838
- placeholder?: {
30839
- id: string;
30840
- description: string;
30841
- defaultMessage: string;
30842
- } | undefined;
30843
- helperText?: {
30844
- id: string;
30845
- description: string;
30846
- defaultMessage: string;
30847
- } | undefined;
30848
- hideLabel?: boolean | undefined;
30849
- uncorrectable?: boolean | undefined;
30850
- defaultValue?: string | undefined;
30851
- } | {
30852
- type: "SELECT_DATE_RANGE";
30853
- id: string;
30854
- options: {
30855
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
29906
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
30856
29907
  label: {
30857
29908
  id: string;
30858
29909
  description: string;
@@ -31523,57 +30574,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
31523
30574
  } | undefined;
31524
30575
  hideLabel?: boolean | undefined;
31525
30576
  uncorrectable?: boolean | undefined;
31526
- } | {
31527
- type: "PRINT_BUTTON";
31528
- id: string;
31529
- label: {
31530
- id: string;
31531
- description: string;
31532
- defaultMessage: string;
31533
- };
31534
- configuration: {
31535
- template: string;
31536
- buttonLabel?: {
31537
- id: string;
31538
- description: string;
31539
- defaultMessage: string;
31540
- } | undefined;
31541
- };
31542
- parent?: {
31543
- $$field: string;
31544
- } | undefined;
31545
- validation?: {
31546
- message: {
31547
- id: string;
31548
- description: string;
31549
- defaultMessage: string;
31550
- };
31551
- validator: import(".").JSONSchema;
31552
- }[] | undefined;
31553
- required?: boolean | undefined;
31554
- conditionals?: ({
31555
- type: "SHOW";
31556
- conditional: import(".").JSONSchema;
31557
- } | {
31558
- type: "ENABLE";
31559
- conditional: import(".").JSONSchema;
31560
- } | {
31561
- type: "DISPLAY_ON_REVIEW";
31562
- conditional: import(".").JSONSchema;
31563
- })[] | undefined;
31564
- secured?: boolean | undefined;
31565
- placeholder?: {
31566
- id: string;
31567
- description: string;
31568
- defaultMessage: string;
31569
- } | undefined;
31570
- helperText?: {
31571
- id: string;
31572
- description: string;
31573
- defaultMessage: string;
31574
- } | undefined;
31575
- hideLabel?: boolean | undefined;
31576
- uncorrectable?: boolean | undefined;
31577
30577
  })[];
31578
30578
  type?: "FORM" | undefined;
31579
30579
  conditional?: import(".").JSONSchema | undefined;
@@ -33079,57 +32079,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
33079
32079
  } | undefined;
33080
32080
  hideLabel?: boolean | undefined;
33081
32081
  uncorrectable?: boolean | undefined;
33082
- } | {
33083
- type: "PRINT_BUTTON";
33084
- id: string;
33085
- label: {
33086
- id: string;
33087
- description: string;
33088
- defaultMessage: string;
33089
- };
33090
- configuration: {
33091
- template: string;
33092
- buttonLabel?: {
33093
- id: string;
33094
- description: string;
33095
- defaultMessage: string;
33096
- } | undefined;
33097
- };
33098
- parent?: {
33099
- $$field: string;
33100
- } | undefined;
33101
- validation?: {
33102
- message: {
33103
- id: string;
33104
- description: string;
33105
- defaultMessage: string;
33106
- };
33107
- validator: import(".").JSONSchema;
33108
- }[] | undefined;
33109
- required?: boolean | undefined;
33110
- conditionals?: ({
33111
- type: "SHOW";
33112
- conditional: import(".").JSONSchema;
33113
- } | {
33114
- type: "ENABLE";
33115
- conditional: import(".").JSONSchema;
33116
- } | {
33117
- type: "DISPLAY_ON_REVIEW";
33118
- conditional: import(".").JSONSchema;
33119
- })[] | undefined;
33120
- secured?: boolean | undefined;
33121
- placeholder?: {
33122
- id: string;
33123
- description: string;
33124
- defaultMessage: string;
33125
- } | undefined;
33126
- helperText?: {
33127
- id: string;
33128
- description: string;
33129
- defaultMessage: string;
33130
- } | undefined;
33131
- hideLabel?: boolean | undefined;
33132
- uncorrectable?: boolean | undefined;
33133
32082
  })[];
33134
32083
  conditional?: import(".").JSONSchema | undefined;
33135
32084
  })[];
@@ -33243,7 +32192,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
33243
32192
  };
33244
32193
  fields: ({
33245
32194
  config: {
33246
- type: "exact" | "fuzzy" | "range";
32195
+ type: "exact" | "fuzzy" | "range" | "within";
33247
32196
  };
33248
32197
  fieldId: string;
33249
32198
  fieldType: "field";
@@ -33282,7 +32231,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
33282
32231
  excludeInSearchQuery?: boolean | undefined;
33283
32232
  } | {
33284
32233
  config: {
33285
- type: "exact" | "fuzzy" | "range";
32234
+ type: "exact" | "fuzzy" | "range" | "within";
33286
32235
  };
33287
32236
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
33288
32237
  fieldType: "event";
@@ -34262,37 +33211,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
34262
33211
  helperText?: TranslationConfig | undefined;
34263
33212
  hideLabel?: boolean | undefined;
34264
33213
  uncorrectable?: boolean | undefined;
34265
- } | {
34266
- type: "PRINT_BUTTON";
34267
- id: string;
34268
- label: TranslationConfig;
34269
- configuration: {
34270
- template: string;
34271
- buttonLabel?: TranslationConfig | undefined;
34272
- };
34273
- parent?: {
34274
- $$field: string;
34275
- } | undefined;
34276
- validation?: {
34277
- message: TranslationConfig;
34278
- validator: import(".").JSONSchema;
34279
- }[] | undefined;
34280
- required?: boolean | undefined;
34281
- conditionals?: ({
34282
- type: "SHOW";
34283
- conditional: import(".").JSONSchema;
34284
- } | {
34285
- type: "ENABLE";
34286
- conditional: import(".").JSONSchema;
34287
- } | {
34288
- type: "DISPLAY_ON_REVIEW";
34289
- conditional: import(".").JSONSchema;
34290
- })[] | undefined;
34291
- secured?: boolean | undefined;
34292
- placeholder?: TranslationConfig | undefined;
34293
- helperText?: TranslationConfig | undefined;
34294
- hideLabel?: boolean | undefined;
34295
- uncorrectable?: boolean | undefined;
34296
33214
  })[];
34297
33215
  conditional?: import(".").JSONSchema | undefined;
34298
33216
  }[];
@@ -35243,37 +34161,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
35243
34161
  helperText?: TranslationConfig | undefined;
35244
34162
  hideLabel?: boolean | undefined;
35245
34163
  uncorrectable?: boolean | undefined;
35246
- } | {
35247
- type: "PRINT_BUTTON";
35248
- id: string;
35249
- label: TranslationConfig;
35250
- configuration: {
35251
- template: string;
35252
- buttonLabel?: TranslationConfig | undefined;
35253
- };
35254
- parent?: {
35255
- $$field: string;
35256
- } | undefined;
35257
- validation?: {
35258
- message: TranslationConfig;
35259
- validator: import(".").JSONSchema;
35260
- }[] | undefined;
35261
- required?: boolean | undefined;
35262
- conditionals?: ({
35263
- type: "SHOW";
35264
- conditional: import(".").JSONSchema;
35265
- } | {
35266
- type: "ENABLE";
35267
- conditional: import(".").JSONSchema;
35268
- } | {
35269
- type: "DISPLAY_ON_REVIEW";
35270
- conditional: import(".").JSONSchema;
35271
- })[] | undefined;
35272
- secured?: boolean | undefined;
35273
- placeholder?: TranslationConfig | undefined;
35274
- helperText?: TranslationConfig | undefined;
35275
- hideLabel?: boolean | undefined;
35276
- uncorrectable?: boolean | undefined;
35277
34164
  })[];
35278
34165
  };
35279
34166
  draft?: boolean | undefined;
@@ -36223,37 +35110,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
36223
35110
  helperText?: TranslationConfig | undefined;
36224
35111
  hideLabel?: boolean | undefined;
36225
35112
  uncorrectable?: boolean | undefined;
36226
- } | {
36227
- type: "PRINT_BUTTON";
36228
- id: string;
36229
- label: TranslationConfig;
36230
- configuration: {
36231
- template: string;
36232
- buttonLabel?: TranslationConfig | undefined;
36233
- };
36234
- parent?: {
36235
- $$field: string;
36236
- } | undefined;
36237
- validation?: {
36238
- message: TranslationConfig;
36239
- validator: import(".").JSONSchema;
36240
- }[] | undefined;
36241
- required?: boolean | undefined;
36242
- conditionals?: ({
36243
- type: "SHOW";
36244
- conditional: import(".").JSONSchema;
36245
- } | {
36246
- type: "ENABLE";
36247
- conditional: import(".").JSONSchema;
36248
- } | {
36249
- type: "DISPLAY_ON_REVIEW";
36250
- conditional: import(".").JSONSchema;
36251
- })[] | undefined;
36252
- secured?: boolean | undefined;
36253
- placeholder?: TranslationConfig | undefined;
36254
- helperText?: TranslationConfig | undefined;
36255
- hideLabel?: boolean | undefined;
36256
- uncorrectable?: boolean | undefined;
36257
35113
  })[];
36258
35114
  };
36259
35115
  draft?: boolean | undefined;
@@ -37203,14 +36059,160 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37203
36059
  helperText?: TranslationConfig | undefined;
37204
36060
  hideLabel?: boolean | undefined;
37205
36061
  uncorrectable?: boolean | undefined;
36062
+ })[];
36063
+ };
36064
+ draft?: boolean | undefined;
36065
+ } | {
36066
+ type: "REGISTER";
36067
+ label: TranslationConfig;
36068
+ conditionals: ({
36069
+ type: "SHOW";
36070
+ conditional: import(".").JSONSchema;
36071
+ } | {
36072
+ type: "ENABLE";
36073
+ conditional: import(".").JSONSchema;
36074
+ })[];
36075
+ review: {
36076
+ title: TranslationConfig;
36077
+ fields: ({
36078
+ type: "DIVIDER";
36079
+ id: string;
36080
+ label: TranslationConfig;
36081
+ parent?: {
36082
+ $$field: string;
36083
+ } | undefined;
36084
+ validation?: {
36085
+ message: TranslationConfig;
36086
+ validator: import(".").JSONSchema;
36087
+ }[] | undefined;
36088
+ required?: boolean | undefined;
36089
+ conditionals?: ({
36090
+ type: "SHOW";
36091
+ conditional: import(".").JSONSchema;
36092
+ } | {
36093
+ type: "ENABLE";
36094
+ conditional: import(".").JSONSchema;
36095
+ } | {
36096
+ type: "DISPLAY_ON_REVIEW";
36097
+ conditional: import(".").JSONSchema;
36098
+ })[] | undefined;
36099
+ secured?: boolean | undefined;
36100
+ placeholder?: TranslationConfig | undefined;
36101
+ helperText?: TranslationConfig | undefined;
36102
+ hideLabel?: boolean | undefined;
36103
+ uncorrectable?: boolean | undefined;
37206
36104
  } | {
37207
- type: "PRINT_BUTTON";
36105
+ type: "TEXT";
36106
+ id: string;
36107
+ label: TranslationConfig;
36108
+ parent?: {
36109
+ $$field: string;
36110
+ } | undefined;
36111
+ validation?: {
36112
+ message: TranslationConfig;
36113
+ validator: import(".").JSONSchema;
36114
+ }[] | undefined;
36115
+ required?: boolean | undefined;
36116
+ conditionals?: ({
36117
+ type: "SHOW";
36118
+ conditional: import(".").JSONSchema;
36119
+ } | {
36120
+ type: "ENABLE";
36121
+ conditional: import(".").JSONSchema;
36122
+ } | {
36123
+ type: "DISPLAY_ON_REVIEW";
36124
+ conditional: import(".").JSONSchema;
36125
+ })[] | undefined;
36126
+ secured?: boolean | undefined;
36127
+ placeholder?: TranslationConfig | undefined;
36128
+ helperText?: TranslationConfig | undefined;
36129
+ hideLabel?: boolean | undefined;
36130
+ uncorrectable?: boolean | undefined;
36131
+ defaultValue?: string | undefined;
36132
+ configuration?: {
36133
+ type?: "text" | "password" | undefined;
36134
+ maxLength?: number | undefined;
36135
+ prefix?: TranslationConfig | undefined;
36136
+ postfix?: TranslationConfig | undefined;
36137
+ } | undefined;
36138
+ } | {
36139
+ type: "NUMBER";
36140
+ id: string;
36141
+ label: TranslationConfig;
36142
+ parent?: {
36143
+ $$field: string;
36144
+ } | undefined;
36145
+ validation?: {
36146
+ message: TranslationConfig;
36147
+ validator: import(".").JSONSchema;
36148
+ }[] | undefined;
36149
+ required?: boolean | undefined;
36150
+ conditionals?: ({
36151
+ type: "SHOW";
36152
+ conditional: import(".").JSONSchema;
36153
+ } | {
36154
+ type: "ENABLE";
36155
+ conditional: import(".").JSONSchema;
36156
+ } | {
36157
+ type: "DISPLAY_ON_REVIEW";
36158
+ conditional: import(".").JSONSchema;
36159
+ })[] | undefined;
36160
+ secured?: boolean | undefined;
36161
+ placeholder?: TranslationConfig | undefined;
36162
+ helperText?: TranslationConfig | undefined;
36163
+ hideLabel?: boolean | undefined;
36164
+ uncorrectable?: boolean | undefined;
36165
+ defaultValue?: number | undefined;
36166
+ configuration?: {
36167
+ prefix?: TranslationConfig | undefined;
36168
+ postfix?: TranslationConfig | undefined;
36169
+ min?: number | undefined;
36170
+ max?: number | undefined;
36171
+ } | undefined;
36172
+ } | {
36173
+ type: "TEXTAREA";
36174
+ id: string;
36175
+ label: TranslationConfig;
36176
+ parent?: {
36177
+ $$field: string;
36178
+ } | undefined;
36179
+ validation?: {
36180
+ message: TranslationConfig;
36181
+ validator: import(".").JSONSchema;
36182
+ }[] | undefined;
36183
+ required?: boolean | undefined;
36184
+ conditionals?: ({
36185
+ type: "SHOW";
36186
+ conditional: import(".").JSONSchema;
36187
+ } | {
36188
+ type: "ENABLE";
36189
+ conditional: import(".").JSONSchema;
36190
+ } | {
36191
+ type: "DISPLAY_ON_REVIEW";
36192
+ conditional: import(".").JSONSchema;
36193
+ })[] | undefined;
36194
+ secured?: boolean | undefined;
36195
+ placeholder?: TranslationConfig | undefined;
36196
+ helperText?: TranslationConfig | undefined;
36197
+ hideLabel?: boolean | undefined;
36198
+ uncorrectable?: boolean | undefined;
36199
+ defaultValue?: string | undefined;
36200
+ configuration?: {
36201
+ maxLength?: number | undefined;
36202
+ prefix?: TranslationConfig | undefined;
36203
+ postfix?: TranslationConfig | undefined;
36204
+ rows?: number | undefined;
36205
+ cols?: number | undefined;
36206
+ } | undefined;
36207
+ } | {
36208
+ type: "SIGNATURE";
37208
36209
  id: string;
37209
36210
  label: TranslationConfig;
37210
36211
  configuration: {
37211
- template: string;
37212
- buttonLabel?: TranslationConfig | undefined;
36212
+ maxFileSize: number;
36213
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
37213
36214
  };
36215
+ signaturePromptLabel: TranslationConfig;
37214
36216
  parent?: {
37215
36217
  $$field: string;
37216
36218
  } | undefined;
@@ -37234,23 +36236,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37234
36236
  helperText?: TranslationConfig | undefined;
37235
36237
  hideLabel?: boolean | undefined;
37236
36238
  uncorrectable?: boolean | undefined;
37237
- })[];
37238
- };
37239
- draft?: boolean | undefined;
37240
- } | {
37241
- type: "REGISTER";
37242
- label: TranslationConfig;
37243
- conditionals: ({
37244
- type: "SHOW";
37245
- conditional: import(".").JSONSchema;
37246
- } | {
37247
- type: "ENABLE";
37248
- conditional: import(".").JSONSchema;
37249
- })[];
37250
- review: {
37251
- title: TranslationConfig;
37252
- fields: ({
37253
- type: "DIVIDER";
36239
+ defaultValue?: string | undefined;
36240
+ } | {
36241
+ type: "EMAIL";
37254
36242
  id: string;
37255
36243
  label: TranslationConfig;
37256
36244
  parent?: {
@@ -37276,8 +36264,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37276
36264
  helperText?: TranslationConfig | undefined;
37277
36265
  hideLabel?: boolean | undefined;
37278
36266
  uncorrectable?: boolean | undefined;
36267
+ defaultValue?: string | undefined;
36268
+ configuration?: {
36269
+ maxLength?: number | undefined;
36270
+ } | undefined;
37279
36271
  } | {
37280
- type: "TEXT";
36272
+ type: "DATE";
37281
36273
  id: string;
37282
36274
  label: TranslationConfig;
37283
36275
  parent?: {
@@ -37305,13 +36297,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37305
36297
  uncorrectable?: boolean | undefined;
37306
36298
  defaultValue?: string | undefined;
37307
36299
  configuration?: {
37308
- type?: "text" | "password" | undefined;
37309
- maxLength?: number | undefined;
37310
- prefix?: TranslationConfig | undefined;
37311
- postfix?: TranslationConfig | undefined;
36300
+ notice?: TranslationConfig | undefined;
37312
36301
  } | undefined;
37313
36302
  } | {
37314
- type: "NUMBER";
36303
+ type: "TIME";
37315
36304
  id: string;
37316
36305
  label: TranslationConfig;
37317
36306
  parent?: {
@@ -37337,15 +36326,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37337
36326
  helperText?: TranslationConfig | undefined;
37338
36327
  hideLabel?: boolean | undefined;
37339
36328
  uncorrectable?: boolean | undefined;
37340
- defaultValue?: number | undefined;
36329
+ defaultValue?: string | undefined;
37341
36330
  configuration?: {
37342
- prefix?: TranslationConfig | undefined;
37343
- postfix?: TranslationConfig | undefined;
37344
- min?: number | undefined;
37345
- max?: number | undefined;
36331
+ notice?: TranslationConfig | undefined;
37346
36332
  } | undefined;
37347
36333
  } | {
37348
- type: "TEXTAREA";
36334
+ type: "DATE_RANGE";
37349
36335
  id: string;
37350
36336
  label: TranslationConfig;
37351
36337
  parent?: {
@@ -37371,23 +36357,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37371
36357
  helperText?: TranslationConfig | undefined;
37372
36358
  hideLabel?: boolean | undefined;
37373
36359
  uncorrectable?: boolean | undefined;
37374
- defaultValue?: string | undefined;
36360
+ defaultValue?: string | {
36361
+ start: string;
36362
+ end: string;
36363
+ } | undefined;
37375
36364
  configuration?: {
37376
- maxLength?: number | undefined;
37377
- prefix?: TranslationConfig | undefined;
37378
- postfix?: TranslationConfig | undefined;
37379
- rows?: number | undefined;
37380
- cols?: number | undefined;
36365
+ notice?: TranslationConfig | undefined;
37381
36366
  } | undefined;
37382
36367
  } | {
37383
- type: "SIGNATURE";
36368
+ type: "PARAGRAPH";
37384
36369
  id: string;
37385
36370
  label: TranslationConfig;
37386
36371
  configuration: {
37387
- maxFileSize: number;
37388
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
36372
+ styles?: {
36373
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
36374
+ hint?: boolean | undefined;
36375
+ } | undefined;
37389
36376
  };
37390
- signaturePromptLabel: TranslationConfig;
37391
36377
  parent?: {
37392
36378
  $$field: string;
37393
36379
  } | undefined;
@@ -37413,7 +36399,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37413
36399
  uncorrectable?: boolean | undefined;
37414
36400
  defaultValue?: string | undefined;
37415
36401
  } | {
37416
- type: "EMAIL";
36402
+ type: "PAGE_HEADER";
37417
36403
  id: string;
37418
36404
  label: TranslationConfig;
37419
36405
  parent?: {
@@ -37440,13 +36426,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37440
36426
  hideLabel?: boolean | undefined;
37441
36427
  uncorrectable?: boolean | undefined;
37442
36428
  defaultValue?: string | undefined;
37443
- configuration?: {
37444
- maxLength?: number | undefined;
37445
- } | undefined;
37446
36429
  } | {
37447
- type: "DATE";
36430
+ type: "FILE";
37448
36431
  id: string;
37449
36432
  label: TranslationConfig;
36433
+ configuration: {
36434
+ maxFileSize: number;
36435
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
36436
+ style?: {
36437
+ width?: "full" | "auto" | undefined;
36438
+ } | undefined;
36439
+ fileName?: TranslationConfig | undefined;
36440
+ };
37450
36441
  parent?: {
37451
36442
  $$field: string;
37452
36443
  } | undefined;
@@ -37470,13 +36461,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37470
36461
  helperText?: TranslationConfig | undefined;
37471
36462
  hideLabel?: boolean | undefined;
37472
36463
  uncorrectable?: boolean | undefined;
37473
- defaultValue?: string | undefined;
37474
- configuration?: {
37475
- notice?: TranslationConfig | undefined;
36464
+ defaultValue?: {
36465
+ type: string;
36466
+ path: string;
36467
+ originalFilename: string;
37476
36468
  } | undefined;
37477
36469
  } | {
37478
- type: "TIME";
36470
+ type: "RADIO_GROUP";
37479
36471
  id: string;
36472
+ options: {
36473
+ value: string;
36474
+ label: TranslationConfig;
36475
+ }[];
37480
36476
  label: TranslationConfig;
37481
36477
  parent?: {
37482
36478
  $$field: string;
@@ -37503,12 +36499,20 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37503
36499
  uncorrectable?: boolean | undefined;
37504
36500
  defaultValue?: string | undefined;
37505
36501
  configuration?: {
37506
- notice?: TranslationConfig | undefined;
36502
+ styles?: {
36503
+ size?: "NORMAL" | "LARGE" | undefined;
36504
+ } | undefined;
37507
36505
  } | undefined;
37508
36506
  } | {
37509
- type: "DATE_RANGE";
36507
+ type: "BULLET_LIST";
37510
36508
  id: string;
37511
36509
  label: TranslationConfig;
36510
+ configuration: {
36511
+ styles?: {
36512
+ fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
36513
+ } | undefined;
36514
+ };
36515
+ items: TranslationConfig[];
37512
36516
  parent?: {
37513
36517
  $$field: string;
37514
36518
  } | undefined;
@@ -37532,23 +36536,15 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37532
36536
  helperText?: TranslationConfig | undefined;
37533
36537
  hideLabel?: boolean | undefined;
37534
36538
  uncorrectable?: boolean | undefined;
37535
- defaultValue?: string | {
37536
- start: string;
37537
- end: string;
37538
- } | undefined;
37539
- configuration?: {
37540
- notice?: TranslationConfig | undefined;
37541
- } | undefined;
36539
+ defaultValue?: string | undefined;
37542
36540
  } | {
37543
- type: "PARAGRAPH";
36541
+ type: "SELECT";
37544
36542
  id: string;
36543
+ options: {
36544
+ value: string;
36545
+ label: TranslationConfig;
36546
+ }[];
37545
36547
  label: TranslationConfig;
37546
- configuration: {
37547
- styles?: {
37548
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
37549
- hint?: boolean | undefined;
37550
- } | undefined;
37551
- };
37552
36548
  parent?: {
37553
36549
  $$field: string;
37554
36550
  } | undefined;
@@ -37574,8 +36570,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37574
36570
  uncorrectable?: boolean | undefined;
37575
36571
  defaultValue?: string | undefined;
37576
36572
  } | {
37577
- type: "PAGE_HEADER";
36573
+ type: "SELECT_DATE_RANGE";
37578
36574
  id: string;
36575
+ options: {
36576
+ value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
36577
+ label: TranslationConfig;
36578
+ }[];
37579
36579
  label: TranslationConfig;
37580
36580
  parent?: {
37581
36581
  $$field: string;
@@ -37600,19 +36600,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37600
36600
  helperText?: TranslationConfig | undefined;
37601
36601
  hideLabel?: boolean | undefined;
37602
36602
  uncorrectable?: boolean | undefined;
37603
- defaultValue?: string | undefined;
36603
+ defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
37604
36604
  } | {
37605
- type: "FILE";
36605
+ type: "NAME";
37606
36606
  id: string;
37607
36607
  label: TranslationConfig;
37608
- configuration: {
37609
- maxFileSize: number;
37610
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
37611
- style?: {
37612
- width?: "full" | "auto" | undefined;
37613
- } | undefined;
37614
- fileName?: TranslationConfig | undefined;
37615
- };
37616
36608
  parent?: {
37617
36609
  $$field: string;
37618
36610
  } | undefined;
@@ -37637,17 +36629,19 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37637
36629
  hideLabel?: boolean | undefined;
37638
36630
  uncorrectable?: boolean | undefined;
37639
36631
  defaultValue?: {
37640
- type: string;
37641
- path: string;
37642
- originalFilename: string;
36632
+ firstname: string;
36633
+ surname: string;
36634
+ } | undefined;
36635
+ configuration?: {
36636
+ maxLength?: number | undefined;
36637
+ prefix?: TranslationConfig | undefined;
36638
+ postfix?: TranslationConfig | undefined;
36639
+ includeMiddlename?: boolean | undefined;
36640
+ searchMode?: boolean | undefined;
37643
36641
  } | undefined;
37644
36642
  } | {
37645
- type: "RADIO_GROUP";
36643
+ type: "PHONE";
37646
36644
  id: string;
37647
- options: {
37648
- value: string;
37649
- label: TranslationConfig;
37650
- }[];
37651
36645
  label: TranslationConfig;
37652
36646
  parent?: {
37653
36647
  $$field: string;
@@ -37673,21 +36667,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37673
36667
  hideLabel?: boolean | undefined;
37674
36668
  uncorrectable?: boolean | undefined;
37675
36669
  defaultValue?: string | undefined;
37676
- configuration?: {
37677
- styles?: {
37678
- size?: "NORMAL" | "LARGE" | undefined;
37679
- } | undefined;
37680
- } | undefined;
37681
36670
  } | {
37682
- type: "BULLET_LIST";
36671
+ type: "ID";
37683
36672
  id: string;
37684
36673
  label: TranslationConfig;
37685
- configuration: {
37686
- styles?: {
37687
- fontVariant?: "reg12" | "reg14" | "reg16" | "reg18" | "h4" | "h3" | "h2" | "h1" | undefined;
37688
- } | undefined;
37689
- };
37690
- items: TranslationConfig[];
37691
36674
  parent?: {
37692
36675
  $$field: string;
37693
36676
  } | undefined;
@@ -37713,12 +36696,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37713
36696
  uncorrectable?: boolean | undefined;
37714
36697
  defaultValue?: string | undefined;
37715
36698
  } | {
37716
- type: "SELECT";
36699
+ type: "CHECKBOX";
37717
36700
  id: string;
37718
- options: {
37719
- value: string;
37720
- label: TranslationConfig;
37721
- }[];
37722
36701
  label: TranslationConfig;
37723
36702
  parent?: {
37724
36703
  $$field: string;
@@ -37743,14 +36722,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37743
36722
  helperText?: TranslationConfig | undefined;
37744
36723
  hideLabel?: boolean | undefined;
37745
36724
  uncorrectable?: boolean | undefined;
37746
- defaultValue?: string | undefined;
36725
+ defaultValue?: boolean | undefined;
37747
36726
  } | {
37748
- type: "SELECT_DATE_RANGE";
36727
+ type: "COUNTRY";
37749
36728
  id: string;
37750
- options: {
37751
- value: "last7Days" | "last30Days" | "last90Days" | "last365Days";
37752
- label: TranslationConfig;
37753
- }[];
37754
36729
  label: TranslationConfig;
37755
36730
  parent?: {
37756
36731
  $$field: string;
@@ -37775,11 +36750,17 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37775
36750
  helperText?: TranslationConfig | undefined;
37776
36751
  hideLabel?: boolean | undefined;
37777
36752
  uncorrectable?: boolean | undefined;
37778
- defaultValue?: "last7Days" | "last30Days" | "last90Days" | "last365Days" | undefined;
36753
+ defaultValue?: string | undefined;
37779
36754
  } | {
37780
- type: "NAME";
36755
+ type: "ADMINISTRATIVE_AREA";
37781
36756
  id: string;
37782
36757
  label: TranslationConfig;
36758
+ configuration: {
36759
+ type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
36760
+ partOf?: {
36761
+ $declaration: string;
36762
+ } | undefined;
36763
+ };
37783
36764
  parent?: {
37784
36765
  $$field: string;
37785
36766
  } | undefined;
@@ -37803,19 +36784,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37803
36784
  helperText?: TranslationConfig | undefined;
37804
36785
  hideLabel?: boolean | undefined;
37805
36786
  uncorrectable?: boolean | undefined;
37806
- defaultValue?: {
37807
- firstname: string;
37808
- surname: string;
37809
- } | undefined;
37810
- configuration?: {
37811
- maxLength?: number | undefined;
37812
- prefix?: TranslationConfig | undefined;
37813
- postfix?: TranslationConfig | undefined;
37814
- includeMiddlename?: boolean | undefined;
37815
- searchMode?: boolean | undefined;
37816
- } | undefined;
36787
+ defaultValue?: string | undefined;
37817
36788
  } | {
37818
- type: "PHONE";
36789
+ type: "LOCATION";
37819
36790
  id: string;
37820
36791
  label: TranslationConfig;
37821
36792
  parent?: {
@@ -37842,10 +36813,21 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37842
36813
  hideLabel?: boolean | undefined;
37843
36814
  uncorrectable?: boolean | undefined;
37844
36815
  defaultValue?: string | undefined;
36816
+ configuration?: {
36817
+ searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
36818
+ } | undefined;
37845
36819
  } | {
37846
- type: "ID";
36820
+ type: "FILE_WITH_OPTIONS";
37847
36821
  id: string;
36822
+ options: {
36823
+ value: string;
36824
+ label: TranslationConfig;
36825
+ }[];
37848
36826
  label: TranslationConfig;
36827
+ configuration: {
36828
+ maxFileSize: number;
36829
+ acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
36830
+ };
37849
36831
  parent?: {
37850
36832
  $$field: string;
37851
36833
  } | undefined;
@@ -37869,9 +36851,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37869
36851
  helperText?: TranslationConfig | undefined;
37870
36852
  hideLabel?: boolean | undefined;
37871
36853
  uncorrectable?: boolean | undefined;
37872
- defaultValue?: string | undefined;
36854
+ defaultValue?: {
36855
+ type: string;
36856
+ option: string;
36857
+ path: string;
36858
+ originalFilename: string;
36859
+ }[] | undefined;
37873
36860
  } | {
37874
- type: "CHECKBOX";
36861
+ type: "FACILITY";
37875
36862
  id: string;
37876
36863
  label: TranslationConfig;
37877
36864
  parent?: {
@@ -37897,9 +36884,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37897
36884
  helperText?: TranslationConfig | undefined;
37898
36885
  hideLabel?: boolean | undefined;
37899
36886
  uncorrectable?: boolean | undefined;
37900
- defaultValue?: boolean | undefined;
36887
+ defaultValue?: string | undefined;
37901
36888
  } | {
37902
- type: "COUNTRY";
36889
+ type: "OFFICE";
37903
36890
  id: string;
37904
36891
  label: TranslationConfig;
37905
36892
  parent?: {
@@ -37927,15 +36914,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37927
36914
  uncorrectable?: boolean | undefined;
37928
36915
  defaultValue?: string | undefined;
37929
36916
  } | {
37930
- type: "ADMINISTRATIVE_AREA";
36917
+ type: "ADDRESS";
37931
36918
  id: string;
37932
36919
  label: TranslationConfig;
37933
- configuration: {
37934
- type: "ADMIN_STRUCTURE" | "HEALTH_FACILITY" | "CRVS_OFFICE";
37935
- partOf?: {
37936
- $declaration: string;
37937
- } | undefined;
37938
- };
37939
36920
  parent?: {
37940
36921
  $$field: string;
37941
36922
  } | undefined;
@@ -37959,238 +36940,51 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
37959
36940
  helperText?: TranslationConfig | undefined;
37960
36941
  hideLabel?: boolean | undefined;
37961
36942
  uncorrectable?: boolean | undefined;
37962
- defaultValue?: string | undefined;
36943
+ defaultValue?: {
36944
+ country: string;
36945
+ district: string;
36946
+ addressType: "DOMESTIC";
36947
+ province: string;
36948
+ urbanOrRural: "URBAN";
36949
+ number?: string | undefined;
36950
+ town?: string | undefined;
36951
+ residentialArea?: string | undefined;
36952
+ street?: string | undefined;
36953
+ zipCode?: string | undefined;
36954
+ } | {
36955
+ country: string;
36956
+ district: string;
36957
+ addressType: "DOMESTIC";
36958
+ province: string;
36959
+ urbanOrRural: "RURAL";
36960
+ village?: string | undefined;
36961
+ } | {
36962
+ country: string;
36963
+ state: string;
36964
+ addressType: "INTERNATIONAL";
36965
+ district2: string;
36966
+ cityOrTown?: string | undefined;
36967
+ addressLine1?: string | undefined;
36968
+ addressLine2?: string | undefined;
36969
+ addressLine3?: string | undefined;
36970
+ postcodeOrZip?: string | undefined;
36971
+ } | undefined;
36972
+ configuration?: {
36973
+ searchMode?: boolean | undefined;
36974
+ } | undefined;
37963
36975
  } | {
37964
- type: "LOCATION";
36976
+ type: "DATA";
37965
36977
  id: string;
37966
36978
  label: TranslationConfig;
37967
- parent?: {
37968
- $$field: string;
37969
- } | undefined;
37970
- validation?: {
37971
- message: TranslationConfig;
37972
- validator: import(".").JSONSchema;
37973
- }[] | undefined;
37974
- required?: boolean | undefined;
37975
- conditionals?: ({
37976
- type: "SHOW";
37977
- conditional: import(".").JSONSchema;
37978
- } | {
37979
- type: "ENABLE";
37980
- conditional: import(".").JSONSchema;
37981
- } | {
37982
- type: "DISPLAY_ON_REVIEW";
37983
- conditional: import(".").JSONSchema;
37984
- })[] | undefined;
37985
- secured?: boolean | undefined;
37986
- placeholder?: TranslationConfig | undefined;
37987
- helperText?: TranslationConfig | undefined;
37988
- hideLabel?: boolean | undefined;
37989
- uncorrectable?: boolean | undefined;
37990
- defaultValue?: string | undefined;
37991
- configuration?: {
37992
- searchableResource?: ("locations" | "facilities" | "offices")[] | undefined;
37993
- } | undefined;
37994
- } | {
37995
- type: "FILE_WITH_OPTIONS";
37996
- id: string;
37997
- options: {
37998
- value: string;
37999
- label: TranslationConfig;
38000
- }[];
38001
- label: TranslationConfig;
38002
- configuration: {
38003
- maxFileSize: number;
38004
- acceptedFileTypes?: ("image/png" | "image/jpg" | "image/jpeg" | "image/svg+xml")[] | undefined;
38005
- };
38006
- parent?: {
38007
- $$field: string;
38008
- } | undefined;
38009
- validation?: {
38010
- message: TranslationConfig;
38011
- validator: import(".").JSONSchema;
38012
- }[] | undefined;
38013
- required?: boolean | undefined;
38014
- conditionals?: ({
38015
- type: "SHOW";
38016
- conditional: import(".").JSONSchema;
38017
- } | {
38018
- type: "ENABLE";
38019
- conditional: import(".").JSONSchema;
38020
- } | {
38021
- type: "DISPLAY_ON_REVIEW";
38022
- conditional: import(".").JSONSchema;
38023
- })[] | undefined;
38024
- secured?: boolean | undefined;
38025
- placeholder?: TranslationConfig | undefined;
38026
- helperText?: TranslationConfig | undefined;
38027
- hideLabel?: boolean | undefined;
38028
- uncorrectable?: boolean | undefined;
38029
- defaultValue?: {
38030
- type: string;
38031
- option: string;
38032
- path: string;
38033
- originalFilename: string;
38034
- }[] | undefined;
38035
- } | {
38036
- type: "FACILITY";
38037
- id: string;
38038
- label: TranslationConfig;
38039
- parent?: {
38040
- $$field: string;
38041
- } | undefined;
38042
- validation?: {
38043
- message: TranslationConfig;
38044
- validator: import(".").JSONSchema;
38045
- }[] | undefined;
38046
- required?: boolean | undefined;
38047
- conditionals?: ({
38048
- type: "SHOW";
38049
- conditional: import(".").JSONSchema;
38050
- } | {
38051
- type: "ENABLE";
38052
- conditional: import(".").JSONSchema;
38053
- } | {
38054
- type: "DISPLAY_ON_REVIEW";
38055
- conditional: import(".").JSONSchema;
38056
- })[] | undefined;
38057
- secured?: boolean | undefined;
38058
- placeholder?: TranslationConfig | undefined;
38059
- helperText?: TranslationConfig | undefined;
38060
- hideLabel?: boolean | undefined;
38061
- uncorrectable?: boolean | undefined;
38062
- defaultValue?: string | undefined;
38063
- } | {
38064
- type: "OFFICE";
38065
- id: string;
38066
- label: TranslationConfig;
38067
- parent?: {
38068
- $$field: string;
38069
- } | undefined;
38070
- validation?: {
38071
- message: TranslationConfig;
38072
- validator: import(".").JSONSchema;
38073
- }[] | undefined;
38074
- required?: boolean | undefined;
38075
- conditionals?: ({
38076
- type: "SHOW";
38077
- conditional: import(".").JSONSchema;
38078
- } | {
38079
- type: "ENABLE";
38080
- conditional: import(".").JSONSchema;
38081
- } | {
38082
- type: "DISPLAY_ON_REVIEW";
38083
- conditional: import(".").JSONSchema;
38084
- })[] | undefined;
38085
- secured?: boolean | undefined;
38086
- placeholder?: TranslationConfig | undefined;
38087
- helperText?: TranslationConfig | undefined;
38088
- hideLabel?: boolean | undefined;
38089
- uncorrectable?: boolean | undefined;
38090
- defaultValue?: string | undefined;
38091
- } | {
38092
- type: "ADDRESS";
38093
- id: string;
38094
- label: TranslationConfig;
38095
- parent?: {
38096
- $$field: string;
38097
- } | undefined;
38098
- validation?: {
38099
- message: TranslationConfig;
38100
- validator: import(".").JSONSchema;
38101
- }[] | undefined;
38102
- required?: boolean | undefined;
38103
- conditionals?: ({
38104
- type: "SHOW";
38105
- conditional: import(".").JSONSchema;
38106
- } | {
38107
- type: "ENABLE";
38108
- conditional: import(".").JSONSchema;
38109
- } | {
38110
- type: "DISPLAY_ON_REVIEW";
38111
- conditional: import(".").JSONSchema;
38112
- })[] | undefined;
38113
- secured?: boolean | undefined;
38114
- placeholder?: TranslationConfig | undefined;
38115
- helperText?: TranslationConfig | undefined;
38116
- hideLabel?: boolean | undefined;
38117
- uncorrectable?: boolean | undefined;
38118
- defaultValue?: {
38119
- country: string;
38120
- district: string;
38121
- addressType: "DOMESTIC";
38122
- province: string;
38123
- urbanOrRural: "URBAN";
38124
- number?: string | undefined;
38125
- town?: string | undefined;
38126
- residentialArea?: string | undefined;
38127
- street?: string | undefined;
38128
- zipCode?: string | undefined;
38129
- } | {
38130
- country: string;
38131
- district: string;
38132
- addressType: "DOMESTIC";
38133
- province: string;
38134
- urbanOrRural: "RURAL";
38135
- village?: string | undefined;
38136
- } | {
38137
- country: string;
38138
- state: string;
38139
- addressType: "INTERNATIONAL";
38140
- district2: string;
38141
- cityOrTown?: string | undefined;
38142
- addressLine1?: string | undefined;
38143
- addressLine2?: string | undefined;
38144
- addressLine3?: string | undefined;
38145
- postcodeOrZip?: string | undefined;
38146
- } | undefined;
38147
- configuration?: {
38148
- searchMode?: boolean | undefined;
38149
- } | undefined;
38150
- } | {
38151
- type: "DATA";
38152
- id: string;
38153
- label: TranslationConfig;
38154
- configuration: {
38155
- data: ({
38156
- value: string | TranslationConfig;
38157
- label: TranslationConfig;
38158
- } | {
38159
- fieldId: string;
38160
- })[];
38161
- subtitle?: TranslationConfig | undefined;
38162
- };
38163
- parent?: {
38164
- $$field: string;
38165
- } | undefined;
38166
- validation?: {
38167
- message: TranslationConfig;
38168
- validator: import(".").JSONSchema;
38169
- }[] | undefined;
38170
- required?: boolean | undefined;
38171
- conditionals?: ({
38172
- type: "SHOW";
38173
- conditional: import(".").JSONSchema;
38174
- } | {
38175
- type: "ENABLE";
38176
- conditional: import(".").JSONSchema;
38177
- } | {
38178
- type: "DISPLAY_ON_REVIEW";
38179
- conditional: import(".").JSONSchema;
38180
- })[] | undefined;
38181
- secured?: boolean | undefined;
38182
- placeholder?: TranslationConfig | undefined;
38183
- helperText?: TranslationConfig | undefined;
38184
- hideLabel?: boolean | undefined;
38185
- uncorrectable?: boolean | undefined;
38186
- } | {
38187
- type: "PRINT_BUTTON";
38188
- id: string;
38189
- label: TranslationConfig;
38190
- configuration: {
38191
- template: string;
38192
- buttonLabel?: TranslationConfig | undefined;
38193
- };
36979
+ configuration: {
36980
+ data: ({
36981
+ value: string | TranslationConfig;
36982
+ label: TranslationConfig;
36983
+ } | {
36984
+ fieldId: string;
36985
+ })[];
36986
+ subtitle?: TranslationConfig | undefined;
36987
+ };
38194
36988
  parent?: {
38195
36989
  $$field: string;
38196
36990
  } | undefined;
@@ -39211,14 +38005,28 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
39211
38005
  helperText?: TranslationConfig | undefined;
39212
38006
  hideLabel?: boolean | undefined;
39213
38007
  uncorrectable?: boolean | undefined;
39214
- } | {
39215
- type: "PRINT_BUTTON";
38008
+ })[];
38009
+ conditional?: import(".").JSONSchema | undefined;
38010
+ } | {
38011
+ type: "VERIFICATION";
38012
+ id: string;
38013
+ title: TranslationConfig;
38014
+ actions: {
38015
+ verify: {
38016
+ label: TranslationConfig;
38017
+ };
38018
+ cancel: {
38019
+ label: TranslationConfig;
38020
+ confirmation: {
38021
+ title: TranslationConfig;
38022
+ body: TranslationConfig;
38023
+ };
38024
+ };
38025
+ };
38026
+ fields: ({
38027
+ type: "DIVIDER";
39216
38028
  id: string;
39217
38029
  label: TranslationConfig;
39218
- configuration: {
39219
- template: string;
39220
- buttonLabel?: TranslationConfig | undefined;
39221
- };
39222
38030
  parent?: {
39223
38031
  $$field: string;
39224
38032
  } | undefined;
@@ -39242,53 +38050,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
39242
38050
  helperText?: TranslationConfig | undefined;
39243
38051
  hideLabel?: boolean | undefined;
39244
38052
  uncorrectable?: boolean | undefined;
39245
- })[];
39246
- conditional?: import(".").JSONSchema | undefined;
39247
- } | {
39248
- type: "VERIFICATION";
39249
- id: string;
39250
- title: TranslationConfig;
39251
- actions: {
39252
- verify: {
39253
- label: TranslationConfig;
39254
- };
39255
- cancel: {
39256
- label: TranslationConfig;
39257
- confirmation: {
39258
- title: TranslationConfig;
39259
- body: TranslationConfig;
39260
- };
39261
- };
39262
- };
39263
- fields: ({
39264
- type: "DIVIDER";
39265
- id: string;
39266
- label: TranslationConfig;
39267
- parent?: {
39268
- $$field: string;
39269
- } | undefined;
39270
- validation?: {
39271
- message: TranslationConfig;
39272
- validator: import(".").JSONSchema;
39273
- }[] | undefined;
39274
- required?: boolean | undefined;
39275
- conditionals?: ({
39276
- type: "SHOW";
39277
- conditional: import(".").JSONSchema;
39278
- } | {
39279
- type: "ENABLE";
39280
- conditional: import(".").JSONSchema;
39281
- } | {
39282
- type: "DISPLAY_ON_REVIEW";
39283
- conditional: import(".").JSONSchema;
39284
- })[] | undefined;
39285
- secured?: boolean | undefined;
39286
- placeholder?: TranslationConfig | undefined;
39287
- helperText?: TranslationConfig | undefined;
39288
- hideLabel?: boolean | undefined;
39289
- uncorrectable?: boolean | undefined;
39290
- } | {
39291
- type: "TEXT";
38053
+ } | {
38054
+ type: "TEXT";
39292
38055
  id: string;
39293
38056
  label: TranslationConfig;
39294
38057
  parent?: {
@@ -40194,37 +38957,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
40194
38957
  helperText?: TranslationConfig | undefined;
40195
38958
  hideLabel?: boolean | undefined;
40196
38959
  uncorrectable?: boolean | undefined;
40197
- } | {
40198
- type: "PRINT_BUTTON";
40199
- id: string;
40200
- label: TranslationConfig;
40201
- configuration: {
40202
- template: string;
40203
- buttonLabel?: TranslationConfig | undefined;
40204
- };
40205
- parent?: {
40206
- $$field: string;
40207
- } | undefined;
40208
- validation?: {
40209
- message: TranslationConfig;
40210
- validator: import(".").JSONSchema;
40211
- }[] | undefined;
40212
- required?: boolean | undefined;
40213
- conditionals?: ({
40214
- type: "SHOW";
40215
- conditional: import(".").JSONSchema;
40216
- } | {
40217
- type: "ENABLE";
40218
- conditional: import(".").JSONSchema;
40219
- } | {
40220
- type: "DISPLAY_ON_REVIEW";
40221
- conditional: import(".").JSONSchema;
40222
- })[] | undefined;
40223
- secured?: boolean | undefined;
40224
- placeholder?: TranslationConfig | undefined;
40225
- helperText?: TranslationConfig | undefined;
40226
- hideLabel?: boolean | undefined;
40227
- uncorrectable?: boolean | undefined;
40228
38960
  })[];
40229
38961
  conditional?: import(".").JSONSchema | undefined;
40230
38962
  })[];
@@ -41180,37 +39912,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
41180
39912
  helperText?: TranslationConfig | undefined;
41181
39913
  hideLabel?: boolean | undefined;
41182
39914
  uncorrectable?: boolean | undefined;
41183
- } | {
41184
- type: "PRINT_BUTTON";
41185
- id: string;
41186
- label: TranslationConfig;
41187
- configuration: {
41188
- template: string;
41189
- buttonLabel?: TranslationConfig | undefined;
41190
- };
41191
- parent?: {
41192
- $$field: string;
41193
- } | undefined;
41194
- validation?: {
41195
- message: TranslationConfig;
41196
- validator: import(".").JSONSchema;
41197
- }[] | undefined;
41198
- required?: boolean | undefined;
41199
- conditionals?: ({
41200
- type: "SHOW";
41201
- conditional: import(".").JSONSchema;
41202
- } | {
41203
- type: "ENABLE";
41204
- conditional: import(".").JSONSchema;
41205
- } | {
41206
- type: "DISPLAY_ON_REVIEW";
41207
- conditional: import(".").JSONSchema;
41208
- })[] | undefined;
41209
- secured?: boolean | undefined;
41210
- placeholder?: TranslationConfig | undefined;
41211
- helperText?: TranslationConfig | undefined;
41212
- hideLabel?: boolean | undefined;
41213
- uncorrectable?: boolean | undefined;
41214
39915
  })[];
41215
39916
  conditional?: import(".").JSONSchema | undefined;
41216
39917
  } | {
@@ -42163,37 +40864,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
42163
40864
  helperText?: TranslationConfig | undefined;
42164
40865
  hideLabel?: boolean | undefined;
42165
40866
  uncorrectable?: boolean | undefined;
42166
- } | {
42167
- type: "PRINT_BUTTON";
42168
- id: string;
42169
- label: TranslationConfig;
42170
- configuration: {
42171
- template: string;
42172
- buttonLabel?: TranslationConfig | undefined;
42173
- };
42174
- parent?: {
42175
- $$field: string;
42176
- } | undefined;
42177
- validation?: {
42178
- message: TranslationConfig;
42179
- validator: import(".").JSONSchema;
42180
- }[] | undefined;
42181
- required?: boolean | undefined;
42182
- conditionals?: ({
42183
- type: "SHOW";
42184
- conditional: import(".").JSONSchema;
42185
- } | {
42186
- type: "ENABLE";
42187
- conditional: import(".").JSONSchema;
42188
- } | {
42189
- type: "DISPLAY_ON_REVIEW";
42190
- conditional: import(".").JSONSchema;
42191
- })[] | undefined;
42192
- secured?: boolean | undefined;
42193
- placeholder?: TranslationConfig | undefined;
42194
- helperText?: TranslationConfig | undefined;
42195
- hideLabel?: boolean | undefined;
42196
- uncorrectable?: boolean | undefined;
42197
40867
  })[];
42198
40868
  conditional?: import(".").JSONSchema | undefined;
42199
40869
  })[];
@@ -42252,7 +40922,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
42252
40922
  title: TranslationConfig;
42253
40923
  fields: ({
42254
40924
  config: {
42255
- type: "exact" | "fuzzy" | "range";
40925
+ type: "exact" | "fuzzy" | "range" | "within";
42256
40926
  };
42257
40927
  fieldId: string;
42258
40928
  fieldType: "field";
@@ -42279,7 +40949,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
42279
40949
  excludeInSearchQuery?: boolean | undefined;
42280
40950
  } | {
42281
40951
  config: {
42282
- type: "exact" | "fuzzy" | "range";
40952
+ type: "exact" | "fuzzy" | "range" | "within";
42283
40953
  };
42284
40954
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
42285
40955
  fieldType: "event";
@@ -43794,57 +42464,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
43794
42464
  } | undefined;
43795
42465
  hideLabel?: boolean | undefined;
43796
42466
  uncorrectable?: boolean | undefined;
43797
- } | {
43798
- type: "PRINT_BUTTON";
43799
- id: string;
43800
- label: {
43801
- id: string;
43802
- description: string;
43803
- defaultMessage: string;
43804
- };
43805
- configuration: {
43806
- template: string;
43807
- buttonLabel?: {
43808
- id: string;
43809
- description: string;
43810
- defaultMessage: string;
43811
- } | undefined;
43812
- };
43813
- parent?: {
43814
- $$field: string;
43815
- } | undefined;
43816
- validation?: {
43817
- message: {
43818
- id: string;
43819
- description: string;
43820
- defaultMessage: string;
43821
- };
43822
- validator: import(".").JSONSchema;
43823
- }[] | undefined;
43824
- required?: boolean | undefined;
43825
- conditionals?: ({
43826
- type: "SHOW";
43827
- conditional: import(".").JSONSchema;
43828
- } | {
43829
- type: "ENABLE";
43830
- conditional: import(".").JSONSchema;
43831
- } | {
43832
- type: "DISPLAY_ON_REVIEW";
43833
- conditional: import(".").JSONSchema;
43834
- })[] | undefined;
43835
- secured?: boolean | undefined;
43836
- placeholder?: {
43837
- id: string;
43838
- description: string;
43839
- defaultMessage: string;
43840
- } | undefined;
43841
- helperText?: {
43842
- id: string;
43843
- description: string;
43844
- defaultMessage: string;
43845
- } | undefined;
43846
- hideLabel?: boolean | undefined;
43847
- uncorrectable?: boolean | undefined;
43848
42467
  })[];
43849
42468
  type?: "FORM" | undefined;
43850
42469
  conditional?: import(".").JSONSchema | undefined;
@@ -45329,22 +43948,37 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45329
43948
  } | undefined;
45330
43949
  hideLabel?: boolean | undefined;
45331
43950
  uncorrectable?: boolean | undefined;
45332
- } | {
45333
- type: "PRINT_BUTTON";
43951
+ })[];
43952
+ };
43953
+ draft?: boolean | undefined;
43954
+ conditionals?: ({
43955
+ type: "SHOW";
43956
+ conditional: import(".").JSONSchema;
43957
+ } | {
43958
+ type: "ENABLE";
43959
+ conditional: import(".").JSONSchema;
43960
+ })[] | undefined;
43961
+ } | {
43962
+ type: "DECLARE";
43963
+ label: {
43964
+ id: string;
43965
+ description: string;
43966
+ defaultMessage: string;
43967
+ };
43968
+ review: {
43969
+ title: {
43970
+ id: string;
43971
+ description: string;
43972
+ defaultMessage: string;
43973
+ };
43974
+ fields: ({
43975
+ type: "DIVIDER";
45334
43976
  id: string;
45335
43977
  label: {
45336
43978
  id: string;
45337
43979
  description: string;
45338
43980
  defaultMessage: string;
45339
43981
  };
45340
- configuration: {
45341
- template: string;
45342
- buttonLabel?: {
45343
- id: string;
45344
- description: string;
45345
- defaultMessage: string;
45346
- } | undefined;
45347
- };
45348
43982
  parent?: {
45349
43983
  $$field: string;
45350
43984
  } | undefined;
@@ -45380,31 +44014,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45380
44014
  } | undefined;
45381
44015
  hideLabel?: boolean | undefined;
45382
44016
  uncorrectable?: boolean | undefined;
45383
- })[];
45384
- };
45385
- draft?: boolean | undefined;
45386
- conditionals?: ({
45387
- type: "SHOW";
45388
- conditional: import(".").JSONSchema;
45389
- } | {
45390
- type: "ENABLE";
45391
- conditional: import(".").JSONSchema;
45392
- })[] | undefined;
45393
- } | {
45394
- type: "DECLARE";
45395
- label: {
45396
- id: string;
45397
- description: string;
45398
- defaultMessage: string;
45399
- };
45400
- review: {
45401
- title: {
45402
- id: string;
45403
- description: string;
45404
- defaultMessage: string;
45405
- };
45406
- fields: ({
45407
- type: "DIVIDER";
44017
+ } | {
44018
+ type: "TEXT";
45408
44019
  id: string;
45409
44020
  label: {
45410
44021
  id: string;
@@ -45446,8 +44057,23 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45446
44057
  } | undefined;
45447
44058
  hideLabel?: boolean | undefined;
45448
44059
  uncorrectable?: boolean | undefined;
44060
+ defaultValue?: string | undefined;
44061
+ configuration?: {
44062
+ type?: "text" | "password" | undefined;
44063
+ maxLength?: number | undefined;
44064
+ prefix?: {
44065
+ id: string;
44066
+ description: string;
44067
+ defaultMessage: string;
44068
+ } | undefined;
44069
+ postfix?: {
44070
+ id: string;
44071
+ description: string;
44072
+ defaultMessage: string;
44073
+ } | undefined;
44074
+ } | undefined;
45449
44075
  } | {
45450
- type: "TEXT";
44076
+ type: "NUMBER";
45451
44077
  id: string;
45452
44078
  label: {
45453
44079
  id: string;
@@ -45489,10 +44115,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45489
44115
  } | undefined;
45490
44116
  hideLabel?: boolean | undefined;
45491
44117
  uncorrectable?: boolean | undefined;
45492
- defaultValue?: string | undefined;
44118
+ defaultValue?: number | undefined;
45493
44119
  configuration?: {
45494
- type?: "text" | "password" | undefined;
45495
- maxLength?: number | undefined;
45496
44120
  prefix?: {
45497
44121
  id: string;
45498
44122
  description: string;
@@ -45503,9 +44127,11 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45503
44127
  description: string;
45504
44128
  defaultMessage: string;
45505
44129
  } | undefined;
44130
+ min?: number | undefined;
44131
+ max?: number | undefined;
45506
44132
  } | undefined;
45507
44133
  } | {
45508
- type: "NUMBER";
44134
+ type: "TEXTAREA";
45509
44135
  id: string;
45510
44136
  label: {
45511
44137
  id: string;
@@ -45547,8 +44173,9 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45547
44173
  } | undefined;
45548
44174
  hideLabel?: boolean | undefined;
45549
44175
  uncorrectable?: boolean | undefined;
45550
- defaultValue?: number | undefined;
44176
+ defaultValue?: string | undefined;
45551
44177
  configuration?: {
44178
+ maxLength?: number | undefined;
45552
44179
  prefix?: {
45553
44180
  id: string;
45554
44181
  description: string;
@@ -45559,77 +44186,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
45559
44186
  description: string;
45560
44187
  defaultMessage: string;
45561
44188
  } | undefined;
45562
- min?: number | undefined;
45563
- max?: number | undefined;
44189
+ rows?: number | undefined;
44190
+ cols?: number | undefined;
45564
44191
  } | undefined;
45565
44192
  } | {
45566
- type: "TEXTAREA";
44193
+ type: "SIGNATURE";
45567
44194
  id: string;
45568
44195
  label: {
45569
- id: string;
45570
- description: string;
45571
- defaultMessage: string;
45572
- };
45573
- parent?: {
45574
- $$field: string;
45575
- } | undefined;
45576
- validation?: {
45577
- message: {
45578
- id: string;
45579
- description: string;
45580
- defaultMessage: string;
45581
- };
45582
- validator: import(".").JSONSchema;
45583
- }[] | undefined;
45584
- required?: boolean | undefined;
45585
- conditionals?: ({
45586
- type: "SHOW";
45587
- conditional: import(".").JSONSchema;
45588
- } | {
45589
- type: "ENABLE";
45590
- conditional: import(".").JSONSchema;
45591
- } | {
45592
- type: "DISPLAY_ON_REVIEW";
45593
- conditional: import(".").JSONSchema;
45594
- })[] | undefined;
45595
- secured?: boolean | undefined;
45596
- placeholder?: {
45597
- id: string;
45598
- description: string;
45599
- defaultMessage: string;
45600
- } | undefined;
45601
- helperText?: {
45602
- id: string;
45603
- description: string;
45604
- defaultMessage: string;
45605
- } | undefined;
45606
- hideLabel?: boolean | undefined;
45607
- uncorrectable?: boolean | undefined;
45608
- defaultValue?: string | undefined;
45609
- configuration?: {
45610
- maxLength?: number | undefined;
45611
- prefix?: {
45612
- id: string;
45613
- description: string;
45614
- defaultMessage: string;
45615
- } | undefined;
45616
- postfix?: {
45617
- id: string;
45618
- description: string;
45619
- defaultMessage: string;
45620
- } | undefined;
45621
- rows?: number | undefined;
45622
- cols?: number | undefined;
45623
- } | undefined;
45624
- } | {
45625
- type: "SIGNATURE";
45626
- id: string;
45627
- label: {
45628
- id: string;
45629
- description: string;
45630
- defaultMessage: string;
45631
- };
45632
- signaturePromptLabel: {
44196
+ id: string;
44197
+ description: string;
44198
+ defaultMessage: string;
44199
+ };
44200
+ signaturePromptLabel: {
45633
44201
  id: string;
45634
44202
  description: string;
45635
44203
  defaultMessage: string;
@@ -46869,57 +45437,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
46869
45437
  } | undefined;
46870
45438
  hideLabel?: boolean | undefined;
46871
45439
  uncorrectable?: boolean | undefined;
46872
- } | {
46873
- type: "PRINT_BUTTON";
46874
- id: string;
46875
- label: {
46876
- id: string;
46877
- description: string;
46878
- defaultMessage: string;
46879
- };
46880
- configuration: {
46881
- template: string;
46882
- buttonLabel?: {
46883
- id: string;
46884
- description: string;
46885
- defaultMessage: string;
46886
- } | undefined;
46887
- };
46888
- parent?: {
46889
- $$field: string;
46890
- } | undefined;
46891
- validation?: {
46892
- message: {
46893
- id: string;
46894
- description: string;
46895
- defaultMessage: string;
46896
- };
46897
- validator: import(".").JSONSchema;
46898
- }[] | undefined;
46899
- required?: boolean | undefined;
46900
- conditionals?: ({
46901
- type: "SHOW";
46902
- conditional: import(".").JSONSchema;
46903
- } | {
46904
- type: "ENABLE";
46905
- conditional: import(".").JSONSchema;
46906
- } | {
46907
- type: "DISPLAY_ON_REVIEW";
46908
- conditional: import(".").JSONSchema;
46909
- })[] | undefined;
46910
- secured?: boolean | undefined;
46911
- placeholder?: {
46912
- id: string;
46913
- description: string;
46914
- defaultMessage: string;
46915
- } | undefined;
46916
- helperText?: {
46917
- id: string;
46918
- description: string;
46919
- defaultMessage: string;
46920
- } | undefined;
46921
- hideLabel?: boolean | undefined;
46922
- uncorrectable?: boolean | undefined;
46923
45440
  })[];
46924
45441
  };
46925
45442
  draft?: boolean | undefined;
@@ -48409,57 +46926,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
48409
46926
  } | undefined;
48410
46927
  hideLabel?: boolean | undefined;
48411
46928
  uncorrectable?: boolean | undefined;
48412
- } | {
48413
- type: "PRINT_BUTTON";
48414
- id: string;
48415
- label: {
48416
- id: string;
48417
- description: string;
48418
- defaultMessage: string;
48419
- };
48420
- configuration: {
48421
- template: string;
48422
- buttonLabel?: {
48423
- id: string;
48424
- description: string;
48425
- defaultMessage: string;
48426
- } | undefined;
48427
- };
48428
- parent?: {
48429
- $$field: string;
48430
- } | undefined;
48431
- validation?: {
48432
- message: {
48433
- id: string;
48434
- description: string;
48435
- defaultMessage: string;
48436
- };
48437
- validator: import(".").JSONSchema;
48438
- }[] | undefined;
48439
- required?: boolean | undefined;
48440
- conditionals?: ({
48441
- type: "SHOW";
48442
- conditional: import(".").JSONSchema;
48443
- } | {
48444
- type: "ENABLE";
48445
- conditional: import(".").JSONSchema;
48446
- } | {
48447
- type: "DISPLAY_ON_REVIEW";
48448
- conditional: import(".").JSONSchema;
48449
- })[] | undefined;
48450
- secured?: boolean | undefined;
48451
- placeholder?: {
48452
- id: string;
48453
- description: string;
48454
- defaultMessage: string;
48455
- } | undefined;
48456
- helperText?: {
48457
- id: string;
48458
- description: string;
48459
- defaultMessage: string;
48460
- } | undefined;
48461
- hideLabel?: boolean | undefined;
48462
- uncorrectable?: boolean | undefined;
48463
46929
  })[];
48464
46930
  };
48465
46931
  draft?: boolean | undefined;
@@ -49949,57 +48415,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
49949
48415
  } | undefined;
49950
48416
  hideLabel?: boolean | undefined;
49951
48417
  uncorrectable?: boolean | undefined;
49952
- } | {
49953
- type: "PRINT_BUTTON";
49954
- id: string;
49955
- label: {
49956
- id: string;
49957
- description: string;
49958
- defaultMessage: string;
49959
- };
49960
- configuration: {
49961
- template: string;
49962
- buttonLabel?: {
49963
- id: string;
49964
- description: string;
49965
- defaultMessage: string;
49966
- } | undefined;
49967
- };
49968
- parent?: {
49969
- $$field: string;
49970
- } | undefined;
49971
- validation?: {
49972
- message: {
49973
- id: string;
49974
- description: string;
49975
- defaultMessage: string;
49976
- };
49977
- validator: import(".").JSONSchema;
49978
- }[] | undefined;
49979
- required?: boolean | undefined;
49980
- conditionals?: ({
49981
- type: "SHOW";
49982
- conditional: import(".").JSONSchema;
49983
- } | {
49984
- type: "ENABLE";
49985
- conditional: import(".").JSONSchema;
49986
- } | {
49987
- type: "DISPLAY_ON_REVIEW";
49988
- conditional: import(".").JSONSchema;
49989
- })[] | undefined;
49990
- secured?: boolean | undefined;
49991
- placeholder?: {
49992
- id: string;
49993
- description: string;
49994
- defaultMessage: string;
49995
- } | undefined;
49996
- helperText?: {
49997
- id: string;
49998
- description: string;
49999
- defaultMessage: string;
50000
- } | undefined;
50001
- hideLabel?: boolean | undefined;
50002
- uncorrectable?: boolean | undefined;
50003
48418
  })[];
50004
48419
  };
50005
48420
  draft?: boolean | undefined;
@@ -51556,57 +49971,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
51556
49971
  } | undefined;
51557
49972
  hideLabel?: boolean | undefined;
51558
49973
  uncorrectable?: boolean | undefined;
51559
- } | {
51560
- type: "PRINT_BUTTON";
51561
- id: string;
51562
- label: {
51563
- id: string;
51564
- description: string;
51565
- defaultMessage: string;
51566
- };
51567
- configuration: {
51568
- template: string;
51569
- buttonLabel?: {
51570
- id: string;
51571
- description: string;
51572
- defaultMessage: string;
51573
- } | undefined;
51574
- };
51575
- parent?: {
51576
- $$field: string;
51577
- } | undefined;
51578
- validation?: {
51579
- message: {
51580
- id: string;
51581
- description: string;
51582
- defaultMessage: string;
51583
- };
51584
- validator: import(".").JSONSchema;
51585
- }[] | undefined;
51586
- required?: boolean | undefined;
51587
- conditionals?: ({
51588
- type: "SHOW";
51589
- conditional: import(".").JSONSchema;
51590
- } | {
51591
- type: "ENABLE";
51592
- conditional: import(".").JSONSchema;
51593
- } | {
51594
- type: "DISPLAY_ON_REVIEW";
51595
- conditional: import(".").JSONSchema;
51596
- })[] | undefined;
51597
- secured?: boolean | undefined;
51598
- placeholder?: {
51599
- id: string;
51600
- description: string;
51601
- defaultMessage: string;
51602
- } | undefined;
51603
- helperText?: {
51604
- id: string;
51605
- description: string;
51606
- defaultMessage: string;
51607
- } | undefined;
51608
- hideLabel?: boolean | undefined;
51609
- uncorrectable?: boolean | undefined;
51610
49974
  })[];
51611
49975
  type?: "FORM" | undefined;
51612
49976
  conditional?: import(".").JSONSchema | undefined;
@@ -53112,57 +51476,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
53112
51476
  } | undefined;
53113
51477
  hideLabel?: boolean | undefined;
53114
51478
  uncorrectable?: boolean | undefined;
53115
- } | {
53116
- type: "PRINT_BUTTON";
53117
- id: string;
53118
- label: {
53119
- id: string;
53120
- description: string;
53121
- defaultMessage: string;
53122
- };
53123
- configuration: {
53124
- template: string;
53125
- buttonLabel?: {
53126
- id: string;
53127
- description: string;
53128
- defaultMessage: string;
53129
- } | undefined;
53130
- };
53131
- parent?: {
53132
- $$field: string;
53133
- } | undefined;
53134
- validation?: {
53135
- message: {
53136
- id: string;
53137
- description: string;
53138
- defaultMessage: string;
53139
- };
53140
- validator: import(".").JSONSchema;
53141
- }[] | undefined;
53142
- required?: boolean | undefined;
53143
- conditionals?: ({
53144
- type: "SHOW";
53145
- conditional: import(".").JSONSchema;
53146
- } | {
53147
- type: "ENABLE";
53148
- conditional: import(".").JSONSchema;
53149
- } | {
53150
- type: "DISPLAY_ON_REVIEW";
53151
- conditional: import(".").JSONSchema;
53152
- })[] | undefined;
53153
- secured?: boolean | undefined;
53154
- placeholder?: {
53155
- id: string;
53156
- description: string;
53157
- defaultMessage: string;
53158
- } | undefined;
53159
- helperText?: {
53160
- id: string;
53161
- description: string;
53162
- defaultMessage: string;
53163
- } | undefined;
53164
- hideLabel?: boolean | undefined;
53165
- uncorrectable?: boolean | undefined;
53166
51479
  })[];
53167
51480
  conditional?: import(".").JSONSchema | undefined;
53168
51481
  })[];
@@ -54661,57 +52974,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
54661
52974
  } | undefined;
54662
52975
  hideLabel?: boolean | undefined;
54663
52976
  uncorrectable?: boolean | undefined;
54664
- } | {
54665
- type: "PRINT_BUTTON";
54666
- id: string;
54667
- label: {
54668
- id: string;
54669
- description: string;
54670
- defaultMessage: string;
54671
- };
54672
- configuration: {
54673
- template: string;
54674
- buttonLabel?: {
54675
- id: string;
54676
- description: string;
54677
- defaultMessage: string;
54678
- } | undefined;
54679
- };
54680
- parent?: {
54681
- $$field: string;
54682
- } | undefined;
54683
- validation?: {
54684
- message: {
54685
- id: string;
54686
- description: string;
54687
- defaultMessage: string;
54688
- };
54689
- validator: import(".").JSONSchema;
54690
- }[] | undefined;
54691
- required?: boolean | undefined;
54692
- conditionals?: ({
54693
- type: "SHOW";
54694
- conditional: import(".").JSONSchema;
54695
- } | {
54696
- type: "ENABLE";
54697
- conditional: import(".").JSONSchema;
54698
- } | {
54699
- type: "DISPLAY_ON_REVIEW";
54700
- conditional: import(".").JSONSchema;
54701
- })[] | undefined;
54702
- secured?: boolean | undefined;
54703
- placeholder?: {
54704
- id: string;
54705
- description: string;
54706
- defaultMessage: string;
54707
- } | undefined;
54708
- helperText?: {
54709
- id: string;
54710
- description: string;
54711
- defaultMessage: string;
54712
- } | undefined;
54713
- hideLabel?: boolean | undefined;
54714
- uncorrectable?: boolean | undefined;
54715
52977
  })[];
54716
52978
  type?: "FORM" | undefined;
54717
52979
  conditional?: import(".").JSONSchema | undefined;
@@ -56217,57 +54479,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
56217
54479
  } | undefined;
56218
54480
  hideLabel?: boolean | undefined;
56219
54481
  uncorrectable?: boolean | undefined;
56220
- } | {
56221
- type: "PRINT_BUTTON";
56222
- id: string;
56223
- label: {
56224
- id: string;
56225
- description: string;
56226
- defaultMessage: string;
56227
- };
56228
- configuration: {
56229
- template: string;
56230
- buttonLabel?: {
56231
- id: string;
56232
- description: string;
56233
- defaultMessage: string;
56234
- } | undefined;
56235
- };
56236
- parent?: {
56237
- $$field: string;
56238
- } | undefined;
56239
- validation?: {
56240
- message: {
56241
- id: string;
56242
- description: string;
56243
- defaultMessage: string;
56244
- };
56245
- validator: import(".").JSONSchema;
56246
- }[] | undefined;
56247
- required?: boolean | undefined;
56248
- conditionals?: ({
56249
- type: "SHOW";
56250
- conditional: import(".").JSONSchema;
56251
- } | {
56252
- type: "ENABLE";
56253
- conditional: import(".").JSONSchema;
56254
- } | {
56255
- type: "DISPLAY_ON_REVIEW";
56256
- conditional: import(".").JSONSchema;
56257
- })[] | undefined;
56258
- secured?: boolean | undefined;
56259
- placeholder?: {
56260
- id: string;
56261
- description: string;
56262
- defaultMessage: string;
56263
- } | undefined;
56264
- helperText?: {
56265
- id: string;
56266
- description: string;
56267
- defaultMessage: string;
56268
- } | undefined;
56269
- hideLabel?: boolean | undefined;
56270
- uncorrectable?: boolean | undefined;
56271
54482
  })[];
56272
54483
  conditional?: import(".").JSONSchema | undefined;
56273
54484
  })[];
@@ -56381,7 +54592,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
56381
54592
  };
56382
54593
  fields: ({
56383
54594
  config: {
56384
- type: "exact" | "fuzzy" | "range";
54595
+ type: "exact" | "fuzzy" | "range" | "within";
56385
54596
  };
56386
54597
  fieldId: string;
56387
54598
  fieldType: "field";
@@ -56420,7 +54631,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
56420
54631
  excludeInSearchQuery?: boolean | undefined;
56421
54632
  } | {
56422
54633
  config: {
56423
- type: "exact" | "fuzzy" | "range";
54634
+ type: "exact" | "fuzzy" | "range" | "within";
56424
54635
  };
56425
54636
  fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
56426
54637
  fieldType: "event";