authhero 9.19.0 → 9.21.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/p-dc0662ad.entry.js +1 -0
- package/dist/authhero.cjs +182 -170
- package/dist/authhero.d.ts +257 -127
- package/dist/authhero.mjs +18457 -15928
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/auth0-migration.d.ts +2 -2
- 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 +3 -3
- package/dist/types/emails/index.d.ts +27 -1
- package/dist/types/generated/locale-types.d.ts +283 -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 +24 -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 +182 -124
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +10 -10
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- 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 +1 -1
- 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/branding.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +14 -14
- package/dist/types/routes/management-api/failed-events.d.ts +51 -1
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- 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/index.d.ts +153 -95
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- package/dist/types/routes/management-api/log-streams.d.ts +6 -6
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/organizations.d.ts +3 -3
- package/dist/types/routes/management-api/prompts.d.ts +4 -4
- package/dist/types/routes/management-api/roles.d.ts +11 -3
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenants.d.ts +2 -2
- package/dist/types/routes/management-api/users.d.ts +11 -11
- package/dist/types/routes/universal-login/common.d.ts +8 -8
- package/dist/types/routes/universal-login/error-page.d.ts +9 -2
- package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
- 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/AuthError.d.ts +1 -1
- 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 +26 -1
- package/package.json +6 -6
- package/dist/assets/u/widget/p-36898e2d.entry.js +0 -1
|
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
11
11
|
client_id: string;
|
|
12
12
|
redirect_url?: string | undefined;
|
|
13
13
|
login_hint?: string | undefined;
|
|
14
|
-
screen_hint?: "
|
|
14
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
output: {};
|
|
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
|
|
|
23
23
|
client_id: string;
|
|
24
24
|
redirect_url?: string | undefined;
|
|
25
25
|
login_hint?: string | undefined;
|
|
26
|
-
screen_hint?: "
|
|
26
|
+
screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
301
301
|
scope?: string | undefined;
|
|
302
302
|
grant_types?: string[] | undefined;
|
|
303
303
|
response_types?: string[] | undefined;
|
|
304
|
-
token_endpoint_auth_method?: "
|
|
304
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
305
305
|
jwks_uri?: string | undefined;
|
|
306
306
|
jwks?: Record<string, unknown> | undefined;
|
|
307
307
|
software_id?: string | undefined;
|
|
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
390
390
|
scope?: string | undefined;
|
|
391
391
|
grant_types?: string[] | undefined;
|
|
392
392
|
response_types?: string[] | undefined;
|
|
393
|
-
token_endpoint_auth_method?: "
|
|
393
|
+
token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
394
394
|
jwks_uri?: string | undefined;
|
|
395
395
|
jwks?: Record<string, unknown> | undefined;
|
|
396
396
|
software_id?: string | undefined;
|
|
@@ -741,14 +741,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
741
741
|
email: string;
|
|
742
742
|
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
745
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
746
|
+
scope?: string | undefined;
|
|
744
747
|
username?: string | undefined;
|
|
745
748
|
audience?: string | undefined;
|
|
746
|
-
scope?: string | undefined;
|
|
747
|
-
redirect_uri?: string | undefined;
|
|
748
749
|
state?: string | undefined;
|
|
749
750
|
act_as?: string | undefined;
|
|
750
|
-
|
|
751
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
751
|
+
redirect_uri?: string | undefined;
|
|
752
752
|
organization?: string | undefined;
|
|
753
753
|
nonce?: string | undefined;
|
|
754
754
|
prompt?: string | undefined;
|
|
@@ -777,14 +777,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
777
777
|
phone_number: string;
|
|
778
778
|
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
781
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
782
|
+
scope?: string | undefined;
|
|
780
783
|
username?: string | undefined;
|
|
781
784
|
audience?: string | undefined;
|
|
782
|
-
scope?: string | undefined;
|
|
783
|
-
redirect_uri?: string | undefined;
|
|
784
785
|
state?: string | undefined;
|
|
785
786
|
act_as?: string | undefined;
|
|
786
|
-
|
|
787
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
787
|
+
redirect_uri?: string | undefined;
|
|
788
788
|
organization?: string | undefined;
|
|
789
789
|
nonce?: string | undefined;
|
|
790
790
|
prompt?: string | undefined;
|
|
@@ -14,14 +14,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
18
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
|
+
scope?: string | undefined;
|
|
17
20
|
username?: string | undefined;
|
|
18
21
|
audience?: string | undefined;
|
|
19
|
-
scope?: string | undefined;
|
|
20
|
-
redirect_uri?: string | undefined;
|
|
21
22
|
state?: string | undefined;
|
|
22
23
|
act_as?: string | undefined;
|
|
23
|
-
|
|
24
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
24
|
+
redirect_uri?: string | undefined;
|
|
25
25
|
organization?: string | undefined;
|
|
26
26
|
nonce?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
@@ -50,14 +50,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
54
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
|
+
scope?: string | undefined;
|
|
53
56
|
username?: string | undefined;
|
|
54
57
|
audience?: string | undefined;
|
|
55
|
-
scope?: string | undefined;
|
|
56
|
-
redirect_uri?: string | undefined;
|
|
57
58
|
state?: string | undefined;
|
|
58
59
|
act_as?: string | undefined;
|
|
59
|
-
|
|
60
|
-
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
60
|
+
redirect_uri?: string | undefined;
|
|
61
61
|
organization?: string | undefined;
|
|
62
62
|
nonce?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
18
18
|
scope?: string | undefined;
|
|
19
19
|
grant_types?: string[] | undefined;
|
|
20
20
|
response_types?: string[] | undefined;
|
|
21
|
-
token_endpoint_auth_method?: "none" | "
|
|
21
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
22
22
|
jwks_uri?: string | undefined;
|
|
23
23
|
jwks?: Record<string, unknown> | undefined;
|
|
24
24
|
software_id?: string | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
|
|
|
107
107
|
scope?: string | undefined;
|
|
108
108
|
grant_types?: string[] | undefined;
|
|
109
109
|
response_types?: string[] | undefined;
|
|
110
|
-
token_endpoint_auth_method?: "none" | "
|
|
110
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
111
111
|
jwks_uri?: string | undefined;
|
|
112
112
|
jwks?: Record<string, unknown> | undefined;
|
|
113
113
|
software_id?: string | undefined;
|
|
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
9
9
|
input: {
|
|
10
10
|
form: {
|
|
11
11
|
token: string;
|
|
12
|
-
token_type_hint?: "
|
|
12
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
13
13
|
client_id?: string | undefined;
|
|
14
14
|
client_secret?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
} & {
|
|
17
17
|
json: {
|
|
18
18
|
token: string;
|
|
19
|
-
token_type_hint?: "
|
|
19
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
20
20
|
client_id?: string | undefined;
|
|
21
21
|
client_secret?: string | undefined;
|
|
22
22
|
};
|
|
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
28
28
|
input: {
|
|
29
29
|
form: {
|
|
30
30
|
token: string;
|
|
31
|
-
token_type_hint?: "
|
|
31
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
32
32
|
client_id?: string | undefined;
|
|
33
33
|
client_secret?: string | undefined;
|
|
34
34
|
};
|
|
35
35
|
} & {
|
|
36
36
|
json: {
|
|
37
37
|
token: string;
|
|
38
|
-
token_type_hint?: "
|
|
38
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
39
39
|
client_id?: string | undefined;
|
|
40
40
|
client_secret?: string | undefined;
|
|
41
41
|
};
|
|
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
|
|
|
50
50
|
input: {
|
|
51
51
|
form: {
|
|
52
52
|
token: string;
|
|
53
|
-
token_type_hint?: "
|
|
53
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
54
54
|
client_id?: string | undefined;
|
|
55
55
|
client_secret?: string | undefined;
|
|
56
56
|
};
|
|
57
57
|
} & {
|
|
58
58
|
json: {
|
|
59
59
|
token: string;
|
|
60
|
-
token_type_hint?: "
|
|
60
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
61
61
|
client_id?: string | undefined;
|
|
62
62
|
client_secret?: string | undefined;
|
|
63
63
|
};
|
|
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
31
31
|
output: {
|
|
32
32
|
id: string;
|
|
33
33
|
trigger_id: string;
|
|
34
|
-
status: "
|
|
34
|
+
status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
|
|
35
35
|
results: {
|
|
36
36
|
action_name: string;
|
|
37
37
|
error: {
|
|
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
|
|
|
78
78
|
logs: {
|
|
79
79
|
action_name: string;
|
|
80
80
|
lines: {
|
|
81
|
-
level: "
|
|
81
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -67,7 +67,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
67
67
|
json: {
|
|
68
68
|
bindings: {
|
|
69
69
|
ref: {
|
|
70
|
-
type?: "
|
|
70
|
+
type?: "action_id" | "action_name" | undefined;
|
|
71
71
|
value?: string | undefined;
|
|
72
72
|
id?: string | undefined;
|
|
73
73
|
name?: string | undefined;
|
|
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
656
656
|
args: import("hono/utils/types").JSONValue[];
|
|
657
657
|
}[];
|
|
658
658
|
logs: {
|
|
659
|
-
level: "
|
|
659
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
660
660
|
message: string;
|
|
661
661
|
}[];
|
|
662
662
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
40
|
+
type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
409
409
|
} & {
|
|
410
410
|
json: {
|
|
411
411
|
body?: string | undefined;
|
|
412
|
-
screen?: "
|
|
412
|
+
screen?: "identifier" | "signup" | "password" | "login" | undefined;
|
|
413
413
|
branding?: {
|
|
414
414
|
colors?: {
|
|
415
415
|
primary: string;
|
|
@@ -78,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
78
78
|
addons?: {
|
|
79
79
|
[x: string]: any;
|
|
80
80
|
} | undefined;
|
|
81
|
-
token_endpoint_auth_method?: "none" | "
|
|
81
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
82
82
|
client_metadata?: {
|
|
83
83
|
[x: string]: string;
|
|
84
84
|
} | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
183
183
|
addons?: {
|
|
184
184
|
[x: string]: any;
|
|
185
185
|
} | undefined;
|
|
186
|
-
token_endpoint_auth_method?: "none" | "
|
|
186
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
187
187
|
client_metadata?: {
|
|
188
188
|
[x: string]: string;
|
|
189
189
|
} | undefined;
|
|
@@ -288,7 +288,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
288
288
|
addons?: {
|
|
289
289
|
[x: string]: any;
|
|
290
290
|
} | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "none" | "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
292
292
|
client_metadata?: {
|
|
293
293
|
[x: string]: string;
|
|
294
294
|
} | undefined;
|
|
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
408
408
|
addons?: {
|
|
409
409
|
[x: string]: any;
|
|
410
410
|
} | undefined;
|
|
411
|
-
token_endpoint_auth_method?: "none" | "
|
|
411
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
412
412
|
client_metadata?: {
|
|
413
413
|
[x: string]: string;
|
|
414
414
|
} | undefined;
|
|
@@ -529,7 +529,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
529
529
|
custom_login_page_preview?: string | undefined;
|
|
530
530
|
form_template?: string | undefined;
|
|
531
531
|
addons?: Record<string, any> | undefined;
|
|
532
|
-
token_endpoint_auth_method?: "none" | "
|
|
532
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
533
533
|
client_metadata?: Record<string, string> | undefined;
|
|
534
534
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
535
535
|
mobile?: Record<string, any> | undefined;
|
|
@@ -618,7 +618,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
618
618
|
addons?: {
|
|
619
619
|
[x: string]: any;
|
|
620
620
|
} | undefined;
|
|
621
|
-
token_endpoint_auth_method?: "none" | "
|
|
621
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
622
622
|
client_metadata?: {
|
|
623
623
|
[x: string]: string;
|
|
624
624
|
} | undefined;
|
|
@@ -718,7 +718,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
718
718
|
custom_login_page_preview?: string | undefined;
|
|
719
719
|
form_template?: string | undefined;
|
|
720
720
|
addons?: Record<string, any> | undefined;
|
|
721
|
-
token_endpoint_auth_method?: "none" | "
|
|
721
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
722
722
|
client_metadata?: Record<string, string> | undefined;
|
|
723
723
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
724
724
|
mobile?: Record<string, any> | undefined;
|
|
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
807
807
|
addons?: {
|
|
808
808
|
[x: string]: any;
|
|
809
809
|
} | undefined;
|
|
810
|
-
token_endpoint_auth_method?: "none" | "
|
|
810
|
+
token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
|
|
811
811
|
client_metadata?: {
|
|
812
812
|
[x: string]: string;
|
|
813
813
|
} | undefined;
|
|
@@ -936,7 +936,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
936
936
|
active?: boolean | undefined;
|
|
937
937
|
} | undefined;
|
|
938
938
|
signup?: {
|
|
939
|
-
status?: "
|
|
939
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
940
940
|
verification?: {
|
|
941
941
|
active?: boolean | undefined;
|
|
942
942
|
} | undefined;
|
|
@@ -953,7 +953,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
953
953
|
active?: boolean | undefined;
|
|
954
954
|
} | undefined;
|
|
955
955
|
signup?: {
|
|
956
|
-
status?: "
|
|
956
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
957
957
|
} | undefined;
|
|
958
958
|
validation?: {
|
|
959
959
|
max_length?: number | undefined;
|
|
@@ -970,7 +970,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
970
970
|
active?: boolean | undefined;
|
|
971
971
|
} | undefined;
|
|
972
972
|
signup?: {
|
|
973
|
-
status?: "
|
|
973
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
974
974
|
} | undefined;
|
|
975
975
|
} | undefined;
|
|
976
976
|
} | undefined;
|
|
@@ -1094,7 +1094,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1094
1094
|
active?: boolean | undefined;
|
|
1095
1095
|
} | undefined;
|
|
1096
1096
|
signup?: {
|
|
1097
|
-
status?: "
|
|
1097
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1098
1098
|
verification?: {
|
|
1099
1099
|
active?: boolean | undefined;
|
|
1100
1100
|
} | undefined;
|
|
@@ -1111,7 +1111,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1111
1111
|
active?: boolean | undefined;
|
|
1112
1112
|
} | undefined;
|
|
1113
1113
|
signup?: {
|
|
1114
|
-
status?: "
|
|
1114
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1115
1115
|
} | undefined;
|
|
1116
1116
|
validation?: {
|
|
1117
1117
|
max_length?: number | undefined;
|
|
@@ -1128,7 +1128,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1128
1128
|
active?: boolean | undefined;
|
|
1129
1129
|
} | undefined;
|
|
1130
1130
|
signup?: {
|
|
1131
|
-
status?: "
|
|
1131
|
+
status?: "required" | "optional" | "disabled" | undefined;
|
|
1132
1132
|
} | undefined;
|
|
1133
1133
|
} | undefined;
|
|
1134
1134
|
} | undefined;
|
|
@@ -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
|
}, "/">;
|
|
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
62
62
|
type: "REDIRECT";
|
|
63
63
|
action: "REDIRECT_USER";
|
|
64
64
|
params: {
|
|
65
|
-
target: "custom" | "
|
|
65
|
+
target: "custom" | "account" | "change-email";
|
|
66
66
|
custom_url?: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
alias?: string | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
115
115
|
type: "REDIRECT";
|
|
116
116
|
action: "REDIRECT_USER";
|
|
117
117
|
params: {
|
|
118
|
-
target: "custom" | "
|
|
118
|
+
target: "custom" | "account" | "change-email";
|
|
119
119
|
custom_url?: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
alias?: string | undefined;
|
|
@@ -184,7 +184,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
184
184
|
type: "REDIRECT";
|
|
185
185
|
action: "REDIRECT_USER";
|
|
186
186
|
params: {
|
|
187
|
-
target: "custom" | "
|
|
187
|
+
target: "custom" | "account" | "change-email";
|
|
188
188
|
custom_url?: string | undefined;
|
|
189
189
|
};
|
|
190
190
|
alias?: string | undefined;
|
|
@@ -265,7 +265,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
265
265
|
type: "REDIRECT";
|
|
266
266
|
action: "REDIRECT_USER";
|
|
267
267
|
params: {
|
|
268
|
-
target: "custom" | "
|
|
268
|
+
target: "custom" | "account" | "change-email";
|
|
269
269
|
custom_url?: string | undefined;
|
|
270
270
|
};
|
|
271
271
|
alias?: string | undefined;
|
|
@@ -313,7 +313,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
313
313
|
type: "REDIRECT";
|
|
314
314
|
action: "REDIRECT_USER";
|
|
315
315
|
params: {
|
|
316
|
-
target: "custom" | "
|
|
316
|
+
target: "custom" | "account" | "change-email";
|
|
317
317
|
custom_url?: string | undefined;
|
|
318
318
|
};
|
|
319
319
|
alias?: string | undefined;
|
|
@@ -373,7 +373,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
373
373
|
type: "REDIRECT";
|
|
374
374
|
action: "REDIRECT_USER";
|
|
375
375
|
params: {
|
|
376
|
-
target: "custom" | "
|
|
376
|
+
target: "custom" | "account" | "change-email";
|
|
377
377
|
custom_url?: string | undefined;
|
|
378
378
|
};
|
|
379
379
|
alias?: string | undefined;
|
|
@@ -421,7 +421,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
421
421
|
type: "REDIRECT";
|
|
422
422
|
action: "REDIRECT_USER";
|
|
423
423
|
params: {
|
|
424
|
-
target: "custom" | "
|
|
424
|
+
target: "custom" | "account" | "change-email";
|
|
425
425
|
custom_url?: string | undefined;
|
|
426
426
|
};
|
|
427
427
|
alias?: string | undefined;
|