authhero 9.24.1 → 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 (59) 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 +612 -171
  4. package/dist/authhero.mjs +16457 -15581
  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 +12 -5
  9. package/dist/types/errors/management-api-error.d.ts +113 -0
  10. package/dist/types/helpers/audit-target-types.d.ts +26 -0
  11. package/dist/types/helpers/client.d.ts +18 -0
  12. package/dist/types/helpers/control-plane-caller.d.ts +15 -0
  13. package/dist/types/helpers/platform-rows.d.ts +27 -0
  14. package/dist/types/helpers/request-data.d.ts +12 -0
  15. package/dist/types/helpers/reserved-claims.d.ts +2 -2
  16. package/dist/types/helpers/synced-rows.d.ts +1 -0
  17. package/dist/types/index.d.ts +499 -167
  18. package/dist/types/routes/auth-api/index.d.ts +10 -10
  19. package/dist/types/routes/auth-api/passwordless.d.ts +10 -10
  20. package/dist/types/routes/management-api/action-executions.d.ts +1 -1
  21. package/dist/types/routes/management-api/action-triggers.d.ts +8 -2
  22. package/dist/types/routes/management-api/actions.d.ts +44 -11
  23. package/dist/types/routes/management-api/authentication-methods.d.ts +1 -1
  24. package/dist/types/routes/management-api/branding.d.ts +13 -1
  25. package/dist/types/routes/management-api/client-grants.d.ts +13 -0
  26. package/dist/types/routes/management-api/clients.d.ts +27 -8
  27. package/dist/types/routes/management-api/connections.d.ts +43 -6
  28. package/dist/types/routes/management-api/custom-domains.d.ts +6 -6
  29. package/dist/types/routes/management-api/email-templates.d.ts +18 -18
  30. package/dist/types/routes/management-api/emails.d.ts +18 -0
  31. package/dist/types/routes/management-api/failed-events.d.ts +24 -0
  32. package/dist/types/routes/management-api/guardian.d.ts +5 -5
  33. package/dist/types/routes/management-api/helpers.d.ts +1 -1
  34. package/dist/types/routes/management-api/hook-code.d.ts +2 -2
  35. package/dist/types/routes/management-api/hooks.d.ts +126 -21
  36. package/dist/types/routes/management-api/index.d.ts +480 -152
  37. package/dist/types/routes/management-api/keys.d.ts +8 -8
  38. package/dist/types/routes/management-api/log-streams.d.ts +6 -6
  39. package/dist/types/routes/management-api/logs.d.ts +4 -4
  40. package/dist/types/routes/management-api/migration-sources.d.ts +6 -6
  41. package/dist/types/routes/management-api/organizations.d.ts +2 -2
  42. package/dist/types/routes/management-api/prompts.d.ts +12 -6
  43. package/dist/types/routes/management-api/resource-servers.d.ts +57 -20
  44. package/dist/types/routes/management-api/rollouts.d.ts +261 -0
  45. package/dist/types/routes/management-api/tenant-operations.d.ts +10 -5
  46. package/dist/types/routes/management-api/tenants.d.ts +24 -8
  47. package/dist/types/routes/management-api/users.d.ts +24 -24
  48. package/dist/types/routes/universal-login/common.d.ts +38 -10
  49. package/dist/types/routes/universal-login/flow-api.d.ts +4 -4
  50. package/dist/types/routes/universal-login/screens/login-partials.d.ts +8 -0
  51. package/dist/types/routes/universal-login/u2-index.d.ts +5 -5
  52. package/dist/types/routes/universal-login/u2-routes.d.ts +5 -5
  53. package/dist/types/state-machines/login-session.d.ts +1 -1
  54. package/dist/types/types/AuthHeroConfig.d.ts +37 -1
  55. package/dist/types/types/Bindings.d.ts +2 -1
  56. package/dist/types/types/Variables.d.ts +8 -0
  57. package/dist/types/utils/field-encryption.d.ts +7 -0
  58. package/dist/types/utils/jwt.d.ts +2 -0
  59. 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
+ }, "/">;
@@ -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";
@@ -16,6 +16,10 @@ export declare const tenantRoutes: OpenAPIHono<{
16
16
  updated_at: string;
17
17
  friendly_name: string;
18
18
  id: string;
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;
19
23
  audience?: string | undefined;
20
24
  picture_url?: string | undefined;
21
25
  support_email?: string | undefined;
@@ -211,15 +215,11 @@ export declare const tenantRoutes: OpenAPIHono<{
211
215
  } & {
212
216
  json: {
213
217
  id?: string | undefined;
214
- allowed_logout_urls?: string[] | undefined;
215
- oidc_logout?: {
216
- rp_logout_end_session_endpoint_discovery?: boolean | undefined;
217
- } | undefined;
218
- default_organization?: string | undefined;
219
- sessions?: {
220
- oidc_logout_prompt_enabled?: boolean | undefined;
221
- } | undefined;
222
218
  audience?: string | undefined;
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;
223
223
  friendly_name?: string | undefined;
224
224
  picture_url?: string | undefined;
225
225
  support_email?: string | undefined;
@@ -233,6 +233,7 @@ export declare const tenantRoutes: OpenAPIHono<{
233
233
  session_cookie?: {
234
234
  mode?: "persistent" | "non-persistent" | undefined;
235
235
  } | undefined;
236
+ allowed_logout_urls?: string[] | undefined;
236
237
  default_redirection_uri?: string | undefined;
237
238
  default_client_id?: string | undefined;
238
239
  enabled_locales?: string[] | undefined;
@@ -306,6 +307,13 @@ export declare const tenantRoutes: OpenAPIHono<{
306
307
  } | undefined;
307
308
  } | null | undefined;
308
309
  default_audience?: string | undefined;
310
+ default_organization?: string | undefined;
311
+ sessions?: {
312
+ oidc_logout_prompt_enabled?: boolean | undefined;
313
+ } | undefined;
314
+ oidc_logout?: {
315
+ rp_logout_end_session_endpoint_discovery?: boolean | undefined;
316
+ } | undefined;
309
317
  allow_organization_name_in_authentication_api?: boolean | undefined;
310
318
  customize_mfa_in_postlogin_action?: boolean | undefined;
311
319
  acr_values_supported?: string[] | undefined;
@@ -393,6 +401,10 @@ export declare const tenantRoutes: OpenAPIHono<{
393
401
  updated_at: string;
394
402
  friendly_name: string;
395
403
  id: string;
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;
396
408
  audience?: string | undefined;
397
409
  picture_url?: string | undefined;
398
410
  support_email?: string | undefined;
@@ -595,6 +607,10 @@ export declare const tenantRoutes: OpenAPIHono<{
595
607
  updated_at: string;
596
608
  friendly_name: string;
597
609
  id: string;
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;
598
614
  audience?: string | undefined;
599
615
  picture_url?: string | undefined;
600
616
  support_email?: string | undefined;
@@ -26,8 +26,8 @@ export declare const userRoutes: OpenAPIHono<{
26
26
  output: {
27
27
  created_at: string;
28
28
  updated_at: string;
29
- connection: string;
30
29
  user_id: string;
30
+ connection: string;
31
31
  email_verified: boolean;
32
32
  provider: string;
33
33
  is_social: boolean;
@@ -97,8 +97,8 @@ export declare const userRoutes: OpenAPIHono<{
97
97
  users: {
98
98
  created_at: string;
99
99
  updated_at: string;
100
- connection: string;
101
100
  user_id: string;
101
+ connection: string;
102
102
  email_verified: boolean;
103
103
  provider: string;
104
104
  is_social: boolean;
@@ -168,8 +168,8 @@ export declare const userRoutes: OpenAPIHono<{
168
168
  users: {
169
169
  created_at: string;
170
170
  updated_at: string;
171
- connection: string;
172
171
  user_id: string;
172
+ connection: string;
173
173
  email_verified: boolean;
174
174
  provider: string;
175
175
  is_social: boolean;
@@ -254,8 +254,8 @@ export declare const userRoutes: OpenAPIHono<{
254
254
  output: {
255
255
  created_at: string;
256
256
  updated_at: string;
257
- connection: string;
258
257
  user_id: string;
258
+ connection: string;
259
259
  email_verified: boolean;
260
260
  provider: string;
261
261
  is_social: boolean;
@@ -394,8 +394,8 @@ export declare const userRoutes: OpenAPIHono<{
394
394
  output: {
395
395
  created_at: string;
396
396
  updated_at: string;
397
- connection: string;
398
397
  user_id: string;
398
+ connection: string;
399
399
  email_verified: boolean;
400
400
  provider: string;
401
401
  is_social: boolean;
@@ -589,8 +589,8 @@ export declare const userRoutes: OpenAPIHono<{
589
589
  output: {
590
590
  created_at: string;
591
591
  updated_at: string;
592
- connection: string;
593
592
  user_id: string;
593
+ connection: string;
594
594
  email_verified: boolean;
595
595
  provider: string;
596
596
  is_social: boolean;
@@ -854,10 +854,10 @@ export declare const userRoutes: OpenAPIHono<{
854
854
  };
855
855
  };
856
856
  output: {
857
- id: string;
858
- created_at: string;
859
857
  user_id: string;
860
858
  client_id: string;
859
+ id: string;
860
+ created_at: string;
861
861
  rotating: boolean;
862
862
  device: {
863
863
  initial_user_agent: string;
@@ -872,23 +872,23 @@ export declare const userRoutes: OpenAPIHono<{
872
872
  audience: string;
873
873
  scopes: string;
874
874
  }[];
875
- revoked_at?: string | undefined;
876
875
  expires_at?: string | undefined;
877
- idle_expires_at?: string | undefined;
878
876
  session_id?: string | undefined;
879
- organization?: string | undefined;
880
877
  auth_connection?: string | undefined;
881
878
  auth_strategy?: {
882
879
  strategy: string;
883
880
  strategy_type: string;
884
881
  } | undefined;
882
+ revoked_at?: string | undefined;
883
+ idle_expires_at?: string | undefined;
884
+ organization?: string | undefined;
885
885
  last_exchanged_at?: string | undefined;
886
886
  }[] | {
887
887
  tokens: {
888
- id: string;
889
- created_at: string;
890
888
  user_id: string;
891
889
  client_id: string;
890
+ id: string;
891
+ created_at: string;
892
892
  rotating: boolean;
893
893
  device: {
894
894
  initial_user_agent: string;
@@ -903,16 +903,16 @@ export declare const userRoutes: OpenAPIHono<{
903
903
  audience: string;
904
904
  scopes: string;
905
905
  }[];
906
- revoked_at?: string | undefined;
907
906
  expires_at?: string | undefined;
908
- idle_expires_at?: string | undefined;
909
907
  session_id?: string | undefined;
910
- organization?: string | undefined;
911
908
  auth_connection?: string | undefined;
912
909
  auth_strategy?: {
913
910
  strategy: string;
914
911
  strategy_type: string;
915
912
  } | undefined;
913
+ revoked_at?: string | undefined;
914
+ idle_expires_at?: string | undefined;
915
+ organization?: string | undefined;
916
916
  last_exchanged_at?: string | undefined;
917
917
  }[];
918
918
  next?: string | undefined;
@@ -921,10 +921,10 @@ export declare const userRoutes: OpenAPIHono<{
921
921
  limit: number;
922
922
  length: number;
923
923
  tokens: {
924
- id: string;
925
- created_at: string;
926
924
  user_id: string;
927
925
  client_id: string;
926
+ id: string;
927
+ created_at: string;
928
928
  rotating: boolean;
929
929
  device: {
930
930
  initial_user_agent: string;
@@ -939,16 +939,16 @@ export declare const userRoutes: OpenAPIHono<{
939
939
  audience: string;
940
940
  scopes: string;
941
941
  }[];
942
- revoked_at?: string | undefined;
943
942
  expires_at?: string | undefined;
944
- idle_expires_at?: string | undefined;
945
943
  session_id?: string | undefined;
946
- organization?: string | undefined;
947
944
  auth_connection?: string | undefined;
948
945
  auth_strategy?: {
949
946
  strategy: string;
950
947
  strategy_type: string;
951
948
  } | undefined;
949
+ revoked_at?: string | undefined;
950
+ idle_expires_at?: string | undefined;
951
+ organization?: string | undefined;
952
952
  last_exchanged_at?: string | undefined;
953
953
  }[];
954
954
  total?: number | undefined;
@@ -1000,7 +1000,7 @@ export declare const userRoutes: OpenAPIHono<{
1000
1000
  };
1001
1001
  };
1002
1002
  output: {
1003
- type: "fn" | "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" | "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" | "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;
@@ -1039,7 +1039,7 @@ export declare const userRoutes: OpenAPIHono<{
1039
1039
  limit: number;
1040
1040
  length: number;
1041
1041
  logs: {
1042
- type: "fn" | "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" | "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" | "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";
1043
1043
  date: string;
1044
1044
  isMobile: boolean;
1045
1045
  log_id: string;
@@ -1078,7 +1078,7 @@ export declare const userRoutes: OpenAPIHono<{
1078
1078
  next?: string | undefined;
1079
1079
  } | {
1080
1080
  logs: {
1081
- type: "fn" | "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" | "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" | "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";
1082
1082
  date: string;
1083
1083
  isMobile: boolean;
1084
1084
  log_id: string;