authhero 0.162.0 → 0.164.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.
@@ -3,6 +3,7 @@
3
3
  import { OpenAPIHono, z } from '@hono/zod-openapi';
4
4
  import { Context } from 'hono';
5
5
  import { FC, JSXNode, PropsWithChildren } from 'hono/jsx';
6
+ import { CountryCode } from 'libphonenumber-js';
6
7
 
7
8
  export declare const totalsSchema: z.ZodObject<{
8
9
  start: z.ZodNumber;
@@ -13991,6 +13992,30 @@ export interface DataAdapters {
13991
13992
  themes: ThemesAdapter;
13992
13993
  users: UserDataAdapter;
13993
13994
  }
13995
+ declare const auth0ClientSchema: z.ZodObject<{
13996
+ name: z.ZodString;
13997
+ version: z.ZodString;
13998
+ env: z.ZodOptional<z.ZodObject<{
13999
+ node: z.ZodOptional<z.ZodString>;
14000
+ }, "strip", z.ZodTypeAny, {
14001
+ node?: string | undefined;
14002
+ }, {
14003
+ node?: string | undefined;
14004
+ }>>;
14005
+ }, "strip", z.ZodTypeAny, {
14006
+ name: string;
14007
+ version: string;
14008
+ env?: {
14009
+ node?: string | undefined;
14010
+ } | undefined;
14011
+ }, {
14012
+ name: string;
14013
+ version: string;
14014
+ env?: {
14015
+ node?: string | undefined;
14016
+ } | undefined;
14017
+ }>;
14018
+ type Auth0Client$1 = z.infer<typeof auth0ClientSchema>;
13994
14019
  export type Variables = {
13995
14020
  tenant_id: string;
13996
14021
  ip: string;
@@ -14006,6 +14031,9 @@ export type Variables = {
14006
14031
  tenant_id: string;
14007
14032
  };
14008
14033
  loginSession?: LoginSession;
14034
+ auth0_client?: Auth0Client$1;
14035
+ useragent?: string;
14036
+ countryCode?: CountryCode;
14009
14037
  };
14010
14038
  export type Transaction = {
14011
14039
  locale: string;
@@ -16716,10 +16744,10 @@ export declare function init(config: AuthHeroConfig): {
16716
16744
  refresh_token?: string | undefined | undefined;
16717
16745
  profileData?: {
16718
16746
  [x: string]: any;
16747
+ name?: string | undefined;
16719
16748
  email?: string | undefined;
16720
16749
  given_name?: string | undefined;
16721
16750
  family_name?: string | undefined;
16722
- name?: string | undefined;
16723
16751
  username?: string | undefined;
16724
16752
  phone_number?: string | undefined;
16725
16753
  email_verified?: boolean | undefined;
@@ -16765,10 +16793,10 @@ export declare function init(config: AuthHeroConfig): {
16765
16793
  refresh_token?: string | undefined | undefined;
16766
16794
  profileData?: {
16767
16795
  [x: string]: any;
16796
+ name?: string | undefined;
16768
16797
  email?: string | undefined;
16769
16798
  given_name?: string | undefined;
16770
16799
  family_name?: string | undefined;
16771
- name?: string | undefined;
16772
16800
  username?: string | undefined;
16773
16801
  phone_number?: string | undefined;
16774
16802
  email_verified?: boolean | undefined;
@@ -16828,10 +16856,10 @@ export declare function init(config: AuthHeroConfig): {
16828
16856
  refresh_token?: string | undefined | undefined;
16829
16857
  profileData?: {
16830
16858
  [x: string]: any;
16859
+ name?: string | undefined;
16831
16860
  email?: string | undefined;
16832
16861
  given_name?: string | undefined;
16833
16862
  family_name?: string | undefined;
16834
- name?: string | undefined;
16835
16863
  username?: string | undefined;
16836
16864
  phone_number?: string | undefined;
16837
16865
  email_verified?: boolean | undefined;
@@ -16869,10 +16897,10 @@ export declare function init(config: AuthHeroConfig): {
16869
16897
  };
16870
16898
  } & {
16871
16899
  json: {
16900
+ name?: string | undefined;
16872
16901
  email?: string | undefined;
16873
16902
  given_name?: string | undefined;
16874
16903
  family_name?: string | undefined;
16875
- name?: string | undefined;
16876
16904
  picture?: string | undefined;
16877
16905
  locale?: string | undefined;
16878
16906
  user_id?: string | undefined;
@@ -16927,10 +16955,10 @@ export declare function init(config: AuthHeroConfig): {
16927
16955
  refresh_token?: string | undefined | undefined;
16928
16956
  profileData?: {
16929
16957
  [x: string]: any;
16958
+ name?: string | undefined;
16930
16959
  email?: string | undefined;
16931
16960
  given_name?: string | undefined;
16932
16961
  family_name?: string | undefined;
16933
- name?: string | undefined;
16934
16962
  username?: string | undefined;
16935
16963
  phone_number?: string | undefined;
16936
16964
  email_verified?: boolean | undefined;
@@ -16955,11 +16983,11 @@ export declare function init(config: AuthHeroConfig): {
16955
16983
  };
16956
16984
  } & {
16957
16985
  json: {
16986
+ name?: string | undefined;
16987
+ password?: string | undefined;
16958
16988
  email?: string | undefined;
16959
16989
  given_name?: string | undefined;
16960
16990
  family_name?: string | undefined;
16961
- name?: string | undefined;
16962
- password?: string | undefined;
16963
16991
  picture?: string | undefined;
16964
16992
  locale?: string | undefined;
16965
16993
  user_id?: string | undefined;
@@ -17063,10 +17091,10 @@ export declare function init(config: AuthHeroConfig): {
17063
17091
  refresh_token?: string | undefined | undefined;
17064
17092
  profileData?: {
17065
17093
  [x: string]: any;
17094
+ name?: string | undefined;
17066
17095
  email?: string | undefined;
17067
17096
  given_name?: string | undefined;
17068
17097
  family_name?: string | undefined;
17069
- name?: string | undefined;
17070
17098
  username?: string | undefined;
17071
17099
  phone_number?: string | undefined;
17072
17100
  email_verified?: boolean | undefined;
@@ -17684,8 +17712,8 @@ export declare function init(config: AuthHeroConfig): {
17684
17712
  connection?: string | undefined;
17685
17713
  response_type?: AuthorizationResponseType | undefined;
17686
17714
  audience?: string | undefined;
17687
- auth0Client?: string | undefined;
17688
17715
  scope?: string | undefined;
17716
+ auth0Client?: string | undefined;
17689
17717
  login_ticket?: string | undefined;
17690
17718
  screen_hint?: string | undefined;
17691
17719
  code_challenge?: string | undefined;
@@ -17713,8 +17741,8 @@ export declare function init(config: AuthHeroConfig): {
17713
17741
  connection?: string | undefined;
17714
17742
  response_type?: AuthorizationResponseType | undefined;
17715
17743
  audience?: string | undefined;
17716
- auth0Client?: string | undefined;
17717
17744
  scope?: string | undefined;
17745
+ auth0Client?: string | undefined;
17718
17746
  login_ticket?: string | undefined;
17719
17747
  screen_hint?: string | undefined;
17720
17748
  code_challenge?: string | undefined;
@@ -17742,8 +17770,8 @@ export declare function init(config: AuthHeroConfig): {
17742
17770
  connection?: string | undefined;
17743
17771
  response_type?: AuthorizationResponseType | undefined;
17744
17772
  audience?: string | undefined;
17745
- auth0Client?: string | undefined;
17746
17773
  scope?: string | undefined;
17774
+ auth0Client?: string | undefined;
17747
17775
  login_ticket?: string | undefined;
17748
17776
  screen_hint?: string | undefined;
17749
17777
  code_challenge?: string | undefined;
@@ -17779,8 +17807,8 @@ export declare function init(config: AuthHeroConfig): {
17779
17807
  connection?: string | undefined;
17780
17808
  response_type?: AuthorizationResponseType | undefined;
17781
17809
  audience?: string | undefined;
17782
- auth0Client?: string | undefined;
17783
17810
  scope?: string | undefined;
17811
+ auth0Client?: string | undefined;
17784
17812
  login_ticket?: string | undefined;
17785
17813
  screen_hint?: string | undefined;
17786
17814
  code_challenge?: string | undefined;
@@ -17810,8 +17838,8 @@ export declare function init(config: AuthHeroConfig): {
17810
17838
  connection?: string | undefined;
17811
17839
  response_type?: AuthorizationResponseType | undefined;
17812
17840
  audience?: string | undefined;
17813
- auth0Client?: string | undefined;
17814
17841
  scope?: string | undefined;
17842
+ auth0Client?: string | undefined;
17815
17843
  login_ticket?: string | undefined;
17816
17844
  screen_hint?: string | undefined;
17817
17845
  code_challenge?: string | undefined;
@@ -17981,8 +18009,8 @@ export declare function init(config: AuthHeroConfig): {
17981
18009
  $post: {
17982
18010
  input: {
17983
18011
  json: {
17984
- email: string;
17985
18012
  password: string;
18013
+ email: string;
17986
18014
  client_id: string;
17987
18015
  connection: "Username-Password-Authentication";
17988
18016
  };