@@ -9,6 +9,7 @@ const routes = prepareRoutes({
9
9
flowSchedule : '/api/app/:appId/automation/flow/version/:versionId/schedule' ,
10
10
newFlowVersion : '/api/app/:appId/automation/flow/version/:versionId/new-version' ,
11
11
flowState : '/api/app/:appId/automation/flow/version/:versionId/:state' ,
12
+ sharedMemory : '/api/app/:appId/automation/flow/version/:versionId/shared-memory' ,
12
13
flowGroupName : '/api/app/:appId/automation/flow/:flowId/name' ,
13
14
flowDescription : '/api/app/:appId/automation/flow/version/:versionId/description' ,
14
15
flowGroup : '/api/app/:appId/automation/flow/:flowId' ,
@@ -49,6 +50,7 @@ const routes = prepareRoutes({
49
50
50
51
startLearningMode : '/api/app/:appId/automation/flow/:flowId/version/:id/debug/element/:elementId/learning/start' ,
51
52
stopLearningMode : '/api/app/:appId/automation/flow/:flowId/version/:id/debug/element/:elementId/learning/stop' ,
53
+ getElementsResults : '/api/app/:appId/automation/flow/:flowId/version/:id/debug/element/results' ,
52
54
getElementsLearningResults : '/api/app/:appId/automation/flow/:flowId/version/:id/debug/element/learning/all-results' ,
53
55
getElementLearningResult : '/api/app/:appId/automation/flow/:flowId/version/:id/debug/element/:elementId/learning/result' ,
54
56
@@ -290,6 +292,10 @@ export default req => ({
290
292
return req . automation . post ( routes . stopLearningMode ( appId , flowId , versionId , elementId ) )
291
293
} ,
292
294
295
+ getElementsResults ( appId , flowId , versionId ) {
296
+ return req . automation . get ( routes . getElementsResults ( appId , flowId , versionId ) )
297
+ } ,
298
+
293
299
getElementsLearningResults ( appId , flowId , versionId ) {
294
300
return req . automation . get ( routes . getElementsLearningResults ( appId , flowId , versionId ) )
295
301
} ,
@@ -305,4 +311,8 @@ export default req => ({
305
311
uninstallFlowProduct ( appId , productId , data ) {
306
312
return req . automation . delete ( routes . uninstallFlowProduct ( appId , productId ) , data )
307
313
} ,
314
+
315
+ updateSharedMemorySettings ( appId , versionId , data ) {
316
+ return req . automation . put ( routes . sharedMemory ( appId , versionId ) , data )
317
+ }
308
318
} )
0 commit comments