authhero 5.14.1 → 5.16.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 (46) hide show
  1. package/dist/assets/u/js/client.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/authhero.cjs +129 -129
  4. package/dist/authhero.d.ts +160 -109
  5. package/dist/authhero.mjs +5646 -5472
  6. package/dist/client.js +1 -1
  7. package/dist/stats.html +1 -1
  8. package/dist/tsconfig.types.tsbuildinfo +1 -1
  9. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +4 -0
  10. package/dist/types/authentication-flows/passwordless.d.ts +3 -2
  11. package/dist/types/client/client-bundle.d.ts +1 -1
  12. package/dist/types/helpers/client.d.ts +1 -0
  13. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  14. package/dist/types/index.d.ts +155 -109
  15. package/dist/types/routes/auth-api/account.d.ts +2 -2
  16. package/dist/types/routes/auth-api/authorize.d.ts +12 -12
  17. package/dist/types/routes/auth-api/index.d.ts +43 -43
  18. package/dist/types/routes/auth-api/oidc-logout.d.ts +2 -2
  19. package/dist/types/routes/auth-api/passwordless.d.ts +6 -6
  20. package/dist/types/routes/auth-api/token.d.ts +21 -21
  21. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  22. package/dist/types/routes/management-api/actions.d.ts +1 -1
  23. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  24. package/dist/types/routes/management-api/branding.d.ts +8 -8
  25. package/dist/types/routes/management-api/custom-domains.d.ts +53 -7
  26. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  27. package/dist/types/routes/management-api/flows.d.ts +7 -7
  28. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  29. package/dist/types/routes/management-api/index.d.ts +94 -48
  30. package/dist/types/routes/management-api/logs.d.ts +3 -3
  31. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  32. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  33. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  34. package/dist/types/routes/management-api/tenants.d.ts +3 -0
  35. package/dist/types/routes/management-api/themes.d.ts +3 -3
  36. package/dist/types/routes/management-api/users.d.ts +2 -2
  37. package/dist/types/routes/universal-login/common.d.ts +8 -4
  38. package/dist/types/routes/universal-login/continue.d.ts +2 -2
  39. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  40. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  41. package/dist/types/routes/universal-login/impersonate.d.ts +4 -4
  42. package/dist/types/routes/universal-login/index.d.ts +8 -8
  43. package/dist/types/routes/universal-login/u2-index.d.ts +10 -10
  44. package/dist/types/routes/universal-login/u2-routes.d.ts +10 -10
  45. package/dist/types/types/IdToken.d.ts +1 -1
  46. package/package.json +5 -5
@@ -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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
14
+ screen_hint?: "change-email" | "account" | "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?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
26
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
27
27
  };
28
28
  };
29
29
  output: {
@@ -105,17 +105,11 @@ export declare const authorizeRoutes: OpenAPIHono<{
105
105
  request_uri?: string | undefined;
106
106
  };
107
107
  };
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;
108
+ output: {
109
+ message: string;
116
110
  };
117
111
  outputFormat: "json";
118
- status: 200;
112
+ status: 400;
119
113
  } | {
120
114
  input: {
121
115
  query: {
@@ -147,11 +141,17 @@ export declare const authorizeRoutes: OpenAPIHono<{
147
141
  request_uri?: string | undefined;
148
142
  };
149
143
  };
150
- output: {
151
- message: string;
144
+ output: string | {
145
+ access_token: string;
146
+ token_type: string;
147
+ expires_in: number;
148
+ id_token?: string | undefined;
149
+ scope?: string | undefined;
150
+ state?: string | undefined;
151
+ refresh_token?: string | undefined;
152
152
  };
153
153
  outputFormat: "json";
154
- status: 400;
154
+ status: 200;
155
155
  } | {
156
156
  input: {
157
157
  query: {
@@ -434,7 +434,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
434
434
  client_id: string;
435
435
  redirect_url?: string | undefined;
436
436
  login_hint?: string | undefined;
437
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
437
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
438
438
  };
439
439
  };
440
440
  output: {};
@@ -446,7 +446,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
446
446
  client_id: string;
447
447
  redirect_url?: string | undefined;
448
448
  login_hint?: string | undefined;
449
- screen_hint?: "account" | "change-email" | "change-phone" | "change-password" | undefined;
449
+ screen_hint?: "change-email" | "account" | "change-phone" | "change-password" | undefined;
450
450
  };
451
451
  };
452
452
  output: {
@@ -557,17 +557,11 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
557
557
  request_uri?: string | undefined;
558
558
  };
559
559
  };
560
- output: string | {
561
- access_token: string;
562
- token_type: string;
563
- expires_in: number;
564
- id_token?: string | undefined;
565
- scope?: string | undefined;
566
- state?: string | undefined;
567
- refresh_token?: string | undefined;
560
+ output: {
561
+ message: string;
568
562
  };
569
563
  outputFormat: "json";
570
- status: 200;
564
+ status: 400;
571
565
  } | {
572
566
  input: {
573
567
  query: {
@@ -599,11 +593,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
599
593
  request_uri?: string | undefined;
600
594
  };
601
595
  };
602
- output: {
603
- message: string;
596
+ output: string | {
597
+ access_token: string;
598
+ token_type: string;
599
+ expires_in: number;
600
+ id_token?: string | undefined;
601
+ scope?: string | undefined;
602
+ state?: string | undefined;
603
+ refresh_token?: string | undefined;
604
604
  };
605
605
  outputFormat: "json";
606
- status: 400;
606
+ status: 200;
607
607
  } | {
608
608
  input: {
609
609
  query: {
@@ -723,12 +723,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
- state?: string | undefined;
727
- username?: string | undefined;
726
+ audience?: string | undefined;
728
727
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
729
728
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
730
729
  scope?: string | undefined;
731
- audience?: string | undefined;
730
+ username?: string | undefined;
731
+ state?: string | undefined;
732
732
  act_as?: string | undefined;
733
733
  redirect_uri?: string | undefined;
734
734
  organization?: string | undefined;
@@ -759,12 +759,12 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
759
759
  phone_number: string;
760
760
  send: "code" | "link";
761
761
  authParams: {
762
- state?: string | undefined;
763
- username?: string | undefined;
762
+ audience?: string | undefined;
764
763
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
765
764
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
766
765
  scope?: string | undefined;
767
- audience?: string | undefined;
766
+ username?: string | undefined;
767
+ state?: string | undefined;
768
768
  act_as?: string | undefined;
769
769
  redirect_uri?: string | undefined;
770
770
  organization?: string | undefined;
@@ -1001,7 +1001,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1001
1001
  client_id: string;
1002
1002
  username: string;
1003
1003
  otp: string;
1004
- realm: "email" | "sms";
1004
+ realm: "sms" | "email";
1005
1005
  };
1006
1006
  } & {
1007
1007
  json: {
@@ -1037,7 +1037,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1037
1037
  client_id: string;
1038
1038
  username: string;
1039
1039
  otp: string;
1040
- realm: "email" | "sms";
1040
+ realm: "sms" | "email";
1041
1041
  };
1042
1042
  };
1043
1043
  output: {};
@@ -1078,7 +1078,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1078
1078
  client_id: string;
1079
1079
  username: string;
1080
1080
  otp: string;
1081
- realm: "email" | "sms";
1081
+ realm: "sms" | "email";
1082
1082
  };
1083
1083
  } & {
1084
1084
  json: {
@@ -1114,20 +1114,15 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1114
1114
  client_id: string;
1115
1115
  username: string;
1116
1116
  otp: string;
1117
- realm: "email" | "sms";
1117
+ realm: "sms" | "email";
1118
1118
  };
1119
1119
  };
1120
1120
  output: {
1121
- access_token: string;
1122
- token_type: string;
1123
- expires_in: number;
1124
- id_token?: string | undefined;
1125
- scope?: string | undefined;
1126
- state?: string | undefined;
1127
- refresh_token?: string | undefined;
1121
+ error: string;
1122
+ error_description?: string | undefined;
1128
1123
  };
1129
1124
  outputFormat: "json";
1130
- status: 200;
1125
+ status: 400;
1131
1126
  } | {
1132
1127
  input: {
1133
1128
  form: {
@@ -1163,7 +1158,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1163
1158
  client_id: string;
1164
1159
  username: string;
1165
1160
  otp: string;
1166
- realm: "email" | "sms";
1161
+ realm: "sms" | "email";
1167
1162
  };
1168
1163
  } & {
1169
1164
  json: {
@@ -1199,15 +1194,20 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1199
1194
  client_id: string;
1200
1195
  username: string;
1201
1196
  otp: string;
1202
- realm: "email" | "sms";
1197
+ realm: "sms" | "email";
1203
1198
  };
1204
1199
  };
1205
1200
  output: {
1206
- error: string;
1207
- error_description?: string | undefined;
1201
+ access_token: string;
1202
+ token_type: string;
1203
+ expires_in: number;
1204
+ id_token?: string | undefined;
1205
+ scope?: string | undefined;
1206
+ state?: string | undefined;
1207
+ refresh_token?: string | undefined;
1208
1208
  };
1209
1209
  outputFormat: "json";
1210
- status: 400;
1210
+ status: 200;
1211
1211
  } | {
1212
1212
  input: {
1213
1213
  form: {
@@ -1243,7 +1243,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1243
1243
  client_id: string;
1244
1244
  username: string;
1245
1245
  otp: string;
1246
- realm: "email" | "sms";
1246
+ realm: "sms" | "email";
1247
1247
  };
1248
1248
  } & {
1249
1249
  json: {
@@ -1279,7 +1279,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1279
1279
  client_id: string;
1280
1280
  username: string;
1281
1281
  otp: string;
1282
- realm: "email" | "sms";
1282
+ realm: "sms" | "email";
1283
1283
  };
1284
1284
  };
1285
1285
  output: {
@@ -1323,7 +1323,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1323
1323
  client_id: string;
1324
1324
  username: string;
1325
1325
  otp: string;
1326
- realm: "email" | "sms";
1326
+ realm: "sms" | "email";
1327
1327
  };
1328
1328
  } & {
1329
1329
  json: {
@@ -1359,7 +1359,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1359
1359
  client_id: string;
1360
1360
  username: string;
1361
1361
  otp: string;
1362
- realm: "email" | "sms";
1362
+ realm: "sms" | "email";
1363
1363
  };
1364
1364
  };
1365
1365
  output: {
@@ -1566,7 +1566,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1566
1566
  };
1567
1567
  output: {};
1568
1568
  outputFormat: string;
1569
- status: 302;
1569
+ status: 400;
1570
1570
  } | {
1571
1571
  input: {
1572
1572
  query: {
@@ -1594,7 +1594,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1594
1594
  };
1595
1595
  output: {};
1596
1596
  outputFormat: string;
1597
- status: 400;
1597
+ status: 302;
1598
1598
  };
1599
1599
  };
1600
1600
  }, "/oidc/logout"> & import("hono/types").MergeSchemaPath<{
@@ -18,7 +18,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
18
18
  };
19
19
  output: {};
20
20
  outputFormat: string;
21
- status: 302;
21
+ status: 400;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 400;
49
+ status: 302;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -14,12 +14,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
18
- username?: string | undefined;
17
+ audience?: string | undefined;
19
18
  response_type?: AuthorizationResponseType | undefined;
20
19
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
21
20
  scope?: string | undefined;
22
- audience?: string | undefined;
21
+ username?: string | undefined;
22
+ state?: string | undefined;
23
23
  act_as?: string | undefined;
24
24
  redirect_uri?: string | undefined;
25
25
  organization?: string | undefined;
@@ -50,12 +50,12 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- state?: string | undefined;
54
- username?: string | undefined;
53
+ audience?: string | undefined;
55
54
  response_type?: AuthorizationResponseType | undefined;
56
55
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
57
56
  scope?: string | undefined;
58
- audience?: string | undefined;
57
+ username?: string | undefined;
58
+ state?: string | undefined;
59
59
  act_as?: string | undefined;
60
60
  redirect_uri?: string | undefined;
61
61
  organization?: 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: "email" | "sms";
43
+ realm: "sms" | "email";
44
44
  };
45
45
  } & {
46
46
  json: {
@@ -76,7 +76,7 @@ export declare const tokenRoutes: OpenAPIHono<{
76
76
  client_id: string;
77
77
  username: string;
78
78
  otp: string;
79
- realm: "email" | "sms";
79
+ realm: "sms" | "email";
80
80
  };
81
81
  };
82
82
  output: {};
@@ -117,7 +117,7 @@ export declare const tokenRoutes: OpenAPIHono<{
117
117
  client_id: string;
118
118
  username: string;
119
119
  otp: string;
120
- realm: "email" | "sms";
120
+ realm: "sms" | "email";
121
121
  };
122
122
  } & {
123
123
  json: {
@@ -153,20 +153,15 @@ export declare const tokenRoutes: OpenAPIHono<{
153
153
  client_id: string;
154
154
  username: string;
155
155
  otp: string;
156
- realm: "email" | "sms";
156
+ realm: "sms" | "email";
157
157
  };
158
158
  };
159
159
  output: {
160
- access_token: string;
161
- token_type: string;
162
- expires_in: number;
163
- id_token?: string | undefined;
164
- scope?: string | undefined;
165
- state?: string | undefined;
166
- refresh_token?: string | undefined;
160
+ error: string;
161
+ error_description?: string | undefined;
167
162
  };
168
163
  outputFormat: "json";
169
- status: 200;
164
+ status: 400;
170
165
  } | {
171
166
  input: {
172
167
  form: {
@@ -202,7 +197,7 @@ export declare const tokenRoutes: OpenAPIHono<{
202
197
  client_id: string;
203
198
  username: string;
204
199
  otp: string;
205
- realm: "email" | "sms";
200
+ realm: "sms" | "email";
206
201
  };
207
202
  } & {
208
203
  json: {
@@ -238,15 +233,20 @@ export declare const tokenRoutes: OpenAPIHono<{
238
233
  client_id: string;
239
234
  username: string;
240
235
  otp: string;
241
- realm: "email" | "sms";
236
+ realm: "sms" | "email";
242
237
  };
243
238
  };
244
239
  output: {
245
- error: string;
246
- error_description?: string | undefined;
240
+ access_token: string;
241
+ token_type: string;
242
+ expires_in: number;
243
+ id_token?: string | undefined;
244
+ scope?: string | undefined;
245
+ state?: string | undefined;
246
+ refresh_token?: string | undefined;
247
247
  };
248
248
  outputFormat: "json";
249
- status: 400;
249
+ status: 200;
250
250
  } | {
251
251
  input: {
252
252
  form: {
@@ -282,7 +282,7 @@ export declare const tokenRoutes: OpenAPIHono<{
282
282
  client_id: string;
283
283
  username: string;
284
284
  otp: string;
285
- realm: "email" | "sms";
285
+ realm: "sms" | "email";
286
286
  };
287
287
  } & {
288
288
  json: {
@@ -318,7 +318,7 @@ export declare const tokenRoutes: OpenAPIHono<{
318
318
  client_id: string;
319
319
  username: string;
320
320
  otp: string;
321
- realm: "email" | "sms";
321
+ realm: "sms" | "email";
322
322
  };
323
323
  };
324
324
  output: {
@@ -362,7 +362,7 @@ export declare const tokenRoutes: OpenAPIHono<{
362
362
  client_id: string;
363
363
  username: string;
364
364
  otp: string;
365
- realm: "email" | "sms";
365
+ realm: "sms" | "email";
366
366
  };
367
367
  } & {
368
368
  json: {
@@ -398,7 +398,7 @@ export declare const tokenRoutes: OpenAPIHono<{
398
398
  client_id: string;
399
399
  username: string;
400
400
  otp: string;
401
- realm: "email" | "sms";
401
+ realm: "sms" | "email";
402
402
  };
403
403
  };
404
404
  output: {
@@ -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
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "log" | "error" | "info" | "warn" | "debug";
664
+ level: "error" | "log" | "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: "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;
@@ -27,7 +27,7 @@ export declare const brandingRoutes: OpenAPIHono<{
27
27
  base_focus_color: string;
28
28
  base_hover_color: string;
29
29
  body_text: string;
30
- captcha_widget_theme: "dark" | "light" | "auto";
30
+ captcha_widget_theme: "auto" | "light" | "dark";
31
31
  error: string;
32
32
  header: string;
33
33
  icons: string;
@@ -117,7 +117,7 @@ export declare const brandingRoutes: OpenAPIHono<{
117
117
  base_focus_color: string;
118
118
  base_hover_color: string;
119
119
  body_text: string;
120
- captcha_widget_theme: "dark" | "light" | "auto";
120
+ captcha_widget_theme: "auto" | "light" | "dark";
121
121
  error: string;
122
122
  header: string;
123
123
  icons: string;
@@ -196,7 +196,7 @@ export declare const brandingRoutes: OpenAPIHono<{
196
196
  base_focus_color: string;
197
197
  base_hover_color: string;
198
198
  body_text: string;
199
- captcha_widget_theme: "dark" | "light" | "auto";
199
+ captcha_widget_theme: "auto" | "light" | "dark";
200
200
  error: string;
201
201
  header: string;
202
202
  icons: string;
@@ -286,7 +286,7 @@ export declare const brandingRoutes: OpenAPIHono<{
286
286
  font?: {
287
287
  url: string;
288
288
  } | undefined;
289
- dark_mode?: "dark" | "light" | "auto" | undefined;
289
+ dark_mode?: "auto" | "light" | "dark" | undefined;
290
290
  };
291
291
  outputFormat: "json";
292
292
  status: 200;
@@ -316,7 +316,7 @@ export declare const brandingRoutes: OpenAPIHono<{
316
316
  font?: {
317
317
  url: string;
318
318
  } | undefined;
319
- dark_mode?: "dark" | "light" | "auto" | undefined;
319
+ dark_mode?: "auto" | "light" | "dark" | undefined;
320
320
  };
321
321
  };
322
322
  output: {
@@ -335,7 +335,7 @@ export declare const brandingRoutes: OpenAPIHono<{
335
335
  font?: {
336
336
  url: string;
337
337
  } | undefined;
338
- dark_mode?: "dark" | "light" | "auto" | undefined;
338
+ dark_mode?: "auto" | "light" | "dark" | undefined;
339
339
  };
340
340
  outputFormat: "json";
341
341
  status: 200;
@@ -370,7 +370,7 @@ export declare const brandingRoutes: OpenAPIHono<{
370
370
  };
371
371
  output: {};
372
372
  outputFormat: string;
373
- status: 204;
373
+ status: 400;
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: 400;
386
+ status: 204;
387
387
  };
388
388
  };
389
389
  } & {