@@ -17,15 +17,15 @@ export class Event extends APIResource {
1717}
1818
1919export type EventListResponse =
20- | EventListResponse . EventLspClientDiagnostics
21- | EventListResponse . EventPermissionUpdated
22- | EventListResponse . EventFileEdited
2320 | EventListResponse . EventInstallationUpdated
21+ | EventListResponse . EventLspClientDiagnostics
2422 | EventListResponse . EventMessageUpdated
2523 | EventListResponse . EventMessageRemoved
2624 | EventListResponse . EventMessagePartUpdated
2725 | EventListResponse . EventMessagePartRemoved
2826 | EventListResponse . EventStorageWrite
27+ | EventListResponse . EventPermissionUpdated
28+ | EventListResponse . EventFileEdited
2929 | EventListResponse . EventSessionUpdated
3030 | EventListResponse . EventSessionDeleted
3131 | EventListResponse . EventSessionIdle
@@ -34,67 +34,29 @@ export type EventListResponse =
3434 | EventListResponse . EventIdeInstalled ;
3535
3636export namespace EventListResponse {
37- export interface EventLspClientDiagnostics {
38- properties : EventLspClientDiagnostics . Properties ;
39-
40- type : 'lsp.client.diagnostics' ;
41- }
42-
43- export namespace EventLspClientDiagnostics {
44- export interface Properties {
45- path : string ;
46-
47- serverID : string ;
48- }
49- }
50-
51- export interface EventPermissionUpdated {
52- properties : EventPermissionUpdated . Properties ;
37+ export interface EventInstallationUpdated {
38+ properties : EventInstallationUpdated . Properties ;
5339
54- type : 'permission .updated' ;
40+ type : 'installation .updated' ;
5541 }
5642
57- export namespace EventPermissionUpdated {
43+ export namespace EventInstallationUpdated {
5844 export interface Properties {
59- id : string ;
60-
61- metadata : { [ key : string ] : unknown } ;
62-
63- sessionID : string ;
64-
65- time : Properties . Time ;
66-
67- title : string ;
68- }
69-
70- export namespace Properties {
71- export interface Time {
72- created : number ;
73- }
45+ version : string ;
7446 }
7547 }
7648
77- export interface EventFileEdited {
78- properties : EventFileEdited . Properties ;
49+ export interface EventLspClientDiagnostics {
50+ properties : EventLspClientDiagnostics . Properties ;
7951
80- type : 'file.edited ' ;
52+ type : 'lsp.client.diagnostics ' ;
8153 }
8254
83- export namespace EventFileEdited {
55+ export namespace EventLspClientDiagnostics {
8456 export interface Properties {
85- file : string ;
86- }
87- }
88-
89- export interface EventInstallationUpdated {
90- properties : EventInstallationUpdated . Properties ;
91-
92- type : 'installation.updated' ;
93- }
57+ path : string ;
9458
95- export namespace EventInstallationUpdated {
96- export interface Properties {
97- version : string ;
59+ serverID : string ;
9860 }
9961 }
10062
@@ -164,6 +126,44 @@ export namespace EventListResponse {
164126 }
165127 }
166128
129+ export interface EventPermissionUpdated {
130+ properties : EventPermissionUpdated . Properties ;
131+
132+ type : 'permission.updated' ;
133+ }
134+
135+ export namespace EventPermissionUpdated {
136+ export interface Properties {
137+ id : string ;
138+
139+ metadata : { [ key : string ] : unknown } ;
140+
141+ sessionID : string ;
142+
143+ time : Properties . Time ;
144+
145+ title : string ;
146+ }
147+
148+ export namespace Properties {
149+ export interface Time {
150+ created : number ;
151+ }
152+ }
153+ }
154+
155+ export interface EventFileEdited {
156+ properties : EventFileEdited . Properties ;
157+
158+ type : 'file.edited' ;
159+ }
160+
161+ export namespace EventFileEdited {
162+ export interface Properties {
163+ file : string ;
164+ }
165+ }
166+
167167 export interface EventSessionUpdated {
168168 properties : EventSessionUpdated . Properties ;
169169
0 commit comments