authhero 8.23.1 → 8.24.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 (43) 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 +349 -145
  4. package/dist/authhero.mjs +19659 -15484
  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 +5 -5
  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 +174 -100
  11. package/dist/types/routes/auth-api/index.d.ts +24 -24
  12. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  13. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  14. package/dist/types/routes/auth-api/token.d.ts +10 -10
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +1 -1
  17. package/dist/types/routes/management-api/clients.d.ts +6 -6
  18. package/dist/types/routes/management-api/connections.d.ts +15 -15
  19. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  20. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  21. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  22. package/dist/types/routes/management-api/helpers.d.ts +47 -0
  23. package/dist/types/routes/management-api/index.d.ts +140 -71
  24. package/dist/types/routes/management-api/logs.d.ts +4 -4
  25. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  26. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  27. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  28. package/dist/types/routes/management-api/roles.d.ts +1 -1
  29. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  30. package/dist/types/routes/management-api/tenants.d.ts +1 -1
  31. package/dist/types/routes/management-api/users.d.ts +71 -2
  32. package/dist/types/routes/proxy-control-plane/custom-domains.d.ts +45 -0
  33. package/dist/types/routes/proxy-control-plane/index.d.ts +24 -6
  34. package/dist/types/routes/proxy-control-plane/scopes.d.ts +13 -0
  35. package/dist/types/routes/proxy-control-plane/verify.d.ts +15 -4
  36. package/dist/types/routes/universal-login/common.d.ts +6 -6
  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 +22 -7
  42. package/dist/types/types/IdToken.d.ts +4 -4
  43. package/package.json +6 -6
@@ -736,17 +736,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
736
736
  email: string;
737
737
  send: "code" | "link";
738
738
  authParams: {
739
- username?: string | undefined;
740
- state?: string | undefined;
741
739
  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;
745
- organization?: string | undefined;
743
+ username?: string | undefined;
744
+ state?: string | undefined;
746
745
  nonce?: string | undefined;
746
+ prompt?: string | undefined;
747
747
  act_as?: string | undefined;
748
748
  redirect_uri?: string | undefined;
749
- prompt?: string | undefined;
749
+ organization?: string | undefined;
750
750
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
751
  code_challenge?: string | undefined;
752
752
  ui_locales?: string | undefined;
@@ -772,17 +772,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
772
772
  phone_number: string;
773
773
  send: "code" | "link";
774
774
  authParams: {
775
- username?: string | undefined;
776
- state?: string | undefined;
777
775
  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;
781
- organization?: string | undefined;
779
+ username?: string | undefined;
780
+ state?: string | undefined;
782
781
  nonce?: string | undefined;
782
+ prompt?: string | undefined;
783
783
  act_as?: string | undefined;
784
784
  redirect_uri?: string | undefined;
785
- prompt?: string | undefined;
785
+ organization?: string | undefined;
786
786
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
787
  code_challenge?: string | undefined;
788
788
  ui_locales?: string | undefined;
@@ -916,14 +916,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
916
916
  input: {
917
917
  form: {
918
918
  token: string;
919
- token_type_hint?: "access_token" | "refresh_token" | undefined;
919
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
920
920
  client_id?: string | undefined;
921
921
  client_secret?: string | undefined;
922
922
  };
923
923
  } & {
924
924
  json: {
925
925
  token: string;
926
- token_type_hint?: "access_token" | "refresh_token" | undefined;
926
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
927
927
  client_id?: string | undefined;
928
928
  client_secret?: string | undefined;
929
929
  };
@@ -935,14 +935,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
935
935
  input: {
936
936
  form: {
937
937
  token: string;
938
- token_type_hint?: "access_token" | "refresh_token" | undefined;
938
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
939
939
  client_id?: string | undefined;
940
940
  client_secret?: string | undefined;
941
941
  };
942
942
  } & {
943
943
  json: {
944
944
  token: string;
945
- token_type_hint?: "access_token" | "refresh_token" | undefined;
945
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
946
946
  client_id?: string | undefined;
947
947
  client_secret?: string | undefined;
948
948
  };
@@ -957,14 +957,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
957
957
  input: {
958
958
  form: {
959
959
  token: string;
960
- token_type_hint?: "access_token" | "refresh_token" | undefined;
960
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
961
961
  client_id?: string | undefined;
962
962
  client_secret?: string | undefined;
963
963
  };
964
964
  } & {
965
965
  json: {
966
966
  token: string;
967
- token_type_hint?: "access_token" | "refresh_token" | undefined;
967
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
968
968
  client_id?: string | undefined;
969
969
  client_secret?: string | undefined;
970
970
  };
@@ -1014,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1014
1014
  client_id: string;
1015
1015
  username: string;
1016
1016
  otp: string;
1017
- realm: "email" | "sms";
1017
+ realm: "sms" | "email";
1018
1018
  } | {
1019
1019
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1020
1020
  subject_token: string;
@@ -1061,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1061
1061
  client_id: string;
1062
1062
  username: string;
1063
1063
  otp: string;
1064
- realm: "email" | "sms";
1064
+ realm: "sms" | "email";
1065
1065
  } | {
1066
1066
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1067
1067
  subject_token: string;
@@ -1113,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1113
1113
  client_id: string;
1114
1114
  username: string;
1115
1115
  otp: string;
1116
- realm: "email" | "sms";
1116
+ realm: "sms" | "email";
1117
1117
  } | {
1118
1118
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1119
1119
  subject_token: string;
@@ -1160,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1160
1160
  client_id: string;
1161
1161
  username: string;
1162
1162
  otp: string;
1163
- realm: "email" | "sms";
1163
+ realm: "sms" | "email";
1164
1164
  } | {
1165
1165
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1166
1166
  subject_token: string;
@@ -1220,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1220
1220
  client_id: string;
1221
1221
  username: string;
1222
1222
  otp: string;
1223
- realm: "email" | "sms";
1223
+ realm: "sms" | "email";
1224
1224
  } | {
1225
1225
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1226
1226
  subject_token: string;
@@ -1267,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1267
1267
  client_id: string;
1268
1268
  username: string;
1269
1269
  otp: string;
1270
- realm: "email" | "sms";
1270
+ realm: "sms" | "email";
1271
1271
  } | {
1272
1272
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1273
1273
  subject_token: string;
@@ -1322,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1322
1322
  client_id: string;
1323
1323
  username: string;
1324
1324
  otp: string;
1325
- realm: "email" | "sms";
1325
+ realm: "sms" | "email";
1326
1326
  } | {
1327
1327
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1328
1328
  subject_token: string;
@@ -1369,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1369
1369
  client_id: string;
1370
1370
  username: string;
1371
1371
  otp: string;
1372
- realm: "email" | "sms";
1372
+ realm: "sms" | "email";
1373
1373
  } | {
1374
1374
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1375
1375
  subject_token: string;
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1424
1424
  client_id: string;
1425
1425
  username: string;
1426
1426
  otp: string;
1427
- realm: "email" | "sms";
1427
+ realm: "sms" | "email";
1428
1428
  } | {
1429
1429
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1430
1430
  subject_token: string;
@@ -1471,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1471
1471
  client_id: string;
1472
1472
  username: string;
1473
1473
  otp: string;
1474
- realm: "email" | "sms";
1474
+ realm: "sms" | "email";
1475
1475
  } | {
1476
1476
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1477
1477
  subject_token: string;
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- username?: string | undefined;
18
- state?: string | undefined;
19
17
  audience?: string | undefined;
20
18
  response_type?: AuthorizationResponseType | undefined;
21
19
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
22
20
  scope?: string | undefined;
23
- organization?: string | undefined;
21
+ username?: string | undefined;
22
+ state?: string | undefined;
24
23
  nonce?: string | undefined;
24
+ prompt?: string | undefined;
25
25
  act_as?: string | undefined;
26
26
  redirect_uri?: string | undefined;
27
- prompt?: string | undefined;
27
+ organization?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
29
  code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
@@ -50,17 +50,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- username?: string | undefined;
54
- state?: string | undefined;
55
53
  audience?: string | undefined;
56
54
  response_type?: AuthorizationResponseType | undefined;
57
55
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
58
56
  scope?: string | undefined;
59
- organization?: string | undefined;
57
+ username?: string | undefined;
58
+ state?: string | undefined;
60
59
  nonce?: string | undefined;
60
+ prompt?: string | undefined;
61
61
  act_as?: string | undefined;
62
62
  redirect_uri?: string | undefined;
63
- prompt?: string | undefined;
63
+ organization?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
65
  code_challenge?: string | undefined;
66
66
  ui_locales?: 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
  };
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  username: string;
42
42
  otp: string;
43
- realm: "email" | "sms";
43
+ realm: "sms" | "email";
44
44
  } | {
45
45
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
46
46
  subject_token: string;
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
87
87
  client_id: string;
88
88
  username: string;
89
89
  otp: string;
90
- realm: "email" | "sms";
90
+ realm: "sms" | "email";
91
91
  } | {
92
92
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
93
93
  subject_token: string;
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
139
139
  client_id: string;
140
140
  username: string;
141
141
  otp: string;
142
- realm: "email" | "sms";
142
+ realm: "sms" | "email";
143
143
  } | {
144
144
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
145
145
  subject_token: string;
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
186
186
  client_id: string;
187
187
  username: string;
188
188
  otp: string;
189
- realm: "email" | "sms";
189
+ realm: "sms" | "email";
190
190
  } | {
191
191
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
192
192
  subject_token: string;
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
246
246
  client_id: string;
247
247
  username: string;
248
248
  otp: string;
249
- realm: "email" | "sms";
249
+ realm: "sms" | "email";
250
250
  } | {
251
251
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
252
252
  subject_token: string;
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
293
293
  client_id: string;
294
294
  username: string;
295
295
  otp: string;
296
- realm: "email" | "sms";
296
+ realm: "sms" | "email";
297
297
  } | {
298
298
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
299
299
  subject_token: string;
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
348
348
  client_id: string;
349
349
  username: string;
350
350
  otp: string;
351
- realm: "email" | "sms";
351
+ realm: "sms" | "email";
352
352
  } | {
353
353
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
354
354
  subject_token: string;
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
395
395
  client_id: string;
396
396
  username: string;
397
397
  otp: string;
398
- realm: "email" | "sms";
398
+ realm: "sms" | "email";
399
399
  } | {
400
400
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
401
401
  subject_token: string;
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
450
450
  client_id: string;
451
451
  username: string;
452
452
  otp: string;
453
- realm: "email" | "sms";
453
+ realm: "sms" | "email";
454
454
  } | {
455
455
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
456
456
  subject_token: string;
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
497
497
  client_id: string;
498
498
  username: string;
499
499
  otp: string;
500
- realm: "email" | "sms";
500
+ realm: "sms" | "email";
501
501
  } | {
502
502
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
503
503
  subject_token: string;
@@ -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: "push" | "email" | "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;
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
412
+ screen?: "identifier" | "signup" | "password" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -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;