authhero 5.12.0 → 5.13.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 +129 -129
- package/dist/authhero.d.ts +244 -208
- package/dist/authhero.mjs +9954 -9757
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/createEncryptedDataAdapter.d.ts +14 -0
- package/dist/types/adapters/index.d.ts +2 -0
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/helpers/custom-domain.d.ts +8 -0
- package/dist/types/index.d.ts +207 -207
- package/dist/types/routes/auth-api/index.d.ts +12 -12
- package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
- 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/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +6 -6
- package/dist/types/routes/management-api/connections.d.ts +16 -16
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- 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/forms.d.ts +119 -119
- package/dist/types/routes/management-api/index.d.ts +190 -190
- 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 +1 -1
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +6 -6
- 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 +3 -3
- package/dist/types/routes/universal-login/u2-routes.d.ts +3 -3
- package/dist/types/types/Bindings.d.ts +1 -0
- package/dist/types/utils/field-encryption.d.ts +21 -0
- package/package.json +3 -3
|
@@ -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: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|