import{a7 as t,bc as n}from"./app-BgLa5dit.js";const i={getDomains(e){return{url:t.urlBuilder("/ajax/prospect/domains",e),key:`domains:get:${e==null?void 0:e.name}:${e==null?void 0:e.status}`}},createDomain(e){return{url:"/ajax/prospect/domains",type:n.POST,data:{name:e.name,status:e.status,description:e.description},key:"domains:create",invalidationKeys:["domains:get","domains:search"]}},classifyDomains(e){return{url:"/ajax/prospect/domains/classify",type:n.POST,data:e.domains,key:"domains:classify",invalidationKeys:["domains:get","domains:search"]}},searchDomains(e){return{url:t.urlBuilder("/ajax/prospect/domains/search",e),key:`domains:search:${e.query}:${e.status}`}},getDomainUsers(e){return{url:`/ajax/prospect/domains/${e}/users`,key:`domains:users:${e}`}},getDomainsUsers(e){const s=new URLSearchParams;return e.forEach(r=>s.append("id",r)),{url:`/ajax/prospect/domains/users?${s.toString()}`,key:"domains:users:bulk:"+e.join(",")}}};export{i as P};
//# sourceMappingURL=BH2LS0pQ.chunk.js.map
