authhero 9.19.0 → 9.20.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 +185 -173
- package/dist/authhero.d.ts +355 -241
- package/dist/authhero.mjs +19286 -16839
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/email-verification.d.ts +74 -0
- package/dist/types/authentication-flows/password.d.ts +3 -2
- package/dist/types/authentication-flows/passwordless.d.ts +2 -2
- package/dist/types/emails/index.d.ts +27 -1
- package/dist/types/generated/locale-types.d.ts +282 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/default-destinations.d.ts +7 -1
- package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +5 -1
- package/dist/types/helpers/request-data.d.ts +15 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/run-outbox-relay.d.ts +7 -1
- package/dist/types/hooks/codehooks.d.ts +14 -1
- package/dist/types/index.d.ts +288 -238
- package/dist/types/routes/auth-api/index.d.ts +12 -12
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/action-triggers.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/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +7 -7
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +51 -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/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +269 -219
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.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 +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +15 -15
- package/dist/types/routes/universal-login/common.d.ts +4 -4
- package/dist/types/routes/universal-login/error-page.d.ts +9 -2
- 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/sanitization-utils.d.ts +7 -0
- package/dist/types/routes/universal-login/screen-prompt-map.d.ts +2 -0
- package/dist/types/routes/universal-login/screens/email-verification.d.ts +29 -0
- package/dist/types/routes/universal-login/screens/handler-error.d.ts +11 -0
- package/dist/types/routes/universal-login/screens/reset-password.d.ts +5 -1
- package/dist/types/routes/universal-login/screens/signup.d.ts +6 -0
- 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/AuthHeroConfig.d.ts +25 -0
- package/dist/types/types/Bindings.d.ts +8 -1
- package/dist/types/types/Variables.d.ts +18 -1
- package/package.json +6 -6
|
@@ -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" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -135,6 +135,26 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
135
135
|
status: 200;
|
|
136
136
|
};
|
|
137
137
|
};
|
|
138
|
+
} & {
|
|
139
|
+
"/bulk-discard": {
|
|
140
|
+
$post: {
|
|
141
|
+
input: {
|
|
142
|
+
header: {
|
|
143
|
+
"tenant-id"?: string | undefined;
|
|
144
|
+
};
|
|
145
|
+
} & {
|
|
146
|
+
json: {
|
|
147
|
+
ids: string[];
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
output: {
|
|
151
|
+
discarded: string[];
|
|
152
|
+
not_found: string[];
|
|
153
|
+
};
|
|
154
|
+
outputFormat: "json";
|
|
155
|
+
status: 200;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
138
158
|
} & {
|
|
139
159
|
"/:id/retry": {
|
|
140
160
|
$post: {
|
|
@@ -168,4 +188,34 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
168
188
|
status: 200;
|
|
169
189
|
};
|
|
170
190
|
};
|
|
191
|
+
} & {
|
|
192
|
+
"/:id": {
|
|
193
|
+
$delete: {
|
|
194
|
+
input: {
|
|
195
|
+
param: {
|
|
196
|
+
id: string;
|
|
197
|
+
};
|
|
198
|
+
} & {
|
|
199
|
+
header: {
|
|
200
|
+
"tenant-id"?: string | undefined;
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
output: {};
|
|
204
|
+
outputFormat: string;
|
|
205
|
+
status: 204;
|
|
206
|
+
} | {
|
|
207
|
+
input: {
|
|
208
|
+
param: {
|
|
209
|
+
id: string;
|
|
210
|
+
};
|
|
211
|
+
} & {
|
|
212
|
+
header: {
|
|
213
|
+
"tenant-id"?: string | undefined;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
output: {};
|
|
217
|
+
outputFormat: string;
|
|
218
|
+
status: 404;
|
|
219
|
+
};
|
|
220
|
+
};
|
|
171
221
|
}, "/">;
|