@authhero/adapter-interfaces 0.103.0 → 0.104.0

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.
@@ -10057,6 +10057,7 @@ export type FormControl = z.infer<typeof formControlSchema>;
10057
10057
  export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
10058
10058
  z.ZodObject<{
10059
10059
  id: z.ZodString;
10060
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10060
10061
  type: z.ZodLiteral<"RICH_TEXT">;
10061
10062
  config: z.ZodObject<{
10062
10063
  content: z.ZodString;
@@ -10074,6 +10075,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10074
10075
  content: string;
10075
10076
  };
10076
10077
  visible: boolean;
10078
+ category?: "BLOCK" | undefined;
10077
10079
  order?: number | undefined;
10078
10080
  }, {
10079
10081
  type: "RICH_TEXT";
@@ -10081,11 +10083,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10081
10083
  config: {
10082
10084
  content: string;
10083
10085
  };
10086
+ category?: "BLOCK" | undefined;
10084
10087
  order?: number | undefined;
10085
10088
  visible?: boolean | undefined;
10086
10089
  }>,
10087
10090
  z.ZodObject<{
10088
10091
  id: z.ZodString;
10092
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10089
10093
  type: z.ZodLiteral<"LEGAL">;
10090
10094
  config: z.ZodObject<{
10091
10095
  text: z.ZodString;
@@ -10109,6 +10113,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10109
10113
  };
10110
10114
  visible: boolean;
10111
10115
  required?: boolean | undefined;
10116
+ category?: "FIELD" | undefined;
10112
10117
  order?: number | undefined;
10113
10118
  }, {
10114
10119
  type: "LEGAL";
@@ -10118,11 +10123,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10118
10123
  html?: boolean | undefined;
10119
10124
  };
10120
10125
  required?: boolean | undefined;
10126
+ category?: "FIELD" | undefined;
10121
10127
  order?: number | undefined;
10122
10128
  visible?: boolean | undefined;
10123
10129
  }>,
10124
10130
  z.ZodObject<{
10125
10131
  id: z.ZodString;
10132
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10126
10133
  type: z.ZodLiteral<"TEXT">;
10127
10134
  config: z.ZodObject<{
10128
10135
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10147,6 +10154,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10147
10154
  };
10148
10155
  visible: boolean;
10149
10156
  required?: boolean | undefined;
10157
+ category?: "FIELD" | undefined;
10150
10158
  sensitive?: boolean | undefined;
10151
10159
  order?: number | undefined;
10152
10160
  }, {
@@ -10157,12 +10165,14 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10157
10165
  multiline?: boolean | undefined;
10158
10166
  };
10159
10167
  required?: boolean | undefined;
10168
+ category?: "FIELD" | undefined;
10160
10169
  sensitive?: boolean | undefined;
10161
10170
  order?: number | undefined;
10162
10171
  visible?: boolean | undefined;
10163
10172
  }>,
10164
10173
  z.ZodObject<{
10165
10174
  id: z.ZodString;
10175
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10166
10176
  type: z.ZodLiteral<"NEXT_BUTTON">;
10167
10177
  config: z.ZodObject<{
10168
10178
  text: z.ZodOptional<z.ZodString>;
@@ -10180,6 +10190,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10180
10190
  text?: string | undefined;
10181
10191
  };
10182
10192
  visible: boolean;
10193
+ category?: "BLOCK" | undefined;
10183
10194
  order?: number | undefined;
10184
10195
  }, {
10185
10196
  type: "NEXT_BUTTON";
@@ -10187,6 +10198,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10187
10198
  config: {
10188
10199
  text?: string | undefined;
10189
10200
  };
10201
+ category?: "BLOCK" | undefined;
10190
10202
  order?: number | undefined;
10191
10203
  visible?: boolean | undefined;
10192
10204
  }>
@@ -10235,20 +10247,20 @@ export declare const formInsertSchema: z.ZodObject<{
10235
10247
  alias: z.ZodOptional<z.ZodString>;
10236
10248
  config: z.ZodObject<{
10237
10249
  flow_id: z.ZodString;
10238
- next_node: z.ZodString;
10250
+ next_node: z.ZodOptional<z.ZodString>;
10239
10251
  }, "strip", z.ZodTypeAny, {
10240
- next_node: string;
10241
10252
  flow_id: string;
10253
+ next_node?: string | undefined;
10242
10254
  }, {
10243
- next_node: string;
10244
10255
  flow_id: string;
10256
+ next_node?: string | undefined;
10245
10257
  }>;
10246
10258
  }, "strip", z.ZodTypeAny, {
10247
10259
  type: "FLOW";
10248
10260
  id: string;
10249
10261
  config: {
10250
- next_node: string;
10251
10262
  flow_id: string;
10263
+ next_node?: string | undefined;
10252
10264
  };
10253
10265
  coordinates: {
10254
10266
  x: number;
@@ -10259,8 +10271,8 @@ export declare const formInsertSchema: z.ZodObject<{
10259
10271
  type: "FLOW";
10260
10272
  id: string;
10261
10273
  config: {
10262
- next_node: string;
10263
10274
  flow_id: string;
10275
+ next_node?: string | undefined;
10264
10276
  };
10265
10277
  coordinates: {
10266
10278
  x: number;
@@ -10299,7 +10311,7 @@ export declare const formInsertSchema: z.ZodObject<{
10299
10311
  alias?: string | undefined;
10300
10312
  condition?: any;
10301
10313
  }>, "many">;
10302
- fallback: z.ZodArray<z.ZodString, "many">;
10314
+ fallback: z.ZodString;
10303
10315
  }, "strip", z.ZodTypeAny, {
10304
10316
  rules: {
10305
10317
  id: string;
@@ -10307,7 +10319,7 @@ export declare const formInsertSchema: z.ZodObject<{
10307
10319
  alias?: string | undefined;
10308
10320
  condition?: any;
10309
10321
  }[];
10310
- fallback: string[];
10322
+ fallback: string;
10311
10323
  }, {
10312
10324
  rules: {
10313
10325
  id: string;
@@ -10315,7 +10327,7 @@ export declare const formInsertSchema: z.ZodObject<{
10315
10327
  alias?: string | undefined;
10316
10328
  condition?: any;
10317
10329
  }[];
10318
- fallback: string[];
10330
+ fallback: string;
10319
10331
  }>;
10320
10332
  }, "strip", z.ZodTypeAny, {
10321
10333
  type: "ROUTER";
@@ -10327,7 +10339,7 @@ export declare const formInsertSchema: z.ZodObject<{
10327
10339
  alias?: string | undefined;
10328
10340
  condition?: any;
10329
10341
  }[];
10330
- fallback: string[];
10342
+ fallback: string;
10331
10343
  };
10332
10344
  coordinates: {
10333
10345
  x: number;
@@ -10344,7 +10356,7 @@ export declare const formInsertSchema: z.ZodObject<{
10344
10356
  alias?: string | undefined;
10345
10357
  condition?: any;
10346
10358
  }[];
10347
- fallback: string[];
10359
+ fallback: string;
10348
10360
  };
10349
10361
  coordinates: {
10350
10362
  x: number;
@@ -10370,6 +10382,7 @@ export declare const formInsertSchema: z.ZodObject<{
10370
10382
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
10371
10383
  z.ZodObject<{
10372
10384
  id: z.ZodString;
10385
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10373
10386
  type: z.ZodLiteral<"RICH_TEXT">;
10374
10387
  config: z.ZodObject<{
10375
10388
  content: z.ZodString;
@@ -10387,6 +10400,7 @@ export declare const formInsertSchema: z.ZodObject<{
10387
10400
  content: string;
10388
10401
  };
10389
10402
  visible: boolean;
10403
+ category?: "BLOCK" | undefined;
10390
10404
  order?: number | undefined;
10391
10405
  }, {
10392
10406
  type: "RICH_TEXT";
@@ -10394,11 +10408,13 @@ export declare const formInsertSchema: z.ZodObject<{
10394
10408
  config: {
10395
10409
  content: string;
10396
10410
  };
10411
+ category?: "BLOCK" | undefined;
10397
10412
  order?: number | undefined;
10398
10413
  visible?: boolean | undefined;
10399
10414
  }>,
10400
10415
  z.ZodObject<{
10401
10416
  id: z.ZodString;
10417
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10402
10418
  type: z.ZodLiteral<"LEGAL">;
10403
10419
  config: z.ZodObject<{
10404
10420
  text: z.ZodString;
@@ -10422,6 +10438,7 @@ export declare const formInsertSchema: z.ZodObject<{
10422
10438
  };
10423
10439
  visible: boolean;
10424
10440
  required?: boolean | undefined;
10441
+ category?: "FIELD" | undefined;
10425
10442
  order?: number | undefined;
10426
10443
  }, {
10427
10444
  type: "LEGAL";
@@ -10431,11 +10448,13 @@ export declare const formInsertSchema: z.ZodObject<{
10431
10448
  html?: boolean | undefined;
10432
10449
  };
10433
10450
  required?: boolean | undefined;
10451
+ category?: "FIELD" | undefined;
10434
10452
  order?: number | undefined;
10435
10453
  visible?: boolean | undefined;
10436
10454
  }>,
10437
10455
  z.ZodObject<{
10438
10456
  id: z.ZodString;
10457
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10439
10458
  type: z.ZodLiteral<"TEXT">;
10440
10459
  config: z.ZodObject<{
10441
10460
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10460,6 +10479,7 @@ export declare const formInsertSchema: z.ZodObject<{
10460
10479
  };
10461
10480
  visible: boolean;
10462
10481
  required?: boolean | undefined;
10482
+ category?: "FIELD" | undefined;
10463
10483
  sensitive?: boolean | undefined;
10464
10484
  order?: number | undefined;
10465
10485
  }, {
@@ -10470,12 +10490,14 @@ export declare const formInsertSchema: z.ZodObject<{
10470
10490
  multiline?: boolean | undefined;
10471
10491
  };
10472
10492
  required?: boolean | undefined;
10493
+ category?: "FIELD" | undefined;
10473
10494
  sensitive?: boolean | undefined;
10474
10495
  order?: number | undefined;
10475
10496
  visible?: boolean | undefined;
10476
10497
  }>,
10477
10498
  z.ZodObject<{
10478
10499
  id: z.ZodString;
10500
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10479
10501
  type: z.ZodLiteral<"NEXT_BUTTON">;
10480
10502
  config: z.ZodObject<{
10481
10503
  text: z.ZodOptional<z.ZodString>;
@@ -10493,6 +10515,7 @@ export declare const formInsertSchema: z.ZodObject<{
10493
10515
  text?: string | undefined;
10494
10516
  };
10495
10517
  visible: boolean;
10518
+ category?: "BLOCK" | undefined;
10496
10519
  order?: number | undefined;
10497
10520
  }, {
10498
10521
  type: "NEXT_BUTTON";
@@ -10500,11 +10523,12 @@ export declare const formInsertSchema: z.ZodObject<{
10500
10523
  config: {
10501
10524
  text?: string | undefined;
10502
10525
  };
10526
+ category?: "BLOCK" | undefined;
10503
10527
  order?: number | undefined;
10504
10528
  visible?: boolean | undefined;
10505
10529
  }>
10506
10530
  ]>, "many">;
10507
- next_node: z.ZodString;
10531
+ next_node: z.ZodOptional<z.ZodString>;
10508
10532
  }, "strip", z.ZodTypeAny, {
10509
10533
  components: ({
10510
10534
  type: "RICH_TEXT";
@@ -10513,6 +10537,7 @@ export declare const formInsertSchema: z.ZodObject<{
10513
10537
  content: string;
10514
10538
  };
10515
10539
  visible: boolean;
10540
+ category?: "BLOCK" | undefined;
10516
10541
  order?: number | undefined;
10517
10542
  } | {
10518
10543
  type: "LEGAL";
@@ -10523,6 +10548,7 @@ export declare const formInsertSchema: z.ZodObject<{
10523
10548
  };
10524
10549
  visible: boolean;
10525
10550
  required?: boolean | undefined;
10551
+ category?: "FIELD" | undefined;
10526
10552
  order?: number | undefined;
10527
10553
  } | {
10528
10554
  type: "TEXT";
@@ -10533,6 +10559,7 @@ export declare const formInsertSchema: z.ZodObject<{
10533
10559
  };
10534
10560
  visible: boolean;
10535
10561
  required?: boolean | undefined;
10562
+ category?: "FIELD" | undefined;
10536
10563
  sensitive?: boolean | undefined;
10537
10564
  order?: number | undefined;
10538
10565
  } | {
@@ -10542,9 +10569,10 @@ export declare const formInsertSchema: z.ZodObject<{
10542
10569
  text?: string | undefined;
10543
10570
  };
10544
10571
  visible: boolean;
10572
+ category?: "BLOCK" | undefined;
10545
10573
  order?: number | undefined;
10546
10574
  })[];
10547
- next_node: string;
10575
+ next_node?: string | undefined;
10548
10576
  }, {
10549
10577
  components: ({
10550
10578
  type: "RICH_TEXT";
@@ -10552,6 +10580,7 @@ export declare const formInsertSchema: z.ZodObject<{
10552
10580
  config: {
10553
10581
  content: string;
10554
10582
  };
10583
+ category?: "BLOCK" | undefined;
10555
10584
  order?: number | undefined;
10556
10585
  visible?: boolean | undefined;
10557
10586
  } | {
@@ -10562,6 +10591,7 @@ export declare const formInsertSchema: z.ZodObject<{
10562
10591
  html?: boolean | undefined;
10563
10592
  };
10564
10593
  required?: boolean | undefined;
10594
+ category?: "FIELD" | undefined;
10565
10595
  order?: number | undefined;
10566
10596
  visible?: boolean | undefined;
10567
10597
  } | {
@@ -10572,6 +10602,7 @@ export declare const formInsertSchema: z.ZodObject<{
10572
10602
  multiline?: boolean | undefined;
10573
10603
  };
10574
10604
  required?: boolean | undefined;
10605
+ category?: "FIELD" | undefined;
10575
10606
  sensitive?: boolean | undefined;
10576
10607
  order?: number | undefined;
10577
10608
  visible?: boolean | undefined;
@@ -10581,10 +10612,11 @@ export declare const formInsertSchema: z.ZodObject<{
10581
10612
  config: {
10582
10613
  text?: string | undefined;
10583
10614
  };
10615
+ category?: "BLOCK" | undefined;
10584
10616
  order?: number | undefined;
10585
10617
  visible?: boolean | undefined;
10586
10618
  })[];
10587
- next_node: string;
10619
+ next_node?: string | undefined;
10588
10620
  }>;
10589
10621
  }, "strip", z.ZodTypeAny, {
10590
10622
  type: "STEP";
@@ -10597,6 +10629,7 @@ export declare const formInsertSchema: z.ZodObject<{
10597
10629
  content: string;
10598
10630
  };
10599
10631
  visible: boolean;
10632
+ category?: "BLOCK" | undefined;
10600
10633
  order?: number | undefined;
10601
10634
  } | {
10602
10635
  type: "LEGAL";
@@ -10607,6 +10640,7 @@ export declare const formInsertSchema: z.ZodObject<{
10607
10640
  };
10608
10641
  visible: boolean;
10609
10642
  required?: boolean | undefined;
10643
+ category?: "FIELD" | undefined;
10610
10644
  order?: number | undefined;
10611
10645
  } | {
10612
10646
  type: "TEXT";
@@ -10617,6 +10651,7 @@ export declare const formInsertSchema: z.ZodObject<{
10617
10651
  };
10618
10652
  visible: boolean;
10619
10653
  required?: boolean | undefined;
10654
+ category?: "FIELD" | undefined;
10620
10655
  sensitive?: boolean | undefined;
10621
10656
  order?: number | undefined;
10622
10657
  } | {
@@ -10626,9 +10661,10 @@ export declare const formInsertSchema: z.ZodObject<{
10626
10661
  text?: string | undefined;
10627
10662
  };
10628
10663
  visible: boolean;
10664
+ category?: "BLOCK" | undefined;
10629
10665
  order?: number | undefined;
10630
10666
  })[];
10631
- next_node: string;
10667
+ next_node?: string | undefined;
10632
10668
  };
10633
10669
  coordinates: {
10634
10670
  x: number;
@@ -10645,6 +10681,7 @@ export declare const formInsertSchema: z.ZodObject<{
10645
10681
  config: {
10646
10682
  content: string;
10647
10683
  };
10684
+ category?: "BLOCK" | undefined;
10648
10685
  order?: number | undefined;
10649
10686
  visible?: boolean | undefined;
10650
10687
  } | {
@@ -10655,6 +10692,7 @@ export declare const formInsertSchema: z.ZodObject<{
10655
10692
  html?: boolean | undefined;
10656
10693
  };
10657
10694
  required?: boolean | undefined;
10695
+ category?: "FIELD" | undefined;
10658
10696
  order?: number | undefined;
10659
10697
  visible?: boolean | undefined;
10660
10698
  } | {
@@ -10665,6 +10703,7 @@ export declare const formInsertSchema: z.ZodObject<{
10665
10703
  multiline?: boolean | undefined;
10666
10704
  };
10667
10705
  required?: boolean | undefined;
10706
+ category?: "FIELD" | undefined;
10668
10707
  sensitive?: boolean | undefined;
10669
10708
  order?: number | undefined;
10670
10709
  visible?: boolean | undefined;
@@ -10674,10 +10713,11 @@ export declare const formInsertSchema: z.ZodObject<{
10674
10713
  config: {
10675
10714
  text?: string | undefined;
10676
10715
  };
10716
+ category?: "BLOCK" | undefined;
10677
10717
  order?: number | undefined;
10678
10718
  visible?: boolean | undefined;
10679
10719
  })[];
10680
- next_node: string;
10720
+ next_node?: string | undefined;
10681
10721
  };
10682
10722
  coordinates: {
10683
10723
  x: number;
@@ -10816,8 +10856,8 @@ export declare const formInsertSchema: z.ZodObject<{
10816
10856
  type: "FLOW";
10817
10857
  id: string;
10818
10858
  config: {
10819
- next_node: string;
10820
10859
  flow_id: string;
10860
+ next_node?: string | undefined;
10821
10861
  };
10822
10862
  coordinates: {
10823
10863
  x: number;
@@ -10834,7 +10874,7 @@ export declare const formInsertSchema: z.ZodObject<{
10834
10874
  alias?: string | undefined;
10835
10875
  condition?: any;
10836
10876
  }[];
10837
- fallback: string[];
10877
+ fallback: string;
10838
10878
  };
10839
10879
  coordinates: {
10840
10880
  x: number;
@@ -10852,6 +10892,7 @@ export declare const formInsertSchema: z.ZodObject<{
10852
10892
  content: string;
10853
10893
  };
10854
10894
  visible: boolean;
10895
+ category?: "BLOCK" | undefined;
10855
10896
  order?: number | undefined;
10856
10897
  } | {
10857
10898
  type: "LEGAL";
@@ -10862,6 +10903,7 @@ export declare const formInsertSchema: z.ZodObject<{
10862
10903
  };
10863
10904
  visible: boolean;
10864
10905
  required?: boolean | undefined;
10906
+ category?: "FIELD" | undefined;
10865
10907
  order?: number | undefined;
10866
10908
  } | {
10867
10909
  type: "TEXT";
@@ -10872,6 +10914,7 @@ export declare const formInsertSchema: z.ZodObject<{
10872
10914
  };
10873
10915
  visible: boolean;
10874
10916
  required?: boolean | undefined;
10917
+ category?: "FIELD" | undefined;
10875
10918
  sensitive?: boolean | undefined;
10876
10919
  order?: number | undefined;
10877
10920
  } | {
@@ -10881,9 +10924,10 @@ export declare const formInsertSchema: z.ZodObject<{
10881
10924
  text?: string | undefined;
10882
10925
  };
10883
10926
  visible: boolean;
10927
+ category?: "BLOCK" | undefined;
10884
10928
  order?: number | undefined;
10885
10929
  })[];
10886
- next_node: string;
10930
+ next_node?: string | undefined;
10887
10931
  };
10888
10932
  coordinates: {
10889
10933
  x: number;
@@ -10934,8 +10978,8 @@ export declare const formInsertSchema: z.ZodObject<{
10934
10978
  type: "FLOW";
10935
10979
  id: string;
10936
10980
  config: {
10937
- next_node: string;
10938
10981
  flow_id: string;
10982
+ next_node?: string | undefined;
10939
10983
  };
10940
10984
  coordinates: {
10941
10985
  x: number;
@@ -10952,7 +10996,7 @@ export declare const formInsertSchema: z.ZodObject<{
10952
10996
  alias?: string | undefined;
10953
10997
  condition?: any;
10954
10998
  }[];
10955
- fallback: string[];
10999
+ fallback: string;
10956
11000
  };
10957
11001
  coordinates: {
10958
11002
  x: number;
@@ -10969,6 +11013,7 @@ export declare const formInsertSchema: z.ZodObject<{
10969
11013
  config: {
10970
11014
  content: string;
10971
11015
  };
11016
+ category?: "BLOCK" | undefined;
10972
11017
  order?: number | undefined;
10973
11018
  visible?: boolean | undefined;
10974
11019
  } | {
@@ -10979,6 +11024,7 @@ export declare const formInsertSchema: z.ZodObject<{
10979
11024
  html?: boolean | undefined;
10980
11025
  };
10981
11026
  required?: boolean | undefined;
11027
+ category?: "FIELD" | undefined;
10982
11028
  order?: number | undefined;
10983
11029
  visible?: boolean | undefined;
10984
11030
  } | {
@@ -10989,6 +11035,7 @@ export declare const formInsertSchema: z.ZodObject<{
10989
11035
  multiline?: boolean | undefined;
10990
11036
  };
10991
11037
  required?: boolean | undefined;
11038
+ category?: "FIELD" | undefined;
10992
11039
  sensitive?: boolean | undefined;
10993
11040
  order?: number | undefined;
10994
11041
  visible?: boolean | undefined;
@@ -10998,10 +11045,11 @@ export declare const formInsertSchema: z.ZodObject<{
10998
11045
  config: {
10999
11046
  text?: string | undefined;
11000
11047
  };
11048
+ category?: "BLOCK" | undefined;
11001
11049
  order?: number | undefined;
11002
11050
  visible?: boolean | undefined;
11003
11051
  })[];
11004
- next_node: string;
11052
+ next_node?: string | undefined;
11005
11053
  };
11006
11054
  coordinates: {
11007
11055
  x: number;
@@ -11074,20 +11122,20 @@ export declare const formSchema: z.ZodObject<{
11074
11122
  alias: z.ZodOptional<z.ZodString>;
11075
11123
  config: z.ZodObject<{
11076
11124
  flow_id: z.ZodString;
11077
- next_node: z.ZodString;
11125
+ next_node: z.ZodOptional<z.ZodString>;
11078
11126
  }, "strip", z.ZodTypeAny, {
11079
- next_node: string;
11080
11127
  flow_id: string;
11128
+ next_node?: string | undefined;
11081
11129
  }, {
11082
- next_node: string;
11083
11130
  flow_id: string;
11131
+ next_node?: string | undefined;
11084
11132
  }>;
11085
11133
  }, "strip", z.ZodTypeAny, {
11086
11134
  type: "FLOW";
11087
11135
  id: string;
11088
11136
  config: {
11089
- next_node: string;
11090
11137
  flow_id: string;
11138
+ next_node?: string | undefined;
11091
11139
  };
11092
11140
  coordinates: {
11093
11141
  x: number;
@@ -11098,8 +11146,8 @@ export declare const formSchema: z.ZodObject<{
11098
11146
  type: "FLOW";
11099
11147
  id: string;
11100
11148
  config: {
11101
- next_node: string;
11102
11149
  flow_id: string;
11150
+ next_node?: string | undefined;
11103
11151
  };
11104
11152
  coordinates: {
11105
11153
  x: number;
@@ -11138,7 +11186,7 @@ export declare const formSchema: z.ZodObject<{
11138
11186
  alias?: string | undefined;
11139
11187
  condition?: any;
11140
11188
  }>, "many">;
11141
- fallback: z.ZodArray<z.ZodString, "many">;
11189
+ fallback: z.ZodString;
11142
11190
  }, "strip", z.ZodTypeAny, {
11143
11191
  rules: {
11144
11192
  id: string;
@@ -11146,7 +11194,7 @@ export declare const formSchema: z.ZodObject<{
11146
11194
  alias?: string | undefined;
11147
11195
  condition?: any;
11148
11196
  }[];
11149
- fallback: string[];
11197
+ fallback: string;
11150
11198
  }, {
11151
11199
  rules: {
11152
11200
  id: string;
@@ -11154,7 +11202,7 @@ export declare const formSchema: z.ZodObject<{
11154
11202
  alias?: string | undefined;
11155
11203
  condition?: any;
11156
11204
  }[];
11157
- fallback: string[];
11205
+ fallback: string;
11158
11206
  }>;
11159
11207
  }, "strip", z.ZodTypeAny, {
11160
11208
  type: "ROUTER";
@@ -11166,7 +11214,7 @@ export declare const formSchema: z.ZodObject<{
11166
11214
  alias?: string | undefined;
11167
11215
  condition?: any;
11168
11216
  }[];
11169
- fallback: string[];
11217
+ fallback: string;
11170
11218
  };
11171
11219
  coordinates: {
11172
11220
  x: number;
@@ -11183,7 +11231,7 @@ export declare const formSchema: z.ZodObject<{
11183
11231
  alias?: string | undefined;
11184
11232
  condition?: any;
11185
11233
  }[];
11186
- fallback: string[];
11234
+ fallback: string;
11187
11235
  };
11188
11236
  coordinates: {
11189
11237
  x: number;
@@ -11209,6 +11257,7 @@ export declare const formSchema: z.ZodObject<{
11209
11257
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
11210
11258
  z.ZodObject<{
11211
11259
  id: z.ZodString;
11260
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11212
11261
  type: z.ZodLiteral<"RICH_TEXT">;
11213
11262
  config: z.ZodObject<{
11214
11263
  content: z.ZodString;
@@ -11226,6 +11275,7 @@ export declare const formSchema: z.ZodObject<{
11226
11275
  content: string;
11227
11276
  };
11228
11277
  visible: boolean;
11278
+ category?: "BLOCK" | undefined;
11229
11279
  order?: number | undefined;
11230
11280
  }, {
11231
11281
  type: "RICH_TEXT";
@@ -11233,11 +11283,13 @@ export declare const formSchema: z.ZodObject<{
11233
11283
  config: {
11234
11284
  content: string;
11235
11285
  };
11286
+ category?: "BLOCK" | undefined;
11236
11287
  order?: number | undefined;
11237
11288
  visible?: boolean | undefined;
11238
11289
  }>,
11239
11290
  z.ZodObject<{
11240
11291
  id: z.ZodString;
11292
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11241
11293
  type: z.ZodLiteral<"LEGAL">;
11242
11294
  config: z.ZodObject<{
11243
11295
  text: z.ZodString;
@@ -11261,6 +11313,7 @@ export declare const formSchema: z.ZodObject<{
11261
11313
  };
11262
11314
  visible: boolean;
11263
11315
  required?: boolean | undefined;
11316
+ category?: "FIELD" | undefined;
11264
11317
  order?: number | undefined;
11265
11318
  }, {
11266
11319
  type: "LEGAL";
@@ -11270,11 +11323,13 @@ export declare const formSchema: z.ZodObject<{
11270
11323
  html?: boolean | undefined;
11271
11324
  };
11272
11325
  required?: boolean | undefined;
11326
+ category?: "FIELD" | undefined;
11273
11327
  order?: number | undefined;
11274
11328
  visible?: boolean | undefined;
11275
11329
  }>,
11276
11330
  z.ZodObject<{
11277
11331
  id: z.ZodString;
11332
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11278
11333
  type: z.ZodLiteral<"TEXT">;
11279
11334
  config: z.ZodObject<{
11280
11335
  placeholder: z.ZodOptional<z.ZodString>;
@@ -11299,6 +11354,7 @@ export declare const formSchema: z.ZodObject<{
11299
11354
  };
11300
11355
  visible: boolean;
11301
11356
  required?: boolean | undefined;
11357
+ category?: "FIELD" | undefined;
11302
11358
  sensitive?: boolean | undefined;
11303
11359
  order?: number | undefined;
11304
11360
  }, {
@@ -11309,12 +11365,14 @@ export declare const formSchema: z.ZodObject<{
11309
11365
  multiline?: boolean | undefined;
11310
11366
  };
11311
11367
  required?: boolean | undefined;
11368
+ category?: "FIELD" | undefined;
11312
11369
  sensitive?: boolean | undefined;
11313
11370
  order?: number | undefined;
11314
11371
  visible?: boolean | undefined;
11315
11372
  }>,
11316
11373
  z.ZodObject<{
11317
11374
  id: z.ZodString;
11375
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11318
11376
  type: z.ZodLiteral<"NEXT_BUTTON">;
11319
11377
  config: z.ZodObject<{
11320
11378
  text: z.ZodOptional<z.ZodString>;
@@ -11332,6 +11390,7 @@ export declare const formSchema: z.ZodObject<{
11332
11390
  text?: string | undefined;
11333
11391
  };
11334
11392
  visible: boolean;
11393
+ category?: "BLOCK" | undefined;
11335
11394
  order?: number | undefined;
11336
11395
  }, {
11337
11396
  type: "NEXT_BUTTON";
@@ -11339,11 +11398,12 @@ export declare const formSchema: z.ZodObject<{
11339
11398
  config: {
11340
11399
  text?: string | undefined;
11341
11400
  };
11401
+ category?: "BLOCK" | undefined;
11342
11402
  order?: number | undefined;
11343
11403
  visible?: boolean | undefined;
11344
11404
  }>
11345
11405
  ]>, "many">;
11346
- next_node: z.ZodString;
11406
+ next_node: z.ZodOptional<z.ZodString>;
11347
11407
  }, "strip", z.ZodTypeAny, {
11348
11408
  components: ({
11349
11409
  type: "RICH_TEXT";
@@ -11352,6 +11412,7 @@ export declare const formSchema: z.ZodObject<{
11352
11412
  content: string;
11353
11413
  };
11354
11414
  visible: boolean;
11415
+ category?: "BLOCK" | undefined;
11355
11416
  order?: number | undefined;
11356
11417
  } | {
11357
11418
  type: "LEGAL";
@@ -11362,6 +11423,7 @@ export declare const formSchema: z.ZodObject<{
11362
11423
  };
11363
11424
  visible: boolean;
11364
11425
  required?: boolean | undefined;
11426
+ category?: "FIELD" | undefined;
11365
11427
  order?: number | undefined;
11366
11428
  } | {
11367
11429
  type: "TEXT";
@@ -11372,6 +11434,7 @@ export declare const formSchema: z.ZodObject<{
11372
11434
  };
11373
11435
  visible: boolean;
11374
11436
  required?: boolean | undefined;
11437
+ category?: "FIELD" | undefined;
11375
11438
  sensitive?: boolean | undefined;
11376
11439
  order?: number | undefined;
11377
11440
  } | {
@@ -11381,9 +11444,10 @@ export declare const formSchema: z.ZodObject<{
11381
11444
  text?: string | undefined;
11382
11445
  };
11383
11446
  visible: boolean;
11447
+ category?: "BLOCK" | undefined;
11384
11448
  order?: number | undefined;
11385
11449
  })[];
11386
- next_node: string;
11450
+ next_node?: string | undefined;
11387
11451
  }, {
11388
11452
  components: ({
11389
11453
  type: "RICH_TEXT";
@@ -11391,6 +11455,7 @@ export declare const formSchema: z.ZodObject<{
11391
11455
  config: {
11392
11456
  content: string;
11393
11457
  };
11458
+ category?: "BLOCK" | undefined;
11394
11459
  order?: number | undefined;
11395
11460
  visible?: boolean | undefined;
11396
11461
  } | {
@@ -11401,6 +11466,7 @@ export declare const formSchema: z.ZodObject<{
11401
11466
  html?: boolean | undefined;
11402
11467
  };
11403
11468
  required?: boolean | undefined;
11469
+ category?: "FIELD" | undefined;
11404
11470
  order?: number | undefined;
11405
11471
  visible?: boolean | undefined;
11406
11472
  } | {
@@ -11411,6 +11477,7 @@ export declare const formSchema: z.ZodObject<{
11411
11477
  multiline?: boolean | undefined;
11412
11478
  };
11413
11479
  required?: boolean | undefined;
11480
+ category?: "FIELD" | undefined;
11414
11481
  sensitive?: boolean | undefined;
11415
11482
  order?: number | undefined;
11416
11483
  visible?: boolean | undefined;
@@ -11420,10 +11487,11 @@ export declare const formSchema: z.ZodObject<{
11420
11487
  config: {
11421
11488
  text?: string | undefined;
11422
11489
  };
11490
+ category?: "BLOCK" | undefined;
11423
11491
  order?: number | undefined;
11424
11492
  visible?: boolean | undefined;
11425
11493
  })[];
11426
- next_node: string;
11494
+ next_node?: string | undefined;
11427
11495
  }>;
11428
11496
  }, "strip", z.ZodTypeAny, {
11429
11497
  type: "STEP";
@@ -11436,6 +11504,7 @@ export declare const formSchema: z.ZodObject<{
11436
11504
  content: string;
11437
11505
  };
11438
11506
  visible: boolean;
11507
+ category?: "BLOCK" | undefined;
11439
11508
  order?: number | undefined;
11440
11509
  } | {
11441
11510
  type: "LEGAL";
@@ -11446,6 +11515,7 @@ export declare const formSchema: z.ZodObject<{
11446
11515
  };
11447
11516
  visible: boolean;
11448
11517
  required?: boolean | undefined;
11518
+ category?: "FIELD" | undefined;
11449
11519
  order?: number | undefined;
11450
11520
  } | {
11451
11521
  type: "TEXT";
@@ -11456,6 +11526,7 @@ export declare const formSchema: z.ZodObject<{
11456
11526
  };
11457
11527
  visible: boolean;
11458
11528
  required?: boolean | undefined;
11529
+ category?: "FIELD" | undefined;
11459
11530
  sensitive?: boolean | undefined;
11460
11531
  order?: number | undefined;
11461
11532
  } | {
@@ -11465,9 +11536,10 @@ export declare const formSchema: z.ZodObject<{
11465
11536
  text?: string | undefined;
11466
11537
  };
11467
11538
  visible: boolean;
11539
+ category?: "BLOCK" | undefined;
11468
11540
  order?: number | undefined;
11469
11541
  })[];
11470
- next_node: string;
11542
+ next_node?: string | undefined;
11471
11543
  };
11472
11544
  coordinates: {
11473
11545
  x: number;
@@ -11484,6 +11556,7 @@ export declare const formSchema: z.ZodObject<{
11484
11556
  config: {
11485
11557
  content: string;
11486
11558
  };
11559
+ category?: "BLOCK" | undefined;
11487
11560
  order?: number | undefined;
11488
11561
  visible?: boolean | undefined;
11489
11562
  } | {
@@ -11494,6 +11567,7 @@ export declare const formSchema: z.ZodObject<{
11494
11567
  html?: boolean | undefined;
11495
11568
  };
11496
11569
  required?: boolean | undefined;
11570
+ category?: "FIELD" | undefined;
11497
11571
  order?: number | undefined;
11498
11572
  visible?: boolean | undefined;
11499
11573
  } | {
@@ -11504,6 +11578,7 @@ export declare const formSchema: z.ZodObject<{
11504
11578
  multiline?: boolean | undefined;
11505
11579
  };
11506
11580
  required?: boolean | undefined;
11581
+ category?: "FIELD" | undefined;
11507
11582
  sensitive?: boolean | undefined;
11508
11583
  order?: number | undefined;
11509
11584
  visible?: boolean | undefined;
@@ -11513,10 +11588,11 @@ export declare const formSchema: z.ZodObject<{
11513
11588
  config: {
11514
11589
  text?: string | undefined;
11515
11590
  };
11591
+ category?: "BLOCK" | undefined;
11516
11592
  order?: number | undefined;
11517
11593
  visible?: boolean | undefined;
11518
11594
  })[];
11519
- next_node: string;
11595
+ next_node?: string | undefined;
11520
11596
  };
11521
11597
  coordinates: {
11522
11598
  x: number;
@@ -11660,8 +11736,8 @@ export declare const formSchema: z.ZodObject<{
11660
11736
  type: "FLOW";
11661
11737
  id: string;
11662
11738
  config: {
11663
- next_node: string;
11664
11739
  flow_id: string;
11740
+ next_node?: string | undefined;
11665
11741
  };
11666
11742
  coordinates: {
11667
11743
  x: number;
@@ -11678,7 +11754,7 @@ export declare const formSchema: z.ZodObject<{
11678
11754
  alias?: string | undefined;
11679
11755
  condition?: any;
11680
11756
  }[];
11681
- fallback: string[];
11757
+ fallback: string;
11682
11758
  };
11683
11759
  coordinates: {
11684
11760
  x: number;
@@ -11696,6 +11772,7 @@ export declare const formSchema: z.ZodObject<{
11696
11772
  content: string;
11697
11773
  };
11698
11774
  visible: boolean;
11775
+ category?: "BLOCK" | undefined;
11699
11776
  order?: number | undefined;
11700
11777
  } | {
11701
11778
  type: "LEGAL";
@@ -11706,6 +11783,7 @@ export declare const formSchema: z.ZodObject<{
11706
11783
  };
11707
11784
  visible: boolean;
11708
11785
  required?: boolean | undefined;
11786
+ category?: "FIELD" | undefined;
11709
11787
  order?: number | undefined;
11710
11788
  } | {
11711
11789
  type: "TEXT";
@@ -11716,6 +11794,7 @@ export declare const formSchema: z.ZodObject<{
11716
11794
  };
11717
11795
  visible: boolean;
11718
11796
  required?: boolean | undefined;
11797
+ category?: "FIELD" | undefined;
11719
11798
  sensitive?: boolean | undefined;
11720
11799
  order?: number | undefined;
11721
11800
  } | {
@@ -11725,9 +11804,10 @@ export declare const formSchema: z.ZodObject<{
11725
11804
  text?: string | undefined;
11726
11805
  };
11727
11806
  visible: boolean;
11807
+ category?: "BLOCK" | undefined;
11728
11808
  order?: number | undefined;
11729
11809
  })[];
11730
- next_node: string;
11810
+ next_node?: string | undefined;
11731
11811
  };
11732
11812
  coordinates: {
11733
11813
  x: number;
@@ -11781,8 +11861,8 @@ export declare const formSchema: z.ZodObject<{
11781
11861
  type: "FLOW";
11782
11862
  id: string;
11783
11863
  config: {
11784
- next_node: string;
11785
11864
  flow_id: string;
11865
+ next_node?: string | undefined;
11786
11866
  };
11787
11867
  coordinates: {
11788
11868
  x: number;
@@ -11799,7 +11879,7 @@ export declare const formSchema: z.ZodObject<{
11799
11879
  alias?: string | undefined;
11800
11880
  condition?: any;
11801
11881
  }[];
11802
- fallback: string[];
11882
+ fallback: string;
11803
11883
  };
11804
11884
  coordinates: {
11805
11885
  x: number;
@@ -11816,6 +11896,7 @@ export declare const formSchema: z.ZodObject<{
11816
11896
  config: {
11817
11897
  content: string;
11818
11898
  };
11899
+ category?: "BLOCK" | undefined;
11819
11900
  order?: number | undefined;
11820
11901
  visible?: boolean | undefined;
11821
11902
  } | {
@@ -11826,6 +11907,7 @@ export declare const formSchema: z.ZodObject<{
11826
11907
  html?: boolean | undefined;
11827
11908
  };
11828
11909
  required?: boolean | undefined;
11910
+ category?: "FIELD" | undefined;
11829
11911
  order?: number | undefined;
11830
11912
  visible?: boolean | undefined;
11831
11913
  } | {
@@ -11836,6 +11918,7 @@ export declare const formSchema: z.ZodObject<{
11836
11918
  multiline?: boolean | undefined;
11837
11919
  };
11838
11920
  required?: boolean | undefined;
11921
+ category?: "FIELD" | undefined;
11839
11922
  sensitive?: boolean | undefined;
11840
11923
  order?: number | undefined;
11841
11924
  visible?: boolean | undefined;
@@ -11845,10 +11928,11 @@ export declare const formSchema: z.ZodObject<{
11845
11928
  config: {
11846
11929
  text?: string | undefined;
11847
11930
  };
11931
+ category?: "BLOCK" | undefined;
11848
11932
  order?: number | undefined;
11849
11933
  visible?: boolean | undefined;
11850
11934
  })[];
11851
- next_node: string;
11935
+ next_node?: string | undefined;
11852
11936
  };
11853
11937
  coordinates: {
11854
11938
  x: number;