import{K as a}from"./index-a0da86f0.js";const e="/jingrow";async function l(o=1,s=20,c="modified desc",t){const n=new URLSearchParams({page:o.toString(),page_length:s.toString(),order_by:c});return t&&n.append("filters",t),(await a.get(`${e}/local-jobs?${n}`)).data}async function p(o){return(await a.get(`${e}/local-jobs/${o}`)).data}async function b(o){return(await a.post(`${e}/local-jobs/${o}/stop`)).data}async function d(o){return(await a.delete(`${e}/local-jobs/${o}`)).data}async function g(o){return(await a.post(`${e}/local-jobs/batch-delete`,{job_ids:o})).data}export{p as a,g as b,d,l as g,b as s};
