authhero 9.37.0 → 9.39.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/README.md +13 -3
- 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-ce8560f6.entry.js → p-32247347.entry.js} +1 -1
- package/dist/assets/u/widget/p-3f908508.entry.js +1 -0
- package/dist/assets/u/widget/p-Wx4M-olY.js +2 -0
- package/dist/authhero.cjs +116 -95
- package/dist/authhero.d.ts +469 -306
- package/dist/authhero.mjs +17889 -16773
- package/dist/mfa-DMThiuUR.mjs +406 -0
- package/dist/mfa-Dh6nNiRX.js +4 -0
- package/dist/mfa-attempts-BaKbuGvZ.js +321 -0
- package/dist/{mfa-attempts-DDgCBTDW.mjs → mfa-attempts-O0x4jJzl.mjs} +6234 -6126
- package/dist/{passkey-enrollment-D6ZZmelw.js → passkey-enrollment-CSeOQWv1.js} +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/mfa.d.ts +3 -1
- package/dist/types/emails/index.d.ts +33 -1
- package/dist/types/helpers/default-destinations.d.ts +14 -0
- package/dist/types/helpers/firehose-client.d.ts +29 -0
- package/dist/types/helpers/outbox-destinations/log-streams.d.ts +21 -1
- package/dist/types/helpers/prompt-partials.d.ts +1 -1
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/response-type-grants.d.ts +8 -0
- package/dist/types/helpers/run-outbox-relay.d.ts +9 -2
- package/dist/types/hooks/custom-notification-provider.d.ts +174 -0
- package/dist/types/hooks/lifecycle-codehooks.d.ts +2 -2
- package/dist/types/index.d.ts +431 -295
- package/dist/types/routes/auth-api/device.d.ts +8 -8
- package/dist/types/routes/auth-api/index.d.ts +30 -30
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- 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/action-triggers.d.ts +27 -27
- package/dist/types/routes/management-api/actions.d.ts +14 -14
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding-preview.d.ts +9 -1
- package/dist/types/routes/management-api/branding-uploads.d.ts +4 -4
- package/dist/types/routes/management-api/branding.d.ts +125 -21
- package/dist/types/routes/management-api/client-registration-tokens.d.ts +3 -3
- package/dist/types/routes/management-api/clients.d.ts +18 -18
- package/dist/types/routes/management-api/connections.d.ts +8 -8
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- package/dist/types/routes/management-api/emails.d.ts +6 -6
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/guardian.d.ts +6 -6
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +56 -56
- package/dist/types/routes/management-api/index.d.ts +362 -258
- package/dist/types/routes/management-api/jobs.d.ts +2 -2
- package/dist/types/routes/management-api/keys.d.ts +12 -12
- package/dist/types/routes/management-api/log-streams.d.ts +12 -12
- 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 +5 -5
- package/dist/types/routes/management-api/prompts.d.ts +8 -8
- package/dist/types/routes/management-api/resource-servers.d.ts +8 -8
- package/dist/types/routes/management-api/rollouts.d.ts +6 -6
- package/dist/types/routes/management-api/self-service-profiles.d.ts +9 -9
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-members.d.ts +8 -8
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
- package/dist/types/routes/management-api/tenants.d.ts +13 -13
- package/dist/types/routes/management-api/themes.d.ts +78 -9
- package/dist/types/routes/management-api/users.d.ts +20 -20
- package/dist/types/routes/universal-login/common.d.ts +62 -10
- package/dist/types/routes/universal-login/continue.d.ts +35 -0
- package/dist/types/routes/universal-login/dark-theme.d.ts +25 -0
- 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/legal-links.d.ts +18 -0
- package/dist/types/routes/universal-login/screen-prompt-map.d.ts +31 -0
- package/dist/types/routes/universal-login/screens/connect-authz.d.ts +13 -1
- package/dist/types/routes/universal-login/screens/login-partials.d.ts +9 -1
- package/dist/types/routes/universal-login/u2-index.d.ts +36 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/routes/universal-login/u2-widget-page.d.ts +6 -1
- package/dist/types/routes/universal-login/universal-login-template.d.ts +1 -0
- package/dist/types/routes/universal-login/widget-assets.d.ts +20 -0
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/AuthHeroConfig.d.ts +9 -1
- package/package.json +7 -6
- package/dist/assets/u/widget/p-FUW5zvoZ.js +0 -2
- package/dist/assets/u/widget/p-c6ec4c36.entry.js +0 -1
- package/dist/mfa-BpHxTir1.mjs +0 -128
- package/dist/mfa-DuNbh_YF.js +0 -1
- package/dist/mfa-attempts-D5U1FCSY.js +0 -275
|
@@ -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" | "ready" | "disabled" | "pending_verification";
|
|
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" | "ready" | "disabled" | "pending_verification";
|
|
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" | "ready" | "disabled" | "pending_verification";
|
|
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" | "ready" | "disabled" | "pending_verification";
|
|
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" | "ready" | "disabled" | "pending_verification";
|
|
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" | "ready" | "disabled" | "pending_verification";
|
|
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?: {
|
|
@@ -20,7 +20,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
20
20
|
} | undefined;
|
|
21
21
|
settings?: {} | undefined;
|
|
22
22
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
23
|
-
override?: "
|
|
23
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
24
24
|
enforce?: boolean | undefined;
|
|
25
25
|
};
|
|
26
26
|
outputFormat: "json";
|
|
@@ -42,7 +42,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
42
42
|
default_from_address?: string | undefined;
|
|
43
43
|
settings?: Record<string, never> | undefined;
|
|
44
44
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
45
|
-
override?: "
|
|
45
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
46
46
|
enforce?: boolean | undefined;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -62,7 +62,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
62
62
|
default_from_address?: string | undefined;
|
|
63
63
|
settings?: Record<string, never> | undefined;
|
|
64
64
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
65
|
-
override?: "
|
|
65
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
66
66
|
enforce?: boolean | undefined;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
@@ -75,7 +75,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
75
75
|
default_from_address?: string | undefined;
|
|
76
76
|
settings?: {} | undefined;
|
|
77
77
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
78
|
-
override?: "
|
|
78
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
79
79
|
enforce?: boolean | undefined;
|
|
80
80
|
};
|
|
81
81
|
outputFormat: "json";
|
|
@@ -97,7 +97,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
97
97
|
credentials?: Record<string, unknown> | undefined;
|
|
98
98
|
settings?: Record<string, never> | undefined;
|
|
99
99
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
100
|
-
override?: "
|
|
100
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
101
101
|
enforce?: boolean | undefined;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
@@ -110,7 +110,7 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
110
110
|
default_from_address?: string | undefined;
|
|
111
111
|
settings?: {} | undefined;
|
|
112
112
|
scope?: "local" | "shared" | "platform" | undefined;
|
|
113
|
-
override?: "
|
|
113
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
114
114
|
enforce?: boolean | undefined;
|
|
115
115
|
};
|
|
116
116
|
outputFormat: "json";
|
|
@@ -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" | "api_key" | "system" | "admin";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -134,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
134
134
|
log_type: string;
|
|
135
135
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
136
136
|
actor: {
|
|
137
|
-
type: "user" | "
|
|
137
|
+
type: "user" | "client_credentials" | "api_key" | "system" | "admin";
|
|
138
138
|
id?: string | undefined;
|
|
139
139
|
email?: string | undefined;
|
|
140
140
|
org_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -106,7 +106,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
106
106
|
};
|
|
107
107
|
};
|
|
108
108
|
output: {
|
|
109
|
-
message_type: "
|
|
109
|
+
message_type: "voice" | "sms";
|
|
110
110
|
}[];
|
|
111
111
|
outputFormat: "json";
|
|
112
112
|
status: 200;
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "
|
|
170
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
171
171
|
};
|
|
172
172
|
} & {
|
|
173
173
|
header: {
|
|
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
|
-
name: "
|
|
178
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
trial_expired?: boolean | undefined;
|
|
181
181
|
};
|
|
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
188
188
|
$put: {
|
|
189
189
|
input: {
|
|
190
190
|
param: {
|
|
191
|
-
factor_name: "
|
|
191
|
+
factor_name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
194
|
header: {
|
|
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
202
|
output: {
|
|
203
|
-
name: "
|
|
203
|
+
name: "email" | "sms" | "otp" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|
|
@@ -23,7 +23,7 @@ export declare function requireTenantId(ctx: {
|
|
|
23
23
|
* `totalsSchema.extend({ roles: z.array(roleSchema) })` pattern repeated
|
|
24
24
|
* across the management-api modules.
|
|
25
25
|
*/
|
|
26
|
-
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("length" | "start" | "
|
|
26
|
+
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("length" | "start" | "next" | "limit" | "total") & keyof T extends never ? {
|
|
27
27
|
start: z.ZodNumber;
|
|
28
28
|
limit: z.ZodNumber;
|
|
29
29
|
length: z.ZodNumber;
|