authhero 0.175.0 → 0.176.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.
@@ -13140,7 +13140,7 @@ export declare const themeInsertSchema: z.ZodObject<{
13140
13140
  social_buttons_layout: "bottom";
13141
13141
  };
13142
13142
  }>;
13143
- export type ThemeInsert = z.infer<typeof themeInsertSchema>;
13143
+ export type ThemeInsert = z.input<typeof themeInsertSchema>;
13144
13144
  export declare const themeSchema: z.ZodObject<{
13145
13145
  borders: z.ZodObject<{
13146
13146
  button_border_radius: z.ZodNumber;
@@ -17613,7 +17613,263 @@ export declare function init(config: AuthHeroConfig): {
17613
17613
  status: 200;
17614
17614
  };
17615
17615
  };
17616
- }, "/custom-domains"> & import("hono/types").MergeSchemaPath<{
17616
+ }, "/custom-domains"> & import("hono/types").MergeSchemaPath<import("hono/types").MergeSchemaPath<{
17617
+ "/default": {
17618
+ $get: {
17619
+ input: {
17620
+ header: {
17621
+ "tenant-id"?: string | undefined;
17622
+ };
17623
+ };
17624
+ output: {
17625
+ page_background: {
17626
+ background_color: string;
17627
+ background_image_url: string;
17628
+ page_layout: "center";
17629
+ };
17630
+ colors: {
17631
+ base_focus_color: string;
17632
+ base_hover_color: string;
17633
+ body_text: string;
17634
+ captcha_widget_theme: "auto";
17635
+ error: string;
17636
+ header: string;
17637
+ icons: string;
17638
+ input_background: string;
17639
+ input_border: string;
17640
+ input_filled_text: string;
17641
+ input_labels_placeholders: string;
17642
+ links_focused_components: string;
17643
+ primary_button: string;
17644
+ primary_button_label: string;
17645
+ secondary_button_border: string;
17646
+ secondary_button_label: string;
17647
+ success: string;
17648
+ widget_background: string;
17649
+ widget_border: string;
17650
+ };
17651
+ borders: {
17652
+ button_border_radius: number;
17653
+ button_border_weight: number;
17654
+ buttons_style: "pill";
17655
+ input_border_radius: number;
17656
+ input_border_weight: number;
17657
+ inputs_style: "pill";
17658
+ show_widget_shadow: boolean;
17659
+ widget_border_weight: number;
17660
+ widget_corner_radius: number;
17661
+ };
17662
+ displayName: string;
17663
+ fonts: {
17664
+ title: {
17665
+ bold: boolean;
17666
+ size: number;
17667
+ };
17668
+ links: {
17669
+ bold: boolean;
17670
+ size: number;
17671
+ };
17672
+ body_text: {
17673
+ bold: boolean;
17674
+ size: number;
17675
+ };
17676
+ buttons_text: {
17677
+ bold: boolean;
17678
+ size: number;
17679
+ };
17680
+ font_url: string;
17681
+ input_labels: {
17682
+ bold: boolean;
17683
+ size: number;
17684
+ };
17685
+ links_style: "normal";
17686
+ reference_text_size: number;
17687
+ subtitle: {
17688
+ bold: boolean;
17689
+ size: number;
17690
+ };
17691
+ };
17692
+ widget: {
17693
+ logo_url: string;
17694
+ header_text_alignment: "center";
17695
+ logo_height: number;
17696
+ logo_position: "center";
17697
+ social_buttons_layout: "bottom";
17698
+ };
17699
+ themeId: string;
17700
+ };
17701
+ outputFormat: "json";
17702
+ status: 200;
17703
+ };
17704
+ };
17705
+ } & {
17706
+ "/default": {
17707
+ $put: {
17708
+ input: {
17709
+ header: {
17710
+ "tenant-id"?: string | undefined;
17711
+ };
17712
+ } & {
17713
+ json: {
17714
+ page_background?: {
17715
+ background_color?: string | undefined;
17716
+ background_image_url?: string | undefined;
17717
+ page_layout?: "center" | undefined;
17718
+ } | undefined;
17719
+ colors?: {
17720
+ header?: string | undefined;
17721
+ error?: string | undefined;
17722
+ base_focus_color?: string | undefined;
17723
+ base_hover_color?: string | undefined;
17724
+ body_text?: string | undefined;
17725
+ captcha_widget_theme?: "auto" | undefined;
17726
+ icons?: string | undefined;
17727
+ input_background?: string | undefined;
17728
+ input_border?: string | undefined;
17729
+ input_filled_text?: string | undefined;
17730
+ input_labels_placeholders?: string | undefined;
17731
+ links_focused_components?: string | undefined;
17732
+ primary_button?: string | undefined;
17733
+ primary_button_label?: string | undefined;
17734
+ secondary_button_border?: string | undefined;
17735
+ secondary_button_label?: string | undefined;
17736
+ success?: string | undefined;
17737
+ widget_background?: string | undefined;
17738
+ widget_border?: string | undefined;
17739
+ } | undefined;
17740
+ borders?: {
17741
+ button_border_radius?: number | undefined;
17742
+ button_border_weight?: number | undefined;
17743
+ buttons_style?: "pill" | undefined;
17744
+ input_border_radius?: number | undefined;
17745
+ input_border_weight?: number | undefined;
17746
+ inputs_style?: "pill" | undefined;
17747
+ show_widget_shadow?: boolean | undefined;
17748
+ widget_border_weight?: number | undefined;
17749
+ widget_corner_radius?: number | undefined;
17750
+ } | undefined;
17751
+ displayName?: string | undefined;
17752
+ fonts?: {
17753
+ title?: {
17754
+ bold?: boolean | undefined;
17755
+ size?: number | undefined;
17756
+ } | undefined;
17757
+ body_text?: {
17758
+ bold?: boolean | undefined;
17759
+ size?: number | undefined;
17760
+ } | undefined;
17761
+ buttons_text?: {
17762
+ bold?: boolean | undefined;
17763
+ size?: number | undefined;
17764
+ } | undefined;
17765
+ font_url?: string | undefined;
17766
+ input_labels?: {
17767
+ bold?: boolean | undefined;
17768
+ size?: number | undefined;
17769
+ } | undefined;
17770
+ links?: {
17771
+ bold?: boolean | undefined;
17772
+ size?: number | undefined;
17773
+ } | undefined;
17774
+ links_style?: "normal" | undefined;
17775
+ reference_text_size?: number | undefined;
17776
+ subtitle?: {
17777
+ bold?: boolean | undefined;
17778
+ size?: number | undefined;
17779
+ } | undefined;
17780
+ } | undefined;
17781
+ widget?: {
17782
+ header_text_alignment?: "center" | undefined;
17783
+ logo_height?: number | undefined;
17784
+ logo_position?: "center" | undefined;
17785
+ logo_url?: string | undefined;
17786
+ social_buttons_layout?: "bottom" | undefined;
17787
+ } | undefined;
17788
+ themeId?: string | undefined;
17789
+ };
17790
+ };
17791
+ output: {
17792
+ page_background: {
17793
+ background_color: string;
17794
+ background_image_url: string;
17795
+ page_layout: "center";
17796
+ };
17797
+ colors: {
17798
+ base_focus_color: string;
17799
+ base_hover_color: string;
17800
+ body_text: string;
17801
+ captcha_widget_theme: "auto";
17802
+ error: string;
17803
+ header: string;
17804
+ icons: string;
17805
+ input_background: string;
17806
+ input_border: string;
17807
+ input_filled_text: string;
17808
+ input_labels_placeholders: string;
17809
+ links_focused_components: string;
17810
+ primary_button: string;
17811
+ primary_button_label: string;
17812
+ secondary_button_border: string;
17813
+ secondary_button_label: string;
17814
+ success: string;
17815
+ widget_background: string;
17816
+ widget_border: string;
17817
+ };
17818
+ borders: {
17819
+ button_border_radius: number;
17820
+ button_border_weight: number;
17821
+ buttons_style: "pill";
17822
+ input_border_radius: number;
17823
+ input_border_weight: number;
17824
+ inputs_style: "pill";
17825
+ show_widget_shadow: boolean;
17826
+ widget_border_weight: number;
17827
+ widget_corner_radius: number;
17828
+ };
17829
+ displayName: string;
17830
+ fonts: {
17831
+ title: {
17832
+ bold: boolean;
17833
+ size: number;
17834
+ };
17835
+ links: {
17836
+ bold: boolean;
17837
+ size: number;
17838
+ };
17839
+ body_text: {
17840
+ bold: boolean;
17841
+ size: number;
17842
+ };
17843
+ buttons_text: {
17844
+ bold: boolean;
17845
+ size: number;
17846
+ };
17847
+ font_url: string;
17848
+ input_labels: {
17849
+ bold: boolean;
17850
+ size: number;
17851
+ };
17852
+ links_style: "normal";
17853
+ reference_text_size: number;
17854
+ subtitle: {
17855
+ bold: boolean;
17856
+ size: number;
17857
+ };
17858
+ };
17859
+ widget: {
17860
+ logo_url: string;
17861
+ header_text_alignment: "center";
17862
+ logo_height: number;
17863
+ logo_position: "center";
17864
+ social_buttons_layout: "bottom";
17865
+ };
17866
+ themeId: string;
17867
+ };
17868
+ outputFormat: "json";
17869
+ status: 200;
17870
+ };
17871
+ };
17872
+ }, "/themes"> & {
17617
17873
  "/": {
17618
17874
  $get: {
17619
17875
  input: {