authhero 9.25.0 → 9.26.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 (65) hide show
  1. package/dist/assets/u/widget/index.esm.js +1 -1
  2. package/dist/authhero.cjs +155 -155
  3. package/dist/authhero.d.ts +623 -473
  4. package/dist/authhero.mjs +16319 -15605
  5. package/dist/tsconfig.types.tsbuildinfo +1 -1
  6. package/dist/types/adapters/createEncryptedDataAdapter.d.ts +2 -1
  7. package/dist/types/adapters/index.d.ts +1 -1
  8. package/dist/types/authentication-flows/passwordless.d.ts +8 -5
  9. package/dist/types/errors/management-api-error.d.ts +113 -0
  10. package/dist/types/helpers/client.d.ts +6 -0
  11. package/dist/types/helpers/control-plane-caller.d.ts +15 -0
  12. package/dist/types/helpers/platform-rows.d.ts +27 -0
  13. package/dist/types/helpers/request-data.d.ts +12 -0
  14. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  15. package/dist/types/helpers/synced-rows.d.ts +1 -0
  16. package/dist/types/index.d.ts +525 -469
  17. package/dist/types/routes/auth-api/account.d.ts +2 -2
  18. package/dist/types/routes/auth-api/index.d.ts +19 -19
  19. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  20. package/dist/types/routes/auth-api/revoke.d.ts +6 -6
  21. package/dist/types/routes/auth-api/well-known.d.ts +1 -1
  22. package/dist/types/routes/management-api/action-executions.d.ts +2 -2
  23. package/dist/types/routes/management-api/action-triggers.d.ts +4 -4
  24. package/dist/types/routes/management-api/actions.d.ts +23 -23
  25. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  26. package/dist/types/routes/management-api/branding.d.ts +9 -9
  27. package/dist/types/routes/management-api/client-grants.d.ts +13 -0
  28. package/dist/types/routes/management-api/clients.d.ts +19 -6
  29. package/dist/types/routes/management-api/connections.d.ts +36 -23
  30. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  31. package/dist/types/routes/management-api/emails.d.ts +12 -12
  32. package/dist/types/routes/management-api/failed-events.d.ts +2 -2
  33. package/dist/types/routes/management-api/flows.d.ts +8 -8
  34. package/dist/types/routes/management-api/forms.d.ts +144 -144
  35. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  36. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  37. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  38. package/dist/types/routes/management-api/hooks.d.ts +91 -91
  39. package/dist/types/routes/management-api/index.d.ts +495 -443
  40. package/dist/types/routes/management-api/keys.d.ts +16 -16
  41. package/dist/types/routes/management-api/logs.d.ts +4 -4
  42. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  43. package/dist/types/routes/management-api/organizations.d.ts +6 -6
  44. package/dist/types/routes/management-api/prompts.d.ts +10 -10
  45. package/dist/types/routes/management-api/resource-servers.d.ts +29 -16
  46. package/dist/types/routes/management-api/roles.d.ts +1 -1
  47. package/dist/types/routes/management-api/rollouts.d.ts +261 -0
  48. package/dist/types/routes/management-api/tenant-export-import.d.ts +5 -5
  49. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -5
  50. package/dist/types/routes/management-api/tenants.d.ts +17 -5
  51. package/dist/types/routes/management-api/token-exchange-profiles.d.ts +6 -6
  52. package/dist/types/routes/management-api/users.d.ts +17 -17
  53. package/dist/types/routes/universal-login/common.d.ts +22 -10
  54. package/dist/types/routes/universal-login/flow-api.d.ts +12 -12
  55. package/dist/types/routes/universal-login/identifier.d.ts +2 -2
  56. package/dist/types/routes/universal-login/index.d.ts +2 -2
  57. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  58. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  59. package/dist/types/state-machines/login-session.d.ts +1 -1
  60. package/dist/types/types/AuthHeroConfig.d.ts +37 -1
  61. package/dist/types/types/Bindings.d.ts +2 -1
  62. package/dist/types/types/Variables.d.ts +5 -0
  63. package/dist/types/utils/field-encryption.d.ts +7 -0
  64. package/dist/types/utils/jwks.d.ts +2 -2
  65. package/package.json +6 -6
@@ -0,0 +1,261 @@
1
+ import { OpenAPIHono } from "@hono/zod-openapi";
2
+ import { Bindings, Variables } from "../../types";
3
+ export declare const rolloutRoutes: OpenAPIHono<{
4
+ Bindings: Bindings;
5
+ Variables: Variables;
6
+ }, {
7
+ "/": {
8
+ $get: {
9
+ input: {
10
+ query: {
11
+ page?: unknown;
12
+ per_page?: unknown;
13
+ kind?: "upgrade" | "backup" | "reseed" | "config-sync" | undefined;
14
+ status?: "pending" | "failed" | "paused" | "canary" | "rolling" | "done" | undefined;
15
+ };
16
+ } & {
17
+ header: {
18
+ "tenant-id"?: string | undefined;
19
+ };
20
+ };
21
+ output: {
22
+ rollouts: {
23
+ kind: "upgrade" | "backup" | "reseed" | "config-sync";
24
+ wave_size: number;
25
+ id: string;
26
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
27
+ created_at: string;
28
+ updated_at: string;
29
+ target_worker_version?: string | null | undefined;
30
+ target_database_version?: string | null | undefined;
31
+ canary_tenant_ids?: string[] | null | undefined;
32
+ filter?: {
33
+ [x: string]: import("hono/utils/types").JSONValue;
34
+ } | null | undefined;
35
+ initiated_by?: string | null | undefined;
36
+ config?: {
37
+ [x: string]: import("hono/utils/types").JSONValue;
38
+ } | null | undefined;
39
+ finished_at?: string | null | undefined;
40
+ paused_reason?: string | null | undefined;
41
+ }[];
42
+ start: number;
43
+ limit: number;
44
+ length: number;
45
+ };
46
+ outputFormat: "json";
47
+ status: 200;
48
+ };
49
+ };
50
+ } & {
51
+ "/:id": {
52
+ $get: {
53
+ input: {
54
+ param: {
55
+ id: string;
56
+ };
57
+ } & {
58
+ header: {
59
+ "tenant-id"?: string | undefined;
60
+ };
61
+ };
62
+ output: {};
63
+ outputFormat: string;
64
+ status: 404;
65
+ } | {
66
+ input: {
67
+ param: {
68
+ id: string;
69
+ };
70
+ } & {
71
+ header: {
72
+ "tenant-id"?: string | undefined;
73
+ };
74
+ };
75
+ output: {
76
+ kind: "upgrade" | "backup" | "reseed" | "config-sync";
77
+ wave_size: number;
78
+ id: string;
79
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
80
+ created_at: string;
81
+ updated_at: string;
82
+ summary: {
83
+ total: number;
84
+ by_status: {
85
+ [x: string]: number;
86
+ };
87
+ by_wave: {
88
+ wave: number;
89
+ total: number;
90
+ by_status: {
91
+ [x: string]: number;
92
+ };
93
+ }[];
94
+ };
95
+ target_worker_version?: string | null | undefined;
96
+ target_database_version?: string | null | undefined;
97
+ canary_tenant_ids?: string[] | null | undefined;
98
+ filter?: {
99
+ [x: string]: import("hono/utils/types").JSONValue;
100
+ } | null | undefined;
101
+ initiated_by?: string | null | undefined;
102
+ config?: {
103
+ [x: string]: import("hono/utils/types").JSONValue;
104
+ } | null | undefined;
105
+ finished_at?: string | null | undefined;
106
+ paused_reason?: string | null | undefined;
107
+ };
108
+ outputFormat: "json";
109
+ status: 200;
110
+ };
111
+ };
112
+ } & {
113
+ "/": {
114
+ $post: {
115
+ input: {
116
+ header: {
117
+ "tenant-id"?: string | undefined;
118
+ };
119
+ } & {
120
+ json: {
121
+ root_tenant_id?: string | undefined;
122
+ tenant_ids?: string[] | undefined;
123
+ canary?: number | undefined;
124
+ waves?: number[] | undefined;
125
+ failure_threshold?: number | undefined;
126
+ max_concurrent?: number | undefined;
127
+ dry_run?: boolean | undefined;
128
+ force?: boolean | undefined;
129
+ };
130
+ };
131
+ output: {
132
+ kind: "upgrade" | "backup" | "reseed" | "config-sync";
133
+ wave_size: number;
134
+ id: string;
135
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
136
+ created_at: string;
137
+ updated_at: string;
138
+ target_worker_version?: string | null | undefined;
139
+ target_database_version?: string | null | undefined;
140
+ canary_tenant_ids?: string[] | null | undefined;
141
+ filter?: {
142
+ [x: string]: import("hono/utils/types").JSONValue;
143
+ } | null | undefined;
144
+ initiated_by?: string | null | undefined;
145
+ config?: {
146
+ [x: string]: import("hono/utils/types").JSONValue;
147
+ } | null | undefined;
148
+ finished_at?: string | null | undefined;
149
+ paused_reason?: string | null | undefined;
150
+ };
151
+ outputFormat: "json";
152
+ status: 201;
153
+ };
154
+ };
155
+ } & {
156
+ "/:id/pause": {
157
+ $post: {
158
+ input: {
159
+ param: {
160
+ id: string;
161
+ };
162
+ } & {
163
+ header: {
164
+ "tenant-id"?: string | undefined;
165
+ };
166
+ } & {
167
+ json: {
168
+ reason?: string | undefined;
169
+ };
170
+ };
171
+ output: {};
172
+ outputFormat: string;
173
+ status: 404;
174
+ } | {
175
+ input: {
176
+ param: {
177
+ id: string;
178
+ };
179
+ } & {
180
+ header: {
181
+ "tenant-id"?: string | undefined;
182
+ };
183
+ } & {
184
+ json: {
185
+ reason?: string | undefined;
186
+ };
187
+ };
188
+ output: {
189
+ kind: "upgrade" | "backup" | "reseed" | "config-sync";
190
+ wave_size: number;
191
+ id: string;
192
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
193
+ created_at: string;
194
+ updated_at: string;
195
+ target_worker_version?: string | null | undefined;
196
+ target_database_version?: string | null | undefined;
197
+ canary_tenant_ids?: string[] | null | undefined;
198
+ filter?: {
199
+ [x: string]: import("hono/utils/types").JSONValue;
200
+ } | null | undefined;
201
+ initiated_by?: string | null | undefined;
202
+ config?: {
203
+ [x: string]: import("hono/utils/types").JSONValue;
204
+ } | null | undefined;
205
+ finished_at?: string | null | undefined;
206
+ paused_reason?: string | null | undefined;
207
+ };
208
+ outputFormat: "json";
209
+ status: 200;
210
+ };
211
+ };
212
+ } & {
213
+ "/:id/resume": {
214
+ $post: {
215
+ input: {
216
+ param: {
217
+ id: string;
218
+ };
219
+ } & {
220
+ header: {
221
+ "tenant-id"?: string | undefined;
222
+ };
223
+ };
224
+ output: {};
225
+ outputFormat: string;
226
+ status: 404;
227
+ } | {
228
+ input: {
229
+ param: {
230
+ id: string;
231
+ };
232
+ } & {
233
+ header: {
234
+ "tenant-id"?: string | undefined;
235
+ };
236
+ };
237
+ output: {
238
+ kind: "upgrade" | "backup" | "reseed" | "config-sync";
239
+ wave_size: number;
240
+ id: string;
241
+ status: "pending" | "failed" | "paused" | "canary" | "rolling" | "done";
242
+ created_at: string;
243
+ updated_at: string;
244
+ target_worker_version?: string | null | undefined;
245
+ target_database_version?: string | null | undefined;
246
+ canary_tenant_ids?: string[] | null | undefined;
247
+ filter?: {
248
+ [x: string]: import("hono/utils/types").JSONValue;
249
+ } | null | undefined;
250
+ initiated_by?: string | null | undefined;
251
+ config?: {
252
+ [x: string]: import("hono/utils/types").JSONValue;
253
+ } | null | undefined;
254
+ finished_at?: string | null | undefined;
255
+ paused_reason?: string | null | undefined;
256
+ };
257
+ outputFormat: "json";
258
+ status: 200;
259
+ };
260
+ };
261
+ }, "/">;
@@ -8,8 +8,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
8
8
  $get: {
9
9
  input: {
10
10
  query: {
11
- include_password_hashes?: "true" | "false" | undefined;
12
- gzip?: "true" | "false" | undefined;
11
+ include_password_hashes?: "false" | "true" | undefined;
12
+ gzip?: "false" | "true" | undefined;
13
13
  };
14
14
  } & {
15
15
  header: {
@@ -22,8 +22,8 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
22
22
  } | {
23
23
  input: {
24
24
  query: {
25
- include_password_hashes?: "true" | "false" | undefined;
26
- gzip?: "true" | "false" | undefined;
25
+ include_password_hashes?: "false" | "true" | undefined;
26
+ gzip?: "false" | "true" | undefined;
27
27
  };
28
28
  } & {
29
29
  header: {
@@ -42,7 +42,7 @@ export declare const tenantExportImportRoutes: OpenAPIHono<{
42
42
  $post: {
43
43
  input: {
44
44
  query: {
45
- include_password_hashes?: "true" | "false" | undefined;
45
+ include_password_hashes?: "false" | "true" | undefined;
46
46
  };
47
47
  } & {
48
48
  header: {
@@ -17,7 +17,7 @@ export declare const operationRoutes: OpenAPIHono<{
17
17
  };
18
18
  output: {
19
19
  tenant_id: string | null;
20
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
20
+ kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
21
21
  engine: string;
22
22
  id: string;
23
23
  status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
@@ -66,8 +66,9 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
66
66
  query: {
67
67
  page?: unknown;
68
68
  per_page?: unknown;
69
- kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | undefined;
69
+ kind?: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults" | undefined;
70
70
  status?: "pending" | "failed" | "running" | "succeeded" | "cancelled" | undefined;
71
+ rollout_id?: string | undefined;
71
72
  };
72
73
  } & {
73
74
  header: {
@@ -77,7 +78,7 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
77
78
  output: {
78
79
  operations: {
79
80
  tenant_id: string | null;
80
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
81
+ kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
81
82
  engine: string;
82
83
  id: string;
83
84
  status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
@@ -117,12 +118,16 @@ export declare const tenantOperationsRoutes: OpenAPIHono<{
117
118
  };
118
119
  } & {
119
120
  json: {
120
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
121
+ kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
122
+ input?: {
123
+ dry_run?: boolean | undefined;
124
+ force?: boolean | undefined;
125
+ } | undefined;
121
126
  };
122
127
  };
123
128
  output: {
124
129
  tenant_id: string | null;
125
- kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import";
130
+ kind: "provision" | "seed" | "upgrade" | "backup" | "deprovision" | "users_import" | "sync-defaults";
126
131
  engine: string;
127
132
  id: string;
128
133
  status: "pending" | "failed" | "running" | "succeeded" | "cancelled";
@@ -17,6 +17,9 @@ export declare const tenantRoutes: OpenAPIHono<{
17
17
  friendly_name: string;
18
18
  id: string;
19
19
  parent_tenant_id?: string | null | undefined;
20
+ config_sync?: "inherit-on-read" | "synced" | null | undefined;
21
+ config_sync_hash?: string | null | undefined;
22
+ config_synced_at?: string | null | undefined;
20
23
  audience?: string | undefined;
21
24
  picture_url?: string | undefined;
22
25
  support_email?: string | undefined;
@@ -212,13 +215,11 @@ export declare const tenantRoutes: OpenAPIHono<{
212
215
  } & {
213
216
  json: {
214
217
  id?: string | undefined;
215
- allowed_logout_urls?: string[] | undefined;
216
- oidc_logout?: {
217
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
218
- } | undefined;
219
- default_organization?: string | undefined;
220
218
  audience?: string | undefined;
221
219
  parent_tenant_id?: string | null | undefined;
220
+ config_sync?: "inherit-on-read" | "synced" | null | undefined;
221
+ config_sync_hash?: string | null | undefined;
222
+ config_synced_at?: string | null | undefined;
222
223
  friendly_name?: string | undefined;
223
224
  picture_url?: string | undefined;
224
225
  support_email?: string | undefined;
@@ -232,6 +233,7 @@ export declare const tenantRoutes: OpenAPIHono<{
232
233
  session_cookie?: {
233
234
  mode?: "persistent" | "non-persistent" | undefined;
234
235
  } | undefined;
236
+ allowed_logout_urls?: string[] | undefined;
235
237
  default_redirection_uri?: string | undefined;
236
238
  default_client_id?: string | undefined;
237
239
  enabled_locales?: string[] | undefined;
@@ -305,9 +307,13 @@ export declare const tenantRoutes: OpenAPIHono<{
305
307
  } | undefined;
306
308
  } | null | undefined;
307
309
  default_audience?: string | undefined;
310
+ default_organization?: string | undefined;
308
311
  sessions?: {
309
312
  oidc_logout_prompt_enabled?: boolean | undefined;
310
313
  } | undefined;
314
+ oidc_logout?: {
315
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
316
+ } | undefined;
311
317
  allow_organization_name_in_authentication_api?: boolean | undefined;
312
318
  customize_mfa_in_postlogin_action?: boolean | undefined;
313
319
  acr_values_supported?: string[] | undefined;
@@ -396,6 +402,9 @@ export declare const tenantRoutes: OpenAPIHono<{
396
402
  friendly_name: string;
397
403
  id: string;
398
404
  parent_tenant_id?: string | null | undefined;
405
+ config_sync?: "inherit-on-read" | "synced" | null | undefined;
406
+ config_sync_hash?: string | null | undefined;
407
+ config_synced_at?: string | null | undefined;
399
408
  audience?: string | undefined;
400
409
  picture_url?: string | undefined;
401
410
  support_email?: string | undefined;
@@ -599,6 +608,9 @@ export declare const tenantRoutes: OpenAPIHono<{
599
608
  friendly_name: string;
600
609
  id: string;
601
610
  parent_tenant_id?: string | null | undefined;
611
+ config_sync?: "inherit-on-read" | "synced" | null | undefined;
612
+ config_sync_hash?: string | null | undefined;
613
+ config_synced_at?: string | null | undefined;
602
614
  audience?: string | undefined;
603
615
  picture_url?: string | undefined;
604
616
  support_email?: string | undefined;
@@ -40,7 +40,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
40
40
  jwks?: {
41
41
  keys: {
42
42
  kty: "EC" | "RSA" | "oct";
43
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
43
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
44
44
  kid?: string | undefined;
45
45
  use?: "sig" | "enc" | undefined;
46
46
  n?: string | undefined;
@@ -99,7 +99,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
99
99
  jwks?: {
100
100
  keys: {
101
101
  kty: "EC" | "RSA" | "oct";
102
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
102
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
103
103
  kid?: string | undefined;
104
104
  use?: "sig" | "enc" | undefined;
105
105
  n?: string | undefined;
@@ -147,7 +147,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
147
147
  jwks?: {
148
148
  keys: {
149
149
  kty: "EC" | "RSA" | "oct";
150
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
150
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
151
151
  kid?: string | undefined;
152
152
  use?: "sig" | "enc" | undefined;
153
153
  n?: string | undefined;
@@ -191,7 +191,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
191
191
  jwks?: {
192
192
  keys: {
193
193
  kty: "EC" | "RSA" | "oct";
194
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
194
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
195
195
  kid?: string | undefined;
196
196
  use?: "sig" | "enc" | undefined;
197
197
  n?: string | undefined;
@@ -241,7 +241,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
241
241
  jwks?: {
242
242
  keys: {
243
243
  kty: "EC" | "RSA" | "oct";
244
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
244
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
245
245
  kid?: string | undefined;
246
246
  use?: "sig" | "enc" | undefined;
247
247
  n?: string | undefined;
@@ -285,7 +285,7 @@ export declare const tokenExchangeProfilesRoutes: OpenAPIHono<{
285
285
  jwks?: {
286
286
  keys: {
287
287
  kty: "EC" | "RSA" | "oct";
288
- alg?: "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | undefined;
288
+ alg?: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "HS256" | "HS384" | "HS512" | undefined;
289
289
  kid?: string | undefined;
290
290
  use?: "sig" | "enc" | undefined;
291
291
  n?: string | undefined;
@@ -855,9 +855,9 @@ export declare const userRoutes: OpenAPIHono<{
855
855
  };
856
856
  output: {
857
857
  user_id: string;
858
+ client_id: string;
858
859
  id: string;
859
860
  created_at: string;
860
- client_id: string;
861
861
  rotating: boolean;
862
862
  device: {
863
863
  initial_user_agent: string;
@@ -880,18 +880,15 @@ export declare const userRoutes: OpenAPIHono<{
880
880
  strategy_type: string;
881
881
  } | undefined;
882
882
  revoked_at?: string | undefined;
883
- organization?: string | undefined;
884
883
  idle_expires_at?: string | undefined;
884
+ organization?: string | undefined;
885
885
  last_exchanged_at?: string | undefined;
886
886
  }[] | {
887
- start: number;
888
- limit: number;
889
- length: number;
890
887
  tokens: {
891
888
  user_id: string;
889
+ client_id: string;
892
890
  id: string;
893
891
  created_at: string;
894
- client_id: string;
895
892
  rotating: boolean;
896
893
  device: {
897
894
  initial_user_agent: string;
@@ -914,18 +911,20 @@ export declare const userRoutes: OpenAPIHono<{
914
911
  strategy_type: string;
915
912
  } | undefined;
916
913
  revoked_at?: string | undefined;
917
- organization?: string | undefined;
918
914
  idle_expires_at?: string | undefined;
915
+ organization?: string | undefined;
919
916
  last_exchanged_at?: string | undefined;
920
917
  }[];
921
- total?: number | undefined;
922
918
  next?: string | undefined;
923
919
  } | {
920
+ start: number;
921
+ limit: number;
922
+ length: number;
924
923
  tokens: {
925
924
  user_id: string;
925
+ client_id: string;
926
926
  id: string;
927
927
  created_at: string;
928
- client_id: string;
929
928
  rotating: boolean;
930
929
  device: {
931
930
  initial_user_agent: string;
@@ -948,10 +947,11 @@ export declare const userRoutes: OpenAPIHono<{
948
947
  strategy_type: string;
949
948
  } | undefined;
950
949
  revoked_at?: string | undefined;
951
- organization?: string | undefined;
952
950
  idle_expires_at?: string | undefined;
951
+ organization?: string | undefined;
953
952
  last_exchanged_at?: string | undefined;
954
953
  }[];
954
+ total?: number | undefined;
955
955
  next?: string | undefined;
956
956
  };
957
957
  outputFormat: "json";
@@ -1000,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
1000
1000
  };
1001
1001
  };
1002
1002
  output: {
1003
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1003
+ type: "i" | "fn" | "fh" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1004
1004
  date: string;
1005
1005
  isMobile: boolean;
1006
1006
  log_id: string;
@@ -1035,8 +1035,11 @@ export declare const userRoutes: OpenAPIHono<{
1035
1035
  continent_code: string;
1036
1036
  } | undefined;
1037
1037
  }[] | {
1038
+ start: number;
1039
+ limit: number;
1040
+ length: number;
1038
1041
  logs: {
1039
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1042
+ type: "i" | "fn" | "fh" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1040
1043
  date: string;
1041
1044
  isMobile: boolean;
1042
1045
  log_id: string;
@@ -1071,13 +1074,11 @@ export declare const userRoutes: OpenAPIHono<{
1071
1074
  continent_code: string;
1072
1075
  } | undefined;
1073
1076
  }[];
1077
+ total?: number | undefined;
1074
1078
  next?: string | undefined;
1075
1079
  } | {
1076
- start: number;
1077
- limit: number;
1078
- length: number;
1079
1080
  logs: {
1080
- type: "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fh" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "fn" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "i" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1081
+ type: "i" | "fn" | "fh" | "acls_summary" | "actions_execution_failed" | "api_limit" | "api_limit_warning" | "appi" | "ciba_exchange_failed" | "ciba_exchange_succeeded" | "ciba_start_failed" | "ciba_start_succeeded" | "cls" | "cs" | "depnote" | "cfgdiff" | "cfgdrift" | "f" | "fc" | "fce" | "fco" | "fcoa" | "fcp" | "fcph" | "fcpn" | "fcpr" | "fcpro" | "fcu" | "fd" | "fdeac" | "fdeaz" | "fdecc" | "fdu" | "feacft" | "feccft" | "fecte" | "fede" | "federated_logout_failed" | "fens" | "feoobft" | "feotpft" | "fepft" | "fepotpft" | "fercft" | "ferrt" | "fertft" | "festft" | "fimp" | "fi" | "flo" | "flows_execution_completed" | "flows_execution_failed" | "forms_submission_failed" | "forms_submission_succeeded" | "fp" | "fpar" | "fpurh" | "fs" | "fsa" | "fu" | "fui" | "fv" | "fvr" | "gd_auth_email_verification" | "gd_auth_fail_email_verification" | "gd_auth_failed" | "gd_auth_rejected" | "gd_auth_succeed" | "gd_enrollment_complete" | "gd_otp_rate_limit_exceed" | "gd_recovery_failed" | "gd_recovery_rate_limit_exceed" | "gd_recovery_succeed" | "gd_send_email" | "gd_send_email_verification" | "gd_send_email_verification_failure" | "gd_send_pn" | "gd_send_pn_failure" | "gd_send_sms" | "gd_send_sms_failure" | "gd_send_voice" | "gd_send_voice_failure" | "gd_start_auth" | "gd_start_enroll" | "gd_start_enroll_failed" | "gd_tenant_update" | "gd_unenroll" | "gd_update_device_account" | "gd_webauthn_challenge_failed" | "gd_webauthn_enrollment_failed" | "kms_key_management_failure" | "kms_key_management_success" | "kms_key_state_changed" | "limit_delegation" | "limit_mu" | "limit_sul" | "limit_wc" | "mfar" | "mgmt_api_read" | "my_account_authentication_method_failed" | "my_account_authentication_method_succeeded" | "oidc_backchannel_logout_failed" | "oidc_backchannel_logout_succeeded" | "organization_member_added" | "passkey_challenge_failed" | "passkey_challenge_started" | "pla" | "pwd_leak" | "reset_pwd_leak" | "resource_cleanup" | "rich_consents_access_error" | "s" | "sapi" | "fapi" | "sce" | "scoa" | "scp" | "scpn" | "scpr" | "scu" | "scv" | "sd" | "sdu" | "seacft" | "seccft" | "secte" | "sede" | "sens" | "seoobft" | "seotpft" | "sepotpft" | "sepft" | "sepkoobft" | "sepkotpft" | "sepkrcft" | "sercft" | "sertft" | "sestft" | "simp" | "si" | "signup_pwd_leak" | "slo" | "sh" | "spm" | "srrt" | "ss" | "ss_sso_failure" | "ss_sso_info" | "ss_sso_success" | "ssa" | "sscim" | "sui" | "sv" | "svr" | "too_many_records" | "ublkdu" | "universal_logout_failed" | "universal_logout_succeeded" | "w" | "wn" | "wum";
1081
1082
  date: string;
1082
1083
  isMobile: boolean;
1083
1084
  log_id: string;
@@ -1112,7 +1113,6 @@ export declare const userRoutes: OpenAPIHono<{
1112
1113
  continent_code: string;
1113
1114
  } | undefined;
1114
1115
  }[];
1115
- total?: number | undefined;
1116
1116
  next?: string | undefined;
1117
1117
  };
1118
1118
  outputFormat: "json";