import{b as n,s as o}from"./index-BxIwIJfy.js";const l=async(s,r,t,a)=>{try{const e=await n.post(`${o.lienApi}/documentBlocage/${o.db}`,{type:s,document:r,numDoc:t,idUtilisateur:a});return{ResultCode:e.data.ResultCode,monMessage:e.data.monMessage,IDBlocage_document:e.data.IDBlocage_document||null}}catch(e){return{ResultCode:-1,monMessage:`Erreur: ${e.message}`,IDBlocage_document:null}}};export{l as g};
