1const u="https://api-gci-rest.integracionplanok.io/api",l={Authorization:"Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjp7InVzZXJuYW1lIjoyNTk4NTI2MSwiaW5tb2JpbGlhcmlhIjp7ImJkIjoiZ2NpX2Jlc2FsY28iLCJ1cmwiOiJodHRwczovL2NvbWVyY2lhbGlubW9iaWxpYXJpYXMuY2wvZ2NpL2Jlc2FsY28iLCJpZElubW9iaWxpYXJpYSI6MjB9fSwiaWF0IjoxNjUxMDkxOTI3fQ.YqwLF91G_4In0ji_V0ZHFXhLy4dnk1GqEJq-BAbBLiRQMgJogF1ph7Nb76pM1DdQIHqHpC3rUazeWjkNUwjUWZrmQC6HKnlQQGIi0kcnBSAa8bgpKuEncUJU0nZi3aFCU_YDTIyIn4V1_FjIfkSAqRafLf3nd5L7Hj7OLWAjZdnACVXKFtL-3ftwSxtskrVF3yug5VEt0hNP7Q652AZkNhQANNGNEHq5PQxp9cG_L-DJbUu4cMQVqzc3oWll4G62YWmlBFk-mVy-EhFqFk01i81mgXBO8mjVKcl-4kwTEVs8VdoB2Mhm1mLCoIkI6nz5hBwP1WjQnqNjYW58gl4aLg"};async function t(e,r,o={},n=null){const s=`${u}${r}`,c={"Content-Type":"application/json",Authorization:n?`Bearer ${n}`:l.Authorization},i={method:e,headers:c};e!=="GET"&&(i.body=JSON.stringify(o));const a=await fetch(s,i);if(!a.ok)throw new Error(`HTTP error ${a.status}`);return await a.json()}const p={getModels(e){return t("GET",`/proyectos/${e}/modelos`)},getStagesByProject(e){return t("GET",`/proyectos/${e}/etapas`)},getAllProducts(e){return t("GET",`/proyectos/${e}/productos-principales`)},getProductByModel(e){return t("GET",`/modelos/${e}/productos-principales`)},findContactByRut(e){return t("GET",`/clientes/naturales?identificador-personal=${e}`)},getUnitOfModel(e){return t("GET",`/modelos/${e}/productos-principales`)},generateQuatePdf(e){return t("GET",`/cotizaciones/${e}/pdf?tipoDescarga=2`)},getQuateById(e){return t("GET",`/cotizaciones/${e}`)},getQuatesByRut(e){return t("GET",`/clientes/naturales/cotizaciones/${e}`)},getArriveMethod(e){return t("GET",`/proyectos/${e}/mediosDeLlegada`)}
1,createContact(e){return t("POST","/clientes/naturales",e)},createCentralizer(e){return t("POST","/leads",e)},createQuateRegister(e,r,o,n=null){return t("POST",`/cotizaciones?secuencial=${e}&descuento_producto=${r}`,o,n)},updateDataClient(e,r){return t("PUT",`/clientes/naturales/${e}`,r)}};export{p};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.