authhero 0.138.0 → 0.140.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.
@@ -2037,6 +2037,7 @@ export declare const flowNodeSchema: z.ZodObject<{
2037
2037
  x: number;
2038
2038
  y: number;
2039
2039
  }>;
2040
+ alias: z.ZodOptional<z.ZodString>;
2040
2041
  config: z.ZodObject<{
2041
2042
  flow_id: z.ZodString;
2042
2043
  next_node: z.ZodString;
@@ -2058,6 +2059,7 @@ export declare const flowNodeSchema: z.ZodObject<{
2058
2059
  x: number;
2059
2060
  y: number;
2060
2061
  };
2062
+ alias?: string | undefined;
2061
2063
  }, {
2062
2064
  type: NodeType.FLOW;
2063
2065
  id: string;
@@ -2069,6 +2071,7 @@ export declare const flowNodeSchema: z.ZodObject<{
2069
2071
  x: number;
2070
2072
  y: number;
2071
2073
  };
2074
+ alias?: string | undefined;
2072
2075
  }>;
2073
2076
  export declare const genericNodeSchema: z.ZodObject<{
2074
2077
  id: z.ZodString;
@@ -2777,6 +2780,7 @@ export declare const nodeSchema: z.ZodUnion<[
2777
2780
  x: number;
2778
2781
  y: number;
2779
2782
  }>;
2783
+ alias: z.ZodOptional<z.ZodString>;
2780
2784
  config: z.ZodObject<{
2781
2785
  flow_id: z.ZodString;
2782
2786
  next_node: z.ZodString;
@@ -2798,6 +2802,7 @@ export declare const nodeSchema: z.ZodUnion<[
2798
2802
  x: number;
2799
2803
  y: number;
2800
2804
  };
2805
+ alias?: string | undefined;
2801
2806
  }, {
2802
2807
  type: NodeType.FLOW;
2803
2808
  id: string;
@@ -2809,6 +2814,7 @@ export declare const nodeSchema: z.ZodUnion<[
2809
2814
  x: number;
2810
2815
  y: number;
2811
2816
  };
2817
+ alias?: string | undefined;
2812
2818
  }>,
2813
2819
  z.ZodObject<{
2814
2820
  id: z.ZodString;
@@ -3608,6 +3614,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
3608
3614
  x: number;
3609
3615
  y: number;
3610
3616
  }>;
3617
+ alias: z.ZodOptional<z.ZodString>;
3611
3618
  config: z.ZodObject<{
3612
3619
  flow_id: z.ZodString;
3613
3620
  next_node: z.ZodString;
@@ -3629,6 +3636,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
3629
3636
  x: number;
3630
3637
  y: number;
3631
3638
  };
3639
+ alias?: string | undefined;
3632
3640
  }, {
3633
3641
  type: NodeType.FLOW;
3634
3642
  id: string;
@@ -3640,6 +3648,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
3640
3648
  x: number;
3641
3649
  y: number;
3642
3650
  };
3651
+ alias?: string | undefined;
3643
3652
  }>,
3644
3653
  z.ZodObject<{
3645
3654
  id: z.ZodString;
@@ -4445,6 +4454,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
4445
4454
  x: number;
4446
4455
  y: number;
4447
4456
  }>;
4457
+ alias: z.ZodOptional<z.ZodString>;
4448
4458
  config: z.ZodObject<{
4449
4459
  flow_id: z.ZodString;
4450
4460
  next_node: z.ZodString;
@@ -4466,6 +4476,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
4466
4476
  x: number;
4467
4477
  y: number;
4468
4478
  };
4479
+ alias?: string | undefined;
4469
4480
  }, {
4470
4481
  type: NodeType.FLOW;
4471
4482
  id: string;
@@ -4477,6 +4488,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
4477
4488
  x: number;
4478
4489
  y: number;
4479
4490
  };
4491
+ alias?: string | undefined;
4480
4492
  }>,
4481
4493
  z.ZodObject<{
4482
4494
  id: z.ZodString;
@@ -5282,6 +5294,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
5282
5294
  x: number;
5283
5295
  y: number;
5284
5296
  }>;
5297
+ alias: z.ZodOptional<z.ZodString>;
5285
5298
  config: z.ZodObject<{
5286
5299
  flow_id: z.ZodString;
5287
5300
  next_node: z.ZodString;
@@ -5303,6 +5316,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
5303
5316
  x: number;
5304
5317
  y: number;
5305
5318
  };
5319
+ alias?: string | undefined;
5306
5320
  }, {
5307
5321
  type: NodeType.FLOW;
5308
5322
  id: string;
@@ -5314,6 +5328,7 @@ export declare const auth0FlowSchema: z.ZodObject<{
5314
5328
  x: number;
5315
5329
  y: number;
5316
5330
  };
5331
+ alias?: string | undefined;
5317
5332
  }>,
5318
5333
  z.ZodObject<{
5319
5334
  id: z.ZodString;
@@ -6121,6 +6136,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6121
6136
  x: number;
6122
6137
  y: number;
6123
6138
  }>;
6139
+ alias: z.ZodOptional<z.ZodString>;
6124
6140
  config: z.ZodObject<{
6125
6141
  flow_id: z.ZodString;
6126
6142
  next_node: z.ZodString;
@@ -6142,6 +6158,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6142
6158
  x: number;
6143
6159
  y: number;
6144
6160
  };
6161
+ alias?: string | undefined;
6145
6162
  }, {
6146
6163
  type: NodeType.FLOW;
6147
6164
  id: string;
@@ -6153,6 +6170,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6153
6170
  x: number;
6154
6171
  y: number;
6155
6172
  };
6173
+ alias?: string | undefined;
6156
6174
  }>,
6157
6175
  z.ZodObject<{
6158
6176
  id: z.ZodString;
@@ -6958,6 +6976,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6958
6976
  x: number;
6959
6977
  y: number;
6960
6978
  }>;
6979
+ alias: z.ZodOptional<z.ZodString>;
6961
6980
  config: z.ZodObject<{
6962
6981
  flow_id: z.ZodString;
6963
6982
  next_node: z.ZodString;
@@ -6979,6 +6998,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6979
6998
  x: number;
6980
6999
  y: number;
6981
7000
  };
7001
+ alias?: string | undefined;
6982
7002
  }, {
6983
7003
  type: NodeType.FLOW;
6984
7004
  id: string;
@@ -6990,6 +7010,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
6990
7010
  x: number;
6991
7011
  y: number;
6992
7012
  };
7013
+ alias?: string | undefined;
6993
7014
  }>,
6994
7015
  z.ZodObject<{
6995
7016
  id: z.ZodString;
@@ -7795,6 +7816,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7795
7816
  x: number;
7796
7817
  y: number;
7797
7818
  }>;
7819
+ alias: z.ZodOptional<z.ZodString>;
7798
7820
  config: z.ZodObject<{
7799
7821
  flow_id: z.ZodString;
7800
7822
  next_node: z.ZodString;
@@ -7816,6 +7838,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7816
7838
  x: number;
7817
7839
  y: number;
7818
7840
  };
7841
+ alias?: string | undefined;
7819
7842
  }, {
7820
7843
  type: NodeType.FLOW;
7821
7844
  id: string;
@@ -7827,6 +7850,7 @@ export declare const auth0FlowInsertSchema: z.ZodObject<Omit<{
7827
7850
  x: number;
7828
7851
  y: number;
7829
7852
  };
7853
+ alias?: string | undefined;
7830
7854
  }>,
7831
7855
  z.ZodObject<{
7832
7856
  id: z.ZodString;
@@ -9194,6 +9218,107 @@ export declare const formControlSchema: z.ZodObject<{
9194
9218
  customizations?: Record<string, any> | undefined;
9195
9219
  }>;
9196
9220
  export type FormControl = z.infer<typeof formControlSchema>;
9221
+ /**
9222
+ * Schema for form components (fields, text, buttons, etc)
9223
+ */
9224
+ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
9225
+ z.ZodObject<{
9226
+ id: z.ZodString;
9227
+ type: z.ZodLiteral<"RICH_TEXT">;
9228
+ config: z.ZodObject<{
9229
+ content: z.ZodString;
9230
+ }, "strip", z.ZodTypeAny, {
9231
+ content: string;
9232
+ }, {
9233
+ content: string;
9234
+ }>;
9235
+ order: z.ZodOptional<z.ZodNumber>;
9236
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9237
+ }, "strip", z.ZodTypeAny, {
9238
+ type: "RICH_TEXT";
9239
+ id: string;
9240
+ config: {
9241
+ content: string;
9242
+ };
9243
+ visible: boolean;
9244
+ order?: number | undefined;
9245
+ }, {
9246
+ type: "RICH_TEXT";
9247
+ id: string;
9248
+ config: {
9249
+ content: string;
9250
+ };
9251
+ order?: number | undefined;
9252
+ visible?: boolean | undefined;
9253
+ }>,
9254
+ z.ZodObject<{
9255
+ id: z.ZodString;
9256
+ type: z.ZodLiteral<"LEGAL">;
9257
+ config: z.ZodObject<{
9258
+ text: z.ZodString;
9259
+ html: z.ZodOptional<z.ZodBoolean>;
9260
+ }, "strip", z.ZodTypeAny, {
9261
+ text: string;
9262
+ html?: boolean | undefined;
9263
+ }, {
9264
+ text: string;
9265
+ html?: boolean | undefined;
9266
+ }>;
9267
+ required: z.ZodOptional<z.ZodBoolean>;
9268
+ order: z.ZodOptional<z.ZodNumber>;
9269
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9270
+ }, "strip", z.ZodTypeAny, {
9271
+ type: "LEGAL";
9272
+ id: string;
9273
+ config: {
9274
+ text: string;
9275
+ html?: boolean | undefined;
9276
+ };
9277
+ visible: boolean;
9278
+ required?: boolean | undefined;
9279
+ order?: number | undefined;
9280
+ }, {
9281
+ type: "LEGAL";
9282
+ id: string;
9283
+ config: {
9284
+ text: string;
9285
+ html?: boolean | undefined;
9286
+ };
9287
+ required?: boolean | undefined;
9288
+ order?: number | undefined;
9289
+ visible?: boolean | undefined;
9290
+ }>,
9291
+ z.ZodObject<{
9292
+ id: z.ZodString;
9293
+ type: z.ZodLiteral<"NEXT_BUTTON">;
9294
+ config: z.ZodObject<{
9295
+ text: z.ZodOptional<z.ZodString>;
9296
+ }, "strip", z.ZodTypeAny, {
9297
+ text?: string | undefined;
9298
+ }, {
9299
+ text?: string | undefined;
9300
+ }>;
9301
+ order: z.ZodOptional<z.ZodNumber>;
9302
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9303
+ }, "strip", z.ZodTypeAny, {
9304
+ type: "NEXT_BUTTON";
9305
+ id: string;
9306
+ config: {
9307
+ text?: string | undefined;
9308
+ };
9309
+ visible: boolean;
9310
+ order?: number | undefined;
9311
+ }, {
9312
+ type: "NEXT_BUTTON";
9313
+ id: string;
9314
+ config: {
9315
+ text?: string | undefined;
9316
+ };
9317
+ order?: number | undefined;
9318
+ visible?: boolean | undefined;
9319
+ }>
9320
+ ]>;
9321
+ export type FormNodeComponent = z.infer<typeof formNodeComponentDefinition>;
9197
9322
  /**
9198
9323
  * Schema for forms (flow-based, matches new JSON structure)
9199
9324
  */
@@ -9234,41 +9359,41 @@ export declare const formInsertSchema: z.ZodObject<{
9234
9359
  x: number;
9235
9360
  y: number;
9236
9361
  }>;
9237
- alias: z.ZodString;
9362
+ alias: z.ZodOptional<z.ZodString>;
9238
9363
  config: z.ZodObject<{
9239
9364
  flow_id: z.ZodString;
9240
- next_node: z.ZodArray<z.ZodString, "many">;
9365
+ next_node: z.ZodString;
9241
9366
  }, "strip", z.ZodTypeAny, {
9242
- next_node: string[];
9367
+ next_node: string;
9243
9368
  flow_id: string;
9244
9369
  }, {
9245
- next_node: string[];
9370
+ next_node: string;
9246
9371
  flow_id: string;
9247
9372
  }>;
9248
9373
  }, "strip", z.ZodTypeAny, {
9249
9374
  type: "FLOW";
9250
9375
  id: string;
9251
9376
  config: {
9252
- next_node: string[];
9377
+ next_node: string;
9253
9378
  flow_id: string;
9254
9379
  };
9255
9380
  coordinates: {
9256
9381
  x: number;
9257
9382
  y: number;
9258
9383
  };
9259
- alias: string;
9384
+ alias?: string | undefined;
9260
9385
  }, {
9261
9386
  type: "FLOW";
9262
9387
  id: string;
9263
9388
  config: {
9264
- next_node: string[];
9389
+ next_node: string;
9265
9390
  flow_id: string;
9266
9391
  };
9267
9392
  coordinates: {
9268
9393
  x: number;
9269
9394
  y: number;
9270
9395
  };
9271
- alias: string;
9396
+ alias?: string | undefined;
9272
9397
  }>,
9273
9398
  z.ZodObject<{
9274
9399
  id: z.ZodString;
@@ -9287,34 +9412,34 @@ export declare const formInsertSchema: z.ZodObject<{
9287
9412
  config: z.ZodObject<{
9288
9413
  rules: z.ZodArray<z.ZodObject<{
9289
9414
  id: z.ZodString;
9290
- alias: z.ZodString;
9415
+ alias: z.ZodOptional<z.ZodString>;
9291
9416
  condition: z.ZodAny;
9292
- next_node: z.ZodArray<z.ZodString, "many">;
9417
+ next_node: z.ZodString;
9293
9418
  }, "strip", z.ZodTypeAny, {
9294
9419
  id: string;
9295
- alias: string;
9296
- next_node: string[];
9420
+ next_node: string;
9421
+ alias?: string | undefined;
9297
9422
  condition?: any;
9298
9423
  }, {
9299
9424
  id: string;
9300
- alias: string;
9301
- next_node: string[];
9425
+ next_node: string;
9426
+ alias?: string | undefined;
9302
9427
  condition?: any;
9303
9428
  }>, "many">;
9304
9429
  fallback: z.ZodArray<z.ZodString, "many">;
9305
9430
  }, "strip", z.ZodTypeAny, {
9306
9431
  rules: {
9307
9432
  id: string;
9308
- alias: string;
9309
- next_node: string[];
9433
+ next_node: string;
9434
+ alias?: string | undefined;
9310
9435
  condition?: any;
9311
9436
  }[];
9312
9437
  fallback: string[];
9313
9438
  }, {
9314
9439
  rules: {
9315
9440
  id: string;
9316
- alias: string;
9317
- next_node: string[];
9441
+ next_node: string;
9442
+ alias?: string | undefined;
9318
9443
  condition?: any;
9319
9444
  }[];
9320
9445
  fallback: string[];
@@ -9325,8 +9450,8 @@ export declare const formInsertSchema: z.ZodObject<{
9325
9450
  config: {
9326
9451
  rules: {
9327
9452
  id: string;
9328
- alias: string;
9329
- next_node: string[];
9453
+ next_node: string;
9454
+ alias?: string | undefined;
9330
9455
  condition?: any;
9331
9456
  }[];
9332
9457
  fallback: string[];
@@ -9342,8 +9467,8 @@ export declare const formInsertSchema: z.ZodObject<{
9342
9467
  config: {
9343
9468
  rules: {
9344
9469
  id: string;
9345
- alias: string;
9346
- next_node: string[];
9470
+ next_node: string;
9471
+ alias?: string | undefined;
9347
9472
  condition?: any;
9348
9473
  }[];
9349
9474
  fallback: string[];
@@ -9367,41 +9492,241 @@ export declare const formInsertSchema: z.ZodObject<{
9367
9492
  x: number;
9368
9493
  y: number;
9369
9494
  }>;
9370
- alias: z.ZodString;
9495
+ alias: z.ZodOptional<z.ZodString>;
9371
9496
  config: z.ZodObject<{
9372
- components: z.ZodArray<z.ZodAny, "many">;
9373
- next_node: z.ZodArray<z.ZodString, "many">;
9497
+ components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
9498
+ z.ZodObject<{
9499
+ id: z.ZodString;
9500
+ type: z.ZodLiteral<"RICH_TEXT">;
9501
+ config: z.ZodObject<{
9502
+ content: z.ZodString;
9503
+ }, "strip", z.ZodTypeAny, {
9504
+ content: string;
9505
+ }, {
9506
+ content: string;
9507
+ }>;
9508
+ order: z.ZodOptional<z.ZodNumber>;
9509
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9510
+ }, "strip", z.ZodTypeAny, {
9511
+ type: "RICH_TEXT";
9512
+ id: string;
9513
+ config: {
9514
+ content: string;
9515
+ };
9516
+ visible: boolean;
9517
+ order?: number | undefined;
9518
+ }, {
9519
+ type: "RICH_TEXT";
9520
+ id: string;
9521
+ config: {
9522
+ content: string;
9523
+ };
9524
+ order?: number | undefined;
9525
+ visible?: boolean | undefined;
9526
+ }>,
9527
+ z.ZodObject<{
9528
+ id: z.ZodString;
9529
+ type: z.ZodLiteral<"LEGAL">;
9530
+ config: z.ZodObject<{
9531
+ text: z.ZodString;
9532
+ html: z.ZodOptional<z.ZodBoolean>;
9533
+ }, "strip", z.ZodTypeAny, {
9534
+ text: string;
9535
+ html?: boolean | undefined;
9536
+ }, {
9537
+ text: string;
9538
+ html?: boolean | undefined;
9539
+ }>;
9540
+ required: z.ZodOptional<z.ZodBoolean>;
9541
+ order: z.ZodOptional<z.ZodNumber>;
9542
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9543
+ }, "strip", z.ZodTypeAny, {
9544
+ type: "LEGAL";
9545
+ id: string;
9546
+ config: {
9547
+ text: string;
9548
+ html?: boolean | undefined;
9549
+ };
9550
+ visible: boolean;
9551
+ required?: boolean | undefined;
9552
+ order?: number | undefined;
9553
+ }, {
9554
+ type: "LEGAL";
9555
+ id: string;
9556
+ config: {
9557
+ text: string;
9558
+ html?: boolean | undefined;
9559
+ };
9560
+ required?: boolean | undefined;
9561
+ order?: number | undefined;
9562
+ visible?: boolean | undefined;
9563
+ }>,
9564
+ z.ZodObject<{
9565
+ id: z.ZodString;
9566
+ type: z.ZodLiteral<"NEXT_BUTTON">;
9567
+ config: z.ZodObject<{
9568
+ text: z.ZodOptional<z.ZodString>;
9569
+ }, "strip", z.ZodTypeAny, {
9570
+ text?: string | undefined;
9571
+ }, {
9572
+ text?: string | undefined;
9573
+ }>;
9574
+ order: z.ZodOptional<z.ZodNumber>;
9575
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
9576
+ }, "strip", z.ZodTypeAny, {
9577
+ type: "NEXT_BUTTON";
9578
+ id: string;
9579
+ config: {
9580
+ text?: string | undefined;
9581
+ };
9582
+ visible: boolean;
9583
+ order?: number | undefined;
9584
+ }, {
9585
+ type: "NEXT_BUTTON";
9586
+ id: string;
9587
+ config: {
9588
+ text?: string | undefined;
9589
+ };
9590
+ order?: number | undefined;
9591
+ visible?: boolean | undefined;
9592
+ }>
9593
+ ]>, "many">;
9594
+ next_node: z.ZodString;
9374
9595
  }, "strip", z.ZodTypeAny, {
9375
- components: any[];
9376
- next_node: string[];
9596
+ components: ({
9597
+ type: "RICH_TEXT";
9598
+ id: string;
9599
+ config: {
9600
+ content: string;
9601
+ };
9602
+ visible: boolean;
9603
+ order?: number | undefined;
9604
+ } | {
9605
+ type: "LEGAL";
9606
+ id: string;
9607
+ config: {
9608
+ text: string;
9609
+ html?: boolean | undefined;
9610
+ };
9611
+ visible: boolean;
9612
+ required?: boolean | undefined;
9613
+ order?: number | undefined;
9614
+ } | {
9615
+ type: "NEXT_BUTTON";
9616
+ id: string;
9617
+ config: {
9618
+ text?: string | undefined;
9619
+ };
9620
+ visible: boolean;
9621
+ order?: number | undefined;
9622
+ })[];
9623
+ next_node: string;
9377
9624
  }, {
9378
- components: any[];
9379
- next_node: string[];
9625
+ components: ({
9626
+ type: "RICH_TEXT";
9627
+ id: string;
9628
+ config: {
9629
+ content: string;
9630
+ };
9631
+ order?: number | undefined;
9632
+ visible?: boolean | undefined;
9633
+ } | {
9634
+ type: "LEGAL";
9635
+ id: string;
9636
+ config: {
9637
+ text: string;
9638
+ html?: boolean | undefined;
9639
+ };
9640
+ required?: boolean | undefined;
9641
+ order?: number | undefined;
9642
+ visible?: boolean | undefined;
9643
+ } | {
9644
+ type: "NEXT_BUTTON";
9645
+ id: string;
9646
+ config: {
9647
+ text?: string | undefined;
9648
+ };
9649
+ order?: number | undefined;
9650
+ visible?: boolean | undefined;
9651
+ })[];
9652
+ next_node: string;
9380
9653
  }>;
9381
9654
  }, "strip", z.ZodTypeAny, {
9382
9655
  type: "STEP";
9383
9656
  id: string;
9384
9657
  config: {
9385
- components: any[];
9386
- next_node: string[];
9658
+ components: ({
9659
+ type: "RICH_TEXT";
9660
+ id: string;
9661
+ config: {
9662
+ content: string;
9663
+ };
9664
+ visible: boolean;
9665
+ order?: number | undefined;
9666
+ } | {
9667
+ type: "LEGAL";
9668
+ id: string;
9669
+ config: {
9670
+ text: string;
9671
+ html?: boolean | undefined;
9672
+ };
9673
+ visible: boolean;
9674
+ required?: boolean | undefined;
9675
+ order?: number | undefined;
9676
+ } | {
9677
+ type: "NEXT_BUTTON";
9678
+ id: string;
9679
+ config: {
9680
+ text?: string | undefined;
9681
+ };
9682
+ visible: boolean;
9683
+ order?: number | undefined;
9684
+ })[];
9685
+ next_node: string;
9387
9686
  };
9388
9687
  coordinates: {
9389
9688
  x: number;
9390
9689
  y: number;
9391
9690
  };
9392
- alias: string;
9691
+ alias?: string | undefined;
9393
9692
  }, {
9394
9693
  type: "STEP";
9395
9694
  id: string;
9396
9695
  config: {
9397
- components: any[];
9398
- next_node: string[];
9696
+ components: ({
9697
+ type: "RICH_TEXT";
9698
+ id: string;
9699
+ config: {
9700
+ content: string;
9701
+ };
9702
+ order?: number | undefined;
9703
+ visible?: boolean | undefined;
9704
+ } | {
9705
+ type: "LEGAL";
9706
+ id: string;
9707
+ config: {
9708
+ text: string;
9709
+ html?: boolean | undefined;
9710
+ };
9711
+ required?: boolean | undefined;
9712
+ order?: number | undefined;
9713
+ visible?: boolean | undefined;
9714
+ } | {
9715
+ type: "NEXT_BUTTON";
9716
+ id: string;
9717
+ config: {
9718
+ text?: string | undefined;
9719
+ };
9720
+ order?: number | undefined;
9721
+ visible?: boolean | undefined;
9722
+ })[];
9723
+ next_node: string;
9399
9724
  };
9400
9725
  coordinates: {
9401
9726
  x: number;
9402
9727
  y: number;
9403
9728
  };
9404
- alias: string;
9729
+ alias?: string | undefined;
9405
9730
  }>
9406
9731
  ]>, "many">>;
9407
9732
  start: z.ZodOptional<z.ZodObject<{
@@ -9415,7 +9740,7 @@ export declare const formInsertSchema: z.ZodObject<{
9415
9740
  value: string;
9416
9741
  key: string;
9417
9742
  }>, "many">>;
9418
- next_node: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9743
+ next_node: z.ZodOptional<z.ZodString>;
9419
9744
  coordinates: z.ZodOptional<z.ZodObject<{
9420
9745
  x: z.ZodNumber;
9421
9746
  y: z.ZodNumber;
@@ -9431,7 +9756,7 @@ export declare const formInsertSchema: z.ZodObject<{
9431
9756
  x: number;
9432
9757
  y: number;
9433
9758
  } | undefined;
9434
- next_node?: string[] | undefined;
9759
+ next_node?: string | undefined;
9435
9760
  hidden_fields?: {
9436
9761
  value: string;
9437
9762
  key: string;
@@ -9441,7 +9766,7 @@ export declare const formInsertSchema: z.ZodObject<{
9441
9766
  x: number;
9442
9767
  y: number;
9443
9768
  } | undefined;
9444
- next_node?: string[] | undefined;
9769
+ next_node?: string | undefined;
9445
9770
  hidden_fields?: {
9446
9771
  value: string;
9447
9772
  key: string;
@@ -9517,7 +9842,7 @@ export declare const formInsertSchema: z.ZodObject<{
9517
9842
  x: number;
9518
9843
  y: number;
9519
9844
  } | undefined;
9520
- next_node?: string[] | undefined;
9845
+ next_node?: string | undefined;
9521
9846
  hidden_fields?: {
9522
9847
  value: string;
9523
9848
  key: string;
@@ -9534,22 +9859,22 @@ export declare const formInsertSchema: z.ZodObject<{
9534
9859
  type: "FLOW";
9535
9860
  id: string;
9536
9861
  config: {
9537
- next_node: string[];
9862
+ next_node: string;
9538
9863
  flow_id: string;
9539
9864
  };
9540
9865
  coordinates: {
9541
9866
  x: number;
9542
9867
  y: number;
9543
9868
  };
9544
- alias: string;
9869
+ alias?: string | undefined;
9545
9870
  } | {
9546
9871
  type: "ROUTER";
9547
9872
  id: string;
9548
9873
  config: {
9549
9874
  rules: {
9550
9875
  id: string;
9551
- alias: string;
9552
- next_node: string[];
9876
+ next_node: string;
9877
+ alias?: string | undefined;
9553
9878
  condition?: any;
9554
9879
  }[];
9555
9880
  fallback: string[];
@@ -9563,14 +9888,40 @@ export declare const formInsertSchema: z.ZodObject<{
9563
9888
  type: "STEP";
9564
9889
  id: string;
9565
9890
  config: {
9566
- components: any[];
9567
- next_node: string[];
9891
+ components: ({
9892
+ type: "RICH_TEXT";
9893
+ id: string;
9894
+ config: {
9895
+ content: string;
9896
+ };
9897
+ visible: boolean;
9898
+ order?: number | undefined;
9899
+ } | {
9900
+ type: "LEGAL";
9901
+ id: string;
9902
+ config: {
9903
+ text: string;
9904
+ html?: boolean | undefined;
9905
+ };
9906
+ visible: boolean;
9907
+ required?: boolean | undefined;
9908
+ order?: number | undefined;
9909
+ } | {
9910
+ type: "NEXT_BUTTON";
9911
+ id: string;
9912
+ config: {
9913
+ text?: string | undefined;
9914
+ };
9915
+ visible: boolean;
9916
+ order?: number | undefined;
9917
+ })[];
9918
+ next_node: string;
9568
9919
  };
9569
9920
  coordinates: {
9570
9921
  x: number;
9571
9922
  y: number;
9572
9923
  };
9573
- alias: string;
9924
+ alias?: string | undefined;
9574
9925
  })[] | undefined;
9575
9926
  ending?: {
9576
9927
  coordinates?: {
@@ -9598,7 +9949,7 @@ export declare const formInsertSchema: z.ZodObject<{
9598
9949
  x: number;
9599
9950
  y: number;
9600
9951
  } | undefined;
9601
- next_node?: string[] | undefined;
9952
+ next_node?: string | undefined;
9602
9953
  hidden_fields?: {
9603
9954
  value: string;
9604
9955
  key: string;
@@ -9615,22 +9966,22 @@ export declare const formInsertSchema: z.ZodObject<{
9615
9966
  type: "FLOW";
9616
9967
  id: string;
9617
9968
  config: {
9618
- next_node: string[];
9969
+ next_node: string;
9619
9970
  flow_id: string;
9620
9971
  };
9621
9972
  coordinates: {
9622
9973
  x: number;
9623
9974
  y: number;
9624
9975
  };
9625
- alias: string;
9976
+ alias?: string | undefined;
9626
9977
  } | {
9627
9978
  type: "ROUTER";
9628
9979
  id: string;
9629
9980
  config: {
9630
9981
  rules: {
9631
9982
  id: string;
9632
- alias: string;
9633
- next_node: string[];
9983
+ next_node: string;
9984
+ alias?: string | undefined;
9634
9985
  condition?: any;
9635
9986
  }[];
9636
9987
  fallback: string[];
@@ -9644,23 +9995,49 @@ export declare const formInsertSchema: z.ZodObject<{
9644
9995
  type: "STEP";
9645
9996
  id: string;
9646
9997
  config: {
9647
- components: any[];
9648
- next_node: string[];
9649
- };
9650
- coordinates: {
9651
- x: number;
9652
- y: number;
9653
- };
9654
- alias: string;
9655
- })[] | undefined;
9656
- ending?: {
9657
- coordinates?: {
9658
- x: number;
9659
- y: number;
9660
- } | undefined;
9661
- resume_flow?: boolean | undefined;
9662
- redirection?: {
9663
- delay?: number | undefined;
9998
+ components: ({
9999
+ type: "RICH_TEXT";
10000
+ id: string;
10001
+ config: {
10002
+ content: string;
10003
+ };
10004
+ order?: number | undefined;
10005
+ visible?: boolean | undefined;
10006
+ } | {
10007
+ type: "LEGAL";
10008
+ id: string;
10009
+ config: {
10010
+ text: string;
10011
+ html?: boolean | undefined;
10012
+ };
10013
+ required?: boolean | undefined;
10014
+ order?: number | undefined;
10015
+ visible?: boolean | undefined;
10016
+ } | {
10017
+ type: "NEXT_BUTTON";
10018
+ id: string;
10019
+ config: {
10020
+ text?: string | undefined;
10021
+ };
10022
+ order?: number | undefined;
10023
+ visible?: boolean | undefined;
10024
+ })[];
10025
+ next_node: string;
10026
+ };
10027
+ coordinates: {
10028
+ x: number;
10029
+ y: number;
10030
+ };
10031
+ alias?: string | undefined;
10032
+ })[] | undefined;
10033
+ ending?: {
10034
+ coordinates?: {
10035
+ x: number;
10036
+ y: number;
10037
+ } | undefined;
10038
+ resume_flow?: boolean | undefined;
10039
+ redirection?: {
10040
+ delay?: number | undefined;
9664
10041
  target?: string | undefined;
9665
10042
  } | undefined;
9666
10043
  after_submit?: {
@@ -9715,41 +10092,41 @@ export declare const formSchema: z.ZodObject<{
9715
10092
  x: number;
9716
10093
  y: number;
9717
10094
  }>;
9718
- alias: z.ZodString;
10095
+ alias: z.ZodOptional<z.ZodString>;
9719
10096
  config: z.ZodObject<{
9720
10097
  flow_id: z.ZodString;
9721
- next_node: z.ZodArray<z.ZodString, "many">;
10098
+ next_node: z.ZodString;
9722
10099
  }, "strip", z.ZodTypeAny, {
9723
- next_node: string[];
10100
+ next_node: string;
9724
10101
  flow_id: string;
9725
10102
  }, {
9726
- next_node: string[];
10103
+ next_node: string;
9727
10104
  flow_id: string;
9728
10105
  }>;
9729
10106
  }, "strip", z.ZodTypeAny, {
9730
10107
  type: "FLOW";
9731
10108
  id: string;
9732
10109
  config: {
9733
- next_node: string[];
10110
+ next_node: string;
9734
10111
  flow_id: string;
9735
10112
  };
9736
10113
  coordinates: {
9737
10114
  x: number;
9738
10115
  y: number;
9739
10116
  };
9740
- alias: string;
10117
+ alias?: string | undefined;
9741
10118
  }, {
9742
10119
  type: "FLOW";
9743
10120
  id: string;
9744
10121
  config: {
9745
- next_node: string[];
10122
+ next_node: string;
9746
10123
  flow_id: string;
9747
10124
  };
9748
10125
  coordinates: {
9749
10126
  x: number;
9750
10127
  y: number;
9751
10128
  };
9752
- alias: string;
10129
+ alias?: string | undefined;
9753
10130
  }>,
9754
10131
  z.ZodObject<{
9755
10132
  id: z.ZodString;
@@ -9768,34 +10145,34 @@ export declare const formSchema: z.ZodObject<{
9768
10145
  config: z.ZodObject<{
9769
10146
  rules: z.ZodArray<z.ZodObject<{
9770
10147
  id: z.ZodString;
9771
- alias: z.ZodString;
10148
+ alias: z.ZodOptional<z.ZodString>;
9772
10149
  condition: z.ZodAny;
9773
- next_node: z.ZodArray<z.ZodString, "many">;
10150
+ next_node: z.ZodString;
9774
10151
  }, "strip", z.ZodTypeAny, {
9775
10152
  id: string;
9776
- alias: string;
9777
- next_node: string[];
10153
+ next_node: string;
10154
+ alias?: string | undefined;
9778
10155
  condition?: any;
9779
10156
  }, {
9780
10157
  id: string;
9781
- alias: string;
9782
- next_node: string[];
10158
+ next_node: string;
10159
+ alias?: string | undefined;
9783
10160
  condition?: any;
9784
10161
  }>, "many">;
9785
10162
  fallback: z.ZodArray<z.ZodString, "many">;
9786
10163
  }, "strip", z.ZodTypeAny, {
9787
10164
  rules: {
9788
10165
  id: string;
9789
- alias: string;
9790
- next_node: string[];
10166
+ next_node: string;
10167
+ alias?: string | undefined;
9791
10168
  condition?: any;
9792
10169
  }[];
9793
10170
  fallback: string[];
9794
10171
  }, {
9795
10172
  rules: {
9796
10173
  id: string;
9797
- alias: string;
9798
- next_node: string[];
10174
+ next_node: string;
10175
+ alias?: string | undefined;
9799
10176
  condition?: any;
9800
10177
  }[];
9801
10178
  fallback: string[];
@@ -9806,8 +10183,8 @@ export declare const formSchema: z.ZodObject<{
9806
10183
  config: {
9807
10184
  rules: {
9808
10185
  id: string;
9809
- alias: string;
9810
- next_node: string[];
10186
+ next_node: string;
10187
+ alias?: string | undefined;
9811
10188
  condition?: any;
9812
10189
  }[];
9813
10190
  fallback: string[];
@@ -9823,8 +10200,8 @@ export declare const formSchema: z.ZodObject<{
9823
10200
  config: {
9824
10201
  rules: {
9825
10202
  id: string;
9826
- alias: string;
9827
- next_node: string[];
10203
+ next_node: string;
10204
+ alias?: string | undefined;
9828
10205
  condition?: any;
9829
10206
  }[];
9830
10207
  fallback: string[];
@@ -9848,41 +10225,241 @@ export declare const formSchema: z.ZodObject<{
9848
10225
  x: number;
9849
10226
  y: number;
9850
10227
  }>;
9851
- alias: z.ZodString;
10228
+ alias: z.ZodOptional<z.ZodString>;
9852
10229
  config: z.ZodObject<{
9853
- components: z.ZodArray<z.ZodAny, "many">;
9854
- next_node: z.ZodArray<z.ZodString, "many">;
10230
+ components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
10231
+ z.ZodObject<{
10232
+ id: z.ZodString;
10233
+ type: z.ZodLiteral<"RICH_TEXT">;
10234
+ config: z.ZodObject<{
10235
+ content: z.ZodString;
10236
+ }, "strip", z.ZodTypeAny, {
10237
+ content: string;
10238
+ }, {
10239
+ content: string;
10240
+ }>;
10241
+ order: z.ZodOptional<z.ZodNumber>;
10242
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10243
+ }, "strip", z.ZodTypeAny, {
10244
+ type: "RICH_TEXT";
10245
+ id: string;
10246
+ config: {
10247
+ content: string;
10248
+ };
10249
+ visible: boolean;
10250
+ order?: number | undefined;
10251
+ }, {
10252
+ type: "RICH_TEXT";
10253
+ id: string;
10254
+ config: {
10255
+ content: string;
10256
+ };
10257
+ order?: number | undefined;
10258
+ visible?: boolean | undefined;
10259
+ }>,
10260
+ z.ZodObject<{
10261
+ id: z.ZodString;
10262
+ type: z.ZodLiteral<"LEGAL">;
10263
+ config: z.ZodObject<{
10264
+ text: z.ZodString;
10265
+ html: z.ZodOptional<z.ZodBoolean>;
10266
+ }, "strip", z.ZodTypeAny, {
10267
+ text: string;
10268
+ html?: boolean | undefined;
10269
+ }, {
10270
+ text: string;
10271
+ html?: boolean | undefined;
10272
+ }>;
10273
+ required: z.ZodOptional<z.ZodBoolean>;
10274
+ order: z.ZodOptional<z.ZodNumber>;
10275
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10276
+ }, "strip", z.ZodTypeAny, {
10277
+ type: "LEGAL";
10278
+ id: string;
10279
+ config: {
10280
+ text: string;
10281
+ html?: boolean | undefined;
10282
+ };
10283
+ visible: boolean;
10284
+ required?: boolean | undefined;
10285
+ order?: number | undefined;
10286
+ }, {
10287
+ type: "LEGAL";
10288
+ id: string;
10289
+ config: {
10290
+ text: string;
10291
+ html?: boolean | undefined;
10292
+ };
10293
+ required?: boolean | undefined;
10294
+ order?: number | undefined;
10295
+ visible?: boolean | undefined;
10296
+ }>,
10297
+ z.ZodObject<{
10298
+ id: z.ZodString;
10299
+ type: z.ZodLiteral<"NEXT_BUTTON">;
10300
+ config: z.ZodObject<{
10301
+ text: z.ZodOptional<z.ZodString>;
10302
+ }, "strip", z.ZodTypeAny, {
10303
+ text?: string | undefined;
10304
+ }, {
10305
+ text?: string | undefined;
10306
+ }>;
10307
+ order: z.ZodOptional<z.ZodNumber>;
10308
+ visible: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10309
+ }, "strip", z.ZodTypeAny, {
10310
+ type: "NEXT_BUTTON";
10311
+ id: string;
10312
+ config: {
10313
+ text?: string | undefined;
10314
+ };
10315
+ visible: boolean;
10316
+ order?: number | undefined;
10317
+ }, {
10318
+ type: "NEXT_BUTTON";
10319
+ id: string;
10320
+ config: {
10321
+ text?: string | undefined;
10322
+ };
10323
+ order?: number | undefined;
10324
+ visible?: boolean | undefined;
10325
+ }>
10326
+ ]>, "many">;
10327
+ next_node: z.ZodString;
9855
10328
  }, "strip", z.ZodTypeAny, {
9856
- components: any[];
9857
- next_node: string[];
10329
+ components: ({
10330
+ type: "RICH_TEXT";
10331
+ id: string;
10332
+ config: {
10333
+ content: string;
10334
+ };
10335
+ visible: boolean;
10336
+ order?: number | undefined;
10337
+ } | {
10338
+ type: "LEGAL";
10339
+ id: string;
10340
+ config: {
10341
+ text: string;
10342
+ html?: boolean | undefined;
10343
+ };
10344
+ visible: boolean;
10345
+ required?: boolean | undefined;
10346
+ order?: number | undefined;
10347
+ } | {
10348
+ type: "NEXT_BUTTON";
10349
+ id: string;
10350
+ config: {
10351
+ text?: string | undefined;
10352
+ };
10353
+ visible: boolean;
10354
+ order?: number | undefined;
10355
+ })[];
10356
+ next_node: string;
9858
10357
  }, {
9859
- components: any[];
9860
- next_node: string[];
10358
+ components: ({
10359
+ type: "RICH_TEXT";
10360
+ id: string;
10361
+ config: {
10362
+ content: string;
10363
+ };
10364
+ order?: number | undefined;
10365
+ visible?: boolean | undefined;
10366
+ } | {
10367
+ type: "LEGAL";
10368
+ id: string;
10369
+ config: {
10370
+ text: string;
10371
+ html?: boolean | undefined;
10372
+ };
10373
+ required?: boolean | undefined;
10374
+ order?: number | undefined;
10375
+ visible?: boolean | undefined;
10376
+ } | {
10377
+ type: "NEXT_BUTTON";
10378
+ id: string;
10379
+ config: {
10380
+ text?: string | undefined;
10381
+ };
10382
+ order?: number | undefined;
10383
+ visible?: boolean | undefined;
10384
+ })[];
10385
+ next_node: string;
9861
10386
  }>;
9862
10387
  }, "strip", z.ZodTypeAny, {
9863
10388
  type: "STEP";
9864
10389
  id: string;
9865
10390
  config: {
9866
- components: any[];
9867
- next_node: string[];
10391
+ components: ({
10392
+ type: "RICH_TEXT";
10393
+ id: string;
10394
+ config: {
10395
+ content: string;
10396
+ };
10397
+ visible: boolean;
10398
+ order?: number | undefined;
10399
+ } | {
10400
+ type: "LEGAL";
10401
+ id: string;
10402
+ config: {
10403
+ text: string;
10404
+ html?: boolean | undefined;
10405
+ };
10406
+ visible: boolean;
10407
+ required?: boolean | undefined;
10408
+ order?: number | undefined;
10409
+ } | {
10410
+ type: "NEXT_BUTTON";
10411
+ id: string;
10412
+ config: {
10413
+ text?: string | undefined;
10414
+ };
10415
+ visible: boolean;
10416
+ order?: number | undefined;
10417
+ })[];
10418
+ next_node: string;
9868
10419
  };
9869
10420
  coordinates: {
9870
10421
  x: number;
9871
10422
  y: number;
9872
10423
  };
9873
- alias: string;
10424
+ alias?: string | undefined;
9874
10425
  }, {
9875
10426
  type: "STEP";
9876
10427
  id: string;
9877
10428
  config: {
9878
- components: any[];
9879
- next_node: string[];
10429
+ components: ({
10430
+ type: "RICH_TEXT";
10431
+ id: string;
10432
+ config: {
10433
+ content: string;
10434
+ };
10435
+ order?: number | undefined;
10436
+ visible?: boolean | undefined;
10437
+ } | {
10438
+ type: "LEGAL";
10439
+ id: string;
10440
+ config: {
10441
+ text: string;
10442
+ html?: boolean | undefined;
10443
+ };
10444
+ required?: boolean | undefined;
10445
+ order?: number | undefined;
10446
+ visible?: boolean | undefined;
10447
+ } | {
10448
+ type: "NEXT_BUTTON";
10449
+ id: string;
10450
+ config: {
10451
+ text?: string | undefined;
10452
+ };
10453
+ order?: number | undefined;
10454
+ visible?: boolean | undefined;
10455
+ })[];
10456
+ next_node: string;
9880
10457
  };
9881
10458
  coordinates: {
9882
10459
  x: number;
9883
10460
  y: number;
9884
10461
  };
9885
- alias: string;
10462
+ alias?: string | undefined;
9886
10463
  }>
9887
10464
  ]>, "many">>;
9888
10465
  start: z.ZodOptional<z.ZodObject<{
@@ -9896,7 +10473,7 @@ export declare const formSchema: z.ZodObject<{
9896
10473
  value: string;
9897
10474
  key: string;
9898
10475
  }>, "many">>;
9899
- next_node: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10476
+ next_node: z.ZodOptional<z.ZodString>;
9900
10477
  coordinates: z.ZodOptional<z.ZodObject<{
9901
10478
  x: z.ZodNumber;
9902
10479
  y: z.ZodNumber;
@@ -9912,7 +10489,7 @@ export declare const formSchema: z.ZodObject<{
9912
10489
  x: number;
9913
10490
  y: number;
9914
10491
  } | undefined;
9915
- next_node?: string[] | undefined;
10492
+ next_node?: string | undefined;
9916
10493
  hidden_fields?: {
9917
10494
  value: string;
9918
10495
  key: string;
@@ -9922,7 +10499,7 @@ export declare const formSchema: z.ZodObject<{
9922
10499
  x: number;
9923
10500
  y: number;
9924
10501
  } | undefined;
9925
- next_node?: string[] | undefined;
10502
+ next_node?: string | undefined;
9926
10503
  hidden_fields?: {
9927
10504
  value: string;
9928
10505
  key: string;
@@ -10003,7 +10580,7 @@ export declare const formSchema: z.ZodObject<{
10003
10580
  x: number;
10004
10581
  y: number;
10005
10582
  } | undefined;
10006
- next_node?: string[] | undefined;
10583
+ next_node?: string | undefined;
10007
10584
  hidden_fields?: {
10008
10585
  value: string;
10009
10586
  key: string;
@@ -10020,22 +10597,22 @@ export declare const formSchema: z.ZodObject<{
10020
10597
  type: "FLOW";
10021
10598
  id: string;
10022
10599
  config: {
10023
- next_node: string[];
10600
+ next_node: string;
10024
10601
  flow_id: string;
10025
10602
  };
10026
10603
  coordinates: {
10027
10604
  x: number;
10028
10605
  y: number;
10029
10606
  };
10030
- alias: string;
10607
+ alias?: string | undefined;
10031
10608
  } | {
10032
10609
  type: "ROUTER";
10033
10610
  id: string;
10034
10611
  config: {
10035
10612
  rules: {
10036
10613
  id: string;
10037
- alias: string;
10038
- next_node: string[];
10614
+ next_node: string;
10615
+ alias?: string | undefined;
10039
10616
  condition?: any;
10040
10617
  }[];
10041
10618
  fallback: string[];
@@ -10049,14 +10626,40 @@ export declare const formSchema: z.ZodObject<{
10049
10626
  type: "STEP";
10050
10627
  id: string;
10051
10628
  config: {
10052
- components: any[];
10053
- next_node: string[];
10629
+ components: ({
10630
+ type: "RICH_TEXT";
10631
+ id: string;
10632
+ config: {
10633
+ content: string;
10634
+ };
10635
+ visible: boolean;
10636
+ order?: number | undefined;
10637
+ } | {
10638
+ type: "LEGAL";
10639
+ id: string;
10640
+ config: {
10641
+ text: string;
10642
+ html?: boolean | undefined;
10643
+ };
10644
+ visible: boolean;
10645
+ required?: boolean | undefined;
10646
+ order?: number | undefined;
10647
+ } | {
10648
+ type: "NEXT_BUTTON";
10649
+ id: string;
10650
+ config: {
10651
+ text?: string | undefined;
10652
+ };
10653
+ visible: boolean;
10654
+ order?: number | undefined;
10655
+ })[];
10656
+ next_node: string;
10054
10657
  };
10055
10658
  coordinates: {
10056
10659
  x: number;
10057
10660
  y: number;
10058
10661
  };
10059
- alias: string;
10662
+ alias?: string | undefined;
10060
10663
  })[] | undefined;
10061
10664
  ending?: {
10062
10665
  coordinates?: {
@@ -10087,7 +10690,7 @@ export declare const formSchema: z.ZodObject<{
10087
10690
  x: number;
10088
10691
  y: number;
10089
10692
  } | undefined;
10090
- next_node?: string[] | undefined;
10693
+ next_node?: string | undefined;
10091
10694
  hidden_fields?: {
10092
10695
  value: string;
10093
10696
  key: string;
@@ -10104,22 +10707,22 @@ export declare const formSchema: z.ZodObject<{
10104
10707
  type: "FLOW";
10105
10708
  id: string;
10106
10709
  config: {
10107
- next_node: string[];
10710
+ next_node: string;
10108
10711
  flow_id: string;
10109
10712
  };
10110
10713
  coordinates: {
10111
10714
  x: number;
10112
10715
  y: number;
10113
10716
  };
10114
- alias: string;
10717
+ alias?: string | undefined;
10115
10718
  } | {
10116
10719
  type: "ROUTER";
10117
10720
  id: string;
10118
10721
  config: {
10119
10722
  rules: {
10120
10723
  id: string;
10121
- alias: string;
10122
- next_node: string[];
10724
+ next_node: string;
10725
+ alias?: string | undefined;
10123
10726
  condition?: any;
10124
10727
  }[];
10125
10728
  fallback: string[];
@@ -10133,14 +10736,40 @@ export declare const formSchema: z.ZodObject<{
10133
10736
  type: "STEP";
10134
10737
  id: string;
10135
10738
  config: {
10136
- components: any[];
10137
- next_node: string[];
10739
+ components: ({
10740
+ type: "RICH_TEXT";
10741
+ id: string;
10742
+ config: {
10743
+ content: string;
10744
+ };
10745
+ order?: number | undefined;
10746
+ visible?: boolean | undefined;
10747
+ } | {
10748
+ type: "LEGAL";
10749
+ id: string;
10750
+ config: {
10751
+ text: string;
10752
+ html?: boolean | undefined;
10753
+ };
10754
+ required?: boolean | undefined;
10755
+ order?: number | undefined;
10756
+ visible?: boolean | undefined;
10757
+ } | {
10758
+ type: "NEXT_BUTTON";
10759
+ id: string;
10760
+ config: {
10761
+ text?: string | undefined;
10762
+ };
10763
+ order?: number | undefined;
10764
+ visible?: boolean | undefined;
10765
+ })[];
10766
+ next_node: string;
10138
10767
  };
10139
10768
  coordinates: {
10140
10769
  x: number;
10141
10770
  y: number;
10142
10771
  };
10143
- alias: string;
10772
+ alias?: string | undefined;
10144
10773
  })[] | undefined;
10145
10774
  ending?: {
10146
10775
  coordinates?: {
@@ -13060,6 +13689,12 @@ export type OnExecutePostUserRegistrationAPI = {
13060
13689
  };
13061
13690
  export type OnExecutePreUserRegistration = (event: HookEvent, api: OnExecutePreUserRegistrationAPI) => Promise<void>;
13062
13691
  export type OnExecutePostUserRegistration = (event: HookEvent, api: OnExecutePostUserRegistrationAPI) => Promise<void>;
13692
+ export type OnExecutePostLoginAPI = {
13693
+ prompt: {
13694
+ render: (formId: string) => void;
13695
+ };
13696
+ };
13697
+ export type OnExecutePostLogin = (event: HookEvent, api: OnExecutePostLoginAPI) => Promise<void>;
13063
13698
  export type SendEmailParams = {
13064
13699
  emailProvider: EmailProvider;
13065
13700
  to: string;
@@ -13120,6 +13755,7 @@ export type Bindings = {
13120
13755
  onExecuteCredentialsExchange?: OnExecuteCredentialsExchange;
13121
13756
  onExecutePreUserRegistration?: OnExecutePreUserRegistration;
13122
13757
  onExecutePostUserRegistration?: OnExecutePostUserRegistration;
13758
+ onExecutePostLogin?: OnExecutePostLogin;
13123
13759
  };
13124
13760
  emailProviders?: {
13125
13761
  [key: string]: EmailService;
@@ -13309,7 +13945,7 @@ declare const UserNotFound: FC<Props$21>;
13309
13945
  export declare const VippsLogo: ({ ...props }: {
13310
13946
  [x: string]: any;
13311
13947
  }) => import("hono/jsx/jsx-dev-runtime").JSX.Element;
13312
- export declare const tailwindCss = "\n@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:400;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:500;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:600;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2) format(\"woff2\")}@font-face{font-family:uicon;src:url(https://login2.sesamy.com/_next/static/media/uicon.0b00e08a.woff2)}[class*=\" uicon-\"],[class^=uicon-]{font-family:uicon!important;font-size:inherit;font-style:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.uicon-apple:before{content:\"\\ea01\"}.uicon-arrow-down:before{content:\"\\ea02\"}.uicon-arrow-left:before{content:\"\\ea03\"}.uicon-arrow-right:before{content:\"\\ea04\"}.uicon-arrow-up:before{content:\"\\ea05\"}.uicon-facebook:before{content:\"\\ea06\"}.uicon-google:before{content:\"\\ea07\"}.uicon-info-bubble:before{content:\"\\ea08\"}.uicon-info:before{content:\"\\ea09\"}.uicon-sesamy:before{content:\"\\ea0a\"}.uicon-spinner-circle:before{content:\"\\ea0b\"}.uicon-spinner-inner:before{content:\"\\ea0c\"}\n\n/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #bfbcd7;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:KHTeka,Helvetica Neue,HelveticaNeue,TeX Gyre Heros,TeXGyreHeros,FreeSans,Nimbus Sans L,Liberation Sans,Arimo,Helvetica,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#4b4a58;opacity:1}input::placeholder,textarea::placeholder{color:#4b4a58;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}body,html{height:100%}body{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity));font-size:1rem;letter-spacing:.0125rem;line-height:120%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:1280px){body{font-size:1.125rem;line-height:120%}}:is(.dark body){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}button,input,optgroup,select,textarea{font-size:.875rem;letter-spacing:.0125rem;line-height:120%}@media (min-width:1280px){button,input,optgroup,select,textarea{font-size:1rem;line-height:120%}}h1{font-size:1.5rem;font-weight:500;line-height:120%}@media (min-width:1280px){h1{font-size:2rem;line-height:120%}}@media (min-width:640px){h1{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}@media (min-width:1280px){h1{font-size:3.5rem;letter-spacing:-.0625rem;line-height:100%}}h2{font-size:1.25rem;font-weight:500;line-height:120%}@media (min-width:1280px){h2{font-size:1.5rem;line-height:120%}}@media (min-width:640px){h2{font-size:2rem;letter-spacing:0;line-height:120%}}@media (min-width:1280px){h2{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}h3{font-size:1.125rem;font-weight:500;line-height:120%}@media (min-width:1280px){h3{font-size:1.25rem;line-height:120%}}@media (min-width:640px){h3{font-size:1.5rem;line-height:120%}}@media (min-width:1280px){h3{font-size:2rem;line-height:120%}}h4{font-size:1rem;font-weight:500;line-height:120%}@media (min-width:1280px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:640px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:1280px){h4{font-size:1.5rem;line-height:120%}}h5{font-size:.875rem;font-weight:500;line-height:120%}@media (min-width:1280px){h5{font-size:1rem;line-height:120%}}@media (min-width:640px){h5{font-size:1rem;line-height:120%}}@media (min-width:1280px){h5{font-size:1.125rem;line-height:120%}}h6{font-size:.75rem;font-weight:500;line-height:135%}@media (min-width:1280px){h6{font-size:.875rem;line-height:120%}}@media (min-width:640px){h6{font-size:.875rem;line-height:120%}}@media (min-width:1280px){h6{font-size:1rem;line-height:120%}}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/2{top:50%}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.\\!hidden{display:none!important}.hidden{display:none}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\\[calc\\(100vh-83px\\)\\]{min-height:calc(100vh - 83px)}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-\\[calc\\(100\\%-theme\\(space\\.2\\)-theme\\(space\\.2\\)\\)\\]{width:calc(100% - 1rem)}.w-full{width:100%}.max-w-\\[1295px\\]{max-width:1295px}.flex-1{flex:1 1 0%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1.25rem}.rounded-lg{border-radius:.625rem}.rounded-r-lg{border-bottom-right-radius:.625rem;border-top-right-radius:.625rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(248 249 251/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(191 188 215/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(136 134 159/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgb(252 90 90/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.bg-primary{background-color:var(--primary-color)}.bg-primaryHover{background-color:var(--primary-hover)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.indent-\\[5px\\]{text-indent:5px}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base{font-size:1rem!important;line-height:120%!important}.text-2xl{font-size:1.5rem;line-height:120%}.text-3xl{font-size:2rem;line-height:120%}.text-base{font-size:1rem;line-height:120%}.text-lg{font-size:1.125rem;line-height:120%}.text-sm{font-size:.875rem;line-height:120%}.text-xl{font-size:1.25rem;line-height:120%}.text-xs{font-size:.75rem;line-height:135%}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-\\[0\\]{line-height:0}.text-\\[\\#1196F5\\]{--tw-text-opacity:1;color:rgb(17 150 245/var(--tw-text-opacity))}.text-\\[\\#B2B2B2\\]{--tw-text-opacity:1;color:rgb(178 178 178/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgb(191 188 215/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(8 8 14/var(--tw-text-opacity))}.text-primary{color:var(--primary-color)}.text-red{--tw-text-opacity:1;color:rgb(252 90 90/var(--tw-text-opacity))}.text-textOnPrimary{color:var(--text-on-primary)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.opacity-40{opacity:.4}.row-up-left{align-content:flex-start;justify-content:flex-start}.row,.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap}.row{align-content:center;align-items:center;justify-content:center}.column-left{align-items:flex-start}.column,.column-left{display:flex;flex-direction:column;justify-content:center}.column{align-items:center}@media (min-width:1280px){.text-5xl{font-size:5.125rem;letter-spacing:-.125rem;line-height:100%}.text-4xl{font-size:3.5rem}.text-3xl,.text-4xl{letter-spacing:-.0625rem;line-height:100%}.text-3xl{font-size:3rem}.text-2xl{font-size:2rem}.text-2xl,.text-xl{line-height:120%}.text-xl{font-size:1.5rem}.text-lg{font-size:1.25rem}.text-base,.text-lg{line-height:120%}.text-base{font-size:1.125rem}.text-sm{font-size:1rem}.text-sm,.text-xs{line-height:120%}.text-xs{font-size:.875rem}}:root{--primary-color:#7d68f4;--primary-hover:#7e69f4;--text-on-primary:#fff}svg{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}*,:after,:before{text-underline-offset:4px}input[type=number],input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield!important}.btn.is-loading{cursor:not-allowed;opacity:.4;pointer-events:none}.btn .btn-spinner,.btn.is-loading .btn-label{opacity:0;visibility:hidden}.btn.is-loading .btn-spinner{opacity:1;visibility:visible}[class*=\" uicon-\"],[class^=uicon-]{letter-spacing:0;line-height:100%}.placeholder\\:text-gray-300::-moz-placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.placeholder\\:text-gray-300::placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.hover\\:bg-black\\/5:hover{background-color:rgba(0,0,0,.05)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.hover\\:bg-primaryHover:hover{background-color:var(--primary-hover)}.hover\\:text-primaryHover:hover{color:var(--primary-hover)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-primary:focus{--tw-ring-color:var(--primary-color)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}:is(.dark .dark\\:border-gray-400){--tw-border-opacity:1;border-color:rgb(75 74 88/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-500){--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-600){--tw-border-opacity:1;border-color:rgb(40 40 52/var(--tw-border-opacity))}:is(.dark .dark\\:bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-600){--tw-bg-opacity:1;background-color:rgb(40 40 52/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity))}:is(.dark .dark\\:text-\\[\\#201a41\\]){--tw-text-opacity:1;color:rgb(32 26 65/var(--tw-text-opacity))}:is(.dark .dark\\:text-gray-300){--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}:is(.dark .dark\\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-black\\/90:hover){background-color:rgba(0,0,0,.9)}:is(.dark .dark\\:focus\\:ring-offset-gray-900:focus){--tw-ring-offset-color:#08080e}@media (min-width:640px){.sm\\:absolute{position:absolute}.sm\\:left-4{left:1rem}.sm\\:top-1\\/2{top:50%}.sm\\:mt-4{margin-top:1rem}.sm\\:inline{display:inline}.sm\\:h-6{height:1.5rem}.sm\\:min-h-\\[700px\\]{min-height:700px}.sm\\:w-6{width:1.5rem}.sm\\:w-\\[calc\\(100\\%-theme\\(space\\.16\\)-theme\\(space\\.16\\)\\)\\]{width:calc(100% - 8rem)}.sm\\:w-auto{width:auto}.sm\\:max-w-md{max-width:28rem}.sm\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-col{flex-direction:column}.sm\\:justify-normal{justify-content:normal}.sm\\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.sm\\:bg-fixed{background-attachment:fixed}.sm\\:bg-left-top{background-position:0 0}.sm\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\\:px-14{padding-left:3.5rem;padding-right:3.5rem}.sm\\:py-14{padding-bottom:3.5rem;padding-top:3.5rem}.sm\\:py-4{padding-bottom:1rem;padding-top:1rem}.sm\\:pt-16{padding-top:4rem}.sm\\:text-2xl{font-size:1.5rem;line-height:120%}.sm\\:text-base{font-size:1rem;line-height:120%}}@media (min-width:1280px){.md\\:min-w-\\[448px\\]{min-width:448px}.md\\:text-3xl{font-size:2rem;line-height:120%}.md\\:text-base{font-size:1rem;line-height:120%}.md\\:text-sm{font-size:.875rem;line-height:120%}.md\\:text-xs{font-size:.75rem;line-height:135%}}@media (max-height:900px) and (min-width:640px){.short\\:static{position:static}.short\\:left-auto{left:auto}.short\\:top-auto{top:auto}.short\\:hidden{display:none}.short\\:h-5{height:1.25rem}.short\\:min-h-\\[558px\\]{min-height:558px}.short\\:w-5{width:1.25rem}.short\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.short\\:flex-row{flex-direction:row}.short\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.short\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.short\\:px-0{padding-left:0;padding-right:0}.short\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.short\\:text-xl{font-size:1.25rem;line-height:120%}}";
13948
+ export declare const tailwindCss = "\n@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:400;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Regular.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:500;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Medium.woff2) format(\"woff2\")}@font-face{font-display:swap;font-family:KHTeka;font-style:normal;font-weight:600;src:url(https://assets.sesamy.com/fonts/khteka/WOFF2/KHTeka-Bold.woff2) format(\"woff2\")}@font-face{font-family:uicon;src:url(https://login2.sesamy.com/_next/static/media/uicon.0b00e08a.woff2)}[class*=\" uicon-\"],[class^=uicon-]{font-family:uicon!important;font-size:inherit;font-style:normal;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.uicon-apple:before{content:\"\\ea01\"}.uicon-arrow-down:before{content:\"\\ea02\"}.uicon-arrow-left:before{content:\"\\ea03\"}.uicon-arrow-right:before{content:\"\\ea04\"}.uicon-arrow-up:before{content:\"\\ea05\"}.uicon-facebook:before{content:\"\\ea06\"}.uicon-google:before{content:\"\\ea07\"}.uicon-info-bubble:before{content:\"\\ea08\"}.uicon-info:before{content:\"\\ea09\"}.uicon-sesamy:before{content:\"\\ea0a\"}.uicon-spinner-circle:before{content:\"\\ea0b\"}.uicon-spinner-inner:before{content:\"\\ea0c\"}\n\n/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid #bfbcd7;box-sizing:border-box}:after,:before{--tw-content:\"\"}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:KHTeka,Helvetica Neue,HelveticaNeue,TeX Gyre Heros,TeXGyreHeros,FreeSans,Nimbus Sans L,Liberation Sans,Arimo,Helvetica,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#4b4a58;opacity:1}input::placeholder,textarea::placeholder{color:#4b4a58;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}body,html{height:100%}body{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity));font-size:1rem;letter-spacing:.0125rem;line-height:120%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (min-width:1280px){body{font-size:1.125rem;line-height:120%}}:is(.dark body){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}button,input,optgroup,select,textarea{font-size:.875rem;letter-spacing:.0125rem;line-height:120%}@media (min-width:1280px){button,input,optgroup,select,textarea{font-size:1rem;line-height:120%}}h1{font-size:1.5rem;font-weight:500;line-height:120%}@media (min-width:1280px){h1{font-size:2rem;line-height:120%}}@media (min-width:640px){h1{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}@media (min-width:1280px){h1{font-size:3.5rem;letter-spacing:-.0625rem;line-height:100%}}h2{font-size:1.25rem;font-weight:500;line-height:120%}@media (min-width:1280px){h2{font-size:1.5rem;line-height:120%}}@media (min-width:640px){h2{font-size:2rem;letter-spacing:0;line-height:120%}}@media (min-width:1280px){h2{font-size:3rem;letter-spacing:-.0625rem;line-height:100%}}h3{font-size:1.125rem;font-weight:500;line-height:120%}@media (min-width:1280px){h3{font-size:1.25rem;line-height:120%}}@media (min-width:640px){h3{font-size:1.5rem;line-height:120%}}@media (min-width:1280px){h3{font-size:2rem;line-height:120%}}h4{font-size:1rem;font-weight:500;line-height:120%}@media (min-width:1280px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:640px){h4{font-size:1.125rem;line-height:120%}}@media (min-width:1280px){h4{font-size:1.5rem;line-height:120%}}h5{font-size:.875rem;font-weight:500;line-height:120%}@media (min-width:1280px){h5{font-size:1rem;line-height:120%}}@media (min-width:640px){h5{font-size:1rem;line-height:120%}}@media (min-width:1280px){h5{font-size:1.125rem;line-height:120%}}h6{font-size:.75rem;font-weight:500;line-height:135%}@media (min-width:1280px){h6{font-size:.875rem;line-height:120%}}@media (min-width:640px){h6{font-size:.875rem;line-height:120%}}@media (min-width:1280px){h6{font-size:1rem;line-height:120%}}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1920px){.container{max-width:1920px}}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.left-0{left:0}.right-0{right:0}.top-0{top:0}.top-1\\/2{top:50%}.my-4{margin-bottom:1rem;margin-top:1rem}.mb-12{margin-bottom:3rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.mb-8{margin-bottom:2rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.\\!hidden{display:none!important}.hidden{display:none}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-\\[calc\\(100vh-83px\\)\\]{min-height:calc(100vh - 83px)}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-5{width:1.25rem}.w-\\[calc\\(100\\%-theme\\(space\\.2\\)-theme\\(space\\.2\\)\\)\\]{width:calc(100% - 1rem)}.w-full{width:100%}.max-w-\\[1295px\\]{max-width:1295px}.flex-1{flex:1 1 0%}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.flex-col{flex-direction:column}.\\!flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(.5rem*var(--tw-space-x-reverse))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse));margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.rounded-2xl{border-radius:1.25rem}.rounded-lg{border-radius:.625rem}.rounded-r-lg{border-bottom-right-radius:.625rem;border-top-right-radius:.625rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-100{--tw-border-opacity:1;border-color:rgb(248 249 251/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(191 188 215/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(136 134 159/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}.border-red{--tw-border-opacity:1;border-color:rgb(252 90 90/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.bg-primary{background-color:var(--primary-color)}.bg-primaryHover{background-color:var(--primary-hover)}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-cover{background-size:cover}.bg-center{background-position:50%}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-10{padding-bottom:2.5rem;padding-top:2.5rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.pb-2{padding-bottom:.5rem}.pb-8{padding-bottom:2rem}.pt-2{padding-top:.5rem}.pt-2\\.5{padding-top:.625rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.indent-\\[5px\\]{text-indent:5px}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\\!text-base{font-size:1rem!important;line-height:120%!important}.text-2xl{font-size:1.5rem;line-height:120%}.text-3xl{font-size:2rem;line-height:120%}.text-base{font-size:1rem;line-height:120%}.text-lg{font-size:1.125rem;line-height:120%}.text-sm{font-size:.875rem;line-height:120%}.text-xl{font-size:1.25rem;line-height:120%}.text-xs{font-size:.75rem;line-height:135%}.font-medium{font-weight:500}.font-semibold{font-weight:600}.leading-\\[0\\]{line-height:0}.leading-tight{line-height:1.25}.text-\\[\\#1196F5\\]{--tw-text-opacity:1;color:rgb(17 150 245/var(--tw-text-opacity))}.text-\\[\\#B2B2B2\\]{--tw-text-opacity:1;color:rgb(178 178 178/var(--tw-text-opacity))}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity:1;color:rgb(191 188 215/var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(75 74 88/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(30 30 39/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(8 8 14/var(--tw-text-opacity))}.text-primary{color:var(--primary-color)}.text-red{--tw-text-opacity:1;color:rgb(252 90 90/var(--tw-text-opacity))}.text-textOnPrimary{color:var(--text-on-primary)}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.accent-\\[\\#4F2D7F\\]{accent-color:#4f2d7f}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.row-up-left{align-content:flex-start;justify-content:flex-start}.row,.row-up-left{display:flex;flex-direction:row;flex-wrap:wrap}.row{align-content:center;align-items:center;justify-content:center}.column-left{align-items:flex-start}.column,.column-left{display:flex;flex-direction:column;justify-content:center}.column{align-items:center}@media (min-width:1280px){.text-5xl{font-size:5.125rem;letter-spacing:-.125rem;line-height:100%}.text-4xl{font-size:3.5rem}.text-3xl,.text-4xl{letter-spacing:-.0625rem;line-height:100%}.text-3xl{font-size:3rem}.text-2xl{font-size:2rem}.text-2xl,.text-xl{line-height:120%}.text-xl{font-size:1.5rem}.text-lg{font-size:1.25rem}.text-base,.text-lg{line-height:120%}.text-base{font-size:1.125rem}.text-sm{font-size:1rem}.text-sm,.text-xs{line-height:120%}.text-xs{font-size:.875rem}}:root{--primary-color:#7d68f4;--primary-hover:#7e69f4;--text-on-primary:#fff}svg{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}*,:after,:before{text-underline-offset:4px}input[type=number],input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield!important}.btn.is-loading{cursor:not-allowed;opacity:.4;pointer-events:none}.btn .btn-spinner,.btn.is-loading .btn-label{opacity:0;visibility:hidden}.btn.is-loading .btn-spinner{opacity:1;visibility:visible}[class*=\" uicon-\"],[class^=uicon-]{letter-spacing:0;line-height:100%}.placeholder\\:text-gray-300::-moz-placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.placeholder\\:text-gray-300::placeholder{--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}.hover\\:bg-black\\/5:hover{background-color:rgba(0,0,0,.05)}.hover\\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(248 249 251/var(--tw-bg-opacity))}.hover\\:bg-primaryHover:hover{background-color:var(--primary-hover)}.hover\\:text-primaryHover:hover{color:var(--primary-hover)}.hover\\:underline:hover{text-decoration-line:underline}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:ring:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-2:focus,.focus\\:ring:focus{box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}.focus\\:ring-primary:focus{--tw-ring-color:var(--primary-color)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px}:is(.dark .dark\\:border-gray-400){--tw-border-opacity:1;border-color:rgb(75 74 88/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-500){--tw-border-opacity:1;border-color:rgb(59 57 70/var(--tw-border-opacity))}:is(.dark .dark\\:border-gray-600){--tw-border-opacity:1;border-color:rgb(40 40 52/var(--tw-border-opacity))}:is(.dark .dark\\:bg-black){--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-600){--tw-bg-opacity:1;background-color:rgb(40 40 52/var(--tw-bg-opacity))}:is(.dark .dark\\:bg-gray-800){--tw-bg-opacity:1;background-color:rgb(20 20 26/var(--tw-bg-opacity))}:is(.dark .dark\\:text-\\[\\#201a41\\]){--tw-text-opacity:1;color:rgb(32 26 65/var(--tw-text-opacity))}:is(.dark .dark\\:text-gray-300){--tw-text-opacity:1;color:rgb(136 134 159/var(--tw-text-opacity))}:is(.dark .dark\\:text-white){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-black\\/90:hover){background-color:rgba(0,0,0,.9)}:is(.dark .dark\\:focus\\:ring-offset-gray-900:focus){--tw-ring-offset-color:#08080e}@media (min-width:640px){.sm\\:absolute{position:absolute}.sm\\:left-4{left:1rem}.sm\\:top-1\\/2{top:50%}.sm\\:mt-4{margin-top:1rem}.sm\\:inline{display:inline}.sm\\:h-6{height:1.5rem}.sm\\:min-h-\\[700px\\]{min-height:700px}.sm\\:w-6{width:1.5rem}.sm\\:w-\\[calc\\(100\\%-theme\\(space\\.16\\)-theme\\(space\\.16\\)\\)\\]{width:calc(100% - 8rem)}.sm\\:w-auto{width:auto}.sm\\:max-w-md{max-width:28rem}.sm\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\\:flex-col{flex-direction:column}.sm\\:justify-normal{justify-content:normal}.sm\\:space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)));margin-right:calc(0px*var(--tw-space-x-reverse))}.sm\\:space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.sm\\:bg-fixed{background-attachment:fixed}.sm\\:bg-left-top{background-position:0 0}.sm\\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\\:px-14{padding-left:3.5rem;padding-right:3.5rem}.sm\\:py-14{padding-bottom:3.5rem;padding-top:3.5rem}.sm\\:py-4{padding-bottom:1rem;padding-top:1rem}.sm\\:pt-16{padding-top:4rem}.sm\\:text-2xl{font-size:1.5rem;line-height:120%}.sm\\:text-base{font-size:1rem;line-height:120%}}@media (min-width:1280px){.md\\:min-w-\\[448px\\]{min-width:448px}.md\\:text-3xl{font-size:2rem;line-height:120%}.md\\:text-base{font-size:1rem;line-height:120%}.md\\:text-sm{font-size:.875rem;line-height:120%}.md\\:text-xs{font-size:.75rem;line-height:135%}}@media (max-height:900px) and (min-width:640px){.short\\:static{position:static}.short\\:left-auto{left:auto}.short\\:top-auto{top:auto}.short\\:hidden{display:none}.short\\:h-5{height:1.25rem}.short\\:min-h-\\[558px\\]{min-height:558px}.short\\:w-5{width:1.25rem}.short\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.short\\:flex-row{flex-direction:row}.short\\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(1rem*var(--tw-space-x-reverse))}.short\\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(0px*var(--tw-space-y-reverse));margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))}.short\\:px-0{padding-left:0;padding-right:0}.short\\:py-3{padding-bottom:.75rem;padding-top:.75rem}.short\\:text-xl{font-size:1.25rem;line-height:120%}}";
13313
13949
  export declare function injectTailwindCSS(): void;
13314
13950
  export declare function init(config: AuthHeroConfig): {
13315
13951
  app: OpenAPIHono<{
@@ -13345,7 +13981,7 @@ export declare function init(config: AuthHeroConfig): {
13345
13981
  x: number;
13346
13982
  y: number;
13347
13983
  } | undefined;
13348
- next_node?: string[] | undefined | undefined;
13984
+ next_node?: string | undefined | undefined;
13349
13985
  hidden_fields?: {
13350
13986
  value: string;
13351
13987
  key: string;
@@ -13362,22 +13998,22 @@ export declare function init(config: AuthHeroConfig): {
13362
13998
  type: "FLOW";
13363
13999
  id: string;
13364
14000
  config: {
13365
- next_node: string[];
14001
+ next_node: string;
13366
14002
  flow_id: string;
13367
14003
  };
13368
14004
  coordinates: {
13369
14005
  x: number;
13370
14006
  y: number;
13371
14007
  };
13372
- alias: string;
14008
+ alias?: string | undefined | undefined;
13373
14009
  } | {
13374
14010
  type: "ROUTER";
13375
14011
  id: string;
13376
14012
  config: {
13377
14013
  rules: {
13378
14014
  id: string;
13379
- alias: string;
13380
- next_node: string[];
14015
+ next_node: string;
14016
+ alias?: string | undefined | undefined;
13381
14017
  condition?: any;
13382
14018
  }[];
13383
14019
  fallback: string[];
@@ -13391,14 +14027,40 @@ export declare function init(config: AuthHeroConfig): {
13391
14027
  type: "STEP";
13392
14028
  id: string;
13393
14029
  config: {
13394
- components: any[];
13395
- next_node: string[];
14030
+ components: ({
14031
+ type: "RICH_TEXT";
14032
+ id: string;
14033
+ config: {
14034
+ content: string;
14035
+ };
14036
+ visible: boolean;
14037
+ order?: number | undefined | undefined;
14038
+ } | {
14039
+ type: "LEGAL";
14040
+ id: string;
14041
+ config: {
14042
+ text: string;
14043
+ html?: boolean | undefined | undefined;
14044
+ };
14045
+ visible: boolean;
14046
+ required?: boolean | undefined | undefined;
14047
+ order?: number | undefined | undefined;
14048
+ } | {
14049
+ type: "NEXT_BUTTON";
14050
+ id: string;
14051
+ config: {
14052
+ text?: string | undefined | undefined;
14053
+ };
14054
+ visible: boolean;
14055
+ order?: number | undefined | undefined;
14056
+ })[];
14057
+ next_node: string;
13396
14058
  };
13397
14059
  coordinates: {
13398
14060
  x: number;
13399
14061
  y: number;
13400
14062
  };
13401
- alias: string;
14063
+ alias?: string | undefined | undefined;
13402
14064
  })[] | undefined;
13403
14065
  ending?: {
13404
14066
  coordinates?: {
@@ -13439,7 +14101,7 @@ export declare function init(config: AuthHeroConfig): {
13439
14101
  x: number;
13440
14102
  y: number;
13441
14103
  } | undefined;
13442
- next_node?: string[] | undefined | undefined;
14104
+ next_node?: string | undefined | undefined;
13443
14105
  hidden_fields?: {
13444
14106
  value: string;
13445
14107
  key: string;
@@ -13456,22 +14118,22 @@ export declare function init(config: AuthHeroConfig): {
13456
14118
  type: "FLOW";
13457
14119
  id: string;
13458
14120
  config: {
13459
- next_node: string[];
14121
+ next_node: string;
13460
14122
  flow_id: string;
13461
14123
  };
13462
14124
  coordinates: {
13463
14125
  x: number;
13464
14126
  y: number;
13465
14127
  };
13466
- alias: string;
14128
+ alias?: string | undefined | undefined;
13467
14129
  } | {
13468
14130
  type: "ROUTER";
13469
14131
  id: string;
13470
14132
  config: {
13471
14133
  rules: {
13472
14134
  id: string;
13473
- alias: string;
13474
- next_node: string[];
14135
+ next_node: string;
14136
+ alias?: string | undefined | undefined;
13475
14137
  condition?: any;
13476
14138
  }[];
13477
14139
  fallback: string[];
@@ -13485,14 +14147,40 @@ export declare function init(config: AuthHeroConfig): {
13485
14147
  type: "STEP";
13486
14148
  id: string;
13487
14149
  config: {
13488
- components: any[];
13489
- next_node: string[];
14150
+ components: ({
14151
+ type: "RICH_TEXT";
14152
+ id: string;
14153
+ config: {
14154
+ content: string;
14155
+ };
14156
+ visible: boolean;
14157
+ order?: number | undefined | undefined;
14158
+ } | {
14159
+ type: "LEGAL";
14160
+ id: string;
14161
+ config: {
14162
+ text: string;
14163
+ html?: boolean | undefined | undefined;
14164
+ };
14165
+ visible: boolean;
14166
+ required?: boolean | undefined | undefined;
14167
+ order?: number | undefined | undefined;
14168
+ } | {
14169
+ type: "NEXT_BUTTON";
14170
+ id: string;
14171
+ config: {
14172
+ text?: string | undefined | undefined;
14173
+ };
14174
+ visible: boolean;
14175
+ order?: number | undefined | undefined;
14176
+ })[];
14177
+ next_node: string;
13490
14178
  };
13491
14179
  coordinates: {
13492
14180
  x: number;
13493
14181
  y: number;
13494
14182
  };
13495
- alias: string;
14183
+ alias?: string | undefined | undefined;
13496
14184
  })[] | undefined;
13497
14185
  ending?: {
13498
14186
  coordinates?: {
@@ -13547,7 +14235,7 @@ export declare function init(config: AuthHeroConfig): {
13547
14235
  x: number;
13548
14236
  y: number;
13549
14237
  } | undefined;
13550
- next_node?: string[] | undefined | undefined;
14238
+ next_node?: string | undefined | undefined;
13551
14239
  hidden_fields?: {
13552
14240
  value: string;
13553
14241
  key: string;
@@ -13564,22 +14252,22 @@ export declare function init(config: AuthHeroConfig): {
13564
14252
  type: "FLOW";
13565
14253
  id: string;
13566
14254
  config: {
13567
- next_node: string[];
14255
+ next_node: string;
13568
14256
  flow_id: string;
13569
14257
  };
13570
14258
  coordinates: {
13571
14259
  x: number;
13572
14260
  y: number;
13573
14261
  };
13574
- alias: string;
14262
+ alias?: string | undefined | undefined;
13575
14263
  } | {
13576
14264
  type: "ROUTER";
13577
14265
  id: string;
13578
14266
  config: {
13579
14267
  rules: {
13580
14268
  id: string;
13581
- alias: string;
13582
- next_node: string[];
14269
+ next_node: string;
14270
+ alias?: string | undefined | undefined;
13583
14271
  condition?: any;
13584
14272
  }[];
13585
14273
  fallback: string[];
@@ -13593,14 +14281,40 @@ export declare function init(config: AuthHeroConfig): {
13593
14281
  type: "STEP";
13594
14282
  id: string;
13595
14283
  config: {
13596
- components: any[];
13597
- next_node: string[];
14284
+ components: ({
14285
+ type: "RICH_TEXT";
14286
+ id: string;
14287
+ config: {
14288
+ content: string;
14289
+ };
14290
+ visible: boolean;
14291
+ order?: number | undefined | undefined;
14292
+ } | {
14293
+ type: "LEGAL";
14294
+ id: string;
14295
+ config: {
14296
+ text: string;
14297
+ html?: boolean | undefined | undefined;
14298
+ };
14299
+ visible: boolean;
14300
+ required?: boolean | undefined | undefined;
14301
+ order?: number | undefined | undefined;
14302
+ } | {
14303
+ type: "NEXT_BUTTON";
14304
+ id: string;
14305
+ config: {
14306
+ text?: string | undefined | undefined;
14307
+ };
14308
+ visible: boolean;
14309
+ order?: number | undefined | undefined;
14310
+ })[];
14311
+ next_node: string;
13598
14312
  };
13599
14313
  coordinates: {
13600
14314
  x: number;
13601
14315
  y: number;
13602
14316
  };
13603
- alias: string;
14317
+ alias?: string | undefined | undefined;
13604
14318
  })[] | undefined;
13605
14319
  ending?: {
13606
14320
  coordinates?: {
@@ -13668,7 +14382,7 @@ export declare function init(config: AuthHeroConfig): {
13668
14382
  x: number;
13669
14383
  y: number;
13670
14384
  } | undefined;
13671
- next_node?: string[] | undefined;
14385
+ next_node?: string | undefined;
13672
14386
  hidden_fields?: {
13673
14387
  value: string;
13674
14388
  key: string;
@@ -13685,22 +14399,22 @@ export declare function init(config: AuthHeroConfig): {
13685
14399
  type: "FLOW";
13686
14400
  id: string;
13687
14401
  config: {
13688
- next_node: string[];
14402
+ next_node: string;
13689
14403
  flow_id: string;
13690
14404
  };
13691
14405
  coordinates: {
13692
14406
  x: number;
13693
14407
  y: number;
13694
14408
  };
13695
- alias: string;
14409
+ alias?: string | undefined;
13696
14410
  } | {
13697
14411
  type: "ROUTER";
13698
14412
  id: string;
13699
14413
  config: {
13700
14414
  rules: {
13701
14415
  id: string;
13702
- alias: string;
13703
- next_node: string[];
14416
+ next_node: string;
14417
+ alias?: string | undefined;
13704
14418
  condition?: any;
13705
14419
  }[];
13706
14420
  fallback: string[];
@@ -13714,14 +14428,40 @@ export declare function init(config: AuthHeroConfig): {
13714
14428
  type: "STEP";
13715
14429
  id: string;
13716
14430
  config: {
13717
- components: any[];
13718
- next_node: string[];
14431
+ components: ({
14432
+ type: "RICH_TEXT";
14433
+ id: string;
14434
+ config: {
14435
+ content: string;
14436
+ };
14437
+ order?: number | undefined;
14438
+ visible?: boolean | undefined;
14439
+ } | {
14440
+ type: "LEGAL";
14441
+ id: string;
14442
+ config: {
14443
+ text: string;
14444
+ html?: boolean | undefined;
14445
+ };
14446
+ required?: boolean | undefined;
14447
+ order?: number | undefined;
14448
+ visible?: boolean | undefined;
14449
+ } | {
14450
+ type: "NEXT_BUTTON";
14451
+ id: string;
14452
+ config: {
14453
+ text?: string | undefined;
14454
+ };
14455
+ order?: number | undefined;
14456
+ visible?: boolean | undefined;
14457
+ })[];
14458
+ next_node: string;
13719
14459
  };
13720
14460
  coordinates: {
13721
14461
  x: number;
13722
14462
  y: number;
13723
14463
  };
13724
- alias: string;
14464
+ alias?: string | undefined;
13725
14465
  })[] | undefined;
13726
14466
  ending?: {
13727
14467
  coordinates?: {
@@ -13754,7 +14494,7 @@ export declare function init(config: AuthHeroConfig): {
13754
14494
  x: number;
13755
14495
  y: number;
13756
14496
  } | undefined;
13757
- next_node?: string[] | undefined | undefined;
14497
+ next_node?: string | undefined | undefined;
13758
14498
  hidden_fields?: {
13759
14499
  value: string;
13760
14500
  key: string;
@@ -13771,22 +14511,22 @@ export declare function init(config: AuthHeroConfig): {
13771
14511
  type: "FLOW";
13772
14512
  id: string;
13773
14513
  config: {
13774
- next_node: string[];
14514
+ next_node: string;
13775
14515
  flow_id: string;
13776
14516
  };
13777
14517
  coordinates: {
13778
14518
  x: number;
13779
14519
  y: number;
13780
14520
  };
13781
- alias: string;
14521
+ alias?: string | undefined | undefined;
13782
14522
  } | {
13783
14523
  type: "ROUTER";
13784
14524
  id: string;
13785
14525
  config: {
13786
14526
  rules: {
13787
14527
  id: string;
13788
- alias: string;
13789
- next_node: string[];
14528
+ next_node: string;
14529
+ alias?: string | undefined | undefined;
13790
14530
  condition?: any;
13791
14531
  }[];
13792
14532
  fallback: string[];
@@ -13800,14 +14540,40 @@ export declare function init(config: AuthHeroConfig): {
13800
14540
  type: "STEP";
13801
14541
  id: string;
13802
14542
  config: {
13803
- components: any[];
13804
- next_node: string[];
14543
+ components: ({
14544
+ type: "RICH_TEXT";
14545
+ id: string;
14546
+ config: {
14547
+ content: string;
14548
+ };
14549
+ visible: boolean;
14550
+ order?: number | undefined | undefined;
14551
+ } | {
14552
+ type: "LEGAL";
14553
+ id: string;
14554
+ config: {
14555
+ text: string;
14556
+ html?: boolean | undefined | undefined;
14557
+ };
14558
+ visible: boolean;
14559
+ required?: boolean | undefined | undefined;
14560
+ order?: number | undefined | undefined;
14561
+ } | {
14562
+ type: "NEXT_BUTTON";
14563
+ id: string;
14564
+ config: {
14565
+ text?: string | undefined | undefined;
14566
+ };
14567
+ visible: boolean;
14568
+ order?: number | undefined | undefined;
14569
+ })[];
14570
+ next_node: string;
13805
14571
  };
13806
14572
  coordinates: {
13807
14573
  x: number;
13808
14574
  y: number;
13809
14575
  };
13810
- alias: string;
14576
+ alias?: string | undefined | undefined;
13811
14577
  })[] | undefined;
13812
14578
  ending?: {
13813
14579
  coordinates?: {
@@ -13854,7 +14620,7 @@ export declare function init(config: AuthHeroConfig): {
13854
14620
  x: number;
13855
14621
  y: number;
13856
14622
  } | undefined;
13857
- next_node?: string[] | undefined;
14623
+ next_node?: string | undefined;
13858
14624
  hidden_fields?: {
13859
14625
  value: string;
13860
14626
  key: string;
@@ -13871,22 +14637,22 @@ export declare function init(config: AuthHeroConfig): {
13871
14637
  type: "FLOW";
13872
14638
  id: string;
13873
14639
  config: {
13874
- next_node: string[];
14640
+ next_node: string;
13875
14641
  flow_id: string;
13876
14642
  };
13877
14643
  coordinates: {
13878
14644
  x: number;
13879
14645
  y: number;
13880
14646
  };
13881
- alias: string;
14647
+ alias?: string | undefined;
13882
14648
  } | {
13883
14649
  type: "ROUTER";
13884
14650
  id: string;
13885
14651
  config: {
13886
14652
  rules: {
13887
14653
  id: string;
13888
- alias: string;
13889
- next_node: string[];
14654
+ next_node: string;
14655
+ alias?: string | undefined;
13890
14656
  condition?: any;
13891
14657
  }[];
13892
14658
  fallback: string[];
@@ -13900,14 +14666,40 @@ export declare function init(config: AuthHeroConfig): {
13900
14666
  type: "STEP";
13901
14667
  id: string;
13902
14668
  config: {
13903
- components: any[];
13904
- next_node: string[];
14669
+ components: ({
14670
+ type: "RICH_TEXT";
14671
+ id: string;
14672
+ config: {
14673
+ content: string;
14674
+ };
14675
+ order?: number | undefined;
14676
+ visible?: boolean | undefined;
14677
+ } | {
14678
+ type: "LEGAL";
14679
+ id: string;
14680
+ config: {
14681
+ text: string;
14682
+ html?: boolean | undefined;
14683
+ };
14684
+ required?: boolean | undefined;
14685
+ order?: number | undefined;
14686
+ visible?: boolean | undefined;
14687
+ } | {
14688
+ type: "NEXT_BUTTON";
14689
+ id: string;
14690
+ config: {
14691
+ text?: string | undefined;
14692
+ };
14693
+ order?: number | undefined;
14694
+ visible?: boolean | undefined;
14695
+ })[];
14696
+ next_node: string;
13905
14697
  };
13906
14698
  coordinates: {
13907
14699
  x: number;
13908
14700
  y: number;
13909
14701
  };
13910
- alias: string;
14702
+ alias?: string | undefined;
13911
14703
  })[] | undefined;
13912
14704
  ending?: {
13913
14705
  coordinates?: {
@@ -13940,7 +14732,7 @@ export declare function init(config: AuthHeroConfig): {
13940
14732
  x: number;
13941
14733
  y: number;
13942
14734
  } | undefined;
13943
- next_node?: string[] | undefined | undefined;
14735
+ next_node?: string | undefined | undefined;
13944
14736
  hidden_fields?: {
13945
14737
  value: string;
13946
14738
  key: string;
@@ -13957,22 +14749,22 @@ export declare function init(config: AuthHeroConfig): {
13957
14749
  type: "FLOW";
13958
14750
  id: string;
13959
14751
  config: {
13960
- next_node: string[];
14752
+ next_node: string;
13961
14753
  flow_id: string;
13962
14754
  };
13963
14755
  coordinates: {
13964
14756
  x: number;
13965
14757
  y: number;
13966
14758
  };
13967
- alias: string;
14759
+ alias?: string | undefined | undefined;
13968
14760
  } | {
13969
14761
  type: "ROUTER";
13970
14762
  id: string;
13971
14763
  config: {
13972
14764
  rules: {
13973
14765
  id: string;
13974
- alias: string;
13975
- next_node: string[];
14766
+ next_node: string;
14767
+ alias?: string | undefined | undefined;
13976
14768
  condition?: any;
13977
14769
  }[];
13978
14770
  fallback: string[];
@@ -13986,14 +14778,40 @@ export declare function init(config: AuthHeroConfig): {
13986
14778
  type: "STEP";
13987
14779
  id: string;
13988
14780
  config: {
13989
- components: any[];
13990
- next_node: string[];
14781
+ components: ({
14782
+ type: "RICH_TEXT";
14783
+ id: string;
14784
+ config: {
14785
+ content: string;
14786
+ };
14787
+ visible: boolean;
14788
+ order?: number | undefined | undefined;
14789
+ } | {
14790
+ type: "LEGAL";
14791
+ id: string;
14792
+ config: {
14793
+ text: string;
14794
+ html?: boolean | undefined | undefined;
14795
+ };
14796
+ visible: boolean;
14797
+ required?: boolean | undefined | undefined;
14798
+ order?: number | undefined | undefined;
14799
+ } | {
14800
+ type: "NEXT_BUTTON";
14801
+ id: string;
14802
+ config: {
14803
+ text?: string | undefined | undefined;
14804
+ };
14805
+ visible: boolean;
14806
+ order?: number | undefined | undefined;
14807
+ })[];
14808
+ next_node: string;
13991
14809
  };
13992
14810
  coordinates: {
13993
14811
  x: number;
13994
14812
  y: number;
13995
14813
  };
13996
- alias: string;
14814
+ alias?: string | undefined | undefined;
13997
14815
  })[] | undefined;
13998
14816
  ending?: {
13999
14817
  coordinates?: {
@@ -16569,6 +17387,74 @@ export declare function init(config: AuthHeroConfig): {
16569
17387
  Bindings: Bindings;
16570
17388
  Variables: Variables;
16571
17389
  }, import("hono/types").MergeSchemaPath<{
17390
+ "/:formId/nodes/:nodeId": {
17391
+ $get: {
17392
+ input: {
17393
+ param: {
17394
+ formId: string;
17395
+ nodeId: string;
17396
+ };
17397
+ } & {
17398
+ query: {
17399
+ state: string;
17400
+ };
17401
+ };
17402
+ output: {};
17403
+ outputFormat: string;
17404
+ status: 200;
17405
+ } | {
17406
+ input: {
17407
+ param: {
17408
+ formId: string;
17409
+ nodeId: string;
17410
+ };
17411
+ } & {
17412
+ query: {
17413
+ state: string;
17414
+ };
17415
+ };
17416
+ output: {};
17417
+ outputFormat: string;
17418
+ status: 404;
17419
+ };
17420
+ };
17421
+ } & {
17422
+ "/:formId/nodes/:nodeId": {
17423
+ $post: {
17424
+ input: {
17425
+ param: {
17426
+ formId: string;
17427
+ nodeId: string;
17428
+ };
17429
+ } & {
17430
+ query: {
17431
+ state: string;
17432
+ };
17433
+ } & {
17434
+ form: Record<string, string>;
17435
+ };
17436
+ output: {};
17437
+ outputFormat: string;
17438
+ status: 200;
17439
+ } | {
17440
+ input: {
17441
+ param: {
17442
+ formId: string;
17443
+ nodeId: string;
17444
+ };
17445
+ } & {
17446
+ query: {
17447
+ state: string;
17448
+ };
17449
+ } & {
17450
+ form: Record<string, string>;
17451
+ };
17452
+ output: {};
17453
+ outputFormat: string;
17454
+ status: 404;
17455
+ };
17456
+ };
17457
+ }, "/forms"> & import("hono/types").MergeSchemaPath<{
16572
17458
  "/": {
16573
17459
  $get: {
16574
17460
  input: {