authhero 9.9.1 → 9.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/assets/u/widget/index.esm.js +1 -1
- package/dist/authhero.cjs +146 -146
- package/dist/authhero.d.ts +313 -140
- package/dist/authhero.mjs +14974 -14666
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/authorization-code.d.ts +2 -1
- package/dist/types/authentication-flows/client-credentials.d.ts +2 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -5
- package/dist/types/authentication-flows/refresh-token.d.ts +2 -1
- package/dist/types/authentication-flows/token-exchange.d.ts +2 -1
- package/dist/types/helpers/client-assertion-replay.d.ts +21 -0
- package/dist/types/helpers/client-assertion.d.ts +24 -2
- package/dist/types/helpers/default-destinations.d.ts +7 -1
- package/dist/types/helpers/outbox-destinations/index.d.ts +1 -0
- package/dist/types/helpers/outbox-destinations/pipeline.d.ts +63 -0
- package/dist/types/helpers/outbox-relay.d.ts +3 -0
- package/dist/types/helpers/reserved-claims.d.ts +64 -0
- package/dist/types/helpers/run-outbox-relay.d.ts +8 -0
- package/dist/types/index.d.ts +150 -137
- package/dist/types/routes/auth-api/index.d.ts +44 -44
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/token.d.ts +24 -24
- package/dist/types/routes/management-api/action-triggers.d.ts +0 -2
- package/dist/types/routes/management-api/actions.d.ts +0 -7
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +21 -1
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/index.d.ts +122 -111
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +11 -11
- package/dist/types/routes/management-api/users.d.ts +24 -24
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/types/AuthHeroConfig.d.ts +27 -0
- package/dist/types/types/Bindings.d.ts +12 -0
- package/dist/types/types/OutboxMetrics.d.ts +47 -0
- package/dist/types/types/index.d.ts +1 -0
- package/package.json +6 -6
|
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
301
301
|
scope?: string | undefined;
|
|
302
302
|
grant_types?: string[] | undefined;
|
|
303
303
|
response_types?: string[] | undefined;
|
|
304
|
-
token_endpoint_auth_method?: "
|
|
304
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
305
305
|
jwks_uri?: string | undefined;
|
|
306
306
|
jwks?: Record<string, unknown> | undefined;
|
|
307
307
|
software_id?: string | undefined;
|
|
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
390
390
|
scope?: string | undefined;
|
|
391
391
|
grant_types?: string[] | undefined;
|
|
392
392
|
response_types?: string[] | undefined;
|
|
393
|
-
token_endpoint_auth_method?: "
|
|
393
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -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?: "
|
|
450
|
+
screen_hint?: "change-email" | "account" | "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?: "
|
|
462
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -736,20 +736,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
scope?: string | undefined;
|
|
740
|
-
state?: string | undefined;
|
|
741
|
-
act_as?: string | undefined;
|
|
742
739
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
743
740
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
744
|
-
|
|
741
|
+
scope?: string | undefined;
|
|
742
|
+
username?: string | undefined;
|
|
745
743
|
audience?: string | undefined;
|
|
746
744
|
organization?: string | undefined;
|
|
747
|
-
|
|
745
|
+
state?: string | undefined;
|
|
746
|
+
redirect_uri?: string | undefined;
|
|
748
747
|
prompt?: string | undefined;
|
|
748
|
+
ui_locales?: string | undefined;
|
|
749
|
+
act_as?: string | undefined;
|
|
750
|
+
nonce?: string | undefined;
|
|
749
751
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
750
752
|
code_challenge?: string | undefined;
|
|
751
|
-
username?: string | undefined;
|
|
752
|
-
ui_locales?: string | undefined;
|
|
753
753
|
max_age?: number | undefined;
|
|
754
754
|
acr_values?: string | undefined;
|
|
755
755
|
claims?: {
|
|
@@ -772,20 +772,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
scope?: string | undefined;
|
|
776
|
-
state?: string | undefined;
|
|
777
|
-
act_as?: string | undefined;
|
|
778
775
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
779
776
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
780
|
-
|
|
777
|
+
scope?: string | undefined;
|
|
778
|
+
username?: string | undefined;
|
|
781
779
|
audience?: string | undefined;
|
|
782
780
|
organization?: string | undefined;
|
|
783
|
-
|
|
781
|
+
state?: string | undefined;
|
|
782
|
+
redirect_uri?: string | undefined;
|
|
784
783
|
prompt?: string | undefined;
|
|
784
|
+
ui_locales?: string | undefined;
|
|
785
|
+
act_as?: string | undefined;
|
|
786
|
+
nonce?: string | undefined;
|
|
785
787
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
786
788
|
code_challenge?: string | undefined;
|
|
787
|
-
username?: string | undefined;
|
|
788
|
-
ui_locales?: string | undefined;
|
|
789
789
|
max_age?: number | undefined;
|
|
790
790
|
acr_values?: string | undefined;
|
|
791
791
|
claims?: {
|
|
@@ -1014,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1014
1014
|
client_id: string;
|
|
1015
1015
|
username: string;
|
|
1016
1016
|
otp: string;
|
|
1017
|
-
realm: "
|
|
1017
|
+
realm: "email" | "sms";
|
|
1018
1018
|
scope?: string | undefined;
|
|
1019
1019
|
audience?: string | undefined;
|
|
1020
1020
|
} | {
|
|
@@ -1063,7 +1063,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1063
1063
|
client_id: string;
|
|
1064
1064
|
username: string;
|
|
1065
1065
|
otp: string;
|
|
1066
|
-
realm: "
|
|
1066
|
+
realm: "email" | "sms";
|
|
1067
1067
|
scope?: string | undefined;
|
|
1068
1068
|
audience?: string | undefined;
|
|
1069
1069
|
} | {
|
|
@@ -1079,17 +1079,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1079
1079
|
client_assertion_type?: string | undefined;
|
|
1080
1080
|
};
|
|
1081
1081
|
};
|
|
1082
|
-
output: {
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
expires_in: number;
|
|
1086
|
-
id_token?: string | undefined;
|
|
1087
|
-
scope?: string | undefined;
|
|
1088
|
-
state?: string | undefined;
|
|
1089
|
-
refresh_token?: string | undefined;
|
|
1090
|
-
};
|
|
1091
|
-
outputFormat: "json";
|
|
1092
|
-
status: 200;
|
|
1082
|
+
output: {};
|
|
1083
|
+
outputFormat: string;
|
|
1084
|
+
status: 302;
|
|
1093
1085
|
} | {
|
|
1094
1086
|
input: {
|
|
1095
1087
|
form: {
|
|
@@ -1125,7 +1117,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1125
1117
|
client_id: string;
|
|
1126
1118
|
username: string;
|
|
1127
1119
|
otp: string;
|
|
1128
|
-
realm: "
|
|
1120
|
+
realm: "email" | "sms";
|
|
1129
1121
|
scope?: string | undefined;
|
|
1130
1122
|
audience?: string | undefined;
|
|
1131
1123
|
} | {
|
|
@@ -1174,7 +1166,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1174
1166
|
client_id: string;
|
|
1175
1167
|
username: string;
|
|
1176
1168
|
otp: string;
|
|
1177
|
-
realm: "
|
|
1169
|
+
realm: "email" | "sms";
|
|
1178
1170
|
scope?: string | undefined;
|
|
1179
1171
|
audience?: string | undefined;
|
|
1180
1172
|
} | {
|
|
@@ -1190,9 +1182,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1190
1182
|
client_assertion_type?: string | undefined;
|
|
1191
1183
|
};
|
|
1192
1184
|
};
|
|
1193
|
-
output: {
|
|
1194
|
-
|
|
1195
|
-
|
|
1185
|
+
output: {
|
|
1186
|
+
access_token: string;
|
|
1187
|
+
token_type: string;
|
|
1188
|
+
expires_in: number;
|
|
1189
|
+
id_token?: string | undefined;
|
|
1190
|
+
scope?: string | undefined;
|
|
1191
|
+
state?: string | undefined;
|
|
1192
|
+
refresh_token?: string | undefined;
|
|
1193
|
+
};
|
|
1194
|
+
outputFormat: "json";
|
|
1195
|
+
status: 200;
|
|
1196
1196
|
} | {
|
|
1197
1197
|
input: {
|
|
1198
1198
|
form: {
|
|
@@ -1228,7 +1228,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1228
1228
|
client_id: string;
|
|
1229
1229
|
username: string;
|
|
1230
1230
|
otp: string;
|
|
1231
|
-
realm: "
|
|
1231
|
+
realm: "email" | "sms";
|
|
1232
1232
|
scope?: string | undefined;
|
|
1233
1233
|
audience?: string | undefined;
|
|
1234
1234
|
} | {
|
|
@@ -1277,7 +1277,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1277
1277
|
client_id: string;
|
|
1278
1278
|
username: string;
|
|
1279
1279
|
otp: string;
|
|
1280
|
-
realm: "
|
|
1280
|
+
realm: "email" | "sms";
|
|
1281
1281
|
scope?: string | undefined;
|
|
1282
1282
|
audience?: string | undefined;
|
|
1283
1283
|
} | {
|
|
@@ -1334,7 +1334,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1334
1334
|
client_id: string;
|
|
1335
1335
|
username: string;
|
|
1336
1336
|
otp: string;
|
|
1337
|
-
realm: "
|
|
1337
|
+
realm: "email" | "sms";
|
|
1338
1338
|
scope?: string | undefined;
|
|
1339
1339
|
audience?: string | undefined;
|
|
1340
1340
|
} | {
|
|
@@ -1383,7 +1383,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1383
1383
|
client_id: string;
|
|
1384
1384
|
username: string;
|
|
1385
1385
|
otp: string;
|
|
1386
|
-
realm: "
|
|
1386
|
+
realm: "email" | "sms";
|
|
1387
1387
|
scope?: string | undefined;
|
|
1388
1388
|
audience?: string | undefined;
|
|
1389
1389
|
} | {
|
|
@@ -1440,7 +1440,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1440
1440
|
client_id: string;
|
|
1441
1441
|
username: string;
|
|
1442
1442
|
otp: string;
|
|
1443
|
-
realm: "
|
|
1443
|
+
realm: "email" | "sms";
|
|
1444
1444
|
scope?: string | undefined;
|
|
1445
1445
|
audience?: string | undefined;
|
|
1446
1446
|
} | {
|
|
@@ -1489,7 +1489,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1489
1489
|
client_id: string;
|
|
1490
1490
|
username: string;
|
|
1491
1491
|
otp: string;
|
|
1492
|
-
realm: "
|
|
1492
|
+
realm: "email" | "sms";
|
|
1493
1493
|
scope?: string | undefined;
|
|
1494
1494
|
audience?: string | undefined;
|
|
1495
1495
|
} | {
|
|
@@ -1713,7 +1713,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1713
1713
|
};
|
|
1714
1714
|
output: {};
|
|
1715
1715
|
outputFormat: string;
|
|
1716
|
-
status:
|
|
1716
|
+
status: 200;
|
|
1717
1717
|
} | {
|
|
1718
1718
|
input: {
|
|
1719
1719
|
query: {
|
|
@@ -1727,7 +1727,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1727
1727
|
};
|
|
1728
1728
|
output: {};
|
|
1729
1729
|
outputFormat: string;
|
|
1730
|
-
status:
|
|
1730
|
+
status: 302;
|
|
1731
1731
|
} | {
|
|
1732
1732
|
input: {
|
|
1733
1733
|
query: {
|
|
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
18
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
|
+
scope?: string | undefined;
|
|
17
20
|
username?: string | undefined;
|
|
18
21
|
audience?: string | undefined;
|
|
22
|
+
organization?: string | undefined;
|
|
19
23
|
state?: string | undefined;
|
|
20
|
-
scope?: string | undefined;
|
|
21
|
-
act_as?: string | undefined;
|
|
22
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
23
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
24
24
|
redirect_uri?: string | undefined;
|
|
25
|
-
organization?: string | undefined;
|
|
26
|
-
nonce?: string | undefined;
|
|
27
25
|
prompt?: string | undefined;
|
|
26
|
+
ui_locales?: string | undefined;
|
|
27
|
+
act_as?: string | undefined;
|
|
28
|
+
nonce?: string | undefined;
|
|
28
29
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
30
|
code_challenge?: string | undefined;
|
|
30
|
-
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
33
33
|
claims?: {
|
|
@@ -50,20 +50,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
54
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
|
+
scope?: string | undefined;
|
|
53
56
|
username?: string | undefined;
|
|
54
57
|
audience?: string | undefined;
|
|
58
|
+
organization?: string | undefined;
|
|
55
59
|
state?: string | undefined;
|
|
56
|
-
scope?: string | undefined;
|
|
57
|
-
act_as?: string | undefined;
|
|
58
|
-
response_type?: AuthorizationResponseType | undefined;
|
|
59
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
60
60
|
redirect_uri?: string | undefined;
|
|
61
|
-
organization?: string | undefined;
|
|
62
|
-
nonce?: string | undefined;
|
|
63
61
|
prompt?: string | undefined;
|
|
62
|
+
ui_locales?: string | undefined;
|
|
63
|
+
act_as?: string | undefined;
|
|
64
|
+
nonce?: string | undefined;
|
|
64
65
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
66
|
code_challenge?: string | undefined;
|
|
66
|
-
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
69
69
|
claims?: {
|
|
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
18
18
|
scope?: string | undefined;
|
|
19
19
|
grant_types?: string[] | undefined;
|
|
20
20
|
response_types?: string[] | undefined;
|
|
21
|
-
token_endpoint_auth_method?: "
|
|
21
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
22
22
|
jwks_uri?: string | undefined;
|
|
23
23
|
jwks?: Record<string, unknown> | undefined;
|
|
24
24
|
software_id?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
107
107
|
scope?: string | undefined;
|
|
108
108
|
grant_types?: string[] | undefined;
|
|
109
109
|
response_types?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: "
|
|
110
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
|
-
realm: "
|
|
43
|
+
realm: "email" | "sms";
|
|
44
44
|
scope?: string | undefined;
|
|
45
45
|
audience?: string | undefined;
|
|
46
46
|
} | {
|
|
@@ -89,7 +89,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
89
89
|
client_id: string;
|
|
90
90
|
username: string;
|
|
91
91
|
otp: string;
|
|
92
|
-
realm: "
|
|
92
|
+
realm: "email" | "sms";
|
|
93
93
|
scope?: string | undefined;
|
|
94
94
|
audience?: string | undefined;
|
|
95
95
|
} | {
|
|
@@ -105,17 +105,9 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
105
105
|
client_assertion_type?: string | undefined;
|
|
106
106
|
};
|
|
107
107
|
};
|
|
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;
|
|
108
|
+
output: {};
|
|
109
|
+
outputFormat: string;
|
|
110
|
+
status: 302;
|
|
119
111
|
} | {
|
|
120
112
|
input: {
|
|
121
113
|
form: {
|
|
@@ -151,7 +143,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
151
143
|
client_id: string;
|
|
152
144
|
username: string;
|
|
153
145
|
otp: string;
|
|
154
|
-
realm: "
|
|
146
|
+
realm: "email" | "sms";
|
|
155
147
|
scope?: string | undefined;
|
|
156
148
|
audience?: string | undefined;
|
|
157
149
|
} | {
|
|
@@ -200,7 +192,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
200
192
|
client_id: string;
|
|
201
193
|
username: string;
|
|
202
194
|
otp: string;
|
|
203
|
-
realm: "
|
|
195
|
+
realm: "email" | "sms";
|
|
204
196
|
scope?: string | undefined;
|
|
205
197
|
audience?: string | undefined;
|
|
206
198
|
} | {
|
|
@@ -216,9 +208,17 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
216
208
|
client_assertion_type?: string | undefined;
|
|
217
209
|
};
|
|
218
210
|
};
|
|
219
|
-
output: {
|
|
220
|
-
|
|
221
|
-
|
|
211
|
+
output: {
|
|
212
|
+
access_token: string;
|
|
213
|
+
token_type: string;
|
|
214
|
+
expires_in: number;
|
|
215
|
+
id_token?: string | undefined;
|
|
216
|
+
scope?: string | undefined;
|
|
217
|
+
state?: string | undefined;
|
|
218
|
+
refresh_token?: string | undefined;
|
|
219
|
+
};
|
|
220
|
+
outputFormat: "json";
|
|
221
|
+
status: 200;
|
|
222
222
|
} | {
|
|
223
223
|
input: {
|
|
224
224
|
form: {
|
|
@@ -254,7 +254,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
254
254
|
client_id: string;
|
|
255
255
|
username: string;
|
|
256
256
|
otp: string;
|
|
257
|
-
realm: "
|
|
257
|
+
realm: "email" | "sms";
|
|
258
258
|
scope?: string | undefined;
|
|
259
259
|
audience?: string | undefined;
|
|
260
260
|
} | {
|
|
@@ -303,7 +303,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
303
303
|
client_id: string;
|
|
304
304
|
username: string;
|
|
305
305
|
otp: string;
|
|
306
|
-
realm: "
|
|
306
|
+
realm: "email" | "sms";
|
|
307
307
|
scope?: string | undefined;
|
|
308
308
|
audience?: string | undefined;
|
|
309
309
|
} | {
|
|
@@ -360,7 +360,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
360
360
|
client_id: string;
|
|
361
361
|
username: string;
|
|
362
362
|
otp: string;
|
|
363
|
-
realm: "
|
|
363
|
+
realm: "email" | "sms";
|
|
364
364
|
scope?: string | undefined;
|
|
365
365
|
audience?: string | undefined;
|
|
366
366
|
} | {
|
|
@@ -409,7 +409,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
409
409
|
client_id: string;
|
|
410
410
|
username: string;
|
|
411
411
|
otp: string;
|
|
412
|
-
realm: "
|
|
412
|
+
realm: "email" | "sms";
|
|
413
413
|
scope?: string | undefined;
|
|
414
414
|
audience?: string | undefined;
|
|
415
415
|
} | {
|
|
@@ -466,7 +466,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
466
466
|
client_id: string;
|
|
467
467
|
username: string;
|
|
468
468
|
otp: string;
|
|
469
|
-
realm: "
|
|
469
|
+
realm: "email" | "sms";
|
|
470
470
|
scope?: string | undefined;
|
|
471
471
|
audience?: string | undefined;
|
|
472
472
|
} | {
|
|
@@ -515,7 +515,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
515
515
|
client_id: string;
|
|
516
516
|
username: string;
|
|
517
517
|
otp: string;
|
|
518
|
-
realm: "
|
|
518
|
+
realm: "email" | "sms";
|
|
519
519
|
scope?: string | undefined;
|
|
520
520
|
audience?: string | undefined;
|
|
521
521
|
} | {
|
|
@@ -42,7 +42,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
42
42
|
deployed_at?: string | undefined;
|
|
43
43
|
secrets?: {
|
|
44
44
|
name: string;
|
|
45
|
-
value?: string | undefined;
|
|
46
45
|
}[] | undefined;
|
|
47
46
|
};
|
|
48
47
|
created_at: string;
|
|
@@ -104,7 +103,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
104
103
|
deployed_at?: string | undefined;
|
|
105
104
|
secrets?: {
|
|
106
105
|
name: string;
|
|
107
|
-
value?: string | undefined;
|
|
108
106
|
}[] | undefined;
|
|
109
107
|
};
|
|
110
108
|
created_at: string;
|
|
@@ -45,7 +45,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
45
45
|
deployed_at?: string | undefined;
|
|
46
46
|
secrets?: {
|
|
47
47
|
name: string;
|
|
48
|
-
value?: string | undefined;
|
|
49
48
|
}[] | undefined;
|
|
50
49
|
}[] | {
|
|
51
50
|
start: number;
|
|
@@ -73,7 +72,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
73
72
|
deployed_at?: string | undefined;
|
|
74
73
|
secrets?: {
|
|
75
74
|
name: string;
|
|
76
|
-
value?: string | undefined;
|
|
77
75
|
}[] | undefined;
|
|
78
76
|
}[];
|
|
79
77
|
total?: number | undefined;
|
|
@@ -133,7 +131,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
133
131
|
deployed_at?: string | undefined;
|
|
134
132
|
secrets?: {
|
|
135
133
|
name: string;
|
|
136
|
-
value?: string | undefined;
|
|
137
134
|
}[] | undefined;
|
|
138
135
|
};
|
|
139
136
|
outputFormat: "json";
|
|
@@ -187,7 +184,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
187
184
|
deployed_at?: string | undefined;
|
|
188
185
|
secrets?: {
|
|
189
186
|
name: string;
|
|
190
|
-
value?: string | undefined;
|
|
191
187
|
}[] | undefined;
|
|
192
188
|
};
|
|
193
189
|
outputFormat: "json";
|
|
@@ -281,7 +277,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
281
277
|
deployed_at?: string | undefined;
|
|
282
278
|
secrets?: {
|
|
283
279
|
name: string;
|
|
284
|
-
value?: string | undefined;
|
|
285
280
|
}[] | undefined;
|
|
286
281
|
};
|
|
287
282
|
outputFormat: "json";
|
|
@@ -378,7 +373,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
378
373
|
deployed_at?: string | undefined;
|
|
379
374
|
secrets?: {
|
|
380
375
|
name: string;
|
|
381
|
-
value?: string | undefined;
|
|
382
376
|
}[] | undefined;
|
|
383
377
|
};
|
|
384
378
|
outputFormat: "json";
|
|
@@ -595,7 +589,6 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
595
589
|
deployed_at?: string | undefined;
|
|
596
590
|
secrets?: {
|
|
597
591
|
name: string;
|
|
598
|
-
value?: string | undefined;
|
|
599
592
|
}[] | undefined;
|
|
600
593
|
};
|
|
601
594
|
outputFormat: "json";
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "email" | "passkey" | "push" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -78,12 +78,12 @@ 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?: "
|
|
81
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
85
85
|
logo_height: number;
|
|
86
|
-
logo_position: "
|
|
86
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
87
87
|
logo_url: string;
|
|
88
88
|
social_buttons_layout: "bottom" | "top";
|
|
89
89
|
};
|
|
@@ -168,12 +168,12 @@ 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?: "
|
|
171
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
175
175
|
logo_height: number;
|
|
176
|
-
logo_position: "
|
|
176
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
177
177
|
logo_url: string;
|
|
178
178
|
social_buttons_layout: "bottom" | "top";
|
|
179
179
|
};
|
|
@@ -247,12 +247,12 @@ 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?: "
|
|
250
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
254
254
|
logo_height: number;
|
|
255
|
-
logo_position: "
|
|
255
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
256
256
|
logo_url: string;
|
|
257
257
|
social_buttons_layout: "bottom" | "top";
|
|
258
258
|
};
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "password" | "
|
|
412
|
+
screen?: "password" | "login" | "identifier" | "signup" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -495,12 +495,12 @@ 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?: "
|
|
498
|
+
logo_placement?: "widget" | "none" | "chip" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
502
502
|
logo_height: number;
|
|
503
|
-
logo_position: "
|
|
503
|
+
logo_position: "center" | "left" | "right" | "none";
|
|
504
504
|
logo_url: string;
|
|
505
505
|
social_buttons_layout: "bottom" | "top";
|
|
506
506
|
} | undefined;
|