mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
2 lines
858 B
JavaScript
2 lines
858 B
JavaScript
import{l as e,w as t}from"./index-Db-xuq0b.js";const i=async s=>e.get("/positions",{headers:t(),params:s}),r=async s=>e.get(`/positions/${s}`,{headers:t()}),a=async s=>e.get(`/positions/hierarchy/${s}`,{headers:t()}),c=async(s,o)=>e.get(`/positions/list/${s}`,{headers:t(),params:o}),d=async s=>e.get(`/positions/current/${s}/employees`,{headers:t()}),h=async s=>e.post("/positions",s,{headers:t()}),p=async(s,o)=>e.put(`/positions/${s}`,o,{headers:t()}),u=async s=>e.patch("/positions/change-parent",s,{headers:t()}),y=async s=>e.delete(`/positions/${s}`,{headers:t()}),g=async s=>e.delete(`/positions/${s}/soft`,{headers:t()}),P=async(s,o)=>e.get(`/positions/archived/${s}`,{headers:t(),params:o}),l=async s=>e.patch(`/positions/${s}/restore`,null,{headers:t()});export{i as a,a as b,h as c,y as d,d as e,c as f,r as g,P as h,u as m,l as r,g as s,p as u};
|