authhero 9.20.0 → 9.21.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 (49) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/p-dc0662ad.entry.js +1 -0
  3. package/dist/authhero.cjs +115 -115
  4. package/dist/authhero.d.ts +203 -187
  5. package/dist/authhero.mjs +13154 -13072
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/auth0-migration.d.ts +2 -2
  8. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  9. package/dist/types/generated/locale-types.d.ts +1 -0
  10. package/dist/types/helpers/request-data.d.ts +9 -0
  11. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  12. package/dist/types/index.d.ts +195 -187
  13. package/dist/types/routes/auth-api/account.d.ts +2 -2
  14. package/dist/types/routes/auth-api/index.d.ts +8 -8
  15. package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
  16. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  17. package/dist/types/routes/auth-api/token.d.ts +10 -10
  18. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  19. package/dist/types/routes/management-api/actions.d.ts +1 -1
  20. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  21. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  22. package/dist/types/routes/management-api/clients.d.ts +14 -14
  23. package/dist/types/routes/management-api/connections.d.ts +7 -7
  24. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  25. package/dist/types/routes/management-api/flows.d.ts +7 -7
  26. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  27. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  28. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  29. package/dist/types/routes/management-api/index.d.ts +176 -168
  30. package/dist/types/routes/management-api/keys.d.ts +12 -12
  31. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  32. package/dist/types/routes/management-api/logs.d.ts +4 -4
  33. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  34. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  35. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  36. package/dist/types/routes/management-api/roles.d.ts +10 -2
  37. package/dist/types/routes/management-api/tenant-operations.d.ts +1 -1
  38. package/dist/types/routes/management-api/tenants.d.ts +5 -5
  39. package/dist/types/routes/management-api/themes.d.ts +6 -6
  40. package/dist/types/routes/management-api/users.d.ts +12 -12
  41. package/dist/types/routes/universal-login/common.d.ts +12 -12
  42. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  43. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  44. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  45. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  46. package/dist/types/types/AuthError.d.ts +1 -1
  47. package/dist/types/types/Variables.d.ts +8 -0
  48. package/package.json +6 -6
  49. package/dist/assets/u/widget/p-36898e2d.entry.js +0 -1
@@ -11,7 +11,7 @@ export declare const accountRoutes: OpenAPIHono<{
11
11
  client_id: string;
12
12
  redirect_url?: string | undefined;
13
13
  login_hint?: string | undefined;
14
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
14
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
15
15
  };
16
16
  };
17
17
  output: {};
@@ -23,7 +23,7 @@ export declare const accountRoutes: OpenAPIHono<{
23
23
  client_id: string;
24
24
  redirect_url?: string | undefined;
25
25
  login_hint?: string | undefined;
26
- screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
26
+ screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
27
27
  };
28
28
  };
29
29
  output: {
@@ -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" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
304
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
393
+ token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
450
+ screen_hint?: "change-email" | "account" | "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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
462
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
463
463
  };
464
464
  };
465
465
  output: {
@@ -739,12 +739,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  connection: "email";
740
740
  client_id: string;
741
741
  email: string;
742
- send: "link" | "code";
742
+ send: "code" | "link";
743
743
  authParams: {
744
- username?: string | undefined;
745
744
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
746
745
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
747
746
  scope?: string | undefined;
747
+ username?: string | undefined;
748
748
  audience?: string | undefined;
749
749
  state?: string | undefined;
750
750
  act_as?: string | undefined;
@@ -775,12 +775,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  client_id: string;
776
776
  connection: "sms";
777
777
  phone_number: string;
778
- send: "link" | "code";
778
+ send: "code" | "link";
779
779
  authParams: {
780
- username?: string | undefined;
781
780
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
782
781
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
783
782
  scope?: string | undefined;
783
+ username?: string | undefined;
784
784
  audience?: string | undefined;
785
785
  state?: string | undefined;
786
786
  act_as?: string | undefined;
@@ -12,12 +12,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "link" | "code";
15
+ send: "code" | "link";
16
16
  authParams: {
17
- username?: string | undefined;
18
17
  response_type?: AuthorizationResponseType | undefined;
19
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
19
  scope?: string | undefined;
20
+ username?: string | undefined;
21
21
  audience?: string | undefined;
22
22
  state?: string | undefined;
23
23
  act_as?: string | undefined;
@@ -48,12 +48,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "link" | "code";
51
+ send: "code" | "link";
52
52
  authParams: {
53
- username?: string | undefined;
54
53
  response_type?: AuthorizationResponseType | undefined;
55
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
55
  scope?: string | undefined;
56
+ username?: string | undefined;
57
57
  audience?: string | undefined;
58
58
  state?: string | undefined;
59
59
  act_as?: 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" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
21
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_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" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
110
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -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
  scope?: string | undefined;
45
45
  audience?: string | undefined;
46
46
  } | {
@@ -100,7 +100,7 @@ export declare const tokenRoutes: OpenAPIHono<{
100
100
  client_id: string;
101
101
  username: string;
102
102
  otp: string;
103
- realm: "sms" | "email";
103
+ realm: "email" | "sms";
104
104
  scope?: string | undefined;
105
105
  audience?: string | undefined;
106
106
  } | {
@@ -165,7 +165,7 @@ export declare const tokenRoutes: OpenAPIHono<{
165
165
  client_id: string;
166
166
  username: string;
167
167
  otp: string;
168
- realm: "sms" | "email";
168
+ realm: "email" | "sms";
169
169
  scope?: string | undefined;
170
170
  audience?: string | undefined;
171
171
  } | {
@@ -225,7 +225,7 @@ export declare const tokenRoutes: OpenAPIHono<{
225
225
  client_id: string;
226
226
  username: string;
227
227
  otp: string;
228
- realm: "sms" | "email";
228
+ realm: "email" | "sms";
229
229
  scope?: string | undefined;
230
230
  audience?: string | undefined;
231
231
  } | {
@@ -298,7 +298,7 @@ export declare const tokenRoutes: OpenAPIHono<{
298
298
  client_id: string;
299
299
  username: string;
300
300
  otp: string;
301
- realm: "sms" | "email";
301
+ realm: "email" | "sms";
302
302
  scope?: string | undefined;
303
303
  audience?: string | undefined;
304
304
  } | {
@@ -358,7 +358,7 @@ export declare const tokenRoutes: OpenAPIHono<{
358
358
  client_id: string;
359
359
  username: string;
360
360
  otp: string;
361
- realm: "sms" | "email";
361
+ realm: "email" | "sms";
362
362
  scope?: string | undefined;
363
363
  audience?: string | undefined;
364
364
  } | {
@@ -426,7 +426,7 @@ export declare const tokenRoutes: OpenAPIHono<{
426
426
  client_id: string;
427
427
  username: string;
428
428
  otp: string;
429
- realm: "sms" | "email";
429
+ realm: "email" | "sms";
430
430
  scope?: string | undefined;
431
431
  audience?: string | undefined;
432
432
  } | {
@@ -486,7 +486,7 @@ export declare const tokenRoutes: OpenAPIHono<{
486
486
  client_id: string;
487
487
  username: string;
488
488
  otp: string;
489
- realm: "sms" | "email";
489
+ realm: "email" | "sms";
490
490
  scope?: string | undefined;
491
491
  audience?: string | undefined;
492
492
  } | {
@@ -554,7 +554,7 @@ export declare const tokenRoutes: OpenAPIHono<{
554
554
  client_id: string;
555
555
  username: string;
556
556
  otp: string;
557
- realm: "sms" | "email";
557
+ realm: "email" | "sms";
558
558
  scope?: string | undefined;
559
559
  audience?: string | undefined;
560
560
  } | {
@@ -614,7 +614,7 @@ export declare const tokenRoutes: OpenAPIHono<{
614
614
  client_id: string;
615
615
  username: string;
616
616
  otp: string;
617
- realm: "sms" | "email";
617
+ realm: "email" | "sms";
618
618
  scope?: string | undefined;
619
619
  audience?: string | undefined;
620
620
  } | {
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "unspecified" | "pending" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
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: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -656,7 +656,7 @@ export declare const actionsRoutes: OpenAPIHono<{
656
656
  args: import("hono/utils/types").JSONValue[];
657
657
  }[];
658
658
  logs: {
659
- level: "log" | "error" | "info" | "warn" | "debug";
659
+ level: "error" | "log" | "info" | "warn" | "debug";
660
660
  message: string;
661
661
  }[];
662
662
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
40
+ type: "push" | "email" | "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;
@@ -16,7 +16,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
16
16
  audience?: string | undefined;
17
17
  client_id?: string | undefined;
18
18
  allow_any_organization?: string | undefined;
19
- subject_type?: "client" | "user" | undefined;
19
+ subject_type?: "user" | "client" | undefined;
20
20
  };
21
21
  } & {
22
22
  header: {
@@ -31,7 +31,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
31
31
  organization_usage?: "deny" | "allow" | "require" | undefined;
32
32
  allow_any_organization?: boolean | undefined;
33
33
  is_system?: boolean | undefined;
34
- subject_type?: "client" | "user" | undefined;
34
+ subject_type?: "user" | "client" | undefined;
35
35
  authorization_details_types?: string[] | undefined;
36
36
  created_at?: string | undefined;
37
37
  updated_at?: string | undefined;
@@ -47,7 +47,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
47
47
  organization_usage?: "deny" | "allow" | "require" | undefined;
48
48
  allow_any_organization?: boolean | undefined;
49
49
  is_system?: boolean | undefined;
50
- subject_type?: "client" | "user" | undefined;
50
+ subject_type?: "user" | "client" | undefined;
51
51
  authorization_details_types?: string[] | undefined;
52
52
  created_at?: string | undefined;
53
53
  updated_at?: string | undefined;
@@ -63,7 +63,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
63
63
  organization_usage?: "deny" | "allow" | "require" | undefined;
64
64
  allow_any_organization?: boolean | undefined;
65
65
  is_system?: boolean | undefined;
66
- subject_type?: "client" | "user" | undefined;
66
+ subject_type?: "user" | "client" | undefined;
67
67
  authorization_details_types?: string[] | undefined;
68
68
  created_at?: string | undefined;
69
69
  updated_at?: string | undefined;
@@ -94,7 +94,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
94
94
  organization_usage?: "deny" | "allow" | "require" | undefined;
95
95
  allow_any_organization?: boolean | undefined;
96
96
  is_system?: boolean | undefined;
97
- subject_type?: "client" | "user" | undefined;
97
+ subject_type?: "user" | "client" | undefined;
98
98
  authorization_details_types?: string[] | undefined;
99
99
  created_at?: string | undefined;
100
100
  updated_at?: string | undefined;
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
139
139
  organization_usage?: "deny" | "allow" | "require" | undefined;
140
140
  allow_any_organization?: boolean | undefined;
141
141
  is_system?: boolean | undefined;
142
- subject_type?: "client" | "user" | undefined;
142
+ subject_type?: "user" | "client" | undefined;
143
143
  authorization_details_types?: string[] | undefined;
144
144
  };
145
145
  };
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
151
151
  organization_usage?: "deny" | "allow" | "require" | undefined;
152
152
  allow_any_organization?: boolean | undefined;
153
153
  is_system?: boolean | undefined;
154
- subject_type?: "client" | "user" | undefined;
154
+ subject_type?: "user" | "client" | undefined;
155
155
  authorization_details_types?: string[] | undefined;
156
156
  created_at?: string | undefined;
157
157
  updated_at?: string | undefined;
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
175
175
  organization_usage?: "deny" | "allow" | "require" | undefined;
176
176
  allow_any_organization?: boolean | undefined;
177
177
  is_system?: boolean | undefined;
178
- subject_type?: "client" | "user" | undefined;
178
+ subject_type?: "user" | "client" | undefined;
179
179
  authorization_details_types?: string[] | undefined;
180
180
  };
181
181
  };
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
187
187
  organization_usage?: "deny" | "allow" | "require" | undefined;
188
188
  allow_any_organization?: boolean | undefined;
189
189
  is_system?: boolean | undefined;
190
- subject_type?: "client" | "user" | undefined;
190
+ subject_type?: "user" | "client" | undefined;
191
191
  authorization_details_types?: string[] | undefined;
192
192
  created_at?: string | undefined;
193
193
  updated_at?: string | undefined;
@@ -78,7 +78,7 @@ export declare const clientRoutes: OpenAPIHono<{
78
78
  addons?: {
79
79
  [x: string]: any;
80
80
  } | undefined;
81
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
81
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
82
82
  client_metadata?: {
83
83
  [x: string]: string;
84
84
  } | undefined;
@@ -183,7 +183,7 @@ export declare const clientRoutes: OpenAPIHono<{
183
183
  addons?: {
184
184
  [x: string]: any;
185
185
  } | undefined;
186
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
186
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
187
187
  client_metadata?: {
188
188
  [x: string]: string;
189
189
  } | undefined;
@@ -288,7 +288,7 @@ export declare const clientRoutes: OpenAPIHono<{
288
288
  addons?: {
289
289
  [x: string]: any;
290
290
  } | undefined;
291
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
291
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
292
292
  client_metadata?: {
293
293
  [x: string]: string;
294
294
  } | undefined;
@@ -408,7 +408,7 @@ export declare const clientRoutes: OpenAPIHono<{
408
408
  addons?: {
409
409
  [x: string]: any;
410
410
  } | undefined;
411
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
411
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
412
412
  client_metadata?: {
413
413
  [x: string]: string;
414
414
  } | undefined;
@@ -529,7 +529,7 @@ export declare const clientRoutes: OpenAPIHono<{
529
529
  custom_login_page_preview?: string | undefined;
530
530
  form_template?: string | undefined;
531
531
  addons?: Record<string, any> | undefined;
532
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
532
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
533
533
  client_metadata?: Record<string, string> | undefined;
534
534
  hide_sign_up_disabled_error?: boolean | undefined;
535
535
  mobile?: Record<string, any> | undefined;
@@ -618,7 +618,7 @@ export declare const clientRoutes: OpenAPIHono<{
618
618
  addons?: {
619
619
  [x: string]: any;
620
620
  } | undefined;
621
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
621
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
622
622
  client_metadata?: {
623
623
  [x: string]: string;
624
624
  } | undefined;
@@ -718,7 +718,7 @@ export declare const clientRoutes: OpenAPIHono<{
718
718
  custom_login_page_preview?: string | undefined;
719
719
  form_template?: string | undefined;
720
720
  addons?: Record<string, any> | undefined;
721
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
721
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
722
722
  client_metadata?: Record<string, string> | undefined;
723
723
  hide_sign_up_disabled_error?: boolean | undefined;
724
724
  mobile?: Record<string, any> | undefined;
@@ -807,7 +807,7 @@ export declare const clientRoutes: OpenAPIHono<{
807
807
  addons?: {
808
808
  [x: string]: any;
809
809
  } | undefined;
810
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
810
+ token_endpoint_auth_method?: "none" | "private_key_jwt" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | undefined;
811
811
  client_metadata?: {
812
812
  [x: string]: string;
813
813
  } | undefined;
@@ -936,7 +936,7 @@ export declare const clientRoutes: OpenAPIHono<{
936
936
  active?: boolean | undefined;
937
937
  } | undefined;
938
938
  signup?: {
939
- status?: "optional" | "required" | "disabled" | undefined;
939
+ status?: "required" | "optional" | "disabled" | undefined;
940
940
  verification?: {
941
941
  active?: boolean | undefined;
942
942
  } | undefined;
@@ -953,7 +953,7 @@ export declare const clientRoutes: OpenAPIHono<{
953
953
  active?: boolean | undefined;
954
954
  } | undefined;
955
955
  signup?: {
956
- status?: "optional" | "required" | "disabled" | undefined;
956
+ status?: "required" | "optional" | "disabled" | undefined;
957
957
  } | undefined;
958
958
  validation?: {
959
959
  max_length?: number | undefined;
@@ -970,7 +970,7 @@ export declare const clientRoutes: OpenAPIHono<{
970
970
  active?: boolean | undefined;
971
971
  } | undefined;
972
972
  signup?: {
973
- status?: "optional" | "required" | "disabled" | undefined;
973
+ status?: "required" | "optional" | "disabled" | undefined;
974
974
  } | undefined;
975
975
  } | undefined;
976
976
  } | undefined;
@@ -1094,7 +1094,7 @@ export declare const clientRoutes: OpenAPIHono<{
1094
1094
  active?: boolean | undefined;
1095
1095
  } | undefined;
1096
1096
  signup?: {
1097
- status?: "optional" | "required" | "disabled" | undefined;
1097
+ status?: "required" | "optional" | "disabled" | undefined;
1098
1098
  verification?: {
1099
1099
  active?: boolean | undefined;
1100
1100
  } | undefined;
@@ -1111,7 +1111,7 @@ export declare const clientRoutes: OpenAPIHono<{
1111
1111
  active?: boolean | undefined;
1112
1112
  } | undefined;
1113
1113
  signup?: {
1114
- status?: "optional" | "required" | "disabled" | undefined;
1114
+ status?: "required" | "optional" | "disabled" | undefined;
1115
1115
  } | undefined;
1116
1116
  validation?: {
1117
1117
  max_length?: number | undefined;
@@ -1128,7 +1128,7 @@ export declare const clientRoutes: OpenAPIHono<{
1128
1128
  active?: boolean | undefined;
1129
1129
  } | undefined;
1130
1130
  signup?: {
1131
- status?: "optional" | "required" | "disabled" | undefined;
1131
+ status?: "required" | "optional" | "disabled" | undefined;
1132
1132
  } | undefined;
1133
1133
  } | undefined;
1134
1134
  } | undefined;
@@ -96,7 +96,7 @@ export declare const connectionRoutes: OpenAPIHono<{
96
96
  } | undefined;
97
97
  unique?: boolean | undefined;
98
98
  profile_required?: boolean | undefined;
99
- verification_method?: "link" | "code" | undefined;
99
+ verification_method?: "code" | "link" | undefined;
100
100
  } | undefined;
101
101
  username?: {
102
102
  identifier?: {
@@ -234,7 +234,7 @@ export declare const connectionRoutes: OpenAPIHono<{
234
234
  } | undefined;
235
235
  unique?: boolean | undefined;
236
236
  profile_required?: boolean | undefined;
237
- verification_method?: "link" | "code" | undefined;
237
+ verification_method?: "code" | "link" | undefined;
238
238
  } | undefined;
239
239
  username?: {
240
240
  identifier?: {
@@ -372,7 +372,7 @@ export declare const connectionRoutes: OpenAPIHono<{
372
372
  } | undefined;
373
373
  unique?: boolean | undefined;
374
374
  profile_required?: boolean | undefined;
375
- verification_method?: "link" | "code" | undefined;
375
+ verification_method?: "code" | "link" | undefined;
376
376
  } | undefined;
377
377
  username?: {
378
378
  identifier?: {
@@ -525,7 +525,7 @@ export declare const connectionRoutes: OpenAPIHono<{
525
525
  } | undefined;
526
526
  unique?: boolean | undefined;
527
527
  profile_required?: boolean | undefined;
528
- verification_method?: "link" | "code" | undefined;
528
+ verification_method?: "code" | "link" | undefined;
529
529
  } | undefined;
530
530
  username?: {
531
531
  identifier?: {
@@ -708,7 +708,7 @@ export declare const connectionRoutes: OpenAPIHono<{
708
708
  } | undefined;
709
709
  unique?: boolean | undefined;
710
710
  profile_required?: boolean | undefined;
711
- verification_method?: "link" | "code" | undefined;
711
+ verification_method?: "code" | "link" | undefined;
712
712
  } | undefined;
713
713
  username?: {
714
714
  identifier?: {
@@ -870,7 +870,7 @@ export declare const connectionRoutes: OpenAPIHono<{
870
870
  } | undefined;
871
871
  unique?: boolean | undefined;
872
872
  profile_required?: boolean | undefined;
873
- verification_method?: "link" | "code" | undefined;
873
+ verification_method?: "code" | "link" | undefined;
874
874
  } | undefined;
875
875
  username?: {
876
876
  identifier?: {
@@ -1010,7 +1010,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1010
1010
  };
1011
1011
  } | {
1012
1012
  mode: "inline";
1013
- status: "error" | "success";
1013
+ status: "success" | "error";
1014
1014
  connection_id: string;
1015
1015
  connection_name: string;
1016
1016
  strategy: string;