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
|
@@ -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?: "code" | "link" | undefined;
|
|
100
100
|
} | undefined;
|
|
101
101
|
username?: {
|
|
102
102
|
identifier?: {
|
|
@@ -146,8 +146,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
146
146
|
} | undefined;
|
|
147
147
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
148
148
|
};
|
|
149
|
-
scope?: "
|
|
150
|
-
override?: "
|
|
149
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
150
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
151
151
|
enforce?: boolean | undefined;
|
|
152
152
|
id?: string | undefined;
|
|
153
153
|
display_name?: string | undefined;
|
|
@@ -237,7 +237,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
237
237
|
} | undefined;
|
|
238
238
|
unique?: boolean | undefined;
|
|
239
239
|
profile_required?: boolean | undefined;
|
|
240
|
-
verification_method?: "
|
|
240
|
+
verification_method?: "code" | "link" | undefined;
|
|
241
241
|
} | undefined;
|
|
242
242
|
username?: {
|
|
243
243
|
identifier?: {
|
|
@@ -287,8 +287,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
287
287
|
} | undefined;
|
|
288
288
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
289
289
|
};
|
|
290
|
-
scope?: "
|
|
291
|
-
override?: "
|
|
290
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
291
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
292
292
|
enforce?: boolean | undefined;
|
|
293
293
|
id?: string | undefined;
|
|
294
294
|
display_name?: string | undefined;
|
|
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
378
378
|
} | undefined;
|
|
379
379
|
unique?: boolean | undefined;
|
|
380
380
|
profile_required?: boolean | undefined;
|
|
381
|
-
verification_method?: "
|
|
381
|
+
verification_method?: "code" | "link" | undefined;
|
|
382
382
|
} | undefined;
|
|
383
383
|
username?: {
|
|
384
384
|
identifier?: {
|
|
@@ -428,8 +428,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
428
428
|
} | undefined;
|
|
429
429
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
430
430
|
};
|
|
431
|
-
scope?: "
|
|
432
|
-
override?: "
|
|
431
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
432
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
433
433
|
enforce?: boolean | undefined;
|
|
434
434
|
id?: string | undefined;
|
|
435
435
|
display_name?: string | undefined;
|
|
@@ -534,7 +534,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
534
534
|
} | undefined;
|
|
535
535
|
unique?: boolean | undefined;
|
|
536
536
|
profile_required?: boolean | undefined;
|
|
537
|
-
verification_method?: "
|
|
537
|
+
verification_method?: "code" | "link" | undefined;
|
|
538
538
|
} | undefined;
|
|
539
539
|
username?: {
|
|
540
540
|
identifier?: {
|
|
@@ -584,8 +584,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
584
584
|
} | undefined;
|
|
585
585
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
586
586
|
};
|
|
587
|
-
scope?: "
|
|
588
|
-
override?: "
|
|
587
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
588
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
589
589
|
enforce?: boolean | undefined;
|
|
590
590
|
id?: string | undefined;
|
|
591
591
|
display_name?: string | undefined;
|
|
@@ -618,6 +618,19 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
618
618
|
output: {};
|
|
619
619
|
outputFormat: string;
|
|
620
620
|
status: 200;
|
|
621
|
+
} | {
|
|
622
|
+
input: {
|
|
623
|
+
param: {
|
|
624
|
+
id: string;
|
|
625
|
+
};
|
|
626
|
+
} & {
|
|
627
|
+
header: {
|
|
628
|
+
"tenant-id"?: string | undefined;
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
output: {};
|
|
632
|
+
outputFormat: string;
|
|
633
|
+
status: 204;
|
|
621
634
|
};
|
|
622
635
|
};
|
|
623
636
|
} & {
|
|
@@ -633,8 +646,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
633
646
|
};
|
|
634
647
|
} & {
|
|
635
648
|
json: {
|
|
636
|
-
scope?: "
|
|
637
|
-
override?: "
|
|
649
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
650
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
638
651
|
enforce?: boolean | undefined;
|
|
639
652
|
id?: string | undefined;
|
|
640
653
|
name?: string | undefined;
|
|
@@ -723,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
723
736
|
} | undefined;
|
|
724
737
|
unique?: boolean | undefined;
|
|
725
738
|
profile_required?: boolean | undefined;
|
|
726
|
-
verification_method?: "
|
|
739
|
+
verification_method?: "code" | "link" | undefined;
|
|
727
740
|
} | undefined;
|
|
728
741
|
username?: {
|
|
729
742
|
identifier?: {
|
|
@@ -773,8 +786,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
773
786
|
} | undefined;
|
|
774
787
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
775
788
|
};
|
|
776
|
-
scope?: "
|
|
777
|
-
override?: "
|
|
789
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
790
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
778
791
|
enforce?: boolean | undefined;
|
|
779
792
|
id?: string | undefined;
|
|
780
793
|
display_name?: string | undefined;
|
|
@@ -803,8 +816,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
803
816
|
json: {
|
|
804
817
|
name: string;
|
|
805
818
|
strategy: string;
|
|
806
|
-
scope?: "
|
|
807
|
-
override?: "
|
|
819
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
820
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
808
821
|
enforce?: boolean | undefined;
|
|
809
822
|
id?: string | undefined;
|
|
810
823
|
display_name?: string | undefined;
|
|
@@ -891,7 +904,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
891
904
|
} | undefined;
|
|
892
905
|
unique?: boolean | undefined;
|
|
893
906
|
profile_required?: boolean | undefined;
|
|
894
|
-
verification_method?: "
|
|
907
|
+
verification_method?: "code" | "link" | undefined;
|
|
895
908
|
} | undefined;
|
|
896
909
|
username?: {
|
|
897
910
|
identifier?: {
|
|
@@ -941,8 +954,8 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
941
954
|
} | undefined;
|
|
942
955
|
set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
|
|
943
956
|
};
|
|
944
|
-
scope?: "
|
|
945
|
-
override?: "
|
|
957
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
958
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
946
959
|
enforce?: boolean | undefined;
|
|
947
960
|
id?: string | undefined;
|
|
948
961
|
display_name?: string | undefined;
|
|
@@ -1034,7 +1047,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
1034
1047
|
};
|
|
1035
1048
|
} | {
|
|
1036
1049
|
mode: "inline";
|
|
1037
|
-
status: "
|
|
1050
|
+
status: "error" | "success";
|
|
1038
1051
|
connection_id: string;
|
|
1039
1052
|
connection_name: string;
|
|
1040
1053
|
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: {
|
|
@@ -19,8 +19,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
19
19
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
20
20
|
} | undefined;
|
|
21
21
|
settings?: {} | undefined;
|
|
22
|
-
scope?: "
|
|
23
|
-
override?: "
|
|
22
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
23
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
24
24
|
enforce?: boolean | undefined;
|
|
25
25
|
};
|
|
26
26
|
outputFormat: "json";
|
|
@@ -41,8 +41,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
41
41
|
enabled?: boolean | undefined;
|
|
42
42
|
default_from_address?: string | undefined;
|
|
43
43
|
settings?: Record<string, never> | undefined;
|
|
44
|
-
scope?: "
|
|
45
|
-
override?: "
|
|
44
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
45
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
46
46
|
enforce?: boolean | undefined;
|
|
47
47
|
};
|
|
48
48
|
};
|
|
@@ -61,8 +61,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
61
61
|
enabled?: boolean | undefined;
|
|
62
62
|
default_from_address?: string | undefined;
|
|
63
63
|
settings?: Record<string, never> | undefined;
|
|
64
|
-
scope?: "
|
|
65
|
-
override?: "
|
|
64
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
65
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
66
66
|
enforce?: boolean | undefined;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
@@ -74,8 +74,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
74
74
|
};
|
|
75
75
|
default_from_address?: string | undefined;
|
|
76
76
|
settings?: {} | undefined;
|
|
77
|
-
scope?: "
|
|
78
|
-
override?: "
|
|
77
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
78
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
79
79
|
enforce?: boolean | undefined;
|
|
80
80
|
};
|
|
81
81
|
outputFormat: "json";
|
|
@@ -96,8 +96,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
96
96
|
default_from_address?: string | undefined;
|
|
97
97
|
credentials?: Record<string, unknown> | undefined;
|
|
98
98
|
settings?: Record<string, never> | undefined;
|
|
99
|
-
scope?: "
|
|
100
|
-
override?: "
|
|
99
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
100
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
101
101
|
enforce?: boolean | undefined;
|
|
102
102
|
};
|
|
103
103
|
};
|
|
@@ -109,8 +109,8 @@ export declare const emailProviderRoutes: OpenAPIHono<{
|
|
|
109
109
|
};
|
|
110
110
|
default_from_address?: string | undefined;
|
|
111
111
|
settings?: {} | undefined;
|
|
112
|
-
scope?: "
|
|
113
|
-
override?: "
|
|
112
|
+
scope?: "local" | "shared" | "platform" | undefined;
|
|
113
|
+
override?: "secrets" | "none" | "fields" | undefined;
|
|
114
114
|
enforce?: boolean | undefined;
|
|
115
115
|
};
|
|
116
116
|
outputFormat: "json";
|
|
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
30
30
|
log_type: string;
|
|
31
31
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
32
32
|
actor: {
|
|
33
|
-
type: "user" | "
|
|
33
|
+
type: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -134,7 +134,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
|
|
|
134
134
|
log_type: string;
|
|
135
135
|
category: "user_action" | "admin_action" | "system" | "api";
|
|
136
136
|
actor: {
|
|
137
|
-
type: "user" | "
|
|
137
|
+
type: "user" | "client_credentials" | "system" | "admin" | "api_key";
|
|
138
138
|
id?: string | undefined;
|
|
139
139
|
email?: string | undefined;
|
|
140
140
|
org_id?: string | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
62
62
|
type: "REDIRECT";
|
|
63
63
|
action: "REDIRECT_USER";
|
|
64
64
|
params: {
|
|
65
|
-
target: "custom" | "
|
|
65
|
+
target: "custom" | "change-email" | "account";
|
|
66
66
|
custom_url?: string | undefined;
|
|
67
67
|
};
|
|
68
68
|
alias?: string | undefined;
|
|
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
115
115
|
type: "REDIRECT";
|
|
116
116
|
action: "REDIRECT_USER";
|
|
117
117
|
params: {
|
|
118
|
-
target: "custom" | "
|
|
118
|
+
target: "custom" | "change-email" | "account";
|
|
119
119
|
custom_url?: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
alias?: string | undefined;
|
|
@@ -168,7 +168,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
168
168
|
type: "REDIRECT";
|
|
169
169
|
action: "REDIRECT_USER";
|
|
170
170
|
params: {
|
|
171
|
-
target: "custom" | "
|
|
171
|
+
target: "custom" | "change-email" | "account";
|
|
172
172
|
custom_url?: string | undefined;
|
|
173
173
|
};
|
|
174
174
|
alias?: string | undefined;
|
|
@@ -236,7 +236,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
236
236
|
type: "REDIRECT";
|
|
237
237
|
action: "REDIRECT_USER";
|
|
238
238
|
params: {
|
|
239
|
-
target: "custom" | "
|
|
239
|
+
target: "custom" | "change-email" | "account";
|
|
240
240
|
custom_url?: string | undefined;
|
|
241
241
|
};
|
|
242
242
|
alias?: string | undefined;
|
|
@@ -317,7 +317,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
317
317
|
type: "REDIRECT";
|
|
318
318
|
action: "REDIRECT_USER";
|
|
319
319
|
params: {
|
|
320
|
-
target: "custom" | "
|
|
320
|
+
target: "custom" | "change-email" | "account";
|
|
321
321
|
custom_url?: string | undefined;
|
|
322
322
|
};
|
|
323
323
|
alias?: string | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
365
365
|
type: "REDIRECT";
|
|
366
366
|
action: "REDIRECT_USER";
|
|
367
367
|
params: {
|
|
368
|
-
target: "custom" | "
|
|
368
|
+
target: "custom" | "change-email" | "account";
|
|
369
369
|
custom_url?: string | undefined;
|
|
370
370
|
};
|
|
371
371
|
alias?: string | undefined;
|
|
@@ -425,7 +425,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
425
425
|
type: "REDIRECT";
|
|
426
426
|
action: "REDIRECT_USER";
|
|
427
427
|
params: {
|
|
428
|
-
target: "custom" | "
|
|
428
|
+
target: "custom" | "change-email" | "account";
|
|
429
429
|
custom_url?: string | undefined;
|
|
430
430
|
};
|
|
431
431
|
alias?: string | undefined;
|
|
@@ -473,7 +473,7 @@ export declare const flowsRoutes: OpenAPIHono<{
|
|
|
473
473
|
type: "REDIRECT";
|
|
474
474
|
action: "REDIRECT_USER";
|
|
475
475
|
params: {
|
|
476
|
-
target: "custom" | "
|
|
476
|
+
target: "custom" | "change-email" | "account";
|
|
477
477
|
custom_url?: string | undefined;
|
|
478
478
|
};
|
|
479
479
|
alias?: string | undefined;
|