authhero 9.23.1 → 9.24.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 (74) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/{p-91459994.entry.js → p-210f06bf.entry.js} +1 -1
  4. package/dist/authhero.cjs +116 -116
  5. package/dist/authhero.d.ts +1433 -278
  6. package/dist/authhero.mjs +36511 -35845
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/authentication-flows/password.d.ts +6 -0
  9. package/dist/types/authentication-flows/passwordless.d.ts +5 -5
  10. package/dist/types/generated/locale-types.d.ts +1 -0
  11. package/dist/types/helpers/logging.d.ts +7 -0
  12. package/dist/types/helpers/outbox-destinations/log-streams.d.ts +2 -0
  13. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  14. package/dist/types/helpers/session-notice.d.ts +17 -0
  15. package/dist/types/helpers/users.d.ts +5 -0
  16. package/dist/types/index.d.ts +1433 -278
  17. package/dist/types/routes/auth-api/index.d.ts +26 -26
  18. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  19. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  20. package/dist/types/routes/auth-api/token.d.ts +10 -10
  21. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  22. package/dist/types/routes/management-api/actions.d.ts +29 -3
  23. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  24. package/dist/types/routes/management-api/branding.d.ts +5 -5
  25. package/dist/types/routes/management-api/clients.d.ts +8 -8
  26. package/dist/types/routes/management-api/connections.d.ts +7 -7
  27. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  28. package/dist/types/routes/management-api/email-templates.d.ts +20 -20
  29. package/dist/types/routes/management-api/emails.d.ts +2 -2
  30. package/dist/types/routes/management-api/failed-events.d.ts +97 -3
  31. package/dist/types/routes/management-api/flows.d.ts +52 -0
  32. package/dist/types/routes/management-api/forms.d.ts +735 -126
  33. package/dist/types/routes/management-api/grants.d.ts +11 -0
  34. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  35. package/dist/types/routes/management-api/helpers.d.ts +34 -4
  36. package/dist/types/routes/management-api/hooks.d.ts +68 -4
  37. package/dist/types/routes/management-api/index.d.ts +1326 -269
  38. package/dist/types/routes/management-api/keys.d.ts +12 -12
  39. package/dist/types/routes/management-api/logs.d.ts +4 -4
  40. package/dist/types/routes/management-api/organizations.d.ts +66 -8
  41. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  42. package/dist/types/routes/management-api/roles.d.ts +1 -1
  43. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  44. package/dist/types/routes/management-api/tenants.d.ts +9 -9
  45. package/dist/types/routes/management-api/users.d.ts +166 -23
  46. package/dist/types/routes/saml/index.d.ts +98 -0
  47. package/dist/types/routes/saml/samlp.d.ts +98 -0
  48. package/dist/types/routes/universal-login/common.d.ts +10 -10
  49. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  50. package/dist/types/routes/universal-login/form-node.d.ts +4 -4
  51. package/dist/types/routes/universal-login/screens/account-mfa-phone-enrollment.d.ts +0 -5
  52. package/dist/types/routes/universal-login/screens/account-mfa-totp-enrollment.d.ts +0 -5
  53. package/dist/types/routes/universal-login/screens/account-passkeys.d.ts +0 -5
  54. package/dist/types/routes/universal-login/screens/connect-tenant-select.d.ts +0 -10
  55. package/dist/types/routes/universal-login/screens/identifier.d.ts +0 -5
  56. package/dist/types/routes/universal-login/screens/login.d.ts +0 -8
  57. package/dist/types/routes/universal-login/screens/mfa-login-options.d.ts +0 -5
  58. package/dist/types/routes/universal-login/screens/mfa-phone-challenge.d.ts +0 -5
  59. package/dist/types/routes/universal-login/screens/mfa-phone-enrollment.d.ts +0 -5
  60. package/dist/types/routes/universal-login/screens/mfa-totp-challenge.d.ts +0 -5
  61. package/dist/types/routes/universal-login/screens/mfa-totp-enrollment.d.ts +0 -5
  62. package/dist/types/routes/universal-login/screens/passkey-challenge.d.ts +0 -14
  63. package/dist/types/routes/universal-login/screens/passkey-enrollment-nudge.d.ts +0 -15
  64. package/dist/types/routes/universal-login/screens/passkey-enrollment.d.ts +0 -9
  65. package/dist/types/routes/universal-login/screens/reset-password-code.d.ts +0 -9
  66. package/dist/types/routes/universal-login/screens/reset-password.d.ts +2 -6
  67. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  68. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  69. package/dist/types/state-machines/index.d.ts +3 -1
  70. package/dist/types/state-machines/login-session-data.d.ts +19 -0
  71. package/dist/types/state-machines/login-session.d.ts +67 -3
  72. package/dist/types/state-machines/password-reset.d.ts +46 -0
  73. package/dist/types/strategies/saml.d.ts +1 -1
  74. package/package.json +6 -6
@@ -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,22 +739,22 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  connection: "email";
740
740
  client_id: string;
741
741
  email: string;
742
- send: "code" | "link";
742
+ send: "link" | "code";
743
743
  authParams: {
744
- state?: string | undefined;
745
- prompt?: string | undefined;
746
- audience?: string | undefined;
747
744
  username?: string | undefined;
745
+ state?: string | undefined;
748
746
  scope?: string | undefined;
749
- organization?: string | undefined;
747
+ act_as?: string | undefined;
750
748
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
751
749
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
752
750
  redirect_uri?: string | undefined;
753
- ui_locales?: string | undefined;
754
- act_as?: string | undefined;
751
+ audience?: string | undefined;
752
+ organization?: string | undefined;
755
753
  nonce?: string | undefined;
754
+ prompt?: string | undefined;
756
755
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
757
756
  code_challenge?: string | undefined;
757
+ ui_locales?: string | undefined;
758
758
  max_age?: number | undefined;
759
759
  acr_values?: string | undefined;
760
760
  claims?: {
@@ -775,22 +775,22 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  client_id: string;
776
776
  connection: "sms";
777
777
  phone_number: string;
778
- send: "code" | "link";
778
+ send: "link" | "code";
779
779
  authParams: {
780
- state?: string | undefined;
781
- prompt?: string | undefined;
782
- audience?: string | undefined;
783
780
  username?: string | undefined;
781
+ state?: string | undefined;
784
782
  scope?: string | undefined;
785
- organization?: string | undefined;
783
+ act_as?: string | undefined;
786
784
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
787
785
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
788
786
  redirect_uri?: string | undefined;
789
- ui_locales?: string | undefined;
790
- act_as?: string | undefined;
787
+ audience?: string | undefined;
788
+ organization?: string | undefined;
791
789
  nonce?: string | undefined;
790
+ prompt?: string | undefined;
792
791
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
793
792
  code_challenge?: string | undefined;
793
+ ui_locales?: string | undefined;
794
794
  max_age?: number | undefined;
795
795
  acr_values?: string | undefined;
796
796
  claims?: {
@@ -1019,7 +1019,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1019
1019
  client_id: string;
1020
1020
  username: string;
1021
1021
  otp: string;
1022
- realm: "sms" | "email";
1022
+ realm: "email" | "sms";
1023
1023
  scope?: string | undefined;
1024
1024
  audience?: string | undefined;
1025
1025
  } | {
@@ -1079,7 +1079,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1079
1079
  client_id: string;
1080
1080
  username: string;
1081
1081
  otp: string;
1082
- realm: "sms" | "email";
1082
+ realm: "email" | "sms";
1083
1083
  scope?: string | undefined;
1084
1084
  audience?: string | undefined;
1085
1085
  } | {
@@ -1144,7 +1144,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1144
1144
  client_id: string;
1145
1145
  username: string;
1146
1146
  otp: string;
1147
- realm: "sms" | "email";
1147
+ realm: "email" | "sms";
1148
1148
  scope?: string | undefined;
1149
1149
  audience?: string | undefined;
1150
1150
  } | {
@@ -1204,7 +1204,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1204
1204
  client_id: string;
1205
1205
  username: string;
1206
1206
  otp: string;
1207
- realm: "sms" | "email";
1207
+ realm: "email" | "sms";
1208
1208
  scope?: string | undefined;
1209
1209
  audience?: string | undefined;
1210
1210
  } | {
@@ -1277,7 +1277,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1277
1277
  client_id: string;
1278
1278
  username: string;
1279
1279
  otp: string;
1280
- realm: "sms" | "email";
1280
+ realm: "email" | "sms";
1281
1281
  scope?: string | undefined;
1282
1282
  audience?: string | undefined;
1283
1283
  } | {
@@ -1337,7 +1337,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1337
1337
  client_id: string;
1338
1338
  username: string;
1339
1339
  otp: string;
1340
- realm: "sms" | "email";
1340
+ realm: "email" | "sms";
1341
1341
  scope?: string | undefined;
1342
1342
  audience?: string | undefined;
1343
1343
  } | {
@@ -1405,7 +1405,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1405
1405
  client_id: string;
1406
1406
  username: string;
1407
1407
  otp: string;
1408
- realm: "sms" | "email";
1408
+ realm: "email" | "sms";
1409
1409
  scope?: string | undefined;
1410
1410
  audience?: string | undefined;
1411
1411
  } | {
@@ -1465,7 +1465,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1465
1465
  client_id: string;
1466
1466
  username: string;
1467
1467
  otp: string;
1468
- realm: "sms" | "email";
1468
+ realm: "email" | "sms";
1469
1469
  scope?: string | undefined;
1470
1470
  audience?: string | undefined;
1471
1471
  } | {
@@ -1533,7 +1533,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1533
1533
  client_id: string;
1534
1534
  username: string;
1535
1535
  otp: string;
1536
- realm: "sms" | "email";
1536
+ realm: "email" | "sms";
1537
1537
  scope?: string | undefined;
1538
1538
  audience?: string | undefined;
1539
1539
  } | {
@@ -1593,7 +1593,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1593
1593
  client_id: string;
1594
1594
  username: string;
1595
1595
  otp: string;
1596
- realm: "sms" | "email";
1596
+ realm: "email" | "sms";
1597
1597
  scope?: string | undefined;
1598
1598
  audience?: string | undefined;
1599
1599
  } | {
@@ -12,16 +12,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "code" | "link";
15
+ send: "link" | "code";
16
16
  authParams: {
17
- audience?: string | undefined;
18
- response_type?: AuthorizationResponseType | undefined;
19
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
- scope?: string | undefined;
21
17
  username?: string | undefined;
22
18
  state?: string | undefined;
19
+ scope?: string | undefined;
23
20
  act_as?: string | undefined;
21
+ response_type?: AuthorizationResponseType | undefined;
22
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
24
23
  redirect_uri?: string | undefined;
24
+ audience?: string | undefined;
25
25
  organization?: string | undefined;
26
26
  nonce?: string | undefined;
27
27
  prompt?: string | undefined;
@@ -48,16 +48,16 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "code" | "link";
51
+ send: "link" | "code";
52
52
  authParams: {
53
- audience?: string | undefined;
54
- response_type?: AuthorizationResponseType | undefined;
55
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
- scope?: string | undefined;
57
53
  username?: string | undefined;
58
54
  state?: string | undefined;
55
+ scope?: string | undefined;
59
56
  act_as?: string | undefined;
57
+ response_type?: AuthorizationResponseType | undefined;
58
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
60
59
  redirect_uri?: string | undefined;
60
+ audience?: string | undefined;
61
61
  organization?: string | undefined;
62
62
  nonce?: string | undefined;
63
63
  prompt?: 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
  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
  } | {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "error" | "info" | "log" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -76,6 +76,32 @@ export declare const actionsRoutes: OpenAPIHono<{
76
76
  }[];
77
77
  total?: number | undefined;
78
78
  next?: string | undefined;
79
+ } | {
80
+ actions: {
81
+ name: string;
82
+ code: string;
83
+ id: string;
84
+ tenant_id: string;
85
+ status: "draft" | "built";
86
+ created_at: string;
87
+ updated_at: string;
88
+ supported_triggers?: {
89
+ id: string;
90
+ version?: string | undefined;
91
+ }[] | undefined;
92
+ runtime?: string | undefined;
93
+ dependencies?: {
94
+ name: string;
95
+ version: string;
96
+ }[] | undefined;
97
+ is_system?: boolean | undefined;
98
+ inherit?: boolean | undefined;
99
+ deployed_at?: string | undefined;
100
+ secrets?: {
101
+ name: string;
102
+ }[] | undefined;
103
+ }[];
104
+ next?: string | undefined;
79
105
  };
80
106
  outputFormat: "json";
81
107
  status: 200;
@@ -297,7 +323,7 @@ export declare const actionsRoutes: OpenAPIHono<{
297
323
  };
298
324
  output: {};
299
325
  outputFormat: string;
300
- status: 404;
326
+ status: 200;
301
327
  } | {
302
328
  input: {
303
329
  param: {
@@ -310,7 +336,7 @@ export declare const actionsRoutes: OpenAPIHono<{
310
336
  };
311
337
  output: {};
312
338
  outputFormat: string;
313
- status: 200;
339
+ status: 404;
314
340
  } | {
315
341
  input: {
316
342
  param: {
@@ -656,7 +682,7 @@ export declare const actionsRoutes: OpenAPIHono<{
656
682
  args: import("hono/utils/types").JSONValue[];
657
683
  }[];
658
684
  logs: {
659
- level: "error" | "info" | "log" | "warn" | "debug";
685
+ level: "error" | "log" | "info" | "warn" | "debug";
660
686
  message: string;
661
687
  }[];
662
688
  error?: string | undefined;
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "email" | "passkey" | "push" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
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;
@@ -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?: "widget" | "chip" | "none" | undefined;
81
+ logo_placement?: "none" | "widget" | "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?: "widget" | "chip" | "none" | undefined;
171
+ logo_placement?: "none" | "widget" | "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?: "widget" | "chip" | "none" | undefined;
250
+ logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "login" | "signup" | "password" | "identifier" | undefined;
412
+ screen?: "identifier" | "signup" | "password" | "login" | 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?: "widget" | "chip" | "none" | undefined;
498
+ logo_placement?: "none" | "widget" | "chip" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
@@ -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;
@@ -946,14 +946,14 @@ export declare const clientRoutes: OpenAPIHono<{
946
946
  } | undefined;
947
947
  unique?: boolean | undefined;
948
948
  profile_required?: boolean | undefined;
949
- verification_method?: "code" | "link" | undefined;
949
+ verification_method?: "link" | "code" | undefined;
950
950
  } | undefined;
951
951
  username?: {
952
952
  identifier?: {
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;
@@ -1104,14 +1104,14 @@ export declare const clientRoutes: OpenAPIHono<{
1104
1104
  } | undefined;
1105
1105
  unique?: boolean | undefined;
1106
1106
  profile_required?: boolean | undefined;
1107
- verification_method?: "code" | "link" | undefined;
1107
+ verification_method?: "link" | "code" | undefined;
1108
1108
  } | undefined;
1109
1109
  username?: {
1110
1110
  identifier?: {
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?: "code" | "link" | undefined;
99
+ verification_method?: "link" | "code" | 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?: "code" | "link" | undefined;
237
+ verification_method?: "link" | "code" | 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?: "code" | "link" | undefined;
375
+ verification_method?: "link" | "code" | 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?: "code" | "link" | undefined;
528
+ verification_method?: "link" | "code" | 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?: "code" | "link" | undefined;
711
+ verification_method?: "link" | "code" | 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?: "code" | "link" | undefined;
873
+ verification_method?: "link" | "code" | 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: "success" | "error";
1013
+ status: "error" | "success";
1014
1014
  connection_id: string;
1015
1015
  connection_name: string;
1016
1016
  strategy: string;