@@ -20,7 +20,9 @@ const routes = prepareRoutes({
2020 flowInstances : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/find' ,
2121 countInstances : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/count' ,
2222 flowInstance : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/:executionId' ,
23+ flowInstanceInitialData : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/:executionId/initial-and-static-data' ,
2324 stopInstanceExecution : '/api/app/:appId/automation/flow/:flowId/version/:versionId/instances/:executionId/stop' ,
25+ runDebugInstance : '/api/app/:appId/automation/flow/:flowId/version/:versionId/debug/test-monitor/instance/run-new' ,
2426
2527 elementExecutionInfo : '/api/app/:appId/automation/flow/:flowId/version/:versionId/analytics/instances/:executionId/element/:elementId' ,
2628 flowSlA : '/api/app/:appId/automation/flow/:flowId/version/:versionId/sla/goals' ,
@@ -148,6 +150,14 @@ export default req => ({
148150 return req . automation . post ( routes . flowInstances ( appId , flowId , versionId ) , body )
149151 } ,
150152
153+ getFlowInstanceInitialData ( appId , flowId , versionId , executionId ) {
154+ return req . automation . get ( routes . flowInstanceInitialData ( appId , flowId , versionId , executionId ) )
155+ } ,
156+
157+ runDebugInstance ( appId , flowId , versionId , body ) {
158+ return req . automation . post ( routes . runDebugInstance ( appId , flowId , versionId ) , body )
159+ } ,
160+
151161 countFlowInstances ( appId , flowId , versionId , body ) {
152162 return req . automation . post ( routes . countInstances ( appId , flowId , versionId ) , body )
153163 } ,
0 commit comments