import{ar as t,__tla as l}from"./index-7d5b26d3.js";let a,r,e,i,C,R,_,m=Promise.all([(()=>{try{return l}catch{}})()]).then(async()=>{a=(s=>(s[s.CRM_LEADS=1]="CRM_LEADS",s[s.CRM_CUSTOMER=2]="CRM_CUSTOMER",s[s.CRM_CONTACT=3]="CRM_CONTACT",s[s.CRM_BUSINESS=5]="CRM_BUSINESS",s[s.CRM_CONTRACT=6]="CRM_CONTRACT",s))(a||{}),r=(s=>(s[s.OWNER=1]="OWNER",s[s.READ=2]="READ",s[s.WRITE=3]="WRITE",s))(r||{}),R=async s=>await t.get({url:"/crm/permission/list",params:s}),i=async s=>await t.post({url:"/crm/permission/create",data:s}),_=async s=>await t.put({url:"/crm/permission/update",data:s}),C=async s=>await t.delete({url:"/crm/permission/delete",params:s}),e=async s=>await t.delete({url:"/crm/permission/quit-team?id="+s})});export{a as B,r as P,m as __tla,e as a,i as c,C as d,R as g,_ as u};
