authhero 8.5.0 → 8.7.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 (37) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/{p-5f7b7943.entry.js → p-5a319adc.entry.js} +1 -1
  3. package/dist/authhero.cjs +257 -147
  4. package/dist/authhero.d.ts +412 -266
  5. package/dist/authhero.mjs +43118 -42718
  6. package/dist/stats.html +1 -1
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +1 -1
  9. package/dist/types/index.d.ts +380 -266
  10. package/dist/types/routes/auth-api/account.d.ts +2 -2
  11. package/dist/types/routes/auth-api/index.d.ts +16 -16
  12. package/dist/types/routes/auth-api/passwordless.d.ts +8 -8
  13. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  14. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  15. package/dist/types/routes/management-api/actions.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding-preview.d.ts +41 -0
  17. package/dist/types/routes/management-api/branding.d.ts +123 -9
  18. package/dist/types/routes/management-api/clients.d.ts +7 -7
  19. package/dist/types/routes/management-api/custom-domains.d.ts +8 -8
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/failed-events.d.ts +1 -1
  22. package/dist/types/routes/management-api/flows.d.ts +7 -7
  23. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  24. package/dist/types/routes/management-api/index.d.ts +336 -222
  25. package/dist/types/routes/management-api/logs.d.ts +3 -3
  26. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  27. package/dist/types/routes/management-api/organizations.d.ts +1 -1
  28. package/dist/types/routes/management-api/prompts.d.ts +4 -4
  29. package/dist/types/routes/management-api/users.d.ts +2 -2
  30. package/dist/types/routes/universal-login/common.d.ts +2 -2
  31. package/dist/types/routes/universal-login/index.d.ts +2 -2
  32. package/dist/types/routes/universal-login/u2-index.d.ts +6 -6
  33. package/dist/types/routes/universal-login/u2-routes.d.ts +6 -6
  34. package/dist/types/routes/universal-login/u2-widget-page.d.ts +33 -4
  35. package/dist/types/routes/universal-login/universal-login-template.d.ts +65 -13
  36. package/dist/types/types/AuthHeroConfig.d.ts +33 -1
  37. package/package.json +4 -4
@@ -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: {
@@ -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: {
@@ -723,18 +723,18 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
723
723
  email: string;
724
724
  send: "code" | "link";
725
725
  authParams: {
726
- state?: string | undefined;
727
726
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
728
727
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
729
728
  scope?: string | undefined;
730
729
  username?: string | undefined;
731
- nonce?: string | undefined;
732
- organization?: string | undefined;
730
+ audience?: string | undefined;
733
731
  code_challenge?: string | undefined;
734
732
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
735
733
  redirect_uri?: string | undefined;
734
+ nonce?: string | undefined;
735
+ state?: string | undefined;
736
736
  act_as?: string | undefined;
737
- audience?: string | undefined;
737
+ organization?: string | undefined;
738
738
  prompt?: string | undefined;
739
739
  ui_locales?: string | undefined;
740
740
  max_age?: number | undefined;
@@ -759,18 +759,18 @@ 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
762
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
764
763
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
765
764
  scope?: string | undefined;
766
765
  username?: string | undefined;
767
- nonce?: string | undefined;
768
- organization?: string | undefined;
766
+ audience?: string | undefined;
769
767
  code_challenge?: string | undefined;
770
768
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
771
769
  redirect_uri?: string | undefined;
770
+ nonce?: string | undefined;
771
+ state?: string | undefined;
772
772
  act_as?: string | undefined;
773
- audience?: string | undefined;
773
+ organization?: string | undefined;
774
774
  prompt?: string | undefined;
775
775
  ui_locales?: string | undefined;
776
776
  max_age?: number | undefined;
@@ -903,14 +903,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
903
903
  input: {
904
904
  form: {
905
905
  token: string;
906
- token_type_hint?: "refresh_token" | "access_token" | undefined;
906
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
907
907
  client_id?: string | undefined;
908
908
  client_secret?: string | undefined;
909
909
  };
910
910
  } & {
911
911
  json: {
912
912
  token: string;
913
- token_type_hint?: "refresh_token" | "access_token" | undefined;
913
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
914
914
  client_id?: string | undefined;
915
915
  client_secret?: string | undefined;
916
916
  };
@@ -922,14 +922,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
922
922
  input: {
923
923
  form: {
924
924
  token: string;
925
- token_type_hint?: "refresh_token" | "access_token" | undefined;
925
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
926
926
  client_id?: string | undefined;
927
927
  client_secret?: string | undefined;
928
928
  };
929
929
  } & {
930
930
  json: {
931
931
  token: string;
932
- token_type_hint?: "refresh_token" | "access_token" | undefined;
932
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
933
933
  client_id?: string | undefined;
934
934
  client_secret?: string | undefined;
935
935
  };
@@ -944,14 +944,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
944
944
  input: {
945
945
  form: {
946
946
  token: string;
947
- token_type_hint?: "refresh_token" | "access_token" | undefined;
947
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
948
948
  client_id?: string | undefined;
949
949
  client_secret?: string | undefined;
950
950
  };
951
951
  } & {
952
952
  json: {
953
953
  token: string;
954
- token_type_hint?: "refresh_token" | "access_token" | undefined;
954
+ token_type_hint?: "access_token" | "refresh_token" | undefined;
955
955
  client_id?: string | undefined;
956
956
  client_secret?: string | undefined;
957
957
  };
@@ -14,18 +14,18 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
18
17
  response_type?: AuthorizationResponseType | undefined;
19
18
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
19
  scope?: string | undefined;
21
20
  username?: string | undefined;
22
- nonce?: string | undefined;
23
- organization?: string | undefined;
21
+ audience?: string | undefined;
24
22
  code_challenge?: string | undefined;
25
23
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
26
24
  redirect_uri?: string | undefined;
25
+ nonce?: string | undefined;
26
+ state?: string | undefined;
27
27
  act_as?: string | undefined;
28
- audience?: string | undefined;
28
+ organization?: string | undefined;
29
29
  prompt?: string | undefined;
30
30
  ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
@@ -50,18 +50,18 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- state?: string | undefined;
54
53
  response_type?: AuthorizationResponseType | undefined;
55
54
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
55
  scope?: string | undefined;
57
56
  username?: string | undefined;
58
- nonce?: string | undefined;
59
- organization?: string | undefined;
57
+ audience?: string | undefined;
60
58
  code_challenge?: string | undefined;
61
59
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
62
60
  redirect_uri?: string | undefined;
61
+ nonce?: string | undefined;
62
+ state?: string | undefined;
63
63
  act_as?: string | undefined;
64
- audience?: string | undefined;
64
+ organization?: string | undefined;
65
65
  prompt?: string | undefined;
66
66
  ui_locales?: string | undefined;
67
67
  max_age?: number | 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
  };
@@ -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" | "debug" | "warn";
81
+ level: "log" | "error" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -661,7 +661,7 @@ export declare const actionsRoutes: OpenAPIHono<{
661
661
  args: import("hono/utils/types").JSONValue[];
662
662
  }[];
663
663
  logs: {
664
- level: "log" | "error" | "info" | "debug" | "warn";
664
+ level: "log" | "error" | "info" | "warn" | "debug";
665
665
  message: string;
666
666
  }[];
667
667
  error?: string | undefined;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Sample screens for the full-page Universal Login preview.
3
+ *
4
+ * These mirror the shapes the screen registry produces at runtime, but with
5
+ * static placeholder content so the preview endpoint can render a full page
6
+ * without a real login session. They intentionally use inert `#` actions and
7
+ * links — the preview is for visual layout, not interaction.
8
+ */
9
+ export declare const PREVIEW_SCREEN_IDS: readonly ["login", "identifier", "password", "signup"];
10
+ export type PreviewScreenId = (typeof PREVIEW_SCREEN_IDS)[number];
11
+ interface PreviewComponent {
12
+ id: string;
13
+ type: string;
14
+ category: "FIELD" | "BLOCK" | "WIDGET";
15
+ visible: boolean;
16
+ label?: string;
17
+ config?: Record<string, unknown>;
18
+ required?: boolean;
19
+ sensitive?: boolean;
20
+ order: number;
21
+ }
22
+ interface PreviewScreen {
23
+ name: string;
24
+ action: string;
25
+ method: string;
26
+ title?: string;
27
+ description?: string;
28
+ components: PreviewComponent[];
29
+ links?: Array<{
30
+ id?: string;
31
+ text: string;
32
+ linkText?: string;
33
+ href: string;
34
+ }>;
35
+ }
36
+ /**
37
+ * Build a sample screen object for the given preview screen id. Falls back to
38
+ * the identifier/login screen for unknown ids.
39
+ */
40
+ export declare function buildPreviewScreen(screenId: string): PreviewScreen;
41
+ export {};
@@ -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;
@@ -78,7 +78,7 @@ export declare const brandingRoutes: OpenAPIHono<{
78
78
  background_color: string;
79
79
  background_image_url: string;
80
80
  page_layout: "center" | "left" | "right";
81
- logo_placement?: "none" | "widget" | "chip" | undefined;
81
+ logo_placement?: "widget" | "chip" | "none" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
@@ -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;
@@ -168,7 +168,7 @@ export declare const brandingRoutes: OpenAPIHono<{
168
168
  background_color: string;
169
169
  background_image_url: string;
170
170
  page_layout: "center" | "left" | "right";
171
- logo_placement?: "none" | "widget" | "chip" | undefined;
171
+ logo_placement?: "widget" | "chip" | "none" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
@@ -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;
@@ -247,7 +247,7 @@ export declare const brandingRoutes: OpenAPIHono<{
247
247
  background_color: string;
248
248
  background_image_url: string;
249
249
  page_layout: "center" | "left" | "right";
250
- logo_placement?: "none" | "widget" | "chip" | undefined;
250
+ logo_placement?: "widget" | "chip" | "none" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
@@ -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;
@@ -399,4 +399,118 @@ export declare const brandingRoutes: OpenAPIHono<{
399
399
  status: 204;
400
400
  };
401
401
  };
402
+ } & {
403
+ "/templates/universal-login/preview": {
404
+ $post: {
405
+ input: {
406
+ header: {
407
+ "tenant-id"?: string | undefined;
408
+ };
409
+ } & {
410
+ json: {
411
+ body?: string | undefined;
412
+ screen?: "login" | "identifier" | "password" | "signup" | undefined;
413
+ branding?: {
414
+ colors?: {
415
+ primary: string;
416
+ page_background?: string | {
417
+ type?: string | undefined;
418
+ start?: string | undefined;
419
+ end?: string | undefined;
420
+ angle_deg?: number | undefined;
421
+ } | undefined;
422
+ } | undefined;
423
+ logo_url?: string | undefined;
424
+ favicon_url?: string | undefined;
425
+ powered_by_logo_url?: string | undefined;
426
+ font?: {
427
+ url: string;
428
+ } | undefined;
429
+ dark_mode?: "auto" | "light" | "dark" | undefined;
430
+ } | undefined;
431
+ theme?: {
432
+ borders?: {
433
+ button_border_radius: number;
434
+ button_border_weight: number;
435
+ buttons_style: "pill" | "rounded" | "sharp";
436
+ input_border_radius: number;
437
+ input_border_weight: number;
438
+ inputs_style: "pill" | "rounded" | "sharp";
439
+ show_widget_shadow: boolean;
440
+ widget_border_weight: number;
441
+ widget_corner_radius: number;
442
+ } | undefined;
443
+ colors?: {
444
+ base_focus_color: string;
445
+ base_hover_color: string;
446
+ body_text: string;
447
+ captcha_widget_theme: "auto" | "light" | "dark";
448
+ error: string;
449
+ header: string;
450
+ icons: string;
451
+ input_background: string;
452
+ input_border: string;
453
+ input_filled_text: string;
454
+ input_labels_placeholders: string;
455
+ links_focused_components: string;
456
+ primary_button: string;
457
+ primary_button_label: string;
458
+ secondary_button_border: string;
459
+ secondary_button_label: string;
460
+ success: string;
461
+ widget_background: string;
462
+ widget_border: string;
463
+ } | undefined;
464
+ displayName?: string | undefined;
465
+ fonts?: {
466
+ body_text: {
467
+ bold: boolean;
468
+ size: number;
469
+ };
470
+ buttons_text: {
471
+ bold: boolean;
472
+ size: number;
473
+ };
474
+ font_url: string;
475
+ input_labels: {
476
+ bold: boolean;
477
+ size: number;
478
+ };
479
+ links: {
480
+ bold: boolean;
481
+ size: number;
482
+ };
483
+ links_style: "normal" | "underlined";
484
+ reference_text_size: number;
485
+ subtitle: {
486
+ bold: boolean;
487
+ size: number;
488
+ };
489
+ title: {
490
+ bold: boolean;
491
+ size: number;
492
+ };
493
+ } | undefined;
494
+ page_background?: {
495
+ background_color: string;
496
+ background_image_url: string;
497
+ page_layout: "center" | "left" | "right";
498
+ logo_placement?: "widget" | "chip" | "none" | undefined;
499
+ } | undefined;
500
+ widget?: {
501
+ header_text_alignment: "center" | "left" | "right";
502
+ logo_height: number;
503
+ logo_position: "none" | "center" | "left" | "right";
504
+ logo_url: string;
505
+ social_buttons_layout: "bottom" | "top";
506
+ } | undefined;
507
+ themeId?: string | undefined;
508
+ } | undefined;
509
+ };
510
+ };
511
+ output: Response;
512
+ outputFormat: "json";
513
+ status: import("hono/utils/http-status").StatusCode;
514
+ };
515
+ };
402
516
  }, "/">;
@@ -40,7 +40,7 @@ export declare const clientRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  description?: string | undefined;
42
42
  client_secret?: string | undefined;
43
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
43
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
44
44
  logo_uri?: string | undefined;
45
45
  callbacks?: string[] | undefined;
46
46
  allowed_origins?: string[] | undefined;
@@ -136,7 +136,7 @@ export declare const clientRoutes: OpenAPIHono<{
136
136
  client_id: string;
137
137
  description?: string | undefined;
138
138
  client_secret?: string | undefined;
139
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
139
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
140
140
  logo_uri?: string | undefined;
141
141
  callbacks?: string[] | undefined;
142
142
  allowed_origins?: string[] | undefined;
@@ -247,7 +247,7 @@ export declare const clientRoutes: OpenAPIHono<{
247
247
  client_id: string;
248
248
  description?: string | undefined;
249
249
  client_secret?: string | undefined;
250
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
250
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
251
251
  logo_uri?: string | undefined;
252
252
  callbacks?: string[] | undefined;
253
253
  allowed_origins?: string[] | undefined;
@@ -362,7 +362,7 @@ export declare const clientRoutes: OpenAPIHono<{
362
362
  description?: string | undefined;
363
363
  global?: boolean | undefined;
364
364
  client_secret?: string | undefined;
365
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
365
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
366
366
  logo_uri?: string | undefined;
367
367
  is_first_party?: boolean | undefined;
368
368
  oidc_conformant?: boolean | undefined;
@@ -437,7 +437,7 @@ export declare const clientRoutes: OpenAPIHono<{
437
437
  client_id: string;
438
438
  description?: string | undefined;
439
439
  client_secret?: string | undefined;
440
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
440
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
441
441
  logo_uri?: string | undefined;
442
442
  callbacks?: string[] | undefined;
443
443
  allowed_origins?: string[] | undefined;
@@ -531,7 +531,7 @@ export declare const clientRoutes: OpenAPIHono<{
531
531
  description?: string | undefined;
532
532
  global?: boolean | undefined;
533
533
  client_secret?: string | undefined;
534
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
534
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
535
535
  logo_uri?: string | undefined;
536
536
  is_first_party?: boolean | undefined;
537
537
  oidc_conformant?: boolean | undefined;
@@ -606,7 +606,7 @@ export declare const clientRoutes: OpenAPIHono<{
606
606
  client_id: string;
607
607
  description?: string | undefined;
608
608
  client_secret?: string | undefined;
609
- app_type?: "resource_server" | "native" | "spa" | "regular_web" | "non_interactive" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
609
+ app_type?: "native" | "spa" | "regular_web" | "non_interactive" | "resource_server" | "express_configuration" | "rms" | "box" | "cloudbees" | "concur" | "dropbox" | "mscrm" | "echosign" | "egnyte" | "newrelic" | "office365" | "salesforce" | "sentry" | "sharepoint" | "slack" | "springcm" | "zendesk" | "zoom" | "sso_integration" | "oag" | undefined;
610
610
  logo_uri?: string | undefined;
611
611
  callbacks?: string[] | undefined;
612
612
  allowed_origins?: string[] | undefined;
@@ -30,7 +30,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
30
30
  primary: boolean;
31
31
  status: "disabled" | "pending" | "ready" | "pending_verification";
32
32
  verification_method?: "txt" | undefined;
33
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
33
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
35
35
  [x: string]: string;
36
36
  } | undefined;
@@ -71,7 +71,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
71
71
  primary: boolean;
72
72
  status: "disabled" | "pending" | "ready" | "pending_verification";
73
73
  verification_method?: "txt" | undefined;
74
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
74
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
76
76
  [x: string]: string;
77
77
  } | undefined;
@@ -124,7 +124,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
124
124
  } & {
125
125
  json: {
126
126
  tls_policy?: "recommended" | undefined;
127
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
127
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
128
128
  domain_metadata?: Record<string, string> | undefined;
129
129
  };
130
130
  };
@@ -135,7 +135,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
135
135
  primary: boolean;
136
136
  status: "disabled" | "pending" | "ready" | "pending_verification";
137
137
  verification_method?: "txt" | undefined;
138
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
138
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
139
139
  domain_metadata?: {
140
140
  [x: string]: string;
141
141
  } | undefined;
@@ -171,7 +171,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
171
171
  custom_domain_id?: string | undefined;
172
172
  verification_method?: "txt" | undefined;
173
173
  tls_policy?: "recommended" | undefined;
174
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
174
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
175
175
  domain_metadata?: Record<string, string> | undefined;
176
176
  };
177
177
  };
@@ -182,7 +182,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
182
182
  primary: boolean;
183
183
  status: "disabled" | "pending" | "ready" | "pending_verification";
184
184
  verification_method?: "txt" | undefined;
185
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
185
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
186
186
  domain_metadata?: {
187
187
  [x: string]: string;
188
188
  } | undefined;
@@ -228,7 +228,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
228
228
  primary: boolean;
229
229
  status: "disabled" | "pending" | "ready" | "pending_verification";
230
230
  verification_method?: "txt" | undefined;
231
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
231
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
232
232
  domain_metadata?: {
233
233
  [x: string]: string;
234
234
  } | undefined;
@@ -269,7 +269,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
269
269
  primary: boolean;
270
270
  status: "disabled" | "pending" | "ready" | "pending_verification";
271
271
  verification_method?: "txt" | undefined;
272
- custom_client_ip_header?: "null" | "x-forwarded-for" | "cf-connecting-ip" | "true-client-ip" | "x-azure-clientip" | undefined;
272
+ custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
273
273
  domain_metadata?: {
274
274
  [x: string]: string;
275
275
  } | undefined;