@authhero/adapter-interfaces 0.102.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8712,6 +8712,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8712
8712
  } & {
8713
8713
  id: z.ZodOptional<z.ZodString>;
8714
8714
  name: z.ZodString;
8715
+ display_name: z.ZodOptional<z.ZodString>;
8715
8716
  strategy: z.ZodString;
8716
8717
  options: z.ZodDefault<z.ZodObject<{
8717
8718
  kid: z.ZodOptional<z.ZodString>;
@@ -8732,6 +8733,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8732
8733
  from: z.ZodOptional<z.ZodString>;
8733
8734
  twilio_sid: z.ZodOptional<z.ZodString>;
8734
8735
  twilio_token: z.ZodOptional<z.ZodString>;
8736
+ icon_url: z.ZodOptional<z.ZodString>;
8735
8737
  }, "strip", z.ZodTypeAny, {
8736
8738
  provider?: string | undefined;
8737
8739
  client_id?: string | undefined;
@@ -8751,6 +8753,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8751
8753
  from?: string | undefined;
8752
8754
  twilio_sid?: string | undefined;
8753
8755
  twilio_token?: string | undefined;
8756
+ icon_url?: string | undefined;
8754
8757
  }, {
8755
8758
  provider?: string | undefined;
8756
8759
  client_id?: string | undefined;
@@ -8770,10 +8773,14 @@ declare const LegacyClientSchema: z.ZodObject<{
8770
8773
  from?: string | undefined;
8771
8774
  twilio_sid?: string | undefined;
8772
8775
  twilio_token?: string | undefined;
8776
+ icon_url?: string | undefined;
8773
8777
  }>>;
8774
8778
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
8775
8779
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
8776
8780
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
8781
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
8782
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
8783
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8777
8784
  }, "strip", z.ZodTypeAny, {
8778
8785
  options: {
8779
8786
  provider?: string | undefined;
@@ -8794,6 +8801,7 @@ declare const LegacyClientSchema: z.ZodObject<{
8794
8801
  from?: string | undefined;
8795
8802
  twilio_sid?: string | undefined;
8796
8803
  twilio_token?: string | undefined;
8804
+ icon_url?: string | undefined;
8797
8805
  };
8798
8806
  created_at: string;
8799
8807
  updated_at: string;
@@ -8802,7 +8810,11 @@ declare const LegacyClientSchema: z.ZodObject<{
8802
8810
  id?: string | undefined;
8803
8811
  response_type?: AuthorizationResponseType | undefined;
8804
8812
  response_mode?: AuthorizationResponseMode | undefined;
8813
+ display_name?: string | undefined;
8805
8814
  enabled_clients?: string[] | undefined;
8815
+ is_domain_connection?: boolean | undefined;
8816
+ show_as_button?: boolean | undefined;
8817
+ metadata?: Record<string, any> | undefined;
8806
8818
  }, {
8807
8819
  created_at: string;
8808
8820
  updated_at: string;
@@ -8827,11 +8839,16 @@ declare const LegacyClientSchema: z.ZodObject<{
8827
8839
  from?: string | undefined;
8828
8840
  twilio_sid?: string | undefined;
8829
8841
  twilio_token?: string | undefined;
8842
+ icon_url?: string | undefined;
8830
8843
  } | undefined;
8831
8844
  id?: string | undefined;
8832
8845
  response_type?: AuthorizationResponseType | undefined;
8833
8846
  response_mode?: AuthorizationResponseMode | undefined;
8847
+ display_name?: string | undefined;
8834
8848
  enabled_clients?: string[] | undefined;
8849
+ is_domain_connection?: boolean | undefined;
8850
+ show_as_button?: boolean | undefined;
8851
+ metadata?: Record<string, any> | undefined;
8835
8852
  }>, "many">;
8836
8853
  client_id: z.ZodString;
8837
8854
  name: z.ZodString;
@@ -9060,6 +9077,7 @@ declare const LegacyClientSchema: z.ZodObject<{
9060
9077
  from?: string | undefined;
9061
9078
  twilio_sid?: string | undefined;
9062
9079
  twilio_token?: string | undefined;
9080
+ icon_url?: string | undefined;
9063
9081
  };
9064
9082
  created_at: string;
9065
9083
  updated_at: string;
@@ -9068,7 +9086,11 @@ declare const LegacyClientSchema: z.ZodObject<{
9068
9086
  id?: string | undefined;
9069
9087
  response_type?: AuthorizationResponseType | undefined;
9070
9088
  response_mode?: AuthorizationResponseMode | undefined;
9089
+ display_name?: string | undefined;
9071
9090
  enabled_clients?: string[] | undefined;
9091
+ is_domain_connection?: boolean | undefined;
9092
+ show_as_button?: boolean | undefined;
9093
+ metadata?: Record<string, any> | undefined;
9072
9094
  }[];
9073
9095
  description?: string | undefined;
9074
9096
  refresh_token?: Record<string, any> | undefined;
@@ -9235,11 +9257,16 @@ declare const LegacyClientSchema: z.ZodObject<{
9235
9257
  from?: string | undefined;
9236
9258
  twilio_sid?: string | undefined;
9237
9259
  twilio_token?: string | undefined;
9260
+ icon_url?: string | undefined;
9238
9261
  } | undefined;
9239
9262
  id?: string | undefined;
9240
9263
  response_type?: AuthorizationResponseType | undefined;
9241
9264
  response_mode?: AuthorizationResponseMode | undefined;
9265
+ display_name?: string | undefined;
9242
9266
  enabled_clients?: string[] | undefined;
9267
+ is_domain_connection?: boolean | undefined;
9268
+ show_as_button?: boolean | undefined;
9269
+ metadata?: Record<string, any> | undefined;
9243
9270
  }[];
9244
9271
  description?: string | undefined;
9245
9272
  refresh_token?: Record<string, any> | undefined;
@@ -9426,6 +9453,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9426
9453
  from: z.ZodOptional<z.ZodString>;
9427
9454
  twilio_sid: z.ZodOptional<z.ZodString>;
9428
9455
  twilio_token: z.ZodOptional<z.ZodString>;
9456
+ icon_url: z.ZodOptional<z.ZodString>;
9429
9457
  }, "strip", z.ZodTypeAny, {
9430
9458
  provider?: string | undefined;
9431
9459
  client_id?: string | undefined;
@@ -9445,6 +9473,7 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9445
9473
  from?: string | undefined;
9446
9474
  twilio_sid?: string | undefined;
9447
9475
  twilio_token?: string | undefined;
9476
+ icon_url?: string | undefined;
9448
9477
  }, {
9449
9478
  provider?: string | undefined;
9450
9479
  client_id?: string | undefined;
@@ -9464,10 +9493,12 @@ export declare const connectionOptionsSchema: z.ZodObject<{
9464
9493
  from?: string | undefined;
9465
9494
  twilio_sid?: string | undefined;
9466
9495
  twilio_token?: string | undefined;
9496
+ icon_url?: string | undefined;
9467
9497
  }>;
9468
9498
  export declare const connectionInsertSchema: z.ZodObject<{
9469
9499
  id: z.ZodOptional<z.ZodString>;
9470
9500
  name: z.ZodString;
9501
+ display_name: z.ZodOptional<z.ZodString>;
9471
9502
  strategy: z.ZodString;
9472
9503
  options: z.ZodDefault<z.ZodObject<{
9473
9504
  kid: z.ZodOptional<z.ZodString>;
@@ -9488,6 +9519,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9488
9519
  from: z.ZodOptional<z.ZodString>;
9489
9520
  twilio_sid: z.ZodOptional<z.ZodString>;
9490
9521
  twilio_token: z.ZodOptional<z.ZodString>;
9522
+ icon_url: z.ZodOptional<z.ZodString>;
9491
9523
  }, "strip", z.ZodTypeAny, {
9492
9524
  provider?: string | undefined;
9493
9525
  client_id?: string | undefined;
@@ -9507,6 +9539,7 @@ export declare const connectionInsertSchema: z.ZodObject<{
9507
9539
  from?: string | undefined;
9508
9540
  twilio_sid?: string | undefined;
9509
9541
  twilio_token?: string | undefined;
9542
+ icon_url?: string | undefined;
9510
9543
  }, {
9511
9544
  provider?: string | undefined;
9512
9545
  client_id?: string | undefined;
@@ -9526,10 +9559,14 @@ export declare const connectionInsertSchema: z.ZodObject<{
9526
9559
  from?: string | undefined;
9527
9560
  twilio_sid?: string | undefined;
9528
9561
  twilio_token?: string | undefined;
9562
+ icon_url?: string | undefined;
9529
9563
  }>>;
9530
9564
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
9531
9565
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
9532
9566
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
9567
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
9568
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
9569
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9533
9570
  }, "strip", z.ZodTypeAny, {
9534
9571
  options: {
9535
9572
  provider?: string | undefined;
@@ -9550,13 +9587,18 @@ export declare const connectionInsertSchema: z.ZodObject<{
9550
9587
  from?: string | undefined;
9551
9588
  twilio_sid?: string | undefined;
9552
9589
  twilio_token?: string | undefined;
9590
+ icon_url?: string | undefined;
9553
9591
  };
9554
9592
  name: string;
9555
9593
  strategy: string;
9556
9594
  id?: string | undefined;
9557
9595
  response_type?: AuthorizationResponseType | undefined;
9558
9596
  response_mode?: AuthorizationResponseMode | undefined;
9597
+ display_name?: string | undefined;
9559
9598
  enabled_clients?: string[] | undefined;
9599
+ is_domain_connection?: boolean | undefined;
9600
+ show_as_button?: boolean | undefined;
9601
+ metadata?: Record<string, any> | undefined;
9560
9602
  }, {
9561
9603
  name: string;
9562
9604
  strategy: string;
@@ -9579,11 +9621,16 @@ export declare const connectionInsertSchema: z.ZodObject<{
9579
9621
  from?: string | undefined;
9580
9622
  twilio_sid?: string | undefined;
9581
9623
  twilio_token?: string | undefined;
9624
+ icon_url?: string | undefined;
9582
9625
  } | undefined;
9583
9626
  id?: string | undefined;
9584
9627
  response_type?: AuthorizationResponseType | undefined;
9585
9628
  response_mode?: AuthorizationResponseMode | undefined;
9629
+ display_name?: string | undefined;
9586
9630
  enabled_clients?: string[] | undefined;
9631
+ is_domain_connection?: boolean | undefined;
9632
+ show_as_button?: boolean | undefined;
9633
+ metadata?: Record<string, any> | undefined;
9587
9634
  }>;
9588
9635
  export type ConnectionInsert = z.infer<typeof connectionInsertSchema>;
9589
9636
  export declare const connectionSchema: z.ZodObject<{
@@ -9592,6 +9639,7 @@ export declare const connectionSchema: z.ZodObject<{
9592
9639
  } & {
9593
9640
  id: z.ZodOptional<z.ZodString>;
9594
9641
  name: z.ZodString;
9642
+ display_name: z.ZodOptional<z.ZodString>;
9595
9643
  strategy: z.ZodString;
9596
9644
  options: z.ZodDefault<z.ZodObject<{
9597
9645
  kid: z.ZodOptional<z.ZodString>;
@@ -9612,6 +9660,7 @@ export declare const connectionSchema: z.ZodObject<{
9612
9660
  from: z.ZodOptional<z.ZodString>;
9613
9661
  twilio_sid: z.ZodOptional<z.ZodString>;
9614
9662
  twilio_token: z.ZodOptional<z.ZodString>;
9663
+ icon_url: z.ZodOptional<z.ZodString>;
9615
9664
  }, "strip", z.ZodTypeAny, {
9616
9665
  provider?: string | undefined;
9617
9666
  client_id?: string | undefined;
@@ -9631,6 +9680,7 @@ export declare const connectionSchema: z.ZodObject<{
9631
9680
  from?: string | undefined;
9632
9681
  twilio_sid?: string | undefined;
9633
9682
  twilio_token?: string | undefined;
9683
+ icon_url?: string | undefined;
9634
9684
  }, {
9635
9685
  provider?: string | undefined;
9636
9686
  client_id?: string | undefined;
@@ -9650,10 +9700,14 @@ export declare const connectionSchema: z.ZodObject<{
9650
9700
  from?: string | undefined;
9651
9701
  twilio_sid?: string | undefined;
9652
9702
  twilio_token?: string | undefined;
9703
+ icon_url?: string | undefined;
9653
9704
  }>>;
9654
9705
  enabled_clients: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
9655
9706
  response_type: z.ZodOptional<z.ZodType<AuthorizationResponseType, z.ZodTypeDef, AuthorizationResponseType>>;
9656
9707
  response_mode: z.ZodOptional<z.ZodType<AuthorizationResponseMode, z.ZodTypeDef, AuthorizationResponseMode>>;
9708
+ is_domain_connection: z.ZodOptional<z.ZodBoolean>;
9709
+ show_as_button: z.ZodOptional<z.ZodBoolean>;
9710
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9657
9711
  }, "strip", z.ZodTypeAny, {
9658
9712
  options: {
9659
9713
  provider?: string | undefined;
@@ -9674,6 +9728,7 @@ export declare const connectionSchema: z.ZodObject<{
9674
9728
  from?: string | undefined;
9675
9729
  twilio_sid?: string | undefined;
9676
9730
  twilio_token?: string | undefined;
9731
+ icon_url?: string | undefined;
9677
9732
  };
9678
9733
  created_at: string;
9679
9734
  updated_at: string;
@@ -9682,7 +9737,11 @@ export declare const connectionSchema: z.ZodObject<{
9682
9737
  id?: string | undefined;
9683
9738
  response_type?: AuthorizationResponseType | undefined;
9684
9739
  response_mode?: AuthorizationResponseMode | undefined;
9740
+ display_name?: string | undefined;
9685
9741
  enabled_clients?: string[] | undefined;
9742
+ is_domain_connection?: boolean | undefined;
9743
+ show_as_button?: boolean | undefined;
9744
+ metadata?: Record<string, any> | undefined;
9686
9745
  }, {
9687
9746
  created_at: string;
9688
9747
  updated_at: string;
@@ -9707,11 +9766,16 @@ export declare const connectionSchema: z.ZodObject<{
9707
9766
  from?: string | undefined;
9708
9767
  twilio_sid?: string | undefined;
9709
9768
  twilio_token?: string | undefined;
9769
+ icon_url?: string | undefined;
9710
9770
  } | undefined;
9711
9771
  id?: string | undefined;
9712
9772
  response_type?: AuthorizationResponseType | undefined;
9713
9773
  response_mode?: AuthorizationResponseMode | undefined;
9774
+ display_name?: string | undefined;
9714
9775
  enabled_clients?: string[] | undefined;
9776
+ is_domain_connection?: boolean | undefined;
9777
+ show_as_button?: boolean | undefined;
9778
+ metadata?: Record<string, any> | undefined;
9715
9779
  }>;
9716
9780
  export type Connection = z.infer<typeof connectionSchema>;
9717
9781
  export declare const customDomainInsertSchema: z.ZodObject<{
@@ -9993,6 +10057,7 @@ export type FormControl = z.infer<typeof formControlSchema>;
9993
10057
  export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type", [
9994
10058
  z.ZodObject<{
9995
10059
  id: z.ZodString;
10060
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
9996
10061
  type: z.ZodLiteral<"RICH_TEXT">;
9997
10062
  config: z.ZodObject<{
9998
10063
  content: z.ZodString;
@@ -10010,6 +10075,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10010
10075
  content: string;
10011
10076
  };
10012
10077
  visible: boolean;
10078
+ category?: "BLOCK" | undefined;
10013
10079
  order?: number | undefined;
10014
10080
  }, {
10015
10081
  type: "RICH_TEXT";
@@ -10017,11 +10083,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10017
10083
  config: {
10018
10084
  content: string;
10019
10085
  };
10086
+ category?: "BLOCK" | undefined;
10020
10087
  order?: number | undefined;
10021
10088
  visible?: boolean | undefined;
10022
10089
  }>,
10023
10090
  z.ZodObject<{
10024
10091
  id: z.ZodString;
10092
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10025
10093
  type: z.ZodLiteral<"LEGAL">;
10026
10094
  config: z.ZodObject<{
10027
10095
  text: z.ZodString;
@@ -10045,6 +10113,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10045
10113
  };
10046
10114
  visible: boolean;
10047
10115
  required?: boolean | undefined;
10116
+ category?: "FIELD" | undefined;
10048
10117
  order?: number | undefined;
10049
10118
  }, {
10050
10119
  type: "LEGAL";
@@ -10054,11 +10123,13 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10054
10123
  html?: boolean | undefined;
10055
10124
  };
10056
10125
  required?: boolean | undefined;
10126
+ category?: "FIELD" | undefined;
10057
10127
  order?: number | undefined;
10058
10128
  visible?: boolean | undefined;
10059
10129
  }>,
10060
10130
  z.ZodObject<{
10061
10131
  id: z.ZodString;
10132
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10062
10133
  type: z.ZodLiteral<"TEXT">;
10063
10134
  config: z.ZodObject<{
10064
10135
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10083,6 +10154,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10083
10154
  };
10084
10155
  visible: boolean;
10085
10156
  required?: boolean | undefined;
10157
+ category?: "FIELD" | undefined;
10086
10158
  sensitive?: boolean | undefined;
10087
10159
  order?: number | undefined;
10088
10160
  }, {
@@ -10093,12 +10165,14 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10093
10165
  multiline?: boolean | undefined;
10094
10166
  };
10095
10167
  required?: boolean | undefined;
10168
+ category?: "FIELD" | undefined;
10096
10169
  sensitive?: boolean | undefined;
10097
10170
  order?: number | undefined;
10098
10171
  visible?: boolean | undefined;
10099
10172
  }>,
10100
10173
  z.ZodObject<{
10101
10174
  id: z.ZodString;
10175
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10102
10176
  type: z.ZodLiteral<"NEXT_BUTTON">;
10103
10177
  config: z.ZodObject<{
10104
10178
  text: z.ZodOptional<z.ZodString>;
@@ -10116,6 +10190,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10116
10190
  text?: string | undefined;
10117
10191
  };
10118
10192
  visible: boolean;
10193
+ category?: "BLOCK" | undefined;
10119
10194
  order?: number | undefined;
10120
10195
  }, {
10121
10196
  type: "NEXT_BUTTON";
@@ -10123,6 +10198,7 @@ export declare const formNodeComponentDefinition: z.ZodDiscriminatedUnion<"type"
10123
10198
  config: {
10124
10199
  text?: string | undefined;
10125
10200
  };
10201
+ category?: "BLOCK" | undefined;
10126
10202
  order?: number | undefined;
10127
10203
  visible?: boolean | undefined;
10128
10204
  }>
@@ -10171,20 +10247,20 @@ export declare const formInsertSchema: z.ZodObject<{
10171
10247
  alias: z.ZodOptional<z.ZodString>;
10172
10248
  config: z.ZodObject<{
10173
10249
  flow_id: z.ZodString;
10174
- next_node: z.ZodString;
10250
+ next_node: z.ZodOptional<z.ZodString>;
10175
10251
  }, "strip", z.ZodTypeAny, {
10176
- next_node: string;
10177
10252
  flow_id: string;
10253
+ next_node?: string | undefined;
10178
10254
  }, {
10179
- next_node: string;
10180
10255
  flow_id: string;
10256
+ next_node?: string | undefined;
10181
10257
  }>;
10182
10258
  }, "strip", z.ZodTypeAny, {
10183
10259
  type: "FLOW";
10184
10260
  id: string;
10185
10261
  config: {
10186
- next_node: string;
10187
10262
  flow_id: string;
10263
+ next_node?: string | undefined;
10188
10264
  };
10189
10265
  coordinates: {
10190
10266
  x: number;
@@ -10195,8 +10271,8 @@ export declare const formInsertSchema: z.ZodObject<{
10195
10271
  type: "FLOW";
10196
10272
  id: string;
10197
10273
  config: {
10198
- next_node: string;
10199
10274
  flow_id: string;
10275
+ next_node?: string | undefined;
10200
10276
  };
10201
10277
  coordinates: {
10202
10278
  x: number;
@@ -10235,7 +10311,7 @@ export declare const formInsertSchema: z.ZodObject<{
10235
10311
  alias?: string | undefined;
10236
10312
  condition?: any;
10237
10313
  }>, "many">;
10238
- fallback: z.ZodArray<z.ZodString, "many">;
10314
+ fallback: z.ZodString;
10239
10315
  }, "strip", z.ZodTypeAny, {
10240
10316
  rules: {
10241
10317
  id: string;
@@ -10243,7 +10319,7 @@ export declare const formInsertSchema: z.ZodObject<{
10243
10319
  alias?: string | undefined;
10244
10320
  condition?: any;
10245
10321
  }[];
10246
- fallback: string[];
10322
+ fallback: string;
10247
10323
  }, {
10248
10324
  rules: {
10249
10325
  id: string;
@@ -10251,7 +10327,7 @@ export declare const formInsertSchema: z.ZodObject<{
10251
10327
  alias?: string | undefined;
10252
10328
  condition?: any;
10253
10329
  }[];
10254
- fallback: string[];
10330
+ fallback: string;
10255
10331
  }>;
10256
10332
  }, "strip", z.ZodTypeAny, {
10257
10333
  type: "ROUTER";
@@ -10263,7 +10339,7 @@ export declare const formInsertSchema: z.ZodObject<{
10263
10339
  alias?: string | undefined;
10264
10340
  condition?: any;
10265
10341
  }[];
10266
- fallback: string[];
10342
+ fallback: string;
10267
10343
  };
10268
10344
  coordinates: {
10269
10345
  x: number;
@@ -10280,7 +10356,7 @@ export declare const formInsertSchema: z.ZodObject<{
10280
10356
  alias?: string | undefined;
10281
10357
  condition?: any;
10282
10358
  }[];
10283
- fallback: string[];
10359
+ fallback: string;
10284
10360
  };
10285
10361
  coordinates: {
10286
10362
  x: number;
@@ -10306,6 +10382,7 @@ export declare const formInsertSchema: z.ZodObject<{
10306
10382
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
10307
10383
  z.ZodObject<{
10308
10384
  id: z.ZodString;
10385
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10309
10386
  type: z.ZodLiteral<"RICH_TEXT">;
10310
10387
  config: z.ZodObject<{
10311
10388
  content: z.ZodString;
@@ -10323,6 +10400,7 @@ export declare const formInsertSchema: z.ZodObject<{
10323
10400
  content: string;
10324
10401
  };
10325
10402
  visible: boolean;
10403
+ category?: "BLOCK" | undefined;
10326
10404
  order?: number | undefined;
10327
10405
  }, {
10328
10406
  type: "RICH_TEXT";
@@ -10330,11 +10408,13 @@ export declare const formInsertSchema: z.ZodObject<{
10330
10408
  config: {
10331
10409
  content: string;
10332
10410
  };
10411
+ category?: "BLOCK" | undefined;
10333
10412
  order?: number | undefined;
10334
10413
  visible?: boolean | undefined;
10335
10414
  }>,
10336
10415
  z.ZodObject<{
10337
10416
  id: z.ZodString;
10417
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10338
10418
  type: z.ZodLiteral<"LEGAL">;
10339
10419
  config: z.ZodObject<{
10340
10420
  text: z.ZodString;
@@ -10358,6 +10438,7 @@ export declare const formInsertSchema: z.ZodObject<{
10358
10438
  };
10359
10439
  visible: boolean;
10360
10440
  required?: boolean | undefined;
10441
+ category?: "FIELD" | undefined;
10361
10442
  order?: number | undefined;
10362
10443
  }, {
10363
10444
  type: "LEGAL";
@@ -10367,11 +10448,13 @@ export declare const formInsertSchema: z.ZodObject<{
10367
10448
  html?: boolean | undefined;
10368
10449
  };
10369
10450
  required?: boolean | undefined;
10451
+ category?: "FIELD" | undefined;
10370
10452
  order?: number | undefined;
10371
10453
  visible?: boolean | undefined;
10372
10454
  }>,
10373
10455
  z.ZodObject<{
10374
10456
  id: z.ZodString;
10457
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
10375
10458
  type: z.ZodLiteral<"TEXT">;
10376
10459
  config: z.ZodObject<{
10377
10460
  placeholder: z.ZodOptional<z.ZodString>;
@@ -10396,6 +10479,7 @@ export declare const formInsertSchema: z.ZodObject<{
10396
10479
  };
10397
10480
  visible: boolean;
10398
10481
  required?: boolean | undefined;
10482
+ category?: "FIELD" | undefined;
10399
10483
  sensitive?: boolean | undefined;
10400
10484
  order?: number | undefined;
10401
10485
  }, {
@@ -10406,12 +10490,14 @@ export declare const formInsertSchema: z.ZodObject<{
10406
10490
  multiline?: boolean | undefined;
10407
10491
  };
10408
10492
  required?: boolean | undefined;
10493
+ category?: "FIELD" | undefined;
10409
10494
  sensitive?: boolean | undefined;
10410
10495
  order?: number | undefined;
10411
10496
  visible?: boolean | undefined;
10412
10497
  }>,
10413
10498
  z.ZodObject<{
10414
10499
  id: z.ZodString;
10500
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
10415
10501
  type: z.ZodLiteral<"NEXT_BUTTON">;
10416
10502
  config: z.ZodObject<{
10417
10503
  text: z.ZodOptional<z.ZodString>;
@@ -10429,6 +10515,7 @@ export declare const formInsertSchema: z.ZodObject<{
10429
10515
  text?: string | undefined;
10430
10516
  };
10431
10517
  visible: boolean;
10518
+ category?: "BLOCK" | undefined;
10432
10519
  order?: number | undefined;
10433
10520
  }, {
10434
10521
  type: "NEXT_BUTTON";
@@ -10436,11 +10523,12 @@ export declare const formInsertSchema: z.ZodObject<{
10436
10523
  config: {
10437
10524
  text?: string | undefined;
10438
10525
  };
10526
+ category?: "BLOCK" | undefined;
10439
10527
  order?: number | undefined;
10440
10528
  visible?: boolean | undefined;
10441
10529
  }>
10442
10530
  ]>, "many">;
10443
- next_node: z.ZodString;
10531
+ next_node: z.ZodOptional<z.ZodString>;
10444
10532
  }, "strip", z.ZodTypeAny, {
10445
10533
  components: ({
10446
10534
  type: "RICH_TEXT";
@@ -10449,6 +10537,7 @@ export declare const formInsertSchema: z.ZodObject<{
10449
10537
  content: string;
10450
10538
  };
10451
10539
  visible: boolean;
10540
+ category?: "BLOCK" | undefined;
10452
10541
  order?: number | undefined;
10453
10542
  } | {
10454
10543
  type: "LEGAL";
@@ -10459,6 +10548,7 @@ export declare const formInsertSchema: z.ZodObject<{
10459
10548
  };
10460
10549
  visible: boolean;
10461
10550
  required?: boolean | undefined;
10551
+ category?: "FIELD" | undefined;
10462
10552
  order?: number | undefined;
10463
10553
  } | {
10464
10554
  type: "TEXT";
@@ -10469,6 +10559,7 @@ export declare const formInsertSchema: z.ZodObject<{
10469
10559
  };
10470
10560
  visible: boolean;
10471
10561
  required?: boolean | undefined;
10562
+ category?: "FIELD" | undefined;
10472
10563
  sensitive?: boolean | undefined;
10473
10564
  order?: number | undefined;
10474
10565
  } | {
@@ -10478,9 +10569,10 @@ export declare const formInsertSchema: z.ZodObject<{
10478
10569
  text?: string | undefined;
10479
10570
  };
10480
10571
  visible: boolean;
10572
+ category?: "BLOCK" | undefined;
10481
10573
  order?: number | undefined;
10482
10574
  })[];
10483
- next_node: string;
10575
+ next_node?: string | undefined;
10484
10576
  }, {
10485
10577
  components: ({
10486
10578
  type: "RICH_TEXT";
@@ -10488,6 +10580,7 @@ export declare const formInsertSchema: z.ZodObject<{
10488
10580
  config: {
10489
10581
  content: string;
10490
10582
  };
10583
+ category?: "BLOCK" | undefined;
10491
10584
  order?: number | undefined;
10492
10585
  visible?: boolean | undefined;
10493
10586
  } | {
@@ -10498,6 +10591,7 @@ export declare const formInsertSchema: z.ZodObject<{
10498
10591
  html?: boolean | undefined;
10499
10592
  };
10500
10593
  required?: boolean | undefined;
10594
+ category?: "FIELD" | undefined;
10501
10595
  order?: number | undefined;
10502
10596
  visible?: boolean | undefined;
10503
10597
  } | {
@@ -10508,6 +10602,7 @@ export declare const formInsertSchema: z.ZodObject<{
10508
10602
  multiline?: boolean | undefined;
10509
10603
  };
10510
10604
  required?: boolean | undefined;
10605
+ category?: "FIELD" | undefined;
10511
10606
  sensitive?: boolean | undefined;
10512
10607
  order?: number | undefined;
10513
10608
  visible?: boolean | undefined;
@@ -10517,10 +10612,11 @@ export declare const formInsertSchema: z.ZodObject<{
10517
10612
  config: {
10518
10613
  text?: string | undefined;
10519
10614
  };
10615
+ category?: "BLOCK" | undefined;
10520
10616
  order?: number | undefined;
10521
10617
  visible?: boolean | undefined;
10522
10618
  })[];
10523
- next_node: string;
10619
+ next_node?: string | undefined;
10524
10620
  }>;
10525
10621
  }, "strip", z.ZodTypeAny, {
10526
10622
  type: "STEP";
@@ -10533,6 +10629,7 @@ export declare const formInsertSchema: z.ZodObject<{
10533
10629
  content: string;
10534
10630
  };
10535
10631
  visible: boolean;
10632
+ category?: "BLOCK" | undefined;
10536
10633
  order?: number | undefined;
10537
10634
  } | {
10538
10635
  type: "LEGAL";
@@ -10543,6 +10640,7 @@ export declare const formInsertSchema: z.ZodObject<{
10543
10640
  };
10544
10641
  visible: boolean;
10545
10642
  required?: boolean | undefined;
10643
+ category?: "FIELD" | undefined;
10546
10644
  order?: number | undefined;
10547
10645
  } | {
10548
10646
  type: "TEXT";
@@ -10553,6 +10651,7 @@ export declare const formInsertSchema: z.ZodObject<{
10553
10651
  };
10554
10652
  visible: boolean;
10555
10653
  required?: boolean | undefined;
10654
+ category?: "FIELD" | undefined;
10556
10655
  sensitive?: boolean | undefined;
10557
10656
  order?: number | undefined;
10558
10657
  } | {
@@ -10562,9 +10661,10 @@ export declare const formInsertSchema: z.ZodObject<{
10562
10661
  text?: string | undefined;
10563
10662
  };
10564
10663
  visible: boolean;
10664
+ category?: "BLOCK" | undefined;
10565
10665
  order?: number | undefined;
10566
10666
  })[];
10567
- next_node: string;
10667
+ next_node?: string | undefined;
10568
10668
  };
10569
10669
  coordinates: {
10570
10670
  x: number;
@@ -10581,6 +10681,7 @@ export declare const formInsertSchema: z.ZodObject<{
10581
10681
  config: {
10582
10682
  content: string;
10583
10683
  };
10684
+ category?: "BLOCK" | undefined;
10584
10685
  order?: number | undefined;
10585
10686
  visible?: boolean | undefined;
10586
10687
  } | {
@@ -10591,6 +10692,7 @@ export declare const formInsertSchema: z.ZodObject<{
10591
10692
  html?: boolean | undefined;
10592
10693
  };
10593
10694
  required?: boolean | undefined;
10695
+ category?: "FIELD" | undefined;
10594
10696
  order?: number | undefined;
10595
10697
  visible?: boolean | undefined;
10596
10698
  } | {
@@ -10601,6 +10703,7 @@ export declare const formInsertSchema: z.ZodObject<{
10601
10703
  multiline?: boolean | undefined;
10602
10704
  };
10603
10705
  required?: boolean | undefined;
10706
+ category?: "FIELD" | undefined;
10604
10707
  sensitive?: boolean | undefined;
10605
10708
  order?: number | undefined;
10606
10709
  visible?: boolean | undefined;
@@ -10610,10 +10713,11 @@ export declare const formInsertSchema: z.ZodObject<{
10610
10713
  config: {
10611
10714
  text?: string | undefined;
10612
10715
  };
10716
+ category?: "BLOCK" | undefined;
10613
10717
  order?: number | undefined;
10614
10718
  visible?: boolean | undefined;
10615
10719
  })[];
10616
- next_node: string;
10720
+ next_node?: string | undefined;
10617
10721
  };
10618
10722
  coordinates: {
10619
10723
  x: number;
@@ -10752,8 +10856,8 @@ export declare const formInsertSchema: z.ZodObject<{
10752
10856
  type: "FLOW";
10753
10857
  id: string;
10754
10858
  config: {
10755
- next_node: string;
10756
10859
  flow_id: string;
10860
+ next_node?: string | undefined;
10757
10861
  };
10758
10862
  coordinates: {
10759
10863
  x: number;
@@ -10770,7 +10874,7 @@ export declare const formInsertSchema: z.ZodObject<{
10770
10874
  alias?: string | undefined;
10771
10875
  condition?: any;
10772
10876
  }[];
10773
- fallback: string[];
10877
+ fallback: string;
10774
10878
  };
10775
10879
  coordinates: {
10776
10880
  x: number;
@@ -10788,6 +10892,7 @@ export declare const formInsertSchema: z.ZodObject<{
10788
10892
  content: string;
10789
10893
  };
10790
10894
  visible: boolean;
10895
+ category?: "BLOCK" | undefined;
10791
10896
  order?: number | undefined;
10792
10897
  } | {
10793
10898
  type: "LEGAL";
@@ -10798,6 +10903,7 @@ export declare const formInsertSchema: z.ZodObject<{
10798
10903
  };
10799
10904
  visible: boolean;
10800
10905
  required?: boolean | undefined;
10906
+ category?: "FIELD" | undefined;
10801
10907
  order?: number | undefined;
10802
10908
  } | {
10803
10909
  type: "TEXT";
@@ -10808,6 +10914,7 @@ export declare const formInsertSchema: z.ZodObject<{
10808
10914
  };
10809
10915
  visible: boolean;
10810
10916
  required?: boolean | undefined;
10917
+ category?: "FIELD" | undefined;
10811
10918
  sensitive?: boolean | undefined;
10812
10919
  order?: number | undefined;
10813
10920
  } | {
@@ -10817,9 +10924,10 @@ export declare const formInsertSchema: z.ZodObject<{
10817
10924
  text?: string | undefined;
10818
10925
  };
10819
10926
  visible: boolean;
10927
+ category?: "BLOCK" | undefined;
10820
10928
  order?: number | undefined;
10821
10929
  })[];
10822
- next_node: string;
10930
+ next_node?: string | undefined;
10823
10931
  };
10824
10932
  coordinates: {
10825
10933
  x: number;
@@ -10870,8 +10978,8 @@ export declare const formInsertSchema: z.ZodObject<{
10870
10978
  type: "FLOW";
10871
10979
  id: string;
10872
10980
  config: {
10873
- next_node: string;
10874
10981
  flow_id: string;
10982
+ next_node?: string | undefined;
10875
10983
  };
10876
10984
  coordinates: {
10877
10985
  x: number;
@@ -10888,7 +10996,7 @@ export declare const formInsertSchema: z.ZodObject<{
10888
10996
  alias?: string | undefined;
10889
10997
  condition?: any;
10890
10998
  }[];
10891
- fallback: string[];
10999
+ fallback: string;
10892
11000
  };
10893
11001
  coordinates: {
10894
11002
  x: number;
@@ -10905,6 +11013,7 @@ export declare const formInsertSchema: z.ZodObject<{
10905
11013
  config: {
10906
11014
  content: string;
10907
11015
  };
11016
+ category?: "BLOCK" | undefined;
10908
11017
  order?: number | undefined;
10909
11018
  visible?: boolean | undefined;
10910
11019
  } | {
@@ -10915,6 +11024,7 @@ export declare const formInsertSchema: z.ZodObject<{
10915
11024
  html?: boolean | undefined;
10916
11025
  };
10917
11026
  required?: boolean | undefined;
11027
+ category?: "FIELD" | undefined;
10918
11028
  order?: number | undefined;
10919
11029
  visible?: boolean | undefined;
10920
11030
  } | {
@@ -10925,6 +11035,7 @@ export declare const formInsertSchema: z.ZodObject<{
10925
11035
  multiline?: boolean | undefined;
10926
11036
  };
10927
11037
  required?: boolean | undefined;
11038
+ category?: "FIELD" | undefined;
10928
11039
  sensitive?: boolean | undefined;
10929
11040
  order?: number | undefined;
10930
11041
  visible?: boolean | undefined;
@@ -10934,10 +11045,11 @@ export declare const formInsertSchema: z.ZodObject<{
10934
11045
  config: {
10935
11046
  text?: string | undefined;
10936
11047
  };
11048
+ category?: "BLOCK" | undefined;
10937
11049
  order?: number | undefined;
10938
11050
  visible?: boolean | undefined;
10939
11051
  })[];
10940
- next_node: string;
11052
+ next_node?: string | undefined;
10941
11053
  };
10942
11054
  coordinates: {
10943
11055
  x: number;
@@ -11010,20 +11122,20 @@ export declare const formSchema: z.ZodObject<{
11010
11122
  alias: z.ZodOptional<z.ZodString>;
11011
11123
  config: z.ZodObject<{
11012
11124
  flow_id: z.ZodString;
11013
- next_node: z.ZodString;
11125
+ next_node: z.ZodOptional<z.ZodString>;
11014
11126
  }, "strip", z.ZodTypeAny, {
11015
- next_node: string;
11016
11127
  flow_id: string;
11128
+ next_node?: string | undefined;
11017
11129
  }, {
11018
- next_node: string;
11019
11130
  flow_id: string;
11131
+ next_node?: string | undefined;
11020
11132
  }>;
11021
11133
  }, "strip", z.ZodTypeAny, {
11022
11134
  type: "FLOW";
11023
11135
  id: string;
11024
11136
  config: {
11025
- next_node: string;
11026
11137
  flow_id: string;
11138
+ next_node?: string | undefined;
11027
11139
  };
11028
11140
  coordinates: {
11029
11141
  x: number;
@@ -11034,8 +11146,8 @@ export declare const formSchema: z.ZodObject<{
11034
11146
  type: "FLOW";
11035
11147
  id: string;
11036
11148
  config: {
11037
- next_node: string;
11038
11149
  flow_id: string;
11150
+ next_node?: string | undefined;
11039
11151
  };
11040
11152
  coordinates: {
11041
11153
  x: number;
@@ -11074,7 +11186,7 @@ export declare const formSchema: z.ZodObject<{
11074
11186
  alias?: string | undefined;
11075
11187
  condition?: any;
11076
11188
  }>, "many">;
11077
- fallback: z.ZodArray<z.ZodString, "many">;
11189
+ fallback: z.ZodString;
11078
11190
  }, "strip", z.ZodTypeAny, {
11079
11191
  rules: {
11080
11192
  id: string;
@@ -11082,7 +11194,7 @@ export declare const formSchema: z.ZodObject<{
11082
11194
  alias?: string | undefined;
11083
11195
  condition?: any;
11084
11196
  }[];
11085
- fallback: string[];
11197
+ fallback: string;
11086
11198
  }, {
11087
11199
  rules: {
11088
11200
  id: string;
@@ -11090,7 +11202,7 @@ export declare const formSchema: z.ZodObject<{
11090
11202
  alias?: string | undefined;
11091
11203
  condition?: any;
11092
11204
  }[];
11093
- fallback: string[];
11205
+ fallback: string;
11094
11206
  }>;
11095
11207
  }, "strip", z.ZodTypeAny, {
11096
11208
  type: "ROUTER";
@@ -11102,7 +11214,7 @@ export declare const formSchema: z.ZodObject<{
11102
11214
  alias?: string | undefined;
11103
11215
  condition?: any;
11104
11216
  }[];
11105
- fallback: string[];
11217
+ fallback: string;
11106
11218
  };
11107
11219
  coordinates: {
11108
11220
  x: number;
@@ -11119,7 +11231,7 @@ export declare const formSchema: z.ZodObject<{
11119
11231
  alias?: string | undefined;
11120
11232
  condition?: any;
11121
11233
  }[];
11122
- fallback: string[];
11234
+ fallback: string;
11123
11235
  };
11124
11236
  coordinates: {
11125
11237
  x: number;
@@ -11145,6 +11257,7 @@ export declare const formSchema: z.ZodObject<{
11145
11257
  components: z.ZodArray<z.ZodDiscriminatedUnion<"type", [
11146
11258
  z.ZodObject<{
11147
11259
  id: z.ZodString;
11260
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11148
11261
  type: z.ZodLiteral<"RICH_TEXT">;
11149
11262
  config: z.ZodObject<{
11150
11263
  content: z.ZodString;
@@ -11162,6 +11275,7 @@ export declare const formSchema: z.ZodObject<{
11162
11275
  content: string;
11163
11276
  };
11164
11277
  visible: boolean;
11278
+ category?: "BLOCK" | undefined;
11165
11279
  order?: number | undefined;
11166
11280
  }, {
11167
11281
  type: "RICH_TEXT";
@@ -11169,11 +11283,13 @@ export declare const formSchema: z.ZodObject<{
11169
11283
  config: {
11170
11284
  content: string;
11171
11285
  };
11286
+ category?: "BLOCK" | undefined;
11172
11287
  order?: number | undefined;
11173
11288
  visible?: boolean | undefined;
11174
11289
  }>,
11175
11290
  z.ZodObject<{
11176
11291
  id: z.ZodString;
11292
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11177
11293
  type: z.ZodLiteral<"LEGAL">;
11178
11294
  config: z.ZodObject<{
11179
11295
  text: z.ZodString;
@@ -11197,6 +11313,7 @@ export declare const formSchema: z.ZodObject<{
11197
11313
  };
11198
11314
  visible: boolean;
11199
11315
  required?: boolean | undefined;
11316
+ category?: "FIELD" | undefined;
11200
11317
  order?: number | undefined;
11201
11318
  }, {
11202
11319
  type: "LEGAL";
@@ -11206,11 +11323,13 @@ export declare const formSchema: z.ZodObject<{
11206
11323
  html?: boolean | undefined;
11207
11324
  };
11208
11325
  required?: boolean | undefined;
11326
+ category?: "FIELD" | undefined;
11209
11327
  order?: number | undefined;
11210
11328
  visible?: boolean | undefined;
11211
11329
  }>,
11212
11330
  z.ZodObject<{
11213
11331
  id: z.ZodString;
11332
+ category: z.ZodOptional<z.ZodLiteral<"FIELD">>;
11214
11333
  type: z.ZodLiteral<"TEXT">;
11215
11334
  config: z.ZodObject<{
11216
11335
  placeholder: z.ZodOptional<z.ZodString>;
@@ -11235,6 +11354,7 @@ export declare const formSchema: z.ZodObject<{
11235
11354
  };
11236
11355
  visible: boolean;
11237
11356
  required?: boolean | undefined;
11357
+ category?: "FIELD" | undefined;
11238
11358
  sensitive?: boolean | undefined;
11239
11359
  order?: number | undefined;
11240
11360
  }, {
@@ -11245,12 +11365,14 @@ export declare const formSchema: z.ZodObject<{
11245
11365
  multiline?: boolean | undefined;
11246
11366
  };
11247
11367
  required?: boolean | undefined;
11368
+ category?: "FIELD" | undefined;
11248
11369
  sensitive?: boolean | undefined;
11249
11370
  order?: number | undefined;
11250
11371
  visible?: boolean | undefined;
11251
11372
  }>,
11252
11373
  z.ZodObject<{
11253
11374
  id: z.ZodString;
11375
+ category: z.ZodOptional<z.ZodLiteral<"BLOCK">>;
11254
11376
  type: z.ZodLiteral<"NEXT_BUTTON">;
11255
11377
  config: z.ZodObject<{
11256
11378
  text: z.ZodOptional<z.ZodString>;
@@ -11268,6 +11390,7 @@ export declare const formSchema: z.ZodObject<{
11268
11390
  text?: string | undefined;
11269
11391
  };
11270
11392
  visible: boolean;
11393
+ category?: "BLOCK" | undefined;
11271
11394
  order?: number | undefined;
11272
11395
  }, {
11273
11396
  type: "NEXT_BUTTON";
@@ -11275,11 +11398,12 @@ export declare const formSchema: z.ZodObject<{
11275
11398
  config: {
11276
11399
  text?: string | undefined;
11277
11400
  };
11401
+ category?: "BLOCK" | undefined;
11278
11402
  order?: number | undefined;
11279
11403
  visible?: boolean | undefined;
11280
11404
  }>
11281
11405
  ]>, "many">;
11282
- next_node: z.ZodString;
11406
+ next_node: z.ZodOptional<z.ZodString>;
11283
11407
  }, "strip", z.ZodTypeAny, {
11284
11408
  components: ({
11285
11409
  type: "RICH_TEXT";
@@ -11288,6 +11412,7 @@ export declare const formSchema: z.ZodObject<{
11288
11412
  content: string;
11289
11413
  };
11290
11414
  visible: boolean;
11415
+ category?: "BLOCK" | undefined;
11291
11416
  order?: number | undefined;
11292
11417
  } | {
11293
11418
  type: "LEGAL";
@@ -11298,6 +11423,7 @@ export declare const formSchema: z.ZodObject<{
11298
11423
  };
11299
11424
  visible: boolean;
11300
11425
  required?: boolean | undefined;
11426
+ category?: "FIELD" | undefined;
11301
11427
  order?: number | undefined;
11302
11428
  } | {
11303
11429
  type: "TEXT";
@@ -11308,6 +11434,7 @@ export declare const formSchema: z.ZodObject<{
11308
11434
  };
11309
11435
  visible: boolean;
11310
11436
  required?: boolean | undefined;
11437
+ category?: "FIELD" | undefined;
11311
11438
  sensitive?: boolean | undefined;
11312
11439
  order?: number | undefined;
11313
11440
  } | {
@@ -11317,9 +11444,10 @@ export declare const formSchema: z.ZodObject<{
11317
11444
  text?: string | undefined;
11318
11445
  };
11319
11446
  visible: boolean;
11447
+ category?: "BLOCK" | undefined;
11320
11448
  order?: number | undefined;
11321
11449
  })[];
11322
- next_node: string;
11450
+ next_node?: string | undefined;
11323
11451
  }, {
11324
11452
  components: ({
11325
11453
  type: "RICH_TEXT";
@@ -11327,6 +11455,7 @@ export declare const formSchema: z.ZodObject<{
11327
11455
  config: {
11328
11456
  content: string;
11329
11457
  };
11458
+ category?: "BLOCK" | undefined;
11330
11459
  order?: number | undefined;
11331
11460
  visible?: boolean | undefined;
11332
11461
  } | {
@@ -11337,6 +11466,7 @@ export declare const formSchema: z.ZodObject<{
11337
11466
  html?: boolean | undefined;
11338
11467
  };
11339
11468
  required?: boolean | undefined;
11469
+ category?: "FIELD" | undefined;
11340
11470
  order?: number | undefined;
11341
11471
  visible?: boolean | undefined;
11342
11472
  } | {
@@ -11347,6 +11477,7 @@ export declare const formSchema: z.ZodObject<{
11347
11477
  multiline?: boolean | undefined;
11348
11478
  };
11349
11479
  required?: boolean | undefined;
11480
+ category?: "FIELD" | undefined;
11350
11481
  sensitive?: boolean | undefined;
11351
11482
  order?: number | undefined;
11352
11483
  visible?: boolean | undefined;
@@ -11356,10 +11487,11 @@ export declare const formSchema: z.ZodObject<{
11356
11487
  config: {
11357
11488
  text?: string | undefined;
11358
11489
  };
11490
+ category?: "BLOCK" | undefined;
11359
11491
  order?: number | undefined;
11360
11492
  visible?: boolean | undefined;
11361
11493
  })[];
11362
- next_node: string;
11494
+ next_node?: string | undefined;
11363
11495
  }>;
11364
11496
  }, "strip", z.ZodTypeAny, {
11365
11497
  type: "STEP";
@@ -11372,6 +11504,7 @@ export declare const formSchema: z.ZodObject<{
11372
11504
  content: string;
11373
11505
  };
11374
11506
  visible: boolean;
11507
+ category?: "BLOCK" | undefined;
11375
11508
  order?: number | undefined;
11376
11509
  } | {
11377
11510
  type: "LEGAL";
@@ -11382,6 +11515,7 @@ export declare const formSchema: z.ZodObject<{
11382
11515
  };
11383
11516
  visible: boolean;
11384
11517
  required?: boolean | undefined;
11518
+ category?: "FIELD" | undefined;
11385
11519
  order?: number | undefined;
11386
11520
  } | {
11387
11521
  type: "TEXT";
@@ -11392,6 +11526,7 @@ export declare const formSchema: z.ZodObject<{
11392
11526
  };
11393
11527
  visible: boolean;
11394
11528
  required?: boolean | undefined;
11529
+ category?: "FIELD" | undefined;
11395
11530
  sensitive?: boolean | undefined;
11396
11531
  order?: number | undefined;
11397
11532
  } | {
@@ -11401,9 +11536,10 @@ export declare const formSchema: z.ZodObject<{
11401
11536
  text?: string | undefined;
11402
11537
  };
11403
11538
  visible: boolean;
11539
+ category?: "BLOCK" | undefined;
11404
11540
  order?: number | undefined;
11405
11541
  })[];
11406
- next_node: string;
11542
+ next_node?: string | undefined;
11407
11543
  };
11408
11544
  coordinates: {
11409
11545
  x: number;
@@ -11420,6 +11556,7 @@ export declare const formSchema: z.ZodObject<{
11420
11556
  config: {
11421
11557
  content: string;
11422
11558
  };
11559
+ category?: "BLOCK" | undefined;
11423
11560
  order?: number | undefined;
11424
11561
  visible?: boolean | undefined;
11425
11562
  } | {
@@ -11430,6 +11567,7 @@ export declare const formSchema: z.ZodObject<{
11430
11567
  html?: boolean | undefined;
11431
11568
  };
11432
11569
  required?: boolean | undefined;
11570
+ category?: "FIELD" | undefined;
11433
11571
  order?: number | undefined;
11434
11572
  visible?: boolean | undefined;
11435
11573
  } | {
@@ -11440,6 +11578,7 @@ export declare const formSchema: z.ZodObject<{
11440
11578
  multiline?: boolean | undefined;
11441
11579
  };
11442
11580
  required?: boolean | undefined;
11581
+ category?: "FIELD" | undefined;
11443
11582
  sensitive?: boolean | undefined;
11444
11583
  order?: number | undefined;
11445
11584
  visible?: boolean | undefined;
@@ -11449,10 +11588,11 @@ export declare const formSchema: z.ZodObject<{
11449
11588
  config: {
11450
11589
  text?: string | undefined;
11451
11590
  };
11591
+ category?: "BLOCK" | undefined;
11452
11592
  order?: number | undefined;
11453
11593
  visible?: boolean | undefined;
11454
11594
  })[];
11455
- next_node: string;
11595
+ next_node?: string | undefined;
11456
11596
  };
11457
11597
  coordinates: {
11458
11598
  x: number;
@@ -11596,8 +11736,8 @@ export declare const formSchema: z.ZodObject<{
11596
11736
  type: "FLOW";
11597
11737
  id: string;
11598
11738
  config: {
11599
- next_node: string;
11600
11739
  flow_id: string;
11740
+ next_node?: string | undefined;
11601
11741
  };
11602
11742
  coordinates: {
11603
11743
  x: number;
@@ -11614,7 +11754,7 @@ export declare const formSchema: z.ZodObject<{
11614
11754
  alias?: string | undefined;
11615
11755
  condition?: any;
11616
11756
  }[];
11617
- fallback: string[];
11757
+ fallback: string;
11618
11758
  };
11619
11759
  coordinates: {
11620
11760
  x: number;
@@ -11632,6 +11772,7 @@ export declare const formSchema: z.ZodObject<{
11632
11772
  content: string;
11633
11773
  };
11634
11774
  visible: boolean;
11775
+ category?: "BLOCK" | undefined;
11635
11776
  order?: number | undefined;
11636
11777
  } | {
11637
11778
  type: "LEGAL";
@@ -11642,6 +11783,7 @@ export declare const formSchema: z.ZodObject<{
11642
11783
  };
11643
11784
  visible: boolean;
11644
11785
  required?: boolean | undefined;
11786
+ category?: "FIELD" | undefined;
11645
11787
  order?: number | undefined;
11646
11788
  } | {
11647
11789
  type: "TEXT";
@@ -11652,6 +11794,7 @@ export declare const formSchema: z.ZodObject<{
11652
11794
  };
11653
11795
  visible: boolean;
11654
11796
  required?: boolean | undefined;
11797
+ category?: "FIELD" | undefined;
11655
11798
  sensitive?: boolean | undefined;
11656
11799
  order?: number | undefined;
11657
11800
  } | {
@@ -11661,9 +11804,10 @@ export declare const formSchema: z.ZodObject<{
11661
11804
  text?: string | undefined;
11662
11805
  };
11663
11806
  visible: boolean;
11807
+ category?: "BLOCK" | undefined;
11664
11808
  order?: number | undefined;
11665
11809
  })[];
11666
- next_node: string;
11810
+ next_node?: string | undefined;
11667
11811
  };
11668
11812
  coordinates: {
11669
11813
  x: number;
@@ -11717,8 +11861,8 @@ export declare const formSchema: z.ZodObject<{
11717
11861
  type: "FLOW";
11718
11862
  id: string;
11719
11863
  config: {
11720
- next_node: string;
11721
11864
  flow_id: string;
11865
+ next_node?: string | undefined;
11722
11866
  };
11723
11867
  coordinates: {
11724
11868
  x: number;
@@ -11735,7 +11879,7 @@ export declare const formSchema: z.ZodObject<{
11735
11879
  alias?: string | undefined;
11736
11880
  condition?: any;
11737
11881
  }[];
11738
- fallback: string[];
11882
+ fallback: string;
11739
11883
  };
11740
11884
  coordinates: {
11741
11885
  x: number;
@@ -11752,6 +11896,7 @@ export declare const formSchema: z.ZodObject<{
11752
11896
  config: {
11753
11897
  content: string;
11754
11898
  };
11899
+ category?: "BLOCK" | undefined;
11755
11900
  order?: number | undefined;
11756
11901
  visible?: boolean | undefined;
11757
11902
  } | {
@@ -11762,6 +11907,7 @@ export declare const formSchema: z.ZodObject<{
11762
11907
  html?: boolean | undefined;
11763
11908
  };
11764
11909
  required?: boolean | undefined;
11910
+ category?: "FIELD" | undefined;
11765
11911
  order?: number | undefined;
11766
11912
  visible?: boolean | undefined;
11767
11913
  } | {
@@ -11772,6 +11918,7 @@ export declare const formSchema: z.ZodObject<{
11772
11918
  multiline?: boolean | undefined;
11773
11919
  };
11774
11920
  required?: boolean | undefined;
11921
+ category?: "FIELD" | undefined;
11775
11922
  sensitive?: boolean | undefined;
11776
11923
  order?: number | undefined;
11777
11924
  visible?: boolean | undefined;
@@ -11781,10 +11928,11 @@ export declare const formSchema: z.ZodObject<{
11781
11928
  config: {
11782
11929
  text?: string | undefined;
11783
11930
  };
11931
+ category?: "BLOCK" | undefined;
11784
11932
  order?: number | undefined;
11785
11933
  visible?: boolean | undefined;
11786
11934
  })[];
11787
- next_node: string;
11935
+ next_node?: string | undefined;
11788
11936
  };
11789
11937
  coordinates: {
11790
11938
  x: number;
@@ -16444,14 +16592,14 @@ export declare const organizationEnabledConnectionSchema: z.ZodObject<{
16444
16592
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16445
16593
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16446
16594
  }, "strip", z.ZodTypeAny, {
16595
+ show_as_button: boolean;
16447
16596
  connection_id: string;
16448
16597
  assign_membership_on_login: boolean;
16449
- show_as_button: boolean;
16450
16598
  is_signup_enabled: boolean;
16451
16599
  }, {
16452
16600
  connection_id: string;
16453
- assign_membership_on_login?: boolean | undefined;
16454
16601
  show_as_button?: boolean | undefined;
16602
+ assign_membership_on_login?: boolean | undefined;
16455
16603
  is_signup_enabled?: boolean | undefined;
16456
16604
  }>;
16457
16605
  export declare const organizationTokenQuotaSchema: z.ZodOptional<z.ZodObject<{
@@ -16517,14 +16665,14 @@ export declare const organizationInsertSchema: z.ZodObject<{
16517
16665
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16518
16666
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16519
16667
  }, "strip", z.ZodTypeAny, {
16668
+ show_as_button: boolean;
16520
16669
  connection_id: string;
16521
16670
  assign_membership_on_login: boolean;
16522
- show_as_button: boolean;
16523
16671
  is_signup_enabled: boolean;
16524
16672
  }, {
16525
16673
  connection_id: string;
16526
- assign_membership_on_login?: boolean | undefined;
16527
16674
  show_as_button?: boolean | undefined;
16675
+ assign_membership_on_login?: boolean | undefined;
16528
16676
  is_signup_enabled?: boolean | undefined;
16529
16677
  }>, "many">>>;
16530
16678
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -16565,6 +16713,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
16565
16713
  } | undefined;
16566
16714
  id?: string | undefined;
16567
16715
  display_name?: string | undefined;
16716
+ metadata?: Record<string, any> | undefined;
16568
16717
  branding?: {
16569
16718
  colors?: {
16570
16719
  primary?: string | undefined;
@@ -16572,11 +16721,10 @@ export declare const organizationInsertSchema: z.ZodObject<{
16572
16721
  } | undefined;
16573
16722
  logo_url?: string | undefined;
16574
16723
  } | undefined;
16575
- metadata?: Record<string, any> | undefined;
16576
16724
  enabled_connections?: {
16725
+ show_as_button: boolean;
16577
16726
  connection_id: string;
16578
16727
  assign_membership_on_login: boolean;
16579
- show_as_button: boolean;
16580
16728
  is_signup_enabled: boolean;
16581
16729
  }[] | undefined;
16582
16730
  }, {
@@ -16590,6 +16738,7 @@ export declare const organizationInsertSchema: z.ZodObject<{
16590
16738
  } | undefined;
16591
16739
  id?: string | undefined;
16592
16740
  display_name?: string | undefined;
16741
+ metadata?: Record<string, any> | undefined;
16593
16742
  branding?: {
16594
16743
  colors?: {
16595
16744
  primary?: string | undefined;
@@ -16597,11 +16746,10 @@ export declare const organizationInsertSchema: z.ZodObject<{
16597
16746
  } | undefined;
16598
16747
  logo_url?: string | undefined;
16599
16748
  } | undefined;
16600
- metadata?: Record<string, any> | undefined;
16601
16749
  enabled_connections?: {
16602
16750
  connection_id: string;
16603
- assign_membership_on_login?: boolean | undefined;
16604
16751
  show_as_button?: boolean | undefined;
16752
+ assign_membership_on_login?: boolean | undefined;
16605
16753
  is_signup_enabled?: boolean | undefined;
16606
16754
  }[] | undefined;
16607
16755
  }>;
@@ -16644,14 +16792,14 @@ export declare const organizationSchema: z.ZodObject<{
16644
16792
  show_as_button: z.ZodDefault<z.ZodBoolean>;
16645
16793
  is_signup_enabled: z.ZodDefault<z.ZodBoolean>;
16646
16794
  }, "strip", z.ZodTypeAny, {
16795
+ show_as_button: boolean;
16647
16796
  connection_id: string;
16648
16797
  assign_membership_on_login: boolean;
16649
- show_as_button: boolean;
16650
16798
  is_signup_enabled: boolean;
16651
16799
  }, {
16652
16800
  connection_id: string;
16653
- assign_membership_on_login?: boolean | undefined;
16654
16801
  show_as_button?: boolean | undefined;
16802
+ assign_membership_on_login?: boolean | undefined;
16655
16803
  is_signup_enabled?: boolean | undefined;
16656
16804
  }>, "many">>>;
16657
16805
  token_quota: z.ZodOptional<z.ZodObject<{
@@ -16694,6 +16842,7 @@ export declare const organizationSchema: z.ZodObject<{
16694
16842
  } | undefined;
16695
16843
  } | undefined;
16696
16844
  display_name?: string | undefined;
16845
+ metadata?: Record<string, any> | undefined;
16697
16846
  branding?: {
16698
16847
  colors?: {
16699
16848
  primary?: string | undefined;
@@ -16701,11 +16850,10 @@ export declare const organizationSchema: z.ZodObject<{
16701
16850
  } | undefined;
16702
16851
  logo_url?: string | undefined;
16703
16852
  } | undefined;
16704
- metadata?: Record<string, any> | undefined;
16705
16853
  enabled_connections?: {
16854
+ show_as_button: boolean;
16706
16855
  connection_id: string;
16707
16856
  assign_membership_on_login: boolean;
16708
- show_as_button: boolean;
16709
16857
  is_signup_enabled: boolean;
16710
16858
  }[] | undefined;
16711
16859
  }, {
@@ -16721,6 +16869,7 @@ export declare const organizationSchema: z.ZodObject<{
16721
16869
  } | undefined;
16722
16870
  } | undefined;
16723
16871
  display_name?: string | undefined;
16872
+ metadata?: Record<string, any> | undefined;
16724
16873
  branding?: {
16725
16874
  colors?: {
16726
16875
  primary?: string | undefined;
@@ -16728,11 +16877,10 @@ export declare const organizationSchema: z.ZodObject<{
16728
16877
  } | undefined;
16729
16878
  logo_url?: string | undefined;
16730
16879
  } | undefined;
16731
- metadata?: Record<string, any> | undefined;
16732
16880
  enabled_connections?: {
16733
16881
  connection_id: string;
16734
- assign_membership_on_login?: boolean | undefined;
16735
16882
  show_as_button?: boolean | undefined;
16883
+ assign_membership_on_login?: boolean | undefined;
16736
16884
  is_signup_enabled?: boolean | undefined;
16737
16885
  }[] | undefined;
16738
16886
  }>;
@@ -17309,10 +17457,11 @@ export interface GeoInfo {
17309
17457
  }
17310
17458
  export interface GeoAdapter {
17311
17459
  /**
17312
- * Get geo information from the current request
17460
+ * Get geo information from request headers
17461
+ * @param headers - Record of HTTP headers (lowercase keys)
17313
17462
  * @returns Geo information or null if not available
17314
17463
  */
17315
- getGeoInfo(): Promise<GeoInfo | null>;
17464
+ getGeoInfo(headers: Record<string, string>): Promise<GeoInfo | null>;
17316
17465
  }
17317
17466
  export interface DataAdapters {
17318
17467
  branding: BrandingAdapter;