authhero 9.6.0 → 9.6.3

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/authhero.cjs +154 -140
  2. package/dist/authhero.d.ts +77 -77
  3. package/dist/authhero.mjs +12932 -12792
  4. package/dist/tsconfig.types.tsbuildinfo +1 -1
  5. package/dist/types/authentication-flows/password.d.ts +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +6 -6
  7. package/dist/types/helpers/users.d.ts +53 -0
  8. package/dist/types/hooks/addDataHooks.d.ts +6 -0
  9. package/dist/types/index.d.ts +77 -77
  10. package/dist/types/routes/auth-api/index.d.ts +13 -13
  11. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  12. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  13. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  14. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  15. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  16. package/dist/types/routes/management-api/actions.d.ts +1 -1
  17. package/dist/types/routes/management-api/branding.d.ts +3 -3
  18. package/dist/types/routes/management-api/clients.d.ts +14 -14
  19. package/dist/types/routes/management-api/connections.d.ts +15 -15
  20. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  21. package/dist/types/routes/management-api/index.d.ts +49 -49
  22. package/dist/types/routes/management-api/logs.d.ts +4 -4
  23. package/dist/types/routes/management-api/organizations.d.ts +4 -4
  24. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  25. package/dist/types/routes/management-api/tenants.d.ts +29 -29
  26. package/dist/types/routes/management-api/users.d.ts +2 -2
  27. package/dist/types/routes/universal-login/common.d.ts +8 -8
  28. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  29. package/dist/types/routes/universal-login/identifier.d.ts +4 -4
  30. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  31. package/dist/types/routes/universal-login/index.d.ts +8 -8
  32. package/dist/types/routes/universal-login/u2-index.d.ts +7 -7
  33. package/dist/types/routes/universal-login/u2-routes.d.ts +7 -7
  34. package/dist/types/utils/email.d.ts +14 -0
  35. package/dist/types/utils/jwks.d.ts +2 -2
  36. package/package.json +3 -3
@@ -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;
@@ -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
- 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;
743
+ username?: string | undefined;
745
744
  organization?: string | undefined;
746
745
  redirect_uri?: string | undefined;
747
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
748
- code_challenge?: string | undefined;
746
+ state?: string | undefined;
749
747
  nonce?: string | undefined;
750
748
  act_as?: string | undefined;
751
749
  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
- 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;
779
+ username?: string | undefined;
781
780
  organization?: string | undefined;
782
781
  redirect_uri?: string | undefined;
783
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
784
- code_challenge?: string | undefined;
782
+ state?: string | undefined;
785
783
  nonce?: string | undefined;
786
784
  act_as?: string | undefined;
787
785
  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;
@@ -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: "EC" | "RSA" | "oct";
1503
+ kty: "RSA" | "EC" | "oct";
1504
1504
  kid?: string | undefined;
1505
1505
  use?: "sig" | "enc" | undefined;
1506
1506
  n?: string | undefined;
@@ -1707,7 +1707,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1707
1707
  };
1708
1708
  output: {};
1709
1709
  outputFormat: string;
1710
- status: 400;
1710
+ status: 302;
1711
1711
  } | {
1712
1712
  input: {
1713
1713
  query: {
@@ -1721,7 +1721,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1721
1721
  };
1722
1722
  output: {};
1723
1723
  outputFormat: string;
1724
- status: 302;
1724
+ status: 400;
1725
1725
  };
1726
1726
  };
1727
1727
  }, "/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,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
- 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;
21
+ username?: string | undefined;
23
22
  organization?: string | undefined;
24
23
  redirect_uri?: string | undefined;
25
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
26
- code_challenge?: string | undefined;
24
+ state?: string | undefined;
27
25
  nonce?: string | undefined;
28
26
  act_as?: string | undefined;
29
27
  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
- 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;
57
+ username?: string | undefined;
59
58
  organization?: string | undefined;
60
59
  redirect_uri?: string | undefined;
61
- code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
62
- code_challenge?: string | undefined;
60
+ state?: string | undefined;
63
61
  nonce?: string | undefined;
64
62
  act_as?: string | undefined;
65
63
  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;
@@ -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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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;
@@ -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: "EC" | "RSA" | "oct";
12
+ kty: "RSA" | "EC" | "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: "error" | "log" | "info" | "warn" | "debug";
81
+ level: "log" | "error" | "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: "error" | "log" | "info" | "warn" | "debug";
666
+ level: "log" | "error" | "info" | "warn" | "debug";
667
667
  message: string;
668
668
  }[];
669
669
  error?: string | undefined;
@@ -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?: "identifier" | "signup" | "password" | "login" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "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?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
790
790
  client_metadata?: {
791
791
  [x: string]: string;
792
792
  } | undefined;
@@ -912,7 +912,7 @@ export declare const clientRoutes: OpenAPIHono<{
912
912
  active?: boolean | undefined;
913
913
  } | undefined;
914
914
  signup?: {
915
- status?: "required" | "optional" | "disabled" | undefined;
915
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
932
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
949
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
1073
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
1090
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
1107
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
89
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
106
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
123
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
227
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
244
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
261
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
381
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
398
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
415
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
564
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
581
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
598
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
726
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
743
+ status?: "optional" | "required" | "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?: "required" | "optional" | "disabled" | undefined;
760
+ status?: "optional" | "required" | "disabled" | undefined;
761
761
  } | undefined;
762
762
  } | undefined;
763
763
  } | undefined;
@@ -30,7 +30,7 @@ export declare const failedEventsRoutes: OpenAPIHono<{
30
30
  log_type: string;
31
31
  category: "user_action" | "admin_action" | "system" | "api";
32
32
  actor: {
33
- type: "user" | "client_credentials" | "system" | "admin" | "api_key";
33
+ type: "client_credentials" | "user" | "system" | "admin" | "api_key";
34
34
  id?: string | undefined;
35
35
  email?: string | undefined;
36
36
  org_id?: string | undefined;