authhero 9.2.0 → 9.4.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/authhero-widget.esm.js +1 -1
- package/dist/assets/u/widget/index.esm.js +1 -1
- package/dist/assets/u/widget/p-b5f14fa6.entry.js +1 -0
- package/dist/assets/u/widget/p-f94037cd.entry.js +1 -0
- package/dist/authhero.cjs +144 -143
- package/dist/authhero.d.ts +241 -120
- package/dist/authhero.mjs +13638 -13842
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/authentication-flows/passwordless.d.ts +8 -4
- package/dist/types/helpers/client.d.ts +4 -0
- package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
- package/dist/types/helpers/session-usage.d.ts +48 -0
- package/dist/types/hooks/formhooks.d.ts +24 -0
- package/dist/types/index.d.ts +237 -120
- package/dist/types/oauth2-client/client.d.ts +50 -0
- package/dist/types/oauth2-client/index.d.ts +3 -0
- package/dist/types/oauth2-client/providers.d.ts +49 -0
- package/dist/types/routes/auth-api/index.d.ts +26 -26
- package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
- package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
- package/dist/types/routes/auth-api/register/index.d.ts +2 -2
- 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/authentication-methods.d.ts +1 -1
- package/dist/types/routes/management-api/branding.d.ts +13 -13
- package/dist/types/routes/management-api/client-grants.d.ts +9 -9
- package/dist/types/routes/management-api/clients.d.ts +18 -10
- package/dist/types/routes/management-api/connections.d.ts +25 -5
- package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
- 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/guardian.d.ts +5 -5
- package/dist/types/routes/management-api/helpers.d.ts +1 -1
- package/dist/types/routes/management-api/hooks.d.ts +95 -6
- package/dist/types/routes/management-api/index.d.ts +204 -87
- package/dist/types/routes/management-api/logs.d.ts +4 -4
- 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/themes.d.ts +6 -6
- package/dist/types/routes/management-api/users.d.ts +2 -2
- package/dist/types/routes/universal-login/common.d.ts +18 -10
- 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/routes/universal-login/u2-widget-page.d.ts +12 -0
- package/dist/types/strategies/internal-oauth2.d.ts +5 -5
- package/dist/types/utils/locale.d.ts +26 -0
- package/package.json +6 -7
- package/dist/assets/u/widget/p-cdfc4555.entry.js +0 -1
- package/dist/assets/u/widget/p-e95c436f.entry.js +0 -1
|
@@ -78,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
78
78
|
addons?: {
|
|
79
79
|
[x: string]: any;
|
|
80
80
|
} | undefined;
|
|
81
|
-
token_endpoint_auth_method?: "
|
|
81
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
82
82
|
client_metadata?: {
|
|
83
83
|
[x: string]: string;
|
|
84
84
|
} | undefined;
|
|
@@ -180,7 +180,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
180
180
|
addons?: {
|
|
181
181
|
[x: string]: any;
|
|
182
182
|
} | undefined;
|
|
183
|
-
token_endpoint_auth_method?: "
|
|
183
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
184
184
|
client_metadata?: {
|
|
185
185
|
[x: string]: string;
|
|
186
186
|
} | undefined;
|
|
@@ -282,7 +282,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
282
282
|
addons?: {
|
|
283
283
|
[x: string]: any;
|
|
284
284
|
} | undefined;
|
|
285
|
-
token_endpoint_auth_method?: "
|
|
285
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
286
286
|
client_metadata?: {
|
|
287
287
|
[x: string]: string;
|
|
288
288
|
} | undefined;
|
|
@@ -399,7 +399,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
399
399
|
addons?: {
|
|
400
400
|
[x: string]: any;
|
|
401
401
|
} | undefined;
|
|
402
|
-
token_endpoint_auth_method?: "
|
|
402
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
403
403
|
client_metadata?: {
|
|
404
404
|
[x: string]: string;
|
|
405
405
|
} | undefined;
|
|
@@ -517,7 +517,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
517
517
|
custom_login_page_preview?: string | undefined;
|
|
518
518
|
form_template?: string | undefined;
|
|
519
519
|
addons?: Record<string, any> | undefined;
|
|
520
|
-
token_endpoint_auth_method?: "
|
|
520
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
521
521
|
client_metadata?: Record<string, string> | undefined;
|
|
522
522
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
523
523
|
mobile?: Record<string, any> | undefined;
|
|
@@ -603,7 +603,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
603
603
|
addons?: {
|
|
604
604
|
[x: string]: any;
|
|
605
605
|
} | undefined;
|
|
606
|
-
token_endpoint_auth_method?: "
|
|
606
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
607
607
|
client_metadata?: {
|
|
608
608
|
[x: string]: string;
|
|
609
609
|
} | undefined;
|
|
@@ -700,7 +700,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
700
700
|
custom_login_page_preview?: string | undefined;
|
|
701
701
|
form_template?: string | undefined;
|
|
702
702
|
addons?: Record<string, any> | undefined;
|
|
703
|
-
token_endpoint_auth_method?: "
|
|
703
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
704
704
|
client_metadata?: Record<string, string> | undefined;
|
|
705
705
|
hide_sign_up_disabled_error?: boolean | undefined;
|
|
706
706
|
mobile?: Record<string, any> | undefined;
|
|
@@ -786,7 +786,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
786
786
|
addons?: {
|
|
787
787
|
[x: string]: any;
|
|
788
788
|
} | undefined;
|
|
789
|
-
token_endpoint_auth_method?: "
|
|
789
|
+
token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
|
|
790
790
|
client_metadata?: {
|
|
791
791
|
[x: string]: string;
|
|
792
792
|
} | undefined;
|
|
@@ -863,6 +863,9 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
863
863
|
client_secret?: string | undefined;
|
|
864
864
|
app_secret?: string | undefined;
|
|
865
865
|
scope?: string | undefined;
|
|
866
|
+
client_secret_hint?: string | undefined;
|
|
867
|
+
app_secret_hint?: string | undefined;
|
|
868
|
+
twilio_token_hint?: string | undefined;
|
|
866
869
|
authorization_endpoint?: string | undefined;
|
|
867
870
|
token_endpoint?: string | undefined;
|
|
868
871
|
userinfo_endpoint?: string | undefined;
|
|
@@ -900,6 +903,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
900
903
|
userinfo_endpoint?: string | undefined;
|
|
901
904
|
client_id?: string | undefined;
|
|
902
905
|
client_secret?: string | undefined;
|
|
906
|
+
client_secret_hint?: string | undefined;
|
|
903
907
|
realm?: string | undefined;
|
|
904
908
|
} | undefined;
|
|
905
909
|
attributes?: {
|
|
@@ -955,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
955
959
|
} | undefined;
|
|
956
960
|
} | undefined;
|
|
957
961
|
passkey_options?: {
|
|
958
|
-
challenge_ui?: "
|
|
962
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
959
963
|
local_enrollment_enabled?: boolean | undefined;
|
|
960
964
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
961
965
|
} | undefined;
|
|
@@ -1017,6 +1021,9 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1017
1021
|
client_secret?: string | undefined;
|
|
1018
1022
|
app_secret?: string | undefined;
|
|
1019
1023
|
scope?: string | undefined;
|
|
1024
|
+
client_secret_hint?: string | undefined;
|
|
1025
|
+
app_secret_hint?: string | undefined;
|
|
1026
|
+
twilio_token_hint?: string | undefined;
|
|
1020
1027
|
authorization_endpoint?: string | undefined;
|
|
1021
1028
|
token_endpoint?: string | undefined;
|
|
1022
1029
|
userinfo_endpoint?: string | undefined;
|
|
@@ -1054,6 +1061,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1054
1061
|
userinfo_endpoint?: string | undefined;
|
|
1055
1062
|
client_id?: string | undefined;
|
|
1056
1063
|
client_secret?: string | undefined;
|
|
1064
|
+
client_secret_hint?: string | undefined;
|
|
1057
1065
|
realm?: string | undefined;
|
|
1058
1066
|
} | undefined;
|
|
1059
1067
|
attributes?: {
|
|
@@ -1109,7 +1117,7 @@ export declare const clientRoutes: OpenAPIHono<{
|
|
|
1109
1117
|
} | undefined;
|
|
1110
1118
|
} | undefined;
|
|
1111
1119
|
passkey_options?: {
|
|
1112
|
-
challenge_ui?: "
|
|
1120
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
1113
1121
|
local_enrollment_enabled?: boolean | undefined;
|
|
1114
1122
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
1115
1123
|
} | undefined;
|
|
@@ -37,6 +37,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
37
37
|
client_secret?: string | undefined;
|
|
38
38
|
app_secret?: string | undefined;
|
|
39
39
|
scope?: string | undefined;
|
|
40
|
+
client_secret_hint?: string | undefined;
|
|
41
|
+
app_secret_hint?: string | undefined;
|
|
42
|
+
twilio_token_hint?: string | undefined;
|
|
40
43
|
authorization_endpoint?: string | undefined;
|
|
41
44
|
token_endpoint?: string | undefined;
|
|
42
45
|
userinfo_endpoint?: string | undefined;
|
|
@@ -74,6 +77,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
74
77
|
userinfo_endpoint?: string | undefined;
|
|
75
78
|
client_id?: string | undefined;
|
|
76
79
|
client_secret?: string | undefined;
|
|
80
|
+
client_secret_hint?: string | undefined;
|
|
77
81
|
realm?: string | undefined;
|
|
78
82
|
} | undefined;
|
|
79
83
|
attributes?: {
|
|
@@ -129,7 +133,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
129
133
|
} | undefined;
|
|
130
134
|
} | undefined;
|
|
131
135
|
passkey_options?: {
|
|
132
|
-
challenge_ui?: "
|
|
136
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
133
137
|
local_enrollment_enabled?: boolean | undefined;
|
|
134
138
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
135
139
|
} | undefined;
|
|
@@ -171,6 +175,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
171
175
|
client_secret?: string | undefined;
|
|
172
176
|
app_secret?: string | undefined;
|
|
173
177
|
scope?: string | undefined;
|
|
178
|
+
client_secret_hint?: string | undefined;
|
|
179
|
+
app_secret_hint?: string | undefined;
|
|
180
|
+
twilio_token_hint?: string | undefined;
|
|
174
181
|
authorization_endpoint?: string | undefined;
|
|
175
182
|
token_endpoint?: string | undefined;
|
|
176
183
|
userinfo_endpoint?: string | undefined;
|
|
@@ -208,6 +215,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
208
215
|
userinfo_endpoint?: string | undefined;
|
|
209
216
|
client_id?: string | undefined;
|
|
210
217
|
client_secret?: string | undefined;
|
|
218
|
+
client_secret_hint?: string | undefined;
|
|
211
219
|
realm?: string | undefined;
|
|
212
220
|
} | undefined;
|
|
213
221
|
attributes?: {
|
|
@@ -263,7 +271,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
263
271
|
} | undefined;
|
|
264
272
|
} | undefined;
|
|
265
273
|
passkey_options?: {
|
|
266
|
-
challenge_ui?: "
|
|
274
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
267
275
|
local_enrollment_enabled?: boolean | undefined;
|
|
268
276
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
269
277
|
} | undefined;
|
|
@@ -321,6 +329,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
321
329
|
client_secret?: string | undefined;
|
|
322
330
|
app_secret?: string | undefined;
|
|
323
331
|
scope?: string | undefined;
|
|
332
|
+
client_secret_hint?: string | undefined;
|
|
333
|
+
app_secret_hint?: string | undefined;
|
|
334
|
+
twilio_token_hint?: string | undefined;
|
|
324
335
|
authorization_endpoint?: string | undefined;
|
|
325
336
|
token_endpoint?: string | undefined;
|
|
326
337
|
userinfo_endpoint?: string | undefined;
|
|
@@ -358,6 +369,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
358
369
|
userinfo_endpoint?: string | undefined;
|
|
359
370
|
client_id?: string | undefined;
|
|
360
371
|
client_secret?: string | undefined;
|
|
372
|
+
client_secret_hint?: string | undefined;
|
|
361
373
|
realm?: string | undefined;
|
|
362
374
|
} | undefined;
|
|
363
375
|
attributes?: {
|
|
@@ -413,7 +425,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
413
425
|
} | undefined;
|
|
414
426
|
} | undefined;
|
|
415
427
|
passkey_options?: {
|
|
416
|
-
challenge_ui?: "
|
|
428
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
417
429
|
local_enrollment_enabled?: boolean | undefined;
|
|
418
430
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
419
431
|
} | undefined;
|
|
@@ -500,6 +512,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
500
512
|
client_secret?: string | undefined;
|
|
501
513
|
app_secret?: string | undefined;
|
|
502
514
|
scope?: string | undefined;
|
|
515
|
+
client_secret_hint?: string | undefined;
|
|
516
|
+
app_secret_hint?: string | undefined;
|
|
517
|
+
twilio_token_hint?: string | undefined;
|
|
503
518
|
authorization_endpoint?: string | undefined;
|
|
504
519
|
token_endpoint?: string | undefined;
|
|
505
520
|
userinfo_endpoint?: string | undefined;
|
|
@@ -537,6 +552,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
537
552
|
userinfo_endpoint?: string | undefined;
|
|
538
553
|
client_id?: string | undefined;
|
|
539
554
|
client_secret?: string | undefined;
|
|
555
|
+
client_secret_hint?: string | undefined;
|
|
540
556
|
realm?: string | undefined;
|
|
541
557
|
} | undefined;
|
|
542
558
|
attributes?: {
|
|
@@ -592,7 +608,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
592
608
|
} | undefined;
|
|
593
609
|
} | undefined;
|
|
594
610
|
passkey_options?: {
|
|
595
|
-
challenge_ui?: "
|
|
611
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
596
612
|
local_enrollment_enabled?: boolean | undefined;
|
|
597
613
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
598
614
|
} | undefined;
|
|
@@ -658,6 +674,9 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
658
674
|
client_secret?: string | undefined;
|
|
659
675
|
app_secret?: string | undefined;
|
|
660
676
|
scope?: string | undefined;
|
|
677
|
+
client_secret_hint?: string | undefined;
|
|
678
|
+
app_secret_hint?: string | undefined;
|
|
679
|
+
twilio_token_hint?: string | undefined;
|
|
661
680
|
authorization_endpoint?: string | undefined;
|
|
662
681
|
token_endpoint?: string | undefined;
|
|
663
682
|
userinfo_endpoint?: string | undefined;
|
|
@@ -695,6 +714,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
695
714
|
userinfo_endpoint?: string | undefined;
|
|
696
715
|
client_id?: string | undefined;
|
|
697
716
|
client_secret?: string | undefined;
|
|
717
|
+
client_secret_hint?: string | undefined;
|
|
698
718
|
realm?: string | undefined;
|
|
699
719
|
} | undefined;
|
|
700
720
|
attributes?: {
|
|
@@ -750,7 +770,7 @@ export declare const connectionRoutes: OpenAPIHono<{
|
|
|
750
770
|
} | undefined;
|
|
751
771
|
} | undefined;
|
|
752
772
|
passkey_options?: {
|
|
753
|
-
challenge_ui?: "
|
|
773
|
+
challenge_ui?: "button" | "both" | "autofill" | undefined;
|
|
754
774
|
local_enrollment_enabled?: boolean | undefined;
|
|
755
775
|
progressive_enrollment_enabled?: boolean | undefined;
|
|
756
776
|
} | undefined;
|
|
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
28
28
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
29
29
|
custom_domain_id: string;
|
|
30
30
|
primary: boolean;
|
|
31
|
-
status: "
|
|
31
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
32
32
|
verification_method?: "txt" | undefined;
|
|
33
33
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
34
34
|
domain_metadata?: {
|
|
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
69
69
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
70
70
|
custom_domain_id: string;
|
|
71
71
|
primary: boolean;
|
|
72
|
-
status: "
|
|
72
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
73
73
|
verification_method?: "txt" | undefined;
|
|
74
74
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
75
75
|
domain_metadata?: {
|
|
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
133
133
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
134
134
|
custom_domain_id: string;
|
|
135
135
|
primary: boolean;
|
|
136
|
-
status: "
|
|
136
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
137
137
|
verification_method?: "txt" | undefined;
|
|
138
138
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
139
139
|
domain_metadata?: {
|
|
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
180
180
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
181
181
|
custom_domain_id: string;
|
|
182
182
|
primary: boolean;
|
|
183
|
-
status: "
|
|
183
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
184
184
|
verification_method?: "txt" | undefined;
|
|
185
185
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
186
186
|
domain_metadata?: {
|
|
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
226
226
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
227
227
|
custom_domain_id: string;
|
|
228
228
|
primary: boolean;
|
|
229
|
-
status: "
|
|
229
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
230
230
|
verification_method?: "txt" | undefined;
|
|
231
231
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
232
232
|
domain_metadata?: {
|
|
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
|
|
|
267
267
|
type: "auth0_managed_certs" | "self_managed_certs";
|
|
268
268
|
custom_domain_id: string;
|
|
269
269
|
primary: boolean;
|
|
270
|
-
status: "
|
|
270
|
+
status: "pending" | "ready" | "disabled" | "pending_verification";
|
|
271
271
|
verification_method?: "txt" | undefined;
|
|
272
272
|
custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
|
|
273
273
|
domain_metadata?: {
|
|
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
} & {
|
|
14
14
|
json: {
|
|
15
|
-
template: "
|
|
15
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
16
16
|
body: string;
|
|
17
17
|
from: string;
|
|
18
18
|
subject: string;
|
|
@@ -33,7 +33,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
33
33
|
};
|
|
34
34
|
} & {
|
|
35
35
|
json: {
|
|
36
|
-
template: "
|
|
36
|
+
template: "verify_email" | "password_reset" | "change_password" | "verify_email_by_code" | "reset_email" | "reset_email_by_code" | "welcome_email" | "blocked_account" | "stolen_credentials" | "enrollment_email" | "mfa_oob_code" | "user_invitation";
|
|
37
37
|
body: string;
|
|
38
38
|
from: string;
|
|
39
39
|
subject: string;
|
|
@@ -45,7 +45,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
|
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
output: {
|
|
48
|
-
template: "
|
|
48
|
+
template: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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?: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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?: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "verify_email" | "password_reset" | "change_password" | "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: "user" | "api_key" | "client_credentials" | "system" | "admin";
|
|
34
34
|
id?: string | undefined;
|
|
35
35
|
email?: string | undefined;
|
|
36
36
|
org_id?: string | undefined;
|
|
@@ -12,7 +12,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
output: {
|
|
15
|
-
name: "email" | "
|
|
15
|
+
name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
16
16
|
enabled: boolean;
|
|
17
17
|
trial_expired?: boolean | undefined;
|
|
18
18
|
}[];
|
|
@@ -167,7 +167,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
167
167
|
$get: {
|
|
168
168
|
input: {
|
|
169
169
|
param: {
|
|
170
|
-
factor_name: "email" | "
|
|
170
|
+
factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
171
171
|
};
|
|
172
172
|
} & {
|
|
173
173
|
header: {
|
|
@@ -175,7 +175,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
output: {
|
|
178
|
-
name: "email" | "
|
|
178
|
+
name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
trial_expired?: boolean | undefined;
|
|
181
181
|
};
|
|
@@ -188,7 +188,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
188
188
|
$put: {
|
|
189
189
|
input: {
|
|
190
190
|
param: {
|
|
191
|
-
factor_name: "email" | "
|
|
191
|
+
factor_name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
192
192
|
};
|
|
193
193
|
} & {
|
|
194
194
|
header: {
|
|
@@ -200,7 +200,7 @@ export declare const guardianRoutes: OpenAPIHono<{
|
|
|
200
200
|
};
|
|
201
201
|
};
|
|
202
202
|
output: {
|
|
203
|
-
name: "email" | "
|
|
203
|
+
name: "email" | "otp" | "sms" | "duo" | "webauthn-roaming" | "webauthn-platform" | "push-notification" | "recovery-code";
|
|
204
204
|
enabled: boolean;
|
|
205
205
|
trial_expired?: boolean | undefined;
|
|
206
206
|
};
|
|
@@ -23,7 +23,7 @@ export declare function requireTenantId(ctx: {
|
|
|
23
23
|
* `totalsSchema.extend({ roles: z.array(roleSchema) })` pattern repeated
|
|
24
24
|
* across the management-api modules.
|
|
25
25
|
*/
|
|
26
|
-
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("
|
|
26
|
+
export declare function withTotals<T extends z.ZodRawShape>(items: T): z.ZodObject<(("start" | "length" | "limit" | "total" | "next") & keyof T extends never ? {
|
|
27
27
|
start: z.ZodNumber;
|
|
28
28
|
limit: z.ZodNumber;
|
|
29
29
|
length: z.ZodNumber;
|