import{A as o}from"./index.9fabe127.js";const p=s=>o.get(`/api/v1/sys/procdef/detail/${s.formId}`),t=s=>o.get("/api/v1/organization/procdef/list",{params:s}),a=s=>o.get("/api/v1/sys/procdef/list",{params:s}),c=s=>o.put(`/api/v1/sys/procdef/${s.formId}/active/${s.state}`,s),r=s=>o.post("/api/v1/organization/procdef/save",s),i=s=>o.post("/api/v1/sys/procdef/save",s),n=s=>o.post(`/api/v1/sys/procdef/deploy/${s}`),f=s=>o.put(`/api/v1/organization/procdef/enable/${s.processDefId}`,s),d=s=>o.put(`/api/v1/organization/procdef/disable/${s.processDefId}`,s),v=s=>o.post(`/api/v1/organization/procdef/deploy/${s.processDefId}`,s);export{t as a,p as b,n as c,c as d,f as e,d as f,r as g,v as h,a as p,i as s};
