authhero 8.16.0 → 8.17.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 (36) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +100 -100
  3. package/dist/authhero.d.ts +132 -130
  4. package/dist/authhero.mjs +9256 -9203
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  7. package/dist/types/helpers/logging.d.ts +11 -0
  8. package/dist/types/index.d.ts +132 -130
  9. package/dist/types/routes/auth-api/authorize.d.ts +14 -14
  10. package/dist/types/routes/auth-api/index.d.ts +51 -51
  11. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  12. package/dist/types/routes/auth-api/passwordless.d.ts +2 -2
  13. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  14. package/dist/types/routes/management-api/actions.d.ts +1 -1
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +7 -7
  17. package/dist/types/routes/management-api/clients.d.ts +6 -6
  18. package/dist/types/routes/management-api/connections.d.ts +16 -16
  19. package/dist/types/routes/management-api/failed-events.d.ts +3 -1
  20. package/dist/types/routes/management-api/forms.d.ts +126 -126
  21. package/dist/types/routes/management-api/index.d.ts +181 -179
  22. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  23. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  24. package/dist/types/routes/management-api/organizations.d.ts +3 -3
  25. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  26. package/dist/types/routes/management-api/tenants.d.ts +34 -34
  27. package/dist/types/routes/management-api/themes.d.ts +3 -3
  28. package/dist/types/routes/universal-login/common.d.ts +8 -8
  29. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  30. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  31. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  32. package/dist/types/routes/universal-login/index.d.ts +6 -6
  33. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  34. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  35. package/dist/types/utils/username-password-provider.d.ts +1 -10
  36. package/package.json +5 -5
@@ -71,9 +71,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
71
71
  request_uri?: string | undefined;
72
72
  };
73
73
  };
74
- output: {};
75
- outputFormat: string;
76
- status: 302;
74
+ output: string | {
75
+ access_token: string;
76
+ token_type: string;
77
+ expires_in: number;
78
+ id_token?: string | undefined;
79
+ scope?: string | undefined;
80
+ state?: string | undefined;
81
+ refresh_token?: string | undefined;
82
+ };
83
+ outputFormat: "json";
84
+ status: 200;
77
85
  } | {
78
86
  input: {
79
87
  query: {
@@ -105,17 +113,9 @@ export declare const authorizeRoutes: OpenAPIHono<{
105
113
  request_uri?: string | undefined;
106
114
  };
107
115
  };
108
- output: string | {
109
- access_token: string;
110
- token_type: string;
111
- expires_in: number;
112
- id_token?: string | undefined;
113
- scope?: string | undefined;
114
- state?: string | undefined;
115
- refresh_token?: string | undefined;
116
- };
117
- outputFormat: "json";
118
- status: 200;
116
+ output: {};
117
+ outputFormat: string;
118
+ status: 302;
119
119
  } | {
120
120
  input: {
121
121
  query: {
@@ -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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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;
@@ -447,7 +447,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
447
447
  client_id: string;
448
448
  redirect_url?: string | undefined;
449
449
  login_hint?: string | undefined;
450
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
450
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
451
451
  };
452
452
  };
453
453
  output: {};
@@ -459,7 +459,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
459
459
  client_id: string;
460
460
  redirect_url?: string | undefined;
461
461
  login_hint?: string | undefined;
462
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
462
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
463
463
  };
464
464
  };
465
465
  output: {
@@ -536,9 +536,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
536
536
  request_uri?: string | undefined;
537
537
  };
538
538
  };
539
- output: {};
540
- outputFormat: string;
541
- status: 302;
539
+ output: string | {
540
+ access_token: string;
541
+ token_type: string;
542
+ expires_in: number;
543
+ id_token?: string | undefined;
544
+ scope?: string | undefined;
545
+ state?: string | undefined;
546
+ refresh_token?: string | undefined;
547
+ };
548
+ outputFormat: "json";
549
+ status: 200;
542
550
  } | {
543
551
  input: {
544
552
  query: {
@@ -570,17 +578,9 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
570
578
  request_uri?: string | undefined;
571
579
  };
572
580
  };
573
- output: string | {
574
- access_token: string;
575
- token_type: string;
576
- expires_in: number;
577
- id_token?: string | undefined;
578
- scope?: string | undefined;
579
- state?: string | undefined;
580
- refresh_token?: string | undefined;
581
- };
582
- outputFormat: "json";
583
- status: 200;
581
+ output: {};
582
+ outputFormat: string;
583
+ status: 302;
584
584
  } | {
585
585
  input: {
586
586
  query: {
@@ -736,22 +736,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
736
736
  email: string;
737
737
  send: "code" | "link";
738
738
  authParams: {
739
- username?: string | undefined;
739
+ vendor_id?: string | undefined;
740
+ redirect_uri?: string | undefined;
741
+ scope?: string | undefined;
740
742
  state?: string | undefined;
741
- audience?: string | undefined;
742
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
743
+ prompt?: string | undefined;
743
744
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
744
- scope?: string | undefined;
745
- organization?: string | undefined;
745
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
746
+ audience?: string | undefined;
746
747
  nonce?: string | undefined;
747
- act_as?: string | undefined;
748
- redirect_uri?: string | undefined;
749
- prompt?: string | undefined;
748
+ max_age?: number | undefined;
749
+ acr_values?: string | undefined;
750
750
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
751
  code_challenge?: string | undefined;
752
+ organization?: string | undefined;
752
753
  ui_locales?: string | undefined;
753
- max_age?: number | undefined;
754
- acr_values?: string | undefined;
755
754
  claims?: {
756
755
  userinfo?: Record<string, {
757
756
  essential?: boolean | undefined;
@@ -764,7 +763,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
764
763
  values?: unknown[] | undefined;
765
764
  } | null> | undefined;
766
765
  } | undefined;
767
- vendor_id?: string | undefined;
766
+ act_as?: string | undefined;
767
+ username?: string | undefined;
768
768
  };
769
769
  } | {
770
770
  client_id: string;
@@ -772,22 +772,21 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
772
772
  phone_number: string;
773
773
  send: "code" | "link";
774
774
  authParams: {
775
- username?: string | undefined;
775
+ vendor_id?: string | undefined;
776
+ redirect_uri?: string | undefined;
777
+ scope?: string | undefined;
776
778
  state?: string | undefined;
777
- audience?: string | undefined;
778
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
779
+ prompt?: string | undefined;
779
780
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
780
- scope?: string | undefined;
781
- organization?: string | undefined;
781
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
782
+ audience?: string | undefined;
782
783
  nonce?: string | undefined;
783
- act_as?: string | undefined;
784
- redirect_uri?: string | undefined;
785
- prompt?: string | undefined;
784
+ max_age?: number | undefined;
785
+ acr_values?: string | undefined;
786
786
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
787
  code_challenge?: string | undefined;
788
+ organization?: string | undefined;
788
789
  ui_locales?: string | undefined;
789
- max_age?: number | undefined;
790
- acr_values?: string | undefined;
791
790
  claims?: {
792
791
  userinfo?: Record<string, {
793
792
  essential?: boolean | undefined;
@@ -800,7 +799,8 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
800
799
  values?: unknown[] | undefined;
801
800
  } | null> | undefined;
802
801
  } | undefined;
803
- vendor_id?: string | undefined;
802
+ act_as?: string | undefined;
803
+ username?: string | undefined;
804
804
  };
805
805
  };
806
806
  };
@@ -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
  };
@@ -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: 403;
1392
1392
  } | {
1393
1393
  input: {
1394
1394
  form: {
@@ -1490,7 +1490,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1490
1490
  error_description?: string | undefined;
1491
1491
  };
1492
1492
  outputFormat: "json";
1493
- status: 403;
1493
+ status: 401;
1494
1494
  };
1495
1495
  };
1496
1496
  }, "/oauth/token"> & import("hono/types").MergeSchemaPath<{
@@ -1689,7 +1689,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1689
1689
  };
1690
1690
  output: {};
1691
1691
  outputFormat: string;
1692
- status: 200;
1692
+ status: 302;
1693
1693
  } | {
1694
1694
  input: {
1695
1695
  query: {
@@ -1703,7 +1703,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1703
1703
  };
1704
1704
  output: {};
1705
1705
  outputFormat: string;
1706
- status: 400;
1706
+ status: 200;
1707
1707
  } | {
1708
1708
  input: {
1709
1709
  query: {
@@ -1717,7 +1717,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1717
1717
  };
1718
1718
  output: {};
1719
1719
  outputFormat: string;
1720
- status: 302;
1720
+ status: 400;
1721
1721
  };
1722
1722
  };
1723
1723
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 400;
35
+ status: 302;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 302;
49
+ status: 400;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -14,9 +14,9 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
+ audience?: string | undefined;
17
18
  username?: string | undefined;
18
19
  state?: string | undefined;
19
- audience?: string | undefined;
20
20
  response_type?: AuthorizationResponseType | undefined;
21
21
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
22
22
  scope?: string | undefined;
@@ -50,9 +50,9 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
+ audience?: string | undefined;
53
54
  username?: string | undefined;
54
55
  state?: string | undefined;
55
- audience?: string | undefined;
56
56
  response_type?: AuthorizationResponseType | undefined;
57
57
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
58
58
  scope?: string | undefined;
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "pending" | "suspended" | "unspecified" | "final" | "partial" | "canceled";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "log" | "info" | "warn" | "debug";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "error" | "log" | "info" | "warn" | "debug";
664
+ level: "log" | "error" | "info" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
40
+ type: "email" | "push" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
41
41
  phone_number?: string | undefined;
42
42
  totp_secret?: string | undefined;
43
43
  credential_id?: string | undefined;
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
78
78
  background_color: string;
79
79
  background_image_url: string;
80
80
  page_layout: "center" | "left" | "right";
81
- logo_placement?: "none" | "widget" | "chip" | undefined;
81
+ logo_placement?: "widget" | "none" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
168
168
  background_color: string;
169
169
  background_image_url: string;
170
170
  page_layout: "center" | "left" | "right";
171
- logo_placement?: "none" | "widget" | "chip" | undefined;
171
+ logo_placement?: "widget" | "none" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
247
247
  background_color: string;
248
248
  background_image_url: string;
249
249
  page_layout: "center" | "left" | "right";
250
- logo_placement?: "none" | "widget" | "chip" | undefined;
250
+ logo_placement?: "widget" | "none" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
370
370
  };
371
371
  output: {};
372
372
  outputFormat: string;
373
- status: 400;
373
+ status: 204;
374
374
  } | {
375
375
  input: {
376
376
  header: {
@@ -383,7 +383,7 @@ export declare const brandingRoutes: OpenAPIHono<{
383
383
  };
384
384
  output: {};
385
385
  outputFormat: string;
386
- status: 204;
386
+ status: 400;
387
387
  };
388
388
  };
389
389
  } & {
@@ -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?: "password" | "signup" | "login" | "identifier" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -495,7 +495,7 @@ export declare const brandingRoutes: OpenAPIHono<{
495
495
  background_color: string;
496
496
  background_image_url: string;
497
497
  page_layout: "center" | "left" | "right";
498
- logo_placement?: "none" | "widget" | "chip" | undefined;
498
+ logo_placement?: "widget" | "none" | "chip" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
@@ -760,7 +760,7 @@ export declare const clientRoutes: OpenAPIHono<{
760
760
  active?: boolean | undefined;
761
761
  } | undefined;
762
762
  signup?: {
763
- status?: "required" | "optional" | "disabled" | undefined;
763
+ status?: "optional" | "disabled" | "required" | undefined;
764
764
  verification?: {
765
765
  active?: boolean | undefined;
766
766
  } | undefined;
@@ -777,7 +777,7 @@ export declare const clientRoutes: OpenAPIHono<{
777
777
  active?: boolean | undefined;
778
778
  } | undefined;
779
779
  signup?: {
780
- status?: "required" | "optional" | "disabled" | undefined;
780
+ status?: "optional" | "disabled" | "required" | undefined;
781
781
  } | undefined;
782
782
  validation?: {
783
783
  max_length?: number | undefined;
@@ -794,7 +794,7 @@ export declare const clientRoutes: OpenAPIHono<{
794
794
  active?: boolean | undefined;
795
795
  } | undefined;
796
796
  signup?: {
797
- status?: "required" | "optional" | "disabled" | undefined;
797
+ status?: "optional" | "disabled" | "required" | undefined;
798
798
  } | undefined;
799
799
  } | undefined;
800
800
  } | undefined;
@@ -914,7 +914,7 @@ export declare const clientRoutes: OpenAPIHono<{
914
914
  active?: boolean | undefined;
915
915
  } | undefined;
916
916
  signup?: {
917
- status?: "required" | "optional" | "disabled" | undefined;
917
+ status?: "optional" | "disabled" | "required" | undefined;
918
918
  verification?: {
919
919
  active?: boolean | undefined;
920
920
  } | undefined;
@@ -931,7 +931,7 @@ export declare const clientRoutes: OpenAPIHono<{
931
931
  active?: boolean | undefined;
932
932
  } | undefined;
933
933
  signup?: {
934
- status?: "required" | "optional" | "disabled" | undefined;
934
+ status?: "optional" | "disabled" | "required" | undefined;
935
935
  } | undefined;
936
936
  validation?: {
937
937
  max_length?: number | undefined;
@@ -948,7 +948,7 @@ export declare const clientRoutes: OpenAPIHono<{
948
948
  active?: boolean | undefined;
949
949
  } | undefined;
950
950
  signup?: {
951
- status?: "required" | "optional" | "disabled" | undefined;
951
+ status?: "optional" | "disabled" | "required" | undefined;
952
952
  } | undefined;
953
953
  } | undefined;
954
954
  } | undefined;
@@ -82,7 +82,7 @@ export declare const connectionRoutes: OpenAPIHono<{
82
82
  active?: boolean | undefined;
83
83
  } | undefined;
84
84
  signup?: {
85
- status?: "required" | "optional" | "disabled" | undefined;
85
+ status?: "optional" | "disabled" | "required" | undefined;
86
86
  verification?: {
87
87
  active?: boolean | undefined;
88
88
  } | undefined;
@@ -99,7 +99,7 @@ export declare const connectionRoutes: OpenAPIHono<{
99
99
  active?: boolean | undefined;
100
100
  } | undefined;
101
101
  signup?: {
102
- status?: "required" | "optional" | "disabled" | undefined;
102
+ status?: "optional" | "disabled" | "required" | undefined;
103
103
  } | undefined;
104
104
  validation?: {
105
105
  max_length?: number | undefined;
@@ -116,7 +116,7 @@ export declare const connectionRoutes: OpenAPIHono<{
116
116
  active?: boolean | undefined;
117
117
  } | undefined;
118
118
  signup?: {
119
- status?: "required" | "optional" | "disabled" | undefined;
119
+ status?: "optional" | "disabled" | "required" | undefined;
120
120
  } | undefined;
121
121
  } | undefined;
122
122
  } | undefined;
@@ -216,7 +216,7 @@ export declare const connectionRoutes: OpenAPIHono<{
216
216
  active?: boolean | undefined;
217
217
  } | undefined;
218
218
  signup?: {
219
- status?: "required" | "optional" | "disabled" | undefined;
219
+ status?: "optional" | "disabled" | "required" | undefined;
220
220
  verification?: {
221
221
  active?: boolean | undefined;
222
222
  } | undefined;
@@ -233,7 +233,7 @@ export declare const connectionRoutes: OpenAPIHono<{
233
233
  active?: boolean | undefined;
234
234
  } | undefined;
235
235
  signup?: {
236
- status?: "required" | "optional" | "disabled" | undefined;
236
+ status?: "optional" | "disabled" | "required" | undefined;
237
237
  } | undefined;
238
238
  validation?: {
239
239
  max_length?: number | undefined;
@@ -250,7 +250,7 @@ export declare const connectionRoutes: OpenAPIHono<{
250
250
  active?: boolean | undefined;
251
251
  } | undefined;
252
252
  signup?: {
253
- status?: "required" | "optional" | "disabled" | undefined;
253
+ status?: "optional" | "disabled" | "required" | undefined;
254
254
  } | undefined;
255
255
  } | undefined;
256
256
  } | undefined;
@@ -365,7 +365,7 @@ export declare const connectionRoutes: OpenAPIHono<{
365
365
  active?: boolean | undefined;
366
366
  } | undefined;
367
367
  signup?: {
368
- status?: "required" | "optional" | "disabled" | undefined;
368
+ status?: "optional" | "disabled" | "required" | undefined;
369
369
  verification?: {
370
370
  active?: boolean | undefined;
371
371
  } | undefined;
@@ -382,7 +382,7 @@ export declare const connectionRoutes: OpenAPIHono<{
382
382
  active?: boolean | undefined;
383
383
  } | undefined;
384
384
  signup?: {
385
- status?: "required" | "optional" | "disabled" | undefined;
385
+ status?: "optional" | "disabled" | "required" | undefined;
386
386
  } | undefined;
387
387
  validation?: {
388
388
  max_length?: number | undefined;
@@ -399,7 +399,7 @@ export declare const connectionRoutes: OpenAPIHono<{
399
399
  active?: boolean | undefined;
400
400
  } | undefined;
401
401
  signup?: {
402
- status?: "required" | "optional" | "disabled" | undefined;
402
+ status?: "optional" | "disabled" | "required" | undefined;
403
403
  } | undefined;
404
404
  } | undefined;
405
405
  } | undefined;
@@ -544,7 +544,7 @@ export declare const connectionRoutes: OpenAPIHono<{
544
544
  active?: boolean | undefined;
545
545
  } | undefined;
546
546
  signup?: {
547
- status?: "required" | "optional" | "disabled" | undefined;
547
+ status?: "optional" | "disabled" | "required" | undefined;
548
548
  verification?: {
549
549
  active?: boolean | undefined;
550
550
  } | undefined;
@@ -561,7 +561,7 @@ export declare const connectionRoutes: OpenAPIHono<{
561
561
  active?: boolean | undefined;
562
562
  } | undefined;
563
563
  signup?: {
564
- status?: "required" | "optional" | "disabled" | undefined;
564
+ status?: "optional" | "disabled" | "required" | undefined;
565
565
  } | undefined;
566
566
  validation?: {
567
567
  max_length?: number | undefined;
@@ -578,7 +578,7 @@ export declare const connectionRoutes: OpenAPIHono<{
578
578
  active?: boolean | undefined;
579
579
  } | undefined;
580
580
  signup?: {
581
- status?: "required" | "optional" | "disabled" | undefined;
581
+ status?: "optional" | "disabled" | "required" | undefined;
582
582
  } | undefined;
583
583
  } | undefined;
584
584
  } | undefined;
@@ -702,7 +702,7 @@ export declare const connectionRoutes: OpenAPIHono<{
702
702
  active?: boolean | undefined;
703
703
  } | undefined;
704
704
  signup?: {
705
- status?: "required" | "optional" | "disabled" | undefined;
705
+ status?: "optional" | "disabled" | "required" | undefined;
706
706
  verification?: {
707
707
  active?: boolean | undefined;
708
708
  } | undefined;
@@ -719,7 +719,7 @@ export declare const connectionRoutes: OpenAPIHono<{
719
719
  active?: boolean | undefined;
720
720
  } | undefined;
721
721
  signup?: {
722
- status?: "required" | "optional" | "disabled" | undefined;
722
+ status?: "optional" | "disabled" | "required" | undefined;
723
723
  } | undefined;
724
724
  validation?: {
725
725
  max_length?: number | undefined;
@@ -736,7 +736,7 @@ export declare const connectionRoutes: OpenAPIHono<{
736
736
  active?: boolean | undefined;
737
737
  } | undefined;
738
738
  signup?: {
739
- status?: "required" | "optional" | "disabled" | undefined;
739
+ status?: "optional" | "disabled" | "required" | undefined;
740
740
  } | undefined;
741
741
  } | undefined;
742
742
  } | undefined;
@@ -852,7 +852,7 @@ export declare const connectionRoutes: OpenAPIHono<{
852
852
  };
853
853
  } | {
854
854
  mode: "inline";
855
- status: "success" | "error";
855
+ status: "error" | "success";
856
856
  connection_id: string;
857
857
  connection_name: string;
858
858
  strategy: string;