authhero 5.9.0 → 5.9.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.
@@ -10119,9 +10119,76 @@ export declare function init(config: AuthHeroConfig): {
10119
10119
  "tenant-id"?: string | undefined;
10120
10120
  };
10121
10121
  };
10122
- output: Response;
10122
+ output: {
10123
+ connection: string;
10124
+ email_verified: boolean;
10125
+ created_at: string;
10126
+ updated_at: string;
10127
+ user_id: string;
10128
+ provider: string;
10129
+ is_social: boolean;
10130
+ login_count: number;
10131
+ name?: string | undefined;
10132
+ username?: string | undefined;
10133
+ given_name?: string | undefined;
10134
+ phone_number?: string | undefined;
10135
+ phone_verified?: boolean | undefined;
10136
+ family_name?: string | undefined;
10137
+ profileData?: string | undefined;
10138
+ address?: {
10139
+ formatted?: string | undefined;
10140
+ street_address?: string | undefined;
10141
+ locality?: string | undefined;
10142
+ region?: string | undefined;
10143
+ postal_code?: string | undefined;
10144
+ country?: string | undefined;
10145
+ } | undefined;
10146
+ nickname?: string | undefined;
10147
+ picture?: string | undefined;
10148
+ locale?: string | undefined;
10149
+ linked_to?: string | undefined;
10150
+ app_metadata?: any;
10151
+ user_metadata?: any;
10152
+ middle_name?: string | undefined;
10153
+ preferred_username?: string | undefined;
10154
+ profile?: string | undefined;
10155
+ website?: string | undefined;
10156
+ gender?: string | undefined;
10157
+ birthdate?: string | undefined;
10158
+ zoneinfo?: string | undefined;
10159
+ verify_email?: boolean | undefined;
10160
+ last_ip?: string | undefined;
10161
+ last_login?: string | undefined;
10162
+ registration_completed_at?: string | undefined;
10163
+ email?: string | undefined;
10164
+ identities?: {
10165
+ connection: string;
10166
+ user_id: string;
10167
+ provider: string;
10168
+ isSocial: boolean;
10169
+ email?: string | undefined;
10170
+ email_verified?: boolean | undefined;
10171
+ phone_number?: string | undefined;
10172
+ phone_verified?: boolean | undefined;
10173
+ username?: string | undefined;
10174
+ access_token?: string | undefined;
10175
+ access_token_secret?: string | undefined;
10176
+ refresh_token?: string | undefined;
10177
+ profileData?: {
10178
+ [x: string]: any;
10179
+ email?: string | undefined;
10180
+ email_verified?: boolean | undefined;
10181
+ name?: string | undefined;
10182
+ username?: string | undefined;
10183
+ given_name?: string | undefined;
10184
+ phone_number?: string | undefined;
10185
+ phone_verified?: boolean | undefined;
10186
+ family_name?: string | undefined;
10187
+ } | undefined;
10188
+ }[] | undefined;
10189
+ }[];
10123
10190
  outputFormat: "json";
10124
- status: import("hono/utils/http-status").StatusCode;
10191
+ status: 200;
10125
10192
  };
10126
10193
  };
10127
10194
  }, "/users-by-email"> & import("hono/types").MergeSchemaPath<{
@@ -15640,11 +15707,35 @@ export declare function init(config: AuthHeroConfig): {
15640
15707
  Bindings: Bindings;
15641
15708
  Variables: Variables;
15642
15709
  }, import("hono/types").MergeSchemaPath<{
15643
- [x: string]: {
15710
+ "/guardian/enroll": {
15644
15711
  $get: {
15645
15712
  input: {
15646
15713
  query: {
15647
- state: string;
15714
+ ticket: string;
15715
+ };
15716
+ };
15717
+ output: Response;
15718
+ outputFormat: "json";
15719
+ status: import("hono/utils/http-status").StatusCode;
15720
+ } | {
15721
+ input: {
15722
+ query: {
15723
+ ticket: string;
15724
+ };
15725
+ };
15726
+ output: {};
15727
+ outputFormat: string;
15728
+ status: 302;
15729
+ };
15730
+ };
15731
+ } & {
15732
+ "/accept-invitation": {
15733
+ $get: {
15734
+ input: {
15735
+ query: {
15736
+ invitation?: string | undefined;
15737
+ organization?: string | undefined;
15738
+ state?: string | undefined;
15648
15739
  error?: string | undefined;
15649
15740
  error_description?: string | undefined;
15650
15741
  ui_locales?: string | undefined;
@@ -15653,10 +15744,24 @@ export declare function init(config: AuthHeroConfig): {
15653
15744
  output: Response;
15654
15745
  outputFormat: "json";
15655
15746
  status: import("hono/utils/http-status").StatusCode;
15747
+ } | {
15748
+ input: {
15749
+ query: {
15750
+ invitation?: string | undefined;
15751
+ organization?: string | undefined;
15752
+ state?: string | undefined;
15753
+ error?: string | undefined;
15754
+ error_description?: string | undefined;
15755
+ ui_locales?: string | undefined;
15756
+ };
15757
+ };
15758
+ output: {};
15759
+ outputFormat: string;
15760
+ status: 302;
15656
15761
  };
15657
15762
  };
15658
15763
  } & {
15659
- [x: string]: {
15764
+ "/accept-invitation": {
15660
15765
  $post: {
15661
15766
  input: {
15662
15767
  query: {
@@ -15688,11 +15793,12 @@ export declare function init(config: AuthHeroConfig): {
15688
15793
  };
15689
15794
  };
15690
15795
  } & {
15691
- "/guardian/enroll": {
15796
+ "/tickets/email-verification": {
15692
15797
  $get: {
15693
15798
  input: {
15694
15799
  query: {
15695
15800
  ticket: string;
15801
+ tenant_id?: string | undefined;
15696
15802
  };
15697
15803
  };
15698
15804
  output: Response;
@@ -15702,6 +15808,7 @@ export declare function init(config: AuthHeroConfig): {
15702
15808
  input: {
15703
15809
  query: {
15704
15810
  ticket: string;
15811
+ tenant_id?: string | undefined;
15705
15812
  };
15706
15813
  };
15707
15814
  output: {};
@@ -15709,6 +15816,130 @@ export declare function init(config: AuthHeroConfig): {
15709
15816
  status: 302;
15710
15817
  };
15711
15818
  };
15819
+ } & {
15820
+ "/tickets/password-change": {
15821
+ $get: {
15822
+ input: {
15823
+ query: {
15824
+ ticket: string;
15825
+ tenant_id?: string | undefined;
15826
+ };
15827
+ };
15828
+ output: {};
15829
+ outputFormat: string;
15830
+ status: 302;
15831
+ };
15832
+ };
15833
+ } & {
15834
+ "/:screen{.+}": {
15835
+ $get: {
15836
+ input: {
15837
+ param: {
15838
+ screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15839
+ };
15840
+ } & {
15841
+ query: {
15842
+ state: string;
15843
+ error?: string | undefined;
15844
+ error_description?: string | undefined;
15845
+ ui_locales?: string | undefined;
15846
+ };
15847
+ };
15848
+ output: Response;
15849
+ outputFormat: "json";
15850
+ status: import("hono/utils/http-status").StatusCode;
15851
+ } | {
15852
+ input: {
15853
+ param: {
15854
+ screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15855
+ };
15856
+ } & {
15857
+ query: {
15858
+ state: string;
15859
+ error?: string | undefined;
15860
+ error_description?: string | undefined;
15861
+ ui_locales?: string | undefined;
15862
+ };
15863
+ };
15864
+ output: {};
15865
+ outputFormat: string;
15866
+ status: 302;
15867
+ } | {
15868
+ input: {
15869
+ param: {
15870
+ screen: "signup" | "login" | "reset-password" | "account" | "enter-password" | "impersonate" | "try-connection-result" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15871
+ };
15872
+ } & {
15873
+ query: {
15874
+ state: string;
15875
+ error?: string | undefined;
15876
+ error_description?: string | undefined;
15877
+ ui_locales?: string | undefined;
15878
+ };
15879
+ };
15880
+ output: {};
15881
+ outputFormat: string;
15882
+ status: 400;
15883
+ };
15884
+ };
15885
+ } & {
15886
+ "/:screen{.+}": {
15887
+ $post: {
15888
+ input: {
15889
+ param: {
15890
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15891
+ };
15892
+ } & {
15893
+ query: {
15894
+ state: string;
15895
+ error?: string | undefined;
15896
+ error_description?: string | undefined;
15897
+ ui_locales?: string | undefined;
15898
+ };
15899
+ } & {
15900
+ form: Record<string, string>;
15901
+ };
15902
+ output: Response;
15903
+ outputFormat: "json";
15904
+ status: import("hono/utils/http-status").StatusCode;
15905
+ } | {
15906
+ input: {
15907
+ param: {
15908
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15909
+ };
15910
+ } & {
15911
+ query: {
15912
+ state: string;
15913
+ error?: string | undefined;
15914
+ error_description?: string | undefined;
15915
+ ui_locales?: string | undefined;
15916
+ };
15917
+ } & {
15918
+ form: Record<string, string>;
15919
+ };
15920
+ output: {};
15921
+ outputFormat: string;
15922
+ status: 302;
15923
+ } | {
15924
+ input: {
15925
+ param: {
15926
+ screen: "signup" | "login" | "reset-password" | "enter-password" | "impersonate" | "reset-password/request" | "reset-password/code" | "login/identifier" | "login/email-otp-challenge" | "login/sms-otp-challenge" | "login/login-passwordless-identifier" | "mfa/login-options" | "mfa/totp-challenge" | "mfa/totp-enrollment" | "mfa/phone-challenge" | "mfa/phone-enrollment" | "passkey/challenge" | "passkey/enrollment" | "passkey/enrollment-nudge" | "account/profile" | "account/security" | "account/security/totp-enrollment" | "account/security/phone-enrollment" | "account/linked" | "account/delete" | "account/passkeys" | "connect/start" | "connect/select-tenant";
15927
+ };
15928
+ } & {
15929
+ query: {
15930
+ state: string;
15931
+ error?: string | undefined;
15932
+ error_description?: string | undefined;
15933
+ ui_locales?: string | undefined;
15934
+ };
15935
+ } & {
15936
+ form: Record<string, string>;
15937
+ };
15938
+ output: {};
15939
+ outputFormat: string;
15940
+ status: 400;
15941
+ };
15942
+ };
15712
15943
  }, "/"> & import("hono/types").MergeSchemaPath<{
15713
15944
  "/:formId/nodes/:nodeId": {
15714
15945
  $get: {
@@ -10077,9 +10077,76 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
10077
10077
  "tenant-id"?: string | undefined;
10078
10078
  };
10079
10079
  };
10080
- output: Response;
10080
+ output: {
10081
+ connection: string;
10082
+ email_verified: boolean;
10083
+ created_at: string;
10084
+ updated_at: string;
10085
+ user_id: string;
10086
+ provider: string;
10087
+ is_social: boolean;
10088
+ login_count: number;
10089
+ name?: string | undefined;
10090
+ username?: string | undefined;
10091
+ given_name?: string | undefined;
10092
+ phone_number?: string | undefined;
10093
+ phone_verified?: boolean | undefined;
10094
+ family_name?: string | undefined;
10095
+ profileData?: string | undefined;
10096
+ address?: {
10097
+ formatted?: string | undefined;
10098
+ street_address?: string | undefined;
10099
+ locality?: string | undefined;
10100
+ region?: string | undefined;
10101
+ postal_code?: string | undefined;
10102
+ country?: string | undefined;
10103
+ } | undefined;
10104
+ nickname?: string | undefined;
10105
+ picture?: string | undefined;
10106
+ locale?: string | undefined;
10107
+ linked_to?: string | undefined;
10108
+ app_metadata?: any;
10109
+ user_metadata?: any;
10110
+ middle_name?: string | undefined;
10111
+ preferred_username?: string | undefined;
10112
+ profile?: string | undefined;
10113
+ website?: string | undefined;
10114
+ gender?: string | undefined;
10115
+ birthdate?: string | undefined;
10116
+ zoneinfo?: string | undefined;
10117
+ verify_email?: boolean | undefined;
10118
+ last_ip?: string | undefined;
10119
+ last_login?: string | undefined;
10120
+ registration_completed_at?: string | undefined;
10121
+ email?: string | undefined;
10122
+ identities?: {
10123
+ connection: string;
10124
+ user_id: string;
10125
+ provider: string;
10126
+ isSocial: boolean;
10127
+ email?: string | undefined;
10128
+ email_verified?: boolean | undefined;
10129
+ phone_number?: string | undefined;
10130
+ phone_verified?: boolean | undefined;
10131
+ username?: string | undefined;
10132
+ access_token?: string | undefined;
10133
+ access_token_secret?: string | undefined;
10134
+ refresh_token?: string | undefined;
10135
+ profileData?: {
10136
+ [x: string]: any;
10137
+ email?: string | undefined;
10138
+ email_verified?: boolean | undefined;
10139
+ name?: string | undefined;
10140
+ username?: string | undefined;
10141
+ given_name?: string | undefined;
10142
+ phone_number?: string | undefined;
10143
+ phone_verified?: boolean | undefined;
10144
+ family_name?: string | undefined;
10145
+ } | undefined;
10146
+ }[] | undefined;
10147
+ }[];
10081
10148
  outputFormat: "json";
10082
- status: import("hono/utils/http-status").StatusCode;
10149
+ status: 200;
10083
10150
  };
10084
10151
  };
10085
10152
  }, "/users-by-email"> & import("hono/types").MergeSchemaPath<{
@@ -15,9 +15,76 @@ export declare const usersByEmailRoutes: OpenAPIHono<{
15
15
  "tenant-id"?: string | undefined;
16
16
  };
17
17
  };
18
- output: Response;
18
+ output: {
19
+ connection: string;
20
+ email_verified: boolean;
21
+ created_at: string;
22
+ updated_at: string;
23
+ user_id: string;
24
+ provider: string;
25
+ is_social: boolean;
26
+ login_count: number;
27
+ name?: string | undefined;
28
+ username?: string | undefined;
29
+ given_name?: string | undefined;
30
+ phone_number?: string | undefined;
31
+ phone_verified?: boolean | undefined;
32
+ family_name?: string | undefined;
33
+ profileData?: string | undefined;
34
+ address?: {
35
+ formatted?: string | undefined;
36
+ street_address?: string | undefined;
37
+ locality?: string | undefined;
38
+ region?: string | undefined;
39
+ postal_code?: string | undefined;
40
+ country?: string | undefined;
41
+ } | undefined;
42
+ nickname?: string | undefined;
43
+ picture?: string | undefined;
44
+ locale?: string | undefined;
45
+ linked_to?: string | undefined;
46
+ app_metadata?: any;
47
+ user_metadata?: any;
48
+ middle_name?: string | undefined;
49
+ preferred_username?: string | undefined;
50
+ profile?: string | undefined;
51
+ website?: string | undefined;
52
+ gender?: string | undefined;
53
+ birthdate?: string | undefined;
54
+ zoneinfo?: string | undefined;
55
+ verify_email?: boolean | undefined;
56
+ last_ip?: string | undefined;
57
+ last_login?: string | undefined;
58
+ registration_completed_at?: string | undefined;
59
+ email?: string | undefined;
60
+ identities?: {
61
+ connection: string;
62
+ user_id: string;
63
+ provider: string;
64
+ isSocial: boolean;
65
+ email?: string | undefined;
66
+ email_verified?: boolean | undefined;
67
+ phone_number?: string | undefined;
68
+ phone_verified?: boolean | undefined;
69
+ username?: string | undefined;
70
+ access_token?: string | undefined;
71
+ access_token_secret?: string | undefined;
72
+ refresh_token?: string | undefined;
73
+ profileData?: {
74
+ [x: string]: any;
75
+ email?: string | undefined;
76
+ email_verified?: boolean | undefined;
77
+ name?: string | undefined;
78
+ username?: string | undefined;
79
+ given_name?: string | undefined;
80
+ phone_number?: string | undefined;
81
+ phone_verified?: boolean | undefined;
82
+ family_name?: string | undefined;
83
+ } | undefined;
84
+ }[] | undefined;
85
+ }[];
19
86
  outputFormat: "json";
20
- status: import("hono/utils/http-status").StatusCode;
87
+ status: 200;
21
88
  };
22
89
  };
23
90
  }, "/">;