authhero 9.19.0 → 9.20.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 +185 -173
- package/dist/authhero.d.ts +355 -241
- package/dist/authhero.mjs +19286 -16839
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- 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 +2 -2
- package/dist/types/emails/index.d.ts +27 -1
- package/dist/types/generated/locale-types.d.ts +282 -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 +15 -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 +288 -238
- package/dist/types/routes/auth-api/index.d.ts +12 -12
- 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/token.d.ts +10 -10
- package/dist/types/routes/management-api/action-executions.d.ts +1 -1
- package/dist/types/routes/management-api/action-triggers.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/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/connections.d.ts +7 -7
- package/dist/types/routes/management-api/email-templates.d.ts +18 -18
- package/dist/types/routes/management-api/failed-events.d.ts +51 -1
- 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/hook-code.d.ts +2 -2
- package/dist/types/routes/management-api/index.d.ts +269 -219
- package/dist/types/routes/management-api/keys.d.ts +8 -8
- 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 +4 -4
- package/dist/types/routes/management-api/roles.d.ts +1 -1
- package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
- package/dist/types/routes/management-api/tenant-operations.d.ts +1 -1
- package/dist/types/routes/management-api/tenants.d.ts +6 -6
- package/dist/types/routes/management-api/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +15 -15
- package/dist/types/routes/universal-login/common.d.ts +4 -4
- package/dist/types/routes/universal-login/error-page.d.ts +9 -2
- 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/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/AuthHeroConfig.d.ts +25 -0
- package/dist/types/types/Bindings.d.ts +8 -1
- package/dist/types/types/Variables.d.ts +18 -1
- package/package.json +6 -6
|
@@ -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?: "account" | "change-email" | "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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
|
|
463
463
|
};
|
|
464
464
|
};
|
|
465
465
|
output: {
|
|
@@ -739,16 +739,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
|
|
|
739
739
|
connection: "email";
|
|
740
740
|
client_id: string;
|
|
741
741
|
email: string;
|
|
742
|
-
send: "
|
|
742
|
+
send: "link" | "code";
|
|
743
743
|
authParams: {
|
|
744
744
|
username?: string | undefined;
|
|
745
|
-
|
|
745
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
746
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
746
747
|
scope?: string | undefined;
|
|
747
|
-
|
|
748
|
+
audience?: 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;
|
|
@@ -775,16 +775,16 @@ 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: "link" | "code";
|
|
779
779
|
authParams: {
|
|
780
780
|
username?: string | undefined;
|
|
781
|
-
|
|
781
|
+
response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
|
|
782
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
782
783
|
scope?: string | undefined;
|
|
783
|
-
|
|
784
|
+
audience?: 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;
|
|
@@ -12,16 +12,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
12
12
|
connection: "email";
|
|
13
13
|
client_id: string;
|
|
14
14
|
email: string;
|
|
15
|
-
send: "
|
|
15
|
+
send: "link" | "code";
|
|
16
16
|
authParams: {
|
|
17
17
|
username?: string | undefined;
|
|
18
|
-
|
|
18
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
19
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
19
20
|
scope?: string | undefined;
|
|
20
|
-
|
|
21
|
+
audience?: 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;
|
|
@@ -48,16 +48,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
|
|
|
48
48
|
client_id: string;
|
|
49
49
|
connection: "sms";
|
|
50
50
|
phone_number: string;
|
|
51
|
-
send: "
|
|
51
|
+
send: "link" | "code";
|
|
52
52
|
authParams: {
|
|
53
53
|
username?: string | undefined;
|
|
54
|
-
|
|
54
|
+
response_type?: AuthorizationResponseType | undefined;
|
|
55
|
+
response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
|
|
55
56
|
scope?: string | undefined;
|
|
56
|
-
|
|
57
|
+
audience?: 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;
|
|
@@ -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
|
};
|
|
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
40
40
|
client_id: string;
|
|
41
41
|
username: string;
|
|
42
42
|
otp: string;
|
|
43
|
-
realm: "
|
|
43
|
+
realm: "sms" | "email";
|
|
44
44
|
scope?: string | undefined;
|
|
45
45
|
audience?: string | undefined;
|
|
46
46
|
} | {
|
|
@@ -100,7 +100,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
100
100
|
client_id: string;
|
|
101
101
|
username: string;
|
|
102
102
|
otp: string;
|
|
103
|
-
realm: "
|
|
103
|
+
realm: "sms" | "email";
|
|
104
104
|
scope?: string | undefined;
|
|
105
105
|
audience?: string | undefined;
|
|
106
106
|
} | {
|
|
@@ -165,7 +165,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
165
165
|
client_id: string;
|
|
166
166
|
username: string;
|
|
167
167
|
otp: string;
|
|
168
|
-
realm: "
|
|
168
|
+
realm: "sms" | "email";
|
|
169
169
|
scope?: string | undefined;
|
|
170
170
|
audience?: string | undefined;
|
|
171
171
|
} | {
|
|
@@ -225,7 +225,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
225
225
|
client_id: string;
|
|
226
226
|
username: string;
|
|
227
227
|
otp: string;
|
|
228
|
-
realm: "
|
|
228
|
+
realm: "sms" | "email";
|
|
229
229
|
scope?: string | undefined;
|
|
230
230
|
audience?: string | undefined;
|
|
231
231
|
} | {
|
|
@@ -298,7 +298,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
298
298
|
client_id: string;
|
|
299
299
|
username: string;
|
|
300
300
|
otp: string;
|
|
301
|
-
realm: "
|
|
301
|
+
realm: "sms" | "email";
|
|
302
302
|
scope?: string | undefined;
|
|
303
303
|
audience?: string | undefined;
|
|
304
304
|
} | {
|
|
@@ -358,7 +358,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
358
358
|
client_id: string;
|
|
359
359
|
username: string;
|
|
360
360
|
otp: string;
|
|
361
|
-
realm: "
|
|
361
|
+
realm: "sms" | "email";
|
|
362
362
|
scope?: string | undefined;
|
|
363
363
|
audience?: string | undefined;
|
|
364
364
|
} | {
|
|
@@ -426,7 +426,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
426
426
|
client_id: string;
|
|
427
427
|
username: string;
|
|
428
428
|
otp: string;
|
|
429
|
-
realm: "
|
|
429
|
+
realm: "sms" | "email";
|
|
430
430
|
scope?: string | undefined;
|
|
431
431
|
audience?: string | undefined;
|
|
432
432
|
} | {
|
|
@@ -486,7 +486,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
486
486
|
client_id: string;
|
|
487
487
|
username: string;
|
|
488
488
|
otp: string;
|
|
489
|
-
realm: "
|
|
489
|
+
realm: "sms" | "email";
|
|
490
490
|
scope?: string | undefined;
|
|
491
491
|
audience?: string | undefined;
|
|
492
492
|
} | {
|
|
@@ -554,7 +554,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
554
554
|
client_id: string;
|
|
555
555
|
username: string;
|
|
556
556
|
otp: string;
|
|
557
|
-
realm: "
|
|
557
|
+
realm: "sms" | "email";
|
|
558
558
|
scope?: string | undefined;
|
|
559
559
|
audience?: string | undefined;
|
|
560
560
|
} | {
|
|
@@ -614,7 +614,7 @@ export declare const tokenRoutes: OpenAPIHono<{
|
|
|
614
614
|
client_id: string;
|
|
615
615
|
username: string;
|
|
616
616
|
otp: string;
|
|
617
|
-
realm: "
|
|
617
|
+
realm: "sms" | "email";
|
|
618
618
|
scope?: string | undefined;
|
|
619
619
|
audience?: string | undefined;
|
|
620
620
|
} | {
|
|
@@ -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: {
|
|
@@ -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;
|
|
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
|
|
|
37
37
|
};
|
|
38
38
|
} & {
|
|
39
39
|
json: {
|
|
40
|
-
type: "
|
|
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;
|
|
@@ -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;
|
|
@@ -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?: "client" | "user" | 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?: "client" | "user" | 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?: "client" | "user" | undefined;
|
|
51
51
|
authorization_details_types?: string[] | undefined;
|
|
52
52
|
created_at?: string | undefined;
|
|
53
53
|
updated_at?: string | undefined;
|
|
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
63
63
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
64
64
|
allow_any_organization?: boolean | undefined;
|
|
65
65
|
is_system?: boolean | undefined;
|
|
66
|
-
subject_type?: "
|
|
66
|
+
subject_type?: "client" | "user" | undefined;
|
|
67
67
|
authorization_details_types?: string[] | undefined;
|
|
68
68
|
created_at?: string | undefined;
|
|
69
69
|
updated_at?: string | undefined;
|
|
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
94
94
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
95
95
|
allow_any_organization?: boolean | undefined;
|
|
96
96
|
is_system?: boolean | undefined;
|
|
97
|
-
subject_type?: "
|
|
97
|
+
subject_type?: "client" | "user" | undefined;
|
|
98
98
|
authorization_details_types?: string[] | undefined;
|
|
99
99
|
created_at?: string | undefined;
|
|
100
100
|
updated_at?: string | undefined;
|
|
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
139
139
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
140
140
|
allow_any_organization?: boolean | undefined;
|
|
141
141
|
is_system?: boolean | undefined;
|
|
142
|
-
subject_type?: "
|
|
142
|
+
subject_type?: "client" | "user" | undefined;
|
|
143
143
|
authorization_details_types?: string[] | undefined;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
151
151
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
152
152
|
allow_any_organization?: boolean | undefined;
|
|
153
153
|
is_system?: boolean | undefined;
|
|
154
|
-
subject_type?: "
|
|
154
|
+
subject_type?: "client" | "user" | undefined;
|
|
155
155
|
authorization_details_types?: string[] | undefined;
|
|
156
156
|
created_at?: string | undefined;
|
|
157
157
|
updated_at?: string | undefined;
|
|
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
175
175
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
176
176
|
allow_any_organization?: boolean | undefined;
|
|
177
177
|
is_system?: boolean | undefined;
|
|
178
|
-
subject_type?: "
|
|
178
|
+
subject_type?: "client" | "user" | undefined;
|
|
179
179
|
authorization_details_types?: string[] | undefined;
|
|
180
180
|
};
|
|
181
181
|
};
|
|
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
|
|
|
187
187
|
organization_usage?: "deny" | "allow" | "require" | undefined;
|
|
188
188
|
allow_any_organization?: boolean | undefined;
|
|
189
189
|
is_system?: boolean | undefined;
|
|
190
|
-
subject_type?: "
|
|
190
|
+
subject_type?: "client" | "user" | undefined;
|
|
191
191
|
authorization_details_types?: string[] | undefined;
|
|
192
192
|
created_at?: string | undefined;
|
|
193
193
|
updated_at?: string | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
96
96
|
} | undefined;
|
|
97
97
|
unique?: boolean | undefined;
|
|
98
98
|
profile_required?: boolean | undefined;
|
|
99
|
-
verification_method?: "
|
|
99
|
+
verification_method?: "link" | "code" | undefined;
|
|
100
100
|
} | undefined;
|
|
101
101
|
username?: {
|
|
102
102
|
identifier?: {
|
|
@@ -234,7 +234,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
234
234
|
} | undefined;
|
|
235
235
|
unique?: boolean | undefined;
|
|
236
236
|
profile_required?: boolean | undefined;
|
|
237
|
-
verification_method?: "
|
|
237
|
+
verification_method?: "link" | "code" | undefined;
|
|
238
238
|
} | undefined;
|
|
239
239
|
username?: {
|
|
240
240
|
identifier?: {
|
|
@@ -372,7 +372,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
372
372
|
} | undefined;
|
|
373
373
|
unique?: boolean | undefined;
|
|
374
374
|
profile_required?: boolean | undefined;
|
|
375
|
-
verification_method?: "
|
|
375
|
+
verification_method?: "link" | "code" | undefined;
|
|
376
376
|
} | undefined;
|
|
377
377
|
username?: {
|
|
378
378
|
identifier?: {
|
|
@@ -525,7 +525,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
525
525
|
} | undefined;
|
|
526
526
|
unique?: boolean | undefined;
|
|
527
527
|
profile_required?: boolean | undefined;
|
|
528
|
-
verification_method?: "
|
|
528
|
+
verification_method?: "link" | "code" | undefined;
|
|
529
529
|
} | undefined;
|
|
530
530
|
username?: {
|
|
531
531
|
identifier?: {
|
|
@@ -708,7 +708,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
708
708
|
} | undefined;
|
|
709
709
|
unique?: boolean | undefined;
|
|
710
710
|
profile_required?: boolean | undefined;
|
|
711
|
-
verification_method?: "
|
|
711
|
+
verification_method?: "link" | "code" | undefined;
|
|
712
712
|
} | undefined;
|
|
713
713
|
username?: {
|
|
714
714
|
identifier?: {
|
|
@@ -870,7 +870,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
870
870
|
} | undefined;
|
|
871
871
|
unique?: boolean | undefined;
|
|
872
872
|
profile_required?: boolean | undefined;
|
|
873
|
-
verification_method?: "
|
|
873
|
+
verification_method?: "link" | "code" | undefined;
|
|
874
874
|
} | undefined;
|
|
875
875
|
username?: {
|
|
876
876
|
identifier?: {
|
|
@@ -1010,7 +1010,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
1010
1010
|
};
|
|
1011
1011
|
} | {
|
|
1012
1012
|
mode: "inline";
|
|
1013
|
-
status: "
|
|
1013
|
+
status: "error" | "success";
|
|
1014
1014
|
connection_id: string;
|
|
1015
1015
|
connection_name: string;
|
|
1016
1016
|
strategy: string;
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
template: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
49
49
|
body: string;
|
|
50
50
|
from: string;
|
|
51
51
|
subject: string;
|
|
@@ -68,7 +68,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
70
|
output: {
|
|
71
|
-
name: "
|
|
71
|
+
name: "change_password" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation" | undefined;
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
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" | "verify_email" | "password_reset" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
258
258
|
};
|
|
259
259
|
} & {
|
|
260
260
|
header: {
|