authhero 9.3.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.
Files changed (49) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/p-b5f14fa6.entry.js +1 -0
  4. package/dist/assets/u/widget/p-f94037cd.entry.js +1 -0
  5. package/dist/authhero.cjs +138 -137
  6. package/dist/authhero.d.ts +315 -268
  7. package/dist/authhero.mjs +13365 -13194
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/authentication-flows/passwordless.d.ts +11 -7
  10. package/dist/types/helpers/client.d.ts +4 -0
  11. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  12. package/dist/types/helpers/session-usage.d.ts +48 -0
  13. package/dist/types/hooks/formhooks.d.ts +24 -0
  14. package/dist/types/index.d.ts +311 -268
  15. package/dist/types/routes/auth-api/index.d.ts +36 -36
  16. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  17. package/dist/types/routes/auth-api/passwordless.d.ts +16 -16
  18. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  19. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  20. package/dist/types/routes/auth-api/token.d.ts +10 -10
  21. package/dist/types/routes/management-api/branding.d.ts +15 -15
  22. package/dist/types/routes/management-api/clients.d.ts +24 -16
  23. package/dist/types/routes/management-api/connections.d.ts +41 -21
  24. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  25. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  26. package/dist/types/routes/management-api/forms.d.ts +126 -126
  27. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  28. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  29. package/dist/types/routes/management-api/hooks.d.ts +21 -6
  30. package/dist/types/routes/management-api/index.d.ts +262 -219
  31. package/dist/types/routes/management-api/logs.d.ts +4 -4
  32. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  33. package/dist/types/routes/management-api/roles.d.ts +1 -1
  34. package/dist/types/routes/management-api/tenants.d.ts +28 -28
  35. package/dist/types/routes/management-api/themes.d.ts +6 -6
  36. package/dist/types/routes/management-api/users.d.ts +2 -2
  37. package/dist/types/routes/universal-login/common.d.ts +24 -16
  38. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  39. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  40. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  41. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  42. package/dist/types/routes/universal-login/index.d.ts +6 -6
  43. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  45. package/dist/types/routes/universal-login/u2-widget-page.d.ts +12 -0
  46. package/dist/types/utils/locale.d.ts +26 -0
  47. package/package.json +6 -6
  48. package/dist/assets/u/widget/p-cdfc4555.entry.js +0 -1
  49. 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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
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?: {
@@ -908,7 +912,7 @@ export declare const clientRoutes: OpenAPIHono<{
908
912
  active?: boolean | undefined;
909
913
  } | undefined;
910
914
  signup?: {
911
- status?: "required" | "optional" | "disabled" | undefined;
915
+ status?: "optional" | "required" | "disabled" | undefined;
912
916
  verification?: {
913
917
  active?: boolean | undefined;
914
918
  } | undefined;
@@ -925,7 +929,7 @@ export declare const clientRoutes: OpenAPIHono<{
925
929
  active?: boolean | undefined;
926
930
  } | undefined;
927
931
  signup?: {
928
- status?: "required" | "optional" | "disabled" | undefined;
932
+ status?: "optional" | "required" | "disabled" | undefined;
929
933
  } | undefined;
930
934
  validation?: {
931
935
  max_length?: number | undefined;
@@ -942,7 +946,7 @@ export declare const clientRoutes: OpenAPIHono<{
942
946
  active?: boolean | undefined;
943
947
  } | undefined;
944
948
  signup?: {
945
- status?: "required" | "optional" | "disabled" | undefined;
949
+ status?: "optional" | "required" | "disabled" | undefined;
946
950
  } | undefined;
947
951
  } | undefined;
948
952
  } | undefined;
@@ -955,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
955
959
  } | undefined;
956
960
  } | undefined;
957
961
  passkey_options?: {
958
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -1062,7 +1070,7 @@ export declare const clientRoutes: OpenAPIHono<{
1062
1070
  active?: boolean | undefined;
1063
1071
  } | undefined;
1064
1072
  signup?: {
1065
- status?: "required" | "optional" | "disabled" | undefined;
1073
+ status?: "optional" | "required" | "disabled" | undefined;
1066
1074
  verification?: {
1067
1075
  active?: boolean | undefined;
1068
1076
  } | undefined;
@@ -1079,7 +1087,7 @@ export declare const clientRoutes: OpenAPIHono<{
1079
1087
  active?: boolean | undefined;
1080
1088
  } | undefined;
1081
1089
  signup?: {
1082
- status?: "required" | "optional" | "disabled" | undefined;
1090
+ status?: "optional" | "required" | "disabled" | undefined;
1083
1091
  } | undefined;
1084
1092
  validation?: {
1085
1093
  max_length?: number | undefined;
@@ -1096,7 +1104,7 @@ export declare const clientRoutes: OpenAPIHono<{
1096
1104
  active?: boolean | undefined;
1097
1105
  } | undefined;
1098
1106
  signup?: {
1099
- status?: "required" | "optional" | "disabled" | undefined;
1107
+ status?: "optional" | "required" | "disabled" | undefined;
1100
1108
  } | undefined;
1101
1109
  } | undefined;
1102
1110
  } | undefined;
@@ -1109,7 +1117,7 @@ export declare const clientRoutes: OpenAPIHono<{
1109
1117
  } | undefined;
1110
1118
  } | undefined;
1111
1119
  passkey_options?: {
1112
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -82,7 +86,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
86
  active?: boolean | undefined;
83
87
  } | undefined;
84
88
  signup?: {
85
- status?: "required" | "optional" | "disabled" | undefined;
89
+ status?: "optional" | "required" | "disabled" | undefined;
86
90
  verification?: {
87
91
  active?: boolean | undefined;
88
92
  } | undefined;
@@ -99,7 +103,7 @@ export declare const connectionRoutes: OpenAPIHono<{
99
103
  active?: boolean | undefined;
100
104
  } | undefined;
101
105
  signup?: {
102
- status?: "required" | "optional" | "disabled" | undefined;
106
+ status?: "optional" | "required" | "disabled" | undefined;
103
107
  } | undefined;
104
108
  validation?: {
105
109
  max_length?: number | undefined;
@@ -116,7 +120,7 @@ export declare const connectionRoutes: OpenAPIHono<{
116
120
  active?: boolean | undefined;
117
121
  } | undefined;
118
122
  signup?: {
119
- status?: "required" | "optional" | "disabled" | undefined;
123
+ status?: "optional" | "required" | "disabled" | undefined;
120
124
  } | undefined;
121
125
  } | undefined;
122
126
  } | undefined;
@@ -129,7 +133,7 @@ export declare const connectionRoutes: OpenAPIHono<{
129
133
  } | undefined;
130
134
  } | undefined;
131
135
  passkey_options?: {
132
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -216,7 +224,7 @@ export declare const connectionRoutes: OpenAPIHono<{
216
224
  active?: boolean | undefined;
217
225
  } | undefined;
218
226
  signup?: {
219
- status?: "required" | "optional" | "disabled" | undefined;
227
+ status?: "optional" | "required" | "disabled" | undefined;
220
228
  verification?: {
221
229
  active?: boolean | undefined;
222
230
  } | undefined;
@@ -233,7 +241,7 @@ export declare const connectionRoutes: OpenAPIHono<{
233
241
  active?: boolean | undefined;
234
242
  } | undefined;
235
243
  signup?: {
236
- status?: "required" | "optional" | "disabled" | undefined;
244
+ status?: "optional" | "required" | "disabled" | undefined;
237
245
  } | undefined;
238
246
  validation?: {
239
247
  max_length?: number | undefined;
@@ -250,7 +258,7 @@ export declare const connectionRoutes: OpenAPIHono<{
250
258
  active?: boolean | undefined;
251
259
  } | undefined;
252
260
  signup?: {
253
- status?: "required" | "optional" | "disabled" | undefined;
261
+ status?: "optional" | "required" | "disabled" | undefined;
254
262
  } | undefined;
255
263
  } | undefined;
256
264
  } | undefined;
@@ -263,7 +271,7 @@ export declare const connectionRoutes: OpenAPIHono<{
263
271
  } | undefined;
264
272
  } | undefined;
265
273
  passkey_options?: {
266
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -366,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
366
378
  active?: boolean | undefined;
367
379
  } | undefined;
368
380
  signup?: {
369
- status?: "required" | "optional" | "disabled" | undefined;
381
+ status?: "optional" | "required" | "disabled" | undefined;
370
382
  verification?: {
371
383
  active?: boolean | undefined;
372
384
  } | undefined;
@@ -383,7 +395,7 @@ export declare const connectionRoutes: OpenAPIHono<{
383
395
  active?: boolean | undefined;
384
396
  } | undefined;
385
397
  signup?: {
386
- status?: "required" | "optional" | "disabled" | undefined;
398
+ status?: "optional" | "required" | "disabled" | undefined;
387
399
  } | undefined;
388
400
  validation?: {
389
401
  max_length?: number | undefined;
@@ -400,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
400
412
  active?: boolean | undefined;
401
413
  } | undefined;
402
414
  signup?: {
403
- status?: "required" | "optional" | "disabled" | undefined;
415
+ status?: "optional" | "required" | "disabled" | undefined;
404
416
  } | undefined;
405
417
  } | undefined;
406
418
  } | undefined;
@@ -413,7 +425,7 @@ export declare const connectionRoutes: OpenAPIHono<{
413
425
  } | undefined;
414
426
  } | undefined;
415
427
  passkey_options?: {
416
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -545,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
545
561
  active?: boolean | undefined;
546
562
  } | undefined;
547
563
  signup?: {
548
- status?: "required" | "optional" | "disabled" | undefined;
564
+ status?: "optional" | "required" | "disabled" | undefined;
549
565
  verification?: {
550
566
  active?: boolean | undefined;
551
567
  } | undefined;
@@ -562,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
562
578
  active?: boolean | undefined;
563
579
  } | undefined;
564
580
  signup?: {
565
- status?: "required" | "optional" | "disabled" | undefined;
581
+ status?: "optional" | "required" | "disabled" | undefined;
566
582
  } | undefined;
567
583
  validation?: {
568
584
  max_length?: number | undefined;
@@ -579,7 +595,7 @@ export declare const connectionRoutes: OpenAPIHono<{
579
595
  active?: boolean | undefined;
580
596
  } | undefined;
581
597
  signup?: {
582
- status?: "required" | "optional" | "disabled" | undefined;
598
+ status?: "optional" | "required" | "disabled" | undefined;
583
599
  } | undefined;
584
600
  } | undefined;
585
601
  } | undefined;
@@ -592,7 +608,7 @@ export declare const connectionRoutes: OpenAPIHono<{
592
608
  } | undefined;
593
609
  } | undefined;
594
610
  passkey_options?: {
595
- challenge_ui?: "both" | "autofill" | "button" | undefined;
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?: {
@@ -703,7 +723,7 @@ export declare const connectionRoutes: OpenAPIHono<{
703
723
  active?: boolean | undefined;
704
724
  } | undefined;
705
725
  signup?: {
706
- status?: "required" | "optional" | "disabled" | undefined;
726
+ status?: "optional" | "required" | "disabled" | undefined;
707
727
  verification?: {
708
728
  active?: boolean | undefined;
709
729
  } | undefined;
@@ -720,7 +740,7 @@ export declare const connectionRoutes: OpenAPIHono<{
720
740
  active?: boolean | undefined;
721
741
  } | undefined;
722
742
  signup?: {
723
- status?: "required" | "optional" | "disabled" | undefined;
743
+ status?: "optional" | "required" | "disabled" | undefined;
724
744
  } | undefined;
725
745
  validation?: {
726
746
  max_length?: number | undefined;
@@ -737,7 +757,7 @@ export declare const connectionRoutes: OpenAPIHono<{
737
757
  active?: boolean | undefined;
738
758
  } | undefined;
739
759
  signup?: {
740
- status?: "required" | "optional" | "disabled" | undefined;
760
+ status?: "optional" | "required" | "disabled" | undefined;
741
761
  } | undefined;
742
762
  } | undefined;
743
763
  } | undefined;
@@ -750,7 +770,7 @@ export declare const connectionRoutes: OpenAPIHono<{
750
770
  } | undefined;
751
771
  } | undefined;
752
772
  passkey_options?: {
753
- challenge_ui?: "both" | "autofill" | "button" | undefined;
773
+ challenge_ui?: "button" | "both" | "autofill" | undefined;
754
774
  local_enrollment_enabled?: boolean | undefined;
755
775
  progressive_enrollment_enabled?: boolean | undefined;
756
776
  } | undefined;
@@ -853,7 +873,7 @@ export declare const connectionRoutes: OpenAPIHono<{
853
873
  };
854
874
  } | {
855
875
  mode: "inline";
856
- status: "success" | "error";
876
+ status: "error" | "success";
857
877
  connection_id: string;
858
878
  connection_name: string;
859
879
  strategy: string;
@@ -12,7 +12,7 @@ export declare const emailTemplatesRoutes: OpenAPIHono<{
12
12
  };
13
13
  } & {
14
14
  json: {
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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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: "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";
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?: "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;
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: "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";
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?: "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;
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: "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";
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: "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";
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: "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";
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: "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";
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: "user" | "client_credentials" | "system" | "admin" | "api_key";
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;