authhero 0.135.0 → 0.137.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.
@@ -996,10 +996,7 @@ export declare const coordinatesSchema: z.ZodObject<{
996
996
  x: number;
997
997
  y: number;
998
998
  }>;
999
- export type Coordinates = {
1000
- x: number;
1001
- y: number;
1002
- };
999
+ export type Coordinates = z.infer<typeof coordinatesSchema>;
1003
1000
  export declare enum ComponentType {
1004
1001
  RICH_TEXT = "RICH_TEXT",
1005
1002
  NEXT_BUTTON = "NEXT_BUTTON",
@@ -1178,6 +1175,19 @@ export declare const fieldComponentSchema: z.ZodObject<{
1178
1175
  required?: boolean | undefined;
1179
1176
  sensitive?: boolean | undefined;
1180
1177
  }>;
1178
+ export declare const genericComponentSchema: z.ZodObject<{
1179
+ id: z.ZodString;
1180
+ category: z.ZodString;
1181
+ type: z.ZodString;
1182
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1183
+ id: z.ZodString;
1184
+ category: z.ZodString;
1185
+ type: z.ZodString;
1186
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1187
+ id: z.ZodString;
1188
+ category: z.ZodString;
1189
+ type: z.ZodString;
1190
+ }, z.ZodTypeAny, "passthrough">>;
1181
1191
  export declare const componentSchema: z.ZodUnion<[
1182
1192
  z.ZodObject<{
1183
1193
  id: z.ZodString;
@@ -1334,60 +1344,27 @@ export declare const componentSchema: z.ZodUnion<[
1334
1344
  };
1335
1345
  required?: boolean | undefined;
1336
1346
  sensitive?: boolean | undefined;
1337
- }>
1347
+ }>,
1348
+ z.ZodObject<{
1349
+ id: z.ZodString;
1350
+ category: z.ZodString;
1351
+ type: z.ZodString;
1352
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1353
+ id: z.ZodString;
1354
+ category: z.ZodString;
1355
+ type: z.ZodString;
1356
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1357
+ id: z.ZodString;
1358
+ category: z.ZodString;
1359
+ type: z.ZodString;
1360
+ }, z.ZodTypeAny, "passthrough">>
1338
1361
  ]>;
1339
- export interface RichTextComponent {
1340
- id: string;
1341
- category: ComponentCategory.BLOCK;
1342
- type: ComponentType.RICH_TEXT;
1343
- config: {
1344
- content: string;
1345
- [key: string]: any;
1346
- };
1347
- [key: string]: any;
1348
- }
1349
- export interface ButtonComponent {
1350
- id: string;
1351
- category: ComponentCategory.BLOCK;
1352
- type: ComponentType.NEXT_BUTTON | ComponentType.BACK_BUTTON | ComponentType.SUBMIT_BUTTON;
1353
- config: {
1354
- text: string;
1355
- [key: string]: any;
1356
- };
1357
- [key: string]: any;
1358
- }
1359
- export interface LegalComponent {
1360
- id: string;
1361
- category: ComponentCategory.FIELD;
1362
- type: ComponentType.LEGAL;
1363
- required?: boolean;
1364
- sensitive?: boolean;
1365
- config: {
1366
- text: string;
1367
- [key: string]: any;
1368
- };
1369
- [key: string]: any;
1370
- }
1371
- export interface FieldComponent {
1372
- id: string;
1373
- category: ComponentCategory.FIELD;
1374
- type: ComponentType.TEXT | ComponentType.EMAIL | ComponentType.PASSWORD | ComponentType.NUMBER | ComponentType.PHONE | ComponentType.DATE | ComponentType.CHECKBOX | ComponentType.RADIO | ComponentType.SELECT | ComponentType.HIDDEN;
1375
- required?: boolean;
1376
- sensitive?: boolean;
1377
- config: {
1378
- label?: string;
1379
- placeholder?: string;
1380
- [key: string]: any;
1381
- };
1382
- [key: string]: any;
1383
- }
1384
- export interface GenericComponent {
1385
- id: string;
1386
- category: string;
1387
- type: string;
1388
- [key: string]: any;
1389
- }
1390
- export type Component = RichTextComponent | ButtonComponent | LegalComponent | FieldComponent | GenericComponent;
1362
+ export type RichTextComponent = z.infer<typeof richTextComponentSchema>;
1363
+ export type ButtonComponent = z.infer<typeof buttonComponentSchema>;
1364
+ export type LegalComponent = z.infer<typeof legalComponentSchema>;
1365
+ export type FieldComponent = z.infer<typeof fieldComponentSchema>;
1366
+ export type GenericComponent = z.infer<typeof genericComponentSchema>;
1367
+ export type Component = z.infer<typeof componentSchema>;
1391
1368
  export declare enum NodeType {
1392
1369
  STEP = "STEP",
1393
1370
  FLOW = "FLOW",
@@ -1565,7 +1542,20 @@ export declare const stepNodeSchema: z.ZodObject<{
1565
1542
  };
1566
1543
  required?: boolean | undefined;
1567
1544
  sensitive?: boolean | undefined;
1568
- }>
1545
+ }>,
1546
+ z.ZodObject<{
1547
+ id: z.ZodString;
1548
+ category: z.ZodString;
1549
+ type: z.ZodString;
1550
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1551
+ id: z.ZodString;
1552
+ category: z.ZodString;
1553
+ type: z.ZodString;
1554
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1555
+ id: z.ZodString;
1556
+ category: z.ZodString;
1557
+ type: z.ZodString;
1558
+ }, z.ZodTypeAny, "passthrough">>
1569
1559
  ]>, "many">;
1570
1560
  next_node: z.ZodString;
1571
1561
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -1725,7 +1715,20 @@ export declare const stepNodeSchema: z.ZodObject<{
1725
1715
  };
1726
1716
  required?: boolean | undefined;
1727
1717
  sensitive?: boolean | undefined;
1728
- }>
1718
+ }>,
1719
+ z.ZodObject<{
1720
+ id: z.ZodString;
1721
+ category: z.ZodString;
1722
+ type: z.ZodString;
1723
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1724
+ id: z.ZodString;
1725
+ category: z.ZodString;
1726
+ type: z.ZodString;
1727
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1728
+ id: z.ZodString;
1729
+ category: z.ZodString;
1730
+ type: z.ZodString;
1731
+ }, z.ZodTypeAny, "passthrough">>
1729
1732
  ]>, "many">;
1730
1733
  next_node: z.ZodString;
1731
1734
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -1885,7 +1888,20 @@ export declare const stepNodeSchema: z.ZodObject<{
1885
1888
  };
1886
1889
  required?: boolean | undefined;
1887
1890
  sensitive?: boolean | undefined;
1888
- }>
1891
+ }>,
1892
+ z.ZodObject<{
1893
+ id: z.ZodString;
1894
+ category: z.ZodString;
1895
+ type: z.ZodString;
1896
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1897
+ id: z.ZodString;
1898
+ category: z.ZodString;
1899
+ type: z.ZodString;
1900
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1901
+ id: z.ZodString;
1902
+ category: z.ZodString;
1903
+ type: z.ZodString;
1904
+ }, z.ZodTypeAny, "passthrough">>
1889
1905
  ]>, "many">;
1890
1906
  next_node: z.ZodString;
1891
1907
  }, z.ZodTypeAny, "passthrough">>;
@@ -1934,7 +1950,11 @@ export declare const stepNodeSchema: z.ZodObject<{
1934
1950
  };
1935
1951
  required?: boolean | undefined;
1936
1952
  sensitive?: boolean | undefined;
1937
- })[];
1953
+ } | z.objectOutputType<{
1954
+ id: z.ZodString;
1955
+ category: z.ZodString;
1956
+ type: z.ZodString;
1957
+ }, z.ZodTypeAny, "passthrough">)[];
1938
1958
  next_node: string;
1939
1959
  } & {
1940
1960
  [k: string]: unknown;
@@ -1989,7 +2009,11 @@ export declare const stepNodeSchema: z.ZodObject<{
1989
2009
  };
1990
2010
  required?: boolean | undefined;
1991
2011
  sensitive?: boolean | undefined;
1992
- })[];
2012
+ } | z.objectInputType<{
2013
+ id: z.ZodString;
2014
+ category: z.ZodString;
2015
+ type: z.ZodString;
2016
+ }, z.ZodTypeAny, "passthrough">)[];
1993
2017
  next_node: string;
1994
2018
  } & {
1995
2019
  [k: string]: unknown;
@@ -2046,6 +2070,46 @@ export declare const flowNodeSchema: z.ZodObject<{
2046
2070
  y: number;
2047
2071
  };
2048
2072
  }>;
2073
+ export declare const genericNodeSchema: z.ZodObject<{
2074
+ id: z.ZodString;
2075
+ type: z.ZodString;
2076
+ coordinates: z.ZodObject<{
2077
+ x: z.ZodNumber;
2078
+ y: z.ZodNumber;
2079
+ }, "strip", z.ZodTypeAny, {
2080
+ x: number;
2081
+ y: number;
2082
+ }, {
2083
+ x: number;
2084
+ y: number;
2085
+ }>;
2086
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2087
+ id: z.ZodString;
2088
+ type: z.ZodString;
2089
+ coordinates: z.ZodObject<{
2090
+ x: z.ZodNumber;
2091
+ y: z.ZodNumber;
2092
+ }, "strip", z.ZodTypeAny, {
2093
+ x: number;
2094
+ y: number;
2095
+ }, {
2096
+ x: number;
2097
+ y: number;
2098
+ }>;
2099
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2100
+ id: z.ZodString;
2101
+ type: z.ZodString;
2102
+ coordinates: z.ZodObject<{
2103
+ x: z.ZodNumber;
2104
+ y: z.ZodNumber;
2105
+ }, "strip", z.ZodTypeAny, {
2106
+ x: number;
2107
+ y: number;
2108
+ }, {
2109
+ x: number;
2110
+ y: number;
2111
+ }>;
2112
+ }, z.ZodTypeAny, "passthrough">>;
2049
2113
  export declare const nodeSchema: z.ZodUnion<[
2050
2114
  z.ZodObject<{
2051
2115
  id: z.ZodString;
@@ -2218,7 +2282,20 @@ export declare const nodeSchema: z.ZodUnion<[
2218
2282
  };
2219
2283
  required?: boolean | undefined;
2220
2284
  sensitive?: boolean | undefined;
2221
- }>
2285
+ }>,
2286
+ z.ZodObject<{
2287
+ id: z.ZodString;
2288
+ category: z.ZodString;
2289
+ type: z.ZodString;
2290
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2291
+ id: z.ZodString;
2292
+ category: z.ZodString;
2293
+ type: z.ZodString;
2294
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2295
+ id: z.ZodString;
2296
+ category: z.ZodString;
2297
+ type: z.ZodString;
2298
+ }, z.ZodTypeAny, "passthrough">>
2222
2299
  ]>, "many">;
2223
2300
  next_node: z.ZodString;
2224
2301
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -2378,7 +2455,20 @@ export declare const nodeSchema: z.ZodUnion<[
2378
2455
  };
2379
2456
  required?: boolean | undefined;
2380
2457
  sensitive?: boolean | undefined;
2381
- }>
2458
+ }>,
2459
+ z.ZodObject<{
2460
+ id: z.ZodString;
2461
+ category: z.ZodString;
2462
+ type: z.ZodString;
2463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2464
+ id: z.ZodString;
2465
+ category: z.ZodString;
2466
+ type: z.ZodString;
2467
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2468
+ id: z.ZodString;
2469
+ category: z.ZodString;
2470
+ type: z.ZodString;
2471
+ }, z.ZodTypeAny, "passthrough">>
2382
2472
  ]>, "many">;
2383
2473
  next_node: z.ZodString;
2384
2474
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -2538,7 +2628,20 @@ export declare const nodeSchema: z.ZodUnion<[
2538
2628
  };
2539
2629
  required?: boolean | undefined;
2540
2630
  sensitive?: boolean | undefined;
2541
- }>
2631
+ }>,
2632
+ z.ZodObject<{
2633
+ id: z.ZodString;
2634
+ category: z.ZodString;
2635
+ type: z.ZodString;
2636
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2637
+ id: z.ZodString;
2638
+ category: z.ZodString;
2639
+ type: z.ZodString;
2640
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2641
+ id: z.ZodString;
2642
+ category: z.ZodString;
2643
+ type: z.ZodString;
2644
+ }, z.ZodTypeAny, "passthrough">>
2542
2645
  ]>, "many">;
2543
2646
  next_node: z.ZodString;
2544
2647
  }, z.ZodTypeAny, "passthrough">>;
@@ -2587,7 +2690,11 @@ export declare const nodeSchema: z.ZodUnion<[
2587
2690
  };
2588
2691
  required?: boolean | undefined;
2589
2692
  sensitive?: boolean | undefined;
2590
- })[];
2693
+ } | z.objectOutputType<{
2694
+ id: z.ZodString;
2695
+ category: z.ZodString;
2696
+ type: z.ZodString;
2697
+ }, z.ZodTypeAny, "passthrough">)[];
2591
2698
  next_node: string;
2592
2699
  } & {
2593
2700
  [k: string]: unknown;
@@ -2642,7 +2749,11 @@ export declare const nodeSchema: z.ZodUnion<[
2642
2749
  };
2643
2750
  required?: boolean | undefined;
2644
2751
  sensitive?: boolean | undefined;
2645
- })[];
2752
+ } | z.objectInputType<{
2753
+ id: z.ZodString;
2754
+ category: z.ZodString;
2755
+ type: z.ZodString;
2756
+ }, z.ZodTypeAny, "passthrough">)[];
2646
2757
  next_node: string;
2647
2758
  } & {
2648
2759
  [k: string]: unknown;
@@ -2698,38 +2809,52 @@ export declare const nodeSchema: z.ZodUnion<[
2698
2809
  x: number;
2699
2810
  y: number;
2700
2811
  };
2701
- }>
2812
+ }>,
2813
+ z.ZodObject<{
2814
+ id: z.ZodString;
2815
+ type: z.ZodString;
2816
+ coordinates: z.ZodObject<{
2817
+ x: z.ZodNumber;
2818
+ y: z.ZodNumber;
2819
+ }, "strip", z.ZodTypeAny, {
2820
+ x: number;
2821
+ y: number;
2822
+ }, {
2823
+ x: number;
2824
+ y: number;
2825
+ }>;
2826
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2827
+ id: z.ZodString;
2828
+ type: z.ZodString;
2829
+ coordinates: z.ZodObject<{
2830
+ x: z.ZodNumber;
2831
+ y: z.ZodNumber;
2832
+ }, "strip", z.ZodTypeAny, {
2833
+ x: number;
2834
+ y: number;
2835
+ }, {
2836
+ x: number;
2837
+ y: number;
2838
+ }>;
2839
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2840
+ id: z.ZodString;
2841
+ type: z.ZodString;
2842
+ coordinates: z.ZodObject<{
2843
+ x: z.ZodNumber;
2844
+ y: z.ZodNumber;
2845
+ }, "strip", z.ZodTypeAny, {
2846
+ x: number;
2847
+ y: number;
2848
+ }, {
2849
+ x: number;
2850
+ y: number;
2851
+ }>;
2852
+ }, z.ZodTypeAny, "passthrough">>
2702
2853
  ]>;
2703
- export interface StepNode {
2704
- id: string;
2705
- type: NodeType.STEP;
2706
- coordinates: Coordinates;
2707
- alias?: string;
2708
- config: {
2709
- components: Component[];
2710
- next_node: string;
2711
- [key: string]: any;
2712
- };
2713
- [key: string]: any;
2714
- }
2715
- export interface FlowNode {
2716
- id: string;
2717
- type: NodeType.FLOW;
2718
- coordinates: Coordinates;
2719
- config: {
2720
- flow_id: string;
2721
- next_node: string;
2722
- [key: string]: any;
2723
- };
2724
- [key: string]: any;
2725
- }
2726
- export interface GenericNode {
2727
- id: string;
2728
- type: string;
2729
- coordinates: Coordinates;
2730
- [key: string]: any;
2731
- }
2732
- type Node$1 = StepNode | FlowNode | GenericNode;
2854
+ export type StepNode = z.infer<typeof stepNodeSchema>;
2855
+ export type FlowNode = z.infer<typeof flowNodeSchema>;
2856
+ export type GenericNode = z.infer<typeof genericNodeSchema>;
2857
+ type Node$1 = z.infer<typeof nodeSchema>;
2733
2858
  export declare const startSchema: z.ZodObject<{
2734
2859
  next_node: z.ZodString;
2735
2860
  coordinates: z.ZodObject<{
@@ -2988,7 +3113,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
2988
3113
  };
2989
3114
  required?: boolean | undefined;
2990
3115
  sensitive?: boolean | undefined;
2991
- }>
3116
+ }>,
3117
+ z.ZodObject<{
3118
+ id: z.ZodString;
3119
+ category: z.ZodString;
3120
+ type: z.ZodString;
3121
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3122
+ id: z.ZodString;
3123
+ category: z.ZodString;
3124
+ type: z.ZodString;
3125
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3126
+ id: z.ZodString;
3127
+ category: z.ZodString;
3128
+ type: z.ZodString;
3129
+ }, z.ZodTypeAny, "passthrough">>
2992
3130
  ]>, "many">;
2993
3131
  next_node: z.ZodString;
2994
3132
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3148,7 +3286,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
3148
3286
  };
3149
3287
  required?: boolean | undefined;
3150
3288
  sensitive?: boolean | undefined;
3151
- }>
3289
+ }>,
3290
+ z.ZodObject<{
3291
+ id: z.ZodString;
3292
+ category: z.ZodString;
3293
+ type: z.ZodString;
3294
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3295
+ id: z.ZodString;
3296
+ category: z.ZodString;
3297
+ type: z.ZodString;
3298
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3299
+ id: z.ZodString;
3300
+ category: z.ZodString;
3301
+ type: z.ZodString;
3302
+ }, z.ZodTypeAny, "passthrough">>
3152
3303
  ]>, "many">;
3153
3304
  next_node: z.ZodString;
3154
3305
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -3308,7 +3459,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
3308
3459
  };
3309
3460
  required?: boolean | undefined;
3310
3461
  sensitive?: boolean | undefined;
3311
- }>
3462
+ }>,
3463
+ z.ZodObject<{
3464
+ id: z.ZodString;
3465
+ category: z.ZodString;
3466
+ type: z.ZodString;
3467
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3468
+ id: z.ZodString;
3469
+ category: z.ZodString;
3470
+ type: z.ZodString;
3471
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3472
+ id: z.ZodString;
3473
+ category: z.ZodString;
3474
+ type: z.ZodString;
3475
+ }, z.ZodTypeAny, "passthrough">>
3312
3476
  ]>, "many">;
3313
3477
  next_node: z.ZodString;
3314
3478
  }, z.ZodTypeAny, "passthrough">>;
@@ -3357,7 +3521,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
3357
3521
  };
3358
3522
  required?: boolean | undefined;
3359
3523
  sensitive?: boolean | undefined;
3360
- })[];
3524
+ } | z.objectOutputType<{
3525
+ id: z.ZodString;
3526
+ category: z.ZodString;
3527
+ type: z.ZodString;
3528
+ }, z.ZodTypeAny, "passthrough">)[];
3361
3529
  next_node: string;
3362
3530
  } & {
3363
3531
  [k: string]: unknown;
@@ -3412,7 +3580,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
3412
3580
  };
3413
3581
  required?: boolean | undefined;
3414
3582
  sensitive?: boolean | undefined;
3415
- })[];
3583
+ } | z.objectInputType<{
3584
+ id: z.ZodString;
3585
+ category: z.ZodString;
3586
+ type: z.ZodString;
3587
+ }, z.ZodTypeAny, "passthrough">)[];
3416
3588
  next_node: string;
3417
3589
  } & {
3418
3590
  [k: string]: unknown;
@@ -3468,7 +3640,47 @@ export declare const auth0FlowSchema: z.ZodObject<{
3468
3640
  x: number;
3469
3641
  y: number;
3470
3642
  };
3471
- }>
3643
+ }>,
3644
+ z.ZodObject<{
3645
+ id: z.ZodString;
3646
+ type: z.ZodString;
3647
+ coordinates: z.ZodObject<{
3648
+ x: z.ZodNumber;
3649
+ y: z.ZodNumber;
3650
+ }, "strip", z.ZodTypeAny, {
3651
+ x: number;
3652
+ y: number;
3653
+ }, {
3654
+ x: number;
3655
+ y: number;
3656
+ }>;
3657
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3658
+ id: z.ZodString;
3659
+ type: z.ZodString;
3660
+ coordinates: z.ZodObject<{
3661
+ x: z.ZodNumber;
3662
+ y: z.ZodNumber;
3663
+ }, "strip", z.ZodTypeAny, {
3664
+ x: number;
3665
+ y: number;
3666
+ }, {
3667
+ x: number;
3668
+ y: number;
3669
+ }>;
3670
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3671
+ id: z.ZodString;
3672
+ type: z.ZodString;
3673
+ coordinates: z.ZodObject<{
3674
+ x: z.ZodNumber;
3675
+ y: z.ZodNumber;
3676
+ }, "strip", z.ZodTypeAny, {
3677
+ x: number;
3678
+ y: number;
3679
+ }, {
3680
+ x: number;
3681
+ y: number;
3682
+ }>;
3683
+ }, z.ZodTypeAny, "passthrough">>
3472
3684
  ]>, "many">;
3473
3685
  start: z.ZodObject<{
3474
3686
  next_node: z.ZodString;
@@ -3738,7 +3950,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
3738
3950
  };
3739
3951
  required?: boolean | undefined;
3740
3952
  sensitive?: boolean | undefined;
3741
- }>
3953
+ }>,
3954
+ z.ZodObject<{
3955
+ id: z.ZodString;
3956
+ category: z.ZodString;
3957
+ type: z.ZodString;
3958
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
3959
+ id: z.ZodString;
3960
+ category: z.ZodString;
3961
+ type: z.ZodString;
3962
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
3963
+ id: z.ZodString;
3964
+ category: z.ZodString;
3965
+ type: z.ZodString;
3966
+ }, z.ZodTypeAny, "passthrough">>
3742
3967
  ]>, "many">;
3743
3968
  next_node: z.ZodString;
3744
3969
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -3898,7 +4123,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
3898
4123
  };
3899
4124
  required?: boolean | undefined;
3900
4125
  sensitive?: boolean | undefined;
3901
- }>
4126
+ }>,
4127
+ z.ZodObject<{
4128
+ id: z.ZodString;
4129
+ category: z.ZodString;
4130
+ type: z.ZodString;
4131
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4132
+ id: z.ZodString;
4133
+ category: z.ZodString;
4134
+ type: z.ZodString;
4135
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4136
+ id: z.ZodString;
4137
+ category: z.ZodString;
4138
+ type: z.ZodString;
4139
+ }, z.ZodTypeAny, "passthrough">>
3902
4140
  ]>, "many">;
3903
4141
  next_node: z.ZodString;
3904
4142
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -4058,7 +4296,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
4058
4296
  };
4059
4297
  required?: boolean | undefined;
4060
4298
  sensitive?: boolean | undefined;
4061
- }>
4299
+ }>,
4300
+ z.ZodObject<{
4301
+ id: z.ZodString;
4302
+ category: z.ZodString;
4303
+ type: z.ZodString;
4304
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4305
+ id: z.ZodString;
4306
+ category: z.ZodString;
4307
+ type: z.ZodString;
4308
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4309
+ id: z.ZodString;
4310
+ category: z.ZodString;
4311
+ type: z.ZodString;
4312
+ }, z.ZodTypeAny, "passthrough">>
4062
4313
  ]>, "many">;
4063
4314
  next_node: z.ZodString;
4064
4315
  }, z.ZodTypeAny, "passthrough">>;
@@ -4107,7 +4358,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
4107
4358
  };
4108
4359
  required?: boolean | undefined;
4109
4360
  sensitive?: boolean | undefined;
4110
- })[];
4361
+ } | z.objectOutputType<{
4362
+ id: z.ZodString;
4363
+ category: z.ZodString;
4364
+ type: z.ZodString;
4365
+ }, z.ZodTypeAny, "passthrough">)[];
4111
4366
  next_node: string;
4112
4367
  } & {
4113
4368
  [k: string]: unknown;
@@ -4162,7 +4417,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
4162
4417
  };
4163
4418
  required?: boolean | undefined;
4164
4419
  sensitive?: boolean | undefined;
4165
- })[];
4420
+ } | z.objectInputType<{
4421
+ id: z.ZodString;
4422
+ category: z.ZodString;
4423
+ type: z.ZodString;
4424
+ }, z.ZodTypeAny, "passthrough">)[];
4166
4425
  next_node: string;
4167
4426
  } & {
4168
4427
  [k: string]: unknown;
@@ -4218,7 +4477,47 @@ export declare const auth0FlowSchema: z.ZodObject<{
4218
4477
  x: number;
4219
4478
  y: number;
4220
4479
  };
4221
- }>
4480
+ }>,
4481
+ z.ZodObject<{
4482
+ id: z.ZodString;
4483
+ type: z.ZodString;
4484
+ coordinates: z.ZodObject<{
4485
+ x: z.ZodNumber;
4486
+ y: z.ZodNumber;
4487
+ }, "strip", z.ZodTypeAny, {
4488
+ x: number;
4489
+ y: number;
4490
+ }, {
4491
+ x: number;
4492
+ y: number;
4493
+ }>;
4494
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4495
+ id: z.ZodString;
4496
+ type: z.ZodString;
4497
+ coordinates: z.ZodObject<{
4498
+ x: z.ZodNumber;
4499
+ y: z.ZodNumber;
4500
+ }, "strip", z.ZodTypeAny, {
4501
+ x: number;
4502
+ y: number;
4503
+ }, {
4504
+ x: number;
4505
+ y: number;
4506
+ }>;
4507
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4508
+ id: z.ZodString;
4509
+ type: z.ZodString;
4510
+ coordinates: z.ZodObject<{
4511
+ x: z.ZodNumber;
4512
+ y: z.ZodNumber;
4513
+ }, "strip", z.ZodTypeAny, {
4514
+ x: number;
4515
+ y: number;
4516
+ }, {
4517
+ x: number;
4518
+ y: number;
4519
+ }>;
4520
+ }, z.ZodTypeAny, "passthrough">>
4222
4521
  ]>, "many">;
4223
4522
  start: z.ZodObject<{
4224
4523
  next_node: z.ZodString;
@@ -4488,7 +4787,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
4488
4787
  };
4489
4788
  required?: boolean | undefined;
4490
4789
  sensitive?: boolean | undefined;
4491
- }>
4790
+ }>,
4791
+ z.ZodObject<{
4792
+ id: z.ZodString;
4793
+ category: z.ZodString;
4794
+ type: z.ZodString;
4795
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4796
+ id: z.ZodString;
4797
+ category: z.ZodString;
4798
+ type: z.ZodString;
4799
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4800
+ id: z.ZodString;
4801
+ category: z.ZodString;
4802
+ type: z.ZodString;
4803
+ }, z.ZodTypeAny, "passthrough">>
4492
4804
  ]>, "many">;
4493
4805
  next_node: z.ZodString;
4494
4806
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -4648,7 +4960,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
4648
4960
  };
4649
4961
  required?: boolean | undefined;
4650
4962
  sensitive?: boolean | undefined;
4651
- }>
4963
+ }>,
4964
+ z.ZodObject<{
4965
+ id: z.ZodString;
4966
+ category: z.ZodString;
4967
+ type: z.ZodString;
4968
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4969
+ id: z.ZodString;
4970
+ category: z.ZodString;
4971
+ type: z.ZodString;
4972
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4973
+ id: z.ZodString;
4974
+ category: z.ZodString;
4975
+ type: z.ZodString;
4976
+ }, z.ZodTypeAny, "passthrough">>
4652
4977
  ]>, "many">;
4653
4978
  next_node: z.ZodString;
4654
4979
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -4808,7 +5133,20 @@ export declare const auth0FlowSchema: z.ZodObject<{
4808
5133
  };
4809
5134
  required?: boolean | undefined;
4810
5135
  sensitive?: boolean | undefined;
4811
- }>
5136
+ }>,
5137
+ z.ZodObject<{
5138
+ id: z.ZodString;
5139
+ category: z.ZodString;
5140
+ type: z.ZodString;
5141
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5142
+ id: z.ZodString;
5143
+ category: z.ZodString;
5144
+ type: z.ZodString;
5145
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5146
+ id: z.ZodString;
5147
+ category: z.ZodString;
5148
+ type: z.ZodString;
5149
+ }, z.ZodTypeAny, "passthrough">>
4812
5150
  ]>, "many">;
4813
5151
  next_node: z.ZodString;
4814
5152
  }, z.ZodTypeAny, "passthrough">>;
@@ -4857,7 +5195,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
4857
5195
  };
4858
5196
  required?: boolean | undefined;
4859
5197
  sensitive?: boolean | undefined;
4860
- })[];
5198
+ } | z.objectOutputType<{
5199
+ id: z.ZodString;
5200
+ category: z.ZodString;
5201
+ type: z.ZodString;
5202
+ }, z.ZodTypeAny, "passthrough">)[];
4861
5203
  next_node: string;
4862
5204
  } & {
4863
5205
  [k: string]: unknown;
@@ -4912,7 +5254,11 @@ export declare const auth0FlowSchema: z.ZodObject<{
4912
5254
  };
4913
5255
  required?: boolean | undefined;
4914
5256
  sensitive?: boolean | undefined;
4915
- })[];
5257
+ } | z.objectInputType<{
5258
+ id: z.ZodString;
5259
+ category: z.ZodString;
5260
+ type: z.ZodString;
5261
+ }, z.ZodTypeAny, "passthrough">)[];
4916
5262
  next_node: string;
4917
5263
  } & {
4918
5264
  [k: string]: unknown;
@@ -4968,7 +5314,47 @@ export declare const auth0FlowSchema: z.ZodObject<{
4968
5314
  x: number;
4969
5315
  y: number;
4970
5316
  };
4971
- }>
5317
+ }>,
5318
+ z.ZodObject<{
5319
+ id: z.ZodString;
5320
+ type: z.ZodString;
5321
+ coordinates: z.ZodObject<{
5322
+ x: z.ZodNumber;
5323
+ y: z.ZodNumber;
5324
+ }, "strip", z.ZodTypeAny, {
5325
+ x: number;
5326
+ y: number;
5327
+ }, {
5328
+ x: number;
5329
+ y: number;
5330
+ }>;
5331
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5332
+ id: z.ZodString;
5333
+ type: z.ZodString;
5334
+ coordinates: z.ZodObject<{
5335
+ x: z.ZodNumber;
5336
+ y: z.ZodNumber;
5337
+ }, "strip", z.ZodTypeAny, {
5338
+ x: number;
5339
+ y: number;
5340
+ }, {
5341
+ x: number;
5342
+ y: number;
5343
+ }>;
5344
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5345
+ id: z.ZodString;
5346
+ type: z.ZodString;
5347
+ coordinates: z.ZodObject<{
5348
+ x: z.ZodNumber;
5349
+ y: z.ZodNumber;
5350
+ }, "strip", z.ZodTypeAny, {
5351
+ x: number;
5352
+ y: number;
5353
+ }, {
5354
+ x: number;
5355
+ y: number;
5356
+ }>;
5357
+ }, z.ZodTypeAny, "passthrough">>
4972
5358
  ]>, "many">;
4973
5359
  start: z.ZodObject<{
4974
5360
  next_node: z.ZodString;
@@ -5240,7 +5626,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5240
5626
  };
5241
5627
  required?: boolean | undefined;
5242
5628
  sensitive?: boolean | undefined;
5243
- }>
5629
+ }>,
5630
+ z.ZodObject<{
5631
+ id: z.ZodString;
5632
+ category: z.ZodString;
5633
+ type: z.ZodString;
5634
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5635
+ id: z.ZodString;
5636
+ category: z.ZodString;
5637
+ type: z.ZodString;
5638
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5639
+ id: z.ZodString;
5640
+ category: z.ZodString;
5641
+ type: z.ZodString;
5642
+ }, z.ZodTypeAny, "passthrough">>
5244
5643
  ]>, "many">;
5245
5644
  next_node: z.ZodString;
5246
5645
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -5400,7 +5799,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5400
5799
  };
5401
5800
  required?: boolean | undefined;
5402
5801
  sensitive?: boolean | undefined;
5403
- }>
5802
+ }>,
5803
+ z.ZodObject<{
5804
+ id: z.ZodString;
5805
+ category: z.ZodString;
5806
+ type: z.ZodString;
5807
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5808
+ id: z.ZodString;
5809
+ category: z.ZodString;
5810
+ type: z.ZodString;
5811
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5812
+ id: z.ZodString;
5813
+ category: z.ZodString;
5814
+ type: z.ZodString;
5815
+ }, z.ZodTypeAny, "passthrough">>
5404
5816
  ]>, "many">;
5405
5817
  next_node: z.ZodString;
5406
5818
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -5560,7 +5972,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5560
5972
  };
5561
5973
  required?: boolean | undefined;
5562
5974
  sensitive?: boolean | undefined;
5563
- }>
5975
+ }>,
5976
+ z.ZodObject<{
5977
+ id: z.ZodString;
5978
+ category: z.ZodString;
5979
+ type: z.ZodString;
5980
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5981
+ id: z.ZodString;
5982
+ category: z.ZodString;
5983
+ type: z.ZodString;
5984
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5985
+ id: z.ZodString;
5986
+ category: z.ZodString;
5987
+ type: z.ZodString;
5988
+ }, z.ZodTypeAny, "passthrough">>
5564
5989
  ]>, "many">;
5565
5990
  next_node: z.ZodString;
5566
5991
  }, z.ZodTypeAny, "passthrough">>;
@@ -5609,7 +6034,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5609
6034
  };
5610
6035
  required?: boolean | undefined;
5611
6036
  sensitive?: boolean | undefined;
5612
- })[];
6037
+ } | z.objectOutputType<{
6038
+ id: z.ZodString;
6039
+ category: z.ZodString;
6040
+ type: z.ZodString;
6041
+ }, z.ZodTypeAny, "passthrough">)[];
5613
6042
  next_node: string;
5614
6043
  } & {
5615
6044
  [k: string]: unknown;
@@ -5664,7 +6093,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5664
6093
  };
5665
6094
  required?: boolean | undefined;
5666
6095
  sensitive?: boolean | undefined;
5667
- })[];
6096
+ } | z.objectInputType<{
6097
+ id: z.ZodString;
6098
+ category: z.ZodString;
6099
+ type: z.ZodString;
6100
+ }, z.ZodTypeAny, "passthrough">)[];
5668
6101
  next_node: string;
5669
6102
  } & {
5670
6103
  [k: string]: unknown;
@@ -5720,7 +6153,47 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5720
6153
  x: number;
5721
6154
  y: number;
5722
6155
  };
5723
- }>
6156
+ }>,
6157
+ z.ZodObject<{
6158
+ id: z.ZodString;
6159
+ type: z.ZodString;
6160
+ coordinates: z.ZodObject<{
6161
+ x: z.ZodNumber;
6162
+ y: z.ZodNumber;
6163
+ }, "strip", z.ZodTypeAny, {
6164
+ x: number;
6165
+ y: number;
6166
+ }, {
6167
+ x: number;
6168
+ y: number;
6169
+ }>;
6170
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6171
+ id: z.ZodString;
6172
+ type: z.ZodString;
6173
+ coordinates: z.ZodObject<{
6174
+ x: z.ZodNumber;
6175
+ y: z.ZodNumber;
6176
+ }, "strip", z.ZodTypeAny, {
6177
+ x: number;
6178
+ y: number;
6179
+ }, {
6180
+ x: number;
6181
+ y: number;
6182
+ }>;
6183
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6184
+ id: z.ZodString;
6185
+ type: z.ZodString;
6186
+ coordinates: z.ZodObject<{
6187
+ x: z.ZodNumber;
6188
+ y: z.ZodNumber;
6189
+ }, "strip", z.ZodTypeAny, {
6190
+ x: number;
6191
+ y: number;
6192
+ }, {
6193
+ x: number;
6194
+ y: number;
6195
+ }>;
6196
+ }, z.ZodTypeAny, "passthrough">>
5724
6197
  ]>, "many">;
5725
6198
  start: z.ZodObject<{
5726
6199
  next_node: z.ZodString;
@@ -5990,7 +6463,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
5990
6463
  };
5991
6464
  required?: boolean | undefined;
5992
6465
  sensitive?: boolean | undefined;
5993
- }>
6466
+ }>,
6467
+ z.ZodObject<{
6468
+ id: z.ZodString;
6469
+ category: z.ZodString;
6470
+ type: z.ZodString;
6471
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6472
+ id: z.ZodString;
6473
+ category: z.ZodString;
6474
+ type: z.ZodString;
6475
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6476
+ id: z.ZodString;
6477
+ category: z.ZodString;
6478
+ type: z.ZodString;
6479
+ }, z.ZodTypeAny, "passthrough">>
5994
6480
  ]>, "many">;
5995
6481
  next_node: z.ZodString;
5996
6482
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -6150,7 +6636,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6150
6636
  };
6151
6637
  required?: boolean | undefined;
6152
6638
  sensitive?: boolean | undefined;
6153
- }>
6639
+ }>,
6640
+ z.ZodObject<{
6641
+ id: z.ZodString;
6642
+ category: z.ZodString;
6643
+ type: z.ZodString;
6644
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6645
+ id: z.ZodString;
6646
+ category: z.ZodString;
6647
+ type: z.ZodString;
6648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6649
+ id: z.ZodString;
6650
+ category: z.ZodString;
6651
+ type: z.ZodString;
6652
+ }, z.ZodTypeAny, "passthrough">>
6154
6653
  ]>, "many">;
6155
6654
  next_node: z.ZodString;
6156
6655
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -6310,7 +6809,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6310
6809
  };
6311
6810
  required?: boolean | undefined;
6312
6811
  sensitive?: boolean | undefined;
6313
- }>
6812
+ }>,
6813
+ z.ZodObject<{
6814
+ id: z.ZodString;
6815
+ category: z.ZodString;
6816
+ type: z.ZodString;
6817
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6818
+ id: z.ZodString;
6819
+ category: z.ZodString;
6820
+ type: z.ZodString;
6821
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6822
+ id: z.ZodString;
6823
+ category: z.ZodString;
6824
+ type: z.ZodString;
6825
+ }, z.ZodTypeAny, "passthrough">>
6314
6826
  ]>, "many">;
6315
6827
  next_node: z.ZodString;
6316
6828
  }, z.ZodTypeAny, "passthrough">>;
@@ -6359,7 +6871,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6359
6871
  };
6360
6872
  required?: boolean | undefined;
6361
6873
  sensitive?: boolean | undefined;
6362
- })[];
6874
+ } | z.objectOutputType<{
6875
+ id: z.ZodString;
6876
+ category: z.ZodString;
6877
+ type: z.ZodString;
6878
+ }, z.ZodTypeAny, "passthrough">)[];
6363
6879
  next_node: string;
6364
6880
  } & {
6365
6881
  [k: string]: unknown;
@@ -6414,7 +6930,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6414
6930
  };
6415
6931
  required?: boolean | undefined;
6416
6932
  sensitive?: boolean | undefined;
6417
- })[];
6933
+ } | z.objectInputType<{
6934
+ id: z.ZodString;
6935
+ category: z.ZodString;
6936
+ type: z.ZodString;
6937
+ }, z.ZodTypeAny, "passthrough">)[];
6418
6938
  next_node: string;
6419
6939
  } & {
6420
6940
  [k: string]: unknown;
@@ -6470,7 +6990,47 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6470
6990
  x: number;
6471
6991
  y: number;
6472
6992
  };
6473
- }>
6993
+ }>,
6994
+ z.ZodObject<{
6995
+ id: z.ZodString;
6996
+ type: z.ZodString;
6997
+ coordinates: z.ZodObject<{
6998
+ x: z.ZodNumber;
6999
+ y: z.ZodNumber;
7000
+ }, "strip", z.ZodTypeAny, {
7001
+ x: number;
7002
+ y: number;
7003
+ }, {
7004
+ x: number;
7005
+ y: number;
7006
+ }>;
7007
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7008
+ id: z.ZodString;
7009
+ type: z.ZodString;
7010
+ coordinates: z.ZodObject<{
7011
+ x: z.ZodNumber;
7012
+ y: z.ZodNumber;
7013
+ }, "strip", z.ZodTypeAny, {
7014
+ x: number;
7015
+ y: number;
7016
+ }, {
7017
+ x: number;
7018
+ y: number;
7019
+ }>;
7020
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7021
+ id: z.ZodString;
7022
+ type: z.ZodString;
7023
+ coordinates: z.ZodObject<{
7024
+ x: z.ZodNumber;
7025
+ y: z.ZodNumber;
7026
+ }, "strip", z.ZodTypeAny, {
7027
+ x: number;
7028
+ y: number;
7029
+ }, {
7030
+ x: number;
7031
+ y: number;
7032
+ }>;
7033
+ }, z.ZodTypeAny, "passthrough">>
6474
7034
  ]>, "many">;
6475
7035
  start: z.ZodObject<{
6476
7036
  next_node: z.ZodString;
@@ -6740,7 +7300,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6740
7300
  };
6741
7301
  required?: boolean | undefined;
6742
7302
  sensitive?: boolean | undefined;
6743
- }>
7303
+ }>,
7304
+ z.ZodObject<{
7305
+ id: z.ZodString;
7306
+ category: z.ZodString;
7307
+ type: z.ZodString;
7308
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7309
+ id: z.ZodString;
7310
+ category: z.ZodString;
7311
+ type: z.ZodString;
7312
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7313
+ id: z.ZodString;
7314
+ category: z.ZodString;
7315
+ type: z.ZodString;
7316
+ }, z.ZodTypeAny, "passthrough">>
6744
7317
  ]>, "many">;
6745
7318
  next_node: z.ZodString;
6746
7319
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -6900,7 +7473,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6900
7473
  };
6901
7474
  required?: boolean | undefined;
6902
7475
  sensitive?: boolean | undefined;
6903
- }>
7476
+ }>,
7477
+ z.ZodObject<{
7478
+ id: z.ZodString;
7479
+ category: z.ZodString;
7480
+ type: z.ZodString;
7481
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7482
+ id: z.ZodString;
7483
+ category: z.ZodString;
7484
+ type: z.ZodString;
7485
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7486
+ id: z.ZodString;
7487
+ category: z.ZodString;
7488
+ type: z.ZodString;
7489
+ }, z.ZodTypeAny, "passthrough">>
6904
7490
  ]>, "many">;
6905
7491
  next_node: z.ZodString;
6906
7492
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -7060,7 +7646,20 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7060
7646
  };
7061
7647
  required?: boolean | undefined;
7062
7648
  sensitive?: boolean | undefined;
7063
- }>
7649
+ }>,
7650
+ z.ZodObject<{
7651
+ id: z.ZodString;
7652
+ category: z.ZodString;
7653
+ type: z.ZodString;
7654
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7655
+ id: z.ZodString;
7656
+ category: z.ZodString;
7657
+ type: z.ZodString;
7658
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7659
+ id: z.ZodString;
7660
+ category: z.ZodString;
7661
+ type: z.ZodString;
7662
+ }, z.ZodTypeAny, "passthrough">>
7064
7663
  ]>, "many">;
7065
7664
  next_node: z.ZodString;
7066
7665
  }, z.ZodTypeAny, "passthrough">>;
@@ -7109,7 +7708,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7109
7708
  };
7110
7709
  required?: boolean | undefined;
7111
7710
  sensitive?: boolean | undefined;
7112
- })[];
7711
+ } | z.objectOutputType<{
7712
+ id: z.ZodString;
7713
+ category: z.ZodString;
7714
+ type: z.ZodString;
7715
+ }, z.ZodTypeAny, "passthrough">)[];
7113
7716
  next_node: string;
7114
7717
  } & {
7115
7718
  [k: string]: unknown;
@@ -7164,7 +7767,11 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7164
7767
  };
7165
7768
  required?: boolean | undefined;
7166
7769
  sensitive?: boolean | undefined;
7167
- })[];
7770
+ } | z.objectInputType<{
7771
+ id: z.ZodString;
7772
+ category: z.ZodString;
7773
+ type: z.ZodString;
7774
+ }, z.ZodTypeAny, "passthrough">)[];
7168
7775
  next_node: string;
7169
7776
  } & {
7170
7777
  [k: string]: unknown;
@@ -7220,7 +7827,47 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7220
7827
  x: number;
7221
7828
  y: number;
7222
7829
  };
7223
- }>
7830
+ }>,
7831
+ z.ZodObject<{
7832
+ id: z.ZodString;
7833
+ type: z.ZodString;
7834
+ coordinates: z.ZodObject<{
7835
+ x: z.ZodNumber;
7836
+ y: z.ZodNumber;
7837
+ }, "strip", z.ZodTypeAny, {
7838
+ x: number;
7839
+ y: number;
7840
+ }, {
7841
+ x: number;
7842
+ y: number;
7843
+ }>;
7844
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7845
+ id: z.ZodString;
7846
+ type: z.ZodString;
7847
+ coordinates: z.ZodObject<{
7848
+ x: z.ZodNumber;
7849
+ y: z.ZodNumber;
7850
+ }, "strip", z.ZodTypeAny, {
7851
+ x: number;
7852
+ y: number;
7853
+ }, {
7854
+ x: number;
7855
+ y: number;
7856
+ }>;
7857
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7858
+ id: z.ZodString;
7859
+ type: z.ZodString;
7860
+ coordinates: z.ZodObject<{
7861
+ x: z.ZodNumber;
7862
+ y: z.ZodNumber;
7863
+ }, "strip", z.ZodTypeAny, {
7864
+ x: number;
7865
+ y: number;
7866
+ }, {
7867
+ x: number;
7868
+ y: number;
7869
+ }>;
7870
+ }, z.ZodTypeAny, "passthrough">>
7224
7871
  ]>, "many">;
7225
7872
  start: z.ZodObject<{
7226
7873
  next_node: z.ZodString;
@@ -7309,7 +7956,22 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7309
7956
  sdk_src: z.ZodOptional<z.ZodString>;
7310
7957
  }, z.ZodTypeAny, "passthrough">>;
7311
7958
  }, "created_at" | "updated_at" | "id">, z.ZodTypeAny, "passthrough">>;
7312
- export type Auth0FlowInsert = z.infer<typeof auth0FlowInsertSchema>;
7959
+ export interface Auth0FlowInsert {
7960
+ name: string;
7961
+ languages: {
7962
+ primary: string;
7963
+ [key: string]: any;
7964
+ };
7965
+ nodes: Node$1[];
7966
+ start: Start;
7967
+ ending: Ending;
7968
+ links?: {
7969
+ sdkSrc?: string;
7970
+ sdk_src?: string;
7971
+ [key: string]: any;
7972
+ };
7973
+ [key: string]: any;
7974
+ }
7313
7975
  export declare enum AuthorizationResponseType {
7314
7976
  TOKEN = "token",
7315
7977
  TOKEN_ID_TOKEN = "token id_token",
@@ -12479,6 +13141,520 @@ export declare function init(config: AuthHeroConfig): {
12479
13141
  Bindings: Bindings;
12480
13142
  Variables: Variables;
12481
13143
  }, import("hono/types").MergeSchemaPath<{
13144
+ "/": {
13145
+ $get: {
13146
+ input: {
13147
+ query: {
13148
+ sort?: string | undefined;
13149
+ page?: string | undefined;
13150
+ per_page?: string | undefined;
13151
+ include_totals?: string | undefined;
13152
+ q?: string | undefined;
13153
+ };
13154
+ } & {
13155
+ header: {
13156
+ "tenant-id": string;
13157
+ };
13158
+ };
13159
+ output: {
13160
+ type: FormType;
13161
+ created_at: string;
13162
+ updated_at: string;
13163
+ name: string;
13164
+ id: string;
13165
+ fields: {
13166
+ type: FormFieldType;
13167
+ readOnly: boolean;
13168
+ required: boolean;
13169
+ name: string;
13170
+ id: string;
13171
+ disabled: boolean;
13172
+ label: string;
13173
+ visible: boolean;
13174
+ options?: {
13175
+ value: string;
13176
+ label: string;
13177
+ checked?: boolean | undefined | undefined;
13178
+ }[] | undefined;
13179
+ description?: string | undefined | undefined;
13180
+ placeholder?: string | undefined | undefined;
13181
+ defaultValue?: string | number | boolean | undefined | undefined;
13182
+ validations?: {
13183
+ message: string;
13184
+ type: ValidationErrorType;
13185
+ format?: string | undefined | undefined;
13186
+ pattern?: string | undefined | undefined;
13187
+ min_length?: number | undefined | undefined;
13188
+ max_length?: number | undefined | undefined;
13189
+ min?: number | undefined | undefined;
13190
+ max?: number | undefined | undefined;
13191
+ }[] | undefined;
13192
+ order?: number | undefined | undefined;
13193
+ customizations?: {
13194
+ [x: string]: any;
13195
+ } | undefined;
13196
+ }[];
13197
+ active: boolean;
13198
+ client_id?: string | undefined | undefined;
13199
+ redirect_uri?: string | undefined | undefined;
13200
+ language?: string | undefined | undefined;
13201
+ controls?: {
13202
+ type: "submit";
13203
+ id: string;
13204
+ disabled: boolean;
13205
+ label: string;
13206
+ visible: boolean;
13207
+ order?: number | undefined | undefined;
13208
+ customizations?: {
13209
+ [x: string]: any;
13210
+ } | undefined;
13211
+ className?: string | undefined | undefined;
13212
+ }[] | undefined;
13213
+ post_submit_action?: "message" | "redirect" | undefined | undefined;
13214
+ success_message?: string | undefined | undefined;
13215
+ layout?: {
13216
+ columns: number;
13217
+ template?: string | undefined | undefined;
13218
+ } | undefined;
13219
+ css?: string | undefined | undefined;
13220
+ javascript?: string | undefined | undefined;
13221
+ }[] | {
13222
+ length: number;
13223
+ start: number;
13224
+ limit: number;
13225
+ forms: {
13226
+ type: FormType;
13227
+ created_at: string;
13228
+ updated_at: string;
13229
+ name: string;
13230
+ id: string;
13231
+ fields: {
13232
+ type: FormFieldType;
13233
+ readOnly: boolean;
13234
+ required: boolean;
13235
+ name: string;
13236
+ id: string;
13237
+ disabled: boolean;
13238
+ label: string;
13239
+ visible: boolean;
13240
+ options?: {
13241
+ value: string;
13242
+ label: string;
13243
+ checked?: boolean | undefined | undefined;
13244
+ }[] | undefined;
13245
+ description?: string | undefined | undefined;
13246
+ placeholder?: string | undefined | undefined;
13247
+ defaultValue?: string | number | boolean | undefined | undefined;
13248
+ validations?: {
13249
+ message: string;
13250
+ type: ValidationErrorType;
13251
+ format?: string | undefined | undefined;
13252
+ pattern?: string | undefined | undefined;
13253
+ min_length?: number | undefined | undefined;
13254
+ max_length?: number | undefined | undefined;
13255
+ min?: number | undefined | undefined;
13256
+ max?: number | undefined | undefined;
13257
+ }[] | undefined;
13258
+ order?: number | undefined | undefined;
13259
+ customizations?: {
13260
+ [x: string]: any;
13261
+ } | undefined;
13262
+ }[];
13263
+ active: boolean;
13264
+ client_id?: string | undefined | undefined;
13265
+ redirect_uri?: string | undefined | undefined;
13266
+ language?: string | undefined | undefined;
13267
+ controls?: {
13268
+ type: "submit";
13269
+ id: string;
13270
+ disabled: boolean;
13271
+ label: string;
13272
+ visible: boolean;
13273
+ order?: number | undefined | undefined;
13274
+ customizations?: {
13275
+ [x: string]: any;
13276
+ } | undefined;
13277
+ className?: string | undefined | undefined;
13278
+ }[] | undefined;
13279
+ post_submit_action?: "message" | "redirect" | undefined | undefined;
13280
+ success_message?: string | undefined | undefined;
13281
+ layout?: {
13282
+ columns: number;
13283
+ template?: string | undefined | undefined;
13284
+ } | undefined;
13285
+ css?: string | undefined | undefined;
13286
+ javascript?: string | undefined | undefined;
13287
+ }[];
13288
+ };
13289
+ outputFormat: "json";
13290
+ status: 200;
13291
+ };
13292
+ };
13293
+ } & {
13294
+ "/:id": {
13295
+ $get: {
13296
+ input: {
13297
+ param: {
13298
+ id: string;
13299
+ };
13300
+ } & {
13301
+ header: {
13302
+ "tenant-id": string;
13303
+ };
13304
+ };
13305
+ output: {
13306
+ type: FormType;
13307
+ created_at: string;
13308
+ updated_at: string;
13309
+ name: string;
13310
+ id: string;
13311
+ fields: {
13312
+ type: FormFieldType;
13313
+ readOnly: boolean;
13314
+ required: boolean;
13315
+ name: string;
13316
+ id: string;
13317
+ disabled: boolean;
13318
+ label: string;
13319
+ visible: boolean;
13320
+ options?: {
13321
+ value: string;
13322
+ label: string;
13323
+ checked?: boolean | undefined | undefined;
13324
+ }[] | undefined;
13325
+ description?: string | undefined | undefined;
13326
+ placeholder?: string | undefined | undefined;
13327
+ defaultValue?: string | number | boolean | undefined | undefined;
13328
+ validations?: {
13329
+ message: string;
13330
+ type: ValidationErrorType;
13331
+ format?: string | undefined | undefined;
13332
+ pattern?: string | undefined | undefined;
13333
+ min_length?: number | undefined | undefined;
13334
+ max_length?: number | undefined | undefined;
13335
+ min?: number | undefined | undefined;
13336
+ max?: number | undefined | undefined;
13337
+ }[] | undefined;
13338
+ order?: number | undefined | undefined;
13339
+ customizations?: {
13340
+ [x: string]: any;
13341
+ } | undefined;
13342
+ }[];
13343
+ active: boolean;
13344
+ client_id?: string | undefined | undefined;
13345
+ redirect_uri?: string | undefined | undefined;
13346
+ language?: string | undefined | undefined;
13347
+ controls?: {
13348
+ type: "submit";
13349
+ id: string;
13350
+ disabled: boolean;
13351
+ label: string;
13352
+ visible: boolean;
13353
+ order?: number | undefined | undefined;
13354
+ customizations?: {
13355
+ [x: string]: any;
13356
+ } | undefined;
13357
+ className?: string | undefined | undefined;
13358
+ }[] | undefined;
13359
+ post_submit_action?: "message" | "redirect" | undefined | undefined;
13360
+ success_message?: string | undefined | undefined;
13361
+ layout?: {
13362
+ columns: number;
13363
+ template?: string | undefined | undefined;
13364
+ } | undefined;
13365
+ css?: string | undefined | undefined;
13366
+ javascript?: string | undefined | undefined;
13367
+ };
13368
+ outputFormat: "json";
13369
+ status: 200;
13370
+ };
13371
+ };
13372
+ } & {
13373
+ "/:id": {
13374
+ $delete: {
13375
+ input: {
13376
+ param: {
13377
+ id: string;
13378
+ };
13379
+ } & {
13380
+ header: {
13381
+ "tenant-id": string;
13382
+ };
13383
+ };
13384
+ output: {};
13385
+ outputFormat: string;
13386
+ status: 200;
13387
+ };
13388
+ };
13389
+ } & {
13390
+ "/:id": {
13391
+ $patch: {
13392
+ input: {
13393
+ param: {
13394
+ id: string;
13395
+ };
13396
+ } & {
13397
+ header: {
13398
+ "tenant-id": string;
13399
+ };
13400
+ } & {
13401
+ json: {
13402
+ name?: string | undefined;
13403
+ type?: FormType | undefined;
13404
+ client_id?: string | undefined;
13405
+ css?: string | undefined;
13406
+ language?: string | undefined;
13407
+ fields?: {
13408
+ type: FormFieldType;
13409
+ name: string;
13410
+ id: string;
13411
+ label: string;
13412
+ options?: {
13413
+ value: string;
13414
+ label: string;
13415
+ checked?: boolean | undefined;
13416
+ }[] | undefined;
13417
+ readOnly?: boolean | undefined;
13418
+ description?: string | undefined;
13419
+ required?: boolean | undefined;
13420
+ disabled?: boolean | undefined;
13421
+ placeholder?: string | undefined;
13422
+ defaultValue?: string | number | boolean | undefined;
13423
+ validations?: {
13424
+ message: string;
13425
+ type: ValidationErrorType;
13426
+ format?: string | undefined;
13427
+ pattern?: string | undefined;
13428
+ min_length?: number | undefined;
13429
+ max_length?: number | undefined;
13430
+ min?: number | undefined;
13431
+ max?: number | undefined;
13432
+ }[] | undefined;
13433
+ order?: number | undefined;
13434
+ visible?: boolean | undefined;
13435
+ customizations?: Record<string, any> | undefined;
13436
+ }[] | undefined;
13437
+ active?: boolean | undefined;
13438
+ redirect_uri?: string | undefined;
13439
+ controls?: {
13440
+ type: "submit";
13441
+ id: string;
13442
+ label: string;
13443
+ disabled?: boolean | undefined;
13444
+ order?: number | undefined;
13445
+ visible?: boolean | undefined;
13446
+ customizations?: Record<string, any> | undefined;
13447
+ className?: string | undefined;
13448
+ }[] | undefined;
13449
+ post_submit_action?: "message" | "redirect" | undefined;
13450
+ success_message?: string | undefined;
13451
+ layout?: {
13452
+ columns?: number | undefined;
13453
+ template?: string | undefined;
13454
+ } | undefined;
13455
+ javascript?: string | undefined;
13456
+ };
13457
+ };
13458
+ output: {
13459
+ type: FormType;
13460
+ created_at: string;
13461
+ updated_at: string;
13462
+ name: string;
13463
+ id: string;
13464
+ fields: {
13465
+ type: FormFieldType;
13466
+ readOnly: boolean;
13467
+ required: boolean;
13468
+ name: string;
13469
+ id: string;
13470
+ disabled: boolean;
13471
+ label: string;
13472
+ visible: boolean;
13473
+ options?: {
13474
+ value: string;
13475
+ label: string;
13476
+ checked?: boolean | undefined | undefined;
13477
+ }[] | undefined;
13478
+ description?: string | undefined | undefined;
13479
+ placeholder?: string | undefined | undefined;
13480
+ defaultValue?: string | number | boolean | undefined | undefined;
13481
+ validations?: {
13482
+ message: string;
13483
+ type: ValidationErrorType;
13484
+ format?: string | undefined | undefined;
13485
+ pattern?: string | undefined | undefined;
13486
+ min_length?: number | undefined | undefined;
13487
+ max_length?: number | undefined | undefined;
13488
+ min?: number | undefined | undefined;
13489
+ max?: number | undefined | undefined;
13490
+ }[] | undefined;
13491
+ order?: number | undefined | undefined;
13492
+ customizations?: {
13493
+ [x: string]: any;
13494
+ } | undefined;
13495
+ }[];
13496
+ active: boolean;
13497
+ client_id?: string | undefined | undefined;
13498
+ redirect_uri?: string | undefined | undefined;
13499
+ language?: string | undefined | undefined;
13500
+ controls?: {
13501
+ type: "submit";
13502
+ id: string;
13503
+ disabled: boolean;
13504
+ label: string;
13505
+ visible: boolean;
13506
+ order?: number | undefined | undefined;
13507
+ customizations?: {
13508
+ [x: string]: any;
13509
+ } | undefined;
13510
+ className?: string | undefined | undefined;
13511
+ }[] | undefined;
13512
+ post_submit_action?: "message" | "redirect" | undefined | undefined;
13513
+ success_message?: string | undefined | undefined;
13514
+ layout?: {
13515
+ columns: number;
13516
+ template?: string | undefined | undefined;
13517
+ } | undefined;
13518
+ css?: string | undefined | undefined;
13519
+ javascript?: string | undefined | undefined;
13520
+ };
13521
+ outputFormat: "json";
13522
+ status: 200;
13523
+ };
13524
+ };
13525
+ } & {
13526
+ "/": {
13527
+ $post: {
13528
+ input: {
13529
+ header: {
13530
+ "tenant-id": string;
13531
+ };
13532
+ } & {
13533
+ json: {
13534
+ name: string;
13535
+ type: FormType;
13536
+ fields: {
13537
+ type: FormFieldType;
13538
+ name: string;
13539
+ id: string;
13540
+ label: string;
13541
+ options?: {
13542
+ value: string;
13543
+ label: string;
13544
+ checked?: boolean | undefined;
13545
+ }[] | undefined;
13546
+ readOnly?: boolean | undefined;
13547
+ description?: string | undefined;
13548
+ required?: boolean | undefined;
13549
+ disabled?: boolean | undefined;
13550
+ placeholder?: string | undefined;
13551
+ defaultValue?: string | number | boolean | undefined;
13552
+ validations?: {
13553
+ message: string;
13554
+ type: ValidationErrorType;
13555
+ format?: string | undefined;
13556
+ pattern?: string | undefined;
13557
+ min_length?: number | undefined;
13558
+ max_length?: number | undefined;
13559
+ min?: number | undefined;
13560
+ max?: number | undefined;
13561
+ }[] | undefined;
13562
+ order?: number | undefined;
13563
+ visible?: boolean | undefined;
13564
+ customizations?: Record<string, any> | undefined;
13565
+ }[];
13566
+ client_id?: string | undefined;
13567
+ css?: string | undefined;
13568
+ language?: string | undefined;
13569
+ active?: boolean | undefined;
13570
+ redirect_uri?: string | undefined;
13571
+ controls?: {
13572
+ type: "submit";
13573
+ id: string;
13574
+ label: string;
13575
+ disabled?: boolean | undefined;
13576
+ order?: number | undefined;
13577
+ visible?: boolean | undefined;
13578
+ customizations?: Record<string, any> | undefined;
13579
+ className?: string | undefined;
13580
+ }[] | undefined;
13581
+ post_submit_action?: "message" | "redirect" | undefined;
13582
+ success_message?: string | undefined;
13583
+ layout?: {
13584
+ columns?: number | undefined;
13585
+ template?: string | undefined;
13586
+ } | undefined;
13587
+ javascript?: string | undefined;
13588
+ };
13589
+ };
13590
+ output: {
13591
+ type: FormType;
13592
+ created_at: string;
13593
+ updated_at: string;
13594
+ name: string;
13595
+ id: string;
13596
+ fields: {
13597
+ type: FormFieldType;
13598
+ readOnly: boolean;
13599
+ required: boolean;
13600
+ name: string;
13601
+ id: string;
13602
+ disabled: boolean;
13603
+ label: string;
13604
+ visible: boolean;
13605
+ options?: {
13606
+ value: string;
13607
+ label: string;
13608
+ checked?: boolean | undefined | undefined;
13609
+ }[] | undefined;
13610
+ description?: string | undefined | undefined;
13611
+ placeholder?: string | undefined | undefined;
13612
+ defaultValue?: string | number | boolean | undefined | undefined;
13613
+ validations?: {
13614
+ message: string;
13615
+ type: ValidationErrorType;
13616
+ format?: string | undefined | undefined;
13617
+ pattern?: string | undefined | undefined;
13618
+ min_length?: number | undefined | undefined;
13619
+ max_length?: number | undefined | undefined;
13620
+ min?: number | undefined | undefined;
13621
+ max?: number | undefined | undefined;
13622
+ }[] | undefined;
13623
+ order?: number | undefined | undefined;
13624
+ customizations?: {
13625
+ [x: string]: any;
13626
+ } | undefined;
13627
+ }[];
13628
+ active: boolean;
13629
+ client_id?: string | undefined | undefined;
13630
+ redirect_uri?: string | undefined | undefined;
13631
+ language?: string | undefined | undefined;
13632
+ controls?: {
13633
+ type: "submit";
13634
+ id: string;
13635
+ disabled: boolean;
13636
+ label: string;
13637
+ visible: boolean;
13638
+ order?: number | undefined | undefined;
13639
+ customizations?: {
13640
+ [x: string]: any;
13641
+ } | undefined;
13642
+ className?: string | undefined | undefined;
13643
+ }[] | undefined;
13644
+ post_submit_action?: "message" | "redirect" | undefined | undefined;
13645
+ success_message?: string | undefined | undefined;
13646
+ layout?: {
13647
+ columns: number;
13648
+ template?: string | undefined | undefined;
13649
+ } | undefined;
13650
+ css?: string | undefined | undefined;
13651
+ javascript?: string | undefined | undefined;
13652
+ };
13653
+ outputFormat: "json";
13654
+ status: 201;
13655
+ };
13656
+ };
13657
+ }, "/forms"> & import("hono/types").MergeSchemaPath<{
12482
13658
  "/:id": {
12483
13659
  $get: {
12484
13660
  input: {