authhero 5.12.0 → 5.13.1
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/authhero.cjs +129 -129
- package/dist/authhero.d.ts +115 -79
- package/dist/authhero.mjs +9852 -9643
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/createEncryptedDataAdapter.d.ts +14 -0
- package/dist/types/adapters/index.d.ts +2 -0
- package/dist/types/authentication-flows/passwordless.d.ts +3 -3
- package/dist/types/helpers/custom-domain.d.ts +8 -0
- package/dist/types/helpers/service-token.d.ts +11 -1
- package/dist/types/index.d.ts +78 -78
- package/dist/types/routes/auth-api/index.d.ts +22 -22
- package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
- 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/actions.d.ts +1 -1
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/client-grants.d.ts +8 -8
- package/dist/types/routes/management-api/clients.d.ts +6 -6
- 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/forms.d.ts +119 -119
- package/dist/types/routes/management-api/index.d.ts +53 -53
- package/dist/types/routes/management-api/logs.d.ts +3 -3
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- 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/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +2 -2
- package/dist/types/routes/universal-login/u2-index.d.ts +3 -3
- package/dist/types/routes/universal-login/u2-routes.d.ts +3 -3
- package/dist/types/types/Bindings.d.ts +1 -0
- package/dist/types/utils/field-encryption.d.ts +21 -0
- package/package.json +3 -3
|
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
288
288
|
scope?: string | undefined;
|
|
289
289
|
grant_types?: string[] | undefined;
|
|
290
290
|
response_types?: string[] | undefined;
|
|
291
|
-
token_endpoint_auth_method?: "
|
|
291
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
292
292
|
jwks_uri?: string | undefined;
|
|
293
293
|
jwks?: Record<string, unknown> | undefined;
|
|
294
294
|
software_id?: string | undefined;
|
|
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
377
377
|
scope?: string | undefined;
|
|
378
378
|
grant_types?: string[] | undefined;
|
|
379
379
|
response_types?: string[] | undefined;
|
|
380
|
-
token_endpoint_auth_method?: "
|
|
380
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
381
381
|
jwks_uri?: string | undefined;
|
|
382
382
|
jwks?: Record<string, unknown> | undefined;
|
|
383
383
|
software_id?: string | undefined;
|
|
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
+
audience?: string | undefined;
|
|
727
|
+
state?: string | undefined;
|
|
728
|
+
code_challenge?: string | undefined;
|
|
729
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
730
|
+
redirect_uri?: string | undefined;
|
|
731
|
+
nonce?: string | undefined;
|
|
726
732
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
727
733
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
728
734
|
scope?: string | undefined;
|
|
729
735
|
username?: string | undefined;
|
|
730
|
-
audience?: string | undefined;
|
|
731
|
-
state?: string | undefined;
|
|
732
|
-
organization?: string | undefined;
|
|
733
|
-
nonce?: string | undefined;
|
|
734
|
-
redirect_uri?: string | undefined;
|
|
735
736
|
act_as?: string | undefined;
|
|
737
|
+
organization?: string | undefined;
|
|
736
738
|
prompt?: string | undefined;
|
|
737
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
738
|
-
code_challenge?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
741
741
|
acr_values?: string | undefined;
|
|
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
+
audience?: string | undefined;
|
|
763
|
+
state?: string | undefined;
|
|
764
|
+
code_challenge?: string | undefined;
|
|
765
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
766
|
+
redirect_uri?: string | undefined;
|
|
767
|
+
nonce?: string | undefined;
|
|
762
768
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
763
769
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
764
770
|
scope?: string | undefined;
|
|
765
771
|
username?: string | undefined;
|
|
766
|
-
audience?: string | undefined;
|
|
767
|
-
state?: string | undefined;
|
|
768
|
-
organization?: string | undefined;
|
|
769
|
-
nonce?: string | undefined;
|
|
770
|
-
redirect_uri?: string | undefined;
|
|
771
772
|
act_as?: string | undefined;
|
|
773
|
+
organization?: string | undefined;
|
|
772
774
|
prompt?: string | undefined;
|
|
773
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
774
|
-
code_challenge?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | undefined;
|
|
777
777
|
acr_values?: string | undefined;
|
|
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
903
903
|
input: {
|
|
904
904
|
form: {
|
|
905
905
|
token: string;
|
|
906
|
-
token_type_hint?: "
|
|
906
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
907
907
|
client_id?: string | undefined;
|
|
908
908
|
client_secret?: string | undefined;
|
|
909
909
|
};
|
|
910
910
|
} & {
|
|
911
911
|
json: {
|
|
912
912
|
token: string;
|
|
913
|
-
token_type_hint?: "
|
|
913
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
914
914
|
client_id?: string | undefined;
|
|
915
915
|
client_secret?: string | undefined;
|
|
916
916
|
};
|
|
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
922
922
|
input: {
|
|
923
923
|
form: {
|
|
924
924
|
token: string;
|
|
925
|
-
token_type_hint?: "
|
|
925
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
926
926
|
client_id?: string | undefined;
|
|
927
927
|
client_secret?: string | undefined;
|
|
928
928
|
};
|
|
929
929
|
} & {
|
|
930
930
|
json: {
|
|
931
931
|
token: string;
|
|
932
|
-
token_type_hint?: "
|
|
932
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
933
933
|
client_id?: string | undefined;
|
|
934
934
|
client_secret?: string | undefined;
|
|
935
935
|
};
|
|
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
944
944
|
input: {
|
|
945
945
|
form: {
|
|
946
946
|
token: string;
|
|
947
|
-
token_type_hint?: "
|
|
947
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
948
948
|
client_id?: string | undefined;
|
|
949
949
|
client_secret?: string | undefined;
|
|
950
950
|
};
|
|
951
951
|
} & {
|
|
952
952
|
json: {
|
|
953
953
|
token: string;
|
|
954
|
-
token_type_hint?: "
|
|
954
|
+
token_type_hint?: "refresh_token" | "access_token" | undefined;
|
|
955
955
|
client_id?: string | undefined;
|
|
956
956
|
client_secret?: string | undefined;
|
|
957
957
|
};
|
|
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
+
audience?: string | undefined;
|
|
18
|
+
state?: string | undefined;
|
|
19
|
+
code_challenge?: string | undefined;
|
|
20
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
21
|
+
redirect_uri?: string | undefined;
|
|
22
|
+
nonce?: string | undefined;
|
|
17
23
|
response_type?: AuthorizationResponseType | undefined;
|
|
18
24
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
25
|
scope?: string | undefined;
|
|
20
26
|
username?: string | undefined;
|
|
21
|
-
audience?: string | undefined;
|
|
22
|
-
state?: string | undefined;
|
|
23
|
-
organization?: string | undefined;
|
|
24
|
-
nonce?: string | undefined;
|
|
25
|
-
redirect_uri?: string | undefined;
|
|
26
27
|
act_as?: string | undefined;
|
|
28
|
+
organization?: string | undefined;
|
|
27
29
|
prompt?: string | undefined;
|
|
28
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
29
|
-
code_challenge?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
32
32
|
acr_values?: string | undefined;
|
|
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
+
audience?: string | undefined;
|
|
54
|
+
state?: string | undefined;
|
|
55
|
+
code_challenge?: string | undefined;
|
|
56
|
+
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
57
|
+
redirect_uri?: string | undefined;
|
|
58
|
+
nonce?: string | undefined;
|
|
53
59
|
response_type?: AuthorizationResponseType | undefined;
|
|
54
60
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
61
|
scope?: string | undefined;
|
|
56
62
|
username?: string | undefined;
|
|
57
|
-
audience?: string | undefined;
|
|
58
|
-
state?: string | undefined;
|
|
59
|
-
organization?: string | undefined;
|
|
60
|
-
nonce?: string | undefined;
|
|
61
|
-
redirect_uri?: string | undefined;
|
|
62
63
|
act_as?: string | undefined;
|
|
64
|
+
organization?: string | undefined;
|
|
63
65
|
prompt?: string | undefined;
|
|
64
|
-
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
65
|
-
code_challenge?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | undefined;
|
|
68
68
|
acr_values?: 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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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?: "refresh_token" | "access_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" | "debug" | "info" | "warn";
|
|
82
82
|
message: string;
|
|
83
83
|
}[];
|
|
84
84
|
}[];
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "
|
|
664
|
+
level: "error" | "log" | "debug" | "info" | "warn";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
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;
|
|
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
16
16
|
audience?: string | undefined;
|
|
17
17
|
client_id?: string | undefined;
|
|
18
18
|
allow_any_organization?: string | undefined;
|
|
19
|
-
subject_type?: "
|
|
19
|
+
subject_type?: "user" | "client" | undefined;
|
|
20
20
|
};
|
|
21
21
|
} & {
|
|
22
22
|
header: {
|
|
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
31
31
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
32
32
|
allow_any_organization?: boolean | undefined;
|
|
33
33
|
is_system?: boolean | undefined;
|
|
34
|
-
subject_type?: "
|
|
34
|
+
subject_type?: "user" | "client" | undefined;
|
|
35
35
|
authorization_details_types?: string[] | undefined;
|
|
36
36
|
created_at?: string | undefined;
|
|
37
37
|
updated_at?: string | undefined;
|
|
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
47
47
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
48
48
|
allow_any_organization?: boolean | undefined;
|
|
49
49
|
is_system?: boolean | undefined;
|
|
50
|
-
subject_type?: "
|
|
50
|
+
subject_type?: "user" | "client" | undefined;
|
|
51
51
|
authorization_details_types?: string[] | undefined;
|
|
52
52
|
created_at?: string | undefined;
|
|
53
53
|
updated_at?: string | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
78
78
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
79
79
|
allow_any_organization?: boolean | undefined;
|
|
80
80
|
is_system?: boolean | undefined;
|
|
81
|
-
subject_type?: "
|
|
81
|
+
subject_type?: "user" | "client" | undefined;
|
|
82
82
|
authorization_details_types?: string[] | undefined;
|
|
83
83
|
created_at?: string | undefined;
|
|
84
84
|
updated_at?: string | undefined;
|
|
@@ -123,7 +123,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
123
123
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
124
124
|
allow_any_organization?: boolean | undefined;
|
|
125
125
|
is_system?: boolean | undefined;
|
|
126
|
-
subject_type?: "
|
|
126
|
+
subject_type?: "user" | "client" | undefined;
|
|
127
127
|
authorization_details_types?: string[] | undefined;
|
|
128
128
|
};
|
|
129
129
|
};
|
|
@@ -135,7 +135,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
135
135
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
136
136
|
allow_any_organization?: boolean | undefined;
|
|
137
137
|
is_system?: boolean | undefined;
|
|
138
|
-
subject_type?: "
|
|
138
|
+
subject_type?: "user" | "client" | undefined;
|
|
139
139
|
authorization_details_types?: string[] | undefined;
|
|
140
140
|
created_at?: string | undefined;
|
|
141
141
|
updated_at?: string | undefined;
|
|
@@ -159,7 +159,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
159
159
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
160
160
|
allow_any_organization?: boolean | undefined;
|
|
161
161
|
is_system?: boolean | undefined;
|
|
162
|
-
subject_type?: "
|
|
162
|
+
subject_type?: "user" | "client" | undefined;
|
|
163
163
|
authorization_details_types?: string[] | undefined;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
@@ -171,7 +171,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
171
171
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
172
172
|
allow_any_organization?: boolean | undefined;
|
|
173
173
|
is_system?: boolean | undefined;
|
|
174
|
-
subject_type?: "
|
|
174
|
+
subject_type?: "user" | "client" | undefined;
|
|
175
175
|
authorization_details_types?: string[] | undefined;
|
|
176
176
|
created_at?: string | undefined;
|
|
177
177
|
updated_at?: string | undefined;
|
|
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
760
760
|
active?: boolean | undefined;
|
|
761
761
|
} | undefined;
|
|
762
762
|
signup?: {
|
|
763
|
-
status?: "optional" | "
|
|
763
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
764
764
|
verification?: {
|
|
765
765
|
active?: boolean | undefined;
|
|
766
766
|
} | undefined;
|
|
@@ -777,7 +777,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
777
777
|
active?: boolean | undefined;
|
|
778
778
|
} | undefined;
|
|
779
779
|
signup?: {
|
|
780
|
-
status?: "optional" | "
|
|
780
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
781
781
|
} | undefined;
|
|
782
782
|
validation?: {
|
|
783
783
|
max_length?: number | undefined;
|
|
@@ -794,7 +794,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
794
794
|
active?: boolean | undefined;
|
|
795
795
|
} | undefined;
|
|
796
796
|
signup?: {
|
|
797
|
-
status?: "optional" | "
|
|
797
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
798
798
|
} | undefined;
|
|
799
799
|
} | undefined;
|
|
800
800
|
} | undefined;
|
|
@@ -914,7 +914,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
914
914
|
active?: boolean | undefined;
|
|
915
915
|
} | undefined;
|
|
916
916
|
signup?: {
|
|
917
|
-
status?: "optional" | "
|
|
917
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
918
918
|
verification?: {
|
|
919
919
|
active?: boolean | undefined;
|
|
920
920
|
} | undefined;
|
|
@@ -931,7 +931,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
931
931
|
active?: boolean | undefined;
|
|
932
932
|
} | undefined;
|
|
933
933
|
signup?: {
|
|
934
|
-
status?: "optional" | "
|
|
934
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
935
935
|
} | undefined;
|
|
936
936
|
validation?: {
|
|
937
937
|
max_length?: number | undefined;
|
|
@@ -948,7 +948,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
948
948
|
active?: boolean | undefined;
|
|
949
949
|
} | undefined;
|
|
950
950
|
signup?: {
|
|
951
|
-
status?: "optional" | "
|
|
951
|
+
status?: "optional" | "disabled" | "required" | undefined;
|
|
952
952
|
} | undefined;
|
|
953
953
|
} | undefined;
|
|
954
954
|
} | undefined;
|
|
@@ -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: "pending" | "disabled" | "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: "pending" | "disabled" | "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?: "pending" | "disabled" | "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: "pending" | "disabled" | "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: "pending" | "disabled" | "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: "pending" | "disabled" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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?: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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?: "verify_email" | "change_password" | "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: "verify_email" | "change_password" | "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: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|