var t=require("axios"),e=require("@nodecfdi/cfdiutils-common"),o=require("@nodecfdi/sat-estado-cfdi");function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=/*#__PURE__*/n(t);function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e\n \n \n \n \n \n \n ")).then(function(t){var o=e.XmlNodeUtils.nodeFromXmlString(t.data),a=["s:Body","ConsultaResponse","ConsultaResult"],r=n.getValue(o.searchNode.apply(o,a.concat(["a:CodigoEstatus"])));if(!r)throw new Error("Unexpected Response");return{CodigoEstatus:r,EsCancelable:n.getValue(o.searchNode.apply(o,a.concat(["a:EsCancelable"]))),Estado:n.getValue(o.searchNode.apply(o,a.concat(["a:Estado"]))),EstatusCancelacion:n.getValue(o.searchNode.apply(o,a.concat(["a:EstatusCancelacion"]))),ValidacionEFOS:n.getValue(o.searchNode.apply(o,a.concat(["a:ValidacionEFOS"])))}})}catch(t){return Promise.reject(t)}},n.getValue=function(t){return t&&""!=t.value()?t.value():null},t}();exports.SoapClientFactory=s,exports.SoapConsumerClient=i; //# sourceMappingURL=sat-estado-cfdi-soap.cjs.map