authhero 9.23.1 → 9.24.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/index.esm.js +1 -1
- package/dist/assets/u/widget/{p-91459994.entry.js → p-210f06bf.entry.js} +1 -1
- package/dist/authhero.cjs +116 -116
- package/dist/authhero.d.ts +1385 -231
- package/dist/authhero.mjs +14098 -13699
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/helpers/logging.d.ts +7 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +2 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/users.d.ts +5 -0
- package/dist/types/index.d.ts +1385 -231
- package/dist/types/routes/auth-api/index.d.ts +23 -23
- package/dist/types/routes/auth-api/logout.d.ts +2 -2
- package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +29 -3
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +7 -7
- package/dist/types/routes/management-api/email-templates.d.ts +2 -2
- package/dist/types/routes/management-api/emails.d.ts +2 -2
- package/dist/types/routes/management-api/failed-events.d.ts +96 -3
- package/dist/types/routes/management-api/flows.d.ts +52 -0
- package/dist/types/routes/management-api/forms.d.ts +609 -0
- package/dist/types/routes/management-api/grants.d.ts +11 -0
- package/dist/types/routes/management-api/helpers.d.ts +9 -1
- package/dist/types/routes/management-api/hooks.d.ts +68 -4
- package/dist/types/routes/management-api/index.d.ts +1170 -114
- 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/organizations.d.ts +65 -7
- package/dist/types/routes/management-api/prompts.d.ts +6 -6
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +159 -16
- package/dist/types/routes/saml/index.d.ts +98 -0
- package/dist/types/routes/saml/samlp.d.ts +98 -0
- package/dist/types/routes/universal-login/continue.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- package/dist/types/routes/universal-login/form-node.d.ts +4 -4
- package/dist/types/routes/universal-login/identifier.d.ts +2 -2
- package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
- package/dist/types/routes/universal-login/index.d.ts +8 -8
- package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
- package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
- package/dist/types/strategies/saml.d.ts +1 -1
- package/package.json +6 -6
|
@@ -152,6 +152,70 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
152
152
|
})[];
|
|
153
153
|
total?: number | undefined;
|
|
154
154
|
next?: string | undefined;
|
|
155
|
+
} | {
|
|
156
|
+
hooks: ({
|
|
157
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
158
|
+
enabled: boolean;
|
|
159
|
+
synchronous: boolean;
|
|
160
|
+
created_at: string;
|
|
161
|
+
updated_at: string;
|
|
162
|
+
hook_id: string;
|
|
163
|
+
url: string;
|
|
164
|
+
priority?: number | undefined;
|
|
165
|
+
metadata?: {
|
|
166
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
167
|
+
} | undefined;
|
|
168
|
+
} | {
|
|
169
|
+
trigger_id: "post-user-login";
|
|
170
|
+
enabled: boolean;
|
|
171
|
+
synchronous: boolean;
|
|
172
|
+
created_at: string;
|
|
173
|
+
updated_at: string;
|
|
174
|
+
hook_id: string;
|
|
175
|
+
form_id: string;
|
|
176
|
+
priority?: number | undefined;
|
|
177
|
+
metadata?: {
|
|
178
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
179
|
+
} | undefined;
|
|
180
|
+
} | {
|
|
181
|
+
trigger_id: "post-user-registration" | "post-user-login" | "post-user-update" | "credentials-exchange";
|
|
182
|
+
enabled: boolean;
|
|
183
|
+
synchronous: boolean;
|
|
184
|
+
created_at: string;
|
|
185
|
+
updated_at: string;
|
|
186
|
+
hook_id: string;
|
|
187
|
+
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
188
|
+
priority?: number | undefined;
|
|
189
|
+
metadata?: {
|
|
190
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
191
|
+
} | undefined;
|
|
192
|
+
} | {
|
|
193
|
+
trigger_id: "pre-user-registration" | "post-user-registration" | "post-user-login" | "credentials-exchange";
|
|
194
|
+
enabled: boolean;
|
|
195
|
+
synchronous: boolean;
|
|
196
|
+
created_at: string;
|
|
197
|
+
updated_at: string;
|
|
198
|
+
hook_id: string;
|
|
199
|
+
code_id: string;
|
|
200
|
+
priority?: number | undefined;
|
|
201
|
+
metadata?: {
|
|
202
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
203
|
+
} | undefined;
|
|
204
|
+
} | {
|
|
205
|
+
trigger_id: "post-user-login";
|
|
206
|
+
enabled: boolean;
|
|
207
|
+
synchronous: boolean;
|
|
208
|
+
created_at: string;
|
|
209
|
+
updated_at: string;
|
|
210
|
+
hook_id: string;
|
|
211
|
+
page_id: "impersonate";
|
|
212
|
+
priority?: number | undefined;
|
|
213
|
+
metadata?: {
|
|
214
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
215
|
+
} | undefined;
|
|
216
|
+
permission_required?: string | undefined;
|
|
217
|
+
})[];
|
|
218
|
+
next?: string | undefined;
|
|
155
219
|
};
|
|
156
220
|
outputFormat: "json";
|
|
157
221
|
status: 200;
|
|
@@ -290,7 +354,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
290
354
|
};
|
|
291
355
|
output: {};
|
|
292
356
|
outputFormat: string;
|
|
293
|
-
status:
|
|
357
|
+
status: 400;
|
|
294
358
|
} | {
|
|
295
359
|
input: {
|
|
296
360
|
param: {
|
|
@@ -305,7 +369,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
305
369
|
};
|
|
306
370
|
output: {};
|
|
307
371
|
outputFormat: string;
|
|
308
|
-
status:
|
|
372
|
+
status: 404;
|
|
309
373
|
} | {
|
|
310
374
|
input: {
|
|
311
375
|
param: {
|
|
@@ -510,7 +574,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
510
574
|
};
|
|
511
575
|
output: {};
|
|
512
576
|
outputFormat: string;
|
|
513
|
-
status:
|
|
577
|
+
status: 400;
|
|
514
578
|
} | {
|
|
515
579
|
input: {
|
|
516
580
|
param: {
|
|
@@ -527,7 +591,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
527
591
|
};
|
|
528
592
|
output: {};
|
|
529
593
|
outputFormat: string;
|
|
530
|
-
status:
|
|
594
|
+
status: 404;
|
|
531
595
|
} | {
|
|
532
596
|
input: {
|
|
533
597
|
param: {
|