@authhero/kysely-adapter 10.62.0 → 10.63.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.
@@ -1266,6 +1266,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1266
1266
  } & {
1267
1267
  id: z.ZodOptional<z.ZodString>;
1268
1268
  name: z.ZodString;
1269
+ display_name: z.ZodOptional<z.ZodString>;
1269
1270
  strategy: z.ZodString;
1270
1271
  options: z.ZodDefault<z.ZodObject<{
1271
1272
  kid: z.ZodOptional<z.ZodString>;
@@ -1286,6 +1287,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1286
1287
  from: z.ZodOptional<z.ZodString>;
1287
1288
  twilio_sid: z.ZodOptional<z.ZodString>;
1288
1289
  twilio_token: z.ZodOptional<z.ZodString>;
1290
+ icon_url: z.ZodOptional<z.ZodString>;
1289
1291
  }, "strip", z.ZodTypeAny, {
1290
1292
  provider?: string | undefined;
1291
1293
  client_id?: string | undefined;
@@ -1305,6 +1307,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1305
1307
  from?: string | undefined;
1306
1308
  twilio_sid?: string | undefined;
1307
1309
  twilio_token?: string | undefined;
1310
+ icon_url?: string | undefined;
1308
1311
  }, {
1309
1312
  provider?: string | undefined;
1310
1313
  client_id?: string | undefined;
@@ -1324,10 +1327,14 @@ declare const LegacyClientSchema: z.ZodObject<{
1324
1327
  from?: string | undefined;
1325
1328
  twilio_sid?: string | undefined;
1326
1329
  twilio_token?: string | undefined;
1330
+ icon_url?: string | undefined;
1327
1331
  }>>;
1328
1332
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1329
1333
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
1330
1334
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
1335
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
1336
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
1337
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1331
1338
  }, "strip", z.ZodTypeAny, {
1332
1339
  options: {
1333
1340
  provider?: string | undefined;
@@ -1348,6 +1355,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1348
1355
  from?: string | undefined;
1349
1356
  twilio_sid?: string | undefined;
1350
1357
  twilio_token?: string | undefined;
1358
+ icon_url?: string | undefined;
1351
1359
  };
1352
1360
  created_at: string;
1353
1361
  updated_at: string;
@@ -1356,7 +1364,11 @@ declare const LegacyClientSchema: z.ZodObject<{
1356
1364
  id?: string | undefined;
1357
1365
  response_type?: AuthorizationResponseType | undefined;
1358
1366
  response_mode?: AuthorizationResponseMode | undefined;
1367
+ display_name?: string | undefined;
1359
1368
  enabled_clients?: string[] | undefined;
1369
+ is_domain_connection?: boolean | undefined;
1370
+ show_as_button?: boolean | undefined;
1371
+ metadata?: Record<string, any> | undefined;
1360
1372
  }, {
1361
1373
  created_at: string;
1362
1374
  updated_at: string;
@@ -1381,11 +1393,16 @@ declare const LegacyClientSchema: z.ZodObject<{
1381
1393
  from?: string | undefined;
1382
1394
  twilio_sid?: string | undefined;
1383
1395
  twilio_token?: string | undefined;
1396
+ icon_url?: string | undefined;
1384
1397
  } | undefined;
1385
1398
  id?: string | undefined;
1386
1399
  response_type?: AuthorizationResponseType | undefined;
1387
1400
  response_mode?: AuthorizationResponseMode | undefined;
1401
+ display_name?: string | undefined;
1388
1402
  enabled_clients?: string[] | undefined;
1403
+ is_domain_connection?: boolean | undefined;
1404
+ show_as_button?: boolean | undefined;
1405
+ metadata?: Record<string, any> | undefined;
1389
1406
  }>, "many">;
1390
1407
  client_id: z.ZodString;
1391
1408
  name: z.ZodString;
@@ -1614,6 +1631,7 @@ declare const LegacyClientSchema: z.ZodObject<{
1614
1631
  from?: string | undefined;
1615
1632
  twilio_sid?: string | undefined;
1616
1633
  twilio_token?: string | undefined;
1634
+ icon_url?: string | undefined;
1617
1635
  };
1618
1636
  created_at: string;
1619
1637
  updated_at: string;
@@ -1622,7 +1640,11 @@ declare const LegacyClientSchema: z.ZodObject<{
1622
1640
  id?: string | undefined;
1623
1641
  response_type?: AuthorizationResponseType | undefined;
1624
1642
  response_mode?: AuthorizationResponseMode | undefined;
1643
+ display_name?: string | undefined;
1625
1644
  enabled_clients?: string[] | undefined;
1645
+ is_domain_connection?: boolean | undefined;
1646
+ show_as_button?: boolean | undefined;
1647
+ metadata?: Record<string, any> | undefined;
1626
1648
  }[];
1627
1649
  description?: string | undefined;
1628
1650
  refresh_token?: Record<string, any> | undefined;
@@ -1789,11 +1811,16 @@ declare const LegacyClientSchema: z.ZodObject<{
1789
1811
  from?: string | undefined;
1790
1812
  twilio_sid?: string | undefined;
1791
1813
  twilio_token?: string | undefined;
1814
+ icon_url?: string | undefined;
1792
1815
  } | undefined;
1793
1816
  id?: string | undefined;
1794
1817
  response_type?: AuthorizationResponseType | undefined;
1795
1818
  response_mode?: AuthorizationResponseMode | undefined;
1819
+ display_name?: string | undefined;
1796
1820
  enabled_clients?: string[] | undefined;
1821
+ is_domain_connection?: boolean | undefined;
1822
+ show_as_button?: boolean | undefined;
1823
+ metadata?: Record<string, any> | undefined;
1797
1824
  }[];
1798
1825
  description?: string | undefined;
1799
1826
  refresh_token?: Record<string, any> | undefined;
@@ -1964,6 +1991,7 @@ export type Code = z.infer<typeof codeSchema>;
1964
1991
  declare const connectionInsertSchema: z.ZodObject<{
1965
1992
  id: z.ZodOptional<z.ZodString>;
1966
1993
  name: z.ZodString;
1994
+ display_name: z.ZodOptional<z.ZodString>;
1967
1995
  strategy: z.ZodString;
1968
1996
  options: z.ZodDefault<z.ZodObject<{
1969
1997
  kid: z.ZodOptional<z.ZodString>;
@@ -1984,6 +2012,7 @@ declare const connectionInsertSchema: z.ZodObject<{
1984
2012
  from: z.ZodOptional<z.ZodString>;
1985
2013
  twilio_sid: z.ZodOptional<z.ZodString>;
1986
2014
  twilio_token: z.ZodOptional<z.ZodString>;
2015
+ icon_url: z.ZodOptional<z.ZodString>;
1987
2016
  }, "strip", z.ZodTypeAny, {
1988
2017
  provider?: string | undefined;
1989
2018
  client_id?: string | undefined;
@@ -2003,6 +2032,7 @@ declare const connectionInsertSchema: z.ZodObject<{
2003
2032
  from?: string | undefined;
2004
2033
  twilio_sid?: string | undefined;
2005
2034
  twilio_token?: string | undefined;
2035
+ icon_url?: string | undefined;
2006
2036
  }, {
2007
2037
  provider?: string | undefined;
2008
2038
  client_id?: string | undefined;
@@ -2022,10 +2052,14 @@ declare const connectionInsertSchema: z.ZodObject<{
2022
2052
  from?: string | undefined;
2023
2053
  twilio_sid?: string | undefined;
2024
2054
  twilio_token?: string | undefined;
2055
+ icon_url?: string | undefined;
2025
2056
  }>>;
2026
2057
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
2027
2058
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
2028
2059
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
2060
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
2061
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
2062
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2029
2063
  }, "strip", z.ZodTypeAny, {
2030
2064
  options: {
2031
2065
  provider?: string | undefined;
@@ -2046,13 +2080,18 @@ declare const connectionInsertSchema: z.ZodObject<{
2046
2080
  from?: string | undefined;
2047
2081
  twilio_sid?: string | undefined;
2048
2082
  twilio_token?: string | undefined;
2083
+ icon_url?: string | undefined;
2049
2084
  };
2050
2085
  name: string;
2051
2086
  strategy: string;
2052
2087
  id?: string | undefined;
2053
2088
  response_type?: AuthorizationResponseType | undefined;
2054
2089
  response_mode?: AuthorizationResponseMode | undefined;
2090
+ display_name?: string | undefined;
2055
2091
  enabled_clients?: string[] | undefined;
2092
+ is_domain_connection?: boolean | undefined;
2093
+ show_as_button?: boolean | undefined;
2094
+ metadata?: Record<string, any> | undefined;
2056
2095
  }, {
2057
2096
  name: string;
2058
2097
  strategy: string;
@@ -2075,11 +2114,16 @@ declare const connectionInsertSchema: z.ZodObject<{
2075
2114
  from?: string | undefined;
2076
2115
  twilio_sid?: string | undefined;
2077
2116
  twilio_token?: string | undefined;
2117
+ icon_url?: string | undefined;
2078
2118
  } | undefined;
2079
2119
  id?: string | undefined;
2080
2120
  response_type?: AuthorizationResponseType | undefined;
2081
2121
  response_mode?: AuthorizationResponseMode | undefined;
2122
+ display_name?: string | undefined;
2082
2123
  enabled_clients?: string[] | undefined;
2124
+ is_domain_connection?: boolean | undefined;
2125
+ show_as_button?: boolean | undefined;
2126
+ metadata?: Record<string, any> | undefined;
2083
2127
  }>;
2084
2128
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
2085
2129
  declare const connectionSchema: z.ZodObject<{
@@ -2088,6 +2132,7 @@ declare const connectionSchema: z.ZodObject<{
2088
2132
  } & {
2089
2133
  id: z.ZodOptional<z.ZodString>;
2090
2134
  name: z.ZodString;
2135
+ display_name: z.ZodOptional<z.ZodString>;
2091
2136
  strategy: z.ZodString;
2092
2137
  options: z.ZodDefault<z.ZodObject<{
2093
2138
  kid: z.ZodOptional<z.ZodString>;
@@ -2108,6 +2153,7 @@ declare const connectionSchema: z.ZodObject<{
2108
2153
  from: z.ZodOptional<z.ZodString>;
2109
2154
  twilio_sid: z.ZodOptional<z.ZodString>;
2110
2155
  twilio_token: z.ZodOptional<z.ZodString>;
2156
+ icon_url: z.ZodOptional<z.ZodString>;
2111
2157
  }, "strip", z.ZodTypeAny, {
2112
2158
  provider?: string | undefined;
2113
2159
  client_id?: string | undefined;
@@ -2127,6 +2173,7 @@ declare const connectionSchema: z.ZodObject<{
2127
2173
  from?: string | undefined;
2128
2174
  twilio_sid?: string | undefined;
2129
2175
  twilio_token?: string | undefined;
2176
+ icon_url?: string | undefined;
2130
2177
  }, {
2131
2178
  provider?: string | undefined;
2132
2179
  client_id?: string | undefined;
@@ -2146,10 +2193,14 @@ declare const connectionSchema: z.ZodObject<{
2146
2193
  from?: string | undefined;
2147
2194
  twilio_sid?: string | undefined;
2148
2195
  twilio_token?: string | undefined;
2196
+ icon_url?: string | undefined;
2149
2197
  }>>;
2150
2198
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
2151
2199
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
2152
2200
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
2201
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
2202
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
2203
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2153
2204
  }, "strip", z.ZodTypeAny, {
2154
2205
  options: {
2155
2206
  provider?: string | undefined;
@@ -2170,6 +2221,7 @@ declare const connectionSchema: z.ZodObject<{
2170
2221
  from?: string | undefined;
2171
2222
  twilio_sid?: string | undefined;
2172
2223
  twilio_token?: string | undefined;
2224
+ icon_url?: string | undefined;
2173
2225
  };
2174
2226
  created_at: string;
2175
2227
  updated_at: string;
@@ -2178,7 +2230,11 @@ declare const connectionSchema: z.ZodObject<{
2178
2230
  id?: string | undefined;
2179
2231
  response_type?: AuthorizationResponseType | undefined;
2180
2232
  response_mode?: AuthorizationResponseMode | undefined;
2233
+ display_name?: string | undefined;
2181
2234
  enabled_clients?: string[] | undefined;
2235
+ is_domain_connection?: boolean | undefined;
2236
+ show_as_button?: boolean | undefined;
2237
+ metadata?: Record<string, any> | undefined;
2182
2238
  }, {
2183
2239
  created_at: string;
2184
2240
  updated_at: string;
@@ -2203,11 +2259,16 @@ declare const connectionSchema: z.ZodObject<{
2203
2259
  from?: string | undefined;
2204
2260
  twilio_sid?: string | undefined;
2205
2261
  twilio_token?: string | undefined;
2262
+ icon_url?: string | undefined;
2206
2263
  } | undefined;
2207
2264
  id?: string | undefined;
2208
2265
  response_type?: AuthorizationResponseType | undefined;
2209
2266
  response_mode?: AuthorizationResponseMode | undefined;
2267
+ display_name?: string | undefined;
2210
2268
  enabled_clients?: string[] | undefined;
2269
+ is_domain_connection?: boolean | undefined;
2270
+ show_as_button?: boolean | undefined;
2271
+ metadata?: Record<string, any> | undefined;
2211
2272
  }>;
2212
2273
  export type Connection = z.infer<typeof connectionSchema>;
2213
2274
  declare const customDomainInsertSchema: z.ZodObject<{
@@ -2477,20 +2538,20 @@ declare const formInsertSchema: z.ZodObject<{
2477
2538
  alias: z.ZodOptional<z.ZodString>;
2478
2539
  config: z.ZodObject<{
2479
2540
  flow_id: z.ZodString;
2480
- next_node: z.ZodString;
2541
+ next_node: z.ZodOptional<z.ZodString>;
2481
2542
  }, "strip", z.ZodTypeAny, {
2482
- next_node: string;
2483
2543
  flow_id: string;
2544
+ next_node?: string | undefined;
2484
2545
  }, {
2485
- next_node: string;
2486
2546
  flow_id: string;
2547
+ next_node?: string | undefined;
2487
2548
  }>;
2488
2549
  }, "strip", z.ZodTypeAny, {
2489
2550
  type: "FLOW";
2490
2551
  id: string;
2491
2552
  config: {
2492
- next_node: string;
2493
2553
  flow_id: string;
2554
+ next_node?: string | undefined;
2494
2555
  };
2495
2556
  coordinates: {
2496
2557
  x: number;
@@ -2501,8 +2562,8 @@ declare const formInsertSchema: z.ZodObject<{
2501
2562
  type: "FLOW";
2502
2563
  id: string;
2503
2564
  config: {
2504
- next_node: string;
2505
2565
  flow_id: string;
2566
+ next_node?: string | undefined;
2506
2567
  };
2507
2568
  coordinates: {
2508
2569
  x: number;
@@ -2541,7 +2602,7 @@ declare const formInsertSchema: z.ZodObject<{
2541
2602
  alias?: string | undefined;
2542
2603
  condition?: any;
2543
2604
  }>, "many">;
2544
- fallback: z.ZodArray<z.ZodString, "many">;
2605
+ fallback: z.ZodString;
2545
2606
  }, "strip", z.ZodTypeAny, {
2546
2607
  rules: {
2547
2608
  id: string;
@@ -2549,7 +2610,7 @@ declare const formInsertSchema: z.ZodObject<{
2549
2610
  alias?: string | undefined;
2550
2611
  condition?: any;
2551
2612
  }[];
2552
- fallback: string[];
2613
+ fallback: string;
2553
2614
  }, {
2554
2615
  rules: {
2555
2616
  id: string;
@@ -2557,7 +2618,7 @@ declare const formInsertSchema: z.ZodObject<{
2557
2618
  alias?: string | undefined;
2558
2619
  condition?: any;
2559
2620
  }[];
2560
- fallback: string[];
2621
+ fallback: string;
2561
2622
  }>;
2562
2623
  }, "strip", z.ZodTypeAny, {
2563
2624
  type: "ROUTER";
@@ -2569,7 +2630,7 @@ declare const formInsertSchema: z.ZodObject<{
2569
2630
  alias?: string | undefined;
2570
2631
  condition?: any;
2571
2632
  }[];
2572
- fallback: string[];
2633
+ fallback: string;
2573
2634
  };
2574
2635
  coordinates: {
2575
2636
  x: number;
@@ -2586,7 +2647,7 @@ declare const formInsertSchema: z.ZodObject<{
2586
2647
  alias?: string | undefined;
2587
2648
  condition?: any;
2588
2649
  }[];
2589
- fallback: string[];
2650
+ fallback: string;
2590
2651
  };
2591
2652
  coordinates: {
2592
2653
  x: number;
@@ -2612,6 +2673,7 @@ declare const formInsertSchema: z.ZodObject<{
2612
2673
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
2613
2674
  z.ZodObject<{
2614
2675
  id: z.ZodString;
2676
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2615
2677
  type: z.ZodLiteral<"RICH_TEXT">;
2616
2678
  config: z.ZodObject<{
2617
2679
  content: z.ZodString;
@@ -2629,6 +2691,7 @@ declare const formInsertSchema: z.ZodObject<{
2629
2691
  content: string;
2630
2692
  };
2631
2693
  visible: boolean;
2694
+ category?: "BLOCK" | undefined;
2632
2695
  order?: number | undefined;
2633
2696
  }, {
2634
2697
  type: "RICH_TEXT";
@@ -2636,11 +2699,13 @@ declare const formInsertSchema: z.ZodObject<{
2636
2699
  config: {
2637
2700
  content: string;
2638
2701
  };
2702
+ category?: "BLOCK" | undefined;
2639
2703
  order?: number | undefined;
2640
2704
  visible?: boolean | undefined;
2641
2705
  }>,
2642
2706
  z.ZodObject<{
2643
2707
  id: z.ZodString;
2708
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2644
2709
  type: z.ZodLiteral<"LEGAL">;
2645
2710
  config: z.ZodObject<{
2646
2711
  text: z.ZodString;
@@ -2664,6 +2729,7 @@ declare const formInsertSchema: z.ZodObject<{
2664
2729
  };
2665
2730
  visible: boolean;
2666
2731
  required?: boolean | undefined;
2732
+ category?: "FIELD" | undefined;
2667
2733
  order?: number | undefined;
2668
2734
  }, {
2669
2735
  type: "LEGAL";
@@ -2673,11 +2739,13 @@ declare const formInsertSchema: z.ZodObject<{
2673
2739
  html?: boolean | undefined;
2674
2740
  };
2675
2741
  required?: boolean | undefined;
2742
+ category?: "FIELD" | undefined;
2676
2743
  order?: number | undefined;
2677
2744
  visible?: boolean | undefined;
2678
2745
  }>,
2679
2746
  z.ZodObject<{
2680
2747
  id: z.ZodString;
2748
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
2681
2749
  type: z.ZodLiteral<"TEXT">;
2682
2750
  config: z.ZodObject<{
2683
2751
  placeholder: z.ZodOptional<z.ZodString>;
@@ -2702,6 +2770,7 @@ declare const formInsertSchema: z.ZodObject<{
2702
2770
  };
2703
2771
  visible: boolean;
2704
2772
  required?: boolean | undefined;
2773
+ category?: "FIELD" | undefined;
2705
2774
  sensitive?: boolean | undefined;
2706
2775
  order?: number | undefined;
2707
2776
  }, {
@@ -2712,12 +2781,14 @@ declare const formInsertSchema: z.ZodObject<{
2712
2781
  multiline?: boolean | undefined;
2713
2782
  };
2714
2783
  required?: boolean | undefined;
2784
+ category?: "FIELD" | undefined;
2715
2785
  sensitive?: boolean | undefined;
2716
2786
  order?: number | undefined;
2717
2787
  visible?: boolean | undefined;
2718
2788
  }>,
2719
2789
  z.ZodObject<{
2720
2790
  id: z.ZodString;
2791
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
2721
2792
  type: z.ZodLiteral<"NEXT_BUTTON">;
2722
2793
  config: z.ZodObject<{
2723
2794
  text: z.ZodOptional<z.ZodString>;
@@ -2735,6 +2806,7 @@ declare const formInsertSchema: z.ZodObject<{
2735
2806
  text?: string | undefined;
2736
2807
  };
2737
2808
  visible: boolean;
2809
+ category?: "BLOCK" | undefined;
2738
2810
  order?: number | undefined;
2739
2811
  }, {
2740
2812
  type: "NEXT_BUTTON";
@@ -2742,11 +2814,12 @@ declare const formInsertSchema: z.ZodObject<{
2742
2814
  config: {
2743
2815
  text?: string | undefined;
2744
2816
  };
2817
+ category?: "BLOCK" | undefined;
2745
2818
  order?: number | undefined;
2746
2819
  visible?: boolean | undefined;
2747
2820
  }>
2748
2821
  ]>, "many">;
2749
- next_node: z.ZodString;
2822
+ next_node: z.ZodOptional<z.ZodString>;
2750
2823
  }, "strip", z.ZodTypeAny, {
2751
2824
  components: ({
2752
2825
  type: "RICH_TEXT";
@@ -2755,6 +2828,7 @@ declare const formInsertSchema: z.ZodObject<{
2755
2828
  content: string;
2756
2829
  };
2757
2830
  visible: boolean;
2831
+ category?: "BLOCK" | undefined;
2758
2832
  order?: number | undefined;
2759
2833
  } | {
2760
2834
  type: "LEGAL";
@@ -2765,6 +2839,7 @@ declare const formInsertSchema: z.ZodObject<{
2765
2839
  };
2766
2840
  visible: boolean;
2767
2841
  required?: boolean | undefined;
2842
+ category?: "FIELD" | undefined;
2768
2843
  order?: number | undefined;
2769
2844
  } | {
2770
2845
  type: "TEXT";
@@ -2775,6 +2850,7 @@ declare const formInsertSchema: z.ZodObject<{
2775
2850
  };
2776
2851
  visible: boolean;
2777
2852
  required?: boolean | undefined;
2853
+ category?: "FIELD" | undefined;
2778
2854
  sensitive?: boolean | undefined;
2779
2855
  order?: number | undefined;
2780
2856
  } | {
@@ -2784,9 +2860,10 @@ declare const formInsertSchema: z.ZodObject<{
2784
2860
  text?: string | undefined;
2785
2861
  };
2786
2862
  visible: boolean;
2863
+ category?: "BLOCK" | undefined;
2787
2864
  order?: number | undefined;
2788
2865
  })[];
2789
- next_node: string;
2866
+ next_node?: string | undefined;
2790
2867
  }, {
2791
2868
  components: ({
2792
2869
  type: "RICH_TEXT";
@@ -2794,6 +2871,7 @@ declare const formInsertSchema: z.ZodObject<{
2794
2871
  config: {
2795
2872
  content: string;
2796
2873
  };
2874
+ category?: "BLOCK" | undefined;
2797
2875
  order?: number | undefined;
2798
2876
  visible?: boolean | undefined;
2799
2877
  } | {
@@ -2804,6 +2882,7 @@ declare const formInsertSchema: z.ZodObject<{
2804
2882
  html?: boolean | undefined;
2805
2883
  };
2806
2884
  required?: boolean | undefined;
2885
+ category?: "FIELD" | undefined;
2807
2886
  order?: number | undefined;
2808
2887
  visible?: boolean | undefined;
2809
2888
  } | {
@@ -2814,6 +2893,7 @@ declare const formInsertSchema: z.ZodObject<{
2814
2893
  multiline?: boolean | undefined;
2815
2894
  };
2816
2895
  required?: boolean | undefined;
2896
+ category?: "FIELD" | undefined;
2817
2897
  sensitive?: boolean | undefined;
2818
2898
  order?: number | undefined;
2819
2899
  visible?: boolean | undefined;
@@ -2823,10 +2903,11 @@ declare const formInsertSchema: z.ZodObject<{
2823
2903
  config: {
2824
2904
  text?: string | undefined;
2825
2905
  };
2906
+ category?: "BLOCK" | undefined;
2826
2907
  order?: number | undefined;
2827
2908
  visible?: boolean | undefined;
2828
2909
  })[];
2829
- next_node: string;
2910
+ next_node?: string | undefined;
2830
2911
  }>;
2831
2912
  }, "strip", z.ZodTypeAny, {
2832
2913
  type: "STEP";
@@ -2839,6 +2920,7 @@ declare const formInsertSchema: z.ZodObject<{
2839
2920
  content: string;
2840
2921
  };
2841
2922
  visible: boolean;
2923
+ category?: "BLOCK" | undefined;
2842
2924
  order?: number | undefined;
2843
2925
  } | {
2844
2926
  type: "LEGAL";
@@ -2849,6 +2931,7 @@ declare const formInsertSchema: z.ZodObject<{
2849
2931
  };
2850
2932
  visible: boolean;
2851
2933
  required?: boolean | undefined;
2934
+ category?: "FIELD" | undefined;
2852
2935
  order?: number | undefined;
2853
2936
  } | {
2854
2937
  type: "TEXT";
@@ -2859,6 +2942,7 @@ declare const formInsertSchema: z.ZodObject<{
2859
2942
  };
2860
2943
  visible: boolean;
2861
2944
  required?: boolean | undefined;
2945
+ category?: "FIELD" | undefined;
2862
2946
  sensitive?: boolean | undefined;
2863
2947
  order?: number | undefined;
2864
2948
  } | {
@@ -2868,9 +2952,10 @@ declare const formInsertSchema: z.ZodObject<{
2868
2952
  text?: string | undefined;
2869
2953
  };
2870
2954
  visible: boolean;
2955
+ category?: "BLOCK" | undefined;
2871
2956
  order?: number | undefined;
2872
2957
  })[];
2873
- next_node: string;
2958
+ next_node?: string | undefined;
2874
2959
  };
2875
2960
  coordinates: {
2876
2961
  x: number;
@@ -2887,6 +2972,7 @@ declare const formInsertSchema: z.ZodObject<{
2887
2972
  config: {
2888
2973
  content: string;
2889
2974
  };
2975
+ category?: "BLOCK" | undefined;
2890
2976
  order?: number | undefined;
2891
2977
  visible?: boolean | undefined;
2892
2978
  } | {
@@ -2897,6 +2983,7 @@ declare const formInsertSchema: z.ZodObject<{
2897
2983
  html?: boolean | undefined;
2898
2984
  };
2899
2985
  required?: boolean | undefined;
2986
+ category?: "FIELD" | undefined;
2900
2987
  order?: number | undefined;
2901
2988
  visible?: boolean | undefined;
2902
2989
  } | {
@@ -2907,6 +2994,7 @@ declare const formInsertSchema: z.ZodObject<{
2907
2994
  multiline?: boolean | undefined;
2908
2995
  };
2909
2996
  required?: boolean | undefined;
2997
+ category?: "FIELD" | undefined;
2910
2998
  sensitive?: boolean | undefined;
2911
2999
  order?: number | undefined;
2912
3000
  visible?: boolean | undefined;
@@ -2916,10 +3004,11 @@ declare const formInsertSchema: z.ZodObject<{
2916
3004
  config: {
2917
3005
  text?: string | undefined;
2918
3006
  };
3007
+ category?: "BLOCK" | undefined;
2919
3008
  order?: number | undefined;
2920
3009
  visible?: boolean | undefined;
2921
3010
  })[];
2922
- next_node: string;
3011
+ next_node?: string | undefined;
2923
3012
  };
2924
3013
  coordinates: {
2925
3014
  x: number;
@@ -3058,8 +3147,8 @@ declare const formInsertSchema: z.ZodObject<{
3058
3147
  type: "FLOW";
3059
3148
  id: string;
3060
3149
  config: {
3061
- next_node: string;
3062
3150
  flow_id: string;
3151
+ next_node?: string | undefined;
3063
3152
  };
3064
3153
  coordinates: {
3065
3154
  x: number;
@@ -3076,7 +3165,7 @@ declare const formInsertSchema: z.ZodObject<{
3076
3165
  alias?: string | undefined;
3077
3166
  condition?: any;
3078
3167
  }[];
3079
- fallback: string[];
3168
+ fallback: string;
3080
3169
  };
3081
3170
  coordinates: {
3082
3171
  x: number;
@@ -3094,6 +3183,7 @@ declare const formInsertSchema: z.ZodObject<{
3094
3183
  content: string;
3095
3184
  };
3096
3185
  visible: boolean;
3186
+ category?: "BLOCK" | undefined;
3097
3187
  order?: number | undefined;
3098
3188
  } | {
3099
3189
  type: "LEGAL";
@@ -3104,6 +3194,7 @@ declare const formInsertSchema: z.ZodObject<{
3104
3194
  };
3105
3195
  visible: boolean;
3106
3196
  required?: boolean | undefined;
3197
+ category?: "FIELD" | undefined;
3107
3198
  order?: number | undefined;
3108
3199
  } | {
3109
3200
  type: "TEXT";
@@ -3114,6 +3205,7 @@ declare const formInsertSchema: z.ZodObject<{
3114
3205
  };
3115
3206
  visible: boolean;
3116
3207
  required?: boolean | undefined;
3208
+ category?: "FIELD" | undefined;
3117
3209
  sensitive?: boolean | undefined;
3118
3210
  order?: number | undefined;
3119
3211
  } | {
@@ -3123,9 +3215,10 @@ declare const formInsertSchema: z.ZodObject<{
3123
3215
  text?: string | undefined;
3124
3216
  };
3125
3217
  visible: boolean;
3218
+ category?: "BLOCK" | undefined;
3126
3219
  order?: number | undefined;
3127
3220
  })[];
3128
- next_node: string;
3221
+ next_node?: string | undefined;
3129
3222
  };
3130
3223
  coordinates: {
3131
3224
  x: number;
@@ -3176,8 +3269,8 @@ declare const formInsertSchema: z.ZodObject<{
3176
3269
  type: "FLOW";
3177
3270
  id: string;
3178
3271
  config: {
3179
- next_node: string;
3180
3272
  flow_id: string;
3273
+ next_node?: string | undefined;
3181
3274
  };
3182
3275
  coordinates: {
3183
3276
  x: number;
@@ -3194,7 +3287,7 @@ declare const formInsertSchema: z.ZodObject<{
3194
3287
  alias?: string | undefined;
3195
3288
  condition?: any;
3196
3289
  }[];
3197
- fallback: string[];
3290
+ fallback: string;
3198
3291
  };
3199
3292
  coordinates: {
3200
3293
  x: number;
@@ -3211,6 +3304,7 @@ declare const formInsertSchema: z.ZodObject<{
3211
3304
  config: {
3212
3305
  content: string;
3213
3306
  };
3307
+ category?: "BLOCK" | undefined;
3214
3308
  order?: number | undefined;
3215
3309
  visible?: boolean | undefined;
3216
3310
  } | {
@@ -3221,6 +3315,7 @@ declare const formInsertSchema: z.ZodObject<{
3221
3315
  html?: boolean | undefined;
3222
3316
  };
3223
3317
  required?: boolean | undefined;
3318
+ category?: "FIELD" | undefined;
3224
3319
  order?: number | undefined;
3225
3320
  visible?: boolean | undefined;
3226
3321
  } | {
@@ -3231,6 +3326,7 @@ declare const formInsertSchema: z.ZodObject<{
3231
3326
  multiline?: boolean | undefined;
3232
3327
  };
3233
3328
  required?: boolean | undefined;
3329
+ category?: "FIELD" | undefined;
3234
3330
  sensitive?: boolean | undefined;
3235
3331
  order?: number | undefined;
3236
3332
  visible?: boolean | undefined;
@@ -3240,10 +3336,11 @@ declare const formInsertSchema: z.ZodObject<{
3240
3336
  config: {
3241
3337
  text?: string | undefined;
3242
3338
  };
3339
+ category?: "BLOCK" | undefined;
3243
3340
  order?: number | undefined;
3244
3341
  visible?: boolean | undefined;
3245
3342
  })[];
3246
- next_node: string;
3343
+ next_node?: string | undefined;
3247
3344
  };
3248
3345
  coordinates: {
3249
3346
  x: number;
@@ -3313,20 +3410,20 @@ declare const formSchema: z.ZodObject<{
3313
3410
  alias: z.ZodOptional<z.ZodString>;
3314
3411
  config: z.ZodObject<{
3315
3412
  flow_id: z.ZodString;
3316
- next_node: z.ZodString;
3413
+ next_node: z.ZodOptional<z.ZodString>;
3317
3414
  }, "strip", z.ZodTypeAny, {
3318
- next_node: string;
3319
3415
  flow_id: string;
3416
+ next_node?: string | undefined;
3320
3417
  }, {
3321
- next_node: string;
3322
3418
  flow_id: string;
3419
+ next_node?: string | undefined;
3323
3420
  }>;
3324
3421
  }, "strip", z.ZodTypeAny, {
3325
3422
  type: "FLOW";
3326
3423
  id: string;
3327
3424
  config: {
3328
- next_node: string;
3329
3425
  flow_id: string;
3426
+ next_node?: string | undefined;
3330
3427
  };
3331
3428
  coordinates: {
3332
3429
  x: number;
@@ -3337,8 +3434,8 @@ declare const formSchema: z.ZodObject<{
3337
3434
  type: "FLOW";
3338
3435
  id: string;
3339
3436
  config: {
3340
- next_node: string;
3341
3437
  flow_id: string;
3438
+ next_node?: string | undefined;
3342
3439
  };
3343
3440
  coordinates: {
3344
3441
  x: number;
@@ -3377,7 +3474,7 @@ declare const formSchema: z.ZodObject<{
3377
3474
  alias?: string | undefined;
3378
3475
  condition?: any;
3379
3476
  }>, "many">;
3380
- fallback: z.ZodArray<z.ZodString, "many">;
3477
+ fallback: z.ZodString;
3381
3478
  }, "strip", z.ZodTypeAny, {
3382
3479
  rules: {
3383
3480
  id: string;
@@ -3385,7 +3482,7 @@ declare const formSchema: z.ZodObject<{
3385
3482
  alias?: string | undefined;
3386
3483
  condition?: any;
3387
3484
  }[];
3388
- fallback: string[];
3485
+ fallback: string;
3389
3486
  }, {
3390
3487
  rules: {
3391
3488
  id: string;
@@ -3393,7 +3490,7 @@ declare const formSchema: z.ZodObject<{
3393
3490
  alias?: string | undefined;
3394
3491
  condition?: any;
3395
3492
  }[];
3396
- fallback: string[];
3493
+ fallback: string;
3397
3494
  }>;
3398
3495
  }, "strip", z.ZodTypeAny, {
3399
3496
  type: "ROUTER";
@@ -3405,7 +3502,7 @@ declare const formSchema: z.ZodObject<{
3405
3502
  alias?: string | undefined;
3406
3503
  condition?: any;
3407
3504
  }[];
3408
- fallback: string[];
3505
+ fallback: string;
3409
3506
  };
3410
3507
  coordinates: {
3411
3508
  x: number;
@@ -3422,7 +3519,7 @@ declare const formSchema: z.ZodObject<{
3422
3519
  alias?: string | undefined;
3423
3520
  condition?: any;
3424
3521
  }[];
3425
- fallback: string[];
3522
+ fallback: string;
3426
3523
  };
3427
3524
  coordinates: {
3428
3525
  x: number;
@@ -3448,6 +3545,7 @@ declare const formSchema: z.ZodObject<{
3448
3545
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
3449
3546
  z.ZodObject<{
3450
3547
  id: z.ZodString;
3548
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3451
3549
  type: z.ZodLiteral<"RICH_TEXT">;
3452
3550
  config: z.ZodObject<{
3453
3551
  content: z.ZodString;
@@ -3465,6 +3563,7 @@ declare const formSchema: z.ZodObject<{
3465
3563
  content: string;
3466
3564
  };
3467
3565
  visible: boolean;
3566
+ category?: "BLOCK" | undefined;
3468
3567
  order?: number | undefined;
3469
3568
  }, {
3470
3569
  type: "RICH_TEXT";
@@ -3472,11 +3571,13 @@ declare const formSchema: z.ZodObject<{
3472
3571
  config: {
3473
3572
  content: string;
3474
3573
  };
3574
+ category?: "BLOCK" | undefined;
3475
3575
  order?: number | undefined;
3476
3576
  visible?: boolean | undefined;
3477
3577
  }>,
3478
3578
  z.ZodObject<{
3479
3579
  id: z.ZodString;
3580
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3480
3581
  type: z.ZodLiteral<"LEGAL">;
3481
3582
  config: z.ZodObject<{
3482
3583
  text: z.ZodString;
@@ -3500,6 +3601,7 @@ declare const formSchema: z.ZodObject<{
3500
3601
  };
3501
3602
  visible: boolean;
3502
3603
  required?: boolean | undefined;
3604
+ category?: "FIELD" | undefined;
3503
3605
  order?: number | undefined;
3504
3606
  }, {
3505
3607
  type: "LEGAL";
@@ -3509,11 +3611,13 @@ declare const formSchema: z.ZodObject<{
3509
3611
  html?: boolean | undefined;
3510
3612
  };
3511
3613
  required?: boolean | undefined;
3614
+ category?: "FIELD" | undefined;
3512
3615
  order?: number | undefined;
3513
3616
  visible?: boolean | undefined;
3514
3617
  }>,
3515
3618
  z.ZodObject<{
3516
3619
  id: z.ZodString;
3620
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
3517
3621
  type: z.ZodLiteral<"TEXT">;
3518
3622
  config: z.ZodObject<{
3519
3623
  placeholder: z.ZodOptional<z.ZodString>;
@@ -3538,6 +3642,7 @@ declare const formSchema: z.ZodObject<{
3538
3642
  };
3539
3643
  visible: boolean;
3540
3644
  required?: boolean | undefined;
3645
+ category?: "FIELD" | undefined;
3541
3646
  sensitive?: boolean | undefined;
3542
3647
  order?: number | undefined;
3543
3648
  }, {
@@ -3548,12 +3653,14 @@ declare const formSchema: z.ZodObject<{
3548
3653
  multiline?: boolean | undefined;
3549
3654
  };
3550
3655
  required?: boolean | undefined;
3656
+ category?: "FIELD" | undefined;
3551
3657
  sensitive?: boolean | undefined;
3552
3658
  order?: number | undefined;
3553
3659
  visible?: boolean | undefined;
3554
3660
  }>,
3555
3661
  z.ZodObject<{
3556
3662
  id: z.ZodString;
3663
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
3557
3664
  type: z.ZodLiteral<"NEXT_BUTTON">;
3558
3665
  config: z.ZodObject<{
3559
3666
  text: z.ZodOptional<z.ZodString>;
@@ -3571,6 +3678,7 @@ declare const formSchema: z.ZodObject<{
3571
3678
  text?: string | undefined;
3572
3679
  };
3573
3680
  visible: boolean;
3681
+ category?: "BLOCK" | undefined;
3574
3682
  order?: number | undefined;
3575
3683
  }, {
3576
3684
  type: "NEXT_BUTTON";
@@ -3578,11 +3686,12 @@ declare const formSchema: z.ZodObject<{
3578
3686
  config: {
3579
3687
  text?: string | undefined;
3580
3688
  };
3689
+ category?: "BLOCK" | undefined;
3581
3690
  order?: number | undefined;
3582
3691
  visible?: boolean | undefined;
3583
3692
  }>
3584
3693
  ]>, "many">;
3585
- next_node: z.ZodString;
3694
+ next_node: z.ZodOptional<z.ZodString>;
3586
3695
  }, "strip", z.ZodTypeAny, {
3587
3696
  components: ({
3588
3697
  type: "RICH_TEXT";
@@ -3591,6 +3700,7 @@ declare const formSchema: z.ZodObject<{
3591
3700
  content: string;
3592
3701
  };
3593
3702
  visible: boolean;
3703
+ category?: "BLOCK" | undefined;
3594
3704
  order?: number | undefined;
3595
3705
  } | {
3596
3706
  type: "LEGAL";
@@ -3601,6 +3711,7 @@ declare const formSchema: z.ZodObject<{
3601
3711
  };
3602
3712
  visible: boolean;
3603
3713
  required?: boolean | undefined;
3714
+ category?: "FIELD" | undefined;
3604
3715
  order?: number | undefined;
3605
3716
  } | {
3606
3717
  type: "TEXT";
@@ -3611,6 +3722,7 @@ declare const formSchema: z.ZodObject<{
3611
3722
  };
3612
3723
  visible: boolean;
3613
3724
  required?: boolean | undefined;
3725
+ category?: "FIELD" | undefined;
3614
3726
  sensitive?: boolean | undefined;
3615
3727
  order?: number | undefined;
3616
3728
  } | {
@@ -3620,9 +3732,10 @@ declare const formSchema: z.ZodObject<{
3620
3732
  text?: string | undefined;
3621
3733
  };
3622
3734
  visible: boolean;
3735
+ category?: "BLOCK" | undefined;
3623
3736
  order?: number | undefined;
3624
3737
  })[];
3625
- next_node: string;
3738
+ next_node?: string | undefined;
3626
3739
  }, {
3627
3740
  components: ({
3628
3741
  type: "RICH_TEXT";
@@ -3630,6 +3743,7 @@ declare const formSchema: z.ZodObject<{
3630
3743
  config: {
3631
3744
  content: string;
3632
3745
  };
3746
+ category?: "BLOCK" | undefined;
3633
3747
  order?: number | undefined;
3634
3748
  visible?: boolean | undefined;
3635
3749
  } | {
@@ -3640,6 +3754,7 @@ declare const formSchema: z.ZodObject<{
3640
3754
  html?: boolean | undefined;
3641
3755
  };
3642
3756
  required?: boolean | undefined;
3757
+ category?: "FIELD" | undefined;
3643
3758
  order?: number | undefined;
3644
3759
  visible?: boolean | undefined;
3645
3760
  } | {
@@ -3650,6 +3765,7 @@ declare const formSchema: z.ZodObject<{
3650
3765
  multiline?: boolean | undefined;
3651
3766
  };
3652
3767
  required?: boolean | undefined;
3768
+ category?: "FIELD" | undefined;
3653
3769
  sensitive?: boolean | undefined;
3654
3770
  order?: number | undefined;
3655
3771
  visible?: boolean | undefined;
@@ -3659,10 +3775,11 @@ declare const formSchema: z.ZodObject<{
3659
3775
  config: {
3660
3776
  text?: string | undefined;
3661
3777
  };
3778
+ category?: "BLOCK" | undefined;
3662
3779
  order?: number | undefined;
3663
3780
  visible?: boolean | undefined;
3664
3781
  })[];
3665
- next_node: string;
3782
+ next_node?: string | undefined;
3666
3783
  }>;
3667
3784
  }, "strip", z.ZodTypeAny, {
3668
3785
  type: "STEP";
@@ -3675,6 +3792,7 @@ declare const formSchema: z.ZodObject<{
3675
3792
  content: string;
3676
3793
  };
3677
3794
  visible: boolean;
3795
+ category?: "BLOCK" | undefined;
3678
3796
  order?: number | undefined;
3679
3797
  } | {
3680
3798
  type: "LEGAL";
@@ -3685,6 +3803,7 @@ declare const formSchema: z.ZodObject<{
3685
3803
  };
3686
3804
  visible: boolean;
3687
3805
  required?: boolean | undefined;
3806
+ category?: "FIELD" | undefined;
3688
3807
  order?: number | undefined;
3689
3808
  } | {
3690
3809
  type: "TEXT";
@@ -3695,6 +3814,7 @@ declare const formSchema: z.ZodObject<{
3695
3814
  };
3696
3815
  visible: boolean;
3697
3816
  required?: boolean | undefined;
3817
+ category?: "FIELD" | undefined;
3698
3818
  sensitive?: boolean | undefined;
3699
3819
  order?: number | undefined;
3700
3820
  } | {
@@ -3704,9 +3824,10 @@ declare const formSchema: z.ZodObject<{
3704
3824
  text?: string | undefined;
3705
3825
  };
3706
3826
  visible: boolean;
3827
+ category?: "BLOCK" | undefined;
3707
3828
  order?: number | undefined;
3708
3829
  })[];
3709
- next_node: string;
3830
+ next_node?: string | undefined;
3710
3831
  };
3711
3832
  coordinates: {
3712
3833
  x: number;
@@ -3723,6 +3844,7 @@ declare const formSchema: z.ZodObject<{
3723
3844
  config: {
3724
3845
  content: string;
3725
3846
  };
3847
+ category?: "BLOCK" | undefined;
3726
3848
  order?: number | undefined;
3727
3849
  visible?: boolean | undefined;
3728
3850
  } | {
@@ -3733,6 +3855,7 @@ declare const formSchema: z.ZodObject<{
3733
3855
  html?: boolean | undefined;
3734
3856
  };
3735
3857
  required?: boolean | undefined;
3858
+ category?: "FIELD" | undefined;
3736
3859
  order?: number | undefined;
3737
3860
  visible?: boolean | undefined;
3738
3861
  } | {
@@ -3743,6 +3866,7 @@ declare const formSchema: z.ZodObject<{
3743
3866
  multiline?: boolean | undefined;
3744
3867
  };
3745
3868
  required?: boolean | undefined;
3869
+ category?: "FIELD" | undefined;
3746
3870
  sensitive?: boolean | undefined;
3747
3871
  order?: number | undefined;
3748
3872
  visible?: boolean | undefined;
@@ -3752,10 +3876,11 @@ declare const formSchema: z.ZodObject<{
3752
3876
  config: {
3753
3877
  text?: string | undefined;
3754
3878
  };
3879
+ category?: "BLOCK" | undefined;
3755
3880
  order?: number | undefined;
3756
3881
  visible?: boolean | undefined;
3757
3882
  })[];
3758
- next_node: string;
3883
+ next_node?: string | undefined;
3759
3884
  };
3760
3885
  coordinates: {
3761
3886
  x: number;
@@ -3899,8 +4024,8 @@ declare const formSchema: z.ZodObject<{
3899
4024
  type: "FLOW";
3900
4025
  id: string;
3901
4026
  config: {
3902
- next_node: string;
3903
4027
  flow_id: string;
4028
+ next_node?: string | undefined;
3904
4029
  };
3905
4030
  coordinates: {
3906
4031
  x: number;
@@ -3917,7 +4042,7 @@ declare const formSchema: z.ZodObject<{
3917
4042
  alias?: string | undefined;
3918
4043
  condition?: any;
3919
4044
  }[];
3920
- fallback: string[];
4045
+ fallback: string;
3921
4046
  };
3922
4047
  coordinates: {
3923
4048
  x: number;
@@ -3935,6 +4060,7 @@ declare const formSchema: z.ZodObject<{
3935
4060
  content: string;
3936
4061
  };
3937
4062
  visible: boolean;
4063
+ category?: "BLOCK" | undefined;
3938
4064
  order?: number | undefined;
3939
4065
  } | {
3940
4066
  type: "LEGAL";
@@ -3945,6 +4071,7 @@ declare const formSchema: z.ZodObject<{
3945
4071
  };
3946
4072
  visible: boolean;
3947
4073
  required?: boolean | undefined;
4074
+ category?: "FIELD" | undefined;
3948
4075
  order?: number | undefined;
3949
4076
  } | {
3950
4077
  type: "TEXT";
@@ -3955,6 +4082,7 @@ declare const formSchema: z.ZodObject<{
3955
4082
  };
3956
4083
  visible: boolean;
3957
4084
  required?: boolean | undefined;
4085
+ category?: "FIELD" | undefined;
3958
4086
  sensitive?: boolean | undefined;
3959
4087
  order?: number | undefined;
3960
4088
  } | {
@@ -3964,9 +4092,10 @@ declare const formSchema: z.ZodObject<{
3964
4092
  text?: string | undefined;
3965
4093
  };
3966
4094
  visible: boolean;
4095
+ category?: "BLOCK" | undefined;
3967
4096
  order?: number | undefined;
3968
4097
  })[];
3969
- next_node: string;
4098
+ next_node?: string | undefined;
3970
4099
  };
3971
4100
  coordinates: {
3972
4101
  x: number;
@@ -4020,8 +4149,8 @@ declare const formSchema: z.ZodObject<{
4020
4149
  type: "FLOW";
4021
4150
  id: string;
4022
4151
  config: {
4023
- next_node: string;
4024
4152
  flow_id: string;
4153
+ next_node?: string | undefined;
4025
4154
  };
4026
4155
  coordinates: {
4027
4156
  x: number;
@@ -4038,7 +4167,7 @@ declare const formSchema: z.ZodObject<{
4038
4167
  alias?: string | undefined;
4039
4168
  condition?: any;
4040
4169
  }[];
4041
- fallback: string[];
4170
+ fallback: string;
4042
4171
  };
4043
4172
  coordinates: {
4044
4173
  x: number;
@@ -4055,6 +4184,7 @@ declare const formSchema: z.ZodObject<{
4055
4184
  config: {
4056
4185
  content: string;
4057
4186
  };
4187
+ category?: "BLOCK" | undefined;
4058
4188
  order?: number | undefined;
4059
4189
  visible?: boolean | undefined;
4060
4190
  } | {
@@ -4065,6 +4195,7 @@ declare const formSchema: z.ZodObject<{
4065
4195
  html?: boolean | undefined;
4066
4196
  };
4067
4197
  required?: boolean | undefined;
4198
+ category?: "FIELD" | undefined;
4068
4199
  order?: number | undefined;
4069
4200
  visible?: boolean | undefined;
4070
4201
  } | {
@@ -4075,6 +4206,7 @@ declare const formSchema: z.ZodObject<{
4075
4206
  multiline?: boolean | undefined;
4076
4207
  };
4077
4208
  required?: boolean | undefined;
4209
+ category?: "FIELD" | undefined;
4078
4210
  sensitive?: boolean | undefined;
4079
4211
  order?: number | undefined;
4080
4212
  visible?: boolean | undefined;
@@ -4084,10 +4216,11 @@ declare const formSchema: z.ZodObject<{
4084
4216
  config: {
4085
4217
  text?: string | undefined;
4086
4218
  };
4219
+ category?: "BLOCK" | undefined;
4087
4220
  order?: number | undefined;
4088
4221
  visible?: boolean | undefined;
4089
4222
  })[];
4090
- next_node: string;
4223
+ next_node?: string | undefined;
4091
4224
  };
4092
4225
  coordinates: {
4093
4226
  x: number;
@@ -7142,14 +7275,14 @@ declare const organizationInsertSchema: z.ZodObject<{
7142
7275
  show_as_button: z.ZodDefault<z.ZodBoolean>;
7143
7276
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
7144
7277
  }, "strip", z.ZodTypeAny, {
7278
+ show_as_button: boolean;
7145
7279
  connection_id: string;
7146
7280
  assign_membership_on_login: boolean;
7147
- show_as_button: boolean;
7148
7281
  is_signup_enabled: boolean;
7149
7282
  }, {
7150
7283
  connection_id: string;
7151
- assign_membership_on_login?: boolean | undefined;
7152
7284
  show_as_button?: boolean | undefined;
7285
+ assign_membership_on_login?: boolean | undefined;
7153
7286
  is_signup_enabled?: boolean | undefined;
7154
7287
  }>, "many">>>;
7155
7288
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -7190,6 +7323,7 @@ declare const organizationInsertSchema: z.ZodObject<{
7190
7323
  } | undefined;
7191
7324
  id?: string | undefined;
7192
7325
  display_name?: string | undefined;
7326
+ metadata?: Record<string, any> | undefined;
7193
7327
  branding?: {
7194
7328
  colors?: {
7195
7329
  primary?: string | undefined;
@@ -7197,11 +7331,10 @@ declare const organizationInsertSchema: z.ZodObject<{
7197
7331
  } | undefined;
7198
7332
  logo_url?: string | undefined;
7199
7333
  } | undefined;
7200
- metadata?: Record<string, any> | undefined;
7201
7334
  enabled_connections?: {
7335
+ show_as_button: boolean;
7202
7336
  connection_id: string;
7203
7337
  assign_membership_on_login: boolean;
7204
- show_as_button: boolean;
7205
7338
  is_signup_enabled: boolean;
7206
7339
  }[] | undefined;
7207
7340
  }, {
@@ -7215,6 +7348,7 @@ declare const organizationInsertSchema: z.ZodObject<{
7215
7348
  } | undefined;
7216
7349
  id?: string | undefined;
7217
7350
  display_name?: string | undefined;
7351
+ metadata?: Record<string, any> | undefined;
7218
7352
  branding?: {
7219
7353
  colors?: {
7220
7354
  primary?: string | undefined;
@@ -7222,11 +7356,10 @@ declare const organizationInsertSchema: z.ZodObject<{
7222
7356
  } | undefined;
7223
7357
  logo_url?: string | undefined;
7224
7358
  } | undefined;
7225
- metadata?: Record<string, any> | undefined;
7226
7359
  enabled_connections?: {
7227
7360
  connection_id: string;
7228
- assign_membership_on_login?: boolean | undefined;
7229
7361
  show_as_button?: boolean | undefined;
7362
+ assign_membership_on_login?: boolean | undefined;
7230
7363
  is_signup_enabled?: boolean | undefined;
7231
7364
  }[] | undefined;
7232
7365
  }>;
@@ -7269,14 +7402,14 @@ declare const organizationSchema: z.ZodObject<{
7269
7402
  show_as_button: z.ZodDefault<z.ZodBoolean>;
7270
7403
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
7271
7404
  }, "strip", z.ZodTypeAny, {
7405
+ show_as_button: boolean;
7272
7406
  connection_id: string;
7273
7407
  assign_membership_on_login: boolean;
7274
- show_as_button: boolean;
7275
7408
  is_signup_enabled: boolean;
7276
7409
  }, {
7277
7410
  connection_id: string;
7278
- assign_membership_on_login?: boolean | undefined;
7279
7411
  show_as_button?: boolean | undefined;
7412
+ assign_membership_on_login?: boolean | undefined;
7280
7413
  is_signup_enabled?: boolean | undefined;
7281
7414
  }>, "many">>>;
7282
7415
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -7319,6 +7452,7 @@ declare const organizationSchema: z.ZodObject<{
7319
7452
  } | undefined;
7320
7453
  } | undefined;
7321
7454
  display_name?: string | undefined;
7455
+ metadata?: Record<string, any> | undefined;
7322
7456
  branding?: {
7323
7457
  colors?: {
7324
7458
  primary?: string | undefined;
@@ -7326,11 +7460,10 @@ declare const organizationSchema: z.ZodObject<{
7326
7460
  } | undefined;
7327
7461
  logo_url?: string | undefined;
7328
7462
  } | undefined;
7329
- metadata?: Record<string, any> | undefined;
7330
7463
  enabled_connections?: {
7464
+ show_as_button: boolean;
7331
7465
  connection_id: string;
7332
7466
  assign_membership_on_login: boolean;
7333
- show_as_button: boolean;
7334
7467
  is_signup_enabled: boolean;
7335
7468
  }[] | undefined;
7336
7469
  }, {
@@ -7346,6 +7479,7 @@ declare const organizationSchema: z.ZodObject<{
7346
7479
  } | undefined;
7347
7480
  } | undefined;
7348
7481
  display_name?: string | undefined;
7482
+ metadata?: Record<string, any> | undefined;
7349
7483
  branding?: {
7350
7484
  colors?: {
7351
7485
  primary?: string | undefined;
@@ -7353,11 +7487,10 @@ declare const organizationSchema: z.ZodObject<{
7353
7487
  } | undefined;
7354
7488
  logo_url?: string | undefined;
7355
7489
  } | undefined;
7356
- metadata?: Record<string, any> | undefined;
7357
7490
  enabled_connections?: {
7358
7491
  connection_id: string;
7359
- assign_membership_on_login?: boolean | undefined;
7360
7492
  show_as_button?: boolean | undefined;
7493
+ assign_membership_on_login?: boolean | undefined;
7361
7494
  is_signup_enabled?: boolean | undefined;
7362
7495
  }[] | undefined;
7363
7496
  }>;