@authhero/kysely-adapter 10.64.0 → 10.64.1

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.
@@ -2679,7 +2679,11 @@ declare const formInsertSchema: z.ZodObject<{
2679
2679
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
2680
2680
  z.ZodObject<{
2681
2681
  id: z.ZodString;
2682
+ order: z.ZodOptional<z.ZodNumber>;
2683
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2684
+ } & {
2682
2685
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2686
+ } & {
2683
2687
  type: z.ZodLiteral<"RICH_TEXT">;
2684
2688
  config: z.ZodObject<{
2685
2689
  content: z.ZodString;
@@ -2688,8 +2692,6 @@ declare const formInsertSchema: z.ZodObject<{
2688
2692
  }, {
2689
2693
  content: string;
2690
2694
  }>;
2691
- order: z.ZodOptional<z.ZodNumber>;
2692
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2693
2695
  }, "strip", z.ZodTypeAny, {
2694
2696
  type: "RICH_TEXT";
2695
2697
  id: string;
@@ -2709,9 +2711,15 @@ declare const formInsertSchema: z.ZodObject<{
2709
2711
  order?: number | undefined;
2710
2712
  visible?: boolean | undefined;
2711
2713
  }>,
2712
- z.ZodObject<{
2714
+ z.ZodObject<Omit<{
2713
2715
  id: z.ZodString;
2716
+ order: z.ZodOptional<z.ZodNumber>;
2717
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2718
+ } & {
2714
2719
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2720
+ required: z.ZodOptional<z.ZodBoolean>;
2721
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2722
+ }, "sensitive"> & {
2715
2723
  type: z.ZodLiteral<"LEGAL">;
2716
2724
  config: z.ZodObject<{
2717
2725
  text: z.ZodString;
@@ -2723,9 +2731,6 @@ declare const formInsertSchema: z.ZodObject<{
2723
2731
  text: string;
2724
2732
  html?: boolean | undefined;
2725
2733
  }>;
2726
- required: z.ZodOptional<z.ZodBoolean>;
2727
- order: z.ZodOptional<z.ZodNumber>;
2728
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2729
2734
  }, "strip", z.ZodTypeAny, {
2730
2735
  type: "LEGAL";
2731
2736
  id: string;
@@ -2751,7 +2756,13 @@ declare const formInsertSchema: z.ZodObject<{
2751
2756
  }>,
2752
2757
  z.ZodObject<{
2753
2758
  id: z.ZodString;
2759
+ order: z.ZodOptional<z.ZodNumber>;
2760
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2761
+ } & {
2754
2762
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2763
+ required: z.ZodOptional<z.ZodBoolean>;
2764
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2765
+ } & {
2755
2766
  type: z.ZodLiteral<"TEXT">;
2756
2767
  config: z.ZodObject<{
2757
2768
  placeholder: z.ZodOptional<z.ZodString>;
@@ -2763,10 +2774,6 @@ declare const formInsertSchema: z.ZodObject<{
2763
2774
  placeholder?: string | undefined;
2764
2775
  multiline?: boolean | undefined;
2765
2776
  }>;
2766
- required: z.ZodOptional<z.ZodBoolean>;
2767
- sensitive: z.ZodOptional<z.ZodBoolean>;
2768
- order: z.ZodOptional<z.ZodNumber>;
2769
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2770
2777
  }, "strip", z.ZodTypeAny, {
2771
2778
  type: "TEXT";
2772
2779
  id: string;
@@ -2794,7 +2801,11 @@ declare const formInsertSchema: z.ZodObject<{
2794
2801
  }>,
2795
2802
  z.ZodObject<{
2796
2803
  id: z.ZodString;
2804
+ order: z.ZodOptional<z.ZodNumber>;
2805
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2806
+ } & {
2797
2807
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2808
+ } & {
2798
2809
  type: z.ZodLiteral<"NEXT_BUTTON">;
2799
2810
  config: z.ZodObject<{
2800
2811
  text: z.ZodOptional<z.ZodString>;
@@ -2803,8 +2814,6 @@ declare const formInsertSchema: z.ZodObject<{
2803
2814
  }, {
2804
2815
  text?: string | undefined;
2805
2816
  }>;
2806
- order: z.ZodOptional<z.ZodNumber>;
2807
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2808
2817
  }, "strip", z.ZodTypeAny, {
2809
2818
  type: "NEXT_BUTTON";
2810
2819
  id: string;
@@ -2823,6 +2832,141 @@ declare const formInsertSchema: z.ZodObject<{
2823
2832
  category?: "BLOCK" | undefined;
2824
2833
  order?: number | undefined;
2825
2834
  visible?: boolean | undefined;
2835
+ }>,
2836
+ z.ZodObject<{
2837
+ id: z.ZodString;
2838
+ order: z.ZodOptional<z.ZodNumber>;
2839
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2840
+ } & {
2841
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2842
+ required: z.ZodOptional<z.ZodBoolean>;
2843
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2844
+ } & {
2845
+ type: z.ZodLiteral<"EMAIL">;
2846
+ config: z.ZodObject<{
2847
+ label: z.ZodOptional<z.ZodString>;
2848
+ placeholder: z.ZodOptional<z.ZodString>;
2849
+ }, "strip", z.ZodTypeAny, {
2850
+ label?: string | undefined;
2851
+ placeholder?: string | undefined;
2852
+ }, {
2853
+ label?: string | undefined;
2854
+ placeholder?: string | undefined;
2855
+ }>;
2856
+ }, "strip", z.ZodTypeAny, {
2857
+ type: "EMAIL";
2858
+ id: string;
2859
+ config: {
2860
+ label?: string | undefined;
2861
+ placeholder?: string | undefined;
2862
+ };
2863
+ visible: boolean;
2864
+ required?: boolean | undefined;
2865
+ category?: "FIELD" | undefined;
2866
+ sensitive?: boolean | undefined;
2867
+ order?: number | undefined;
2868
+ }, {
2869
+ type: "EMAIL";
2870
+ id: string;
2871
+ config: {
2872
+ label?: string | undefined;
2873
+ placeholder?: string | undefined;
2874
+ };
2875
+ required?: boolean | undefined;
2876
+ category?: "FIELD" | undefined;
2877
+ sensitive?: boolean | undefined;
2878
+ order?: number | undefined;
2879
+ visible?: boolean | undefined;
2880
+ }>,
2881
+ z.ZodObject<{
2882
+ id: z.ZodString;
2883
+ order: z.ZodOptional<z.ZodNumber>;
2884
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2885
+ } & {
2886
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2887
+ required: z.ZodOptional<z.ZodBoolean>;
2888
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2889
+ } & {
2890
+ type: z.ZodLiteral<"NUMBER">;
2891
+ config: z.ZodObject<{
2892
+ label: z.ZodOptional<z.ZodString>;
2893
+ placeholder: z.ZodOptional<z.ZodString>;
2894
+ }, "strip", z.ZodTypeAny, {
2895
+ label?: string | undefined;
2896
+ placeholder?: string | undefined;
2897
+ }, {
2898
+ label?: string | undefined;
2899
+ placeholder?: string | undefined;
2900
+ }>;
2901
+ }, "strip", z.ZodTypeAny, {
2902
+ type: "NUMBER";
2903
+ id: string;
2904
+ config: {
2905
+ label?: string | undefined;
2906
+ placeholder?: string | undefined;
2907
+ };
2908
+ visible: boolean;
2909
+ required?: boolean | undefined;
2910
+ category?: "FIELD" | undefined;
2911
+ sensitive?: boolean | undefined;
2912
+ order?: number | undefined;
2913
+ }, {
2914
+ type: "NUMBER";
2915
+ id: string;
2916
+ config: {
2917
+ label?: string | undefined;
2918
+ placeholder?: string | undefined;
2919
+ };
2920
+ required?: boolean | undefined;
2921
+ category?: "FIELD" | undefined;
2922
+ sensitive?: boolean | undefined;
2923
+ order?: number | undefined;
2924
+ visible?: boolean | undefined;
2925
+ }>,
2926
+ z.ZodObject<{
2927
+ id: z.ZodString;
2928
+ order: z.ZodOptional<z.ZodNumber>;
2929
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2930
+ } & {
2931
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2932
+ required: z.ZodOptional<z.ZodBoolean>;
2933
+ sensitive: z.ZodOptional<z.ZodBoolean>;
2934
+ } & {
2935
+ type: z.ZodLiteral<"PHONE">;
2936
+ config: z.ZodObject<{
2937
+ label: z.ZodOptional<z.ZodString>;
2938
+ placeholder: z.ZodOptional<z.ZodString>;
2939
+ }, "strip", z.ZodTypeAny, {
2940
+ label?: string | undefined;
2941
+ placeholder?: string | undefined;
2942
+ }, {
2943
+ label?: string | undefined;
2944
+ placeholder?: string | undefined;
2945
+ }>;
2946
+ }, "strip", z.ZodTypeAny, {
2947
+ type: "PHONE";
2948
+ id: string;
2949
+ config: {
2950
+ label?: string | undefined;
2951
+ placeholder?: string | undefined;
2952
+ };
2953
+ visible: boolean;
2954
+ required?: boolean | undefined;
2955
+ category?: "FIELD" | undefined;
2956
+ sensitive?: boolean | undefined;
2957
+ order?: number | undefined;
2958
+ }, {
2959
+ type: "PHONE";
2960
+ id: string;
2961
+ config: {
2962
+ label?: string | undefined;
2963
+ placeholder?: string | undefined;
2964
+ };
2965
+ required?: boolean | undefined;
2966
+ category?: "FIELD" | undefined;
2967
+ sensitive?: boolean | undefined;
2968
+ order?: number | undefined;
2969
+ visible?: boolean | undefined;
2826
2970
  }>
2827
2971
  ]>, "many">;
2828
2972
  next_node: z.ZodOptional<z.ZodString>;
@@ -2868,6 +3012,42 @@ declare const formInsertSchema: z.ZodObject<{
2868
3012
  visible: boolean;
2869
3013
  category?: "BLOCK" | undefined;
2870
3014
  order?: number | undefined;
3015
+ } | {
3016
+ type: "EMAIL";
3017
+ id: string;
3018
+ config: {
3019
+ label?: string | undefined;
3020
+ placeholder?: string | undefined;
3021
+ };
3022
+ visible: boolean;
3023
+ required?: boolean | undefined;
3024
+ category?: "FIELD" | undefined;
3025
+ sensitive?: boolean | undefined;
3026
+ order?: number | undefined;
3027
+ } | {
3028
+ type: "NUMBER";
3029
+ id: string;
3030
+ config: {
3031
+ label?: string | undefined;
3032
+ placeholder?: string | undefined;
3033
+ };
3034
+ visible: boolean;
3035
+ required?: boolean | undefined;
3036
+ category?: "FIELD" | undefined;
3037
+ sensitive?: boolean | undefined;
3038
+ order?: number | undefined;
3039
+ } | {
3040
+ type: "PHONE";
3041
+ id: string;
3042
+ config: {
3043
+ label?: string | undefined;
3044
+ placeholder?: string | undefined;
3045
+ };
3046
+ visible: boolean;
3047
+ required?: boolean | undefined;
3048
+ category?: "FIELD" | undefined;
3049
+ sensitive?: boolean | undefined;
3050
+ order?: number | undefined;
2871
3051
  })[];
2872
3052
  next_node?: string | undefined;
2873
3053
  }, {
@@ -2912,6 +3092,42 @@ declare const formInsertSchema: z.ZodObject<{
2912
3092
  category?: "BLOCK" | undefined;
2913
3093
  order?: number | undefined;
2914
3094
  visible?: boolean | undefined;
3095
+ } | {
3096
+ type: "EMAIL";
3097
+ id: string;
3098
+ config: {
3099
+ label?: string | undefined;
3100
+ placeholder?: string | undefined;
3101
+ };
3102
+ required?: boolean | undefined;
3103
+ category?: "FIELD" | undefined;
3104
+ sensitive?: boolean | undefined;
3105
+ order?: number | undefined;
3106
+ visible?: boolean | undefined;
3107
+ } | {
3108
+ type: "NUMBER";
3109
+ id: string;
3110
+ config: {
3111
+ label?: string | undefined;
3112
+ placeholder?: string | undefined;
3113
+ };
3114
+ required?: boolean | undefined;
3115
+ category?: "FIELD" | undefined;
3116
+ sensitive?: boolean | undefined;
3117
+ order?: number | undefined;
3118
+ visible?: boolean | undefined;
3119
+ } | {
3120
+ type: "PHONE";
3121
+ id: string;
3122
+ config: {
3123
+ label?: string | undefined;
3124
+ placeholder?: string | undefined;
3125
+ };
3126
+ required?: boolean | undefined;
3127
+ category?: "FIELD" | undefined;
3128
+ sensitive?: boolean | undefined;
3129
+ order?: number | undefined;
3130
+ visible?: boolean | undefined;
2915
3131
  })[];
2916
3132
  next_node?: string | undefined;
2917
3133
  }>;
@@ -2960,6 +3176,42 @@ declare const formInsertSchema: z.ZodObject<{
2960
3176
  visible: boolean;
2961
3177
  category?: "BLOCK" | undefined;
2962
3178
  order?: number | undefined;
3179
+ } | {
3180
+ type: "EMAIL";
3181
+ id: string;
3182
+ config: {
3183
+ label?: string | undefined;
3184
+ placeholder?: string | undefined;
3185
+ };
3186
+ visible: boolean;
3187
+ required?: boolean | undefined;
3188
+ category?: "FIELD" | undefined;
3189
+ sensitive?: boolean | undefined;
3190
+ order?: number | undefined;
3191
+ } | {
3192
+ type: "NUMBER";
3193
+ id: string;
3194
+ config: {
3195
+ label?: string | undefined;
3196
+ placeholder?: string | undefined;
3197
+ };
3198
+ visible: boolean;
3199
+ required?: boolean | undefined;
3200
+ category?: "FIELD" | undefined;
3201
+ sensitive?: boolean | undefined;
3202
+ order?: number | undefined;
3203
+ } | {
3204
+ type: "PHONE";
3205
+ id: string;
3206
+ config: {
3207
+ label?: string | undefined;
3208
+ placeholder?: string | undefined;
3209
+ };
3210
+ visible: boolean;
3211
+ required?: boolean | undefined;
3212
+ category?: "FIELD" | undefined;
3213
+ sensitive?: boolean | undefined;
3214
+ order?: number | undefined;
2963
3215
  })[];
2964
3216
  next_node?: string | undefined;
2965
3217
  };
@@ -3013,6 +3265,42 @@ declare const formInsertSchema: z.ZodObject<{
3013
3265
  category?: "BLOCK" | undefined;
3014
3266
  order?: number | undefined;
3015
3267
  visible?: boolean | undefined;
3268
+ } | {
3269
+ type: "EMAIL";
3270
+ id: string;
3271
+ config: {
3272
+ label?: string | undefined;
3273
+ placeholder?: string | undefined;
3274
+ };
3275
+ required?: boolean | undefined;
3276
+ category?: "FIELD" | undefined;
3277
+ sensitive?: boolean | undefined;
3278
+ order?: number | undefined;
3279
+ visible?: boolean | undefined;
3280
+ } | {
3281
+ type: "NUMBER";
3282
+ id: string;
3283
+ config: {
3284
+ label?: string | undefined;
3285
+ placeholder?: string | undefined;
3286
+ };
3287
+ required?: boolean | undefined;
3288
+ category?: "FIELD" | undefined;
3289
+ sensitive?: boolean | undefined;
3290
+ order?: number | undefined;
3291
+ visible?: boolean | undefined;
3292
+ } | {
3293
+ type: "PHONE";
3294
+ id: string;
3295
+ config: {
3296
+ label?: string | undefined;
3297
+ placeholder?: string | undefined;
3298
+ };
3299
+ required?: boolean | undefined;
3300
+ category?: "FIELD" | undefined;
3301
+ sensitive?: boolean | undefined;
3302
+ order?: number | undefined;
3303
+ visible?: boolean | undefined;
3016
3304
  })[];
3017
3305
  next_node?: string | undefined;
3018
3306
  };
@@ -3223,6 +3511,42 @@ declare const formInsertSchema: z.ZodObject<{
3223
3511
  visible: boolean;
3224
3512
  category?: "BLOCK" | undefined;
3225
3513
  order?: number | undefined;
3514
+ } | {
3515
+ type: "EMAIL";
3516
+ id: string;
3517
+ config: {
3518
+ label?: string | undefined;
3519
+ placeholder?: string | undefined;
3520
+ };
3521
+ visible: boolean;
3522
+ required?: boolean | undefined;
3523
+ category?: "FIELD" | undefined;
3524
+ sensitive?: boolean | undefined;
3525
+ order?: number | undefined;
3526
+ } | {
3527
+ type: "NUMBER";
3528
+ id: string;
3529
+ config: {
3530
+ label?: string | undefined;
3531
+ placeholder?: string | undefined;
3532
+ };
3533
+ visible: boolean;
3534
+ required?: boolean | undefined;
3535
+ category?: "FIELD" | undefined;
3536
+ sensitive?: boolean | undefined;
3537
+ order?: number | undefined;
3538
+ } | {
3539
+ type: "PHONE";
3540
+ id: string;
3541
+ config: {
3542
+ label?: string | undefined;
3543
+ placeholder?: string | undefined;
3544
+ };
3545
+ visible: boolean;
3546
+ required?: boolean | undefined;
3547
+ category?: "FIELD" | undefined;
3548
+ sensitive?: boolean | undefined;
3549
+ order?: number | undefined;
3226
3550
  })[];
3227
3551
  next_node?: string | undefined;
3228
3552
  };
@@ -3345,6 +3669,42 @@ declare const formInsertSchema: z.ZodObject<{
3345
3669
  category?: "BLOCK" | undefined;
3346
3670
  order?: number | undefined;
3347
3671
  visible?: boolean | undefined;
3672
+ } | {
3673
+ type: "EMAIL";
3674
+ id: string;
3675
+ config: {
3676
+ label?: string | undefined;
3677
+ placeholder?: string | undefined;
3678
+ };
3679
+ required?: boolean | undefined;
3680
+ category?: "FIELD" | undefined;
3681
+ sensitive?: boolean | undefined;
3682
+ order?: number | undefined;
3683
+ visible?: boolean | undefined;
3684
+ } | {
3685
+ type: "NUMBER";
3686
+ id: string;
3687
+ config: {
3688
+ label?: string | undefined;
3689
+ placeholder?: string | undefined;
3690
+ };
3691
+ required?: boolean | undefined;
3692
+ category?: "FIELD" | undefined;
3693
+ sensitive?: boolean | undefined;
3694
+ order?: number | undefined;
3695
+ visible?: boolean | undefined;
3696
+ } | {
3697
+ type: "PHONE";
3698
+ id: string;
3699
+ config: {
3700
+ label?: string | undefined;
3701
+ placeholder?: string | undefined;
3702
+ };
3703
+ required?: boolean | undefined;
3704
+ category?: "FIELD" | undefined;
3705
+ sensitive?: boolean | undefined;
3706
+ order?: number | undefined;
3707
+ visible?: boolean | undefined;
3348
3708
  })[];
3349
3709
  next_node?: string | undefined;
3350
3710
  };
@@ -3551,7 +3911,11 @@ declare const formSchema: z.ZodObject<{
3551
3911
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
3552
3912
  z.ZodObject<{
3553
3913
  id: z.ZodString;
3914
+ order: z.ZodOptional<z.ZodNumber>;
3915
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3916
+ } & {
3554
3917
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3918
+ } & {
3555
3919
  type: z.ZodLiteral<"RICH_TEXT">;
3556
3920
  config: z.ZodObject<{
3557
3921
  content: z.ZodString;
@@ -3560,8 +3924,6 @@ declare const formSchema: z.ZodObject<{
3560
3924
  }, {
3561
3925
  content: string;
3562
3926
  }>;
3563
- order: z.ZodOptional<z.ZodNumber>;
3564
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3565
3927
  }, "strip", z.ZodTypeAny, {
3566
3928
  type: "RICH_TEXT";
3567
3929
  id: string;
@@ -3572,10 +3934,132 @@ declare const formSchema: z.ZodObject<{
3572
3934
  category?: "BLOCK" | undefined;
3573
3935
  order?: number | undefined;
3574
3936
  }, {
3575
- type: "RICH_TEXT";
3937
+ type: "RICH_TEXT";
3938
+ id: string;
3939
+ config: {
3940
+ content: string;
3941
+ };
3942
+ category?: "BLOCK" | undefined;
3943
+ order?: number | undefined;
3944
+ visible?: boolean | undefined;
3945
+ }>,
3946
+ z.ZodObject<Omit<{
3947
+ id: z.ZodString;
3948
+ order: z.ZodOptional<z.ZodNumber>;
3949
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3950
+ } & {
3951
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3952
+ required: z.ZodOptional<z.ZodBoolean>;
3953
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3954
+ }, "sensitive"> & {
3955
+ type: z.ZodLiteral<"LEGAL">;
3956
+ config: z.ZodObject<{
3957
+ text: z.ZodString;
3958
+ html: z.ZodOptional<z.ZodBoolean>;
3959
+ }, "strip", z.ZodTypeAny, {
3960
+ text: string;
3961
+ html?: boolean | undefined;
3962
+ }, {
3963
+ text: string;
3964
+ html?: boolean | undefined;
3965
+ }>;
3966
+ }, "strip", z.ZodTypeAny, {
3967
+ type: "LEGAL";
3968
+ id: string;
3969
+ config: {
3970
+ text: string;
3971
+ html?: boolean | undefined;
3972
+ };
3973
+ visible: boolean;
3974
+ required?: boolean | undefined;
3975
+ category?: "FIELD" | undefined;
3976
+ order?: number | undefined;
3977
+ }, {
3978
+ type: "LEGAL";
3979
+ id: string;
3980
+ config: {
3981
+ text: string;
3982
+ html?: boolean | undefined;
3983
+ };
3984
+ required?: boolean | undefined;
3985
+ category?: "FIELD" | undefined;
3986
+ order?: number | undefined;
3987
+ visible?: boolean | undefined;
3988
+ }>,
3989
+ z.ZodObject<{
3990
+ id: z.ZodString;
3991
+ order: z.ZodOptional<z.ZodNumber>;
3992
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3993
+ } & {
3994
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3995
+ required: z.ZodOptional<z.ZodBoolean>;
3996
+ sensitive: z.ZodOptional<z.ZodBoolean>;
3997
+ } & {
3998
+ type: z.ZodLiteral<"TEXT">;
3999
+ config: z.ZodObject<{
4000
+ placeholder: z.ZodOptional<z.ZodString>;
4001
+ multiline: z.ZodOptional<z.ZodBoolean>;
4002
+ }, "strip", z.ZodTypeAny, {
4003
+ placeholder?: string | undefined;
4004
+ multiline?: boolean | undefined;
4005
+ }, {
4006
+ placeholder?: string | undefined;
4007
+ multiline?: boolean | undefined;
4008
+ }>;
4009
+ }, "strip", z.ZodTypeAny, {
4010
+ type: "TEXT";
4011
+ id: string;
4012
+ config: {
4013
+ placeholder?: string | undefined;
4014
+ multiline?: boolean | undefined;
4015
+ };
4016
+ visible: boolean;
4017
+ required?: boolean | undefined;
4018
+ category?: "FIELD" | undefined;
4019
+ sensitive?: boolean | undefined;
4020
+ order?: number | undefined;
4021
+ }, {
4022
+ type: "TEXT";
4023
+ id: string;
4024
+ config: {
4025
+ placeholder?: string | undefined;
4026
+ multiline?: boolean | undefined;
4027
+ };
4028
+ required?: boolean | undefined;
4029
+ category?: "FIELD" | undefined;
4030
+ sensitive?: boolean | undefined;
4031
+ order?: number | undefined;
4032
+ visible?: boolean | undefined;
4033
+ }>,
4034
+ z.ZodObject<{
4035
+ id: z.ZodString;
4036
+ order: z.ZodOptional<z.ZodNumber>;
4037
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4038
+ } & {
4039
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
4040
+ } & {
4041
+ type: z.ZodLiteral<"NEXT_BUTTON">;
4042
+ config: z.ZodObject<{
4043
+ text: z.ZodOptional<z.ZodString>;
4044
+ }, "strip", z.ZodTypeAny, {
4045
+ text?: string | undefined;
4046
+ }, {
4047
+ text?: string | undefined;
4048
+ }>;
4049
+ }, "strip", z.ZodTypeAny, {
4050
+ type: "NEXT_BUTTON";
4051
+ id: string;
4052
+ config: {
4053
+ text?: string | undefined;
4054
+ };
4055
+ visible: boolean;
4056
+ category?: "BLOCK" | undefined;
4057
+ order?: number | undefined;
4058
+ }, {
4059
+ type: "NEXT_BUTTON";
3576
4060
  id: string;
3577
4061
  config: {
3578
- content: string;
4062
+ text?: string | undefined;
3579
4063
  };
3580
4064
  category?: "BLOCK" | undefined;
3581
4065
  order?: number | undefined;
@@ -3583,68 +4067,75 @@ declare const formSchema: z.ZodObject<{
3583
4067
  }>,
3584
4068
  z.ZodObject<{
3585
4069
  id: z.ZodString;
4070
+ order: z.ZodOptional<z.ZodNumber>;
4071
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4072
+ } & {
3586
4073
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3587
- type: z.ZodLiteral<"LEGAL">;
4074
+ required: z.ZodOptional<z.ZodBoolean>;
4075
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4076
+ } & {
4077
+ type: z.ZodLiteral<"EMAIL">;
3588
4078
  config: z.ZodObject<{
3589
- text: z.ZodString;
3590
- html: z.ZodOptional<z.ZodBoolean>;
4079
+ label: z.ZodOptional<z.ZodString>;
4080
+ placeholder: z.ZodOptional<z.ZodString>;
3591
4081
  }, "strip", z.ZodTypeAny, {
3592
- text: string;
3593
- html?: boolean | undefined;
4082
+ label?: string | undefined;
4083
+ placeholder?: string | undefined;
3594
4084
  }, {
3595
- text: string;
3596
- html?: boolean | undefined;
4085
+ label?: string | undefined;
4086
+ placeholder?: string | undefined;
3597
4087
  }>;
3598
- required: z.ZodOptional<z.ZodBoolean>;
3599
- order: z.ZodOptional<z.ZodNumber>;
3600
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3601
4088
  }, "strip", z.ZodTypeAny, {
3602
- type: "LEGAL";
4089
+ type: "EMAIL";
3603
4090
  id: string;
3604
4091
  config: {
3605
- text: string;
3606
- html?: boolean | undefined;
4092
+ label?: string | undefined;
4093
+ placeholder?: string | undefined;
3607
4094
  };
3608
4095
  visible: boolean;
3609
4096
  required?: boolean | undefined;
3610
4097
  category?: "FIELD" | undefined;
4098
+ sensitive?: boolean | undefined;
3611
4099
  order?: number | undefined;
3612
4100
  }, {
3613
- type: "LEGAL";
4101
+ type: "EMAIL";
3614
4102
  id: string;
3615
4103
  config: {
3616
- text: string;
3617
- html?: boolean | undefined;
4104
+ label?: string | undefined;
4105
+ placeholder?: string | undefined;
3618
4106
  };
3619
4107
  required?: boolean | undefined;
3620
4108
  category?: "FIELD" | undefined;
4109
+ sensitive?: boolean | undefined;
3621
4110
  order?: number | undefined;
3622
4111
  visible?: boolean | undefined;
3623
4112
  }>,
3624
4113
  z.ZodObject<{
3625
4114
  id: z.ZodString;
4115
+ order: z.ZodOptional<z.ZodNumber>;
4116
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4117
+ } & {
3626
4118
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3627
- type: z.ZodLiteral<"TEXT">;
4119
+ required: z.ZodOptional<z.ZodBoolean>;
4120
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4121
+ } & {
4122
+ type: z.ZodLiteral<"NUMBER">;
3628
4123
  config: z.ZodObject<{
4124
+ label: z.ZodOptional<z.ZodString>;
3629
4125
  placeholder: z.ZodOptional<z.ZodString>;
3630
- multiline: z.ZodOptional<z.ZodBoolean>;
3631
4126
  }, "strip", z.ZodTypeAny, {
4127
+ label?: string | undefined;
3632
4128
  placeholder?: string | undefined;
3633
- multiline?: boolean | undefined;
3634
4129
  }, {
4130
+ label?: string | undefined;
3635
4131
  placeholder?: string | undefined;
3636
- multiline?: boolean | undefined;
3637
4132
  }>;
3638
- required: z.ZodOptional<z.ZodBoolean>;
3639
- sensitive: z.ZodOptional<z.ZodBoolean>;
3640
- order: z.ZodOptional<z.ZodNumber>;
3641
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3642
4133
  }, "strip", z.ZodTypeAny, {
3643
- type: "TEXT";
4134
+ type: "NUMBER";
3644
4135
  id: string;
3645
4136
  config: {
4137
+ label?: string | undefined;
3646
4138
  placeholder?: string | undefined;
3647
- multiline?: boolean | undefined;
3648
4139
  };
3649
4140
  visible: boolean;
3650
4141
  required?: boolean | undefined;
@@ -3652,11 +4143,11 @@ declare const formSchema: z.ZodObject<{
3652
4143
  sensitive?: boolean | undefined;
3653
4144
  order?: number | undefined;
3654
4145
  }, {
3655
- type: "TEXT";
4146
+ type: "NUMBER";
3656
4147
  id: string;
3657
4148
  config: {
4149
+ label?: string | undefined;
3658
4150
  placeholder?: string | undefined;
3659
- multiline?: boolean | undefined;
3660
4151
  };
3661
4152
  required?: boolean | undefined;
3662
4153
  category?: "FIELD" | undefined;
@@ -3666,33 +4157,46 @@ declare const formSchema: z.ZodObject<{
3666
4157
  }>,
3667
4158
  z.ZodObject<{
3668
4159
  id: z.ZodString;
3669
- category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3670
- type: z.ZodLiteral<"NEXT_BUTTON">;
4160
+ order: z.ZodOptional<z.ZodNumber>;
4161
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
4162
+ } & {
4163
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
4164
+ required: z.ZodOptional<z.ZodBoolean>;
4165
+ sensitive: z.ZodOptional<z.ZodBoolean>;
4166
+ } & {
4167
+ type: z.ZodLiteral<"PHONE">;
3671
4168
  config: z.ZodObject<{
3672
- text: z.ZodOptional<z.ZodString>;
4169
+ label: z.ZodOptional<z.ZodString>;
4170
+ placeholder: z.ZodOptional<z.ZodString>;
3673
4171
  }, "strip", z.ZodTypeAny, {
3674
- text?: string | undefined;
4172
+ label?: string | undefined;
4173
+ placeholder?: string | undefined;
3675
4174
  }, {
3676
- text?: string | undefined;
4175
+ label?: string | undefined;
4176
+ placeholder?: string | undefined;
3677
4177
  }>;
3678
- order: z.ZodOptional<z.ZodNumber>;
3679
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
3680
4178
  }, "strip", z.ZodTypeAny, {
3681
- type: "NEXT_BUTTON";
4179
+ type: "PHONE";
3682
4180
  id: string;
3683
4181
  config: {
3684
- text?: string | undefined;
4182
+ label?: string | undefined;
4183
+ placeholder?: string | undefined;
3685
4184
  };
3686
4185
  visible: boolean;
3687
- category?: "BLOCK" | undefined;
4186
+ required?: boolean | undefined;
4187
+ category?: "FIELD" | undefined;
4188
+ sensitive?: boolean | undefined;
3688
4189
  order?: number | undefined;
3689
4190
  }, {
3690
- type: "NEXT_BUTTON";
4191
+ type: "PHONE";
3691
4192
  id: string;
3692
4193
  config: {
3693
- text?: string | undefined;
4194
+ label?: string | undefined;
4195
+ placeholder?: string | undefined;
3694
4196
  };
3695
- category?: "BLOCK" | undefined;
4197
+ required?: boolean | undefined;
4198
+ category?: "FIELD" | undefined;
4199
+ sensitive?: boolean | undefined;
3696
4200
  order?: number | undefined;
3697
4201
  visible?: boolean | undefined;
3698
4202
  }>
@@ -3740,6 +4244,42 @@ declare const formSchema: z.ZodObject<{
3740
4244
  visible: boolean;
3741
4245
  category?: "BLOCK" | undefined;
3742
4246
  order?: number | undefined;
4247
+ } | {
4248
+ type: "EMAIL";
4249
+ id: string;
4250
+ config: {
4251
+ label?: string | undefined;
4252
+ placeholder?: string | undefined;
4253
+ };
4254
+ visible: boolean;
4255
+ required?: boolean | undefined;
4256
+ category?: "FIELD" | undefined;
4257
+ sensitive?: boolean | undefined;
4258
+ order?: number | undefined;
4259
+ } | {
4260
+ type: "NUMBER";
4261
+ id: string;
4262
+ config: {
4263
+ label?: string | undefined;
4264
+ placeholder?: string | undefined;
4265
+ };
4266
+ visible: boolean;
4267
+ required?: boolean | undefined;
4268
+ category?: "FIELD" | undefined;
4269
+ sensitive?: boolean | undefined;
4270
+ order?: number | undefined;
4271
+ } | {
4272
+ type: "PHONE";
4273
+ id: string;
4274
+ config: {
4275
+ label?: string | undefined;
4276
+ placeholder?: string | undefined;
4277
+ };
4278
+ visible: boolean;
4279
+ required?: boolean | undefined;
4280
+ category?: "FIELD" | undefined;
4281
+ sensitive?: boolean | undefined;
4282
+ order?: number | undefined;
3743
4283
  })[];
3744
4284
  next_node?: string | undefined;
3745
4285
  }, {
@@ -3784,6 +4324,42 @@ declare const formSchema: z.ZodObject<{
3784
4324
  category?: "BLOCK" | undefined;
3785
4325
  order?: number | undefined;
3786
4326
  visible?: boolean | undefined;
4327
+ } | {
4328
+ type: "EMAIL";
4329
+ id: string;
4330
+ config: {
4331
+ label?: string | undefined;
4332
+ placeholder?: string | undefined;
4333
+ };
4334
+ required?: boolean | undefined;
4335
+ category?: "FIELD" | undefined;
4336
+ sensitive?: boolean | undefined;
4337
+ order?: number | undefined;
4338
+ visible?: boolean | undefined;
4339
+ } | {
4340
+ type: "NUMBER";
4341
+ id: string;
4342
+ config: {
4343
+ label?: string | undefined;
4344
+ placeholder?: string | undefined;
4345
+ };
4346
+ required?: boolean | undefined;
4347
+ category?: "FIELD" | undefined;
4348
+ sensitive?: boolean | undefined;
4349
+ order?: number | undefined;
4350
+ visible?: boolean | undefined;
4351
+ } | {
4352
+ type: "PHONE";
4353
+ id: string;
4354
+ config: {
4355
+ label?: string | undefined;
4356
+ placeholder?: string | undefined;
4357
+ };
4358
+ required?: boolean | undefined;
4359
+ category?: "FIELD" | undefined;
4360
+ sensitive?: boolean | undefined;
4361
+ order?: number | undefined;
4362
+ visible?: boolean | undefined;
3787
4363
  })[];
3788
4364
  next_node?: string | undefined;
3789
4365
  }>;
@@ -3832,6 +4408,42 @@ declare const formSchema: z.ZodObject<{
3832
4408
  visible: boolean;
3833
4409
  category?: "BLOCK" | undefined;
3834
4410
  order?: number | undefined;
4411
+ } | {
4412
+ type: "EMAIL";
4413
+ id: string;
4414
+ config: {
4415
+ label?: string | undefined;
4416
+ placeholder?: string | undefined;
4417
+ };
4418
+ visible: boolean;
4419
+ required?: boolean | undefined;
4420
+ category?: "FIELD" | undefined;
4421
+ sensitive?: boolean | undefined;
4422
+ order?: number | undefined;
4423
+ } | {
4424
+ type: "NUMBER";
4425
+ id: string;
4426
+ config: {
4427
+ label?: string | undefined;
4428
+ placeholder?: string | undefined;
4429
+ };
4430
+ visible: boolean;
4431
+ required?: boolean | undefined;
4432
+ category?: "FIELD" | undefined;
4433
+ sensitive?: boolean | undefined;
4434
+ order?: number | undefined;
4435
+ } | {
4436
+ type: "PHONE";
4437
+ id: string;
4438
+ config: {
4439
+ label?: string | undefined;
4440
+ placeholder?: string | undefined;
4441
+ };
4442
+ visible: boolean;
4443
+ required?: boolean | undefined;
4444
+ category?: "FIELD" | undefined;
4445
+ sensitive?: boolean | undefined;
4446
+ order?: number | undefined;
3835
4447
  })[];
3836
4448
  next_node?: string | undefined;
3837
4449
  };
@@ -3885,6 +4497,42 @@ declare const formSchema: z.ZodObject<{
3885
4497
  category?: "BLOCK" | undefined;
3886
4498
  order?: number | undefined;
3887
4499
  visible?: boolean | undefined;
4500
+ } | {
4501
+ type: "EMAIL";
4502
+ id: string;
4503
+ config: {
4504
+ label?: string | undefined;
4505
+ placeholder?: string | undefined;
4506
+ };
4507
+ required?: boolean | undefined;
4508
+ category?: "FIELD" | undefined;
4509
+ sensitive?: boolean | undefined;
4510
+ order?: number | undefined;
4511
+ visible?: boolean | undefined;
4512
+ } | {
4513
+ type: "NUMBER";
4514
+ id: string;
4515
+ config: {
4516
+ label?: string | undefined;
4517
+ placeholder?: string | undefined;
4518
+ };
4519
+ required?: boolean | undefined;
4520
+ category?: "FIELD" | undefined;
4521
+ sensitive?: boolean | undefined;
4522
+ order?: number | undefined;
4523
+ visible?: boolean | undefined;
4524
+ } | {
4525
+ type: "PHONE";
4526
+ id: string;
4527
+ config: {
4528
+ label?: string | undefined;
4529
+ placeholder?: string | undefined;
4530
+ };
4531
+ required?: boolean | undefined;
4532
+ category?: "FIELD" | undefined;
4533
+ sensitive?: boolean | undefined;
4534
+ order?: number | undefined;
4535
+ visible?: boolean | undefined;
3888
4536
  })[];
3889
4537
  next_node?: string | undefined;
3890
4538
  };
@@ -4100,6 +4748,42 @@ declare const formSchema: z.ZodObject<{
4100
4748
  visible: boolean;
4101
4749
  category?: "BLOCK" | undefined;
4102
4750
  order?: number | undefined;
4751
+ } | {
4752
+ type: "EMAIL";
4753
+ id: string;
4754
+ config: {
4755
+ label?: string | undefined;
4756
+ placeholder?: string | undefined;
4757
+ };
4758
+ visible: boolean;
4759
+ required?: boolean | undefined;
4760
+ category?: "FIELD" | undefined;
4761
+ sensitive?: boolean | undefined;
4762
+ order?: number | undefined;
4763
+ } | {
4764
+ type: "NUMBER";
4765
+ id: string;
4766
+ config: {
4767
+ label?: string | undefined;
4768
+ placeholder?: string | undefined;
4769
+ };
4770
+ visible: boolean;
4771
+ required?: boolean | undefined;
4772
+ category?: "FIELD" | undefined;
4773
+ sensitive?: boolean | undefined;
4774
+ order?: number | undefined;
4775
+ } | {
4776
+ type: "PHONE";
4777
+ id: string;
4778
+ config: {
4779
+ label?: string | undefined;
4780
+ placeholder?: string | undefined;
4781
+ };
4782
+ visible: boolean;
4783
+ required?: boolean | undefined;
4784
+ category?: "FIELD" | undefined;
4785
+ sensitive?: boolean | undefined;
4786
+ order?: number | undefined;
4103
4787
  })[];
4104
4788
  next_node?: string | undefined;
4105
4789
  };
@@ -4225,6 +4909,42 @@ declare const formSchema: z.ZodObject<{
4225
4909
  category?: "BLOCK" | undefined;
4226
4910
  order?: number | undefined;
4227
4911
  visible?: boolean | undefined;
4912
+ } | {
4913
+ type: "EMAIL";
4914
+ id: string;
4915
+ config: {
4916
+ label?: string | undefined;
4917
+ placeholder?: string | undefined;
4918
+ };
4919
+ required?: boolean | undefined;
4920
+ category?: "FIELD" | undefined;
4921
+ sensitive?: boolean | undefined;
4922
+ order?: number | undefined;
4923
+ visible?: boolean | undefined;
4924
+ } | {
4925
+ type: "NUMBER";
4926
+ id: string;
4927
+ config: {
4928
+ label?: string | undefined;
4929
+ placeholder?: string | undefined;
4930
+ };
4931
+ required?: boolean | undefined;
4932
+ category?: "FIELD" | undefined;
4933
+ sensitive?: boolean | undefined;
4934
+ order?: number | undefined;
4935
+ visible?: boolean | undefined;
4936
+ } | {
4937
+ type: "PHONE";
4938
+ id: string;
4939
+ config: {
4940
+ label?: string | undefined;
4941
+ placeholder?: string | undefined;
4942
+ };
4943
+ required?: boolean | undefined;
4944
+ category?: "FIELD" | undefined;
4945
+ sensitive?: boolean | undefined;
4946
+ order?: number | undefined;
4947
+ visible?: boolean | undefined;
4228
4948
  })[];
4229
4949
  next_node?: string | undefined;
4230
4950
  };
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "type": "git",
12
12
  "url": "https://github.com/markusahlstrand/authhero"
13
13
  },
14
- "version": "10.64.0",
14
+ "version": "10.64.1",
15
15
  "files": [
16
16
  "dist"
17
17
  ],
@@ -42,7 +42,7 @@
42
42
  "dependencies": {
43
43
  "kysely": "^0.27.4",
44
44
  "nanoid": "^5.0.8",
45
- "@authhero/adapter-interfaces": "^0.105.0"
45
+ "@authhero/adapter-interfaces": "^0.106.0"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@hono/zod-openapi": "^0.19.2",