@@ -61,6 +61,7 @@ export class HelyosServices {
6161 workProcessType : WORKPROCESS_TYPE ;
6262 extServices : EXTERNALSERVICES ;
6363 servciceRequests : SERVICEREQUESTS ;
64+ serviceRequests : SERVICEREQUESTS ;
6465 toolsInterconnections : AGENTS_INTERCONNECTIONS ;
6566 agentsInterconnections : AGENTS_INTERCONNECTIONS ;
6667
@@ -120,12 +121,10 @@ export class HelyosServices {
120121 this . extServices = new EXTERNALSERVICES ( this . _client , this . socket ) ;
121122 this . assignments = new ASSIGNMENT ( this . _client , this . socket ) ;
122123 this . servciceRequests = new SERVICEREQUESTS ( this . _client , this . socket ) ;
124+ this . serviceRequests = new SERVICEREQUESTS ( this . _client , this . socket ) ;
123125 this . toolsInterconnections = new AGENTS_INTERCONNECTIONS ( this . _client , this . socket ) ;
124126 this . agentsInterconnections = new AGENTS_INTERCONNECTIONS ( this . _client , this . socket ) ;
125127
126-
127- } else {
128- console . log ( 'web socket is not connected; check websocket url and port or try to login (username, password) again.' )
129128 }
130129 }
131130
@@ -173,7 +172,6 @@ export class HelyosServices {
173172 ` ;
174173
175174 const postMessage = { clientMutationId : "not_used" , ...{ name, username, password, adminPassword} } ;
176- console . log ( "postMessage" , postMessage )
177175 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ name, username, password, adminPassword} } } )
178176 . then ( response => {
179177 return response . data [ QUERY_FUNTCION ] . user ;
@@ -196,7 +194,6 @@ export class HelyosServices {
196194 ` ;
197195
198196 const postMessage = { clientMutationId : "not_used" , ...{ username, password} } ;
199- console . log ( "postMessage" , postMessage )
200197 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ username, password} } } )
201198 . then ( response => {
202199 if ( response . data [ QUERY_FUNTCION ] . jwtToken ) {
@@ -223,7 +220,6 @@ export class HelyosServices {
223220 }
224221 ` ;
225222 const postMessage = { clientMutationId : "not_used" , ...{ username} } ;
226- console . log ( "postMessage" , postMessage )
227223 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ username} } } )
228224 . then ( response => {
229225 return response . data [ QUERY_FUNTCION ] ;
@@ -245,7 +241,6 @@ export class HelyosServices {
245241 ` ;
246242
247243 const postMessage = { clientMutationId : "not_used" , ...{ username, currentPassword, newPassword} } ;
248- console . log ( "postMessage" , postMessage )
249244 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ username, currentPassword, newPassword} } } )
250245 . then ( response => {
251246
@@ -269,7 +264,6 @@ export class HelyosServices {
269264 ` ;
270265
271266 const postMessage = { clientMutationId : "not_used" , ...{ username, password} } ;
272- console . log ( "postMessage" , postMessage )
273267 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ username, password} } } )
274268 . then ( response => {
275269 return response . data [ QUERY_FUNTCION ] ;
@@ -295,7 +289,6 @@ export class HelyosServices {
295289 username = this . username ;
296290 }
297291 const postMessage = { clientMutationId : "not_used" , ...{ username} } ;
298- console . log ( "postMessage" , postMessage )
299292 return this . _client . mutate ( { mutation : GQL_REQUEST , variables : { postMessage, ...{ username} } } )
300293 . then ( response => {
301294 if ( response . data [ QUERY_FUNTCION ] . jwtToken ) {
0 commit comments