File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,8 +234,8 @@ export class Sessions extends BaseModule {
234234
235235 async updateInternal (
236236 params : types . UpdateAgentEngineSessionRequestParameters ,
237- ) : Promise < types . AgentEngineSessionOperation > {
238- let response : Promise < types . AgentEngineSessionOperation > ;
237+ ) : Promise < types . Session > {
238+ let response : Promise < types . Session > ;
239239
240240 let path : string = '' ;
241241 let queryParams : Record < string , string > = { } ;
@@ -262,10 +262,10 @@ export class Sessions extends BaseModule {
262262 } )
263263 . then ( ( httpResponse ) => {
264264 return httpResponse . json ( ) ;
265- } ) as Promise < types . AgentEngineSessionOperation > ;
265+ } ) as Promise < types . Session > ;
266266
267267 return response . then ( ( resp ) => {
268- return resp as types . AgentEngineSessionOperation ;
268+ return resp as types . Session ;
269269 } ) ;
270270 } else {
271271 throw new Error (
You can’t perform that action at this time.
0 commit comments