authhero 8.9.1 → 8.10.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/authhero.cjs +106 -106
- package/dist/authhero.d.ts +237 -134
- package/dist/authhero.mjs +6771 -6588
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +6 -6
- package/dist/types/helpers/avatar.d.ts +6 -0
- package/dist/types/index.d.ts +162 -132
- package/dist/types/routes/auth-api/avatars.d.ts +18 -0
- package/dist/types/routes/auth-api/index.d.ts +37 -24
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/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 +17 -17
- package/dist/types/routes/management-api/clients.d.ts +8 -8
- package/dist/types/routes/management-api/connections.d.ts +21 -21
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +1 -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/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +108 -92
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- 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/tenant-export-import.d.ts +16 -0
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +9 -9
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/kv-publish.d.ts +75 -0
- package/dist/types/routes/proxy-control-plane/kv-publish.test.d.ts +1 -0
- package/dist/types/routes/universal-login/common.d.ts +16 -16
- 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 +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/types/IdToken.d.ts +2 -2
- package/package.json +4 -4
|
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
82
82
|
active?: boolean | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
signup?: {
|
|
85
|
-
status?: "optional" | "
|
|
85
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
86
86
|
verification?: {
|
|
87
87
|
active?: boolean | undefined;
|
|
88
88
|
} | undefined;
|
|
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
99
99
|
active?: boolean | undefined;
|
|
100
100
|
} | undefined;
|
|
101
101
|
signup?: {
|
|
102
|
-
status?: "optional" | "
|
|
102
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
103
103
|
} | undefined;
|
|
104
104
|
validation?: {
|
|
105
105
|
max_length?: number | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
116
116
|
active?: boolean | undefined;
|
|
117
117
|
} | undefined;
|
|
118
118
|
signup?: {
|
|
119
|
-
status?: "optional" | "
|
|
119
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
120
120
|
} | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
} | undefined;
|
|
@@ -129,7 +129,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
129
|
} | undefined;
|
|
130
130
|
} | undefined;
|
|
131
131
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
132
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
133
133
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
134
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
135
|
} | undefined;
|
|
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
216
216
|
active?: boolean | undefined;
|
|
217
217
|
} | undefined;
|
|
218
218
|
signup?: {
|
|
219
|
-
status?: "optional" | "
|
|
219
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
220
220
|
verification?: {
|
|
221
221
|
active?: boolean | undefined;
|
|
222
222
|
} | undefined;
|
|
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
233
233
|
active?: boolean | undefined;
|
|
234
234
|
} | undefined;
|
|
235
235
|
signup?: {
|
|
236
|
-
status?: "optional" | "
|
|
236
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
237
237
|
} | undefined;
|
|
238
238
|
validation?: {
|
|
239
239
|
max_length?: number | undefined;
|
|
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
250
250
|
active?: boolean | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
signup?: {
|
|
253
|
-
status?: "optional" | "
|
|
253
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
254
254
|
} | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
} | undefined;
|
|
@@ -263,7 +263,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
263
|
} | undefined;
|
|
264
264
|
} | undefined;
|
|
265
265
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
266
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
267
267
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
268
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
269
|
} | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
365
365
|
active?: boolean | undefined;
|
|
366
366
|
} | undefined;
|
|
367
367
|
signup?: {
|
|
368
|
-
status?: "optional" | "
|
|
368
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
369
369
|
verification?: {
|
|
370
370
|
active?: boolean | undefined;
|
|
371
371
|
} | undefined;
|
|
@@ -382,7 +382,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
382
382
|
active?: boolean | undefined;
|
|
383
383
|
} | undefined;
|
|
384
384
|
signup?: {
|
|
385
|
-
status?: "optional" | "
|
|
385
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
386
386
|
} | undefined;
|
|
387
387
|
validation?: {
|
|
388
388
|
max_length?: number | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
399
399
|
active?: boolean | undefined;
|
|
400
400
|
} | undefined;
|
|
401
401
|
signup?: {
|
|
402
|
-
status?: "optional" | "
|
|
402
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
403
403
|
} | undefined;
|
|
404
404
|
} | undefined;
|
|
405
405
|
} | undefined;
|
|
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
412
412
|
} | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
passkey_options?: {
|
|
415
|
-
challenge_ui?: "
|
|
415
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
416
416
|
local_enrollment_enabled?: boolean | undefined;
|
|
417
417
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
418
418
|
} | undefined;
|
|
@@ -544,7 +544,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
544
544
|
active?: boolean | undefined;
|
|
545
545
|
} | undefined;
|
|
546
546
|
signup?: {
|
|
547
|
-
status?: "optional" | "
|
|
547
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
548
548
|
verification?: {
|
|
549
549
|
active?: boolean | undefined;
|
|
550
550
|
} | undefined;
|
|
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
561
561
|
active?: boolean | undefined;
|
|
562
562
|
} | undefined;
|
|
563
563
|
signup?: {
|
|
564
|
-
status?: "optional" | "
|
|
564
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
565
565
|
} | undefined;
|
|
566
566
|
validation?: {
|
|
567
567
|
max_length?: number | undefined;
|
|
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
578
578
|
active?: boolean | undefined;
|
|
579
579
|
} | undefined;
|
|
580
580
|
signup?: {
|
|
581
|
-
status?: "optional" | "
|
|
581
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
582
582
|
} | undefined;
|
|
583
583
|
} | undefined;
|
|
584
584
|
} | undefined;
|
|
@@ -591,7 +591,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
591
591
|
} | undefined;
|
|
592
592
|
} | undefined;
|
|
593
593
|
passkey_options?: {
|
|
594
|
-
challenge_ui?: "
|
|
594
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
595
595
|
local_enrollment_enabled?: boolean | undefined;
|
|
596
596
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
597
597
|
} | undefined;
|
|
@@ -702,7 +702,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
702
702
|
active?: boolean | undefined;
|
|
703
703
|
} | undefined;
|
|
704
704
|
signup?: {
|
|
705
|
-
status?: "optional" | "
|
|
705
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
706
706
|
verification?: {
|
|
707
707
|
active?: boolean | undefined;
|
|
708
708
|
} | undefined;
|
|
@@ -719,7 +719,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
719
719
|
active?: boolean | undefined;
|
|
720
720
|
} | undefined;
|
|
721
721
|
signup?: {
|
|
722
|
-
status?: "optional" | "
|
|
722
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
723
723
|
} | undefined;
|
|
724
724
|
validation?: {
|
|
725
725
|
max_length?: number | undefined;
|
|
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
736
736
|
active?: boolean | undefined;
|
|
737
737
|
} | undefined;
|
|
738
738
|
signup?: {
|
|
739
|
-
status?: "optional" | "
|
|
739
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
740
740
|
} | undefined;
|
|
741
741
|
} | undefined;
|
|
742
742
|
} | undefined;
|
|
@@ -749,7 +749,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
749
749
|
} | undefined;
|
|
750
750
|
} | undefined;
|
|
751
751
|
passkey_options?: {
|
|
752
|
-
challenge_ui?: "
|
|
752
|
+
challenge_ui?: "both" | "autofill" | "button" | undefined;
|
|
753
753
|
local_enrollment_enabled?: boolean | undefined;
|
|
754
754
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
755
755
|
} | undefined;
|
|
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
852
852
|
};
|
|
853
853
|
} | {
|
|
854
854
|
mode: "inline";
|
|
855
|
-
status: "
|
|
855
|
+
status: "error" | "success";
|
|
856
856
|
connection_id: string;
|
|
857
857
|
connection_name: string;
|
|
858
858
|
strategy: string;
|
|
@@ -28,7 +28,7 @@ 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: "pending" | "
|
|
31
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
33
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
@@ -69,7 +69,7 @@ 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: "pending" | "
|
|
72
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
74
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
133
133
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
134
134
|
custom_domain_id: string;
|
|
135
135
|
primary: boolean;
|
|
136
|
-
status: "pending" | "
|
|
136
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
137
137
|
verification_method?: "txt" | undefined;
|
|
138
138
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
139
139
|
domain_metadata?: {
|
|
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
180
180
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
181
181
|
custom_domain_id: string;
|
|
182
182
|
primary: boolean;
|
|
183
|
-
status: "pending" | "
|
|
183
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
184
184
|
verification_method?: "txt" | undefined;
|
|
185
185
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
186
186
|
domain_metadata?: {
|
|
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
226
226
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
227
227
|
custom_domain_id: string;
|
|
228
228
|
primary: boolean;
|
|
229
|
-
status: "pending" | "
|
|
229
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
230
230
|
verification_method?: "txt" | undefined;
|
|
231
231
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
232
232
|
domain_metadata?: {
|
|
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
267
267
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
268
268
|
custom_domain_id: string;
|
|
269
269
|
primary: boolean;
|
|
270
|
-
status: "pending" | "
|
|
270
|
+
status: "pending" | "disabled" | "pending_verification" | "ready";
|
|
271
271
|
verification_method?: "txt" | undefined;
|
|
272
272
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
273
273
|
domain_metadata?: {
|
|
@@ -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: {
|
|
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
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: {
|
|
@@ -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: {
|
|
@@ -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" | "client_credentials" | "
|
|
33
|
+
type: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|