authhero 8.21.0 → 8.22.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/index.esm.js +1 -1
  2. package/dist/authhero.cjs +112 -112
  3. package/dist/authhero.d.ts +385 -132
  4. package/dist/authhero.mjs +11626 -11473
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/authentication-flows/passwordless.d.ts +3 -3
  7. package/dist/types/errors/is-http-exception-like.d.ts +11 -0
  8. package/dist/types/helpers/dcr/metadata-mapping.d.ts +2 -2
  9. package/dist/types/index.d.ts +263 -129
  10. package/dist/types/routes/auth-api/index.d.ts +16 -16
  11. package/dist/types/routes/auth-api/passwordless.d.ts +4 -4
  12. package/dist/types/routes/auth-api/register/index.d.ts +2 -2
  13. package/dist/types/routes/auth-api/token.d.ts +10 -10
  14. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  15. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  16. package/dist/types/routes/management-api/branding.d.ts +9 -9
  17. package/dist/types/routes/management-api/client-grants.d.ts +9 -9
  18. package/dist/types/routes/management-api/clients.d.ts +102 -7
  19. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  20. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  21. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  22. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  23. package/dist/types/routes/management-api/index.d.ts +213 -80
  24. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  25. package/dist/types/routes/management-api/logs.d.ts +41 -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/tenants.d.ts +6 -6
  30. package/dist/types/routes/management-api/themes.d.ts +6 -6
  31. package/dist/types/routes/management-api/users.d.ts +2 -2
  32. package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.d.ts +122 -0
  33. package/dist/types/routes/proxy-control-plane/wfp-tenant-hosts.test.d.ts +1 -0
  34. package/dist/types/routes/universal-login/common.d.ts +6 -6
  35. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  36. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  37. package/package.json +5 -5
@@ -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?: "client_secret_post" | "client_secret_basic" | "none" | "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?: "client_secret_post" | "client_secret_basic" | "none" | "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;
@@ -739,14 +739,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
739
739
  audience?: string | undefined;
740
740
  scope?: string | undefined;
741
741
  username?: string | undefined;
742
- organization?: string | undefined;
743
742
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
744
743
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
745
744
  state?: string | undefined;
745
+ prompt?: string | undefined;
746
+ organization?: string | undefined;
746
747
  nonce?: string | undefined;
747
748
  act_as?: string | undefined;
748
749
  redirect_uri?: string | undefined;
749
- prompt?: string | undefined;
750
750
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
751
751
  code_challenge?: string | undefined;
752
752
  ui_locales?: string | undefined;
@@ -775,14 +775,14 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
775
775
  audience?: string | undefined;
776
776
  scope?: string | undefined;
777
777
  username?: string | undefined;
778
- organization?: string | undefined;
779
778
  response_type?: import("@authhero/adapter-interfaces").AuthorizationResponseType | undefined;
780
779
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
781
780
  state?: string | undefined;
781
+ prompt?: string | undefined;
782
+ organization?: string | undefined;
782
783
  nonce?: string | undefined;
783
784
  act_as?: string | undefined;
784
785
  redirect_uri?: string | undefined;
785
- prompt?: string | undefined;
786
786
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
787
787
  code_challenge?: string | undefined;
788
788
  ui_locales?: string | undefined;
@@ -1014,7 +1014,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1014
1014
  client_id: string;
1015
1015
  username: string;
1016
1016
  otp: string;
1017
- realm: "email" | "sms";
1017
+ realm: "sms" | "email";
1018
1018
  } | {
1019
1019
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1020
1020
  subject_token: string;
@@ -1061,7 +1061,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1061
1061
  client_id: string;
1062
1062
  username: string;
1063
1063
  otp: string;
1064
- realm: "email" | "sms";
1064
+ realm: "sms" | "email";
1065
1065
  } | {
1066
1066
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1067
1067
  subject_token: string;
@@ -1113,7 +1113,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1113
1113
  client_id: string;
1114
1114
  username: string;
1115
1115
  otp: string;
1116
- realm: "email" | "sms";
1116
+ realm: "sms" | "email";
1117
1117
  } | {
1118
1118
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1119
1119
  subject_token: string;
@@ -1160,7 +1160,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1160
1160
  client_id: string;
1161
1161
  username: string;
1162
1162
  otp: string;
1163
- realm: "email" | "sms";
1163
+ realm: "sms" | "email";
1164
1164
  } | {
1165
1165
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1166
1166
  subject_token: string;
@@ -1220,7 +1220,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1220
1220
  client_id: string;
1221
1221
  username: string;
1222
1222
  otp: string;
1223
- realm: "email" | "sms";
1223
+ realm: "sms" | "email";
1224
1224
  } | {
1225
1225
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1226
1226
  subject_token: string;
@@ -1267,7 +1267,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1267
1267
  client_id: string;
1268
1268
  username: string;
1269
1269
  otp: string;
1270
- realm: "email" | "sms";
1270
+ realm: "sms" | "email";
1271
1271
  } | {
1272
1272
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1273
1273
  subject_token: string;
@@ -1322,7 +1322,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1322
1322
  client_id: string;
1323
1323
  username: string;
1324
1324
  otp: string;
1325
- realm: "email" | "sms";
1325
+ realm: "sms" | "email";
1326
1326
  } | {
1327
1327
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1328
1328
  subject_token: string;
@@ -1369,7 +1369,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1369
1369
  client_id: string;
1370
1370
  username: string;
1371
1371
  otp: string;
1372
- realm: "email" | "sms";
1372
+ realm: "sms" | "email";
1373
1373
  } | {
1374
1374
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1375
1375
  subject_token: string;
@@ -1424,7 +1424,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1424
1424
  client_id: string;
1425
1425
  username: string;
1426
1426
  otp: string;
1427
- realm: "email" | "sms";
1427
+ realm: "sms" | "email";
1428
1428
  } | {
1429
1429
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1430
1430
  subject_token: string;
@@ -1471,7 +1471,7 @@ export default function create(config: AuthHeroConfig): OpenAPIHono<{
1471
1471
  client_id: string;
1472
1472
  username: string;
1473
1473
  otp: string;
1474
- realm: "email" | "sms";
1474
+ realm: "sms" | "email";
1475
1475
  } | {
1476
1476
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
1477
1477
  subject_token: string;
@@ -17,14 +17,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
17
17
  audience?: string | undefined;
18
18
  scope?: string | undefined;
19
19
  username?: string | undefined;
20
- organization?: string | undefined;
21
20
  response_type?: AuthorizationResponseType | undefined;
22
21
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
23
22
  state?: string | undefined;
23
+ prompt?: string | undefined;
24
+ organization?: string | undefined;
24
25
  nonce?: string | undefined;
25
26
  act_as?: string | undefined;
26
27
  redirect_uri?: 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;
@@ -53,14 +53,14 @@ export declare const passwordlessRoutes: OpenAPIHono<{
53
53
  audience?: string | undefined;
54
54
  scope?: string | undefined;
55
55
  username?: string | undefined;
56
- organization?: string | undefined;
57
56
  response_type?: AuthorizationResponseType | undefined;
58
57
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
59
58
  state?: string | undefined;
59
+ prompt?: string | undefined;
60
+ organization?: string | undefined;
60
61
  nonce?: string | undefined;
61
62
  act_as?: string | undefined;
62
63
  redirect_uri?: 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?: "client_secret_post" | "client_secret_basic" | "none" | "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?: "client_secret_post" | "client_secret_basic" | "none" | "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;
@@ -40,7 +40,7 @@ export declare const tokenRoutes: OpenAPIHono<{
40
40
  client_id: string;
41
41
  username: string;
42
42
  otp: string;
43
- realm: "email" | "sms";
43
+ realm: "sms" | "email";
44
44
  } | {
45
45
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
46
46
  subject_token: string;
@@ -87,7 +87,7 @@ export declare const tokenRoutes: OpenAPIHono<{
87
87
  client_id: string;
88
88
  username: string;
89
89
  otp: string;
90
- realm: "email" | "sms";
90
+ realm: "sms" | "email";
91
91
  } | {
92
92
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
93
93
  subject_token: string;
@@ -139,7 +139,7 @@ export declare const tokenRoutes: OpenAPIHono<{
139
139
  client_id: string;
140
140
  username: string;
141
141
  otp: string;
142
- realm: "email" | "sms";
142
+ realm: "sms" | "email";
143
143
  } | {
144
144
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
145
145
  subject_token: string;
@@ -186,7 +186,7 @@ export declare const tokenRoutes: OpenAPIHono<{
186
186
  client_id: string;
187
187
  username: string;
188
188
  otp: string;
189
- realm: "email" | "sms";
189
+ realm: "sms" | "email";
190
190
  } | {
191
191
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
192
192
  subject_token: string;
@@ -246,7 +246,7 @@ export declare const tokenRoutes: OpenAPIHono<{
246
246
  client_id: string;
247
247
  username: string;
248
248
  otp: string;
249
- realm: "email" | "sms";
249
+ realm: "sms" | "email";
250
250
  } | {
251
251
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
252
252
  subject_token: string;
@@ -293,7 +293,7 @@ export declare const tokenRoutes: OpenAPIHono<{
293
293
  client_id: string;
294
294
  username: string;
295
295
  otp: string;
296
- realm: "email" | "sms";
296
+ realm: "sms" | "email";
297
297
  } | {
298
298
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
299
299
  subject_token: string;
@@ -348,7 +348,7 @@ export declare const tokenRoutes: OpenAPIHono<{
348
348
  client_id: string;
349
349
  username: string;
350
350
  otp: string;
351
- realm: "email" | "sms";
351
+ realm: "sms" | "email";
352
352
  } | {
353
353
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
354
354
  subject_token: string;
@@ -395,7 +395,7 @@ export declare const tokenRoutes: OpenAPIHono<{
395
395
  client_id: string;
396
396
  username: string;
397
397
  otp: string;
398
- realm: "email" | "sms";
398
+ realm: "sms" | "email";
399
399
  } | {
400
400
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
401
401
  subject_token: string;
@@ -450,7 +450,7 @@ export declare const tokenRoutes: OpenAPIHono<{
450
450
  client_id: string;
451
451
  username: string;
452
452
  otp: string;
453
- realm: "email" | "sms";
453
+ realm: "sms" | "email";
454
454
  } | {
455
455
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
456
456
  subject_token: string;
@@ -497,7 +497,7 @@ export declare const tokenRoutes: OpenAPIHono<{
497
497
  client_id: string;
498
498
  username: string;
499
499
  otp: string;
500
- realm: "email" | "sms";
500
+ realm: "sms" | "email";
501
501
  } | {
502
502
  grant_type: "urn:ietf:params:oauth:grant-type:token-exchange";
503
503
  subject_token: string;
@@ -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: {
@@ -37,7 +37,7 @@ export declare const authenticationMethodsRoutes: OpenAPIHono<{
37
37
  };
38
38
  } & {
39
39
  json: {
40
- type: "push" | "email" | "passkey" | "phone" | "totp" | "webauthn-roaming" | "webauthn-platform";
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;
@@ -78,12 +78,12 @@ 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" | "none" | "chip" | undefined;
82
82
  };
83
83
  widget: {
84
84
  header_text_alignment: "center" | "left" | "right";
85
85
  logo_height: number;
86
- logo_position: "none" | "center" | "left" | "right";
86
+ logo_position: "center" | "left" | "right" | "none";
87
87
  logo_url: string;
88
88
  social_buttons_layout: "bottom" | "top";
89
89
  };
@@ -168,12 +168,12 @@ 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" | "none" | "chip" | undefined;
172
172
  };
173
173
  widget: {
174
174
  header_text_alignment: "center" | "left" | "right";
175
175
  logo_height: number;
176
- logo_position: "none" | "center" | "left" | "right";
176
+ logo_position: "center" | "left" | "right" | "none";
177
177
  logo_url: string;
178
178
  social_buttons_layout: "bottom" | "top";
179
179
  };
@@ -247,12 +247,12 @@ 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" | "none" | "chip" | undefined;
251
251
  };
252
252
  widget: {
253
253
  header_text_alignment: "center" | "left" | "right";
254
254
  logo_height: number;
255
- logo_position: "none" | "center" | "left" | "right";
255
+ logo_position: "center" | "left" | "right" | "none";
256
256
  logo_url: string;
257
257
  social_buttons_layout: "bottom" | "top";
258
258
  };
@@ -409,7 +409,7 @@ export declare const brandingRoutes: OpenAPIHono<{
409
409
  } & {
410
410
  json: {
411
411
  body?: string | undefined;
412
- screen?: "password" | "identifier" | "signup" | "login" | undefined;
412
+ screen?: "password" | "login" | "identifier" | "signup" | undefined;
413
413
  branding?: {
414
414
  colors?: {
415
415
  primary: string;
@@ -495,12 +495,12 @@ export declare const brandingRoutes: OpenAPIHono<{
495
495
  background_color: string;
496
496
  background_image_url: string;
497
497
  page_layout: "center" | "left" | "right";
498
- logo_placement?: "none" | "widget" | "chip" | undefined;
498
+ logo_placement?: "widget" | "none" | "chip" | undefined;
499
499
  } | undefined;
500
500
  widget?: {
501
501
  header_text_alignment: "center" | "left" | "right";
502
502
  logo_height: number;
503
- logo_position: "none" | "center" | "left" | "right";
503
+ logo_position: "center" | "left" | "right" | "none";
504
504
  logo_url: string;
505
505
  social_buttons_layout: "bottom" | "top";
506
506
  } | 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;
@@ -139,7 +139,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
139
139
  organization_usage?: "deny" | "allow" | "require" | undefined;
140
140
  allow_any_organization?: boolean | undefined;
141
141
  is_system?: boolean | undefined;
142
- subject_type?: "client" | "user" | undefined;
142
+ subject_type?: "user" | "client" | undefined;
143
143
  authorization_details_types?: string[] | undefined;
144
144
  };
145
145
  };
@@ -151,7 +151,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
151
151
  organization_usage?: "deny" | "allow" | "require" | undefined;
152
152
  allow_any_organization?: boolean | undefined;
153
153
  is_system?: boolean | undefined;
154
- subject_type?: "client" | "user" | undefined;
154
+ subject_type?: "user" | "client" | undefined;
155
155
  authorization_details_types?: string[] | undefined;
156
156
  created_at?: string | undefined;
157
157
  updated_at?: string | undefined;
@@ -175,7 +175,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
175
175
  organization_usage?: "deny" | "allow" | "require" | undefined;
176
176
  allow_any_organization?: boolean | undefined;
177
177
  is_system?: boolean | undefined;
178
- subject_type?: "client" | "user" | undefined;
178
+ subject_type?: "user" | "client" | undefined;
179
179
  authorization_details_types?: string[] | undefined;
180
180
  };
181
181
  };
@@ -187,7 +187,7 @@ export declare const clientGrantRoutes: OpenAPIHono<{
187
187
  organization_usage?: "deny" | "allow" | "require" | undefined;
188
188
  allow_any_organization?: boolean | undefined;
189
189
  is_system?: boolean | undefined;
190
- subject_type?: "client" | "user" | undefined;
190
+ subject_type?: "user" | "client" | undefined;
191
191
  authorization_details_types?: string[] | undefined;
192
192
  created_at?: string | undefined;
193
193
  updated_at?: string | undefined;
@@ -72,7 +72,7 @@ export declare const clientRoutes: OpenAPIHono<{
72
72
  addons?: {
73
73
  [x: string]: any;
74
74
  } | undefined;
75
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
75
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
76
76
  client_metadata?: {
77
77
  [x: string]: string;
78
78
  } | undefined;
@@ -168,7 +168,7 @@ export declare const clientRoutes: OpenAPIHono<{
168
168
  addons?: {
169
169
  [x: string]: any;
170
170
  } | undefined;
171
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
171
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
172
172
  client_metadata?: {
173
173
  [x: string]: string;
174
174
  } | undefined;
@@ -214,6 +214,101 @@ export declare const clientRoutes: OpenAPIHono<{
214
214
  }[];
215
215
  total?: number | undefined;
216
216
  next?: string | undefined;
217
+ } | {
218
+ clients: {
219
+ created_at: string;
220
+ updated_at: string;
221
+ name: string;
222
+ global: boolean;
223
+ is_first_party: boolean;
224
+ oidc_conformant: boolean;
225
+ auth0_conformant: boolean;
226
+ sso: boolean;
227
+ sso_disabled: boolean;
228
+ cross_origin_authentication: boolean;
229
+ custom_login_page_on: boolean;
230
+ require_pushed_authorization_requests: boolean;
231
+ require_proof_of_possession: boolean;
232
+ client_id: string;
233
+ description?: string | undefined;
234
+ client_secret?: string | undefined;
235
+ 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;
236
+ logo_uri?: string | undefined;
237
+ callbacks?: string[] | undefined;
238
+ allowed_origins?: string[] | undefined;
239
+ web_origins?: string[] | undefined;
240
+ client_aliases?: string[] | undefined;
241
+ allowed_clients?: string[] | undefined;
242
+ connections?: string[] | undefined;
243
+ allowed_logout_urls?: string[] | undefined;
244
+ session_transfer?: {
245
+ [x: string]: any;
246
+ } | undefined;
247
+ oidc_logout?: {
248
+ [x: string]: any;
249
+ } | undefined;
250
+ grant_types?: string[] | undefined;
251
+ jwt_configuration?: {
252
+ [x: string]: any;
253
+ } | undefined;
254
+ signing_keys?: {
255
+ [x: string]: any;
256
+ }[] | undefined;
257
+ encryption_key?: {
258
+ [x: string]: any;
259
+ } | undefined;
260
+ cross_origin_loc?: string | undefined;
261
+ custom_login_page?: string | undefined;
262
+ custom_login_page_preview?: string | undefined;
263
+ form_template?: string | undefined;
264
+ addons?: {
265
+ [x: string]: any;
266
+ } | undefined;
267
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
268
+ client_metadata?: {
269
+ [x: string]: string;
270
+ } | undefined;
271
+ hide_sign_up_disabled_error?: boolean | undefined;
272
+ mobile?: {
273
+ [x: string]: any;
274
+ } | undefined;
275
+ initiate_login_uri?: string | undefined;
276
+ native_social_login?: {
277
+ [x: string]: any;
278
+ } | undefined;
279
+ refresh_token?: {
280
+ rotation_type?: "rotating" | "non-rotating" | undefined;
281
+ leeway?: number | undefined;
282
+ expiration_type?: "expiring" | "non-expiring" | undefined;
283
+ token_lifetime?: number | undefined;
284
+ infinite_token_lifetime?: boolean | undefined;
285
+ idle_token_lifetime?: number | undefined;
286
+ infinite_idle_token_lifetime?: boolean | undefined;
287
+ } | undefined;
288
+ default_organization?: {
289
+ [x: string]: any;
290
+ } | undefined;
291
+ organization_usage?: "deny" | "allow" | "require" | undefined;
292
+ organization_require_behavior?: "no_prompt" | "pre_login_prompt" | "post_login_prompt" | undefined;
293
+ client_authentication_methods?: {
294
+ [x: string]: any;
295
+ } | undefined;
296
+ signed_request_object?: {
297
+ [x: string]: any;
298
+ } | undefined;
299
+ compliance_level?: "none" | "fapi1_adv_pkj_par" | "fapi1_adv_mtls_par" | "fapi2_sp_pkj_mtls" | "fapi2_sp_mtls_mtls" | undefined;
300
+ par_request_expiry?: number | undefined;
301
+ token_quota?: {
302
+ [x: string]: any;
303
+ } | undefined;
304
+ owner_user_id?: string | undefined;
305
+ registration_type?: "manual" | "open_dcr" | "iat_dcr" | undefined;
306
+ registration_metadata?: {
307
+ [x: string]: any;
308
+ } | undefined;
309
+ user_linking_mode?: "builtin" | "off" | undefined;
310
+ }[];
311
+ next?: string | undefined;
217
312
  };
218
313
  outputFormat: "json";
219
314
  status: 200;
@@ -280,7 +375,7 @@ export declare const clientRoutes: OpenAPIHono<{
280
375
  addons?: {
281
376
  [x: string]: any;
282
377
  } | undefined;
283
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
378
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
284
379
  client_metadata?: {
285
380
  [x: string]: string;
286
381
  } | undefined;
@@ -390,7 +485,7 @@ export declare const clientRoutes: OpenAPIHono<{
390
485
  custom_login_page_preview?: string | undefined;
391
486
  form_template?: string | undefined;
392
487
  addons?: Record<string, any> | undefined;
393
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
488
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
394
489
  client_metadata?: Record<string, string> | undefined;
395
490
  hide_sign_up_disabled_error?: boolean | undefined;
396
491
  mobile?: Record<string, any> | undefined;
@@ -470,7 +565,7 @@ export declare const clientRoutes: OpenAPIHono<{
470
565
  addons?: {
471
566
  [x: string]: any;
472
567
  } | undefined;
473
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
568
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
474
569
  client_metadata?: {
475
570
  [x: string]: string;
476
571
  } | undefined;
@@ -559,7 +654,7 @@ export declare const clientRoutes: OpenAPIHono<{
559
654
  custom_login_page_preview?: string | undefined;
560
655
  form_template?: string | undefined;
561
656
  addons?: Record<string, any> | undefined;
562
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
657
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
563
658
  client_metadata?: Record<string, string> | undefined;
564
659
  hide_sign_up_disabled_error?: boolean | undefined;
565
660
  mobile?: Record<string, any> | undefined;
@@ -639,7 +734,7 @@ export declare const clientRoutes: OpenAPIHono<{
639
734
  addons?: {
640
735
  [x: string]: any;
641
736
  } | undefined;
642
- token_endpoint_auth_method?: "client_secret_post" | "client_secret_basic" | "none" | "private_key_jwt" | "client_secret_jwt" | undefined;
737
+ token_endpoint_auth_method?: "none" | "client_secret_post" | "client_secret_basic" | "client_secret_jwt" | "private_key_jwt" | undefined;
643
738
  client_metadata?: {
644
739
  [x: string]: string;
645
740
  } | undefined;