{"version":3,"file":"TdRWWyMg.js","sources":["../../../../services/vendor.ts"],"sourcesContent":["import { useFetchAPI } from '@/composables';\nimport { type IVendor } from '@/types';\n\nexport const updateVendor = (payload: IVendor) => {\n return useFetchAPI('/vendors', {\n method: 'PUT',\n body: payload\n });\n};\n\nexport const createVendor = (payload: IVendor) => {\n return useFetchAPI('/vendors', {\n method: 'POST',\n body: payload\n });\n};\n"],"names":["updateVendor","payload","useFetchAPI","createVendor"],"mappings":"uYAGa,MAAAA,EAAgBC,GACpBC,EAAY,WAAY,CAC7B,OAAQ,MACR,KAAMD,CAAA,CACP,EAGUE,EAAgBF,GACpBC,EAAY,WAAY,CAC7B,OAAQ,OACR,KAAMD,CAAA,CACP"}