import{a as o}from"./redux-vendor-B7uoacJt.js";import{L as n,j as c,h as e}from"./index-Vwb3Bce5.js";const u=o("PROVINCE_GET_SMS_POULTRY_VALIDATE_STATUS",async(s,{dispatch:t})=>{try{t(n());const{data:r,status:a}=await c.get("price-confirmation/");return t(e()),{data:r,status:a}}catch(r){return t(e()),{error:r.response.data.result}}}),_=o("PROVINCE_EDIT_SMS_POULTRY_VALIDATE_STATUS",async(s,{dispatch:t})=>{try{t(n());const{data:r,status:a}=await c.put("price-confirmation/0/",s);return t(e()),{data:r,status:a}}catch(r){return t(e()),{error:r.response.data.result}}}),T=o("PROVINCE_GET_SELL_FOR_FREEZING_STATUS",async(s,{dispatch:t})=>{try{t(n());const{data:r,status:a}=await c.get("sell-for-freezing/");return t(e()),{data:r,status:a}}catch(r){return t(e()),{error:r.response.data.result}}});export{u as a,T as b,_ as p};
