authhero 5.9.0 → 5.10.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.
- package/dist/authhero.cjs +135 -135
- package/dist/authhero.d.ts +335 -104
- package/dist/authhero.mjs +16339 -16678
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +335 -104
- package/dist/types/routes/auth-api/authorize.d.ts +14 -14
- package/dist/types/routes/auth-api/index.d.ts +52 -52
- package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +73 -6
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/users-by-email.d.ts +69 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +168 -4
- package/dist/types/routes/universal-login/u2-routes.d.ts +168 -4
- package/dist/types/utils/define-route.d.ts +20 -0
- package/package.json +6 -6
|
@@ -71,9 +71,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
71
71
|
request_uri?: string | undefined;
|
|
72
72
|
};
|
|
73
73
|
};
|
|
74
|
-
output: {
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
output: string | {
|
|
75
|
+
access_token: string;
|
|
76
|
+
token_type: string;
|
|
77
|
+
expires_in: number;
|
|
78
|
+
id_token?: string | undefined;
|
|
79
|
+
scope?: string | undefined;
|
|
80
|
+
state?: string | undefined;
|
|
81
|
+
refresh_token?: string | undefined;
|
|
82
|
+
};
|
|
83
|
+
outputFormat: "json";
|
|
84
|
+
status: 200;
|
|
77
85
|
} | {
|
|
78
86
|
input: {
|
|
79
87
|
query: {
|
|
@@ -105,17 +113,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
|
|
|
105
113
|
request_uri?: string | undefined;
|
|
106
114
|
};
|
|
107
115
|
};
|
|
108
|
-
output:
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
expires_in: number;
|
|
112
|
-
id_token?: string | undefined;
|
|
113
|
-
scope?: string | undefined;
|
|
114
|
-
state?: string | undefined;
|
|
115
|
-
refresh_token?: string | undefined;
|
|
116
|
-
};
|
|
117
|
-
outputFormat: "json";
|
|
118
|
-
status: 200;
|
|
116
|
+
output: {};
|
|
117
|
+
outputFormat: string;
|
|
118
|
+
status: 302;
|
|
119
119
|
} | {
|
|
120
120
|
input: {
|
|
121
121
|
query: {
|
|
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
288
288
|
scope?: string | undefined;
|
|
289
289
|
grant_types?: string[] | undefined;
|
|
290
290
|
response_types?: string[] | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "
|
|
291
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
jwks_uri?: string | undefined;
|
|
293
293
|
jwks?: Record<string, unknown> | undefined;
|
|
294
294
|
software_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
377
377
|
scope?: string | undefined;
|
|
378
378
|
grant_types?: string[] | undefined;
|
|
379
379
|
response_types?: string[] | undefined;
|
|
380
|
-
token_endpoint_auth_method?: "
|
|
380
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
381
381
|
jwks_uri?: string | undefined;
|
|
382
382
|
jwks?: Record<string, unknown> | undefined;
|
|
383
383
|
software_id?: string | undefined;
|
|
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
434
434
|
client_id: string;
|
|
435
435
|
redirect_url?: string | undefined;
|
|
436
436
|
login_hint?: string | undefined;
|
|
437
|
-
screen_hint?: "
|
|
437
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
output: {};
|
|
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
446
446
|
client_id: string;
|
|
447
447
|
redirect_url?: string | undefined;
|
|
448
448
|
login_hint?: string | undefined;
|
|
449
|
-
screen_hint?: "
|
|
449
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
output: {
|
|
@@ -523,9 +523,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
523
523
|
request_uri?: string | undefined;
|
|
524
524
|
};
|
|
525
525
|
};
|
|
526
|
-
output: {
|
|
527
|
-
|
|
528
|
-
|
|
526
|
+
output: string | {
|
|
527
|
+
access_token: string;
|
|
528
|
+
token_type: string;
|
|
529
|
+
expires_in: number;
|
|
530
|
+
id_token?: string | undefined;
|
|
531
|
+
scope?: string | undefined;
|
|
532
|
+
state?: string | undefined;
|
|
533
|
+
refresh_token?: string | undefined;
|
|
534
|
+
};
|
|
535
|
+
outputFormat: "json";
|
|
536
|
+
status: 200;
|
|
529
537
|
} | {
|
|
530
538
|
input: {
|
|
531
539
|
query: {
|
|
@@ -557,17 +565,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
557
565
|
request_uri?: string | undefined;
|
|
558
566
|
};
|
|
559
567
|
};
|
|
560
|
-
output:
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
expires_in: number;
|
|
564
|
-
id_token?: string | undefined;
|
|
565
|
-
scope?: string | undefined;
|
|
566
|
-
state?: string | undefined;
|
|
567
|
-
refresh_token?: string | undefined;
|
|
568
|
-
};
|
|
569
|
-
outputFormat: "json";
|
|
570
|
-
status: 200;
|
|
568
|
+
output: {};
|
|
569
|
+
outputFormat: string;
|
|
570
|
+
status: 302;
|
|
571
571
|
} | {
|
|
572
572
|
input: {
|
|
573
573
|
query: {
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
+
code_challenge?: string | undefined;
|
|
727
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
728
|
+
redirect_uri?: string | undefined;
|
|
729
|
+
nonce?: string | undefined;
|
|
726
730
|
state?: string | undefined;
|
|
727
|
-
|
|
731
|
+
act_as?: string | undefined;
|
|
728
732
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
729
733
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
730
|
-
|
|
731
|
-
username?: string | undefined;
|
|
734
|
+
audience?: string | undefined;
|
|
732
735
|
organization?: string | undefined;
|
|
733
|
-
|
|
734
|
-
redirect_uri?: string | undefined;
|
|
735
|
-
act_as?: string | undefined;
|
|
736
|
+
scope?: string | undefined;
|
|
736
737
|
prompt?: string | undefined;
|
|
737
|
-
|
|
738
|
-
code_challenge?: string | undefined;
|
|
738
|
+
username?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
+
code_challenge?: string | undefined;
|
|
763
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
764
|
+
redirect_uri?: string | undefined;
|
|
765
|
+
nonce?: string | undefined;
|
|
762
766
|
state?: string | undefined;
|
|
763
|
-
|
|
767
|
+
act_as?: string | undefined;
|
|
764
768
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
765
769
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
766
|
-
|
|
767
|
-
username?: string | undefined;
|
|
770
|
+
audience?: string | undefined;
|
|
768
771
|
organization?: string | undefined;
|
|
769
|
-
|
|
770
|
-
redirect_uri?: string | undefined;
|
|
771
|
-
act_as?: string | undefined;
|
|
772
|
+
scope?: string | undefined;
|
|
772
773
|
prompt?: string | undefined;
|
|
773
|
-
|
|
774
|
-
code_challenge?: string | undefined;
|
|
774
|
+
username?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
903
903
|
input: {
|
|
904
904
|
form: {
|
|
905
905
|
token: string;
|
|
906
|
-
token_type_hint?: "
|
|
906
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
907
907
|
client_id?: string | undefined;
|
|
908
908
|
client_secret?: string | undefined;
|
|
909
909
|
};
|
|
910
910
|
} & {
|
|
911
911
|
json: {
|
|
912
912
|
token: string;
|
|
913
|
-
token_type_hint?: "
|
|
913
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
914
914
|
client_id?: string | undefined;
|
|
915
915
|
client_secret?: string | undefined;
|
|
916
916
|
};
|
|
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
922
922
|
input: {
|
|
923
923
|
form: {
|
|
924
924
|
token: string;
|
|
925
|
-
token_type_hint?: "
|
|
925
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
926
926
|
client_id?: string | undefined;
|
|
927
927
|
client_secret?: string | undefined;
|
|
928
928
|
};
|
|
929
929
|
} & {
|
|
930
930
|
json: {
|
|
931
931
|
token: string;
|
|
932
|
-
token_type_hint?: "
|
|
932
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
933
933
|
client_id?: string | undefined;
|
|
934
934
|
client_secret?: string | undefined;
|
|
935
935
|
};
|
|
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
944
944
|
input: {
|
|
945
945
|
form: {
|
|
946
946
|
token: string;
|
|
947
|
-
token_type_hint?: "
|
|
947
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
948
948
|
client_id?: string | undefined;
|
|
949
949
|
client_secret?: string | undefined;
|
|
950
950
|
};
|
|
951
951
|
} & {
|
|
952
952
|
json: {
|
|
953
953
|
token: string;
|
|
954
|
-
token_type_hint?: "
|
|
954
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
955
955
|
client_id?: string | undefined;
|
|
956
956
|
client_secret?: string | undefined;
|
|
957
957
|
};
|
|
@@ -1001,7 +1001,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1001
1001
|
client_id: string;
|
|
1002
1002
|
username: string;
|
|
1003
1003
|
otp: string;
|
|
1004
|
-
realm: "
|
|
1004
|
+
realm: "email" | "sms";
|
|
1005
1005
|
};
|
|
1006
1006
|
} & {
|
|
1007
1007
|
json: {
|
|
@@ -1037,7 +1037,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1037
1037
|
client_id: string;
|
|
1038
1038
|
username: string;
|
|
1039
1039
|
otp: string;
|
|
1040
|
-
realm: "
|
|
1040
|
+
realm: "email" | "sms";
|
|
1041
1041
|
};
|
|
1042
1042
|
};
|
|
1043
1043
|
output: {};
|
|
@@ -1078,7 +1078,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1078
1078
|
client_id: string;
|
|
1079
1079
|
username: string;
|
|
1080
1080
|
otp: string;
|
|
1081
|
-
realm: "
|
|
1081
|
+
realm: "email" | "sms";
|
|
1082
1082
|
};
|
|
1083
1083
|
} & {
|
|
1084
1084
|
json: {
|
|
@@ -1114,7 +1114,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1114
1114
|
client_id: string;
|
|
1115
1115
|
username: string;
|
|
1116
1116
|
otp: string;
|
|
1117
|
-
realm: "
|
|
1117
|
+
realm: "email" | "sms";
|
|
1118
1118
|
};
|
|
1119
1119
|
};
|
|
1120
1120
|
output: {
|
|
@@ -1163,7 +1163,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1163
1163
|
client_id: string;
|
|
1164
1164
|
username: string;
|
|
1165
1165
|
otp: string;
|
|
1166
|
-
realm: "
|
|
1166
|
+
realm: "email" | "sms";
|
|
1167
1167
|
};
|
|
1168
1168
|
} & {
|
|
1169
1169
|
json: {
|
|
@@ -1199,7 +1199,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1199
1199
|
client_id: string;
|
|
1200
1200
|
username: string;
|
|
1201
1201
|
otp: string;
|
|
1202
|
-
realm: "
|
|
1202
|
+
realm: "email" | "sms";
|
|
1203
1203
|
};
|
|
1204
1204
|
};
|
|
1205
1205
|
output: {
|
|
@@ -1243,7 +1243,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1243
1243
|
client_id: string;
|
|
1244
1244
|
username: string;
|
|
1245
1245
|
otp: string;
|
|
1246
|
-
realm: "
|
|
1246
|
+
realm: "email" | "sms";
|
|
1247
1247
|
};
|
|
1248
1248
|
} & {
|
|
1249
1249
|
json: {
|
|
@@ -1279,7 +1279,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1279
1279
|
client_id: string;
|
|
1280
1280
|
username: string;
|
|
1281
1281
|
otp: string;
|
|
1282
|
-
realm: "
|
|
1282
|
+
realm: "email" | "sms";
|
|
1283
1283
|
};
|
|
1284
1284
|
};
|
|
1285
1285
|
output: {
|
|
@@ -1323,7 +1323,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1323
1323
|
client_id: string;
|
|
1324
1324
|
username: string;
|
|
1325
1325
|
otp: string;
|
|
1326
|
-
realm: "
|
|
1326
|
+
realm: "email" | "sms";
|
|
1327
1327
|
};
|
|
1328
1328
|
} & {
|
|
1329
1329
|
json: {
|
|
@@ -1359,7 +1359,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1359
1359
|
client_id: string;
|
|
1360
1360
|
username: string;
|
|
1361
1361
|
otp: string;
|
|
1362
|
-
realm: "
|
|
1362
|
+
realm: "email" | "sms";
|
|
1363
1363
|
};
|
|
1364
1364
|
};
|
|
1365
1365
|
output: {
|
|
@@ -1532,7 +1532,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1532
1532
|
};
|
|
1533
1533
|
output: {};
|
|
1534
1534
|
outputFormat: string;
|
|
1535
|
-
status:
|
|
1535
|
+
status: 302;
|
|
1536
1536
|
} | {
|
|
1537
1537
|
input: {
|
|
1538
1538
|
query: {
|
|
@@ -1546,7 +1546,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1546
1546
|
};
|
|
1547
1547
|
output: {};
|
|
1548
1548
|
outputFormat: string;
|
|
1549
|
-
status:
|
|
1549
|
+
status: 200;
|
|
1550
1550
|
} | {
|
|
1551
1551
|
input: {
|
|
1552
1552
|
query: {
|
|
@@ -22,8 +22,8 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
22
22
|
username?: string | undefined;
|
|
23
23
|
organization?: string | undefined;
|
|
24
24
|
nonce?: string | undefined;
|
|
25
|
-
redirect_uri?: string | undefined;
|
|
26
25
|
act_as?: string | undefined;
|
|
26
|
+
redirect_uri?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
29
|
code_challenge?: string | undefined;
|
|
@@ -58,8 +58,8 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
58
58
|
username?: string | undefined;
|
|
59
59
|
organization?: string | undefined;
|
|
60
60
|
nonce?: string | undefined;
|
|
61
|
-
redirect_uri?: string | undefined;
|
|
62
61
|
act_as?: string | undefined;
|
|
62
|
+
redirect_uri?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
65
|
code_challenge?: string | undefined;
|
|
@@ -6565,7 +6565,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
6565
6565
|
};
|
|
6566
6566
|
};
|
|
6567
6567
|
output: {
|
|
6568
|
-
prompt: "
|
|
6568
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
6569
6569
|
language: string;
|
|
6570
6570
|
}[];
|
|
6571
6571
|
outputFormat: "json";
|
|
@@ -6603,7 +6603,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
6603
6603
|
$get: {
|
|
6604
6604
|
input: {
|
|
6605
6605
|
param: {
|
|
6606
|
-
prompt: "
|
|
6606
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
6607
6607
|
language: string;
|
|
6608
6608
|
};
|
|
6609
6609
|
} & {
|
|
@@ -6625,7 +6625,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
6625
6625
|
$put: {
|
|
6626
6626
|
input: {
|
|
6627
6627
|
param: {
|
|
6628
|
-
prompt: "
|
|
6628
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
6629
6629
|
language: string;
|
|
6630
6630
|
};
|
|
6631
6631
|
} & {
|
|
@@ -6649,7 +6649,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
6649
6649
|
$delete: {
|
|
6650
6650
|
input: {
|
|
6651
6651
|
param: {
|
|
6652
|
-
prompt: "
|
|
6652
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
6653
6653
|
language: string;
|
|
6654
6654
|
};
|
|
6655
6655
|
} & {
|
|
@@ -10077,9 +10077,76 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
10077
10077
|
"tenant-id"?: string | undefined;
|
|
10078
10078
|
};
|
|
10079
10079
|
};
|
|
10080
|
-
output:
|
|
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:
|
|
10149
|
+
status: 200;
|
|
10083
10150
|
};
|
|
10084
10151
|
};
|
|
10085
10152
|
}, "/users-by-email"> & import("hono/types").MergeSchemaPath<{
|
|
@@ -50,7 +50,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
output: {
|
|
53
|
-
prompt: "
|
|
53
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
54
54
|
language: string;
|
|
55
55
|
}[];
|
|
56
56
|
outputFormat: "json";
|
|
@@ -88,7 +88,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
88
88
|
$get: {
|
|
89
89
|
input: {
|
|
90
90
|
param: {
|
|
91
|
-
prompt: "
|
|
91
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
92
92
|
language: string;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
@@ -110,7 +110,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
110
110
|
$put: {
|
|
111
111
|
input: {
|
|
112
112
|
param: {
|
|
113
|
-
prompt: "
|
|
113
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
114
114
|
language: string;
|
|
115
115
|
};
|
|
116
116
|
} & {
|
|
@@ -134,7 +134,7 @@ export declare const promptsRoutes: OpenAPIHono<{
|
|
|
134
134
|
$delete: {
|
|
135
135
|
input: {
|
|
136
136
|
param: {
|
|
137
|
-
prompt: "
|
|
137
|
+
prompt: "mfa" | "organizations" | "signup" | "status" | "common" | "consent" | "device-flow" | "email-otp-challenge" | "email-verification" | "invitation" | "login" | "login-id" | "login-password" | "login-passwordless" | "mfa-email" | "mfa-otp" | "mfa-phone" | "mfa-login-options" | "mfa-push" | "mfa-recovery-code" | "mfa-voice" | "mfa-webauthn" | "passkeys" | "reset-password" | "signup-id" | "signup-password" | "captcha" | "custom-form";
|
|
138
138
|
language: string;
|
|
139
139
|
};
|
|
140
140
|
} & {
|
|
@@ -15,9 +15,76 @@ export declare const usersByEmailRoutes: OpenAPIHono<{
|
|
|
15
15
|
"tenant-id"?: string | undefined;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
output:
|
|
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:
|
|
87
|
+
status: 200;
|
|
21
88
|
};
|
|
22
89
|
};
|
|
23
90
|
}, "/">;
|