@onlive.ai/flow-client 0.1.45 → 0.1.48

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.
@@ -1,6 +1,14 @@
1
1
  import { EventName, EventData } from '@onlive.ai/tracker';
2
2
  import { z } from 'zod';
3
3
 
4
+ /**
5
+ * Default configuration options for the flow client.
6
+ *
7
+ * Provides sensible defaults for tracking configuration including:
8
+ * - Removes extraneous values from tracking data
9
+ * - Sets default tracking API URL
10
+ * - Configures widget type for analytics
11
+ */
4
12
  declare const DEFAULT_CLIENT_OPTIONS: Partial<ClientOptions>;
5
13
  /**
6
14
  * Schema for validating step identifiers.
@@ -2209,8 +2217,8 @@ declare const ClientOptions: z.ZodObject<{
2209
2217
  devMode?: boolean | undefined;
2210
2218
  }>;
2211
2219
  /**
2212
- * Type definitions exported from this module based on the Zod schemas.
2213
- * These allow TypeScript consumers to use the inferred types in their code.
2220
+ * TypeScript type definitions exported from Zod schemas.
2221
+ * These provide type safety and IntelliSense support for developers using the flow client.
2214
2222
  */
2215
2223
  type ClientOptions = z.infer<typeof ClientOptions>;
2216
2224
  /**
@@ -2248,12 +2256,14 @@ declare const GetStepOptions: z.ZodObject<{
2248
2256
  }>;
2249
2257
  type GetStepOptions = z.infer<typeof GetStepOptions>;
2250
2258
  /**
2251
- * Schema defining a flow object containing workflow configuration and stages.
2259
+ * Schema defining a flow containing workflow configuration and stages.
2252
2260
  *
2253
- * @property {string} id - Unique identifier for the flow. Must be exactly 24 characters long.
2261
+ * @property {string} id - Unique identifier for the flow. Must be exactly 24 characters.
2254
2262
  * @property {string} organizationId - UUID of the organization that owns this flow.
2255
2263
  * @property {string} updatedAt - ISO datetime string indicating when the flow was last updated.
2256
2264
  * @property {Array<{id: string, name: string}>} stages - Array of stage objects defining the flow's progression phases.
2265
+ * @property {string} stages[].id - Unique identifier for the stage.
2266
+ * @property {string} stages[].name - Display name for the stage.
2257
2267
  */
2258
2268
  declare const Flow: z.ZodObject<{
2259
2269
  id: z.ZodString;
@@ -2291,21 +2301,21 @@ type Flow = z.infer<typeof Flow>;
2291
2301
  * Schema defining a step in the flow client workflow.
2292
2302
  *
2293
2303
  * @property {string} id - Unique identifier for the step. Must be a non-empty string.
2294
- * @property {string} [title] - Optional title displayed for the step.
2295
- * @property {string} [description] - Optional description providing additional context for the step.
2296
- * @property {string} [stageId] - Optional identifier linking this step to a specific stage in the flow.
2297
- * @property {Record<string, any>} [state] - Optional state data associated with the step.
2298
- * @property {Field[]} [fields] - Optional array of form fields to be rendered in this step.
2299
- * @property {Action[]} [actions] - Optional array of actions (buttons) available in this step.
2300
- * @property {Object} [result] - Optional result object containing post-processing information.
2301
- * @property {PostAction[]} [result.postActions] - Optional array of post-actions to execute after step completion.
2302
- * @property {Array<{name: string, data: Object}>} [result.pipelines] - Optional array of pipeline objects for data processing.
2303
- * @property {Record<string, any>} [result.tracking] - Optional tracking data for analytics.
2304
- * @property {Object} [error] - Optional error object containing validation or processing errors.
2304
+ * @property {string} [title] - Display title for the step.
2305
+ * @property {string} [description] - Detailed description providing context for the step.
2306
+ * @property {string} [stageId] - Identifier linking this step to a specific stage in the flow.
2307
+ * @property {Record<string, any>} [state] - State data associated with the step.
2308
+ * @property {Field[]} [fields] - Array of form fields to render in this step.
2309
+ * @property {Action[]} [actions] - Array of actions (buttons) available in this step.
2310
+ * @property {Object} [result] - Result object containing post-processing information.
2311
+ * @property {PostAction[]} [result.postActions] - Array of post-actions to execute after step completion.
2312
+ * @property {Array<{name: string, data: Object}>} [result.pipelines] - Array of pipeline objects for data processing.
2313
+ * @property {Record<string, any>} [result.tracking] - Tracking data for analytics purposes.
2314
+ * @property {Object} [error] - Error object containing validation or processing errors.
2305
2315
  * @property {ErrorCode} error.code - Error code identifying the type of error that occurred.
2306
- * @property {string} [error.message] - Optional human-readable error message.
2307
- * @property {Array<{name: string, type: FieldType, value: any, error: string}>} [error.fields] - Optional array of field-specific errors.
2308
- * @property {boolean} [isFinal] - Optional flag indicating if this is the final step in the flow.
2316
+ * @property {string} [error.message] - Human-readable error message.
2317
+ * @property {Array<{name: string, type: FieldType, value: any, error: string}>} [error.fields] - Array of field-specific errors.
2318
+ * @property {boolean} [isFinal] - Flag indicating if this is the final step in the flow.
2309
2319
  */
2310
2320
  declare const Step: z.ZodObject<{
2311
2321
  id: z.ZodString;
@@ -2477,6 +2487,94 @@ declare const Step: z.ZodObject<{
2477
2487
  description: z.ZodOptional<z.ZodString>;
2478
2488
  disabled: z.ZodOptional<z.ZodBoolean>;
2479
2489
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2490
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
2491
+ fieldName: z.ZodString;
2492
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
2493
+ lat: z.ZodNumber;
2494
+ lng: z.ZodNumber;
2495
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2496
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2497
+ name: z.ZodString;
2498
+ value: z.ZodOptional<z.ZodString>;
2499
+ icon: z.ZodOptional<z.ZodString>;
2500
+ type: z.ZodOptional<z.ZodEnum<["url", "email", "phone"]>>;
2501
+ }, "strip", z.ZodTypeAny, {
2502
+ name: string;
2503
+ value?: string | undefined;
2504
+ type?: "email" | "phone" | "url" | undefined;
2505
+ icon?: string | undefined;
2506
+ }, {
2507
+ name: string;
2508
+ value?: string | undefined;
2509
+ type?: "email" | "phone" | "url" | undefined;
2510
+ icon?: string | undefined;
2511
+ }>>>;
2512
+ }, "strip", z.ZodTypeAny, {
2513
+ lat: number;
2514
+ lng: number;
2515
+ meta?: Record<string, any> | undefined;
2516
+ properties?: Record<string, {
2517
+ name: string;
2518
+ value?: string | undefined;
2519
+ type?: "email" | "phone" | "url" | undefined;
2520
+ icon?: string | undefined;
2521
+ }> | undefined;
2522
+ }, {
2523
+ lat: number;
2524
+ lng: number;
2525
+ meta?: Record<string, any> | undefined;
2526
+ properties?: Record<string, {
2527
+ name: string;
2528
+ value?: string | undefined;
2529
+ type?: "email" | "phone" | "url" | undefined;
2530
+ icon?: string | undefined;
2531
+ }> | undefined;
2532
+ }>, z.ZodObject<{
2533
+ datetime: z.ZodString;
2534
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2535
+ }, "strip", z.ZodTypeAny, {
2536
+ datetime: string;
2537
+ meta?: Record<string, any> | undefined;
2538
+ }, {
2539
+ datetime: string;
2540
+ meta?: Record<string, any> | undefined;
2541
+ }>]>>;
2542
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
2543
+ }, "strip", z.ZodTypeAny, {
2544
+ fieldName: string;
2545
+ value?: string | number | boolean | {
2546
+ lat: number;
2547
+ lng: number;
2548
+ meta?: Record<string, any> | undefined;
2549
+ properties?: Record<string, {
2550
+ name: string;
2551
+ value?: string | undefined;
2552
+ type?: "email" | "phone" | "url" | undefined;
2553
+ icon?: string | undefined;
2554
+ }> | undefined;
2555
+ } | {
2556
+ datetime: string;
2557
+ meta?: Record<string, any> | undefined;
2558
+ } | undefined;
2559
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
2560
+ }, {
2561
+ fieldName: string;
2562
+ value?: string | number | boolean | {
2563
+ lat: number;
2564
+ lng: number;
2565
+ meta?: Record<string, any> | undefined;
2566
+ properties?: Record<string, {
2567
+ name: string;
2568
+ value?: string | undefined;
2569
+ type?: "email" | "phone" | "url" | undefined;
2570
+ icon?: string | undefined;
2571
+ }> | undefined;
2572
+ } | {
2573
+ datetime: string;
2574
+ meta?: Record<string, any> | undefined;
2575
+ } | undefined;
2576
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
2577
+ }>, "many">>;
2480
2578
  }, "strip", z.ZodTypeAny, {
2481
2579
  label: string;
2482
2580
  value?: string | number | boolean | {
@@ -2496,6 +2594,24 @@ declare const Step: z.ZodObject<{
2496
2594
  disabled?: boolean | undefined;
2497
2595
  description?: string | undefined;
2498
2596
  image?: string | undefined;
2597
+ dependsOn?: {
2598
+ fieldName: string;
2599
+ value?: string | number | boolean | {
2600
+ lat: number;
2601
+ lng: number;
2602
+ meta?: Record<string, any> | undefined;
2603
+ properties?: Record<string, {
2604
+ name: string;
2605
+ value?: string | undefined;
2606
+ type?: "email" | "phone" | "url" | undefined;
2607
+ icon?: string | undefined;
2608
+ }> | undefined;
2609
+ } | {
2610
+ datetime: string;
2611
+ meta?: Record<string, any> | undefined;
2612
+ } | undefined;
2613
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
2614
+ }[] | undefined;
2499
2615
  attributes?: Record<string, any> | undefined;
2500
2616
  }, {
2501
2617
  label: string;
@@ -2516,10 +2632,50 @@ declare const Step: z.ZodObject<{
2516
2632
  disabled?: boolean | undefined;
2517
2633
  description?: string | undefined;
2518
2634
  image?: string | undefined;
2635
+ dependsOn?: {
2636
+ fieldName: string;
2637
+ value?: string | number | boolean | {
2638
+ lat: number;
2639
+ lng: number;
2640
+ meta?: Record<string, any> | undefined;
2641
+ properties?: Record<string, {
2642
+ name: string;
2643
+ value?: string | undefined;
2644
+ type?: "email" | "phone" | "url" | undefined;
2645
+ icon?: string | undefined;
2646
+ }> | undefined;
2647
+ } | {
2648
+ datetime: string;
2649
+ meta?: Record<string, any> | undefined;
2650
+ } | undefined;
2651
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
2652
+ }[] | undefined;
2519
2653
  attributes?: Record<string, any> | undefined;
2520
2654
  }>, "many">>;
2521
2655
  required: z.ZodOptional<z.ZodBoolean>;
2522
2656
  configuration: z.ZodOptional<z.ZodObject<{
2657
+ generic: z.ZodOptional<z.ZodObject<{
2658
+ error: z.ZodObject<{
2659
+ icon: z.ZodOptional<z.ZodString>;
2660
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
2661
+ }, "strip", z.ZodTypeAny, {
2662
+ icon?: string | undefined;
2663
+ showOn?: "input" | "blur" | undefined;
2664
+ }, {
2665
+ icon?: string | undefined;
2666
+ showOn?: "input" | "blur" | undefined;
2667
+ }>;
2668
+ }, "strip", z.ZodTypeAny, {
2669
+ error: {
2670
+ icon?: string | undefined;
2671
+ showOn?: "input" | "blur" | undefined;
2672
+ };
2673
+ }, {
2674
+ error: {
2675
+ icon?: string | undefined;
2676
+ showOn?: "input" | "blur" | undefined;
2677
+ };
2678
+ }>>;
2523
2679
  input: z.ZodOptional<z.ZodObject<{
2524
2680
  min: z.ZodOptional<z.ZodNumber>;
2525
2681
  max: z.ZodOptional<z.ZodNumber>;
@@ -2564,11 +2720,11 @@ declare const Step: z.ZodObject<{
2564
2720
  text?: string | undefined;
2565
2721
  icon?: string | undefined;
2566
2722
  } | undefined;
2567
- default?: {
2723
+ error?: {
2568
2724
  text?: string | undefined;
2569
2725
  icon?: string | undefined;
2570
2726
  } | undefined;
2571
- error?: {
2727
+ default?: {
2572
2728
  text?: string | undefined;
2573
2729
  icon?: string | undefined;
2574
2730
  } | undefined;
@@ -2577,11 +2733,11 @@ declare const Step: z.ZodObject<{
2577
2733
  text?: string | undefined;
2578
2734
  icon?: string | undefined;
2579
2735
  } | undefined;
2580
- default?: {
2736
+ error?: {
2581
2737
  text?: string | undefined;
2582
2738
  icon?: string | undefined;
2583
2739
  } | undefined;
2584
- error?: {
2740
+ default?: {
2585
2741
  text?: string | undefined;
2586
2742
  icon?: string | undefined;
2587
2743
  } | undefined;
@@ -2622,11 +2778,11 @@ declare const Step: z.ZodObject<{
2622
2778
  text?: string | undefined;
2623
2779
  icon?: string | undefined;
2624
2780
  } | undefined;
2625
- default?: {
2781
+ error?: {
2626
2782
  text?: string | undefined;
2627
2783
  icon?: string | undefined;
2628
2784
  } | undefined;
2629
- error?: {
2785
+ default?: {
2630
2786
  text?: string | undefined;
2631
2787
  icon?: string | undefined;
2632
2788
  } | undefined;
@@ -2635,11 +2791,11 @@ declare const Step: z.ZodObject<{
2635
2791
  text?: string | undefined;
2636
2792
  icon?: string | undefined;
2637
2793
  } | undefined;
2638
- default?: {
2794
+ error?: {
2639
2795
  text?: string | undefined;
2640
2796
  icon?: string | undefined;
2641
2797
  } | undefined;
2642
- error?: {
2798
+ default?: {
2643
2799
  text?: string | undefined;
2644
2800
  icon?: string | undefined;
2645
2801
  } | undefined;
@@ -2659,11 +2815,11 @@ declare const Step: z.ZodObject<{
2659
2815
  text?: string | undefined;
2660
2816
  icon?: string | undefined;
2661
2817
  } | undefined;
2662
- default?: {
2818
+ error?: {
2663
2819
  text?: string | undefined;
2664
2820
  icon?: string | undefined;
2665
2821
  } | undefined;
2666
- error?: {
2822
+ default?: {
2667
2823
  text?: string | undefined;
2668
2824
  icon?: string | undefined;
2669
2825
  } | undefined;
@@ -2673,11 +2829,11 @@ declare const Step: z.ZodObject<{
2673
2829
  text?: string | undefined;
2674
2830
  icon?: string | undefined;
2675
2831
  } | undefined;
2676
- default?: {
2832
+ error?: {
2677
2833
  text?: string | undefined;
2678
2834
  icon?: string | undefined;
2679
2835
  } | undefined;
2680
- error?: {
2836
+ default?: {
2681
2837
  text?: string | undefined;
2682
2838
  icon?: string | undefined;
2683
2839
  } | undefined;
@@ -2697,11 +2853,11 @@ declare const Step: z.ZodObject<{
2697
2853
  text?: string | undefined;
2698
2854
  icon?: string | undefined;
2699
2855
  } | undefined;
2700
- default?: {
2856
+ error?: {
2701
2857
  text?: string | undefined;
2702
2858
  icon?: string | undefined;
2703
2859
  } | undefined;
2704
- error?: {
2860
+ default?: {
2705
2861
  text?: string | undefined;
2706
2862
  icon?: string | undefined;
2707
2863
  } | undefined;
@@ -2711,11 +2867,11 @@ declare const Step: z.ZodObject<{
2711
2867
  text?: string | undefined;
2712
2868
  icon?: string | undefined;
2713
2869
  } | undefined;
2714
- default?: {
2870
+ error?: {
2715
2871
  text?: string | undefined;
2716
2872
  icon?: string | undefined;
2717
2873
  } | undefined;
2718
- error?: {
2874
+ default?: {
2719
2875
  text?: string | undefined;
2720
2876
  icon?: string | undefined;
2721
2877
  } | undefined;
@@ -4088,11 +4244,11 @@ declare const Step: z.ZodObject<{
4088
4244
  text?: string | undefined;
4089
4245
  icon?: string | undefined;
4090
4246
  } | undefined;
4091
- default?: {
4247
+ error?: {
4092
4248
  text?: string | undefined;
4093
4249
  icon?: string | undefined;
4094
4250
  } | undefined;
4095
- error?: {
4251
+ default?: {
4096
4252
  text?: string | undefined;
4097
4253
  icon?: string | undefined;
4098
4254
  } | undefined;
@@ -4102,11 +4258,11 @@ declare const Step: z.ZodObject<{
4102
4258
  text?: string | undefined;
4103
4259
  icon?: string | undefined;
4104
4260
  } | undefined;
4105
- default?: {
4261
+ error?: {
4106
4262
  text?: string | undefined;
4107
4263
  icon?: string | undefined;
4108
4264
  } | undefined;
4109
- error?: {
4265
+ default?: {
4110
4266
  text?: string | undefined;
4111
4267
  icon?: string | undefined;
4112
4268
  } | undefined;
@@ -4159,6 +4315,12 @@ declare const Step: z.ZodObject<{
4159
4315
  icons?: string[] | undefined;
4160
4316
  precision?: number | undefined;
4161
4317
  } | undefined;
4318
+ generic?: {
4319
+ error: {
4320
+ icon?: string | undefined;
4321
+ showOn?: "input" | "blur" | undefined;
4322
+ };
4323
+ } | undefined;
4162
4324
  }, {
4163
4325
  map?: {
4164
4326
  options?: {
@@ -4327,11 +4489,11 @@ declare const Step: z.ZodObject<{
4327
4489
  text?: string | undefined;
4328
4490
  icon?: string | undefined;
4329
4491
  } | undefined;
4330
- default?: {
4492
+ error?: {
4331
4493
  text?: string | undefined;
4332
4494
  icon?: string | undefined;
4333
4495
  } | undefined;
4334
- error?: {
4496
+ default?: {
4335
4497
  text?: string | undefined;
4336
4498
  icon?: string | undefined;
4337
4499
  } | undefined;
@@ -4341,11 +4503,11 @@ declare const Step: z.ZodObject<{
4341
4503
  text?: string | undefined;
4342
4504
  icon?: string | undefined;
4343
4505
  } | undefined;
4344
- default?: {
4506
+ error?: {
4345
4507
  text?: string | undefined;
4346
4508
  icon?: string | undefined;
4347
4509
  } | undefined;
4348
- error?: {
4510
+ default?: {
4349
4511
  text?: string | undefined;
4350
4512
  icon?: string | undefined;
4351
4513
  } | undefined;
@@ -4398,6 +4560,12 @@ declare const Step: z.ZodObject<{
4398
4560
  icons?: string[] | undefined;
4399
4561
  precision?: number | undefined;
4400
4562
  } | undefined;
4563
+ generic?: {
4564
+ error: {
4565
+ icon?: string | undefined;
4566
+ showOn?: "input" | "blur" | undefined;
4567
+ };
4568
+ } | undefined;
4401
4569
  }>>;
4402
4570
  dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
4403
4571
  fieldName: z.ZodString;
@@ -4451,6 +4619,7 @@ declare const Step: z.ZodObject<{
4451
4619
  datetime: string;
4452
4620
  meta?: Record<string, any> | undefined;
4453
4621
  }>]>>;
4622
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
4454
4623
  }, "strip", z.ZodTypeAny, {
4455
4624
  fieldName: string;
4456
4625
  value?: string | number | boolean | {
@@ -4467,6 +4636,7 @@ declare const Step: z.ZodObject<{
4467
4636
  datetime: string;
4468
4637
  meta?: Record<string, any> | undefined;
4469
4638
  } | undefined;
4639
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
4470
4640
  }, {
4471
4641
  fieldName: string;
4472
4642
  value?: string | number | boolean | {
@@ -4483,6 +4653,7 @@ declare const Step: z.ZodObject<{
4483
4653
  datetime: string;
4484
4654
  meta?: Record<string, any> | undefined;
4485
4655
  } | undefined;
4656
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
4486
4657
  }>, "many">>;
4487
4658
  dependentBehavior: z.ZodOptional<z.ZodEnum<["hidden", "disabled"]>>;
4488
4659
  customError: z.ZodOptional<z.ZodObject<{
@@ -4559,6 +4730,24 @@ declare const Step: z.ZodObject<{
4559
4730
  disabled?: boolean | undefined;
4560
4731
  description?: string | undefined;
4561
4732
  image?: string | undefined;
4733
+ dependsOn?: {
4734
+ fieldName: string;
4735
+ value?: string | number | boolean | {
4736
+ lat: number;
4737
+ lng: number;
4738
+ meta?: Record<string, any> | undefined;
4739
+ properties?: Record<string, {
4740
+ name: string;
4741
+ value?: string | undefined;
4742
+ type?: "email" | "phone" | "url" | undefined;
4743
+ icon?: string | undefined;
4744
+ }> | undefined;
4745
+ } | {
4746
+ datetime: string;
4747
+ meta?: Record<string, any> | undefined;
4748
+ } | undefined;
4749
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
4750
+ }[] | undefined;
4562
4751
  attributes?: Record<string, any> | undefined;
4563
4752
  }[] | undefined;
4564
4753
  label?: string | undefined;
@@ -4735,11 +4924,11 @@ declare const Step: z.ZodObject<{
4735
4924
  text?: string | undefined;
4736
4925
  icon?: string | undefined;
4737
4926
  } | undefined;
4738
- default?: {
4927
+ error?: {
4739
4928
  text?: string | undefined;
4740
4929
  icon?: string | undefined;
4741
4930
  } | undefined;
4742
- error?: {
4931
+ default?: {
4743
4932
  text?: string | undefined;
4744
4933
  icon?: string | undefined;
4745
4934
  } | undefined;
@@ -4749,11 +4938,11 @@ declare const Step: z.ZodObject<{
4749
4938
  text?: string | undefined;
4750
4939
  icon?: string | undefined;
4751
4940
  } | undefined;
4752
- default?: {
4941
+ error?: {
4753
4942
  text?: string | undefined;
4754
4943
  icon?: string | undefined;
4755
4944
  } | undefined;
4756
- error?: {
4945
+ default?: {
4757
4946
  text?: string | undefined;
4758
4947
  icon?: string | undefined;
4759
4948
  } | undefined;
@@ -4806,6 +4995,12 @@ declare const Step: z.ZodObject<{
4806
4995
  icons?: string[] | undefined;
4807
4996
  precision?: number | undefined;
4808
4997
  } | undefined;
4998
+ generic?: {
4999
+ error: {
5000
+ icon?: string | undefined;
5001
+ showOn?: "input" | "blur" | undefined;
5002
+ };
5003
+ } | undefined;
4809
5004
  } | undefined;
4810
5005
  dependsOn?: {
4811
5006
  fieldName: string;
@@ -4823,6 +5018,7 @@ declare const Step: z.ZodObject<{
4823
5018
  datetime: string;
4824
5019
  meta?: Record<string, any> | undefined;
4825
5020
  } | undefined;
5021
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
4826
5022
  }[] | undefined;
4827
5023
  dependentBehavior?: "hidden" | "disabled" | undefined;
4828
5024
  customError?: {
@@ -4884,6 +5080,24 @@ declare const Step: z.ZodObject<{
4884
5080
  disabled?: boolean | undefined;
4885
5081
  description?: string | undefined;
4886
5082
  image?: string | undefined;
5083
+ dependsOn?: {
5084
+ fieldName: string;
5085
+ value?: string | number | boolean | {
5086
+ lat: number;
5087
+ lng: number;
5088
+ meta?: Record<string, any> | undefined;
5089
+ properties?: Record<string, {
5090
+ name: string;
5091
+ value?: string | undefined;
5092
+ type?: "email" | "phone" | "url" | undefined;
5093
+ icon?: string | undefined;
5094
+ }> | undefined;
5095
+ } | {
5096
+ datetime: string;
5097
+ meta?: Record<string, any> | undefined;
5098
+ } | undefined;
5099
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
5100
+ }[] | undefined;
4887
5101
  attributes?: Record<string, any> | undefined;
4888
5102
  }[] | undefined;
4889
5103
  label?: string | undefined;
@@ -5060,11 +5274,11 @@ declare const Step: z.ZodObject<{
5060
5274
  text?: string | undefined;
5061
5275
  icon?: string | undefined;
5062
5276
  } | undefined;
5063
- default?: {
5277
+ error?: {
5064
5278
  text?: string | undefined;
5065
5279
  icon?: string | undefined;
5066
5280
  } | undefined;
5067
- error?: {
5281
+ default?: {
5068
5282
  text?: string | undefined;
5069
5283
  icon?: string | undefined;
5070
5284
  } | undefined;
@@ -5074,11 +5288,11 @@ declare const Step: z.ZodObject<{
5074
5288
  text?: string | undefined;
5075
5289
  icon?: string | undefined;
5076
5290
  } | undefined;
5077
- default?: {
5291
+ error?: {
5078
5292
  text?: string | undefined;
5079
5293
  icon?: string | undefined;
5080
5294
  } | undefined;
5081
- error?: {
5295
+ default?: {
5082
5296
  text?: string | undefined;
5083
5297
  icon?: string | undefined;
5084
5298
  } | undefined;
@@ -5131,6 +5345,12 @@ declare const Step: z.ZodObject<{
5131
5345
  icons?: string[] | undefined;
5132
5346
  precision?: number | undefined;
5133
5347
  } | undefined;
5348
+ generic?: {
5349
+ error: {
5350
+ icon?: string | undefined;
5351
+ showOn?: "input" | "blur" | undefined;
5352
+ };
5353
+ } | undefined;
5134
5354
  } | undefined;
5135
5355
  dependsOn?: {
5136
5356
  fieldName: string;
@@ -5148,6 +5368,7 @@ declare const Step: z.ZodObject<{
5148
5368
  datetime: string;
5149
5369
  meta?: Record<string, any> | undefined;
5150
5370
  } | undefined;
5371
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
5151
5372
  }[] | undefined;
5152
5373
  dependentBehavior?: "hidden" | "disabled" | undefined;
5153
5374
  customError?: {
@@ -5366,6 +5587,24 @@ declare const Step: z.ZodObject<{
5366
5587
  disabled?: boolean | undefined;
5367
5588
  description?: string | undefined;
5368
5589
  image?: string | undefined;
5590
+ dependsOn?: {
5591
+ fieldName: string;
5592
+ value?: string | number | boolean | {
5593
+ lat: number;
5594
+ lng: number;
5595
+ meta?: Record<string, any> | undefined;
5596
+ properties?: Record<string, {
5597
+ name: string;
5598
+ value?: string | undefined;
5599
+ type?: "email" | "phone" | "url" | undefined;
5600
+ icon?: string | undefined;
5601
+ }> | undefined;
5602
+ } | {
5603
+ datetime: string;
5604
+ meta?: Record<string, any> | undefined;
5605
+ } | undefined;
5606
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
5607
+ }[] | undefined;
5369
5608
  attributes?: Record<string, any> | undefined;
5370
5609
  }[] | undefined;
5371
5610
  label?: string | undefined;
@@ -5542,11 +5781,11 @@ declare const Step: z.ZodObject<{
5542
5781
  text?: string | undefined;
5543
5782
  icon?: string | undefined;
5544
5783
  } | undefined;
5545
- default?: {
5784
+ error?: {
5546
5785
  text?: string | undefined;
5547
5786
  icon?: string | undefined;
5548
5787
  } | undefined;
5549
- error?: {
5788
+ default?: {
5550
5789
  text?: string | undefined;
5551
5790
  icon?: string | undefined;
5552
5791
  } | undefined;
@@ -5556,11 +5795,11 @@ declare const Step: z.ZodObject<{
5556
5795
  text?: string | undefined;
5557
5796
  icon?: string | undefined;
5558
5797
  } | undefined;
5559
- default?: {
5798
+ error?: {
5560
5799
  text?: string | undefined;
5561
5800
  icon?: string | undefined;
5562
5801
  } | undefined;
5563
- error?: {
5802
+ default?: {
5564
5803
  text?: string | undefined;
5565
5804
  icon?: string | undefined;
5566
5805
  } | undefined;
@@ -5613,6 +5852,12 @@ declare const Step: z.ZodObject<{
5613
5852
  icons?: string[] | undefined;
5614
5853
  precision?: number | undefined;
5615
5854
  } | undefined;
5855
+ generic?: {
5856
+ error: {
5857
+ icon?: string | undefined;
5858
+ showOn?: "input" | "blur" | undefined;
5859
+ };
5860
+ } | undefined;
5616
5861
  } | undefined;
5617
5862
  dependsOn?: {
5618
5863
  fieldName: string;
@@ -5630,6 +5875,7 @@ declare const Step: z.ZodObject<{
5630
5875
  datetime: string;
5631
5876
  meta?: Record<string, any> | undefined;
5632
5877
  } | undefined;
5878
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
5633
5879
  }[] | undefined;
5634
5880
  dependentBehavior?: "hidden" | "disabled" | undefined;
5635
5881
  customError?: {
@@ -5738,6 +5984,24 @@ declare const Step: z.ZodObject<{
5738
5984
  disabled?: boolean | undefined;
5739
5985
  description?: string | undefined;
5740
5986
  image?: string | undefined;
5987
+ dependsOn?: {
5988
+ fieldName: string;
5989
+ value?: string | number | boolean | {
5990
+ lat: number;
5991
+ lng: number;
5992
+ meta?: Record<string, any> | undefined;
5993
+ properties?: Record<string, {
5994
+ name: string;
5995
+ value?: string | undefined;
5996
+ type?: "email" | "phone" | "url" | undefined;
5997
+ icon?: string | undefined;
5998
+ }> | undefined;
5999
+ } | {
6000
+ datetime: string;
6001
+ meta?: Record<string, any> | undefined;
6002
+ } | undefined;
6003
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6004
+ }[] | undefined;
5741
6005
  attributes?: Record<string, any> | undefined;
5742
6006
  }[] | undefined;
5743
6007
  label?: string | undefined;
@@ -5914,11 +6178,11 @@ declare const Step: z.ZodObject<{
5914
6178
  text?: string | undefined;
5915
6179
  icon?: string | undefined;
5916
6180
  } | undefined;
5917
- default?: {
6181
+ error?: {
5918
6182
  text?: string | undefined;
5919
6183
  icon?: string | undefined;
5920
6184
  } | undefined;
5921
- error?: {
6185
+ default?: {
5922
6186
  text?: string | undefined;
5923
6187
  icon?: string | undefined;
5924
6188
  } | undefined;
@@ -5928,11 +6192,11 @@ declare const Step: z.ZodObject<{
5928
6192
  text?: string | undefined;
5929
6193
  icon?: string | undefined;
5930
6194
  } | undefined;
5931
- default?: {
6195
+ error?: {
5932
6196
  text?: string | undefined;
5933
6197
  icon?: string | undefined;
5934
6198
  } | undefined;
5935
- error?: {
6199
+ default?: {
5936
6200
  text?: string | undefined;
5937
6201
  icon?: string | undefined;
5938
6202
  } | undefined;
@@ -5985,6 +6249,12 @@ declare const Step: z.ZodObject<{
5985
6249
  icons?: string[] | undefined;
5986
6250
  precision?: number | undefined;
5987
6251
  } | undefined;
6252
+ generic?: {
6253
+ error: {
6254
+ icon?: string | undefined;
6255
+ showOn?: "input" | "blur" | undefined;
6256
+ };
6257
+ } | undefined;
5988
6258
  } | undefined;
5989
6259
  dependsOn?: {
5990
6260
  fieldName: string;
@@ -6002,6 +6272,7 @@ declare const Step: z.ZodObject<{
6002
6272
  datetime: string;
6003
6273
  meta?: Record<string, any> | undefined;
6004
6274
  } | undefined;
6275
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6005
6276
  }[] | undefined;
6006
6277
  dependentBehavior?: "hidden" | "disabled" | undefined;
6007
6278
  customError?: {
@@ -6060,10 +6331,10 @@ declare const Step: z.ZodObject<{
6060
6331
  }>;
6061
6332
  type Step = z.infer<typeof Step>;
6062
6333
  /**
6063
- * Schema defining post-actions that can be executed after a step is completed.
6334
+ * Schema defining post-actions that execute after a step is completed.
6064
6335
  *
6065
- * @property {"redirect"} type - The type of post-action to perform. Currently only "redirect" is supported.
6066
- * @property {Record<string, any>} [params] - Optional parameters for the post-action execution.
6336
+ * @property {"redirect"} type - The type of post-action to perform. Currently supports "redirect" for page navigation.
6337
+ * @property {Record<string, any>} [params] - Additional parameters for the post-action execution.
6067
6338
  */
6068
6339
  declare const PostAction: z.ZodObject<{
6069
6340
  type: z.ZodEnum<["redirect"]>;
@@ -6077,50 +6348,54 @@ declare const PostAction: z.ZodObject<{
6077
6348
  }>;
6078
6349
  type PostAction = z.infer<typeof PostAction>;
6079
6350
  /**
6080
- * Enum representing error codes for various operations in the flow client.
6351
+ * Schema defining error codes for various operations in the flow client.
6081
6352
  *
6082
- * @enum {string}
6353
+ * General errors:
6354
+ * @property {"INVALID_DATA"} INVALID_DATA - Generic error for invalid data input.
6355
+ * @property {"INVALID_ACTION"} INVALID_ACTION - Error for invalid action attempt.
6356
+ * @property {"STEP_NOT_FOUND"} STEP_NOT_FOUND - Error when a requested step cannot be found.
6357
+ * @property {"UNKNOWN_ERROR"} UNKNOWN_ERROR - Generic unknown error.
6083
6358
  *
6084
- * @property {string} INVALID_DATA - Generic error for invalid data.
6085
- * @property {string} INVALID_ACTION - Error for invalid action attempt.
6086
- * @property {string} STEP_NOT_FOUND - Error when a requested step cannot be found.
6087
- * @property {string} UNKNOWN_ERROR - Generic unknown error.
6359
+ * Appointment-related errors:
6360
+ * @property {"APPOINTMENT_INVALID_DATA"} APPOINTMENT_INVALID_DATA - Error for invalid appointment data.
6361
+ * @property {"APPOINTMENT_BUSY_SLOT"} APPOINTMENT_BUSY_SLOT - Error when attempting to book an occupied time slot.
6362
+ * @property {"APPOINTMENT_OUT_OF_DATE"} APPOINTMENT_OUT_OF_DATE - Error when appointment time is no longer valid.
6363
+ * @property {"APPOINTMENT_UNKNOWN_ERROR"} APPOINTMENT_UNKNOWN_ERROR - Unknown error related to appointments.
6088
6364
  *
6089
- * @property {string} APPOINTMENT_INVALID_DATA - Error for invalid appointment data.
6090
- * @property {string} APPOINTMENT_BUSY_SLOT - Error when attempting to book an already occupied time slot.
6091
- * @property {string} APPOINTMENT_OUT_OF_DATE - Error when appointment time is no longer valid.
6092
- * @property {string} APPOINTMENT_UNKNOWN_ERROR - Unknown error related to appointments.
6365
+ * Lead-related errors:
6366
+ * @property {"LEAD_INVALID_DATA"} LEAD_INVALID_DATA - Error for invalid lead data.
6367
+ * @property {"LEAD_UNKNOWN_ERROR"} LEAD_UNKNOWN_ERROR - Unknown error related to leads.
6093
6368
  *
6094
- * @property {string} LEAD_INVALID_DATA - Error for invalid lead data.
6095
- * @property {string} LEAD_UNKNOWN_ERROR - Unknown error related to leads.
6369
+ * Content-related errors:
6370
+ * @property {"CONTENT_INVALID_DATA"} CONTENT_INVALID_DATA - Error for invalid content data.
6371
+ * @property {"CONTENT_UNKNOWN_ERROR"} CONTENT_UNKNOWN_ERROR - Unknown error related to content.
6096
6372
  *
6097
- * @property {string} CONTENT_INVALID_DATA - Error for invalid content data.
6098
- * @property {string} CONTENT_UNKNOWN_ERROR - Unknown error related to content.
6373
+ * Contact-related errors:
6374
+ * @property {"CONTACT_INVALID_DATA"} CONTACT_INVALID_DATA - Error for invalid contact data.
6375
+ * @property {"CONTACT_UNKNOWN_ERROR"} CONTACT_UNKNOWN_ERROR - Unknown error related to contacts.
6099
6376
  *
6100
- * @property {string} CONTACT_INVALID_DATA - Error for invalid contact data.
6101
- * @property {string} CONTACT_UNKNOWN_ERROR - Unknown error related to contacts.
6102
- *
6103
- * @property {string} LOST_OPPORTUNITY_INVALID_DATA - Error for invalid lost opportunity data.
6104
- * @property {string} LOST_OPPORTUNITY_UNKNOWN_ERROR - Unknown error related to lost opportunities.
6377
+ * Lost opportunity-related errors:
6378
+ * @property {"LOST_OPPORTUNITY_INVALID_DATA"} LOST_OPPORTUNITY_INVALID_DATA - Error for invalid lost opportunity data.
6379
+ * @property {"LOST_OPPORTUNITY_UNKNOWN_ERROR"} LOST_OPPORTUNITY_UNKNOWN_ERROR - Unknown error related to lost opportunities.
6105
6380
  */
6106
6381
  declare const ErrorCode: 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"]>;
6107
6382
  type ErrorCode = z.infer<typeof ErrorCode>;
6108
6383
  /**
6109
- * Schema defining the structure of a step action in the flow client.
6384
+ * Schema defining the structure of step actions in the flow client.
6110
6385
  *
6111
- * @property {string} id - A unique identifier for the action. Must be a non-empty string.
6112
- * @property {"submit" | "navigate" | "link" | "back" | "dispatcher" | "script"} type - Determines the action's behavior:
6386
+ * @property {string} id - Unique identifier for the action. Must be a non-empty string.
6387
+ * @property {"submit" | "navigate" | "link" | "back" | "dispatcher" | "script"} type - Action behavior type:
6113
6388
  * - "submit": Submits form data to the server
6114
6389
  * - "navigate": Advances to the next step in the flow
6115
6390
  * - "link": Navigates to an external URL
6116
6391
  * - "back": Returns to the previous step
6117
6392
  * - "dispatcher": Dispatches data to external systems
6118
6393
  * - "script": Executes custom JavaScript code
6119
- * @property {string} label - The text displayed on the action button. Must be a non-empty string.
6120
- * @property {"primary" | "secondary" | "success" | "danger" | "warning" | "info"} variant - Visual style of the button.
6121
- * @property {string} [url] - Optional URL for "link" type actions. Must be a valid URL if provided.
6122
- * @property {Array<ActionScript>} [scripts] - Optional array of scripts to execute when the action is triggered.
6123
- * @property {Array<ActionEvent>} [events] - Optional array of custom events to trigger when the action is executed.
6394
+ * @property {string} label - Text displayed on the action button. Must be a non-empty string.
6395
+ * @property {"primary" | "secondary" | "success" | "danger" | "warning" | "info"} variant - Visual style variant of the button.
6396
+ * @property {string} [url] - URL for "link" type actions. Must be a valid URL when provided.
6397
+ * @property {ActionScript[]} [scripts] - Array of scripts to execute when the action is triggered.
6398
+ * @property {ActionEvent[]} [events] - Array of custom events to trigger when the action is executed.
6124
6399
  */
6125
6400
  declare const Action: z.ZodObject<{
6126
6401
  id: z.ZodString;
@@ -6194,13 +6469,13 @@ declare const Action: z.ZodObject<{
6194
6469
  }>;
6195
6470
  type Action = z.infer<typeof Action>;
6196
6471
  /**
6197
- * Schema defining a scripts that can be executed by the flow client.
6472
+ * Schema defining scripts that can be executed by the flow client.
6198
6473
  *
6199
6474
  * @property {string} src - URL of the script file to load. Must be a valid URL.
6200
6475
  * @property {boolean} [preload] - Whether to preload the script before execution.
6201
- * @property {string} name - Identifier for the script. Must be a non-empty string.
6476
+ * @property {string} name - Unique identifier for the script. Must be a non-empty string.
6202
6477
  * @property {string} function - Name of the function to call from the script. Must be a non-empty string.
6203
- * @property {Record<string, any>} [params] - Optional parameters to pass to the script function as arguments.
6478
+ * @property {Record<string, any>} [params] - Parameters to pass to the script function as arguments.
6204
6479
  */
6205
6480
  declare const ActionScript: z.ZodObject<{
6206
6481
  src: z.ZodString;
@@ -6223,10 +6498,12 @@ declare const ActionScript: z.ZodObject<{
6223
6498
  }>;
6224
6499
  type ActionScript = z.infer<typeof ActionScript>;
6225
6500
  /**
6226
- * Schema defining custom events that can be triggered by actions.
6501
+ * Schema defining custom events that can be triggered by flow actions.
6227
6502
  *
6228
- * @property {("organization_call"|"close_panel")} name - The name of the event to trigger.
6229
- * @property {Record<string, any>} [params] - Optional parameters to pass with the event.
6503
+ * @property {"organization_call" | "close_panel"} name - The name of the event to trigger:
6504
+ * - "organization_call": Triggers a call to the organization
6505
+ * - "close_panel": Closes the current panel or modal
6506
+ * @property {Record<string, any>} [params] - Additional parameters to pass with the event.
6230
6507
  */
6231
6508
  declare const ActionEvent: z.ZodObject<{
6232
6509
  name: z.ZodEnum<["organization_call", "close_panel"]>;
@@ -6254,6 +6531,10 @@ type ActionEvent = z.infer<typeof ActionEvent>;
6254
6531
  * @property {Array<{label: string, value?: FieldValue, image?: string, description?: string, disabled?: boolean, attributes?: Record<string, any>}>} [options] - Selectable options for select, radio, checkbox, and other choice-based components.
6255
6532
  * @property {boolean} [required] - Whether the field is required and must have a value.
6256
6533
  * @property {Object} [configuration] - Component-specific configuration options.
6534
+ * @property {Object} [configuration.generic] - Generic configuration for all components.
6535
+ * @property {Object} [configuration.generic.error] - Error state configuration.
6536
+ * @property {string} [configuration.generic.error.icon] - Icon to display in error state.
6537
+ * @property {"input" | "blur"} [configuration.generic.error.showOn] - When to show the error icon (on input or blur).
6257
6538
  * @property {Object} [configuration.input] - Configuration for input component.
6258
6539
  * @property {number} [configuration.input.min] - Minimum numeric value or minimum length for text.
6259
6540
  * @property {number} [configuration.input.max] - Maximum numeric value or maximum length for text.
@@ -6365,6 +6646,9 @@ type ActionEvent = z.infer<typeof ActionEvent>;
6365
6646
  * @property {GetAvailabilityFilters} configuration.calendar.api.availability.filters - Filters for availability requests.
6366
6647
  * @property {GetAvailabilityOptions} [configuration.calendar.api.availability.options] - Options for availability requests.
6367
6648
  * @property {Array<{fieldName: string, value?: FieldValue}>} [dependsOn] - Array of field dependencies that control this field's visibility/state.
6649
+ * @property {string} [dependsOn.fieldName] - Name of the field this field depends on.
6650
+ * @property {FieldValue} [dependsOn.value] - Expected value of the dependent field.
6651
+ * @property {"exists" | "equal" | "not-equal" | "contains" | "not-contains" | "greater-than" | "less-than"} [dependsOn.operator] - Operator to apply for the dependency check.
6368
6652
  * @property {"hidden" | "disabled"} [dependentBehavior] - Behavior when field dependencies are not met.
6369
6653
  * @property {Object} [customError] - Custom error messages for different validation scenarios.
6370
6654
  * @property {string} [customError.required] - Custom message when required field is empty.
@@ -6539,6 +6823,94 @@ declare const Field: z.ZodObject<{
6539
6823
  description: z.ZodOptional<z.ZodString>;
6540
6824
  disabled: z.ZodOptional<z.ZodBoolean>;
6541
6825
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6826
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
6827
+ fieldName: z.ZodString;
6828
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
6829
+ lat: z.ZodNumber;
6830
+ lng: z.ZodNumber;
6831
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6832
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6833
+ name: z.ZodString;
6834
+ value: z.ZodOptional<z.ZodString>;
6835
+ icon: z.ZodOptional<z.ZodString>;
6836
+ type: z.ZodOptional<z.ZodEnum<["url", "email", "phone"]>>;
6837
+ }, "strip", z.ZodTypeAny, {
6838
+ name: string;
6839
+ value?: string | undefined;
6840
+ type?: "email" | "phone" | "url" | undefined;
6841
+ icon?: string | undefined;
6842
+ }, {
6843
+ name: string;
6844
+ value?: string | undefined;
6845
+ type?: "email" | "phone" | "url" | undefined;
6846
+ icon?: string | undefined;
6847
+ }>>>;
6848
+ }, "strip", z.ZodTypeAny, {
6849
+ lat: number;
6850
+ lng: number;
6851
+ meta?: Record<string, any> | undefined;
6852
+ properties?: Record<string, {
6853
+ name: string;
6854
+ value?: string | undefined;
6855
+ type?: "email" | "phone" | "url" | undefined;
6856
+ icon?: string | undefined;
6857
+ }> | undefined;
6858
+ }, {
6859
+ lat: number;
6860
+ lng: number;
6861
+ meta?: Record<string, any> | undefined;
6862
+ properties?: Record<string, {
6863
+ name: string;
6864
+ value?: string | undefined;
6865
+ type?: "email" | "phone" | "url" | undefined;
6866
+ icon?: string | undefined;
6867
+ }> | undefined;
6868
+ }>, z.ZodObject<{
6869
+ datetime: z.ZodString;
6870
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6871
+ }, "strip", z.ZodTypeAny, {
6872
+ datetime: string;
6873
+ meta?: Record<string, any> | undefined;
6874
+ }, {
6875
+ datetime: string;
6876
+ meta?: Record<string, any> | undefined;
6877
+ }>]>>;
6878
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
6879
+ }, "strip", z.ZodTypeAny, {
6880
+ fieldName: string;
6881
+ value?: string | number | boolean | {
6882
+ lat: number;
6883
+ lng: number;
6884
+ meta?: Record<string, any> | undefined;
6885
+ properties?: Record<string, {
6886
+ name: string;
6887
+ value?: string | undefined;
6888
+ type?: "email" | "phone" | "url" | undefined;
6889
+ icon?: string | undefined;
6890
+ }> | undefined;
6891
+ } | {
6892
+ datetime: string;
6893
+ meta?: Record<string, any> | undefined;
6894
+ } | undefined;
6895
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6896
+ }, {
6897
+ fieldName: string;
6898
+ value?: string | number | boolean | {
6899
+ lat: number;
6900
+ lng: number;
6901
+ meta?: Record<string, any> | undefined;
6902
+ properties?: Record<string, {
6903
+ name: string;
6904
+ value?: string | undefined;
6905
+ type?: "email" | "phone" | "url" | undefined;
6906
+ icon?: string | undefined;
6907
+ }> | undefined;
6908
+ } | {
6909
+ datetime: string;
6910
+ meta?: Record<string, any> | undefined;
6911
+ } | undefined;
6912
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6913
+ }>, "many">>;
6542
6914
  }, "strip", z.ZodTypeAny, {
6543
6915
  label: string;
6544
6916
  value?: string | number | boolean | {
@@ -6558,6 +6930,24 @@ declare const Field: z.ZodObject<{
6558
6930
  disabled?: boolean | undefined;
6559
6931
  description?: string | undefined;
6560
6932
  image?: string | undefined;
6933
+ dependsOn?: {
6934
+ fieldName: string;
6935
+ value?: string | number | boolean | {
6936
+ lat: number;
6937
+ lng: number;
6938
+ meta?: Record<string, any> | undefined;
6939
+ properties?: Record<string, {
6940
+ name: string;
6941
+ value?: string | undefined;
6942
+ type?: "email" | "phone" | "url" | undefined;
6943
+ icon?: string | undefined;
6944
+ }> | undefined;
6945
+ } | {
6946
+ datetime: string;
6947
+ meta?: Record<string, any> | undefined;
6948
+ } | undefined;
6949
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6950
+ }[] | undefined;
6561
6951
  attributes?: Record<string, any> | undefined;
6562
6952
  }, {
6563
6953
  label: string;
@@ -6578,10 +6968,50 @@ declare const Field: z.ZodObject<{
6578
6968
  disabled?: boolean | undefined;
6579
6969
  description?: string | undefined;
6580
6970
  image?: string | undefined;
6971
+ dependsOn?: {
6972
+ fieldName: string;
6973
+ value?: string | number | boolean | {
6974
+ lat: number;
6975
+ lng: number;
6976
+ meta?: Record<string, any> | undefined;
6977
+ properties?: Record<string, {
6978
+ name: string;
6979
+ value?: string | undefined;
6980
+ type?: "email" | "phone" | "url" | undefined;
6981
+ icon?: string | undefined;
6982
+ }> | undefined;
6983
+ } | {
6984
+ datetime: string;
6985
+ meta?: Record<string, any> | undefined;
6986
+ } | undefined;
6987
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
6988
+ }[] | undefined;
6581
6989
  attributes?: Record<string, any> | undefined;
6582
6990
  }>, "many">>;
6583
6991
  required: z.ZodOptional<z.ZodBoolean>;
6584
6992
  configuration: z.ZodOptional<z.ZodObject<{
6993
+ generic: z.ZodOptional<z.ZodObject<{
6994
+ error: z.ZodObject<{
6995
+ icon: z.ZodOptional<z.ZodString>;
6996
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
6997
+ }, "strip", z.ZodTypeAny, {
6998
+ icon?: string | undefined;
6999
+ showOn?: "input" | "blur" | undefined;
7000
+ }, {
7001
+ icon?: string | undefined;
7002
+ showOn?: "input" | "blur" | undefined;
7003
+ }>;
7004
+ }, "strip", z.ZodTypeAny, {
7005
+ error: {
7006
+ icon?: string | undefined;
7007
+ showOn?: "input" | "blur" | undefined;
7008
+ };
7009
+ }, {
7010
+ error: {
7011
+ icon?: string | undefined;
7012
+ showOn?: "input" | "blur" | undefined;
7013
+ };
7014
+ }>>;
6585
7015
  input: z.ZodOptional<z.ZodObject<{
6586
7016
  min: z.ZodOptional<z.ZodNumber>;
6587
7017
  max: z.ZodOptional<z.ZodNumber>;
@@ -6626,11 +7056,11 @@ declare const Field: z.ZodObject<{
6626
7056
  text?: string | undefined;
6627
7057
  icon?: string | undefined;
6628
7058
  } | undefined;
6629
- default?: {
7059
+ error?: {
6630
7060
  text?: string | undefined;
6631
7061
  icon?: string | undefined;
6632
7062
  } | undefined;
6633
- error?: {
7063
+ default?: {
6634
7064
  text?: string | undefined;
6635
7065
  icon?: string | undefined;
6636
7066
  } | undefined;
@@ -6639,11 +7069,11 @@ declare const Field: z.ZodObject<{
6639
7069
  text?: string | undefined;
6640
7070
  icon?: string | undefined;
6641
7071
  } | undefined;
6642
- default?: {
7072
+ error?: {
6643
7073
  text?: string | undefined;
6644
7074
  icon?: string | undefined;
6645
7075
  } | undefined;
6646
- error?: {
7076
+ default?: {
6647
7077
  text?: string | undefined;
6648
7078
  icon?: string | undefined;
6649
7079
  } | undefined;
@@ -6684,11 +7114,11 @@ declare const Field: z.ZodObject<{
6684
7114
  text?: string | undefined;
6685
7115
  icon?: string | undefined;
6686
7116
  } | undefined;
6687
- default?: {
7117
+ error?: {
6688
7118
  text?: string | undefined;
6689
7119
  icon?: string | undefined;
6690
7120
  } | undefined;
6691
- error?: {
7121
+ default?: {
6692
7122
  text?: string | undefined;
6693
7123
  icon?: string | undefined;
6694
7124
  } | undefined;
@@ -6697,11 +7127,11 @@ declare const Field: z.ZodObject<{
6697
7127
  text?: string | undefined;
6698
7128
  icon?: string | undefined;
6699
7129
  } | undefined;
6700
- default?: {
7130
+ error?: {
6701
7131
  text?: string | undefined;
6702
7132
  icon?: string | undefined;
6703
7133
  } | undefined;
6704
- error?: {
7134
+ default?: {
6705
7135
  text?: string | undefined;
6706
7136
  icon?: string | undefined;
6707
7137
  } | undefined;
@@ -6721,11 +7151,11 @@ declare const Field: z.ZodObject<{
6721
7151
  text?: string | undefined;
6722
7152
  icon?: string | undefined;
6723
7153
  } | undefined;
6724
- default?: {
7154
+ error?: {
6725
7155
  text?: string | undefined;
6726
7156
  icon?: string | undefined;
6727
7157
  } | undefined;
6728
- error?: {
7158
+ default?: {
6729
7159
  text?: string | undefined;
6730
7160
  icon?: string | undefined;
6731
7161
  } | undefined;
@@ -6735,11 +7165,11 @@ declare const Field: z.ZodObject<{
6735
7165
  text?: string | undefined;
6736
7166
  icon?: string | undefined;
6737
7167
  } | undefined;
6738
- default?: {
7168
+ error?: {
6739
7169
  text?: string | undefined;
6740
7170
  icon?: string | undefined;
6741
7171
  } | undefined;
6742
- error?: {
7172
+ default?: {
6743
7173
  text?: string | undefined;
6744
7174
  icon?: string | undefined;
6745
7175
  } | undefined;
@@ -6759,11 +7189,11 @@ declare const Field: z.ZodObject<{
6759
7189
  text?: string | undefined;
6760
7190
  icon?: string | undefined;
6761
7191
  } | undefined;
6762
- default?: {
7192
+ error?: {
6763
7193
  text?: string | undefined;
6764
7194
  icon?: string | undefined;
6765
7195
  } | undefined;
6766
- error?: {
7196
+ default?: {
6767
7197
  text?: string | undefined;
6768
7198
  icon?: string | undefined;
6769
7199
  } | undefined;
@@ -6773,11 +7203,11 @@ declare const Field: z.ZodObject<{
6773
7203
  text?: string | undefined;
6774
7204
  icon?: string | undefined;
6775
7205
  } | undefined;
6776
- default?: {
7206
+ error?: {
6777
7207
  text?: string | undefined;
6778
7208
  icon?: string | undefined;
6779
7209
  } | undefined;
6780
- error?: {
7210
+ default?: {
6781
7211
  text?: string | undefined;
6782
7212
  icon?: string | undefined;
6783
7213
  } | undefined;
@@ -8150,11 +8580,11 @@ declare const Field: z.ZodObject<{
8150
8580
  text?: string | undefined;
8151
8581
  icon?: string | undefined;
8152
8582
  } | undefined;
8153
- default?: {
8583
+ error?: {
8154
8584
  text?: string | undefined;
8155
8585
  icon?: string | undefined;
8156
8586
  } | undefined;
8157
- error?: {
8587
+ default?: {
8158
8588
  text?: string | undefined;
8159
8589
  icon?: string | undefined;
8160
8590
  } | undefined;
@@ -8164,11 +8594,11 @@ declare const Field: z.ZodObject<{
8164
8594
  text?: string | undefined;
8165
8595
  icon?: string | undefined;
8166
8596
  } | undefined;
8167
- default?: {
8597
+ error?: {
8168
8598
  text?: string | undefined;
8169
8599
  icon?: string | undefined;
8170
8600
  } | undefined;
8171
- error?: {
8601
+ default?: {
8172
8602
  text?: string | undefined;
8173
8603
  icon?: string | undefined;
8174
8604
  } | undefined;
@@ -8221,6 +8651,12 @@ declare const Field: z.ZodObject<{
8221
8651
  icons?: string[] | undefined;
8222
8652
  precision?: number | undefined;
8223
8653
  } | undefined;
8654
+ generic?: {
8655
+ error: {
8656
+ icon?: string | undefined;
8657
+ showOn?: "input" | "blur" | undefined;
8658
+ };
8659
+ } | undefined;
8224
8660
  }, {
8225
8661
  map?: {
8226
8662
  options?: {
@@ -8389,11 +8825,11 @@ declare const Field: z.ZodObject<{
8389
8825
  text?: string | undefined;
8390
8826
  icon?: string | undefined;
8391
8827
  } | undefined;
8392
- default?: {
8828
+ error?: {
8393
8829
  text?: string | undefined;
8394
8830
  icon?: string | undefined;
8395
8831
  } | undefined;
8396
- error?: {
8832
+ default?: {
8397
8833
  text?: string | undefined;
8398
8834
  icon?: string | undefined;
8399
8835
  } | undefined;
@@ -8403,11 +8839,11 @@ declare const Field: z.ZodObject<{
8403
8839
  text?: string | undefined;
8404
8840
  icon?: string | undefined;
8405
8841
  } | undefined;
8406
- default?: {
8842
+ error?: {
8407
8843
  text?: string | undefined;
8408
8844
  icon?: string | undefined;
8409
8845
  } | undefined;
8410
- error?: {
8846
+ default?: {
8411
8847
  text?: string | undefined;
8412
8848
  icon?: string | undefined;
8413
8849
  } | undefined;
@@ -8460,6 +8896,12 @@ declare const Field: z.ZodObject<{
8460
8896
  icons?: string[] | undefined;
8461
8897
  precision?: number | undefined;
8462
8898
  } | undefined;
8899
+ generic?: {
8900
+ error: {
8901
+ icon?: string | undefined;
8902
+ showOn?: "input" | "blur" | undefined;
8903
+ };
8904
+ } | undefined;
8463
8905
  }>>;
8464
8906
  dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
8465
8907
  fieldName: z.ZodString;
@@ -8513,6 +8955,7 @@ declare const Field: z.ZodObject<{
8513
8955
  datetime: string;
8514
8956
  meta?: Record<string, any> | undefined;
8515
8957
  }>]>>;
8958
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
8516
8959
  }, "strip", z.ZodTypeAny, {
8517
8960
  fieldName: string;
8518
8961
  value?: string | number | boolean | {
@@ -8529,6 +8972,7 @@ declare const Field: z.ZodObject<{
8529
8972
  datetime: string;
8530
8973
  meta?: Record<string, any> | undefined;
8531
8974
  } | undefined;
8975
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
8532
8976
  }, {
8533
8977
  fieldName: string;
8534
8978
  value?: string | number | boolean | {
@@ -8545,6 +8989,7 @@ declare const Field: z.ZodObject<{
8545
8989
  datetime: string;
8546
8990
  meta?: Record<string, any> | undefined;
8547
8991
  } | undefined;
8992
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
8548
8993
  }>, "many">>;
8549
8994
  dependentBehavior: z.ZodOptional<z.ZodEnum<["hidden", "disabled"]>>;
8550
8995
  customError: z.ZodOptional<z.ZodObject<{
@@ -8621,6 +9066,24 @@ declare const Field: z.ZodObject<{
8621
9066
  disabled?: boolean | undefined;
8622
9067
  description?: string | undefined;
8623
9068
  image?: string | undefined;
9069
+ dependsOn?: {
9070
+ fieldName: string;
9071
+ value?: string | number | boolean | {
9072
+ lat: number;
9073
+ lng: number;
9074
+ meta?: Record<string, any> | undefined;
9075
+ properties?: Record<string, {
9076
+ name: string;
9077
+ value?: string | undefined;
9078
+ type?: "email" | "phone" | "url" | undefined;
9079
+ icon?: string | undefined;
9080
+ }> | undefined;
9081
+ } | {
9082
+ datetime: string;
9083
+ meta?: Record<string, any> | undefined;
9084
+ } | undefined;
9085
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
9086
+ }[] | undefined;
8624
9087
  attributes?: Record<string, any> | undefined;
8625
9088
  }[] | undefined;
8626
9089
  label?: string | undefined;
@@ -8797,11 +9260,11 @@ declare const Field: z.ZodObject<{
8797
9260
  text?: string | undefined;
8798
9261
  icon?: string | undefined;
8799
9262
  } | undefined;
8800
- default?: {
9263
+ error?: {
8801
9264
  text?: string | undefined;
8802
9265
  icon?: string | undefined;
8803
9266
  } | undefined;
8804
- error?: {
9267
+ default?: {
8805
9268
  text?: string | undefined;
8806
9269
  icon?: string | undefined;
8807
9270
  } | undefined;
@@ -8811,11 +9274,11 @@ declare const Field: z.ZodObject<{
8811
9274
  text?: string | undefined;
8812
9275
  icon?: string | undefined;
8813
9276
  } | undefined;
8814
- default?: {
9277
+ error?: {
8815
9278
  text?: string | undefined;
8816
9279
  icon?: string | undefined;
8817
9280
  } | undefined;
8818
- error?: {
9281
+ default?: {
8819
9282
  text?: string | undefined;
8820
9283
  icon?: string | undefined;
8821
9284
  } | undefined;
@@ -8868,6 +9331,12 @@ declare const Field: z.ZodObject<{
8868
9331
  icons?: string[] | undefined;
8869
9332
  precision?: number | undefined;
8870
9333
  } | undefined;
9334
+ generic?: {
9335
+ error: {
9336
+ icon?: string | undefined;
9337
+ showOn?: "input" | "blur" | undefined;
9338
+ };
9339
+ } | undefined;
8871
9340
  } | undefined;
8872
9341
  dependsOn?: {
8873
9342
  fieldName: string;
@@ -8885,6 +9354,7 @@ declare const Field: z.ZodObject<{
8885
9354
  datetime: string;
8886
9355
  meta?: Record<string, any> | undefined;
8887
9356
  } | undefined;
9357
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
8888
9358
  }[] | undefined;
8889
9359
  dependentBehavior?: "hidden" | "disabled" | undefined;
8890
9360
  customError?: {
@@ -8946,6 +9416,24 @@ declare const Field: z.ZodObject<{
8946
9416
  disabled?: boolean | undefined;
8947
9417
  description?: string | undefined;
8948
9418
  image?: string | undefined;
9419
+ dependsOn?: {
9420
+ fieldName: string;
9421
+ value?: string | number | boolean | {
9422
+ lat: number;
9423
+ lng: number;
9424
+ meta?: Record<string, any> | undefined;
9425
+ properties?: Record<string, {
9426
+ name: string;
9427
+ value?: string | undefined;
9428
+ type?: "email" | "phone" | "url" | undefined;
9429
+ icon?: string | undefined;
9430
+ }> | undefined;
9431
+ } | {
9432
+ datetime: string;
9433
+ meta?: Record<string, any> | undefined;
9434
+ } | undefined;
9435
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
9436
+ }[] | undefined;
8949
9437
  attributes?: Record<string, any> | undefined;
8950
9438
  }[] | undefined;
8951
9439
  label?: string | undefined;
@@ -9122,11 +9610,11 @@ declare const Field: z.ZodObject<{
9122
9610
  text?: string | undefined;
9123
9611
  icon?: string | undefined;
9124
9612
  } | undefined;
9125
- default?: {
9613
+ error?: {
9126
9614
  text?: string | undefined;
9127
9615
  icon?: string | undefined;
9128
9616
  } | undefined;
9129
- error?: {
9617
+ default?: {
9130
9618
  text?: string | undefined;
9131
9619
  icon?: string | undefined;
9132
9620
  } | undefined;
@@ -9136,11 +9624,11 @@ declare const Field: z.ZodObject<{
9136
9624
  text?: string | undefined;
9137
9625
  icon?: string | undefined;
9138
9626
  } | undefined;
9139
- default?: {
9627
+ error?: {
9140
9628
  text?: string | undefined;
9141
9629
  icon?: string | undefined;
9142
9630
  } | undefined;
9143
- error?: {
9631
+ default?: {
9144
9632
  text?: string | undefined;
9145
9633
  icon?: string | undefined;
9146
9634
  } | undefined;
@@ -9193,6 +9681,12 @@ declare const Field: z.ZodObject<{
9193
9681
  icons?: string[] | undefined;
9194
9682
  precision?: number | undefined;
9195
9683
  } | undefined;
9684
+ generic?: {
9685
+ error: {
9686
+ icon?: string | undefined;
9687
+ showOn?: "input" | "blur" | undefined;
9688
+ };
9689
+ } | undefined;
9196
9690
  } | undefined;
9197
9691
  dependsOn?: {
9198
9692
  fieldName: string;
@@ -9210,6 +9704,7 @@ declare const Field: z.ZodObject<{
9210
9704
  datetime: string;
9211
9705
  meta?: Record<string, any> | undefined;
9212
9706
  } | undefined;
9707
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
9213
9708
  }[] | undefined;
9214
9709
  dependentBehavior?: "hidden" | "disabled" | undefined;
9215
9710
  customError?: {
@@ -9225,14 +9720,14 @@ declare const Field: z.ZodObject<{
9225
9720
  }>;
9226
9721
  type Field = z.infer<typeof Field>;
9227
9722
  /**
9228
- * Schema for validating field values that can be one of several primitive or complex types.
9723
+ * Schema defining valid field values that can be assigned to form fields.
9229
9724
  *
9230
- * Supports the following value types:
9725
+ * Supports multiple data types:
9231
9726
  * - string: Text values
9232
9727
  * - number: Numeric values
9233
9728
  * - boolean: True/false values
9234
- * - Location: Geographic location objects
9235
- * - Availability: Time slot availability objects
9729
+ * - Location: Geographic location objects with coordinates
9730
+ * - Availability: Time slot availability objects for calendar booking
9236
9731
  */
9237
9732
  declare const FieldValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
9238
9733
  lat: z.ZodNumber;
@@ -9286,21 +9781,21 @@ declare const FieldValue: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.
9286
9781
  }>]>;
9287
9782
  type FieldValue = z.infer<typeof FieldValue>;
9288
9783
  /**
9289
- * Schema for defining map pin styling and appearance.
9784
+ * Schema defining map pin styling and visual appearance.
9290
9785
  *
9291
- * @property {Object} [content] - Content configuration for the map pin
9292
- * @property {string} [content.icon] - Icon name to display in the pin
9293
- * @property {string} [content.url] - URL for a custom icon image
9294
- * @property {string} [content.width] - Width of the pin content
9295
- * @property {string} [content.height] - Height of the pin content
9296
- * @property {number} [content.scale] - Scale factor for the pin content
9297
- * @property {string} [background] - Background color of the map pin
9298
- * @property {Object} [glyph] - Glyph configuration for the map pin
9299
- * @property {string} [glyph.color] - Color of the glyph icon
9300
- * @property {string} [glyph.url] - URL for a custom glyph image
9301
- * @property {string} [glyph.icon] - Icon name for the glyph
9302
- * @property {string} [borderColor] - Border color of the map pin
9303
- * @property {number} [scale] - Overall scale factor for the map pin
9786
+ * @property {Object} [content] - Content configuration for the map pin display.
9787
+ * @property {string} [content.icon] - Icon name to display within the pin.
9788
+ * @property {string} [content.url] - URL for a custom icon image.
9789
+ * @property {string} [content.width] - Width dimension of the pin content.
9790
+ * @property {string} [content.height] - Height dimension of the pin content.
9791
+ * @property {number} [content.scale] - Scale factor for resizing the pin content.
9792
+ * @property {string} [background] - Background color of the map pin.
9793
+ * @property {Object} [glyph] - Glyph configuration for the map pin icon.
9794
+ * @property {string} [glyph.color] - Color of the glyph icon.
9795
+ * @property {string} [glyph.url] - URL for a custom glyph image.
9796
+ * @property {string} [glyph.icon] - Icon name for the glyph.
9797
+ * @property {string} [borderColor] - Border color of the map pin.
9798
+ * @property {number} [scale] - Overall scale factor for the entire map pin.
9304
9799
  */
9305
9800
  declare const MapPin: z.ZodObject<{
9306
9801
  content: z.ZodOptional<z.ZodObject<{
@@ -9373,10 +9868,10 @@ declare const MapPin: z.ZodObject<{
9373
9868
  }>;
9374
9869
  type MapPin = z.infer<typeof MapPin>;
9375
9870
  /**
9376
- * Schema for defining prefix and suffix elements for input fields.
9871
+ * Schema defining prefix and suffix elements for input field decoration.
9377
9872
  *
9378
- * @property {string} [text] - Text content to display
9379
- * @property {string} [icon] - Icon name to display
9873
+ * @property {string} [text] - Text content to display as prefix or suffix.
9874
+ * @property {string} [icon] - Icon name to display as prefix or suffix.
9380
9875
  */
9381
9876
  declare const AffixSlot: z.ZodObject<{
9382
9877
  text: z.ZodOptional<z.ZodString>;
@@ -9392,10 +9887,10 @@ type AffixSlot = z.infer<typeof AffixSlot>;
9392
9887
  /**
9393
9888
  * Schema defining properties that can be associated with a location.
9394
9889
  *
9395
- * @property {string} name - The name of the property
9396
- * @property {string} [value] - Optional value of the property
9397
- * @property {string} [icon] - Optional icon name to display with the property
9398
- * @property {"url" | "email" | "phone"} [type] - Optional type indicating how the property should be handled
9890
+ * @property {string} name - The name or identifier of the property.
9891
+ * @property {string} [value] - The value associated with the property.
9892
+ * @property {string} [icon] - Icon name to display with the property.
9893
+ * @property {"url" | "email" | "phone"} [type] - Type indicating how the property should be handled or displayed.
9399
9894
  */
9400
9895
  declare const LocationProperty: z.ZodObject<{
9401
9896
  name: z.ZodString;
@@ -9415,12 +9910,12 @@ declare const LocationProperty: z.ZodObject<{
9415
9910
  }>;
9416
9911
  type LocationProperty = z.infer<typeof LocationProperty>;
9417
9912
  /**
9418
- * Schema for validating location data with geographic coordinates.
9913
+ * Schema defining location data with geographic coordinates and metadata.
9419
9914
  *
9420
- * @property {number} lat - Latitude coordinate ranging from -90 to 90 degrees
9421
- * @property {number} lng - Longitude coordinate ranging from -180 to 180 degrees
9422
- * @property {Record<string, any>} [meta] - Optional metadata as key-value pairs
9423
- * @property {Record<string, LocationProperty>} [properties] - Optional properties associated with the location
9915
+ * @property {number} lat - Latitude coordinate ranging from -90 to 90 degrees.
9916
+ * @property {number} lng - Longitude coordinate ranging from -180 to 180 degrees.
9917
+ * @property {Record<string, any>} [meta] - Additional metadata associated with the location.
9918
+ * @property {Record<string, LocationProperty>} [properties] - Named properties associated with the location.
9424
9919
  */
9425
9920
  declare const Location: z.ZodObject<{
9426
9921
  lat: z.ZodNumber;
@@ -9465,10 +9960,10 @@ declare const Location: z.ZodObject<{
9465
9960
  }>;
9466
9961
  type Location = z.infer<typeof Location>;
9467
9962
  /**
9468
- * Schema for validating availability time slots.
9963
+ * Schema defining availability time slots for calendar booking.
9469
9964
  *
9470
- * @property {string} datetime - ISO 8601 formatted date and time string
9471
- * @property {Record<string, any>} [meta] - Optional metadata associated with the availability slot
9965
+ * @property {string} datetime - ISO 8601 formatted date and time string indicating when the slot is available.
9966
+ * @property {Record<string, any>} [meta] - Additional metadata associated with the availability slot.
9472
9967
  */
9473
9968
  declare const Availability: z.ZodObject<{
9474
9969
  datetime: z.ZodString;
@@ -9482,11 +9977,11 @@ declare const Availability: z.ZodObject<{
9482
9977
  }>;
9483
9978
  type Availability = z.infer<typeof Availability>;
9484
9979
  /**
9485
- * Schema for the Flow Context.
9980
+ * Schema defining the flow context containing current state and metadata.
9486
9981
  *
9487
- * @property {"ok" | "error"} status - An enumeration that indicates the status of the flow context.
9488
- * @property {Step} step - An object that adheres to the `Step`.
9489
- * @property {Flow} flow - An object that adheres to the `Flow`.
9982
+ * @property {"ok" | "error"} status - Current status of the flow context indicating success or failure.
9983
+ * @property {Step} step - The current step object in the flow.
9984
+ * @property {Flow} flow - The flow configuration and metadata.
9490
9985
  */
9491
9986
  declare const FlowContext: z.ZodObject<{
9492
9987
  status: z.ZodEnum<["ok", "error"]>;
@@ -9660,6 +10155,94 @@ declare const FlowContext: z.ZodObject<{
9660
10155
  description: z.ZodOptional<z.ZodString>;
9661
10156
  disabled: z.ZodOptional<z.ZodBoolean>;
9662
10157
  attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10158
+ dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
10159
+ fieldName: z.ZodString;
10160
+ value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodObject<{
10161
+ lat: z.ZodNumber;
10162
+ lng: z.ZodNumber;
10163
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10164
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
10165
+ name: z.ZodString;
10166
+ value: z.ZodOptional<z.ZodString>;
10167
+ icon: z.ZodOptional<z.ZodString>;
10168
+ type: z.ZodOptional<z.ZodEnum<["url", "email", "phone"]>>;
10169
+ }, "strip", z.ZodTypeAny, {
10170
+ name: string;
10171
+ value?: string | undefined;
10172
+ type?: "email" | "phone" | "url" | undefined;
10173
+ icon?: string | undefined;
10174
+ }, {
10175
+ name: string;
10176
+ value?: string | undefined;
10177
+ type?: "email" | "phone" | "url" | undefined;
10178
+ icon?: string | undefined;
10179
+ }>>>;
10180
+ }, "strip", z.ZodTypeAny, {
10181
+ lat: number;
10182
+ lng: number;
10183
+ meta?: Record<string, any> | undefined;
10184
+ properties?: Record<string, {
10185
+ name: string;
10186
+ value?: string | undefined;
10187
+ type?: "email" | "phone" | "url" | undefined;
10188
+ icon?: string | undefined;
10189
+ }> | undefined;
10190
+ }, {
10191
+ lat: number;
10192
+ lng: number;
10193
+ meta?: Record<string, any> | undefined;
10194
+ properties?: Record<string, {
10195
+ name: string;
10196
+ value?: string | undefined;
10197
+ type?: "email" | "phone" | "url" | undefined;
10198
+ icon?: string | undefined;
10199
+ }> | undefined;
10200
+ }>, z.ZodObject<{
10201
+ datetime: z.ZodString;
10202
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
10203
+ }, "strip", z.ZodTypeAny, {
10204
+ datetime: string;
10205
+ meta?: Record<string, any> | undefined;
10206
+ }, {
10207
+ datetime: string;
10208
+ meta?: Record<string, any> | undefined;
10209
+ }>]>>;
10210
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
10211
+ }, "strip", z.ZodTypeAny, {
10212
+ fieldName: string;
10213
+ value?: string | number | boolean | {
10214
+ lat: number;
10215
+ lng: number;
10216
+ meta?: Record<string, any> | undefined;
10217
+ properties?: Record<string, {
10218
+ name: string;
10219
+ value?: string | undefined;
10220
+ type?: "email" | "phone" | "url" | undefined;
10221
+ icon?: string | undefined;
10222
+ }> | undefined;
10223
+ } | {
10224
+ datetime: string;
10225
+ meta?: Record<string, any> | undefined;
10226
+ } | undefined;
10227
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
10228
+ }, {
10229
+ fieldName: string;
10230
+ value?: string | number | boolean | {
10231
+ lat: number;
10232
+ lng: number;
10233
+ meta?: Record<string, any> | undefined;
10234
+ properties?: Record<string, {
10235
+ name: string;
10236
+ value?: string | undefined;
10237
+ type?: "email" | "phone" | "url" | undefined;
10238
+ icon?: string | undefined;
10239
+ }> | undefined;
10240
+ } | {
10241
+ datetime: string;
10242
+ meta?: Record<string, any> | undefined;
10243
+ } | undefined;
10244
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
10245
+ }>, "many">>;
9663
10246
  }, "strip", z.ZodTypeAny, {
9664
10247
  label: string;
9665
10248
  value?: string | number | boolean | {
@@ -9679,6 +10262,24 @@ declare const FlowContext: z.ZodObject<{
9679
10262
  disabled?: boolean | undefined;
9680
10263
  description?: string | undefined;
9681
10264
  image?: string | undefined;
10265
+ dependsOn?: {
10266
+ fieldName: string;
10267
+ value?: string | number | boolean | {
10268
+ lat: number;
10269
+ lng: number;
10270
+ meta?: Record<string, any> | undefined;
10271
+ properties?: Record<string, {
10272
+ name: string;
10273
+ value?: string | undefined;
10274
+ type?: "email" | "phone" | "url" | undefined;
10275
+ icon?: string | undefined;
10276
+ }> | undefined;
10277
+ } | {
10278
+ datetime: string;
10279
+ meta?: Record<string, any> | undefined;
10280
+ } | undefined;
10281
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
10282
+ }[] | undefined;
9682
10283
  attributes?: Record<string, any> | undefined;
9683
10284
  }, {
9684
10285
  label: string;
@@ -9699,10 +10300,50 @@ declare const FlowContext: z.ZodObject<{
9699
10300
  disabled?: boolean | undefined;
9700
10301
  description?: string | undefined;
9701
10302
  image?: string | undefined;
10303
+ dependsOn?: {
10304
+ fieldName: string;
10305
+ value?: string | number | boolean | {
10306
+ lat: number;
10307
+ lng: number;
10308
+ meta?: Record<string, any> | undefined;
10309
+ properties?: Record<string, {
10310
+ name: string;
10311
+ value?: string | undefined;
10312
+ type?: "email" | "phone" | "url" | undefined;
10313
+ icon?: string | undefined;
10314
+ }> | undefined;
10315
+ } | {
10316
+ datetime: string;
10317
+ meta?: Record<string, any> | undefined;
10318
+ } | undefined;
10319
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
10320
+ }[] | undefined;
9702
10321
  attributes?: Record<string, any> | undefined;
9703
10322
  }>, "many">>;
9704
10323
  required: z.ZodOptional<z.ZodBoolean>;
9705
10324
  configuration: z.ZodOptional<z.ZodObject<{
10325
+ generic: z.ZodOptional<z.ZodObject<{
10326
+ error: z.ZodObject<{
10327
+ icon: z.ZodOptional<z.ZodString>;
10328
+ showOn: z.ZodOptional<z.ZodEnum<["input", "blur"]>>;
10329
+ }, "strip", z.ZodTypeAny, {
10330
+ icon?: string | undefined;
10331
+ showOn?: "input" | "blur" | undefined;
10332
+ }, {
10333
+ icon?: string | undefined;
10334
+ showOn?: "input" | "blur" | undefined;
10335
+ }>;
10336
+ }, "strip", z.ZodTypeAny, {
10337
+ error: {
10338
+ icon?: string | undefined;
10339
+ showOn?: "input" | "blur" | undefined;
10340
+ };
10341
+ }, {
10342
+ error: {
10343
+ icon?: string | undefined;
10344
+ showOn?: "input" | "blur" | undefined;
10345
+ };
10346
+ }>>;
9706
10347
  input: z.ZodOptional<z.ZodObject<{
9707
10348
  min: z.ZodOptional<z.ZodNumber>;
9708
10349
  max: z.ZodOptional<z.ZodNumber>;
@@ -9747,11 +10388,11 @@ declare const FlowContext: z.ZodObject<{
9747
10388
  text?: string | undefined;
9748
10389
  icon?: string | undefined;
9749
10390
  } | undefined;
9750
- default?: {
10391
+ error?: {
9751
10392
  text?: string | undefined;
9752
10393
  icon?: string | undefined;
9753
10394
  } | undefined;
9754
- error?: {
10395
+ default?: {
9755
10396
  text?: string | undefined;
9756
10397
  icon?: string | undefined;
9757
10398
  } | undefined;
@@ -9760,11 +10401,11 @@ declare const FlowContext: z.ZodObject<{
9760
10401
  text?: string | undefined;
9761
10402
  icon?: string | undefined;
9762
10403
  } | undefined;
9763
- default?: {
10404
+ error?: {
9764
10405
  text?: string | undefined;
9765
10406
  icon?: string | undefined;
9766
10407
  } | undefined;
9767
- error?: {
10408
+ default?: {
9768
10409
  text?: string | undefined;
9769
10410
  icon?: string | undefined;
9770
10411
  } | undefined;
@@ -9805,11 +10446,11 @@ declare const FlowContext: z.ZodObject<{
9805
10446
  text?: string | undefined;
9806
10447
  icon?: string | undefined;
9807
10448
  } | undefined;
9808
- default?: {
10449
+ error?: {
9809
10450
  text?: string | undefined;
9810
10451
  icon?: string | undefined;
9811
10452
  } | undefined;
9812
- error?: {
10453
+ default?: {
9813
10454
  text?: string | undefined;
9814
10455
  icon?: string | undefined;
9815
10456
  } | undefined;
@@ -9818,11 +10459,11 @@ declare const FlowContext: z.ZodObject<{
9818
10459
  text?: string | undefined;
9819
10460
  icon?: string | undefined;
9820
10461
  } | undefined;
9821
- default?: {
10462
+ error?: {
9822
10463
  text?: string | undefined;
9823
10464
  icon?: string | undefined;
9824
10465
  } | undefined;
9825
- error?: {
10466
+ default?: {
9826
10467
  text?: string | undefined;
9827
10468
  icon?: string | undefined;
9828
10469
  } | undefined;
@@ -9842,11 +10483,11 @@ declare const FlowContext: z.ZodObject<{
9842
10483
  text?: string | undefined;
9843
10484
  icon?: string | undefined;
9844
10485
  } | undefined;
9845
- default?: {
10486
+ error?: {
9846
10487
  text?: string | undefined;
9847
10488
  icon?: string | undefined;
9848
10489
  } | undefined;
9849
- error?: {
10490
+ default?: {
9850
10491
  text?: string | undefined;
9851
10492
  icon?: string | undefined;
9852
10493
  } | undefined;
@@ -9856,11 +10497,11 @@ declare const FlowContext: z.ZodObject<{
9856
10497
  text?: string | undefined;
9857
10498
  icon?: string | undefined;
9858
10499
  } | undefined;
9859
- default?: {
10500
+ error?: {
9860
10501
  text?: string | undefined;
9861
10502
  icon?: string | undefined;
9862
10503
  } | undefined;
9863
- error?: {
10504
+ default?: {
9864
10505
  text?: string | undefined;
9865
10506
  icon?: string | undefined;
9866
10507
  } | undefined;
@@ -9880,11 +10521,11 @@ declare const FlowContext: z.ZodObject<{
9880
10521
  text?: string | undefined;
9881
10522
  icon?: string | undefined;
9882
10523
  } | undefined;
9883
- default?: {
10524
+ error?: {
9884
10525
  text?: string | undefined;
9885
10526
  icon?: string | undefined;
9886
10527
  } | undefined;
9887
- error?: {
10528
+ default?: {
9888
10529
  text?: string | undefined;
9889
10530
  icon?: string | undefined;
9890
10531
  } | undefined;
@@ -9894,11 +10535,11 @@ declare const FlowContext: z.ZodObject<{
9894
10535
  text?: string | undefined;
9895
10536
  icon?: string | undefined;
9896
10537
  } | undefined;
9897
- default?: {
10538
+ error?: {
9898
10539
  text?: string | undefined;
9899
10540
  icon?: string | undefined;
9900
10541
  } | undefined;
9901
- error?: {
10542
+ default?: {
9902
10543
  text?: string | undefined;
9903
10544
  icon?: string | undefined;
9904
10545
  } | undefined;
@@ -11271,11 +11912,11 @@ declare const FlowContext: z.ZodObject<{
11271
11912
  text?: string | undefined;
11272
11913
  icon?: string | undefined;
11273
11914
  } | undefined;
11274
- default?: {
11915
+ error?: {
11275
11916
  text?: string | undefined;
11276
11917
  icon?: string | undefined;
11277
11918
  } | undefined;
11278
- error?: {
11919
+ default?: {
11279
11920
  text?: string | undefined;
11280
11921
  icon?: string | undefined;
11281
11922
  } | undefined;
@@ -11285,11 +11926,11 @@ declare const FlowContext: z.ZodObject<{
11285
11926
  text?: string | undefined;
11286
11927
  icon?: string | undefined;
11287
11928
  } | undefined;
11288
- default?: {
11929
+ error?: {
11289
11930
  text?: string | undefined;
11290
11931
  icon?: string | undefined;
11291
11932
  } | undefined;
11292
- error?: {
11933
+ default?: {
11293
11934
  text?: string | undefined;
11294
11935
  icon?: string | undefined;
11295
11936
  } | undefined;
@@ -11342,6 +11983,12 @@ declare const FlowContext: z.ZodObject<{
11342
11983
  icons?: string[] | undefined;
11343
11984
  precision?: number | undefined;
11344
11985
  } | undefined;
11986
+ generic?: {
11987
+ error: {
11988
+ icon?: string | undefined;
11989
+ showOn?: "input" | "blur" | undefined;
11990
+ };
11991
+ } | undefined;
11345
11992
  }, {
11346
11993
  map?: {
11347
11994
  options?: {
@@ -11510,11 +12157,11 @@ declare const FlowContext: z.ZodObject<{
11510
12157
  text?: string | undefined;
11511
12158
  icon?: string | undefined;
11512
12159
  } | undefined;
11513
- default?: {
12160
+ error?: {
11514
12161
  text?: string | undefined;
11515
12162
  icon?: string | undefined;
11516
12163
  } | undefined;
11517
- error?: {
12164
+ default?: {
11518
12165
  text?: string | undefined;
11519
12166
  icon?: string | undefined;
11520
12167
  } | undefined;
@@ -11524,11 +12171,11 @@ declare const FlowContext: z.ZodObject<{
11524
12171
  text?: string | undefined;
11525
12172
  icon?: string | undefined;
11526
12173
  } | undefined;
11527
- default?: {
12174
+ error?: {
11528
12175
  text?: string | undefined;
11529
12176
  icon?: string | undefined;
11530
12177
  } | undefined;
11531
- error?: {
12178
+ default?: {
11532
12179
  text?: string | undefined;
11533
12180
  icon?: string | undefined;
11534
12181
  } | undefined;
@@ -11581,6 +12228,12 @@ declare const FlowContext: z.ZodObject<{
11581
12228
  icons?: string[] | undefined;
11582
12229
  precision?: number | undefined;
11583
12230
  } | undefined;
12231
+ generic?: {
12232
+ error: {
12233
+ icon?: string | undefined;
12234
+ showOn?: "input" | "blur" | undefined;
12235
+ };
12236
+ } | undefined;
11584
12237
  }>>;
11585
12238
  dependsOn: z.ZodOptional<z.ZodArray<z.ZodObject<{
11586
12239
  fieldName: z.ZodString;
@@ -11634,6 +12287,7 @@ declare const FlowContext: z.ZodObject<{
11634
12287
  datetime: string;
11635
12288
  meta?: Record<string, any> | undefined;
11636
12289
  }>]>>;
12290
+ operator: z.ZodOptional<z.ZodEnum<["exists", "equal", "not-equal", "contains", "not-contains", "greater-than", "less-than"]>>;
11637
12291
  }, "strip", z.ZodTypeAny, {
11638
12292
  fieldName: string;
11639
12293
  value?: string | number | boolean | {
@@ -11650,6 +12304,7 @@ declare const FlowContext: z.ZodObject<{
11650
12304
  datetime: string;
11651
12305
  meta?: Record<string, any> | undefined;
11652
12306
  } | undefined;
12307
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
11653
12308
  }, {
11654
12309
  fieldName: string;
11655
12310
  value?: string | number | boolean | {
@@ -11666,6 +12321,7 @@ declare const FlowContext: z.ZodObject<{
11666
12321
  datetime: string;
11667
12322
  meta?: Record<string, any> | undefined;
11668
12323
  } | undefined;
12324
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
11669
12325
  }>, "many">>;
11670
12326
  dependentBehavior: z.ZodOptional<z.ZodEnum<["hidden", "disabled"]>>;
11671
12327
  customError: z.ZodOptional<z.ZodObject<{
@@ -11742,6 +12398,24 @@ declare const FlowContext: z.ZodObject<{
11742
12398
  disabled?: boolean | undefined;
11743
12399
  description?: string | undefined;
11744
12400
  image?: string | undefined;
12401
+ dependsOn?: {
12402
+ fieldName: string;
12403
+ value?: string | number | boolean | {
12404
+ lat: number;
12405
+ lng: number;
12406
+ meta?: Record<string, any> | undefined;
12407
+ properties?: Record<string, {
12408
+ name: string;
12409
+ value?: string | undefined;
12410
+ type?: "email" | "phone" | "url" | undefined;
12411
+ icon?: string | undefined;
12412
+ }> | undefined;
12413
+ } | {
12414
+ datetime: string;
12415
+ meta?: Record<string, any> | undefined;
12416
+ } | undefined;
12417
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
12418
+ }[] | undefined;
11745
12419
  attributes?: Record<string, any> | undefined;
11746
12420
  }[] | undefined;
11747
12421
  label?: string | undefined;
@@ -11918,11 +12592,11 @@ declare const FlowContext: z.ZodObject<{
11918
12592
  text?: string | undefined;
11919
12593
  icon?: string | undefined;
11920
12594
  } | undefined;
11921
- default?: {
12595
+ error?: {
11922
12596
  text?: string | undefined;
11923
12597
  icon?: string | undefined;
11924
12598
  } | undefined;
11925
- error?: {
12599
+ default?: {
11926
12600
  text?: string | undefined;
11927
12601
  icon?: string | undefined;
11928
12602
  } | undefined;
@@ -11932,11 +12606,11 @@ declare const FlowContext: z.ZodObject<{
11932
12606
  text?: string | undefined;
11933
12607
  icon?: string | undefined;
11934
12608
  } | undefined;
11935
- default?: {
12609
+ error?: {
11936
12610
  text?: string | undefined;
11937
12611
  icon?: string | undefined;
11938
12612
  } | undefined;
11939
- error?: {
12613
+ default?: {
11940
12614
  text?: string | undefined;
11941
12615
  icon?: string | undefined;
11942
12616
  } | undefined;
@@ -11989,6 +12663,12 @@ declare const FlowContext: z.ZodObject<{
11989
12663
  icons?: string[] | undefined;
11990
12664
  precision?: number | undefined;
11991
12665
  } | undefined;
12666
+ generic?: {
12667
+ error: {
12668
+ icon?: string | undefined;
12669
+ showOn?: "input" | "blur" | undefined;
12670
+ };
12671
+ } | undefined;
11992
12672
  } | undefined;
11993
12673
  dependsOn?: {
11994
12674
  fieldName: string;
@@ -12006,6 +12686,7 @@ declare const FlowContext: z.ZodObject<{
12006
12686
  datetime: string;
12007
12687
  meta?: Record<string, any> | undefined;
12008
12688
  } | undefined;
12689
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
12009
12690
  }[] | undefined;
12010
12691
  dependentBehavior?: "hidden" | "disabled" | undefined;
12011
12692
  customError?: {
@@ -12067,6 +12748,24 @@ declare const FlowContext: z.ZodObject<{
12067
12748
  disabled?: boolean | undefined;
12068
12749
  description?: string | undefined;
12069
12750
  image?: string | undefined;
12751
+ dependsOn?: {
12752
+ fieldName: string;
12753
+ value?: string | number | boolean | {
12754
+ lat: number;
12755
+ lng: number;
12756
+ meta?: Record<string, any> | undefined;
12757
+ properties?: Record<string, {
12758
+ name: string;
12759
+ value?: string | undefined;
12760
+ type?: "email" | "phone" | "url" | undefined;
12761
+ icon?: string | undefined;
12762
+ }> | undefined;
12763
+ } | {
12764
+ datetime: string;
12765
+ meta?: Record<string, any> | undefined;
12766
+ } | undefined;
12767
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
12768
+ }[] | undefined;
12070
12769
  attributes?: Record<string, any> | undefined;
12071
12770
  }[] | undefined;
12072
12771
  label?: string | undefined;
@@ -12243,11 +12942,11 @@ declare const FlowContext: z.ZodObject<{
12243
12942
  text?: string | undefined;
12244
12943
  icon?: string | undefined;
12245
12944
  } | undefined;
12246
- default?: {
12945
+ error?: {
12247
12946
  text?: string | undefined;
12248
12947
  icon?: string | undefined;
12249
12948
  } | undefined;
12250
- error?: {
12949
+ default?: {
12251
12950
  text?: string | undefined;
12252
12951
  icon?: string | undefined;
12253
12952
  } | undefined;
@@ -12257,11 +12956,11 @@ declare const FlowContext: z.ZodObject<{
12257
12956
  text?: string | undefined;
12258
12957
  icon?: string | undefined;
12259
12958
  } | undefined;
12260
- default?: {
12959
+ error?: {
12261
12960
  text?: string | undefined;
12262
12961
  icon?: string | undefined;
12263
12962
  } | undefined;
12264
- error?: {
12963
+ default?: {
12265
12964
  text?: string | undefined;
12266
12965
  icon?: string | undefined;
12267
12966
  } | undefined;
@@ -12314,6 +13013,12 @@ declare const FlowContext: z.ZodObject<{
12314
13013
  icons?: string[] | undefined;
12315
13014
  precision?: number | undefined;
12316
13015
  } | undefined;
13016
+ generic?: {
13017
+ error: {
13018
+ icon?: string | undefined;
13019
+ showOn?: "input" | "blur" | undefined;
13020
+ };
13021
+ } | undefined;
12317
13022
  } | undefined;
12318
13023
  dependsOn?: {
12319
13024
  fieldName: string;
@@ -12331,6 +13036,7 @@ declare const FlowContext: z.ZodObject<{
12331
13036
  datetime: string;
12332
13037
  meta?: Record<string, any> | undefined;
12333
13038
  } | undefined;
13039
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
12334
13040
  }[] | undefined;
12335
13041
  dependentBehavior?: "hidden" | "disabled" | undefined;
12336
13042
  customError?: {
@@ -12549,6 +13255,24 @@ declare const FlowContext: z.ZodObject<{
12549
13255
  disabled?: boolean | undefined;
12550
13256
  description?: string | undefined;
12551
13257
  image?: string | undefined;
13258
+ dependsOn?: {
13259
+ fieldName: string;
13260
+ value?: string | number | boolean | {
13261
+ lat: number;
13262
+ lng: number;
13263
+ meta?: Record<string, any> | undefined;
13264
+ properties?: Record<string, {
13265
+ name: string;
13266
+ value?: string | undefined;
13267
+ type?: "email" | "phone" | "url" | undefined;
13268
+ icon?: string | undefined;
13269
+ }> | undefined;
13270
+ } | {
13271
+ datetime: string;
13272
+ meta?: Record<string, any> | undefined;
13273
+ } | undefined;
13274
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
13275
+ }[] | undefined;
12552
13276
  attributes?: Record<string, any> | undefined;
12553
13277
  }[] | undefined;
12554
13278
  label?: string | undefined;
@@ -12725,11 +13449,11 @@ declare const FlowContext: z.ZodObject<{
12725
13449
  text?: string | undefined;
12726
13450
  icon?: string | undefined;
12727
13451
  } | undefined;
12728
- default?: {
13452
+ error?: {
12729
13453
  text?: string | undefined;
12730
13454
  icon?: string | undefined;
12731
13455
  } | undefined;
12732
- error?: {
13456
+ default?: {
12733
13457
  text?: string | undefined;
12734
13458
  icon?: string | undefined;
12735
13459
  } | undefined;
@@ -12739,11 +13463,11 @@ declare const FlowContext: z.ZodObject<{
12739
13463
  text?: string | undefined;
12740
13464
  icon?: string | undefined;
12741
13465
  } | undefined;
12742
- default?: {
13466
+ error?: {
12743
13467
  text?: string | undefined;
12744
13468
  icon?: string | undefined;
12745
13469
  } | undefined;
12746
- error?: {
13470
+ default?: {
12747
13471
  text?: string | undefined;
12748
13472
  icon?: string | undefined;
12749
13473
  } | undefined;
@@ -12796,6 +13520,12 @@ declare const FlowContext: z.ZodObject<{
12796
13520
  icons?: string[] | undefined;
12797
13521
  precision?: number | undefined;
12798
13522
  } | undefined;
13523
+ generic?: {
13524
+ error: {
13525
+ icon?: string | undefined;
13526
+ showOn?: "input" | "blur" | undefined;
13527
+ };
13528
+ } | undefined;
12799
13529
  } | undefined;
12800
13530
  dependsOn?: {
12801
13531
  fieldName: string;
@@ -12813,6 +13543,7 @@ declare const FlowContext: z.ZodObject<{
12813
13543
  datetime: string;
12814
13544
  meta?: Record<string, any> | undefined;
12815
13545
  } | undefined;
13546
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
12816
13547
  }[] | undefined;
12817
13548
  dependentBehavior?: "hidden" | "disabled" | undefined;
12818
13549
  customError?: {
@@ -12921,6 +13652,24 @@ declare const FlowContext: z.ZodObject<{
12921
13652
  disabled?: boolean | undefined;
12922
13653
  description?: string | undefined;
12923
13654
  image?: string | undefined;
13655
+ dependsOn?: {
13656
+ fieldName: string;
13657
+ value?: string | number | boolean | {
13658
+ lat: number;
13659
+ lng: number;
13660
+ meta?: Record<string, any> | undefined;
13661
+ properties?: Record<string, {
13662
+ name: string;
13663
+ value?: string | undefined;
13664
+ type?: "email" | "phone" | "url" | undefined;
13665
+ icon?: string | undefined;
13666
+ }> | undefined;
13667
+ } | {
13668
+ datetime: string;
13669
+ meta?: Record<string, any> | undefined;
13670
+ } | undefined;
13671
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
13672
+ }[] | undefined;
12924
13673
  attributes?: Record<string, any> | undefined;
12925
13674
  }[] | undefined;
12926
13675
  label?: string | undefined;
@@ -13097,11 +13846,11 @@ declare const FlowContext: z.ZodObject<{
13097
13846
  text?: string | undefined;
13098
13847
  icon?: string | undefined;
13099
13848
  } | undefined;
13100
- default?: {
13849
+ error?: {
13101
13850
  text?: string | undefined;
13102
13851
  icon?: string | undefined;
13103
13852
  } | undefined;
13104
- error?: {
13853
+ default?: {
13105
13854
  text?: string | undefined;
13106
13855
  icon?: string | undefined;
13107
13856
  } | undefined;
@@ -13111,11 +13860,11 @@ declare const FlowContext: z.ZodObject<{
13111
13860
  text?: string | undefined;
13112
13861
  icon?: string | undefined;
13113
13862
  } | undefined;
13114
- default?: {
13863
+ error?: {
13115
13864
  text?: string | undefined;
13116
13865
  icon?: string | undefined;
13117
13866
  } | undefined;
13118
- error?: {
13867
+ default?: {
13119
13868
  text?: string | undefined;
13120
13869
  icon?: string | undefined;
13121
13870
  } | undefined;
@@ -13168,6 +13917,12 @@ declare const FlowContext: z.ZodObject<{
13168
13917
  icons?: string[] | undefined;
13169
13918
  precision?: number | undefined;
13170
13919
  } | undefined;
13920
+ generic?: {
13921
+ error: {
13922
+ icon?: string | undefined;
13923
+ showOn?: "input" | "blur" | undefined;
13924
+ };
13925
+ } | undefined;
13171
13926
  } | undefined;
13172
13927
  dependsOn?: {
13173
13928
  fieldName: string;
@@ -13185,6 +13940,7 @@ declare const FlowContext: z.ZodObject<{
13185
13940
  datetime: string;
13186
13941
  meta?: Record<string, any> | undefined;
13187
13942
  } | undefined;
13943
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
13188
13944
  }[] | undefined;
13189
13945
  dependentBehavior?: "hidden" | "disabled" | undefined;
13190
13946
  customError?: {
@@ -13327,6 +14083,24 @@ declare const FlowContext: z.ZodObject<{
13327
14083
  disabled?: boolean | undefined;
13328
14084
  description?: string | undefined;
13329
14085
  image?: string | undefined;
14086
+ dependsOn?: {
14087
+ fieldName: string;
14088
+ value?: string | number | boolean | {
14089
+ lat: number;
14090
+ lng: number;
14091
+ meta?: Record<string, any> | undefined;
14092
+ properties?: Record<string, {
14093
+ name: string;
14094
+ value?: string | undefined;
14095
+ type?: "email" | "phone" | "url" | undefined;
14096
+ icon?: string | undefined;
14097
+ }> | undefined;
14098
+ } | {
14099
+ datetime: string;
14100
+ meta?: Record<string, any> | undefined;
14101
+ } | undefined;
14102
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
14103
+ }[] | undefined;
13330
14104
  attributes?: Record<string, any> | undefined;
13331
14105
  }[] | undefined;
13332
14106
  label?: string | undefined;
@@ -13503,11 +14277,11 @@ declare const FlowContext: z.ZodObject<{
13503
14277
  text?: string | undefined;
13504
14278
  icon?: string | undefined;
13505
14279
  } | undefined;
13506
- default?: {
14280
+ error?: {
13507
14281
  text?: string | undefined;
13508
14282
  icon?: string | undefined;
13509
14283
  } | undefined;
13510
- error?: {
14284
+ default?: {
13511
14285
  text?: string | undefined;
13512
14286
  icon?: string | undefined;
13513
14287
  } | undefined;
@@ -13517,11 +14291,11 @@ declare const FlowContext: z.ZodObject<{
13517
14291
  text?: string | undefined;
13518
14292
  icon?: string | undefined;
13519
14293
  } | undefined;
13520
- default?: {
14294
+ error?: {
13521
14295
  text?: string | undefined;
13522
14296
  icon?: string | undefined;
13523
14297
  } | undefined;
13524
- error?: {
14298
+ default?: {
13525
14299
  text?: string | undefined;
13526
14300
  icon?: string | undefined;
13527
14301
  } | undefined;
@@ -13574,6 +14348,12 @@ declare const FlowContext: z.ZodObject<{
13574
14348
  icons?: string[] | undefined;
13575
14349
  precision?: number | undefined;
13576
14350
  } | undefined;
14351
+ generic?: {
14352
+ error: {
14353
+ icon?: string | undefined;
14354
+ showOn?: "input" | "blur" | undefined;
14355
+ };
14356
+ } | undefined;
13577
14357
  } | undefined;
13578
14358
  dependsOn?: {
13579
14359
  fieldName: string;
@@ -13591,6 +14371,7 @@ declare const FlowContext: z.ZodObject<{
13591
14371
  datetime: string;
13592
14372
  meta?: Record<string, any> | undefined;
13593
14373
  } | undefined;
14374
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
13594
14375
  }[] | undefined;
13595
14376
  dependentBehavior?: "hidden" | "disabled" | undefined;
13596
14377
  customError?: {
@@ -13711,6 +14492,24 @@ declare const FlowContext: z.ZodObject<{
13711
14492
  disabled?: boolean | undefined;
13712
14493
  description?: string | undefined;
13713
14494
  image?: string | undefined;
14495
+ dependsOn?: {
14496
+ fieldName: string;
14497
+ value?: string | number | boolean | {
14498
+ lat: number;
14499
+ lng: number;
14500
+ meta?: Record<string, any> | undefined;
14501
+ properties?: Record<string, {
14502
+ name: string;
14503
+ value?: string | undefined;
14504
+ type?: "email" | "phone" | "url" | undefined;
14505
+ icon?: string | undefined;
14506
+ }> | undefined;
14507
+ } | {
14508
+ datetime: string;
14509
+ meta?: Record<string, any> | undefined;
14510
+ } | undefined;
14511
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
14512
+ }[] | undefined;
13714
14513
  attributes?: Record<string, any> | undefined;
13715
14514
  }[] | undefined;
13716
14515
  label?: string | undefined;
@@ -13887,11 +14686,11 @@ declare const FlowContext: z.ZodObject<{
13887
14686
  text?: string | undefined;
13888
14687
  icon?: string | undefined;
13889
14688
  } | undefined;
13890
- default?: {
14689
+ error?: {
13891
14690
  text?: string | undefined;
13892
14691
  icon?: string | undefined;
13893
14692
  } | undefined;
13894
- error?: {
14693
+ default?: {
13895
14694
  text?: string | undefined;
13896
14695
  icon?: string | undefined;
13897
14696
  } | undefined;
@@ -13901,11 +14700,11 @@ declare const FlowContext: z.ZodObject<{
13901
14700
  text?: string | undefined;
13902
14701
  icon?: string | undefined;
13903
14702
  } | undefined;
13904
- default?: {
14703
+ error?: {
13905
14704
  text?: string | undefined;
13906
14705
  icon?: string | undefined;
13907
14706
  } | undefined;
13908
- error?: {
14707
+ default?: {
13909
14708
  text?: string | undefined;
13910
14709
  icon?: string | undefined;
13911
14710
  } | undefined;
@@ -13958,6 +14757,12 @@ declare const FlowContext: z.ZodObject<{
13958
14757
  icons?: string[] | undefined;
13959
14758
  precision?: number | undefined;
13960
14759
  } | undefined;
14760
+ generic?: {
14761
+ error: {
14762
+ icon?: string | undefined;
14763
+ showOn?: "input" | "blur" | undefined;
14764
+ };
14765
+ } | undefined;
13961
14766
  } | undefined;
13962
14767
  dependsOn?: {
13963
14768
  fieldName: string;
@@ -13975,6 +14780,7 @@ declare const FlowContext: z.ZodObject<{
13975
14780
  datetime: string;
13976
14781
  meta?: Record<string, any> | undefined;
13977
14782
  } | undefined;
14783
+ operator?: "exists" | "equal" | "contains" | "not-equal" | "not-contains" | "greater-than" | "less-than" | undefined;
13978
14784
  }[] | undefined;
13979
14785
  dependentBehavior?: "hidden" | "disabled" | undefined;
13980
14786
  customError?: {
@@ -14043,19 +14849,17 @@ declare const FlowContext: z.ZodObject<{
14043
14849
  }>;
14044
14850
  type FlowContext = z.infer<typeof FlowContext>;
14045
14851
  /**
14046
- * Enum schema for event types.
14852
+ * Schema defining available event types for the flow client.
14047
14853
  *
14048
- * This schema defines the possible event types that can be used within the application.
14049
- * Currently, it supports the following event type:
14050
- * - "track": Represents a tracking event.
14854
+ * @property {"track"} track - Represents a tracking event for analytics and monitoring.
14051
14855
  */
14052
14856
  declare const EventType: z.ZodEnum<["track"]>;
14053
14857
  type EventType = z.infer<typeof EventType>;
14054
14858
  /**
14055
- * Type definition for event listener functions that handle tracking events.
14056
- * @param {EventName} type - The name of tracking event
14057
- * @param {EventData} data - The data associated with the tracking event
14058
- * @returns {void}
14859
+ * Event listener function type for handling tracking events.
14860
+ *
14861
+ * @param {EventName} type - The name of the tracking event.
14862
+ * @param {EventData} data - The data payload associated with the tracking event.
14059
14863
  */
14060
14864
  type EventListener = (type: EventName, data: EventData) => void;
14061
14865