Files
edr-platform/apps/edr-freight-web/backoffice/public/_um/assets/employeePositionsService-C7MSoCNC.js
2026-06-20 09:52:24 +03:00

2 lines
1.1 KiB
JavaScript

import{l as e,w as o}from"./index-7T7TTikv.js";const n=async s=>e.post("/employee-positions/invite",s,{headers:o()}),i=async s=>e.post("/employee-positions/inactive",s,{headers:o()}),r=async(s,t)=>e.get(`/employee-positions/given-first/${s}`,{headers:o(),params:t}),c=async(s,t)=>e.get(`/employee-positions/given-second/${s}`,{headers:o(),params:t}),p=async(s,t)=>e.patch(`/users/update-users-profile/${t}`,s),d=async(s,t)=>e.patch(`/users/update-users-profile/${t}`,s),y=async s=>e.post("/employee-positions/assign",s,{headers:o()}),l=async s=>e.post("/employee-positions/assign-firsts-for-second",s,{headers:o()}),m=async s=>e.post("/employee-positions/assign-seconds-for-first",s,{headers:o()}),h=async s=>e.delete(`/employee-positions/${s}`,{headers:o()}),v=async s=>e.post("/employee-positions/remove-firsts-for-second",s,{headers:o()}),f=async s=>e.post("/employee-positions/remove-seconds-for-first",s,{headers:o()}),g=async s=>e.patch(`/employees/${s}/deactivate`,{headers:o()}),u=async s=>e.patch(`/employees/${s}/activate`,{headers:o()});export{d as a,u as b,l as c,g as d,m as e,y as f,f as g,h,n as i,r as j,c as k,v as r,i as s,p as u};