authhero 9.35.0 → 9.36.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 (52) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +72 -72
  3. package/dist/authhero.d.ts +141 -139
  4. package/dist/authhero.mjs +16605 -16119
  5. package/dist/{mfa-fD5vp7ql.mjs → mfa-B044FRjD.mjs} +22 -22
  6. package/dist/{mfa-XAWdFO9R.js → mfa-DPwn1ajo.js} +1 -1
  7. package/dist/mfa-attempts-BiU_pMOV.js +275 -0
  8. package/dist/{mfa-attempts-CpIqAsQd.mjs → mfa-attempts-DGOLb2oh.mjs} +6294 -6041
  9. package/dist/{passkey-enrollment-BB99mHdQ.js → passkey-enrollment-BDboqoaP.js} +1 -1
  10. package/dist/tsconfig.types.tsbuildinfo +1 -1
  11. package/dist/types/authentication-flows/passwordless.d.ts +5 -2
  12. package/dist/types/errors/management-api-error.d.ts +3 -0
  13. package/dist/types/helpers/database-connection-scope.d.ts +67 -0
  14. package/dist/types/helpers/dcr/metadata-mapping.d.ts +1 -1
  15. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  16. package/dist/types/helpers/sso-access-tickets.d.ts +18 -0
  17. package/dist/types/helpers/users.d.ts +12 -2
  18. package/dist/types/index.d.ts +141 -139
  19. package/dist/types/routes/auth-api/index.d.ts +20 -18
  20. package/dist/types/routes/auth-api/passwordless.d.ts +10 -8
  21. package/dist/types/routes/auth-api/token.d.ts +10 -10
  22. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  23. package/dist/types/routes/management-api/actions.d.ts +1 -1
  24. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  25. package/dist/types/routes/management-api/branding.d.ts +13 -13
  26. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  27. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  28. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  29. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  30. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  31. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  32. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  33. package/dist/types/routes/management-api/index.d.ts +116 -116
  34. package/dist/types/routes/management-api/keys.d.ts +12 -12
  35. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  36. package/dist/types/routes/management-api/logs.d.ts +4 -4
  37. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  38. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  39. package/dist/types/routes/management-api/prompts.d.ts +6 -6
  40. package/dist/types/routes/management-api/roles.d.ts +1 -1
  41. package/dist/types/routes/management-api/self-service-profiles.d.ts +345 -0
  42. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -10
  43. package/dist/types/routes/management-api/tenants.d.ts +10 -10
  44. package/dist/types/routes/management-api/themes.d.ts +9 -9
  45. package/dist/types/routes/management-api/users.d.ts +17 -17
  46. package/dist/types/routes/universal-login/common.d.ts +8 -6
  47. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  48. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  49. package/dist/types/state-machines/login-session.d.ts +1 -1
  50. package/dist/types/utils/username-password-provider.d.ts +14 -3
  51. package/package.json +6 -6
  52. package/dist/mfa-attempts-C7toCIRn.js +0 -275
@@ -748,16 +748,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
748
748
  send: "code" | "link";
749
749
  authParams: {
750
750
  username?: string | undefined;
751
+ connection?: string | undefined;
751
752
  scope?: string | undefined;
753
+ state?: string | undefined;
752
754
  audience?: string | undefined;
755
+ redirect_uri?: string | undefined;
753
756
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
754
757
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
755
- state?: string | undefined;
756
- act_as?: string | undefined;
757
- redirect_uri?: string | undefined;
758
758
  organization?: string | undefined;
759
- nonce?: string | undefined;
760
759
  prompt?: string | undefined;
760
+ act_as?: string | undefined;
761
+ nonce?: string | undefined;
761
762
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
762
763
  code_challenge?: string | undefined;
763
764
  ui_locales?: string | undefined;
@@ -784,16 +785,17 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
784
785
  send: "code" | "link";
785
786
  authParams: {
786
787
  username?: string | undefined;
788
+ connection?: string | undefined;
787
789
  scope?: string | undefined;
790
+ state?: string | undefined;
788
791
  audience?: string | undefined;
792
+ redirect_uri?: string | undefined;
789
793
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
790
794
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
791
- state?: string | undefined;
792
- act_as?: string | undefined;
793
- redirect_uri?: string | undefined;
794
795
  organization?: string | undefined;
795
- nonce?: string | undefined;
796
796
  prompt?: string | undefined;
797
+ act_as?: string | undefined;
798
+ nonce?: string | undefined;
797
799
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
798
800
  code_challenge?: string | undefined;
799
801
  ui_locales?: string | undefined;
@@ -1162,7 +1164,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1162
1164
  client_id: string;
1163
1165
  username: string;
1164
1166
  otp: string;
1165
- realm: "sms" | "email";
1167
+ realm: "email" | "sms";
1166
1168
  scope?: string | undefined;
1167
1169
  audience?: string | undefined;
1168
1170
  } | {
@@ -1230,7 +1232,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1230
1232
  client_id: string;
1231
1233
  username: string;
1232
1234
  otp: string;
1233
- realm: "sms" | "email";
1235
+ realm: "email" | "sms";
1234
1236
  scope?: string | undefined;
1235
1237
  audience?: string | undefined;
1236
1238
  } | {
@@ -1303,7 +1305,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1303
1305
  client_id: string;
1304
1306
  username: string;
1305
1307
  otp: string;
1306
- realm: "sms" | "email";
1308
+ realm: "email" | "sms";
1307
1309
  scope?: string | undefined;
1308
1310
  audience?: string | undefined;
1309
1311
  } | {
@@ -1371,7 +1373,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1371
1373
  client_id: string;
1372
1374
  username: string;
1373
1375
  otp: string;
1374
- realm: "sms" | "email";
1376
+ realm: "email" | "sms";
1375
1377
  scope?: string | undefined;
1376
1378
  audience?: string | undefined;
1377
1379
  } | {
@@ -1453,7 +1455,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1453
1455
  client_id: string;
1454
1456
  username: string;
1455
1457
  otp: string;
1456
- realm: "sms" | "email";
1458
+ realm: "email" | "sms";
1457
1459
  scope?: string | undefined;
1458
1460
  audience?: string | undefined;
1459
1461
  } | {
@@ -1521,7 +1523,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1521
1523
  client_id: string;
1522
1524
  username: string;
1523
1525
  otp: string;
1524
- realm: "sms" | "email";
1526
+ realm: "email" | "sms";
1525
1527
  scope?: string | undefined;
1526
1528
  audience?: string | undefined;
1527
1529
  } | {
@@ -1597,7 +1599,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1597
1599
  client_id: string;
1598
1600
  username: string;
1599
1601
  otp: string;
1600
- realm: "sms" | "email";
1602
+ realm: "email" | "sms";
1601
1603
  scope?: string | undefined;
1602
1604
  audience?: string | undefined;
1603
1605
  } | {
@@ -1665,7 +1667,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1665
1667
  client_id: string;
1666
1668
  username: string;
1667
1669
  otp: string;
1668
- realm: "sms" | "email";
1670
+ realm: "email" | "sms";
1669
1671
  scope?: string | undefined;
1670
1672
  audience?: string | undefined;
1671
1673
  } | {
@@ -1741,7 +1743,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1741
1743
  client_id: string;
1742
1744
  username: string;
1743
1745
  otp: string;
1744
- realm: "sms" | "email";
1746
+ realm: "email" | "sms";
1745
1747
  scope?: string | undefined;
1746
1748
  audience?: string | undefined;
1747
1749
  } | {
@@ -1809,7 +1811,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1809
1811
  client_id: string;
1810
1812
  username: string;
1811
1813
  otp: string;
1812
- realm: "sms" | "email";
1814
+ realm: "email" | "sms";
1813
1815
  scope?: string | undefined;
1814
1816
  audience?: string | undefined;
1815
1817
  } | {
@@ -15,16 +15,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
15
15
  send: "code" | "link";
16
16
  authParams: {
17
17
  username?: string | undefined;
18
+ connection?: string | undefined;
18
19
  scope?: string | undefined;
20
+ state?: string | undefined;
19
21
  audience?: string | undefined;
22
+ redirect_uri?: string | undefined;
20
23
  response_type?: AuthorizationResponseType | undefined;
21
24
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
22
- state?: string | undefined;
23
- act_as?: string | undefined;
24
- redirect_uri?: string | undefined;
25
25
  organization?: string | undefined;
26
- nonce?: string | undefined;
27
26
  prompt?: string | undefined;
27
+ act_as?: string | undefined;
28
+ nonce?: string | undefined;
28
29
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
29
30
  code_challenge?: string | undefined;
30
31
  ui_locales?: string | undefined;
@@ -51,16 +52,17 @@ export declare const passwordlessRoutes: OpenAPIHono<{
51
52
  send: "code" | "link";
52
53
  authParams: {
53
54
  username?: string | undefined;
55
+ connection?: string | undefined;
54
56
  scope?: string | undefined;
57
+ state?: string | undefined;
55
58
  audience?: string | undefined;
59
+ redirect_uri?: string | undefined;
56
60
  response_type?: AuthorizationResponseType | undefined;
57
61
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
58
- state?: string | undefined;
59
- act_as?: string | undefined;
60
- redirect_uri?: string | undefined;
61
62
  organization?: string | undefined;
62
- nonce?: string | undefined;
63
63
  prompt?: string | undefined;
64
+ act_as?: string | undefined;
65
+ nonce?: string | undefined;
64
66
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
67
  code_challenge?: string | undefined;
66
68
  ui_locales?: string | undefined;
@@ -48,7 +48,7 @@ export declare const tokenRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  username: string;
50
50
  otp: string;
51
- realm: "sms" | "email";
51
+ realm: "email" | "sms";
52
52
  scope?: string | undefined;
53
53
  audience?: string | undefined;
54
54
  } | {
@@ -116,7 +116,7 @@ export declare const tokenRoutes: OpenAPIHono<{
116
116
  client_id: string;
117
117
  username: string;
118
118
  otp: string;
119
- realm: "sms" | "email";
119
+ realm: "email" | "sms";
120
120
  scope?: string | undefined;
121
121
  audience?: string | undefined;
122
122
  } | {
@@ -189,7 +189,7 @@ export declare const tokenRoutes: OpenAPIHono<{
189
189
  client_id: string;
190
190
  username: string;
191
191
  otp: string;
192
- realm: "sms" | "email";
192
+ realm: "email" | "sms";
193
193
  scope?: string | undefined;
194
194
  audience?: string | undefined;
195
195
  } | {
@@ -257,7 +257,7 @@ export declare const tokenRoutes: OpenAPIHono<{
257
257
  client_id: string;
258
258
  username: string;
259
259
  otp: string;
260
- realm: "sms" | "email";
260
+ realm: "email" | "sms";
261
261
  scope?: string | undefined;
262
262
  audience?: string | undefined;
263
263
  } | {
@@ -339,7 +339,7 @@ export declare const tokenRoutes: OpenAPIHono<{
339
339
  client_id: string;
340
340
  username: string;
341
341
  otp: string;
342
- realm: "sms" | "email";
342
+ realm: "email" | "sms";
343
343
  scope?: string | undefined;
344
344
  audience?: string | undefined;
345
345
  } | {
@@ -407,7 +407,7 @@ export declare const tokenRoutes: OpenAPIHono<{
407
407
  client_id: string;
408
408
  username: string;
409
409
  otp: string;
410
- realm: "sms" | "email";
410
+ realm: "email" | "sms";
411
411
  scope?: string | undefined;
412
412
  audience?: string | undefined;
413
413
  } | {
@@ -483,7 +483,7 @@ export declare const tokenRoutes: OpenAPIHono<{
483
483
  client_id: string;
484
484
  username: string;
485
485
  otp: string;
486
- realm: "sms" | "email";
486
+ realm: "email" | "sms";
487
487
  scope?: string | undefined;
488
488
  audience?: string | undefined;
489
489
  } | {
@@ -551,7 +551,7 @@ export declare const tokenRoutes: OpenAPIHono<{
551
551
  client_id: string;
552
552
  username: string;
553
553
  otp: string;
554
- realm: "sms" | "email";
554
+ realm: "email" | "sms";
555
555
  scope?: string | undefined;
556
556
  audience?: string | undefined;
557
557
  } | {
@@ -627,7 +627,7 @@ export declare const tokenRoutes: OpenAPIHono<{
627
627
  client_id: string;
628
628
  username: string;
629
629
  otp: string;
630
- realm: "sms" | "email";
630
+ realm: "email" | "sms";
631
631
  scope?: string | undefined;
632
632
  audience?: string | undefined;
633
633
  } | {
@@ -695,7 +695,7 @@ export declare const tokenRoutes: OpenAPIHono<{
695
695
  client_id: string;
696
696
  username: string;
697
697
  otp: string;
698
- realm: "sms" | "email";
698
+ realm: "email" | "sms";
699
699
  scope?: string | undefined;
700
700
  audience?: string | undefined;
701
701
  } | {
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
34
+ status: "unspecified" | "pending" | "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
  }[];
@@ -919,7 +919,7 @@ export declare const actionsRoutes: OpenAPIHono<{
919
919
  args: import("hono/utils/types").JSONValue[];
920
920
  }[];
921
921
  logs: {
922
- level: "log" | "error" | "info" | "warn" | "debug";
922
+ level: "error" | "log" | "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" | "webauthn-roaming" | "webauthn-platform" | "totp";
40
+ type: "push" | "email" | "passkey" | "webauthn-roaming" | "webauthn-platform" | "phone" | "totp";
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
  };
@@ -497,7 +497,7 @@ export declare const brandingRoutes: OpenAPIHono<{
497
497
  } & {
498
498
  json: {
499
499
  body?: string | undefined;
500
- screen?: "identifier" | "signup" | "password" | "login" | undefined;
500
+ screen?: "password" | "identifier" | "signup" | "login" | undefined;
501
501
  branding?: {
502
502
  colors?: {
503
503
  primary: string;
@@ -585,13 +585,13 @@ export declare const brandingRoutes: OpenAPIHono<{
585
585
  page_background?: {
586
586
  background_color: string;
587
587
  background_image_url: string;
588
- page_layout: "left" | "right" | "center";
588
+ page_layout: "center" | "left" | "right";
589
589
  logo_placement?: "none" | "widget" | "chip" | undefined;
590
590
  } | undefined;
591
591
  widget?: {
592
- header_text_alignment: "left" | "right" | "center";
592
+ header_text_alignment: "center" | "left" | "right";
593
593
  logo_height: number;
594
- logo_position: "none" | "left" | "right" | "center";
594
+ logo_position: "none" | "center" | "left" | "right";
595
595
  logo_url: string;
596
596
  social_buttons_layout: "bottom" | "top";
597
597
  } | 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;
@@ -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: "pending" | "ready" | "disabled" | "pending_verification";
31
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
72
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
136
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
183
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
229
+ status: "disabled" | "pending" | "ready" | "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: "pending" | "ready" | "disabled" | "pending_verification";
270
+ status: "disabled" | "pending" | "ready" | "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?: {