import{l as e,w as s}from"./index-Db-xuq0b.js";const a=async t=>e.get(`/units/${t}`,{headers:s()}),i=async t=>e.get(`/units/${t}/hierarchy`,{headers:s()}),c=async t=>e.get(`/units/current/${t}/employees`,{headers:s()}),u=async(t,n)=>e.get(`/units/list/${t}`,{params:n,headers:s()}),o=async t=>e.post("/units",t,{headers:s()}),d=async(t,n)=>e.put(`/units/${t}`,n,{headers:s()}),h=async t=>e.delete(`/units/${t}`,{headers:s()}),y=async t=>e.delete(`/units/${t}/soft`,{headers:s()}),l=async(t,n)=>e.get(`/units/archived/${t}`,{params:n,headers:s()}),g=async t=>e.patch(`/units/${t}/restore`,null,{headers:s()}),U=async t=>e.patch("/units/relate-unit-to-unit",t,{headers:s()}),p=async t=>e.get(`/units/child-units/${t}`,{headers:s()});export{u as a,a as b,o as c,h as d,i as e,c as f,p as g,g as h,l as i,U as r,y as s,d as u};
