authhero 9.17.0 → 9.19.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 +144 -144
- package/dist/authhero.d.ts +362 -233
- package/dist/authhero.mjs +13301 -13145
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/http-certificate-issuer.d.ts +55 -0
- package/dist/types/helpers/logging.d.ts +5 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +3 -0
- package/dist/types/helpers/renew-signing-certificates.d.ts +61 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/index.d.ts +250 -231
- package/dist/types/routes/auth-api/index.d.ts +14 -14
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +1 -1
- 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/branding.d.ts +1 -1
- 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 +3 -1
- package/dist/types/routes/management-api/forms.d.ts +126 -126
- 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 +225 -210
- 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/organizations.d.ts +6 -6
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +13 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +4 -4
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +24 -24
- 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/state-machines/login-session.d.ts +1 -1
- package/package.json +6 -6
|
@@ -741,19 +741,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
email: string;
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
username?: string | undefined;
|
|
744
745
|
audience?: string | undefined;
|
|
745
746
|
scope?: string | undefined;
|
|
746
|
-
code_challenge?: string | undefined;
|
|
747
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
748
747
|
redirect_uri?: string | undefined;
|
|
749
|
-
nonce?: string | undefined;
|
|
750
748
|
state?: string | undefined;
|
|
751
749
|
act_as?: string | undefined;
|
|
752
750
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
753
751
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
754
752
|
organization?: string | undefined;
|
|
753
|
+
nonce?: string | undefined;
|
|
755
754
|
prompt?: string | undefined;
|
|
756
|
-
|
|
755
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
756
|
+
code_challenge?: string | undefined;
|
|
757
757
|
ui_locales?: string | undefined;
|
|
758
758
|
max_age?: number | undefined;
|
|
759
759
|
acr_values?: string | undefined;
|
|
@@ -777,19 +777,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
phone_number: string;
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
username?: string | undefined;
|
|
780
781
|
audience?: string | undefined;
|
|
781
782
|
scope?: string | undefined;
|
|
782
|
-
code_challenge?: string | undefined;
|
|
783
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
784
783
|
redirect_uri?: string | undefined;
|
|
785
|
-
nonce?: string | undefined;
|
|
786
784
|
state?: string | undefined;
|
|
787
785
|
act_as?: string | undefined;
|
|
788
786
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
789
787
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
790
788
|
organization?: string | undefined;
|
|
789
|
+
nonce?: string | undefined;
|
|
791
790
|
prompt?: string | undefined;
|
|
792
|
-
|
|
791
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
792
|
+
code_challenge?: string | undefined;
|
|
793
793
|
ui_locales?: string | undefined;
|
|
794
794
|
max_age?: number | undefined;
|
|
795
795
|
acr_values?: string | undefined;
|
|
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
921
921
|
input: {
|
|
922
922
|
form: {
|
|
923
923
|
token: string;
|
|
924
|
-
token_type_hint?: "
|
|
924
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
925
925
|
client_id?: string | undefined;
|
|
926
926
|
client_secret?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
} & {
|
|
929
929
|
json: {
|
|
930
930
|
token: string;
|
|
931
|
-
token_type_hint?: "
|
|
931
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
932
932
|
client_id?: string | undefined;
|
|
933
933
|
client_secret?: string | undefined;
|
|
934
934
|
};
|
|
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
940
940
|
input: {
|
|
941
941
|
form: {
|
|
942
942
|
token: string;
|
|
943
|
-
token_type_hint?: "
|
|
943
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
944
944
|
client_id?: string | undefined;
|
|
945
945
|
client_secret?: string | undefined;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
json: {
|
|
949
949
|
token: string;
|
|
950
|
-
token_type_hint?: "
|
|
950
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
951
951
|
client_id?: string | undefined;
|
|
952
952
|
client_secret?: string | undefined;
|
|
953
953
|
};
|
|
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
962
962
|
input: {
|
|
963
963
|
form: {
|
|
964
964
|
token: string;
|
|
965
|
-
token_type_hint?: "
|
|
965
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
966
966
|
client_id?: string | undefined;
|
|
967
967
|
client_secret?: string | undefined;
|
|
968
968
|
};
|
|
969
969
|
} & {
|
|
970
970
|
json: {
|
|
971
971
|
token: string;
|
|
972
|
-
token_type_hint?: "
|
|
972
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
973
973
|
client_id?: string | undefined;
|
|
974
974
|
client_secret?: string | undefined;
|
|
975
975
|
};
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
username?: string | undefined;
|
|
17
18
|
audience?: string | undefined;
|
|
18
19
|
scope?: string | undefined;
|
|
19
|
-
code_challenge?: string | undefined;
|
|
20
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
21
20
|
redirect_uri?: string | undefined;
|
|
22
|
-
nonce?: string | undefined;
|
|
23
21
|
state?: string | undefined;
|
|
24
22
|
act_as?: string | undefined;
|
|
25
23
|
response_type?: AuthorizationResponseType | undefined;
|
|
26
24
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
27
25
|
organization?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
28
27
|
prompt?: string | undefined;
|
|
29
|
-
|
|
28
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
|
+
code_challenge?: 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
|
+
username?: string | undefined;
|
|
53
54
|
audience?: string | undefined;
|
|
54
55
|
scope?: string | undefined;
|
|
55
|
-
code_challenge?: string | undefined;
|
|
56
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
57
56
|
redirect_uri?: string | undefined;
|
|
58
|
-
nonce?: string | undefined;
|
|
59
57
|
state?: string | undefined;
|
|
60
58
|
act_as?: string | undefined;
|
|
61
59
|
response_type?: AuthorizationResponseType | undefined;
|
|
62
60
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
63
61
|
organization?: string | undefined;
|
|
62
|
+
nonce?: string | undefined;
|
|
64
63
|
prompt?: string | undefined;
|
|
65
|
-
|
|
64
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
|
+
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "pending" | "unspecified" | "final" | "partial" | "canceled"
|
|
34
|
+
status: "suspended" | "pending" | "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: "
|
|
81
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -67,7 +67,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
67
67
|
json: {
|
|
68
68
|
bindings: {
|
|
69
69
|
ref: {
|
|
70
|
-
type?: "
|
|
70
|
+
type?: "action_name" | "action_id" | undefined;
|
|
71
71
|
value?: string | undefined;
|
|
72
72
|
id?: string | undefined;
|
|
73
73
|
name?: string | undefined;
|
|
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
656
656
|
args: import("hono/utils/types").JSONValue[];
|
|
657
657
|
}[];
|
|
658
658
|
logs: {
|
|
659
|
-
level: "
|
|
659
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
660
660
|
message: string;
|
|
661
661
|
}[];
|
|
662
662
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
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;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "password" | "identifier" | "signup" | "login" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -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;
|
|
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
output: {
|
|
71
|
-
name: "
|
|
71
|
+
name: "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";
|
|
72
72
|
body: string;
|
|
73
73
|
subject: string;
|
|
74
74
|
}[];
|
|
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
81
81
|
$get: {
|
|
82
82
|
input: {
|
|
83
83
|
param: {
|
|
84
|
-
templateName: "
|
|
84
|
+
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";
|
|
85
85
|
};
|
|
86
86
|
} & {
|
|
87
87
|
header: {
|
|
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
94
94
|
} | {
|
|
95
95
|
input: {
|
|
96
96
|
param: {
|
|
97
|
-
templateName: "
|
|
97
|
+
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";
|
|
98
98
|
};
|
|
99
99
|
} & {
|
|
100
100
|
header: {
|
|
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
output: {
|
|
105
|
-
template: "
|
|
105
|
+
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";
|
|
106
106
|
body: string;
|
|
107
107
|
from: string;
|
|
108
108
|
subject: string;
|
|
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
121
121
|
$put: {
|
|
122
122
|
input: {
|
|
123
123
|
param: {
|
|
124
|
-
templateName: "
|
|
124
|
+
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";
|
|
125
125
|
};
|
|
126
126
|
} & {
|
|
127
127
|
header: {
|
|
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
129
129
|
};
|
|
130
130
|
} & {
|
|
131
131
|
json: {
|
|
132
|
-
template: "
|
|
132
|
+
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";
|
|
133
133
|
body: string;
|
|
134
134
|
subject: string;
|
|
135
135
|
syntax?: "liquid" | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
output: {
|
|
144
|
-
template: "
|
|
144
|
+
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";
|
|
145
145
|
body: string;
|
|
146
146
|
from: string;
|
|
147
147
|
subject: string;
|
|
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
160
160
|
$patch: {
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
|
-
templateName: "
|
|
163
|
+
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";
|
|
164
164
|
};
|
|
165
165
|
} & {
|
|
166
166
|
header: {
|
|
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
168
|
};
|
|
169
169
|
} & {
|
|
170
170
|
json: {
|
|
171
|
-
template?: "
|
|
171
|
+
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;
|
|
172
172
|
body?: string | undefined;
|
|
173
173
|
from?: string | undefined;
|
|
174
174
|
subject?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
185
185
|
} | {
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
|
-
templateName: "
|
|
188
|
+
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";
|
|
189
189
|
};
|
|
190
190
|
} & {
|
|
191
191
|
header: {
|
|
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
193
193
|
};
|
|
194
194
|
} & {
|
|
195
195
|
json: {
|
|
196
|
-
template?: "
|
|
196
|
+
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;
|
|
197
197
|
body?: string | undefined;
|
|
198
198
|
from?: string | undefined;
|
|
199
199
|
subject?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
template: "
|
|
208
|
+
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";
|
|
209
209
|
body: string;
|
|
210
210
|
from: string;
|
|
211
211
|
subject: string;
|
|
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
224
224
|
$delete: {
|
|
225
225
|
input: {
|
|
226
226
|
param: {
|
|
227
|
-
templateName: "
|
|
227
|
+
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";
|
|
228
228
|
};
|
|
229
229
|
} & {
|
|
230
230
|
header: {
|
|
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
240
|
-
templateName: "
|
|
240
|
+
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";
|
|
241
241
|
};
|
|
242
242
|
} & {
|
|
243
243
|
header: {
|
|
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
254
254
|
$post: {
|
|
255
255
|
input: {
|
|
256
256
|
param: {
|
|
257
|
-
templateName: "
|
|
257
|
+
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";
|
|
258
258
|
};
|
|
259
259
|
} & {
|
|
260
260
|
header: {
|
|
@@ -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: "user" | "
|
|
33
|
+
type: "user" | "system" | "admin" | "api_key" | "client_credentials";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -65,6 +65,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
65
65
|
user_agent?: string | undefined;
|
|
66
66
|
correlation_id?: string | undefined;
|
|
67
67
|
redirect_uri?: string | undefined;
|
|
68
|
+
authorization_url?: string | undefined;
|
|
68
69
|
};
|
|
69
70
|
hostname: string;
|
|
70
71
|
timestamp: string;
|
|
@@ -102,6 +103,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
102
103
|
} | undefined;
|
|
103
104
|
} | undefined;
|
|
104
105
|
is_mobile?: boolean | undefined;
|
|
106
|
+
execution_id?: string | undefined;
|
|
105
107
|
dead_lettered_at?: string | null | undefined;
|
|
106
108
|
final_error?: string | null | undefined;
|
|
107
109
|
}[];
|