authhero 5.14.1 → 5.15.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 +107 -107
- package/dist/authhero.d.ts +202 -197
- package/dist/authhero.mjs +9201 -9117
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/createEncryptedDataAdapter.d.ts +4 -0
- package/dist/types/authentication-flows/passwordless.d.ts +3 -2
- package/dist/types/helpers/client.d.ts +1 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/index.d.ts +197 -197
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +15 -15
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/custom-domains.d.ts +13 -13
- package/dist/types/routes/management-api/email-templates.d.ts +14 -14
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- package/dist/types/routes/management-api/forms.d.ts +119 -119
- package/dist/types/routes/management-api/index.d.ts +176 -176
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +2 -2
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +3 -0
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +4 -0
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/utils/jwks.d.ts +2 -2
- package/package.json +5 -5
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -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?: "change-email" | "account" | "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?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
output: {
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
-
|
|
727
|
-
username?: string | undefined;
|
|
726
|
+
act_as?: string | undefined;
|
|
728
727
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
729
728
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
730
|
-
scope?: string | undefined;
|
|
731
|
-
audience?: string | undefined;
|
|
732
|
-
act_as?: string | undefined;
|
|
733
729
|
redirect_uri?: string | undefined;
|
|
730
|
+
audience?: string | undefined;
|
|
734
731
|
organization?: string | undefined;
|
|
732
|
+
state?: string | undefined;
|
|
735
733
|
nonce?: string | undefined;
|
|
734
|
+
scope?: string | undefined;
|
|
736
735
|
prompt?: string | undefined;
|
|
737
736
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
737
|
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
|
-
|
|
763
|
-
username?: string | undefined;
|
|
762
|
+
act_as?: string | undefined;
|
|
764
763
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
765
764
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
766
|
-
scope?: string | undefined;
|
|
767
|
-
audience?: string | undefined;
|
|
768
|
-
act_as?: string | undefined;
|
|
769
765
|
redirect_uri?: string | undefined;
|
|
766
|
+
audience?: string | undefined;
|
|
770
767
|
organization?: string | undefined;
|
|
768
|
+
state?: string | undefined;
|
|
771
769
|
nonce?: string | undefined;
|
|
770
|
+
scope?: string | undefined;
|
|
772
771
|
prompt?: string | undefined;
|
|
773
772
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
773
|
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;
|
|
@@ -1378,7 +1378,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1378
1378
|
keys: {
|
|
1379
1379
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
1380
1380
|
kid: string;
|
|
1381
|
-
kty: "
|
|
1381
|
+
kty: "RSA" | "EC" | "oct";
|
|
1382
1382
|
use?: "sig" | "enc" | undefined;
|
|
1383
1383
|
n?: string | undefined;
|
|
1384
1384
|
e?: string | undefined;
|
|
@@ -1566,7 +1566,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1566
1566
|
};
|
|
1567
1567
|
output: {};
|
|
1568
1568
|
outputFormat: string;
|
|
1569
|
-
status:
|
|
1569
|
+
status: 200;
|
|
1570
1570
|
} | {
|
|
1571
1571
|
input: {
|
|
1572
1572
|
query: {
|
|
@@ -1580,7 +1580,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1580
1580
|
};
|
|
1581
1581
|
output: {};
|
|
1582
1582
|
outputFormat: string;
|
|
1583
|
-
status:
|
|
1583
|
+
status: 302;
|
|
1584
1584
|
} | {
|
|
1585
1585
|
input: {
|
|
1586
1586
|
query: {
|
|
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
18
18
|
};
|
|
19
19
|
output: {};
|
|
20
20
|
outputFormat: string;
|
|
21
|
-
status:
|
|
21
|
+
status: 200;
|
|
22
22
|
} | {
|
|
23
23
|
input: {
|
|
24
24
|
query: {
|
|
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
|
|
|
32
32
|
};
|
|
33
33
|
output: {};
|
|
34
34
|
outputFormat: string;
|
|
35
|
-
status:
|
|
35
|
+
status: 302;
|
|
36
36
|
} | {
|
|
37
37
|
input: {
|
|
38
38
|
query: {
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
|
|
18
|
-
username?: string | undefined;
|
|
17
|
+
act_as?: string | undefined;
|
|
19
18
|
response_type?: AuthorizationResponseType | undefined;
|
|
20
19
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
21
|
-
scope?: string | undefined;
|
|
22
|
-
audience?: string | undefined;
|
|
23
|
-
act_as?: string | undefined;
|
|
24
20
|
redirect_uri?: string | undefined;
|
|
21
|
+
audience?: string | undefined;
|
|
25
22
|
organization?: string | undefined;
|
|
23
|
+
state?: string | undefined;
|
|
26
24
|
nonce?: string | undefined;
|
|
25
|
+
scope?: string | undefined;
|
|
27
26
|
prompt?: string | undefined;
|
|
28
27
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
28
|
code_challenge?: string | undefined;
|
|
29
|
+
username?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
|
|
54
|
-
username?: string | undefined;
|
|
53
|
+
act_as?: string | undefined;
|
|
55
54
|
response_type?: AuthorizationResponseType | undefined;
|
|
56
55
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
57
|
-
scope?: string | undefined;
|
|
58
|
-
audience?: string | undefined;
|
|
59
|
-
act_as?: string | undefined;
|
|
60
56
|
redirect_uri?: string | undefined;
|
|
57
|
+
audience?: string | undefined;
|
|
61
58
|
organization?: string | undefined;
|
|
59
|
+
state?: string | undefined;
|
|
62
60
|
nonce?: string | undefined;
|
|
61
|
+
scope?: string | undefined;
|
|
63
62
|
prompt?: string | undefined;
|
|
64
63
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
64
|
code_challenge?: string | undefined;
|
|
65
|
+
username?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -10,7 +10,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
10
10
|
keys: {
|
|
11
11
|
alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
|
|
12
12
|
kid: string;
|
|
13
|
-
kty: "
|
|
13
|
+
kty: "RSA" | "EC" | "oct";
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
16
16
|
e?: 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: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
|
|
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: "
|
|
81
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "
|
|
664
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "email" | "
|
|
40
|
+
type: "email" | "phone" | "push" | "passkey" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -28,9 +28,9 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
28
28
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
29
29
|
custom_domain_id: string;
|
|
30
30
|
primary: boolean;
|
|
31
|
-
status: "
|
|
31
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
|
-
custom_client_ip_header?: "null" | "
|
|
33
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
35
35
|
[x: string]: string;
|
|
36
36
|
} | undefined;
|
|
@@ -69,9 +69,9 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
69
69
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
70
70
|
custom_domain_id: string;
|
|
71
71
|
primary: boolean;
|
|
72
|
-
status: "
|
|
72
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
|
-
custom_client_ip_header?: "null" | "
|
|
74
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
76
76
|
[x: string]: string;
|
|
77
77
|
} | undefined;
|
|
@@ -126,11 +126,11 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
126
126
|
domain?: string | undefined;
|
|
127
127
|
type?: "auth0_managed_certs" | "self_managed_certs" | undefined;
|
|
128
128
|
verification_method?: "txt" | undefined;
|
|
129
|
-
custom_client_ip_header?: "null" | "
|
|
129
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
130
130
|
domain_metadata?: Record<string, string> | undefined;
|
|
131
131
|
custom_domain_id?: string | undefined;
|
|
132
132
|
primary?: boolean | undefined;
|
|
133
|
-
status?: "
|
|
133
|
+
status?: "pending" | "disabled" | "pending_verification" | "ready" | undefined;
|
|
134
134
|
origin_domain_name?: string | undefined;
|
|
135
135
|
verification?: {
|
|
136
136
|
methods: ({
|
|
@@ -151,9 +151,9 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
151
151
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
152
152
|
custom_domain_id: string;
|
|
153
153
|
primary: boolean;
|
|
154
|
-
status: "
|
|
154
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
155
155
|
verification_method?: "txt" | undefined;
|
|
156
|
-
custom_client_ip_header?: "null" | "
|
|
156
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
157
157
|
domain_metadata?: {
|
|
158
158
|
[x: string]: string;
|
|
159
159
|
} | undefined;
|
|
@@ -189,7 +189,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
189
189
|
custom_domain_id?: string | undefined;
|
|
190
190
|
verification_method?: "txt" | undefined;
|
|
191
191
|
tls_policy?: "recommended" | undefined;
|
|
192
|
-
custom_client_ip_header?: "null" | "
|
|
192
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
193
193
|
domain_metadata?: Record<string, string> | undefined;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
@@ -198,9 +198,9 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
198
198
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
199
199
|
custom_domain_id: string;
|
|
200
200
|
primary: boolean;
|
|
201
|
-
status: "
|
|
201
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
202
202
|
verification_method?: "txt" | undefined;
|
|
203
|
-
custom_client_ip_header?: "null" | "
|
|
203
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
204
204
|
domain_metadata?: {
|
|
205
205
|
[x: string]: string;
|
|
206
206
|
} | undefined;
|
|
@@ -239,9 +239,9 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
239
239
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
240
240
|
custom_domain_id: string;
|
|
241
241
|
primary: boolean;
|
|
242
|
-
status: "
|
|
242
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
243
243
|
verification_method?: "txt" | undefined;
|
|
244
|
-
custom_client_ip_header?: "null" | "
|
|
244
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
245
245
|
domain_metadata?: {
|
|
246
246
|
[x: string]: string;
|
|
247
247
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
49
49
|
body: string;
|
|
50
50
|
from: string;
|
|
51
51
|
subject: string;
|
|
@@ -64,7 +64,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
64
64
|
$get: {
|
|
65
65
|
input: {
|
|
66
66
|
param: {
|
|
67
|
-
templateName: "
|
|
67
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
68
68
|
};
|
|
69
69
|
} & {
|
|
70
70
|
header: {
|
|
@@ -77,7 +77,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
77
77
|
} | {
|
|
78
78
|
input: {
|
|
79
79
|
param: {
|
|
80
|
-
templateName: "
|
|
80
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
81
81
|
};
|
|
82
82
|
} & {
|
|
83
83
|
header: {
|
|
@@ -85,7 +85,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
output: {
|
|
88
|
-
template: "
|
|
88
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
89
89
|
body: string;
|
|
90
90
|
from: string;
|
|
91
91
|
subject: string;
|
|
@@ -104,7 +104,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
104
104
|
$put: {
|
|
105
105
|
input: {
|
|
106
106
|
param: {
|
|
107
|
-
templateName: "
|
|
107
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
108
108
|
};
|
|
109
109
|
} & {
|
|
110
110
|
header: {
|
|
@@ -112,7 +112,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
112
112
|
};
|
|
113
113
|
} & {
|
|
114
114
|
json: {
|
|
115
|
-
template: "
|
|
115
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
116
116
|
body: string;
|
|
117
117
|
from: string;
|
|
118
118
|
subject: string;
|
|
@@ -124,7 +124,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
126
|
output: {
|
|
127
|
-
template: "
|
|
127
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
128
128
|
body: string;
|
|
129
129
|
from: string;
|
|
130
130
|
subject: string;
|
|
@@ -143,7 +143,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
143
143
|
$patch: {
|
|
144
144
|
input: {
|
|
145
145
|
param: {
|
|
146
|
-
templateName: "
|
|
146
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
147
147
|
};
|
|
148
148
|
} & {
|
|
149
149
|
header: {
|
|
@@ -151,7 +151,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
151
151
|
};
|
|
152
152
|
} & {
|
|
153
153
|
json: {
|
|
154
|
-
template?: "
|
|
154
|
+
template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
155
155
|
body?: string | undefined;
|
|
156
156
|
from?: string | undefined;
|
|
157
157
|
subject?: string | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
168
|
} | {
|
|
169
169
|
input: {
|
|
170
170
|
param: {
|
|
171
|
-
templateName: "
|
|
171
|
+
templateName: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
172
172
|
};
|
|
173
173
|
} & {
|
|
174
174
|
header: {
|
|
@@ -176,7 +176,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
176
176
|
};
|
|
177
177
|
} & {
|
|
178
178
|
json: {
|
|
179
|
-
template?: "
|
|
179
|
+
template?: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
180
180
|
body?: string | undefined;
|
|
181
181
|
from?: string | undefined;
|
|
182
182
|
subject?: string | undefined;
|
|
@@ -188,7 +188,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
188
188
|
};
|
|
189
189
|
};
|
|
190
190
|
output: {
|
|
191
|
-
template: "
|
|
191
|
+
template: "verify_email" | "change_password" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
192
192
|
body: string;
|
|
193
193
|
from: string;
|
|
194
194
|
subject: string;
|
|
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
30
30
|
log_type: string;
|
|
31
31
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "
|
|
33
|
+
type: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
62
62
|
type: "REDIRECT";
|
|
63
63
|
action: "REDIRECT_USER";
|
|
64
64
|
params: {
|
|
65
|
-
target: "custom" | "
|
|
65
|
+
target: "custom" | "change-email" | "account";
|
|
66
66
|
custom_url?: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
alias?: string | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
115
115
|
type: "REDIRECT";
|
|
116
116
|
action: "REDIRECT_USER";
|
|
117
117
|
params: {
|
|
118
|
-
target: "custom" | "
|
|
118
|
+
target: "custom" | "change-email" | "account";
|
|
119
119
|
custom_url?: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
alias?: string | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
183
183
|
type: "REDIRECT";
|
|
184
184
|
action: "REDIRECT_USER";
|
|
185
185
|
params: {
|
|
186
|
-
target: "custom" | "
|
|
186
|
+
target: "custom" | "change-email" | "account";
|
|
187
187
|
custom_url?: string | undefined;
|
|
188
188
|
};
|
|
189
189
|
alias?: string | undefined;
|
|
@@ -264,7 +264,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
264
264
|
type: "REDIRECT";
|
|
265
265
|
action: "REDIRECT_USER";
|
|
266
266
|
params: {
|
|
267
|
-
target: "custom" | "
|
|
267
|
+
target: "custom" | "change-email" | "account";
|
|
268
268
|
custom_url?: string | undefined;
|
|
269
269
|
};
|
|
270
270
|
alias?: string | undefined;
|
|
@@ -312,7 +312,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
312
312
|
type: "REDIRECT";
|
|
313
313
|
action: "REDIRECT_USER";
|
|
314
314
|
params: {
|
|
315
|
-
target: "custom" | "
|
|
315
|
+
target: "custom" | "change-email" | "account";
|
|
316
316
|
custom_url?: string | undefined;
|
|
317
317
|
};
|
|
318
318
|
alias?: string | undefined;
|
|
@@ -372,7 +372,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
372
372
|
type: "REDIRECT";
|
|
373
373
|
action: "REDIRECT_USER";
|
|
374
374
|
params: {
|
|
375
|
-
target: "custom" | "
|
|
375
|
+
target: "custom" | "change-email" | "account";
|
|
376
376
|
custom_url?: string | undefined;
|
|
377
377
|
};
|
|
378
378
|
alias?: string | undefined;
|
|
@@ -420,7 +420,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
420
420
|
type: "REDIRECT";
|
|
421
421
|
action: "REDIRECT_USER";
|
|
422
422
|
params: {
|
|
423
|
-
target: "custom" | "
|
|
423
|
+
target: "custom" | "change-email" | "account";
|
|
424
424
|
custom_url?: string | undefined;
|
|
425
425
|
};
|
|
426
426
|
alias?: string | undefined;
|