@onlive.ai/flow-client 0.1.61 → 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,28 +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.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
3648
- key: z.ZodString;
3649
- value: z.ZodString;
3650
- }, "strip", z.ZodTypeAny, {
3651
- value: string;
3652
- key: string;
3653
- }, {
3654
- value: string;
3655
- key: string;
3656
- }>, "many">>;
3657
- }, "strip", z.ZodTypeAny, {
3658
- mapping: Record<string, {
3659
- value: string;
3660
- key: string;
3661
- }[]>;
3662
- }, {
3663
- mapping: Record<string, {
3664
- value: string;
3665
- key: string;
3666
- }[]>;
3667
- }>>;
3668
3660
  }, "strip", z.ZodTypeAny, {
3669
3661
  value?: string | undefined;
3670
3662
  button?: {
@@ -3693,12 +3685,6 @@ declare const Step: z.ZodObject<{
3693
3685
  icon?: string | undefined;
3694
3686
  position?: "left" | "right" | undefined;
3695
3687
  } | undefined;
3696
- mappedResults?: {
3697
- mapping: Record<string, {
3698
- value: string;
3699
- key: string;
3700
- }[]>;
3701
- } | undefined;
3702
3688
  }, {
3703
3689
  value?: string | undefined;
3704
3690
  button?: {
@@ -3727,12 +3713,6 @@ declare const Step: z.ZodObject<{
3727
3713
  icon?: string | undefined;
3728
3714
  position?: "left" | "right" | undefined;
3729
3715
  } | undefined;
3730
- mappedResults?: {
3731
- mapping: Record<string, {
3732
- value: string;
3733
- key: string;
3734
- }[]>;
3735
- } | undefined;
3736
3716
  }>>;
3737
3717
  distanceRange: z.ZodOptional<z.ZodObject<{
3738
3718
  initial: z.ZodOptional<z.ZodNumber>;
@@ -4167,6 +4147,56 @@ declare const Step: z.ZodObject<{
4167
4147
  action: string;
4168
4148
  } | undefined;
4169
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
+ }>>;
4199
+ forcePolyfills: z.ZodOptional<z.ZodBoolean>;
4170
4200
  }, "strip", z.ZodTypeAny, {
4171
4201
  options?: {
4172
4202
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -4202,12 +4232,9 @@ declare const Step: z.ZodObject<{
4202
4232
  icon?: string | undefined;
4203
4233
  position?: "left" | "right" | undefined;
4204
4234
  } | undefined;
4205
- mappedResults?: {
4206
- mapping: Record<string, {
4207
- value: string;
4208
- key: string;
4209
- }[]>;
4210
- } | undefined;
4235
+ } | undefined;
4236
+ clickableItems?: {
4237
+ actionId: string;
4211
4238
  } | undefined;
4212
4239
  apiKey?: string | undefined;
4213
4240
  region?: string | undefined;
@@ -4321,6 +4348,17 @@ declare const Step: z.ZodObject<{
4321
4348
  action: string;
4322
4349
  } | undefined;
4323
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;
4361
+ forcePolyfills?: boolean | undefined;
4324
4362
  }, {
4325
4363
  options?: {
4326
4364
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -4356,12 +4394,9 @@ declare const Step: z.ZodObject<{
4356
4394
  icon?: string | undefined;
4357
4395
  position?: "left" | "right" | undefined;
4358
4396
  } | undefined;
4359
- mappedResults?: {
4360
- mapping: Record<string, {
4361
- value: string;
4362
- key: string;
4363
- }[]>;
4364
- } | undefined;
4397
+ } | undefined;
4398
+ clickableItems?: {
4399
+ actionId: string;
4365
4400
  } | undefined;
4366
4401
  apiKey?: string | undefined;
4367
4402
  region?: string | undefined;
@@ -4475,6 +4510,17 @@ declare const Step: z.ZodObject<{
4475
4510
  action: string;
4476
4511
  } | undefined;
4477
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;
4523
+ forcePolyfills?: boolean | undefined;
4478
4524
  }>>;
4479
4525
  calendar: z.ZodOptional<z.ZodObject<{
4480
4526
  current: z.ZodOptional<z.ZodObject<{
@@ -4710,12 +4756,9 @@ declare const Step: z.ZodObject<{
4710
4756
  icon?: string | undefined;
4711
4757
  position?: "left" | "right" | undefined;
4712
4758
  } | undefined;
4713
- mappedResults?: {
4714
- mapping: Record<string, {
4715
- value: string;
4716
- key: string;
4717
- }[]>;
4718
- } | undefined;
4759
+ } | undefined;
4760
+ clickableItems?: {
4761
+ actionId: string;
4719
4762
  } | undefined;
4720
4763
  apiKey?: string | undefined;
4721
4764
  region?: string | undefined;
@@ -4829,6 +4872,17 @@ declare const Step: z.ZodObject<{
4829
4872
  action: string;
4830
4873
  } | undefined;
4831
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;
4885
+ forcePolyfills?: boolean | undefined;
4832
4886
  } | undefined;
4833
4887
  input?: {
4834
4888
  step?: number | undefined;
@@ -4870,6 +4924,9 @@ declare const Step: z.ZodObject<{
4870
4924
  floatingLabel?: boolean | undefined;
4871
4925
  } | undefined;
4872
4926
  textarea?: {
4927
+ minLength?: number | undefined;
4928
+ maxLength?: number | undefined;
4929
+ exactLength?: number | undefined;
4873
4930
  rows?: number | undefined;
4874
4931
  } | undefined;
4875
4932
  checkbox?: {
@@ -5002,12 +5059,9 @@ declare const Step: z.ZodObject<{
5002
5059
  icon?: string | undefined;
5003
5060
  position?: "left" | "right" | undefined;
5004
5061
  } | undefined;
5005
- mappedResults?: {
5006
- mapping: Record<string, {
5007
- value: string;
5008
- key: string;
5009
- }[]>;
5010
- } | undefined;
5062
+ } | undefined;
5063
+ clickableItems?: {
5064
+ actionId: string;
5011
5065
  } | undefined;
5012
5066
  apiKey?: string | undefined;
5013
5067
  region?: string | undefined;
@@ -5121,6 +5175,17 @@ declare const Step: z.ZodObject<{
5121
5175
  action: string;
5122
5176
  } | undefined;
5123
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;
5188
+ forcePolyfills?: boolean | undefined;
5124
5189
  } | undefined;
5125
5190
  input?: {
5126
5191
  step?: number | undefined;
@@ -5162,6 +5227,9 @@ declare const Step: z.ZodObject<{
5162
5227
  floatingLabel?: boolean | undefined;
5163
5228
  } | undefined;
5164
5229
  textarea?: {
5230
+ minLength?: number | undefined;
5231
+ maxLength?: number | undefined;
5232
+ exactLength?: number | undefined;
5165
5233
  rows?: number | undefined;
5166
5234
  } | undefined;
5167
5235
  checkbox?: {
@@ -5728,6 +5796,7 @@ declare const Step: z.ZodObject<{
5728
5796
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
5729
5797
  }[] | undefined;
5730
5798
  })[] | undefined;
5799
+ id?: string | undefined;
5731
5800
  actions?: {
5732
5801
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
5733
5802
  label: string;
@@ -5800,12 +5869,9 @@ declare const Step: z.ZodObject<{
5800
5869
  icon?: string | undefined;
5801
5870
  position?: "left" | "right" | undefined;
5802
5871
  } | undefined;
5803
- mappedResults?: {
5804
- mapping: Record<string, {
5805
- value: string;
5806
- key: string;
5807
- }[]>;
5808
- } | undefined;
5872
+ } | undefined;
5873
+ clickableItems?: {
5874
+ actionId: string;
5809
5875
  } | undefined;
5810
5876
  apiKey?: string | undefined;
5811
5877
  region?: string | undefined;
@@ -5919,6 +5985,17 @@ declare const Step: z.ZodObject<{
5919
5985
  action: string;
5920
5986
  } | undefined;
5921
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;
5998
+ forcePolyfills?: boolean | undefined;
5922
5999
  } | undefined;
5923
6000
  input?: {
5924
6001
  step?: number | undefined;
@@ -5960,6 +6037,9 @@ declare const Step: z.ZodObject<{
5960
6037
  floatingLabel?: boolean | undefined;
5961
6038
  } | undefined;
5962
6039
  textarea?: {
6040
+ minLength?: number | undefined;
6041
+ maxLength?: number | undefined;
6042
+ exactLength?: number | undefined;
5963
6043
  rows?: number | undefined;
5964
6044
  } | undefined;
5965
6045
  checkbox?: {
@@ -6227,6 +6307,7 @@ declare const Step: z.ZodObject<{
6227
6307
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
6228
6308
  }[] | undefined;
6229
6309
  })[] | undefined;
6310
+ id?: string | undefined;
6230
6311
  actions?: {
6231
6312
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6232
6313
  label: string;
@@ -6299,12 +6380,9 @@ declare const Step: z.ZodObject<{
6299
6380
  icon?: string | undefined;
6300
6381
  position?: "left" | "right" | undefined;
6301
6382
  } | undefined;
6302
- mappedResults?: {
6303
- mapping: Record<string, {
6304
- value: string;
6305
- key: string;
6306
- }[]>;
6307
- } | undefined;
6383
+ } | undefined;
6384
+ clickableItems?: {
6385
+ actionId: string;
6308
6386
  } | undefined;
6309
6387
  apiKey?: string | undefined;
6310
6388
  region?: string | undefined;
@@ -6418,6 +6496,17 @@ declare const Step: z.ZodObject<{
6418
6496
  action: string;
6419
6497
  } | undefined;
6420
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;
6509
+ forcePolyfills?: boolean | undefined;
6421
6510
  } | undefined;
6422
6511
  input?: {
6423
6512
  step?: number | undefined;
@@ -6459,6 +6548,9 @@ declare const Step: z.ZodObject<{
6459
6548
  floatingLabel?: boolean | undefined;
6460
6549
  } | undefined;
6461
6550
  textarea?: {
6551
+ minLength?: number | undefined;
6552
+ maxLength?: number | undefined;
6553
+ exactLength?: number | undefined;
6462
6554
  rows?: number | undefined;
6463
6555
  } | undefined;
6464
6556
  checkbox?: {
@@ -6781,6 +6873,8 @@ declare const Step: z.ZodObject<{
6781
6873
  error: z.ZodOptional<z.ZodObject<{
6782
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"]>;
6783
6875
  message: z.ZodOptional<z.ZodString>;
6876
+ icon: z.ZodOptional<z.ZodString>;
6877
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
6784
6878
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
6785
6879
  name: z.ZodString;
6786
6880
  type: z.ZodEnum<["text", "boolean", "number", "email", "phone", "mobile_phone", "date", "time", "datetime", "password", "url", "color", "object", "void", "location", "availability"]>;
@@ -6806,6 +6900,8 @@ declare const Step: z.ZodObject<{
6806
6900
  error: string;
6807
6901
  value?: any;
6808
6902
  }[] | undefined;
6903
+ icon?: string | undefined;
6904
+ position?: "top" | "bottom" | undefined;
6809
6905
  }, {
6810
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";
6811
6907
  message?: string | undefined;
@@ -6815,6 +6911,8 @@ declare const Step: z.ZodObject<{
6815
6911
  error: string;
6816
6912
  value?: any;
6817
6913
  }[] | undefined;
6914
+ icon?: string | undefined;
6915
+ position?: "top" | "bottom" | undefined;
6818
6916
  }>>;
6819
6917
  isFinal: z.ZodOptional<z.ZodBoolean>;
6820
6918
  }, "strip", z.ZodTypeAny, {
@@ -6925,6 +7023,7 @@ declare const Step: z.ZodObject<{
6925
7023
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
6926
7024
  }[] | undefined;
6927
7025
  })[] | undefined;
7026
+ id?: string | undefined;
6928
7027
  actions?: {
6929
7028
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
6930
7029
  label: string;
@@ -6997,12 +7096,9 @@ declare const Step: z.ZodObject<{
6997
7096
  icon?: string | undefined;
6998
7097
  position?: "left" | "right" | undefined;
6999
7098
  } | undefined;
7000
- mappedResults?: {
7001
- mapping: Record<string, {
7002
- value: string;
7003
- key: string;
7004
- }[]>;
7005
- } | undefined;
7099
+ } | undefined;
7100
+ clickableItems?: {
7101
+ actionId: string;
7006
7102
  } | undefined;
7007
7103
  apiKey?: string | undefined;
7008
7104
  region?: string | undefined;
@@ -7116,6 +7212,17 @@ declare const Step: z.ZodObject<{
7116
7212
  action: string;
7117
7213
  } | undefined;
7118
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;
7225
+ forcePolyfills?: boolean | undefined;
7119
7226
  } | undefined;
7120
7227
  input?: {
7121
7228
  step?: number | undefined;
@@ -7157,6 +7264,9 @@ declare const Step: z.ZodObject<{
7157
7264
  floatingLabel?: boolean | undefined;
7158
7265
  } | undefined;
7159
7266
  textarea?: {
7267
+ minLength?: number | undefined;
7268
+ maxLength?: number | undefined;
7269
+ exactLength?: number | undefined;
7160
7270
  rows?: number | undefined;
7161
7271
  } | undefined;
7162
7272
  checkbox?: {
@@ -7360,6 +7470,8 @@ declare const Step: z.ZodObject<{
7360
7470
  error: string;
7361
7471
  value?: any;
7362
7472
  }[] | undefined;
7473
+ icon?: string | undefined;
7474
+ position?: "top" | "bottom" | undefined;
7363
7475
  } | undefined;
7364
7476
  result?: {
7365
7477
  tracking?: Record<string, any> | undefined;
@@ -7481,6 +7593,7 @@ declare const Step: z.ZodObject<{
7481
7593
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
7482
7594
  }[] | undefined;
7483
7595
  })[] | undefined;
7596
+ id?: string | undefined;
7484
7597
  actions?: {
7485
7598
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
7486
7599
  label: string;
@@ -7553,12 +7666,9 @@ declare const Step: z.ZodObject<{
7553
7666
  icon?: string | undefined;
7554
7667
  position?: "left" | "right" | undefined;
7555
7668
  } | undefined;
7556
- mappedResults?: {
7557
- mapping: Record<string, {
7558
- value: string;
7559
- key: string;
7560
- }[]>;
7561
- } | undefined;
7669
+ } | undefined;
7670
+ clickableItems?: {
7671
+ actionId: string;
7562
7672
  } | undefined;
7563
7673
  apiKey?: string | undefined;
7564
7674
  region?: string | undefined;
@@ -7672,6 +7782,17 @@ declare const Step: z.ZodObject<{
7672
7782
  action: string;
7673
7783
  } | undefined;
7674
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;
7795
+ forcePolyfills?: boolean | undefined;
7675
7796
  } | undefined;
7676
7797
  input?: {
7677
7798
  step?: number | undefined;
@@ -7713,6 +7834,9 @@ declare const Step: z.ZodObject<{
7713
7834
  floatingLabel?: boolean | undefined;
7714
7835
  } | undefined;
7715
7836
  textarea?: {
7837
+ minLength?: number | undefined;
7838
+ maxLength?: number | undefined;
7839
+ exactLength?: number | undefined;
7716
7840
  rows?: number | undefined;
7717
7841
  } | undefined;
7718
7842
  checkbox?: {
@@ -7916,6 +8040,8 @@ declare const Step: z.ZodObject<{
7916
8040
  error: string;
7917
8041
  value?: any;
7918
8042
  }[] | undefined;
8043
+ icon?: string | undefined;
8044
+ position?: "top" | "bottom" | undefined;
7919
8045
  } | undefined;
7920
8046
  result?: {
7921
8047
  tracking?: Record<string, any> | undefined;
@@ -8176,7 +8302,7 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8176
8302
  * @property {boolean} [readonly] - Whether the field is read-only and cannot be modified.
8177
8303
  * @property {boolean} [multiple] - Whether multiple values can be selected (for select, checkbox components).
8178
8304
  * @property {string} [placeholder] - Placeholder text shown when field is empty.
8179
- * @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.
8180
8306
  * @property {boolean} [required] - Whether the field is required and must have a value.
8181
8307
  * @property {Object} [configuration] - Component-specific configuration options.
8182
8308
  * @property {Object} [configuration.generic] - Generic configuration for all components.
@@ -8212,14 +8338,39 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8212
8338
  * @property {Object} [configuration.carousel] - Configuration for carousel component.
8213
8339
  * @property {boolean} [configuration.carousel.loop] - Whether to loop the carousel.
8214
8340
  * @property {boolean} [configuration.carousel.mouseDragging] - Whether to enable mouse dragging.
8215
- * @property {number} [configuration.carousel.itemsPerPage] - Number of items to display per page.
8216
- * @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.
8217
8349
  * @property {boolean} [configuration.carousel.showArrows] - Whether to show navigation arrows.
8218
8350
  * @property {boolean} [configuration.carousel.showDots] - Whether to show pagination dots.
8219
8351
  * @property {boolean} [configuration.carousel.autoplay] - Whether to enable automatic sliding.
8220
8352
  * @property {number} [configuration.carousel.autoplaySpeed] - Speed of automatic sliding in milliseconds.
8221
8353
  * @property {Object} [configuration.carousel.clickableItems] - Configuration for clickable carousel items.
8222
- * @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.
8223
8374
  * @property {Object} [configuration.map] - Configuration for map component.
8224
8375
  * @property {string} [configuration.map.apiKey] - API key for map service.
8225
8376
  * @property {string} [configuration.map.region] - Two-letter country code for map region.
@@ -8286,6 +8437,13 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8286
8437
  * @property {Object} [configuration.map.infoWindow.button] - Button configuration inside info windows.
8287
8438
  * @property {string} configuration.map.infoWindow.button.label - Label text for the info window button.
8288
8439
  * @property {string} configuration.map.infoWindow.button.action - Action identifier for the info window button.
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.
8289
8447
  * @property {Object} [configuration.calendar] - Configuration for calendar component.
8290
8448
  * @property {Object} [configuration.calendar.current] - Current date display configuration.
8291
8449
  * @property {number} [configuration.calendar.current.month] - Current month (0-11, where 0 is January).
@@ -8430,6 +8588,7 @@ declare const Field: z.ZodObject<{
8430
8588
  multiple: z.ZodOptional<z.ZodBoolean>;
8431
8589
  placeholder: z.ZodOptional<z.ZodString>;
8432
8590
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8591
+ id: z.ZodOptional<z.ZodString>;
8433
8592
  label: z.ZodString;
8434
8593
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
8435
8594
  lat: z.ZodNumber;
@@ -9010,6 +9169,7 @@ declare const Field: z.ZodObject<{
9010
9169
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9011
9170
  }[] | undefined;
9012
9171
  })[] | undefined;
9172
+ id?: string | undefined;
9013
9173
  actions?: {
9014
9174
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9015
9175
  label: string;
@@ -9113,6 +9273,7 @@ declare const Field: z.ZodObject<{
9113
9273
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9114
9274
  }[] | undefined;
9115
9275
  })[] | undefined;
9276
+ id?: string | undefined;
9116
9277
  actions?: {
9117
9278
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9118
9279
  label: string;
@@ -9371,10 +9532,19 @@ declare const Field: z.ZodObject<{
9371
9532
  floatingLabel?: boolean | undefined;
9372
9533
  }>>;
9373
9534
  textarea: z.ZodOptional<z.ZodObject<{
9535
+ minLength: z.ZodOptional<z.ZodNumber>;
9536
+ maxLength: z.ZodOptional<z.ZodNumber>;
9537
+ exactLength: z.ZodOptional<z.ZodNumber>;
9374
9538
  rows: z.ZodOptional<z.ZodNumber>;
9375
9539
  }, "strip", z.ZodTypeAny, {
9540
+ minLength?: number | undefined;
9541
+ maxLength?: number | undefined;
9542
+ exactLength?: number | undefined;
9376
9543
  rows?: number | undefined;
9377
9544
  }, {
9545
+ minLength?: number | undefined;
9546
+ maxLength?: number | undefined;
9547
+ exactLength?: number | undefined;
9378
9548
  rows?: number | undefined;
9379
9549
  }>>;
9380
9550
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -9737,28 +9907,6 @@ declare const Field: z.ZodObject<{
9737
9907
  icon?: string | undefined;
9738
9908
  } | undefined;
9739
9909
  }>>;
9740
- mappedResults: z.ZodOptional<z.ZodObject<{
9741
- mapping: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
9742
- key: z.ZodString;
9743
- value: z.ZodString;
9744
- }, "strip", z.ZodTypeAny, {
9745
- value: string;
9746
- key: string;
9747
- }, {
9748
- value: string;
9749
- key: string;
9750
- }>, "many">>;
9751
- }, "strip", z.ZodTypeAny, {
9752
- mapping: Record<string, {
9753
- value: string;
9754
- key: string;
9755
- }[]>;
9756
- }, {
9757
- mapping: Record<string, {
9758
- value: string;
9759
- key: string;
9760
- }[]>;
9761
- }>>;
9762
9910
  }, "strip", z.ZodTypeAny, {
9763
9911
  value?: string | undefined;
9764
9912
  button?: {
@@ -9787,12 +9935,6 @@ declare const Field: z.ZodObject<{
9787
9935
  icon?: string | undefined;
9788
9936
  position?: "left" | "right" | undefined;
9789
9937
  } | undefined;
9790
- mappedResults?: {
9791
- mapping: Record<string, {
9792
- value: string;
9793
- key: string;
9794
- }[]>;
9795
- } | undefined;
9796
9938
  }, {
9797
9939
  value?: string | undefined;
9798
9940
  button?: {
@@ -9821,12 +9963,6 @@ declare const Field: z.ZodObject<{
9821
9963
  icon?: string | undefined;
9822
9964
  position?: "left" | "right" | undefined;
9823
9965
  } | undefined;
9824
- mappedResults?: {
9825
- mapping: Record<string, {
9826
- value: string;
9827
- key: string;
9828
- }[]>;
9829
- } | undefined;
9830
9966
  }>>;
9831
9967
  distanceRange: z.ZodOptional<z.ZodObject<{
9832
9968
  initial: z.ZodOptional<z.ZodNumber>;
@@ -10261,6 +10397,56 @@ declare const Field: z.ZodObject<{
10261
10397
  action: string;
10262
10398
  } | undefined;
10263
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
+ }>>;
10449
+ forcePolyfills: z.ZodOptional<z.ZodBoolean>;
10264
10450
  }, "strip", z.ZodTypeAny, {
10265
10451
  options?: {
10266
10452
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -10296,12 +10482,9 @@ declare const Field: z.ZodObject<{
10296
10482
  icon?: string | undefined;
10297
10483
  position?: "left" | "right" | undefined;
10298
10484
  } | undefined;
10299
- mappedResults?: {
10300
- mapping: Record<string, {
10301
- value: string;
10302
- key: string;
10303
- }[]>;
10304
- } | undefined;
10485
+ } | undefined;
10486
+ clickableItems?: {
10487
+ actionId: string;
10305
10488
  } | undefined;
10306
10489
  apiKey?: string | undefined;
10307
10490
  region?: string | undefined;
@@ -10415,6 +10598,17 @@ declare const Field: z.ZodObject<{
10415
10598
  action: string;
10416
10599
  } | undefined;
10417
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;
10611
+ forcePolyfills?: boolean | undefined;
10418
10612
  }, {
10419
10613
  options?: {
10420
10614
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -10450,12 +10644,9 @@ declare const Field: z.ZodObject<{
10450
10644
  icon?: string | undefined;
10451
10645
  position?: "left" | "right" | undefined;
10452
10646
  } | undefined;
10453
- mappedResults?: {
10454
- mapping: Record<string, {
10455
- value: string;
10456
- key: string;
10457
- }[]>;
10458
- } | undefined;
10647
+ } | undefined;
10648
+ clickableItems?: {
10649
+ actionId: string;
10459
10650
  } | undefined;
10460
10651
  apiKey?: string | undefined;
10461
10652
  region?: string | undefined;
@@ -10569,6 +10760,17 @@ declare const Field: z.ZodObject<{
10569
10760
  action: string;
10570
10761
  } | undefined;
10571
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;
10773
+ forcePolyfills?: boolean | undefined;
10572
10774
  }>>;
10573
10775
  calendar: z.ZodOptional<z.ZodObject<{
10574
10776
  current: z.ZodOptional<z.ZodObject<{
@@ -10804,12 +11006,9 @@ declare const Field: z.ZodObject<{
10804
11006
  icon?: string | undefined;
10805
11007
  position?: "left" | "right" | undefined;
10806
11008
  } | undefined;
10807
- mappedResults?: {
10808
- mapping: Record<string, {
10809
- value: string;
10810
- key: string;
10811
- }[]>;
10812
- } | undefined;
11009
+ } | undefined;
11010
+ clickableItems?: {
11011
+ actionId: string;
10813
11012
  } | undefined;
10814
11013
  apiKey?: string | undefined;
10815
11014
  region?: string | undefined;
@@ -10923,6 +11122,17 @@ declare const Field: z.ZodObject<{
10923
11122
  action: string;
10924
11123
  } | undefined;
10925
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;
11135
+ forcePolyfills?: boolean | undefined;
10926
11136
  } | undefined;
10927
11137
  input?: {
10928
11138
  step?: number | undefined;
@@ -10964,6 +11174,9 @@ declare const Field: z.ZodObject<{
10964
11174
  floatingLabel?: boolean | undefined;
10965
11175
  } | undefined;
10966
11176
  textarea?: {
11177
+ minLength?: number | undefined;
11178
+ maxLength?: number | undefined;
11179
+ exactLength?: number | undefined;
10967
11180
  rows?: number | undefined;
10968
11181
  } | undefined;
10969
11182
  checkbox?: {
@@ -11096,12 +11309,9 @@ declare const Field: z.ZodObject<{
11096
11309
  icon?: string | undefined;
11097
11310
  position?: "left" | "right" | undefined;
11098
11311
  } | undefined;
11099
- mappedResults?: {
11100
- mapping: Record<string, {
11101
- value: string;
11102
- key: string;
11103
- }[]>;
11104
- } | undefined;
11312
+ } | undefined;
11313
+ clickableItems?: {
11314
+ actionId: string;
11105
11315
  } | undefined;
11106
11316
  apiKey?: string | undefined;
11107
11317
  region?: string | undefined;
@@ -11215,6 +11425,17 @@ declare const Field: z.ZodObject<{
11215
11425
  action: string;
11216
11426
  } | undefined;
11217
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;
11438
+ forcePolyfills?: boolean | undefined;
11218
11439
  } | undefined;
11219
11440
  input?: {
11220
11441
  step?: number | undefined;
@@ -11256,6 +11477,9 @@ declare const Field: z.ZodObject<{
11256
11477
  floatingLabel?: boolean | undefined;
11257
11478
  } | undefined;
11258
11479
  textarea?: {
11480
+ minLength?: number | undefined;
11481
+ maxLength?: number | undefined;
11482
+ exactLength?: number | undefined;
11259
11483
  rows?: number | undefined;
11260
11484
  } | undefined;
11261
11485
  checkbox?: {
@@ -11822,6 +12046,7 @@ declare const Field: z.ZodObject<{
11822
12046
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
11823
12047
  }[] | undefined;
11824
12048
  })[] | undefined;
12049
+ id?: string | undefined;
11825
12050
  actions?: {
11826
12051
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
11827
12052
  label: string;
@@ -11894,12 +12119,9 @@ declare const Field: z.ZodObject<{
11894
12119
  icon?: string | undefined;
11895
12120
  position?: "left" | "right" | undefined;
11896
12121
  } | undefined;
11897
- mappedResults?: {
11898
- mapping: Record<string, {
11899
- value: string;
11900
- key: string;
11901
- }[]>;
11902
- } | undefined;
12122
+ } | undefined;
12123
+ clickableItems?: {
12124
+ actionId: string;
11903
12125
  } | undefined;
11904
12126
  apiKey?: string | undefined;
11905
12127
  region?: string | undefined;
@@ -12013,6 +12235,17 @@ declare const Field: z.ZodObject<{
12013
12235
  action: string;
12014
12236
  } | undefined;
12015
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;
12248
+ forcePolyfills?: boolean | undefined;
12016
12249
  } | undefined;
12017
12250
  input?: {
12018
12251
  step?: number | undefined;
@@ -12054,6 +12287,9 @@ declare const Field: z.ZodObject<{
12054
12287
  floatingLabel?: boolean | undefined;
12055
12288
  } | undefined;
12056
12289
  textarea?: {
12290
+ minLength?: number | undefined;
12291
+ maxLength?: number | undefined;
12292
+ exactLength?: number | undefined;
12057
12293
  rows?: number | undefined;
12058
12294
  } | undefined;
12059
12295
  checkbox?: {
@@ -12321,6 +12557,7 @@ declare const Field: z.ZodObject<{
12321
12557
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
12322
12558
  }[] | undefined;
12323
12559
  })[] | undefined;
12560
+ id?: string | undefined;
12324
12561
  actions?: {
12325
12562
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12326
12563
  label: string;
@@ -12393,12 +12630,9 @@ declare const Field: z.ZodObject<{
12393
12630
  icon?: string | undefined;
12394
12631
  position?: "left" | "right" | undefined;
12395
12632
  } | undefined;
12396
- mappedResults?: {
12397
- mapping: Record<string, {
12398
- value: string;
12399
- key: string;
12400
- }[]>;
12401
- } | undefined;
12633
+ } | undefined;
12634
+ clickableItems?: {
12635
+ actionId: string;
12402
12636
  } | undefined;
12403
12637
  apiKey?: string | undefined;
12404
12638
  region?: string | undefined;
@@ -12512,6 +12746,17 @@ declare const Field: z.ZodObject<{
12512
12746
  action: string;
12513
12747
  } | undefined;
12514
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;
12759
+ forcePolyfills?: boolean | undefined;
12515
12760
  } | undefined;
12516
12761
  input?: {
12517
12762
  step?: number | undefined;
@@ -12553,6 +12798,9 @@ declare const Field: z.ZodObject<{
12553
12798
  floatingLabel?: boolean | undefined;
12554
12799
  } | undefined;
12555
12800
  textarea?: {
12801
+ minLength?: number | undefined;
12802
+ maxLength?: number | undefined;
12803
+ exactLength?: number | undefined;
12556
12804
  rows?: number | undefined;
12557
12805
  } | undefined;
12558
12806
  checkbox?: {
@@ -13099,6 +13347,7 @@ declare const FlowContext: z.ZodObject<{
13099
13347
  multiple: z.ZodOptional<z.ZodBoolean>;
13100
13348
  placeholder: z.ZodOptional<z.ZodString>;
13101
13349
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
13350
+ id: z.ZodOptional<z.ZodString>;
13102
13351
  label: z.ZodString;
13103
13352
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
13104
13353
  lat: z.ZodNumber;
@@ -13679,6 +13928,7 @@ declare const FlowContext: z.ZodObject<{
13679
13928
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13680
13929
  }[] | undefined;
13681
13930
  })[] | undefined;
13931
+ id?: string | undefined;
13682
13932
  actions?: {
13683
13933
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13684
13934
  label: string;
@@ -13782,6 +14032,7 @@ declare const FlowContext: z.ZodObject<{
13782
14032
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13783
14033
  }[] | undefined;
13784
14034
  })[] | undefined;
14035
+ id?: string | undefined;
13785
14036
  actions?: {
13786
14037
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13787
14038
  label: string;
@@ -14040,10 +14291,19 @@ declare const FlowContext: z.ZodObject<{
14040
14291
  floatingLabel?: boolean | undefined;
14041
14292
  }>>;
14042
14293
  textarea: z.ZodOptional<z.ZodObject<{
14294
+ minLength: z.ZodOptional<z.ZodNumber>;
14295
+ maxLength: z.ZodOptional<z.ZodNumber>;
14296
+ exactLength: z.ZodOptional<z.ZodNumber>;
14043
14297
  rows: z.ZodOptional<z.ZodNumber>;
14044
14298
  }, "strip", z.ZodTypeAny, {
14299
+ minLength?: number | undefined;
14300
+ maxLength?: number | undefined;
14301
+ exactLength?: number | undefined;
14045
14302
  rows?: number | undefined;
14046
14303
  }, {
14304
+ minLength?: number | undefined;
14305
+ maxLength?: number | undefined;
14306
+ exactLength?: number | undefined;
14047
14307
  rows?: number | undefined;
14048
14308
  }>>;
14049
14309
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -14406,28 +14666,6 @@ declare const FlowContext: z.ZodObject<{
14406
14666
  icon?: string | undefined;
14407
14667
  } | undefined;
14408
14668
  }>>;
14409
- mappedResults: z.ZodOptional<z.ZodObject<{
14410
- mapping: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
14411
- key: z.ZodString;
14412
- value: z.ZodString;
14413
- }, "strip", z.ZodTypeAny, {
14414
- value: string;
14415
- key: string;
14416
- }, {
14417
- value: string;
14418
- key: string;
14419
- }>, "many">>;
14420
- }, "strip", z.ZodTypeAny, {
14421
- mapping: Record<string, {
14422
- value: string;
14423
- key: string;
14424
- }[]>;
14425
- }, {
14426
- mapping: Record<string, {
14427
- value: string;
14428
- key: string;
14429
- }[]>;
14430
- }>>;
14431
14669
  }, "strip", z.ZodTypeAny, {
14432
14670
  value?: string | undefined;
14433
14671
  button?: {
@@ -14456,12 +14694,6 @@ declare const FlowContext: z.ZodObject<{
14456
14694
  icon?: string | undefined;
14457
14695
  position?: "left" | "right" | undefined;
14458
14696
  } | undefined;
14459
- mappedResults?: {
14460
- mapping: Record<string, {
14461
- value: string;
14462
- key: string;
14463
- }[]>;
14464
- } | undefined;
14465
14697
  }, {
14466
14698
  value?: string | undefined;
14467
14699
  button?: {
@@ -14490,12 +14722,6 @@ declare const FlowContext: z.ZodObject<{
14490
14722
  icon?: string | undefined;
14491
14723
  position?: "left" | "right" | undefined;
14492
14724
  } | undefined;
14493
- mappedResults?: {
14494
- mapping: Record<string, {
14495
- value: string;
14496
- key: string;
14497
- }[]>;
14498
- } | undefined;
14499
14725
  }>>;
14500
14726
  distanceRange: z.ZodOptional<z.ZodObject<{
14501
14727
  initial: z.ZodOptional<z.ZodNumber>;
@@ -14930,6 +15156,56 @@ declare const FlowContext: z.ZodObject<{
14930
15156
  action: string;
14931
15157
  } | undefined;
14932
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
+ }>>;
15208
+ forcePolyfills: z.ZodOptional<z.ZodBoolean>;
14933
15209
  }, "strip", z.ZodTypeAny, {
14934
15210
  options?: {
14935
15211
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -14965,12 +15241,9 @@ declare const FlowContext: z.ZodObject<{
14965
15241
  icon?: string | undefined;
14966
15242
  position?: "left" | "right" | undefined;
14967
15243
  } | undefined;
14968
- mappedResults?: {
14969
- mapping: Record<string, {
14970
- value: string;
14971
- key: string;
14972
- }[]>;
14973
- } | undefined;
15244
+ } | undefined;
15245
+ clickableItems?: {
15246
+ actionId: string;
14974
15247
  } | undefined;
14975
15248
  apiKey?: string | undefined;
14976
15249
  region?: string | undefined;
@@ -15084,6 +15357,17 @@ declare const FlowContext: z.ZodObject<{
15084
15357
  action: string;
15085
15358
  } | undefined;
15086
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;
15370
+ forcePolyfills?: boolean | undefined;
15087
15371
  }, {
15088
15372
  options?: {
15089
15373
  component?: "carousel" | "list-button" | "list-radio" | undefined;
@@ -15119,12 +15403,9 @@ declare const FlowContext: z.ZodObject<{
15119
15403
  icon?: string | undefined;
15120
15404
  position?: "left" | "right" | undefined;
15121
15405
  } | undefined;
15122
- mappedResults?: {
15123
- mapping: Record<string, {
15124
- value: string;
15125
- key: string;
15126
- }[]>;
15127
- } | undefined;
15406
+ } | undefined;
15407
+ clickableItems?: {
15408
+ actionId: string;
15128
15409
  } | undefined;
15129
15410
  apiKey?: string | undefined;
15130
15411
  region?: string | undefined;
@@ -15238,6 +15519,17 @@ declare const FlowContext: z.ZodObject<{
15238
15519
  action: string;
15239
15520
  } | undefined;
15240
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;
15532
+ forcePolyfills?: boolean | undefined;
15241
15533
  }>>;
15242
15534
  calendar: z.ZodOptional<z.ZodObject<{
15243
15535
  current: z.ZodOptional<z.ZodObject<{
@@ -15473,12 +15765,9 @@ declare const FlowContext: z.ZodObject<{
15473
15765
  icon?: string | undefined;
15474
15766
  position?: "left" | "right" | undefined;
15475
15767
  } | undefined;
15476
- mappedResults?: {
15477
- mapping: Record<string, {
15478
- value: string;
15479
- key: string;
15480
- }[]>;
15481
- } | undefined;
15768
+ } | undefined;
15769
+ clickableItems?: {
15770
+ actionId: string;
15482
15771
  } | undefined;
15483
15772
  apiKey?: string | undefined;
15484
15773
  region?: string | undefined;
@@ -15592,6 +15881,17 @@ declare const FlowContext: z.ZodObject<{
15592
15881
  action: string;
15593
15882
  } | undefined;
15594
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;
15894
+ forcePolyfills?: boolean | undefined;
15595
15895
  } | undefined;
15596
15896
  input?: {
15597
15897
  step?: number | undefined;
@@ -15633,6 +15933,9 @@ declare const FlowContext: z.ZodObject<{
15633
15933
  floatingLabel?: boolean | undefined;
15634
15934
  } | undefined;
15635
15935
  textarea?: {
15936
+ minLength?: number | undefined;
15937
+ maxLength?: number | undefined;
15938
+ exactLength?: number | undefined;
15636
15939
  rows?: number | undefined;
15637
15940
  } | undefined;
15638
15941
  checkbox?: {
@@ -15765,12 +16068,9 @@ declare const FlowContext: z.ZodObject<{
15765
16068
  icon?: string | undefined;
15766
16069
  position?: "left" | "right" | undefined;
15767
16070
  } | undefined;
15768
- mappedResults?: {
15769
- mapping: Record<string, {
15770
- value: string;
15771
- key: string;
15772
- }[]>;
15773
- } | undefined;
16071
+ } | undefined;
16072
+ clickableItems?: {
16073
+ actionId: string;
15774
16074
  } | undefined;
15775
16075
  apiKey?: string | undefined;
15776
16076
  region?: string | undefined;
@@ -15884,6 +16184,17 @@ declare const FlowContext: z.ZodObject<{
15884
16184
  action: string;
15885
16185
  } | undefined;
15886
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;
16197
+ forcePolyfills?: boolean | undefined;
15887
16198
  } | undefined;
15888
16199
  input?: {
15889
16200
  step?: number | undefined;
@@ -15925,6 +16236,9 @@ declare const FlowContext: z.ZodObject<{
15925
16236
  floatingLabel?: boolean | undefined;
15926
16237
  } | undefined;
15927
16238
  textarea?: {
16239
+ minLength?: number | undefined;
16240
+ maxLength?: number | undefined;
16241
+ exactLength?: number | undefined;
15928
16242
  rows?: number | undefined;
15929
16243
  } | undefined;
15930
16244
  checkbox?: {
@@ -16491,6 +16805,7 @@ declare const FlowContext: z.ZodObject<{
16491
16805
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
16492
16806
  }[] | undefined;
16493
16807
  })[] | undefined;
16808
+ id?: string | undefined;
16494
16809
  actions?: {
16495
16810
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
16496
16811
  label: string;
@@ -16563,12 +16878,9 @@ declare const FlowContext: z.ZodObject<{
16563
16878
  icon?: string | undefined;
16564
16879
  position?: "left" | "right" | undefined;
16565
16880
  } | undefined;
16566
- mappedResults?: {
16567
- mapping: Record<string, {
16568
- value: string;
16569
- key: string;
16570
- }[]>;
16571
- } | undefined;
16881
+ } | undefined;
16882
+ clickableItems?: {
16883
+ actionId: string;
16572
16884
  } | undefined;
16573
16885
  apiKey?: string | undefined;
16574
16886
  region?: string | undefined;
@@ -16682,6 +16994,17 @@ declare const FlowContext: z.ZodObject<{
16682
16994
  action: string;
16683
16995
  } | undefined;
16684
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;
17007
+ forcePolyfills?: boolean | undefined;
16685
17008
  } | undefined;
16686
17009
  input?: {
16687
17010
  step?: number | undefined;
@@ -16723,6 +17046,9 @@ declare const FlowContext: z.ZodObject<{
16723
17046
  floatingLabel?: boolean | undefined;
16724
17047
  } | undefined;
16725
17048
  textarea?: {
17049
+ minLength?: number | undefined;
17050
+ maxLength?: number | undefined;
17051
+ exactLength?: number | undefined;
16726
17052
  rows?: number | undefined;
16727
17053
  } | undefined;
16728
17054
  checkbox?: {
@@ -16990,6 +17316,7 @@ declare const FlowContext: z.ZodObject<{
16990
17316
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
16991
17317
  }[] | undefined;
16992
17318
  })[] | undefined;
17319
+ id?: string | undefined;
16993
17320
  actions?: {
16994
17321
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
16995
17322
  label: string;
@@ -17062,12 +17389,9 @@ declare const FlowContext: z.ZodObject<{
17062
17389
  icon?: string | undefined;
17063
17390
  position?: "left" | "right" | undefined;
17064
17391
  } | undefined;
17065
- mappedResults?: {
17066
- mapping: Record<string, {
17067
- value: string;
17068
- key: string;
17069
- }[]>;
17070
- } | undefined;
17392
+ } | undefined;
17393
+ clickableItems?: {
17394
+ actionId: string;
17071
17395
  } | undefined;
17072
17396
  apiKey?: string | undefined;
17073
17397
  region?: string | undefined;
@@ -17181,6 +17505,17 @@ declare const FlowContext: z.ZodObject<{
17181
17505
  action: string;
17182
17506
  } | undefined;
17183
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;
17518
+ forcePolyfills?: boolean | undefined;
17184
17519
  } | undefined;
17185
17520
  input?: {
17186
17521
  step?: number | undefined;
@@ -17222,6 +17557,9 @@ declare const FlowContext: z.ZodObject<{
17222
17557
  floatingLabel?: boolean | undefined;
17223
17558
  } | undefined;
17224
17559
  textarea?: {
17560
+ minLength?: number | undefined;
17561
+ maxLength?: number | undefined;
17562
+ exactLength?: number | undefined;
17225
17563
  rows?: number | undefined;
17226
17564
  } | undefined;
17227
17565
  checkbox?: {
@@ -17544,6 +17882,8 @@ declare const FlowContext: z.ZodObject<{
17544
17882
  error: z.ZodOptional<z.ZodObject<{
17545
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"]>;
17546
17884
  message: z.ZodOptional<z.ZodString>;
17885
+ icon: z.ZodOptional<z.ZodString>;
17886
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
17547
17887
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17548
17888
  name: z.ZodString;
17549
17889
  type: z.ZodEnum<["text", "boolean", "number", "email", "phone", "mobile_phone", "date", "time", "datetime", "password", "url", "color", "object", "void", "location", "availability"]>;
@@ -17569,6 +17909,8 @@ declare const FlowContext: z.ZodObject<{
17569
17909
  error: string;
17570
17910
  value?: any;
17571
17911
  }[] | undefined;
17912
+ icon?: string | undefined;
17913
+ position?: "top" | "bottom" | undefined;
17572
17914
  }, {
17573
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";
17574
17916
  message?: string | undefined;
@@ -17578,6 +17920,8 @@ declare const FlowContext: z.ZodObject<{
17578
17920
  error: string;
17579
17921
  value?: any;
17580
17922
  }[] | undefined;
17923
+ icon?: string | undefined;
17924
+ position?: "top" | "bottom" | undefined;
17581
17925
  }>>;
17582
17926
  isFinal: z.ZodOptional<z.ZodBoolean>;
17583
17927
  }, "strip", z.ZodTypeAny, {
@@ -17688,6 +18032,7 @@ declare const FlowContext: z.ZodObject<{
17688
18032
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
17689
18033
  }[] | undefined;
17690
18034
  })[] | undefined;
18035
+ id?: string | undefined;
17691
18036
  actions?: {
17692
18037
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17693
18038
  label: string;
@@ -17760,12 +18105,9 @@ declare const FlowContext: z.ZodObject<{
17760
18105
  icon?: string | undefined;
17761
18106
  position?: "left" | "right" | undefined;
17762
18107
  } | undefined;
17763
- mappedResults?: {
17764
- mapping: Record<string, {
17765
- value: string;
17766
- key: string;
17767
- }[]>;
17768
- } | undefined;
18108
+ } | undefined;
18109
+ clickableItems?: {
18110
+ actionId: string;
17769
18111
  } | undefined;
17770
18112
  apiKey?: string | undefined;
17771
18113
  region?: string | undefined;
@@ -17879,6 +18221,17 @@ declare const FlowContext: z.ZodObject<{
17879
18221
  action: string;
17880
18222
  } | undefined;
17881
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;
18234
+ forcePolyfills?: boolean | undefined;
17882
18235
  } | undefined;
17883
18236
  input?: {
17884
18237
  step?: number | undefined;
@@ -17920,6 +18273,9 @@ declare const FlowContext: z.ZodObject<{
17920
18273
  floatingLabel?: boolean | undefined;
17921
18274
  } | undefined;
17922
18275
  textarea?: {
18276
+ minLength?: number | undefined;
18277
+ maxLength?: number | undefined;
18278
+ exactLength?: number | undefined;
17923
18279
  rows?: number | undefined;
17924
18280
  } | undefined;
17925
18281
  checkbox?: {
@@ -18123,6 +18479,8 @@ declare const FlowContext: z.ZodObject<{
18123
18479
  error: string;
18124
18480
  value?: any;
18125
18481
  }[] | undefined;
18482
+ icon?: string | undefined;
18483
+ position?: "top" | "bottom" | undefined;
18126
18484
  } | undefined;
18127
18485
  result?: {
18128
18486
  tracking?: Record<string, any> | undefined;
@@ -18244,6 +18602,7 @@ declare const FlowContext: z.ZodObject<{
18244
18602
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
18245
18603
  }[] | undefined;
18246
18604
  })[] | undefined;
18605
+ id?: string | undefined;
18247
18606
  actions?: {
18248
18607
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18249
18608
  label: string;
@@ -18316,12 +18675,9 @@ declare const FlowContext: z.ZodObject<{
18316
18675
  icon?: string | undefined;
18317
18676
  position?: "left" | "right" | undefined;
18318
18677
  } | undefined;
18319
- mappedResults?: {
18320
- mapping: Record<string, {
18321
- value: string;
18322
- key: string;
18323
- }[]>;
18324
- } | undefined;
18678
+ } | undefined;
18679
+ clickableItems?: {
18680
+ actionId: string;
18325
18681
  } | undefined;
18326
18682
  apiKey?: string | undefined;
18327
18683
  region?: string | undefined;
@@ -18435,6 +18791,17 @@ declare const FlowContext: z.ZodObject<{
18435
18791
  action: string;
18436
18792
  } | undefined;
18437
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;
18804
+ forcePolyfills?: boolean | undefined;
18438
18805
  } | undefined;
18439
18806
  input?: {
18440
18807
  step?: number | undefined;
@@ -18476,6 +18843,9 @@ declare const FlowContext: z.ZodObject<{
18476
18843
  floatingLabel?: boolean | undefined;
18477
18844
  } | undefined;
18478
18845
  textarea?: {
18846
+ minLength?: number | undefined;
18847
+ maxLength?: number | undefined;
18848
+ exactLength?: number | undefined;
18479
18849
  rows?: number | undefined;
18480
18850
  } | undefined;
18481
18851
  checkbox?: {
@@ -18679,6 +19049,8 @@ declare const FlowContext: z.ZodObject<{
18679
19049
  error: string;
18680
19050
  value?: any;
18681
19051
  }[] | undefined;
19052
+ icon?: string | undefined;
19053
+ position?: "top" | "bottom" | undefined;
18682
19054
  } | undefined;
18683
19055
  result?: {
18684
19056
  tracking?: Record<string, any> | undefined;
@@ -18834,6 +19206,7 @@ declare const FlowContext: z.ZodObject<{
18834
19206
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
18835
19207
  }[] | undefined;
18836
19208
  })[] | undefined;
19209
+ id?: string | undefined;
18837
19210
  actions?: {
18838
19211
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18839
19212
  label: string;
@@ -18906,12 +19279,9 @@ declare const FlowContext: z.ZodObject<{
18906
19279
  icon?: string | undefined;
18907
19280
  position?: "left" | "right" | undefined;
18908
19281
  } | undefined;
18909
- mappedResults?: {
18910
- mapping: Record<string, {
18911
- value: string;
18912
- key: string;
18913
- }[]>;
18914
- } | undefined;
19282
+ } | undefined;
19283
+ clickableItems?: {
19284
+ actionId: string;
18915
19285
  } | undefined;
18916
19286
  apiKey?: string | undefined;
18917
19287
  region?: string | undefined;
@@ -19025,6 +19395,17 @@ declare const FlowContext: z.ZodObject<{
19025
19395
  action: string;
19026
19396
  } | undefined;
19027
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;
19408
+ forcePolyfills?: boolean | undefined;
19028
19409
  } | undefined;
19029
19410
  input?: {
19030
19411
  step?: number | undefined;
@@ -19066,6 +19447,9 @@ declare const FlowContext: z.ZodObject<{
19066
19447
  floatingLabel?: boolean | undefined;
19067
19448
  } | undefined;
19068
19449
  textarea?: {
19450
+ minLength?: number | undefined;
19451
+ maxLength?: number | undefined;
19452
+ exactLength?: number | undefined;
19069
19453
  rows?: number | undefined;
19070
19454
  } | undefined;
19071
19455
  checkbox?: {
@@ -19269,6 +19653,8 @@ declare const FlowContext: z.ZodObject<{
19269
19653
  error: string;
19270
19654
  value?: any;
19271
19655
  }[] | undefined;
19656
+ icon?: string | undefined;
19657
+ position?: "top" | "bottom" | undefined;
19272
19658
  } | undefined;
19273
19659
  result?: {
19274
19660
  tracking?: Record<string, any> | undefined;
@@ -19402,6 +19788,7 @@ declare const FlowContext: z.ZodObject<{
19402
19788
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
19403
19789
  }[] | undefined;
19404
19790
  })[] | undefined;
19791
+ id?: string | undefined;
19405
19792
  actions?: {
19406
19793
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19407
19794
  label: string;
@@ -19474,12 +19861,9 @@ declare const FlowContext: z.ZodObject<{
19474
19861
  icon?: string | undefined;
19475
19862
  position?: "left" | "right" | undefined;
19476
19863
  } | undefined;
19477
- mappedResults?: {
19478
- mapping: Record<string, {
19479
- value: string;
19480
- key: string;
19481
- }[]>;
19482
- } | undefined;
19864
+ } | undefined;
19865
+ clickableItems?: {
19866
+ actionId: string;
19483
19867
  } | undefined;
19484
19868
  apiKey?: string | undefined;
19485
19869
  region?: string | undefined;
@@ -19593,6 +19977,17 @@ declare const FlowContext: z.ZodObject<{
19593
19977
  action: string;
19594
19978
  } | undefined;
19595
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;
19990
+ forcePolyfills?: boolean | undefined;
19596
19991
  } | undefined;
19597
19992
  input?: {
19598
19993
  step?: number | undefined;
@@ -19634,6 +20029,9 @@ declare const FlowContext: z.ZodObject<{
19634
20029
  floatingLabel?: boolean | undefined;
19635
20030
  } | undefined;
19636
20031
  textarea?: {
20032
+ minLength?: number | undefined;
20033
+ maxLength?: number | undefined;
20034
+ exactLength?: number | undefined;
19637
20035
  rows?: number | undefined;
19638
20036
  } | undefined;
19639
20037
  checkbox?: {
@@ -19837,6 +20235,8 @@ declare const FlowContext: z.ZodObject<{
19837
20235
  error: string;
19838
20236
  value?: any;
19839
20237
  }[] | undefined;
20238
+ icon?: string | undefined;
20239
+ position?: "top" | "bottom" | undefined;
19840
20240
  } | undefined;
19841
20241
  result?: {
19842
20242
  tracking?: Record<string, any> | undefined;