authhero 8.5.0 → 8.6.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/authhero.cjs +3 -3
- package/dist/authhero.d.ts +118 -86
- package/dist/authhero.mjs +41 -19
- package/dist/stats.html +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +1 -1
- package/dist/types/index.d.ts +86 -86
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +16 -16
- package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/actions.d.ts +1 -1
- package/dist/types/routes/management-api/clients.d.ts +7 -7
- package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +1 -1
- package/dist/types/routes/management-api/flows.d.ts +7 -7
- package/dist/types/routes/management-api/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/index.d.ts +64 -64
- 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 +1 -1
- 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 +6 -6
- package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
- package/dist/types/types/AuthHeroConfig.d.ts +33 -1
- package/package.json +3 -3
|
@@ -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?: "change-email" | "account" | "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?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
output: {
|
|
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
434
434
|
client_id: string;
|
|
435
435
|
redirect_url?: string | undefined;
|
|
436
436
|
login_hint?: string | undefined;
|
|
437
|
-
screen_hint?: "
|
|
437
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
438
438
|
};
|
|
439
439
|
};
|
|
440
440
|
output: {};
|
|
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
446
446
|
client_id: string;
|
|
447
447
|
redirect_url?: string | undefined;
|
|
448
448
|
login_hint?: string | undefined;
|
|
449
|
-
screen_hint?: "
|
|
449
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
450
450
|
};
|
|
451
451
|
};
|
|
452
452
|
output: {
|
|
@@ -723,18 +723,18 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
723
723
|
email: string;
|
|
724
724
|
send: "code" | "link";
|
|
725
725
|
authParams: {
|
|
726
|
-
state?: string | undefined;
|
|
727
726
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
728
727
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
729
728
|
scope?: string | undefined;
|
|
730
729
|
username?: string | undefined;
|
|
731
|
-
|
|
732
|
-
organization?: string | undefined;
|
|
730
|
+
audience?: string | undefined;
|
|
733
731
|
code_challenge?: string | undefined;
|
|
734
732
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
735
733
|
redirect_uri?: string | undefined;
|
|
734
|
+
nonce?: string | undefined;
|
|
735
|
+
state?: string | undefined;
|
|
736
736
|
act_as?: string | undefined;
|
|
737
|
-
|
|
737
|
+
organization?: string | undefined;
|
|
738
738
|
prompt?: string | undefined;
|
|
739
739
|
ui_locales?: string | undefined;
|
|
740
740
|
max_age?: number | undefined;
|
|
@@ -759,18 +759,18 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
759
759
|
phone_number: string;
|
|
760
760
|
send: "code" | "link";
|
|
761
761
|
authParams: {
|
|
762
|
-
state?: string | undefined;
|
|
763
762
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
764
763
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
765
764
|
scope?: string | undefined;
|
|
766
765
|
username?: string | undefined;
|
|
767
|
-
|
|
768
|
-
organization?: string | undefined;
|
|
766
|
+
audience?: string | undefined;
|
|
769
767
|
code_challenge?: string | undefined;
|
|
770
768
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
771
769
|
redirect_uri?: string | undefined;
|
|
770
|
+
nonce?: string | undefined;
|
|
771
|
+
state?: string | undefined;
|
|
772
772
|
act_as?: string | undefined;
|
|
773
|
-
|
|
773
|
+
organization?: string | undefined;
|
|
774
774
|
prompt?: string | undefined;
|
|
775
775
|
ui_locales?: string | undefined;
|
|
776
776
|
max_age?: number | 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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_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?: "access_token" | "refresh_token" | undefined;
|
|
955
955
|
client_id?: string | undefined;
|
|
956
956
|
client_secret?: string | undefined;
|
|
957
957
|
};
|
|
@@ -14,18 +14,18 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
14
14
|
email: string;
|
|
15
15
|
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
state?: string | undefined;
|
|
18
17
|
response_type?: AuthorizationResponseType | undefined;
|
|
19
18
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
20
19
|
scope?: string | undefined;
|
|
21
20
|
username?: string | undefined;
|
|
22
|
-
|
|
23
|
-
organization?: string | undefined;
|
|
21
|
+
audience?: string | undefined;
|
|
24
22
|
code_challenge?: string | undefined;
|
|
25
23
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
26
24
|
redirect_uri?: string | undefined;
|
|
25
|
+
nonce?: string | undefined;
|
|
26
|
+
state?: string | undefined;
|
|
27
27
|
act_as?: string | undefined;
|
|
28
|
-
|
|
28
|
+
organization?: string | undefined;
|
|
29
29
|
prompt?: string | undefined;
|
|
30
30
|
ui_locales?: string | undefined;
|
|
31
31
|
max_age?: number | undefined;
|
|
@@ -50,18 +50,18 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
50
50
|
phone_number: string;
|
|
51
51
|
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
state?: string | undefined;
|
|
54
53
|
response_type?: AuthorizationResponseType | undefined;
|
|
55
54
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
56
55
|
scope?: string | undefined;
|
|
57
56
|
username?: string | undefined;
|
|
58
|
-
|
|
59
|
-
organization?: string | undefined;
|
|
57
|
+
audience?: string | undefined;
|
|
60
58
|
code_challenge?: string | undefined;
|
|
61
59
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
62
60
|
redirect_uri?: string | undefined;
|
|
61
|
+
nonce?: string | undefined;
|
|
62
|
+
state?: string | undefined;
|
|
63
63
|
act_as?: string | undefined;
|
|
64
|
-
|
|
64
|
+
organization?: string | undefined;
|
|
65
65
|
prompt?: string | undefined;
|
|
66
66
|
ui_locales?: string | undefined;
|
|
67
67
|
max_age?: number | 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
|
};
|
|
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
661
661
|
args: import("hono/utils/types").JSONValue[];
|
|
662
662
|
}[];
|
|
663
663
|
logs: {
|
|
664
|
-
level: "log" | "error" | "info" | "
|
|
664
|
+
level: "log" | "error" | "info" | "warn" | "debug";
|
|
665
665
|
message: string;
|
|
666
666
|
}[];
|
|
667
667
|
error?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
description?: string | undefined;
|
|
42
42
|
client_secret?: string | undefined;
|
|
43
|
-
app_type?: "
|
|
43
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
44
44
|
logo_uri?: string | undefined;
|
|
45
45
|
callbacks?: string[] | undefined;
|
|
46
46
|
allowed_origins?: string[] | undefined;
|
|
@@ -136,7 +136,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
136
136
|
client_id: string;
|
|
137
137
|
description?: string | undefined;
|
|
138
138
|
client_secret?: string | undefined;
|
|
139
|
-
app_type?: "
|
|
139
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
140
140
|
logo_uri?: string | undefined;
|
|
141
141
|
callbacks?: string[] | undefined;
|
|
142
142
|
allowed_origins?: string[] | undefined;
|
|
@@ -247,7 +247,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
247
247
|
client_id: string;
|
|
248
248
|
description?: string | undefined;
|
|
249
249
|
client_secret?: string | undefined;
|
|
250
|
-
app_type?: "
|
|
250
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
251
251
|
logo_uri?: string | undefined;
|
|
252
252
|
callbacks?: string[] | undefined;
|
|
253
253
|
allowed_origins?: string[] | undefined;
|
|
@@ -362,7 +362,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
362
362
|
description?: string | undefined;
|
|
363
363
|
global?: boolean | undefined;
|
|
364
364
|
client_secret?: string | undefined;
|
|
365
|
-
app_type?: "
|
|
365
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
366
366
|
logo_uri?: string | undefined;
|
|
367
367
|
is_first_party?: boolean | undefined;
|
|
368
368
|
oidc_conformant?: boolean | undefined;
|
|
@@ -437,7 +437,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
437
437
|
client_id: string;
|
|
438
438
|
description?: string | undefined;
|
|
439
439
|
client_secret?: string | undefined;
|
|
440
|
-
app_type?: "
|
|
440
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
441
441
|
logo_uri?: string | undefined;
|
|
442
442
|
callbacks?: string[] | undefined;
|
|
443
443
|
allowed_origins?: string[] | undefined;
|
|
@@ -531,7 +531,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
531
531
|
description?: string | undefined;
|
|
532
532
|
global?: boolean | undefined;
|
|
533
533
|
client_secret?: string | undefined;
|
|
534
|
-
app_type?: "
|
|
534
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
535
535
|
logo_uri?: string | undefined;
|
|
536
536
|
is_first_party?: boolean | undefined;
|
|
537
537
|
oidc_conformant?: boolean | undefined;
|
|
@@ -606,7 +606,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
606
606
|
client_id: string;
|
|
607
607
|
description?: string | undefined;
|
|
608
608
|
client_secret?: string | undefined;
|
|
609
|
-
app_type?: "
|
|
609
|
+
app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
|
|
610
610
|
logo_uri?: string | undefined;
|
|
611
611
|
callbacks?: string[] | undefined;
|
|
612
612
|
allowed_origins?: string[] | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
30
30
|
primary: boolean;
|
|
31
31
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
|
-
custom_client_ip_header?: "null" | "
|
|
33
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
35
35
|
[x: string]: string;
|
|
36
36
|
} | undefined;
|
|
@@ -71,7 +71,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
71
71
|
primary: boolean;
|
|
72
72
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
|
-
custom_client_ip_header?: "null" | "
|
|
74
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
76
76
|
[x: string]: string;
|
|
77
77
|
} | undefined;
|
|
@@ -124,7 +124,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
124
124
|
} & {
|
|
125
125
|
json: {
|
|
126
126
|
tls_policy?: "recommended" | undefined;
|
|
127
|
-
custom_client_ip_header?: "null" | "
|
|
127
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
128
128
|
domain_metadata?: Record<string, string> | undefined;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
@@ -135,7 +135,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
135
135
|
primary: boolean;
|
|
136
136
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
137
137
|
verification_method?: "txt" | undefined;
|
|
138
|
-
custom_client_ip_header?: "null" | "
|
|
138
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
139
139
|
domain_metadata?: {
|
|
140
140
|
[x: string]: string;
|
|
141
141
|
} | undefined;
|
|
@@ -171,7 +171,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
171
171
|
custom_domain_id?: string | undefined;
|
|
172
172
|
verification_method?: "txt" | undefined;
|
|
173
173
|
tls_policy?: "recommended" | undefined;
|
|
174
|
-
custom_client_ip_header?: "null" | "
|
|
174
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
175
175
|
domain_metadata?: Record<string, string> | undefined;
|
|
176
176
|
};
|
|
177
177
|
};
|
|
@@ -182,7 +182,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
182
182
|
primary: boolean;
|
|
183
183
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
184
184
|
verification_method?: "txt" | undefined;
|
|
185
|
-
custom_client_ip_header?: "null" | "
|
|
185
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
186
186
|
domain_metadata?: {
|
|
187
187
|
[x: string]: string;
|
|
188
188
|
} | undefined;
|
|
@@ -228,7 +228,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
228
228
|
primary: boolean;
|
|
229
229
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
230
230
|
verification_method?: "txt" | undefined;
|
|
231
|
-
custom_client_ip_header?: "null" | "
|
|
231
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
232
232
|
domain_metadata?: {
|
|
233
233
|
[x: string]: string;
|
|
234
234
|
} | undefined;
|
|
@@ -269,7 +269,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
269
269
|
primary: boolean;
|
|
270
270
|
status: "disabled" | "pending" | "ready" | "pending_verification";
|
|
271
271
|
verification_method?: "txt" | undefined;
|
|
272
|
-
custom_client_ip_header?: "null" | "
|
|
272
|
+
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
273
273
|
domain_metadata?: {
|
|
274
274
|
[x: string]: string;
|
|
275
275
|
} | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "change_password" | "password_reset" | "verify_email" | "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" | "password_reset" | "verify_email" | "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" | "password_reset" | "verify_email" | "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;
|
|
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
output: {
|
|
71
|
-
name: "
|
|
71
|
+
name: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
72
72
|
body: string;
|
|
73
73
|
subject: string;
|
|
74
74
|
}[];
|
|
@@ -81,7 +81,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
81
81
|
$get: {
|
|
82
82
|
input: {
|
|
83
83
|
param: {
|
|
84
|
-
templateName: "
|
|
84
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
85
85
|
};
|
|
86
86
|
} & {
|
|
87
87
|
header: {
|
|
@@ -94,7 +94,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
94
94
|
} | {
|
|
95
95
|
input: {
|
|
96
96
|
param: {
|
|
97
|
-
templateName: "
|
|
97
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
98
98
|
};
|
|
99
99
|
} & {
|
|
100
100
|
header: {
|
|
@@ -102,7 +102,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
output: {
|
|
105
|
-
template: "
|
|
105
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
106
106
|
body: string;
|
|
107
107
|
from: string;
|
|
108
108
|
subject: string;
|
|
@@ -121,7 +121,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
121
121
|
$put: {
|
|
122
122
|
input: {
|
|
123
123
|
param: {
|
|
124
|
-
templateName: "
|
|
124
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
125
125
|
};
|
|
126
126
|
} & {
|
|
127
127
|
header: {
|
|
@@ -129,7 +129,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
129
129
|
};
|
|
130
130
|
} & {
|
|
131
131
|
json: {
|
|
132
|
-
template: "
|
|
132
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
133
133
|
body: string;
|
|
134
134
|
subject: string;
|
|
135
135
|
syntax?: "liquid" | undefined;
|
|
@@ -141,7 +141,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
141
141
|
};
|
|
142
142
|
};
|
|
143
143
|
output: {
|
|
144
|
-
template: "
|
|
144
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
145
145
|
body: string;
|
|
146
146
|
from: string;
|
|
147
147
|
subject: string;
|
|
@@ -160,7 +160,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
160
160
|
$patch: {
|
|
161
161
|
input: {
|
|
162
162
|
param: {
|
|
163
|
-
templateName: "
|
|
163
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
164
164
|
};
|
|
165
165
|
} & {
|
|
166
166
|
header: {
|
|
@@ -168,7 +168,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
168
168
|
};
|
|
169
169
|
} & {
|
|
170
170
|
json: {
|
|
171
|
-
template?: "
|
|
171
|
+
template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
172
172
|
body?: string | undefined;
|
|
173
173
|
from?: string | undefined;
|
|
174
174
|
subject?: string | undefined;
|
|
@@ -185,7 +185,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
185
185
|
} | {
|
|
186
186
|
input: {
|
|
187
187
|
param: {
|
|
188
|
-
templateName: "
|
|
188
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
189
189
|
};
|
|
190
190
|
} & {
|
|
191
191
|
header: {
|
|
@@ -193,7 +193,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
193
193
|
};
|
|
194
194
|
} & {
|
|
195
195
|
json: {
|
|
196
|
-
template?: "
|
|
196
|
+
template?: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
197
197
|
body?: string | undefined;
|
|
198
198
|
from?: string | undefined;
|
|
199
199
|
subject?: string | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
output: {
|
|
208
|
-
template: "
|
|
208
|
+
template: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
209
209
|
body: string;
|
|
210
210
|
from: string;
|
|
211
211
|
subject: string;
|
|
@@ -224,7 +224,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
224
224
|
$delete: {
|
|
225
225
|
input: {
|
|
226
226
|
param: {
|
|
227
|
-
templateName: "
|
|
227
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
228
228
|
};
|
|
229
229
|
} & {
|
|
230
230
|
header: {
|
|
@@ -237,7 +237,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | {
|
|
238
238
|
input: {
|
|
239
239
|
param: {
|
|
240
|
-
templateName: "
|
|
240
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
241
241
|
};
|
|
242
242
|
} & {
|
|
243
243
|
header: {
|
|
@@ -254,7 +254,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
254
254
|
$post: {
|
|
255
255
|
input: {
|
|
256
256
|
param: {
|
|
257
|
-
templateName: "
|
|
257
|
+
templateName: "change_password" | "password_reset" | "verify_email" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
258
258
|
};
|
|
259
259
|
} & {
|
|
260
260
|
header: {
|
|
@@ -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;
|