authhero 9.28.0 → 9.28.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 (53) hide show
  1. package/dist/assets/u/js/client.js +1 -1
  2. package/dist/authhero.cjs +106 -106
  3. package/dist/authhero.d.ts +316 -316
  4. package/dist/authhero.mjs +13970 -13945
  5. package/dist/client.js +1 -1
  6. package/dist/tsconfig.types.tsbuildinfo +1 -1
  7. package/dist/types/authentication-flows/connection.d.ts +2 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +4 -4
  9. package/dist/types/authentication-flows/universal.d.ts +4 -1
  10. package/dist/types/client/client-bundle.d.ts +1 -1
  11. package/dist/types/helpers/logging.d.ts +7 -0
  12. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  13. package/dist/types/index.d.ts +316 -316
  14. package/dist/types/routes/auth-api/account.d.ts +2 -2
  15. package/dist/types/routes/auth-api/index.d.ts +25 -25
  16. package/dist/types/routes/auth-api/oidc-logout.d.ts +3 -3
  17. package/dist/types/routes/auth-api/passwordless.d.ts +12 -12
  18. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  19. package/dist/types/routes/management-api/action-triggers.d.ts +2 -2
  20. package/dist/types/routes/management-api/actions.d.ts +1 -1
  21. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  22. package/dist/types/routes/management-api/branding.d.ts +15 -15
  23. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  24. package/dist/types/routes/management-api/clients.d.ts +8 -8
  25. package/dist/types/routes/management-api/connections.d.ts +1 -1
  26. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  27. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  28. package/dist/types/routes/management-api/flows.d.ts +8 -8
  29. package/dist/types/routes/management-api/forms.d.ts +144 -144
  30. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  31. package/dist/types/routes/management-api/index.d.ts +276 -276
  32. package/dist/types/routes/management-api/keys.d.ts +12 -12
  33. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  34. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  35. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  36. package/dist/types/routes/management-api/roles.d.ts +6 -6
  37. package/dist/types/routes/management-api/rollouts.d.ts +6 -6
  38. package/dist/types/routes/management-api/tenant-operations.d.ts +5 -5
  39. package/dist/types/routes/management-api/tenants.d.ts +16 -16
  40. package/dist/types/routes/management-api/themes.d.ts +9 -9
  41. package/dist/types/routes/management-api/users.d.ts +12 -12
  42. package/dist/types/routes/saml/index.d.ts +6 -6
  43. package/dist/types/routes/saml/samlp.d.ts +6 -6
  44. package/dist/types/routes/universal-login/common.d.ts +12 -12
  45. package/dist/types/routes/universal-login/flow-api.d.ts +8 -8
  46. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  47. package/dist/types/routes/universal-login/impersonate.d.ts +2 -2
  48. package/dist/types/routes/universal-login/index.d.ts +4 -4
  49. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  50. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  51. package/dist/types/state-machines/login-session.d.ts +3 -1
  52. package/dist/types/utils/cookies.d.ts +50 -9
  53. package/package.json +1 -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?: "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: {
@@ -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" | "private_key_jwt" | "client_secret_jwt" | undefined;
304
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
305
305
  jwks_uri?: string | undefined;
306
306
  jwks?: Record<string, unknown> | undefined;
307
307
  software_id?: string | undefined;
@@ -390,7 +390,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
390
390
  scope?: string | undefined;
391
391
  grant_types?: string[] | undefined;
392
392
  response_types?: string[] | undefined;
393
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
393
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
394
  jwks_uri?: string | undefined;
395
395
  jwks?: Record<string, unknown> | undefined;
396
396
  software_id?: string | undefined;
@@ -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: {
@@ -741,17 +741,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
741
741
  email: string;
742
742
  send: "code" | "link";
743
743
  authParams: {
744
- scope?: string | undefined;
745
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
746
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
747
744
  username?: string | undefined;
748
- audience?: string | undefined;
749
- prompt?: string | undefined;
745
+ scope?: string | undefined;
750
746
  state?: string | undefined;
751
- act_as?: string | undefined;
747
+ audience?: string | undefined;
752
748
  redirect_uri?: string | undefined;
749
+ act_as?: string | undefined;
750
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
751
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
753
752
  organization?: string | undefined;
754
753
  nonce?: string | undefined;
754
+ prompt?: string | undefined;
755
755
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
756
756
  code_challenge?: string | undefined;
757
757
  ui_locales?: string | undefined;
@@ -777,17 +777,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
777
777
  phone_number: string;
778
778
  send: "code" | "link";
779
779
  authParams: {
780
- scope?: string | undefined;
781
- response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
782
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
783
780
  username?: string | undefined;
784
- audience?: string | undefined;
785
- prompt?: string | undefined;
781
+ scope?: string | undefined;
786
782
  state?: string | undefined;
787
- act_as?: string | undefined;
783
+ audience?: string | undefined;
788
784
  redirect_uri?: string | undefined;
785
+ act_as?: string | undefined;
786
+ response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
787
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
789
788
  organization?: string | undefined;
790
789
  nonce?: string | undefined;
790
+ prompt?: string | undefined;
791
791
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
792
792
  code_challenge?: string | undefined;
793
793
  ui_locales?: string | undefined;
@@ -921,14 +921,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
921
921
  input: {
922
922
  form: {
923
923
  token: string;
924
- token_type_hint?: "access_token" | "refresh_token" | undefined;
924
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
925
925
  client_id?: string | undefined;
926
926
  client_secret?: string | undefined;
927
927
  };
928
928
  } & {
929
929
  json: {
930
930
  token: string;
931
- token_type_hint?: "access_token" | "refresh_token" | undefined;
931
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
932
932
  client_id?: string | undefined;
933
933
  client_secret?: string | undefined;
934
934
  };
@@ -940,14 +940,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
940
940
  input: {
941
941
  form: {
942
942
  token: string;
943
- token_type_hint?: "access_token" | "refresh_token" | undefined;
943
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
944
944
  client_id?: string | undefined;
945
945
  client_secret?: string | undefined;
946
946
  };
947
947
  } & {
948
948
  json: {
949
949
  token: string;
950
- token_type_hint?: "access_token" | "refresh_token" | undefined;
950
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
951
951
  client_id?: string | undefined;
952
952
  client_secret?: string | undefined;
953
953
  };
@@ -962,14 +962,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
962
962
  input: {
963
963
  form: {
964
964
  token: string;
965
- token_type_hint?: "access_token" | "refresh_token" | undefined;
965
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
966
966
  client_id?: string | undefined;
967
967
  client_secret?: string | undefined;
968
968
  };
969
969
  } & {
970
970
  json: {
971
971
  token: string;
972
- token_type_hint?: "access_token" | "refresh_token" | undefined;
972
+ token_type_hint?: "refresh_token" | "access_token" | undefined;
973
973
  client_id?: string | undefined;
974
974
  client_secret?: string | undefined;
975
975
  };
@@ -2030,7 +2030,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2030
2030
  };
2031
2031
  output: {};
2032
2032
  outputFormat: string;
2033
- status: 200;
2033
+ status: 302;
2034
2034
  } | {
2035
2035
  input: {
2036
2036
  query: {
@@ -2044,7 +2044,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2044
2044
  };
2045
2045
  output: {};
2046
2046
  outputFormat: string;
2047
- status: 302;
2047
+ status: 400;
2048
2048
  } | {
2049
2049
  input: {
2050
2050
  query: {
@@ -2058,7 +2058,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
2058
2058
  };
2059
2059
  output: {};
2060
2060
  outputFormat: string;
2061
- status: 400;
2061
+ status: 200;
2062
2062
  };
2063
2063
  };
2064
2064
  }, "/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: 200;
21
+ status: 302;
22
22
  } | {
23
23
  input: {
24
24
  query: {
@@ -32,7 +32,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
32
32
  };
33
33
  output: {};
34
34
  outputFormat: string;
35
- status: 302;
35
+ status: 400;
36
36
  } | {
37
37
  input: {
38
38
  query: {
@@ -46,7 +46,7 @@ export declare const oidcLogoutRoutes: OpenAPIHono<{
46
46
  };
47
47
  output: {};
48
48
  outputFormat: string;
49
- status: 400;
49
+ status: 200;
50
50
  };
51
51
  };
52
52
  }, "/">;
@@ -14,17 +14,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
14
14
  email: string;
15
15
  send: "code" | "link";
16
16
  authParams: {
17
- scope?: string | undefined;
18
- response_type?: AuthorizationResponseType | undefined;
19
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
20
17
  username?: string | undefined;
21
- audience?: string | undefined;
22
- prompt?: string | undefined;
18
+ scope?: string | undefined;
23
19
  state?: string | undefined;
24
- act_as?: string | undefined;
20
+ audience?: string | undefined;
25
21
  redirect_uri?: string | undefined;
22
+ act_as?: string | undefined;
23
+ response_type?: AuthorizationResponseType | undefined;
24
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
26
25
  organization?: string | undefined;
27
26
  nonce?: string | undefined;
27
+ prompt?: string | undefined;
28
28
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
29
  code_challenge?: string | undefined;
30
30
  ui_locales?: string | undefined;
@@ -50,17 +50,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
50
50
  phone_number: string;
51
51
  send: "code" | "link";
52
52
  authParams: {
53
- scope?: string | undefined;
54
- response_type?: AuthorizationResponseType | undefined;
55
- response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
56
53
  username?: string | undefined;
57
- audience?: string | undefined;
58
- prompt?: string | undefined;
54
+ scope?: string | undefined;
59
55
  state?: string | undefined;
60
- act_as?: string | undefined;
56
+ audience?: string | undefined;
61
57
  redirect_uri?: string | undefined;
58
+ act_as?: string | undefined;
59
+ response_type?: AuthorizationResponseType | undefined;
60
+ response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
62
61
  organization?: string | undefined;
63
62
  nonce?: string | undefined;
63
+ prompt?: string | undefined;
64
64
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
65
  code_challenge?: string | undefined;
66
66
  ui_locales?: 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" | "private_key_jwt" | "client_secret_jwt" | undefined;
21
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
22
22
  jwks_uri?: string | undefined;
23
23
  jwks?: Record<string, unknown> | undefined;
24
24
  software_id?: string | undefined;
@@ -107,7 +107,7 @@ export declare const registerRoutes: OpenAPIHono<{
107
107
  scope?: string | undefined;
108
108
  grant_types?: string[] | undefined;
109
109
  response_types?: string[] | undefined;
110
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
110
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
111
111
  jwks_uri?: string | undefined;
112
112
  jwks?: Record<string, unknown> | undefined;
113
113
  software_id?: string | undefined;
@@ -70,7 +70,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
70
70
  json: {
71
71
  bindings: {
72
72
  ref: {
73
- type?: "action_id" | "action_name" | undefined;
73
+ type?: "action_name" | "action_id" | undefined;
74
74
  value?: string | undefined;
75
75
  id?: string | undefined;
76
76
  name?: string | undefined;
@@ -95,7 +95,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
95
95
  json: {
96
96
  bindings: {
97
97
  ref: {
98
- type?: "action_id" | "action_name" | undefined;
98
+ type?: "action_name" | "action_id" | undefined;
99
99
  value?: string | undefined;
100
100
  id?: string | undefined;
101
101
  name?: string | undefined;
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "error" | "log" | "info" | "warn" | "debug";
922
+ level: "log" | "error" | "info" | "warn" | "debug";
923
923
  message: string;
924
924
  }[];
925
925
  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: "email" | "push" | "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;
@@ -77,13 +77,13 @@ export declare const brandingRoutes: OpenAPIHono<{
77
77
  page_background: {
78
78
  background_color: string;
79
79
  background_image_url: string;
80
- page_layout: "left" | "right" | "center";
80
+ page_layout: "center" | "left" | "right";
81
81
  logo_placement?: "none" | "widget" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
- header_text_alignment: "left" | "right" | "center";
84
+ header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "none" | "left" | "right" | "center";
86
+ logo_position: "none" | "center" | "left" | "right";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -167,13 +167,13 @@ export declare const brandingRoutes: OpenAPIHono<{
167
167
  page_background: {
168
168
  background_color: string;
169
169
  background_image_url: string;
170
- page_layout: "left" | "right" | "center";
170
+ page_layout: "center" | "left" | "right";
171
171
  logo_placement?: "none" | "widget" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
- header_text_alignment: "left" | "right" | "center";
174
+ header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "none" | "left" | "right" | "center";
176
+ logo_position: "none" | "center" | "left" | "right";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -246,13 +246,13 @@ export declare const brandingRoutes: OpenAPIHono<{
246
246
  page_background: {
247
247
  background_color: string;
248
248
  background_image_url: string;
249
- page_layout: "left" | "right" | "center";
249
+ page_layout: "center" | "left" | "right";
250
250
  logo_placement?: "none" | "widget" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
- header_text_alignment: "left" | "right" | "center";
253
+ header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "none" | "left" | "right" | "center";
255
+ logo_position: "none" | "center" | "left" | "right";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -379,7 +379,7 @@ export declare const brandingRoutes: OpenAPIHono<{
379
379
  };
380
380
  output: {};
381
381
  outputFormat: string;
382
- status: 204;
382
+ status: 400;
383
383
  } | {
384
384
  input: {
385
385
  header: {
@@ -392,7 +392,7 @@ export declare const brandingRoutes: OpenAPIHono<{
392
392
  };
393
393
  output: {};
394
394
  outputFormat: string;
395
- status: 400;
395
+ status: 204;
396
396
  };
397
397
  };
398
398
  } & {
@@ -418,7 +418,7 @@ export declare const brandingRoutes: OpenAPIHono<{
418
418
  } & {
419
419
  json: {
420
420
  body?: string | undefined;
421
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
421
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
422
422
  branding?: {
423
423
  colors?: {
424
424
  primary: string;
@@ -506,13 +506,13 @@ export declare const brandingRoutes: OpenAPIHono<{
506
506
  page_background?: {
507
507
  background_color: string;
508
508
  background_image_url: string;
509
- page_layout: "left" | "right" | "center";
509
+ page_layout: "center" | "left" | "right";
510
510
  logo_placement?: "none" | "widget" | "chip" | undefined;
511
511
  } | undefined;
512
512
  widget?: {
513
- header_text_alignment: "left" | "right" | "center";
513
+ header_text_alignment: "center" | "left" | "right";
514
514
  logo_height: number;
515
- logo_position: "none" | "left" | "right" | "center";
515
+ logo_position: "none" | "center" | "left" | "right";
516
516
  logo_url: string;
517
517
  social_buttons_layout: "bottom" | "top";
518
518
  } | 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;
@@ -152,7 +152,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
152
152
  organization_usage?: "deny" | "allow" | "require" | undefined;
153
153
  allow_any_organization?: boolean | undefined;
154
154
  is_system?: boolean | undefined;
155
- subject_type?: "client" | "user" | undefined;
155
+ subject_type?: "user" | "client" | undefined;
156
156
  authorization_details_types?: string[] | undefined;
157
157
  };
158
158
  };
@@ -164,7 +164,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
164
164
  organization_usage?: "deny" | "allow" | "require" | undefined;
165
165
  allow_any_organization?: boolean | undefined;
166
166
  is_system?: boolean | undefined;
167
- subject_type?: "client" | "user" | undefined;
167
+ subject_type?: "user" | "client" | undefined;
168
168
  authorization_details_types?: string[] | undefined;
169
169
  created_at?: string | undefined;
170
170
  updated_at?: string | undefined;
@@ -188,7 +188,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
188
188
  organization_usage?: "deny" | "allow" | "require" | undefined;
189
189
  allow_any_organization?: boolean | undefined;
190
190
  is_system?: boolean | undefined;
191
- subject_type?: "client" | "user" | undefined;
191
+ subject_type?: "user" | "client" | undefined;
192
192
  authorization_details_types?: string[] | undefined;
193
193
  };
194
194
  };
@@ -200,7 +200,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
200
200
  organization_usage?: "deny" | "allow" | "require" | undefined;
201
201
  allow_any_organization?: boolean | undefined;
202
202
  is_system?: boolean | undefined;
203
- subject_type?: "client" | "user" | undefined;
203
+ subject_type?: "user" | "client" | undefined;
204
204
  authorization_details_types?: string[] | undefined;
205
205
  created_at?: string | undefined;
206
206
  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" | "private_key_jwt" | "client_secret_jwt" | undefined;
81
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
82
82
  client_metadata?: {
83
83
  [x: string]: string;
84
84
  } | undefined;
@@ -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" | "private_key_jwt" | "client_secret_jwt" | undefined;
186
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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" | "private_key_jwt" | "client_secret_jwt" | undefined;
291
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_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" | "private_key_jwt" | "client_secret_jwt" | undefined;
411
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
412
412
  client_metadata?: {
413
413
  [x: string]: string;
414
414
  } | undefined;
@@ -542,7 +542,7 @@ export declare const clientRoutes: OpenAPIHono<{
542
542
  custom_login_page_preview?: string | undefined;
543
543
  form_template?: string | undefined;
544
544
  addons?: Record<string, any> | undefined;
545
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
545
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
546
546
  client_metadata?: Record<string, string> | undefined;
547
547
  hide_sign_up_disabled_error?: boolean | undefined;
548
548
  mobile?: Record<string, any> | undefined;
@@ -631,7 +631,7 @@ export declare const clientRoutes: OpenAPIHono<{
631
631
  addons?: {
632
632
  [x: string]: any;
633
633
  } | undefined;
634
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
634
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
635
635
  client_metadata?: {
636
636
  [x: string]: string;
637
637
  } | undefined;
@@ -731,7 +731,7 @@ export declare const clientRoutes: OpenAPIHono<{
731
731
  custom_login_page_preview?: string | undefined;
732
732
  form_template?: string | undefined;
733
733
  addons?: Record<string, any> | undefined;
734
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
734
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
735
735
  client_metadata?: Record<string, string> | undefined;
736
736
  hide_sign_up_disabled_error?: boolean | undefined;
737
737
  mobile?: Record<string, any> | undefined;
@@ -820,7 +820,7 @@ export declare const clientRoutes: OpenAPIHono<{
820
820
  addons?: {
821
821
  [x: string]: any;
822
822
  } | undefined;
823
- token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "private_key_jwt" | "client_secret_jwt" | undefined;
823
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
824
824
  client_metadata?: {
825
825
  [x: string]: string;
826
826
  } | undefined;
@@ -1047,7 +1047,7 @@ export declare const connectionRoutes: OpenAPIHono<{
1047
1047
  };
1048
1048
  } | {
1049
1049
  mode: "inline";
1050
- status: "error" | "success";
1050
+ status: "success" | "error";
1051
1051
  connection_id: string;
1052
1052
  connection_name: string;
1053
1053
  strategy: string;
@@ -28,7 +28,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
28
28
  type: "auth0_managed_certs" | "self_managed_certs";
29
29
  custom_domain_id: string;
30
30
  primary: boolean;
31
- status: "disabled" | "pending" | "ready" | "pending_verification";
31
+ status: "pending" | "ready" | "disabled" | "pending_verification";
32
32
  verification_method?: "txt" | undefined;
33
33
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
34
34
  domain_metadata?: {
@@ -69,7 +69,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
69
69
  type: "auth0_managed_certs" | "self_managed_certs";
70
70
  custom_domain_id: string;
71
71
  primary: boolean;
72
- status: "disabled" | "pending" | "ready" | "pending_verification";
72
+ status: "pending" | "ready" | "disabled" | "pending_verification";
73
73
  verification_method?: "txt" | undefined;
74
74
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
75
75
  domain_metadata?: {
@@ -133,7 +133,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
133
133
  type: "auth0_managed_certs" | "self_managed_certs";
134
134
  custom_domain_id: string;
135
135
  primary: boolean;
136
- status: "disabled" | "pending" | "ready" | "pending_verification";
136
+ status: "pending" | "ready" | "disabled" | "pending_verification";
137
137
  verification_method?: "txt" | undefined;
138
138
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
139
139
  domain_metadata?: {
@@ -180,7 +180,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
180
180
  type: "auth0_managed_certs" | "self_managed_certs";
181
181
  custom_domain_id: string;
182
182
  primary: boolean;
183
- status: "disabled" | "pending" | "ready" | "pending_verification";
183
+ status: "pending" | "ready" | "disabled" | "pending_verification";
184
184
  verification_method?: "txt" | undefined;
185
185
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
186
186
  domain_metadata?: {
@@ -226,7 +226,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
226
226
  type: "auth0_managed_certs" | "self_managed_certs";
227
227
  custom_domain_id: string;
228
228
  primary: boolean;
229
- status: "disabled" | "pending" | "ready" | "pending_verification";
229
+ status: "pending" | "ready" | "disabled" | "pending_verification";
230
230
  verification_method?: "txt" | undefined;
231
231
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
232
232
  domain_metadata?: {
@@ -267,7 +267,7 @@ export declare const customDomainRoutes: OpenAPIHono<{
267
267
  type: "auth0_managed_certs" | "self_managed_certs";
268
268
  custom_domain_id: string;
269
269
  primary: boolean;
270
- status: "disabled" | "pending" | "ready" | "pending_verification";
270
+ status: "pending" | "ready" | "disabled" | "pending_verification";
271
271
  verification_method?: "txt" | undefined;
272
272
  custom_client_ip_header?: "null" | "true-client-ip" | "cf-connecting-ip" | "x-forwarded-for" | "x-azure-clientip" | undefined;
273
273
  domain_metadata?: {