import{e as o}from"./index-OkLaRrT4.js";const r=o.injectEndpoints({endpoints:t=>({saveVendorCreateDetails:t.mutation({query:({Vendorcreate:e})=>({url:"vendor/create",method:"POST",body:e})}),updateVendorCreateDetails:t.mutation({query:({Vendorcreate:e})=>({url:"vendor/update",method:"POST",body:e})}),GetVendorsDetails:t.query({query:()=>"vendor"}),GetVendorsDetailsbyid:t.query({query:({id:e})=>({url:`vendor/${e}`,method:"GET"})}),getJobOrderById:t.query({query:({VendorNo:e})=>({url:`job_order/${e}`,method:"GET"})}),putAmountInVendorAccount:t.mutation({query:({Vendorcreate:e})=>({url:"vendor/vendor-amount-transfer",method:"POST",body:e})})})}),{useSaveVendorCreateDetailsMutation:a,useUpdateVendorCreateDetailsMutation:u,useGetVendorsDetailsQuery:s,useLazyGetVendorsDetailsQuery:d,useGetVendorsDetailsbyidQuery:i,useLazyGetVendorsDetailsbyidQuery:y,usePutAmountInVendorAccountMutation:m}=r;export{m as a,y as b,a as c,u as d,s as u};
