authhero 5.17.1 → 5.19.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-35c8b265.entry.js +1 -0
- package/dist/authhero.cjs +139 -136
- package/dist/authhero.d.ts +425 -194
- package/dist/authhero.mjs +10490 -9833
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/emails/defaults/Layout.d.ts +3 -3
- package/dist/types/emails/defaults/PrimaryButton.d.ts +5 -2
- package/dist/types/helpers/consent.d.ts +31 -0
- package/dist/types/helpers/control-plane-sync-events.d.ts +67 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/default-destinations.d.ts +11 -0
- package/dist/types/helpers/outbox-destinations/control-plane-sync.d.ts +35 -0
- package/dist/types/helpers/outbox-destinations/logs.d.ts +2 -0
- package/dist/types/index.d.ts +285 -191
- package/dist/types/middlewares/index.d.ts +3 -0
- package/dist/types/middlewares/prefer.d.ts +12 -0
- package/dist/types/routes/auth-api/index.d.ts +26 -26
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- 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/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +7 -7
- package/dist/types/routes/management-api/connections.d.ts +1 -1
- package/dist/types/routes/management-api/email-templates.d.ts +31 -14
- package/dist/types/routes/management-api/forms.d.ts +119 -119
- package/dist/types/routes/management-api/grants.d.ts +80 -0
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +250 -159
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- 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/proxy-routes.d.ts +1 -0
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/proxy-control-plane/index.d.ts +34 -1
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- package/dist/types/routes/universal-login/screens/consent.d.ts +9 -0
- package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/state-machines/login-session.d.ts +12 -1
- package/dist/types/types/AuthHeroConfig.d.ts +26 -0
- package/dist/types/types/IdToken.d.ts +1 -1
- package/dist/types/types/Variables.d.ts +2 -0
- package/package.json +5 -5
- package/dist/assets/u/widget/p-f0f9eca3.entry.js +0 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { OpenAPIHono } from "@hono/zod-openapi";
|
|
2
|
+
import { Bindings, Variables } from "../../types";
|
|
3
|
+
export declare const grantRoutes: OpenAPIHono<{
|
|
4
|
+
Bindings: Bindings;
|
|
5
|
+
Variables: Variables;
|
|
6
|
+
}, {
|
|
7
|
+
"/": {
|
|
8
|
+
$get: {
|
|
9
|
+
input: {
|
|
10
|
+
query: {
|
|
11
|
+
per_page?: string | undefined;
|
|
12
|
+
page?: string | undefined;
|
|
13
|
+
include_totals?: string | undefined;
|
|
14
|
+
user_id?: string | undefined;
|
|
15
|
+
client_id?: string | undefined;
|
|
16
|
+
audience?: string | undefined;
|
|
17
|
+
};
|
|
18
|
+
} & {
|
|
19
|
+
header: {
|
|
20
|
+
"tenant-id"?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
output: {
|
|
24
|
+
user_id: string;
|
|
25
|
+
clientID: string;
|
|
26
|
+
scope: string[];
|
|
27
|
+
id: string;
|
|
28
|
+
audience?: string | undefined;
|
|
29
|
+
}[] | {
|
|
30
|
+
start: number;
|
|
31
|
+
limit: number;
|
|
32
|
+
length: number;
|
|
33
|
+
grants: {
|
|
34
|
+
user_id: string;
|
|
35
|
+
clientID: string;
|
|
36
|
+
scope: string[];
|
|
37
|
+
id: string;
|
|
38
|
+
audience?: string | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
total?: number | undefined;
|
|
41
|
+
};
|
|
42
|
+
outputFormat: "json";
|
|
43
|
+
status: 200;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
} & {
|
|
47
|
+
"/:id": {
|
|
48
|
+
$delete: {
|
|
49
|
+
input: {
|
|
50
|
+
param: {
|
|
51
|
+
id: string;
|
|
52
|
+
};
|
|
53
|
+
} & {
|
|
54
|
+
header: {
|
|
55
|
+
"tenant-id"?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
output: {};
|
|
59
|
+
outputFormat: string;
|
|
60
|
+
status: 204;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
} & {
|
|
64
|
+
"/": {
|
|
65
|
+
$delete: {
|
|
66
|
+
input: {
|
|
67
|
+
query: {
|
|
68
|
+
user_id: string;
|
|
69
|
+
};
|
|
70
|
+
} & {
|
|
71
|
+
header: {
|
|
72
|
+
"tenant-id"?: string | undefined;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
output: {};
|
|
76
|
+
outputFormat: string;
|
|
77
|
+
status: 204;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}, "/">;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "
|
|
170
|
+
factor_name: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "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: "sms" | "otp" | "email" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|