import{bh as s}from"./index-CYs9MVUz.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]="88c2556d-c503-4c66-86e2-d3e38dcf7d58",r._sentryDebugIdIdentifier="sentry-dbid-88c2556d-c503-4c66-86e2-d3e38dcf7d58")}catch{}})();class c{static async postSearch(t,a){return(await s.post("/v3/search/partners",t,{params:a})).data}static async getPartnerConfiguration(){return(await s.get("/v3/partners/configuration")).data}static async getPartnerJobs(t,a){const e=new URLSearchParams;return a!==void 0&&e.append("onBehalf",String(a)),(await s.get(`/v3/partners/${t}/jobs?${e.toString()}`)).data}static async payPartnerPlan(t){return(await s.post("/v3/partners/payment",t)).data}static async getPartner(t,a){return(await s.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 s.get(`/v3/partners/${t}/compliments`)).data}static async getPartnerRecommendationList(t){return(await s.get(`/v3/partners/${t}/recommendations`)).data}static async askPartnerFeedback(t,a,e){return(await s.post(`/v3/partners/${t}/recommendations/${a}/ask-rex`,{comment:e})).data}static async askPartnerConnection(t,a){return(await s.post(`/v3/partners/${t}/ask-connection`,{comment:a})).data}static async contactPartner(t,a){return(await s.post(`/v3/partners/${t}/contact`,a)).data}static async notifyPartner(t,a){return(await s.post(`/v3/partners/${t}/notify`,a)).data}static async sendPartnerRecommendation(t,a,e){return(await s.post(`/v3/partners/${t}/recommendations`,{comment:e,compliments:a})).data}static async getPartnerContacts(t){return(await s.get(`/v3/partners/${t}/contacts`)).data}static async getPartnerEvents(t,a,e,n,o){return(await s.get(`/v3/partners/${t}/events`,{params:{type:a,contract:e,limit:o,page:n}})).data}static async postBusinessNeeds(t,a,e,n){return(await s.post("/v3/business-needs",{needs:t,location:e,comment:a,deadline:n})).data}static async postAskToJoin(t){return(await s.post("/v3/partners/ask-to-join",{message:t})).data}static async patchCompanyProfile(t,a){await s.patch(`/v3/partners/${t}`,a)}static async createPartnerAccount(t){await s.post("/v3/partners",t)}static async getPartners(t){return(await s.get("/v3/partners",{params:t})).data}static async patchPublicationStatus(t){await s.patch("/v3/partners/directory-publication",t)}static async activateBasicPlan(){await s.post("/v3/partners/activate-directory")}static async getPublicHomepagePartners(){return(await s.get("/v3/public-homepage/partners?limit=3")).data}static async getPartnersHomepage(t){return(await s.get("/v3/partners/homepage",{params:{location:t}})).data}}export{c as P};
//# sourceMappingURL=Partners.api-BMH5XPiD.js.map