authhero 9.38.0 → 9.40.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/README.md +13 -3
- package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-603aa8fa.entry.js +1 -0
- package/dist/assets/u/widget/p-d0eb5acc.entry.js +1 -0
- package/dist/authhero.cjs +175 -170
- package/dist/authhero.d.ts +381 -237
- package/dist/authhero.mjs +21363 -19930
- package/dist/mfa-BlaRHQgI.js +4 -0
- package/dist/mfa-Ddp9JT1l.mjs +406 -0
- package/dist/{mfa-attempts-BK-gWrgJ.mjs → mfa-attempts-YsmteBp0.mjs} +5188 -4601
- package/dist/mfa-attempts-bPJnyu2c.js +385 -0
- package/dist/{passkey-enrollment-CmKahPq7.js → passkey-enrollment-CLg7RteL.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/common.d.ts +4 -1
- package/dist/types/authentication-flows/mfa.d.ts +3 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/emails/index.d.ts +33 -1
- package/dist/types/generated/locale-types.d.ts +39 -0
- package/dist/types/helpers/client.d.ts +1 -0
- package/dist/types/helpers/code-recipient.d.ts +37 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/response-type-grants.d.ts +8 -0
- package/dist/types/hooks/custom-notification-provider.d.ts +174 -0
- package/dist/types/hooks/helpers/action-users.d.ts +56 -0
- package/dist/types/hooks/helpers/post-login-account-linking.d.ts +18 -4
- package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
- package/dist/types/hooks/pre-screen.d.ts +114 -0
- package/dist/types/index.d.ts +295 -217
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +18 -18
- package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +25 -25
- package/dist/types/routes/management-api/actions.d.ts +9 -9
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +2 -0
- package/dist/types/routes/management-api/connections.d.ts +7 -1
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/forms.d.ts +168 -144
- 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/hooks.d.ts +25 -25
- package/dist/types/routes/management-api/index.d.ts +222 -190
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/log-streams.d.ts +12 -12
- 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 +8 -8
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/self-service-profiles.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +29 -29
- package/dist/types/routes/management-api/users.d.ts +29 -29
- package/dist/types/routes/universal-login/continue.d.ts +35 -0
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +4 -4
- package/dist/types/routes/universal-login/pre-screen-gates.d.ts +31 -0
- package/dist/types/routes/universal-login/screens/account-change-email.d.ts +52 -0
- package/dist/types/routes/universal-login/screens/account-helpers.d.ts +19 -24
- package/dist/types/routes/universal-login/screens/account.d.ts +6 -0
- package/dist/types/routes/universal-login/screens/connect-authz.d.ts +13 -1
- package/dist/types/routes/universal-login/screens/index.d.ts +4 -2
- package/dist/types/routes/universal-login/screens/invalid-session.d.ts +10 -0
- package/dist/types/routes/universal-login/screens/login-otp.d.ts +2 -2
- package/dist/types/routes/universal-login/screens/signup.d.ts +0 -3
- package/dist/types/routes/universal-login/screens/social-connections.d.ts +31 -0
- package/dist/types/routes/universal-login/screens/types.d.ts +3 -0
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +50 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +1 -4
- package/dist/types/routes/universal-login/widget-assets.d.ts +20 -0
- package/dist/types/state-machines/login-session.d.ts +12 -0
- package/dist/types/types/AuthHeroConfig.d.ts +9 -1
- package/dist/types/types/Hooks.d.ts +62 -17
- package/dist/types/utils/embedded-browser.d.ts +4 -0
- package/package.json +6 -6
- package/dist/assets/u/widget/p-32247347.entry.js +0 -1
- package/dist/assets/u/widget/p-3f908508.entry.js +0 -1
- package/dist/mfa-DBhvi2B5.js +0 -1
- package/dist/mfa-DnCary4g.mjs +0 -128
- package/dist/mfa-attempts-C5kobAHS.js +0 -275
|
@@ -12,7 +12,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
12
12
|
client_secret?: string | undefined;
|
|
13
13
|
scope?: string | undefined;
|
|
14
14
|
audience?: string | undefined;
|
|
15
|
-
include_qr_code?: boolean | "
|
|
15
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
16
16
|
};
|
|
17
17
|
} & {
|
|
18
18
|
json: {
|
|
@@ -20,7 +20,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
20
20
|
client_secret?: string | undefined;
|
|
21
21
|
scope?: string | undefined;
|
|
22
22
|
audience?: string | undefined;
|
|
23
|
-
include_qr_code?: boolean | "
|
|
23
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: {
|
|
@@ -41,7 +41,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
41
41
|
client_secret?: string | undefined;
|
|
42
42
|
scope?: string | undefined;
|
|
43
43
|
audience?: string | undefined;
|
|
44
|
-
include_qr_code?: boolean | "
|
|
44
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
45
45
|
};
|
|
46
46
|
} & {
|
|
47
47
|
json: {
|
|
@@ -49,7 +49,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
49
49
|
client_secret?: string | undefined;
|
|
50
50
|
scope?: string | undefined;
|
|
51
51
|
audience?: string | undefined;
|
|
52
|
-
include_qr_code?: boolean | "
|
|
52
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
output: {
|
|
@@ -65,7 +65,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
65
65
|
client_secret?: string | undefined;
|
|
66
66
|
scope?: string | undefined;
|
|
67
67
|
audience?: string | undefined;
|
|
68
|
-
include_qr_code?: boolean | "
|
|
68
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
69
69
|
};
|
|
70
70
|
} & {
|
|
71
71
|
json: {
|
|
@@ -73,7 +73,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
73
73
|
client_secret?: string | undefined;
|
|
74
74
|
scope?: string | undefined;
|
|
75
75
|
audience?: string | undefined;
|
|
76
|
-
include_qr_code?: boolean | "
|
|
76
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
output: {
|
|
@@ -89,7 +89,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
89
89
|
client_secret?: string | undefined;
|
|
90
90
|
scope?: string | undefined;
|
|
91
91
|
audience?: string | undefined;
|
|
92
|
-
include_qr_code?: boolean | "
|
|
92
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
93
93
|
};
|
|
94
94
|
} & {
|
|
95
95
|
json: {
|
|
@@ -97,7 +97,7 @@ export declare const deviceCodeRoutes: OpenAPIHono<{
|
|
|
97
97
|
client_secret?: string | undefined;
|
|
98
98
|
scope?: string | undefined;
|
|
99
99
|
audience?: string | undefined;
|
|
100
|
-
include_qr_code?: boolean | "
|
|
100
|
+
include_qr_code?: boolean | "false" | "true" | undefined;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
output: {
|
|
@@ -764,8 +764,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
764
764
|
authParams: {
|
|
765
765
|
scope?: string | undefined;
|
|
766
766
|
state?: string | undefined;
|
|
767
|
-
username?: string | undefined;
|
|
768
767
|
connection?: string | undefined;
|
|
768
|
+
username?: string | undefined;
|
|
769
769
|
audience?: string | undefined;
|
|
770
770
|
act_as?: string | undefined;
|
|
771
771
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
@@ -801,8 +801,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
801
801
|
authParams: {
|
|
802
802
|
scope?: string | undefined;
|
|
803
803
|
state?: string | undefined;
|
|
804
|
-
username?: string | undefined;
|
|
805
804
|
connection?: string | undefined;
|
|
805
|
+
username?: string | undefined;
|
|
806
806
|
audience?: string | undefined;
|
|
807
807
|
act_as?: string | undefined;
|
|
808
808
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
@@ -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
|
};
|
|
@@ -963,14 +963,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
963
963
|
input: {
|
|
964
964
|
form: {
|
|
965
965
|
token: string;
|
|
966
|
-
token_type_hint?: "
|
|
966
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
967
967
|
client_id?: string | undefined;
|
|
968
968
|
client_secret?: string | undefined;
|
|
969
969
|
};
|
|
970
970
|
} & {
|
|
971
971
|
json: {
|
|
972
972
|
token: string;
|
|
973
|
-
token_type_hint?: "
|
|
973
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
974
974
|
client_id?: string | undefined;
|
|
975
975
|
client_secret?: string | undefined;
|
|
976
976
|
};
|
|
@@ -985,14 +985,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
985
985
|
input: {
|
|
986
986
|
form: {
|
|
987
987
|
token: string;
|
|
988
|
-
token_type_hint?: "
|
|
988
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
989
989
|
client_id?: string | undefined;
|
|
990
990
|
client_secret?: string | undefined;
|
|
991
991
|
};
|
|
992
992
|
} & {
|
|
993
993
|
json: {
|
|
994
994
|
token: string;
|
|
995
|
-
token_type_hint?: "
|
|
995
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
996
996
|
client_id?: string | undefined;
|
|
997
997
|
client_secret?: string | undefined;
|
|
998
998
|
};
|
|
@@ -1179,7 +1179,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1179
1179
|
client_id: string;
|
|
1180
1180
|
username: string;
|
|
1181
1181
|
otp: string;
|
|
1182
|
-
realm: "
|
|
1182
|
+
realm: "email" | "sms";
|
|
1183
1183
|
scope?: string | undefined;
|
|
1184
1184
|
audience?: string | undefined;
|
|
1185
1185
|
} | {
|
|
@@ -1247,7 +1247,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1247
1247
|
client_id: string;
|
|
1248
1248
|
username: string;
|
|
1249
1249
|
otp: string;
|
|
1250
|
-
realm: "
|
|
1250
|
+
realm: "email" | "sms";
|
|
1251
1251
|
scope?: string | undefined;
|
|
1252
1252
|
audience?: string | undefined;
|
|
1253
1253
|
} | {
|
|
@@ -1320,7 +1320,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1320
1320
|
client_id: string;
|
|
1321
1321
|
username: string;
|
|
1322
1322
|
otp: string;
|
|
1323
|
-
realm: "
|
|
1323
|
+
realm: "email" | "sms";
|
|
1324
1324
|
scope?: string | undefined;
|
|
1325
1325
|
audience?: string | undefined;
|
|
1326
1326
|
} | {
|
|
@@ -1388,7 +1388,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1388
1388
|
client_id: string;
|
|
1389
1389
|
username: string;
|
|
1390
1390
|
otp: string;
|
|
1391
|
-
realm: "
|
|
1391
|
+
realm: "email" | "sms";
|
|
1392
1392
|
scope?: string | undefined;
|
|
1393
1393
|
audience?: string | undefined;
|
|
1394
1394
|
} | {
|
|
@@ -1470,7 +1470,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1470
1470
|
client_id: string;
|
|
1471
1471
|
username: string;
|
|
1472
1472
|
otp: string;
|
|
1473
|
-
realm: "
|
|
1473
|
+
realm: "email" | "sms";
|
|
1474
1474
|
scope?: string | undefined;
|
|
1475
1475
|
audience?: string | undefined;
|
|
1476
1476
|
} | {
|
|
@@ -1538,7 +1538,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1538
1538
|
client_id: string;
|
|
1539
1539
|
username: string;
|
|
1540
1540
|
otp: string;
|
|
1541
|
-
realm: "
|
|
1541
|
+
realm: "email" | "sms";
|
|
1542
1542
|
scope?: string | undefined;
|
|
1543
1543
|
audience?: string | undefined;
|
|
1544
1544
|
} | {
|
|
@@ -1614,7 +1614,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1614
1614
|
client_id: string;
|
|
1615
1615
|
username: string;
|
|
1616
1616
|
otp: string;
|
|
1617
|
-
realm: "
|
|
1617
|
+
realm: "email" | "sms";
|
|
1618
1618
|
scope?: string | undefined;
|
|
1619
1619
|
audience?: string | undefined;
|
|
1620
1620
|
} | {
|
|
@@ -1682,7 +1682,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1682
1682
|
client_id: string;
|
|
1683
1683
|
username: string;
|
|
1684
1684
|
otp: string;
|
|
1685
|
-
realm: "
|
|
1685
|
+
realm: "email" | "sms";
|
|
1686
1686
|
scope?: string | undefined;
|
|
1687
1687
|
audience?: string | undefined;
|
|
1688
1688
|
} | {
|
|
@@ -1758,7 +1758,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1758
1758
|
client_id: string;
|
|
1759
1759
|
username: string;
|
|
1760
1760
|
otp: string;
|
|
1761
|
-
realm: "
|
|
1761
|
+
realm: "email" | "sms";
|
|
1762
1762
|
scope?: string | undefined;
|
|
1763
1763
|
audience?: string | undefined;
|
|
1764
1764
|
} | {
|
|
@@ -1826,7 +1826,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1826
1826
|
client_id: string;
|
|
1827
1827
|
username: string;
|
|
1828
1828
|
otp: string;
|
|
1829
|
-
realm: "
|
|
1829
|
+
realm: "email" | "sms";
|
|
1830
1830
|
scope?: string | undefined;
|
|
1831
1831
|
audience?: string | undefined;
|
|
1832
1832
|
} | {
|
|
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
scope?: string | undefined;
|
|
18
17
|
state?: string | undefined;
|
|
19
18
|
username?: string | undefined;
|
|
20
19
|
connection?: string | undefined;
|
|
21
|
-
|
|
20
|
+
code_challenge?: string | undefined;
|
|
21
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
22
|
+
redirect_uri?: string | undefined;
|
|
23
|
+
nonce?: string | undefined;
|
|
22
24
|
act_as?: string | undefined;
|
|
23
25
|
response_type?: AuthorizationResponseType | undefined;
|
|
24
26
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
25
|
-
|
|
27
|
+
audience?: string | undefined;
|
|
26
28
|
organization?: string | undefined;
|
|
27
|
-
|
|
29
|
+
scope?: string | undefined;
|
|
28
30
|
prompt?: string | undefined;
|
|
29
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
30
|
-
code_challenge?: string | undefined;
|
|
31
31
|
ui_locales?: string | undefined;
|
|
32
32
|
max_age?: number | undefined;
|
|
33
33
|
acr_values?: string | undefined;
|
|
@@ -51,20 +51,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
51
51
|
phone_number: string;
|
|
52
52
|
send: "code" | "link";
|
|
53
53
|
authParams: {
|
|
54
|
-
scope?: string | undefined;
|
|
55
54
|
state?: string | undefined;
|
|
56
55
|
username?: string | undefined;
|
|
57
56
|
connection?: string | undefined;
|
|
58
|
-
|
|
57
|
+
code_challenge?: string | undefined;
|
|
58
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
59
|
+
redirect_uri?: string | undefined;
|
|
60
|
+
nonce?: string | undefined;
|
|
59
61
|
act_as?: string | undefined;
|
|
60
62
|
response_type?: AuthorizationResponseType | undefined;
|
|
61
63
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
62
|
-
|
|
64
|
+
audience?: string | undefined;
|
|
63
65
|
organization?: string | undefined;
|
|
64
|
-
|
|
66
|
+
scope?: string | undefined;
|
|
65
67
|
prompt?: string | undefined;
|
|
66
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
67
|
-
code_challenge?: string | undefined;
|
|
68
68
|
ui_locales?: string | undefined;
|
|
69
69
|
max_age?: number | undefined;
|
|
70
70
|
acr_values?: string | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
username: string;
|
|
50
50
|
otp: string;
|
|
51
|
-
realm: "
|
|
51
|
+
realm: "email" | "sms";
|
|
52
52
|
scope?: string | undefined;
|
|
53
53
|
audience?: string | undefined;
|
|
54
54
|
} | {
|
|
@@ -116,7 +116,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
116
116
|
client_id: string;
|
|
117
117
|
username: string;
|
|
118
118
|
otp: string;
|
|
119
|
-
realm: "
|
|
119
|
+
realm: "email" | "sms";
|
|
120
120
|
scope?: string | undefined;
|
|
121
121
|
audience?: string | undefined;
|
|
122
122
|
} | {
|
|
@@ -189,7 +189,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
189
189
|
client_id: string;
|
|
190
190
|
username: string;
|
|
191
191
|
otp: string;
|
|
192
|
-
realm: "
|
|
192
|
+
realm: "email" | "sms";
|
|
193
193
|
scope?: string | undefined;
|
|
194
194
|
audience?: string | undefined;
|
|
195
195
|
} | {
|
|
@@ -257,7 +257,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
257
257
|
client_id: string;
|
|
258
258
|
username: string;
|
|
259
259
|
otp: string;
|
|
260
|
-
realm: "
|
|
260
|
+
realm: "email" | "sms";
|
|
261
261
|
scope?: string | undefined;
|
|
262
262
|
audience?: string | undefined;
|
|
263
263
|
} | {
|
|
@@ -339,7 +339,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
339
339
|
client_id: string;
|
|
340
340
|
username: string;
|
|
341
341
|
otp: string;
|
|
342
|
-
realm: "
|
|
342
|
+
realm: "email" | "sms";
|
|
343
343
|
scope?: string | undefined;
|
|
344
344
|
audience?: string | undefined;
|
|
345
345
|
} | {
|
|
@@ -407,7 +407,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
407
407
|
client_id: string;
|
|
408
408
|
username: string;
|
|
409
409
|
otp: string;
|
|
410
|
-
realm: "
|
|
410
|
+
realm: "email" | "sms";
|
|
411
411
|
scope?: string | undefined;
|
|
412
412
|
audience?: string | undefined;
|
|
413
413
|
} | {
|
|
@@ -483,7 +483,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
483
483
|
client_id: string;
|
|
484
484
|
username: string;
|
|
485
485
|
otp: string;
|
|
486
|
-
realm: "
|
|
486
|
+
realm: "email" | "sms";
|
|
487
487
|
scope?: string | undefined;
|
|
488
488
|
audience?: string | undefined;
|
|
489
489
|
} | {
|
|
@@ -551,7 +551,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
551
551
|
client_id: string;
|
|
552
552
|
username: string;
|
|
553
553
|
otp: string;
|
|
554
|
-
realm: "
|
|
554
|
+
realm: "email" | "sms";
|
|
555
555
|
scope?: string | undefined;
|
|
556
556
|
audience?: string | undefined;
|
|
557
557
|
} | {
|
|
@@ -627,7 +627,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
627
627
|
client_id: string;
|
|
628
628
|
username: string;
|
|
629
629
|
otp: string;
|
|
630
|
-
realm: "
|
|
630
|
+
realm: "email" | "sms";
|
|
631
631
|
scope?: string | undefined;
|
|
632
632
|
audience?: string | undefined;
|
|
633
633
|
} | {
|
|
@@ -695,7 +695,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
695
695
|
client_id: string;
|
|
696
696
|
username: string;
|
|
697
697
|
otp: string;
|
|
698
|
-
realm: "
|
|
698
|
+
realm: "email" | "sms";
|
|
699
699
|
scope?: string | undefined;
|
|
700
700
|
audience?: string | undefined;
|
|
701
701
|
} | {
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "pending" | "
|
|
34
|
+
status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
|
|
35
35
|
results: {
|
|
36
36
|
action_name: string;
|
|
37
37
|
error: {
|
|
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
78
78
|
logs: {
|
|
79
79
|
action_name: string;
|
|
80
80
|
lines: {
|
|
81
|
-
level: "error" | "
|
|
81
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -58,31 +58,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
58
58
|
} & {
|
|
59
59
|
"/:triggerId/bindings": {
|
|
60
60
|
$patch: {
|
|
61
|
-
input: {
|
|
62
|
-
param: {
|
|
63
|
-
triggerId: string;
|
|
64
|
-
};
|
|
65
|
-
} & {
|
|
66
|
-
header: {
|
|
67
|
-
"tenant-id"?: string | undefined;
|
|
68
|
-
};
|
|
69
|
-
} & {
|
|
70
|
-
json: {
|
|
71
|
-
bindings: {
|
|
72
|
-
ref: {
|
|
73
|
-
type?: "action_id" | "action_name" | undefined;
|
|
74
|
-
value?: string | undefined;
|
|
75
|
-
id?: string | undefined;
|
|
76
|
-
name?: string | undefined;
|
|
77
|
-
};
|
|
78
|
-
display_name?: string | undefined;
|
|
79
|
-
}[];
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
output: {};
|
|
83
|
-
outputFormat: string;
|
|
84
|
-
status: 403;
|
|
85
|
-
} | {
|
|
86
61
|
input: {
|
|
87
62
|
param: {
|
|
88
63
|
triggerId: string;
|
|
@@ -142,6 +117,31 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
142
117
|
};
|
|
143
118
|
outputFormat: "json";
|
|
144
119
|
status: 200;
|
|
120
|
+
} | {
|
|
121
|
+
input: {
|
|
122
|
+
param: {
|
|
123
|
+
triggerId: string;
|
|
124
|
+
};
|
|
125
|
+
} & {
|
|
126
|
+
header: {
|
|
127
|
+
"tenant-id"?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
} & {
|
|
130
|
+
json: {
|
|
131
|
+
bindings: {
|
|
132
|
+
ref: {
|
|
133
|
+
type?: "action_id" | "action_name" | undefined;
|
|
134
|
+
value?: string | undefined;
|
|
135
|
+
id?: string | undefined;
|
|
136
|
+
name?: string | undefined;
|
|
137
|
+
};
|
|
138
|
+
display_name?: string | undefined;
|
|
139
|
+
}[];
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
output: {};
|
|
143
|
+
outputFormat: string;
|
|
144
|
+
status: 403;
|
|
145
145
|
};
|
|
146
146
|
};
|
|
147
147
|
}, "/">;
|
|
@@ -412,7 +412,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
412
412
|
};
|
|
413
413
|
output: {};
|
|
414
414
|
outputFormat: string;
|
|
415
|
-
status:
|
|
415
|
+
status: 400;
|
|
416
416
|
} | {
|
|
417
417
|
input: {
|
|
418
418
|
param: {
|
|
@@ -448,7 +448,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
448
448
|
};
|
|
449
449
|
output: {};
|
|
450
450
|
outputFormat: string;
|
|
451
|
-
status:
|
|
451
|
+
status: 404;
|
|
452
452
|
} | {
|
|
453
453
|
input: {
|
|
454
454
|
param: {
|
|
@@ -527,7 +527,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
527
527
|
};
|
|
528
528
|
output: {};
|
|
529
529
|
outputFormat: string;
|
|
530
|
-
status:
|
|
530
|
+
status: 200;
|
|
531
531
|
} | {
|
|
532
532
|
input: {
|
|
533
533
|
param: {
|
|
@@ -540,7 +540,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
540
540
|
};
|
|
541
541
|
output: {};
|
|
542
542
|
outputFormat: string;
|
|
543
|
-
status:
|
|
543
|
+
status: 404;
|
|
544
544
|
} | {
|
|
545
545
|
input: {
|
|
546
546
|
param: {
|
|
@@ -570,7 +570,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
570
570
|
};
|
|
571
571
|
output: {};
|
|
572
572
|
outputFormat: string;
|
|
573
|
-
status:
|
|
573
|
+
status: 400;
|
|
574
574
|
} | {
|
|
575
575
|
input: {
|
|
576
576
|
param: {
|
|
@@ -583,7 +583,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
583
583
|
};
|
|
584
584
|
output: {};
|
|
585
585
|
outputFormat: string;
|
|
586
|
-
status:
|
|
586
|
+
status: 404;
|
|
587
587
|
} | {
|
|
588
588
|
input: {
|
|
589
589
|
param: {
|
|
@@ -801,7 +801,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
801
801
|
};
|
|
802
802
|
output: {};
|
|
803
803
|
outputFormat: string;
|
|
804
|
-
status:
|
|
804
|
+
status: 400;
|
|
805
805
|
} | {
|
|
806
806
|
input: {
|
|
807
807
|
param: {
|
|
@@ -815,7 +815,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
815
815
|
};
|
|
816
816
|
output: {};
|
|
817
817
|
outputFormat: string;
|
|
818
|
-
status:
|
|
818
|
+
status: 404;
|
|
819
819
|
} | {
|
|
820
820
|
input: {
|
|
821
821
|
param: {
|
|
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
919
919
|
args: import("hono/utils/types").JSONValue[];
|
|
920
920
|
}[];
|
|
921
921
|
logs: {
|
|
922
|
-
level: "error" | "
|
|
922
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
923
923
|
message: string;
|
|
924
924
|
}[];
|
|
925
925
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "email" | "passkey" | "phone" | "
|
|
40
|
+
type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -575,7 +575,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
575
575
|
} & {
|
|
576
576
|
json: {
|
|
577
577
|
body?: string | undefined;
|
|
578
|
-
screen?: "error" | "
|
|
578
|
+
screen?: "error" | "password" | "mfa" | "otp" | "login" | "identifier" | "signup" | "consent" | undefined;
|
|
579
579
|
branding?: {
|
|
580
580
|
colors?: {
|
|
581
581
|
primary: string;
|
|
@@ -1075,6 +1075,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1075
1075
|
max?: number | undefined;
|
|
1076
1076
|
} | undefined;
|
|
1077
1077
|
} | undefined;
|
|
1078
|
+
allow_action_users?: boolean | undefined;
|
|
1078
1079
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1079
1080
|
};
|
|
1080
1081
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -1236,6 +1237,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1236
1237
|
max?: number | undefined;
|
|
1237
1238
|
} | undefined;
|
|
1238
1239
|
} | undefined;
|
|
1240
|
+
allow_action_users?: boolean | undefined;
|
|
1239
1241
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1240
1242
|
};
|
|
1241
1243
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -144,6 +144,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
144
144
|
max?: number | undefined;
|
|
145
145
|
} | undefined;
|
|
146
146
|
} | undefined;
|
|
147
|
+
allow_action_users?: boolean | undefined;
|
|
147
148
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
148
149
|
};
|
|
149
150
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -285,6 +286,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
285
286
|
max?: number | undefined;
|
|
286
287
|
} | undefined;
|
|
287
288
|
} | undefined;
|
|
289
|
+
allow_action_users?: boolean | undefined;
|
|
288
290
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
289
291
|
};
|
|
290
292
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -426,6 +428,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
426
428
|
max?: number | undefined;
|
|
427
429
|
} | undefined;
|
|
428
430
|
} | undefined;
|
|
431
|
+
allow_action_users?: boolean | undefined;
|
|
429
432
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
430
433
|
};
|
|
431
434
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -582,6 +585,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
582
585
|
max?: number | undefined;
|
|
583
586
|
} | undefined;
|
|
584
587
|
} | undefined;
|
|
588
|
+
allow_action_users?: boolean | undefined;
|
|
585
589
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
586
590
|
};
|
|
587
591
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -784,6 +788,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
784
788
|
max?: number | undefined;
|
|
785
789
|
} | undefined;
|
|
786
790
|
} | undefined;
|
|
791
|
+
allow_action_users?: boolean | undefined;
|
|
787
792
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
788
793
|
};
|
|
789
794
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -952,6 +957,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
952
957
|
max?: number | undefined;
|
|
953
958
|
} | undefined;
|
|
954
959
|
} | undefined;
|
|
960
|
+
allow_action_users?: boolean | undefined;
|
|
955
961
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
956
962
|
};
|
|
957
963
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
@@ -1047,7 +1053,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
1047
1053
|
};
|
|
1048
1054
|
} | {
|
|
1049
1055
|
mode: "inline";
|
|
1050
|
-
status: "
|
|
1056
|
+
status: "success" | "error";
|
|
1051
1057
|
connection_id: string;
|
|
1052
1058
|
connection_name: string;
|
|
1053
1059
|
strategy: string;
|