authhero 9.4.0 → 9.5.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/p-c2744f87.entry.js +1 -0
- package/dist/authhero.cjs +137 -137
- package/dist/authhero.d.ts +260 -260
- package/dist/authhero.mjs +12575 -12555
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +1 -1
- package/dist/types/hooks/formhooks.d.ts +1 -1
- package/dist/types/i18n/index.d.ts +8 -0
- package/dist/types/index.d.ts +260 -260
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/management-api/branding.d.ts +13 -13
- package/dist/types/routes/management-api/connections.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +20 -20
- package/dist/types/routes/management-api/index.d.ts +220 -220
- 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/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/index.d.ts +11 -11
- package/dist/types/routes/universal-login/u2-form-node.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/validate-email.d.ts +5 -5
- package/dist/types/utils/locale.d.ts +29 -11
- package/package.json +3 -3
- package/dist/assets/u/widget/p-b5f14fa6.entry.js +0 -1
|
@@ -736,19 +736,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
736
736
|
email: string;
|
|
737
737
|
send: "code" | "link";
|
|
738
738
|
authParams: {
|
|
739
|
-
|
|
739
|
+
prompt?: string | undefined;
|
|
740
740
|
username?: string | undefined;
|
|
741
|
-
code_challenge?: string | undefined;
|
|
742
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
743
|
-
redirect_uri?: string | undefined;
|
|
744
|
-
nonce?: string | undefined;
|
|
745
|
-
act_as?: string | undefined;
|
|
746
741
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
747
742
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
743
|
+
scope?: string | undefined;
|
|
748
744
|
audience?: string | undefined;
|
|
745
|
+
act_as?: string | undefined;
|
|
746
|
+
redirect_uri?: string | undefined;
|
|
749
747
|
organization?: string | undefined;
|
|
750
|
-
|
|
751
|
-
|
|
748
|
+
state?: string | undefined;
|
|
749
|
+
nonce?: string | undefined;
|
|
750
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
751
|
+
code_challenge?: string | undefined;
|
|
752
752
|
ui_locales?: string | undefined;
|
|
753
753
|
max_age?: number | undefined;
|
|
754
754
|
acr_values?: string | undefined;
|
|
@@ -772,19 +772,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
772
772
|
phone_number: string;
|
|
773
773
|
send: "code" | "link";
|
|
774
774
|
authParams: {
|
|
775
|
-
|
|
775
|
+
prompt?: string | undefined;
|
|
776
776
|
username?: string | undefined;
|
|
777
|
-
code_challenge?: string | undefined;
|
|
778
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
779
|
-
redirect_uri?: string | undefined;
|
|
780
|
-
nonce?: string | undefined;
|
|
781
|
-
act_as?: string | undefined;
|
|
782
777
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
783
778
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
779
|
+
scope?: string | undefined;
|
|
784
780
|
audience?: string | undefined;
|
|
781
|
+
act_as?: string | undefined;
|
|
782
|
+
redirect_uri?: string | undefined;
|
|
785
783
|
organization?: string | undefined;
|
|
786
|
-
|
|
787
|
-
|
|
784
|
+
state?: string | undefined;
|
|
785
|
+
nonce?: string | undefined;
|
|
786
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
787
|
+
code_challenge?: string | undefined;
|
|
788
788
|
ui_locales?: string | undefined;
|
|
789
789
|
max_age?: number | undefined;
|
|
790
790
|
acr_values?: string | undefined;
|
|
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
916
916
|
input: {
|
|
917
917
|
form: {
|
|
918
918
|
token: string;
|
|
919
|
-
token_type_hint?: "
|
|
919
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
920
920
|
client_id?: string | undefined;
|
|
921
921
|
client_secret?: string | undefined;
|
|
922
922
|
};
|
|
923
923
|
} & {
|
|
924
924
|
json: {
|
|
925
925
|
token: string;
|
|
926
|
-
token_type_hint?: "
|
|
926
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
927
927
|
client_id?: string | undefined;
|
|
928
928
|
client_secret?: string | undefined;
|
|
929
929
|
};
|
|
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
935
935
|
input: {
|
|
936
936
|
form: {
|
|
937
937
|
token: string;
|
|
938
|
-
token_type_hint?: "
|
|
938
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
939
939
|
client_id?: string | undefined;
|
|
940
940
|
client_secret?: string | undefined;
|
|
941
941
|
};
|
|
942
942
|
} & {
|
|
943
943
|
json: {
|
|
944
944
|
token: string;
|
|
945
|
-
token_type_hint?: "
|
|
945
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
946
946
|
client_id?: string | undefined;
|
|
947
947
|
client_secret?: string | undefined;
|
|
948
948
|
};
|
|
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
957
957
|
input: {
|
|
958
958
|
form: {
|
|
959
959
|
token: string;
|
|
960
|
-
token_type_hint?: "
|
|
960
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
961
961
|
client_id?: string | undefined;
|
|
962
962
|
client_secret?: string | undefined;
|
|
963
963
|
};
|
|
964
964
|
} & {
|
|
965
965
|
json: {
|
|
966
966
|
token: string;
|
|
967
|
-
token_type_hint?: "
|
|
967
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
968
968
|
client_id?: string | undefined;
|
|
969
969
|
client_secret?: string | undefined;
|
|
970
970
|
};
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
|
|
17
|
+
prompt?: string | undefined;
|
|
18
18
|
username?: string | undefined;
|
|
19
|
-
code_challenge?: string | undefined;
|
|
20
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
21
|
-
redirect_uri?: string | undefined;
|
|
22
|
-
nonce?: string | undefined;
|
|
23
|
-
act_as?: string | undefined;
|
|
24
19
|
response_type?: AuthorizationResponseType | undefined;
|
|
25
20
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
21
|
+
scope?: string | undefined;
|
|
26
22
|
audience?: string | undefined;
|
|
23
|
+
act_as?: string | undefined;
|
|
24
|
+
redirect_uri?: string | undefined;
|
|
27
25
|
organization?: string | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
state?: string | undefined;
|
|
27
|
+
nonce?: string | undefined;
|
|
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
|
-
|
|
53
|
+
prompt?: string | undefined;
|
|
54
54
|
username?: string | undefined;
|
|
55
|
-
code_challenge?: string | undefined;
|
|
56
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
57
|
-
redirect_uri?: string | undefined;
|
|
58
|
-
nonce?: string | undefined;
|
|
59
|
-
act_as?: string | undefined;
|
|
60
55
|
response_type?: AuthorizationResponseType | undefined;
|
|
61
56
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
57
|
+
scope?: string | undefined;
|
|
62
58
|
audience?: string | undefined;
|
|
59
|
+
act_as?: string | undefined;
|
|
60
|
+
redirect_uri?: string | undefined;
|
|
63
61
|
organization?: string | undefined;
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
state?: string | undefined;
|
|
63
|
+
nonce?: string | undefined;
|
|
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;
|
|
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
27
27
|
base_focus_color: string;
|
|
28
28
|
base_hover_color: string;
|
|
29
29
|
body_text: string;
|
|
30
|
-
captcha_widget_theme: "
|
|
30
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
31
31
|
error: string;
|
|
32
32
|
header: string;
|
|
33
33
|
icons: string;
|
|
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
78
78
|
background_color: string;
|
|
79
79
|
background_image_url: string;
|
|
80
80
|
page_layout: "center" | "left" | "right";
|
|
81
|
-
logo_placement?: "
|
|
81
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
82
82
|
};
|
|
83
83
|
widget: {
|
|
84
84
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
117
117
|
base_focus_color: string;
|
|
118
118
|
base_hover_color: string;
|
|
119
119
|
body_text: string;
|
|
120
|
-
captcha_widget_theme: "
|
|
120
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
121
121
|
error: string;
|
|
122
122
|
header: string;
|
|
123
123
|
icons: string;
|
|
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
168
168
|
background_color: string;
|
|
169
169
|
background_image_url: string;
|
|
170
170
|
page_layout: "center" | "left" | "right";
|
|
171
|
-
logo_placement?: "
|
|
171
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
172
172
|
};
|
|
173
173
|
widget: {
|
|
174
174
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
196
196
|
base_focus_color: string;
|
|
197
197
|
base_hover_color: string;
|
|
198
198
|
body_text: string;
|
|
199
|
-
captcha_widget_theme: "
|
|
199
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
200
200
|
error: string;
|
|
201
201
|
header: string;
|
|
202
202
|
icons: string;
|
|
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
247
247
|
background_color: string;
|
|
248
248
|
background_image_url: string;
|
|
249
249
|
page_layout: "center" | "left" | "right";
|
|
250
|
-
logo_placement?: "
|
|
250
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
251
251
|
};
|
|
252
252
|
widget: {
|
|
253
253
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
286
286
|
font?: {
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
|
-
dark_mode?: "
|
|
289
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
290
290
|
};
|
|
291
291
|
outputFormat: "json";
|
|
292
292
|
status: 200;
|
|
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
316
316
|
font?: {
|
|
317
317
|
url: string;
|
|
318
318
|
} | undefined;
|
|
319
|
-
dark_mode?: "
|
|
319
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
322
|
output: {
|
|
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
335
335
|
font?: {
|
|
336
336
|
url: string;
|
|
337
337
|
} | undefined;
|
|
338
|
-
dark_mode?: "
|
|
338
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
339
339
|
};
|
|
340
340
|
outputFormat: "json";
|
|
341
341
|
status: 200;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "login" | "signup" | "identifier" | "password" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -426,7 +426,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
426
426
|
font?: {
|
|
427
427
|
url: string;
|
|
428
428
|
} | undefined;
|
|
429
|
-
dark_mode?: "
|
|
429
|
+
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
430
430
|
} | undefined;
|
|
431
431
|
theme?: {
|
|
432
432
|
borders?: {
|
|
@@ -444,7 +444,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
444
444
|
base_focus_color: string;
|
|
445
445
|
base_hover_color: string;
|
|
446
446
|
body_text: string;
|
|
447
|
-
captcha_widget_theme: "
|
|
447
|
+
captcha_widget_theme: "dark" | "light" | "auto";
|
|
448
448
|
error: string;
|
|
449
449
|
header: string;
|
|
450
450
|
icons: string;
|
|
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
495
495
|
background_color: string;
|
|
496
496
|
background_image_url: string;
|
|
497
497
|
page_layout: "center" | "left" | "right";
|
|
498
|
-
logo_placement?: "
|
|
498
|
+
logo_placement?: "none" | "widget" | "chip" | undefined;
|
|
499
499
|
} | undefined;
|
|
500
500
|
widget?: {
|
|
501
501
|
header_text_alignment: "center" | "left" | "right";
|
|
@@ -133,7 +133,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
133
133
|
} | undefined;
|
|
134
134
|
} | undefined;
|
|
135
135
|
passkey_options?: {
|
|
136
|
-
challenge_ui?: "
|
|
136
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
137
137
|
local_enrollment_enabled?: boolean | undefined;
|
|
138
138
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
139
139
|
} | undefined;
|
|
@@ -271,7 +271,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
271
271
|
} | undefined;
|
|
272
272
|
} | undefined;
|
|
273
273
|
passkey_options?: {
|
|
274
|
-
challenge_ui?: "
|
|
274
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
275
275
|
local_enrollment_enabled?: boolean | undefined;
|
|
276
276
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
277
277
|
} | undefined;
|
|
@@ -425,7 +425,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
425
425
|
} | undefined;
|
|
426
426
|
} | undefined;
|
|
427
427
|
passkey_options?: {
|
|
428
|
-
challenge_ui?: "
|
|
428
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
429
429
|
local_enrollment_enabled?: boolean | undefined;
|
|
430
430
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
431
431
|
} | undefined;
|
|
@@ -608,7 +608,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
608
608
|
} | undefined;
|
|
609
609
|
} | undefined;
|
|
610
610
|
passkey_options?: {
|
|
611
|
-
challenge_ui?: "
|
|
611
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
612
612
|
local_enrollment_enabled?: boolean | undefined;
|
|
613
613
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
614
614
|
} | undefined;
|
|
@@ -770,7 +770,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
770
770
|
} | undefined;
|
|
771
771
|
} | undefined;
|
|
772
772
|
passkey_options?: {
|
|
773
|
-
challenge_ui?: "
|
|
773
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
774
774
|
local_enrollment_enabled?: boolean | undefined;
|
|
775
775
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
776
776
|
} | undefined;
|
|
@@ -873,7 +873,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
873
873
|
};
|
|
874
874
|
} | {
|
|
875
875
|
mode: "inline";
|
|
876
|
-
status: "
|
|
876
|
+
status: "success" | "error";
|
|
877
877
|
connection_id: string;
|
|
878
878
|
connection_name: string;
|
|
879
879
|
strategy: string;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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?: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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?: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: {
|
|
@@ -233,11 +233,11 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
233
233
|
};
|
|
234
234
|
output: {};
|
|
235
235
|
outputFormat: string;
|
|
236
|
-
status:
|
|
236
|
+
status: 404;
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
240
|
-
templateName: "
|
|
240
|
+
templateName: "change_password" | "verify_email" | "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: {
|
|
@@ -246,7 +246,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
246
246
|
};
|
|
247
247
|
output: {};
|
|
248
248
|
outputFormat: string;
|
|
249
|
-
status:
|
|
249
|
+
status: 204;
|
|
250
250
|
};
|
|
251
251
|
};
|
|
252
252
|
} & {
|
|
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
254
254
|
$post: {
|
|
255
255
|
input: {
|
|
256
256
|
param: {
|
|
257
|
-
templateName: "
|
|
257
|
+
templateName: "change_password" | "verify_email" | "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: {
|