authhero 9.25.0 → 9.26.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 +155 -155
- package/dist/authhero.d.ts +623 -473
- package/dist/authhero.mjs +16319 -15605
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/adapters/createEncryptedDataAdapter.d.ts +2 -1
- package/dist/types/adapters/index.d.ts +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +8 -5
- package/dist/types/errors/management-api-error.d.ts +113 -0
- package/dist/types/helpers/client.d.ts +6 -0
- package/dist/types/helpers/control-plane-caller.d.ts +15 -0
- package/dist/types/helpers/platform-rows.d.ts +27 -0
- package/dist/types/helpers/request-data.d.ts +12 -0
- package/dist/types/helpers/reserved-claims.d.ts +2 -2
- package/dist/types/helpers/synced-rows.d.ts +1 -0
- package/dist/types/index.d.ts +525 -469
- package/dist/types/routes/auth-api/account.d.ts +2 -2
- package/dist/types/routes/auth-api/index.d.ts +19 -19
- package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
- package/dist/types/routes/auth-api/revoke.d.ts +6 -6
- package/dist/types/routes/auth-api/well-known.d.ts +1 -1
- package/dist/types/routes/management-api/action-executions.d.ts +2 -2
- package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
- package/dist/types/routes/management-api/actions.d.ts +23 -23
- package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +9 -9
- package/dist/types/routes/management-api/client-grants.d.ts +13 -0
- package/dist/types/routes/management-api/clients.d.ts +19 -6
- package/dist/types/routes/management-api/connections.d.ts +36 -23
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/emails.d.ts +12 -12
- package/dist/types/routes/management-api/failed-events.d.ts +2 -2
- package/dist/types/routes/management-api/flows.d.ts +8 -8
- package/dist/types/routes/management-api/forms.d.ts +144 -144
- 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/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/hooks.d.ts +91 -91
- package/dist/types/routes/management-api/index.d.ts +495 -443
- package/dist/types/routes/management-api/keys.d.ts +16 -16
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
- package/dist/types/routes/management-api/organizations.d.ts +6 -6
- package/dist/types/routes/management-api/prompts.d.ts +10 -10
- package/dist/types/routes/management-api/resource-servers.d.ts +29 -16
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/rollouts.d.ts +261 -0
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +10 -5
- package/dist/types/routes/management-api/tenants.d.ts +17 -5
- package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +17 -17
- package/dist/types/routes/universal-login/common.d.ts +22 -10
- package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
- 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 +5 -5
- package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
- package/dist/types/state-machines/login-session.d.ts +1 -1
- package/dist/types/types/AuthHeroConfig.d.ts +37 -1
- package/dist/types/types/Bindings.d.ts +2 -1
- package/dist/types/types/Variables.d.ts +5 -0
- package/dist/types/utils/field-encryption.d.ts +7 -0
- package/dist/types/utils/jwks.d.ts +2 -2
- package/package.json +6 -6
|
@@ -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: {
|
|
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
447
447
|
client_id: string;
|
|
448
448
|
redirect_url?: string | undefined;
|
|
449
449
|
login_hint?: string | undefined;
|
|
450
|
-
screen_hint?: "
|
|
450
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
451
451
|
};
|
|
452
452
|
};
|
|
453
453
|
output: {};
|
|
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
459
459
|
client_id: string;
|
|
460
460
|
redirect_url?: string | undefined;
|
|
461
461
|
login_hint?: string | undefined;
|
|
462
|
-
screen_hint?: "
|
|
462
|
+
screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -739,17 +739,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
739
739
|
connection: "email";
|
|
740
740
|
client_id: string;
|
|
741
741
|
email: string;
|
|
742
|
-
send: "
|
|
742
|
+
send: "code" | "link";
|
|
743
743
|
authParams: {
|
|
744
|
-
state?: string | undefined;
|
|
745
744
|
username?: string | undefined;
|
|
746
745
|
scope?: string | undefined;
|
|
746
|
+
state?: string | undefined;
|
|
747
747
|
audience?: string | undefined;
|
|
748
|
-
|
|
749
|
-
act_as?: string | undefined;
|
|
748
|
+
organization?: string | undefined;
|
|
750
749
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
751
750
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
752
|
-
|
|
751
|
+
redirect_uri?: string | undefined;
|
|
752
|
+
act_as?: string | undefined;
|
|
753
753
|
nonce?: string | undefined;
|
|
754
754
|
prompt?: string | undefined;
|
|
755
755
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -775,17 +775,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
775
775
|
client_id: string;
|
|
776
776
|
connection: "sms";
|
|
777
777
|
phone_number: string;
|
|
778
|
-
send: "
|
|
778
|
+
send: "code" | "link";
|
|
779
779
|
authParams: {
|
|
780
|
-
state?: string | undefined;
|
|
781
780
|
username?: string | undefined;
|
|
782
781
|
scope?: string | undefined;
|
|
782
|
+
state?: string | undefined;
|
|
783
783
|
audience?: string | undefined;
|
|
784
|
-
|
|
785
|
-
act_as?: string | undefined;
|
|
784
|
+
organization?: string | undefined;
|
|
786
785
|
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
787
786
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
788
|
-
|
|
787
|
+
redirect_uri?: string | undefined;
|
|
788
|
+
act_as?: string | undefined;
|
|
789
789
|
nonce?: string | undefined;
|
|
790
790
|
prompt?: string | undefined;
|
|
791
791
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
921
921
|
input: {
|
|
922
922
|
form: {
|
|
923
923
|
token: string;
|
|
924
|
-
token_type_hint?: "
|
|
924
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
925
925
|
client_id?: string | undefined;
|
|
926
926
|
client_secret?: string | undefined;
|
|
927
927
|
};
|
|
928
928
|
} & {
|
|
929
929
|
json: {
|
|
930
930
|
token: string;
|
|
931
|
-
token_type_hint?: "
|
|
931
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
932
932
|
client_id?: string | undefined;
|
|
933
933
|
client_secret?: string | undefined;
|
|
934
934
|
};
|
|
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
940
940
|
input: {
|
|
941
941
|
form: {
|
|
942
942
|
token: string;
|
|
943
|
-
token_type_hint?: "
|
|
943
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
944
944
|
client_id?: string | undefined;
|
|
945
945
|
client_secret?: string | undefined;
|
|
946
946
|
};
|
|
947
947
|
} & {
|
|
948
948
|
json: {
|
|
949
949
|
token: string;
|
|
950
|
-
token_type_hint?: "
|
|
950
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
951
951
|
client_id?: string | undefined;
|
|
952
952
|
client_secret?: string | undefined;
|
|
953
953
|
};
|
|
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
962
962
|
input: {
|
|
963
963
|
form: {
|
|
964
964
|
token: string;
|
|
965
|
-
token_type_hint?: "
|
|
965
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
966
966
|
client_id?: string | undefined;
|
|
967
967
|
client_secret?: string | undefined;
|
|
968
968
|
};
|
|
969
969
|
} & {
|
|
970
970
|
json: {
|
|
971
971
|
token: string;
|
|
972
|
-
token_type_hint?: "
|
|
972
|
+
token_type_hint?: "access_token" | "refresh_token" | undefined;
|
|
973
973
|
client_id?: string | undefined;
|
|
974
974
|
client_secret?: string | undefined;
|
|
975
975
|
};
|
|
@@ -1635,7 +1635,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
1635
1635
|
output: {
|
|
1636
1636
|
keys: {
|
|
1637
1637
|
kty: "EC" | "RSA" | "oct";
|
|
1638
|
-
alg?: "
|
|
1638
|
+
alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
|
|
1639
1639
|
kid?: string | undefined;
|
|
1640
1640
|
use?: "sig" | "enc" | undefined;
|
|
1641
1641
|
n?: string | undefined;
|
|
@@ -12,17 +12,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
12
12
|
connection: "email";
|
|
13
13
|
client_id: string;
|
|
14
14
|
email: string;
|
|
15
|
-
send: "
|
|
15
|
+
send: "code" | "link";
|
|
16
16
|
authParams: {
|
|
17
|
-
state?: string | undefined;
|
|
18
17
|
username?: string | undefined;
|
|
19
18
|
scope?: string | undefined;
|
|
19
|
+
state?: string | undefined;
|
|
20
20
|
audience?: string | undefined;
|
|
21
|
-
|
|
22
|
-
act_as?: string | undefined;
|
|
21
|
+
organization?: string | undefined;
|
|
23
22
|
response_type?: AuthorizationResponseType | undefined;
|
|
24
23
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
25
|
-
|
|
24
|
+
redirect_uri?: string | undefined;
|
|
25
|
+
act_as?: string | undefined;
|
|
26
26
|
nonce?: string | undefined;
|
|
27
27
|
prompt?: string | undefined;
|
|
28
28
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
|
|
@@ -48,17 +48,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
connection: "sms";
|
|
50
50
|
phone_number: string;
|
|
51
|
-
send: "
|
|
51
|
+
send: "code" | "link";
|
|
52
52
|
authParams: {
|
|
53
|
-
state?: string | undefined;
|
|
54
53
|
username?: string | undefined;
|
|
55
54
|
scope?: string | undefined;
|
|
55
|
+
state?: string | undefined;
|
|
56
56
|
audience?: string | undefined;
|
|
57
|
-
|
|
58
|
-
act_as?: string | undefined;
|
|
57
|
+
organization?: string | undefined;
|
|
59
58
|
response_type?: AuthorizationResponseType | undefined;
|
|
60
59
|
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
61
|
-
|
|
60
|
+
redirect_uri?: string | undefined;
|
|
61
|
+
act_as?: string | undefined;
|
|
62
62
|
nonce?: string | undefined;
|
|
63
63
|
prompt?: string | undefined;
|
|
64
64
|
code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | 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
|
};
|
|
@@ -9,7 +9,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
|
|
|
9
9
|
output: {
|
|
10
10
|
keys: {
|
|
11
11
|
kty: "EC" | "RSA" | "oct";
|
|
12
|
-
alg?: "
|
|
12
|
+
alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
|
|
13
13
|
kid?: string | undefined;
|
|
14
14
|
use?: "sig" | "enc" | undefined;
|
|
15
15
|
n?: string | undefined;
|
|
@@ -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: "unspecified" | "pending" | "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
|
}[];
|
|
@@ -29,8 +29,8 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
29
29
|
created_at: string;
|
|
30
30
|
updated_at: string;
|
|
31
31
|
inherit?: boolean | undefined;
|
|
32
|
-
scope?: "
|
|
33
|
-
override?: "
|
|
32
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
33
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
34
34
|
enforce?: boolean | undefined;
|
|
35
35
|
supported_triggers?: {
|
|
36
36
|
id: string;
|
|
@@ -93,8 +93,8 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
|
|
|
93
93
|
created_at: string;
|
|
94
94
|
updated_at: string;
|
|
95
95
|
inherit?: boolean | undefined;
|
|
96
|
-
scope?: "
|
|
97
|
-
override?: "
|
|
96
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
97
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
98
98
|
enforce?: boolean | undefined;
|
|
99
99
|
supported_triggers?: {
|
|
100
100
|
id: string;
|
|
@@ -32,8 +32,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
32
32
|
created_at: string;
|
|
33
33
|
updated_at: string;
|
|
34
34
|
inherit?: boolean | undefined;
|
|
35
|
-
scope?: "
|
|
36
|
-
override?: "
|
|
35
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
36
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
37
37
|
enforce?: boolean | undefined;
|
|
38
38
|
supported_triggers?: {
|
|
39
39
|
id: string;
|
|
@@ -62,8 +62,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
62
62
|
created_at: string;
|
|
63
63
|
updated_at: string;
|
|
64
64
|
inherit?: boolean | undefined;
|
|
65
|
-
scope?: "
|
|
66
|
-
override?: "
|
|
65
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
66
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
67
67
|
enforce?: boolean | undefined;
|
|
68
68
|
supported_triggers?: {
|
|
69
69
|
id: string;
|
|
@@ -92,8 +92,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
92
92
|
created_at: string;
|
|
93
93
|
updated_at: string;
|
|
94
94
|
inherit?: boolean | undefined;
|
|
95
|
-
scope?: "
|
|
96
|
-
override?: "
|
|
95
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
96
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
97
97
|
enforce?: boolean | undefined;
|
|
98
98
|
supported_triggers?: {
|
|
99
99
|
id: string;
|
|
@@ -128,8 +128,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
128
128
|
name: string;
|
|
129
129
|
code: string;
|
|
130
130
|
inherit?: boolean | undefined;
|
|
131
|
-
scope?: "
|
|
132
|
-
override?: "
|
|
131
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
132
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
133
133
|
enforce?: boolean | undefined;
|
|
134
134
|
supported_triggers?: {
|
|
135
135
|
id: string;
|
|
@@ -156,8 +156,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
156
156
|
created_at: string;
|
|
157
157
|
updated_at: string;
|
|
158
158
|
inherit?: boolean | undefined;
|
|
159
|
-
scope?: "
|
|
160
|
-
override?: "
|
|
159
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
160
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
161
161
|
enforce?: boolean | undefined;
|
|
162
162
|
supported_triggers?: {
|
|
163
163
|
id: string;
|
|
@@ -212,8 +212,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
212
212
|
created_at: string;
|
|
213
213
|
updated_at: string;
|
|
214
214
|
inherit?: boolean | undefined;
|
|
215
|
-
scope?: "
|
|
216
|
-
override?: "
|
|
215
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
216
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
217
217
|
enforce?: boolean | undefined;
|
|
218
218
|
supported_triggers?: {
|
|
219
219
|
id: string;
|
|
@@ -248,8 +248,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
248
248
|
} & {
|
|
249
249
|
json: {
|
|
250
250
|
inherit?: boolean | undefined;
|
|
251
|
-
scope?: "
|
|
252
|
-
override?: "
|
|
251
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
252
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
253
253
|
enforce?: boolean | undefined;
|
|
254
254
|
name?: string | undefined;
|
|
255
255
|
code?: string | undefined;
|
|
@@ -284,8 +284,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
284
284
|
} & {
|
|
285
285
|
json: {
|
|
286
286
|
inherit?: boolean | undefined;
|
|
287
|
-
scope?: "
|
|
288
|
-
override?: "
|
|
287
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
288
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
289
289
|
enforce?: boolean | undefined;
|
|
290
290
|
name?: string | undefined;
|
|
291
291
|
code?: string | undefined;
|
|
@@ -314,8 +314,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
314
314
|
created_at: string;
|
|
315
315
|
updated_at: string;
|
|
316
316
|
inherit?: boolean | undefined;
|
|
317
|
-
scope?: "
|
|
318
|
-
override?: "
|
|
317
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
318
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
319
319
|
enforce?: boolean | undefined;
|
|
320
320
|
supported_triggers?: {
|
|
321
321
|
id: string;
|
|
@@ -413,8 +413,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
413
413
|
created_at: string;
|
|
414
414
|
updated_at: string;
|
|
415
415
|
inherit?: boolean | undefined;
|
|
416
|
-
scope?: "
|
|
417
|
-
override?: "
|
|
416
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
417
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
418
418
|
enforce?: boolean | undefined;
|
|
419
419
|
supported_triggers?: {
|
|
420
420
|
id: string;
|
|
@@ -632,8 +632,8 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
632
632
|
created_at: string;
|
|
633
633
|
updated_at: string;
|
|
634
634
|
inherit?: boolean | undefined;
|
|
635
|
-
scope?: "
|
|
636
|
-
override?: "
|
|
635
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
636
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
637
637
|
enforce?: boolean | undefined;
|
|
638
638
|
supported_triggers?: {
|
|
639
639
|
id: string;
|
|
@@ -715,7 +715,7 @@ export declare const actionsRoutes: OpenAPIHono<{
|
|
|
715
715
|
args: import("hono/utils/types").JSONValue[];
|
|
716
716
|
}[];
|
|
717
717
|
logs: {
|
|
718
|
-
level: "
|
|
718
|
+
level: "error" | "log" | "info" | "warn" | "debug";
|
|
719
719
|
message: string;
|
|
720
720
|
}[];
|
|
721
721
|
error?: string | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "push" | "email" | "passkey" | "
|
|
40
|
+
type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
|
|
41
41
|
phone_number?: string | undefined;
|
|
42
42
|
totp_secret?: string | undefined;
|
|
43
43
|
credential_id?: string | undefined;
|
|
@@ -287,8 +287,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
287
287
|
url: string;
|
|
288
288
|
} | undefined;
|
|
289
289
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
290
|
-
scope?: "
|
|
291
|
-
override?: "
|
|
290
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
291
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
292
292
|
enforce?: boolean | undefined;
|
|
293
293
|
};
|
|
294
294
|
outputFormat: "json";
|
|
@@ -320,8 +320,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
320
320
|
url: string;
|
|
321
321
|
} | undefined;
|
|
322
322
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
323
|
-
scope?: "
|
|
324
|
-
override?: "
|
|
323
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
324
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
325
325
|
enforce?: boolean | undefined;
|
|
326
326
|
};
|
|
327
327
|
};
|
|
@@ -342,8 +342,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
342
342
|
url: string;
|
|
343
343
|
} | undefined;
|
|
344
344
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
345
|
-
scope?: "
|
|
346
|
-
override?: "
|
|
345
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
346
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
347
347
|
enforce?: boolean | undefined;
|
|
348
348
|
};
|
|
349
349
|
outputFormat: "json";
|
|
@@ -418,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
418
418
|
} & {
|
|
419
419
|
json: {
|
|
420
420
|
body?: string | undefined;
|
|
421
|
-
screen?: "password" | "
|
|
421
|
+
screen?: "password" | "login" | "identifier" | "signup" | undefined;
|
|
422
422
|
branding?: {
|
|
423
423
|
colors?: {
|
|
424
424
|
primary: string;
|
|
@@ -436,8 +436,8 @@ export declare const brandingRoutes: OpenAPIHono<{
|
|
|
436
436
|
url: string;
|
|
437
437
|
} | undefined;
|
|
438
438
|
dark_mode?: "dark" | "light" | "auto" | undefined;
|
|
439
|
-
scope?: "
|
|
440
|
-
override?: "
|
|
439
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
440
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
441
441
|
enforce?: boolean | undefined;
|
|
442
442
|
} | undefined;
|
|
443
443
|
theme?: {
|
|
@@ -118,6 +118,19 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
118
118
|
output: {};
|
|
119
119
|
outputFormat: string;
|
|
120
120
|
status: 200;
|
|
121
|
+
} | {
|
|
122
|
+
input: {
|
|
123
|
+
param: {
|
|
124
|
+
id: string;
|
|
125
|
+
};
|
|
126
|
+
} & {
|
|
127
|
+
header: {
|
|
128
|
+
"tenant-id"?: string | undefined;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
output: {};
|
|
132
|
+
outputFormat: string;
|
|
133
|
+
status: 204;
|
|
121
134
|
};
|
|
122
135
|
};
|
|
123
136
|
} & {
|
|
@@ -474,6 +474,19 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
474
474
|
output: {};
|
|
475
475
|
outputFormat: string;
|
|
476
476
|
status: 200;
|
|
477
|
+
} | {
|
|
478
|
+
input: {
|
|
479
|
+
param: {
|
|
480
|
+
id: string;
|
|
481
|
+
};
|
|
482
|
+
} & {
|
|
483
|
+
header: {
|
|
484
|
+
"tenant-id"?: string | undefined;
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
output: {};
|
|
488
|
+
outputFormat: string;
|
|
489
|
+
status: 204;
|
|
477
490
|
};
|
|
478
491
|
};
|
|
479
492
|
} & {
|
|
@@ -946,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
946
959
|
} | undefined;
|
|
947
960
|
unique?: boolean | undefined;
|
|
948
961
|
profile_required?: boolean | undefined;
|
|
949
|
-
verification_method?: "
|
|
962
|
+
verification_method?: "code" | "link" | undefined;
|
|
950
963
|
} | undefined;
|
|
951
964
|
username?: {
|
|
952
965
|
identifier?: {
|
|
@@ -996,8 +1009,8 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
996
1009
|
} | undefined;
|
|
997
1010
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
998
1011
|
};
|
|
999
|
-
scope?: "
|
|
1000
|
-
override?: "
|
|
1012
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
1013
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
1001
1014
|
enforce?: boolean | undefined;
|
|
1002
1015
|
id?: string | undefined;
|
|
1003
1016
|
display_name?: string | undefined;
|
|
@@ -1107,7 +1120,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1107
1120
|
} | undefined;
|
|
1108
1121
|
unique?: boolean | undefined;
|
|
1109
1122
|
profile_required?: boolean | undefined;
|
|
1110
|
-
verification_method?: "
|
|
1123
|
+
verification_method?: "code" | "link" | undefined;
|
|
1111
1124
|
} | undefined;
|
|
1112
1125
|
username?: {
|
|
1113
1126
|
identifier?: {
|
|
@@ -1157,8 +1170,8 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1157
1170
|
} | undefined;
|
|
1158
1171
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
1159
1172
|
};
|
|
1160
|
-
scope?: "
|
|
1161
|
-
override?: "
|
|
1173
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
1174
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
1162
1175
|
enforce?: boolean | undefined;
|
|
1163
1176
|
id?: string | undefined;
|
|
1164
1177
|
display_name?: string | undefined;
|