import{_ as a,bq as n,br as u,a9 as r}from"./index-BiWH3VAt.js";const m=a.injectEndpoints({endpoints:s=>({saveCostEstimation:s.mutation({query:t=>({url:"cost-estimation",method:"POST",body:t})}),updateCostEstimation:s.mutation({query:t=>({url:"cost-estimation",method:"PUT",body:t})}),getCostEstimationById:s.query({query:t=>`cost-estimation/${t}`}),getAllCostEstimations:s.query({query:()=>"cost-estimation"}),deleteCostEstimation:s.mutation({query:t=>({url:`cost-estimation/${t}`,method:"DELETE"})}),searchCostEstimationByCriteria:s.mutation({query:({criteria:t,page:e,size:i})=>({url:`cost-estimation/search-by-criteria?page=${e}&size=${i}`,method:"POST",body:t})}),linkCostEstimationQuotation:s.mutation({query:({costEstimationId:t,...e})=>({url:`cost-estimation/${t}/link-quotation`,method:"POST",body:e})})}),overrideExisting:!1}),{useSaveCostEstimationMutation:h,useUpdateCostEstimationMutation:l,useGetCostEstimationByIdQuery:p,useLazyGetCostEstimationByIdQuery:v,useGetAllCostEstimationsQuery:q,useDeleteCostEstimationMutation:f,useSearchCostEstimationByCriteriaMutation:M,useLinkCostEstimationQuotationMutation:x}=m;var o={},c=n;Object.defineProperty(o,"__esModule",{value:!0});var E=o.default=void 0,y=c(u()),C=r;E=o.default=(0,y.default)((0,C.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link");export{h as a,l as b,M as c,E as d,f as e,x as f,v as u};
