@onlive.ai/flow-client 0.1.63 → 0.1.73

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.
@@ -2218,6 +2218,8 @@ type Flow = z.infer<typeof Flow>;
2218
2218
  * @property {Object} [error] - Error object containing validation or processing errors.
2219
2219
  * @property {ErrorCode} error.code - Error code identifying the type of error that occurred.
2220
2220
  * @property {string} [error.message] - Human-readable error message.
2221
+ * @property {string} [error.icon] - Icon name to display with the error message.
2222
+ * @property {"top" | "bottom"} [error.position] - Position of the error message relative to the step content.
2221
2223
  * @property {Array<{name: string, type: FieldType, value: any, error: string}>} [error.fields] - Array of field-specific errors.
2222
2224
  * @property {boolean} [isFinal] - Flag indicating if this is the final step in the flow.
2223
2225
  */
@@ -2336,6 +2338,7 @@ declare const Step: z.ZodObject<{
2336
2338
  multiple: z.ZodOptional<z.ZodBoolean>;
2337
2339
  placeholder: z.ZodOptional<z.ZodString>;
2338
2340
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
2341
+ id: z.ZodOptional<z.ZodString>;
2339
2342
  label: z.ZodString;
2340
2343
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
2341
2344
  lat: z.ZodNumber;
@@ -2916,6 +2919,7 @@ declare const Step: z.ZodObject<{
2916
2919
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
2917
2920
  }[] | undefined;
2918
2921
  })[] | undefined;
2922
+ id?: string | undefined;
2919
2923
  actions?: {
2920
2924
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
2921
2925
  label: string;
@@ -3019,6 +3023,7 @@ declare const Step: z.ZodObject<{
3019
3023
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
3020
3024
  }[] | undefined;
3021
3025
  })[] | undefined;
3026
+ id?: string | undefined;
3022
3027
  actions?: {
3023
3028
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
3024
3029
  label: string;
@@ -3277,10 +3282,19 @@ declare const Step: z.ZodObject<{
3277
3282
  floatingLabel?: boolean | undefined;
3278
3283
  }>>;
3279
3284
  textarea: z.ZodOptional<z.ZodObject<{
3285
+ minLength: z.ZodOptional<z.ZodNumber>;
3286
+ maxLength: z.ZodOptional<z.ZodNumber>;
3287
+ exactLength: z.ZodOptional<z.ZodNumber>;
3280
3288
  rows: z.ZodOptional<z.ZodNumber>;
3281
3289
  }, "strip", z.ZodTypeAny, {
3290
+ minLength?: number | undefined;
3291
+ maxLength?: number | undefined;
3292
+ exactLength?: number | undefined;
3282
3293
  rows?: number | undefined;
3283
3294
  }, {
3295
+ minLength?: number | undefined;
3296
+ maxLength?: number | undefined;
3297
+ exactLength?: number | undefined;
3284
3298
  rows?: number | undefined;
3285
3299
  }>>;
3286
3300
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -3643,49 +3657,6 @@ declare const Step: z.ZodObject<{
3643
3657
  icon?: string | undefined;
3644
3658
  } | undefined;
3645
3659
  }>>;
3646
- mappedResults: z.ZodOptional<z.ZodObject<{
3647
- mapping: z.ZodArray<z.ZodObject<{
3648
- terms: z.ZodArray<z.ZodString, "many">;
3649
- values: z.ZodArray<z.ZodObject<{
3650
- key: z.ZodString;
3651
- value: z.ZodString;
3652
- }, "strip", z.ZodTypeAny, {
3653
- value: string;
3654
- key: string;
3655
- }, {
3656
- value: string;
3657
- key: string;
3658
- }>, "many">;
3659
- }, "strip", z.ZodTypeAny, {
3660
- values: {
3661
- value: string;
3662
- key: string;
3663
- }[];
3664
- terms: string[];
3665
- }, {
3666
- values: {
3667
- value: string;
3668
- key: string;
3669
- }[];
3670
- terms: string[];
3671
- }>, "many">;
3672
- }, "strip", z.ZodTypeAny, {
3673
- mapping: {
3674
- values: {
3675
- value: string;
3676
- key: string;
3677
- }[];
3678
- terms: string[];
3679
- }[];
3680
- }, {
3681
- mapping: {
3682
- values: {
3683
- value: string;
3684
- key: string;
3685
- }[];
3686
- terms: string[];
3687
- }[];
3688
- }>>;
3689
3660
  }, "strip", z.ZodTypeAny, {
3690
3661
  value?: string | undefined;
3691
3662
  button?: {
@@ -3714,15 +3685,6 @@ declare const Step: z.ZodObject<{
3714
3685
  icon?: string | undefined;
3715
3686
  position?: "left" | "right" | undefined;
3716
3687
  } | undefined;
3717
- mappedResults?: {
3718
- mapping: {
3719
- values: {
3720
- value: string;
3721
- key: string;
3722
- }[];
3723
- terms: string[];
3724
- }[];
3725
- } | undefined;
3726
3688
  }, {
3727
3689
  value?: string | undefined;
3728
3690
  button?: {
@@ -3751,15 +3713,6 @@ declare const Step: z.ZodObject<{
3751
3713
  icon?: string | undefined;
3752
3714
  position?: "left" | "right" | undefined;
3753
3715
  } | undefined;
3754
- mappedResults?: {
3755
- mapping: {
3756
- values: {
3757
- value: string;
3758
- key: string;
3759
- }[];
3760
- terms: string[];
3761
- }[];
3762
- } | undefined;
3763
3716
  }>>;
3764
3717
  distanceRange: z.ZodOptional<z.ZodObject<{
3765
3718
  initial: z.ZodOptional<z.ZodNumber>;
@@ -4194,6 +4147,55 @@ declare const Step: z.ZodObject<{
4194
4147
  action: string;
4195
4148
  } | undefined;
4196
4149
  }>>;
4150
+ ordering: z.ZodOptional<z.ZodObject<{
4151
+ orderBy: z.ZodOptional<z.ZodEnum<["distance", "title", "id"]>>;
4152
+ orderDir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
4153
+ preferences: z.ZodArray<z.ZodObject<{
4154
+ ids: z.ZodArray<z.ZodString, "many">;
4155
+ filters: z.ZodOptional<z.ZodObject<{
4156
+ postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4157
+ }, "strip", z.ZodTypeAny, {
4158
+ postcodes?: string[] | undefined;
4159
+ }, {
4160
+ postcodes?: string[] | undefined;
4161
+ }>>;
4162
+ }, "strip", z.ZodTypeAny, {
4163
+ ids: string[];
4164
+ filters?: {
4165
+ postcodes?: string[] | undefined;
4166
+ } | undefined;
4167
+ }, {
4168
+ ids: string[];
4169
+ filters?: {
4170
+ postcodes?: string[] | undefined;
4171
+ } | undefined;
4172
+ }>, "many">;
4173
+ }, "strip", z.ZodTypeAny, {
4174
+ preferences: {
4175
+ ids: string[];
4176
+ filters?: {
4177
+ postcodes?: string[] | undefined;
4178
+ } | undefined;
4179
+ }[];
4180
+ orderBy?: "id" | "title" | "distance" | undefined;
4181
+ orderDir?: "asc" | "desc" | undefined;
4182
+ }, {
4183
+ preferences: {
4184
+ ids: string[];
4185
+ filters?: {
4186
+ postcodes?: string[] | undefined;
4187
+ } | undefined;
4188
+ }[];
4189
+ orderBy?: "id" | "title" | "distance" | undefined;
4190
+ orderDir?: "asc" | "desc" | undefined;
4191
+ }>>;
4192
+ clickableItems: z.ZodOptional<z.ZodObject<{
4193
+ actionId: z.ZodString;
4194
+ }, "strip", z.ZodTypeAny, {
4195
+ actionId: string;
4196
+ }, {
4197
+ actionId: string;
4198
+ }>>;
4197
4199
  forcePolyfills: z.ZodOptional<z.ZodBoolean>;
4198
4200
  }, "strip", z.ZodTypeAny, {
4199
4201
  options?: {
@@ -4230,15 +4232,9 @@ declare const Step: z.ZodObject<{
4230
4232
  icon?: string | undefined;
4231
4233
  position?: "left" | "right" | undefined;
4232
4234
  } | undefined;
4233
- mappedResults?: {
4234
- mapping: {
4235
- values: {
4236
- value: string;
4237
- key: string;
4238
- }[];
4239
- terms: string[];
4240
- }[];
4241
- } | undefined;
4235
+ } | undefined;
4236
+ clickableItems?: {
4237
+ actionId: string;
4242
4238
  } | undefined;
4243
4239
  apiKey?: string | undefined;
4244
4240
  region?: string | undefined;
@@ -4352,6 +4348,16 @@ declare const Step: z.ZodObject<{
4352
4348
  action: string;
4353
4349
  } | undefined;
4354
4350
  } | undefined;
4351
+ ordering?: {
4352
+ preferences: {
4353
+ ids: string[];
4354
+ filters?: {
4355
+ postcodes?: string[] | undefined;
4356
+ } | undefined;
4357
+ }[];
4358
+ orderBy?: "id" | "title" | "distance" | undefined;
4359
+ orderDir?: "asc" | "desc" | undefined;
4360
+ } | undefined;
4355
4361
  forcePolyfills?: boolean | undefined;
4356
4362
  }, {
4357
4363
  options?: {
@@ -4388,15 +4394,9 @@ declare const Step: z.ZodObject<{
4388
4394
  icon?: string | undefined;
4389
4395
  position?: "left" | "right" | undefined;
4390
4396
  } | undefined;
4391
- mappedResults?: {
4392
- mapping: {
4393
- values: {
4394
- value: string;
4395
- key: string;
4396
- }[];
4397
- terms: string[];
4398
- }[];
4399
- } | undefined;
4397
+ } | undefined;
4398
+ clickableItems?: {
4399
+ actionId: string;
4400
4400
  } | undefined;
4401
4401
  apiKey?: string | undefined;
4402
4402
  region?: string | undefined;
@@ -4510,6 +4510,16 @@ declare const Step: z.ZodObject<{
4510
4510
  action: string;
4511
4511
  } | undefined;
4512
4512
  } | undefined;
4513
+ ordering?: {
4514
+ preferences: {
4515
+ ids: string[];
4516
+ filters?: {
4517
+ postcodes?: string[] | undefined;
4518
+ } | undefined;
4519
+ }[];
4520
+ orderBy?: "id" | "title" | "distance" | undefined;
4521
+ orderDir?: "asc" | "desc" | undefined;
4522
+ } | undefined;
4513
4523
  forcePolyfills?: boolean | undefined;
4514
4524
  }>>;
4515
4525
  calendar: z.ZodOptional<z.ZodObject<{
@@ -4746,15 +4756,9 @@ declare const Step: z.ZodObject<{
4746
4756
  icon?: string | undefined;
4747
4757
  position?: "left" | "right" | undefined;
4748
4758
  } | undefined;
4749
- mappedResults?: {
4750
- mapping: {
4751
- values: {
4752
- value: string;
4753
- key: string;
4754
- }[];
4755
- terms: string[];
4756
- }[];
4757
- } | undefined;
4759
+ } | undefined;
4760
+ clickableItems?: {
4761
+ actionId: string;
4758
4762
  } | undefined;
4759
4763
  apiKey?: string | undefined;
4760
4764
  region?: string | undefined;
@@ -4868,6 +4872,16 @@ declare const Step: z.ZodObject<{
4868
4872
  action: string;
4869
4873
  } | undefined;
4870
4874
  } | undefined;
4875
+ ordering?: {
4876
+ preferences: {
4877
+ ids: string[];
4878
+ filters?: {
4879
+ postcodes?: string[] | undefined;
4880
+ } | undefined;
4881
+ }[];
4882
+ orderBy?: "id" | "title" | "distance" | undefined;
4883
+ orderDir?: "asc" | "desc" | undefined;
4884
+ } | undefined;
4871
4885
  forcePolyfills?: boolean | undefined;
4872
4886
  } | undefined;
4873
4887
  input?: {
@@ -4910,6 +4924,9 @@ declare const Step: z.ZodObject<{
4910
4924
  floatingLabel?: boolean | undefined;
4911
4925
  } | undefined;
4912
4926
  textarea?: {
4927
+ minLength?: number | undefined;
4928
+ maxLength?: number | undefined;
4929
+ exactLength?: number | undefined;
4913
4930
  rows?: number | undefined;
4914
4931
  } | undefined;
4915
4932
  checkbox?: {
@@ -5042,15 +5059,9 @@ declare const Step: z.ZodObject<{
5042
5059
  icon?: string | undefined;
5043
5060
  position?: "left" | "right" | undefined;
5044
5061
  } | undefined;
5045
- mappedResults?: {
5046
- mapping: {
5047
- values: {
5048
- value: string;
5049
- key: string;
5050
- }[];
5051
- terms: string[];
5052
- }[];
5053
- } | undefined;
5062
+ } | undefined;
5063
+ clickableItems?: {
5064
+ actionId: string;
5054
5065
  } | undefined;
5055
5066
  apiKey?: string | undefined;
5056
5067
  region?: string | undefined;
@@ -5164,6 +5175,16 @@ declare const Step: z.ZodObject<{
5164
5175
  action: string;
5165
5176
  } | undefined;
5166
5177
  } | undefined;
5178
+ ordering?: {
5179
+ preferences: {
5180
+ ids: string[];
5181
+ filters?: {
5182
+ postcodes?: string[] | undefined;
5183
+ } | undefined;
5184
+ }[];
5185
+ orderBy?: "id" | "title" | "distance" | undefined;
5186
+ orderDir?: "asc" | "desc" | undefined;
5187
+ } | undefined;
5167
5188
  forcePolyfills?: boolean | undefined;
5168
5189
  } | undefined;
5169
5190
  input?: {
@@ -5206,6 +5227,9 @@ declare const Step: z.ZodObject<{
5206
5227
  floatingLabel?: boolean | undefined;
5207
5228
  } | undefined;
5208
5229
  textarea?: {
5230
+ minLength?: number | undefined;
5231
+ maxLength?: number | undefined;
5232
+ exactLength?: number | undefined;
5209
5233
  rows?: number | undefined;
5210
5234
  } | undefined;
5211
5235
  checkbox?: {
@@ -5772,6 +5796,7 @@ declare const Step: z.ZodObject<{
5772
5796
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
5773
5797
  }[] | undefined;
5774
5798
  })[] | undefined;
5799
+ id?: string | undefined;
5775
5800
  actions?: {
5776
5801
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5777
5802
  label: string;
@@ -5844,15 +5869,9 @@ declare const Step: z.ZodObject<{
5844
5869
  icon?: string | undefined;
5845
5870
  position?: "left" | "right" | undefined;
5846
5871
  } | undefined;
5847
- mappedResults?: {
5848
- mapping: {
5849
- values: {
5850
- value: string;
5851
- key: string;
5852
- }[];
5853
- terms: string[];
5854
- }[];
5855
- } | undefined;
5872
+ } | undefined;
5873
+ clickableItems?: {
5874
+ actionId: string;
5856
5875
  } | undefined;
5857
5876
  apiKey?: string | undefined;
5858
5877
  region?: string | undefined;
@@ -5966,6 +5985,16 @@ declare const Step: z.ZodObject<{
5966
5985
  action: string;
5967
5986
  } | undefined;
5968
5987
  } | undefined;
5988
+ ordering?: {
5989
+ preferences: {
5990
+ ids: string[];
5991
+ filters?: {
5992
+ postcodes?: string[] | undefined;
5993
+ } | undefined;
5994
+ }[];
5995
+ orderBy?: "id" | "title" | "distance" | undefined;
5996
+ orderDir?: "asc" | "desc" | undefined;
5997
+ } | undefined;
5969
5998
  forcePolyfills?: boolean | undefined;
5970
5999
  } | undefined;
5971
6000
  input?: {
@@ -6008,6 +6037,9 @@ declare const Step: z.ZodObject<{
6008
6037
  floatingLabel?: boolean | undefined;
6009
6038
  } | undefined;
6010
6039
  textarea?: {
6040
+ minLength?: number | undefined;
6041
+ maxLength?: number | undefined;
6042
+ exactLength?: number | undefined;
6011
6043
  rows?: number | undefined;
6012
6044
  } | undefined;
6013
6045
  checkbox?: {
@@ -6275,6 +6307,7 @@ declare const Step: z.ZodObject<{
6275
6307
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
6276
6308
  }[] | undefined;
6277
6309
  })[] | undefined;
6310
+ id?: string | undefined;
6278
6311
  actions?: {
6279
6312
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6280
6313
  label: string;
@@ -6347,15 +6380,9 @@ declare const Step: z.ZodObject<{
6347
6380
  icon?: string | undefined;
6348
6381
  position?: "left" | "right" | undefined;
6349
6382
  } | undefined;
6350
- mappedResults?: {
6351
- mapping: {
6352
- values: {
6353
- value: string;
6354
- key: string;
6355
- }[];
6356
- terms: string[];
6357
- }[];
6358
- } | undefined;
6383
+ } | undefined;
6384
+ clickableItems?: {
6385
+ actionId: string;
6359
6386
  } | undefined;
6360
6387
  apiKey?: string | undefined;
6361
6388
  region?: string | undefined;
@@ -6469,6 +6496,16 @@ declare const Step: z.ZodObject<{
6469
6496
  action: string;
6470
6497
  } | undefined;
6471
6498
  } | undefined;
6499
+ ordering?: {
6500
+ preferences: {
6501
+ ids: string[];
6502
+ filters?: {
6503
+ postcodes?: string[] | undefined;
6504
+ } | undefined;
6505
+ }[];
6506
+ orderBy?: "id" | "title" | "distance" | undefined;
6507
+ orderDir?: "asc" | "desc" | undefined;
6508
+ } | undefined;
6472
6509
  forcePolyfills?: boolean | undefined;
6473
6510
  } | undefined;
6474
6511
  input?: {
@@ -6511,6 +6548,9 @@ declare const Step: z.ZodObject<{
6511
6548
  floatingLabel?: boolean | undefined;
6512
6549
  } | undefined;
6513
6550
  textarea?: {
6551
+ minLength?: number | undefined;
6552
+ maxLength?: number | undefined;
6553
+ exactLength?: number | undefined;
6514
6554
  rows?: number | undefined;
6515
6555
  } | undefined;
6516
6556
  checkbox?: {
@@ -6833,6 +6873,8 @@ declare const Step: z.ZodObject<{
6833
6873
  error: z.ZodOptional<z.ZodObject<{
6834
6874
  code: z.ZodEnum<["INVALID_DATA", "INVALID_ACTION", "STEP_NOT_FOUND", "UNKNOWN_ERROR", "APPOINTMENT_INVALID_DATA", "APPOINTMENT_BUSY_SLOT", "APPOINTMENT_OUT_OF_DATE", "APPOINTMENT_UNKNOWN_ERROR", "LEAD_INVALID_DATA", "LEAD_UNKNOWN_ERROR", "CONTENT_INVALID_DATA", "CONTENT_UNKNOWN_ERROR", "CONTACT_INVALID_DATA", "CONTACT_UNKNOWN_ERROR", "LOST_OPPORTUNITY_INVALID_DATA", "LOST_OPPORTUNITY_UNKNOWN_ERROR"]>;
6835
6875
  message: z.ZodOptional<z.ZodString>;
6876
+ icon: z.ZodOptional<z.ZodString>;
6877
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
6836
6878
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6837
6879
  name: z.ZodString;
6838
6880
  type: z.ZodEnum<["text", "boolean", "number", "email", "phone", "mobile_phone", "date", "time", "datetime", "password", "url", "color", "object", "void", "location", "availability"]>;
@@ -6858,6 +6900,8 @@ declare const Step: z.ZodObject<{
6858
6900
  error: string;
6859
6901
  value?: any;
6860
6902
  }[] | undefined;
6903
+ icon?: string | undefined;
6904
+ position?: "top" | "bottom" | undefined;
6861
6905
  }, {
6862
6906
  code: "INVALID_DATA" | "INVALID_ACTION" | "STEP_NOT_FOUND" | "UNKNOWN_ERROR" | "APPOINTMENT_INVALID_DATA" | "APPOINTMENT_BUSY_SLOT" | "APPOINTMENT_OUT_OF_DATE" | "APPOINTMENT_UNKNOWN_ERROR" | "LEAD_INVALID_DATA" | "LEAD_UNKNOWN_ERROR" | "CONTENT_INVALID_DATA" | "CONTENT_UNKNOWN_ERROR" | "CONTACT_INVALID_DATA" | "CONTACT_UNKNOWN_ERROR" | "LOST_OPPORTUNITY_INVALID_DATA" | "LOST_OPPORTUNITY_UNKNOWN_ERROR";
6863
6907
  message?: string | undefined;
@@ -6867,6 +6911,8 @@ declare const Step: z.ZodObject<{
6867
6911
  error: string;
6868
6912
  value?: any;
6869
6913
  }[] | undefined;
6914
+ icon?: string | undefined;
6915
+ position?: "top" | "bottom" | undefined;
6870
6916
  }>>;
6871
6917
  isFinal: z.ZodOptional<z.ZodBoolean>;
6872
6918
  }, "strip", z.ZodTypeAny, {
@@ -6977,6 +7023,7 @@ declare const Step: z.ZodObject<{
6977
7023
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
6978
7024
  }[] | undefined;
6979
7025
  })[] | undefined;
7026
+ id?: string | undefined;
6980
7027
  actions?: {
6981
7028
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6982
7029
  label: string;
@@ -7049,15 +7096,9 @@ declare const Step: z.ZodObject<{
7049
7096
  icon?: string | undefined;
7050
7097
  position?: "left" | "right" | undefined;
7051
7098
  } | undefined;
7052
- mappedResults?: {
7053
- mapping: {
7054
- values: {
7055
- value: string;
7056
- key: string;
7057
- }[];
7058
- terms: string[];
7059
- }[];
7060
- } | undefined;
7099
+ } | undefined;
7100
+ clickableItems?: {
7101
+ actionId: string;
7061
7102
  } | undefined;
7062
7103
  apiKey?: string | undefined;
7063
7104
  region?: string | undefined;
@@ -7171,6 +7212,16 @@ declare const Step: z.ZodObject<{
7171
7212
  action: string;
7172
7213
  } | undefined;
7173
7214
  } | undefined;
7215
+ ordering?: {
7216
+ preferences: {
7217
+ ids: string[];
7218
+ filters?: {
7219
+ postcodes?: string[] | undefined;
7220
+ } | undefined;
7221
+ }[];
7222
+ orderBy?: "id" | "title" | "distance" | undefined;
7223
+ orderDir?: "asc" | "desc" | undefined;
7224
+ } | undefined;
7174
7225
  forcePolyfills?: boolean | undefined;
7175
7226
  } | undefined;
7176
7227
  input?: {
@@ -7213,6 +7264,9 @@ declare const Step: z.ZodObject<{
7213
7264
  floatingLabel?: boolean | undefined;
7214
7265
  } | undefined;
7215
7266
  textarea?: {
7267
+ minLength?: number | undefined;
7268
+ maxLength?: number | undefined;
7269
+ exactLength?: number | undefined;
7216
7270
  rows?: number | undefined;
7217
7271
  } | undefined;
7218
7272
  checkbox?: {
@@ -7416,6 +7470,8 @@ declare const Step: z.ZodObject<{
7416
7470
  error: string;
7417
7471
  value?: any;
7418
7472
  }[] | undefined;
7473
+ icon?: string | undefined;
7474
+ position?: "top" | "bottom" | undefined;
7419
7475
  } | undefined;
7420
7476
  result?: {
7421
7477
  tracking?: Record<string, any> | undefined;
@@ -7537,6 +7593,7 @@ declare const Step: z.ZodObject<{
7537
7593
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
7538
7594
  }[] | undefined;
7539
7595
  })[] | undefined;
7596
+ id?: string | undefined;
7540
7597
  actions?: {
7541
7598
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7542
7599
  label: string;
@@ -7609,15 +7666,9 @@ declare const Step: z.ZodObject<{
7609
7666
  icon?: string | undefined;
7610
7667
  position?: "left" | "right" | undefined;
7611
7668
  } | undefined;
7612
- mappedResults?: {
7613
- mapping: {
7614
- values: {
7615
- value: string;
7616
- key: string;
7617
- }[];
7618
- terms: string[];
7619
- }[];
7620
- } | undefined;
7669
+ } | undefined;
7670
+ clickableItems?: {
7671
+ actionId: string;
7621
7672
  } | undefined;
7622
7673
  apiKey?: string | undefined;
7623
7674
  region?: string | undefined;
@@ -7731,6 +7782,16 @@ declare const Step: z.ZodObject<{
7731
7782
  action: string;
7732
7783
  } | undefined;
7733
7784
  } | undefined;
7785
+ ordering?: {
7786
+ preferences: {
7787
+ ids: string[];
7788
+ filters?: {
7789
+ postcodes?: string[] | undefined;
7790
+ } | undefined;
7791
+ }[];
7792
+ orderBy?: "id" | "title" | "distance" | undefined;
7793
+ orderDir?: "asc" | "desc" | undefined;
7794
+ } | undefined;
7734
7795
  forcePolyfills?: boolean | undefined;
7735
7796
  } | undefined;
7736
7797
  input?: {
@@ -7773,6 +7834,9 @@ declare const Step: z.ZodObject<{
7773
7834
  floatingLabel?: boolean | undefined;
7774
7835
  } | undefined;
7775
7836
  textarea?: {
7837
+ minLength?: number | undefined;
7838
+ maxLength?: number | undefined;
7839
+ exactLength?: number | undefined;
7776
7840
  rows?: number | undefined;
7777
7841
  } | undefined;
7778
7842
  checkbox?: {
@@ -7976,6 +8040,8 @@ declare const Step: z.ZodObject<{
7976
8040
  error: string;
7977
8041
  value?: any;
7978
8042
  }[] | undefined;
8043
+ icon?: string | undefined;
8044
+ position?: "top" | "bottom" | undefined;
7979
8045
  } | undefined;
7980
8046
  result?: {
7981
8047
  tracking?: Record<string, any> | undefined;
@@ -8236,7 +8302,7 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8236
8302
  * @property {boolean} [readonly] - Whether the field is read-only and cannot be modified.
8237
8303
  * @property {boolean} [multiple] - Whether multiple values can be selected (for select, checkbox components).
8238
8304
  * @property {string} [placeholder] - Placeholder text shown when field is empty.
8239
- * @property {Array<{label: string, value?: FieldValue, image?: string, description?: string, disabled?: boolean, attributes?: Record<string, any>, dependsOn?: DependsOn}>} [options] - Selectable options for select, radio, checkbox, and other choice-based components. Each option can have its own dependency conditions.
8305
+ * @property {Array<{id?: string, label: string, value?: FieldValue, image?: string, description?: string, disabled?: boolean, attributes?: Record<string, any>, actions?: Action[], dependsOn?: DependsOn}>} [options] - Selectable options for select, radio, checkbox, and other choice-based components. Each option can have its own dependency conditions.
8240
8306
  * @property {boolean} [required] - Whether the field is required and must have a value.
8241
8307
  * @property {Object} [configuration] - Component-specific configuration options.
8242
8308
  * @property {Object} [configuration.generic] - Generic configuration for all components.
@@ -8272,14 +8338,39 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8272
8338
  * @property {Object} [configuration.carousel] - Configuration for carousel component.
8273
8339
  * @property {boolean} [configuration.carousel.loop] - Whether to loop the carousel.
8274
8340
  * @property {boolean} [configuration.carousel.mouseDragging] - Whether to enable mouse dragging.
8275
- * @property {number} [configuration.carousel.itemsPerPage] - Number of items to display per page.
8276
- * @property {number} [configuration.carousel.itemsPerMove] - Number of items to move per slide change.
8341
+ * @property {Object} [configuration.carousel.itemsPerPage] - Number of items to display per page.
8342
+ * @property {number} configuration.carousel.itemsPerPage.small - Number of items per page on small screens.
8343
+ * @property {number} [configuration.carousel.itemsPerPage.medium] - Number of items per page on medium screens.
8344
+ * @property {number} [configuration.carousel.itemsPerPage.large] - Number of items per page on large screens.
8345
+ * @property {Object} [configuration.carousel.itemsPerMove] - Number of items to move per slide change.
8346
+ * @property {number} configuration.carousel.itemsPerMove.small - Number of items to move per slide on small screens.
8347
+ * @property {number} [configuration.carousel.itemsPerMove.medium] - Number of items to move per slide on medium screens.
8348
+ * @property {number} [configuration.carousel.itemsPerMove.large] - Number of items to move per slide on large screens.
8277
8349
  * @property {boolean} [configuration.carousel.showArrows] - Whether to show navigation arrows.
8278
8350
  * @property {boolean} [configuration.carousel.showDots] - Whether to show pagination dots.
8279
8351
  * @property {boolean} [configuration.carousel.autoplay] - Whether to enable automatic sliding.
8280
8352
  * @property {number} [configuration.carousel.autoplaySpeed] - Speed of automatic sliding in milliseconds.
8281
8353
  * @property {Object} [configuration.carousel.clickableItems] - Configuration for clickable carousel items.
8282
- * @property {string} configuration.carousel.clickableItems.actionId - ID of the action to execute when an item is clicked.
8354
+ * @property {string} [configuration.carousel.clickableItems.actionId] - ID of the action to execute when an item is clicked.
8355
+ * @property {Object} [configuration.grid] - Configuration for grid component.
8356
+ * @property {Object} [configuration.grid.search] - Search functionality configuration.
8357
+ * @property {boolean} [configuration.grid.search.enabled] - Enable search functionality.
8358
+ * @property {string} [configuration.grid.search.value] - Initial search value.
8359
+ * @property {Object} [configuration.grid.search.button] - Search button configuration.
8360
+ * @property {string} [configuration.grid.search.button.label] - Search button label.
8361
+ * @property {string} [configuration.grid.search.placeholder] - Search input placeholder text.
8362
+ * @property {string} [configuration.grid.search.noResultsText] - Message when no results found.
8363
+ * @property {boolean} [configuration.grid.search.clearable] - Enable clear button for search.
8364
+ * @property {Object} [configuration.grid.itemsPerRow] - Number of items to display per row.
8365
+ * @property {number} configuration.grid.itemsPerRow.small - Number of items per row on small screens.
8366
+ * @property {number} [configuration.grid.itemsPerRow.medium] - Number of items per row on medium screens.
8367
+ * @property {number} [configuration.grid.itemsPerRow.large] - Number of items per row on large screens.
8368
+ * @property {Object} [configuration.grid.itemsPerPage] - Number of items to display per page.
8369
+ * @property {number} configuration.grid.itemsPerPage.small - Number of items per page on small screens.
8370
+ * @property {number} [configuration.grid.itemsPerPage.medium] - Number of items per page on medium screens.
8371
+ * @property {number} [configuration.grid.itemsPerPage.large] - Number of items per page on large screens.
8372
+ * @property {Object} [configuration.grid.clickableItems] - Configuration for clickable grid items.
8373
+ * @property {string} configuration.grid.clickableItems.actionId - ID of the action to execute when an item is clicked.
8283
8374
  * @property {Object} [configuration.map] - Configuration for map component.
8284
8375
  * @property {string} [configuration.map.apiKey] - API key for map service.
8285
8376
  * @property {string} [configuration.map.region] - Two-letter country code for map region.
@@ -8346,7 +8437,13 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8346
8437
  * @property {Object} [configuration.map.infoWindow.button] - Button configuration inside info windows.
8347
8438
  * @property {string} configuration.map.infoWindow.button.label - Label text for the info window button.
8348
8439
  * @property {string} configuration.map.infoWindow.button.action - Action identifier for the info window button.
8349
- * @property {Object} [configuration.map.forcePolyfills] - Polyfill configuration for map features.
8440
+ * @property {Object} [configuration.map.ordering] - Configuration for ordering locations.
8441
+ * @property {"distance" | "title" | "id"} [configuration.map.ordering.orderBy] - Field to order locations by.
8442
+ * @property {"asc" | "desc"} [configuration.map.ordering.orderDir] - Direction to order locations in.
8443
+ * @property {Array<{ids: string[], filters: {postcodes: string[]}}>} [configuration.map.ordering.preferences] - Array of preferences for ordering.
8444
+ * @property {Object} [configuration.map.clickableItems] - Configuration for clickable map items.
8445
+ * @property {string} configuration.map.clickableItems.actionId - ID of the action to execute when an item is clicked.
8446
+ * @property {boolean} [configuration.map.forcePolyfills] - Polyfill configuration for map features.
8350
8447
  * @property {Object} [configuration.calendar] - Configuration for calendar component.
8351
8448
  * @property {Object} [configuration.calendar.current] - Current date display configuration.
8352
8449
  * @property {number} [configuration.calendar.current.month] - Current month (0-11, where 0 is January).
@@ -8491,6 +8588,7 @@ declare const Field: z.ZodObject<{
8491
8588
  multiple: z.ZodOptional<z.ZodBoolean>;
8492
8589
  placeholder: z.ZodOptional<z.ZodString>;
8493
8590
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8591
+ id: z.ZodOptional<z.ZodString>;
8494
8592
  label: z.ZodString;
8495
8593
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
8496
8594
  lat: z.ZodNumber;
@@ -9071,6 +9169,7 @@ declare const Field: z.ZodObject<{
9071
9169
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9072
9170
  }[] | undefined;
9073
9171
  })[] | undefined;
9172
+ id?: string | undefined;
9074
9173
  actions?: {
9075
9174
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9076
9175
  label: string;
@@ -9174,6 +9273,7 @@ declare const Field: z.ZodObject<{
9174
9273
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9175
9274
  }[] | undefined;
9176
9275
  })[] | undefined;
9276
+ id?: string | undefined;
9177
9277
  actions?: {
9178
9278
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9179
9279
  label: string;
@@ -9432,10 +9532,19 @@ declare const Field: z.ZodObject<{
9432
9532
  floatingLabel?: boolean | undefined;
9433
9533
  }>>;
9434
9534
  textarea: z.ZodOptional<z.ZodObject<{
9535
+ minLength: z.ZodOptional<z.ZodNumber>;
9536
+ maxLength: z.ZodOptional<z.ZodNumber>;
9537
+ exactLength: z.ZodOptional<z.ZodNumber>;
9435
9538
  rows: z.ZodOptional<z.ZodNumber>;
9436
9539
  }, "strip", z.ZodTypeAny, {
9540
+ minLength?: number | undefined;
9541
+ maxLength?: number | undefined;
9542
+ exactLength?: number | undefined;
9437
9543
  rows?: number | undefined;
9438
9544
  }, {
9545
+ minLength?: number | undefined;
9546
+ maxLength?: number | undefined;
9547
+ exactLength?: number | undefined;
9439
9548
  rows?: number | undefined;
9440
9549
  }>>;
9441
9550
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -9798,49 +9907,6 @@ declare const Field: z.ZodObject<{
9798
9907
  icon?: string | undefined;
9799
9908
  } | undefined;
9800
9909
  }>>;
9801
- mappedResults: z.ZodOptional<z.ZodObject<{
9802
- mapping: z.ZodArray<z.ZodObject<{
9803
- terms: z.ZodArray<z.ZodString, "many">;
9804
- values: z.ZodArray<z.ZodObject<{
9805
- key: z.ZodString;
9806
- value: z.ZodString;
9807
- }, "strip", z.ZodTypeAny, {
9808
- value: string;
9809
- key: string;
9810
- }, {
9811
- value: string;
9812
- key: string;
9813
- }>, "many">;
9814
- }, "strip", z.ZodTypeAny, {
9815
- values: {
9816
- value: string;
9817
- key: string;
9818
- }[];
9819
- terms: string[];
9820
- }, {
9821
- values: {
9822
- value: string;
9823
- key: string;
9824
- }[];
9825
- terms: string[];
9826
- }>, "many">;
9827
- }, "strip", z.ZodTypeAny, {
9828
- mapping: {
9829
- values: {
9830
- value: string;
9831
- key: string;
9832
- }[];
9833
- terms: string[];
9834
- }[];
9835
- }, {
9836
- mapping: {
9837
- values: {
9838
- value: string;
9839
- key: string;
9840
- }[];
9841
- terms: string[];
9842
- }[];
9843
- }>>;
9844
9910
  }, "strip", z.ZodTypeAny, {
9845
9911
  value?: string | undefined;
9846
9912
  button?: {
@@ -9869,15 +9935,6 @@ declare const Field: z.ZodObject<{
9869
9935
  icon?: string | undefined;
9870
9936
  position?: "left" | "right" | undefined;
9871
9937
  } | undefined;
9872
- mappedResults?: {
9873
- mapping: {
9874
- values: {
9875
- value: string;
9876
- key: string;
9877
- }[];
9878
- terms: string[];
9879
- }[];
9880
- } | undefined;
9881
9938
  }, {
9882
9939
  value?: string | undefined;
9883
9940
  button?: {
@@ -9906,15 +9963,6 @@ declare const Field: z.ZodObject<{
9906
9963
  icon?: string | undefined;
9907
9964
  position?: "left" | "right" | undefined;
9908
9965
  } | undefined;
9909
- mappedResults?: {
9910
- mapping: {
9911
- values: {
9912
- value: string;
9913
- key: string;
9914
- }[];
9915
- terms: string[];
9916
- }[];
9917
- } | undefined;
9918
9966
  }>>;
9919
9967
  distanceRange: z.ZodOptional<z.ZodObject<{
9920
9968
  initial: z.ZodOptional<z.ZodNumber>;
@@ -10349,6 +10397,55 @@ declare const Field: z.ZodObject<{
10349
10397
  action: string;
10350
10398
  } | undefined;
10351
10399
  }>>;
10400
+ ordering: z.ZodOptional<z.ZodObject<{
10401
+ orderBy: z.ZodOptional<z.ZodEnum<["distance", "title", "id"]>>;
10402
+ orderDir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10403
+ preferences: z.ZodArray<z.ZodObject<{
10404
+ ids: z.ZodArray<z.ZodString, "many">;
10405
+ filters: z.ZodOptional<z.ZodObject<{
10406
+ postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10407
+ }, "strip", z.ZodTypeAny, {
10408
+ postcodes?: string[] | undefined;
10409
+ }, {
10410
+ postcodes?: string[] | undefined;
10411
+ }>>;
10412
+ }, "strip", z.ZodTypeAny, {
10413
+ ids: string[];
10414
+ filters?: {
10415
+ postcodes?: string[] | undefined;
10416
+ } | undefined;
10417
+ }, {
10418
+ ids: string[];
10419
+ filters?: {
10420
+ postcodes?: string[] | undefined;
10421
+ } | undefined;
10422
+ }>, "many">;
10423
+ }, "strip", z.ZodTypeAny, {
10424
+ preferences: {
10425
+ ids: string[];
10426
+ filters?: {
10427
+ postcodes?: string[] | undefined;
10428
+ } | undefined;
10429
+ }[];
10430
+ orderBy?: "id" | "title" | "distance" | undefined;
10431
+ orderDir?: "asc" | "desc" | undefined;
10432
+ }, {
10433
+ preferences: {
10434
+ ids: string[];
10435
+ filters?: {
10436
+ postcodes?: string[] | undefined;
10437
+ } | undefined;
10438
+ }[];
10439
+ orderBy?: "id" | "title" | "distance" | undefined;
10440
+ orderDir?: "asc" | "desc" | undefined;
10441
+ }>>;
10442
+ clickableItems: z.ZodOptional<z.ZodObject<{
10443
+ actionId: z.ZodString;
10444
+ }, "strip", z.ZodTypeAny, {
10445
+ actionId: string;
10446
+ }, {
10447
+ actionId: string;
10448
+ }>>;
10352
10449
  forcePolyfills: z.ZodOptional<z.ZodBoolean>;
10353
10450
  }, "strip", z.ZodTypeAny, {
10354
10451
  options?: {
@@ -10385,15 +10482,9 @@ declare const Field: z.ZodObject<{
10385
10482
  icon?: string | undefined;
10386
10483
  position?: "left" | "right" | undefined;
10387
10484
  } | undefined;
10388
- mappedResults?: {
10389
- mapping: {
10390
- values: {
10391
- value: string;
10392
- key: string;
10393
- }[];
10394
- terms: string[];
10395
- }[];
10396
- } | undefined;
10485
+ } | undefined;
10486
+ clickableItems?: {
10487
+ actionId: string;
10397
10488
  } | undefined;
10398
10489
  apiKey?: string | undefined;
10399
10490
  region?: string | undefined;
@@ -10507,6 +10598,16 @@ declare const Field: z.ZodObject<{
10507
10598
  action: string;
10508
10599
  } | undefined;
10509
10600
  } | undefined;
10601
+ ordering?: {
10602
+ preferences: {
10603
+ ids: string[];
10604
+ filters?: {
10605
+ postcodes?: string[] | undefined;
10606
+ } | undefined;
10607
+ }[];
10608
+ orderBy?: "id" | "title" | "distance" | undefined;
10609
+ orderDir?: "asc" | "desc" | undefined;
10610
+ } | undefined;
10510
10611
  forcePolyfills?: boolean | undefined;
10511
10612
  }, {
10512
10613
  options?: {
@@ -10543,15 +10644,9 @@ declare const Field: z.ZodObject<{
10543
10644
  icon?: string | undefined;
10544
10645
  position?: "left" | "right" | undefined;
10545
10646
  } | undefined;
10546
- mappedResults?: {
10547
- mapping: {
10548
- values: {
10549
- value: string;
10550
- key: string;
10551
- }[];
10552
- terms: string[];
10553
- }[];
10554
- } | undefined;
10647
+ } | undefined;
10648
+ clickableItems?: {
10649
+ actionId: string;
10555
10650
  } | undefined;
10556
10651
  apiKey?: string | undefined;
10557
10652
  region?: string | undefined;
@@ -10665,6 +10760,16 @@ declare const Field: z.ZodObject<{
10665
10760
  action: string;
10666
10761
  } | undefined;
10667
10762
  } | undefined;
10763
+ ordering?: {
10764
+ preferences: {
10765
+ ids: string[];
10766
+ filters?: {
10767
+ postcodes?: string[] | undefined;
10768
+ } | undefined;
10769
+ }[];
10770
+ orderBy?: "id" | "title" | "distance" | undefined;
10771
+ orderDir?: "asc" | "desc" | undefined;
10772
+ } | undefined;
10668
10773
  forcePolyfills?: boolean | undefined;
10669
10774
  }>>;
10670
10775
  calendar: z.ZodOptional<z.ZodObject<{
@@ -10901,15 +11006,9 @@ declare const Field: z.ZodObject<{
10901
11006
  icon?: string | undefined;
10902
11007
  position?: "left" | "right" | undefined;
10903
11008
  } | undefined;
10904
- mappedResults?: {
10905
- mapping: {
10906
- values: {
10907
- value: string;
10908
- key: string;
10909
- }[];
10910
- terms: string[];
10911
- }[];
10912
- } | undefined;
11009
+ } | undefined;
11010
+ clickableItems?: {
11011
+ actionId: string;
10913
11012
  } | undefined;
10914
11013
  apiKey?: string | undefined;
10915
11014
  region?: string | undefined;
@@ -11023,6 +11122,16 @@ declare const Field: z.ZodObject<{
11023
11122
  action: string;
11024
11123
  } | undefined;
11025
11124
  } | undefined;
11125
+ ordering?: {
11126
+ preferences: {
11127
+ ids: string[];
11128
+ filters?: {
11129
+ postcodes?: string[] | undefined;
11130
+ } | undefined;
11131
+ }[];
11132
+ orderBy?: "id" | "title" | "distance" | undefined;
11133
+ orderDir?: "asc" | "desc" | undefined;
11134
+ } | undefined;
11026
11135
  forcePolyfills?: boolean | undefined;
11027
11136
  } | undefined;
11028
11137
  input?: {
@@ -11065,6 +11174,9 @@ declare const Field: z.ZodObject<{
11065
11174
  floatingLabel?: boolean | undefined;
11066
11175
  } | undefined;
11067
11176
  textarea?: {
11177
+ minLength?: number | undefined;
11178
+ maxLength?: number | undefined;
11179
+ exactLength?: number | undefined;
11068
11180
  rows?: number | undefined;
11069
11181
  } | undefined;
11070
11182
  checkbox?: {
@@ -11197,15 +11309,9 @@ declare const Field: z.ZodObject<{
11197
11309
  icon?: string | undefined;
11198
11310
  position?: "left" | "right" | undefined;
11199
11311
  } | undefined;
11200
- mappedResults?: {
11201
- mapping: {
11202
- values: {
11203
- value: string;
11204
- key: string;
11205
- }[];
11206
- terms: string[];
11207
- }[];
11208
- } | undefined;
11312
+ } | undefined;
11313
+ clickableItems?: {
11314
+ actionId: string;
11209
11315
  } | undefined;
11210
11316
  apiKey?: string | undefined;
11211
11317
  region?: string | undefined;
@@ -11319,6 +11425,16 @@ declare const Field: z.ZodObject<{
11319
11425
  action: string;
11320
11426
  } | undefined;
11321
11427
  } | undefined;
11428
+ ordering?: {
11429
+ preferences: {
11430
+ ids: string[];
11431
+ filters?: {
11432
+ postcodes?: string[] | undefined;
11433
+ } | undefined;
11434
+ }[];
11435
+ orderBy?: "id" | "title" | "distance" | undefined;
11436
+ orderDir?: "asc" | "desc" | undefined;
11437
+ } | undefined;
11322
11438
  forcePolyfills?: boolean | undefined;
11323
11439
  } | undefined;
11324
11440
  input?: {
@@ -11361,6 +11477,9 @@ declare const Field: z.ZodObject<{
11361
11477
  floatingLabel?: boolean | undefined;
11362
11478
  } | undefined;
11363
11479
  textarea?: {
11480
+ minLength?: number | undefined;
11481
+ maxLength?: number | undefined;
11482
+ exactLength?: number | undefined;
11364
11483
  rows?: number | undefined;
11365
11484
  } | undefined;
11366
11485
  checkbox?: {
@@ -11927,6 +12046,7 @@ declare const Field: z.ZodObject<{
11927
12046
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
11928
12047
  }[] | undefined;
11929
12048
  })[] | undefined;
12049
+ id?: string | undefined;
11930
12050
  actions?: {
11931
12051
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
11932
12052
  label: string;
@@ -11999,15 +12119,9 @@ declare const Field: z.ZodObject<{
11999
12119
  icon?: string | undefined;
12000
12120
  position?: "left" | "right" | undefined;
12001
12121
  } | undefined;
12002
- mappedResults?: {
12003
- mapping: {
12004
- values: {
12005
- value: string;
12006
- key: string;
12007
- }[];
12008
- terms: string[];
12009
- }[];
12010
- } | undefined;
12122
+ } | undefined;
12123
+ clickableItems?: {
12124
+ actionId: string;
12011
12125
  } | undefined;
12012
12126
  apiKey?: string | undefined;
12013
12127
  region?: string | undefined;
@@ -12121,6 +12235,16 @@ declare const Field: z.ZodObject<{
12121
12235
  action: string;
12122
12236
  } | undefined;
12123
12237
  } | undefined;
12238
+ ordering?: {
12239
+ preferences: {
12240
+ ids: string[];
12241
+ filters?: {
12242
+ postcodes?: string[] | undefined;
12243
+ } | undefined;
12244
+ }[];
12245
+ orderBy?: "id" | "title" | "distance" | undefined;
12246
+ orderDir?: "asc" | "desc" | undefined;
12247
+ } | undefined;
12124
12248
  forcePolyfills?: boolean | undefined;
12125
12249
  } | undefined;
12126
12250
  input?: {
@@ -12163,6 +12287,9 @@ declare const Field: z.ZodObject<{
12163
12287
  floatingLabel?: boolean | undefined;
12164
12288
  } | undefined;
12165
12289
  textarea?: {
12290
+ minLength?: number | undefined;
12291
+ maxLength?: number | undefined;
12292
+ exactLength?: number | undefined;
12166
12293
  rows?: number | undefined;
12167
12294
  } | undefined;
12168
12295
  checkbox?: {
@@ -12430,6 +12557,7 @@ declare const Field: z.ZodObject<{
12430
12557
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
12431
12558
  }[] | undefined;
12432
12559
  })[] | undefined;
12560
+ id?: string | undefined;
12433
12561
  actions?: {
12434
12562
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12435
12563
  label: string;
@@ -12502,15 +12630,9 @@ declare const Field: z.ZodObject<{
12502
12630
  icon?: string | undefined;
12503
12631
  position?: "left" | "right" | undefined;
12504
12632
  } | undefined;
12505
- mappedResults?: {
12506
- mapping: {
12507
- values: {
12508
- value: string;
12509
- key: string;
12510
- }[];
12511
- terms: string[];
12512
- }[];
12513
- } | undefined;
12633
+ } | undefined;
12634
+ clickableItems?: {
12635
+ actionId: string;
12514
12636
  } | undefined;
12515
12637
  apiKey?: string | undefined;
12516
12638
  region?: string | undefined;
@@ -12624,6 +12746,16 @@ declare const Field: z.ZodObject<{
12624
12746
  action: string;
12625
12747
  } | undefined;
12626
12748
  } | undefined;
12749
+ ordering?: {
12750
+ preferences: {
12751
+ ids: string[];
12752
+ filters?: {
12753
+ postcodes?: string[] | undefined;
12754
+ } | undefined;
12755
+ }[];
12756
+ orderBy?: "id" | "title" | "distance" | undefined;
12757
+ orderDir?: "asc" | "desc" | undefined;
12758
+ } | undefined;
12627
12759
  forcePolyfills?: boolean | undefined;
12628
12760
  } | undefined;
12629
12761
  input?: {
@@ -12666,6 +12798,9 @@ declare const Field: z.ZodObject<{
12666
12798
  floatingLabel?: boolean | undefined;
12667
12799
  } | undefined;
12668
12800
  textarea?: {
12801
+ minLength?: number | undefined;
12802
+ maxLength?: number | undefined;
12803
+ exactLength?: number | undefined;
12669
12804
  rows?: number | undefined;
12670
12805
  } | undefined;
12671
12806
  checkbox?: {
@@ -13212,6 +13347,7 @@ declare const FlowContext: z.ZodObject<{
13212
13347
  multiple: z.ZodOptional<z.ZodBoolean>;
13213
13348
  placeholder: z.ZodOptional<z.ZodString>;
13214
13349
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
13350
+ id: z.ZodOptional<z.ZodString>;
13215
13351
  label: z.ZodString;
13216
13352
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
13217
13353
  lat: z.ZodNumber;
@@ -13792,6 +13928,7 @@ declare const FlowContext: z.ZodObject<{
13792
13928
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13793
13929
  }[] | undefined;
13794
13930
  })[] | undefined;
13931
+ id?: string | undefined;
13795
13932
  actions?: {
13796
13933
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13797
13934
  label: string;
@@ -13895,6 +14032,7 @@ declare const FlowContext: z.ZodObject<{
13895
14032
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13896
14033
  }[] | undefined;
13897
14034
  })[] | undefined;
14035
+ id?: string | undefined;
13898
14036
  actions?: {
13899
14037
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13900
14038
  label: string;
@@ -14153,10 +14291,19 @@ declare const FlowContext: z.ZodObject<{
14153
14291
  floatingLabel?: boolean | undefined;
14154
14292
  }>>;
14155
14293
  textarea: z.ZodOptional<z.ZodObject<{
14294
+ minLength: z.ZodOptional<z.ZodNumber>;
14295
+ maxLength: z.ZodOptional<z.ZodNumber>;
14296
+ exactLength: z.ZodOptional<z.ZodNumber>;
14156
14297
  rows: z.ZodOptional<z.ZodNumber>;
14157
14298
  }, "strip", z.ZodTypeAny, {
14299
+ minLength?: number | undefined;
14300
+ maxLength?: number | undefined;
14301
+ exactLength?: number | undefined;
14158
14302
  rows?: number | undefined;
14159
14303
  }, {
14304
+ minLength?: number | undefined;
14305
+ maxLength?: number | undefined;
14306
+ exactLength?: number | undefined;
14160
14307
  rows?: number | undefined;
14161
14308
  }>>;
14162
14309
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -14519,49 +14666,6 @@ declare const FlowContext: z.ZodObject<{
14519
14666
  icon?: string | undefined;
14520
14667
  } | undefined;
14521
14668
  }>>;
14522
- mappedResults: z.ZodOptional<z.ZodObject<{
14523
- mapping: z.ZodArray<z.ZodObject<{
14524
- terms: z.ZodArray<z.ZodString, "many">;
14525
- values: z.ZodArray<z.ZodObject<{
14526
- key: z.ZodString;
14527
- value: z.ZodString;
14528
- }, "strip", z.ZodTypeAny, {
14529
- value: string;
14530
- key: string;
14531
- }, {
14532
- value: string;
14533
- key: string;
14534
- }>, "many">;
14535
- }, "strip", z.ZodTypeAny, {
14536
- values: {
14537
- value: string;
14538
- key: string;
14539
- }[];
14540
- terms: string[];
14541
- }, {
14542
- values: {
14543
- value: string;
14544
- key: string;
14545
- }[];
14546
- terms: string[];
14547
- }>, "many">;
14548
- }, "strip", z.ZodTypeAny, {
14549
- mapping: {
14550
- values: {
14551
- value: string;
14552
- key: string;
14553
- }[];
14554
- terms: string[];
14555
- }[];
14556
- }, {
14557
- mapping: {
14558
- values: {
14559
- value: string;
14560
- key: string;
14561
- }[];
14562
- terms: string[];
14563
- }[];
14564
- }>>;
14565
14669
  }, "strip", z.ZodTypeAny, {
14566
14670
  value?: string | undefined;
14567
14671
  button?: {
@@ -14590,15 +14694,6 @@ declare const FlowContext: z.ZodObject<{
14590
14694
  icon?: string | undefined;
14591
14695
  position?: "left" | "right" | undefined;
14592
14696
  } | undefined;
14593
- mappedResults?: {
14594
- mapping: {
14595
- values: {
14596
- value: string;
14597
- key: string;
14598
- }[];
14599
- terms: string[];
14600
- }[];
14601
- } | undefined;
14602
14697
  }, {
14603
14698
  value?: string | undefined;
14604
14699
  button?: {
@@ -14627,15 +14722,6 @@ declare const FlowContext: z.ZodObject<{
14627
14722
  icon?: string | undefined;
14628
14723
  position?: "left" | "right" | undefined;
14629
14724
  } | undefined;
14630
- mappedResults?: {
14631
- mapping: {
14632
- values: {
14633
- value: string;
14634
- key: string;
14635
- }[];
14636
- terms: string[];
14637
- }[];
14638
- } | undefined;
14639
14725
  }>>;
14640
14726
  distanceRange: z.ZodOptional<z.ZodObject<{
14641
14727
  initial: z.ZodOptional<z.ZodNumber>;
@@ -15070,6 +15156,55 @@ declare const FlowContext: z.ZodObject<{
15070
15156
  action: string;
15071
15157
  } | undefined;
15072
15158
  }>>;
15159
+ ordering: z.ZodOptional<z.ZodObject<{
15160
+ orderBy: z.ZodOptional<z.ZodEnum<["distance", "title", "id"]>>;
15161
+ orderDir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
15162
+ preferences: z.ZodArray<z.ZodObject<{
15163
+ ids: z.ZodArray<z.ZodString, "many">;
15164
+ filters: z.ZodOptional<z.ZodObject<{
15165
+ postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15166
+ }, "strip", z.ZodTypeAny, {
15167
+ postcodes?: string[] | undefined;
15168
+ }, {
15169
+ postcodes?: string[] | undefined;
15170
+ }>>;
15171
+ }, "strip", z.ZodTypeAny, {
15172
+ ids: string[];
15173
+ filters?: {
15174
+ postcodes?: string[] | undefined;
15175
+ } | undefined;
15176
+ }, {
15177
+ ids: string[];
15178
+ filters?: {
15179
+ postcodes?: string[] | undefined;
15180
+ } | undefined;
15181
+ }>, "many">;
15182
+ }, "strip", z.ZodTypeAny, {
15183
+ preferences: {
15184
+ ids: string[];
15185
+ filters?: {
15186
+ postcodes?: string[] | undefined;
15187
+ } | undefined;
15188
+ }[];
15189
+ orderBy?: "id" | "title" | "distance" | undefined;
15190
+ orderDir?: "asc" | "desc" | undefined;
15191
+ }, {
15192
+ preferences: {
15193
+ ids: string[];
15194
+ filters?: {
15195
+ postcodes?: string[] | undefined;
15196
+ } | undefined;
15197
+ }[];
15198
+ orderBy?: "id" | "title" | "distance" | undefined;
15199
+ orderDir?: "asc" | "desc" | undefined;
15200
+ }>>;
15201
+ clickableItems: z.ZodOptional<z.ZodObject<{
15202
+ actionId: z.ZodString;
15203
+ }, "strip", z.ZodTypeAny, {
15204
+ actionId: string;
15205
+ }, {
15206
+ actionId: string;
15207
+ }>>;
15073
15208
  forcePolyfills: z.ZodOptional<z.ZodBoolean>;
15074
15209
  }, "strip", z.ZodTypeAny, {
15075
15210
  options?: {
@@ -15106,15 +15241,9 @@ declare const FlowContext: z.ZodObject<{
15106
15241
  icon?: string | undefined;
15107
15242
  position?: "left" | "right" | undefined;
15108
15243
  } | undefined;
15109
- mappedResults?: {
15110
- mapping: {
15111
- values: {
15112
- value: string;
15113
- key: string;
15114
- }[];
15115
- terms: string[];
15116
- }[];
15117
- } | undefined;
15244
+ } | undefined;
15245
+ clickableItems?: {
15246
+ actionId: string;
15118
15247
  } | undefined;
15119
15248
  apiKey?: string | undefined;
15120
15249
  region?: string | undefined;
@@ -15228,6 +15357,16 @@ declare const FlowContext: z.ZodObject<{
15228
15357
  action: string;
15229
15358
  } | undefined;
15230
15359
  } | undefined;
15360
+ ordering?: {
15361
+ preferences: {
15362
+ ids: string[];
15363
+ filters?: {
15364
+ postcodes?: string[] | undefined;
15365
+ } | undefined;
15366
+ }[];
15367
+ orderBy?: "id" | "title" | "distance" | undefined;
15368
+ orderDir?: "asc" | "desc" | undefined;
15369
+ } | undefined;
15231
15370
  forcePolyfills?: boolean | undefined;
15232
15371
  }, {
15233
15372
  options?: {
@@ -15264,15 +15403,9 @@ declare const FlowContext: z.ZodObject<{
15264
15403
  icon?: string | undefined;
15265
15404
  position?: "left" | "right" | undefined;
15266
15405
  } | undefined;
15267
- mappedResults?: {
15268
- mapping: {
15269
- values: {
15270
- value: string;
15271
- key: string;
15272
- }[];
15273
- terms: string[];
15274
- }[];
15275
- } | undefined;
15406
+ } | undefined;
15407
+ clickableItems?: {
15408
+ actionId: string;
15276
15409
  } | undefined;
15277
15410
  apiKey?: string | undefined;
15278
15411
  region?: string | undefined;
@@ -15386,6 +15519,16 @@ declare const FlowContext: z.ZodObject<{
15386
15519
  action: string;
15387
15520
  } | undefined;
15388
15521
  } | undefined;
15522
+ ordering?: {
15523
+ preferences: {
15524
+ ids: string[];
15525
+ filters?: {
15526
+ postcodes?: string[] | undefined;
15527
+ } | undefined;
15528
+ }[];
15529
+ orderBy?: "id" | "title" | "distance" | undefined;
15530
+ orderDir?: "asc" | "desc" | undefined;
15531
+ } | undefined;
15389
15532
  forcePolyfills?: boolean | undefined;
15390
15533
  }>>;
15391
15534
  calendar: z.ZodOptional<z.ZodObject<{
@@ -15622,15 +15765,9 @@ declare const FlowContext: z.ZodObject<{
15622
15765
  icon?: string | undefined;
15623
15766
  position?: "left" | "right" | undefined;
15624
15767
  } | undefined;
15625
- mappedResults?: {
15626
- mapping: {
15627
- values: {
15628
- value: string;
15629
- key: string;
15630
- }[];
15631
- terms: string[];
15632
- }[];
15633
- } | undefined;
15768
+ } | undefined;
15769
+ clickableItems?: {
15770
+ actionId: string;
15634
15771
  } | undefined;
15635
15772
  apiKey?: string | undefined;
15636
15773
  region?: string | undefined;
@@ -15744,6 +15881,16 @@ declare const FlowContext: z.ZodObject<{
15744
15881
  action: string;
15745
15882
  } | undefined;
15746
15883
  } | undefined;
15884
+ ordering?: {
15885
+ preferences: {
15886
+ ids: string[];
15887
+ filters?: {
15888
+ postcodes?: string[] | undefined;
15889
+ } | undefined;
15890
+ }[];
15891
+ orderBy?: "id" | "title" | "distance" | undefined;
15892
+ orderDir?: "asc" | "desc" | undefined;
15893
+ } | undefined;
15747
15894
  forcePolyfills?: boolean | undefined;
15748
15895
  } | undefined;
15749
15896
  input?: {
@@ -15786,6 +15933,9 @@ declare const FlowContext: z.ZodObject<{
15786
15933
  floatingLabel?: boolean | undefined;
15787
15934
  } | undefined;
15788
15935
  textarea?: {
15936
+ minLength?: number | undefined;
15937
+ maxLength?: number | undefined;
15938
+ exactLength?: number | undefined;
15789
15939
  rows?: number | undefined;
15790
15940
  } | undefined;
15791
15941
  checkbox?: {
@@ -15918,15 +16068,9 @@ declare const FlowContext: z.ZodObject<{
15918
16068
  icon?: string | undefined;
15919
16069
  position?: "left" | "right" | undefined;
15920
16070
  } | undefined;
15921
- mappedResults?: {
15922
- mapping: {
15923
- values: {
15924
- value: string;
15925
- key: string;
15926
- }[];
15927
- terms: string[];
15928
- }[];
15929
- } | undefined;
16071
+ } | undefined;
16072
+ clickableItems?: {
16073
+ actionId: string;
15930
16074
  } | undefined;
15931
16075
  apiKey?: string | undefined;
15932
16076
  region?: string | undefined;
@@ -16040,6 +16184,16 @@ declare const FlowContext: z.ZodObject<{
16040
16184
  action: string;
16041
16185
  } | undefined;
16042
16186
  } | undefined;
16187
+ ordering?: {
16188
+ preferences: {
16189
+ ids: string[];
16190
+ filters?: {
16191
+ postcodes?: string[] | undefined;
16192
+ } | undefined;
16193
+ }[];
16194
+ orderBy?: "id" | "title" | "distance" | undefined;
16195
+ orderDir?: "asc" | "desc" | undefined;
16196
+ } | undefined;
16043
16197
  forcePolyfills?: boolean | undefined;
16044
16198
  } | undefined;
16045
16199
  input?: {
@@ -16082,6 +16236,9 @@ declare const FlowContext: z.ZodObject<{
16082
16236
  floatingLabel?: boolean | undefined;
16083
16237
  } | undefined;
16084
16238
  textarea?: {
16239
+ minLength?: number | undefined;
16240
+ maxLength?: number | undefined;
16241
+ exactLength?: number | undefined;
16085
16242
  rows?: number | undefined;
16086
16243
  } | undefined;
16087
16244
  checkbox?: {
@@ -16648,6 +16805,7 @@ declare const FlowContext: z.ZodObject<{
16648
16805
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
16649
16806
  }[] | undefined;
16650
16807
  })[] | undefined;
16808
+ id?: string | undefined;
16651
16809
  actions?: {
16652
16810
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
16653
16811
  label: string;
@@ -16720,15 +16878,9 @@ declare const FlowContext: z.ZodObject<{
16720
16878
  icon?: string | undefined;
16721
16879
  position?: "left" | "right" | undefined;
16722
16880
  } | undefined;
16723
- mappedResults?: {
16724
- mapping: {
16725
- values: {
16726
- value: string;
16727
- key: string;
16728
- }[];
16729
- terms: string[];
16730
- }[];
16731
- } | undefined;
16881
+ } | undefined;
16882
+ clickableItems?: {
16883
+ actionId: string;
16732
16884
  } | undefined;
16733
16885
  apiKey?: string | undefined;
16734
16886
  region?: string | undefined;
@@ -16842,6 +16994,16 @@ declare const FlowContext: z.ZodObject<{
16842
16994
  action: string;
16843
16995
  } | undefined;
16844
16996
  } | undefined;
16997
+ ordering?: {
16998
+ preferences: {
16999
+ ids: string[];
17000
+ filters?: {
17001
+ postcodes?: string[] | undefined;
17002
+ } | undefined;
17003
+ }[];
17004
+ orderBy?: "id" | "title" | "distance" | undefined;
17005
+ orderDir?: "asc" | "desc" | undefined;
17006
+ } | undefined;
16845
17007
  forcePolyfills?: boolean | undefined;
16846
17008
  } | undefined;
16847
17009
  input?: {
@@ -16884,6 +17046,9 @@ declare const FlowContext: z.ZodObject<{
16884
17046
  floatingLabel?: boolean | undefined;
16885
17047
  } | undefined;
16886
17048
  textarea?: {
17049
+ minLength?: number | undefined;
17050
+ maxLength?: number | undefined;
17051
+ exactLength?: number | undefined;
16887
17052
  rows?: number | undefined;
16888
17053
  } | undefined;
16889
17054
  checkbox?: {
@@ -17151,6 +17316,7 @@ declare const FlowContext: z.ZodObject<{
17151
17316
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
17152
17317
  }[] | undefined;
17153
17318
  })[] | undefined;
17319
+ id?: string | undefined;
17154
17320
  actions?: {
17155
17321
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17156
17322
  label: string;
@@ -17223,15 +17389,9 @@ declare const FlowContext: z.ZodObject<{
17223
17389
  icon?: string | undefined;
17224
17390
  position?: "left" | "right" | undefined;
17225
17391
  } | undefined;
17226
- mappedResults?: {
17227
- mapping: {
17228
- values: {
17229
- value: string;
17230
- key: string;
17231
- }[];
17232
- terms: string[];
17233
- }[];
17234
- } | undefined;
17392
+ } | undefined;
17393
+ clickableItems?: {
17394
+ actionId: string;
17235
17395
  } | undefined;
17236
17396
  apiKey?: string | undefined;
17237
17397
  region?: string | undefined;
@@ -17345,6 +17505,16 @@ declare const FlowContext: z.ZodObject<{
17345
17505
  action: string;
17346
17506
  } | undefined;
17347
17507
  } | undefined;
17508
+ ordering?: {
17509
+ preferences: {
17510
+ ids: string[];
17511
+ filters?: {
17512
+ postcodes?: string[] | undefined;
17513
+ } | undefined;
17514
+ }[];
17515
+ orderBy?: "id" | "title" | "distance" | undefined;
17516
+ orderDir?: "asc" | "desc" | undefined;
17517
+ } | undefined;
17348
17518
  forcePolyfills?: boolean | undefined;
17349
17519
  } | undefined;
17350
17520
  input?: {
@@ -17387,6 +17557,9 @@ declare const FlowContext: z.ZodObject<{
17387
17557
  floatingLabel?: boolean | undefined;
17388
17558
  } | undefined;
17389
17559
  textarea?: {
17560
+ minLength?: number | undefined;
17561
+ maxLength?: number | undefined;
17562
+ exactLength?: number | undefined;
17390
17563
  rows?: number | undefined;
17391
17564
  } | undefined;
17392
17565
  checkbox?: {
@@ -17709,6 +17882,8 @@ declare const FlowContext: z.ZodObject<{
17709
17882
  error: z.ZodOptional<z.ZodObject<{
17710
17883
  code: z.ZodEnum<["INVALID_DATA", "INVALID_ACTION", "STEP_NOT_FOUND", "UNKNOWN_ERROR", "APPOINTMENT_INVALID_DATA", "APPOINTMENT_BUSY_SLOT", "APPOINTMENT_OUT_OF_DATE", "APPOINTMENT_UNKNOWN_ERROR", "LEAD_INVALID_DATA", "LEAD_UNKNOWN_ERROR", "CONTENT_INVALID_DATA", "CONTENT_UNKNOWN_ERROR", "CONTACT_INVALID_DATA", "CONTACT_UNKNOWN_ERROR", "LOST_OPPORTUNITY_INVALID_DATA", "LOST_OPPORTUNITY_UNKNOWN_ERROR"]>;
17711
17884
  message: z.ZodOptional<z.ZodString>;
17885
+ icon: z.ZodOptional<z.ZodString>;
17886
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
17712
17887
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17713
17888
  name: z.ZodString;
17714
17889
  type: z.ZodEnum<["text", "boolean", "number", "email", "phone", "mobile_phone", "date", "time", "datetime", "password", "url", "color", "object", "void", "location", "availability"]>;
@@ -17734,6 +17909,8 @@ declare const FlowContext: z.ZodObject<{
17734
17909
  error: string;
17735
17910
  value?: any;
17736
17911
  }[] | undefined;
17912
+ icon?: string | undefined;
17913
+ position?: "top" | "bottom" | undefined;
17737
17914
  }, {
17738
17915
  code: "INVALID_DATA" | "INVALID_ACTION" | "STEP_NOT_FOUND" | "UNKNOWN_ERROR" | "APPOINTMENT_INVALID_DATA" | "APPOINTMENT_BUSY_SLOT" | "APPOINTMENT_OUT_OF_DATE" | "APPOINTMENT_UNKNOWN_ERROR" | "LEAD_INVALID_DATA" | "LEAD_UNKNOWN_ERROR" | "CONTENT_INVALID_DATA" | "CONTENT_UNKNOWN_ERROR" | "CONTACT_INVALID_DATA" | "CONTACT_UNKNOWN_ERROR" | "LOST_OPPORTUNITY_INVALID_DATA" | "LOST_OPPORTUNITY_UNKNOWN_ERROR";
17739
17916
  message?: string | undefined;
@@ -17743,6 +17920,8 @@ declare const FlowContext: z.ZodObject<{
17743
17920
  error: string;
17744
17921
  value?: any;
17745
17922
  }[] | undefined;
17923
+ icon?: string | undefined;
17924
+ position?: "top" | "bottom" | undefined;
17746
17925
  }>>;
17747
17926
  isFinal: z.ZodOptional<z.ZodBoolean>;
17748
17927
  }, "strip", z.ZodTypeAny, {
@@ -17853,6 +18032,7 @@ declare const FlowContext: z.ZodObject<{
17853
18032
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
17854
18033
  }[] | undefined;
17855
18034
  })[] | undefined;
18035
+ id?: string | undefined;
17856
18036
  actions?: {
17857
18037
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17858
18038
  label: string;
@@ -17925,15 +18105,9 @@ declare const FlowContext: z.ZodObject<{
17925
18105
  icon?: string | undefined;
17926
18106
  position?: "left" | "right" | undefined;
17927
18107
  } | undefined;
17928
- mappedResults?: {
17929
- mapping: {
17930
- values: {
17931
- value: string;
17932
- key: string;
17933
- }[];
17934
- terms: string[];
17935
- }[];
17936
- } | undefined;
18108
+ } | undefined;
18109
+ clickableItems?: {
18110
+ actionId: string;
17937
18111
  } | undefined;
17938
18112
  apiKey?: string | undefined;
17939
18113
  region?: string | undefined;
@@ -18047,6 +18221,16 @@ declare const FlowContext: z.ZodObject<{
18047
18221
  action: string;
18048
18222
  } | undefined;
18049
18223
  } | undefined;
18224
+ ordering?: {
18225
+ preferences: {
18226
+ ids: string[];
18227
+ filters?: {
18228
+ postcodes?: string[] | undefined;
18229
+ } | undefined;
18230
+ }[];
18231
+ orderBy?: "id" | "title" | "distance" | undefined;
18232
+ orderDir?: "asc" | "desc" | undefined;
18233
+ } | undefined;
18050
18234
  forcePolyfills?: boolean | undefined;
18051
18235
  } | undefined;
18052
18236
  input?: {
@@ -18089,6 +18273,9 @@ declare const FlowContext: z.ZodObject<{
18089
18273
  floatingLabel?: boolean | undefined;
18090
18274
  } | undefined;
18091
18275
  textarea?: {
18276
+ minLength?: number | undefined;
18277
+ maxLength?: number | undefined;
18278
+ exactLength?: number | undefined;
18092
18279
  rows?: number | undefined;
18093
18280
  } | undefined;
18094
18281
  checkbox?: {
@@ -18292,6 +18479,8 @@ declare const FlowContext: z.ZodObject<{
18292
18479
  error: string;
18293
18480
  value?: any;
18294
18481
  }[] | undefined;
18482
+ icon?: string | undefined;
18483
+ position?: "top" | "bottom" | undefined;
18295
18484
  } | undefined;
18296
18485
  result?: {
18297
18486
  tracking?: Record<string, any> | undefined;
@@ -18413,6 +18602,7 @@ declare const FlowContext: z.ZodObject<{
18413
18602
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
18414
18603
  }[] | undefined;
18415
18604
  })[] | undefined;
18605
+ id?: string | undefined;
18416
18606
  actions?: {
18417
18607
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18418
18608
  label: string;
@@ -18485,15 +18675,9 @@ declare const FlowContext: z.ZodObject<{
18485
18675
  icon?: string | undefined;
18486
18676
  position?: "left" | "right" | undefined;
18487
18677
  } | undefined;
18488
- mappedResults?: {
18489
- mapping: {
18490
- values: {
18491
- value: string;
18492
- key: string;
18493
- }[];
18494
- terms: string[];
18495
- }[];
18496
- } | undefined;
18678
+ } | undefined;
18679
+ clickableItems?: {
18680
+ actionId: string;
18497
18681
  } | undefined;
18498
18682
  apiKey?: string | undefined;
18499
18683
  region?: string | undefined;
@@ -18607,6 +18791,16 @@ declare const FlowContext: z.ZodObject<{
18607
18791
  action: string;
18608
18792
  } | undefined;
18609
18793
  } | undefined;
18794
+ ordering?: {
18795
+ preferences: {
18796
+ ids: string[];
18797
+ filters?: {
18798
+ postcodes?: string[] | undefined;
18799
+ } | undefined;
18800
+ }[];
18801
+ orderBy?: "id" | "title" | "distance" | undefined;
18802
+ orderDir?: "asc" | "desc" | undefined;
18803
+ } | undefined;
18610
18804
  forcePolyfills?: boolean | undefined;
18611
18805
  } | undefined;
18612
18806
  input?: {
@@ -18649,6 +18843,9 @@ declare const FlowContext: z.ZodObject<{
18649
18843
  floatingLabel?: boolean | undefined;
18650
18844
  } | undefined;
18651
18845
  textarea?: {
18846
+ minLength?: number | undefined;
18847
+ maxLength?: number | undefined;
18848
+ exactLength?: number | undefined;
18652
18849
  rows?: number | undefined;
18653
18850
  } | undefined;
18654
18851
  checkbox?: {
@@ -18852,6 +19049,8 @@ declare const FlowContext: z.ZodObject<{
18852
19049
  error: string;
18853
19050
  value?: any;
18854
19051
  }[] | undefined;
19052
+ icon?: string | undefined;
19053
+ position?: "top" | "bottom" | undefined;
18855
19054
  } | undefined;
18856
19055
  result?: {
18857
19056
  tracking?: Record<string, any> | undefined;
@@ -19007,6 +19206,7 @@ declare const FlowContext: z.ZodObject<{
19007
19206
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
19008
19207
  }[] | undefined;
19009
19208
  })[] | undefined;
19209
+ id?: string | undefined;
19010
19210
  actions?: {
19011
19211
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19012
19212
  label: string;
@@ -19079,15 +19279,9 @@ declare const FlowContext: z.ZodObject<{
19079
19279
  icon?: string | undefined;
19080
19280
  position?: "left" | "right" | undefined;
19081
19281
  } | undefined;
19082
- mappedResults?: {
19083
- mapping: {
19084
- values: {
19085
- value: string;
19086
- key: string;
19087
- }[];
19088
- terms: string[];
19089
- }[];
19090
- } | undefined;
19282
+ } | undefined;
19283
+ clickableItems?: {
19284
+ actionId: string;
19091
19285
  } | undefined;
19092
19286
  apiKey?: string | undefined;
19093
19287
  region?: string | undefined;
@@ -19201,6 +19395,16 @@ declare const FlowContext: z.ZodObject<{
19201
19395
  action: string;
19202
19396
  } | undefined;
19203
19397
  } | undefined;
19398
+ ordering?: {
19399
+ preferences: {
19400
+ ids: string[];
19401
+ filters?: {
19402
+ postcodes?: string[] | undefined;
19403
+ } | undefined;
19404
+ }[];
19405
+ orderBy?: "id" | "title" | "distance" | undefined;
19406
+ orderDir?: "asc" | "desc" | undefined;
19407
+ } | undefined;
19204
19408
  forcePolyfills?: boolean | undefined;
19205
19409
  } | undefined;
19206
19410
  input?: {
@@ -19243,6 +19447,9 @@ declare const FlowContext: z.ZodObject<{
19243
19447
  floatingLabel?: boolean | undefined;
19244
19448
  } | undefined;
19245
19449
  textarea?: {
19450
+ minLength?: number | undefined;
19451
+ maxLength?: number | undefined;
19452
+ exactLength?: number | undefined;
19246
19453
  rows?: number | undefined;
19247
19454
  } | undefined;
19248
19455
  checkbox?: {
@@ -19446,6 +19653,8 @@ declare const FlowContext: z.ZodObject<{
19446
19653
  error: string;
19447
19654
  value?: any;
19448
19655
  }[] | undefined;
19656
+ icon?: string | undefined;
19657
+ position?: "top" | "bottom" | undefined;
19449
19658
  } | undefined;
19450
19659
  result?: {
19451
19660
  tracking?: Record<string, any> | undefined;
@@ -19579,6 +19788,7 @@ declare const FlowContext: z.ZodObject<{
19579
19788
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
19580
19789
  }[] | undefined;
19581
19790
  })[] | undefined;
19791
+ id?: string | undefined;
19582
19792
  actions?: {
19583
19793
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19584
19794
  label: string;
@@ -19651,15 +19861,9 @@ declare const FlowContext: z.ZodObject<{
19651
19861
  icon?: string | undefined;
19652
19862
  position?: "left" | "right" | undefined;
19653
19863
  } | undefined;
19654
- mappedResults?: {
19655
- mapping: {
19656
- values: {
19657
- value: string;
19658
- key: string;
19659
- }[];
19660
- terms: string[];
19661
- }[];
19662
- } | undefined;
19864
+ } | undefined;
19865
+ clickableItems?: {
19866
+ actionId: string;
19663
19867
  } | undefined;
19664
19868
  apiKey?: string | undefined;
19665
19869
  region?: string | undefined;
@@ -19773,6 +19977,16 @@ declare const FlowContext: z.ZodObject<{
19773
19977
  action: string;
19774
19978
  } | undefined;
19775
19979
  } | undefined;
19980
+ ordering?: {
19981
+ preferences: {
19982
+ ids: string[];
19983
+ filters?: {
19984
+ postcodes?: string[] | undefined;
19985
+ } | undefined;
19986
+ }[];
19987
+ orderBy?: "id" | "title" | "distance" | undefined;
19988
+ orderDir?: "asc" | "desc" | undefined;
19989
+ } | undefined;
19776
19990
  forcePolyfills?: boolean | undefined;
19777
19991
  } | undefined;
19778
19992
  input?: {
@@ -19815,6 +20029,9 @@ declare const FlowContext: z.ZodObject<{
19815
20029
  floatingLabel?: boolean | undefined;
19816
20030
  } | undefined;
19817
20031
  textarea?: {
20032
+ minLength?: number | undefined;
20033
+ maxLength?: number | undefined;
20034
+ exactLength?: number | undefined;
19818
20035
  rows?: number | undefined;
19819
20036
  } | undefined;
19820
20037
  checkbox?: {
@@ -20018,6 +20235,8 @@ declare const FlowContext: z.ZodObject<{
20018
20235
  error: string;
20019
20236
  value?: any;
20020
20237
  }[] | undefined;
20238
+ icon?: string | undefined;
20239
+ position?: "top" | "bottom" | undefined;
20021
20240
  } | undefined;
20022
20241
  result?: {
20023
20242
  tracking?: Record<string, any> | undefined;