authhero 5.13.0 → 5.14.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/index.esm.js +1 -1
- package/dist/authhero.cjs +126 -126
- package/dist/authhero.d.ts +149 -114
- package/dist/authhero.mjs +9962 -9822
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +7 -6
- package/dist/types/helpers/cimd.d.ts +32 -0
- package/dist/types/helpers/client.d.ts +3 -18
- package/dist/types/helpers/connection.d.ts +40 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
- package/dist/types/helpers/service-token.d.ts +11 -1
- package/dist/types/index.d.ts +148 -114
- package/dist/types/routes/auth-api/index.d.ts +48 -14
- package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
- 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/auth-api/well-known.d.ts +34 -0
- 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/clients.d.ts +13 -13
- package/dist/types/routes/management-api/connections.d.ts +15 -15
- 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/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/hooks.d.ts +24 -24
- package/dist/types/routes/management-api/index.d.ts +92 -92
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- 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/tenants.d.ts +3 -0
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +12 -8
- package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
- 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 +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/utils/ssrf-fetch.d.ts +8 -0
- package/package.json +6 -6
|
@@ -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: "
|
|
31
|
+
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
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: "
|
|
72
|
+
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
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?: {
|
|
@@ -130,7 +130,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
130
130
|
domain_metadata?: Record<string, string> | undefined;
|
|
131
131
|
custom_domain_id?: string | undefined;
|
|
132
132
|
primary?: boolean | undefined;
|
|
133
|
-
status?: "
|
|
133
|
+
status?: "disabled" | "pending" | "pending_verification" | "ready" | undefined;
|
|
134
134
|
origin_domain_name?: string | undefined;
|
|
135
135
|
verification?: {
|
|
136
136
|
methods: ({
|
|
@@ -151,7 +151,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
151
151
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
152
152
|
custom_domain_id: string;
|
|
153
153
|
primary: boolean;
|
|
154
|
-
status: "
|
|
154
|
+
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
155
155
|
verification_method?: "txt" | undefined;
|
|
156
156
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
157
157
|
domain_metadata?: {
|
|
@@ -198,7 +198,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
198
198
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
199
199
|
custom_domain_id: string;
|
|
200
200
|
primary: boolean;
|
|
201
|
-
status: "
|
|
201
|
+
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
202
202
|
verification_method?: "txt" | undefined;
|
|
203
203
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
204
204
|
domain_metadata?: {
|
|
@@ -239,7 +239,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
239
239
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
240
240
|
custom_domain_id: string;
|
|
241
241
|
primary: boolean;
|
|
242
|
-
status: "
|
|
242
|
+
status: "disabled" | "pending" | "pending_verification" | "ready";
|
|
243
243
|
verification_method?: "txt" | undefined;
|
|
244
244
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
245
245
|
domain_metadata?: {
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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?: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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?: "change_password" | "verify_email" | "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: "change_password" | "verify_email" | "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: "client_credentials" | "user" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "
|
|
15
|
+
name: "sms" | "otp" | "email" | "duo" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "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" | "push-notification" | "webauthn-roaming" | "webauthn-platform" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|
|
@@ -24,7 +24,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
output: ({
|
|
27
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
27
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
28
28
|
enabled: boolean;
|
|
29
29
|
synchronous: boolean;
|
|
30
30
|
created_at: string;
|
|
@@ -36,7 +36,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
36
36
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
37
37
|
} | undefined;
|
|
38
38
|
} | {
|
|
39
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
39
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
40
40
|
enabled: boolean;
|
|
41
41
|
synchronous: boolean;
|
|
42
42
|
created_at: string;
|
|
@@ -48,7 +48,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
48
48
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
49
49
|
} | undefined;
|
|
50
50
|
} | {
|
|
51
|
-
trigger_id: "post-user-
|
|
51
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
52
52
|
enabled: boolean;
|
|
53
53
|
synchronous: boolean;
|
|
54
54
|
created_at: string;
|
|
@@ -60,7 +60,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
60
60
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
61
61
|
} | undefined;
|
|
62
62
|
} | {
|
|
63
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
63
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
64
64
|
enabled: boolean;
|
|
65
65
|
synchronous: boolean;
|
|
66
66
|
created_at: string;
|
|
@@ -76,7 +76,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
76
76
|
limit: number;
|
|
77
77
|
length: number;
|
|
78
78
|
hooks: ({
|
|
79
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
79
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
80
80
|
enabled: boolean;
|
|
81
81
|
synchronous: boolean;
|
|
82
82
|
created_at: string;
|
|
@@ -88,7 +88,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
88
88
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
89
89
|
} | undefined;
|
|
90
90
|
} | {
|
|
91
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
91
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
92
92
|
enabled: boolean;
|
|
93
93
|
synchronous: boolean;
|
|
94
94
|
created_at: string;
|
|
@@ -100,7 +100,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
100
100
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
101
101
|
} | undefined;
|
|
102
102
|
} | {
|
|
103
|
-
trigger_id: "post-user-
|
|
103
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
104
104
|
enabled: boolean;
|
|
105
105
|
synchronous: boolean;
|
|
106
106
|
created_at: string;
|
|
@@ -112,7 +112,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
112
112
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
113
113
|
} | undefined;
|
|
114
114
|
} | {
|
|
115
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
115
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
116
116
|
enabled: boolean;
|
|
117
117
|
synchronous: boolean;
|
|
118
118
|
created_at: string;
|
|
@@ -139,7 +139,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
139
139
|
};
|
|
140
140
|
} & {
|
|
141
141
|
json: {
|
|
142
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
142
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
143
143
|
url: string;
|
|
144
144
|
enabled?: boolean | undefined;
|
|
145
145
|
synchronous?: boolean | undefined;
|
|
@@ -147,7 +147,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
147
147
|
hook_id?: string | undefined;
|
|
148
148
|
metadata?: Record<string, unknown> | undefined;
|
|
149
149
|
} | {
|
|
150
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
150
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
151
151
|
form_id: string;
|
|
152
152
|
enabled?: boolean | undefined;
|
|
153
153
|
synchronous?: boolean | undefined;
|
|
@@ -155,7 +155,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
155
155
|
hook_id?: string | undefined;
|
|
156
156
|
metadata?: Record<string, unknown> | undefined;
|
|
157
157
|
} | {
|
|
158
|
-
trigger_id: "post-user-
|
|
158
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
159
159
|
template_id: "ensure-username" | "set-preferred-username" | "account-linking";
|
|
160
160
|
enabled?: boolean | undefined;
|
|
161
161
|
synchronous?: boolean | undefined;
|
|
@@ -163,7 +163,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
163
163
|
hook_id?: string | undefined;
|
|
164
164
|
metadata?: Record<string, unknown> | undefined;
|
|
165
165
|
} | {
|
|
166
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
166
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
167
167
|
code_id: string;
|
|
168
168
|
enabled?: boolean | undefined;
|
|
169
169
|
synchronous?: boolean | undefined;
|
|
@@ -173,7 +173,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
175
|
output: {
|
|
176
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
176
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
177
177
|
enabled: boolean;
|
|
178
178
|
synchronous: boolean;
|
|
179
179
|
created_at: string;
|
|
@@ -185,7 +185,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
185
185
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
186
186
|
} | undefined;
|
|
187
187
|
} | {
|
|
188
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
188
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
189
189
|
enabled: boolean;
|
|
190
190
|
synchronous: boolean;
|
|
191
191
|
created_at: string;
|
|
@@ -197,7 +197,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
197
197
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
198
198
|
} | undefined;
|
|
199
199
|
} | {
|
|
200
|
-
trigger_id: "post-user-
|
|
200
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
201
201
|
enabled: boolean;
|
|
202
202
|
synchronous: boolean;
|
|
203
203
|
created_at: string;
|
|
@@ -209,7 +209,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
209
209
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
210
210
|
} | undefined;
|
|
211
211
|
} | {
|
|
212
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
212
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
213
213
|
enabled: boolean;
|
|
214
214
|
synchronous: boolean;
|
|
215
215
|
created_at: string;
|
|
@@ -255,7 +255,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
255
255
|
json: unknown;
|
|
256
256
|
};
|
|
257
257
|
output: {
|
|
258
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
258
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
259
259
|
enabled: boolean;
|
|
260
260
|
synchronous: boolean;
|
|
261
261
|
created_at: string;
|
|
@@ -267,7 +267,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
267
267
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
268
268
|
} | undefined;
|
|
269
269
|
} | {
|
|
270
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
270
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
271
271
|
enabled: boolean;
|
|
272
272
|
synchronous: boolean;
|
|
273
273
|
created_at: string;
|
|
@@ -279,7 +279,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
279
279
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
280
280
|
} | undefined;
|
|
281
281
|
} | {
|
|
282
|
-
trigger_id: "post-user-
|
|
282
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
283
283
|
enabled: boolean;
|
|
284
284
|
synchronous: boolean;
|
|
285
285
|
created_at: string;
|
|
@@ -291,7 +291,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
291
291
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
292
292
|
} | undefined;
|
|
293
293
|
} | {
|
|
294
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
294
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
295
295
|
enabled: boolean;
|
|
296
296
|
synchronous: boolean;
|
|
297
297
|
created_at: string;
|
|
@@ -333,7 +333,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
335
|
output: {
|
|
336
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
336
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "post-user-update" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
337
337
|
enabled: boolean;
|
|
338
338
|
synchronous: boolean;
|
|
339
339
|
created_at: string;
|
|
@@ -345,7 +345,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
345
345
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
346
346
|
} | undefined;
|
|
347
347
|
} | {
|
|
348
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
348
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "validate-registration-username" | "pre-user-deletion" | "post-user-deletion";
|
|
349
349
|
enabled: boolean;
|
|
350
350
|
synchronous: boolean;
|
|
351
351
|
created_at: string;
|
|
@@ -357,7 +357,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
357
357
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
358
358
|
} | undefined;
|
|
359
359
|
} | {
|
|
360
|
-
trigger_id: "post-user-
|
|
360
|
+
trigger_id: "post-user-login" | "post-user-registration" | "post-user-update" | "credentials-exchange";
|
|
361
361
|
enabled: boolean;
|
|
362
362
|
synchronous: boolean;
|
|
363
363
|
created_at: string;
|
|
@@ -369,7 +369,7 @@ export declare const hooksRoutes: OpenAPIHono<{
|
|
|
369
369
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
370
370
|
} | undefined;
|
|
371
371
|
} | {
|
|
372
|
-
trigger_id: "pre-user-registration" | "post-user-
|
|
372
|
+
trigger_id: "pre-user-registration" | "post-user-login" | "post-user-registration" | "credentials-exchange";
|
|
373
373
|
enabled: boolean;
|
|
374
374
|
synchronous: boolean;
|
|
375
375
|
created_at: string;
|