@onlive.ai/flow-client 0.1.63 → 0.1.75

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;
@@ -2439,13 +2442,13 @@ declare const Step: z.ZodObject<{
2439
2442
  preload?: boolean | undefined;
2440
2443
  }>, "many">>;
2441
2444
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2442
- name: z.ZodEnum<["organization_call", "close_panel"]>;
2445
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
2443
2446
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2444
2447
  }, "strip", z.ZodTypeAny, {
2445
- name: "organization_call" | "close_panel";
2448
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2446
2449
  params?: Record<string, any> | undefined;
2447
2450
  }, {
2448
- name: "organization_call" | "close_panel";
2451
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2449
2452
  params?: Record<string, any> | undefined;
2450
2453
  }>, "many">>;
2451
2454
  }, "strip", z.ZodTypeAny, {
@@ -2472,7 +2475,7 @@ declare const Step: z.ZodObject<{
2472
2475
  icon?: string | undefined;
2473
2476
  } | undefined;
2474
2477
  events?: {
2475
- name: "organization_call" | "close_panel";
2478
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2476
2479
  params?: Record<string, any> | undefined;
2477
2480
  }[] | undefined;
2478
2481
  }, {
@@ -2499,7 +2502,7 @@ declare const Step: z.ZodObject<{
2499
2502
  icon?: string | undefined;
2500
2503
  } | undefined;
2501
2504
  events?: {
2502
- name: "organization_call" | "close_panel";
2505
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2503
2506
  params?: Record<string, any> | undefined;
2504
2507
  }[] | undefined;
2505
2508
  }>, "many">>;
@@ -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;
@@ -2940,7 +2944,7 @@ declare const Step: z.ZodObject<{
2940
2944
  icon?: string | undefined;
2941
2945
  } | undefined;
2942
2946
  events?: {
2943
- name: "organization_call" | "close_panel";
2947
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
2944
2948
  params?: Record<string, any> | undefined;
2945
2949
  }[] | undefined;
2946
2950
  }[] | undefined;
@@ -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;
@@ -3043,7 +3048,7 @@ declare const Step: z.ZodObject<{
3043
3048
  icon?: string | undefined;
3044
3049
  } | undefined;
3045
3050
  events?: {
3046
- name: "organization_call" | "close_panel";
3051
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
3047
3052
  params?: Record<string, any> | undefined;
3048
3053
  }[] | undefined;
3049
3054
  }[] | undefined;
@@ -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;
@@ -5796,7 +5821,7 @@ declare const Step: z.ZodObject<{
5796
5821
  icon?: string | undefined;
5797
5822
  } | undefined;
5798
5823
  events?: {
5799
- name: "organization_call" | "close_panel";
5824
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
5800
5825
  params?: Record<string, any> | undefined;
5801
5826
  }[] | undefined;
5802
5827
  }[] | undefined;
@@ -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;
@@ -6299,7 +6332,7 @@ declare const Step: z.ZodObject<{
6299
6332
  icon?: string | undefined;
6300
6333
  } | undefined;
6301
6334
  events?: {
6302
- name: "organization_call" | "close_panel";
6335
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6303
6336
  params?: Record<string, any> | undefined;
6304
6337
  }[] | undefined;
6305
6338
  }[] | undefined;
@@ -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?: {
@@ -6723,13 +6763,13 @@ declare const Step: z.ZodObject<{
6723
6763
  preload?: boolean | undefined;
6724
6764
  }>, "many">>;
6725
6765
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
6726
- name: z.ZodEnum<["organization_call", "close_panel"]>;
6766
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
6727
6767
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6728
6768
  }, "strip", z.ZodTypeAny, {
6729
- name: "organization_call" | "close_panel";
6769
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6730
6770
  params?: Record<string, any> | undefined;
6731
6771
  }, {
6732
- name: "organization_call" | "close_panel";
6772
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6733
6773
  params?: Record<string, any> | undefined;
6734
6774
  }>, "many">>;
6735
6775
  }, "strip", z.ZodTypeAny, {
@@ -6756,7 +6796,7 @@ declare const Step: z.ZodObject<{
6756
6796
  icon?: string | undefined;
6757
6797
  } | undefined;
6758
6798
  events?: {
6759
- name: "organization_call" | "close_panel";
6799
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6760
6800
  params?: Record<string, any> | undefined;
6761
6801
  }[] | undefined;
6762
6802
  }, {
@@ -6783,7 +6823,7 @@ declare const Step: z.ZodObject<{
6783
6823
  icon?: string | undefined;
6784
6824
  } | undefined;
6785
6825
  events?: {
6786
- name: "organization_call" | "close_panel";
6826
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
6787
6827
  params?: Record<string, any> | undefined;
6788
6828
  }[] | undefined;
6789
6829
  }>, "many">>;
@@ -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;
@@ -7001,7 +7048,7 @@ declare const Step: z.ZodObject<{
7001
7048
  icon?: string | undefined;
7002
7049
  } | undefined;
7003
7050
  events?: {
7004
- name: "organization_call" | "close_panel";
7051
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7005
7052
  params?: Record<string, any> | undefined;
7006
7053
  }[] | undefined;
7007
7054
  }[] | undefined;
@@ -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?: {
@@ -7401,7 +7455,7 @@ declare const Step: z.ZodObject<{
7401
7455
  icon?: string | undefined;
7402
7456
  } | undefined;
7403
7457
  events?: {
7404
- name: "organization_call" | "close_panel";
7458
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7405
7459
  params?: Record<string, any> | undefined;
7406
7460
  }[] | undefined;
7407
7461
  }[] | undefined;
@@ -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;
@@ -7561,7 +7618,7 @@ declare const Step: z.ZodObject<{
7561
7618
  icon?: string | undefined;
7562
7619
  } | undefined;
7563
7620
  events?: {
7564
- name: "organization_call" | "close_panel";
7621
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7565
7622
  params?: Record<string, any> | undefined;
7566
7623
  }[] | undefined;
7567
7624
  }[] | undefined;
@@ -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?: {
@@ -7961,7 +8025,7 @@ declare const Step: z.ZodObject<{
7961
8025
  icon?: string | undefined;
7962
8026
  } | undefined;
7963
8027
  events?: {
7964
- name: "organization_call" | "close_panel";
8028
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
7965
8029
  params?: Record<string, any> | undefined;
7966
8030
  }[] | undefined;
7967
8031
  }[] | undefined;
@@ -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;
@@ -8111,13 +8177,13 @@ declare const Action: z.ZodObject<{
8111
8177
  preload?: boolean | undefined;
8112
8178
  }>, "many">>;
8113
8179
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8114
- name: z.ZodEnum<["organization_call", "close_panel"]>;
8180
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8115
8181
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8116
8182
  }, "strip", z.ZodTypeAny, {
8117
- name: "organization_call" | "close_panel";
8183
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8118
8184
  params?: Record<string, any> | undefined;
8119
8185
  }, {
8120
- name: "organization_call" | "close_panel";
8186
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8121
8187
  params?: Record<string, any> | undefined;
8122
8188
  }>, "many">>;
8123
8189
  }, "strip", z.ZodTypeAny, {
@@ -8144,7 +8210,7 @@ declare const Action: z.ZodObject<{
8144
8210
  icon?: string | undefined;
8145
8211
  } | undefined;
8146
8212
  events?: {
8147
- name: "organization_call" | "close_panel";
8213
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8148
8214
  params?: Record<string, any> | undefined;
8149
8215
  }[] | undefined;
8150
8216
  }, {
@@ -8171,7 +8237,7 @@ declare const Action: z.ZodObject<{
8171
8237
  icon?: string | undefined;
8172
8238
  } | undefined;
8173
8239
  events?: {
8174
- name: "organization_call" | "close_panel";
8240
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8175
8241
  params?: Record<string, any> | undefined;
8176
8242
  }[] | undefined;
8177
8243
  }>;
@@ -8208,19 +8274,17 @@ type ActionScript = z.infer<typeof ActionScript>;
8208
8274
  /**
8209
8275
  * Schema defining custom events that can be triggered by flow actions.
8210
8276
  *
8211
- * @property {"organization_call" | "close_panel"} name - The name of the event to trigger:
8212
- * - "organization_call": Triggers a call to the organization
8213
- * - "close_panel": Closes the current panel or modal
8277
+ * @property {"organization_call" | "close_panel" | "retry_first_step" | "retry_next_step"} name - The name of the event to trigger.
8214
8278
  * @property {Record<string, any>} [params] - Additional parameters to pass with the event.
8215
8279
  */
8216
8280
  declare const ActionEvent: z.ZodObject<{
8217
- name: z.ZodEnum<["organization_call", "close_panel"]>;
8281
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8218
8282
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8219
8283
  }, "strip", z.ZodTypeAny, {
8220
- name: "organization_call" | "close_panel";
8284
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8221
8285
  params?: Record<string, any> | undefined;
8222
8286
  }, {
8223
- name: "organization_call" | "close_panel";
8287
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8224
8288
  params?: Record<string, any> | undefined;
8225
8289
  }>;
8226
8290
  type ActionEvent = z.infer<typeof ActionEvent>;
@@ -8236,7 +8300,7 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8236
8300
  * @property {boolean} [readonly] - Whether the field is read-only and cannot be modified.
8237
8301
  * @property {boolean} [multiple] - Whether multiple values can be selected (for select, checkbox components).
8238
8302
  * @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.
8303
+ * @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
8304
  * @property {boolean} [required] - Whether the field is required and must have a value.
8241
8305
  * @property {Object} [configuration] - Component-specific configuration options.
8242
8306
  * @property {Object} [configuration.generic] - Generic configuration for all components.
@@ -8272,14 +8336,39 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8272
8336
  * @property {Object} [configuration.carousel] - Configuration for carousel component.
8273
8337
  * @property {boolean} [configuration.carousel.loop] - Whether to loop the carousel.
8274
8338
  * @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.
8339
+ * @property {Object} [configuration.carousel.itemsPerPage] - Number of items to display per page.
8340
+ * @property {number} configuration.carousel.itemsPerPage.small - Number of items per page on small screens.
8341
+ * @property {number} [configuration.carousel.itemsPerPage.medium] - Number of items per page on medium screens.
8342
+ * @property {number} [configuration.carousel.itemsPerPage.large] - Number of items per page on large screens.
8343
+ * @property {Object} [configuration.carousel.itemsPerMove] - Number of items to move per slide change.
8344
+ * @property {number} configuration.carousel.itemsPerMove.small - Number of items to move per slide on small screens.
8345
+ * @property {number} [configuration.carousel.itemsPerMove.medium] - Number of items to move per slide on medium screens.
8346
+ * @property {number} [configuration.carousel.itemsPerMove.large] - Number of items to move per slide on large screens.
8277
8347
  * @property {boolean} [configuration.carousel.showArrows] - Whether to show navigation arrows.
8278
8348
  * @property {boolean} [configuration.carousel.showDots] - Whether to show pagination dots.
8279
8349
  * @property {boolean} [configuration.carousel.autoplay] - Whether to enable automatic sliding.
8280
8350
  * @property {number} [configuration.carousel.autoplaySpeed] - Speed of automatic sliding in milliseconds.
8281
8351
  * @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.
8352
+ * @property {string} [configuration.carousel.clickableItems.actionId] - ID of the action to execute when an item is clicked.
8353
+ * @property {Object} [configuration.grid] - Configuration for grid component.
8354
+ * @property {Object} [configuration.grid.search] - Search functionality configuration.
8355
+ * @property {boolean} [configuration.grid.search.enabled] - Enable search functionality.
8356
+ * @property {string} [configuration.grid.search.value] - Initial search value.
8357
+ * @property {Object} [configuration.grid.search.button] - Search button configuration.
8358
+ * @property {string} [configuration.grid.search.button.label] - Search button label.
8359
+ * @property {string} [configuration.grid.search.placeholder] - Search input placeholder text.
8360
+ * @property {string} [configuration.grid.search.noResultsText] - Message when no results found.
8361
+ * @property {boolean} [configuration.grid.search.clearable] - Enable clear button for search.
8362
+ * @property {Object} [configuration.grid.itemsPerRow] - Number of items to display per row.
8363
+ * @property {number} configuration.grid.itemsPerRow.small - Number of items per row on small screens.
8364
+ * @property {number} [configuration.grid.itemsPerRow.medium] - Number of items per row on medium screens.
8365
+ * @property {number} [configuration.grid.itemsPerRow.large] - Number of items per row on large screens.
8366
+ * @property {Object} [configuration.grid.itemsPerPage] - Number of items to display per page.
8367
+ * @property {number} configuration.grid.itemsPerPage.small - Number of items per page on small screens.
8368
+ * @property {number} [configuration.grid.itemsPerPage.medium] - Number of items per page on medium screens.
8369
+ * @property {number} [configuration.grid.itemsPerPage.large] - Number of items per page on large screens.
8370
+ * @property {Object} [configuration.grid.clickableItems] - Configuration for clickable grid items.
8371
+ * @property {string} configuration.grid.clickableItems.actionId - ID of the action to execute when an item is clicked.
8283
8372
  * @property {Object} [configuration.map] - Configuration for map component.
8284
8373
  * @property {string} [configuration.map.apiKey] - API key for map service.
8285
8374
  * @property {string} [configuration.map.region] - Two-letter country code for map region.
@@ -8346,7 +8435,13 @@ type ActionEvent = z.infer<typeof ActionEvent>;
8346
8435
  * @property {Object} [configuration.map.infoWindow.button] - Button configuration inside info windows.
8347
8436
  * @property {string} configuration.map.infoWindow.button.label - Label text for the info window button.
8348
8437
  * @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.
8438
+ * @property {Object} [configuration.map.ordering] - Configuration for ordering locations.
8439
+ * @property {"distance" | "title" | "id"} [configuration.map.ordering.orderBy] - Field to order locations by.
8440
+ * @property {"asc" | "desc"} [configuration.map.ordering.orderDir] - Direction to order locations in.
8441
+ * @property {Array<{ids: string[], filters: {postcodes: string[]}}>} [configuration.map.ordering.preferences] - Array of preferences for ordering.
8442
+ * @property {Object} [configuration.map.clickableItems] - Configuration for clickable map items.
8443
+ * @property {string} configuration.map.clickableItems.actionId - ID of the action to execute when an item is clicked.
8444
+ * @property {boolean} [configuration.map.forcePolyfills] - Polyfill configuration for map features.
8350
8445
  * @property {Object} [configuration.calendar] - Configuration for calendar component.
8351
8446
  * @property {Object} [configuration.calendar.current] - Current date display configuration.
8352
8447
  * @property {number} [configuration.calendar.current.month] - Current month (0-11, where 0 is January).
@@ -8491,6 +8586,7 @@ declare const Field: z.ZodObject<{
8491
8586
  multiple: z.ZodOptional<z.ZodBoolean>;
8492
8587
  placeholder: z.ZodOptional<z.ZodString>;
8493
8588
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8589
+ id: z.ZodOptional<z.ZodString>;
8494
8590
  label: z.ZodString;
8495
8591
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
8496
8592
  lat: z.ZodNumber;
@@ -8594,13 +8690,13 @@ declare const Field: z.ZodObject<{
8594
8690
  preload?: boolean | undefined;
8595
8691
  }>, "many">>;
8596
8692
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
8597
- name: z.ZodEnum<["organization_call", "close_panel"]>;
8693
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
8598
8694
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8599
8695
  }, "strip", z.ZodTypeAny, {
8600
- name: "organization_call" | "close_panel";
8696
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8601
8697
  params?: Record<string, any> | undefined;
8602
8698
  }, {
8603
- name: "organization_call" | "close_panel";
8699
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8604
8700
  params?: Record<string, any> | undefined;
8605
8701
  }>, "many">>;
8606
8702
  }, "strip", z.ZodTypeAny, {
@@ -8627,7 +8723,7 @@ declare const Field: z.ZodObject<{
8627
8723
  icon?: string | undefined;
8628
8724
  } | undefined;
8629
8725
  events?: {
8630
- name: "organization_call" | "close_panel";
8726
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8631
8727
  params?: Record<string, any> | undefined;
8632
8728
  }[] | undefined;
8633
8729
  }, {
@@ -8654,7 +8750,7 @@ declare const Field: z.ZodObject<{
8654
8750
  icon?: string | undefined;
8655
8751
  } | undefined;
8656
8752
  events?: {
8657
- name: "organization_call" | "close_panel";
8753
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
8658
8754
  params?: Record<string, any> | undefined;
8659
8755
  }[] | undefined;
8660
8756
  }>, "many">>;
@@ -9071,6 +9167,7 @@ declare const Field: z.ZodObject<{
9071
9167
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9072
9168
  }[] | undefined;
9073
9169
  })[] | undefined;
9170
+ id?: string | undefined;
9074
9171
  actions?: {
9075
9172
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9076
9173
  label: string;
@@ -9095,7 +9192,7 @@ declare const Field: z.ZodObject<{
9095
9192
  icon?: string | undefined;
9096
9193
  } | undefined;
9097
9194
  events?: {
9098
- name: "organization_call" | "close_panel";
9195
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
9099
9196
  params?: Record<string, any> | undefined;
9100
9197
  }[] | undefined;
9101
9198
  }[] | undefined;
@@ -9174,6 +9271,7 @@ declare const Field: z.ZodObject<{
9174
9271
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
9175
9272
  }[] | undefined;
9176
9273
  })[] | undefined;
9274
+ id?: string | undefined;
9177
9275
  actions?: {
9178
9276
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
9179
9277
  label: string;
@@ -9198,7 +9296,7 @@ declare const Field: z.ZodObject<{
9198
9296
  icon?: string | undefined;
9199
9297
  } | undefined;
9200
9298
  events?: {
9201
- name: "organization_call" | "close_panel";
9299
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
9202
9300
  params?: Record<string, any> | undefined;
9203
9301
  }[] | undefined;
9204
9302
  }[] | undefined;
@@ -9432,10 +9530,19 @@ declare const Field: z.ZodObject<{
9432
9530
  floatingLabel?: boolean | undefined;
9433
9531
  }>>;
9434
9532
  textarea: z.ZodOptional<z.ZodObject<{
9533
+ minLength: z.ZodOptional<z.ZodNumber>;
9534
+ maxLength: z.ZodOptional<z.ZodNumber>;
9535
+ exactLength: z.ZodOptional<z.ZodNumber>;
9435
9536
  rows: z.ZodOptional<z.ZodNumber>;
9436
9537
  }, "strip", z.ZodTypeAny, {
9538
+ minLength?: number | undefined;
9539
+ maxLength?: number | undefined;
9540
+ exactLength?: number | undefined;
9437
9541
  rows?: number | undefined;
9438
9542
  }, {
9543
+ minLength?: number | undefined;
9544
+ maxLength?: number | undefined;
9545
+ exactLength?: number | undefined;
9439
9546
  rows?: number | undefined;
9440
9547
  }>>;
9441
9548
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -9798,49 +9905,6 @@ declare const Field: z.ZodObject<{
9798
9905
  icon?: string | undefined;
9799
9906
  } | undefined;
9800
9907
  }>>;
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
9908
  }, "strip", z.ZodTypeAny, {
9845
9909
  value?: string | undefined;
9846
9910
  button?: {
@@ -9869,15 +9933,6 @@ declare const Field: z.ZodObject<{
9869
9933
  icon?: string | undefined;
9870
9934
  position?: "left" | "right" | undefined;
9871
9935
  } | undefined;
9872
- mappedResults?: {
9873
- mapping: {
9874
- values: {
9875
- value: string;
9876
- key: string;
9877
- }[];
9878
- terms: string[];
9879
- }[];
9880
- } | undefined;
9881
9936
  }, {
9882
9937
  value?: string | undefined;
9883
9938
  button?: {
@@ -9906,15 +9961,6 @@ declare const Field: z.ZodObject<{
9906
9961
  icon?: string | undefined;
9907
9962
  position?: "left" | "right" | undefined;
9908
9963
  } | undefined;
9909
- mappedResults?: {
9910
- mapping: {
9911
- values: {
9912
- value: string;
9913
- key: string;
9914
- }[];
9915
- terms: string[];
9916
- }[];
9917
- } | undefined;
9918
9964
  }>>;
9919
9965
  distanceRange: z.ZodOptional<z.ZodObject<{
9920
9966
  initial: z.ZodOptional<z.ZodNumber>;
@@ -10349,6 +10395,55 @@ declare const Field: z.ZodObject<{
10349
10395
  action: string;
10350
10396
  } | undefined;
10351
10397
  }>>;
10398
+ ordering: z.ZodOptional<z.ZodObject<{
10399
+ orderBy: z.ZodOptional<z.ZodEnum<["distance", "title", "id"]>>;
10400
+ orderDir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10401
+ preferences: z.ZodArray<z.ZodObject<{
10402
+ ids: z.ZodArray<z.ZodString, "many">;
10403
+ filters: z.ZodOptional<z.ZodObject<{
10404
+ postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10405
+ }, "strip", z.ZodTypeAny, {
10406
+ postcodes?: string[] | undefined;
10407
+ }, {
10408
+ postcodes?: string[] | undefined;
10409
+ }>>;
10410
+ }, "strip", z.ZodTypeAny, {
10411
+ ids: string[];
10412
+ filters?: {
10413
+ postcodes?: string[] | undefined;
10414
+ } | undefined;
10415
+ }, {
10416
+ ids: string[];
10417
+ filters?: {
10418
+ postcodes?: string[] | undefined;
10419
+ } | undefined;
10420
+ }>, "many">;
10421
+ }, "strip", z.ZodTypeAny, {
10422
+ preferences: {
10423
+ ids: string[];
10424
+ filters?: {
10425
+ postcodes?: string[] | undefined;
10426
+ } | undefined;
10427
+ }[];
10428
+ orderBy?: "id" | "title" | "distance" | undefined;
10429
+ orderDir?: "asc" | "desc" | undefined;
10430
+ }, {
10431
+ preferences: {
10432
+ ids: string[];
10433
+ filters?: {
10434
+ postcodes?: string[] | undefined;
10435
+ } | undefined;
10436
+ }[];
10437
+ orderBy?: "id" | "title" | "distance" | undefined;
10438
+ orderDir?: "asc" | "desc" | undefined;
10439
+ }>>;
10440
+ clickableItems: z.ZodOptional<z.ZodObject<{
10441
+ actionId: z.ZodString;
10442
+ }, "strip", z.ZodTypeAny, {
10443
+ actionId: string;
10444
+ }, {
10445
+ actionId: string;
10446
+ }>>;
10352
10447
  forcePolyfills: z.ZodOptional<z.ZodBoolean>;
10353
10448
  }, "strip", z.ZodTypeAny, {
10354
10449
  options?: {
@@ -10385,15 +10480,9 @@ declare const Field: z.ZodObject<{
10385
10480
  icon?: string | undefined;
10386
10481
  position?: "left" | "right" | undefined;
10387
10482
  } | undefined;
10388
- mappedResults?: {
10389
- mapping: {
10390
- values: {
10391
- value: string;
10392
- key: string;
10393
- }[];
10394
- terms: string[];
10395
- }[];
10396
- } | undefined;
10483
+ } | undefined;
10484
+ clickableItems?: {
10485
+ actionId: string;
10397
10486
  } | undefined;
10398
10487
  apiKey?: string | undefined;
10399
10488
  region?: string | undefined;
@@ -10507,6 +10596,16 @@ declare const Field: z.ZodObject<{
10507
10596
  action: string;
10508
10597
  } | undefined;
10509
10598
  } | undefined;
10599
+ ordering?: {
10600
+ preferences: {
10601
+ ids: string[];
10602
+ filters?: {
10603
+ postcodes?: string[] | undefined;
10604
+ } | undefined;
10605
+ }[];
10606
+ orderBy?: "id" | "title" | "distance" | undefined;
10607
+ orderDir?: "asc" | "desc" | undefined;
10608
+ } | undefined;
10510
10609
  forcePolyfills?: boolean | undefined;
10511
10610
  }, {
10512
10611
  options?: {
@@ -10543,15 +10642,9 @@ declare const Field: z.ZodObject<{
10543
10642
  icon?: string | undefined;
10544
10643
  position?: "left" | "right" | undefined;
10545
10644
  } | undefined;
10546
- mappedResults?: {
10547
- mapping: {
10548
- values: {
10549
- value: string;
10550
- key: string;
10551
- }[];
10552
- terms: string[];
10553
- }[];
10554
- } | undefined;
10645
+ } | undefined;
10646
+ clickableItems?: {
10647
+ actionId: string;
10555
10648
  } | undefined;
10556
10649
  apiKey?: string | undefined;
10557
10650
  region?: string | undefined;
@@ -10665,6 +10758,16 @@ declare const Field: z.ZodObject<{
10665
10758
  action: string;
10666
10759
  } | undefined;
10667
10760
  } | undefined;
10761
+ ordering?: {
10762
+ preferences: {
10763
+ ids: string[];
10764
+ filters?: {
10765
+ postcodes?: string[] | undefined;
10766
+ } | undefined;
10767
+ }[];
10768
+ orderBy?: "id" | "title" | "distance" | undefined;
10769
+ orderDir?: "asc" | "desc" | undefined;
10770
+ } | undefined;
10668
10771
  forcePolyfills?: boolean | undefined;
10669
10772
  }>>;
10670
10773
  calendar: z.ZodOptional<z.ZodObject<{
@@ -10901,15 +11004,9 @@ declare const Field: z.ZodObject<{
10901
11004
  icon?: string | undefined;
10902
11005
  position?: "left" | "right" | undefined;
10903
11006
  } | undefined;
10904
- mappedResults?: {
10905
- mapping: {
10906
- values: {
10907
- value: string;
10908
- key: string;
10909
- }[];
10910
- terms: string[];
10911
- }[];
10912
- } | undefined;
11007
+ } | undefined;
11008
+ clickableItems?: {
11009
+ actionId: string;
10913
11010
  } | undefined;
10914
11011
  apiKey?: string | undefined;
10915
11012
  region?: string | undefined;
@@ -11023,6 +11120,16 @@ declare const Field: z.ZodObject<{
11023
11120
  action: string;
11024
11121
  } | undefined;
11025
11122
  } | undefined;
11123
+ ordering?: {
11124
+ preferences: {
11125
+ ids: string[];
11126
+ filters?: {
11127
+ postcodes?: string[] | undefined;
11128
+ } | undefined;
11129
+ }[];
11130
+ orderBy?: "id" | "title" | "distance" | undefined;
11131
+ orderDir?: "asc" | "desc" | undefined;
11132
+ } | undefined;
11026
11133
  forcePolyfills?: boolean | undefined;
11027
11134
  } | undefined;
11028
11135
  input?: {
@@ -11065,6 +11172,9 @@ declare const Field: z.ZodObject<{
11065
11172
  floatingLabel?: boolean | undefined;
11066
11173
  } | undefined;
11067
11174
  textarea?: {
11175
+ minLength?: number | undefined;
11176
+ maxLength?: number | undefined;
11177
+ exactLength?: number | undefined;
11068
11178
  rows?: number | undefined;
11069
11179
  } | undefined;
11070
11180
  checkbox?: {
@@ -11197,15 +11307,9 @@ declare const Field: z.ZodObject<{
11197
11307
  icon?: string | undefined;
11198
11308
  position?: "left" | "right" | undefined;
11199
11309
  } | undefined;
11200
- mappedResults?: {
11201
- mapping: {
11202
- values: {
11203
- value: string;
11204
- key: string;
11205
- }[];
11206
- terms: string[];
11207
- }[];
11208
- } | undefined;
11310
+ } | undefined;
11311
+ clickableItems?: {
11312
+ actionId: string;
11209
11313
  } | undefined;
11210
11314
  apiKey?: string | undefined;
11211
11315
  region?: string | undefined;
@@ -11319,6 +11423,16 @@ declare const Field: z.ZodObject<{
11319
11423
  action: string;
11320
11424
  } | undefined;
11321
11425
  } | undefined;
11426
+ ordering?: {
11427
+ preferences: {
11428
+ ids: string[];
11429
+ filters?: {
11430
+ postcodes?: string[] | undefined;
11431
+ } | undefined;
11432
+ }[];
11433
+ orderBy?: "id" | "title" | "distance" | undefined;
11434
+ orderDir?: "asc" | "desc" | undefined;
11435
+ } | undefined;
11322
11436
  forcePolyfills?: boolean | undefined;
11323
11437
  } | undefined;
11324
11438
  input?: {
@@ -11361,6 +11475,9 @@ declare const Field: z.ZodObject<{
11361
11475
  floatingLabel?: boolean | undefined;
11362
11476
  } | undefined;
11363
11477
  textarea?: {
11478
+ minLength?: number | undefined;
11479
+ maxLength?: number | undefined;
11480
+ exactLength?: number | undefined;
11364
11481
  rows?: number | undefined;
11365
11482
  } | undefined;
11366
11483
  checkbox?: {
@@ -11927,6 +12044,7 @@ declare const Field: z.ZodObject<{
11927
12044
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
11928
12045
  }[] | undefined;
11929
12046
  })[] | undefined;
12047
+ id?: string | undefined;
11930
12048
  actions?: {
11931
12049
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
11932
12050
  label: string;
@@ -11951,7 +12069,7 @@ declare const Field: z.ZodObject<{
11951
12069
  icon?: string | undefined;
11952
12070
  } | undefined;
11953
12071
  events?: {
11954
- name: "organization_call" | "close_panel";
12072
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
11955
12073
  params?: Record<string, any> | undefined;
11956
12074
  }[] | undefined;
11957
12075
  }[] | undefined;
@@ -11999,15 +12117,9 @@ declare const Field: z.ZodObject<{
11999
12117
  icon?: string | undefined;
12000
12118
  position?: "left" | "right" | undefined;
12001
12119
  } | undefined;
12002
- mappedResults?: {
12003
- mapping: {
12004
- values: {
12005
- value: string;
12006
- key: string;
12007
- }[];
12008
- terms: string[];
12009
- }[];
12010
- } | undefined;
12120
+ } | undefined;
12121
+ clickableItems?: {
12122
+ actionId: string;
12011
12123
  } | undefined;
12012
12124
  apiKey?: string | undefined;
12013
12125
  region?: string | undefined;
@@ -12121,6 +12233,16 @@ declare const Field: z.ZodObject<{
12121
12233
  action: string;
12122
12234
  } | undefined;
12123
12235
  } | undefined;
12236
+ ordering?: {
12237
+ preferences: {
12238
+ ids: string[];
12239
+ filters?: {
12240
+ postcodes?: string[] | undefined;
12241
+ } | undefined;
12242
+ }[];
12243
+ orderBy?: "id" | "title" | "distance" | undefined;
12244
+ orderDir?: "asc" | "desc" | undefined;
12245
+ } | undefined;
12124
12246
  forcePolyfills?: boolean | undefined;
12125
12247
  } | undefined;
12126
12248
  input?: {
@@ -12163,6 +12285,9 @@ declare const Field: z.ZodObject<{
12163
12285
  floatingLabel?: boolean | undefined;
12164
12286
  } | undefined;
12165
12287
  textarea?: {
12288
+ minLength?: number | undefined;
12289
+ maxLength?: number | undefined;
12290
+ exactLength?: number | undefined;
12166
12291
  rows?: number | undefined;
12167
12292
  } | undefined;
12168
12293
  checkbox?: {
@@ -12430,6 +12555,7 @@ declare const Field: z.ZodObject<{
12430
12555
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
12431
12556
  }[] | undefined;
12432
12557
  })[] | undefined;
12558
+ id?: string | undefined;
12433
12559
  actions?: {
12434
12560
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
12435
12561
  label: string;
@@ -12454,7 +12580,7 @@ declare const Field: z.ZodObject<{
12454
12580
  icon?: string | undefined;
12455
12581
  } | undefined;
12456
12582
  events?: {
12457
- name: "organization_call" | "close_panel";
12583
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
12458
12584
  params?: Record<string, any> | undefined;
12459
12585
  }[] | undefined;
12460
12586
  }[] | undefined;
@@ -12502,15 +12628,9 @@ declare const Field: z.ZodObject<{
12502
12628
  icon?: string | undefined;
12503
12629
  position?: "left" | "right" | undefined;
12504
12630
  } | undefined;
12505
- mappedResults?: {
12506
- mapping: {
12507
- values: {
12508
- value: string;
12509
- key: string;
12510
- }[];
12511
- terms: string[];
12512
- }[];
12513
- } | undefined;
12631
+ } | undefined;
12632
+ clickableItems?: {
12633
+ actionId: string;
12514
12634
  } | undefined;
12515
12635
  apiKey?: string | undefined;
12516
12636
  region?: string | undefined;
@@ -12624,6 +12744,16 @@ declare const Field: z.ZodObject<{
12624
12744
  action: string;
12625
12745
  } | undefined;
12626
12746
  } | undefined;
12747
+ ordering?: {
12748
+ preferences: {
12749
+ ids: string[];
12750
+ filters?: {
12751
+ postcodes?: string[] | undefined;
12752
+ } | undefined;
12753
+ }[];
12754
+ orderBy?: "id" | "title" | "distance" | undefined;
12755
+ orderDir?: "asc" | "desc" | undefined;
12756
+ } | undefined;
12627
12757
  forcePolyfills?: boolean | undefined;
12628
12758
  } | undefined;
12629
12759
  input?: {
@@ -12666,6 +12796,9 @@ declare const Field: z.ZodObject<{
12666
12796
  floatingLabel?: boolean | undefined;
12667
12797
  } | undefined;
12668
12798
  textarea?: {
12799
+ minLength?: number | undefined;
12800
+ maxLength?: number | undefined;
12801
+ exactLength?: number | undefined;
12669
12802
  rows?: number | undefined;
12670
12803
  } | undefined;
12671
12804
  checkbox?: {
@@ -13212,6 +13345,7 @@ declare const FlowContext: z.ZodObject<{
13212
13345
  multiple: z.ZodOptional<z.ZodBoolean>;
13213
13346
  placeholder: z.ZodOptional<z.ZodString>;
13214
13347
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
13348
+ id: z.ZodOptional<z.ZodString>;
13215
13349
  label: z.ZodString;
13216
13350
  value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
13217
13351
  lat: z.ZodNumber;
@@ -13315,13 +13449,13 @@ declare const FlowContext: z.ZodObject<{
13315
13449
  preload?: boolean | undefined;
13316
13450
  }>, "many">>;
13317
13451
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
13318
- name: z.ZodEnum<["organization_call", "close_panel"]>;
13452
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
13319
13453
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
13320
13454
  }, "strip", z.ZodTypeAny, {
13321
- name: "organization_call" | "close_panel";
13455
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13322
13456
  params?: Record<string, any> | undefined;
13323
13457
  }, {
13324
- name: "organization_call" | "close_panel";
13458
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13325
13459
  params?: Record<string, any> | undefined;
13326
13460
  }>, "many">>;
13327
13461
  }, "strip", z.ZodTypeAny, {
@@ -13348,7 +13482,7 @@ declare const FlowContext: z.ZodObject<{
13348
13482
  icon?: string | undefined;
13349
13483
  } | undefined;
13350
13484
  events?: {
13351
- name: "organization_call" | "close_panel";
13485
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13352
13486
  params?: Record<string, any> | undefined;
13353
13487
  }[] | undefined;
13354
13488
  }, {
@@ -13375,7 +13509,7 @@ declare const FlowContext: z.ZodObject<{
13375
13509
  icon?: string | undefined;
13376
13510
  } | undefined;
13377
13511
  events?: {
13378
- name: "organization_call" | "close_panel";
13512
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13379
13513
  params?: Record<string, any> | undefined;
13380
13514
  }[] | undefined;
13381
13515
  }>, "many">>;
@@ -13792,6 +13926,7 @@ declare const FlowContext: z.ZodObject<{
13792
13926
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13793
13927
  }[] | undefined;
13794
13928
  })[] | undefined;
13929
+ id?: string | undefined;
13795
13930
  actions?: {
13796
13931
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13797
13932
  label: string;
@@ -13816,7 +13951,7 @@ declare const FlowContext: z.ZodObject<{
13816
13951
  icon?: string | undefined;
13817
13952
  } | undefined;
13818
13953
  events?: {
13819
- name: "organization_call" | "close_panel";
13954
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13820
13955
  params?: Record<string, any> | undefined;
13821
13956
  }[] | undefined;
13822
13957
  }[] | undefined;
@@ -13895,6 +14030,7 @@ declare const FlowContext: z.ZodObject<{
13895
14030
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
13896
14031
  }[] | undefined;
13897
14032
  })[] | undefined;
14033
+ id?: string | undefined;
13898
14034
  actions?: {
13899
14035
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
13900
14036
  label: string;
@@ -13919,7 +14055,7 @@ declare const FlowContext: z.ZodObject<{
13919
14055
  icon?: string | undefined;
13920
14056
  } | undefined;
13921
14057
  events?: {
13922
- name: "organization_call" | "close_panel";
14058
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
13923
14059
  params?: Record<string, any> | undefined;
13924
14060
  }[] | undefined;
13925
14061
  }[] | undefined;
@@ -14153,10 +14289,19 @@ declare const FlowContext: z.ZodObject<{
14153
14289
  floatingLabel?: boolean | undefined;
14154
14290
  }>>;
14155
14291
  textarea: z.ZodOptional<z.ZodObject<{
14292
+ minLength: z.ZodOptional<z.ZodNumber>;
14293
+ maxLength: z.ZodOptional<z.ZodNumber>;
14294
+ exactLength: z.ZodOptional<z.ZodNumber>;
14156
14295
  rows: z.ZodOptional<z.ZodNumber>;
14157
14296
  }, "strip", z.ZodTypeAny, {
14297
+ minLength?: number | undefined;
14298
+ maxLength?: number | undefined;
14299
+ exactLength?: number | undefined;
14158
14300
  rows?: number | undefined;
14159
14301
  }, {
14302
+ minLength?: number | undefined;
14303
+ maxLength?: number | undefined;
14304
+ exactLength?: number | undefined;
14160
14305
  rows?: number | undefined;
14161
14306
  }>>;
14162
14307
  checkbox: z.ZodOptional<z.ZodObject<{
@@ -14519,49 +14664,6 @@ declare const FlowContext: z.ZodObject<{
14519
14664
  icon?: string | undefined;
14520
14665
  } | undefined;
14521
14666
  }>>;
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
14667
  }, "strip", z.ZodTypeAny, {
14566
14668
  value?: string | undefined;
14567
14669
  button?: {
@@ -14590,15 +14692,6 @@ declare const FlowContext: z.ZodObject<{
14590
14692
  icon?: string | undefined;
14591
14693
  position?: "left" | "right" | undefined;
14592
14694
  } | undefined;
14593
- mappedResults?: {
14594
- mapping: {
14595
- values: {
14596
- value: string;
14597
- key: string;
14598
- }[];
14599
- terms: string[];
14600
- }[];
14601
- } | undefined;
14602
14695
  }, {
14603
14696
  value?: string | undefined;
14604
14697
  button?: {
@@ -14627,15 +14720,6 @@ declare const FlowContext: z.ZodObject<{
14627
14720
  icon?: string | undefined;
14628
14721
  position?: "left" | "right" | undefined;
14629
14722
  } | undefined;
14630
- mappedResults?: {
14631
- mapping: {
14632
- values: {
14633
- value: string;
14634
- key: string;
14635
- }[];
14636
- terms: string[];
14637
- }[];
14638
- } | undefined;
14639
14723
  }>>;
14640
14724
  distanceRange: z.ZodOptional<z.ZodObject<{
14641
14725
  initial: z.ZodOptional<z.ZodNumber>;
@@ -15070,6 +15154,55 @@ declare const FlowContext: z.ZodObject<{
15070
15154
  action: string;
15071
15155
  } | undefined;
15072
15156
  }>>;
15157
+ ordering: z.ZodOptional<z.ZodObject<{
15158
+ orderBy: z.ZodOptional<z.ZodEnum<["distance", "title", "id"]>>;
15159
+ orderDir: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
15160
+ preferences: z.ZodArray<z.ZodObject<{
15161
+ ids: z.ZodArray<z.ZodString, "many">;
15162
+ filters: z.ZodOptional<z.ZodObject<{
15163
+ postcodes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15164
+ }, "strip", z.ZodTypeAny, {
15165
+ postcodes?: string[] | undefined;
15166
+ }, {
15167
+ postcodes?: string[] | undefined;
15168
+ }>>;
15169
+ }, "strip", z.ZodTypeAny, {
15170
+ ids: string[];
15171
+ filters?: {
15172
+ postcodes?: string[] | undefined;
15173
+ } | undefined;
15174
+ }, {
15175
+ ids: string[];
15176
+ filters?: {
15177
+ postcodes?: string[] | undefined;
15178
+ } | undefined;
15179
+ }>, "many">;
15180
+ }, "strip", z.ZodTypeAny, {
15181
+ preferences: {
15182
+ ids: string[];
15183
+ filters?: {
15184
+ postcodes?: string[] | undefined;
15185
+ } | undefined;
15186
+ }[];
15187
+ orderBy?: "id" | "title" | "distance" | undefined;
15188
+ orderDir?: "asc" | "desc" | undefined;
15189
+ }, {
15190
+ preferences: {
15191
+ ids: string[];
15192
+ filters?: {
15193
+ postcodes?: string[] | undefined;
15194
+ } | undefined;
15195
+ }[];
15196
+ orderBy?: "id" | "title" | "distance" | undefined;
15197
+ orderDir?: "asc" | "desc" | undefined;
15198
+ }>>;
15199
+ clickableItems: z.ZodOptional<z.ZodObject<{
15200
+ actionId: z.ZodString;
15201
+ }, "strip", z.ZodTypeAny, {
15202
+ actionId: string;
15203
+ }, {
15204
+ actionId: string;
15205
+ }>>;
15073
15206
  forcePolyfills: z.ZodOptional<z.ZodBoolean>;
15074
15207
  }, "strip", z.ZodTypeAny, {
15075
15208
  options?: {
@@ -15106,15 +15239,9 @@ declare const FlowContext: z.ZodObject<{
15106
15239
  icon?: string | undefined;
15107
15240
  position?: "left" | "right" | undefined;
15108
15241
  } | undefined;
15109
- mappedResults?: {
15110
- mapping: {
15111
- values: {
15112
- value: string;
15113
- key: string;
15114
- }[];
15115
- terms: string[];
15116
- }[];
15117
- } | undefined;
15242
+ } | undefined;
15243
+ clickableItems?: {
15244
+ actionId: string;
15118
15245
  } | undefined;
15119
15246
  apiKey?: string | undefined;
15120
15247
  region?: string | undefined;
@@ -15228,6 +15355,16 @@ declare const FlowContext: z.ZodObject<{
15228
15355
  action: string;
15229
15356
  } | undefined;
15230
15357
  } | undefined;
15358
+ ordering?: {
15359
+ preferences: {
15360
+ ids: string[];
15361
+ filters?: {
15362
+ postcodes?: string[] | undefined;
15363
+ } | undefined;
15364
+ }[];
15365
+ orderBy?: "id" | "title" | "distance" | undefined;
15366
+ orderDir?: "asc" | "desc" | undefined;
15367
+ } | undefined;
15231
15368
  forcePolyfills?: boolean | undefined;
15232
15369
  }, {
15233
15370
  options?: {
@@ -15264,15 +15401,9 @@ declare const FlowContext: z.ZodObject<{
15264
15401
  icon?: string | undefined;
15265
15402
  position?: "left" | "right" | undefined;
15266
15403
  } | undefined;
15267
- mappedResults?: {
15268
- mapping: {
15269
- values: {
15270
- value: string;
15271
- key: string;
15272
- }[];
15273
- terms: string[];
15274
- }[];
15275
- } | undefined;
15404
+ } | undefined;
15405
+ clickableItems?: {
15406
+ actionId: string;
15276
15407
  } | undefined;
15277
15408
  apiKey?: string | undefined;
15278
15409
  region?: string | undefined;
@@ -15386,6 +15517,16 @@ declare const FlowContext: z.ZodObject<{
15386
15517
  action: string;
15387
15518
  } | undefined;
15388
15519
  } | undefined;
15520
+ ordering?: {
15521
+ preferences: {
15522
+ ids: string[];
15523
+ filters?: {
15524
+ postcodes?: string[] | undefined;
15525
+ } | undefined;
15526
+ }[];
15527
+ orderBy?: "id" | "title" | "distance" | undefined;
15528
+ orderDir?: "asc" | "desc" | undefined;
15529
+ } | undefined;
15389
15530
  forcePolyfills?: boolean | undefined;
15390
15531
  }>>;
15391
15532
  calendar: z.ZodOptional<z.ZodObject<{
@@ -15622,15 +15763,9 @@ declare const FlowContext: z.ZodObject<{
15622
15763
  icon?: string | undefined;
15623
15764
  position?: "left" | "right" | undefined;
15624
15765
  } | undefined;
15625
- mappedResults?: {
15626
- mapping: {
15627
- values: {
15628
- value: string;
15629
- key: string;
15630
- }[];
15631
- terms: string[];
15632
- }[];
15633
- } | undefined;
15766
+ } | undefined;
15767
+ clickableItems?: {
15768
+ actionId: string;
15634
15769
  } | undefined;
15635
15770
  apiKey?: string | undefined;
15636
15771
  region?: string | undefined;
@@ -15744,6 +15879,16 @@ declare const FlowContext: z.ZodObject<{
15744
15879
  action: string;
15745
15880
  } | undefined;
15746
15881
  } | undefined;
15882
+ ordering?: {
15883
+ preferences: {
15884
+ ids: string[];
15885
+ filters?: {
15886
+ postcodes?: string[] | undefined;
15887
+ } | undefined;
15888
+ }[];
15889
+ orderBy?: "id" | "title" | "distance" | undefined;
15890
+ orderDir?: "asc" | "desc" | undefined;
15891
+ } | undefined;
15747
15892
  forcePolyfills?: boolean | undefined;
15748
15893
  } | undefined;
15749
15894
  input?: {
@@ -15786,6 +15931,9 @@ declare const FlowContext: z.ZodObject<{
15786
15931
  floatingLabel?: boolean | undefined;
15787
15932
  } | undefined;
15788
15933
  textarea?: {
15934
+ minLength?: number | undefined;
15935
+ maxLength?: number | undefined;
15936
+ exactLength?: number | undefined;
15789
15937
  rows?: number | undefined;
15790
15938
  } | undefined;
15791
15939
  checkbox?: {
@@ -15918,15 +16066,9 @@ declare const FlowContext: z.ZodObject<{
15918
16066
  icon?: string | undefined;
15919
16067
  position?: "left" | "right" | undefined;
15920
16068
  } | undefined;
15921
- mappedResults?: {
15922
- mapping: {
15923
- values: {
15924
- value: string;
15925
- key: string;
15926
- }[];
15927
- terms: string[];
15928
- }[];
15929
- } | undefined;
16069
+ } | undefined;
16070
+ clickableItems?: {
16071
+ actionId: string;
15930
16072
  } | undefined;
15931
16073
  apiKey?: string | undefined;
15932
16074
  region?: string | undefined;
@@ -16040,6 +16182,16 @@ declare const FlowContext: z.ZodObject<{
16040
16182
  action: string;
16041
16183
  } | undefined;
16042
16184
  } | undefined;
16185
+ ordering?: {
16186
+ preferences: {
16187
+ ids: string[];
16188
+ filters?: {
16189
+ postcodes?: string[] | undefined;
16190
+ } | undefined;
16191
+ }[];
16192
+ orderBy?: "id" | "title" | "distance" | undefined;
16193
+ orderDir?: "asc" | "desc" | undefined;
16194
+ } | undefined;
16043
16195
  forcePolyfills?: boolean | undefined;
16044
16196
  } | undefined;
16045
16197
  input?: {
@@ -16082,6 +16234,9 @@ declare const FlowContext: z.ZodObject<{
16082
16234
  floatingLabel?: boolean | undefined;
16083
16235
  } | undefined;
16084
16236
  textarea?: {
16237
+ minLength?: number | undefined;
16238
+ maxLength?: number | undefined;
16239
+ exactLength?: number | undefined;
16085
16240
  rows?: number | undefined;
16086
16241
  } | undefined;
16087
16242
  checkbox?: {
@@ -16648,6 +16803,7 @@ declare const FlowContext: z.ZodObject<{
16648
16803
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
16649
16804
  }[] | undefined;
16650
16805
  })[] | undefined;
16806
+ id?: string | undefined;
16651
16807
  actions?: {
16652
16808
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
16653
16809
  label: string;
@@ -16672,7 +16828,7 @@ declare const FlowContext: z.ZodObject<{
16672
16828
  icon?: string | undefined;
16673
16829
  } | undefined;
16674
16830
  events?: {
16675
- name: "organization_call" | "close_panel";
16831
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
16676
16832
  params?: Record<string, any> | undefined;
16677
16833
  }[] | undefined;
16678
16834
  }[] | undefined;
@@ -16720,15 +16876,9 @@ declare const FlowContext: z.ZodObject<{
16720
16876
  icon?: string | undefined;
16721
16877
  position?: "left" | "right" | undefined;
16722
16878
  } | undefined;
16723
- mappedResults?: {
16724
- mapping: {
16725
- values: {
16726
- value: string;
16727
- key: string;
16728
- }[];
16729
- terms: string[];
16730
- }[];
16731
- } | undefined;
16879
+ } | undefined;
16880
+ clickableItems?: {
16881
+ actionId: string;
16732
16882
  } | undefined;
16733
16883
  apiKey?: string | undefined;
16734
16884
  region?: string | undefined;
@@ -16842,6 +16992,16 @@ declare const FlowContext: z.ZodObject<{
16842
16992
  action: string;
16843
16993
  } | undefined;
16844
16994
  } | undefined;
16995
+ ordering?: {
16996
+ preferences: {
16997
+ ids: string[];
16998
+ filters?: {
16999
+ postcodes?: string[] | undefined;
17000
+ } | undefined;
17001
+ }[];
17002
+ orderBy?: "id" | "title" | "distance" | undefined;
17003
+ orderDir?: "asc" | "desc" | undefined;
17004
+ } | undefined;
16845
17005
  forcePolyfills?: boolean | undefined;
16846
17006
  } | undefined;
16847
17007
  input?: {
@@ -16884,6 +17044,9 @@ declare const FlowContext: z.ZodObject<{
16884
17044
  floatingLabel?: boolean | undefined;
16885
17045
  } | undefined;
16886
17046
  textarea?: {
17047
+ minLength?: number | undefined;
17048
+ maxLength?: number | undefined;
17049
+ exactLength?: number | undefined;
16887
17050
  rows?: number | undefined;
16888
17051
  } | undefined;
16889
17052
  checkbox?: {
@@ -17151,6 +17314,7 @@ declare const FlowContext: z.ZodObject<{
17151
17314
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
17152
17315
  }[] | undefined;
17153
17316
  })[] | undefined;
17317
+ id?: string | undefined;
17154
17318
  actions?: {
17155
17319
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17156
17320
  label: string;
@@ -17175,7 +17339,7 @@ declare const FlowContext: z.ZodObject<{
17175
17339
  icon?: string | undefined;
17176
17340
  } | undefined;
17177
17341
  events?: {
17178
- name: "organization_call" | "close_panel";
17342
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17179
17343
  params?: Record<string, any> | undefined;
17180
17344
  }[] | undefined;
17181
17345
  }[] | undefined;
@@ -17223,15 +17387,9 @@ declare const FlowContext: z.ZodObject<{
17223
17387
  icon?: string | undefined;
17224
17388
  position?: "left" | "right" | undefined;
17225
17389
  } | undefined;
17226
- mappedResults?: {
17227
- mapping: {
17228
- values: {
17229
- value: string;
17230
- key: string;
17231
- }[];
17232
- terms: string[];
17233
- }[];
17234
- } | undefined;
17390
+ } | undefined;
17391
+ clickableItems?: {
17392
+ actionId: string;
17235
17393
  } | undefined;
17236
17394
  apiKey?: string | undefined;
17237
17395
  region?: string | undefined;
@@ -17345,6 +17503,16 @@ declare const FlowContext: z.ZodObject<{
17345
17503
  action: string;
17346
17504
  } | undefined;
17347
17505
  } | undefined;
17506
+ ordering?: {
17507
+ preferences: {
17508
+ ids: string[];
17509
+ filters?: {
17510
+ postcodes?: string[] | undefined;
17511
+ } | undefined;
17512
+ }[];
17513
+ orderBy?: "id" | "title" | "distance" | undefined;
17514
+ orderDir?: "asc" | "desc" | undefined;
17515
+ } | undefined;
17348
17516
  forcePolyfills?: boolean | undefined;
17349
17517
  } | undefined;
17350
17518
  input?: {
@@ -17387,6 +17555,9 @@ declare const FlowContext: z.ZodObject<{
17387
17555
  floatingLabel?: boolean | undefined;
17388
17556
  } | undefined;
17389
17557
  textarea?: {
17558
+ minLength?: number | undefined;
17559
+ maxLength?: number | undefined;
17560
+ exactLength?: number | undefined;
17390
17561
  rows?: number | undefined;
17391
17562
  } | undefined;
17392
17563
  checkbox?: {
@@ -17599,13 +17770,13 @@ declare const FlowContext: z.ZodObject<{
17599
17770
  preload?: boolean | undefined;
17600
17771
  }>, "many">>;
17601
17772
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
17602
- name: z.ZodEnum<["organization_call", "close_panel"]>;
17773
+ name: z.ZodEnum<["organization_call", "close_panel", "retry_first_step", "retry_next_step"]>;
17603
17774
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
17604
17775
  }, "strip", z.ZodTypeAny, {
17605
- name: "organization_call" | "close_panel";
17776
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17606
17777
  params?: Record<string, any> | undefined;
17607
17778
  }, {
17608
- name: "organization_call" | "close_panel";
17779
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17609
17780
  params?: Record<string, any> | undefined;
17610
17781
  }>, "many">>;
17611
17782
  }, "strip", z.ZodTypeAny, {
@@ -17632,7 +17803,7 @@ declare const FlowContext: z.ZodObject<{
17632
17803
  icon?: string | undefined;
17633
17804
  } | undefined;
17634
17805
  events?: {
17635
- name: "organization_call" | "close_panel";
17806
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17636
17807
  params?: Record<string, any> | undefined;
17637
17808
  }[] | undefined;
17638
17809
  }, {
@@ -17659,7 +17830,7 @@ declare const FlowContext: z.ZodObject<{
17659
17830
  icon?: string | undefined;
17660
17831
  } | undefined;
17661
17832
  events?: {
17662
- name: "organization_call" | "close_panel";
17833
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17663
17834
  params?: Record<string, any> | undefined;
17664
17835
  }[] | undefined;
17665
17836
  }>, "many">>;
@@ -17709,6 +17880,8 @@ declare const FlowContext: z.ZodObject<{
17709
17880
  error: z.ZodOptional<z.ZodObject<{
17710
17881
  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
17882
  message: z.ZodOptional<z.ZodString>;
17883
+ icon: z.ZodOptional<z.ZodString>;
17884
+ position: z.ZodOptional<z.ZodEnum<["top", "bottom"]>>;
17712
17885
  fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17713
17886
  name: z.ZodString;
17714
17887
  type: z.ZodEnum<["text", "boolean", "number", "email", "phone", "mobile_phone", "date", "time", "datetime", "password", "url", "color", "object", "void", "location", "availability"]>;
@@ -17734,6 +17907,8 @@ declare const FlowContext: z.ZodObject<{
17734
17907
  error: string;
17735
17908
  value?: any;
17736
17909
  }[] | undefined;
17910
+ icon?: string | undefined;
17911
+ position?: "top" | "bottom" | undefined;
17737
17912
  }, {
17738
17913
  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
17914
  message?: string | undefined;
@@ -17743,6 +17918,8 @@ declare const FlowContext: z.ZodObject<{
17743
17918
  error: string;
17744
17919
  value?: any;
17745
17920
  }[] | undefined;
17921
+ icon?: string | undefined;
17922
+ position?: "top" | "bottom" | undefined;
17746
17923
  }>>;
17747
17924
  isFinal: z.ZodOptional<z.ZodBoolean>;
17748
17925
  }, "strip", z.ZodTypeAny, {
@@ -17853,6 +18030,7 @@ declare const FlowContext: z.ZodObject<{
17853
18030
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
17854
18031
  }[] | undefined;
17855
18032
  })[] | undefined;
18033
+ id?: string | undefined;
17856
18034
  actions?: {
17857
18035
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
17858
18036
  label: string;
@@ -17877,7 +18055,7 @@ declare const FlowContext: z.ZodObject<{
17877
18055
  icon?: string | undefined;
17878
18056
  } | undefined;
17879
18057
  events?: {
17880
- name: "organization_call" | "close_panel";
18058
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
17881
18059
  params?: Record<string, any> | undefined;
17882
18060
  }[] | undefined;
17883
18061
  }[] | undefined;
@@ -17925,15 +18103,9 @@ declare const FlowContext: z.ZodObject<{
17925
18103
  icon?: string | undefined;
17926
18104
  position?: "left" | "right" | undefined;
17927
18105
  } | undefined;
17928
- mappedResults?: {
17929
- mapping: {
17930
- values: {
17931
- value: string;
17932
- key: string;
17933
- }[];
17934
- terms: string[];
17935
- }[];
17936
- } | undefined;
18106
+ } | undefined;
18107
+ clickableItems?: {
18108
+ actionId: string;
17937
18109
  } | undefined;
17938
18110
  apiKey?: string | undefined;
17939
18111
  region?: string | undefined;
@@ -18047,6 +18219,16 @@ declare const FlowContext: z.ZodObject<{
18047
18219
  action: string;
18048
18220
  } | undefined;
18049
18221
  } | undefined;
18222
+ ordering?: {
18223
+ preferences: {
18224
+ ids: string[];
18225
+ filters?: {
18226
+ postcodes?: string[] | undefined;
18227
+ } | undefined;
18228
+ }[];
18229
+ orderBy?: "id" | "title" | "distance" | undefined;
18230
+ orderDir?: "asc" | "desc" | undefined;
18231
+ } | undefined;
18050
18232
  forcePolyfills?: boolean | undefined;
18051
18233
  } | undefined;
18052
18234
  input?: {
@@ -18089,6 +18271,9 @@ declare const FlowContext: z.ZodObject<{
18089
18271
  floatingLabel?: boolean | undefined;
18090
18272
  } | undefined;
18091
18273
  textarea?: {
18274
+ minLength?: number | undefined;
18275
+ maxLength?: number | undefined;
18276
+ exactLength?: number | undefined;
18092
18277
  rows?: number | undefined;
18093
18278
  } | undefined;
18094
18279
  checkbox?: {
@@ -18277,7 +18462,7 @@ declare const FlowContext: z.ZodObject<{
18277
18462
  icon?: string | undefined;
18278
18463
  } | undefined;
18279
18464
  events?: {
18280
- name: "organization_call" | "close_panel";
18465
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18281
18466
  params?: Record<string, any> | undefined;
18282
18467
  }[] | undefined;
18283
18468
  }[] | undefined;
@@ -18292,6 +18477,8 @@ declare const FlowContext: z.ZodObject<{
18292
18477
  error: string;
18293
18478
  value?: any;
18294
18479
  }[] | undefined;
18480
+ icon?: string | undefined;
18481
+ position?: "top" | "bottom" | undefined;
18295
18482
  } | undefined;
18296
18483
  result?: {
18297
18484
  tracking?: Record<string, any> | undefined;
@@ -18413,6 +18600,7 @@ declare const FlowContext: z.ZodObject<{
18413
18600
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
18414
18601
  }[] | undefined;
18415
18602
  })[] | undefined;
18603
+ id?: string | undefined;
18416
18604
  actions?: {
18417
18605
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
18418
18606
  label: string;
@@ -18437,7 +18625,7 @@ declare const FlowContext: z.ZodObject<{
18437
18625
  icon?: string | undefined;
18438
18626
  } | undefined;
18439
18627
  events?: {
18440
- name: "organization_call" | "close_panel";
18628
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18441
18629
  params?: Record<string, any> | undefined;
18442
18630
  }[] | undefined;
18443
18631
  }[] | undefined;
@@ -18485,15 +18673,9 @@ declare const FlowContext: z.ZodObject<{
18485
18673
  icon?: string | undefined;
18486
18674
  position?: "left" | "right" | undefined;
18487
18675
  } | undefined;
18488
- mappedResults?: {
18489
- mapping: {
18490
- values: {
18491
- value: string;
18492
- key: string;
18493
- }[];
18494
- terms: string[];
18495
- }[];
18496
- } | undefined;
18676
+ } | undefined;
18677
+ clickableItems?: {
18678
+ actionId: string;
18497
18679
  } | undefined;
18498
18680
  apiKey?: string | undefined;
18499
18681
  region?: string | undefined;
@@ -18607,6 +18789,16 @@ declare const FlowContext: z.ZodObject<{
18607
18789
  action: string;
18608
18790
  } | undefined;
18609
18791
  } | undefined;
18792
+ ordering?: {
18793
+ preferences: {
18794
+ ids: string[];
18795
+ filters?: {
18796
+ postcodes?: string[] | undefined;
18797
+ } | undefined;
18798
+ }[];
18799
+ orderBy?: "id" | "title" | "distance" | undefined;
18800
+ orderDir?: "asc" | "desc" | undefined;
18801
+ } | undefined;
18610
18802
  forcePolyfills?: boolean | undefined;
18611
18803
  } | undefined;
18612
18804
  input?: {
@@ -18649,6 +18841,9 @@ declare const FlowContext: z.ZodObject<{
18649
18841
  floatingLabel?: boolean | undefined;
18650
18842
  } | undefined;
18651
18843
  textarea?: {
18844
+ minLength?: number | undefined;
18845
+ maxLength?: number | undefined;
18846
+ exactLength?: number | undefined;
18652
18847
  rows?: number | undefined;
18653
18848
  } | undefined;
18654
18849
  checkbox?: {
@@ -18837,7 +19032,7 @@ declare const FlowContext: z.ZodObject<{
18837
19032
  icon?: string | undefined;
18838
19033
  } | undefined;
18839
19034
  events?: {
18840
- name: "organization_call" | "close_panel";
19035
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
18841
19036
  params?: Record<string, any> | undefined;
18842
19037
  }[] | undefined;
18843
19038
  }[] | undefined;
@@ -18852,6 +19047,8 @@ declare const FlowContext: z.ZodObject<{
18852
19047
  error: string;
18853
19048
  value?: any;
18854
19049
  }[] | undefined;
19050
+ icon?: string | undefined;
19051
+ position?: "top" | "bottom" | undefined;
18855
19052
  } | undefined;
18856
19053
  result?: {
18857
19054
  tracking?: Record<string, any> | undefined;
@@ -19007,6 +19204,7 @@ declare const FlowContext: z.ZodObject<{
19007
19204
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
19008
19205
  }[] | undefined;
19009
19206
  })[] | undefined;
19207
+ id?: string | undefined;
19010
19208
  actions?: {
19011
19209
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19012
19210
  label: string;
@@ -19031,7 +19229,7 @@ declare const FlowContext: z.ZodObject<{
19031
19229
  icon?: string | undefined;
19032
19230
  } | undefined;
19033
19231
  events?: {
19034
- name: "organization_call" | "close_panel";
19232
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19035
19233
  params?: Record<string, any> | undefined;
19036
19234
  }[] | undefined;
19037
19235
  }[] | undefined;
@@ -19079,15 +19277,9 @@ declare const FlowContext: z.ZodObject<{
19079
19277
  icon?: string | undefined;
19080
19278
  position?: "left" | "right" | undefined;
19081
19279
  } | undefined;
19082
- mappedResults?: {
19083
- mapping: {
19084
- values: {
19085
- value: string;
19086
- key: string;
19087
- }[];
19088
- terms: string[];
19089
- }[];
19090
- } | undefined;
19280
+ } | undefined;
19281
+ clickableItems?: {
19282
+ actionId: string;
19091
19283
  } | undefined;
19092
19284
  apiKey?: string | undefined;
19093
19285
  region?: string | undefined;
@@ -19201,6 +19393,16 @@ declare const FlowContext: z.ZodObject<{
19201
19393
  action: string;
19202
19394
  } | undefined;
19203
19395
  } | undefined;
19396
+ ordering?: {
19397
+ preferences: {
19398
+ ids: string[];
19399
+ filters?: {
19400
+ postcodes?: string[] | undefined;
19401
+ } | undefined;
19402
+ }[];
19403
+ orderBy?: "id" | "title" | "distance" | undefined;
19404
+ orderDir?: "asc" | "desc" | undefined;
19405
+ } | undefined;
19204
19406
  forcePolyfills?: boolean | undefined;
19205
19407
  } | undefined;
19206
19408
  input?: {
@@ -19243,6 +19445,9 @@ declare const FlowContext: z.ZodObject<{
19243
19445
  floatingLabel?: boolean | undefined;
19244
19446
  } | undefined;
19245
19447
  textarea?: {
19448
+ minLength?: number | undefined;
19449
+ maxLength?: number | undefined;
19450
+ exactLength?: number | undefined;
19246
19451
  rows?: number | undefined;
19247
19452
  } | undefined;
19248
19453
  checkbox?: {
@@ -19431,7 +19636,7 @@ declare const FlowContext: z.ZodObject<{
19431
19636
  icon?: string | undefined;
19432
19637
  } | undefined;
19433
19638
  events?: {
19434
- name: "organization_call" | "close_panel";
19639
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19435
19640
  params?: Record<string, any> | undefined;
19436
19641
  }[] | undefined;
19437
19642
  }[] | undefined;
@@ -19446,6 +19651,8 @@ declare const FlowContext: z.ZodObject<{
19446
19651
  error: string;
19447
19652
  value?: any;
19448
19653
  }[] | undefined;
19654
+ icon?: string | undefined;
19655
+ position?: "top" | "bottom" | undefined;
19449
19656
  } | undefined;
19450
19657
  result?: {
19451
19658
  tracking?: Record<string, any> | undefined;
@@ -19579,6 +19786,7 @@ declare const FlowContext: z.ZodObject<{
19579
19786
  operator?: "exists" | "contains" | "equals" | "not-equals" | "not-contains" | "greater-than" | "less-than" | undefined;
19580
19787
  }[] | undefined;
19581
19788
  })[] | undefined;
19789
+ id?: string | undefined;
19582
19790
  actions?: {
19583
19791
  type: "submit" | "link" | "script" | "navigate" | "back" | "dispatcher";
19584
19792
  label: string;
@@ -19603,7 +19811,7 @@ declare const FlowContext: z.ZodObject<{
19603
19811
  icon?: string | undefined;
19604
19812
  } | undefined;
19605
19813
  events?: {
19606
- name: "organization_call" | "close_panel";
19814
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
19607
19815
  params?: Record<string, any> | undefined;
19608
19816
  }[] | undefined;
19609
19817
  }[] | undefined;
@@ -19651,15 +19859,9 @@ declare const FlowContext: z.ZodObject<{
19651
19859
  icon?: string | undefined;
19652
19860
  position?: "left" | "right" | undefined;
19653
19861
  } | undefined;
19654
- mappedResults?: {
19655
- mapping: {
19656
- values: {
19657
- value: string;
19658
- key: string;
19659
- }[];
19660
- terms: string[];
19661
- }[];
19662
- } | undefined;
19862
+ } | undefined;
19863
+ clickableItems?: {
19864
+ actionId: string;
19663
19865
  } | undefined;
19664
19866
  apiKey?: string | undefined;
19665
19867
  region?: string | undefined;
@@ -19773,6 +19975,16 @@ declare const FlowContext: z.ZodObject<{
19773
19975
  action: string;
19774
19976
  } | undefined;
19775
19977
  } | undefined;
19978
+ ordering?: {
19979
+ preferences: {
19980
+ ids: string[];
19981
+ filters?: {
19982
+ postcodes?: string[] | undefined;
19983
+ } | undefined;
19984
+ }[];
19985
+ orderBy?: "id" | "title" | "distance" | undefined;
19986
+ orderDir?: "asc" | "desc" | undefined;
19987
+ } | undefined;
19776
19988
  forcePolyfills?: boolean | undefined;
19777
19989
  } | undefined;
19778
19990
  input?: {
@@ -19815,6 +20027,9 @@ declare const FlowContext: z.ZodObject<{
19815
20027
  floatingLabel?: boolean | undefined;
19816
20028
  } | undefined;
19817
20029
  textarea?: {
20030
+ minLength?: number | undefined;
20031
+ maxLength?: number | undefined;
20032
+ exactLength?: number | undefined;
19818
20033
  rows?: number | undefined;
19819
20034
  } | undefined;
19820
20035
  checkbox?: {
@@ -20003,7 +20218,7 @@ declare const FlowContext: z.ZodObject<{
20003
20218
  icon?: string | undefined;
20004
20219
  } | undefined;
20005
20220
  events?: {
20006
- name: "organization_call" | "close_panel";
20221
+ name: "organization_call" | "close_panel" | "retry_first_step" | "retry_next_step";
20007
20222
  params?: Record<string, any> | undefined;
20008
20223
  }[] | undefined;
20009
20224
  }[] | undefined;
@@ -20018,6 +20233,8 @@ declare const FlowContext: z.ZodObject<{
20018
20233
  error: string;
20019
20234
  value?: any;
20020
20235
  }[] | undefined;
20236
+ icon?: string | undefined;
20237
+ position?: "top" | "bottom" | undefined;
20021
20238
  } | undefined;
20022
20239
  result?: {
20023
20240
  tracking?: Record<string, any> | undefined;