authhero 9.21.0 → 9.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 (38) hide show
  1. package/dist/authhero.cjs +190 -190
  2. package/dist/authhero.d.ts +162 -140
  3. package/dist/authhero.mjs +10725 -10615
  4. package/dist/tsconfig.types.tsbuildinfo +1 -1
  5. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  6. package/dist/types/index.d.ts +150 -140
  7. package/dist/types/routes/auth-api/account.d.ts +2 -2
  8. package/dist/types/routes/auth-api/index.d.ts +18 -8
  9. package/dist/types/routes/auth-api/logout.d.ts +10 -0
  10. package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
  11. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  12. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  13. package/dist/types/routes/management-api/actions.d.ts +1 -1
  14. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  15. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  16. package/dist/types/routes/management-api/clients.d.ts +14 -14
  17. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  18. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  19. package/dist/types/routes/management-api/flows.d.ts +7 -7
  20. package/dist/types/routes/management-api/forms.d.ts +126 -126
  21. package/dist/types/routes/management-api/index.d.ts +105 -105
  22. package/dist/types/routes/management-api/keys.d.ts +8 -8
  23. package/dist/types/routes/management-api/logs.d.ts +4 -4
  24. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  25. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  26. package/dist/types/routes/management-api/roles.d.ts +1 -1
  27. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  28. package/dist/types/routes/management-api/tenants.d.ts +1 -1
  29. package/dist/types/routes/management-api/users.d.ts +8 -8
  30. package/dist/types/routes/universal-login/branded-error-response.d.ts +23 -0
  31. package/dist/types/routes/universal-login/common.d.ts +8 -8
  32. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  33. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  34. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  35. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  36. package/dist/types/strategies/vipps.d.ts +1 -0
  37. package/dist/types/types/AuthHeroConfig.d.ts +12 -0
  38. package/package.json +3 -3
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
11
11
  client_id: string;
12
12
  redirect_url?: string | undefined;
13
13
  login_hint?: string | undefined;
14
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
14
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
15
15
  };
16
16
  };
17
17
  output: {};
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
23
23
  client_id: string;
24
24
  redirect_url?: string | undefined;
25
25
  login_hint?: string | undefined;
26
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
26
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
27
27
  };
28
28
  };
29
29
  output: {
@@ -745,12 +745,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
745
745
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
746
746
  scope?: string | undefined;
747
747
  username?: string | undefined;
748
+ nonce?: string | undefined;
748
749
  audience?: string | undefined;
749
750
  state?: string | undefined;
750
751
  act_as?: string | undefined;
751
752
  redirect_uri?: string | undefined;
752
753
  organization?: string | undefined;
753
- nonce?: string | undefined;
754
754
  prompt?: string | undefined;
755
755
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
756
  code_challenge?: string | undefined;
@@ -781,12 +781,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
781
781
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
782
782
  scope?: string | undefined;
783
783
  username?: string | undefined;
784
+ nonce?: string | undefined;
784
785
  audience?: string | undefined;
785
786
  state?: string | undefined;
786
787
  act_as?: string | undefined;
787
788
  redirect_uri?: string | undefined;
788
789
  organization?: string | undefined;
789
- nonce?: string | undefined;
790
790
  prompt?: string | undefined;
791
791
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
792
  code_challenge?: string | undefined;
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
921
921
  input: {
922
922
  form: {
923
923
  token: string;
924
- token_type_hint?: "refresh_token" | "access_token" | undefined;
924
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
925
925
  client_id?: string | undefined;
926
926
  client_secret?: string | undefined;
927
927
  };
928
928
  } & {
929
929
  json: {
930
930
  token: string;
931
- token_type_hint?: "refresh_token" | "access_token" | undefined;
931
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
932
932
  client_id?: string | undefined;
933
933
  client_secret?: string | undefined;
934
934
  };
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
940
940
  input: {
941
941
  form: {
942
942
  token: string;
943
- token_type_hint?: "refresh_token" | "access_token" | undefined;
943
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
944
944
  client_id?: string | undefined;
945
945
  client_secret?: string | undefined;
946
946
  };
947
947
  } & {
948
948
  json: {
949
949
  token: string;
950
- token_type_hint?: "refresh_token" | "access_token" | undefined;
950
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
951
951
  client_id?: string | undefined;
952
952
  client_secret?: string | undefined;
953
953
  };
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
962
962
  input: {
963
963
  form: {
964
964
  token: string;
965
- token_type_hint?: "refresh_token" | "access_token" | undefined;
965
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
966
966
  client_id?: string | undefined;
967
967
  client_secret?: string | undefined;
968
968
  };
969
969
  } & {
970
970
  json: {
971
971
  token: string;
972
- token_type_hint?: "refresh_token" | "access_token" | undefined;
972
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -1872,6 +1872,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1872
1872
  output: {};
1873
1873
  outputFormat: string;
1874
1874
  status: 302;
1875
+ } | {
1876
+ input: {
1877
+ query: {
1878
+ client_id: string;
1879
+ returnTo?: string | undefined;
1880
+ };
1881
+ };
1882
+ output: {};
1883
+ outputFormat: string;
1884
+ status: 400;
1875
1885
  };
1876
1886
  };
1877
1887
  }, "/v2/logout">, "/">;
@@ -15,6 +15,16 @@ export declare const logoutRoutes: OpenAPIHono<{
15
15
  output: {};
16
16
  outputFormat: string;
17
17
  status: 302;
18
+ } | {
19
+ input: {
20
+ query: {
21
+ client_id: string;
22
+ returnTo?: string | undefined;
23
+ };
24
+ };
25
+ output: {};
26
+ outputFormat: string;
27
+ status: 400;
18
28
  };
19
29
  };
20
30
  }, "/">;
@@ -18,12 +18,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
18
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
19
19
  scope?: string | undefined;
20
20
  username?: string | undefined;
21
+ nonce?: string | undefined;
21
22
  audience?: string | undefined;
22
23
  state?: string | undefined;
23
24
  act_as?: string | undefined;
24
25
  redirect_uri?: string | undefined;
25
26
  organization?: string | undefined;
26
- nonce?: string | undefined;
27
27
  prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
29
  code_challenge?: string | undefined;
@@ -54,12 +54,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
54
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
55
55
  scope?: string | undefined;
56
56
  username?: string | undefined;
57
+ nonce?: string | undefined;
57
58
  audience?: string | undefined;
58
59
  state?: string | undefined;
59
60
  act_as?: string | undefined;
60
61
  redirect_uri?: string | undefined;
61
62
  organization?: string | undefined;
62
- nonce?: string | undefined;
63
63
  prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
65
  code_challenge?: 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" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_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" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_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;
@@ -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: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
656
656
  args: import("hono/utils/types").JSONValue[];
657
657
  }[];
658
658
  logs: {
659
- level: "error" | "log" | "info" | "warn" | "debug";
659
+ level: "log" | "error" | "info" | "warn" | "debug";
660
660
  message: string;
661
661
  }[];
662
662
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
16
16
  audience?: string | undefined;
17
17
  client_id?: string | undefined;
18
18
  allow_any_organization?: string | undefined;
19
- subject_type?: "user" | "client" | undefined;
19
+ subject_type?: "client" | "user" | undefined;
20
20
  };
21
21
  } & {
22
22
  header: {
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
31
31
  organization_usage?: "deny" | "allow" | "require" | undefined;
32
32
  allow_any_organization?: boolean | undefined;
33
33
  is_system?: boolean | undefined;
34
- subject_type?: "user" | "client" | undefined;
34
+ subject_type?: "client" | "user" | undefined;
35
35
  authorization_details_types?: string[] | undefined;
36
36
  created_at?: string | undefined;
37
37
  updated_at?: string | undefined;
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
47
47
  organization_usage?: "deny" | "allow" | "require" | undefined;
48
48
  allow_any_organization?: boolean | undefined;
49
49
  is_system?: boolean | undefined;
50
- subject_type?: "user" | "client" | undefined;
50
+ subject_type?: "client" | "user" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
63
63
  organization_usage?: "deny" | "allow" | "require" | undefined;
64
64
  allow_any_organization?: boolean | undefined;
65
65
  is_system?: boolean | undefined;
66
- subject_type?: "user" | "client" | undefined;
66
+ subject_type?: "client" | "user" | undefined;
67
67
  authorization_details_types?: string[] | undefined;
68
68
  created_at?: string | undefined;
69
69
  updated_at?: string | undefined;
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
94
94
  organization_usage?: "deny" | "allow" | "require" | undefined;
95
95
  allow_any_organization?: boolean | undefined;
96
96
  is_system?: boolean | undefined;
97
- subject_type?: "user" | "client" | undefined;
97
+ subject_type?: "client" | "user" | undefined;
98
98
  authorization_details_types?: string[] | undefined;
99
99
  created_at?: string | undefined;
100
100
  updated_at?: string | undefined;
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
139
139
  organization_usage?: "deny" | "allow" | "require" | undefined;
140
140
  allow_any_organization?: boolean | undefined;
141
141
  is_system?: boolean | undefined;
142
- subject_type?: "user" | "client" | undefined;
142
+ subject_type?: "client" | "user" | undefined;
143
143
  authorization_details_types?: string[] | undefined;
144
144
  };
145
145
  };
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
151
151
  organization_usage?: "deny" | "allow" | "require" | undefined;
152
152
  allow_any_organization?: boolean | undefined;
153
153
  is_system?: boolean | undefined;
154
- subject_type?: "user" | "client" | undefined;
154
+ subject_type?: "client" | "user" | undefined;
155
155
  authorization_details_types?: string[] | undefined;
156
156
  created_at?: string | undefined;
157
157
  updated_at?: string | undefined;
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
175
175
  organization_usage?: "deny" | "allow" | "require" | undefined;
176
176
  allow_any_organization?: boolean | undefined;
177
177
  is_system?: boolean | undefined;
178
- subject_type?: "user" | "client" | undefined;
178
+ subject_type?: "client" | "user" | undefined;
179
179
  authorization_details_types?: string[] | undefined;
180
180
  };
181
181
  };
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
187
187
  organization_usage?: "deny" | "allow" | "require" | undefined;
188
188
  allow_any_organization?: boolean | undefined;
189
189
  is_system?: boolean | undefined;
190
- subject_type?: "user" | "client" | undefined;
190
+ subject_type?: "client" | "user" | undefined;
191
191
  authorization_details_types?: string[] | undefined;
192
192
  created_at?: string | undefined;
193
193
  updated_at?: string | undefined;
@@ -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?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
82
82
  client_metadata?: {
83
83
  [x: string]: string;
84
84
  } | undefined;
@@ -183,7 +183,7 @@ export declare const clientRoutes: OpenAPIHono<{
183
183
  addons?: {
184
184
  [x: string]: any;
185
185
  } | undefined;
186
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
186
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
187
187
  client_metadata?: {
188
188
  [x: string]: string;
189
189
  } | undefined;
@@ -288,7 +288,7 @@ export declare const clientRoutes: OpenAPIHono<{
288
288
  addons?: {
289
289
  [x: string]: any;
290
290
  } | undefined;
291
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
291
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
292
292
  client_metadata?: {
293
293
  [x: string]: string;
294
294
  } | undefined;
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
408
408
  addons?: {
409
409
  [x: string]: any;
410
410
  } | undefined;
411
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
411
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
412
412
  client_metadata?: {
413
413
  [x: string]: string;
414
414
  } | undefined;
@@ -529,7 +529,7 @@ export declare const clientRoutes: OpenAPIHono<{
529
529
  custom_login_page_preview?: string | undefined;
530
530
  form_template?: string | undefined;
531
531
  addons?: Record<string, any> | undefined;
532
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
532
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
533
533
  client_metadata?: Record<string, string> | undefined;
534
534
  hide_sign_up_disabled_error?: boolean | undefined;
535
535
  mobile?: Record<string, any> | undefined;
@@ -618,7 +618,7 @@ export declare const clientRoutes: OpenAPIHono<{
618
618
  addons?: {
619
619
  [x: string]: any;
620
620
  } | undefined;
621
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
621
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
622
622
  client_metadata?: {
623
623
  [x: string]: string;
624
624
  } | undefined;
@@ -718,7 +718,7 @@ export declare const clientRoutes: OpenAPIHono<{
718
718
  custom_login_page_preview?: string | undefined;
719
719
  form_template?: string | undefined;
720
720
  addons?: Record<string, any> | undefined;
721
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
721
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
722
722
  client_metadata?: Record<string, string> | undefined;
723
723
  hide_sign_up_disabled_error?: boolean | undefined;
724
724
  mobile?: Record<string, any> | undefined;
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
807
807
  addons?: {
808
808
  [x: string]: any;
809
809
  } | undefined;
810
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
810
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
811
811
  client_metadata?: {
812
812
  [x: string]: string;
813
813
  } | undefined;
@@ -936,7 +936,7 @@ export declare const clientRoutes: OpenAPIHono<{
936
936
  active?: boolean | undefined;
937
937
  } | undefined;
938
938
  signup?: {
939
- status?: "required" | "optional" | "disabled" | undefined;
939
+ status?: "optional" | "required" | "disabled" | undefined;
940
940
  verification?: {
941
941
  active?: boolean | undefined;
942
942
  } | undefined;
@@ -953,7 +953,7 @@ export declare const clientRoutes: OpenAPIHono<{
953
953
  active?: boolean | undefined;
954
954
  } | undefined;
955
955
  signup?: {
956
- status?: "required" | "optional" | "disabled" | undefined;
956
+ status?: "optional" | "required" | "disabled" | undefined;
957
957
  } | undefined;
958
958
  validation?: {
959
959
  max_length?: number | undefined;
@@ -970,7 +970,7 @@ export declare const clientRoutes: OpenAPIHono<{
970
970
  active?: boolean | undefined;
971
971
  } | undefined;
972
972
  signup?: {
973
- status?: "required" | "optional" | "disabled" | undefined;
973
+ status?: "optional" | "required" | "disabled" | undefined;
974
974
  } | undefined;
975
975
  } | undefined;
976
976
  } | undefined;
@@ -1094,7 +1094,7 @@ export declare const clientRoutes: OpenAPIHono<{
1094
1094
  active?: boolean | undefined;
1095
1095
  } | undefined;
1096
1096
  signup?: {
1097
- status?: "required" | "optional" | "disabled" | undefined;
1097
+ status?: "optional" | "required" | "disabled" | undefined;
1098
1098
  verification?: {
1099
1099
  active?: boolean | undefined;
1100
1100
  } | undefined;
@@ -1111,7 +1111,7 @@ export declare const clientRoutes: OpenAPIHono<{
1111
1111
  active?: boolean | undefined;
1112
1112
  } | undefined;
1113
1113
  signup?: {
1114
- status?: "required" | "optional" | "disabled" | undefined;
1114
+ status?: "optional" | "required" | "disabled" | undefined;
1115
1115
  } | undefined;
1116
1116
  validation?: {
1117
1117
  max_length?: number | undefined;
@@ -1128,7 +1128,7 @@ export declare const clientRoutes: OpenAPIHono<{
1128
1128
  active?: boolean | undefined;
1129
1129
  } | undefined;
1130
1130
  signup?: {
1131
- status?: "required" | "optional" | "disabled" | undefined;
1131
+ status?: "optional" | "required" | "disabled" | undefined;
1132
1132
  } | undefined;
1133
1133
  } | undefined;
1134
1134
  } | undefined;
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
28
28
  type: "auth0_managed_certs" | "self_managed_certs";
29
29
  custom_domain_id: string;
30
30
  primary: boolean;
31
- status: "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?: {
@@ -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: "client_credentials" | "user" | "system" | "admin" | "api_key";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;
@@ -62,7 +62,7 @@ export declare const flowsRoutes: OpenAPIHono<{
62
62
  type: "REDIRECT";
63
63
  action: "REDIRECT_USER";
64
64
  params: {
65
- target: "custom" | "account" | "change-email";
65
+ target: "custom" | "change-email" | "account";
66
66
  custom_url?: string | undefined;
67
67
  };
68
68
  alias?: string | undefined;
@@ -115,7 +115,7 @@ export declare const flowsRoutes: OpenAPIHono<{
115
115
  type: "REDIRECT";
116
116
  action: "REDIRECT_USER";
117
117
  params: {
118
- target: "custom" | "account" | "change-email";
118
+ target: "custom" | "change-email" | "account";
119
119
  custom_url?: string | undefined;
120
120
  };
121
121
  alias?: string | undefined;
@@ -184,7 +184,7 @@ export declare const flowsRoutes: OpenAPIHono<{
184
184
  type: "REDIRECT";
185
185
  action: "REDIRECT_USER";
186
186
  params: {
187
- target: "custom" | "account" | "change-email";
187
+ target: "custom" | "change-email" | "account";
188
188
  custom_url?: string | undefined;
189
189
  };
190
190
  alias?: string | undefined;
@@ -265,7 +265,7 @@ export declare const flowsRoutes: OpenAPIHono<{
265
265
  type: "REDIRECT";
266
266
  action: "REDIRECT_USER";
267
267
  params: {
268
- target: "custom" | "account" | "change-email";
268
+ target: "custom" | "change-email" | "account";
269
269
  custom_url?: string | undefined;
270
270
  };
271
271
  alias?: string | undefined;
@@ -313,7 +313,7 @@ export declare const flowsRoutes: OpenAPIHono<{
313
313
  type: "REDIRECT";
314
314
  action: "REDIRECT_USER";
315
315
  params: {
316
- target: "custom" | "account" | "change-email";
316
+ target: "custom" | "change-email" | "account";
317
317
  custom_url?: string | undefined;
318
318
  };
319
319
  alias?: string | undefined;
@@ -373,7 +373,7 @@ export declare const flowsRoutes: OpenAPIHono<{
373
373
  type: "REDIRECT";
374
374
  action: "REDIRECT_USER";
375
375
  params: {
376
- target: "custom" | "account" | "change-email";
376
+ target: "custom" | "change-email" | "account";
377
377
  custom_url?: string | undefined;
378
378
  };
379
379
  alias?: string | undefined;
@@ -421,7 +421,7 @@ export declare const flowsRoutes: OpenAPIHono<{
421
421
  type: "REDIRECT";
422
422
  action: "REDIRECT_USER";
423
423
  params: {
424
- target: "custom" | "account" | "change-email";
424
+ target: "custom" | "change-email" | "account";
425
425
  custom_url?: string | undefined;
426
426
  };
427
427
  alias?: string | undefined;