authhero 8.23.1 → 8.25.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 (54) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +139 -142
  3. package/dist/authhero.d.ts +1073 -292
  4. package/dist/authhero.mjs +20321 -15480
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/adapters/control-plane-custom-domains.d.ts +35 -0
  7. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  8. package/dist/types/helpers/control-plane-client.d.ts +46 -0
  9. package/dist/types/helpers/control-plane-sync-events.d.ts +12 -28
  10. package/dist/types/index.d.ts +326 -246
  11. package/dist/types/routes/auth-api/index.d.ts +28 -28
  12. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  13. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  14. package/dist/types/routes/auth-api/revoke.d.ts +2 -2
  15. package/dist/types/routes/auth-api/token.d.ts +12 -12
  16. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  17. package/dist/types/routes/management-api/clients.d.ts +14 -14
  18. package/dist/types/routes/management-api/connections.d.ts +16 -16
  19. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/forms.d.ts +126 -126
  22. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  23. package/dist/types/routes/management-api/helpers.d.ts +47 -0
  24. package/dist/types/routes/management-api/index.d.ts +280 -211
  25. package/dist/types/routes/management-api/logs.d.ts +4 -4
  26. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  27. package/dist/types/routes/management-api/organizations.d.ts +8 -8
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/roles.d.ts +1 -1
  30. package/dist/types/routes/management-api/tenant-members.d.ts +304 -0
  31. package/dist/types/routes/management-api/tenant-members.test.d.ts +1 -0
  32. package/dist/types/routes/management-api/tenants.d.ts +8 -8
  33. package/dist/types/routes/management-api/users.d.ts +71 -2
  34. package/dist/types/routes/proxy-control-plane/custom-domains.d.ts +45 -0
  35. package/dist/types/routes/proxy-control-plane/index.d.ts +47 -6
  36. package/dist/types/routes/proxy-control-plane/scopes.d.ts +20 -0
  37. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +37 -0
  38. package/dist/types/routes/proxy-control-plane/verify.d.ts +29 -4
  39. package/dist/types/routes/proxy-control-plane/verify.test.d.ts +1 -0
  40. package/dist/types/routes/universal-login/common.d.ts +8 -8
  41. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  42. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  43. package/dist/types/routes/universal-login/index.d.ts +2 -2
  44. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  45. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  46. package/dist/types/tenant-members/control-plane-roundtrip.test.d.ts +1 -0
  47. package/dist/types/tenant-members/local-backend.d.ts +43 -0
  48. package/dist/types/tenant-members/local-backend.test.d.ts +1 -0
  49. package/dist/types/tenant-members/remote-backend.d.ts +17 -0
  50. package/dist/types/tenant-members/types.d.ts +112 -0
  51. package/dist/types/tenant-members/wire.d.ts +28 -0
  52. package/dist/types/types/AuthHeroConfig.d.ts +54 -7
  53. package/dist/types/types/IdToken.d.ts +4 -4
  54. package/package.json +6 -6
@@ -301,7 +301,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
301
301
  scope?: string | undefined;
302
302
  grant_types?: string[] | undefined;
303
303
  response_types?: string[] | undefined;
304
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
304
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
393
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -737,19 +737,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
737
737
  send: "code" | "link";
738
738
  authParams: {
739
739
  username?: string | undefined;
740
- state?: string | undefined;
741
- audience?: string | undefined;
742
740
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
743
741
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
744
742
  scope?: string | undefined;
743
+ audience?: string | undefined;
744
+ state?: string | undefined;
745
+ prompt?: string | undefined;
745
746
  organization?: string | undefined;
746
- nonce?: string | undefined;
747
- act_as?: string | undefined;
747
+ ui_locales?: string | undefined;
748
748
  redirect_uri?: string | undefined;
749
- prompt?: string | undefined;
749
+ act_as?: string | undefined;
750
+ nonce?: string | undefined;
750
751
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
752
  code_challenge?: string | undefined;
752
- ui_locales?: string | undefined;
753
753
  max_age?: number | undefined;
754
754
  acr_values?: string | undefined;
755
755
  claims?: {
@@ -773,19 +773,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
773
773
  send: "code" | "link";
774
774
  authParams: {
775
775
  username?: string | undefined;
776
- state?: string | undefined;
777
- audience?: string | undefined;
778
776
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
779
777
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
780
778
  scope?: string | undefined;
779
+ audience?: string | undefined;
780
+ state?: string | undefined;
781
+ prompt?: string | undefined;
781
782
  organization?: string | undefined;
782
- nonce?: string | undefined;
783
- act_as?: string | undefined;
783
+ ui_locales?: string | undefined;
784
784
  redirect_uri?: string | undefined;
785
- prompt?: string | undefined;
785
+ act_as?: string | undefined;
786
+ nonce?: string | undefined;
786
787
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
788
  code_challenge?: string | undefined;
788
- ui_locales?: string | undefined;
789
789
  max_age?: number | undefined;
790
790
  acr_values?: string | undefined;
791
791
  claims?: {
@@ -952,7 +952,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
952
952
  error_description?: string | undefined;
953
953
  };
954
954
  outputFormat: "json";
955
- status: 400;
955
+ status: 401;
956
956
  } | {
957
957
  input: {
958
958
  form: {
@@ -974,7 +974,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
974
974
  error_description?: string | undefined;
975
975
  };
976
976
  outputFormat: "json";
977
- status: 401;
977
+ status: 400;
978
978
  };
979
979
  };
980
980
  }, "/oauth/revoke"> & import("hono/types").MergeSchemaPath<{
@@ -1175,16 +1175,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1175
1175
  };
1176
1176
  };
1177
1177
  output: {
1178
- access_token: string;
1179
- token_type: string;
1180
- expires_in: number;
1181
- id_token?: string | undefined;
1182
- scope?: string | undefined;
1183
- state?: string | undefined;
1184
- refresh_token?: string | undefined;
1178
+ error: string;
1179
+ error_description?: string | undefined;
1185
1180
  };
1186
1181
  outputFormat: "json";
1187
- status: 200;
1182
+ status: 401;
1188
1183
  } | {
1189
1184
  input: {
1190
1185
  form: {
@@ -1282,11 +1277,16 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1282
1277
  };
1283
1278
  };
1284
1279
  output: {
1285
- error: string;
1286
- error_description?: string | undefined;
1280
+ access_token: string;
1281
+ token_type: string;
1282
+ expires_in: number;
1283
+ id_token?: string | undefined;
1284
+ scope?: string | undefined;
1285
+ state?: string | undefined;
1286
+ refresh_token?: string | undefined;
1287
1287
  };
1288
1288
  outputFormat: "json";
1289
- status: 400;
1289
+ status: 200;
1290
1290
  } | {
1291
1291
  input: {
1292
1292
  form: {
@@ -1388,7 +1388,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1388
1388
  error_description?: string | undefined;
1389
1389
  };
1390
1390
  outputFormat: "json";
1391
- status: 401;
1391
+ status: 400;
1392
1392
  } | {
1393
1393
  input: {
1394
1394
  form: {
@@ -15,19 +15,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
15
15
  send: "code" | "link";
16
16
  authParams: {
17
17
  username?: string | undefined;
18
- state?: string | undefined;
19
- audience?: string | undefined;
20
18
  response_type?: AuthorizationResponseType | undefined;
21
19
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
22
20
  scope?: string | undefined;
21
+ audience?: string | undefined;
22
+ state?: string | undefined;
23
+ prompt?: string | undefined;
23
24
  organization?: string | undefined;
24
- nonce?: string | undefined;
25
- act_as?: string | undefined;
25
+ ui_locales?: string | undefined;
26
26
  redirect_uri?: string | undefined;
27
- prompt?: string | undefined;
27
+ act_as?: string | undefined;
28
+ nonce?: string | undefined;
28
29
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
30
  code_challenge?: string | undefined;
30
- ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
33
33
  claims?: {
@@ -51,19 +51,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
51
51
  send: "code" | "link";
52
52
  authParams: {
53
53
  username?: string | undefined;
54
- state?: string | undefined;
55
- audience?: string | undefined;
56
54
  response_type?: AuthorizationResponseType | undefined;
57
55
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
58
56
  scope?: string | undefined;
57
+ audience?: string | undefined;
58
+ state?: string | undefined;
59
+ prompt?: string | undefined;
59
60
  organization?: string | undefined;
60
- nonce?: string | undefined;
61
- act_as?: string | undefined;
61
+ ui_locales?: string | undefined;
62
62
  redirect_uri?: string | undefined;
63
- prompt?: string | undefined;
63
+ act_as?: string | undefined;
64
+ nonce?: string | undefined;
64
65
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
66
  code_challenge?: string | undefined;
66
- ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
69
69
  claims?: {
@@ -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;
@@ -45,7 +45,7 @@ export declare const revokeRoutes: OpenAPIHono<{
45
45
  error_description?: string | undefined;
46
46
  };
47
47
  outputFormat: "json";
48
- status: 400;
48
+ status: 401;
49
49
  } | {
50
50
  input: {
51
51
  form: {
@@ -67,7 +67,7 @@ export declare const revokeRoutes: OpenAPIHono<{
67
67
  error_description?: string | undefined;
68
68
  };
69
69
  outputFormat: "json";
70
- status: 401;
70
+ status: 400;
71
71
  };
72
72
  };
73
73
  }, "/">;
@@ -201,16 +201,11 @@ export declare const tokenRoutes: OpenAPIHono<{
201
201
  };
202
202
  };
203
203
  output: {
204
- access_token: string;
205
- token_type: string;
206
- expires_in: number;
207
- id_token?: string | undefined;
208
- scope?: string | undefined;
209
- state?: string | undefined;
210
- refresh_token?: string | undefined;
204
+ error: string;
205
+ error_description?: string | undefined;
211
206
  };
212
207
  outputFormat: "json";
213
- status: 200;
208
+ status: 401;
214
209
  } | {
215
210
  input: {
216
211
  form: {
@@ -308,11 +303,16 @@ export declare const tokenRoutes: OpenAPIHono<{
308
303
  };
309
304
  };
310
305
  output: {
311
- error: string;
312
- error_description?: string | undefined;
306
+ access_token: string;
307
+ token_type: string;
308
+ expires_in: number;
309
+ id_token?: string | undefined;
310
+ scope?: string | undefined;
311
+ state?: string | undefined;
312
+ refresh_token?: string | undefined;
313
313
  };
314
314
  outputFormat: "json";
315
- status: 400;
315
+ status: 200;
316
316
  } | {
317
317
  input: {
318
318
  form: {
@@ -414,7 +414,7 @@ export declare const tokenRoutes: OpenAPIHono<{
414
414
  error_description?: string | undefined;
415
415
  };
416
416
  outputFormat: "json";
417
- status: 401;
417
+ status: 400;
418
418
  } | {
419
419
  input: {
420
420
  form: {
@@ -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" | "push" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: 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;
@@ -180,7 +180,7 @@ export declare const clientRoutes: OpenAPIHono<{
180
180
  addons?: {
181
181
  [x: string]: any;
182
182
  } | undefined;
183
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
183
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
184
184
  client_metadata?: {
185
185
  [x: string]: string;
186
186
  } | undefined;
@@ -282,7 +282,7 @@ export declare const clientRoutes: OpenAPIHono<{
282
282
  addons?: {
283
283
  [x: string]: any;
284
284
  } | undefined;
285
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
285
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
286
286
  client_metadata?: {
287
287
  [x: string]: string;
288
288
  } | undefined;
@@ -399,7 +399,7 @@ export declare const clientRoutes: OpenAPIHono<{
399
399
  addons?: {
400
400
  [x: string]: any;
401
401
  } | undefined;
402
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
402
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
403
403
  client_metadata?: {
404
404
  [x: string]: string;
405
405
  } | undefined;
@@ -517,7 +517,7 @@ export declare const clientRoutes: OpenAPIHono<{
517
517
  custom_login_page_preview?: string | undefined;
518
518
  form_template?: string | undefined;
519
519
  addons?: Record<string, any> | undefined;
520
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
520
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
521
521
  client_metadata?: Record<string, string> | undefined;
522
522
  hide_sign_up_disabled_error?: boolean | undefined;
523
523
  mobile?: Record<string, any> | undefined;
@@ -603,7 +603,7 @@ export declare const clientRoutes: OpenAPIHono<{
603
603
  addons?: {
604
604
  [x: string]: any;
605
605
  } | undefined;
606
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
606
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
607
607
  client_metadata?: {
608
608
  [x: string]: string;
609
609
  } | undefined;
@@ -700,7 +700,7 @@ export declare const clientRoutes: OpenAPIHono<{
700
700
  custom_login_page_preview?: string | undefined;
701
701
  form_template?: string | undefined;
702
702
  addons?: Record<string, any> | undefined;
703
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
703
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
704
704
  client_metadata?: Record<string, string> | undefined;
705
705
  hide_sign_up_disabled_error?: boolean | undefined;
706
706
  mobile?: Record<string, any> | undefined;
@@ -786,7 +786,7 @@ export declare const clientRoutes: OpenAPIHono<{
786
786
  addons?: {
787
787
  [x: string]: any;
788
788
  } | undefined;
789
- token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
789
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
790
790
  client_metadata?: {
791
791
  [x: string]: string;
792
792
  } | undefined;
@@ -908,7 +908,7 @@ export declare const clientRoutes: OpenAPIHono<{
908
908
  active?: boolean | undefined;
909
909
  } | undefined;
910
910
  signup?: {
911
- status?: "required" | "optional" | "disabled" | undefined;
911
+ status?: "optional" | "required" | "disabled" | undefined;
912
912
  verification?: {
913
913
  active?: boolean | undefined;
914
914
  } | undefined;
@@ -925,7 +925,7 @@ export declare const clientRoutes: OpenAPIHono<{
925
925
  active?: boolean | undefined;
926
926
  } | undefined;
927
927
  signup?: {
928
- status?: "required" | "optional" | "disabled" | undefined;
928
+ status?: "optional" | "required" | "disabled" | undefined;
929
929
  } | undefined;
930
930
  validation?: {
931
931
  max_length?: number | undefined;
@@ -942,7 +942,7 @@ export declare const clientRoutes: OpenAPIHono<{
942
942
  active?: boolean | undefined;
943
943
  } | undefined;
944
944
  signup?: {
945
- status?: "required" | "optional" | "disabled" | undefined;
945
+ status?: "optional" | "required" | "disabled" | undefined;
946
946
  } | undefined;
947
947
  } | undefined;
948
948
  } | undefined;
@@ -1062,7 +1062,7 @@ export declare const clientRoutes: OpenAPIHono<{
1062
1062
  active?: boolean | undefined;
1063
1063
  } | undefined;
1064
1064
  signup?: {
1065
- status?: "required" | "optional" | "disabled" | undefined;
1065
+ status?: "optional" | "required" | "disabled" | undefined;
1066
1066
  verification?: {
1067
1067
  active?: boolean | undefined;
1068
1068
  } | undefined;
@@ -1079,7 +1079,7 @@ export declare const clientRoutes: OpenAPIHono<{
1079
1079
  active?: boolean | undefined;
1080
1080
  } | undefined;
1081
1081
  signup?: {
1082
- status?: "required" | "optional" | "disabled" | undefined;
1082
+ status?: "optional" | "required" | "disabled" | undefined;
1083
1083
  } | undefined;
1084
1084
  validation?: {
1085
1085
  max_length?: number | undefined;
@@ -1096,7 +1096,7 @@ export declare const clientRoutes: OpenAPIHono<{
1096
1096
  active?: boolean | undefined;
1097
1097
  } | undefined;
1098
1098
  signup?: {
1099
- status?: "required" | "optional" | "disabled" | undefined;
1099
+ status?: "optional" | "required" | "disabled" | undefined;
1100
1100
  } | undefined;
1101
1101
  } | undefined;
1102
1102
  } | 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;
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
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;
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
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;
@@ -383,7 +383,7 @@ export declare const connectionRoutes: OpenAPIHono<{
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;
@@ -562,7 +562,7 @@ export declare const connectionRoutes: OpenAPIHono<{
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;
@@ -720,7 +720,7 @@ export declare const connectionRoutes: OpenAPIHono<{
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?: {