authhero 9.25.0 → 9.27.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 (91) hide show
  1. package/dist/assets/u/widget/authhero-widget.esm.js +1 -1
  2. package/dist/assets/u/widget/index.esm.js +1 -1
  3. package/dist/assets/u/widget/{p-210f06bf.entry.js → p-ce8560f6.entry.js} +1 -1
  4. package/dist/authhero.cjs +157 -157
  5. package/dist/authhero.d.ts +914 -264
  6. package/dist/authhero.mjs +27723 -25733
  7. package/dist/tsconfig.types.tsbuildinfo +1 -1
  8. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +2 -1
  9. package/dist/types/adapters/index.d.ts +1 -1
  10. package/dist/types/authentication-flows/device-code.d.ts +11 -0
  11. package/dist/types/authentication-flows/passwordless.d.ts +9 -5
  12. package/dist/types/errors/management-api-error.d.ts +113 -0
  13. package/dist/types/generated/locale-types.d.ts +16 -0
  14. package/dist/types/helpers/client.d.ts +8 -0
  15. package/dist/types/helpers/codes-cleanup.d.ts +1 -1
  16. package/dist/types/helpers/control-plane-caller.d.ts +15 -0
  17. package/dist/types/helpers/device-flow.d.ts +25 -0
  18. package/dist/types/helpers/hook-events.d.ts +8 -4
  19. package/dist/types/helpers/hook-user-payload.d.ts +2 -0
  20. package/dist/types/helpers/logging.d.ts +2 -1
  21. package/dist/types/helpers/outbox-destinations/code-hooks.d.ts +8 -3
  22. package/dist/types/helpers/outbox-destinations/webhooks.d.ts +3 -0
  23. package/dist/types/helpers/platform-rows.d.ts +27 -0
  24. package/dist/types/helpers/request-data.d.ts +12 -0
  25. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  26. package/dist/types/helpers/scopes-permissions.d.ts +1 -1
  27. package/dist/types/helpers/synced-rows.d.ts +1 -0
  28. package/dist/types/hooks/lifecycle-codehooks.d.ts +16 -0
  29. package/dist/types/hooks/user-deletion.d.ts +9 -0
  30. package/dist/types/index.d.ts +540 -256
  31. package/dist/types/routes/auth-api/account.d.ts +2 -2
  32. package/dist/types/routes/auth-api/device.d.ts +139 -0
  33. package/dist/types/routes/auth-api/index.d.ts +238 -37
  34. package/dist/types/routes/auth-api/passwordless.d.ts +14 -14
  35. package/dist/types/routes/auth-api/revoke.d.ts +8 -8
  36. package/dist/types/routes/auth-api/token.d.ts +82 -12
  37. package/dist/types/routes/auth-api/well-known.d.ts +3 -1
  38. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  39. package/dist/types/routes/management-api/action-triggers.d.ts +27 -2
  40. package/dist/types/routes/management-api/actions.d.ts +12 -12
  41. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  42. package/dist/types/routes/management-api/branding.d.ts +4 -4
  43. package/dist/types/routes/management-api/client-grants.d.ts +13 -0
  44. package/dist/types/routes/management-api/clients.d.ts +17 -4
  45. package/dist/types/routes/management-api/connections.d.ts +27 -14
  46. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  47. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  48. package/dist/types/routes/management-api/emails.d.ts +6 -6
  49. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  50. package/dist/types/routes/management-api/flows.d.ts +8 -8
  51. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  52. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  53. package/dist/types/routes/management-api/hooks.d.ts +42 -42
  54. package/dist/types/routes/management-api/index.d.ts +288 -211
  55. package/dist/types/routes/management-api/keys.d.ts +16 -16
  56. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  57. package/dist/types/routes/management-api/logs.d.ts +4 -4
  58. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  59. package/dist/types/routes/management-api/organizations.d.ts +5 -5
  60. package/dist/types/routes/management-api/prompts.d.ts +8 -8
  61. package/dist/types/routes/management-api/resource-servers.d.ts +21 -8
  62. package/dist/types/routes/management-api/roles.d.ts +1 -1
  63. package/dist/types/routes/management-api/rollouts.d.ts +261 -0
  64. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  65. package/dist/types/routes/management-api/tenant-members-requests.test.d.ts +1 -0
  66. package/dist/types/routes/management-api/tenant-members.d.ts +155 -1
  67. package/dist/types/routes/management-api/tenant-operations.d.ts +17 -10
  68. package/dist/types/routes/management-api/tenants.d.ts +39 -13
  69. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
  70. package/dist/types/routes/management-api/users.d.ts +20 -20
  71. package/dist/types/routes/proxy-control-plane/tenant-members.d.ts +11 -0
  72. package/dist/types/routes/scim/index.d.ts +1 -0
  73. package/dist/types/routes/universal-login/common.d.ts +26 -10
  74. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  75. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  76. package/dist/types/routes/universal-login/index.d.ts +2 -2
  77. package/dist/types/routes/universal-login/screens/device-flow.d.ts +4 -0
  78. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  79. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  80. package/dist/types/state-machines/login-session.d.ts +6 -1
  81. package/dist/types/tenant-members/request-notifier.d.ts +9 -0
  82. package/dist/types/tenant-members/request-notify.test.d.ts +1 -0
  83. package/dist/types/tenant-members/requests.d.ts +79 -0
  84. package/dist/types/tenant-members/requests.test.d.ts +1 -0
  85. package/dist/types/tenant-members/wire.d.ts +10 -0
  86. package/dist/types/types/AuthHeroConfig.d.ts +47 -1
  87. package/dist/types/types/Bindings.d.ts +2 -1
  88. package/dist/types/types/Variables.d.ts +8 -1
  89. package/dist/types/utils/field-encryption.d.ts +7 -0
  90. package/dist/types/utils/jwks.d.ts +2 -2
  91. package/package.json +6 -6
@@ -12,22 +12,22 @@ export declare const passwordlessRoutes: OpenAPIHono<{
12
12
  connection: "email";
13
13
  client_id: string;
14
14
  email: string;
15
- send: "link" | "code";
15
+ send: "code" | "link";
16
16
  authParams: {
17
- state?: string | undefined;
18
17
  username?: string | undefined;
19
18
  scope?: string | undefined;
20
- audience?: string | undefined;
21
- redirect_uri?: string | undefined;
22
- act_as?: string | undefined;
23
19
  response_type?: AuthorizationResponseType | undefined;
24
20
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
21
+ audience?: string | undefined;
25
22
  organization?: string | undefined;
26
- nonce?: string | undefined;
23
+ state?: string | undefined;
24
+ redirect_uri?: string | undefined;
27
25
  prompt?: string | undefined;
26
+ ui_locales?: 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
- ui_locales?: string | undefined;
31
31
  max_age?: number | undefined;
32
32
  acr_values?: string | undefined;
33
33
  claims?: {
@@ -48,22 +48,22 @@ export declare const passwordlessRoutes: OpenAPIHono<{
48
48
  client_id: string;
49
49
  connection: "sms";
50
50
  phone_number: string;
51
- send: "link" | "code";
51
+ send: "code" | "link";
52
52
  authParams: {
53
- state?: string | undefined;
54
53
  username?: string | undefined;
55
54
  scope?: string | undefined;
56
- audience?: string | undefined;
57
- redirect_uri?: string | undefined;
58
- act_as?: string | undefined;
59
55
  response_type?: AuthorizationResponseType | undefined;
60
56
  response_mode?: import("@authhero/adapter-interfaces").AuthorizationResponseMode | undefined;
57
+ audience?: string | undefined;
61
58
  organization?: string | undefined;
62
- nonce?: string | undefined;
59
+ state?: string | undefined;
60
+ redirect_uri?: string | undefined;
63
61
  prompt?: string | undefined;
62
+ ui_locales?: string | undefined;
63
+ act_as?: string | undefined;
64
+ nonce?: string | undefined;
64
65
  code_challenge_method?: import("@authhero/adapter-interfaces").CodeChallengeMethod | undefined;
65
66
  code_challenge?: string | undefined;
66
- ui_locales?: string | undefined;
67
67
  max_age?: number | undefined;
68
68
  acr_values?: string | undefined;
69
69
  claims?: {
@@ -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
  };
@@ -45,19 +45,19 @@ export declare const revokeRoutes: OpenAPIHono<{
45
45
  error_description?: string | undefined;
46
46
  };
47
47
  outputFormat: "json";
48
- status: 400;
48
+ status: 401;
49
49
  } | {
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
  };
@@ -67,7 +67,7 @@ export declare const revokeRoutes: OpenAPIHono<{
67
67
  error_description?: string | undefined;
68
68
  };
69
69
  outputFormat: "json";
70
- status: 401;
70
+ status: 400;
71
71
  };
72
72
  };
73
73
  }, "/">;
@@ -8,6 +8,13 @@ export declare const tokenRoutes: OpenAPIHono<{
8
8
  $post: {
9
9
  input: {
10
10
  form: {
11
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
12
+ device_code: string;
13
+ client_id?: string | undefined;
14
+ client_secret?: string | undefined;
15
+ client_assertion?: string | undefined;
16
+ client_assertion_type?: string | undefined;
17
+ } | {
11
18
  grant_type: "client_credentials";
12
19
  scope?: string | undefined;
13
20
  audience?: string | undefined;
@@ -68,6 +75,13 @@ export declare const tokenRoutes: OpenAPIHono<{
68
75
  };
69
76
  } & {
70
77
  json: {
78
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
79
+ device_code: string;
80
+ client_id?: string | undefined;
81
+ client_secret?: string | undefined;
82
+ client_assertion?: string | undefined;
83
+ client_assertion_type?: string | undefined;
84
+ } | {
71
85
  grant_type: "client_credentials";
72
86
  scope?: string | undefined;
73
87
  audience?: string | undefined;
@@ -133,6 +147,13 @@ export declare const tokenRoutes: OpenAPIHono<{
133
147
  } | {
134
148
  input: {
135
149
  form: {
150
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
151
+ device_code: string;
152
+ client_id?: string | undefined;
153
+ client_secret?: string | undefined;
154
+ client_assertion?: string | undefined;
155
+ client_assertion_type?: string | undefined;
156
+ } | {
136
157
  grant_type: "client_credentials";
137
158
  scope?: string | undefined;
138
159
  audience?: string | undefined;
@@ -193,6 +214,13 @@ export declare const tokenRoutes: OpenAPIHono<{
193
214
  };
194
215
  } & {
195
216
  json: {
217
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
218
+ device_code: string;
219
+ client_id?: string | undefined;
220
+ client_secret?: string | undefined;
221
+ client_assertion?: string | undefined;
222
+ client_assertion_type?: string | undefined;
223
+ } | {
196
224
  grant_type: "client_credentials";
197
225
  scope?: string | undefined;
198
226
  audience?: string | undefined;
@@ -253,19 +281,21 @@ export declare const tokenRoutes: OpenAPIHono<{
253
281
  };
254
282
  };
255
283
  output: {
256
- access_token: string;
257
- token_type: string;
258
- expires_in: number;
259
- id_token?: string | undefined;
260
- scope?: string | undefined;
261
- state?: string | undefined;
262
- refresh_token?: string | undefined;
284
+ error: string;
285
+ error_description?: string | undefined;
263
286
  };
264
287
  outputFormat: "json";
265
- status: 200;
288
+ status: 401;
266
289
  } | {
267
290
  input: {
268
291
  form: {
292
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
293
+ device_code: string;
294
+ client_id?: string | undefined;
295
+ client_secret?: string | undefined;
296
+ client_assertion?: string | undefined;
297
+ client_assertion_type?: string | undefined;
298
+ } | {
269
299
  grant_type: "client_credentials";
270
300
  scope?: string | undefined;
271
301
  audience?: string | undefined;
@@ -326,6 +356,13 @@ export declare const tokenRoutes: OpenAPIHono<{
326
356
  };
327
357
  } & {
328
358
  json: {
359
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
360
+ device_code: string;
361
+ client_id?: string | undefined;
362
+ client_secret?: string | undefined;
363
+ client_assertion?: string | undefined;
364
+ client_assertion_type?: string | undefined;
365
+ } | {
329
366
  grant_type: "client_credentials";
330
367
  scope?: string | undefined;
331
368
  audience?: string | undefined;
@@ -386,14 +423,26 @@ export declare const tokenRoutes: OpenAPIHono<{
386
423
  };
387
424
  };
388
425
  output: {
389
- error: string;
390
- error_description?: string | undefined;
426
+ access_token: string;
427
+ token_type: string;
428
+ expires_in: number;
429
+ id_token?: string | undefined;
430
+ scope?: string | undefined;
431
+ state?: string | undefined;
432
+ refresh_token?: string | undefined;
391
433
  };
392
434
  outputFormat: "json";
393
- status: 400;
435
+ status: 200;
394
436
  } | {
395
437
  input: {
396
438
  form: {
439
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
440
+ device_code: string;
441
+ client_id?: string | undefined;
442
+ client_secret?: string | undefined;
443
+ client_assertion?: string | undefined;
444
+ client_assertion_type?: string | undefined;
445
+ } | {
397
446
  grant_type: "client_credentials";
398
447
  scope?: string | undefined;
399
448
  audience?: string | undefined;
@@ -454,6 +503,13 @@ export declare const tokenRoutes: OpenAPIHono<{
454
503
  };
455
504
  } & {
456
505
  json: {
506
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
507
+ device_code: string;
508
+ client_id?: string | undefined;
509
+ client_secret?: string | undefined;
510
+ client_assertion?: string | undefined;
511
+ client_assertion_type?: string | undefined;
512
+ } | {
457
513
  grant_type: "client_credentials";
458
514
  scope?: string | undefined;
459
515
  audience?: string | undefined;
@@ -518,10 +574,17 @@ export declare const tokenRoutes: OpenAPIHono<{
518
574
  error_description?: string | undefined;
519
575
  };
520
576
  outputFormat: "json";
521
- status: 401;
577
+ status: 400;
522
578
  } | {
523
579
  input: {
524
580
  form: {
581
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
582
+ device_code: string;
583
+ client_id?: string | undefined;
584
+ client_secret?: string | undefined;
585
+ client_assertion?: string | undefined;
586
+ client_assertion_type?: string | undefined;
587
+ } | {
525
588
  grant_type: "client_credentials";
526
589
  scope?: string | undefined;
527
590
  audience?: string | undefined;
@@ -582,6 +645,13 @@ export declare const tokenRoutes: OpenAPIHono<{
582
645
  };
583
646
  } & {
584
647
  json: {
648
+ grant_type: "urn:ietf:params:oauth:grant-type:device_code";
649
+ device_code: string;
650
+ client_id?: string | undefined;
651
+ client_secret?: string | undefined;
652
+ client_assertion?: string | undefined;
653
+ client_assertion_type?: string | undefined;
654
+ } | {
585
655
  grant_type: "client_credentials";
586
656
  scope?: string | undefined;
587
657
  audience?: string | undefined;
@@ -9,7 +9,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
9
9
  output: {
10
10
  keys: {
11
11
  kty: "EC" | "RSA" | "oct";
12
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
12
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
13
13
  kid?: string | undefined;
14
14
  use?: "sig" | "enc" | undefined;
15
15
  n?: string | undefined;
@@ -48,6 +48,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
48
48
  request_uri_parameter_supported: boolean;
49
49
  request_parameter_supported: boolean;
50
50
  token_endpoint_auth_signing_alg_values_supported: string[];
51
+ device_authorization_endpoint?: string | undefined;
51
52
  registration_endpoint?: string | undefined;
52
53
  end_session_endpoint?: string | undefined;
53
54
  grant_types_supported?: string[] | undefined;
@@ -83,6 +84,7 @@ export declare const wellKnownRoutes: import("hono/hono-base").HonoBase<{
83
84
  request_uri_parameter_supported: boolean;
84
85
  request_parameter_supported: boolean;
85
86
  token_endpoint_auth_signing_alg_values_supported: string[];
87
+ device_authorization_endpoint?: string | undefined;
86
88
  registration_endpoint?: string | undefined;
87
89
  end_session_endpoint?: string | undefined;
88
90
  grant_types_supported?: string[] | undefined;
@@ -31,7 +31,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
31
31
  output: {
32
32
  id: string;
33
33
  trigger_id: string;
34
- status: "suspended" | "pending" | "unspecified" | "final" | "partial" | "canceled";
34
+ status: "pending" | "unspecified" | "final" | "partial" | "canceled" | "suspended";
35
35
  results: {
36
36
  action_name: string;
37
37
  error: {
@@ -78,7 +78,7 @@ export declare const actionExecutionsRoutes: OpenAPIHono<{
78
78
  logs: {
79
79
  action_name: string;
80
80
  lines: {
81
- level: "log" | "error" | "info" | "warn" | "debug";
81
+ level: "error" | "log" | "info" | "warn" | "debug";
82
82
  message: string;
83
83
  }[];
84
84
  }[];
@@ -29,7 +29,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
29
29
  created_at: string;
30
30
  updated_at: string;
31
31
  inherit?: boolean | undefined;
32
- scope?: "shared" | "local" | "platform" | undefined;
32
+ scope?: "local" | "shared" | "platform" | undefined;
33
33
  override?: "none" | "secrets" | "fields" | undefined;
34
34
  enforce?: boolean | undefined;
35
35
  supported_triggers?: {
@@ -58,6 +58,31 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
58
58
  } & {
59
59
  "/:triggerId/bindings": {
60
60
  $patch: {
61
+ input: {
62
+ param: {
63
+ triggerId: string;
64
+ };
65
+ } & {
66
+ header: {
67
+ "tenant-id"?: string | undefined;
68
+ };
69
+ } & {
70
+ json: {
71
+ bindings: {
72
+ ref: {
73
+ type?: "action_id" | "action_name" | undefined;
74
+ value?: string | undefined;
75
+ id?: string | undefined;
76
+ name?: string | undefined;
77
+ };
78
+ display_name?: string | undefined;
79
+ }[];
80
+ };
81
+ };
82
+ output: {};
83
+ outputFormat: string;
84
+ status: 403;
85
+ } | {
61
86
  input: {
62
87
  param: {
63
88
  triggerId: string;
@@ -93,7 +118,7 @@ export declare const actionTriggersRoutes: OpenAPIHono<{
93
118
  created_at: string;
94
119
  updated_at: string;
95
120
  inherit?: boolean | undefined;
96
- scope?: "shared" | "local" | "platform" | undefined;
121
+ scope?: "local" | "shared" | "platform" | undefined;
97
122
  override?: "none" | "secrets" | "fields" | undefined;
98
123
  enforce?: boolean | undefined;
99
124
  supported_triggers?: {
@@ -32,7 +32,7 @@ export declare const actionsRoutes: OpenAPIHono<{
32
32
  created_at: string;
33
33
  updated_at: string;
34
34
  inherit?: boolean | undefined;
35
- scope?: "shared" | "local" | "platform" | undefined;
35
+ scope?: "local" | "shared" | "platform" | undefined;
36
36
  override?: "none" | "secrets" | "fields" | undefined;
37
37
  enforce?: boolean | undefined;
38
38
  supported_triggers?: {
@@ -62,7 +62,7 @@ export declare const actionsRoutes: OpenAPIHono<{
62
62
  created_at: string;
63
63
  updated_at: string;
64
64
  inherit?: boolean | undefined;
65
- scope?: "shared" | "local" | "platform" | undefined;
65
+ scope?: "local" | "shared" | "platform" | undefined;
66
66
  override?: "none" | "secrets" | "fields" | undefined;
67
67
  enforce?: boolean | undefined;
68
68
  supported_triggers?: {
@@ -92,7 +92,7 @@ export declare const actionsRoutes: OpenAPIHono<{
92
92
  created_at: string;
93
93
  updated_at: string;
94
94
  inherit?: boolean | undefined;
95
- scope?: "shared" | "local" | "platform" | undefined;
95
+ scope?: "local" | "shared" | "platform" | undefined;
96
96
  override?: "none" | "secrets" | "fields" | undefined;
97
97
  enforce?: boolean | undefined;
98
98
  supported_triggers?: {
@@ -128,7 +128,7 @@ export declare const actionsRoutes: OpenAPIHono<{
128
128
  name: string;
129
129
  code: string;
130
130
  inherit?: boolean | undefined;
131
- scope?: "shared" | "local" | "platform" | undefined;
131
+ scope?: "local" | "shared" | "platform" | undefined;
132
132
  override?: "none" | "secrets" | "fields" | undefined;
133
133
  enforce?: boolean | undefined;
134
134
  supported_triggers?: {
@@ -156,7 +156,7 @@ export declare const actionsRoutes: OpenAPIHono<{
156
156
  created_at: string;
157
157
  updated_at: string;
158
158
  inherit?: boolean | undefined;
159
- scope?: "shared" | "local" | "platform" | undefined;
159
+ scope?: "local" | "shared" | "platform" | undefined;
160
160
  override?: "none" | "secrets" | "fields" | undefined;
161
161
  enforce?: boolean | undefined;
162
162
  supported_triggers?: {
@@ -212,7 +212,7 @@ export declare const actionsRoutes: OpenAPIHono<{
212
212
  created_at: string;
213
213
  updated_at: string;
214
214
  inherit?: boolean | undefined;
215
- scope?: "shared" | "local" | "platform" | undefined;
215
+ scope?: "local" | "shared" | "platform" | undefined;
216
216
  override?: "none" | "secrets" | "fields" | undefined;
217
217
  enforce?: boolean | undefined;
218
218
  supported_triggers?: {
@@ -248,7 +248,7 @@ export declare const actionsRoutes: OpenAPIHono<{
248
248
  } & {
249
249
  json: {
250
250
  inherit?: boolean | undefined;
251
- scope?: "shared" | "local" | "platform" | undefined;
251
+ scope?: "local" | "shared" | "platform" | undefined;
252
252
  override?: "none" | "secrets" | "fields" | undefined;
253
253
  enforce?: boolean | undefined;
254
254
  name?: string | undefined;
@@ -284,7 +284,7 @@ export declare const actionsRoutes: OpenAPIHono<{
284
284
  } & {
285
285
  json: {
286
286
  inherit?: boolean | undefined;
287
- scope?: "shared" | "local" | "platform" | undefined;
287
+ scope?: "local" | "shared" | "platform" | undefined;
288
288
  override?: "none" | "secrets" | "fields" | undefined;
289
289
  enforce?: boolean | undefined;
290
290
  name?: string | undefined;
@@ -314,7 +314,7 @@ export declare const actionsRoutes: OpenAPIHono<{
314
314
  created_at: string;
315
315
  updated_at: string;
316
316
  inherit?: boolean | undefined;
317
- scope?: "shared" | "local" | "platform" | undefined;
317
+ scope?: "local" | "shared" | "platform" | undefined;
318
318
  override?: "none" | "secrets" | "fields" | undefined;
319
319
  enforce?: boolean | undefined;
320
320
  supported_triggers?: {
@@ -413,7 +413,7 @@ export declare const actionsRoutes: OpenAPIHono<{
413
413
  created_at: string;
414
414
  updated_at: string;
415
415
  inherit?: boolean | undefined;
416
- scope?: "shared" | "local" | "platform" | undefined;
416
+ scope?: "local" | "shared" | "platform" | undefined;
417
417
  override?: "none" | "secrets" | "fields" | undefined;
418
418
  enforce?: boolean | undefined;
419
419
  supported_triggers?: {
@@ -632,7 +632,7 @@ export declare const actionsRoutes: OpenAPIHono<{
632
632
  created_at: string;
633
633
  updated_at: string;
634
634
  inherit?: boolean | undefined;
635
- scope?: "shared" | "local" | "platform" | undefined;
635
+ scope?: "local" | "shared" | "platform" | undefined;
636
636
  override?: "none" | "secrets" | "fields" | undefined;
637
637
  enforce?: boolean | undefined;
638
638
  supported_triggers?: {
@@ -715,7 +715,7 @@ export declare const actionsRoutes: OpenAPIHono<{
715
715
  args: import("hono/utils/types").JSONValue[];
716
716
  }[];
717
717
  logs: {
718
- level: "log" | "error" | "info" | "warn" | "debug";
718
+ level: "error" | "log" | "info" | "warn" | "debug";
719
719
  message: string;
720
720
  }[];
721
721
  error?: string | undefined;
@@ -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: "email" | "push" | "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;
@@ -287,7 +287,7 @@ export declare const brandingRoutes: OpenAPIHono<{
287
287
  url: string;
288
288
  } | undefined;
289
289
  dark_mode?: "dark" | "light" | "auto" | undefined;
290
- scope?: "shared" | "local" | "platform" | undefined;
290
+ scope?: "local" | "shared" | "platform" | undefined;
291
291
  override?: "none" | "secrets" | "fields" | undefined;
292
292
  enforce?: boolean | undefined;
293
293
  };
@@ -320,7 +320,7 @@ export declare const brandingRoutes: OpenAPIHono<{
320
320
  url: string;
321
321
  } | undefined;
322
322
  dark_mode?: "dark" | "light" | "auto" | undefined;
323
- scope?: "shared" | "local" | "platform" | undefined;
323
+ scope?: "local" | "shared" | "platform" | undefined;
324
324
  override?: "none" | "secrets" | "fields" | undefined;
325
325
  enforce?: boolean | undefined;
326
326
  };
@@ -342,7 +342,7 @@ export declare const brandingRoutes: OpenAPIHono<{
342
342
  url: string;
343
343
  } | undefined;
344
344
  dark_mode?: "dark" | "light" | "auto" | undefined;
345
- scope?: "shared" | "local" | "platform" | undefined;
345
+ scope?: "local" | "shared" | "platform" | undefined;
346
346
  override?: "none" | "secrets" | "fields" | undefined;
347
347
  enforce?: boolean | undefined;
348
348
  };
@@ -436,7 +436,7 @@ export declare const brandingRoutes: OpenAPIHono<{
436
436
  url: string;
437
437
  } | undefined;
438
438
  dark_mode?: "dark" | "light" | "auto" | undefined;
439
- scope?: "shared" | "local" | "platform" | undefined;
439
+ scope?: "local" | "shared" | "platform" | undefined;
440
440
  override?: "none" | "secrets" | "fields" | undefined;
441
441
  enforce?: boolean | undefined;
442
442
  } | undefined;
@@ -118,6 +118,19 @@ export declare const clientGrantRoutes: OpenAPIHono<{
118
118
  output: {};
119
119
  outputFormat: string;
120
120
  status: 200;
121
+ } | {
122
+ input: {
123
+ param: {
124
+ id: string;
125
+ };
126
+ } & {
127
+ header: {
128
+ "tenant-id"?: string | undefined;
129
+ };
130
+ };
131
+ output: {};
132
+ outputFormat: string;
133
+ status: 204;
121
134
  };
122
135
  };
123
136
  } & {
@@ -474,6 +474,19 @@ export declare const clientRoutes: OpenAPIHono<{
474
474
  output: {};
475
475
  outputFormat: string;
476
476
  status: 200;
477
+ } | {
478
+ input: {
479
+ param: {
480
+ id: string;
481
+ };
482
+ } & {
483
+ header: {
484
+ "tenant-id"?: string | undefined;
485
+ };
486
+ };
487
+ output: {};
488
+ outputFormat: string;
489
+ status: 204;
477
490
  };
478
491
  };
479
492
  } & {
@@ -946,7 +959,7 @@ export declare const clientRoutes: OpenAPIHono<{
946
959
  } | undefined;
947
960
  unique?: boolean | undefined;
948
961
  profile_required?: boolean | undefined;
949
- verification_method?: "link" | "code" | undefined;
962
+ verification_method?: "code" | "link" | undefined;
950
963
  } | undefined;
951
964
  username?: {
952
965
  identifier?: {
@@ -996,7 +1009,7 @@ export declare const clientRoutes: OpenAPIHono<{
996
1009
  } | undefined;
997
1010
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
998
1011
  };
999
- scope?: "shared" | "local" | "platform" | undefined;
1012
+ scope?: "local" | "shared" | "platform" | undefined;
1000
1013
  override?: "none" | "secrets" | "fields" | undefined;
1001
1014
  enforce?: boolean | undefined;
1002
1015
  id?: string | undefined;
@@ -1107,7 +1120,7 @@ export declare const clientRoutes: OpenAPIHono<{
1107
1120
  } | undefined;
1108
1121
  unique?: boolean | undefined;
1109
1122
  profile_required?: boolean | undefined;
1110
- verification_method?: "link" | "code" | undefined;
1123
+ verification_method?: "code" | "link" | undefined;
1111
1124
  } | undefined;
1112
1125
  username?: {
1113
1126
  identifier?: {
@@ -1157,7 +1170,7 @@ export declare const clientRoutes: OpenAPIHono<{
1157
1170
  } | undefined;
1158
1171
  set_user_root_attributes?: "on_each_login" | "on_first_login" | "never_on_login" | undefined;
1159
1172
  };
1160
- scope?: "shared" | "local" | "platform" | undefined;
1173
+ scope?: "local" | "shared" | "platform" | undefined;
1161
1174
  override?: "none" | "secrets" | "fields" | undefined;
1162
1175
  enforce?: boolean | undefined;
1163
1176
  id?: string | undefined;