authhero 8.22.0 → 8.22.1

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 (50) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +142 -142
  3. package/dist/authhero.d.ts +285 -285
  4. package/dist/authhero.mjs +25982 -21381
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +7 -7
  7. package/dist/types/index.d.ts +285 -285
  8. package/dist/types/routes/auth-api/account.d.ts +2 -2
  9. package/dist/types/routes/auth-api/authorize.d.ts +14 -14
  10. package/dist/types/routes/auth-api/index.d.ts +58 -58
  11. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  12. package/dist/types/routes/auth-api/passwordless.d.ts +20 -20
  13. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  14. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  15. package/dist/types/routes/auth-api/token.d.ts +10 -10
  16. package/dist/types/routes/auth-api/well-known.d.ts +2 -2
  17. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  18. package/dist/types/routes/management-api/actions.d.ts +1 -1
  19. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  20. package/dist/types/routes/management-api/branding.d.ts +9 -9
  21. package/dist/types/routes/management-api/clients.d.ts +16 -16
  22. package/dist/types/routes/management-api/connections.d.ts +21 -21
  23. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  24. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  25. package/dist/types/routes/management-api/flows.d.ts +7 -7
  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/hook-code.d.ts +2 -2
  29. package/dist/types/routes/management-api/index.d.ts +242 -242
  30. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  31. package/dist/types/routes/management-api/logs.d.ts +4 -4
  32. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  33. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  34. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  35. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  36. package/dist/types/routes/management-api/tenants.d.ts +1 -1
  37. package/dist/types/routes/management-api/themes.d.ts +6 -6
  38. package/dist/types/routes/management-api/users.d.ts +2 -2
  39. package/dist/types/routes/universal-login/common.d.ts +14 -14
  40. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/index.d.ts +2 -2
  43. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  45. package/dist/types/utils/crypto.d.ts +3 -0
  46. package/dist/types/utils/jwks.d.ts +4 -4
  47. package/dist/types/utils/jwt.d.ts +29 -0
  48. package/dist/types/utils/request-origin.d.ts +6 -0
  49. package/dist/types/utils/totp.d.ts +10 -0
  50. package/package.json +6 -7
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
40
+ type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -78,12 +78,12 @@ export declare const brandingRoutes: OpenAPIHono<{
78
78
  background_color: string;
79
79
  background_image_url: string;
80
80
  page_layout: "center" | "left" | "right";
81
- logo_placement?: "widget" | "none" | "chip" | undefined;
81
+ logo_placement?: "none" | "widget" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "center" | "left" | "right" | "none";
86
+ logo_position: "none" | "center" | "left" | "right";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -168,12 +168,12 @@ export declare const brandingRoutes: OpenAPIHono<{
168
168
  background_color: string;
169
169
  background_image_url: string;
170
170
  page_layout: "center" | "left" | "right";
171
- logo_placement?: "widget" | "none" | "chip" | undefined;
171
+ logo_placement?: "none" | "widget" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "center" | "left" | "right" | "none";
176
+ logo_position: "none" | "center" | "left" | "right";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -247,12 +247,12 @@ export declare const brandingRoutes: OpenAPIHono<{
247
247
  background_color: string;
248
248
  background_image_url: string;
249
249
  page_layout: "center" | "left" | "right";
250
- logo_placement?: "widget" | "none" | "chip" | undefined;
250
+ logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "center" | "left" | "right" | "none";
255
+ logo_position: "none" | "center" | "left" | "right";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "password" | "login" | "identifier" | "signup" | undefined;
412
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -495,12 +495,12 @@ export declare const brandingRoutes: OpenAPIHono<{
495
495
  background_color: string;
496
496
  background_image_url: string;
497
497
  page_layout: "center" | "left" | "right";
498
- logo_placement?: "widget" | "none" | "chip" | undefined;
498
+ logo_placement?: "none" | "widget" | "chip" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
502
502
  logo_height: number;
503
- logo_position: "center" | "left" | "right" | "none";
503
+ logo_position: "none" | "center" | "left" | "right";
504
504
  logo_url: string;
505
505
  social_buttons_layout: "bottom" | "top";
506
506
  } | undefined;
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
72
72
  addons?: {
73
73
  [x: string]: any;
74
74
  } | undefined;
75
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
75
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
76
76
  client_metadata?: {
77
77
  [x: string]: string;
78
78
  } | undefined;
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
168
168
  addons?: {
169
169
  [x: string]: any;
170
170
  } | undefined;
171
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
171
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
172
172
  client_metadata?: {
173
173
  [x: string]: string;
174
174
  } | undefined;
@@ -264,7 +264,7 @@ export declare const clientRoutes: OpenAPIHono<{
264
264
  addons?: {
265
265
  [x: string]: any;
266
266
  } | undefined;
267
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
267
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
268
268
  client_metadata?: {
269
269
  [x: string]: string;
270
270
  } | undefined;
@@ -375,7 +375,7 @@ export declare const clientRoutes: OpenAPIHono<{
375
375
  addons?: {
376
376
  [x: string]: any;
377
377
  } | undefined;
378
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
378
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
379
379
  client_metadata?: {
380
380
  [x: string]: string;
381
381
  } | undefined;
@@ -485,7 +485,7 @@ export declare const clientRoutes: OpenAPIHono<{
485
485
  custom_login_page_preview?: string | undefined;
486
486
  form_template?: string | undefined;
487
487
  addons?: Record<string, any> | undefined;
488
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
488
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
489
489
  client_metadata?: Record<string, string> | undefined;
490
490
  hide_sign_up_disabled_error?: boolean | undefined;
491
491
  mobile?: Record<string, any> | undefined;
@@ -565,7 +565,7 @@ export declare const clientRoutes: OpenAPIHono<{
565
565
  addons?: {
566
566
  [x: string]: any;
567
567
  } | undefined;
568
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
568
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
569
569
  client_metadata?: {
570
570
  [x: string]: string;
571
571
  } | undefined;
@@ -654,7 +654,7 @@ export declare const clientRoutes: OpenAPIHono<{
654
654
  custom_login_page_preview?: string | undefined;
655
655
  form_template?: string | undefined;
656
656
  addons?: Record<string, any> | undefined;
657
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
657
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
658
658
  client_metadata?: Record<string, string> | undefined;
659
659
  hide_sign_up_disabled_error?: boolean | undefined;
660
660
  mobile?: Record<string, any> | undefined;
@@ -734,7 +734,7 @@ export declare const clientRoutes: OpenAPIHono<{
734
734
  addons?: {
735
735
  [x: string]: any;
736
736
  } | undefined;
737
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
737
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
738
738
  client_metadata?: {
739
739
  [x: string]: string;
740
740
  } | undefined;
@@ -856,7 +856,7 @@ export declare const clientRoutes: OpenAPIHono<{
856
856
  active?: boolean | undefined;
857
857
  } | undefined;
858
858
  signup?: {
859
- status?: "required" | "optional" | "disabled" | undefined;
859
+ status?: "optional" | "required" | "disabled" | undefined;
860
860
  verification?: {
861
861
  active?: boolean | undefined;
862
862
  } | undefined;
@@ -866,14 +866,14 @@ export declare const clientRoutes: OpenAPIHono<{
866
866
  } | undefined;
867
867
  unique?: boolean | undefined;
868
868
  profile_required?: boolean | undefined;
869
- verification_method?: "code" | "link" | undefined;
869
+ verification_method?: "link" | "code" | undefined;
870
870
  } | undefined;
871
871
  username?: {
872
872
  identifier?: {
873
873
  active?: boolean | undefined;
874
874
  } | undefined;
875
875
  signup?: {
876
- status?: "required" | "optional" | "disabled" | undefined;
876
+ status?: "optional" | "required" | "disabled" | undefined;
877
877
  } | undefined;
878
878
  validation?: {
879
879
  max_length?: number | undefined;
@@ -890,7 +890,7 @@ export declare const clientRoutes: OpenAPIHono<{
890
890
  active?: boolean | undefined;
891
891
  } | undefined;
892
892
  signup?: {
893
- status?: "required" | "optional" | "disabled" | undefined;
893
+ status?: "optional" | "required" | "disabled" | undefined;
894
894
  } | undefined;
895
895
  } | undefined;
896
896
  } | undefined;
@@ -1010,7 +1010,7 @@ export declare const clientRoutes: OpenAPIHono<{
1010
1010
  active?: boolean | undefined;
1011
1011
  } | undefined;
1012
1012
  signup?: {
1013
- status?: "required" | "optional" | "disabled" | undefined;
1013
+ status?: "optional" | "required" | "disabled" | undefined;
1014
1014
  verification?: {
1015
1015
  active?: boolean | undefined;
1016
1016
  } | undefined;
@@ -1020,14 +1020,14 @@ export declare const clientRoutes: OpenAPIHono<{
1020
1020
  } | undefined;
1021
1021
  unique?: boolean | undefined;
1022
1022
  profile_required?: boolean | undefined;
1023
- verification_method?: "code" | "link" | undefined;
1023
+ verification_method?: "link" | "code" | undefined;
1024
1024
  } | undefined;
1025
1025
  username?: {
1026
1026
  identifier?: {
1027
1027
  active?: boolean | undefined;
1028
1028
  } | undefined;
1029
1029
  signup?: {
1030
- status?: "required" | "optional" | "disabled" | undefined;
1030
+ status?: "optional" | "required" | "disabled" | undefined;
1031
1031
  } | undefined;
1032
1032
  validation?: {
1033
1033
  max_length?: number | undefined;
@@ -1044,7 +1044,7 @@ export declare const clientRoutes: OpenAPIHono<{
1044
1044
  active?: boolean | undefined;
1045
1045
  } | undefined;
1046
1046
  signup?: {
1047
- status?: "required" | "optional" | "disabled" | undefined;
1047
+ status?: "optional" | "required" | "disabled" | undefined;
1048
1048
  } | undefined;
1049
1049
  } | undefined;
1050
1050
  } | undefined;
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
82
  active?: boolean | undefined;
83
83
  } | undefined;
84
84
  signup?: {
85
- status?: "required" | "optional" | "disabled" | undefined;
85
+ status?: "optional" | "required" | "disabled" | undefined;
86
86
  verification?: {
87
87
  active?: boolean | undefined;
88
88
  } | undefined;
@@ -92,14 +92,14 @@ export declare const connectionRoutes: OpenAPIHono<{
92
92
  } | undefined;
93
93
  unique?: boolean | undefined;
94
94
  profile_required?: boolean | undefined;
95
- verification_method?: "code" | "link" | undefined;
95
+ verification_method?: "link" | "code" | undefined;
96
96
  } | undefined;
97
97
  username?: {
98
98
  identifier?: {
99
99
  active?: boolean | undefined;
100
100
  } | undefined;
101
101
  signup?: {
102
- status?: "required" | "optional" | "disabled" | undefined;
102
+ status?: "optional" | "required" | "disabled" | undefined;
103
103
  } | undefined;
104
104
  validation?: {
105
105
  max_length?: number | undefined;
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
116
116
  active?: boolean | undefined;
117
117
  } | undefined;
118
118
  signup?: {
119
- status?: "required" | "optional" | "disabled" | undefined;
119
+ status?: "optional" | "required" | "disabled" | undefined;
120
120
  } | undefined;
121
121
  } | undefined;
122
122
  } | undefined;
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
216
216
  active?: boolean | undefined;
217
217
  } | undefined;
218
218
  signup?: {
219
- status?: "required" | "optional" | "disabled" | undefined;
219
+ status?: "optional" | "required" | "disabled" | undefined;
220
220
  verification?: {
221
221
  active?: boolean | undefined;
222
222
  } | undefined;
@@ -226,14 +226,14 @@ export declare const connectionRoutes: OpenAPIHono<{
226
226
  } | undefined;
227
227
  unique?: boolean | undefined;
228
228
  profile_required?: boolean | undefined;
229
- verification_method?: "code" | "link" | undefined;
229
+ verification_method?: "link" | "code" | undefined;
230
230
  } | undefined;
231
231
  username?: {
232
232
  identifier?: {
233
233
  active?: boolean | undefined;
234
234
  } | undefined;
235
235
  signup?: {
236
- status?: "required" | "optional" | "disabled" | undefined;
236
+ status?: "optional" | "required" | "disabled" | undefined;
237
237
  } | undefined;
238
238
  validation?: {
239
239
  max_length?: number | undefined;
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
250
250
  active?: boolean | undefined;
251
251
  } | undefined;
252
252
  signup?: {
253
- status?: "required" | "optional" | "disabled" | undefined;
253
+ status?: "optional" | "required" | "disabled" | undefined;
254
254
  } | undefined;
255
255
  } | undefined;
256
256
  } | undefined;
@@ -366,7 +366,7 @@ export declare const connectionRoutes: OpenAPIHono<{
366
366
  active?: boolean | undefined;
367
367
  } | undefined;
368
368
  signup?: {
369
- status?: "required" | "optional" | "disabled" | undefined;
369
+ status?: "optional" | "required" | "disabled" | undefined;
370
370
  verification?: {
371
371
  active?: boolean | undefined;
372
372
  } | undefined;
@@ -376,14 +376,14 @@ export declare const connectionRoutes: OpenAPIHono<{
376
376
  } | undefined;
377
377
  unique?: boolean | undefined;
378
378
  profile_required?: boolean | undefined;
379
- verification_method?: "code" | "link" | undefined;
379
+ verification_method?: "link" | "code" | undefined;
380
380
  } | undefined;
381
381
  username?: {
382
382
  identifier?: {
383
383
  active?: boolean | undefined;
384
384
  } | undefined;
385
385
  signup?: {
386
- status?: "required" | "optional" | "disabled" | undefined;
386
+ status?: "optional" | "required" | "disabled" | undefined;
387
387
  } | undefined;
388
388
  validation?: {
389
389
  max_length?: number | undefined;
@@ -400,7 +400,7 @@ export declare const connectionRoutes: OpenAPIHono<{
400
400
  active?: boolean | undefined;
401
401
  } | undefined;
402
402
  signup?: {
403
- status?: "required" | "optional" | "disabled" | undefined;
403
+ status?: "optional" | "required" | "disabled" | undefined;
404
404
  } | undefined;
405
405
  } | undefined;
406
406
  } | undefined;
@@ -545,7 +545,7 @@ export declare const connectionRoutes: OpenAPIHono<{
545
545
  active?: boolean | undefined;
546
546
  } | undefined;
547
547
  signup?: {
548
- status?: "required" | "optional" | "disabled" | undefined;
548
+ status?: "optional" | "required" | "disabled" | undefined;
549
549
  verification?: {
550
550
  active?: boolean | undefined;
551
551
  } | undefined;
@@ -555,14 +555,14 @@ export declare const connectionRoutes: OpenAPIHono<{
555
555
  } | undefined;
556
556
  unique?: boolean | undefined;
557
557
  profile_required?: boolean | undefined;
558
- verification_method?: "code" | "link" | undefined;
558
+ verification_method?: "link" | "code" | undefined;
559
559
  } | undefined;
560
560
  username?: {
561
561
  identifier?: {
562
562
  active?: boolean | undefined;
563
563
  } | undefined;
564
564
  signup?: {
565
- status?: "required" | "optional" | "disabled" | undefined;
565
+ status?: "optional" | "required" | "disabled" | undefined;
566
566
  } | undefined;
567
567
  validation?: {
568
568
  max_length?: number | undefined;
@@ -579,7 +579,7 @@ export declare const connectionRoutes: OpenAPIHono<{
579
579
  active?: boolean | undefined;
580
580
  } | undefined;
581
581
  signup?: {
582
- status?: "required" | "optional" | "disabled" | undefined;
582
+ status?: "optional" | "required" | "disabled" | undefined;
583
583
  } | undefined;
584
584
  } | undefined;
585
585
  } | undefined;
@@ -703,7 +703,7 @@ export declare const connectionRoutes: OpenAPIHono<{
703
703
  active?: boolean | undefined;
704
704
  } | undefined;
705
705
  signup?: {
706
- status?: "required" | "optional" | "disabled" | undefined;
706
+ status?: "optional" | "required" | "disabled" | undefined;
707
707
  verification?: {
708
708
  active?: boolean | undefined;
709
709
  } | undefined;
@@ -713,14 +713,14 @@ export declare const connectionRoutes: OpenAPIHono<{
713
713
  } | undefined;
714
714
  unique?: boolean | undefined;
715
715
  profile_required?: boolean | undefined;
716
- verification_method?: "code" | "link" | undefined;
716
+ verification_method?: "link" | "code" | undefined;
717
717
  } | undefined;
718
718
  username?: {
719
719
  identifier?: {
720
720
  active?: boolean | undefined;
721
721
  } | undefined;
722
722
  signup?: {
723
- status?: "required" | "optional" | "disabled" | undefined;
723
+ status?: "optional" | "required" | "disabled" | undefined;
724
724
  } | undefined;
725
725
  validation?: {
726
726
  max_length?: number | undefined;
@@ -737,7 +737,7 @@ export declare const connectionRoutes: OpenAPIHono<{
737
737
  active?: boolean | undefined;
738
738
  } | undefined;
739
739
  signup?: {
740
- status?: "required" | "optional" | "disabled" | undefined;
740
+ status?: "optional" | "required" | "disabled" | undefined;
741
741
  } | undefined;
742
742
  } | undefined;
743
743
  } | undefined;
@@ -853,7 +853,7 @@ export declare const connectionRoutes: OpenAPIHono<{
853
853
  };
854
854
  } | {
855
855
  mode: "inline";
856
- status: "error" | "success";
856
+ status: "success" | "error";
857
857
  connection_id: string;
858
858
  connection_name: string;
859
859
  strategy: string;
@@ -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: "pending" | "ready" | "disabled" | "pending_verification";
31
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
72
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
136
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
183
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
229
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
270
+ status: "disabled" | "pending" | "ready" | "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: "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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?: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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?: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: "change_password" | "password_reset" | "verify_email" | "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: {