import{bf as e}from"./index-B4gewkxT.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="fe851fe6-b5ee-45f4-92c4-4c70c762f066",r._sentryDebugIdIdentifier="sentry-dbid-fe851fe6-b5ee-45f4-92c4-4c70c762f066")}catch{}})();class c{static async postSearch(t,a){return(await e.post("/v3/search/partners",t,{params:a})).data}static async getPartnerConfiguration(){return(await e.get("/v3/partners/configuration")).data}static async getPartnerJobs(t,a){const s=new URLSearchParams;return a!==void 0&&s.append("onBehalf",String(a)),(await e.get(`/v3/partners/${t}/jobs?${s.toString()}`)).data}static async payPartnerPlan(t){return(await e.post("/v3/partners/payment",t)).data}static async getPartner(t,a){return(await e.get(`/v3/partners/${t}`,{params:a})).data}static async getPartnerList(t){return await Promise.all(t.map(async a=>(await c.getPartner(a)).data))}static async getPartnerCompliments(t){return(await e.get(`/v3/partners/${t}/compliments`)).data}static async getPartnerRecommendationList(t){return(await e.get(`/v3/partners/${t}/recommendations`)).data}static async askPartnerFeedback(t,a,s){return(await e.post(`/v3/partners/${t}/recommendations/${a}/ask-rex`,{comment:s})).data}static async askPartnerConnection(t,a){return(await e.post(`/v3/partners/${t}/ask-connection`,{comment:a})).data}static async contactPartner(t,a){return(await e.post(`/v3/partners/${t}/contact`,a)).data}static async notifyPartner(t,a){return(await e.post(`/v3/partners/${t}/notify`,a)).data}static async sendPartnerRecommendation(t,a,s){return(await e.post(`/v3/partners/${t}/recommendations`,{comment:s,compliments:a})).data}static async getPartnerContacts(t){return(await e.get(`/v3/partners/${t}/contacts`)).data}static async getPartnerEvents(t,a,s,n,o){return(await e.get(`/v3/partners/${t}/events`,{params:{type:a,contract:s,limit:o,page:n}})).data}static async postBusinessNeeds(t,a,s,n){return(await e.post("/v3/business-needs",{needs:t,location:s,comment:a,deadline:n})).data}static async postAskToJoin(t){return(await e.post("/v3/partners/ask-to-join",{message:t})).data}static async patchCompanyProfile(t,a){await e.patch(`/v3/partners/${t}`,a)}static async createPartnerAccount(t){await e.post("/v3/partners",t)}static async getPartners(t){return(await e.get("/v3/partners",{params:t})).data}static async patchPublicationStatus(t){await e.patch("/v3/partners/directory-publication",t)}static async activateBasicPlan(){await e.post("/v3/partners/activate-directory")}static async getPublicHomepagePartners(){return(await e.get("/v3/public-homepage/partners?limit=3")).data}static async getPartnersHomepage(t){return(await e.get("/v3/partners/homepage",{params:{location:t}})).data}}export{c as P}; //# sourceMappingURL=Partners.api-BwNQ-nrD.js.map