authhero 9.40.0 → 9.41.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-6774edd2.entry.js +1 -0
- package/dist/authhero.cjs +110 -110
- package/dist/authhero.d.ts +399 -385
- package/dist/authhero.mjs +10465 -10289
- package/dist/{mfa-Ddp9JT1l.mjs → mfa-CdC-9ysu.mjs} +80 -80
- package/dist/{mfa-BlaRHQgI.js → mfa-Dx8-AJ6U.js} +2 -2
- package/dist/{mfa-attempts-bPJnyu2c.js → mfa-attempts-CtWWceg2.js} +34 -26
- package/dist/{mfa-attempts-YsmteBp0.mjs → mfa-attempts-mBkfX0wf.mjs} +4827 -4657
- package/dist/{passkey-enrollment-CLg7RteL.js → passkey-enrollment-KQcVF_QM.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/mfa-attempts.d.ts +7 -0
- package/dist/types/generated/locale-types.d.ts +6 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/hooks/codehooks.d.ts +45 -0
- package/dist/types/hooks/lifecycle-codehooks.d.ts +1 -1
- package/dist/types/index.d.ts +162 -162
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +10 -10
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/action-triggers.d.ts +26 -26
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
- package/dist/types/routes/management-api/branding.d.ts +17 -17
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
- 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/failed-events.d.ts +4 -4
- package/dist/types/routes/management-api/forms.d.ts +152 -152
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +14 -14
- package/dist/types/routes/management-api/index.d.ts +147 -147
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- 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 +7 -7
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- 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 +15 -15
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +27 -27
- package/dist/types/routes/universal-login/common.d.ts +10 -10
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/screens/login-otp.d.ts +79 -5
- package/dist/types/routes/universal-login/screens/magic-link-sent.d.ts +8 -1
- package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -5
- package/dist/types/state-machines/login-session-data.d.ts +36 -1
- package/dist/types/state-machines/login-session.d.ts +17 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/package.json +6 -6
- package/dist/assets/u/widget/p-d0eb5acc.entry.js +0 -1
|
@@ -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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | 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 | "true" | "false" | undefined;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
output: {
|
|
@@ -762,16 +762,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
762
762
|
email: string;
|
|
763
763
|
send: "code" | "link";
|
|
764
764
|
authParams: {
|
|
765
|
+
username?: string | undefined;
|
|
766
|
+
organization?: string | undefined;
|
|
765
767
|
scope?: string | undefined;
|
|
766
768
|
state?: string | undefined;
|
|
767
769
|
connection?: string | undefined;
|
|
768
|
-
username?: string | undefined;
|
|
769
770
|
audience?: string | undefined;
|
|
770
771
|
act_as?: string | undefined;
|
|
771
772
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
772
773
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
773
774
|
redirect_uri?: string | undefined;
|
|
774
|
-
organization?: string | undefined;
|
|
775
775
|
nonce?: string | undefined;
|
|
776
776
|
prompt?: string | undefined;
|
|
777
777
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -799,16 +799,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
799
799
|
phone_number: string;
|
|
800
800
|
send: "code" | "link";
|
|
801
801
|
authParams: {
|
|
802
|
+
username?: string | undefined;
|
|
803
|
+
organization?: string | undefined;
|
|
802
804
|
scope?: string | undefined;
|
|
803
805
|
state?: string | undefined;
|
|
804
806
|
connection?: string | undefined;
|
|
805
|
-
username?: string | undefined;
|
|
806
807
|
audience?: string | undefined;
|
|
807
808
|
act_as?: string | undefined;
|
|
808
809
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
809
810
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
810
811
|
redirect_uri?: string | undefined;
|
|
811
|
-
organization?: string | undefined;
|
|
812
812
|
nonce?: string | undefined;
|
|
813
813
|
prompt?: string | undefined;
|
|
814
814
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | 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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_token" | undefined;
|
|
996
996
|
client_id?: string | undefined;
|
|
997
997
|
client_secret?: string | undefined;
|
|
998
998
|
};
|
|
@@ -14,20 +14,20 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
state?: string | undefined;
|
|
18
17
|
username?: string | undefined;
|
|
18
|
+
organization?: string | undefined;
|
|
19
|
+
scope?: string | undefined;
|
|
20
|
+
state?: string | undefined;
|
|
19
21
|
connection?: string | undefined;
|
|
20
|
-
|
|
21
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
22
|
-
redirect_uri?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
22
|
+
audience?: string | undefined;
|
|
24
23
|
act_as?: string | undefined;
|
|
25
24
|
response_type?: AuthorizationResponseType | undefined;
|
|
26
25
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
scope?: string | undefined;
|
|
26
|
+
redirect_uri?: string | undefined;
|
|
27
|
+
nonce?: string | undefined;
|
|
30
28
|
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
|
-
state?: string | undefined;
|
|
55
54
|
username?: string | undefined;
|
|
55
|
+
organization?: string | undefined;
|
|
56
|
+
scope?: string | undefined;
|
|
57
|
+
state?: string | undefined;
|
|
56
58
|
connection?: string | undefined;
|
|
57
|
-
|
|
58
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
59
|
-
redirect_uri?: string | undefined;
|
|
60
|
-
nonce?: string | undefined;
|
|
59
|
+
audience?: string | undefined;
|
|
61
60
|
act_as?: string | undefined;
|
|
62
61
|
response_type?: AuthorizationResponseType | undefined;
|
|
63
62
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
scope?: string | undefined;
|
|
63
|
+
redirect_uri?: string | undefined;
|
|
64
|
+
nonce?: string | undefined;
|
|
67
65
|
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;
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "
|
|
34
|
+
status: "final" | "pending" | "unspecified" | "partial" | "canceled" | "suspended";
|
|
35
35
|
results: {
|
|
36
36
|
action_name: string;
|
|
37
37
|
error: {
|
|
@@ -70,7 +70,32 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
70
70
|
json: {
|
|
71
71
|
bindings: {
|
|
72
72
|
ref: {
|
|
73
|
-
type?: "
|
|
73
|
+
type?: "action_name" | "action_id" | 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
|
+
input: {
|
|
87
|
+
param: {
|
|
88
|
+
triggerId: string;
|
|
89
|
+
};
|
|
90
|
+
} & {
|
|
91
|
+
header: {
|
|
92
|
+
"tenant-id"?: string | undefined;
|
|
93
|
+
};
|
|
94
|
+
} & {
|
|
95
|
+
json: {
|
|
96
|
+
bindings: {
|
|
97
|
+
ref: {
|
|
98
|
+
type?: "action_name" | "action_id" | undefined;
|
|
74
99
|
value?: string | undefined;
|
|
75
100
|
id?: string | undefined;
|
|
76
101
|
name?: string | undefined;
|
|
@@ -117,31 +142,6 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
117
142
|
};
|
|
118
143
|
outputFormat: "json";
|
|
119
144
|
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
|
}, "/">;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "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;
|
|
@@ -8,7 +8,7 @@ export declare const brandingUploadsRoutes: OpenAPIHono<{
|
|
|
8
8
|
$post: {
|
|
9
9
|
input: {
|
|
10
10
|
param: {
|
|
11
|
-
kind: "
|
|
11
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
header: {
|
|
@@ -25,7 +25,7 @@ export declare const brandingUploadsRoutes: OpenAPIHono<{
|
|
|
25
25
|
} | {
|
|
26
26
|
input: {
|
|
27
27
|
param: {
|
|
28
|
-
kind: "
|
|
28
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
29
29
|
};
|
|
30
30
|
} & {
|
|
31
31
|
header: {
|
|
@@ -42,7 +42,7 @@ export declare const brandingUploadsRoutes: OpenAPIHono<{
|
|
|
42
42
|
} | {
|
|
43
43
|
input: {
|
|
44
44
|
param: {
|
|
45
|
-
kind: "
|
|
45
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
46
46
|
};
|
|
47
47
|
} & {
|
|
48
48
|
header: {
|
|
@@ -64,7 +64,7 @@ export declare const brandingUploadsRoutes: OpenAPIHono<{
|
|
|
64
64
|
} | {
|
|
65
65
|
input: {
|
|
66
66
|
param: {
|
|
67
|
-
kind: "
|
|
67
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
68
68
|
};
|
|
69
69
|
} & {
|
|
70
70
|
header: {
|
|
@@ -77,15 +77,15 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
77
77
|
page_background: {
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
|
-
page_layout: "
|
|
80
|
+
page_layout: "left" | "right" | "center";
|
|
81
81
|
background_color_dark?: string | undefined;
|
|
82
82
|
background_image_url_dark?: string | undefined;
|
|
83
83
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
84
84
|
};
|
|
85
85
|
widget: {
|
|
86
|
-
header_text_alignment: "
|
|
86
|
+
header_text_alignment: "left" | "right" | "center";
|
|
87
87
|
logo_height: number;
|
|
88
|
-
logo_position: "none" | "
|
|
88
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
89
89
|
logo_url: string;
|
|
90
90
|
social_buttons_layout: "bottom" | "top";
|
|
91
91
|
logo_url_dark?: string | undefined;
|
|
@@ -190,15 +190,15 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
190
190
|
page_background: {
|
|
191
191
|
background_color: string;
|
|
192
192
|
background_image_url: string;
|
|
193
|
-
page_layout: "
|
|
193
|
+
page_layout: "left" | "right" | "center";
|
|
194
194
|
background_color_dark?: string | undefined;
|
|
195
195
|
background_image_url_dark?: string | undefined;
|
|
196
196
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
197
197
|
};
|
|
198
198
|
widget: {
|
|
199
|
-
header_text_alignment: "
|
|
199
|
+
header_text_alignment: "left" | "right" | "center";
|
|
200
200
|
logo_height: number;
|
|
201
|
-
logo_position: "none" | "
|
|
201
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
202
202
|
logo_url: string;
|
|
203
203
|
social_buttons_layout: "bottom" | "top";
|
|
204
204
|
logo_url_dark?: string | undefined;
|
|
@@ -292,15 +292,15 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
292
292
|
page_background: {
|
|
293
293
|
background_color: string;
|
|
294
294
|
background_image_url: string;
|
|
295
|
-
page_layout: "
|
|
295
|
+
page_layout: "left" | "right" | "center";
|
|
296
296
|
background_color_dark?: string | undefined;
|
|
297
297
|
background_image_url_dark?: string | undefined;
|
|
298
298
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
299
299
|
};
|
|
300
300
|
widget: {
|
|
301
|
-
header_text_alignment: "
|
|
301
|
+
header_text_alignment: "left" | "right" | "center";
|
|
302
302
|
logo_height: number;
|
|
303
|
-
logo_position: "none" | "
|
|
303
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
304
304
|
logo_url: string;
|
|
305
305
|
social_buttons_layout: "bottom" | "top";
|
|
306
306
|
logo_url_dark?: string | undefined;
|
|
@@ -336,7 +336,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
336
336
|
$post: {
|
|
337
337
|
input: {
|
|
338
338
|
param: {
|
|
339
|
-
kind: "
|
|
339
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
340
340
|
};
|
|
341
341
|
} & {
|
|
342
342
|
header: {
|
|
@@ -353,7 +353,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
353
353
|
} | {
|
|
354
354
|
input: {
|
|
355
355
|
param: {
|
|
356
|
-
kind: "
|
|
356
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
357
357
|
};
|
|
358
358
|
} & {
|
|
359
359
|
header: {
|
|
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
370
370
|
} | {
|
|
371
371
|
input: {
|
|
372
372
|
param: {
|
|
373
|
-
kind: "
|
|
373
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
374
374
|
};
|
|
375
375
|
} & {
|
|
376
376
|
header: {
|
|
@@ -392,7 +392,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
392
392
|
} | {
|
|
393
393
|
input: {
|
|
394
394
|
param: {
|
|
395
|
-
kind: "
|
|
395
|
+
kind: "logo" | "favicon" | "powered_by_logo" | "background" | "font";
|
|
396
396
|
};
|
|
397
397
|
} & {
|
|
398
398
|
header: {
|
|
@@ -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" | "mfa" | "otp" | "login" | "identifier" | "signup" | "password" | "consent" | undefined;
|
|
579
579
|
branding?: {
|
|
580
580
|
colors?: {
|
|
581
581
|
primary: string;
|
|
@@ -686,15 +686,15 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
686
686
|
page_background?: {
|
|
687
687
|
background_color: string;
|
|
688
688
|
background_image_url: string;
|
|
689
|
-
page_layout: "
|
|
689
|
+
page_layout: "left" | "right" | "center";
|
|
690
690
|
background_color_dark?: string | undefined;
|
|
691
691
|
background_image_url_dark?: string | undefined;
|
|
692
692
|
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
693
693
|
} | undefined;
|
|
694
694
|
widget?: {
|
|
695
|
-
header_text_alignment: "
|
|
695
|
+
header_text_alignment: "left" | "right" | "center";
|
|
696
696
|
logo_height: number;
|
|
697
|
-
logo_position: "none" | "
|
|
697
|
+
logo_position: "none" | "left" | "right" | "center";
|
|
698
698
|
logo_url: string;
|
|
699
699
|
social_buttons_layout: "bottom" | "top";
|
|
700
700
|
logo_url_dark?: string | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
59
59
|
output: {
|
|
60
60
|
id: string;
|
|
61
61
|
type: "iat" | "rat";
|
|
62
|
-
status: "active" | "
|
|
62
|
+
status: "active" | "expired" | "revoked" | "used";
|
|
63
63
|
single_use: boolean;
|
|
64
64
|
created_at: string;
|
|
65
65
|
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
@@ -77,7 +77,7 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
77
77
|
client_registration_tokens: {
|
|
78
78
|
id: string;
|
|
79
79
|
type: "iat" | "rat";
|
|
80
|
-
status: "active" | "
|
|
80
|
+
status: "active" | "expired" | "revoked" | "used";
|
|
81
81
|
single_use: boolean;
|
|
82
82
|
created_at: string;
|
|
83
83
|
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const clientRegistrationTokenRoutes: OpenAPIHono<{
|
|
|
116
116
|
output: {
|
|
117
117
|
id: string;
|
|
118
118
|
type: "iat" | "rat";
|
|
119
|
-
status: "active" | "
|
|
119
|
+
status: "active" | "expired" | "revoked" | "used";
|
|
120
120
|
single_use: boolean;
|
|
121
121
|
created_at: string;
|
|
122
122
|
source?: "connect" | "invite" | "edit_link" | "registration" | undefined;
|
|
@@ -54,7 +54,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
54
54
|
can_create_session_transfer_token?: boolean | undefined;
|
|
55
55
|
enforce_cascade_revocation?: boolean | undefined;
|
|
56
56
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
57
|
-
enforce_device_binding?: "
|
|
57
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
58
58
|
allow_refresh_token?: boolean | undefined;
|
|
59
59
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
60
60
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -167,7 +167,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
167
167
|
can_create_session_transfer_token?: boolean | undefined;
|
|
168
168
|
enforce_cascade_revocation?: boolean | undefined;
|
|
169
169
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
170
|
-
enforce_device_binding?: "
|
|
170
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
171
171
|
allow_refresh_token?: boolean | undefined;
|
|
172
172
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
173
173
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -280,7 +280,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
280
280
|
can_create_session_transfer_token?: boolean | undefined;
|
|
281
281
|
enforce_cascade_revocation?: boolean | undefined;
|
|
282
282
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
283
|
-
enforce_device_binding?: "
|
|
283
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
284
284
|
allow_refresh_token?: boolean | undefined;
|
|
285
285
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
286
286
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
408
408
|
can_create_session_transfer_token?: boolean | undefined;
|
|
409
409
|
enforce_cascade_revocation?: boolean | undefined;
|
|
410
410
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
411
|
-
enforce_device_binding?: "
|
|
411
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
412
412
|
allow_refresh_token?: boolean | undefined;
|
|
413
413
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
414
414
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -556,7 +556,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
556
556
|
can_create_session_transfer_token?: boolean | undefined;
|
|
557
557
|
enforce_cascade_revocation?: boolean | undefined;
|
|
558
558
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
559
|
-
enforce_device_binding?: "
|
|
559
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
560
560
|
allow_refresh_token?: boolean | undefined;
|
|
561
561
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
562
562
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -649,7 +649,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
649
649
|
can_create_session_transfer_token?: boolean | undefined;
|
|
650
650
|
enforce_cascade_revocation?: boolean | undefined;
|
|
651
651
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
652
|
-
enforce_device_binding?: "
|
|
652
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
653
653
|
allow_refresh_token?: boolean | undefined;
|
|
654
654
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
655
655
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -763,7 +763,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
763
763
|
can_create_session_transfer_token?: boolean | undefined;
|
|
764
764
|
enforce_cascade_revocation?: boolean | undefined;
|
|
765
765
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
766
|
-
enforce_device_binding?: "
|
|
766
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
767
767
|
allow_refresh_token?: boolean | undefined;
|
|
768
768
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
769
769
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -856,7 +856,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
856
856
|
can_create_session_transfer_token?: boolean | undefined;
|
|
857
857
|
enforce_cascade_revocation?: boolean | undefined;
|
|
858
858
|
allowed_authentication_methods?: ("query" | "cookie")[] | undefined;
|
|
859
|
-
enforce_device_binding?: "
|
|
859
|
+
enforce_device_binding?: "asn" | "ip" | "none" | undefined;
|
|
860
860
|
allow_refresh_token?: boolean | undefined;
|
|
861
861
|
enforce_online_refresh_tokens?: boolean | undefined;
|
|
862
862
|
allow_onward_transfer?: boolean | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
28
28
|
tenant_id: string;
|
|
29
29
|
event_type: string;
|
|
30
30
|
log_type: string;
|
|
31
|
-
category: "
|
|
31
|
+
category: "api" | "user_action" | "admin_action" | "system";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "user" | "
|
|
33
|
+
type: "user" | "system" | "client_credentials" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -132,9 +132,9 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
132
132
|
tenant_id: string;
|
|
133
133
|
event_type: string;
|
|
134
134
|
log_type: string;
|
|
135
|
-
category: "
|
|
135
|
+
category: "api" | "user_action" | "admin_action" | "system";
|
|
136
136
|
actor: {
|
|
137
|
-
type: "user" | "
|
|
137
|
+
type: "user" | "system" | "client_credentials" | "admin" | "api_key";
|
|
138
138
|
id?: string | undefined;
|
|
139
139
|
email?: string | undefined;
|
|
140
140
|
org_id?: string | undefined;
|