authhero 0.290.0 → 0.290.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.
@@ -10066,7 +10066,11 @@ export type FormControl = z.infer<typeof formControlSchema>;
10066
10066
  export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
10067
10067
  z.ZodObject<{
10068
10068
  id: z.ZodString;
10069
+ order: z.ZodOptional<z.ZodNumber>;
10070
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10071
+ } & {
10069
10072
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10073
+ } & {
10070
10074
  type: z.ZodLiteral<"RICH_TEXT">;
10071
10075
  config: z.ZodObject<{
10072
10076
  content: z.ZodString;
@@ -10075,8 +10079,6 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10075
10079
  }, {
10076
10080
  content: string;
10077
10081
  }>;
10078
- order: z.ZodOptional<z.ZodNumber>;
10079
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10080
10082
  }, "strip", z.ZodTypeAny, {
10081
10083
  type: "RICH_TEXT";
10082
10084
  id: string;
@@ -10096,9 +10098,15 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10096
10098
  order?: number | undefined;
10097
10099
  visible?: boolean | undefined;
10098
10100
  }>,
10099
- z.ZodObject<{
10101
+ z.ZodObject<Omit<{
10100
10102
  id: z.ZodString;
10103
+ order: z.ZodOptional<z.ZodNumber>;
10104
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10105
+ } & {
10101
10106
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10107
+ required: z.ZodOptional<z.ZodBoolean>;
10108
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10109
+ }, "sensitive"> & {
10102
10110
  type: z.ZodLiteral<"LEGAL">;
10103
10111
  config: z.ZodObject<{
10104
10112
  text: z.ZodString;
@@ -10110,9 +10118,6 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10110
10118
  text: string;
10111
10119
  html?: boolean | undefined;
10112
10120
  }>;
10113
- required: z.ZodOptional<z.ZodBoolean>;
10114
- order: z.ZodOptional<z.ZodNumber>;
10115
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10116
10121
  }, "strip", z.ZodTypeAny, {
10117
10122
  type: "LEGAL";
10118
10123
  id: string;
@@ -10138,7 +10143,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10138
10143
  }>,
10139
10144
  z.ZodObject<{
10140
10145
  id: z.ZodString;
10146
+ order: z.ZodOptional<z.ZodNumber>;
10147
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10148
+ } & {
10141
10149
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10150
+ required: z.ZodOptional<z.ZodBoolean>;
10151
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10152
+ } & {
10142
10153
  type: z.ZodLiteral<"TEXT">;
10143
10154
  config: z.ZodObject<{
10144
10155
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10150,10 +10161,6 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10150
10161
  placeholder?: string | undefined;
10151
10162
  multiline?: boolean | undefined;
10152
10163
  }>;
10153
- required: z.ZodOptional<z.ZodBoolean>;
10154
- sensitive: z.ZodOptional<z.ZodBoolean>;
10155
- order: z.ZodOptional<z.ZodNumber>;
10156
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10157
10164
  }, "strip", z.ZodTypeAny, {
10158
10165
  type: "TEXT";
10159
10166
  id: string;
@@ -10181,7 +10188,11 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10181
10188
  }>,
10182
10189
  z.ZodObject<{
10183
10190
  id: z.ZodString;
10191
+ order: z.ZodOptional<z.ZodNumber>;
10192
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10193
+ } & {
10184
10194
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10195
+ } & {
10185
10196
  type: z.ZodLiteral<"NEXT_BUTTON">;
10186
10197
  config: z.ZodObject<{
10187
10198
  text: z.ZodOptional<z.ZodString>;
@@ -10190,8 +10201,6 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10190
10201
  }, {
10191
10202
  text?: string | undefined;
10192
10203
  }>;
10193
- order: z.ZodOptional<z.ZodNumber>;
10194
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10195
10204
  }, "strip", z.ZodTypeAny, {
10196
10205
  type: "NEXT_BUTTON";
10197
10206
  id: string;
@@ -10210,6 +10219,141 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10210
10219
  category?: "BLOCK" | undefined;
10211
10220
  order?: number | undefined;
10212
10221
  visible?: boolean | undefined;
10222
+ }>,
10223
+ z.ZodObject<{
10224
+ id: z.ZodString;
10225
+ order: z.ZodOptional<z.ZodNumber>;
10226
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10227
+ } & {
10228
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10229
+ required: z.ZodOptional<z.ZodBoolean>;
10230
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10231
+ } & {
10232
+ type: z.ZodLiteral<"EMAIL">;
10233
+ config: z.ZodObject<{
10234
+ label: z.ZodOptional<z.ZodString>;
10235
+ placeholder: z.ZodOptional<z.ZodString>;
10236
+ }, "strip", z.ZodTypeAny, {
10237
+ label?: string | undefined;
10238
+ placeholder?: string | undefined;
10239
+ }, {
10240
+ label?: string | undefined;
10241
+ placeholder?: string | undefined;
10242
+ }>;
10243
+ }, "strip", z.ZodTypeAny, {
10244
+ type: "EMAIL";
10245
+ id: string;
10246
+ config: {
10247
+ label?: string | undefined;
10248
+ placeholder?: string | undefined;
10249
+ };
10250
+ visible: boolean;
10251
+ required?: boolean | undefined;
10252
+ category?: "FIELD" | undefined;
10253
+ sensitive?: boolean | undefined;
10254
+ order?: number | undefined;
10255
+ }, {
10256
+ type: "EMAIL";
10257
+ id: string;
10258
+ config: {
10259
+ label?: string | undefined;
10260
+ placeholder?: string | undefined;
10261
+ };
10262
+ required?: boolean | undefined;
10263
+ category?: "FIELD" | undefined;
10264
+ sensitive?: boolean | undefined;
10265
+ order?: number | undefined;
10266
+ visible?: boolean | undefined;
10267
+ }>,
10268
+ z.ZodObject<{
10269
+ id: z.ZodString;
10270
+ order: z.ZodOptional<z.ZodNumber>;
10271
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10272
+ } & {
10273
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10274
+ required: z.ZodOptional<z.ZodBoolean>;
10275
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10276
+ } & {
10277
+ type: z.ZodLiteral<"NUMBER">;
10278
+ config: z.ZodObject<{
10279
+ label: z.ZodOptional<z.ZodString>;
10280
+ placeholder: z.ZodOptional<z.ZodString>;
10281
+ }, "strip", z.ZodTypeAny, {
10282
+ label?: string | undefined;
10283
+ placeholder?: string | undefined;
10284
+ }, {
10285
+ label?: string | undefined;
10286
+ placeholder?: string | undefined;
10287
+ }>;
10288
+ }, "strip", z.ZodTypeAny, {
10289
+ type: "NUMBER";
10290
+ id: string;
10291
+ config: {
10292
+ label?: string | undefined;
10293
+ placeholder?: string | undefined;
10294
+ };
10295
+ visible: boolean;
10296
+ required?: boolean | undefined;
10297
+ category?: "FIELD" | undefined;
10298
+ sensitive?: boolean | undefined;
10299
+ order?: number | undefined;
10300
+ }, {
10301
+ type: "NUMBER";
10302
+ id: string;
10303
+ config: {
10304
+ label?: string | undefined;
10305
+ placeholder?: string | undefined;
10306
+ };
10307
+ required?: boolean | undefined;
10308
+ category?: "FIELD" | undefined;
10309
+ sensitive?: boolean | undefined;
10310
+ order?: number | undefined;
10311
+ visible?: boolean | undefined;
10312
+ }>,
10313
+ z.ZodObject<{
10314
+ id: z.ZodString;
10315
+ order: z.ZodOptional<z.ZodNumber>;
10316
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10317
+ } & {
10318
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10319
+ required: z.ZodOptional<z.ZodBoolean>;
10320
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10321
+ } & {
10322
+ type: z.ZodLiteral<"PHONE">;
10323
+ config: z.ZodObject<{
10324
+ label: z.ZodOptional<z.ZodString>;
10325
+ placeholder: z.ZodOptional<z.ZodString>;
10326
+ }, "strip", z.ZodTypeAny, {
10327
+ label?: string | undefined;
10328
+ placeholder?: string | undefined;
10329
+ }, {
10330
+ label?: string | undefined;
10331
+ placeholder?: string | undefined;
10332
+ }>;
10333
+ }, "strip", z.ZodTypeAny, {
10334
+ type: "PHONE";
10335
+ id: string;
10336
+ config: {
10337
+ label?: string | undefined;
10338
+ placeholder?: string | undefined;
10339
+ };
10340
+ visible: boolean;
10341
+ required?: boolean | undefined;
10342
+ category?: "FIELD" | undefined;
10343
+ sensitive?: boolean | undefined;
10344
+ order?: number | undefined;
10345
+ }, {
10346
+ type: "PHONE";
10347
+ id: string;
10348
+ config: {
10349
+ label?: string | undefined;
10350
+ placeholder?: string | undefined;
10351
+ };
10352
+ required?: boolean | undefined;
10353
+ category?: "FIELD" | undefined;
10354
+ sensitive?: boolean | undefined;
10355
+ order?: number | undefined;
10356
+ visible?: boolean | undefined;
10213
10357
  }>
10214
10358
  ]>;
10215
10359
  export type FormNodeComponent = z.infer<typeof formNodeComponentDefinition>;
@@ -10391,7 +10535,11 @@ export declare const formInsertSchema: z.ZodObject<{
10391
10535
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
10392
10536
  z.ZodObject<{
10393
10537
  id: z.ZodString;
10538
+ order: z.ZodOptional<z.ZodNumber>;
10539
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10540
+ } & {
10394
10541
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10542
+ } & {
10395
10543
  type: z.ZodLiteral<"RICH_TEXT">;
10396
10544
  config: z.ZodObject<{
10397
10545
  content: z.ZodString;
@@ -10400,8 +10548,6 @@ export declare const formInsertSchema: z.ZodObject<{
10400
10548
  }, {
10401
10549
  content: string;
10402
10550
  }>;
10403
- order: z.ZodOptional<z.ZodNumber>;
10404
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10405
10551
  }, "strip", z.ZodTypeAny, {
10406
10552
  type: "RICH_TEXT";
10407
10553
  id: string;
@@ -10421,9 +10567,15 @@ export declare const formInsertSchema: z.ZodObject<{
10421
10567
  order?: number | undefined;
10422
10568
  visible?: boolean | undefined;
10423
10569
  }>,
10424
- z.ZodObject<{
10570
+ z.ZodObject<Omit<{
10425
10571
  id: z.ZodString;
10572
+ order: z.ZodOptional<z.ZodNumber>;
10573
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10574
+ } & {
10426
10575
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10576
+ required: z.ZodOptional<z.ZodBoolean>;
10577
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10578
+ }, "sensitive"> & {
10427
10579
  type: z.ZodLiteral<"LEGAL">;
10428
10580
  config: z.ZodObject<{
10429
10581
  text: z.ZodString;
@@ -10435,9 +10587,6 @@ export declare const formInsertSchema: z.ZodObject<{
10435
10587
  text: string;
10436
10588
  html?: boolean | undefined;
10437
10589
  }>;
10438
- required: z.ZodOptional<z.ZodBoolean>;
10439
- order: z.ZodOptional<z.ZodNumber>;
10440
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10441
10590
  }, "strip", z.ZodTypeAny, {
10442
10591
  type: "LEGAL";
10443
10592
  id: string;
@@ -10463,7 +10612,13 @@ export declare const formInsertSchema: z.ZodObject<{
10463
10612
  }>,
10464
10613
  z.ZodObject<{
10465
10614
  id: z.ZodString;
10615
+ order: z.ZodOptional<z.ZodNumber>;
10616
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10617
+ } & {
10466
10618
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10619
+ required: z.ZodOptional<z.ZodBoolean>;
10620
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10621
+ } & {
10467
10622
  type: z.ZodLiteral<"TEXT">;
10468
10623
  config: z.ZodObject<{
10469
10624
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10475,10 +10630,6 @@ export declare const formInsertSchema: z.ZodObject<{
10475
10630
  placeholder?: string | undefined;
10476
10631
  multiline?: boolean | undefined;
10477
10632
  }>;
10478
- required: z.ZodOptional<z.ZodBoolean>;
10479
- sensitive: z.ZodOptional<z.ZodBoolean>;
10480
- order: z.ZodOptional<z.ZodNumber>;
10481
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10482
10633
  }, "strip", z.ZodTypeAny, {
10483
10634
  type: "TEXT";
10484
10635
  id: string;
@@ -10506,7 +10657,11 @@ export declare const formInsertSchema: z.ZodObject<{
10506
10657
  }>,
10507
10658
  z.ZodObject<{
10508
10659
  id: z.ZodString;
10660
+ order: z.ZodOptional<z.ZodNumber>;
10661
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10662
+ } & {
10509
10663
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10664
+ } & {
10510
10665
  type: z.ZodLiteral<"NEXT_BUTTON">;
10511
10666
  config: z.ZodObject<{
10512
10667
  text: z.ZodOptional<z.ZodString>;
@@ -10515,8 +10670,6 @@ export declare const formInsertSchema: z.ZodObject<{
10515
10670
  }, {
10516
10671
  text?: string | undefined;
10517
10672
  }>;
10518
- order: z.ZodOptional<z.ZodNumber>;
10519
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10520
10673
  }, "strip", z.ZodTypeAny, {
10521
10674
  type: "NEXT_BUTTON";
10522
10675
  id: string;
@@ -10535,6 +10688,141 @@ export declare const formInsertSchema: z.ZodObject<{
10535
10688
  category?: "BLOCK" | undefined;
10536
10689
  order?: number | undefined;
10537
10690
  visible?: boolean | undefined;
10691
+ }>,
10692
+ z.ZodObject<{
10693
+ id: z.ZodString;
10694
+ order: z.ZodOptional<z.ZodNumber>;
10695
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10696
+ } & {
10697
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10698
+ required: z.ZodOptional<z.ZodBoolean>;
10699
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10700
+ } & {
10701
+ type: z.ZodLiteral<"EMAIL">;
10702
+ config: z.ZodObject<{
10703
+ label: z.ZodOptional<z.ZodString>;
10704
+ placeholder: z.ZodOptional<z.ZodString>;
10705
+ }, "strip", z.ZodTypeAny, {
10706
+ label?: string | undefined;
10707
+ placeholder?: string | undefined;
10708
+ }, {
10709
+ label?: string | undefined;
10710
+ placeholder?: string | undefined;
10711
+ }>;
10712
+ }, "strip", z.ZodTypeAny, {
10713
+ type: "EMAIL";
10714
+ id: string;
10715
+ config: {
10716
+ label?: string | undefined;
10717
+ placeholder?: string | undefined;
10718
+ };
10719
+ visible: boolean;
10720
+ required?: boolean | undefined;
10721
+ category?: "FIELD" | undefined;
10722
+ sensitive?: boolean | undefined;
10723
+ order?: number | undefined;
10724
+ }, {
10725
+ type: "EMAIL";
10726
+ id: string;
10727
+ config: {
10728
+ label?: string | undefined;
10729
+ placeholder?: string | undefined;
10730
+ };
10731
+ required?: boolean | undefined;
10732
+ category?: "FIELD" | undefined;
10733
+ sensitive?: boolean | undefined;
10734
+ order?: number | undefined;
10735
+ visible?: boolean | undefined;
10736
+ }>,
10737
+ z.ZodObject<{
10738
+ id: z.ZodString;
10739
+ order: z.ZodOptional<z.ZodNumber>;
10740
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10741
+ } & {
10742
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10743
+ required: z.ZodOptional<z.ZodBoolean>;
10744
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10745
+ } & {
10746
+ type: z.ZodLiteral<"NUMBER">;
10747
+ config: z.ZodObject<{
10748
+ label: z.ZodOptional<z.ZodString>;
10749
+ placeholder: z.ZodOptional<z.ZodString>;
10750
+ }, "strip", z.ZodTypeAny, {
10751
+ label?: string | undefined;
10752
+ placeholder?: string | undefined;
10753
+ }, {
10754
+ label?: string | undefined;
10755
+ placeholder?: string | undefined;
10756
+ }>;
10757
+ }, "strip", z.ZodTypeAny, {
10758
+ type: "NUMBER";
10759
+ id: string;
10760
+ config: {
10761
+ label?: string | undefined;
10762
+ placeholder?: string | undefined;
10763
+ };
10764
+ visible: boolean;
10765
+ required?: boolean | undefined;
10766
+ category?: "FIELD" | undefined;
10767
+ sensitive?: boolean | undefined;
10768
+ order?: number | undefined;
10769
+ }, {
10770
+ type: "NUMBER";
10771
+ id: string;
10772
+ config: {
10773
+ label?: string | undefined;
10774
+ placeholder?: string | undefined;
10775
+ };
10776
+ required?: boolean | undefined;
10777
+ category?: "FIELD" | undefined;
10778
+ sensitive?: boolean | undefined;
10779
+ order?: number | undefined;
10780
+ visible?: boolean | undefined;
10781
+ }>,
10782
+ z.ZodObject<{
10783
+ id: z.ZodString;
10784
+ order: z.ZodOptional<z.ZodNumber>;
10785
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10786
+ } & {
10787
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10788
+ required: z.ZodOptional<z.ZodBoolean>;
10789
+ sensitive: z.ZodOptional<z.ZodBoolean>;
10790
+ } & {
10791
+ type: z.ZodLiteral<"PHONE">;
10792
+ config: z.ZodObject<{
10793
+ label: z.ZodOptional<z.ZodString>;
10794
+ placeholder: z.ZodOptional<z.ZodString>;
10795
+ }, "strip", z.ZodTypeAny, {
10796
+ label?: string | undefined;
10797
+ placeholder?: string | undefined;
10798
+ }, {
10799
+ label?: string | undefined;
10800
+ placeholder?: string | undefined;
10801
+ }>;
10802
+ }, "strip", z.ZodTypeAny, {
10803
+ type: "PHONE";
10804
+ id: string;
10805
+ config: {
10806
+ label?: string | undefined;
10807
+ placeholder?: string | undefined;
10808
+ };
10809
+ visible: boolean;
10810
+ required?: boolean | undefined;
10811
+ category?: "FIELD" | undefined;
10812
+ sensitive?: boolean | undefined;
10813
+ order?: number | undefined;
10814
+ }, {
10815
+ type: "PHONE";
10816
+ id: string;
10817
+ config: {
10818
+ label?: string | undefined;
10819
+ placeholder?: string | undefined;
10820
+ };
10821
+ required?: boolean | undefined;
10822
+ category?: "FIELD" | undefined;
10823
+ sensitive?: boolean | undefined;
10824
+ order?: number | undefined;
10825
+ visible?: boolean | undefined;
10538
10826
  }>
10539
10827
  ]>, "many">;
10540
10828
  next_node: z.ZodOptional<z.ZodString>;
@@ -10580,6 +10868,42 @@ export declare const formInsertSchema: z.ZodObject<{
10580
10868
  visible: boolean;
10581
10869
  category?: "BLOCK" | undefined;
10582
10870
  order?: number | undefined;
10871
+ } | {
10872
+ type: "EMAIL";
10873
+ id: string;
10874
+ config: {
10875
+ label?: string | undefined;
10876
+ placeholder?: string | undefined;
10877
+ };
10878
+ visible: boolean;
10879
+ required?: boolean | undefined;
10880
+ category?: "FIELD" | undefined;
10881
+ sensitive?: boolean | undefined;
10882
+ order?: number | undefined;
10883
+ } | {
10884
+ type: "NUMBER";
10885
+ id: string;
10886
+ config: {
10887
+ label?: string | undefined;
10888
+ placeholder?: string | undefined;
10889
+ };
10890
+ visible: boolean;
10891
+ required?: boolean | undefined;
10892
+ category?: "FIELD" | undefined;
10893
+ sensitive?: boolean | undefined;
10894
+ order?: number | undefined;
10895
+ } | {
10896
+ type: "PHONE";
10897
+ id: string;
10898
+ config: {
10899
+ label?: string | undefined;
10900
+ placeholder?: string | undefined;
10901
+ };
10902
+ visible: boolean;
10903
+ required?: boolean | undefined;
10904
+ category?: "FIELD" | undefined;
10905
+ sensitive?: boolean | undefined;
10906
+ order?: number | undefined;
10583
10907
  })[];
10584
10908
  next_node?: string | undefined;
10585
10909
  }, {
@@ -10623,40 +10947,109 @@ export declare const formInsertSchema: z.ZodObject<{
10623
10947
  };
10624
10948
  category?: "BLOCK" | undefined;
10625
10949
  order?: number | undefined;
10626
- visible?: boolean | undefined;
10627
- })[];
10628
- next_node?: string | undefined;
10629
- }>;
10630
- }, "strip", z.ZodTypeAny, {
10631
- type: "STEP";
10632
- id: string;
10633
- config: {
10634
- components: ({
10635
- type: "RICH_TEXT";
10950
+ visible?: boolean | undefined;
10951
+ } | {
10952
+ type: "EMAIL";
10953
+ id: string;
10954
+ config: {
10955
+ label?: string | undefined;
10956
+ placeholder?: string | undefined;
10957
+ };
10958
+ required?: boolean | undefined;
10959
+ category?: "FIELD" | undefined;
10960
+ sensitive?: boolean | undefined;
10961
+ order?: number | undefined;
10962
+ visible?: boolean | undefined;
10963
+ } | {
10964
+ type: "NUMBER";
10965
+ id: string;
10966
+ config: {
10967
+ label?: string | undefined;
10968
+ placeholder?: string | undefined;
10969
+ };
10970
+ required?: boolean | undefined;
10971
+ category?: "FIELD" | undefined;
10972
+ sensitive?: boolean | undefined;
10973
+ order?: number | undefined;
10974
+ visible?: boolean | undefined;
10975
+ } | {
10976
+ type: "PHONE";
10977
+ id: string;
10978
+ config: {
10979
+ label?: string | undefined;
10980
+ placeholder?: string | undefined;
10981
+ };
10982
+ required?: boolean | undefined;
10983
+ category?: "FIELD" | undefined;
10984
+ sensitive?: boolean | undefined;
10985
+ order?: number | undefined;
10986
+ visible?: boolean | undefined;
10987
+ })[];
10988
+ next_node?: string | undefined;
10989
+ }>;
10990
+ }, "strip", z.ZodTypeAny, {
10991
+ type: "STEP";
10992
+ id: string;
10993
+ config: {
10994
+ components: ({
10995
+ type: "RICH_TEXT";
10996
+ id: string;
10997
+ config: {
10998
+ content: string;
10999
+ };
11000
+ visible: boolean;
11001
+ category?: "BLOCK" | undefined;
11002
+ order?: number | undefined;
11003
+ } | {
11004
+ type: "LEGAL";
11005
+ id: string;
11006
+ config: {
11007
+ text: string;
11008
+ html?: boolean | undefined;
11009
+ };
11010
+ visible: boolean;
11011
+ required?: boolean | undefined;
11012
+ category?: "FIELD" | undefined;
11013
+ order?: number | undefined;
11014
+ } | {
11015
+ type: "TEXT";
11016
+ id: string;
11017
+ config: {
11018
+ placeholder?: string | undefined;
11019
+ multiline?: boolean | undefined;
11020
+ };
11021
+ visible: boolean;
11022
+ required?: boolean | undefined;
11023
+ category?: "FIELD" | undefined;
11024
+ sensitive?: boolean | undefined;
11025
+ order?: number | undefined;
11026
+ } | {
11027
+ type: "NEXT_BUTTON";
10636
11028
  id: string;
10637
11029
  config: {
10638
- content: string;
11030
+ text?: string | undefined;
10639
11031
  };
10640
11032
  visible: boolean;
10641
11033
  category?: "BLOCK" | undefined;
10642
11034
  order?: number | undefined;
10643
11035
  } | {
10644
- type: "LEGAL";
11036
+ type: "EMAIL";
10645
11037
  id: string;
10646
11038
  config: {
10647
- text: string;
10648
- html?: boolean | undefined;
11039
+ label?: string | undefined;
11040
+ placeholder?: string | undefined;
10649
11041
  };
10650
11042
  visible: boolean;
10651
11043
  required?: boolean | undefined;
10652
11044
  category?: "FIELD" | undefined;
11045
+ sensitive?: boolean | undefined;
10653
11046
  order?: number | undefined;
10654
11047
  } | {
10655
- type: "TEXT";
11048
+ type: "NUMBER";
10656
11049
  id: string;
10657
11050
  config: {
11051
+ label?: string | undefined;
10658
11052
  placeholder?: string | undefined;
10659
- multiline?: boolean | undefined;
10660
11053
  };
10661
11054
  visible: boolean;
10662
11055
  required?: boolean | undefined;
@@ -10664,13 +11057,16 @@ export declare const formInsertSchema: z.ZodObject<{
10664
11057
  sensitive?: boolean | undefined;
10665
11058
  order?: number | undefined;
10666
11059
  } | {
10667
- type: "NEXT_BUTTON";
11060
+ type: "PHONE";
10668
11061
  id: string;
10669
11062
  config: {
10670
- text?: string | undefined;
11063
+ label?: string | undefined;
11064
+ placeholder?: string | undefined;
10671
11065
  };
10672
11066
  visible: boolean;
10673
- category?: "BLOCK" | undefined;
11067
+ required?: boolean | undefined;
11068
+ category?: "FIELD" | undefined;
11069
+ sensitive?: boolean | undefined;
10674
11070
  order?: number | undefined;
10675
11071
  })[];
10676
11072
  next_node?: string | undefined;
@@ -10725,6 +11121,42 @@ export declare const formInsertSchema: z.ZodObject<{
10725
11121
  category?: "BLOCK" | undefined;
10726
11122
  order?: number | undefined;
10727
11123
  visible?: boolean | undefined;
11124
+ } | {
11125
+ type: "EMAIL";
11126
+ id: string;
11127
+ config: {
11128
+ label?: string | undefined;
11129
+ placeholder?: string | undefined;
11130
+ };
11131
+ required?: boolean | undefined;
11132
+ category?: "FIELD" | undefined;
11133
+ sensitive?: boolean | undefined;
11134
+ order?: number | undefined;
11135
+ visible?: boolean | undefined;
11136
+ } | {
11137
+ type: "NUMBER";
11138
+ id: string;
11139
+ config: {
11140
+ label?: string | undefined;
11141
+ placeholder?: string | undefined;
11142
+ };
11143
+ required?: boolean | undefined;
11144
+ category?: "FIELD" | undefined;
11145
+ sensitive?: boolean | undefined;
11146
+ order?: number | undefined;
11147
+ visible?: boolean | undefined;
11148
+ } | {
11149
+ type: "PHONE";
11150
+ id: string;
11151
+ config: {
11152
+ label?: string | undefined;
11153
+ placeholder?: string | undefined;
11154
+ };
11155
+ required?: boolean | undefined;
11156
+ category?: "FIELD" | undefined;
11157
+ sensitive?: boolean | undefined;
11158
+ order?: number | undefined;
11159
+ visible?: boolean | undefined;
10728
11160
  })[];
10729
11161
  next_node?: string | undefined;
10730
11162
  };
@@ -10935,6 +11367,42 @@ export declare const formInsertSchema: z.ZodObject<{
10935
11367
  visible: boolean;
10936
11368
  category?: "BLOCK" | undefined;
10937
11369
  order?: number | undefined;
11370
+ } | {
11371
+ type: "EMAIL";
11372
+ id: string;
11373
+ config: {
11374
+ label?: string | undefined;
11375
+ placeholder?: string | undefined;
11376
+ };
11377
+ visible: boolean;
11378
+ required?: boolean | undefined;
11379
+ category?: "FIELD" | undefined;
11380
+ sensitive?: boolean | undefined;
11381
+ order?: number | undefined;
11382
+ } | {
11383
+ type: "NUMBER";
11384
+ id: string;
11385
+ config: {
11386
+ label?: string | undefined;
11387
+ placeholder?: string | undefined;
11388
+ };
11389
+ visible: boolean;
11390
+ required?: boolean | undefined;
11391
+ category?: "FIELD" | undefined;
11392
+ sensitive?: boolean | undefined;
11393
+ order?: number | undefined;
11394
+ } | {
11395
+ type: "PHONE";
11396
+ id: string;
11397
+ config: {
11398
+ label?: string | undefined;
11399
+ placeholder?: string | undefined;
11400
+ };
11401
+ visible: boolean;
11402
+ required?: boolean | undefined;
11403
+ category?: "FIELD" | undefined;
11404
+ sensitive?: boolean | undefined;
11405
+ order?: number | undefined;
10938
11406
  })[];
10939
11407
  next_node?: string | undefined;
10940
11408
  };
@@ -11057,6 +11525,42 @@ export declare const formInsertSchema: z.ZodObject<{
11057
11525
  category?: "BLOCK" | undefined;
11058
11526
  order?: number | undefined;
11059
11527
  visible?: boolean | undefined;
11528
+ } | {
11529
+ type: "EMAIL";
11530
+ id: string;
11531
+ config: {
11532
+ label?: string | undefined;
11533
+ placeholder?: string | undefined;
11534
+ };
11535
+ required?: boolean | undefined;
11536
+ category?: "FIELD" | undefined;
11537
+ sensitive?: boolean | undefined;
11538
+ order?: number | undefined;
11539
+ visible?: boolean | undefined;
11540
+ } | {
11541
+ type: "NUMBER";
11542
+ id: string;
11543
+ config: {
11544
+ label?: string | undefined;
11545
+ placeholder?: string | undefined;
11546
+ };
11547
+ required?: boolean | undefined;
11548
+ category?: "FIELD" | undefined;
11549
+ sensitive?: boolean | undefined;
11550
+ order?: number | undefined;
11551
+ visible?: boolean | undefined;
11552
+ } | {
11553
+ type: "PHONE";
11554
+ id: string;
11555
+ config: {
11556
+ label?: string | undefined;
11557
+ placeholder?: string | undefined;
11558
+ };
11559
+ required?: boolean | undefined;
11560
+ category?: "FIELD" | undefined;
11561
+ sensitive?: boolean | undefined;
11562
+ order?: number | undefined;
11563
+ visible?: boolean | undefined;
11060
11564
  })[];
11061
11565
  next_node?: string | undefined;
11062
11566
  };
@@ -11266,7 +11770,11 @@ export declare const formSchema: z.ZodObject<{
11266
11770
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
11267
11771
  z.ZodObject<{
11268
11772
  id: z.ZodString;
11773
+ order: z.ZodOptional<z.ZodNumber>;
11774
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11775
+ } & {
11269
11776
  category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11777
+ } & {
11270
11778
  type: z.ZodLiteral<"RICH_TEXT">;
11271
11779
  config: z.ZodObject<{
11272
11780
  content: z.ZodString;
@@ -11275,8 +11783,6 @@ export declare const formSchema: z.ZodObject<{
11275
11783
  }, {
11276
11784
  content: string;
11277
11785
  }>;
11278
- order: z.ZodOptional<z.ZodNumber>;
11279
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11280
11786
  }, "strip", z.ZodTypeAny, {
11281
11787
  type: "RICH_TEXT";
11282
11788
  id: string;
@@ -11296,70 +11802,199 @@ export declare const formSchema: z.ZodObject<{
11296
11802
  order?: number | undefined;
11297
11803
  visible?: boolean | undefined;
11298
11804
  }>,
11805
+ z.ZodObject<Omit<{
11806
+ id: z.ZodString;
11807
+ order: z.ZodOptional<z.ZodNumber>;
11808
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11809
+ } & {
11810
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11811
+ required: z.ZodOptional<z.ZodBoolean>;
11812
+ sensitive: z.ZodOptional<z.ZodBoolean>;
11813
+ }, "sensitive"> & {
11814
+ type: z.ZodLiteral<"LEGAL">;
11815
+ config: z.ZodObject<{
11816
+ text: z.ZodString;
11817
+ html: z.ZodOptional<z.ZodBoolean>;
11818
+ }, "strip", z.ZodTypeAny, {
11819
+ text: string;
11820
+ html?: boolean | undefined;
11821
+ }, {
11822
+ text: string;
11823
+ html?: boolean | undefined;
11824
+ }>;
11825
+ }, "strip", z.ZodTypeAny, {
11826
+ type: "LEGAL";
11827
+ id: string;
11828
+ config: {
11829
+ text: string;
11830
+ html?: boolean | undefined;
11831
+ };
11832
+ visible: boolean;
11833
+ required?: boolean | undefined;
11834
+ category?: "FIELD" | undefined;
11835
+ order?: number | undefined;
11836
+ }, {
11837
+ type: "LEGAL";
11838
+ id: string;
11839
+ config: {
11840
+ text: string;
11841
+ html?: boolean | undefined;
11842
+ };
11843
+ required?: boolean | undefined;
11844
+ category?: "FIELD" | undefined;
11845
+ order?: number | undefined;
11846
+ visible?: boolean | undefined;
11847
+ }>,
11848
+ z.ZodObject<{
11849
+ id: z.ZodString;
11850
+ order: z.ZodOptional<z.ZodNumber>;
11851
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11852
+ } & {
11853
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11854
+ required: z.ZodOptional<z.ZodBoolean>;
11855
+ sensitive: z.ZodOptional<z.ZodBoolean>;
11856
+ } & {
11857
+ type: z.ZodLiteral<"TEXT">;
11858
+ config: z.ZodObject<{
11859
+ placeholder: z.ZodOptional<z.ZodString>;
11860
+ multiline: z.ZodOptional<z.ZodBoolean>;
11861
+ }, "strip", z.ZodTypeAny, {
11862
+ placeholder?: string | undefined;
11863
+ multiline?: boolean | undefined;
11864
+ }, {
11865
+ placeholder?: string | undefined;
11866
+ multiline?: boolean | undefined;
11867
+ }>;
11868
+ }, "strip", z.ZodTypeAny, {
11869
+ type: "TEXT";
11870
+ id: string;
11871
+ config: {
11872
+ placeholder?: string | undefined;
11873
+ multiline?: boolean | undefined;
11874
+ };
11875
+ visible: boolean;
11876
+ required?: boolean | undefined;
11877
+ category?: "FIELD" | undefined;
11878
+ sensitive?: boolean | undefined;
11879
+ order?: number | undefined;
11880
+ }, {
11881
+ type: "TEXT";
11882
+ id: string;
11883
+ config: {
11884
+ placeholder?: string | undefined;
11885
+ multiline?: boolean | undefined;
11886
+ };
11887
+ required?: boolean | undefined;
11888
+ category?: "FIELD" | undefined;
11889
+ sensitive?: boolean | undefined;
11890
+ order?: number | undefined;
11891
+ visible?: boolean | undefined;
11892
+ }>,
11893
+ z.ZodObject<{
11894
+ id: z.ZodString;
11895
+ order: z.ZodOptional<z.ZodNumber>;
11896
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11897
+ } & {
11898
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11899
+ } & {
11900
+ type: z.ZodLiteral<"NEXT_BUTTON">;
11901
+ config: z.ZodObject<{
11902
+ text: z.ZodOptional<z.ZodString>;
11903
+ }, "strip", z.ZodTypeAny, {
11904
+ text?: string | undefined;
11905
+ }, {
11906
+ text?: string | undefined;
11907
+ }>;
11908
+ }, "strip", z.ZodTypeAny, {
11909
+ type: "NEXT_BUTTON";
11910
+ id: string;
11911
+ config: {
11912
+ text?: string | undefined;
11913
+ };
11914
+ visible: boolean;
11915
+ category?: "BLOCK" | undefined;
11916
+ order?: number | undefined;
11917
+ }, {
11918
+ type: "NEXT_BUTTON";
11919
+ id: string;
11920
+ config: {
11921
+ text?: string | undefined;
11922
+ };
11923
+ category?: "BLOCK" | undefined;
11924
+ order?: number | undefined;
11925
+ visible?: boolean | undefined;
11926
+ }>,
11299
11927
  z.ZodObject<{
11300
11928
  id: z.ZodString;
11929
+ order: z.ZodOptional<z.ZodNumber>;
11930
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11931
+ } & {
11301
11932
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11302
- type: z.ZodLiteral<"LEGAL">;
11933
+ required: z.ZodOptional<z.ZodBoolean>;
11934
+ sensitive: z.ZodOptional<z.ZodBoolean>;
11935
+ } & {
11936
+ type: z.ZodLiteral<"EMAIL">;
11303
11937
  config: z.ZodObject<{
11304
- text: z.ZodString;
11305
- html: z.ZodOptional<z.ZodBoolean>;
11938
+ label: z.ZodOptional<z.ZodString>;
11939
+ placeholder: z.ZodOptional<z.ZodString>;
11306
11940
  }, "strip", z.ZodTypeAny, {
11307
- text: string;
11308
- html?: boolean | undefined;
11941
+ label?: string | undefined;
11942
+ placeholder?: string | undefined;
11309
11943
  }, {
11310
- text: string;
11311
- html?: boolean | undefined;
11944
+ label?: string | undefined;
11945
+ placeholder?: string | undefined;
11312
11946
  }>;
11313
- required: z.ZodOptional<z.ZodBoolean>;
11314
- order: z.ZodOptional<z.ZodNumber>;
11315
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11316
11947
  }, "strip", z.ZodTypeAny, {
11317
- type: "LEGAL";
11948
+ type: "EMAIL";
11318
11949
  id: string;
11319
11950
  config: {
11320
- text: string;
11321
- html?: boolean | undefined;
11951
+ label?: string | undefined;
11952
+ placeholder?: string | undefined;
11322
11953
  };
11323
11954
  visible: boolean;
11324
11955
  required?: boolean | undefined;
11325
11956
  category?: "FIELD" | undefined;
11957
+ sensitive?: boolean | undefined;
11326
11958
  order?: number | undefined;
11327
11959
  }, {
11328
- type: "LEGAL";
11960
+ type: "EMAIL";
11329
11961
  id: string;
11330
11962
  config: {
11331
- text: string;
11332
- html?: boolean | undefined;
11963
+ label?: string | undefined;
11964
+ placeholder?: string | undefined;
11333
11965
  };
11334
11966
  required?: boolean | undefined;
11335
11967
  category?: "FIELD" | undefined;
11968
+ sensitive?: boolean | undefined;
11336
11969
  order?: number | undefined;
11337
11970
  visible?: boolean | undefined;
11338
11971
  }>,
11339
11972
  z.ZodObject<{
11340
11973
  id: z.ZodString;
11974
+ order: z.ZodOptional<z.ZodNumber>;
11975
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11976
+ } & {
11341
11977
  category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11342
- type: z.ZodLiteral<"TEXT">;
11978
+ required: z.ZodOptional<z.ZodBoolean>;
11979
+ sensitive: z.ZodOptional<z.ZodBoolean>;
11980
+ } & {
11981
+ type: z.ZodLiteral<"NUMBER">;
11343
11982
  config: z.ZodObject<{
11983
+ label: z.ZodOptional<z.ZodString>;
11344
11984
  placeholder: z.ZodOptional<z.ZodString>;
11345
- multiline: z.ZodOptional<z.ZodBoolean>;
11346
11985
  }, "strip", z.ZodTypeAny, {
11986
+ label?: string | undefined;
11347
11987
  placeholder?: string | undefined;
11348
- multiline?: boolean | undefined;
11349
11988
  }, {
11989
+ label?: string | undefined;
11350
11990
  placeholder?: string | undefined;
11351
- multiline?: boolean | undefined;
11352
11991
  }>;
11353
- required: z.ZodOptional<z.ZodBoolean>;
11354
- sensitive: z.ZodOptional<z.ZodBoolean>;
11355
- order: z.ZodOptional<z.ZodNumber>;
11356
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11357
11992
  }, "strip", z.ZodTypeAny, {
11358
- type: "TEXT";
11993
+ type: "NUMBER";
11359
11994
  id: string;
11360
11995
  config: {
11996
+ label?: string | undefined;
11361
11997
  placeholder?: string | undefined;
11362
- multiline?: boolean | undefined;
11363
11998
  };
11364
11999
  visible: boolean;
11365
12000
  required?: boolean | undefined;
@@ -11367,11 +12002,11 @@ export declare const formSchema: z.ZodObject<{
11367
12002
  sensitive?: boolean | undefined;
11368
12003
  order?: number | undefined;
11369
12004
  }, {
11370
- type: "TEXT";
12005
+ type: "NUMBER";
11371
12006
  id: string;
11372
12007
  config: {
12008
+ label?: string | undefined;
11373
12009
  placeholder?: string | undefined;
11374
- multiline?: boolean | undefined;
11375
12010
  };
11376
12011
  required?: boolean | undefined;
11377
12012
  category?: "FIELD" | undefined;
@@ -11381,33 +12016,46 @@ export declare const formSchema: z.ZodObject<{
11381
12016
  }>,
11382
12017
  z.ZodObject<{
11383
12018
  id: z.ZodString;
11384
- category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11385
- type: z.ZodLiteral<"NEXT_BUTTON">;
12019
+ order: z.ZodOptional<z.ZodNumber>;
12020
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12021
+ } & {
12022
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
12023
+ required: z.ZodOptional<z.ZodBoolean>;
12024
+ sensitive: z.ZodOptional<z.ZodBoolean>;
12025
+ } & {
12026
+ type: z.ZodLiteral<"PHONE">;
11386
12027
  config: z.ZodObject<{
11387
- text: z.ZodOptional<z.ZodString>;
12028
+ label: z.ZodOptional<z.ZodString>;
12029
+ placeholder: z.ZodOptional<z.ZodString>;
11388
12030
  }, "strip", z.ZodTypeAny, {
11389
- text?: string | undefined;
12031
+ label?: string | undefined;
12032
+ placeholder?: string | undefined;
11390
12033
  }, {
11391
- text?: string | undefined;
12034
+ label?: string | undefined;
12035
+ placeholder?: string | undefined;
11392
12036
  }>;
11393
- order: z.ZodOptional<z.ZodNumber>;
11394
- visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11395
12037
  }, "strip", z.ZodTypeAny, {
11396
- type: "NEXT_BUTTON";
12038
+ type: "PHONE";
11397
12039
  id: string;
11398
12040
  config: {
11399
- text?: string | undefined;
12041
+ label?: string | undefined;
12042
+ placeholder?: string | undefined;
11400
12043
  };
11401
12044
  visible: boolean;
11402
- category?: "BLOCK" | undefined;
12045
+ required?: boolean | undefined;
12046
+ category?: "FIELD" | undefined;
12047
+ sensitive?: boolean | undefined;
11403
12048
  order?: number | undefined;
11404
12049
  }, {
11405
- type: "NEXT_BUTTON";
12050
+ type: "PHONE";
11406
12051
  id: string;
11407
12052
  config: {
11408
- text?: string | undefined;
12053
+ label?: string | undefined;
12054
+ placeholder?: string | undefined;
11409
12055
  };
11410
- category?: "BLOCK" | undefined;
12056
+ required?: boolean | undefined;
12057
+ category?: "FIELD" | undefined;
12058
+ sensitive?: boolean | undefined;
11411
12059
  order?: number | undefined;
11412
12060
  visible?: boolean | undefined;
11413
12061
  }>
@@ -11455,6 +12103,42 @@ export declare const formSchema: z.ZodObject<{
11455
12103
  visible: boolean;
11456
12104
  category?: "BLOCK" | undefined;
11457
12105
  order?: number | undefined;
12106
+ } | {
12107
+ type: "EMAIL";
12108
+ id: string;
12109
+ config: {
12110
+ label?: string | undefined;
12111
+ placeholder?: string | undefined;
12112
+ };
12113
+ visible: boolean;
12114
+ required?: boolean | undefined;
12115
+ category?: "FIELD" | undefined;
12116
+ sensitive?: boolean | undefined;
12117
+ order?: number | undefined;
12118
+ } | {
12119
+ type: "NUMBER";
12120
+ id: string;
12121
+ config: {
12122
+ label?: string | undefined;
12123
+ placeholder?: string | undefined;
12124
+ };
12125
+ visible: boolean;
12126
+ required?: boolean | undefined;
12127
+ category?: "FIELD" | undefined;
12128
+ sensitive?: boolean | undefined;
12129
+ order?: number | undefined;
12130
+ } | {
12131
+ type: "PHONE";
12132
+ id: string;
12133
+ config: {
12134
+ label?: string | undefined;
12135
+ placeholder?: string | undefined;
12136
+ };
12137
+ visible: boolean;
12138
+ required?: boolean | undefined;
12139
+ category?: "FIELD" | undefined;
12140
+ sensitive?: boolean | undefined;
12141
+ order?: number | undefined;
11458
12142
  })[];
11459
12143
  next_node?: string | undefined;
11460
12144
  }, {
@@ -11499,6 +12183,42 @@ export declare const formSchema: z.ZodObject<{
11499
12183
  category?: "BLOCK" | undefined;
11500
12184
  order?: number | undefined;
11501
12185
  visible?: boolean | undefined;
12186
+ } | {
12187
+ type: "EMAIL";
12188
+ id: string;
12189
+ config: {
12190
+ label?: string | undefined;
12191
+ placeholder?: string | undefined;
12192
+ };
12193
+ required?: boolean | undefined;
12194
+ category?: "FIELD" | undefined;
12195
+ sensitive?: boolean | undefined;
12196
+ order?: number | undefined;
12197
+ visible?: boolean | undefined;
12198
+ } | {
12199
+ type: "NUMBER";
12200
+ id: string;
12201
+ config: {
12202
+ label?: string | undefined;
12203
+ placeholder?: string | undefined;
12204
+ };
12205
+ required?: boolean | undefined;
12206
+ category?: "FIELD" | undefined;
12207
+ sensitive?: boolean | undefined;
12208
+ order?: number | undefined;
12209
+ visible?: boolean | undefined;
12210
+ } | {
12211
+ type: "PHONE";
12212
+ id: string;
12213
+ config: {
12214
+ label?: string | undefined;
12215
+ placeholder?: string | undefined;
12216
+ };
12217
+ required?: boolean | undefined;
12218
+ category?: "FIELD" | undefined;
12219
+ sensitive?: boolean | undefined;
12220
+ order?: number | undefined;
12221
+ visible?: boolean | undefined;
11502
12222
  })[];
11503
12223
  next_node?: string | undefined;
11504
12224
  }>;
@@ -11547,6 +12267,42 @@ export declare const formSchema: z.ZodObject<{
11547
12267
  visible: boolean;
11548
12268
  category?: "BLOCK" | undefined;
11549
12269
  order?: number | undefined;
12270
+ } | {
12271
+ type: "EMAIL";
12272
+ id: string;
12273
+ config: {
12274
+ label?: string | undefined;
12275
+ placeholder?: string | undefined;
12276
+ };
12277
+ visible: boolean;
12278
+ required?: boolean | undefined;
12279
+ category?: "FIELD" | undefined;
12280
+ sensitive?: boolean | undefined;
12281
+ order?: number | undefined;
12282
+ } | {
12283
+ type: "NUMBER";
12284
+ id: string;
12285
+ config: {
12286
+ label?: string | undefined;
12287
+ placeholder?: string | undefined;
12288
+ };
12289
+ visible: boolean;
12290
+ required?: boolean | undefined;
12291
+ category?: "FIELD" | undefined;
12292
+ sensitive?: boolean | undefined;
12293
+ order?: number | undefined;
12294
+ } | {
12295
+ type: "PHONE";
12296
+ id: string;
12297
+ config: {
12298
+ label?: string | undefined;
12299
+ placeholder?: string | undefined;
12300
+ };
12301
+ visible: boolean;
12302
+ required?: boolean | undefined;
12303
+ category?: "FIELD" | undefined;
12304
+ sensitive?: boolean | undefined;
12305
+ order?: number | undefined;
11550
12306
  })[];
11551
12307
  next_node?: string | undefined;
11552
12308
  };
@@ -11600,6 +12356,42 @@ export declare const formSchema: z.ZodObject<{
11600
12356
  category?: "BLOCK" | undefined;
11601
12357
  order?: number | undefined;
11602
12358
  visible?: boolean | undefined;
12359
+ } | {
12360
+ type: "EMAIL";
12361
+ id: string;
12362
+ config: {
12363
+ label?: string | undefined;
12364
+ placeholder?: string | undefined;
12365
+ };
12366
+ required?: boolean | undefined;
12367
+ category?: "FIELD" | undefined;
12368
+ sensitive?: boolean | undefined;
12369
+ order?: number | undefined;
12370
+ visible?: boolean | undefined;
12371
+ } | {
12372
+ type: "NUMBER";
12373
+ id: string;
12374
+ config: {
12375
+ label?: string | undefined;
12376
+ placeholder?: string | undefined;
12377
+ };
12378
+ required?: boolean | undefined;
12379
+ category?: "FIELD" | undefined;
12380
+ sensitive?: boolean | undefined;
12381
+ order?: number | undefined;
12382
+ visible?: boolean | undefined;
12383
+ } | {
12384
+ type: "PHONE";
12385
+ id: string;
12386
+ config: {
12387
+ label?: string | undefined;
12388
+ placeholder?: string | undefined;
12389
+ };
12390
+ required?: boolean | undefined;
12391
+ category?: "FIELD" | undefined;
12392
+ sensitive?: boolean | undefined;
12393
+ order?: number | undefined;
12394
+ visible?: boolean | undefined;
11603
12395
  })[];
11604
12396
  next_node?: string | undefined;
11605
12397
  };
@@ -11795,11 +12587,44 @@ export declare const formSchema: z.ZodObject<{
11795
12587
  category?: "FIELD" | undefined;
11796
12588
  order?: number | undefined;
11797
12589
  } | {
11798
- type: "TEXT";
12590
+ type: "TEXT";
12591
+ id: string;
12592
+ config: {
12593
+ placeholder?: string | undefined;
12594
+ multiline?: boolean | undefined;
12595
+ };
12596
+ visible: boolean;
12597
+ required?: boolean | undefined;
12598
+ category?: "FIELD" | undefined;
12599
+ sensitive?: boolean | undefined;
12600
+ order?: number | undefined;
12601
+ } | {
12602
+ type: "NEXT_BUTTON";
12603
+ id: string;
12604
+ config: {
12605
+ text?: string | undefined;
12606
+ };
12607
+ visible: boolean;
12608
+ category?: "BLOCK" | undefined;
12609
+ order?: number | undefined;
12610
+ } | {
12611
+ type: "EMAIL";
12612
+ id: string;
12613
+ config: {
12614
+ label?: string | undefined;
12615
+ placeholder?: string | undefined;
12616
+ };
12617
+ visible: boolean;
12618
+ required?: boolean | undefined;
12619
+ category?: "FIELD" | undefined;
12620
+ sensitive?: boolean | undefined;
12621
+ order?: number | undefined;
12622
+ } | {
12623
+ type: "NUMBER";
11799
12624
  id: string;
11800
12625
  config: {
12626
+ label?: string | undefined;
11801
12627
  placeholder?: string | undefined;
11802
- multiline?: boolean | undefined;
11803
12628
  };
11804
12629
  visible: boolean;
11805
12630
  required?: boolean | undefined;
@@ -11807,13 +12632,16 @@ export declare const formSchema: z.ZodObject<{
11807
12632
  sensitive?: boolean | undefined;
11808
12633
  order?: number | undefined;
11809
12634
  } | {
11810
- type: "NEXT_BUTTON";
12635
+ type: "PHONE";
11811
12636
  id: string;
11812
12637
  config: {
11813
- text?: string | undefined;
12638
+ label?: string | undefined;
12639
+ placeholder?: string | undefined;
11814
12640
  };
11815
12641
  visible: boolean;
11816
- category?: "BLOCK" | undefined;
12642
+ required?: boolean | undefined;
12643
+ category?: "FIELD" | undefined;
12644
+ sensitive?: boolean | undefined;
11817
12645
  order?: number | undefined;
11818
12646
  })[];
11819
12647
  next_node?: string | undefined;
@@ -11940,6 +12768,42 @@ export declare const formSchema: z.ZodObject<{
11940
12768
  category?: "BLOCK" | undefined;
11941
12769
  order?: number | undefined;
11942
12770
  visible?: boolean | undefined;
12771
+ } | {
12772
+ type: "EMAIL";
12773
+ id: string;
12774
+ config: {
12775
+ label?: string | undefined;
12776
+ placeholder?: string | undefined;
12777
+ };
12778
+ required?: boolean | undefined;
12779
+ category?: "FIELD" | undefined;
12780
+ sensitive?: boolean | undefined;
12781
+ order?: number | undefined;
12782
+ visible?: boolean | undefined;
12783
+ } | {
12784
+ type: "NUMBER";
12785
+ id: string;
12786
+ config: {
12787
+ label?: string | undefined;
12788
+ placeholder?: string | undefined;
12789
+ };
12790
+ required?: boolean | undefined;
12791
+ category?: "FIELD" | undefined;
12792
+ sensitive?: boolean | undefined;
12793
+ order?: number | undefined;
12794
+ visible?: boolean | undefined;
12795
+ } | {
12796
+ type: "PHONE";
12797
+ id: string;
12798
+ config: {
12799
+ label?: string | undefined;
12800
+ placeholder?: string | undefined;
12801
+ };
12802
+ required?: boolean | undefined;
12803
+ category?: "FIELD" | undefined;
12804
+ sensitive?: boolean | undefined;
12805
+ order?: number | undefined;
12806
+ visible?: boolean | undefined;
11943
12807
  })[];
11944
12808
  next_node?: string | undefined;
11945
12809
  };
@@ -19533,6 +20397,42 @@ export declare function init(config: AuthHeroConfig): {
19533
20397
  visible: boolean;
19534
20398
  category?: "BLOCK" | undefined | undefined;
19535
20399
  order?: number | undefined | undefined;
20400
+ } | {
20401
+ type: "EMAIL";
20402
+ id: string;
20403
+ config: {
20404
+ label?: string | undefined | undefined;
20405
+ placeholder?: string | undefined | undefined;
20406
+ };
20407
+ visible: boolean;
20408
+ required?: boolean | undefined | undefined;
20409
+ category?: "FIELD" | undefined | undefined;
20410
+ sensitive?: boolean | undefined | undefined;
20411
+ order?: number | undefined | undefined;
20412
+ } | {
20413
+ type: "NUMBER";
20414
+ id: string;
20415
+ config: {
20416
+ label?: string | undefined | undefined;
20417
+ placeholder?: string | undefined | undefined;
20418
+ };
20419
+ visible: boolean;
20420
+ required?: boolean | undefined | undefined;
20421
+ category?: "FIELD" | undefined | undefined;
20422
+ sensitive?: boolean | undefined | undefined;
20423
+ order?: number | undefined | undefined;
20424
+ } | {
20425
+ type: "PHONE";
20426
+ id: string;
20427
+ config: {
20428
+ label?: string | undefined | undefined;
20429
+ placeholder?: string | undefined | undefined;
20430
+ };
20431
+ visible: boolean;
20432
+ required?: boolean | undefined | undefined;
20433
+ category?: "FIELD" | undefined | undefined;
20434
+ sensitive?: boolean | undefined | undefined;
20435
+ order?: number | undefined | undefined;
19536
20436
  })[];
19537
20437
  next_node?: string | undefined | undefined;
19538
20438
  };
@@ -19668,6 +20568,42 @@ export declare function init(config: AuthHeroConfig): {
19668
20568
  visible: boolean;
19669
20569
  category?: "BLOCK" | undefined | undefined;
19670
20570
  order?: number | undefined | undefined;
20571
+ } | {
20572
+ type: "EMAIL";
20573
+ id: string;
20574
+ config: {
20575
+ label?: string | undefined | undefined;
20576
+ placeholder?: string | undefined | undefined;
20577
+ };
20578
+ visible: boolean;
20579
+ required?: boolean | undefined | undefined;
20580
+ category?: "FIELD" | undefined | undefined;
20581
+ sensitive?: boolean | undefined | undefined;
20582
+ order?: number | undefined | undefined;
20583
+ } | {
20584
+ type: "NUMBER";
20585
+ id: string;
20586
+ config: {
20587
+ label?: string | undefined | undefined;
20588
+ placeholder?: string | undefined | undefined;
20589
+ };
20590
+ visible: boolean;
20591
+ required?: boolean | undefined | undefined;
20592
+ category?: "FIELD" | undefined | undefined;
20593
+ sensitive?: boolean | undefined | undefined;
20594
+ order?: number | undefined | undefined;
20595
+ } | {
20596
+ type: "PHONE";
20597
+ id: string;
20598
+ config: {
20599
+ label?: string | undefined | undefined;
20600
+ placeholder?: string | undefined | undefined;
20601
+ };
20602
+ visible: boolean;
20603
+ required?: boolean | undefined | undefined;
20604
+ category?: "FIELD" | undefined | undefined;
20605
+ sensitive?: boolean | undefined | undefined;
20606
+ order?: number | undefined | undefined;
19671
20607
  })[];
19672
20608
  next_node?: string | undefined | undefined;
19673
20609
  };
@@ -19817,6 +20753,42 @@ export declare function init(config: AuthHeroConfig): {
19817
20753
  visible: boolean;
19818
20754
  category?: "BLOCK" | undefined | undefined;
19819
20755
  order?: number | undefined | undefined;
20756
+ } | {
20757
+ type: "EMAIL";
20758
+ id: string;
20759
+ config: {
20760
+ label?: string | undefined | undefined;
20761
+ placeholder?: string | undefined | undefined;
20762
+ };
20763
+ visible: boolean;
20764
+ required?: boolean | undefined | undefined;
20765
+ category?: "FIELD" | undefined | undefined;
20766
+ sensitive?: boolean | undefined | undefined;
20767
+ order?: number | undefined | undefined;
20768
+ } | {
20769
+ type: "NUMBER";
20770
+ id: string;
20771
+ config: {
20772
+ label?: string | undefined | undefined;
20773
+ placeholder?: string | undefined | undefined;
20774
+ };
20775
+ visible: boolean;
20776
+ required?: boolean | undefined | undefined;
20777
+ category?: "FIELD" | undefined | undefined;
20778
+ sensitive?: boolean | undefined | undefined;
20779
+ order?: number | undefined | undefined;
20780
+ } | {
20781
+ type: "PHONE";
20782
+ id: string;
20783
+ config: {
20784
+ label?: string | undefined | undefined;
20785
+ placeholder?: string | undefined | undefined;
20786
+ };
20787
+ visible: boolean;
20788
+ required?: boolean | undefined | undefined;
20789
+ category?: "FIELD" | undefined | undefined;
20790
+ sensitive?: boolean | undefined | undefined;
20791
+ order?: number | undefined | undefined;
19820
20792
  })[];
19821
20793
  next_node?: string | undefined | undefined;
19822
20794
  };
@@ -19975,6 +20947,42 @@ export declare function init(config: AuthHeroConfig): {
19975
20947
  category?: "BLOCK" | undefined;
19976
20948
  order?: number | undefined;
19977
20949
  visible?: boolean | undefined;
20950
+ } | {
20951
+ type: "EMAIL";
20952
+ id: string;
20953
+ config: {
20954
+ label?: string | undefined;
20955
+ placeholder?: string | undefined;
20956
+ };
20957
+ required?: boolean | undefined;
20958
+ category?: "FIELD" | undefined;
20959
+ sensitive?: boolean | undefined;
20960
+ order?: number | undefined;
20961
+ visible?: boolean | undefined;
20962
+ } | {
20963
+ type: "NUMBER";
20964
+ id: string;
20965
+ config: {
20966
+ label?: string | undefined;
20967
+ placeholder?: string | undefined;
20968
+ };
20969
+ required?: boolean | undefined;
20970
+ category?: "FIELD" | undefined;
20971
+ sensitive?: boolean | undefined;
20972
+ order?: number | undefined;
20973
+ visible?: boolean | undefined;
20974
+ } | {
20975
+ type: "PHONE";
20976
+ id: string;
20977
+ config: {
20978
+ label?: string | undefined;
20979
+ placeholder?: string | undefined;
20980
+ };
20981
+ required?: boolean | undefined;
20982
+ category?: "FIELD" | undefined;
20983
+ sensitive?: boolean | undefined;
20984
+ order?: number | undefined;
20985
+ visible?: boolean | undefined;
19978
20986
  })[];
19979
20987
  next_node?: string | undefined;
19980
20988
  };
@@ -20106,6 +21114,42 @@ export declare function init(config: AuthHeroConfig): {
20106
21114
  visible: boolean;
20107
21115
  category?: "BLOCK" | undefined | undefined;
20108
21116
  order?: number | undefined | undefined;
21117
+ } | {
21118
+ type: "EMAIL";
21119
+ id: string;
21120
+ config: {
21121
+ label?: string | undefined | undefined;
21122
+ placeholder?: string | undefined | undefined;
21123
+ };
21124
+ visible: boolean;
21125
+ required?: boolean | undefined | undefined;
21126
+ category?: "FIELD" | undefined | undefined;
21127
+ sensitive?: boolean | undefined | undefined;
21128
+ order?: number | undefined | undefined;
21129
+ } | {
21130
+ type: "NUMBER";
21131
+ id: string;
21132
+ config: {
21133
+ label?: string | undefined | undefined;
21134
+ placeholder?: string | undefined | undefined;
21135
+ };
21136
+ visible: boolean;
21137
+ required?: boolean | undefined | undefined;
21138
+ category?: "FIELD" | undefined | undefined;
21139
+ sensitive?: boolean | undefined | undefined;
21140
+ order?: number | undefined | undefined;
21141
+ } | {
21142
+ type: "PHONE";
21143
+ id: string;
21144
+ config: {
21145
+ label?: string | undefined | undefined;
21146
+ placeholder?: string | undefined | undefined;
21147
+ };
21148
+ visible: boolean;
21149
+ required?: boolean | undefined | undefined;
21150
+ category?: "FIELD" | undefined | undefined;
21151
+ sensitive?: boolean | undefined | undefined;
21152
+ order?: number | undefined | undefined;
20109
21153
  })[];
20110
21154
  next_node?: string | undefined | undefined;
20111
21155
  };
@@ -20243,6 +21287,42 @@ export declare function init(config: AuthHeroConfig): {
20243
21287
  category?: "BLOCK" | undefined;
20244
21288
  order?: number | undefined;
20245
21289
  visible?: boolean | undefined;
21290
+ } | {
21291
+ type: "EMAIL";
21292
+ id: string;
21293
+ config: {
21294
+ label?: string | undefined;
21295
+ placeholder?: string | undefined;
21296
+ };
21297
+ required?: boolean | undefined;
21298
+ category?: "FIELD" | undefined;
21299
+ sensitive?: boolean | undefined;
21300
+ order?: number | undefined;
21301
+ visible?: boolean | undefined;
21302
+ } | {
21303
+ type: "NUMBER";
21304
+ id: string;
21305
+ config: {
21306
+ label?: string | undefined;
21307
+ placeholder?: string | undefined;
21308
+ };
21309
+ required?: boolean | undefined;
21310
+ category?: "FIELD" | undefined;
21311
+ sensitive?: boolean | undefined;
21312
+ order?: number | undefined;
21313
+ visible?: boolean | undefined;
21314
+ } | {
21315
+ type: "PHONE";
21316
+ id: string;
21317
+ config: {
21318
+ label?: string | undefined;
21319
+ placeholder?: string | undefined;
21320
+ };
21321
+ required?: boolean | undefined;
21322
+ category?: "FIELD" | undefined;
21323
+ sensitive?: boolean | undefined;
21324
+ order?: number | undefined;
21325
+ visible?: boolean | undefined;
20246
21326
  })[];
20247
21327
  next_node?: string | undefined;
20248
21328
  };
@@ -20374,6 +21454,42 @@ export declare function init(config: AuthHeroConfig): {
20374
21454
  visible: boolean;
20375
21455
  category?: "BLOCK" | undefined | undefined;
20376
21456
  order?: number | undefined | undefined;
21457
+ } | {
21458
+ type: "EMAIL";
21459
+ id: string;
21460
+ config: {
21461
+ label?: string | undefined | undefined;
21462
+ placeholder?: string | undefined | undefined;
21463
+ };
21464
+ visible: boolean;
21465
+ required?: boolean | undefined | undefined;
21466
+ category?: "FIELD" | undefined | undefined;
21467
+ sensitive?: boolean | undefined | undefined;
21468
+ order?: number | undefined | undefined;
21469
+ } | {
21470
+ type: "NUMBER";
21471
+ id: string;
21472
+ config: {
21473
+ label?: string | undefined | undefined;
21474
+ placeholder?: string | undefined | undefined;
21475
+ };
21476
+ visible: boolean;
21477
+ required?: boolean | undefined | undefined;
21478
+ category?: "FIELD" | undefined | undefined;
21479
+ sensitive?: boolean | undefined | undefined;
21480
+ order?: number | undefined | undefined;
21481
+ } | {
21482
+ type: "PHONE";
21483
+ id: string;
21484
+ config: {
21485
+ label?: string | undefined | undefined;
21486
+ placeholder?: string | undefined | undefined;
21487
+ };
21488
+ visible: boolean;
21489
+ required?: boolean | undefined | undefined;
21490
+ category?: "FIELD" | undefined | undefined;
21491
+ sensitive?: boolean | undefined | undefined;
21492
+ order?: number | undefined | undefined;
20377
21493
  })[];
20378
21494
  next_node?: string | undefined | undefined;
20379
21495
  };