authhero 9.6.3 → 9.7.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 (47) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +144 -144
  3. package/dist/authhero.d.ts +460 -240
  4. package/dist/authhero.mjs +14192 -14009
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/common.d.ts +17 -1
  7. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  9. package/dist/types/helpers/revoke-user-refresh-tokens.d.ts +21 -0
  10. package/dist/types/helpers/users.d.ts +58 -20
  11. package/dist/types/hooks/helpers/post-login-account-linking.d.ts +3 -2
  12. package/dist/types/index.d.ts +460 -240
  13. package/dist/types/routes/auth-api/index.d.ts +29 -29
  14. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  15. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  16. package/dist/types/routes/auth-api/token.d.ts +10 -10
  17. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  18. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  19. package/dist/types/routes/management-api/actions.d.ts +1 -1
  20. package/dist/types/routes/management-api/branding.d.ts +1 -1
  21. package/dist/types/routes/management-api/clients.d.ts +6 -6
  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 +18 -18
  25. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  26. package/dist/types/routes/management-api/forms.d.ts +126 -126
  27. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  28. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  29. package/dist/types/routes/management-api/index.d.ts +424 -204
  30. package/dist/types/routes/management-api/logs.d.ts +4 -4
  31. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  32. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  33. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  34. package/dist/types/routes/management-api/refresh_tokens.d.ts +7 -0
  35. package/dist/types/routes/management-api/roles.d.ts +1 -1
  36. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  37. package/dist/types/routes/management-api/tenants.d.ts +4 -4
  38. package/dist/types/routes/management-api/users.d.ts +148 -2
  39. package/dist/types/routes/universal-login/common.d.ts +6 -6
  40. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  41. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  42. package/dist/types/routes/universal-login/index.d.ts +2 -2
  43. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  45. package/dist/types/utils/jwks.d.ts +2 -2
  46. package/dist/types/utils/user-id.d.ts +19 -1
  47. package/package.json +6 -6
@@ -736,19 +736,19 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
736
736
  email: string;
737
737
  send: "code" | "link";
738
738
  authParams: {
739
+ username?: string | undefined;
740
+ organization?: string | undefined;
739
741
  audience?: string | undefined;
742
+ scope?: string | undefined;
740
743
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
741
744
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
742
- scope?: string | undefined;
743
- username?: string | undefined;
744
- organization?: string | undefined;
745
- redirect_uri?: string | undefined;
746
745
  state?: string | undefined;
746
+ code_challenge?: string | undefined;
747
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
+ redirect_uri?: string | undefined;
747
749
  nonce?: string | undefined;
748
750
  act_as?: string | undefined;
749
751
  prompt?: string | undefined;
750
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
- code_challenge?: string | undefined;
752
752
  ui_locales?: string | undefined;
753
753
  max_age?: number | undefined;
754
754
  acr_values?: string | undefined;
@@ -772,19 +772,19 @@ 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
+ organization?: string | undefined;
775
777
  audience?: string | undefined;
778
+ scope?: string | undefined;
776
779
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
777
780
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
778
- scope?: string | undefined;
779
- username?: string | undefined;
780
- organization?: string | undefined;
781
- redirect_uri?: string | undefined;
782
781
  state?: string | undefined;
782
+ code_challenge?: string | undefined;
783
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
+ redirect_uri?: string | undefined;
783
785
  nonce?: string | undefined;
784
786
  act_as?: string | undefined;
785
787
  prompt?: string | undefined;
786
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
- code_challenge?: string | undefined;
788
788
  ui_locales?: string | undefined;
789
789
  max_age?: number | undefined;
790
790
  acr_values?: 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?: "refresh_token" | "access_token" | undefined;
919
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
926
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
938
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
945
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
960
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
967
+ token_type_hint?: "access_token" | "refresh_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: "sms" | "email";
1017
+ realm: "email" | "sms";
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: "sms" | "email";
1064
+ realm: "email" | "sms";
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: "sms" | "email";
1116
+ realm: "email" | "sms";
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: "sms" | "email";
1163
+ realm: "email" | "sms";
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: "sms" | "email";
1223
+ realm: "email" | "sms";
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: "sms" | "email";
1270
+ realm: "email" | "sms";
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: "sms" | "email";
1325
+ realm: "email" | "sms";
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: "sms" | "email";
1372
+ realm: "email" | "sms";
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: "sms" | "email";
1427
+ realm: "email" | "sms";
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: "sms" | "email";
1474
+ realm: "email" | "sms";
1475
1475
  } | {
1476
1476
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1477
1477
  subject_token: string;
@@ -1500,7 +1500,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1500
1500
  output: {
1501
1501
  keys: {
1502
1502
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
1503
- kty: "RSA" | "EC" | "oct";
1503
+ kty: "EC" | "RSA" | "oct";
1504
1504
  kid?: string | undefined;
1505
1505
  use?: "sig" | "enc" | undefined;
1506
1506
  n?: string | undefined;
@@ -14,19 +14,19 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
+ username?: string | undefined;
18
+ organization?: string | undefined;
17
19
  audience?: string | undefined;
20
+ scope?: string | undefined;
18
21
  response_type?: AuthorizationResponseType | undefined;
19
22
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
- scope?: string | undefined;
21
- username?: string | undefined;
22
- organization?: string | undefined;
23
- redirect_uri?: string | undefined;
24
23
  state?: string | undefined;
24
+ code_challenge?: string | undefined;
25
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
26
+ redirect_uri?: string | undefined;
25
27
  nonce?: string | undefined;
26
28
  act_as?: string | undefined;
27
29
  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
+ username?: string | undefined;
54
+ organization?: string | undefined;
53
55
  audience?: string | undefined;
56
+ scope?: string | undefined;
54
57
  response_type?: AuthorizationResponseType | undefined;
55
58
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
- scope?: string | undefined;
57
- username?: string | undefined;
58
- organization?: string | undefined;
59
- redirect_uri?: string | undefined;
60
59
  state?: string | undefined;
60
+ code_challenge?: string | undefined;
61
+ code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
62
+ redirect_uri?: string | undefined;
61
63
  nonce?: string | undefined;
62
64
  act_as?: string | undefined;
63
65
  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;
@@ -9,14 +9,14 @@ export declare const revokeRoutes: OpenAPIHono<{
9
9
  input: {
10
10
  form: {
11
11
  token: string;
12
- token_type_hint?: "refresh_token" | "access_token" | undefined;
12
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
19
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
31
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
38
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
53
+ token_type_hint?: "access_token" | "refresh_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?: "refresh_token" | "access_token" | undefined;
60
+ token_type_hint?: "access_token" | "refresh_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: "sms" | "email";
43
+ realm: "email" | "sms";
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: "sms" | "email";
90
+ realm: "email" | "sms";
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: "sms" | "email";
142
+ realm: "email" | "sms";
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: "sms" | "email";
189
+ realm: "email" | "sms";
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: "sms" | "email";
249
+ realm: "email" | "sms";
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: "sms" | "email";
296
+ realm: "email" | "sms";
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: "sms" | "email";
351
+ realm: "email" | "sms";
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: "sms" | "email";
398
+ realm: "email" | "sms";
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: "sms" | "email";
453
+ realm: "email" | "sms";
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: "sms" | "email";
500
+ realm: "email" | "sms";
501
501
  } | {
502
502
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
503
503
  subject_token: string;
@@ -9,7 +9,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
9
9
  output: {
10
10
  keys: {
11
11
  alg: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512";
12
- kty: "RSA" | "EC" | "oct";
12
+ kty: "EC" | "RSA" | "oct";
13
13
  kid?: string | undefined;
14
14
  use?: "sig" | "enc" | undefined;
15
15
  n?: string | undefined;
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -663,7 +663,7 @@ export declare const actionsRoutes: OpenAPIHono<{
663
663
  args: import("hono/utils/types").JSONValue[];
664
664
  }[];
665
665
  logs: {
666
- level: "log" | "error" | "info" | "warn" | "debug";
666
+ level: "error" | "log" | "info" | "warn" | "debug";
667
667
  message: string;
668
668
  }[];
669
669
  error?: string | undefined;
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
412
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -912,7 +912,7 @@ export declare const clientRoutes: OpenAPIHono<{
912
912
  active?: boolean | undefined;
913
913
  } | undefined;
914
914
  signup?: {
915
- status?: "optional" | "required" | "disabled" | undefined;
915
+ status?: "required" | "optional" | "disabled" | undefined;
916
916
  verification?: {
917
917
  active?: boolean | undefined;
918
918
  } | undefined;
@@ -929,7 +929,7 @@ export declare const clientRoutes: OpenAPIHono<{
929
929
  active?: boolean | undefined;
930
930
  } | undefined;
931
931
  signup?: {
932
- status?: "optional" | "required" | "disabled" | undefined;
932
+ status?: "required" | "optional" | "disabled" | undefined;
933
933
  } | undefined;
934
934
  validation?: {
935
935
  max_length?: number | undefined;
@@ -946,7 +946,7 @@ export declare const clientRoutes: OpenAPIHono<{
946
946
  active?: boolean | undefined;
947
947
  } | undefined;
948
948
  signup?: {
949
- status?: "optional" | "required" | "disabled" | undefined;
949
+ status?: "required" | "optional" | "disabled" | undefined;
950
950
  } | undefined;
951
951
  } | undefined;
952
952
  } | undefined;
@@ -1070,7 +1070,7 @@ export declare const clientRoutes: OpenAPIHono<{
1070
1070
  active?: boolean | undefined;
1071
1071
  } | undefined;
1072
1072
  signup?: {
1073
- status?: "optional" | "required" | "disabled" | undefined;
1073
+ status?: "required" | "optional" | "disabled" | undefined;
1074
1074
  verification?: {
1075
1075
  active?: boolean | undefined;
1076
1076
  } | undefined;
@@ -1087,7 +1087,7 @@ export declare const clientRoutes: OpenAPIHono<{
1087
1087
  active?: boolean | undefined;
1088
1088
  } | undefined;
1089
1089
  signup?: {
1090
- status?: "optional" | "required" | "disabled" | undefined;
1090
+ status?: "required" | "optional" | "disabled" | undefined;
1091
1091
  } | undefined;
1092
1092
  validation?: {
1093
1093
  max_length?: number | undefined;
@@ -1104,7 +1104,7 @@ export declare const clientRoutes: OpenAPIHono<{
1104
1104
  active?: boolean | undefined;
1105
1105
  } | undefined;
1106
1106
  signup?: {
1107
- status?: "optional" | "required" | "disabled" | undefined;
1107
+ status?: "required" | "optional" | "disabled" | undefined;
1108
1108
  } | undefined;
1109
1109
  } | undefined;
1110
1110
  } | undefined;
@@ -86,7 +86,7 @@ export declare const connectionRoutes: OpenAPIHono<{
86
86
  active?: boolean | undefined;
87
87
  } | undefined;
88
88
  signup?: {
89
- status?: "optional" | "required" | "disabled" | undefined;
89
+ status?: "required" | "optional" | "disabled" | undefined;
90
90
  verification?: {
91
91
  active?: boolean | undefined;
92
92
  } | undefined;
@@ -103,7 +103,7 @@ export declare const connectionRoutes: OpenAPIHono<{
103
103
  active?: boolean | undefined;
104
104
  } | undefined;
105
105
  signup?: {
106
- status?: "optional" | "required" | "disabled" | undefined;
106
+ status?: "required" | "optional" | "disabled" | undefined;
107
107
  } | undefined;
108
108
  validation?: {
109
109
  max_length?: number | undefined;
@@ -120,7 +120,7 @@ export declare const connectionRoutes: OpenAPIHono<{
120
120
  active?: boolean | undefined;
121
121
  } | undefined;
122
122
  signup?: {
123
- status?: "optional" | "required" | "disabled" | undefined;
123
+ status?: "required" | "optional" | "disabled" | undefined;
124
124
  } | undefined;
125
125
  } | undefined;
126
126
  } | undefined;
@@ -224,7 +224,7 @@ export declare const connectionRoutes: OpenAPIHono<{
224
224
  active?: boolean | undefined;
225
225
  } | undefined;
226
226
  signup?: {
227
- status?: "optional" | "required" | "disabled" | undefined;
227
+ status?: "required" | "optional" | "disabled" | undefined;
228
228
  verification?: {
229
229
  active?: boolean | undefined;
230
230
  } | undefined;
@@ -241,7 +241,7 @@ export declare const connectionRoutes: OpenAPIHono<{
241
241
  active?: boolean | undefined;
242
242
  } | undefined;
243
243
  signup?: {
244
- status?: "optional" | "required" | "disabled" | undefined;
244
+ status?: "required" | "optional" | "disabled" | undefined;
245
245
  } | undefined;
246
246
  validation?: {
247
247
  max_length?: number | undefined;
@@ -258,7 +258,7 @@ export declare const connectionRoutes: OpenAPIHono<{
258
258
  active?: boolean | undefined;
259
259
  } | undefined;
260
260
  signup?: {
261
- status?: "optional" | "required" | "disabled" | undefined;
261
+ status?: "required" | "optional" | "disabled" | undefined;
262
262
  } | undefined;
263
263
  } | undefined;
264
264
  } | undefined;
@@ -378,7 +378,7 @@ export declare const connectionRoutes: OpenAPIHono<{
378
378
  active?: boolean | undefined;
379
379
  } | undefined;
380
380
  signup?: {
381
- status?: "optional" | "required" | "disabled" | undefined;
381
+ status?: "required" | "optional" | "disabled" | undefined;
382
382
  verification?: {
383
383
  active?: boolean | undefined;
384
384
  } | undefined;
@@ -395,7 +395,7 @@ export declare const connectionRoutes: OpenAPIHono<{
395
395
  active?: boolean | undefined;
396
396
  } | undefined;
397
397
  signup?: {
398
- status?: "optional" | "required" | "disabled" | undefined;
398
+ status?: "required" | "optional" | "disabled" | undefined;
399
399
  } | undefined;
400
400
  validation?: {
401
401
  max_length?: number | undefined;
@@ -412,7 +412,7 @@ export declare const connectionRoutes: OpenAPIHono<{
412
412
  active?: boolean | undefined;
413
413
  } | undefined;
414
414
  signup?: {
415
- status?: "optional" | "required" | "disabled" | undefined;
415
+ status?: "required" | "optional" | "disabled" | undefined;
416
416
  } | undefined;
417
417
  } | undefined;
418
418
  } | 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?: "required" | "optional" | "disabled" | undefined;
565
565
  verification?: {
566
566
  active?: boolean | undefined;
567
567
  } | 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?: "required" | "optional" | "disabled" | undefined;
582
582
  } | undefined;
583
583
  validation?: {
584
584
  max_length?: number | undefined;
@@ -595,7 +595,7 @@ export declare const connectionRoutes: OpenAPIHono<{
595
595
  active?: boolean | undefined;
596
596
  } | undefined;
597
597
  signup?: {
598
- status?: "optional" | "required" | "disabled" | undefined;
598
+ status?: "required" | "optional" | "disabled" | undefined;
599
599
  } | undefined;
600
600
  } | undefined;
601
601
  } | undefined;
@@ -723,7 +723,7 @@ export declare const connectionRoutes: OpenAPIHono<{
723
723
  active?: boolean | undefined;
724
724
  } | undefined;
725
725
  signup?: {
726
- status?: "optional" | "required" | "disabled" | undefined;
726
+ status?: "required" | "optional" | "disabled" | undefined;
727
727
  verification?: {
728
728
  active?: boolean | undefined;
729
729
  } | undefined;
@@ -740,7 +740,7 @@ export declare const connectionRoutes: OpenAPIHono<{
740
740
  active?: boolean | undefined;
741
741
  } | undefined;
742
742
  signup?: {
743
- status?: "optional" | "required" | "disabled" | undefined;
743
+ status?: "required" | "optional" | "disabled" | undefined;
744
744
  } | undefined;
745
745
  validation?: {
746
746
  max_length?: number | undefined;
@@ -757,7 +757,7 @@ export declare const connectionRoutes: OpenAPIHono<{
757
757
  active?: boolean | undefined;
758
758
  } | undefined;
759
759
  signup?: {
760
- status?: "optional" | "required" | "disabled" | undefined;
760
+ status?: "required" | "optional" | "disabled" | undefined;
761
761
  } | undefined;
762
762
  } | undefined;
763
763
  } | undefined;
@@ -873,7 +873,7 @@ export declare const connectionRoutes: OpenAPIHono<{
873
873
  };
874
874
  } | {
875
875
  mode: "inline";
876
- status: "success" | "error";
876
+ status: "error" | "success";
877
877
  connection_id: string;
878
878
  connection_name: string;
879
879
  strategy: string;