authhero 9.23.0 → 9.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
447
447
  client_id: string;
448
448
  redirect_url?: string | undefined;
449
449
  login_hint?: string | undefined;
450
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
450
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
451
451
  };
452
452
  };
453
453
  output: {};
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
459
459
  client_id: string;
460
460
  redirect_url?: string | undefined;
461
461
  login_hint?: string | undefined;
462
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
462
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
463
463
  };
464
464
  };
465
465
  output: {
@@ -741,20 +741,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
741
741
  email: string;
742
742
  send: "code" | "link";
743
743
  authParams: {
744
+ state?: string | undefined;
745
+ prompt?: string | undefined;
744
746
  audience?: string | undefined;
747
+ username?: string | undefined;
748
+ scope?: string | undefined;
749
+ organization?: string | undefined;
745
750
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
746
751
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
747
- scope?: string | undefined;
748
- username?: string | undefined;
749
- state?: string | undefined;
750
- act_as?: string | undefined;
751
752
  redirect_uri?: string | undefined;
752
- organization?: string | undefined;
753
+ ui_locales?: string | undefined;
754
+ act_as?: string | undefined;
753
755
  nonce?: string | undefined;
754
- prompt?: string | undefined;
755
756
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
757
  code_challenge?: string | undefined;
757
- ui_locales?: string | undefined;
758
758
  max_age?: number | undefined;
759
759
  acr_values?: string | undefined;
760
760
  claims?: {
@@ -777,20 +777,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
777
777
  phone_number: string;
778
778
  send: "code" | "link";
779
779
  authParams: {
780
+ state?: string | undefined;
781
+ prompt?: string | undefined;
780
782
  audience?: string | undefined;
783
+ username?: string | undefined;
784
+ scope?: string | undefined;
785
+ organization?: string | undefined;
781
786
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
782
787
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
783
- scope?: string | undefined;
784
- username?: string | undefined;
785
- state?: string | undefined;
786
- act_as?: string | undefined;
787
788
  redirect_uri?: string | undefined;
788
- organization?: string | undefined;
789
+ ui_locales?: string | undefined;
790
+ act_as?: string | undefined;
789
791
  nonce?: string | undefined;
790
- prompt?: string | undefined;
791
792
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
793
  code_challenge?: string | undefined;
793
- ui_locales?: string | undefined;
794
794
  max_age?: number | undefined;
795
795
  acr_values?: string | undefined;
796
796
  claims?: {
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
921
921
  input: {
922
922
  form: {
923
923
  token: string;
924
- token_type_hint?: "refresh_token" | "access_token" | undefined;
924
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
925
925
  client_id?: string | undefined;
926
926
  client_secret?: string | undefined;
927
927
  };
928
928
  } & {
929
929
  json: {
930
930
  token: string;
931
- token_type_hint?: "refresh_token" | "access_token" | undefined;
931
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
932
932
  client_id?: string | undefined;
933
933
  client_secret?: string | undefined;
934
934
  };
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
940
940
  input: {
941
941
  form: {
942
942
  token: string;
943
- token_type_hint?: "refresh_token" | "access_token" | undefined;
943
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
944
944
  client_id?: string | undefined;
945
945
  client_secret?: string | undefined;
946
946
  };
947
947
  } & {
948
948
  json: {
949
949
  token: string;
950
- token_type_hint?: "refresh_token" | "access_token" | undefined;
950
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
951
951
  client_id?: string | undefined;
952
952
  client_secret?: string | undefined;
953
953
  };
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
962
962
  input: {
963
963
  form: {
964
964
  token: string;
965
- token_type_hint?: "refresh_token" | "access_token" | undefined;
965
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
966
966
  client_id?: string | undefined;
967
967
  client_secret?: string | undefined;
968
968
  };
969
969
  } & {
970
970
  json: {
971
971
  token: string;
972
- token_type_hint?: "refresh_token" | "access_token" | undefined;
972
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
78
78
  background_color: string;
79
79
  background_image_url: string;
80
80
  page_layout: "center" | "left" | "right";
81
- logo_placement?: "none" | "widget" | "chip" | undefined;
81
+ logo_placement?: "widget" | "chip" | "none" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
168
168
  background_color: string;
169
169
  background_image_url: string;
170
170
  page_layout: "center" | "left" | "right";
171
- logo_placement?: "none" | "widget" | "chip" | undefined;
171
+ logo_placement?: "widget" | "chip" | "none" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
247
247
  background_color: string;
248
248
  background_image_url: string;
249
249
  page_layout: "center" | "left" | "right";
250
- logo_placement?: "none" | "widget" | "chip" | undefined;
250
+ logo_placement?: "widget" | "chip" | "none" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
412
+ screen?: "login" | "signup" | "password" | "identifier" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
495
495
  background_color: string;
496
496
  background_image_url: string;
497
497
  page_layout: "center" | "left" | "right";
498
- logo_placement?: "none" | "widget" | "chip" | undefined;
498
+ logo_placement?: "widget" | "chip" | "none" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";