authhero 5.13.1 → 5.14.1
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 +133 -133
- package/dist/authhero.d.ts +246 -195
- package/dist/authhero.mjs +10592 -10388
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/password.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +1 -0
- package/dist/types/emails/index.d.ts +1 -1
- package/dist/types/helpers/cimd.d.ts +32 -0
- package/dist/types/helpers/client.d.ts +3 -18
- package/dist/types/helpers/connection.d.ts +40 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/index.d.ts +245 -195
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +50 -16
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- package/dist/types/routes/auth-api/well-known.d.ts +34 -0
- 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/clients.d.ts +13 -13
- 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/index.d.ts +173 -173
- 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/error-page.d.ts +2 -1
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +22 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +22 -6
- package/dist/types/utils/ssrf-fetch.d.ts +8 -0
- package/dist/types/variables.d.ts +1 -1
- package/package.json +6 -6
|
@@ -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;
|
|
@@ -64,7 +64,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
64
64
|
$get: {
|
|
65
65
|
input: {
|
|
66
66
|
param: {
|
|
67
|
-
templateName: "
|
|
67
|
+
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";
|
|
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: "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";
|
|
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: "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";
|
|
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: "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";
|
|
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: "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";
|
|
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: "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";
|
|
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: "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";
|
|
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?: "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;
|
|
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: "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";
|
|
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?: "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;
|
|
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: "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";
|
|
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: "user" | "client_credentials" | "
|
|
33
|
+
type: "user" | "client_credentials" | "api_key" | "system" | "admin";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
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" | "account" | "change-email";
|
|
424
424
|
custom_url?: string | undefined;
|
|
425
425
|
};
|
|
426
426
|
alias?: string | undefined;
|