authhero 5.11.0 → 5.13.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 (45) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +125 -125
  3. package/dist/authhero.d.ts +272 -221
  4. package/dist/authhero.mjs +10547 -10122
  5. package/dist/stats.html +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +14 -0
  8. package/dist/types/adapters/index.d.ts +2 -0
  9. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  10. package/dist/types/helpers/custom-domain.d.ts +8 -0
  11. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  12. package/dist/types/helpers/users.d.ts +28 -0
  13. package/dist/types/index.d.ts +220 -220
  14. package/dist/types/routes/auth-api/index.d.ts +22 -22
  15. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  16. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  17. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  18. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  19. package/dist/types/routes/management-api/actions.d.ts +1 -1
  20. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  21. package/dist/types/routes/management-api/clients.d.ts +13 -13
  22. package/dist/types/routes/management-api/connections.d.ts +16 -16
  23. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  24. package/dist/types/routes/management-api/email-templates.d.ts +14 -14
  25. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  26. package/dist/types/routes/management-api/forms.d.ts +119 -119
  27. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  28. package/dist/types/routes/management-api/index.d.ts +193 -193
  29. package/dist/types/routes/management-api/logs.d.ts +3 -3
  30. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  31. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  32. package/dist/types/routes/management-api/proxy-routes.d.ts +221 -0
  33. package/dist/types/routes/management-api/users.d.ts +2 -2
  34. package/dist/types/routes/proxy-control-plane/index.d.ts +22 -0
  35. package/dist/types/routes/universal-login/common.d.ts +8 -8
  36. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  37. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  38. package/dist/types/routes/universal-login/index.d.ts +2 -2
  39. package/dist/types/routes/universal-login/u2-index.d.ts +3 -3
  40. package/dist/types/routes/universal-login/u2-routes.d.ts +3 -3
  41. package/dist/types/types/AuthHeroConfig.d.ts +14 -0
  42. package/dist/types/types/Bindings.d.ts +1 -0
  43. package/dist/types/types/IdToken.d.ts +3 -3
  44. package/dist/types/utils/field-encryption.d.ts +21 -0
  45. package/package.json +6 -5
@@ -288,7 +288,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
288
288
  scope?: string | undefined;
289
289
  grant_types?: string[] | undefined;
290
290
  response_types?: string[] | undefined;
291
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
291
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
292
292
  jwks_uri?: string | undefined;
293
293
  jwks?: Record<string, unknown> | undefined;
294
294
  software_id?: string | undefined;
@@ -377,7 +377,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
377
377
  scope?: string | undefined;
378
378
  grant_types?: string[] | undefined;
379
379
  response_types?: string[] | undefined;
380
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
380
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
381
381
  jwks_uri?: string | undefined;
382
382
  jwks?: Record<string, unknown> | undefined;
383
383
  software_id?: string | undefined;
@@ -723,19 +723,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
- scope?: string | undefined;
727
- state?: string | undefined;
728
- audience?: string | undefined;
729
- code_challenge?: string | undefined;
730
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
731
- redirect_uri?: string | undefined;
732
- nonce?: string | undefined;
733
726
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
734
727
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
728
+ scope?: string | undefined;
735
729
  username?: string | undefined;
730
+ state?: string | undefined;
736
731
  act_as?: string | undefined;
732
+ redirect_uri?: string | undefined;
733
+ audience?: string | undefined;
737
734
  organization?: string | undefined;
735
+ nonce?: string | undefined;
738
736
  prompt?: string | undefined;
737
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
738
+ code_challenge?: string | undefined;
739
739
  ui_locales?: string | undefined;
740
740
  max_age?: number | undefined;
741
741
  acr_values?: string | undefined;
@@ -759,19 +759,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
759
  phone_number: string;
760
760
  send: "code" | "link";
761
761
  authParams: {
762
- scope?: string | undefined;
763
- state?: string | undefined;
764
- audience?: string | undefined;
765
- code_challenge?: string | undefined;
766
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
767
- redirect_uri?: string | undefined;
768
- nonce?: string | undefined;
769
762
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
770
763
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
764
+ scope?: string | undefined;
771
765
  username?: string | undefined;
766
+ state?: string | undefined;
772
767
  act_as?: string | undefined;
768
+ redirect_uri?: string | undefined;
769
+ audience?: string | undefined;
773
770
  organization?: string | undefined;
771
+ nonce?: string | undefined;
774
772
  prompt?: string | undefined;
773
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
774
+ code_challenge?: string | undefined;
775
775
  ui_locales?: string | undefined;
776
776
  max_age?: number | undefined;
777
777
  acr_values?: string | undefined;
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
903
903
  input: {
904
904
  form: {
905
905
  token: string;
906
- token_type_hint?: "access_token" | "refresh_token" | undefined;
906
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
907
907
  client_id?: string | undefined;
908
908
  client_secret?: string | undefined;
909
909
  };
910
910
  } & {
911
911
  json: {
912
912
  token: string;
913
- token_type_hint?: "access_token" | "refresh_token" | undefined;
913
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
914
914
  client_id?: string | undefined;
915
915
  client_secret?: string | undefined;
916
916
  };
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
922
922
  input: {
923
923
  form: {
924
924
  token: string;
925
- token_type_hint?: "access_token" | "refresh_token" | undefined;
925
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
926
926
  client_id?: string | undefined;
927
927
  client_secret?: string | undefined;
928
928
  };
929
929
  } & {
930
930
  json: {
931
931
  token: string;
932
- token_type_hint?: "access_token" | "refresh_token" | undefined;
932
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
933
933
  client_id?: string | undefined;
934
934
  client_secret?: string | undefined;
935
935
  };
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
944
944
  input: {
945
945
  form: {
946
946
  token: string;
947
- token_type_hint?: "access_token" | "refresh_token" | undefined;
947
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
948
948
  client_id?: string | undefined;
949
949
  client_secret?: string | undefined;
950
950
  };
951
951
  } & {
952
952
  json: {
953
953
  token: string;
954
- token_type_hint?: "access_token" | "refresh_token" | undefined;
954
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
955
955
  client_id?: string | undefined;
956
956
  client_secret?: string | undefined;
957
957
  };
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- scope?: string | undefined;
18
- state?: string | undefined;
19
- audience?: string | undefined;
20
- code_challenge?: string | undefined;
21
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
22
- redirect_uri?: string | undefined;
23
- nonce?: string | undefined;
24
17
  response_type?: AuthorizationResponseType | undefined;
25
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
19
+ scope?: string | undefined;
26
20
  username?: string | undefined;
21
+ state?: string | undefined;
27
22
  act_as?: string | undefined;
23
+ redirect_uri?: string | undefined;
24
+ audience?: string | undefined;
28
25
  organization?: string | undefined;
26
+ nonce?: string | undefined;
29
27
  prompt?: string | undefined;
28
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
+ code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
@@ -50,19 +50,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- scope?: string | undefined;
54
- state?: string | undefined;
55
- audience?: string | undefined;
56
- code_challenge?: string | undefined;
57
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
58
- redirect_uri?: string | undefined;
59
- nonce?: string | undefined;
60
53
  response_type?: AuthorizationResponseType | undefined;
61
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
55
+ scope?: string | undefined;
62
56
  username?: string | undefined;
57
+ state?: string | undefined;
63
58
  act_as?: string | undefined;
59
+ redirect_uri?: string | undefined;
60
+ audience?: string | undefined;
64
61
  organization?: string | undefined;
62
+ nonce?: string | undefined;
65
63
  prompt?: string | undefined;
64
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
+ code_challenge?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
@@ -18,7 +18,7 @@ export declare const registerRoutes: OpenAPIHono<{
18
18
  scope?: string | undefined;
19
19
  grant_types?: string[] | undefined;
20
20
  response_types?: string[] | undefined;
21
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
21
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
110
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "access_token" | "refresh_token" | undefined;
12
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
13
13
  client_id?: string | undefined;
14
14
  client_secret?: string | undefined;
15
15
  };
16
16
  } & {
17
17
  json: {
18
18
  token: string;
19
- token_type_hint?: "access_token" | "refresh_token" | undefined;
19
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
20
20
  client_id?: string | undefined;
21
21
  client_secret?: string | undefined;
22
22
  };
@@ -28,14 +28,14 @@ export declare const revokeRoutes: OpenAPIHono<{
28
28
  input: {
29
29
  form: {
30
30
  token: string;
31
- token_type_hint?: "access_token" | "refresh_token" | undefined;
31
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
32
32
  client_id?: string | undefined;
33
33
  client_secret?: string | undefined;
34
34
  };
35
35
  } & {
36
36
  json: {
37
37
  token: string;
38
- token_type_hint?: "access_token" | "refresh_token" | undefined;
38
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
39
39
  client_id?: string | undefined;
40
40
  client_secret?: string | undefined;
41
41
  };
@@ -50,14 +50,14 @@ export declare const revokeRoutes: OpenAPIHono<{
50
50
  input: {
51
51
  form: {
52
52
  token: string;
53
- token_type_hint?: "access_token" | "refresh_token" | undefined;
53
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
54
54
  client_id?: string | undefined;
55
55
  client_secret?: string | undefined;
56
56
  };
57
57
  } & {
58
58
  json: {
59
59
  token: string;
60
- token_type_hint?: "access_token" | "refresh_token" | undefined;
60
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
61
61
  client_id?: string | undefined;
62
62
  client_secret?: string | undefined;
63
63
  };
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "log" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "debug" | "info" | "warn";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "error" | "log" | "info" | "warn" | "debug";
664
+ level: "error" | "log" | "debug" | "info" | "warn";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
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;
@@ -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;
@@ -279,7 +279,7 @@ export declare const clientRoutes: OpenAPIHono<{
279
279
  addons?: {
280
280
  [x: string]: any;
281
281
  } | undefined;
282
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
282
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
283
283
  client_metadata?: {
284
284
  [x: string]: string;
285
285
  } | undefined;
@@ -389,7 +389,7 @@ export declare const clientRoutes: OpenAPIHono<{
389
389
  custom_login_page_preview?: string | undefined;
390
390
  form_template?: string | undefined;
391
391
  addons?: Record<string, any> | undefined;
392
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
392
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
393
393
  client_metadata?: Record<string, string> | undefined;
394
394
  hide_sign_up_disabled_error?: boolean | undefined;
395
395
  mobile?: Record<string, any> | undefined;
@@ -469,7 +469,7 @@ export declare const clientRoutes: OpenAPIHono<{
469
469
  addons?: {
470
470
  [x: string]: any;
471
471
  } | undefined;
472
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
472
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
473
473
  client_metadata?: {
474
474
  [x: string]: string;
475
475
  } | undefined;
@@ -558,7 +558,7 @@ export declare const clientRoutes: OpenAPIHono<{
558
558
  custom_login_page_preview?: string | undefined;
559
559
  form_template?: string | undefined;
560
560
  addons?: Record<string, any> | undefined;
561
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
561
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
562
562
  client_metadata?: Record<string, string> | undefined;
563
563
  hide_sign_up_disabled_error?: boolean | undefined;
564
564
  mobile?: Record<string, any> | undefined;
@@ -638,7 +638,7 @@ export declare const clientRoutes: OpenAPIHono<{
638
638
  addons?: {
639
639
  [x: string]: any;
640
640
  } | undefined;
641
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
641
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
642
642
  client_metadata?: {
643
643
  [x: string]: string;
644
644
  } | undefined;
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
760
760
  active?: boolean | undefined;
761
761
  } | undefined;
762
762
  signup?: {
763
- status?: "optional" | "required" | "disabled" | undefined;
763
+ status?: "optional" | "disabled" | "required" | undefined;
764
764
  verification?: {
765
765
  active?: boolean | undefined;
766
766
  } | undefined;
@@ -777,7 +777,7 @@ export declare const clientRoutes: OpenAPIHono<{
777
777
  active?: boolean | undefined;
778
778
  } | undefined;
779
779
  signup?: {
780
- status?: "optional" | "required" | "disabled" | undefined;
780
+ status?: "optional" | "disabled" | "required" | undefined;
781
781
  } | undefined;
782
782
  validation?: {
783
783
  max_length?: number | undefined;
@@ -794,7 +794,7 @@ export declare const clientRoutes: OpenAPIHono<{
794
794
  active?: boolean | undefined;
795
795
  } | undefined;
796
796
  signup?: {
797
- status?: "optional" | "required" | "disabled" | undefined;
797
+ status?: "optional" | "disabled" | "required" | undefined;
798
798
  } | undefined;
799
799
  } | undefined;
800
800
  } | undefined;
@@ -914,7 +914,7 @@ export declare const clientRoutes: OpenAPIHono<{
914
914
  active?: boolean | undefined;
915
915
  } | undefined;
916
916
  signup?: {
917
- status?: "optional" | "required" | "disabled" | undefined;
917
+ status?: "optional" | "disabled" | "required" | undefined;
918
918
  verification?: {
919
919
  active?: boolean | undefined;
920
920
  } | undefined;
@@ -931,7 +931,7 @@ export declare const clientRoutes: OpenAPIHono<{
931
931
  active?: boolean | undefined;
932
932
  } | undefined;
933
933
  signup?: {
934
- status?: "optional" | "required" | "disabled" | undefined;
934
+ status?: "optional" | "disabled" | "required" | undefined;
935
935
  } | undefined;
936
936
  validation?: {
937
937
  max_length?: number | undefined;
@@ -948,7 +948,7 @@ export declare const clientRoutes: OpenAPIHono<{
948
948
  active?: boolean | undefined;
949
949
  } | undefined;
950
950
  signup?: {
951
- status?: "optional" | "required" | "disabled" | undefined;
951
+ status?: "optional" | "disabled" | "required" | undefined;
952
952
  } | undefined;
953
953
  } | undefined;
954
954
  } | undefined;
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
82
  active?: boolean | undefined;
83
83
  } | undefined;
84
84
  signup?: {
85
- status?: "optional" | "required" | "disabled" | undefined;
85
+ status?: "optional" | "disabled" | "required" | undefined;
86
86
  verification?: {
87
87
  active?: boolean | undefined;
88
88
  } | undefined;
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
99
99
  active?: boolean | undefined;
100
100
  } | undefined;
101
101
  signup?: {
102
- status?: "optional" | "required" | "disabled" | undefined;
102
+ status?: "optional" | "disabled" | "required" | 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?: "optional" | "required" | "disabled" | undefined;
119
+ status?: "optional" | "disabled" | "required" | 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?: "optional" | "required" | "disabled" | undefined;
219
+ status?: "optional" | "disabled" | "required" | undefined;
220
220
  verification?: {
221
221
  active?: boolean | undefined;
222
222
  } | undefined;
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
233
233
  active?: boolean | undefined;
234
234
  } | undefined;
235
235
  signup?: {
236
- status?: "optional" | "required" | "disabled" | undefined;
236
+ status?: "optional" | "disabled" | "required" | 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?: "optional" | "required" | "disabled" | undefined;
253
+ status?: "optional" | "disabled" | "required" | undefined;
254
254
  } | undefined;
255
255
  } | undefined;
256
256
  } | undefined;
@@ -365,7 +365,7 @@ export declare const connectionRoutes: OpenAPIHono<{
365
365
  active?: boolean | undefined;
366
366
  } | undefined;
367
367
  signup?: {
368
- status?: "optional" | "required" | "disabled" | undefined;
368
+ status?: "optional" | "disabled" | "required" | undefined;
369
369
  verification?: {
370
370
  active?: boolean | undefined;
371
371
  } | undefined;
@@ -382,7 +382,7 @@ export declare const connectionRoutes: OpenAPIHono<{
382
382
  active?: boolean | undefined;
383
383
  } | undefined;
384
384
  signup?: {
385
- status?: "optional" | "required" | "disabled" | undefined;
385
+ status?: "optional" | "disabled" | "required" | undefined;
386
386
  } | undefined;
387
387
  validation?: {
388
388
  max_length?: number | undefined;
@@ -399,7 +399,7 @@ export declare const connectionRoutes: OpenAPIHono<{
399
399
  active?: boolean | undefined;
400
400
  } | undefined;
401
401
  signup?: {
402
- status?: "optional" | "required" | "disabled" | undefined;
402
+ status?: "optional" | "disabled" | "required" | undefined;
403
403
  } | undefined;
404
404
  } | undefined;
405
405
  } | undefined;
@@ -544,7 +544,7 @@ export declare const connectionRoutes: OpenAPIHono<{
544
544
  active?: boolean | undefined;
545
545
  } | undefined;
546
546
  signup?: {
547
- status?: "optional" | "required" | "disabled" | undefined;
547
+ status?: "optional" | "disabled" | "required" | undefined;
548
548
  verification?: {
549
549
  active?: boolean | undefined;
550
550
  } | undefined;
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
561
561
  active?: boolean | undefined;
562
562
  } | undefined;
563
563
  signup?: {
564
- status?: "optional" | "required" | "disabled" | undefined;
564
+ status?: "optional" | "disabled" | "required" | undefined;
565
565
  } | undefined;
566
566
  validation?: {
567
567
  max_length?: number | undefined;
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
578
578
  active?: boolean | undefined;
579
579
  } | undefined;
580
580
  signup?: {
581
- status?: "optional" | "required" | "disabled" | undefined;
581
+ status?: "optional" | "disabled" | "required" | undefined;
582
582
  } | undefined;
583
583
  } | undefined;
584
584
  } | undefined;
@@ -702,7 +702,7 @@ export declare const connectionRoutes: OpenAPIHono<{
702
702
  active?: boolean | undefined;
703
703
  } | undefined;
704
704
  signup?: {
705
- status?: "optional" | "required" | "disabled" | undefined;
705
+ status?: "optional" | "disabled" | "required" | undefined;
706
706
  verification?: {
707
707
  active?: boolean | undefined;
708
708
  } | undefined;
@@ -719,7 +719,7 @@ export declare const connectionRoutes: OpenAPIHono<{
719
719
  active?: boolean | undefined;
720
720
  } | undefined;
721
721
  signup?: {
722
- status?: "optional" | "required" | "disabled" | undefined;
722
+ status?: "optional" | "disabled" | "required" | undefined;
723
723
  } | undefined;
724
724
  validation?: {
725
725
  max_length?: number | undefined;
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  active?: boolean | undefined;
737
737
  } | undefined;
738
738
  signup?: {
739
- status?: "optional" | "required" | "disabled" | undefined;
739
+ status?: "optional" | "disabled" | "required" | undefined;
740
740
  } | undefined;
741
741
  } | undefined;
742
742
  } | undefined;
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
852
852
  };
853
853
  } | {
854
854
  mode: "inline";
855
- status: "success" | "error";
855
+ status: "error" | "success";
856
856
  connection_id: string;
857
857
  connection_name: string;
858
858
  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: "disabled" | "pending" | "pending_verification" | "ready";
31
+ status: "pending" | "disabled" | "pending_verification" | "ready";
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: "disabled" | "pending" | "pending_verification" | "ready";
72
+ status: "pending" | "disabled" | "pending_verification" | "ready";
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?: {
@@ -130,7 +130,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
130
130
  domain_metadata?: Record<string, string> | undefined;
131
131
  custom_domain_id?: string | undefined;
132
132
  primary?: boolean | undefined;
133
- status?: "disabled" | "pending" | "pending_verification" | "ready" | undefined;
133
+ status?: "pending" | "disabled" | "pending_verification" | "ready" | undefined;
134
134
  origin_domain_name?: string | undefined;
135
135
  verification?: {
136
136
  methods: ({
@@ -151,7 +151,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
151
151
  type: "auth0_managed_certs" | "self_managed_certs";
152
152
  custom_domain_id: string;
153
153
  primary: boolean;
154
- status: "disabled" | "pending" | "pending_verification" | "ready";
154
+ status: "pending" | "disabled" | "pending_verification" | "ready";
155
155
  verification_method?: "txt" | undefined;
156
156
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
157
157
  domain_metadata?: {
@@ -198,7 +198,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
198
198
  type: "auth0_managed_certs" | "self_managed_certs";
199
199
  custom_domain_id: string;
200
200
  primary: boolean;
201
- status: "disabled" | "pending" | "pending_verification" | "ready";
201
+ status: "pending" | "disabled" | "pending_verification" | "ready";
202
202
  verification_method?: "txt" | undefined;
203
203
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
204
204
  domain_metadata?: {
@@ -239,7 +239,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
239
239
  type: "auth0_managed_certs" | "self_managed_certs";
240
240
  custom_domain_id: string;
241
241
  primary: boolean;
242
- status: "disabled" | "pending" | "pending_verification" | "ready";
242
+ status: "pending" | "disabled" | "pending_verification" | "ready";
243
243
  verification_method?: "txt" | undefined;
244
244
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
245
245
  domain_metadata?: {