import { Observable } from 'rxjs'; import { HttpService } from '@ecp-caf/caf-common'; import { ForecastProcessPayload } from '../entity/forecast-process-payload'; import { ActivityInstanceSlim } from '../flow-chart/entity'; export declare class UiFlowchartService { private httpSvc; constructor(httpSvc: HttpService); getForecastProcessListByPayload(payload: ForecastProcessPayload): Observable; getRuntimeProcInstsByDataId(dataId: string): Observable; getHistoricProcInstsByDataId(dataId: string): Observable; /** * 基于流程实例ID获取流程实例 * @param procInstId 流程实例id */ getProcInstanceById(procInstId: string): Observable; /** * 基于流程实例ID获取bpmnModel */ getBpmnModelbyProcInstId(procInstId: string): Observable; /** * 基于流程定义ID获取bpmnModel */ getBpmnModelbyProcDefId(procDefId: string): Observable; getSubProcessInstance(superActInstId: string, superProcInstId: string): Observable; /** * 获取所有包含预解析的流程实例信息 */ getForecastProcessByProcInstId(procInstId: string): Observable; /** * 获取流程预测数据 */ getForecastProcessByPayload(payload: any): Observable; getCompleteProcessInfoByProcInstId(procInstId: string): Observable; /** * 基于流程实例Id获取所有活动实例 * @param procInstId procInstId */ getAllActiInstsbyProcInstId(procInstId: string): Observable; /** * 基于流程实例ID获取所有的流转实例 * @param procInstId procInstId */ getTransitionInstanceSlimsByProcInstId(procInstId: string): Observable; getFormInfoByProcInstId(procInstId: string): Observable; getFormInfoByActInstId(procInstId: string, actInstId: string): Observable; /** * 获取审批日志信息 * @param ProcInstId ProcInstId * 新改造的接口 */ getWorkItemLogs(procInstId: string, activityDefinitionId?: string): Observable; getI18nValue(name: string): string; getProcessInstanceById(processId: string): Observable; getProcInstIdByDataId(dataId: string): Observable; retryAifCreation(procInstId: string, actInstId: string, bizInstId: string): Observable; /** * 是否是外部流程第三方的任务 * @param processInstanceId 流程实例ID */ ifThirdTask(processInstanceId: string): Observable; /** * 获取查看共享流程图的相关参数 * @param bizId 单据内码 */ getFsParamsByBizId(bizId: string): Observable; /** * 获取共享查看流程图的URL * @param params 参数 */ viewFsProcessNew(params: any): Observable; getFlowChartStyleConfig(): Observable; /** * 获取多实例子流程 * @param actInst 活动实例 * @param superProcInstId 父流程实例id * @returns */ getMutiChildInstance(actInst: ActivityInstanceSlim, superProcInstId: string): Observable; }