nfets 0.0.99 → 0.0.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-IZDHP2QT.mjs +20 -0
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +1 -1
- package/dist/nfe/index.cjs +3 -3
- package/dist/nfe/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-HY2TTOIL.mjs +0 -20
package/dist/index.cjs
CHANGED
|
@@ -120,8 +120,8 @@ ${e.join(`
|
|
|
120
120
|
<?`):this.result.push("<?"),this.result.push(t),e.nodeValue&&(this.result.push(" "),this.result.push(this.NormalizeString(e.nodeValue,Vt.ProcessingInstruction))),this.state===ao.BeforeDocElement?this.result.push(`?>
|
|
121
121
|
`):this.result.push("?>"))}WriteElementNode(e){let t=this.state;this.state===ao.BeforeDocElement&&(this.state=ao.InsideDocElement),this.result.push("<"),this.result.push(e.nodeName);let n=this.WriteNamespacesAxis(e);this.WriteAttributesAxis(e),this.result.push(">");for(let i=e.firstChild;i!=null;i=i.nextSibling)this.WriteNode(i);for(this.result.push("</"),this.result.push(e.nodeName),this.result.push(">"),t===ao.BeforeDocElement&&(this.state=ao.AfterDocElement);n--;)this.visibleNamespaces.Pop()}WriteNamespacesAxis(e){let t=[],n=0;for(let s=0;s<e.attributes.length;s++){let a=e.attributes[s];if(!D5(a)){if(a.prefix&&!this.IsNamespaceRendered(a.prefix,a.namespaceURI)){let f={prefix:a.prefix,namespace:a.namespaceURI};t.push(f),this.visibleNamespaces.Add(f),n++}continue}if(a.localName==="xmlns"&&!a.prefix&&!a.nodeValue){let f={prefix:a.prefix,namespace:a.nodeValue};t.push(f),this.visibleNamespaces.Add(f),n++}let u=null,c;(c=/xmlns:([\w.-]+)/.exec(a.nodeName))&&(u=c[1]);let l=!0;if(this.exclusive&&!this.IsNamespaceInclusive(e,u)){let f=DZ(e,u);if(f>1)l=!1;else if(f===0)continue}if(!this.IsNamespaceRendered(u,a.nodeValue)&&l){let f={prefix:u,namespace:a.nodeValue};t.push(f),this.visibleNamespaces.Add(f),n++}}if(!this.IsNamespaceRendered(e.prefix,e.namespaceURI)&&e.namespaceURI!=="http://www.w3.org/2000/xmlns/"){let s={prefix:e.prefix,namespace:e.namespaceURI};t.push(s),this.visibleNamespaces.Add(s),n++}t.sort(hwe);let i=null;return t.forEach(s=>{s.prefix!==i&&(i=s.prefix,this.result.push(" xmlns"),s.prefix&&this.result.push(":"+s.prefix),this.result.push('="'),this.result.push(s.namespace||""),this.result.push('"'))}),n}WriteAttributesAxis(e){let t=[];for(let n=0;n<e.attributes.length;n++){let i=e.attributes[n];D5(i)||t.push(i)}t.sort(dwe),t.forEach(n=>{n!=null&&(this.result.push(" "),this.result.push(n.nodeName),this.result.push('="'),this.result.push(this.NormalizeString(n.nodeValue,Vt.Attribute)),this.result.push('"'))})}NormalizeString(e,t){let n=[];if(e)for(let i=0;i<e.length;i++){let s=e[i];s==="<"&&(t===Vt.Attribute||this.IsTextNode(t))?n.push("<"):s===">"&&this.IsTextNode(t)?n.push(">"):s==="&"&&(t===Vt.Attribute||this.IsTextNode(t))?n.push("&"):s==='"'&&t===Vt.Attribute?n.push("""):s===" "&&t===Vt.Attribute?n.push("	"):s===`
|
|
122
122
|
`&&t===Vt.Attribute?n.push("
"):s==="\r"?n.push("
"):n.push(s)}return n.join("")}IsTextNode(e){switch(e){case Vt.Text:case Vt.CDATA:case Vt.SignificantWhitespace:case Vt.Whitespace:return!0}return!1}IsNamespaceInclusive(e,t){let n=t||null;return e.prefix===n?!1:this.inclusiveNamespacesPrefixList.indexOf(n||"")!==-1}IsNamespaceRendered(e,t){if(e=e||"",t=t||"",!e&&!t||e==="xml"&&t==="http://www.w3.org/XML/1998/namespace")return!0;let n=this.visibleNamespaces.GetPrefix(e);return n?n.namespace===t:!1}};function hwe(r,e){return r==e?0:r?e?r.prefix?e.prefix?r.prefix<e.prefix?-1:r.prefix>e.prefix?1:0:1:-1:1:-1}o(hwe,"XmlDsigC14NTransformNamespacesComparer");function dwe(r,e){if(!r.namespaceURI&&e.namespaceURI)return-1;if(!e.namespaceURI&&r.namespaceURI)return 1;let t=(r.namespaceURI||"")+r.localName,n=(e.namespaceURI||"")+e.localName;return t===n?0:t<n?-1:1}o(dwe,"XmlDsigC14NTransformAttributesComparer");function DZ(r,e,t=0){let n=e||null;if(r.prefix===n)return++t;if(r.attributes)for(let i=0;i<r.attributes.length;i++){let s=r.attributes[i];if(!D5(s)&&e&&r.attributes[i].prefix===e)return++t}for(let i=r.firstChild;i;i=i.nextSibling)if(i.nodeType===Vt.Element){let a=DZ(i,e,t);if(i.nodeType===Vt.Element&&a)return++t+a}return t}o(DZ,"IsNamespaceUsed");function D5(r){let e=/xmlns:/;return!!(r!==null&&r.nodeType===Vt.Attribute&&(r.nodeName==="xmlns"||e.test(r.nodeName)))}o(D5,"IsNamespaceNode");var AB=class extends zo{static{o(this,"SignatureMethodOther")}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(n.nodeType!==Vt.Element||n.nodeName===me.ElementNames.HMACOutputLength)continue;let i;switch(n.localName){case me.ElementNames.RSAPSSParams:i=Fu;break;default:break}if(i){let s=new i;s.LoadXml(n),this.Add(s)}}}};AB=ze([jt({localName:"Other"})],AB);var Gc=class extends wn{static{o(this,"SignatureMethod")}};ze([sn({localName:me.AttributeNames.Algorithm,required:!0,defaultValue:""}),at("design:type",String)],Gc.prototype,"Algorithm",void 0);ze([Yt({localName:me.ElementNames.HMACOutputLength,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,converter:VE}),at("design:type",Number)],Gc.prototype,"HMACOutputLength",void 0);ze([Yt({parser:AB,noRoot:!0,minOccurs:0}),at("design:type",AB)],Gc.prototype,"Any",void 0);Gc=ze([jt({localName:me.ElementNames.SignatureMethod})],Gc);var SS=class extends wn{static{o(this,"CanonicalizationMethod")}};ze([sn({localName:me.AttributeNames.Algorithm,required:!0,defaultValue:me.DefaultCanonMethod}),at("design:type",String)],SS.prototype,"Algorithm",void 0);SS=ze([jt({localName:me.ElementNames.CanonicalizationMethod})],SS);var xS=class extends wn{static{o(this,"DataObject")}};ze([sn({localName:me.AttributeNames.Id,defaultValue:""}),at("design:type",String)],xS.prototype,"Id",void 0);ze([sn({localName:me.AttributeNames.MimeType,defaultValue:""}),at("design:type",String)],xS.prototype,"MimeType",void 0);ze([sn({localName:me.AttributeNames.Encoding,defaultValue:""}),at("design:type",String)],xS.prototype,"Encoding",void 0);xS=ze([jt({localName:me.ElementNames.Object})],xS);var WC=class extends zo{static{o(this,"DataObjects")}};WC=ze([jt({localName:"xmldsig_objects",parser:xS})],WC);var _s=class extends wn{static{o(this,"Transform")}constructor(){super(...arguments),this.innerXml=null}GetOutput(){throw new je(Te.METHOD_NOT_IMPLEMENTED)}LoadInnerXml(e){if(!e)throw new je(Te.PARAM_REQUIRED,"node");this.innerXml=e}GetInnerXml(){return this.innerXml}};ze([sn({localName:me.AttributeNames.Algorithm,defaultValue:""}),at("design:type",String)],_s.prototype,"Algorithm",void 0);ze([Yt({localName:me.ElementNames.XPath,defaultValue:""}),at("design:type",String)],_s.prototype,"XPath",void 0);_s=ze([jt({localName:me.ElementNames.Transform})],_s);var Ef=class extends _s{static{o(this,"XmlDsigBase64Transform")}constructor(){super(...arguments),this.Algorithm=me.AlgorithmNamespaces.XmlDsigBase64Transform}GetOutput(){if(!this.innerXml)throw new je(Te.PARAM_REQUIRED,"innerXml");return Or.FromString(this.innerXml.textContent||"","base64")}};var Xc=class extends _s{static{o(this,"XmlDsigC14NTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315",this.xmlCanonicalizer=new Kc(!1,!1)}GetOutput(){if(!this.innerXml)throw new je(Te.PARAM_REQUIRED,"innerXml");return this.xmlCanonicalizer.Canonicalize(this.innerXml)}},Wc=class extends Xc{static{o(this,"XmlDsigC14NWithCommentsTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments",this.xmlCanonicalizer=new Kc(!0,!1)}};var wf=class extends _s{static{o(this,"XmlDsigEnvelopedSignatureTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"}GetOutput(){if(!this.innerXml)throw new je(Te.PARAM_REQUIRED,"innerXml");let e=this.innerXml.firstChild,t=[];for(;e;)to(e)&&e.localName===me.ElementNames.Signature&&e.namespaceURI===me.NamespaceURI&&t.push(e),e=e.nextSibling;for(let n of t)n.parentNode?.removeChild(n);return this.innerXml}};var Jc=class extends _s{static{o(this,"XmlDsigExcC14NTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#",this.xmlCanonicalizer=new Kc(!1,!0)}get InclusiveNamespacesPrefixList(){return this.xmlCanonicalizer.InclusiveNamespacesPrefixList}set InclusiveNamespacesPrefixList(e){this.xmlCanonicalizer.InclusiveNamespacesPrefixList=e}LoadXml(e){if(super.LoadXml(e),this.Element&&this.Element.childNodes)for(let t=0;t<this.Element.childNodes.length;t++){let n=this.Element.childNodes[t];if(n&&n.nodeType===1)switch(n.localName){case"InclusiveNamespaces":this.setInclusiveNamespacesElement(n);break}}}GetOutput(){if(!this.innerXml)throw new je(Te.PARAM_REQUIRED,"innerXml");return this.xmlCanonicalizer.Canonicalize(this.innerXml)}setInclusiveNamespacesElement(e){let t=e.getAttribute("PrefixList");t&&t.length>0&&(this.xmlCanonicalizer.InclusiveNamespacesPrefixList=t)}},Yc=class extends Jc{static{o(this,"XmlDsigExcC14NWithCommentsTransform")}constructor(){super(...arguments),this.Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#WithComments",this.xmlCanonicalizer=new Kc(!0,!0)}};function RZ(r){return r.parentNode?RZ(r.parentNode):r}o(RZ,"lookupParentNode");var bS=class extends _s{static{o(this,"XmlDsigXPathTransform")}constructor(){super(...arguments),this.Algorithm=me.AlgorithmNamespaces.XmlDsigXPathTransform}GetOutput(){if(!this.innerXml)throw new je(Te.PARAM_REQUIRED,"innerXml");this.Filter(RZ(this.innerXml),this.XPath)}Filter(e,t){let n=e.childNodes,i=[];for(let s=0;n&&s<n.length;s++){let a=n.item(s);i.push(a)}i.forEach(s=>{this.Evaluate(s,t)?s.parentNode&&s.parentNode.removeChild(s):this.Filter(s,t)})}GetEvaluator(e){return typeof self<"u"?e.ownerDocument==null?e:e.ownerDocument:ny("xpath")}Evaluate(e,t){try{let n=this.GetEvaluator(e),i=this.GetXml();if(!i||!i.firstChild)throw new Error("XML element or firstChild is not defined");let s=i.firstChild,a=`boolean(${t})`,u=typeof self>"u"?ny("xpath"):self;return!n.evaluate(a,e,{lookupNamespaceURI:o(l=>s.lookupNamespaceURI(l),"lookupNamespaceURI")},u.XPathResult.ANY_TYPE,null).booleanValue}catch{return!1}}};ze([Yt({localName:me.ElementNames.XPath,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,required:!0}),at("design:type",String)],bS.prototype,"XPath",void 0);var ES=class extends zo{static{o(this,"Transforms")}OnLoadXml(e){super.OnLoadXml(e),this.items=this.GetIterator().map(t=>{switch(t.Algorithm){case me.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform:return pg(t,wf);case me.AlgorithmNamespaces.XmlDsigC14NTransform:return pg(t,Xc);case me.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform:return pg(t,Wc);case me.AlgorithmNamespaces.XmlDsigExcC14NTransform:return pg(t,Jc);case me.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform:return pg(t,Yc);case me.AlgorithmNamespaces.XmlDsigBase64Transform:return pg(t,Ef);case me.AlgorithmNamespaces.XmlDsigXPathTransform:return pg(t,bS);default:try{let n=JC.CreateFromName(t.Algorithm);if(!t.Element)throw new Error("Transform element is not defined");return n.LoadXml(t.Element),n}catch{throw new je(Te.CRYPTOGRAPHIC_UNKNOWN_TRANSFORM,t.Algorithm)}}})}};ES=ze([jt({localName:me.ElementNames.Transforms,parser:_s})],ES);function pg(r,e){let t=new e;if(!r.Element)throw new Error("Transform element is not defined");return t.LoadXml(r.Element),t}o(pg,"ChangeTransform");var Qc=class extends wn{static{o(this,"Reference")}constructor(e){super(),this.DigestMethod=new Ko,e&&(this.Uri=e)}};ze([sn({defaultValue:""}),at("design:type",String)],Qc.prototype,"Id",void 0);ze([sn({localName:me.AttributeNames.URI}),at("design:type",String)],Qc.prototype,"Uri",void 0);ze([sn({localName:me.AttributeNames.Type,defaultValue:""}),at("design:type",String)],Qc.prototype,"Type",void 0);ze([Yt({parser:ES}),at("design:type",ES)],Qc.prototype,"Transforms",void 0);ze([Yt({required:!0,parser:Ko}),at("design:type",Ko)],Qc.prototype,"DigestMethod",void 0);ze([Yt({required:!0,localName:me.ElementNames.DigestValue,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,converter:Lo}),at("design:type",Uint8Array)],Qc.prototype,"DigestValue",void 0);Qc=ze([jt({localName:me.ElementNames.Reference}),at("design:paramtypes",[String])],Qc);var wS=class extends zo{static{o(this,"References")}};wS=ze([jt({localName:"References",parser:Qc})],wS);var Cf=class extends wn{static{o(this,"SignedInfo")}};ze([sn({localName:me.AttributeNames.Id,defaultValue:""}),at("design:type",String)],Cf.prototype,"Id",void 0);ze([Yt({parser:SS,required:!0}),at("design:type",SS)],Cf.prototype,"CanonicalizationMethod",void 0);ze([Yt({parser:Gc,required:!0}),at("design:type",Gc)],Cf.prototype,"SignatureMethod",void 0);ze([Yt({parser:wS,minOccurs:1,noRoot:!0}),at("design:type",wS)],Cf.prototype,"References",void 0);Cf=ze([jt({localName:me.ElementNames.SignedInfo})],Cf);var TS="http://www.w3.org/2001/04/xmldsig-more#",IS="ecdsa",hg=class extends Ta{static{o(this,"EcdsaPublicKey")}};ze([Yt({localName:me.ElementNames.X,namespaceURI:TS,prefix:IS,required:!0,converter:Lo}),at("design:type",Uint8Array)],hg.prototype,"X",void 0);ze([Yt({localName:me.ElementNames.Y,namespaceURI:TS,prefix:IS,required:!0,converter:Lo}),at("design:type",Uint8Array)],hg.prototype,"Y",void 0);hg=ze([jt({localName:me.ElementNames.PublicKey,namespaceURI:TS,prefix:IS})],hg);var CS=class extends Ta{static{o(this,"NamedCurve")}};ze([sn({localName:me.AttributeNames.URI,required:!0}),at("design:type",String)],CS.prototype,"Uri",void 0);CS=ze([jt({localName:me.ElementNames.NamedCurve,namespaceURI:TS,prefix:IS})],CS);var AS=class extends Ta{static{o(this,"DomainParameters")}};ze([Yt({parser:CS}),at("design:type",CS)],AS.prototype,"NamedCurve",void 0);AS=ze([jt({localName:me.ElementNames.DomainParameters,namespaceURI:TS,prefix:IS})],AS);var NS=class extends so{static{o(this,"EcdsaKeyValue")}constructor(){super(...arguments),this.name=me.ElementNames.ECDSAKeyValue,this.key=null,this.jwk=null,this.keyUsage=null}static canImportCryptoKey(e){return e.algorithm.name.toUpperCase()===xf.toUpperCase()}get NamedCurve(){return BZ(this.DomainParameters.NamedCurve.Uri)}async importKey(e){if(!e.algorithm.name||e.algorithm.name.toUpperCase()!=="ECDSA")throw new je(Te.ALGORITHM_WRONG_NAME,e.algorithm.name);let t=await hi.crypto.subtle.exportKey("jwk",e);return this.key=e,this.jwk=t,this.PublicKey=new hg,this.PublicKey.X=Or.FromString(t.x||"","base64url"),this.PublicKey.Y=Or.FromString(t.y||"","base64url"),this.DomainParameters||(this.DomainParameters=new AS),this.DomainParameters.NamedCurve||(this.DomainParameters.NamedCurve=new CS),this.DomainParameters.NamedCurve.Uri=BZ(t.crv||""),this.keyUsage=e.usages,this}async exportKey(e){if(this.key)return this.key;let t=Or.ToBase64Url(this.PublicKey.X),n=Or.ToBase64Url(this.PublicKey.Y),i=mwe(this.DomainParameters.NamedCurve.Uri),s={kty:"EC",crv:i,x:t,y:n,ext:!0};this.keyUsage=["verify"];let a=await hi.crypto.subtle.importKey("jwk",s,{name:"ECDSA",namedCurve:i},!0,this.keyUsage);return this.key=a,this.key}};ze([Yt({parser:AS}),at("design:type",AS)],NS.prototype,"DomainParameters",void 0);ze([Yt({parser:hg,required:!0}),at("design:type",hg)],NS.prototype,"PublicKey",void 0);NS=ze([jt({localName:me.ElementNames.ECDSAKeyValue,namespaceURI:TS,prefix:IS})],NS);function BZ(r){switch(r){case"P-256":return"urn:oid:1.2.840.10045.3.1.7";case"P-384":return"urn:oid:1.3.132.0.34";case"P-521":return"urn:oid:1.3.132.0.35"}throw new je(Te.CRYPTOGRAPHIC,"Unknown NamedCurve")}o(BZ,"GetNamedCurveOid");function mwe(r){switch(r){case"urn:oid:1.2.840.10045.3.1.7":return"P-256";case"urn:oid:1.3.132.0.34":return"P-384";case"urn:oid:1.3.132.0.35":return"P-521"}throw new je(Te.CRYPTOGRAPHIC,"Unknown NamedCurve OID")}o(mwe,"GetNamedCurveFromOid");var gwe=class extends Map{static{o(this,"KeyInfoClauseRegistry")}},md=new gwe;md.set(me.ElementNames.RSAKeyValue,gS);md.set(me.ElementNames.ECDSAKeyValue,NS);var NB=class{static{o(this,"KeyInfoClauseFactory")}static create(e){let t=md.get(e);if(!t)throw new je(Te.KEY_INFO_CLAUSE_NOT_SUPPORTED,e);return new t}};var YC=class extends so{static{o(this,"KeyValue")}set Value(e){this.element=null,this.value=e}get Value(){return this.value}constructor(e){super(),e&&(this.Value=e)}async importKey(e){for(let[,t]of md)if(t.canImportCryptoKey(e)){let n=new t;return await n.importKey(e),this.Value=n,this}throw new je(Te.ALGORITHM_NOT_SUPPORTED,e.algorithm.name)}async exportKey(e){if(!this.Value)throw new je(Te.NULL_REFERENCE);return this.Value.exportKey(e)}OnGetXml(e){if(!this.Value)throw new je(Te.CRYPTOGRAPHIC,"KeyValue has empty value");let t=this.Value.GetXml();t&&e.appendChild(t)}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(to(n))try{let i=n.localName,s=NB.create(i);s.LoadXml(n),this.value=s;return}catch{}}throw new je(Te.CRYPTOGRAPHIC,"Unsupported KeyValue in use")}};YC=ze([jt({localName:me.ElementNames.KeyValue}),at("design:paramtypes",[so])],YC);var vwe={"2.5.4.3":{short:"CN",long:"CommonName"},"2.5.4.6":{short:"C",long:"Country"},"2.5.4.5":{long:"DeviceSerialNumber"},"0.9.2342.19200300.100.1.25":{short:"DC",long:"DomainComponent"},"1.2.840.113549.1.9.1":{short:"E",long:"EMail"},"2.5.4.42":{short:"G",long:"GivenName"},"2.5.4.43":{short:"I",long:"Initials"},"2.5.4.7":{short:"L",long:"Locality"},"2.5.4.10":{short:"O",long:"Organization"},"2.5.4.11":{short:"OU",long:"OrganizationUnit"},"2.5.4.8":{short:"ST",long:"State"},"2.5.4.9":{short:"Street",long:"StreetAddress"},"2.5.4.4":{short:"SN",long:"SurName"},"2.5.4.12":{short:"T",long:"Title"},"1.2.840.113549.1.9.8":{long:"UnstructuredAddress"},"1.2.840.113549.1.9.2":{long:"UnstructuredName"}},DS=class{static{o(this,"X509Certificate")}constructor(e){if(this.publicKey=null,e){let t=new Uint8Array(e);this.LoadRaw(t),this.raw=t}}get SerialNumber(){return this.simpl.serialNumber.valueBlock.toString()}get Issuer(){return this.NameToString(this.simpl.issuer)}get Subject(){return this.NameToString(this.simpl.subject)}async Thumbprint(e="SHA-1"){return hi.crypto.subtle.digest(e,this.raw)}get PublicKey(){return this.publicKey}GetRaw(){return this.raw}async exportKey(e){if(e){let t={algorithm:e,usages:["verify"]};if(t.algorithm.name.toUpperCase()===xf){let i=this.simpl.subjectPublicKeyInfo.toJSON();if("crv"in i&&i.crv)t.algorithm.namedCurve=i.crv;else throw new Error("Cannot get Curved name from the ECDSA public key")}this.isHashedAlgorithm(t.algorithm)&&typeof t.algorithm.hash=="string"&&(t.algorithm.hash={name:t.algorithm.hash});let n=await this.simpl.getPublicKey({algorithm:t});return this.publicKey=n,n}return this.simpl.subjectPublicKeyInfo.algorithm.algorithmId==="1.2.840.113549.1.1.1"?this.publicKey=await this.simpl.getPublicKey({algorithm:{algorithm:{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},usages:["verify"]}}):this.publicKey=await this.simpl.getPublicKey(),this.publicKey}NameToString(e,t=","){let n=[];return e.typesAndValues.forEach(i=>{let s=i.type,a=vwe[s.toString()],u=a?a.short:null;n.push(`${u||s}=${i.value.valueBlock.value}`)}),n.join(t+" ")}LoadRaw(e){this.raw=new Uint8Array(e);let t=Fn(this.raw.buffer);this.simpl=new Ps({schema:t.result})}isHashedAlgorithm(e){return!!e.hash}};var TB=class extends wn{static{o(this,"X509IssuerSerial")}};ze([Yt({localName:me.ElementNames.X509IssuerName,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,required:!0}),at("design:type",String)],TB.prototype,"X509IssuerName",void 0);ze([Yt({localName:me.ElementNames.X509SerialNumber,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,required:!0}),at("design:type",String)],TB.prototype,"X509SerialNumber",void 0);TB=ze([jt({localName:me.ElementNames.X509IssuerSerial})],TB);var dg;(function(r){r[r.None=0]="None",r[r.EndCertOnly=1]="EndCertOnly",r[r.ExcludeRoot=2]="ExcludeRoot",r[r.WholeChain=3]="WholeChain"})(dg||(dg={}));var RS=class extends so{static{o(this,"KeyInfoX509Data")}constructor(e,t=dg.None){if(super(),this.x509crl=null,this.SubjectKeyIdList=[],e){if(e instanceof Uint8Array)this.AddCertificate(new DS(e));else if(e instanceof DS)switch(t){case dg.None:case dg.EndCertOnly:this.AddCertificate(e);break;case dg.ExcludeRoot:this.AddCertificatesChainFrom(e,!1);break;case dg.WholeChain:this.AddCertificatesChainFrom(e,!0);break}}}async importKey(e){throw new je(Te.METHOD_NOT_SUPPORTED)}async exportKey(e){if(!this.Certificates.length)throw new je(Te.NULL_REFERENCE);return this.Key=await this.Certificates[0].exportKey(e),this.Key}get Certificates(){return this.X509CertificateList}get CRL(){return this.x509crl}set CRL(e){this.x509crl=e}get IssuerSerials(){return this.IssuerSerialList}get SubjectKeyIds(){return this.SubjectKeyIdList}get SubjectNames(){return this.SubjectNameList}AddCertificate(e){if(!e)throw new je(Te.PARAM_REQUIRED,"certificate");this.X509CertificateList||(this.X509CertificateList=[]),this.X509CertificateList.push(e)}AddIssuerSerial(e,t){if(e==null)throw new je(Te.PARAM_REQUIRED,"issuerName");this.IssuerSerialList==null&&(this.IssuerSerialList=[]);let n={issuerName:e,serialNumber:t};this.IssuerSerialList.push(n)}AddSubjectKeyId(e){if(this.SubjectKeyIdList&&(this.SubjectKeyIdList=[]),typeof e=="string"){if(e!=null){let t=Or.FromBase64(e);this.SubjectKeyIdList.push(t)}}else this.SubjectKeyIdList.push(e)}AddSubjectName(e){this.SubjectNameList==null&&(this.SubjectNameList=[]),this.SubjectNameList.push(e)}GetXml(){let e=this.CreateDocument(),t=this.CreateElement(e),n=this.GetPrefix();if(this.IssuerSerialList!=null&&this.IssuerSerialList.length>0&&this.IssuerSerialList.forEach(i=>{let s=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509IssuerSerial),a=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509IssuerName);a.textContent=i.issuerName,s.appendChild(a);let u=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509SerialNumber);u.textContent=i.serialNumber,s.appendChild(u),t.appendChild(s)}),this.SubjectKeyIdList!=null&&this.SubjectKeyIdList.length>0&&this.SubjectKeyIdList.forEach(i=>{let s=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509SKI);s.textContent=Or.ToBase64(i),t.appendChild(s)}),this.SubjectNameList!=null&&this.SubjectNameList.length>0&&this.SubjectNameList.forEach(i=>{let s=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509SubjectName);s.textContent=i,t.appendChild(s)}),this.X509CertificateList!=null&&this.X509CertificateList.length>0&&this.X509CertificateList.forEach(i=>{let s=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509Certificate);s.textContent=Or.ToBase64(i.GetRaw()),t.appendChild(s)}),this.x509crl!=null){let i=e.createElementNS(me.NamespaceURI,n+me.ElementNames.X509CRL);i.textContent=Or.ToBase64(this.x509crl),t.appendChild(i)}return t}LoadXml(e){super.LoadXml(e),this.IssuerSerialList&&(this.IssuerSerialList=[]),this.SubjectKeyIdList&&(this.SubjectKeyIdList=[]),this.SubjectNameList&&(this.SubjectNameList=[]),this.X509CertificateList&&(this.X509CertificateList=[]),this.x509crl=null;let t=this.GetChildren(me.ElementNames.X509IssuerSerial);t&&t.forEach(i=>{let s=wn.GetChild(i,me.ElementNames.X509IssuerName,me.NamespaceURI,!0),a=wn.GetChild(i,me.ElementNames.X509SerialNumber,me.NamespaceURI,!0);s&&s.textContent&&a&&a.textContent&&this.AddIssuerSerial(s.textContent,a.textContent)}),t=this.GetChildren(me.ElementNames.X509SKI),t&&t.forEach(i=>{if(i.textContent){let s=Or.FromBase64(i.textContent);this.AddSubjectKeyId(s)}}),t=this.GetChildren(me.ElementNames.X509SubjectName),t?.forEach(i=>{i.textContent&&this.AddSubjectName(i.textContent)}),t=this.GetChildren(me.ElementNames.X509Certificate),t&&t.forEach(i=>{if(i.textContent){let s=Or.FromBase64(i.textContent);this.AddCertificate(new DS(s))}});let n=this.GetChild(me.ElementNames.X509CRL,!1);n&&n.textContent&&(this.x509crl=Or.FromBase64(n.textContent))}AddCertificatesChainFrom(e,t){}};RS=ze([jt({localName:me.ElementNames.X509Data}),at("design:paramtypes",[Object,Object])],RS);var QC=class extends so{static{o(this,"SPKIData")}async importKey(e){let t=await hi.crypto.subtle.exportKey("spki",e);return this.SPKIexp=new Uint8Array(t),this.Key=e,this}async exportKey(e){if(!this.SPKIexp)throw new Error("SPKI data is not defined");let t=await hi.crypto.subtle.importKey("spki",this.SPKIexp,e,!0,["verify"]);return this.Key=t,t}};ze([Yt({localName:me.ElementNames.SPKIexp,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,required:!0,converter:Lo}),at("design:type",Object)],QC.prototype,"SPKIexp",void 0);QC=ze([jt({localName:me.ElementNames.SPKIData})],QC);var mg=class extends zo{static{o(this,"KeyInfo")}OnLoadXml(e){for(let t=0;t<e.childNodes.length;t++){let n=e.childNodes.item(t);if(n.nodeType!==Vt.Element)continue;let i=null;switch(n.localName){case me.ElementNames.KeyValue:i=YC;break;case me.ElementNames.X509Data:i=RS;break;case me.ElementNames.SPKIData:i=QC;break;case me.ElementNames.KeyName:case me.ElementNames.RetrievalMethod:case me.ElementNames.PGPData:case me.ElementNames.MgmtData:}if(i){let s=new i;s.LoadXml(n),this.Add(s)}}}};ze([sn({localName:me.AttributeNames.Id,defaultValue:""}),at("design:type",String)],mg.prototype,"Id",void 0);mg=ze([jt({localName:me.ElementNames.KeyInfo})],mg);var gd=class extends wn{static{o(this,"Signature")}};ze([sn({localName:me.AttributeNames.Id,defaultValue:""}),at("design:type",String)],gd.prototype,"Id",void 0);ze([Yt({parser:Cf,required:!0}),at("design:type",Cf)],gd.prototype,"SignedInfo",void 0);ze([Yt({localName:me.ElementNames.SignatureValue,namespaceURI:me.NamespaceURI,prefix:me.DefaultPrefix,required:!0,converter:Lo,defaultValue:null}),at("design:type",Object)],gd.prototype,"SignatureValue",void 0);ze([Yt({parser:mg}),at("design:type",mg)],gd.prototype,"KeyInfo",void 0);ze([Yt({parser:WC,noRoot:!0}),at("design:type",WC)],gd.prototype,"ObjectList",void 0);gd=ze([jt({localName:me.ElementNames.Signature})],gd);var Swe=class extends Map{static{o(this,"AlgorithmRegistry")}},sr=new Swe;sr.set(mB,{type:"signature",algorithm:pS});sr.set(gB,{type:"signature",algorithm:hS});sr.set(vB,{type:"signature",algorithm:dS});sr.set(yB,{type:"signature",algorithm:mS});sr.set(mB,{type:"signature",algorithm:pS});sr.set(gB,{type:"signature",algorithm:hS});sr.set(vB,{type:"signature",algorithm:dS});sr.set(yB,{type:"signature",algorithm:mS});sr.set(C5,{type:"signature",algorithm:xB});sr.set(A5,{type:"signature",algorithm:bB});sr.set(N5,{type:"signature",algorithm:EB});sr.set(T5,{type:"signature",algorithm:wB});sr.set(I5,{type:"signature",algorithm:CB});sr.set(cB,{type:"signature",algorithm:oS});sr.set(lB,{type:"signature",algorithm:uS});sr.set(fB,{type:"signature",algorithm:cS});sr.set(pB,{type:"signature",algorithm:lS});sr.set(cB.toUpperCase(),{type:"signature",algorithm:oS});sr.set(lB.toUpperCase(),{type:"signature",algorithm:uS});sr.set(fB.toUpperCase(),{type:"signature",algorithm:cS});sr.set(pB.toUpperCase(),{type:"signature",algorithm:lS});sr.set(y5,{type:"signature",algorithm:zC});sr.set(S5,{type:"signature",algorithm:KC});sr.set(x5,{type:"signature",algorithm:GC});sr.set(b5,{type:"signature",algorithm:XC});sr.set(nS,{type:"hash",algorithm:aB});sr.set(iS,{type:"hash",algorithm:HC});sr.set(sS,{type:"hash",algorithm:oB});sr.set(aS,{type:"hash",algorithm:uB});var gg=class{static{o(this,"AlgorithmFactory")}static createHashAlgorithmFromNamespace(e){for(let[t,{type:n,algorithm:i}]of sr)if(n==="hash"&&t===e)return new i;throw new je(Te.ALGORITHM_NOT_SUPPORTED,e)}static createSignatureAlgorithmFromMethod(e){for(let[t,{type:n,algorithm:i}]of sr)if(n==="signature"&&e.Algorithm===t){let s=new i;return s.fromMethod&&s.fromMethod(e),s}throw new je(Te.ALGORITHM_NOT_SUPPORTED,e.Algorithm)}static createHashAlgorithmFromAlgorithm(e){for(let[,{type:t,algorithm:n}]of sr)if(t==="hash"){let i=new n;if(i.algorithm.name.toUpperCase()===e.name.toUpperCase())return i}throw new je(Te.ALGORITHM_NOT_SUPPORTED,e.name)}static createSignatureAlgorithmFromAlgorithm(e){for(let[,{type:t,algorithm:n}]of sr)if(t==="signature"){let i=n.fromAlgorithm(e);if(i)return i}throw new je(Te.ALGORITHM_NOT_SUPPORTED,e.name)}};var xwe=class extends Map{static{o(this,"TransformRegistry")}},Af=new xwe;Af.set(me.AlgorithmNamespaces.XmlDsigBase64Transform,Ef);Af.set(me.AlgorithmNamespaces.XmlDsigC14NTransform,Xc);Af.set(me.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform,Wc);Af.set(me.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform,wf);Af.set(me.AlgorithmNamespaces.XmlDsigExcC14NTransform,Jc);Af.set(me.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform,Yc);var JC=class{static{o(this,"CryptoConfig")}static CreateFromName(e){if(!e)throw new je(Te.PARAM_REQUIRED,"name");let t=Af.get(e);if(t)return new t;let n;switch(e){case me.AlgorithmNamespaces.XmlDsigBase64Transform:n=new Ef;break;case me.AlgorithmNamespaces.XmlDsigC14NTransform:n=new Xc;break;case me.AlgorithmNamespaces.XmlDsigC14NWithCommentsTransform:n=new Wc;break;case me.AlgorithmNamespaces.XmlDsigEnvelopedSignatureTransform:n=new wf;break;case me.AlgorithmNamespaces.XmlDsigXPathTransform:throw new je(Te.ALGORITHM_NOT_SUPPORTED,e);case me.AlgorithmNamespaces.XmlDsigXsltTransform:throw new je(Te.ALGORITHM_NOT_SUPPORTED,e);case me.AlgorithmNamespaces.XmlDsigExcC14NTransform:n=new Jc;break;case me.AlgorithmNamespaces.XmlDsigExcC14NWithCommentsTransform:n=new Yc;break;case me.AlgorithmNamespaces.XmlDecryptionTransform:throw new je(Te.ALGORITHM_NOT_SUPPORTED,e);default:throw new je(Te.ALGORITHM_NOT_SUPPORTED,e)}return n}static CreateSignatureAlgorithm(e){return gg.createSignatureAlgorithmFromMethod(e)}static CreateHashAlgorithm(e){return gg.createHashAlgorithmFromNamespace(e)}static GetHashAlgorithm(e){let t=typeof e=="string"?{name:e}:e;return gg.createHashAlgorithmFromAlgorithm(t)}static GetSignatureAlgorithm(e){let t=typeof e=="string"?{name:e}:e;return"hash"in t&&typeof t.hash=="string"&&(t.hash={name:t.hash}),gg.createSignatureAlgorithmFromAlgorithm(t)}static CreateSignatureMethod(e){let t=new Gc;return t.Algorithm=e.namespaceURI,e.toMethod&&e.toMethod(t),t}static RegisterSignatureAlgorithm(e,t){sr.set(e,{type:"signature",algorithm:t})}static RegisterHashAlgorithm(e,t){sr.set(e,{type:"hash",algorithm:t})}static RegisterKeyInfoClause(e,t){md.set(e,t)}static RegisterTransform(e,t){Af.set(e,t)}};var bg=zt(Uee(),1);var qee={xmldec:{version:"1.0",encoding:"UTF-8",standalone:void 0}};var Hee={explicitArray:!1,explicitRoot:!1,preserveChildrenOrder:!0};var Eg=class{static{o(this,"Xml2JsToolkit")}xml2js;constructor(e=hCe){this.xml2js=e,QY({XMLSerializer:bg.default.XMLSerializer,DOMParser:bg.default.DOMParser,DOMImplementation:bg.default.DOMImplementation})}async validate(e,t){if(!e||e.trim().length===0)return or(new Rt("Please provide a valid xml content"));if(!t||t.trim().length===0)return or(new Rt("Please provide a valid existing xsd path"));try{return await wJ.validate(e,t),Bt()}catch(n){return Ao(n)}}parse(e,t){return new Promise((n,i)=>new this.xml2js.Parser({...Hee,...t}).parseString(e,(s,a)=>s?i(s):n(a)))}build(e,t){return Promise.resolve(new this.xml2js.Builder({...qee,...t}).buildObject(e))}digest(e,t,n=rb){return this.hash(this.canonicalize(e,n),t)}canonicalize(e,t=rb){let n=new bg.default.DOMParser().parseFromString(this.clear(e),"application/xml");return new Kc(t.includeComments,t.exclusive).Canonicalize(n)}getNode(e,t){let n=this.parseXml(e),s=this.getDocumentElement(n).getElementsByTagName(t).item(0);return s?this.clear(this.serializeXml(s)):null}getFirstNode(e){let t=this.parseXml(e),i=this.getDocumentElement(t).firstChild;return i?this.clear(this.serializeXml(i)):null}getAttribute(e,t){let n=this.parseXml(e);return this.getDocumentElement(n).getAttribute(t)}appendNode(e,t){let n=this.parseXml(e),i=this.getDocumentElement(n),s=this.getDocumentElement(this.parseXml(t));return i.appendChild(s),this.clear(this.serializeXml(n))}insertBefore(e,t,n){let i=this.parseXml(e),a=this.getDocumentElement(i).getElementsByTagName(t).item(0);if(!a?.parentNode)throw new Rt(`No element found with tag "${t}" to insert before`);let u=this.getDocumentElement(this.parseXml(n));return a.parentNode.insertBefore(u,a),this.clear(this.serializeXml(i))}hash(e,t){return zee.default.createHash(t).update(e,"utf8").digest().toString("base64")}parseXml(e){return new bg.default.DOMParser().parseFromString(e,"application/xml")}getDocumentElement(e){if(!e.documentElement)throw new Rt("Invalid xml provided. Missing root element.");return e.documentElement}serializeXml(e){return new bg.default.XMLSerializer().serializeToString(e)}clear(e){return['xmlns:default="http://www.w3.org/2000/09/xmldsig#"',' standalone="no"',"default:",":default",`
|
|
123
|
-
`,"\r"," "].reduce((n,i)=>n.replace(i,""),e.replace(/(>)\s*(<)/gm,"$1$2"))}};var Kee=require("class-validator");var J5=o(r=>(e,t)=>{(0,Kee.registerDecorator)({name:"isDecimal",target:e.constructor,propertyName:t,options:r,validator:{validate(n){return n instanceof Tr?!0:typeof n=="string"||typeof n=="number"||typeof n=="bigint"},defaultMessage(n){return`${n.property} is not a valid Decimal value`}}})},"IsDecimal");var oKe=require("reflect-metadata"),Y5=require("class-validator");var JS=Symbol("choice"),YS=o(r=>r==null||r==="","isEmpty"),Br=o(r=>e=>{let{properties:t,required:n=!1,...i}=r,s=Reflect.getMetadata(JS,e)??[],a={properties:t,required:n};s.push(a),Reflect.defineMetadata(JS,s,e);for(let u of t)(0,Y5.registerDecorator)({name:"choice",target:e,propertyName:u,options:i,validator:{validate(c,l){let f=l.object,p=l.property,d=Reflect.getMetadata(JS,e);if(!d)return!0;let g=d.find(m=>m.properties.includes(p));if(!g||YS(c))return!0;for(let m of g.properties){if(m===p)continue;let y=f[m];if(!YS(y))return!1}for(let m of d)if(m!==g)for(let y of m.properties){let v=f[y];if(!YS(v))return!1}return!0},defaultMessage(c){let l=Reflect.getMetadata(JS,e);if(!l)return`${c.property} validation error`;let f=l.find(d=>d.properties.includes(c.property));if(!f)return`${c.property} validation error`;let p=c.object;for(let d of f.properties){let g=p[d];if(!YS(g)&&d!==c.property)return`${c.property} cannot be set because ${d} is already set. Only one property from this choice group is allowed.`}for(let d of l)if(d!==f)for(let g of d.properties){let m=p[g];if(!YS(m))return`${c.property} cannot be set because ${g} from a different choice group is already set.`}return`${c.property} validation error`}}});if(n)for(let u of t)(0,Y5.registerDecorator)({name:"choiceGroupRequired",target:e,propertyName:u,options:{...i,always:!0},validator:{validate(c,l){let f=l.object,p=Reflect.getMetadata(JS,e);if(!p)return!0;let d=p.find(g=>g.properties.includes(l.property));if(!d?.required)return!0;for(let g of d.properties){let m=f[g];if(!YS(m))return!0}return l.property!==d.properties[0]},defaultMessage(c){let l=Reflect.getMetadata(JS,e);if(!l)return"At least one property from a choice group must be provided";let f=l.find(p=>p.properties.includes(c.property));return f?`You must provide a value for one of the following properties: ${f.properties.join(", ")}`:"At least one property from a choice group must be provided"}}})},"Choice");var lKe=require("reflect-metadata");var Gee=require("class-transformer");var $=o(({fixed:r,...e}={fixed:2})=>(t,n)=>{J5(e)(t,n),(0,Gee.Transform)(({value:i})=>Tr.newOrUndefined(i)?.toFixed(r))(t,n)},"TransformDecimal");var Xee=require("class-transformer"),Wee=require("class-validator");var Df=o((r={})=>(e,t)=>{(0,Xee.Transform)(({value:n})=>{let i=n instanceof Date?n.toISOString():n;return i?kp(i).tz("America/Sao_Paulo").format(r.format):void 0})(e,t),(0,Wee.IsDateString)()(e,t)},"TransformDateString");var Q5=class{static{o(this,"StateCodeAcValidator")}execute(e){if(e=e.replace(/\D/g,""),!/^01\d{11}$/.test(e))return!1;let t=e.split("").map(Number),n=t.slice(0,11),i=t[11],s=t[12],a=[4,3,2,9,8,7,6,5,4,3,2],c=n.reduce((m,y,v)=>m+y*a[v],0)%11,l=c===0||c===1?0:11-c,f=[5,4,3,2,9,8,7,6,5,4,3,2],d=[...n,l].reduce((m,y,v)=>m+y*f[v],0)%11,g=d===0||d===1?0:11-d;return i===l&&s===g}};var $5=class{static{o(this,"StateCodeAlValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let a=i*10%11;return(a===10?0:a)===parseInt(t[8],10)}};var Z5=class{static{o(this,"StateCodeAmValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let a=0;a<8;a++)i+=parseInt(t[a],10)*n[a];let s;if(i<11)s=11-i;else{let a=i%11;s=a<=1?0:11-a}return s===parseInt(t[8],10)}};var eV=class{static{o(this,"StateCodeApValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("03"))return!1;let n=t.substring(0,8),i=parseInt(n,10),s,a;i>=3017001&&i<=3019022?(s=9,a=1):i>=3000001&&i<=3017e3?(s=5,a=0):(s=0,a=0);let u=[9,8,7,6,5,4,3,2],c=s;for(let p=0;p<8;p++)c+=parseInt(t[p],10)*u[p];let f=11-c%11;return f===10?f=0:f===11&&(f=a),f===parseInt(t[8],10)}};var tV=class{static{o(this,"StateCodeBaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8&&t.length!==9)return!1;let n=t.split("").map(y=>parseInt(y,10)),i=(t.length===8?n[0]:n[1])<=5||n[0]===8?10:11,s=t.length===8?[7,6,5,4,3,2]:[8,7,6,5,4,3,2],a=0;for(let y=0;y<s.length;y++)a+=n[y]*s[y];let u=a%i,c=i-u;(i===11&&u<=1||i===10&&u===0)&&(c=0);let f=(t.slice(0,t.length-2)+c.toString()).split("").map(y=>parseInt(y,10)),p=t.length===8?[8,7,6,5,4,3,2]:[9,8,7,6,5,4,3,2],d=0;for(let y=0;y<p.length;y++)d+=f[y]*p[y];let g=d%i,m=i-g;return(i===11&&g<=1||i===10&&g===0)&&(m=0),m===n[t.length-2]&&c===n[t.length-1]}};var rV=class{static{o(this,"StateCodeCeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var nV=class{static{o(this,"StateCodeDfValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13||!t.startsWith("07"))return!1;let n=t.slice(0,11).split("").map(Number),i=t.slice(11).split("").map(Number),s=[2,3,4,5,6,7,8,9],a=0;for(let p=10,d=0;p>=0;p--,d=(d+1)%s.length)a+=n[p]*s[d];let u=11-a%11;(u===10||u===11)&&(u=0);let c=n.concat([u]),l=0;for(let p=11,d=0;p>=0;p--,d=(d+1)%s.length)l+=c[p]*s[d];let f=11-l%11;return(f===10||f===11)&&(f=0),u===i[0]&&f===i[1]}};var iV=class{static{o(this,"StateCodeEsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<2?0:11-s)===parseInt(t[8],10)}};var sV=class{static{o(this,"StateCodeGoValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=parseInt(t.substring(0,2));if(!(n===10||n===11||n>=20&&n<=29))return!1;let i=[9,8,7,6,5,4,3,2],s=0;for(let c=0;c<8;c++)s+=parseInt(t[c],10)*i[c];let a=s%11;return(a===0||a===1?0:11-a)===parseInt(t[8],10)}};var aV=class{static{o(this,"StateCodeMaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("12"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8],10)}};var oV=class{static{o(this,"StateCodeMgValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13)return!1;let n=t.slice(0,11),i=n.slice(0,3)+"0"+n.slice(3),s=0;for(let g=0;g<12;g++){let m=g%2===0?1:2,y=(parseInt(i[g])*m).toString();s+=y.split("").reduce((v,x)=>v+parseInt(x),0)}let u=Math.ceil(s/10)*10-s,c=n+u.toString(),l=[3,2,11,10,9,8,7,6,5,4,3,2],f=0;for(let g=0;g<12;g++)f+=parseInt(c[g])*l[g];let p=f%11,d=p<2?0:11-p;return parseInt(t[11])===u&&parseInt(t[12])===d}};var uV=class{static{o(this,"StateCodeMsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!(t.startsWith("28")||t.startsWith("50")))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let s=i%11,a=11-s;return(s===0||a>9?0:a)===parseInt(t[8],10)}};var cV=class{static{o(this,"StateCodeMtValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=[3,2,9,8,7,6,5,4,3,2],i=0;for(let u=0;u<10;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[10],10)}};var lV=class{static{o(this,"StateCodePaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8])}};var fV=class{static{o(this,"StateCodePbValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8])}};var pV=class{static{o(this,"StateCodePeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=t.slice(0,7).split("").map(Number),i=[8,7,6,5,4,3,2],s=0;for(let g=0;g<7;g++)s+=n[g]*i[g];let a=s%11,u=a===0||a===1?0:11-a,c=[...n,u],l=[9,8,7,6,5,4,3,2],f=0;for(let g=0;g<8;g++)f+=c[g]*l[g];let p=f%11,d=p===0||p===1?0:11-p;return u===parseInt(t[7])&&d===parseInt(t[8])}};var hV=class{static{o(this,"StateCodePiValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var dV=class{static{o(this,"StateCodePrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=t.slice(0,8).split("").map(Number),i=[3,2,7,6,5,4,3,2],s=[4,3,2,7,6,5,4,3,2],a=0;for(let p=0;p<8;p++)a+=n[p]*i[p];let u=11-a%11;u>=10&&(u=0);let c=[...n,u],l=0;for(let p=0;p<9;p++)l+=c[p]*s[p];let f=11-l%11;return f>=10&&(f=0),u===parseInt(t[8])&&f===parseInt(t[9])}};var mV=class{static{o(this,"StateCodeRjValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8)return!1;let n=[2,7,6,5,4,3,2],i=0;for(let u=0;u<7;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<=1?0:11-s)===parseInt(t[7],10)}};var gV=class{static{o(this,"StateCodeRnValidator")}execute(e){let t=e.replace(/\D/g,"");if(!(t.length===9||t.length===10)||!t.startsWith("20"))return!1;let n=t.length===9?[9,8,7,6,5,4,3,2]:[10,9,8,7,6,5,4,3,2],i=t.slice(0,n.length).split("").map(Number),s=0;for(let l=0;l<n.length;l++)s+=i[l]*n[l];let u=s*10%11;return(u===10?0:u)===parseInt(t[t.length-1])}};var vV=class{static{o(this,"StateCodeRoValidator")}execute(e){let t=e.replace(/\D/g,""),n,i;if(t.length===9)n=t.slice(3,8).split("").map(Number),i=[6,5,4,3,2];else if(t.length===14)n=t.slice(0,13).split("").map(Number),i=[6,5,4,3,2,9,8,7,6,5,4,3,2];else return!1;let s=0;for(let c=0;c<i.length;c++)s+=n[c]*i[c];let u=11-s%11;return(u===10||u===11)&&(u-=10),u===parseInt(t[t.length-1])}};var yV=class{static{o(this,"StateCodeRrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=0;for(let s=0;s<8;s++)n+=(s+1)*parseInt(t[s],10);return n%9===parseInt(t[8],10)}};var SV=class{static{o(this,"StateCodeRsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=[2,9,8,7,6,5,4,3,2],i=0;for(let a=0;a<9;a++)i+=parseInt(t[a],10)*n[a];let s=11-i%11;return(s===10||s===11)&&(s=0),s===parseInt(t[9],10)}};var xV=class{static{o(this,"StateCodeScValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var bV=class{static{o(this,"StateCodeSeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var EV=class{static{o(this,"StateCodeSpValidator")}execute(e){let t=e;if(t.length!==12)return!1;let n=t.split("").map(Number),i=[1,3,4,5,6,7,8,10],s=0;for(let f=0;f<8;f++)s+=n[f]*i[f];let a=s%11%10,u=[3,2,10,9,8,7,6,5,4,3,2],c=0;for(let f=0;f<11;f++)c+=n[f]*u[f];let l=c%11%10;return a===n[8]&&l===n[11]}};var wV=class{static{o(this,"StateCodeToValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=t.split(""),i=n.slice(0,2).concat(n.slice(4,10)).map(Number),s=[9,8,7,6,5,4,3,2],a=0;for(let l=0;l<s.length;l++)a+=i[l]*s[l];let u=a%11;return(u<2?0:11-u)===parseInt(t[10])}};var Fs=(function(r){return r.Normal="1",r.EPEC="4",r.SVCAN="6",r.SVCRS="7",r.OFFLINE="9",r})({});var Rf=(function(r){return r.Cancelamento="110111",r})({});var dCe={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},vA=o(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return dv("packages/nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return dv("nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Of=dCe;var yA=class{static{o(this,"AccessKeyBuilder")}compile(e){let t=e.cUF.toString().padStart(2,"0"),n=e.year.toString().padStart(2,"0"),i=e.month.toString().padStart(2,"0"),s=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),u=e.serie.toString().padStart(3,"0"),c=e.nNF.toString().padStart(9,"0"),l=e.tpEmis.toString().padStart(1,"0"),f=(e.cNF??this.code()).toString().padStart(8,"0"),p=`${t}${n}${i}${s}${a}${u}${c}${l}${f}`;return`${p}${this.verifyingDigit(p)}`}decompile(e){if(e.length!==44)return;let n=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!n)return;let[i,s,a,u,c,l,f,p,d,g,m]=n;return{cUF:s,year:a,month:u,identification:c,mod:l,serie:f,nNF:p,tpEmis:d,cNF:g,vd:m}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let t=[2,3,4,5,6,7,8,9],n=42,i=0;for(;n>=0;)for(let a=0;a<8&&n>=0;a++){let u=parseInt(e[n]);i+=u*t[a],n--}let s=11-i%11;return s>9?0:s}};var SA=class{static{o(this,"DefaultDetBuilderAggregator")}builder;constructor(e){this.builder=e}prod(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vProd:Tr.newOrZero(n?.vProd).add(e.vProd).toFixed(2),vFrete:Tr.newOrZero(n?.vFrete).add(e.vFrete??t).toFixed(2),vSeg:Tr.newOrZero(n?.vSeg).add(e.vSeg??t).toFixed(2),vDesc:Tr.newOrZero(n?.vDesc).add(e.vDesc??t).toFixed(2),vOutro:Tr.newOrZero(n?.vOutro).add(e.vOutro??t).toFixed(2)}}))}cofins(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vCOFINS:Tr.newOrZero(n?.vCOFINS).add(e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS??t).toFixed(2)}}))}pis(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vPIS:Tr.newOrZero(n?.vPIS).add(e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS??t).toFixed(2)}}))}icms(e){let t=Tr.from(0),[n]=Object.keys(e),i=e[n];this.builder.increment(({ICMSTot:s})=>({ICMSTot:{vBC:Tr.newOrZero(s?.vBC).add(i.vBC??t).toFixed(2),vICMS:Tr.newOrZero(s?.vICMS).add(i.vICMS??t).toFixed(2),vICMSDeson:Tr.newOrZero(s?.vICMSDeson).add(i.vICMSDeson??t).toFixed(2),vBCST:Tr.newOrZero(s?.vBCST).add(i.vBCST??t).toFixed(2),vST:Tr.newOrZero(s?.vST).add(i.vICMSST??t).toFixed(2)}}))}};var xA=class{static{o(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Tr.from(0),t=this.builder.schema===Of.PL_010_V1_30;this.builder.increment(({ICMSTot:n,ISSQNtot:i},s)=>({vNFTot:t?s.reduce((a,u)=>a.add(u?.vItem??"0.00"),e).toFixed(2):void 0,ICMSTot:{vNF:Tr.newOrZero(n?.vProd).sub(n?.vDesc??e).sub(n?.vICMSDeson??e).add(n?.vST??e).add(n?.vFCPST??e).add(n?.vFrete??e).add(n?.vSeg??e).add(n?.vOutro??e).add(n?.vII??e).add(n?.vIPI??e).add(n?.vIPIDevol??e).add(i?.vServ??e).toFixed(2)}}))}};var Jee={[Rf.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"}};var QS=class{static{o(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=ty.create();toolkit=new Eg;caching=new cb;certificates=new Ib(this.http,this.caching);soap=new BE(this.toolkit,this.certificates);signer=new nb(this.toolkit,this.certificates);xmlSigner=new ib(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Xa,this)}};var rte=zt(require("path"),1);var Yee=require("class-transformer"),Lu=require("class-validator");function GB(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GB,"_ts_decorate");function AV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(AV,"_ts_metadata");var Ed=class{static{o(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};GB([(0,Lu.IsEnum)(Be),AV("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ed.prototype,"tpAmb",void 0);GB([(0,Lu.IsEnum)(ce),AV("design:type",typeof StateCode>"u"?Object:StateCode)],Ed.prototype,"cUF",void 0);GB([(0,Lu.IsOptional)()],Ed.prototype,"xServ",void 0);var CV=class{static{o(this,"ConsultStatusRequest")}consStatServ};GB([(0,Lu.IsNotEmptyObject)(),(0,Lu.IsObject)(),(0,Lu.ValidateNested)(),(0,Yee.Type)(()=>Ed),AV("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],CV.prototype,"consStatServ",void 0);var WB=require("class-transformer"),qt=require("class-validator");function Ni(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ni,"_ts_decorate");function vs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(vs,"_ts_metadata");var XB=class{static{o(this,"InfInutAttributes")}Id};Ni([(0,qt.IsString)(),vs("design:type",String)],XB.prototype,"Id",void 0);var bA=class{static{o(this,"InutNFeAttributes")}xmlns;versao};Ni([(0,qt.IsString)(),vs("design:type",String)],bA.prototype,"xmlns",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],bA.prototype,"versao",void 0);var gs=class{static{o(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Ni([(0,qt.ValidateNested)(),(0,WB.Type)(()=>XB),vs("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],gs.prototype,"$",void 0);Ni([(0,qt.IsEnum)(Be),vs("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],gs.prototype,"tpAmb",void 0);Ni([(0,qt.IsOptional)()],gs.prototype,"xServ",void 0);Ni([(0,qt.IsEnum)(ce),vs("design:type",typeof StateCode>"u"?Object:StateCode)],gs.prototype,"cUF",void 0);Ni([(0,qt.IsString)(),(0,qt.Length)(2,2),(0,qt.Matches)(/^[0-9]{2}$/),vs("design:type",String)],gs.prototype,"ano",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],gs.prototype,"CNPJ",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],gs.prototype,"CPF",void 0);Ni([(0,qt.IsString)(),(0,qt.Length)(2,2),(0,qt.Matches)(/^(55|65)$/),vs("design:type",String)],gs.prototype,"mod",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,3}$/),vs("design:type",String)],gs.prototype,"serie",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,9}$/),vs("design:type",String)],gs.prototype,"nNFIni",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,9}$/),vs("design:type",String)],gs.prototype,"nNFFin",void 0);Ni([(0,qt.IsString)(),(0,qt.MinLength)(15),(0,qt.MaxLength)(255),vs("design:type",String)],gs.prototype,"xJust",void 0);gs=Ni([Br({properties:["CNPJ","CPF"],required:!0})],gs);var Bf=class{static{o(this,"InutilizacaoPayload")}$;infInut;Signature};Ni([(0,qt.IsObject)(),(0,qt.ValidateNested)(),(0,WB.Type)(()=>bA),vs("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],Bf.prototype,"$",void 0);Ni([(0,qt.IsObject)(),(0,qt.ValidateNested)(),(0,WB.Type)(()=>gs),vs("design:type",typeof IInfInut>"u"?Object:IInfInut)],Bf.prototype,"infInut",void 0);Ni([(0,qt.Allow)(),vs("design:type",typeof Signature>"u"?Object:Signature)],Bf.prototype,"Signature",void 0);var tl=require("class-validator");function NV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(NV,"_ts_decorate");function Qee(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qee,"_ts_metadata");var wg=class{static{o(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};NV([(0,tl.IsEnum)(Be),Qee("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],wg.prototype,"tpAmb",void 0);NV([(0,tl.IsOptional)()],wg.prototype,"xServ",void 0);NV([(0,tl.IsString)(),(0,tl.Length)(44,44),(0,tl.Matches)(/^[0-9]{44}$/),Qee("design:type",String)],wg.prototype,"chNFe",void 0);var oo=require("class-validator");function EA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(EA,"_ts_decorate");function JB(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(JB,"_ts_metadata");var Pf=class{static{o(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};EA([(0,oo.IsEnum)(Be),(0,oo.IsOptional)(),JB("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pf.prototype,"tpAmb",void 0);EA([(0,oo.IsEnum)(ce),(0,oo.IsOptional)(),JB("design:type",typeof StateCode>"u"?Object:StateCode)],Pf.prototype,"cUF",void 0);EA([(0,oo.IsString)(),(0,oo.IsOptional)(),JB("design:type",String)],Pf.prototype,"idLote",void 0);EA([(0,oo.IsOptional)(),(0,oo.IsEnum)(["0","1"])],Pf.prototype,"indSinc",void 0);EA([(0,oo.IsNotEmpty)(),JB("design:type",typeof T>"u"?Object:T)],Pf.prototype,"NFe",void 0);var YB=require("class-validator");function $ee(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($ee,"_ts_decorate");function Zee(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zee,"_ts_metadata");var $S=class{static{o(this,"RetAutorizacaoPayload")}tpAmb;nRec};$ee([(0,YB.IsEnum)(Be),Zee("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$S.prototype,"tpAmb",void 0);$ee([(0,YB.IsString)(),Zee("design:type",String)],$S.prototype,"nRec",void 0);var Dr=require("class-validator"),wA=require("class-transformer");function Ti(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ti,"_ts_decorate");function Ji(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ji,"_ts_metadata");var QB=class{static{o(this,"InfEventoAttributes")}Id};Ti([(0,Dr.IsString)(),Ji("design:type",String)],QB.prototype,"Id",void 0);var Wi=class{static{o(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>QB),Ji("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Wi.prototype,"$",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",typeof StateCode>"u"?Object:StateCode)],Wi.prototype,"cOrgao",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Wi.prototype,"tpAmb",void 0);Ti([(0,Dr.IsString)(),(0,Dr.IsOptional)(),Ji("design:type",String)],Wi.prototype,"CNPJ",void 0);Ti([(0,Dr.IsString)(),(0,Dr.IsOptional)(),Ji("design:type",String)],Wi.prototype,"CPF",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",String)],Wi.prototype,"chNFe",void 0);Ti([Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Ji("design:type",String)],Wi.prototype,"dhEvento",void 0);Ti([(0,Dr.IsEnum)(Rf),Ji("design:type",typeof Rf>"u"?Object:Rf)],Wi.prototype,"tpEvento",void 0);Ti([(0,Dr.IsNumber)(),Ji("design:type",Number)],Wi.prototype,"nSeqEvento",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",String)],Wi.prototype,"verEvento",void 0);Ti([(0,Dr.IsObject)(),Ji("design:type",typeof T>"u"?Object:T)],Wi.prototype,"detEvento",void 0);Wi=Ti([Br({properties:["CNPJ","CPF"],required:!0})],Wi);var $B=class{static{o(this,"EventoItemAttributes")}xmlns};Ti([(0,Dr.IsString)(),Ji("design:type",String)],$B.prototype,"xmlns",void 0);var rl=class{static{o(this,"EventoItem")}$;infEvento;Signature};Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>$B),Ji("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],rl.prototype,"$",void 0);Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>Wi),Ji("design:type",typeof Wi>"u"?Object:Wi)],rl.prototype,"infEvento",void 0);Ti([(0,Dr.Allow)(),Ji("design:type",typeof Signature>"u"?Object:Signature)],rl.prototype,"Signature",void 0);var ZS=class{static{o(this,"EventoPayload")}idLote;evento};Ti([(0,Dr.IsString)(),Ji("design:type",String)],ZS.prototype,"idLote",void 0);Ti([(0,Dr.IsNotEmpty)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>rl),Ji("design:type",typeof rl>"u"?Object:rl)],ZS.prototype,"evento",void 0);var Yo=require("class-validator");function ex(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ex,"_ts_decorate");function ZB(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZB,"_ts_metadata");var ku=class{static{o(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};ex([(0,Yo.IsOptional)()],ku.prototype,"xServ",void 0);ex([(0,Yo.IsString)(),(0,Yo.IsIn)(Object.values(YP)),ZB("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],ku.prototype,"UF",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"IE",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"CNPJ",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"CPF",void 0);ku=ex([Br({properties:["IE","CNPJ","CPF"],required:!0})],ku);var ete={AM:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[Be.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[Be.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var mCe={[ce.AC]:"SVRS",[ce.AL]:"SVRS",[ce.AM]:"AM",[ce.AP]:"SVRS",[ce.BA]:"BA",[ce.CE]:"SVRS",[ce.DF]:"SVRS",[ce.ES]:"SVRS",[ce.GO]:"GO",[ce.MA]:"SVAN",[ce.MG]:"MG",[ce.MS]:"MS",[ce.MT]:"MT",[ce.PA]:"SVRS",[ce.PB]:"SVRS",[ce.PE]:"PE",[ce.PI]:"SVRS",[ce.PR]:"PR",[ce.RJ]:"SVRS",[ce.RN]:"SVRS",[ce.RO]:"SVRS",[ce.RR]:"SVRS",[ce.RS]:"RS",[ce.SC]:"SVRS",[ce.SE]:"SVRS",[ce.SP]:"SP",[ce.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},tte=mCe;var eP={[ce.AC]:"SVCAN",[ce.AL]:"SVCAN",[ce.AM]:"SVCRS",[ce.AP]:"SVCAN",[ce.BA]:"SVCRS",[ce.CE]:"SVCAN",[ce.DF]:"SVCAN",[ce.ES]:"SVCAN",[ce.GO]:"SVCRS",[ce.MA]:"SVCRS",[ce.MG]:"SVCAN",[ce.MS]:"SVCRS",[ce.MT]:"SVCRS",[ce.PA]:"SVCAN",[ce.PB]:"SVCAN",[ce.PE]:"SVCRS",[ce.PI]:"SVCAN",[ce.PR]:"SVCRS",[ce.RJ]:"SVCAN",[ce.RN]:"SVCAN",[ce.RO]:"SVCAN",[ce.RR]:"SVCAN",[ce.RS]:"SVCAN",[ce.SC]:"SVCAN",[ce.SE]:"SVCAN",[ce.SP]:"SVCAN",[ce.TO]:"SVCAN"};function Cg(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Cg,"_ts_decorate");function si(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(si,"_ts_metadata");var ka=class{static{o(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}options={};xmlns="http://www.portalfiscal.inf.br/nfe";configure(e){this.options={...this.options,...e};let{certificate:t}=this.options;return t&&this.remoteTransmissionRepository.setCertificate(t),this.options.schema??=Of.PL_009_V4,this}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=this.options.contingency?eP[t]:tte[t];return ete[i][n][e.service]}errors(){return Reflect.getMetadata(Xa,this)}validate(e){try{let t=this.errors();return t?or(new Rt(t.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),Bt(e))}finally{Reflect.deleteMetadata(Xa,this)}}ns(e,t){let n=e.$??{};return n.xmlns=this.xmlns,n.versao=t,{...e,$:n}}xsd(e){return rte.default.resolve(vA(),this.options.schema,e)}async consultStatus(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(n,i.version)},method:"nfeStatusServicoNF"})}async inutilizacao(e){let t=this.validate(e);if(t.isLeft())return t;let{cUF:n,tpAmb:i}=t.value.infInut,s=t.value,a=this.service({cUF:n,tpAmb:i,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(s,a.version)},method:"nfeInutilizacaoNF"})}async consultaProtocolo(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:n.chNFe.substring(0,2),tpAmb:n.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(n,i.version)},method:"nfeConsultaNF"})}async autorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(n,i.version)},method:"nfeAutorizacaoLote"})}async retAutorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(n,i.version)},method:"nfeRetAutorizacaoLote"})}async recepcaoEvento(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({service:"RecepcaoEvento"});return n.evento=this.ns(n.evento,i.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(n,i.version)},method:"nfeRecepcaoEvento"})}async consultaCadastro(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:ce[n.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(n,i.version)},method:"consultaCadastro"})}};Cg([Et(Ed),si("design:type",Function),si("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),si("design:returntype",Promise)],ka.prototype,"consultStatus",null);Cg([Et(Bf),si("design:type",Function),si("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"inutilizacao",null);Cg([Et(wg),si("design:type",Function),si("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),si("design:returntype",Promise)],ka.prototype,"consultaProtocolo",null);Cg([Et(Pf),si("design:type",Function),si("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"autorizacao",null);Cg([Et($S),si("design:type",Function),si("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"retAutorizacao",null);Cg([Et(ZS),si("design:type",Function),si("design:paramtypes",[Object]),si("design:returntype",Promise)],ka.prototype,"recepcaoEvento",null);Cg([Et(ku),si("design:type",Function),si("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),si("design:returntype",Promise)],ka.prototype,"consultaCadastro",null);var Va=class extends QS{static{o(this,"TransmissionPipeline")}certificate;transmitter=new ka(this.soap);constructor(e){super(e),this.certificate=e}};function gCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(gCe,"_ts_decorate");function TV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(TV,"_ts_metadata");var CA=class extends Va{static{o(this,"EventPipeline")}async event(e,t,n){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let s=t.chNFe.slice(0,2);this.transmitter.configure({cUF:s,...n,certificate:i.value});let a=Jee[e],u=this.certificates.getCertificateInfo(i.value.certificate),{nSeqEvento:c,dhEvento:l,chNFe:f}=t,p=["ID",e,f,c.toString().padStart(2,"0")].join(""),d={$:{xmlns:this.xmlns},infEvento:{$:{Id:p},cOrgao:s,tpAmb:n.tpAmb,CNPJ:u.CNPJ,CPF:u.CPF,chNFe:f,dhEvento:l,tpEvento:e,nSeqEvento:c,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...t.detEvento}}},g=this.validated(d);return g.isLeft()?g:await this.signer.sign(g.value,{tag:"infEvento",mark:"Id"},i.value)}validated(e){let t=this.errors();return t?or(new Rt(t.join(", "))):Bt(e)}};gCe([Et(rl),TV("design:type",Function),TV("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),TV("design:returntype",void 0)],CA.prototype,"validated",null);var AA=class extends CA{static{o(this,"NfeCancelPipeline")}async execute(e,t){let n={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1},i=await this.event(Rf.Cancelamento,n,t);return i.isLeft()?i:await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:i.value})}};var tP=class extends Rt{static{o(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var nte=(function(r){return r.Autorizada="100",r.AutorizadaForaDoPrazo="150",r.UsoDenegado="110",r.NfeDenegada="205",r.DenegadaIrregularidadeEmissor="301",r.DenegadaIrregularidadeDestinatario="302",r.DenegadaNaoHabilitadaNaUf="303",r})({});var NA=class extends Va{static{o(this,"NfeAuthorizerPipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=await this.handleNfeBatch(n.value,e.xml);if(i.isLeft())return i;let[s]=i.value;this.transmitter.configure({cUF:s.infNFe.ide.cUF,tpAmb:s.infNFe.ide.tpAmb,...t,contingency:this.contingency(s),certificate:n.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:i.value});if(a.isLeft())return a;let u=a.value;return this.isSyncResponse(u)?Bt(await this.response(i.value,u)):await this.handleAsyncResponse(i.value,u)}async protocol(e,t){let{cStat:n}=t.infProt;if(!Object.values(nte).includes(n))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let i={NFe:e,protNFe:t,$:{xmlns:this.xmlns,versao:t.$.versao}};return await this.toolkit.build(i,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,t){let n=Array.isArray(t.retEnviNFe.protNFe)?t.retEnviNFe.protNFe:[t.retEnviNFe.protNFe],i=await Promise.all(e.map((s,a)=>this.protocol(s,n[a])));return i.length>1?{xml:i,response:t}:{xml:i[0],response:t}}async signNfe(e,t){return this.signer.sign(t,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,t){if(!Array.isArray(t)){let i=await this.toolkit.parse(t),s=await this.signNfe(e,i);return s.isLeft()?or(s.value):Bt([s.value])}let n=await Promise.all(t.map(async i=>this.signNfe(e,await this.toolkit.parse(i))));return n.some(i=>i.isLeft())?or(new Rt("Failed to sign a NFe in batch")):Bt(n.filter(i=>i.isRight()).map(i=>i.value))}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}async handleAsyncResponse(e,t){let{tpAmb:n,infRec:{nRec:i}}=t.retEnviNFe,s=1;for(;s<=3;)try{await new Promise(c=>setTimeout(c,1e3));let a=await this.transmitter.retAutorizacao({nRec:i,tpAmb:n});if(a.isLeft())continue;let u=a.value.retConsReciNFe.protNFe;if(!u||Array.isArray(u)&&u.length===0)continue;return Bt(await this.response(e,{retEnviNFe:{...a.value.retConsReciNFe,protNFe:u}}))}finally{s++}return or(new tP)}contingency(e){let{dhCont:t,xJust:n,tpEmis:i}=e.infNFe.ide;if(!(!t||!n||i===Fs.Normal))return{dhCont:t,xJust:n}}};function vCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vCe,"_ts_decorate");function IV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(IV,"_ts_metadata");var tx=class extends Va{static{o(this,"NfeVoidRangePipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=this.certificates.getCertificateInfo(n.value.certificate);this.transmitter.configure({...t,certificate:n.value});let s=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",t.cUF,s,i.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),u={$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??t.tpAmb,cUF:t.cUF,ano:s,CNPJ:i.CNPJ,CPF:i.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},c=this.validated(u);if(c.isLeft())return c;let l=await this.signer.sign(c.value,{tag:"infInut",mark:"Id"},n.value);return l.isLeft()?l:await this.transmitter.inutilizacao(l.value)}validated(e){let t=this.errors();return t?or(new Rt(t.join(", "))):Bt(e)}};vCe([Et(Bf),IV("design:type",Function),IV("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),IV("design:returntype",void 0)],tx.prototype,"validated",null);var TA=class extends Va{static{o(this,"NfeConsultStatusPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({...e,certificate:t.value}),await this.transmitter.consultStatus(e))}};var IA=class extends Va{static{o(this,"NfeConsultProtocoloPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:t.value}),await this.transmitter.consultaProtocolo(e))}};var DV=class extends Va{static{o(this,"NfeAuthorizationResponsePipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:t.value}),this.transmitter.retAutorizacao(e))}};var ite=zt(require("crypto"),1);var ra=class{static{o(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,t){let n=await this.content(e,t);return n.isLeft()?n:Bt(this.assemble(n.value,t))}async content(e,t){return this.isVersion200(t)?await this.execute200(e,t):this.isVersion300(t)?await this.execute300(e,t):Zd(t)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,t){return{qrCode:e,urlChave:t.urlConsult}}getSequence(e,t){let{version:n,CSCId:i}=t,s=e.infNFe.ide.tpAmb,a=Number.parseInt(i),u=e.infNFe.$.Id?.substring(3),c=Number.parseInt(n??"")/100;if(e.infNFe.ide.tpEmis!==Fs.OFFLINE)return`${u}|${c}|${s}|${a}`;let f=e.Signature.SignedInfo.Reference.DigestValue.split("").map(g=>g.charCodeAt(0).toString(16).padStart(2,"0")).join(""),p=new Date(e.infNFe.ide.dhEmi).getDate(),d=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${u}|${c}|${s}|${p}|${d}|${f}|${a}`}async execute200(e,t){let{urlService:n,CSC:i}=t,s=this.getSequence(e,t),a=ite.default.createHash("sha1").update(`${s}${i}`).digest("hex").toUpperCase(),u=`${n}?p=`;return Promise.resolve(Bt(`${u}${s}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:t,CNPJ:n,idEstrangeiro:i}=e,s=t?t.replace(/\D/g,""):n?n.replace(/\D/g,""):i?.replace(/\D/g,"");return s?s.length===11?{tipo:"1",documento:s}:s.length===14?{tipo:"2",documento:s}:i&&s.length>=3&&s.length<=14?{tipo:"3",documento:s}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,t){let{urlService:n}=t,i=`${n}?p=`,s=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),u=Number.parseInt(t.version)/100;if(e.infNFe.ide.tpEmis!==Fs.OFFLINE)return Bt(`${i}${a}|${u}|${s}`);let c=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),l=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:f,documento:p}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),d=`${a}|${u}|${s}|${c}|${l}|${f}|${p}`,g=await this.certificateRepository.sign(d,t.certificate,pu.SHA1);return g.isLeft()?g:Bt(`${i}${d}|${g.value}`)}};var RV={AC:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[Be.Homolog]:{},[Be.Production]:{}}};var ste={[Be.Homolog]:{[ce.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[ce.AL]:"www.sefaz.al.gov.br/nfce/consulta",[ce.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[ce.AM]:"www.sefaz.am.gov.br/nfce/consulta",[ce.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[ce.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[ce.DF]:"www.fazenda.df.gov.br/nfce/consulta",[ce.ES]:"www.sefaz.es.gov.br/nfce/consulta",[ce.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[ce.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[ce.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[ce.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[ce.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[ce.PA]:"www.sefa.pa.gov.br/nfce/consulta",[ce.PB]:"www.sefaz.pb.gov.br/nfcehom",[ce.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[ce.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[ce.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[ce.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[ce.RN]:"www.set.rn.gov.br/nfce/consulta",[ce.RO]:"www.sefin.ro.gov.br/nfce/consulta",[ce.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[ce.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[ce.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[ce.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[ce.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[ce.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[Be.Production]:{[ce.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[ce.AL]:"www.sefaz.al.gov.br/nfce/consulta",[ce.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[ce.AM]:"www.sefaz.am.gov.br/nfce/consulta",[ce.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[ce.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[ce.DF]:"www.fazenda.df.gov.br/nfce/consulta",[ce.ES]:"www.sefaz.es.gov.br/nfce/consulta",[ce.GO]:"www.sefaz.go.gov.br/nfce/consulta",[ce.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[ce.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[ce.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[ce.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[ce.PA]:"www.sefa.pa.gov.br/nfce/consulta",[ce.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[ce.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[ce.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[ce.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[ce.RN]:"www.set.rn.gov.br/nfce/consulta",[ce.RO]:"www.sefin.ro.gov.br/nfce/consulta",[ce.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[ce.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[ce.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[ce.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[ce.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[ce.TO]:"www.sefaz.to.gov.br/nfce/consulta",[ce.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var yCe={[ce.AC]:"SVRS",[ce.AL]:"SVRS",[ce.AM]:"AM",[ce.AP]:"SVRS",[ce.BA]:"SVRS",[ce.CE]:"SVRS",[ce.DF]:"SVRS",[ce.ES]:"SVRS",[ce.GO]:"GO",[ce.MA]:"SVRS",[ce.MG]:"MG",[ce.MS]:"MS",[ce.MT]:"MT",[ce.PA]:"SVRS",[ce.PB]:"SVRS",[ce.PE]:"SVRS",[ce.PI]:"SVRS",[ce.PR]:"PR",[ce.RJ]:"SVRS",[ce.RN]:"SVRS",[ce.RO]:"SVRS",[ce.RR]:"SVRS",[ce.RS]:"RS",[ce.SC]:"SVRS",[ce.SE]:"SVRS",[ce.SP]:"SP",[ce.TO]:"SVRS",SVRS:"SVRS"},ate=yCe;var uo=require("class-validator");function DA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(DA,"_ts_decorate");function rP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(rP,"_ts_metadata");var _f=class{static{o(this,"NfceAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};DA([(0,uo.IsEnum)(Be),(0,uo.IsOptional)(),rP("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],_f.prototype,"tpAmb",void 0);DA([(0,uo.IsEnum)(ce),(0,uo.IsOptional)(),rP("design:type",typeof StateCode>"u"?Object:StateCode)],_f.prototype,"cUF",void 0);DA([(0,uo.IsString)(),(0,uo.IsOptional)(),rP("design:type",String)],_f.prototype,"idLote",void 0);DA([(0,uo.IsOptional)(),(0,uo.IsEnum)(["0","1"])],_f.prototype,"indSinc",void 0);DA([(0,uo.IsNotEmpty)(),rP("design:type",typeof T>"u"?Object:T)],_f.prototype,"NFe",void 0);function SCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(SCe,"_ts_decorate");function OV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(OV,"_ts_metadata");var Ls=class extends ka{static{o(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={};constructor(e,t){super(e),this.remoteTransmissionRepository=e,this.qrCode=t}configure(e){return super.configure(e)}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=ate[t],u=RV[i][n][e.service];if(u)return u;let c=Object.keys(ce).find(l=>ce[l]===t);return RV[c][n][e.service]}getUrlConsult(e){let t=e.infNFe.ide.cUF,n=e.infNFe.ide.tpAmb;return ste[n][t]}async autorizacao(e){return super.autorizacao(e)}};SCe([Et(_f),OV("design:type",Function),OV("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),OV("design:returntype",Promise)],Ls.prototype,"autorizacao",null);var BV=class extends AA{static{o(this,"NfceCancelPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var PV=class extends NA{static{o(this,"NfceAuthorizerPipeline")}certificate;qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var _V=class extends tx{static{o(this,"NfceVoidRangePipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var FV=class extends TA{static{o(this,"NfceConsultStatusPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var LV=class extends IA{static{o(this,"NfceConsultProtocoloPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var Ote=zt(require("path"),1);var ca=require("class-validator");var gt=require("class-validator"),ci=require("class-transformer");var nt=require("class-validator"),RA=require("class-transformer");function At(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(At,"_ts_decorate");function Nt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nt,"_ts_metadata");var Ff=class{static{o(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"AAMM",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"CNPJ",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"nNF",void 0);var co=class{static{o(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"AAMM",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"CNPJ",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"CPF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"IE",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"nNF",void 0);co=At([Br({properties:["CNPJ","CPF"],required:!0})],co);var rx=class{static{o(this,"RefECF")}mod;nECF;nCOO};At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"nECF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"nCOO",void 0);var Lf=class{static{o(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refNFe",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refNFeSig",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>Ff),Nt("design:type",typeof IRefNF>"u"?Object:IRefNF)],Lf.prototype,"refNF",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>co),Nt("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Lf.prototype,"refNFP",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refCTe",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>rx),Nt("design:type",typeof IRefECF>"u"?Object:IRefECF)],Lf.prototype,"refECF",void 0);var Pr=class{static{o(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};At([(0,nt.IsEnum)(ce),Nt("design:type",typeof StateCode>"u"?Object:StateCode)],Pr.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"cNF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"natOp",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"nNF",void 0);At([Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhEmi",void 0);At([(0,nt.IsOptional)(),Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhSaiEnt",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"tpNF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"idDest",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"cMunFG",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"tpImp",void 0);At([(0,nt.IsString)(),Nt("design:type",typeof TpEmis>"u"?Object:TpEmis)],Pr.prototype,"tpEmis",void 0);At([(0,nt.IsString)(),(0,nt.IsOptional)(),Nt("design:type",String)],Pr.prototype,"cDV",void 0);At([(0,nt.IsString)(),Nt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pr.prototype,"tpAmb",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"finNFe",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indFinal",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indPres",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indIntermed",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"procEmi",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"verProc",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhCont",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"xJust",void 0);At([(0,nt.IsOptional)(),(0,nt.IsArray)(),(0,nt.ArrayMaxSize)(999),(0,nt.ValidateNested)({each:!0}),(0,RA.Type)(()=>Lf),Nt("design:type",Array)],Pr.prototype,"NFref",void 0);var Ii=require("class-validator");var ote=require("class-transformer");var Ss=require("class-validator");function Vu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Vu,"_ts_decorate");function ju(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ju,"_ts_metadata");var ys=class{static{o(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xLgr",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"nro",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xCpl",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xBairro",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"cMun",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xMun",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"UF",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"CEP",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"cPais",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xPais",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"fone",void 0);function Mu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mu,"_ts_decorate");function nl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nl,"_ts_metadata");var Yi=class{static{o(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CNPJ",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CPF",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"xNome",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"xFant",void 0);Mu([(0,Ii.ValidateNested)(),(0,ote.Type)(()=>ys),nl("design:type",typeof ys>"u"?Object:ys)],Yi.prototype,"enderEmit",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IE",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IEST",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IM",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CNAE",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CRT",void 0);Yi=Mu([Br({properties:["CNPJ","CPF"],required:!0})],Yi);var $n=require("class-validator"),ute=require("class-transformer");var Cn=require("class-validator");function Uu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Uu,"_ts_decorate");function qu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(qu,"_ts_metadata");var na=class{static{o(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xLgr",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"nro",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xCpl",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xBairro",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"cMun",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xMun",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"UF",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"CEP",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"cPais",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xPais",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"fone",void 0);function Hu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hu,"_ts_decorate");function il(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(il,"_ts_metadata");var Qi=class{static{o(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"CNPJ",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"CPF",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"idEstrangeiro",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"xNome",void 0);Hu([(0,$n.IsOptional)(),(0,$n.ValidateNested)(),(0,ute.Type)(()=>na),il("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Qi.prototype,"enderDest",void 0);Hu([(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"indIEDest",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"IE",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"ISUF",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"IM",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"email",void 0);Qi=Hu([Br({properties:["CNPJ","CPF"],required:!0})],Qi);var Gr=require("class-validator");function xs(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xs,"_ts_decorate");function ks(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ks,"_ts_metadata");var cn=class{static{o(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CNPJ",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CPF",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xNome",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xLgr",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"nro",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xCpl",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xBairro",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"cMun",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xMun",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"UF",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CEP",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"cPais",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xPais",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"fone",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"email",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"IE",void 0);cn=xs([Br({properties:["CNPJ","CPF"]})],cn);var nx=require("class-validator");function kV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(kV,"_ts_decorate");function cte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cte,"_ts_metadata");var sl=class{static{o(this,"AutXML")}CNPJ;CPF};kV([(0,nx.IsOptional)(),(0,nx.IsString)(),cte("design:type",String)],sl.prototype,"CNPJ",void 0);kV([(0,nx.IsOptional)(),(0,nx.IsString)(),cte("design:type",String)],sl.prototype,"CPF",void 0);sl=kV([Br({properties:["CNPJ","CPF"]})],sl);var OA=require("class-validator");function lte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lte,"_ts_decorate");function fte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fte,"_ts_metadata");var wd=class{static{o(this,"InfIntermed")}CNPJ;idCadIntTran};lte([(0,OA.IsString)(),fte("design:type",String)],wd.prototype,"CNPJ",void 0);lte([(0,OA.IsOptional)(),(0,OA.IsString)(),fte("design:type",String)],wd.prototype,"idCadIntTran",void 0);var Ag=require("class-validator");function VV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(VV,"_ts_decorate");function jV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(jV,"_ts_metadata");var kf=class{static{o(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};VV([(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"UFSaidaPais",void 0);VV([(0,Ag.IsOptional)(),(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"xLocExporta",void 0);VV([(0,Ag.IsOptional)(),(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"xLocDespacho",void 0);var Cd=require("class-validator");function MV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(MV,"_ts_decorate");function UV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(UV,"_ts_metadata");var Vf=class{static{o(this,"Compra")}xNEmp;xPed;xCont};MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xNEmp",void 0);MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xPed",void 0);MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xCont",void 0);var al=require("class-validator");function ix(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ix,"_ts_decorate");function sx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sx,"_ts_metadata");var Qo=class{static{o(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"CNPJ",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"xContato",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"email",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"fone",void 0);ix([(0,al.IsOptional)(),(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"idCSRT",void 0);ix([(0,al.IsOptional)(),(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"hashCSRT",void 0);var ul=require("class-validator"),VA=require("class-transformer");var zu=require("class-validator");function Mr(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mr,"_ts_decorate");function Ur(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ur,"_ts_metadata");var Er=class{static{o(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vBC",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSDeson",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPUFDest",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSUFDest",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSUFRemet",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCP",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vBCST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPSTRet",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMono",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMono",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMonoReten",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMonoReten",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMonoRet",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMonoRet",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vProd",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFrete",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vSeg",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vDesc",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vII",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vIPI",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vIPIDevol",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vPIS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vCOFINS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vOutro",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vNF",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vTotTrib",void 0);var yn=require("class-validator");function $o(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($o,"_ts_decorate");function Zo(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zo,"_ts_metadata");var Vs=class{static{o(this,"ISSQNTot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vServ",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vBC",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vISS",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vPIS",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vCOFINS",void 0);$o([(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"dCompet",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDeducao",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vOutro",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDescIncond",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDescCond",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vISSRet",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"cRegTrib",void 0);var Ad=require("class-validator");function Ng(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ng,"_ts_decorate");function Tg(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Tg,"_ts_metadata");var Ku=class{static{o(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetPIS",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetCOFINS",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetCSLL",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vBCIRRF",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vIRRF",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vBCRetPrev",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetPrev",void 0);var qf=require("class-validator");var Mf=require("class-validator");function qV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qV,"_ts_decorate");function HV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(HV,"_ts_metadata");var Ig=class{static{o(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vDif",void 0);qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vDevTrib",void 0);qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vIBSMun",void 0);var GV=require("class-transformer");function zV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zV,"_ts_decorate");function KV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(KV,"_ts_metadata");var Dg=class{static{o(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vDif",void 0);zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vDevTrib",void 0);zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vIBSUF",void 0);function BA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(BA,"_ts_decorate");function PA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(PA,"_ts_metadata");var jf=class{static{o(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};BA([(0,Mf.IsOptional)(),(0,Mf.ValidateNested)(),(0,GV.Type)(()=>Dg),PA("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],jf.prototype,"gIBSUF",void 0);BA([(0,Mf.IsOptional)(),(0,Mf.ValidateNested)(),(0,GV.Type)(()=>Ig),PA("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],jf.prototype,"gIBSMun",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vIBS",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vCredPres",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vCredPresCondSus",void 0);var sP=require("class-transformer");var ax=require("class-validator");function _A(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(_A,"_ts_decorate");function FA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(FA,"_ts_metadata");var Uf=class{static{o(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vDif",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vDevTrib",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCBS",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCredPres",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCredPresCondSus",void 0);var Rg=require("class-validator");function ox(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ox,"_ts_decorate");function ux(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ux,"_ts_metadata");var ol=class{static{o(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMono",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMono",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMonoReten",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMonoReten",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMonoRet",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMonoRet",void 0);function nP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nP,"_ts_decorate");function iP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(iP,"_ts_metadata");var Nd=class{static{o(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};nP([(0,qf.IsOptional)(),$({fixed:2}),iP("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nd.prototype,"vBCIBSCBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>jf),iP("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Nd.prototype,"gIBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>Uf),iP("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Nd.prototype,"gCBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>ol),iP("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Nd.prototype,"gMono",void 0);function LA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(LA,"_ts_decorate");function kA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(kA,"_ts_metadata");var Gu=class{static{o(this,"Total")}ICMSTot;ISSQNtot;retTrib;IBSCBSTot;vNFTot};LA([(0,ul.ValidateNested)(),(0,VA.Type)(()=>Er),kA("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],Gu.prototype,"ICMSTot",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Vs),kA("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],Gu.prototype,"ISSQNtot",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Ku),kA("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],Gu.prototype,"retTrib",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Nd),kA("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],Gu.prototype,"IBSCBSTot",void 0);LA([(0,ul.IsOptional)(),$({fixed:2}),kA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vNFTot",void 0);var ai=require("class-validator"),mx=require("class-transformer");var Ms=require("class-validator");function Td(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Td,"_ts_decorate");function Og(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Og,"_ts_metadata");var js=class{static{o(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"CNPJ",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"CPF",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xNome",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"IE",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xEnder",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xMun",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"UF",void 0);js=Td([Br({properties:["CNPJ","CPF"]})],js);var cl=require("class-validator");function cx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cx,"_ts_decorate");function lx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lx,"_ts_metadata");var lo=class{static{o(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vServ",void 0);cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBCRet",void 0);cx([(0,cl.IsOptional)(),$({fixed:4}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMSRet",void 0);cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMSRet",void 0);cx([(0,cl.IsOptional)(),(0,cl.IsString)(),lx("design:type",String)],lo.prototype,"CFOP",void 0);cx([(0,cl.IsOptional)(),(0,cl.IsString)(),lx("design:type",String)],lo.prototype,"cMunFG",void 0);var ja=require("class-validator");function fx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(fx,"_ts_decorate");function px(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(px,"_ts_metadata");var ll=class{static{o(this,"VeicTransp")}placa;UF;RNTC};fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"placa",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"UF",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"RNTC",void 0);var Bg=class{static{o(this,"Reboque")}placa;UF;RNTC};fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"placa",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"UF",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"RNTC",void 0);var eu=require("class-validator");function hx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hx,"_ts_decorate");function dx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dx,"_ts_metadata");var fl=class{static{o(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"qVol",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"esp",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"marca",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"nVol",void 0);hx([(0,eu.IsOptional)(),$({fixed:3}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"pesoL",void 0);hx([(0,eu.IsOptional)(),$({fixed:3}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"pesoB",void 0);function Hf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hf,"_ts_decorate");function Id(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Id,"_ts_metadata");var Us=class{static{o(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Hf([(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"modFrete",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>js),Id("design:type",typeof js>"u"?Object:js)],Us.prototype,"transporta",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>lo),Id("design:type",typeof lo>"u"?Object:lo)],Us.prototype,"retTransp",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>ll),Id("design:type",typeof ll>"u"?Object:ll)],Us.prototype,"veicTransp",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)({each:!0}),(0,mx.Type)(()=>Bg),(0,ai.ArrayMaxSize)(5),Id("design:type",Array)],Us.prototype,"reboque",void 0);Hf([(0,ai.IsOptional)(),(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"vagao",void 0);Hf([(0,ai.IsOptional)(),(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"balsa",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)({each:!0}),(0,mx.Type)(()=>fl),(0,ai.ArrayMaxSize)(5e3),Id("design:type",Array)],Us.prototype,"vol",void 0);Us=Hf([Br({properties:["veicTransp","reboque"]}),Br({properties:["vagao","balsa"]})],Us);var Di=require("class-validator"),XV=require("class-transformer");function Kf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Kf,"_ts_decorate");function Gf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Gf,"_ts_metadata");var zf=class{static{o(this,"Fat")}nFat;vOrig;vDesc;vLiq};Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],zf.prototype,"nFat",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vOrig",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vDesc",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vLiq",void 0);var gx=class{static{o(this,"Dup")}nDup;dVenc;vDup};Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],gx.prototype,"nDup",void 0);Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],gx.prototype,"dVenc",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gx.prototype,"vDup",void 0);var Dd=class{static{o(this,"Cobr")}fat;dup};Kf([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,XV.Type)(()=>zf),Gf("design:type",typeof zf>"u"?Object:zf)],Dd.prototype,"fat",void 0);Kf([(0,Di.IsOptional)(),(0,Di.ValidateNested)({each:!0}),(0,Di.ArrayMaxSize)(120),(0,XV.Type)(()=>gx),Gf("design:type",Array)],Dd.prototype,"dup",void 0);var Od=require("class-validator"),mte=require("class-transformer");var pl=require("class-validator"),pte=require("class-transformer");var Ma=require("class-validator");function vx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vx,"_ts_decorate");function yx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(yx,"_ts_metadata");var fo=class{static{o(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"tpIntegra",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"CNPJ",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"tBand",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"cAut",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"CNPJReceb",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"idTermPag",void 0);function jA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jA,"_ts_decorate");function MA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(MA,"_ts_metadata");var Xf=class{static{o(this,"DetPag")}indPag;tPag;vPag;card;xPag};jA([(0,pl.IsOptional)(),(0,pl.IsString)(),MA("design:type",String)],Xf.prototype,"indPag",void 0);jA([(0,pl.IsString)(),MA("design:type",typeof TPag>"u"?Object:TPag)],Xf.prototype,"tPag",void 0);jA([$({fixed:2}),MA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xf.prototype,"vPag",void 0);jA([(0,pl.IsOptional)(),(0,pl.ValidateNested)(),(0,pte.Type)(()=>fo),MA("design:type",typeof fo>"u"?Object:fo)],Xf.prototype,"card",void 0);jA([(0,pl.IsOptional)(),(0,pl.IsString)(),MA("design:type",String)],Xf.prototype,"xPag",void 0);function hte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hte,"_ts_decorate");function dte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dte,"_ts_metadata");var Rd=class{static{o(this,"Pag")}detPag;vTroco};hte([(0,Od.ValidateNested)({each:!0}),(0,Od.ArrayMinSize)(1),(0,Od.ArrayMaxSize)(100),(0,mte.Type)(()=>Xf),dte("design:type",Array)],Rd.prototype,"detPag",void 0);hte([(0,Od.IsOptional)(),$({fixed:2}),dte("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rd.prototype,"vTroco",void 0);var Un=require("class-validator"),aP=require("class-transformer");function Wf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Wf,"_ts_decorate");function Jf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jf,"_ts_metadata");var Sx=class{static{o(this,"InfAdicObs")}xCampo;xTexto};Wf([(0,Un.IsString)(),Jf("design:type",String)],Sx.prototype,"xCampo",void 0);Wf([(0,Un.IsString)(),Jf("design:type",String)],Sx.prototype,"xTexto",void 0);var UA=class{static{o(this,"ProcRef")}nProc;indProc};Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],UA.prototype,"nProc",void 0);Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],UA.prototype,"indProc",void 0);var Xu=class{static{o(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],Xu.prototype,"infAdFisco",void 0);Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],Xu.prototype,"infCpl",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>Sx),(0,Un.ArrayMaxSize)(10),Jf("design:type",Array)],Xu.prototype,"obsCont",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>Sx),(0,Un.ArrayMaxSize)(10),Jf("design:type",Array)],Xu.prototype,"obsFisco",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>UA),(0,Un.ArrayMaxSize)(100),Jf("design:type",Array)],Xu.prototype,"procRef",void 0);var $r=require("class-validator"),uP=require("class-transformer");function ia(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ia,"_ts_decorate");function sa(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sa,"_ts_metadata");var oP=class{static{o(this,"ForDiaAttributes")}dia};ia([(0,$r.IsString)(),sa("design:type",String)],oP.prototype,"dia",void 0);var qA=class{static{o(this,"ForDia")}$;qtde};ia([(0,$r.IsObject)(),(0,$r.IsNotEmptyObject)(),(0,uP.Type)(()=>oP),sa("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],qA.prototype,"$",void 0);ia([(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qA.prototype,"qtde",void 0);var HA=class{static{o(this,"Deduc")}xDed;vDed};ia([(0,$r.IsString)(),sa("design:type",String)],HA.prototype,"xDed",void 0);ia([$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],HA.prototype,"vDed",void 0);var qs=class{static{o(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};ia([(0,$r.IsString)(),sa("design:type",String)],qs.prototype,"safra",void 0);ia([(0,$r.IsString)(),sa("design:type",String)],qs.prototype,"ref",void 0);ia([(0,$r.ValidateNested)({each:!0}),(0,$r.ArrayMaxSize)(31),(0,uP.Type)(()=>qA),sa("design:type",Array)],qs.prototype,"forDia",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotMes",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotAnt",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotGer",void 0);ia([(0,$r.IsOptional)(),(0,$r.ValidateNested)({each:!0}),(0,$r.ArrayMaxSize)(10),(0,uP.Type)(()=>HA),sa("design:type",Array)],qs.prototype,"deduc",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vFor",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vTotDed",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vLiqFor",void 0);var ws=require("class-validator"),Lx=require("class-transformer");var Je=require("class-validator");var hl=require("class-transformer");var Wu=require("class-validator");function zA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zA,"_ts_decorate");function KA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(KA,"_ts_metadata");var Yf=class{static{o(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};zA([(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"nLote",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"qLote",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"dFab",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"dVal",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"cAgreg",void 0);var qr=require("class-validator"),gte=require("class-transformer");function Zi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zi,"_ts_decorate");function bs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bs,"_ts_metadata");var Bd=class{static{o(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nAdicao",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nSeqAdic",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"cFabricante",void 0);Zi([$({fixed:2}),bs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bd.prototype,"vDescDI",void 0);Zi([(0,qr.IsOptional)(),(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nDraw",void 0);var $i=class{static{o(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"nDI",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"dDI",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"xLocDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"UFDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"dDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"tpViaTransp",void 0);Zi([(0,qr.IsOptional)(),$({fixed:2}),bs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$i.prototype,"vAFRMM",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"tpIntermedio",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"CNPJ",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"CPF",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"UFTerceiro",void 0);Zi([(0,qr.IsArray)(),(0,qr.ValidateNested)({each:!0}),(0,gte.Type)(()=>Bd),(0,qr.ArrayMaxSize)(999),(0,qr.ArrayMinSize)(1),bs("design:type",Array)],$i.prototype,"adi",void 0);$i=Zi([Br({properties:["CNPJ","CPF"],required:!0})],$i);var vte=require("class-transformer"),Qf=require("class-validator");function GA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GA,"_ts_decorate");function XA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(XA,"_ts_metadata");var xx=class{static{o(this,"ExportInd")}nRE;chNFe;qExport};GA([(0,Qf.IsString)(),XA("design:type",String)],xx.prototype,"nRE",void 0);GA([(0,Qf.IsString)(),XA("design:type",String)],xx.prototype,"chNFe",void 0);GA([$({fixed:4}),XA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xx.prototype,"qExport",void 0);var bx=class{static{o(this,"DetExport")}nDraw;exportInd};GA([(0,Qf.IsOptional)(),(0,Qf.IsString)(),XA("design:type",String)],bx.prototype,"nDraw",void 0);GA([(0,Qf.IsOptional)(),(0,Qf.ValidateNested)(),(0,vte.Type)(()=>xx),XA("design:type",typeof IExportInd>"u"?Object:IExportInd)],bx.prototype,"exportInd",void 0);var WV=require("class-validator");function yte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yte,"_ts_decorate");function Ste(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ste,"_ts_metadata");var Ex=class{static{o(this,"InfProdNFF")}cProdFisco;cOperNFF};yte([(0,WV.IsString)(),Ste("design:type",String)],Ex.prototype,"cProdFisco",void 0);yte([(0,WV.IsString)(),Ste("design:type",String)],Ex.prototype,"cOperNFF",void 0);var QV=require("class-validator");function JV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(JV,"_ts_decorate");function YV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(YV,"_ts_metadata");var Pg=class{static{o(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};JV([(0,QV.IsString)(),YV("design:type",String)],Pg.prototype,"xEmb",void 0);JV([$({fixed:3}),YV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pg.prototype,"qVolEmb",void 0);JV([(0,QV.IsString)(),YV("design:type",String)],Pg.prototype,"uEmb",void 0);var Sn=require("class-validator");function An(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(An,"_ts_decorate");function Nn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nn,"_ts_metadata");var Xr=class{static{o(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpOp",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"chassi",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cCor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"xCor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pot",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cilin",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pesoL",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pesoB",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"nSerie",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpComb",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"nMotor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"CMT",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"dist",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"anoMod",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"anoFab",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpPint",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"espVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"VIN",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"condVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cMod",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cCorDENATRAN",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"lota",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpRest",void 0);var ej=require("class-validator");function $V(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($V,"_ts_decorate");function ZV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZV,"_ts_metadata");var _g=class{static{o(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};$V([(0,ej.IsString)(),ZV("design:type",String)],_g.prototype,"cProdANVISA",void 0);$V([(0,ej.IsString)(),ZV("design:type",String)],_g.prototype,"xMotivoIsencao",void 0);$V([$({fixed:2}),ZV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_g.prototype,"vPMC",void 0);var WA=require("class-validator");function cP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cP,"_ts_decorate");function lP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lP,"_ts_metadata");var Pd=class{static{o(this,"Arma")}tpArma;nSerie;nCano;descr};cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"tpArma",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"nSerie",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"nCano",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"descr",void 0);var yr=require("class-validator"),fP=require("class-transformer");function Tn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tn,"_ts_decorate");function In(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(In,"_ts_metadata");var wx=class{static{o(this,"OrigComb")}indImport;cUFOrig;pOrig};Tn([(0,yr.IsString)(),In("design:type",String)],wx.prototype,"indImport",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],wx.prototype,"cUFOrig",void 0);Tn([$({fixed:4}),(0,yr.Max)(100),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wx.prototype,"pOrig",void 0);var Cx=class{static{o(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Tn([$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"qBCProd",void 0);Tn([$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"vAliqProd",void 0);Tn([$({fixed:2}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"vCIDE",void 0);var _d=class{static{o(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nBico",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nBomba",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nTanque",void 0);Tn([$({fixed:3}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_d.prototype,"vEncIni",void 0);Tn([$({fixed:3}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_d.prototype,"vEncFin",void 0);var Es=class{static{o(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"cProdANP",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"descANP",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGLP",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGNn",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGNi",void 0);Tn([(0,yr.IsOptional)(),$({fixed:2}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"vPart",void 0);Tn([(0,yr.IsString)(),(0,yr.IsOptional)(),In("design:type",String)],Es.prototype,"CODIF",void 0);Tn([(0,yr.IsOptional)(),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"qTemp",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"UFCons",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)(),(0,fP.Type)(()=>Cx),In("design:type",typeof ICIDE>"u"?Object:ICIDE)],Es.prototype,"CIDE",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)(),(0,fP.Type)(()=>_d),In("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Es.prototype,"encerrante",void 0);Tn([(0,yr.IsOptional)(),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pBio",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)({each:!0}),(0,fP.Type)(()=>wx),(0,yr.ArrayMaxSize)(30),(0,yr.IsOptional)(),In("design:type",Array)],Es.prototype,"origComb",void 0);function Qt(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Qt,"_ts_decorate");function Zt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zt,"_ts_metadata");var Tt=class{static{o(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cEAN",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cBarra",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"xProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"NCM",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ArrayMaxSize)(8),(0,Je.IsString)({each:!0}),Zt("design:type",Array)],Tt.prototype,"NVE",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CEST",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"indEscala",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CNPJFab",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cBenef",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),Zt("design:type",Object)],Tt.prototype,"gCred",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"EXTIPI",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CFOP",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"uCom",void 0);Qt([$({fixed:4}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"qCom",void 0);Qt([$({fixed:10}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vUnCom",void 0);Qt([$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cEANTrib",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"uTrib",void 0);Qt([$({fixed:4}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"qTrib",void 0);Qt([$({fixed:10}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vUnTrib",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vFrete",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vSeg",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vDesc",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vOutro",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"indTot",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(100),(0,hl.Type)(()=>$i),Zt("design:type",Array)],Tt.prototype,"DI",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(500),(0,hl.Type)(()=>bx),Zt("design:type",Array)],Tt.prototype,"detExport",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"xPed",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nItemPed",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nFCI",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(500),(0,hl.Type)(()=>Yf),Zt("design:type",Array)],Tt.prototype,"rastro",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Ex),Zt("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],Tt.prototype,"infProdNFF",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Pg),Zt("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],Tt.prototype,"infProdEmb",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Xr),Zt("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],Tt.prototype,"veicProd",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>_g),Zt("design:type",typeof IMed>"u"?Object:IMed)],Tt.prototype,"med",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)({each:!0}),(0,hl.Type)(()=>Pd),(0,Je.ArrayMaxSize)(500),Zt("design:type",Array)],Tt.prototype,"arma",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Es),Zt("design:type",typeof IComb>"u"?Object:IComb)],Tt.prototype,"comb",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nRECOPI",void 0);Tt=Qt([Br({properties:["veicProd","med","arma","comb"]})],Tt);var ou=require("class-transformer"),en=require("class-validator");var ae=require("class-validator"),ts=require("class-transformer");function ve(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ve,"_ts_decorate");function Se(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Se,"_ts_metadata");var $f=class{static{o(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS};ve([(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"vICMS",void 0);var po=class{static{o(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],po.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],po.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],po.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],po.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSST",void 0);var dl=class{static{o(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS};ve([(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"vICMS",void 0);var Zf=class{static{o(this,"ICMS30")}orig;CST;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"vICMSST",void 0);var Fg=class{static{o(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};ve([(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fg.prototype,"vICMSDeson",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"motDesICMS",void 0);var tu=class{static{o(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};ve([(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),(0,ae.Max)(100),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pDif",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vICMSDif",void 0);var ep=class{static{o(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],ep.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],ep.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vICMSSTRet",void 0);var Ua=class{static{o(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vICMSST",void 0);var qa=class{static{o(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vICMSST",void 0);var es=class{static{o(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};ve([(0,ae.IsString)(),Se("design:type",String)],es.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],es.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pMVAST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pRedBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pBCOp",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"UFST",void 0);var tp=class{static{o(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],tp.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],tp.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vICMSSTRet",void 0);var Lg=class{static{o(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Lg.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Lg.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lg.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lg.prototype,"vCredICMSSN",void 0);var JA=class{static{o(this,"ICMSSN102")}orig;CSOSN};ve([(0,ae.IsString)(),Se("design:type",String)],JA.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],JA.prototype,"CSOSN",void 0);var Ju=class{static{o(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vCredICMSSN",void 0);var rp=class{static{o(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vICMSST",void 0);var np=class{static{o(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],np.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],np.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vICMSSTRet",void 0);var Hs=class{static{o(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vCredICMSSN",void 0);var xn=class{static{o(this,"ICMS")}ICMS00;ICMS10;ICMS20;ICMS30;ICMS40;ICMS51;ICMS60;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>$f),Se("design:type",typeof IICMS00>"u"?Object:IICMS00)],xn.prototype,"ICMS00",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>po),Se("design:type",typeof IICMS10>"u"?Object:IICMS10)],xn.prototype,"ICMS10",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>dl),Se("design:type",typeof IICMS20>"u"?Object:IICMS20)],xn.prototype,"ICMS20",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Zf),Se("design:type",typeof IICMS30>"u"?Object:IICMS30)],xn.prototype,"ICMS30",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Fg),Se("design:type",typeof IICMS40>"u"?Object:IICMS40)],xn.prototype,"ICMS40",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>tu),Se("design:type",typeof IICMS51>"u"?Object:IICMS51)],xn.prototype,"ICMS51",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>ep),Se("design:type",typeof IICMS60>"u"?Object:IICMS60)],xn.prototype,"ICMS60",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Ua),Se("design:type",typeof IICMS70>"u"?Object:IICMS70)],xn.prototype,"ICMS70",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>qa),Se("design:type",typeof IICMS90>"u"?Object:IICMS90)],xn.prototype,"ICMS90",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>es),Se("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],xn.prototype,"ICMSPart",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>tp),Se("design:type",typeof IICMSST>"u"?Object:IICMSST)],xn.prototype,"ICMSST",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Lg),Se("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],xn.prototype,"ICMSSN101",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>JA),Se("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],xn.prototype,"ICMSSN102",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Ju),Se("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],xn.prototype,"ICMSSN201",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>rp),Se("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],xn.prototype,"ICMSSN202",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>np),Se("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],xn.prototype,"ICMSSN500",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Hs),Se("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],xn.prototype,"ICMSSN900",void 0);xn=ve([Br({properties:["ICMS00","ICMS10","ICMS20","ICMS30","ICMS40","ICMS51","ICMS60","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],xn);var ln=require("class-validator"),tj=require("class-transformer");function ho(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ho,"_ts_decorate");function mo(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(mo,"_ts_metadata");var ip=class{static{o(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ho([(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"CST",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vBC",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"pIPI",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"qUnid",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vUnid",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vIPI",void 0);var pP=class{static{o(this,"IPINT")}CST};ho([(0,ln.IsString)(),mo("design:type",String)],pP.prototype,"CST",void 0);var ru=class{static{o(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"CNPJProd",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"cSelo",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"qSelo",void 0);ho([(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"cEnq",void 0);ho([(0,ln.IsOptional)(),(0,ln.ValidateNested)(),(0,tj.Type)(()=>ip),mo("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],ru.prototype,"IPITrib",void 0);ho([(0,ln.IsOptional)(),(0,ln.ValidateNested)(),(0,tj.Type)(()=>pP),mo("design:type",typeof IIPINT>"u"?Object:IIPINT)],ru.prototype,"IPINT",void 0);var gl=require("class-validator");function hP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hP,"_ts_decorate");function dP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dP,"_ts_metadata");var ml=class{static{o(this,"II")}vBC;vDespAdu;vII;vIOF};hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vBC",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vDespAdu",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vII",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vIOF",void 0);var It=require("class-validator"),YA=require("class-transformer");function Dn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Dn,"_ts_decorate");function Rn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Rn,"_ts_metadata");var sp=class{static{o(this,"PISAliq")}CST;vBC;pPIS;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],sp.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"vPIS",void 0);var ap=class{static{o(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"vPIS",void 0);var Ax=class{static{o(this,"PISNT")}CST};Dn([(0,It.IsString)(),Rn("design:type",String)],Ax.prototype,"CST",void 0);var Yu=class{static{o(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],Yu.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"vPIS",void 0);var vl=class{static{o(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>sp),Rn("design:type",typeof sp>"u"?Object:sp)],vl.prototype,"PISAliq",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>ap),Rn("design:type",typeof ap>"u"?Object:ap)],vl.prototype,"PISQtde",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>Ax),Rn("design:type",typeof Ax>"u"?Object:Ax)],vl.prototype,"PISNT",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>Yu),Rn("design:type",typeof Yu>"u"?Object:Yu)],vl.prototype,"PISOutr",void 0);var Qu=class{static{o(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],Qu.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"vPIS",void 0);var Dt=require("class-validator"),QA=require("class-transformer");function On(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(On,"_ts_decorate");function Bn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Bn,"_ts_metadata");var op=class{static{o(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],op.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"vCOFINS",void 0);var up=class{static{o(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"vCOFINS",void 0);var Nx=class{static{o(this,"COFINSNT")}CST};On([(0,Dt.IsString)(),Bn("design:type",String)],Nx.prototype,"CST",void 0);var $u=class{static{o(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],$u.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"vCOFINS",void 0);var yl=class{static{o(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>op),Bn("design:type",typeof op>"u"?Object:op)],yl.prototype,"COFINSAliq",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>up),Bn("design:type",typeof up>"u"?Object:up)],yl.prototype,"COFINSQtde",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>Nx),Bn("design:type",typeof Nx>"u"?Object:Nx)],yl.prototype,"COFINSNT",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>$u),Bn("design:type",typeof $u>"u"?Object:$u)],yl.prototype,"COFINSOutr",void 0);var Zu=class{static{o(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],Zu.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"vCOFINS",void 0);var Ha=require("class-validator");function Tx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tx,"_ts_decorate");function Ix(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ix,"_ts_metadata");var nu=class{static{o(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;cSitTrib};Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vBC",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vAliq",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vISSQN",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cMunFG",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cListServ",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cSitTrib",void 0);var di=require("class-validator");function cp(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cp,"_ts_decorate");function lp(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lp,"_ts_metadata");var aa=class{static{o(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vBCUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vBCFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSInter",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSInterPart",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vICMSUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vICMSUFRemet",void 0);var qn=require("class-validator");var Dx=require("class-validator");function xte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xte,"_ts_decorate");function bte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bte,"_ts_metadata");var Fd=class{static{o(this,"TransferenciaCredito")}vIBS;vCBS};xte([(0,Dx.IsOptional)(),(0,Dx.IsString)(),bte("design:type",String)],Fd.prototype,"vIBS",void 0);xte([(0,Dx.IsOptional)(),(0,Dx.IsString)(),bte("design:type",String)],Fd.prototype,"vCBS",void 0);var mP=require("class-validator");function rj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rj,"_ts_decorate");function nj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nj,"_ts_metadata");var fp=class{static{o(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"tpCredPresIBSZFM",void 0);rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"vCredPresIBSZFM",void 0);rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"competApur",void 0);var oa=require("class-validator"),ij=require("class-transformer");function xl(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xl,"_ts_decorate");function bl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bl,"_ts_metadata");var Ld=class{static{o(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"vCredPresCondSus",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"pCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"vCredPres",void 0);var kd=class{static{o(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"vCredPresCondSus",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"pCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"vCredPres",void 0);var Sl=class{static{o(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};xl([(0,oa.IsOptional)(),(0,oa.ValidateNested)(),(0,ij.Type)(()=>Ld),bl("design:type",typeof Ld>"u"?Object:Ld)],Sl.prototype,"gIBSCredPres",void 0);xl([(0,oa.IsOptional)(),(0,oa.ValidateNested)(),(0,ij.Type)(()=>kd),bl("design:type",typeof kd>"u"?Object:kd)],Sl.prototype,"gCBSCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Sl.prototype,"vBCCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Sl.prototype,"cCredPres",void 0);var sj=require("class-validator");function Ete(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ete,"_ts_decorate");function wte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wte,"_ts_metadata");var Vd=class{static{o(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};Ete([(0,sj.IsString)(),wte("design:type",String)],Vd.prototype,"vIBSEstCred",void 0);Ete([(0,sj.IsString)(),wte("design:type",String)],Vd.prototype,"vCBSEstCred",void 0);var gP=require("class-validator");function aj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(aj,"_ts_decorate");function oj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(oj,"_ts_metadata");var pp=class{static{o(this,"AjusteCompet")}competApur;vCBS;vIBS};aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"competApur",void 0);aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"vCBS",void 0);aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"vIBS",void 0);var ar=require("class-validator");function oi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(oi,"_ts_decorate");function ui(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ui,"_ts_metadata");var Zr=class{static{o(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vTotIBSMonoItem",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vTotCBSMonoItem",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBS",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBS",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMono",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMono",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMono",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBSReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBSReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBSRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBSRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoDif",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoDif",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"pDifIBS",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"pDifCBS",void 0);var go=require("class-validator");var hp=require("class-validator");function jd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jd,"_ts_decorate");function Md(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Md,"_ts_metadata");var za=class{static{o(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"CSTReg",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"cClassTribReg",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegIBSUF",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegIBSUF",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegIBSMun",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegIBSMun",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegCBS",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegCBS",void 0);var iN=require("class-transformer");var tc=require("class-validator"),vP=require("class-transformer");var Cte=require("class-validator");function xCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xCe,"_ts_decorate");function bCe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bCe,"_ts_metadata");var ua=class{static{o(this,"DevTrib")}vDevTrib};xCe([(0,Cte.IsString)(),bCe("design:type",String)],ua.prototype,"vDevTrib",void 0);var uj=require("class-validator");function Ate(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ate,"_ts_decorate");function Nte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nte,"_ts_metadata");var zs=class{static{o(this,"Dif")}pDif;vDif};Ate([(0,uj.IsString)(),Nte("design:type",String)],zs.prototype,"pDif",void 0);Ate([(0,uj.IsString)(),Nte("design:type",String)],zs.prototype,"vDif",void 0);var cj=require("class-validator");function Tte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tte,"_ts_decorate");function Ite(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ite,"_ts_metadata");var Ks=class{static{o(this,"Red")}pAliqEfet;pRedAliq};Tte([(0,cj.IsString)(),Ite("design:type",String)],Ks.prototype,"pAliqEfet",void 0);Tte([(0,cj.IsString)(),Ite("design:type",String)],Ks.prototype,"pRedAliq",void 0);function $A(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($A,"_ts_decorate");function ZA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZA,"_ts_metadata");var ec=class{static{o(this,"IBSMun")}pIBSMun;vIBSMun;gDevTrib;gDif;gRed};$A([(0,tc.IsString)(),ZA("design:type",String)],ec.prototype,"pIBSMun",void 0);$A([(0,tc.IsString)(),ZA("design:type",String)],ec.prototype,"vIBSMun",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>ua),ZA("design:type",typeof ua>"u"?Object:ua)],ec.prototype,"gDevTrib",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>zs),ZA("design:type",typeof zs>"u"?Object:zs)],ec.prototype,"gDif",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>Ks),ZA("design:type",typeof Ks>"u"?Object:Ks)],ec.prototype,"gRed",void 0);var nc=require("class-validator"),yP=require("class-transformer");function eN(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(eN,"_ts_decorate");function tN(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(tN,"_ts_metadata");var rc=class{static{o(this,"IBSUF")}pIBSUF;vIBSUF;gDevTrib;gDif;gRed};eN([(0,nc.IsString)(),tN("design:type",String)],rc.prototype,"pIBSUF",void 0);eN([(0,nc.IsString)(),tN("design:type",String)],rc.prototype,"vIBSUF",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>ua),tN("design:type",typeof ua>"u"?Object:ua)],rc.prototype,"gDevTrib",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>zs),tN("design:type",typeof zs>"u"?Object:zs)],rc.prototype,"gDif",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>Ks),tN("design:type",typeof Ks>"u"?Object:Ks)],rc.prototype,"gRed",void 0);var sc=require("class-validator"),SP=require("class-transformer");function rN(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rN,"_ts_decorate");function nN(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nN,"_ts_metadata");var ic=class{static{o(this,"CBS")}pCBS;vCBS;gDevTrib;gDif;gRed};rN([(0,sc.IsString)(),nN("design:type",String)],ic.prototype,"pCBS",void 0);rN([(0,sc.IsString)(),nN("design:type",String)],ic.prototype,"vCBS",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>ua),nN("design:type",typeof ua>"u"?Object:ua)],ic.prototype,"gDevTrib",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>zs),nN("design:type",typeof zs>"u"?Object:zs)],ic.prototype,"gDif",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>Ks),nN("design:type",typeof Ks>"u"?Object:Ks)],ic.prototype,"gRed",void 0);function Rx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Rx,"_ts_decorate");function Ox(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ox,"_ts_metadata");var iu=class{static{o(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Rx([(0,go.IsString)(),Ox("design:type",String)],iu.prototype,"vBC",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>rc),Ox("design:type",typeof rc>"u"?Object:rc)],iu.prototype,"gIBSUF",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>ec),Ox("design:type",typeof ec>"u"?Object:ec)],iu.prototype,"gIBSMun",void 0);Rx([(0,go.IsString)(),Ox("design:type",String)],iu.prototype,"vIBS",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>ic),Ox("design:type",typeof ic>"u"?Object:ic)],iu.prototype,"gCBS",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>za),Ox("design:type",typeof za>"u"?Object:za)],iu.prototype,"gTribRegular",void 0);var Ud=require("class-transformer");function El(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(El,"_ts_decorate");function wl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wl,"_ts_metadata");var Ri=class{static{o(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"CST",void 0);El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"cClassTrib",void 0);El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"indDoacao",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Fd),wl("design:type",typeof Fd>"u"?Object:Fd)],Ri.prototype,"gTransfCred",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>fp),wl("design:type",typeof fp>"u"?Object:fp)],Ri.prototype,"gCredPresIBSZFM",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Sl),wl("design:type",typeof Sl>"u"?Object:Sl)],Ri.prototype,"gCredPresOper",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>pp),wl("design:type",typeof pp>"u"?Object:pp)],Ri.prototype,"gAjusteCompet",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Vd),wl("design:type",typeof Vd>"u"?Object:Vd)],Ri.prototype,"gEstornoCred",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Zr),wl("design:type",typeof Zr>"u"?Object:Zr)],Ri.prototype,"gIBSCBSMono",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>iu),wl("design:type",typeof iu>"u"?Object:iu)],Ri.prototype,"gIBSCBS",void 0);var dp=require("class-validator");function qd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qd,"_ts_decorate");function Hd(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Hd,"_ts_metadata");var su=class{static{o(this,"IS")}cClassTrib;CSTIS;pISEspec;vBCIS;uTrib;qTrib;pIS;vIS};qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"cClassTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"CSTIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"pISEspec",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"vBCIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"uTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"qTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"pIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"vIS",void 0);function vo(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vo,"_ts_decorate");function au(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(au,"_ts_metadata");var mi=class{static{o(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IBSCBS;IS};vo([(0,en.IsOptional)(),(0,en.IsNumber)(),au("design:type",Number)],mi.prototype,"vTotTrib",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>xn),au("design:type",typeof IICMS>"u"?Object:IICMS)],mi.prototype,"ICMS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>ru),au("design:type",typeof IIPI>"u"?Object:IIPI)],mi.prototype,"IPI",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>nu),au("design:type",typeof IISSQN>"u"?Object:IISSQN)],mi.prototype,"ISSQN",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>ml),au("design:type",typeof III>"u"?Object:III)],mi.prototype,"II",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>vl),au("design:type",typeof IPIS>"u"?Object:IPIS)],mi.prototype,"PIS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Qu),au("design:type",typeof IPISST>"u"?Object:IPISST)],mi.prototype,"PISST",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>yl),au("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],mi.prototype,"COFINS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Zu),au("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],mi.prototype,"COFINSST",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>aa),au("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],mi.prototype,"ICMSUFDest",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Ri),au("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],mi.prototype,"IBSCBS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>su),au("design:type",typeof IIS>"u"?Object:IIS)],mi.prototype,"IS",void 0);mi=vo([Br({properties:["ICMS","ISSQN"]})],mi);var kg=require("class-validator"),Dte=require("class-transformer");function lj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lj,"_ts_decorate");function fj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fj,"_ts_metadata");var xP=class{static{o(this,"IpiDevol")}vIPIDevol};lj([(0,kg.IsString)(),fj("design:type",String)],xP.prototype,"vIPIDevol",void 0);var Bx=class{static{o(this,"Devol")}pDevol;IPI};lj([(0,kg.IsString)(),fj("design:type",String)],Bx.prototype,"pDevol",void 0);lj([(0,kg.IsOptional)(),(0,kg.ValidateNested)(),(0,Dte.Type)(()=>xP),fj("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Bx.prototype,"IPI",void 0);var mp=require("class-validator"),pj=require("class-transformer");function bP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(bP,"_ts_decorate");function EP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(EP,"_ts_metadata");var Px=class{static{o(this,"Observation")}xCampo;xTexto};bP([(0,mp.IsString)(),EP("design:type",String)],Px.prototype,"xCampo",void 0);bP([(0,mp.IsString)(),EP("design:type",String)],Px.prototype,"xTexto",void 0);var _x=class{static{o(this,"ObsItem")}obsCont;obsFisco};bP([(0,mp.IsOptional)(),(0,mp.ValidateNested)(),(0,pj.Type)(()=>Px),EP("design:type",typeof IObservation>"u"?Object:IObservation)],_x.prototype,"obsCont",void 0);bP([(0,mp.IsOptional)(),(0,mp.ValidateNested)(),(0,pj.Type)(()=>Px),EP("design:type",typeof IObservation>"u"?Object:IObservation)],_x.prototype,"obsFisco",void 0);function zd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zd,"_ts_decorate");function Kd(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kd,"_ts_metadata");var Fx=class{static{o(this,"DetAttributes")}nItem};zd([(0,ws.IsString)(),Kd("design:type",String)],Fx.prototype,"nItem",void 0);var ac=class{static{o(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};zd([(0,ws.IsObject)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Fx),Kd("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],ac.prototype,"$",void 0);zd([(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Tt),Kd("design:type",typeof IProd>"u"?Object:IProd)],ac.prototype,"prod",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>mi),Kd("design:type",typeof IImposto>"u"?Object:IImposto)],ac.prototype,"imposto",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Bx),Kd("design:type",typeof IDevol>"u"?Object:IDevol)],ac.prototype,"impostoDevol",void 0);zd([(0,ws.IsOptional)(),(0,ws.IsString)(),Kd("design:type",String)],ac.prototype,"infAdProd",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>_x),Kd("design:type",typeof IObsItem>"u"?Object:IObsItem)],ac.prototype,"obsItem",void 0);zd([(0,ws.IsOptional)(),$({fixed:2}),Kd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ac.prototype,"vItem",void 0);var As=require("class-validator");function oc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(oc,"_ts_decorate");function uc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(uc,"_ts_metadata");var Cs=class{static{o(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"CNPJ",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"xOrgao",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"matr",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"xAgente",void 0);oc([(0,As.IsOptional)(),(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"fone",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"UF",void 0);oc([(0,As.IsOptional)(),(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"nDAR",void 0);oc([(0,As.IsOptional)(),Df({format:"YYYY-MM-DD"}),uc("design:type",typeof Date>"u"?Object:Date)],Cs.prototype,"dEmi",void 0);oc([(0,As.IsOptional)(),$({fixed:2}),uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cs.prototype,"vDAR",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"repEmi",void 0);oc([(0,As.IsOptional)(),(0,As.IsDate)(),uc("design:type",typeof Date>"u"?Object:Date)],Cs.prototype,"dPag",void 0);var Rte=require("class-validator");function ECe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ECe,"_ts_decorate");function wCe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wCe,"_ts_metadata");var Vg=class{static{o(this,"InfSolicNFF")}xSolic};ECe([(0,Rte.IsString)(),wCe("design:type",String)],Vg.prototype,"xSolic",void 0);function Zn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zn,"_ts_decorate");function ei(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ei,"_ts_metadata");var jg=class{static{o(this,"InfNFeAttributes")}Id;versao};Zn([(0,gt.IsOptional)(),(0,gt.IsString)(),ei("design:type",String)],jg.prototype,"Id",void 0);Zn([(0,gt.IsOptional)(),(0,gt.IsString)(),ei("design:type",String)],jg.prototype,"versao",void 0);var pn=class{static{o(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,ci.Type)(()=>jg),(0,gt.ValidateNested)(),ei("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],pn.prototype,"$",void 0);Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Pr),ei("design:type",typeof IIde>"u"?Object:IIde)],pn.prototype,"ide",void 0);Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Yi),ei("design:type",typeof IEmit>"u"?Object:IEmit)],pn.prototype,"emit",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Cs),ei("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],pn.prototype,"avulsa",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Qi),ei("design:type",typeof IDest>"u"?Object:IDest)],pn.prototype,"dest",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>cn),ei("design:type",typeof ILocal>"u"?Object:ILocal)],pn.prototype,"retirada",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>cn),ei("design:type",typeof ILocal>"u"?Object:ILocal)],pn.prototype,"entrega",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)({each:!0}),(0,gt.ArrayMaxSize)(10),(0,ci.Type)(()=>sl),ei("design:type",Array)],pn.prototype,"autXML",void 0);Zn([(0,gt.ValidateNested)({each:!0}),(0,gt.ArrayMaxSize)(990),(0,gt.ArrayMinSize)(1),(0,ci.Type)(()=>ac),ei("design:type",Array)],pn.prototype,"det",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Gu),ei("design:type",typeof ITotal>"u"?Object:ITotal)],pn.prototype,"total",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Us),ei("design:type",typeof ITransp>"u"?Object:ITransp)],pn.prototype,"transp",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Dd),ei("design:type",typeof ICobr>"u"?Object:ICobr)],pn.prototype,"cobr",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Rd),ei("design:type",typeof IPag>"u"?Object:IPag)],pn.prototype,"pag",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>wd),ei("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],pn.prototype,"infIntermed",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Xu),ei("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],pn.prototype,"infAdic",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>kf),ei("design:type",typeof IExporta>"u"?Object:IExporta)],pn.prototype,"exporta",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Vf),ei("design:type",typeof ICompra>"u"?Object:ICompra)],pn.prototype,"compra",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>qs),ei("design:type",typeof ICana>"u"?Object:ICana)],pn.prototype,"cana",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Qo),ei("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],pn.prototype,"infRespTec",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Vg),ei("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],pn.prototype,"infSolicNFF",void 0);var hj=require("class-transformer");function wP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wP,"_ts_decorate");function CP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(CP,"_ts_metadata");var kx=class{static{o(this,"NFeAttributes")}xmlns};wP([(0,ca.IsString)(),(0,ca.IsNotEmpty)(),CP("design:type",String)],kx.prototype,"xmlns",void 0);var gp=class{static{o(this,"NFe")}$;infNFe;Signature};wP([(0,ca.IsObject)(),(0,ca.IsNotEmptyObject)(),(0,hj.Type)(()=>kx),(0,ca.ValidateNested)(),CP("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],gp.prototype,"$",void 0);wP([(0,ca.IsObject)(),(0,ca.IsNotEmptyObject)(),(0,hj.Type)(()=>pn),(0,ca.ValidateNested)(),CP("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],gp.prototype,"infNFe",void 0);wP([(0,ca.Allow)(),CP("design:type",typeof Signature>"u"?Object:Signature)],gp.prototype,"Signature",void 0);function yo(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yo,"_ts_decorate");function er(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(er,"_ts_metadata");var rs=class{static{o(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,t="PL_009_V4"){return new this(e,t)}constructor(e,t="PL_009_V4"){this.listener=e,this.schema=t}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this}icms(e){return this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this}issqn(e){return this.data.imposto??={},this.data.imposto.ISSQN=e,this}ii(e){return this.data.imposto??={},this.data.imposto.II=e,this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}ibscbs(e){return this.schema===Of.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Of.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.imposto(this.data.imposto);let e={...this.data};return this.data={},e}};yo([Et(Fx),er("design:type",Function),er("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),er("design:returntype",void 0)],rs.prototype,"det",null);yo([Et(Tt),er("design:type",Function),er("design:paramtypes",[typeof IProd>"u"?Object:IProd]),er("design:returntype",void 0)],rs.prototype,"prod",null);yo([Et(mi),er("design:type",Function),er("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),er("design:returntype",void 0)],rs.prototype,"imposto",null);yo([Et(xn),er("design:type",Function),er("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),er("design:returntype",void 0)],rs.prototype,"icms",null);yo([Et(nu),er("design:type",Function),er("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),er("design:returntype",void 0)],rs.prototype,"issqn",null);yo([Et(ml),er("design:type",Function),er("design:paramtypes",[typeof III>"u"?Object:III]),er("design:returntype",void 0)],rs.prototype,"ii",null);yo([Et(ru),er("design:type",Function),er("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),er("design:returntype",void 0)],rs.prototype,"ipi",null);yo([Et(vl),er("design:type",Function),er("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),er("design:returntype",void 0)],rs.prototype,"pis",null);yo([Et(Qu),er("design:type",Function),er("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),er("design:returntype",void 0)],rs.prototype,"pisst",null);yo([Et(yl),er("design:type",Function),er("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),er("design:returntype",void 0)],rs.prototype,"cofins",null);yo([Et(Zu),er("design:type",Function),er("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),er("design:returntype",void 0)],rs.prototype,"cofinsst",null);yo([Et(aa),er("design:type",Function),er("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),er("design:returntype",void 0)],rs.prototype,"icmsufdest",null);yo([Et(Ri),er("design:type",Function),er("design:paramtypes",[typeof Ri>"u"?Object:Ri]),er("design:returntype",void 0)],rs.prototype,"ibscbs",null);function Oi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Oi,"_ts_decorate");function ct(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ct,"_ts_metadata");var hn=class{static{o(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return gp}root="NFe";$det=new SA(this);$total=new xA(this);nfeDetXmlBuilder;static create(e,t,n="PL_009_V4"){return new this(e,t,n)}constructor(e,t,n="PL_009_V4"){this.builder=e,this.contingency=t,this.schema=n,this.nfeDetXmlBuilder=rs.create(this.$det,this.schema)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return this.data.infNFe.avulsa=e,this}dest(e){return this.data.infNFe.dest=e,this}retirada(e){return this.data.infNFe.retirada=e,this}entrega(e){return this.data.infNFe.entrega=e,this}autXML(e){return e==null?this:(this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),this)}det(e,t){return this.data.infNFe.det=e.map((n,i)=>{let s=t(this.nfeDetXmlBuilder.det({nItem:(i+1).toString()}),n);return this.collect(s),s.assemble()}),this}total(e){return this.data.infNFe.total=e,this}increment(e){let t=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...t.ICMSTot},ISSQNtot:t.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...t.ISSQNtot}:void 0},this.schema!==Of.PL_009_V4&&this.buildTotalForPL_010(t),this}buildTotalForPL_010(e){this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...this.data.infNFe.total.IBSCBSTot,gCBS:{...this.data.infNFe.total.IBSCBSTot?.gCBS},gIBS:{...this.data.infNFe.total.IBSCBSTot?.gIBS,gIBSMun:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSMun},gIBSUF:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSUF}},gMono:{...this.data.infNFe.total.IBSCBSTot?.gMono}},vNFTot:e.vNFTot}}transp(e){return this.data.infNFe.transp=e,this}cobr(e){return this.data.infNFe.cobr=e,this}pag(e){return this.data.infNFe.pag=e,this}infIntermed(e){return this.data.infNFe.infIntermed=e,this}infAdic(e){return this.data.infNFe.infAdic=e,this}exporta(e){return this.data.infNFe.exporta=e,this}compra(e){return this.data.infNFe.compra=e,this}cana(e){return this.data.infNFe.cana=e,this}infRespTec(e){return this.data.infNFe.infRespTec=e,this}infSolicNFF(e){return this.data.infNFe.infSolicNFF=e,this}quiet(){return Reflect.deleteMetadata(Xa,this),this}toObject(){if(this.$data!==void 0)return Bt(this.$data);let e=this.errors();return e?or(new Rt(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=ab(this.data,this.entity,{clearEmptyValues:!0}),Bt(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:Bt(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Be.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:t}=this.data.infNFe.ide;if(t!==Fs.Normal)return;switch(eP[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=Fs.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=Fs.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:t,tpEmis:n}=this.data.infNFe.ide;if(!(!e&&!t&&n===Fs.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:t??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Xa,this)}collect(e){let t=Reflect.getMetadata(Xa,e);if(!t)return;let n=this.errors();Reflect.defineMetadata(Xa,(n??[]).concat(t),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new yA().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};Oi([Et(jg),ct("design:type",Function),ct("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),ct("design:returntype",void 0)],hn.prototype,"infNFe",null);Oi([Et(Pr),ct("design:type",Function),ct("design:paramtypes",[typeof IIde>"u"?Object:IIde]),ct("design:returntype",void 0)],hn.prototype,"ide",null);Oi([Et(Yi),ct("design:type",Function),ct("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),ct("design:returntype",void 0)],hn.prototype,"emit",null);Oi([Et(Cs),ct("design:type",Function),ct("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),ct("design:returntype",void 0)],hn.prototype,"avulsa",null);Oi([Et(Qi),ct("design:type",Function),ct("design:paramtypes",[typeof IDest>"u"?Object:IDest]),ct("design:returntype",void 0)],hn.prototype,"dest",null);Oi([Et(cn),ct("design:type",Function),ct("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),ct("design:returntype",void 0)],hn.prototype,"retirada",null);Oi([Et(cn),ct("design:type",Function),ct("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),ct("design:returntype",void 0)],hn.prototype,"entrega",null);Oi([Et(sl),ct("design:type",Function),ct("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),ct("design:returntype",void 0)],hn.prototype,"autXML",null);Oi([Et(Gu),ct("design:type",Function),ct("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),ct("design:returntype",void 0)],hn.prototype,"total",null);Oi([Et(Us),ct("design:type",Function),ct("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),ct("design:returntype",void 0)],hn.prototype,"transp",null);Oi([Et(Dd),ct("design:type",Function),ct("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),ct("design:returntype",void 0)],hn.prototype,"cobr",null);Oi([Et(Rd),ct("design:type",Function),ct("design:paramtypes",[typeof IPag>"u"?Object:IPag]),ct("design:returntype",void 0)],hn.prototype,"pag",null);Oi([Et(wd),ct("design:type",Function),ct("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),ct("design:returntype",void 0)],hn.prototype,"infIntermed",null);Oi([Et(Xu),ct("design:type",Function),ct("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),ct("design:returntype",void 0)],hn.prototype,"infAdic",null);Oi([Et(kf),ct("design:type",Function),ct("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),ct("design:returntype",void 0)],hn.prototype,"exporta",null);Oi([Et(Vf),ct("design:type",Function),ct("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),ct("design:returntype",void 0)],hn.prototype,"compra",null);Oi([Et(qs),ct("design:type",Function),ct("design:paramtypes",[typeof ICana>"u"?Object:ICana]),ct("design:returntype",void 0)],hn.prototype,"cana",null);Oi([Et(Qo),ct("design:type",Function),ct("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),ct("design:returntype",void 0)],hn.prototype,"infRespTec",null);Oi([Et(Vg),ct("design:type",Function),ct("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),ct("design:returntype",void 0)],hn.prototype,"infSolicNFF",null);var sN=class extends QS{static{o(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=hn.create(this.toolkit);constructor(e,t="PL_009_V4"){super(e),this.certificate=e,this.schema=t}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return Ote.default.resolve(vA(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return Bt(e);let t=await this.signXmlString(e);return t.isLeft()?t:this.validateXmlString(t.value)}async signXmlString(e){if(!this.certificate)return Bt(e);let t=await this.certificates.read(this.certificate);return t.isLeft()?t:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},t.value)}async validateXmlString(e){let t=await this.toolkit.validate(e,this.nfeXsdSchema);return t.isLeft()?t:Bt(e)}};var TP=require("class-transformer"),Ka=require("class-validator");var dj=require("class-validator");function Bte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Bte,"_ts_decorate");function Pte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Pte,"_ts_metadata");var Vx=class{static{o(this,"InfNFeSupl")}qrCode;urlChave};Bte([(0,dj.IsString)(),Pte("design:type",String)],Vx.prototype,"qrCode",void 0);Bte([(0,dj.IsString)(),Pte("design:type",String)],Vx.prototype,"urlChave",void 0);function AP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(AP,"_ts_decorate");function NP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(NP,"_ts_metadata");var Cl=class{static{o(this,"NFCe")}$;infNFe;infNFeSupl;Signature};AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>kx),(0,Ka.ValidateNested)(),NP("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Cl.prototype,"$",void 0);AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>pn),(0,Ka.ValidateNested)(),NP("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Cl.prototype,"infNFe",void 0);AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>Vx),(0,Ka.ValidateNested)(),NP("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Cl.prototype,"infNFeSupl",void 0);AP([(0,Ka.Allow)(),NP("design:type",typeof Signature>"u"?Object:Signature)],Cl.prototype,"Signature",void 0);var aN=class extends hn{static{o(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Cl}static create(e,t,n="PL_009_V4"){return new this(e,t,n)}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===Fs.Normal)return this.data.infNFe.ide.tpEmis=Fs.OFFLINE,void 0}};var mj=class extends sN{static{o(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new ra(this.certificates);transmitter=new Ls(this.soap,this.nfceQrcode);constructor(e,t="PL_009_V4",n){super(e,t),this.options=n}builder=aN.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let t=await super.assertXmlSignedAndValidated(e);if(t.isLeft()||!this.options?.qrCode)return t;if(!this.certificate)return or(new Rt("Certificate is required to assemble NFCe XML with QR Code"));let n=t.value,i=await this.toolkit.parse(n),s=await this.generateQrCode(i,this.options,this.certificate);if(s.isLeft())return s;let a=await this.toolkit.build(s.value,{rootName:"infNFeSupl"}),u=this.toolkit.insertBefore(n,"Signature",a);return Bt(u)}async generateQrCode(e,t,n){let i=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),s={...t.qrCode};switch(s.version??=i.version,s.version){case"200":return await this.nfceQrcode.execute(e,{version:s.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url,CSC:s.CSC,CSCId:s.CSCId});case"300":{let a=await this.certificates.read(n);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:s.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url})}default:return Zd(s.version)}}};var _te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+aIGZzZc032C+YDGwEGMhspeBFgGLgIWGLRBaDCwyrF2oALQBBaBgUPAXk2EACB017O1bu1Z+uQHJDAQCgUDGBKehhekd3t8OzPMFPzCfqJBfDCzG7JeAhSYtBluEsRixEDQfrA2jHdEOtGG0ASCBK/Rj/NvqtMOS1g50dYxkkeZAIBAINI7gNDQZm3bvL4DNkzTfzOYDy4SWIZYB/wlYitlipKVEUYG5iLkY89zrxL+qOaEx2hNmtmrrmpWPTJf+QCAQCDQvwWloML3D+xaYcaGkc4D/DpwKLImaCFhIFP6fCXzP4NVbuzoONdqQQCAQCFRHcBoaSO/w/vlm3Ad2rqS4LwAmkMXR/hmk3SV01UBXx7Hac681uGLPxwH5vh9twDyMRSjqKwLMI2pSwmChoN3l2didXTd8tDFWBwKBwMS0NdqAWc4bEefK+W7xv4peLRX5nyHa5WZ8uHd4f99AV8dYhXnV1Fyx55Z2jOWGrZB0CvBfDZabsUxiCbDYYLGweaSdK6K+IELItS2ZjDmMHgKC0xAIBJqK4DQ0iN7h/QUzuxr5IsNXyi0uPqJxCDNLk3gv8K/A9mxysn5077mlXcapiNPATgO9HOw0jNMwW45UcKNKAB9oMcyiSIvbcJp3HCyKwlj06j/3C/rpwYYkMhAIBKYgOA0NwoylgnN8TdN3YJQTo4r6zNPACs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5jI3sZuPjchccju2Q9cUzBImCGYb+grmZEg3vmGBbFpw521paOHv+z+wAtxixCHgQNFPPZceeOmCpyhdJ024skTbfZK7GrtvJlrlCajjnfcrPQ1mI++9po7QUCJxtBaQickPz0lbefPeuU//gi6NKythBT8YFHP5VD6Vw5eRGh8rVTL9MQ+J3nLtw8ocJIgUAg8HoiuCcCJyQXn/XPLxv9AfhD0dE5V05M1JyySGRlV0X56GSSuOkYyPDtRkFhCAQCb2iCpSFwwjOwfeksSR+2uVFicdo9keBylsho558uglR2YUyNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var jx=class r{static{o(this,"Header")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:t,right:n}=this.builder.pageMargins(),i=e?.x??t,s=this.context.data.infNFe.emit,{enderEmit:a}=s,{xNome:u}=s,c=this.context.defaults.font,l=`${c}-Bold`,f="left";this.builder.row({left:i,right:n},p=>this.builder.text(this.identification(s),{...p,continued:!0,align:f}).font(l).text(` ${u}`,{...p,align:f}).font(c)).row({left:i,right:n},p=>this.builder.text(this.addressLine1(a),{...p,continued:!0,align:f}).text(this.addressLine2(a),{...p,continued:!0,align:f}).text(this.addressLine3(a),{...p,align:f})).row({left:i,right:n},p=>this.builder.text(this.addressLine4(a),{...p,align:f}))}identification(e){let t=this.cpfOrCnpj(e),n=e.IE.length?` IE: ${e.IE}`:"";return`${t}${n}`}cpfOrCnpj(e){let{CNPJ:t,CPF:n}=e;return t?.length===14?`CNPJ ${t.replace(/(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:t,nro:n}=e;return`${t}, ${n}`}addressLine2(e){let{xBairro:t}=e;return`, ${t}`}addressLine3(e){let{xMun:t,UF:n}=e;return`, ${t} - ${n}`}addressLine4(e){let{fone:t}=e;return t?`Fone: ${t.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:t}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:t},n=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...n,align:"center"})).row({left:e,right:t},n=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...n,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:t}=this.context.options;if(e)return e;if(!t)return _te}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){r._instance=void 0}};var vp=class r{static{o(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return`${this.constants.issuedInContingency}
|
|
124
|
-
${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==Fs.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.contingencyBannerText,{...n,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...n,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){this.setup();let e=[.5],{left:t,right:n}=this.builder.pageMargins(),i=this.builder.pageWidth()-t-n;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:i,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:i,align:"center"})),e.reduce((s,a)=>s+a,0)}};var Mx=class r{static{o(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==Be.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:t}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-t,align:"center"})}};var IP=class r{static{o(this,"Items")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:t,$:{nItem:n}}=e,{cProd:i,xProd:s,qCom:a,uCom:u,vUnCom:c,vDesc:l,vProd:f}=t,p={size:this.context.options.textFontSize},d={font:p,text:n.padStart(3,"0")},g={font:p,text:i},m=[{font:p,align:{x:"right"},text:`${this.context.currency(a,4)} ${u}`},{font:p,align:{x:"right"},text:this.context.currency(c,10)},{font:p,align:{x:"right"},text:this.context.currency(l??0)},{font:p,align:{x:"right"},text:this.context.currency(f)}],y=this.builder.widthOfString(i),v=this.columnStyles[1];if(y>=v)return[[d,{colSpan:6,font:p,text:`${i} ${s}`}],[{colSpan:3},...m]];let x=this.builder.widthOfString(s),w=this.columnStyles[2];if(x>=w)return[[d,g,{colSpan:5,font:p,text:s}],[{colSpan:3},...m]];let b=this.getFirstLineWidth();return this.builder.widthOfString(`${i} ${s}`)<=b?[[d,g,{font:p,text:s},...m]]:[[d,g,{colSpan:5,font:p,text:s}],[{colSpan:3},...m]]}items(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n}=this.builder.pageMargins();this.builder.table({position:{x:n},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...t.reduce((i,s)=>i.concat(this.item(s)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){r._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((t,n)=>t+n,0)}getProportionalWidth(){let{left:e,right:t}=this.builder.pageMargins(),n=this.builder.pageWidth()-e-t,i=this.columnStyles.reduce((a,u)=>typeof u=="number"?a+u:a,0),s=this.columnStyles.filter(a=>a==="*").length;return(n-i)/s}getAvailableWidth(e,t){if(e.colSpan){let s=t.indexOf(e),a=this.columnStyles.slice(0,s).reduce((c,l)=>typeof l=="number"?c+l:c,0),u=this.getProportionalWidth()*e.colSpan;return a+u}let n=t.indexOf(e),i=this.columnStyles[n];return typeof i=="number"?i:this.getProportionalWidth()}calculateRowHeight(e,t){let n=t;for(let i of e){if(!i.text)continue;let s=i.text,a=this.builder.widthOfString(s),u=this.getAvailableWidth(i,e),c=a<=u?t:this.builder.heightOfString(s,{width:u});n=Math.max(n,c)}return n}height(){this.setup();let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],n=this.builder.currentLineHeight(),i=n*1.2,s=n*.5,a=n*.5,u=t.reduce((l,f)=>{let p=this.item(f),[d]=p,g=this.calculateRowHeight(d,n),m=0;if(p.length>1){let b=this.calculateRowHeight(p[1],n);m=Math.max(n,b)}let{top:y,bottom:v}=this.defaultStyle.padding,x=y+v,w=p.length>1?n*.2:0;return l+g+m+p.length*x+w},0),c=n*2;return s+i+a+u+c}};var Ux=class r{static{o(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Qtde. Total de Itens",{...s}),s=>this.builder.text(`${t.length}`,{...s,align:"right"}))}totalizers(){let{vProd:e,vDesc:t,vFrete:n,vSeg:i,vOutro:s}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new Tr(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",t,"-"),this.conditionalRowValue("Frete total R$",n),this.conditionalRowValue("Seguro total R$",i),this.conditionalRowValue("Outras despesas total R$",s)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,t=this.context.defaults.font,n=`${t}-Bold`,{left:i,right:s}=this.builder.pageMargins();this.builder.font(n).fontSize(this.context.options.titleFontSize).row({columns:2,left:i,right:s},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(t)}conditionalRowValue(e,t,n=""){if(!t||!Number.parseFloat(t.toString()))return;t=this.context.currency(t);let{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${n}${t}`,{...a,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){r._instance=void 0}};var gi={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},Fte={[gi.Dinheiro]:"Dinheiro",[gi.Cheque]:"Cheque",[gi.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[gi.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[gi.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[gi.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[gi.ValeRefeicao]:"Vale Refei\xE7\xE3o",[gi.ValePresente]:"Vale Presente",[gi.ValeCombustivel]:"Vale Combust\xEDvel",[gi.BoletoBancario]:"Boleto Banc\xE1rio",[gi.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[gi.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[gi.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[gi.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[gi.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[gi.CreditoEmLoja]:"Cr\xE9dito em Loja",[gi.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[gi.SemPagamento]:"Sem pagamento",[gi.PagamentoPosterior]:"Pagamento Posterior",[gi.Outros]:"Outros"};var qx=class r{static{o(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:t,vPag:n}=e,{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(Fte[t],{...a,align:"left"}),a=>this.builder.text(this.context.currency(n),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,t=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(t.length===0)return;let{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Forma de Pagamento",{...s,align:"left"}),s=>this.builder.text("Valor pago R$",{...s,align:"right"})),t.forEach(s=>this.payment(s))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:t,right:n}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:t,right:n},i=>this.builder.text("Troco R$",{...i,align:"left"}),i=>this.builder.text(this.context.currency(e),{...i,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){r._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:t}}=this.context.data.infNFe,n=Array.isArray(t)?t:[t],i=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*n.length-1+i}};var Hx=class r{static{o(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:t}=this.builder.pageMargins(),n=this.context.defaults.font,i=`${n}-Bold`;this.builder.font(i).row({left:e,right:t},s=>this.builder.text("Consulte pela Chave de Acesso em",{...s,align:"center"})).font(n)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:t,right:n}=this.builder.pageMargins();this.builder.row({left:t,right:n},i=>this.builder.text(e??"",{...i,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let t=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:n,right:i}=this.builder.pageMargins();this.builder.row({left:n,right:i},s=>this.builder.text(t,{...s,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){r._instance=void 0}};var Kne=zt(zne(),1);var HP=class r{static{o(this,"QRCode")}context;static _instance;defaults={qrSize:65};qrCodeSvg;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}async getQrSvgString(e){try{return await Kne.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(t){return console.error("Error generating QR code:",t),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,t,n]=e.split(" ").map(Number),{qrSize:i}=this.defaults,s=i/t,a=i/n,u=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:c}=this.builder.pageMargins();this.builder.save().translate(c,this.builder.y()).scale(s,a),u.forEach(l=>{this.builder.path(l.$.d),l.$.fill&&this.builder.fill(l.$.fill),l.$.stroke&&this.builder.stroke(l.$.stroke)}),this.builder.restore()}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let t=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(t)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder}end(){r._instance=void 0}height(){return this.setup(),this.defaults.qrSize+.5}};var zP=class r{static{o(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:t,right:n}=this.builder.pageMargins(),i=this.context.defaults.font,s=`${i}-Bold`;this.builder.row({left:e?.x??t,right:n},a=>this.builder.font(s).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(i))}identification(e){let{CNPJ:t,CPF:n,idEstrangeiro:i}=e;return t?.length===14?`CNPJ: ${t.replace(/(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF: ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:i?.length?`Id. Estrangeiro: ${i}`:""}dest(e){let{dest:t}=this.context.data.infNFe;if(!t)return this.unknown(e);let{left:n,right:i}=this.builder.pageMargins(),s=this.identification(t),{xNome:a,enderDest:u}=t,c=this.addressLine(u),l=this.context.defaults.font,f=`${l}-Bold`;this.builder.row({left:e?.x??n,right:i},p=>this.builder.font(f).text(`CONSUMIDOR - ${s}`,{...p,align:"center"}).font(l)).row({left:e?.x??n,right:i},p=>this.builder.text(`${a}${c}`,{...p,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:t,nro:n,xBairro:i,xCpl:s,xMun:a,UF:u,CEP:c}=e;if(!t||!c)return"";let l=s?`, ${s}`:"";return` - Rua ${t}, ${n}, ${i}${l}, ${a} - ${u}`}addressLine2(e){let{xBairro:t,xCpl:n}=e,i=n?` - ${n}`:"";return`${t}${i}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){r._instance=void 0}height(){let{dest:e}=this.context.data.infNFe;if(!e)return 0;this.setup();let{xNome:t,enderDest:n}=e,i=this.addressLine(n),{left:s,right:a}=this.builder.pageMargins(),u=this.builder.pageWidth()-s-a;return this.builder.fontSize(this.context.options.textFontSize),this.builder.heightOfString(`${t}${i}`,{align:"center",width:u})}};var KP=class r{static{o(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let t=this.context.protNFe;return this.isProtocoled(t)?this.protocoled(t.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:t,serie:n,dhEmi:i}=this.context.data.infNFe.ide,s=t.padStart(9,"0"),a=n.padStart(3,"0"),{left:u,right:c}=this.builder.pageMargins(),{cUF:l}=this.context.data.infNFe.ide,f=QP[l],p=kp(i).tz(f).format("DD/MM/YYYY HH:mm:ss"),d=this.context.defaults.font,g=`${d}-Bold`;this.builder.row({left:e?.x??u,right:c},m=>this.builder.font(g).text(`NFC-e n\xBA ${s} - s\xE9rie ${a} emitida em: ${p}`,{...m,align:"center"}).font(d))}protocoled(e,t){let{dhRecbto:n,nProt:i}=e,{left:s,right:a}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,c=QP[u],l=i.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),f=kp(n).tz(c).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:t?.x??s,right:a},p=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${l}
|
|
123
|
+
`,"\r"," "].reduce((n,i)=>n.replace(i,""),e.replace(/(>)\s*(<)/gm,"$1$2"))}};var Kee=require("class-validator");var J5=o(r=>(e,t)=>{(0,Kee.registerDecorator)({name:"isDecimal",target:e.constructor,propertyName:t,options:r,validator:{validate(n){return n instanceof Tr?!0:typeof n=="string"||typeof n=="number"||typeof n=="bigint"},defaultMessage(n){return`${n.property} is not a valid Decimal value`}}})},"IsDecimal");var oKe=require("reflect-metadata"),Y5=require("class-validator");var JS=Symbol("choice"),YS=o(r=>r==null||r==="","isEmpty"),Br=o(r=>e=>{let{properties:t,required:n=!1,...i}=r,s=Reflect.getMetadata(JS,e)??[],a={properties:t,required:n};s.push(a),Reflect.defineMetadata(JS,s,e);for(let u of t)(0,Y5.registerDecorator)({name:"choice",target:e,propertyName:u,options:i,validator:{validate(c,l){let f=l.object,p=l.property,d=Reflect.getMetadata(JS,e);if(!d)return!0;let g=d.find(m=>m.properties.includes(p));if(!g||YS(c))return!0;for(let m of g.properties){if(m===p)continue;let y=f[m];if(!YS(y))return!1}for(let m of d)if(m!==g)for(let y of m.properties){let v=f[y];if(!YS(v))return!1}return!0},defaultMessage(c){let l=Reflect.getMetadata(JS,e);if(!l)return`${c.property} validation error`;let f=l.find(d=>d.properties.includes(c.property));if(!f)return`${c.property} validation error`;let p=c.object;for(let d of f.properties){let g=p[d];if(!YS(g)&&d!==c.property)return`${c.property} cannot be set because ${d} is already set. Only one property from this choice group is allowed.`}for(let d of l)if(d!==f)for(let g of d.properties){let m=p[g];if(!YS(m))return`${c.property} cannot be set because ${g} from a different choice group is already set.`}return`${c.property} validation error`}}});if(n)for(let u of t)(0,Y5.registerDecorator)({name:"choiceGroupRequired",target:e,propertyName:u,options:{...i,always:!0},validator:{validate(c,l){let f=l.object,p=Reflect.getMetadata(JS,e);if(!p)return!0;let d=p.find(g=>g.properties.includes(l.property));if(!d?.required)return!0;for(let g of d.properties){let m=f[g];if(!YS(m))return!0}return l.property!==d.properties[0]},defaultMessage(c){let l=Reflect.getMetadata(JS,e);if(!l)return"At least one property from a choice group must be provided";let f=l.find(p=>p.properties.includes(c.property));return f?`You must provide a value for one of the following properties: ${f.properties.join(", ")}`:"At least one property from a choice group must be provided"}}})},"Choice");var lKe=require("reflect-metadata");var Gee=require("class-transformer");var $=o(({fixed:r,...e}={fixed:2})=>(t,n)=>{J5(e)(t,n),(0,Gee.Transform)(({value:i})=>Tr.newOrUndefined(i)?.toFixed(r))(t,n)},"TransformDecimal");var Xee=require("class-transformer"),Wee=require("class-validator");var Df=o((r={})=>(e,t)=>{(0,Xee.Transform)(({value:n})=>{let i=n instanceof Date?n.toISOString():n;return i?kp(i).tz("America/Sao_Paulo").format(r.format):void 0})(e,t),(0,Wee.IsDateString)()(e,t)},"TransformDateString");var Q5=class{static{o(this,"StateCodeAcValidator")}execute(e){if(e=e.replace(/\D/g,""),!/^01\d{11}$/.test(e))return!1;let t=e.split("").map(Number),n=t.slice(0,11),i=t[11],s=t[12],a=[4,3,2,9,8,7,6,5,4,3,2],c=n.reduce((m,y,v)=>m+y*a[v],0)%11,l=c===0||c===1?0:11-c,f=[5,4,3,2,9,8,7,6,5,4,3,2],d=[...n,l].reduce((m,y,v)=>m+y*f[v],0)%11,g=d===0||d===1?0:11-d;return i===l&&s===g}};var $5=class{static{o(this,"StateCodeAlValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let a=i*10%11;return(a===10?0:a)===parseInt(t[8],10)}};var Z5=class{static{o(this,"StateCodeAmValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let a=0;a<8;a++)i+=parseInt(t[a],10)*n[a];let s;if(i<11)s=11-i;else{let a=i%11;s=a<=1?0:11-a}return s===parseInt(t[8],10)}};var eV=class{static{o(this,"StateCodeApValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("03"))return!1;let n=t.substring(0,8),i=parseInt(n,10),s,a;i>=3017001&&i<=3019022?(s=9,a=1):i>=3000001&&i<=3017e3?(s=5,a=0):(s=0,a=0);let u=[9,8,7,6,5,4,3,2],c=s;for(let p=0;p<8;p++)c+=parseInt(t[p],10)*u[p];let f=11-c%11;return f===10?f=0:f===11&&(f=a),f===parseInt(t[8],10)}};var tV=class{static{o(this,"StateCodeBaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8&&t.length!==9)return!1;let n=t.split("").map(y=>parseInt(y,10)),i=(t.length===8?n[0]:n[1])<=5||n[0]===8?10:11,s=t.length===8?[7,6,5,4,3,2]:[8,7,6,5,4,3,2],a=0;for(let y=0;y<s.length;y++)a+=n[y]*s[y];let u=a%i,c=i-u;(i===11&&u<=1||i===10&&u===0)&&(c=0);let f=(t.slice(0,t.length-2)+c.toString()).split("").map(y=>parseInt(y,10)),p=t.length===8?[8,7,6,5,4,3,2]:[9,8,7,6,5,4,3,2],d=0;for(let y=0;y<p.length;y++)d+=f[y]*p[y];let g=d%i,m=i-g;return(i===11&&g<=1||i===10&&g===0)&&(m=0),m===n[t.length-2]&&c===n[t.length-1]}};var rV=class{static{o(this,"StateCodeCeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var nV=class{static{o(this,"StateCodeDfValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13||!t.startsWith("07"))return!1;let n=t.slice(0,11).split("").map(Number),i=t.slice(11).split("").map(Number),s=[2,3,4,5,6,7,8,9],a=0;for(let p=10,d=0;p>=0;p--,d=(d+1)%s.length)a+=n[p]*s[d];let u=11-a%11;(u===10||u===11)&&(u=0);let c=n.concat([u]),l=0;for(let p=11,d=0;p>=0;p--,d=(d+1)%s.length)l+=c[p]*s[d];let f=11-l%11;return(f===10||f===11)&&(f=0),u===i[0]&&f===i[1]}};var iV=class{static{o(this,"StateCodeEsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<2?0:11-s)===parseInt(t[8],10)}};var sV=class{static{o(this,"StateCodeGoValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=parseInt(t.substring(0,2));if(!(n===10||n===11||n>=20&&n<=29))return!1;let i=[9,8,7,6,5,4,3,2],s=0;for(let c=0;c<8;c++)s+=parseInt(t[c],10)*i[c];let a=s%11;return(a===0||a===1?0:11-a)===parseInt(t[8],10)}};var aV=class{static{o(this,"StateCodeMaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("12"))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8],10)}};var oV=class{static{o(this,"StateCodeMgValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==13)return!1;let n=t.slice(0,11),i=n.slice(0,3)+"0"+n.slice(3),s=0;for(let g=0;g<12;g++){let m=g%2===0?1:2,y=(parseInt(i[g])*m).toString();s+=y.split("").reduce((v,x)=>v+parseInt(x),0)}let u=Math.ceil(s/10)*10-s,c=n+u.toString(),l=[3,2,11,10,9,8,7,6,5,4,3,2],f=0;for(let g=0;g<12;g++)f+=parseInt(c[g])*l[g];let p=f%11,d=p<2?0:11-p;return parseInt(t[11])===u&&parseInt(t[12])===d}};var uV=class{static{o(this,"StateCodeMsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!(t.startsWith("28")||t.startsWith("50")))return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let c=0;c<8;c++)i+=parseInt(t[c],10)*n[c];let s=i%11,a=11-s;return(s===0||a>9?0:a)===parseInt(t[8],10)}};var cV=class{static{o(this,"StateCodeMtValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=[3,2,9,8,7,6,5,4,3,2],i=0;for(let u=0;u<10;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[10],10)}};var lV=class{static{o(this,"StateCodePaValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let s=i%11;return(s===0||s===1?0:11-s)===parseInt(t[8])}};var fV=class{static{o(this,"StateCodePbValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8])}};var pV=class{static{o(this,"StateCodePeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=t.slice(0,7).split("").map(Number),i=[8,7,6,5,4,3,2],s=0;for(let g=0;g<7;g++)s+=n[g]*i[g];let a=s%11,u=a===0||a===1?0:11-a,c=[...n,u],l=[9,8,7,6,5,4,3,2],f=0;for(let g=0;g<8;g++)f+=c[g]*l[g];let p=f%11,d=p===0||p===1?0:11-p;return u===parseInt(t[7])&&d===parseInt(t[8])}};var hV=class{static{o(this,"StateCodePiValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var dV=class{static{o(this,"StateCodePrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=t.slice(0,8).split("").map(Number),i=[3,2,7,6,5,4,3,2],s=[4,3,2,7,6,5,4,3,2],a=0;for(let p=0;p<8;p++)a+=n[p]*i[p];let u=11-a%11;u>=10&&(u=0);let c=[...n,u],l=0;for(let p=0;p<9;p++)l+=c[p]*s[p];let f=11-l%11;return f>=10&&(f=0),u===parseInt(t[8])&&f===parseInt(t[9])}};var mV=class{static{o(this,"StateCodeRjValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==8)return!1;let n=[2,7,6,5,4,3,2],i=0;for(let u=0;u<7;u++)i+=parseInt(t[u],10)*n[u];let s=i%11;return(s<=1?0:11-s)===parseInt(t[7],10)}};var gV=class{static{o(this,"StateCodeRnValidator")}execute(e){let t=e.replace(/\D/g,"");if(!(t.length===9||t.length===10)||!t.startsWith("20"))return!1;let n=t.length===9?[9,8,7,6,5,4,3,2]:[10,9,8,7,6,5,4,3,2],i=t.slice(0,n.length).split("").map(Number),s=0;for(let l=0;l<n.length;l++)s+=i[l]*n[l];let u=s*10%11;return(u===10?0:u)===parseInt(t[t.length-1])}};var vV=class{static{o(this,"StateCodeRoValidator")}execute(e){let t=e.replace(/\D/g,""),n,i;if(t.length===9)n=t.slice(3,8).split("").map(Number),i=[6,5,4,3,2];else if(t.length===14)n=t.slice(0,13).split("").map(Number),i=[6,5,4,3,2,9,8,7,6,5,4,3,2];else return!1;let s=0;for(let c=0;c<i.length;c++)s+=n[c]*i[c];let u=11-s%11;return(u===10||u===11)&&(u-=10),u===parseInt(t[t.length-1])}};var yV=class{static{o(this,"StateCodeRrValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9||!t.startsWith("24"))return!1;let n=0;for(let s=0;s<8;s++)n+=(s+1)*parseInt(t[s],10);return n%9===parseInt(t[8],10)}};var SV=class{static{o(this,"StateCodeRsValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==10)return!1;let n=[2,9,8,7,6,5,4,3,2],i=0;for(let a=0;a<9;a++)i+=parseInt(t[a],10)*n[a];let s=11-i%11;return(s===10||s===11)&&(s=0),s===parseInt(t[9],10)}};var xV=class{static{o(this,"StateCodeScValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u],10)*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var bV=class{static{o(this,"StateCodeSeValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==9)return!1;let n=[9,8,7,6,5,4,3,2],i=0;for(let u=0;u<8;u++)i+=parseInt(t[u])*n[u];let a=11-i%11;return(a===10||a===11)&&(a=0),a===parseInt(t[8],10)}};var EV=class{static{o(this,"StateCodeSpValidator")}execute(e){let t=e;if(t.length!==12)return!1;let n=t.split("").map(Number),i=[1,3,4,5,6,7,8,10],s=0;for(let f=0;f<8;f++)s+=n[f]*i[f];let a=s%11%10,u=[3,2,10,9,8,7,6,5,4,3,2],c=0;for(let f=0;f<11;f++)c+=n[f]*u[f];let l=c%11%10;return a===n[8]&&l===n[11]}};var wV=class{static{o(this,"StateCodeToValidator")}execute(e){let t=e.replace(/\D/g,"");if(t.length!==11)return!1;let n=t.split(""),i=n.slice(0,2).concat(n.slice(4,10)).map(Number),s=[9,8,7,6,5,4,3,2],a=0;for(let l=0;l<s.length;l++)a+=i[l]*s[l];let u=a%11;return(u<2?0:11-u)===parseInt(t[10])}};var Fs=(function(r){return r.Normal="1",r.EPEC="4",r.SVCAN="6",r.SVCRS="7",r.OFFLINE="9",r})({});var Rf=(function(r){return r.Cancelamento="110111",r})({});var dCe={PL_009_V4:"PL_009_V4",PL_010_V1:"PL_010_V1",PL_010_V1_21:"PL_010_V1.21",PL_010_V1_30:"PL_010_V1.30"},vA=o(()=>{if(process.env.NFETS_NFE_SCHEMAS_DIR)return process.env.NFETS_NFE_SCHEMAS_DIR;try{return dv("packages/nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on packages/nfe/schemas")},"onNotFound")})}catch{return dv("nfe/schemas",{onFound:o(r=>r,"onFound"),onNotFound:o(()=>{throw new Error("Schemas not found on nfe/schemas")},"onNotFound")})}},"schemas"),Of=dCe;var yA=class{static{o(this,"AccessKeyBuilder")}compile(e){let t=e.cUF.toString().padStart(2,"0"),n=e.year.toString().padStart(2,"0"),i=e.month.toString().padStart(2,"0"),s=(e.identification??"").padStart(14,"0"),a=e.mod.toString().padStart(2,"0"),u=e.serie.toString().padStart(3,"0"),c=e.nNF.toString().padStart(9,"0"),l=e.tpEmis.toString().padStart(1,"0"),f=(e.cNF??this.code()).toString().padStart(8,"0"),p=`${t}${n}${i}${s}${a}${u}${c}${l}${f}`;return`${p}${this.verifyingDigit(p)}`}decompile(e){if(e.length!==44)return;let n=/^([0-9]{2})([0-9]{2})([0-9]{2})([A-Z0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!n)return;let[i,s,a,u,c,l,f,p,d,g,m]=n;return{cUF:s,year:a,month:u,identification:c,mod:l,serie:f,nNF:p,tpEmis:d,cNF:g,vd:m}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let t=[4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2,9,8,7,6,5,4,3,2],n=48,i=43,s=0;for(let u=0;u<i;u++){let c=e.charCodeAt(u)-n;s+=c*t[u]}return s%11<2?0:11-s%11}};var SA=class{static{o(this,"DefaultDetBuilderAggregator")}builder;constructor(e){this.builder=e}prod(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vProd:Tr.newOrZero(n?.vProd).add(e.vProd).toFixed(2),vFrete:Tr.newOrZero(n?.vFrete).add(e.vFrete??t).toFixed(2),vSeg:Tr.newOrZero(n?.vSeg).add(e.vSeg??t).toFixed(2),vDesc:Tr.newOrZero(n?.vDesc).add(e.vDesc??t).toFixed(2),vOutro:Tr.newOrZero(n?.vOutro).add(e.vOutro??t).toFixed(2)}}))}cofins(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vCOFINS:Tr.newOrZero(n?.vCOFINS).add(e.COFINSAliq?.vCOFINS??e.COFINSOutr?.vCOFINS??e.COFINSQtde?.vCOFINS??t).toFixed(2)}}))}pis(e){let t=Tr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vPIS:Tr.newOrZero(n?.vPIS).add(e.PISAliq?.vPIS??e.PISOutr?.vPIS??e.PISQtde?.vPIS??t).toFixed(2)}}))}icms(e){let t=Tr.from(0),[n]=Object.keys(e),i=e[n];this.builder.increment(({ICMSTot:s})=>({ICMSTot:{vBC:Tr.newOrZero(s?.vBC).add(i.vBC??t).toFixed(2),vICMS:Tr.newOrZero(s?.vICMS).add(i.vICMS??t).toFixed(2),vICMSDeson:Tr.newOrZero(s?.vICMSDeson).add(i.vICMSDeson??t).toFixed(2),vBCST:Tr.newOrZero(s?.vBCST).add(i.vBCST??t).toFixed(2),vST:Tr.newOrZero(s?.vST).add(i.vICMSST??t).toFixed(2)}}))}};var xA=class{static{o(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Tr.from(0),t=this.builder.schema===Of.PL_010_V1_30;this.builder.increment(({ICMSTot:n,ISSQNtot:i},s)=>({vNFTot:t?s.reduce((a,u)=>a.add(u?.vItem??"0.00"),e).toFixed(2):void 0,ICMSTot:{vNF:Tr.newOrZero(n?.vProd).sub(n?.vDesc??e).sub(n?.vICMSDeson??e).add(n?.vST??e).add(n?.vFCPST??e).add(n?.vFrete??e).add(n?.vSeg??e).add(n?.vOutro??e).add(n?.vII??e).add(n?.vIPI??e).add(n?.vIPIDevol??e).add(i?.vServ??e).toFixed(2)}}))}};var Jee={[Rf.Cancelamento]:{method:"envEventoCancNFe",version:"1.00",descEvento:"Cancelamento"}};var QS=class{static{o(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=ty.create();toolkit=new Eg;caching=new cb;certificates=new Ib(this.http,this.caching);soap=new BE(this.toolkit,this.certificates);signer=new nb(this.toolkit,this.certificates);xmlSigner=new ib(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(Xa,this)}};var rte=zt(require("path"),1);var Yee=require("class-transformer"),Lu=require("class-validator");function GB(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GB,"_ts_decorate");function AV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(AV,"_ts_metadata");var Ed=class{static{o(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};GB([(0,Lu.IsEnum)(Be),AV("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Ed.prototype,"tpAmb",void 0);GB([(0,Lu.IsEnum)(ce),AV("design:type",typeof StateCode>"u"?Object:StateCode)],Ed.prototype,"cUF",void 0);GB([(0,Lu.IsOptional)()],Ed.prototype,"xServ",void 0);var CV=class{static{o(this,"ConsultStatusRequest")}consStatServ};GB([(0,Lu.IsNotEmptyObject)(),(0,Lu.IsObject)(),(0,Lu.ValidateNested)(),(0,Yee.Type)(()=>Ed),AV("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],CV.prototype,"consStatServ",void 0);var WB=require("class-transformer"),qt=require("class-validator");function Ni(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ni,"_ts_decorate");function vs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(vs,"_ts_metadata");var XB=class{static{o(this,"InfInutAttributes")}Id};Ni([(0,qt.IsString)(),vs("design:type",String)],XB.prototype,"Id",void 0);var bA=class{static{o(this,"InutNFeAttributes")}xmlns;versao};Ni([(0,qt.IsString)(),vs("design:type",String)],bA.prototype,"xmlns",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],bA.prototype,"versao",void 0);var gs=class{static{o(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Ni([(0,qt.ValidateNested)(),(0,WB.Type)(()=>XB),vs("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],gs.prototype,"$",void 0);Ni([(0,qt.IsEnum)(Be),vs("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],gs.prototype,"tpAmb",void 0);Ni([(0,qt.IsOptional)()],gs.prototype,"xServ",void 0);Ni([(0,qt.IsEnum)(ce),vs("design:type",typeof StateCode>"u"?Object:StateCode)],gs.prototype,"cUF",void 0);Ni([(0,qt.IsString)(),(0,qt.Length)(2,2),(0,qt.Matches)(/^[0-9]{2}$/),vs("design:type",String)],gs.prototype,"ano",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],gs.prototype,"CNPJ",void 0);Ni([(0,qt.IsString)(),(0,qt.IsOptional)(),vs("design:type",String)],gs.prototype,"CPF",void 0);Ni([(0,qt.IsString)(),(0,qt.Length)(2,2),(0,qt.Matches)(/^(55|65)$/),vs("design:type",String)],gs.prototype,"mod",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,3}$/),vs("design:type",String)],gs.prototype,"serie",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,9}$/),vs("design:type",String)],gs.prototype,"nNFIni",void 0);Ni([(0,qt.IsString)(),(0,qt.Matches)(/^[0-9]{1,9}$/),vs("design:type",String)],gs.prototype,"nNFFin",void 0);Ni([(0,qt.IsString)(),(0,qt.MinLength)(15),(0,qt.MaxLength)(255),vs("design:type",String)],gs.prototype,"xJust",void 0);gs=Ni([Br({properties:["CNPJ","CPF"],required:!0})],gs);var Bf=class{static{o(this,"InutilizacaoPayload")}$;infInut;Signature};Ni([(0,qt.IsObject)(),(0,qt.ValidateNested)(),(0,WB.Type)(()=>bA),vs("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],Bf.prototype,"$",void 0);Ni([(0,qt.IsObject)(),(0,qt.ValidateNested)(),(0,WB.Type)(()=>gs),vs("design:type",typeof IInfInut>"u"?Object:IInfInut)],Bf.prototype,"infInut",void 0);Ni([(0,qt.Allow)(),vs("design:type",typeof Signature>"u"?Object:Signature)],Bf.prototype,"Signature",void 0);var tl=require("class-validator");function NV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(NV,"_ts_decorate");function Qee(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Qee,"_ts_metadata");var wg=class{static{o(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};NV([(0,tl.IsEnum)(Be),Qee("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],wg.prototype,"tpAmb",void 0);NV([(0,tl.IsOptional)()],wg.prototype,"xServ",void 0);NV([(0,tl.IsString)(),(0,tl.Length)(44,44),(0,tl.Matches)(/^[A-Z0-9]{44}$/),Qee("design:type",String)],wg.prototype,"chNFe",void 0);var oo=require("class-validator");function EA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(EA,"_ts_decorate");function JB(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(JB,"_ts_metadata");var Pf=class{static{o(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};EA([(0,oo.IsEnum)(Be),(0,oo.IsOptional)(),JB("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pf.prototype,"tpAmb",void 0);EA([(0,oo.IsEnum)(ce),(0,oo.IsOptional)(),JB("design:type",typeof StateCode>"u"?Object:StateCode)],Pf.prototype,"cUF",void 0);EA([(0,oo.IsString)(),(0,oo.IsOptional)(),JB("design:type",String)],Pf.prototype,"idLote",void 0);EA([(0,oo.IsOptional)(),(0,oo.IsEnum)(["0","1"])],Pf.prototype,"indSinc",void 0);EA([(0,oo.IsNotEmpty)(),JB("design:type",typeof T>"u"?Object:T)],Pf.prototype,"NFe",void 0);var YB=require("class-validator");function $ee(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($ee,"_ts_decorate");function Zee(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zee,"_ts_metadata");var $S=class{static{o(this,"RetAutorizacaoPayload")}tpAmb;nRec};$ee([(0,YB.IsEnum)(Be),Zee("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$S.prototype,"tpAmb",void 0);$ee([(0,YB.IsString)(),Zee("design:type",String)],$S.prototype,"nRec",void 0);var Dr=require("class-validator"),wA=require("class-transformer");function Ti(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ti,"_ts_decorate");function Ji(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ji,"_ts_metadata");var QB=class{static{o(this,"InfEventoAttributes")}Id};Ti([(0,Dr.IsString)(),Ji("design:type",String)],QB.prototype,"Id",void 0);var Wi=class{static{o(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>QB),Ji("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],Wi.prototype,"$",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",typeof StateCode>"u"?Object:StateCode)],Wi.prototype,"cOrgao",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Wi.prototype,"tpAmb",void 0);Ti([(0,Dr.IsString)(),(0,Dr.IsOptional)(),Ji("design:type",String)],Wi.prototype,"CNPJ",void 0);Ti([(0,Dr.IsString)(),(0,Dr.IsOptional)(),Ji("design:type",String)],Wi.prototype,"CPF",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",String)],Wi.prototype,"chNFe",void 0);Ti([Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Ji("design:type",String)],Wi.prototype,"dhEvento",void 0);Ti([(0,Dr.IsEnum)(Rf),Ji("design:type",typeof Rf>"u"?Object:Rf)],Wi.prototype,"tpEvento",void 0);Ti([(0,Dr.IsNumber)(),Ji("design:type",Number)],Wi.prototype,"nSeqEvento",void 0);Ti([(0,Dr.IsString)(),Ji("design:type",String)],Wi.prototype,"verEvento",void 0);Ti([(0,Dr.IsObject)(),Ji("design:type",typeof T>"u"?Object:T)],Wi.prototype,"detEvento",void 0);Wi=Ti([Br({properties:["CNPJ","CPF"],required:!0})],Wi);var $B=class{static{o(this,"EventoItemAttributes")}xmlns};Ti([(0,Dr.IsString)(),Ji("design:type",String)],$B.prototype,"xmlns",void 0);var rl=class{static{o(this,"EventoItem")}$;infEvento;Signature};Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>$B),Ji("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],rl.prototype,"$",void 0);Ti([(0,Dr.IsObject)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>Wi),Ji("design:type",typeof Wi>"u"?Object:Wi)],rl.prototype,"infEvento",void 0);Ti([(0,Dr.Allow)(),Ji("design:type",typeof Signature>"u"?Object:Signature)],rl.prototype,"Signature",void 0);var ZS=class{static{o(this,"EventoPayload")}idLote;evento};Ti([(0,Dr.IsString)(),Ji("design:type",String)],ZS.prototype,"idLote",void 0);Ti([(0,Dr.IsNotEmpty)(),(0,Dr.ValidateNested)(),(0,wA.Type)(()=>rl),Ji("design:type",typeof rl>"u"?Object:rl)],ZS.prototype,"evento",void 0);var Yo=require("class-validator");function ex(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ex,"_ts_decorate");function ZB(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZB,"_ts_metadata");var ku=class{static{o(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};ex([(0,Yo.IsOptional)()],ku.prototype,"xServ",void 0);ex([(0,Yo.IsString)(),(0,Yo.IsIn)(Object.values(YP)),ZB("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],ku.prototype,"UF",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"IE",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"CNPJ",void 0);ex([(0,Yo.IsOptional)(),(0,Yo.IsString)(),ZB("design:type",String)],ku.prototype,"CPF",void 0);ku=ex([Br({properties:["IE","CNPJ","CPF"],required:!0})],ku);var ete={AM:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.am.gov.br/services2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.am.gov.br/services2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},AN:{[Be.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[Be.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/CadConsultaCadastro4"}}},MG:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hom.nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ms.gov.br/ws/CadConsultaCadastro4"}}},MT:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeConsulta4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/NfeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/RecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.mt.gov.br/nfews/v2/services/CadConsultaCadastro4"}}},PE:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfestatusservico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeautorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeconsultaprotocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferetautorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.sp.gov.br/ws/nferecepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.sp.gov.br/ws/cadconsultacadastro4.asmx"}}},SVAN:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVRS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.sefazvirtual.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}}},SVCRS:{[Be.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00"}},[Be.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var mCe={[ce.AC]:"SVRS",[ce.AL]:"SVRS",[ce.AM]:"AM",[ce.AP]:"SVRS",[ce.BA]:"BA",[ce.CE]:"SVRS",[ce.DF]:"SVRS",[ce.ES]:"SVRS",[ce.GO]:"GO",[ce.MA]:"SVAN",[ce.MG]:"MG",[ce.MS]:"MS",[ce.MT]:"MT",[ce.PA]:"SVRS",[ce.PB]:"SVRS",[ce.PE]:"PE",[ce.PI]:"SVRS",[ce.PR]:"PR",[ce.RJ]:"SVRS",[ce.RN]:"SVRS",[ce.RO]:"SVRS",[ce.RR]:"SVRS",[ce.RS]:"RS",[ce.SC]:"SVRS",[ce.SE]:"SVRS",[ce.SP]:"SP",[ce.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},tte=mCe;var eP={[ce.AC]:"SVCAN",[ce.AL]:"SVCAN",[ce.AM]:"SVCRS",[ce.AP]:"SVCAN",[ce.BA]:"SVCRS",[ce.CE]:"SVCAN",[ce.DF]:"SVCAN",[ce.ES]:"SVCAN",[ce.GO]:"SVCRS",[ce.MA]:"SVCRS",[ce.MG]:"SVCAN",[ce.MS]:"SVCRS",[ce.MT]:"SVCRS",[ce.PA]:"SVCAN",[ce.PB]:"SVCAN",[ce.PE]:"SVCRS",[ce.PI]:"SVCAN",[ce.PR]:"SVCRS",[ce.RJ]:"SVCAN",[ce.RN]:"SVCAN",[ce.RO]:"SVCAN",[ce.RR]:"SVCAN",[ce.RS]:"SVCAN",[ce.SC]:"SVCAN",[ce.SE]:"SVCAN",[ce.SP]:"SVCAN",[ce.TO]:"SVCAN"};function Cg(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Cg,"_ts_decorate");function si(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(si,"_ts_metadata");var ka=class{static{o(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}options={};xmlns="http://www.portalfiscal.inf.br/nfe";configure(e){this.options={...this.options,...e};let{certificate:t}=this.options;return t&&this.remoteTransmissionRepository.setCertificate(t),this.options.schema??=Of.PL_009_V4,this}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=this.options.contingency?eP[t]:tte[t];return ete[i][n][e.service]}errors(){return Reflect.getMetadata(Xa,this)}validate(e){try{let t=this.errors();return t?or(new Rt(t.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),Bt(e))}finally{Reflect.deleteMetadata(Xa,this)}}ns(e,t){let n=e.$??{};return n.xmlns=this.xmlns,n.versao=t,{...e,$:n}}xsd(e){return rte.default.resolve(vA(),this.options.schema,e)}async consultStatus(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(n,i.version)},method:"nfeStatusServicoNF"})}async inutilizacao(e){let t=this.validate(e);if(t.isLeft())return t;let{cUF:n,tpAmb:i}=t.value.infInut,s=t.value,a=this.service({cUF:n,tpAmb:i,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(s,a.version)},method:"nfeInutilizacaoNF"})}async consultaProtocolo(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:n.chNFe.substring(0,2),tpAmb:n.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(n,i.version)},method:"nfeConsultaNF"})}async autorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(n,i.version)},method:"nfeAutorizacaoLote"})}async retAutorizacao(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({...n,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(n,i.version)},method:"nfeRetAutorizacaoLote"})}async recepcaoEvento(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({service:"RecepcaoEvento"});return n.evento=this.ns(n.evento,i.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(n,i.version)},method:"nfeRecepcaoEvento"})}async consultaCadastro(e){let t=this.validate(e);if(t.isLeft())return t;let n=t.value,i=this.service({cUF:ce[n.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(n,i.version)},method:"consultaCadastro"})}};Cg([Et(Ed),si("design:type",Function),si("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),si("design:returntype",Promise)],ka.prototype,"consultStatus",null);Cg([Et(Bf),si("design:type",Function),si("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"inutilizacao",null);Cg([Et(wg),si("design:type",Function),si("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),si("design:returntype",Promise)],ka.prototype,"consultaProtocolo",null);Cg([Et(Pf),si("design:type",Function),si("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"autorizacao",null);Cg([Et($S),si("design:type",Function),si("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),si("design:returntype",Promise)],ka.prototype,"retAutorizacao",null);Cg([Et(ZS),si("design:type",Function),si("design:paramtypes",[Object]),si("design:returntype",Promise)],ka.prototype,"recepcaoEvento",null);Cg([Et(ku),si("design:type",Function),si("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),si("design:returntype",Promise)],ka.prototype,"consultaCadastro",null);var Va=class extends QS{static{o(this,"TransmissionPipeline")}certificate;transmitter=new ka(this.soap);constructor(e){super(e),this.certificate=e}};function gCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(gCe,"_ts_decorate");function TV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(TV,"_ts_metadata");var CA=class extends Va{static{o(this,"EventPipeline")}async event(e,t,n){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let s=t.chNFe.slice(0,2);this.transmitter.configure({cUF:s,...n,certificate:i.value});let a=Jee[e],u=this.certificates.getCertificateInfo(i.value.certificate),{nSeqEvento:c,dhEvento:l,chNFe:f}=t,p=["ID",e,f,c.toString().padStart(2,"0")].join(""),d={$:{xmlns:this.xmlns},infEvento:{$:{Id:p},cOrgao:s,tpAmb:n.tpAmb,CNPJ:u.CNPJ,CPF:u.CPF,chNFe:f,dhEvento:l,tpEvento:e,nSeqEvento:c,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...t.detEvento}}},g=this.validated(d);return g.isLeft()?g:await this.signer.sign(g.value,{tag:"infEvento",mark:"Id"},i.value)}validated(e){let t=this.errors();return t?or(new Rt(t.join(", "))):Bt(e)}};gCe([Et(rl),TV("design:type",Function),TV("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),TV("design:returntype",void 0)],CA.prototype,"validated",null);var AA=class extends CA{static{o(this,"NfeCancelPipeline")}async execute(e,t){let n={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1},i=await this.event(Rf.Cancelamento,n,t);return i.isLeft()?i:await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:i.value})}};var tP=class extends Rt{static{o(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var nte=(function(r){return r.Autorizada="100",r.AutorizadaForaDoPrazo="150",r.UsoDenegado="110",r.NfeDenegada="205",r.DenegadaIrregularidadeEmissor="301",r.DenegadaIrregularidadeDestinatario="302",r.DenegadaNaoHabilitadaNaUf="303",r})({});var NA=class extends Va{static{o(this,"NfeAuthorizerPipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=await this.handleNfeBatch(n.value,e.xml);if(i.isLeft())return i;let[s]=i.value;this.transmitter.configure({cUF:s.infNFe.ide.cUF,tpAmb:s.infNFe.ide.tpAmb,...t,contingency:this.contingency(s),certificate:n.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:i.value});if(a.isLeft())return a;let u=a.value;return this.isSyncResponse(u)?Bt(await this.response(i.value,u)):await this.handleAsyncResponse(i.value,u)}async protocol(e,t){let{cStat:n}=t.infProt;if(!Object.values(nte).includes(n))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let i={NFe:e,protNFe:t,$:{xmlns:this.xmlns,versao:t.$.versao}};return await this.toolkit.build(i,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,t){let n=Array.isArray(t.retEnviNFe.protNFe)?t.retEnviNFe.protNFe:[t.retEnviNFe.protNFe],i=await Promise.all(e.map((s,a)=>this.protocol(s,n[a])));return i.length>1?{xml:i,response:t}:{xml:i[0],response:t}}async signNfe(e,t){return this.signer.sign(t,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,t){if(!Array.isArray(t)){let i=await this.toolkit.parse(t),s=await this.signNfe(e,i);return s.isLeft()?or(s.value):Bt([s.value])}let n=await Promise.all(t.map(async i=>this.signNfe(e,await this.toolkit.parse(i))));return n.some(i=>i.isLeft())?or(new Rt("Failed to sign a NFe in batch")):Bt(n.filter(i=>i.isRight()).map(i=>i.value))}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}async handleAsyncResponse(e,t){let{tpAmb:n,infRec:{nRec:i}}=t.retEnviNFe,s=1;for(;s<=3;)try{await new Promise(c=>setTimeout(c,1e3));let a=await this.transmitter.retAutorizacao({nRec:i,tpAmb:n});if(a.isLeft())continue;let u=a.value.retConsReciNFe.protNFe;if(!u||Array.isArray(u)&&u.length===0)continue;return Bt(await this.response(e,{retEnviNFe:{...a.value.retConsReciNFe,protNFe:u}}))}finally{s++}return or(new tP)}contingency(e){let{dhCont:t,xJust:n,tpEmis:i}=e.infNFe.ide;if(!(!t||!n||i===Fs.Normal))return{dhCont:t,xJust:n}}};function vCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vCe,"_ts_decorate");function IV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(IV,"_ts_metadata");var tx=class extends Va{static{o(this,"NfeVoidRangePipeline")}async execute(e,t){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=this.certificates.getCertificateInfo(n.value.certificate);this.transmitter.configure({...t,certificate:n.value});let s=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",t.cUF,s,i.CNPJ?.padStart(14,"0")??"",e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),u={$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??t.tpAmb,cUF:t.cUF,ano:s,CNPJ:i.CNPJ,CPF:i.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},c=this.validated(u);if(c.isLeft())return c;let l=await this.signer.sign(c.value,{tag:"infInut",mark:"Id"},n.value);return l.isLeft()?l:await this.transmitter.inutilizacao(l.value)}validated(e){let t=this.errors();return t?or(new Rt(t.join(", "))):Bt(e)}};vCe([Et(Bf),IV("design:type",Function),IV("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),IV("design:returntype",void 0)],tx.prototype,"validated",null);var TA=class extends Va{static{o(this,"NfeConsultStatusPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({...e,certificate:t.value}),await this.transmitter.consultStatus(e))}};var IA=class extends Va{static{o(this,"NfeConsultProtocoloPipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:t.value}),await this.transmitter.consultaProtocolo(e))}};var DV=class extends Va{static{o(this,"NfeAuthorizationResponsePipeline")}async execute(e){let t=await this.certificates.read(this.certificate);return t.isLeft()?t:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:t.value}),this.transmitter.retAutorizacao(e))}};var ite=zt(require("crypto"),1);var ra=class{static{o(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,t){let n=await this.content(e,t);return n.isLeft()?n:Bt(this.assemble(n.value,t))}async content(e,t){return this.isVersion200(t)?await this.execute200(e,t):this.isVersion300(t)?await this.execute300(e,t):Zd(t)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,t){return{qrCode:e,urlChave:t.urlConsult}}getSequence(e,t){let{version:n,CSCId:i}=t,s=e.infNFe.ide.tpAmb,a=Number.parseInt(i),u=e.infNFe.$.Id?.substring(3),c=Number.parseInt(n??"")/100;if(e.infNFe.ide.tpEmis!==Fs.OFFLINE)return`${u}|${c}|${s}|${a}`;let f=e.Signature.SignedInfo.Reference.DigestValue.split("").map(g=>g.charCodeAt(0).toString(16).padStart(2,"0")).join(""),p=new Date(e.infNFe.ide.dhEmi).getDate(),d=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${u}|${c}|${s}|${p}|${d}|${f}|${a}`}async execute200(e,t){let{urlService:n,CSC:i}=t,s=this.getSequence(e,t),a=ite.default.createHash("sha1").update(`${s}${i}`).digest("hex").toUpperCase(),u=`${n}?p=`;return Promise.resolve(Bt(`${u}${s}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:t,CNPJ:n,idEstrangeiro:i}=e,s=t?t.replace(/\D/g,""):n?n.replace(/[^A-Z0-9]/g,""):i?.replace(/\D/g,"");return s?s.length===11?{tipo:"1",documento:s}:s.length===14?{tipo:"2",documento:s}:i&&s.length>=3&&s.length<=14?{tipo:"3",documento:s}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,t){let{urlService:n}=t,i=`${n}?p=`,s=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),u=Number.parseInt(t.version)/100;if(e.infNFe.ide.tpEmis!==Fs.OFFLINE)return Bt(`${i}${a}|${u}|${s}`);let c=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),l=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:f,documento:p}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),d=`${a}|${u}|${s}|${c}|${l}|${f}|${p}`,g=await this.certificateRepository.sign(d,t.certificate,pu.SHA1);return g.isLeft()?g:Bt(`${i}${d}|${g.value}`)}};var RV={AC:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://sistemas.sefaz.am.gov.br/nfceweb-hom/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homnfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sistemas.sefaz.am.gov.br/nfceweb/consultarNFCe.jsp"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfce.sefaz.am.gov.br/nfce-services/services/CscNFCe"}}},AP:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://homolog.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://nfewebhomolog.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/NFeRecepcaoEvento4"},CscNFCe:{method:"admCscNFCe",operation:"CscNFCe",version:"1.00",url:"https://nfe.sefaz.go.gov.br/nfe/services/v2/CscNFCe"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://nfeweb.sefaz.go.gov.br/nfeweb/sites/nfce/danfeNFCe"}}},MA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.mg.gov.br/nfce/services/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://portalsped.fazenda.mg.gov.br/portalnfce/sistema/qrcode.xhtml"}}},MT:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeConsulta4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/NfeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.mt.gov.br/nfcews/services/RecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.mt.gov.br/nfce/consultanfce"}}},MS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom.nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefaz.ms.gov.br/ws/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.dfe.ms.gov.br/nfce/qrcode"}}},PA:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rs.gov.br/NFCE/NFCE-COM.aspx"}}},SC:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[Be.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[Be.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[Be.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}},[Be.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"}}},SVAN:{[Be.Homolog]:{},[Be.Production]:{}}};var ste={[Be.Homolog]:{[ce.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[ce.AL]:"www.sefaz.al.gov.br/nfce/consulta",[ce.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[ce.AM]:"www.sefaz.am.gov.br/nfce/consulta",[ce.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[ce.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[ce.DF]:"www.fazenda.df.gov.br/nfce/consulta",[ce.ES]:"www.sefaz.es.gov.br/nfce/consulta",[ce.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[ce.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[ce.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[ce.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[ce.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[ce.PA]:"www.sefa.pa.gov.br/nfce/consulta",[ce.PB]:"www.sefaz.pb.gov.br/nfcehom",[ce.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[ce.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[ce.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[ce.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[ce.RN]:"www.set.rn.gov.br/nfce/consulta",[ce.RO]:"www.sefin.ro.gov.br/nfce/consulta",[ce.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[ce.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[ce.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[ce.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[ce.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[ce.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[Be.Production]:{[ce.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[ce.AL]:"www.sefaz.al.gov.br/nfce/consulta",[ce.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[ce.AM]:"www.sefaz.am.gov.br/nfce/consulta",[ce.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[ce.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[ce.DF]:"www.fazenda.df.gov.br/nfce/consulta",[ce.ES]:"www.sefaz.es.gov.br/nfce/consulta",[ce.GO]:"www.sefaz.go.gov.br/nfce/consulta",[ce.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[ce.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[ce.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[ce.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[ce.PA]:"www.sefa.pa.gov.br/nfce/consulta",[ce.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[ce.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[ce.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[ce.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[ce.RN]:"www.set.rn.gov.br/nfce/consulta",[ce.RO]:"www.sefin.ro.gov.br/nfce/consulta",[ce.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[ce.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[ce.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[ce.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[ce.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[ce.TO]:"www.sefaz.to.gov.br/nfce/consulta",[ce.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var yCe={[ce.AC]:"SVRS",[ce.AL]:"SVRS",[ce.AM]:"AM",[ce.AP]:"SVRS",[ce.BA]:"SVRS",[ce.CE]:"SVRS",[ce.DF]:"SVRS",[ce.ES]:"SVRS",[ce.GO]:"GO",[ce.MA]:"SVRS",[ce.MG]:"MG",[ce.MS]:"MS",[ce.MT]:"MT",[ce.PA]:"SVRS",[ce.PB]:"SVRS",[ce.PE]:"SVRS",[ce.PI]:"SVRS",[ce.PR]:"PR",[ce.RJ]:"SVRS",[ce.RN]:"SVRS",[ce.RO]:"SVRS",[ce.RR]:"SVRS",[ce.RS]:"RS",[ce.SC]:"SVRS",[ce.SE]:"SVRS",[ce.SP]:"SP",[ce.TO]:"SVRS",SVRS:"SVRS"},ate=yCe;var uo=require("class-validator");function DA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(DA,"_ts_decorate");function rP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(rP,"_ts_metadata");var _f=class{static{o(this,"NfceAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};DA([(0,uo.IsEnum)(Be),(0,uo.IsOptional)(),rP("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],_f.prototype,"tpAmb",void 0);DA([(0,uo.IsEnum)(ce),(0,uo.IsOptional)(),rP("design:type",typeof StateCode>"u"?Object:StateCode)],_f.prototype,"cUF",void 0);DA([(0,uo.IsString)(),(0,uo.IsOptional)(),rP("design:type",String)],_f.prototype,"idLote",void 0);DA([(0,uo.IsOptional)(),(0,uo.IsEnum)(["0","1"])],_f.prototype,"indSinc",void 0);DA([(0,uo.IsNotEmpty)(),rP("design:type",typeof T>"u"?Object:T)],_f.prototype,"NFe",void 0);function SCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(SCe,"_ts_decorate");function OV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(OV,"_ts_metadata");var Ls=class extends ka{static{o(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={};constructor(e,t){super(e),this.remoteTransmissionRepository=e,this.qrCode=t}configure(e){return super.configure(e)}service(e){let t=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=ate[t],u=RV[i][n][e.service];if(u)return u;let c=Object.keys(ce).find(l=>ce[l]===t);return RV[c][n][e.service]}getUrlConsult(e){let t=e.infNFe.ide.cUF,n=e.infNFe.ide.tpAmb;return ste[n][t]}async autorizacao(e){return super.autorizacao(e)}};SCe([Et(_f),OV("design:type",Function),OV("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),OV("design:returntype",Promise)],Ls.prototype,"autorizacao",null);var BV=class extends AA{static{o(this,"NfceCancelPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var PV=class extends NA{static{o(this,"NfceAuthorizerPipeline")}certificate;qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var _V=class extends tx{static{o(this,"NfceVoidRangePipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var FV=class extends TA{static{o(this,"NfceConsultStatusPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var LV=class extends IA{static{o(this,"NfceConsultProtocoloPipeline")}qrCode=new ra(this.certificates);transmitter=new Ls(this.soap,this.qrCode)};var Ote=zt(require("path"),1);var ca=require("class-validator");var gt=require("class-validator"),ci=require("class-transformer");var nt=require("class-validator"),RA=require("class-transformer");function At(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(At,"_ts_decorate");function Nt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nt,"_ts_metadata");var Ff=class{static{o(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"AAMM",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"CNPJ",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Ff.prototype,"nNF",void 0);var co=class{static{o(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"AAMM",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"CNPJ",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"CPF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"IE",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],co.prototype,"nNF",void 0);co=At([Br({properties:["CNPJ","CPF"],required:!0})],co);var rx=class{static{o(this,"RefECF")}mod;nECF;nCOO};At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"nECF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],rx.prototype,"nCOO",void 0);var Lf=class{static{o(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refNFe",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refNFeSig",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>Ff),Nt("design:type",typeof IRefNF>"u"?Object:IRefNF)],Lf.prototype,"refNF",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>co),Nt("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],Lf.prototype,"refNFP",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Lf.prototype,"refCTe",void 0);At([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,RA.Type)(()=>rx),Nt("design:type",typeof IRefECF>"u"?Object:IRefECF)],Lf.prototype,"refECF",void 0);var Pr=class{static{o(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};At([(0,nt.IsEnum)(ce),Nt("design:type",typeof StateCode>"u"?Object:StateCode)],Pr.prototype,"cUF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"cNF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"natOp",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"mod",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"serie",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"nNF",void 0);At([Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhEmi",void 0);At([(0,nt.IsOptional)(),Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhSaiEnt",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"tpNF",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"idDest",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"cMunFG",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"tpImp",void 0);At([(0,nt.IsString)(),Nt("design:type",typeof TpEmis>"u"?Object:TpEmis)],Pr.prototype,"tpEmis",void 0);At([(0,nt.IsString)(),(0,nt.IsOptional)(),Nt("design:type",String)],Pr.prototype,"cDV",void 0);At([(0,nt.IsString)(),Nt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Pr.prototype,"tpAmb",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"finNFe",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indFinal",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indPres",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"indIntermed",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"procEmi",void 0);At([(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"verProc",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Df({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),Nt("design:type",String)],Pr.prototype,"dhCont",void 0);At([(0,nt.IsOptional)(),(0,nt.IsString)(),Nt("design:type",String)],Pr.prototype,"xJust",void 0);At([(0,nt.IsOptional)(),(0,nt.IsArray)(),(0,nt.ArrayMaxSize)(999),(0,nt.ValidateNested)({each:!0}),(0,RA.Type)(()=>Lf),Nt("design:type",Array)],Pr.prototype,"NFref",void 0);var Ii=require("class-validator");var ote=require("class-transformer");var Ss=require("class-validator");function Vu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Vu,"_ts_decorate");function ju(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ju,"_ts_metadata");var ys=class{static{o(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xLgr",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"nro",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xCpl",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xBairro",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"cMun",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xMun",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"UF",void 0);Vu([(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"CEP",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"cPais",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"xPais",void 0);Vu([(0,Ss.IsOptional)(),(0,Ss.IsString)(),ju("design:type",String)],ys.prototype,"fone",void 0);function Mu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mu,"_ts_decorate");function nl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nl,"_ts_metadata");var Yi=class{static{o(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CNPJ",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CPF",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"xNome",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"xFant",void 0);Mu([(0,Ii.ValidateNested)(),(0,ote.Type)(()=>ys),nl("design:type",typeof ys>"u"?Object:ys)],Yi.prototype,"enderEmit",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IE",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IEST",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"IM",void 0);Mu([(0,Ii.IsOptional)(),(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CNAE",void 0);Mu([(0,Ii.IsString)(),nl("design:type",String)],Yi.prototype,"CRT",void 0);Yi=Mu([Br({properties:["CNPJ","CPF"],required:!0})],Yi);var $n=require("class-validator"),ute=require("class-transformer");var Cn=require("class-validator");function Uu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Uu,"_ts_decorate");function qu(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(qu,"_ts_metadata");var na=class{static{o(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xLgr",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"nro",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xCpl",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xBairro",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"cMun",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xMun",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"UF",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"CEP",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"cPais",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"xPais",void 0);Uu([(0,Cn.IsOptional)(),(0,Cn.IsString)(),qu("design:type",String)],na.prototype,"fone",void 0);function Hu(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hu,"_ts_decorate");function il(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(il,"_ts_metadata");var Qi=class{static{o(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"CNPJ",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"CPF",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"idEstrangeiro",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"xNome",void 0);Hu([(0,$n.IsOptional)(),(0,$n.ValidateNested)(),(0,ute.Type)(()=>na),il("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Qi.prototype,"enderDest",void 0);Hu([(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"indIEDest",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"IE",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"ISUF",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"IM",void 0);Hu([(0,$n.IsOptional)(),(0,$n.IsString)(),il("design:type",String)],Qi.prototype,"email",void 0);Qi=Hu([Br({properties:["CNPJ","CPF"],required:!0})],Qi);var Gr=require("class-validator");function xs(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xs,"_ts_decorate");function ks(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ks,"_ts_metadata");var cn=class{static{o(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CNPJ",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CPF",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xNome",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xLgr",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"nro",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xCpl",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xBairro",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"cMun",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xMun",void 0);xs([(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"UF",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"CEP",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"cPais",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"xPais",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"fone",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"email",void 0);xs([(0,Gr.IsOptional)(),(0,Gr.IsString)(),ks("design:type",String)],cn.prototype,"IE",void 0);cn=xs([Br({properties:["CNPJ","CPF"]})],cn);var nx=require("class-validator");function kV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(kV,"_ts_decorate");function cte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(cte,"_ts_metadata");var sl=class{static{o(this,"AutXML")}CNPJ;CPF};kV([(0,nx.IsOptional)(),(0,nx.IsString)(),cte("design:type",String)],sl.prototype,"CNPJ",void 0);kV([(0,nx.IsOptional)(),(0,nx.IsString)(),cte("design:type",String)],sl.prototype,"CPF",void 0);sl=kV([Br({properties:["CNPJ","CPF"]})],sl);var OA=require("class-validator");function lte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lte,"_ts_decorate");function fte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fte,"_ts_metadata");var wd=class{static{o(this,"InfIntermed")}CNPJ;idCadIntTran};lte([(0,OA.IsString)(),fte("design:type",String)],wd.prototype,"CNPJ",void 0);lte([(0,OA.IsOptional)(),(0,OA.IsString)(),fte("design:type",String)],wd.prototype,"idCadIntTran",void 0);var Ag=require("class-validator");function VV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(VV,"_ts_decorate");function jV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(jV,"_ts_metadata");var kf=class{static{o(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};VV([(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"UFSaidaPais",void 0);VV([(0,Ag.IsOptional)(),(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"xLocExporta",void 0);VV([(0,Ag.IsOptional)(),(0,Ag.IsString)(),jV("design:type",String)],kf.prototype,"xLocDespacho",void 0);var Cd=require("class-validator");function MV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(MV,"_ts_decorate");function UV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(UV,"_ts_metadata");var Vf=class{static{o(this,"Compra")}xNEmp;xPed;xCont};MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xNEmp",void 0);MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xPed",void 0);MV([(0,Cd.IsOptional)(),(0,Cd.IsString)(),UV("design:type",String)],Vf.prototype,"xCont",void 0);var al=require("class-validator");function ix(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ix,"_ts_decorate");function sx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sx,"_ts_metadata");var Qo=class{static{o(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"CNPJ",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"xContato",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"email",void 0);ix([(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"fone",void 0);ix([(0,al.IsOptional)(),(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"idCSRT",void 0);ix([(0,al.IsOptional)(),(0,al.IsString)(),sx("design:type",String)],Qo.prototype,"hashCSRT",void 0);var ul=require("class-validator"),VA=require("class-transformer");var zu=require("class-validator");function Mr(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Mr,"_ts_decorate");function Ur(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ur,"_ts_metadata");var Er=class{static{o(this,"ICMSTot")}vBC="0.00";vICMS="0.00";vICMSDeson="0.00";vFCPUFDest;vICMSUFDest;vICMSUFRemet;vFCP="0.00";vBCST="0.00";vST="0.00";vFCPST="0.00";vFCPSTRet="0.00";qBCMono;vICMSMono;qBCMonoReten;vICMSMonoReten;qBCMonoRet;vICMSMonoRet;vProd="0.00";vFrete="0.00";vSeg="0.00";vDesc="0.00";vII="0.00";vIPI="0.00";vIPIDevol="0.00";vPIS="0.00";vCOFINS="0.00";vOutro="0.00";vNF="0.00";vTotTrib};Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vBC",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSDeson",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPUFDest",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSUFDest",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSUFRemet",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCP",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vBCST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPST",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFCPSTRet",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMono",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMono",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMonoReten",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMonoReten",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"qBCMonoRet",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vICMSMonoRet",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vProd",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vFrete",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vSeg",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vDesc",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vII",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vIPI",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vIPIDevol",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vPIS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vCOFINS",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vOutro",void 0);Mr([$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vNF",void 0);Mr([(0,zu.IsOptional)(),$({fixed:2}),Ur("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Er.prototype,"vTotTrib",void 0);var yn=require("class-validator");function $o(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($o,"_ts_decorate");function Zo(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zo,"_ts_metadata");var Vs=class{static{o(this,"ISSQNTot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vServ",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vBC",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vISS",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vPIS",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vCOFINS",void 0);$o([(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"dCompet",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDeducao",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vOutro",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDescIncond",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vDescCond",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"vISSRet",void 0);$o([(0,yn.IsOptional)(),(0,yn.IsString)(),Zo("design:type",String)],Vs.prototype,"cRegTrib",void 0);var Ad=require("class-validator");function Ng(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ng,"_ts_decorate");function Tg(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Tg,"_ts_metadata");var Ku=class{static{o(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetPIS",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetCOFINS",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetCSLL",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vBCIRRF",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vIRRF",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vBCRetPrev",void 0);Ng([(0,Ad.IsOptional)(),$({fixed:2}),Tg("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ku.prototype,"vRetPrev",void 0);var qf=require("class-validator");var Mf=require("class-validator");function qV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qV,"_ts_decorate");function HV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(HV,"_ts_metadata");var Ig=class{static{o(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vDif",void 0);qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vDevTrib",void 0);qV([$({fixed:2}),HV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ig.prototype,"vIBSMun",void 0);var GV=require("class-transformer");function zV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zV,"_ts_decorate");function KV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(KV,"_ts_metadata");var Dg=class{static{o(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vDif",void 0);zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vDevTrib",void 0);zV([$({fixed:2}),KV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dg.prototype,"vIBSUF",void 0);function BA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(BA,"_ts_decorate");function PA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(PA,"_ts_metadata");var jf=class{static{o(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};BA([(0,Mf.IsOptional)(),(0,Mf.ValidateNested)(),(0,GV.Type)(()=>Dg),PA("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],jf.prototype,"gIBSUF",void 0);BA([(0,Mf.IsOptional)(),(0,Mf.ValidateNested)(),(0,GV.Type)(()=>Ig),PA("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],jf.prototype,"gIBSMun",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vIBS",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vCredPres",void 0);BA([(0,Mf.IsOptional)(),$({fixed:2}),PA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jf.prototype,"vCredPresCondSus",void 0);var sP=require("class-transformer");var ax=require("class-validator");function _A(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(_A,"_ts_decorate");function FA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(FA,"_ts_metadata");var Uf=class{static{o(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vDif",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vDevTrib",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCBS",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCredPres",void 0);_A([(0,ax.IsOptional)(),$({fixed:2}),FA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uf.prototype,"vCredPresCondSus",void 0);var Rg=require("class-validator");function ox(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ox,"_ts_decorate");function ux(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ux,"_ts_metadata");var ol=class{static{o(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMono",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMono",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMonoReten",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMonoReten",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vIBSMonoRet",void 0);ox([(0,Rg.IsOptional)(),$({fixed:2}),ux("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ol.prototype,"vCBSMonoRet",void 0);function nP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(nP,"_ts_decorate");function iP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(iP,"_ts_metadata");var Nd=class{static{o(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono};nP([(0,qf.IsOptional)(),$({fixed:2}),iP("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Nd.prototype,"vBCIBSCBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>jf),iP("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],Nd.prototype,"gIBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>Uf),iP("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],Nd.prototype,"gCBS",void 0);nP([(0,qf.IsOptional)(),(0,qf.ValidateNested)(),(0,sP.Type)(()=>ol),iP("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],Nd.prototype,"gMono",void 0);function LA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(LA,"_ts_decorate");function kA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(kA,"_ts_metadata");var Gu=class{static{o(this,"Total")}ICMSTot;ISSQNtot;retTrib;IBSCBSTot;vNFTot};LA([(0,ul.ValidateNested)(),(0,VA.Type)(()=>Er),kA("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],Gu.prototype,"ICMSTot",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Vs),kA("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],Gu.prototype,"ISSQNtot",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Ku),kA("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],Gu.prototype,"retTrib",void 0);LA([(0,ul.IsOptional)(),(0,ul.ValidateNested)(),(0,VA.Type)(()=>Nd),kA("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],Gu.prototype,"IBSCBSTot",void 0);LA([(0,ul.IsOptional)(),$({fixed:2}),kA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Gu.prototype,"vNFTot",void 0);var ai=require("class-validator"),mx=require("class-transformer");var Ms=require("class-validator");function Td(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Td,"_ts_decorate");function Og(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Og,"_ts_metadata");var js=class{static{o(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"CNPJ",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"CPF",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xNome",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"IE",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xEnder",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"xMun",void 0);Td([(0,Ms.IsOptional)(),(0,Ms.IsString)(),Og("design:type",String)],js.prototype,"UF",void 0);js=Td([Br({properties:["CNPJ","CPF"]})],js);var cl=require("class-validator");function cx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cx,"_ts_decorate");function lx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lx,"_ts_metadata");var lo=class{static{o(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vServ",void 0);cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vBCRet",void 0);cx([(0,cl.IsOptional)(),$({fixed:4}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"pICMSRet",void 0);cx([(0,cl.IsOptional)(),$({fixed:2}),lx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lo.prototype,"vICMSRet",void 0);cx([(0,cl.IsOptional)(),(0,cl.IsString)(),lx("design:type",String)],lo.prototype,"CFOP",void 0);cx([(0,cl.IsOptional)(),(0,cl.IsString)(),lx("design:type",String)],lo.prototype,"cMunFG",void 0);var ja=require("class-validator");function fx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(fx,"_ts_decorate");function px(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(px,"_ts_metadata");var ll=class{static{o(this,"VeicTransp")}placa;UF;RNTC};fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"placa",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"UF",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],ll.prototype,"RNTC",void 0);var Bg=class{static{o(this,"Reboque")}placa;UF;RNTC};fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"placa",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"UF",void 0);fx([(0,ja.IsOptional)(),(0,ja.IsString)(),px("design:type",String)],Bg.prototype,"RNTC",void 0);var eu=require("class-validator");function hx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hx,"_ts_decorate");function dx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dx,"_ts_metadata");var fl=class{static{o(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"qVol",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"esp",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"marca",void 0);hx([(0,eu.IsOptional)(),(0,eu.IsString)(),dx("design:type",String)],fl.prototype,"nVol",void 0);hx([(0,eu.IsOptional)(),$({fixed:3}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"pesoL",void 0);hx([(0,eu.IsOptional)(),$({fixed:3}),dx("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fl.prototype,"pesoB",void 0);function Hf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Hf,"_ts_decorate");function Id(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Id,"_ts_metadata");var Us=class{static{o(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Hf([(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"modFrete",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>js),Id("design:type",typeof js>"u"?Object:js)],Us.prototype,"transporta",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>lo),Id("design:type",typeof lo>"u"?Object:lo)],Us.prototype,"retTransp",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)(),(0,mx.Type)(()=>ll),Id("design:type",typeof ll>"u"?Object:ll)],Us.prototype,"veicTransp",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)({each:!0}),(0,mx.Type)(()=>Bg),(0,ai.ArrayMaxSize)(5),Id("design:type",Array)],Us.prototype,"reboque",void 0);Hf([(0,ai.IsOptional)(),(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"vagao",void 0);Hf([(0,ai.IsOptional)(),(0,ai.IsString)(),Id("design:type",String)],Us.prototype,"balsa",void 0);Hf([(0,ai.IsOptional)(),(0,ai.ValidateNested)({each:!0}),(0,mx.Type)(()=>fl),(0,ai.ArrayMaxSize)(5e3),Id("design:type",Array)],Us.prototype,"vol",void 0);Us=Hf([Br({properties:["veicTransp","reboque"]}),Br({properties:["vagao","balsa"]})],Us);var Di=require("class-validator"),XV=require("class-transformer");function Kf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Kf,"_ts_decorate");function Gf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Gf,"_ts_metadata");var zf=class{static{o(this,"Fat")}nFat;vOrig;vDesc;vLiq};Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],zf.prototype,"nFat",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vOrig",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vDesc",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zf.prototype,"vLiq",void 0);var gx=class{static{o(this,"Dup")}nDup;dVenc;vDup};Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],gx.prototype,"nDup",void 0);Kf([(0,Di.IsOptional)(),(0,Di.IsString)(),Gf("design:type",String)],gx.prototype,"dVenc",void 0);Kf([(0,Di.IsOptional)(),$({fixed:2}),Gf("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gx.prototype,"vDup",void 0);var Dd=class{static{o(this,"Cobr")}fat;dup};Kf([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,XV.Type)(()=>zf),Gf("design:type",typeof zf>"u"?Object:zf)],Dd.prototype,"fat",void 0);Kf([(0,Di.IsOptional)(),(0,Di.ValidateNested)({each:!0}),(0,Di.ArrayMaxSize)(120),(0,XV.Type)(()=>gx),Gf("design:type",Array)],Dd.prototype,"dup",void 0);var Od=require("class-validator"),mte=require("class-transformer");var pl=require("class-validator"),pte=require("class-transformer");var Ma=require("class-validator");function vx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vx,"_ts_decorate");function yx(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(yx,"_ts_metadata");var fo=class{static{o(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"tpIntegra",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"CNPJ",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"tBand",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"cAut",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"CNPJReceb",void 0);vx([(0,Ma.IsOptional)(),(0,Ma.IsString)(),yx("design:type",String)],fo.prototype,"idTermPag",void 0);function jA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jA,"_ts_decorate");function MA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(MA,"_ts_metadata");var Xf=class{static{o(this,"DetPag")}indPag;tPag;vPag;card;xPag};jA([(0,pl.IsOptional)(),(0,pl.IsString)(),MA("design:type",String)],Xf.prototype,"indPag",void 0);jA([(0,pl.IsString)(),MA("design:type",typeof TPag>"u"?Object:TPag)],Xf.prototype,"tPag",void 0);jA([$({fixed:2}),MA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Xf.prototype,"vPag",void 0);jA([(0,pl.IsOptional)(),(0,pl.ValidateNested)(),(0,pte.Type)(()=>fo),MA("design:type",typeof fo>"u"?Object:fo)],Xf.prototype,"card",void 0);jA([(0,pl.IsOptional)(),(0,pl.IsString)(),MA("design:type",String)],Xf.prototype,"xPag",void 0);function hte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hte,"_ts_decorate");function dte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dte,"_ts_metadata");var Rd=class{static{o(this,"Pag")}detPag;vTroco};hte([(0,Od.ValidateNested)({each:!0}),(0,Od.ArrayMinSize)(1),(0,Od.ArrayMaxSize)(100),(0,mte.Type)(()=>Xf),dte("design:type",Array)],Rd.prototype,"detPag",void 0);hte([(0,Od.IsOptional)(),$({fixed:2}),dte("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rd.prototype,"vTroco",void 0);var Un=require("class-validator"),aP=require("class-transformer");function Wf(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Wf,"_ts_decorate");function Jf(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Jf,"_ts_metadata");var Sx=class{static{o(this,"InfAdicObs")}xCampo;xTexto};Wf([(0,Un.IsString)(),Jf("design:type",String)],Sx.prototype,"xCampo",void 0);Wf([(0,Un.IsString)(),Jf("design:type",String)],Sx.prototype,"xTexto",void 0);var UA=class{static{o(this,"ProcRef")}nProc;indProc};Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],UA.prototype,"nProc",void 0);Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],UA.prototype,"indProc",void 0);var Xu=class{static{o(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],Xu.prototype,"infAdFisco",void 0);Wf([(0,Un.IsOptional)(),(0,Un.IsString)(),Jf("design:type",String)],Xu.prototype,"infCpl",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>Sx),(0,Un.ArrayMaxSize)(10),Jf("design:type",Array)],Xu.prototype,"obsCont",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>Sx),(0,Un.ArrayMaxSize)(10),Jf("design:type",Array)],Xu.prototype,"obsFisco",void 0);Wf([(0,Un.IsOptional)(),(0,Un.ValidateNested)({each:!0}),(0,aP.Type)(()=>UA),(0,Un.ArrayMaxSize)(100),Jf("design:type",Array)],Xu.prototype,"procRef",void 0);var $r=require("class-validator"),uP=require("class-transformer");function ia(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ia,"_ts_decorate");function sa(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(sa,"_ts_metadata");var oP=class{static{o(this,"ForDiaAttributes")}dia};ia([(0,$r.IsString)(),sa("design:type",String)],oP.prototype,"dia",void 0);var qA=class{static{o(this,"ForDia")}$;qtde};ia([(0,$r.IsObject)(),(0,$r.IsNotEmptyObject)(),(0,uP.Type)(()=>oP),sa("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],qA.prototype,"$",void 0);ia([(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qA.prototype,"qtde",void 0);var HA=class{static{o(this,"Deduc")}xDed;vDed};ia([(0,$r.IsString)(),sa("design:type",String)],HA.prototype,"xDed",void 0);ia([$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],HA.prototype,"vDed",void 0);var qs=class{static{o(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};ia([(0,$r.IsString)(),sa("design:type",String)],qs.prototype,"safra",void 0);ia([(0,$r.IsString)(),sa("design:type",String)],qs.prototype,"ref",void 0);ia([(0,$r.ValidateNested)({each:!0}),(0,$r.ArrayMaxSize)(31),(0,uP.Type)(()=>qA),sa("design:type",Array)],qs.prototype,"forDia",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotMes",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotAnt",void 0);ia([(0,$r.IsOptional)(),(0,$r.IsString)(),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"qTotGer",void 0);ia([(0,$r.IsOptional)(),(0,$r.ValidateNested)({each:!0}),(0,$r.ArrayMaxSize)(10),(0,uP.Type)(()=>HA),sa("design:type",Array)],qs.prototype,"deduc",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vFor",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vTotDed",void 0);ia([(0,$r.IsOptional)(),$({fixed:2}),sa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qs.prototype,"vLiqFor",void 0);var ws=require("class-validator"),Lx=require("class-transformer");var Je=require("class-validator");var hl=require("class-transformer");var Wu=require("class-validator");function zA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zA,"_ts_decorate");function KA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(KA,"_ts_metadata");var Yf=class{static{o(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};zA([(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"nLote",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"qLote",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"dFab",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"dVal",void 0);zA([(0,Wu.IsOptional)(),(0,Wu.IsString)(),KA("design:type",String)],Yf.prototype,"cAgreg",void 0);var qr=require("class-validator"),gte=require("class-transformer");function Zi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zi,"_ts_decorate");function bs(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bs,"_ts_metadata");var Bd=class{static{o(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nAdicao",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nSeqAdic",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"cFabricante",void 0);Zi([$({fixed:2}),bs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bd.prototype,"vDescDI",void 0);Zi([(0,qr.IsOptional)(),(0,qr.IsString)(),bs("design:type",String)],Bd.prototype,"nDraw",void 0);var $i=class{static{o(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"nDI",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"dDI",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"xLocDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"UFDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"dDesemb",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"tpViaTransp",void 0);Zi([(0,qr.IsOptional)(),$({fixed:2}),bs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$i.prototype,"vAFRMM",void 0);Zi([(0,qr.IsString)(),bs("design:type",String)],$i.prototype,"tpIntermedio",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"CNPJ",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"CPF",void 0);Zi([(0,qr.IsString)(),(0,qr.IsOptional)(),bs("design:type",String)],$i.prototype,"UFTerceiro",void 0);Zi([(0,qr.IsArray)(),(0,qr.ValidateNested)({each:!0}),(0,gte.Type)(()=>Bd),(0,qr.ArrayMaxSize)(999),(0,qr.ArrayMinSize)(1),bs("design:type",Array)],$i.prototype,"adi",void 0);$i=Zi([Br({properties:["CNPJ","CPF"],required:!0})],$i);var vte=require("class-transformer"),Qf=require("class-validator");function GA(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(GA,"_ts_decorate");function XA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(XA,"_ts_metadata");var xx=class{static{o(this,"ExportInd")}nRE;chNFe;qExport};GA([(0,Qf.IsString)(),XA("design:type",String)],xx.prototype,"nRE",void 0);GA([(0,Qf.IsString)(),XA("design:type",String)],xx.prototype,"chNFe",void 0);GA([$({fixed:4}),XA("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xx.prototype,"qExport",void 0);var bx=class{static{o(this,"DetExport")}nDraw;exportInd};GA([(0,Qf.IsOptional)(),(0,Qf.IsString)(),XA("design:type",String)],bx.prototype,"nDraw",void 0);GA([(0,Qf.IsOptional)(),(0,Qf.ValidateNested)(),(0,vte.Type)(()=>xx),XA("design:type",typeof IExportInd>"u"?Object:IExportInd)],bx.prototype,"exportInd",void 0);var WV=require("class-validator");function yte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yte,"_ts_decorate");function Ste(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ste,"_ts_metadata");var Ex=class{static{o(this,"InfProdNFF")}cProdFisco;cOperNFF};yte([(0,WV.IsString)(),Ste("design:type",String)],Ex.prototype,"cProdFisco",void 0);yte([(0,WV.IsString)(),Ste("design:type",String)],Ex.prototype,"cOperNFF",void 0);var QV=require("class-validator");function JV(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(JV,"_ts_decorate");function YV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(YV,"_ts_metadata");var Pg=class{static{o(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};JV([(0,QV.IsString)(),YV("design:type",String)],Pg.prototype,"xEmb",void 0);JV([$({fixed:3}),YV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Pg.prototype,"qVolEmb",void 0);JV([(0,QV.IsString)(),YV("design:type",String)],Pg.prototype,"uEmb",void 0);var Sn=require("class-validator");function An(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(An,"_ts_decorate");function Nn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nn,"_ts_metadata");var Xr=class{static{o(this,"VeicProd")}tpOp;chassi;cCor;xCor;pot;cilin;pesoL;pesoB;nSerie;tpComb;nMotor;CMT;dist;anoMod;anoFab;tpPint;tpVeic;espVeic;VIN;condVeic;cMod;cCorDENATRAN;lota;tpRest};An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpOp",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"chassi",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cCor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"xCor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pot",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cilin",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pesoL",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"pesoB",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"nSerie",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpComb",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"nMotor",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"CMT",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"dist",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"anoMod",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"anoFab",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpPint",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"espVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"VIN",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"condVeic",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cMod",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"cCorDENATRAN",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"lota",void 0);An([(0,Sn.IsString)(),Nn("design:type",String)],Xr.prototype,"tpRest",void 0);var ej=require("class-validator");function $V(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($V,"_ts_decorate");function ZV(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZV,"_ts_metadata");var _g=class{static{o(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};$V([(0,ej.IsString)(),ZV("design:type",String)],_g.prototype,"cProdANVISA",void 0);$V([(0,ej.IsString)(),ZV("design:type",String)],_g.prototype,"xMotivoIsencao",void 0);$V([$({fixed:2}),ZV("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_g.prototype,"vPMC",void 0);var WA=require("class-validator");function cP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cP,"_ts_decorate");function lP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lP,"_ts_metadata");var Pd=class{static{o(this,"Arma")}tpArma;nSerie;nCano;descr};cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"tpArma",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"nSerie",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"nCano",void 0);cP([(0,WA.IsString)(),lP("design:type",String)],Pd.prototype,"descr",void 0);var yr=require("class-validator"),fP=require("class-transformer");function Tn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tn,"_ts_decorate");function In(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(In,"_ts_metadata");var wx=class{static{o(this,"OrigComb")}indImport;cUFOrig;pOrig};Tn([(0,yr.IsString)(),In("design:type",String)],wx.prototype,"indImport",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],wx.prototype,"cUFOrig",void 0);Tn([$({fixed:4}),(0,yr.Max)(100),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wx.prototype,"pOrig",void 0);var Cx=class{static{o(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Tn([$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"qBCProd",void 0);Tn([$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"vAliqProd",void 0);Tn([$({fixed:2}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cx.prototype,"vCIDE",void 0);var _d=class{static{o(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nBico",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nBomba",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],_d.prototype,"nTanque",void 0);Tn([$({fixed:3}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_d.prototype,"vEncIni",void 0);Tn([$({fixed:3}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_d.prototype,"vEncFin",void 0);var Es=class{static{o(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"cProdANP",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"descANP",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGLP",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGNn",void 0);Tn([(0,yr.IsOptional)(),(0,yr.Max)(100),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pGNi",void 0);Tn([(0,yr.IsOptional)(),$({fixed:2}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"vPart",void 0);Tn([(0,yr.IsString)(),(0,yr.IsOptional)(),In("design:type",String)],Es.prototype,"CODIF",void 0);Tn([(0,yr.IsOptional)(),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"qTemp",void 0);Tn([(0,yr.IsString)(),In("design:type",String)],Es.prototype,"UFCons",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)(),(0,fP.Type)(()=>Cx),In("design:type",typeof ICIDE>"u"?Object:ICIDE)],Es.prototype,"CIDE",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)(),(0,fP.Type)(()=>_d),In("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],Es.prototype,"encerrante",void 0);Tn([(0,yr.IsOptional)(),$({fixed:4}),In("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Es.prototype,"pBio",void 0);Tn([(0,yr.IsObject)(),(0,yr.ValidateNested)({each:!0}),(0,fP.Type)(()=>wx),(0,yr.ArrayMaxSize)(30),(0,yr.IsOptional)(),In("design:type",Array)],Es.prototype,"origComb",void 0);function Qt(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Qt,"_ts_decorate");function Zt(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Zt,"_ts_metadata");var Tt=class{static{o(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cEAN",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cBarra",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"xProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"NCM",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ArrayMaxSize)(8),(0,Je.IsString)({each:!0}),Zt("design:type",Array)],Tt.prototype,"NVE",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CEST",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"indEscala",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CNPJFab",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cBenef",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),Zt("design:type",Object)],Tt.prototype,"gCred",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"EXTIPI",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"CFOP",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"uCom",void 0);Qt([$({fixed:4}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"qCom",void 0);Qt([$({fixed:10}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vUnCom",void 0);Qt([$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vProd",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"cEANTrib",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"uTrib",void 0);Qt([$({fixed:4}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"qTrib",void 0);Qt([$({fixed:10}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vUnTrib",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vFrete",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vSeg",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vDesc",void 0);Qt([(0,Je.IsOptional)(),$({fixed:2}),Zt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tt.prototype,"vOutro",void 0);Qt([(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"indTot",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(100),(0,hl.Type)(()=>$i),Zt("design:type",Array)],Tt.prototype,"DI",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(500),(0,hl.Type)(()=>bx),Zt("design:type",Array)],Tt.prototype,"detExport",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"xPed",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nItemPed",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nFCI",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsArray)(),(0,Je.ValidateNested)({each:!0}),(0,Je.ArrayMaxSize)(500),(0,hl.Type)(()=>Yf),Zt("design:type",Array)],Tt.prototype,"rastro",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Ex),Zt("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],Tt.prototype,"infProdNFF",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Pg),Zt("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],Tt.prototype,"infProdEmb",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Xr),Zt("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],Tt.prototype,"veicProd",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>_g),Zt("design:type",typeof IMed>"u"?Object:IMed)],Tt.prototype,"med",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)({each:!0}),(0,hl.Type)(()=>Pd),(0,Je.ArrayMaxSize)(500),Zt("design:type",Array)],Tt.prototype,"arma",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsObject)(),(0,Je.ValidateNested)(),(0,hl.Type)(()=>Es),Zt("design:type",typeof IComb>"u"?Object:IComb)],Tt.prototype,"comb",void 0);Qt([(0,Je.IsOptional)(),(0,Je.IsString)(),Zt("design:type",String)],Tt.prototype,"nRECOPI",void 0);Tt=Qt([Br({properties:["veicProd","med","arma","comb"]})],Tt);var ou=require("class-transformer"),en=require("class-validator");var ae=require("class-validator"),ts=require("class-transformer");function ve(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ve,"_ts_decorate");function Se(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Se,"_ts_metadata");var $f=class{static{o(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS};ve([(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],$f.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$f.prototype,"vICMS",void 0);var po=class{static{o(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],po.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],po.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],po.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],po.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],po.prototype,"vICMSST",void 0);var dl=class{static{o(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS};ve([(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],dl.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dl.prototype,"vICMS",void 0);var Zf=class{static{o(this,"ICMS30")}orig;CST;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Zf.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Zf.prototype,"vICMSST",void 0);var Fg=class{static{o(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};ve([(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fg.prototype,"vICMSDeson",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Fg.prototype,"motDesICMS",void 0);var tu=class{static{o(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};ve([(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],tu.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),(0,ae.Max)(100),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"pDif",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tu.prototype,"vICMSDif",void 0);var ep=class{static{o(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],ep.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],ep.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ep.prototype,"vICMSSTRet",void 0);var Ua=class{static{o(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ua.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ua.prototype,"vICMSST",void 0);var qa=class{static{o(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],qa.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qa.prototype,"vICMSST",void 0);var es=class{static{o(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};ve([(0,ae.IsString)(),Se("design:type",String)],es.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],es.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pMVAST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pRedBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],es.prototype,"pBCOp",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],es.prototype,"UFST",void 0);var tp=class{static{o(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],tp.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],tp.prototype,"CST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],tp.prototype,"vICMSSTRet",void 0);var Lg=class{static{o(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Lg.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Lg.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lg.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lg.prototype,"vCredICMSSN",void 0);var JA=class{static{o(this,"ICMSSN102")}orig;CSOSN};ve([(0,ae.IsString)(),Se("design:type",String)],JA.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],JA.prototype,"CSOSN",void 0);var Ju=class{static{o(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Ju.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ju.prototype,"vCredICMSSN",void 0);var rp=class{static{o(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};ve([(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],rp.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rp.prototype,"vICMSST",void 0);var np=class{static{o(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};ve([(0,ae.IsString)(),Se("design:type",String)],np.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],np.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vBCSTRet",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"pST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vICMSSubstituto",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],np.prototype,"vICMSSTRet",void 0);var Hs=class{static{o(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};ve([(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"orig",void 0);ve([(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"CSOSN",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"modBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pRedBC",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pICMS",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vICMS",void 0);ve([(0,ae.IsOptional)(),(0,ae.IsString)(),Se("design:type",String)],Hs.prototype,"modBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vBCST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vICMSST",void 0);ve([(0,ae.IsOptional)(),$({fixed:4}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"pCredSN",void 0);ve([(0,ae.IsOptional)(),$({fixed:2}),Se("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hs.prototype,"vCredICMSSN",void 0);var xn=class{static{o(this,"ICMS")}ICMS00;ICMS10;ICMS20;ICMS30;ICMS40;ICMS51;ICMS60;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>$f),Se("design:type",typeof IICMS00>"u"?Object:IICMS00)],xn.prototype,"ICMS00",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>po),Se("design:type",typeof IICMS10>"u"?Object:IICMS10)],xn.prototype,"ICMS10",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>dl),Se("design:type",typeof IICMS20>"u"?Object:IICMS20)],xn.prototype,"ICMS20",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Zf),Se("design:type",typeof IICMS30>"u"?Object:IICMS30)],xn.prototype,"ICMS30",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Fg),Se("design:type",typeof IICMS40>"u"?Object:IICMS40)],xn.prototype,"ICMS40",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>tu),Se("design:type",typeof IICMS51>"u"?Object:IICMS51)],xn.prototype,"ICMS51",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>ep),Se("design:type",typeof IICMS60>"u"?Object:IICMS60)],xn.prototype,"ICMS60",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Ua),Se("design:type",typeof IICMS70>"u"?Object:IICMS70)],xn.prototype,"ICMS70",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>qa),Se("design:type",typeof IICMS90>"u"?Object:IICMS90)],xn.prototype,"ICMS90",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>es),Se("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],xn.prototype,"ICMSPart",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>tp),Se("design:type",typeof IICMSST>"u"?Object:IICMSST)],xn.prototype,"ICMSST",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Lg),Se("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],xn.prototype,"ICMSSN101",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>JA),Se("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],xn.prototype,"ICMSSN102",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Ju),Se("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],xn.prototype,"ICMSSN201",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>rp),Se("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],xn.prototype,"ICMSSN202",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>np),Se("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],xn.prototype,"ICMSSN500",void 0);ve([(0,ae.IsOptional)(),(0,ae.ValidateNested)(),(0,ts.Type)(()=>Hs),Se("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],xn.prototype,"ICMSSN900",void 0);xn=ve([Br({properties:["ICMS00","ICMS10","ICMS20","ICMS30","ICMS40","ICMS51","ICMS60","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],xn);var ln=require("class-validator"),tj=require("class-transformer");function ho(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ho,"_ts_decorate");function mo(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(mo,"_ts_metadata");var ip=class{static{o(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ho([(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"CST",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vBC",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"pIPI",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"qUnid",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vUnid",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ip.prototype,"vIPI",void 0);var pP=class{static{o(this,"IPINT")}CST};ho([(0,ln.IsString)(),mo("design:type",String)],pP.prototype,"CST",void 0);var ru=class{static{o(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"CNPJProd",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"cSelo",void 0);ho([(0,ln.IsOptional)(),(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"qSelo",void 0);ho([(0,ln.IsString)(),mo("design:type",String)],ru.prototype,"cEnq",void 0);ho([(0,ln.IsOptional)(),(0,ln.ValidateNested)(),(0,tj.Type)(()=>ip),mo("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],ru.prototype,"IPITrib",void 0);ho([(0,ln.IsOptional)(),(0,ln.ValidateNested)(),(0,tj.Type)(()=>pP),mo("design:type",typeof IIPINT>"u"?Object:IIPINT)],ru.prototype,"IPINT",void 0);var gl=require("class-validator");function hP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(hP,"_ts_decorate");function dP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(dP,"_ts_metadata");var ml=class{static{o(this,"II")}vBC;vDespAdu;vII;vIOF};hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vBC",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vDespAdu",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vII",void 0);hP([(0,gl.IsOptional)(),(0,gl.IsString)(),dP("design:type",String)],ml.prototype,"vIOF",void 0);var It=require("class-validator"),YA=require("class-transformer");function Dn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Dn,"_ts_decorate");function Rn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Rn,"_ts_metadata");var sp=class{static{o(this,"PISAliq")}CST;vBC;pPIS;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],sp.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],sp.prototype,"vPIS",void 0);var ap=class{static{o(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],ap.prototype,"vPIS",void 0);var Ax=class{static{o(this,"PISNT")}CST};Dn([(0,It.IsString)(),Rn("design:type",String)],Ax.prototype,"CST",void 0);var Yu=class{static{o(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"CST",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],Yu.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Yu.prototype,"vPIS",void 0);var vl=class{static{o(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>sp),Rn("design:type",typeof sp>"u"?Object:sp)],vl.prototype,"PISAliq",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>ap),Rn("design:type",typeof ap>"u"?Object:ap)],vl.prototype,"PISQtde",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>Ax),Rn("design:type",typeof Ax>"u"?Object:Ax)],vl.prototype,"PISNT",void 0);Dn([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,YA.Type)(()=>Yu),Rn("design:type",typeof Yu>"u"?Object:Yu)],vl.prototype,"PISOutr",void 0);var Qu=class{static{o(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};Dn([(0,It.IsOptional)(),(0,It.IsString)(),$({fixed:2}),Rn("design:type",String)],Qu.prototype,"vBC",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"pPIS",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"qBCProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"vAliqProd",void 0);Dn([(0,It.IsOptional)(),(0,It.IsString)(),Rn("design:type",String)],Qu.prototype,"vPIS",void 0);var Dt=require("class-validator"),QA=require("class-transformer");function On(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(On,"_ts_decorate");function Bn(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Bn,"_ts_metadata");var op=class{static{o(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],op.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],op.prototype,"vCOFINS",void 0);var up=class{static{o(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],up.prototype,"vCOFINS",void 0);var Nx=class{static{o(this,"COFINSNT")}CST};On([(0,Dt.IsString)(),Bn("design:type",String)],Nx.prototype,"CST",void 0);var $u=class{static{o(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"CST",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],$u.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],$u.prototype,"vCOFINS",void 0);var yl=class{static{o(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>op),Bn("design:type",typeof op>"u"?Object:op)],yl.prototype,"COFINSAliq",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>up),Bn("design:type",typeof up>"u"?Object:up)],yl.prototype,"COFINSQtde",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>Nx),Bn("design:type",typeof Nx>"u"?Object:Nx)],yl.prototype,"COFINSNT",void 0);On([(0,Dt.IsOptional)(),(0,Dt.ValidateNested)(),(0,QA.Type)(()=>$u),Bn("design:type",typeof $u>"u"?Object:$u)],yl.prototype,"COFINSOutr",void 0);var Zu=class{static{o(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),$({fixed:2}),Bn("design:type",String)],Zu.prototype,"vBC",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"pCOFINS",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"qBCProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"vAliqProd",void 0);On([(0,Dt.IsOptional)(),(0,Dt.IsString)(),Bn("design:type",String)],Zu.prototype,"vCOFINS",void 0);var Ha=require("class-validator");function Tx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tx,"_ts_decorate");function Ix(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ix,"_ts_metadata");var nu=class{static{o(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;cSitTrib};Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vBC",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vAliq",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"vISSQN",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cMunFG",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cListServ",void 0);Tx([(0,Ha.IsOptional)(),(0,Ha.IsString)(),Ix("design:type",String)],nu.prototype,"cSitTrib",void 0);var di=require("class-validator");function cp(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(cp,"_ts_decorate");function lp(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(lp,"_ts_metadata");var aa=class{static{o(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vBCUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vBCFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSInter",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"pICMSInterPart",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vFCPUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vICMSUFDest",void 0);cp([(0,di.IsOptional)(),(0,di.IsString)(),lp("design:type",String)],aa.prototype,"vICMSUFRemet",void 0);var qn=require("class-validator");var Dx=require("class-validator");function xte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xte,"_ts_decorate");function bte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bte,"_ts_metadata");var Fd=class{static{o(this,"TransferenciaCredito")}vIBS;vCBS};xte([(0,Dx.IsOptional)(),(0,Dx.IsString)(),bte("design:type",String)],Fd.prototype,"vIBS",void 0);xte([(0,Dx.IsOptional)(),(0,Dx.IsString)(),bte("design:type",String)],Fd.prototype,"vCBS",void 0);var mP=require("class-validator");function rj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rj,"_ts_decorate");function nj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nj,"_ts_metadata");var fp=class{static{o(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"tpCredPresIBSZFM",void 0);rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"vCredPresIBSZFM",void 0);rj([(0,mP.IsString)(),nj("design:type",String)],fp.prototype,"competApur",void 0);var oa=require("class-validator"),ij=require("class-transformer");function xl(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xl,"_ts_decorate");function bl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bl,"_ts_metadata");var Ld=class{static{o(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"vCredPresCondSus",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"pCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Ld.prototype,"vCredPres",void 0);var kd=class{static{o(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"vCredPresCondSus",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"pCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],kd.prototype,"vCredPres",void 0);var Sl=class{static{o(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};xl([(0,oa.IsOptional)(),(0,oa.ValidateNested)(),(0,ij.Type)(()=>Ld),bl("design:type",typeof Ld>"u"?Object:Ld)],Sl.prototype,"gIBSCredPres",void 0);xl([(0,oa.IsOptional)(),(0,oa.ValidateNested)(),(0,ij.Type)(()=>kd),bl("design:type",typeof kd>"u"?Object:kd)],Sl.prototype,"gCBSCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Sl.prototype,"vBCCredPres",void 0);xl([(0,oa.IsString)(),bl("design:type",String)],Sl.prototype,"cCredPres",void 0);var sj=require("class-validator");function Ete(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ete,"_ts_decorate");function wte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wte,"_ts_metadata");var Vd=class{static{o(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};Ete([(0,sj.IsString)(),wte("design:type",String)],Vd.prototype,"vIBSEstCred",void 0);Ete([(0,sj.IsString)(),wte("design:type",String)],Vd.prototype,"vCBSEstCred",void 0);var gP=require("class-validator");function aj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(aj,"_ts_decorate");function oj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(oj,"_ts_metadata");var pp=class{static{o(this,"AjusteCompet")}competApur;vCBS;vIBS};aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"competApur",void 0);aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"vCBS",void 0);aj([(0,gP.IsString)(),oj("design:type",String)],pp.prototype,"vIBS",void 0);var ar=require("class-validator");function oi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(oi,"_ts_decorate");function ui(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ui,"_ts_metadata");var Zr=class{static{o(this,"IBSCBSMono")}vTotIBSMonoItem;vTotCBSMonoItem;adRemIBS;adRemCBS;vIBSMono;vCBSMono;qBCMono;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten;qBCMonoReten;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet;qBCMonoRet;vIBSMonoDif;vCBSMonoDif;pDifIBS;pDifCBS};oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vTotIBSMonoItem",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vTotCBSMonoItem",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBS",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBS",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMono",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMono",void 0);oi([(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMono",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBSReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBSReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMonoReten",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemIBSRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"adRemCBSRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"qBCMonoRet",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vIBSMonoDif",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"vCBSMonoDif",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"pDifIBS",void 0);oi([(0,ar.IsOptional)(),(0,ar.IsString)(),ui("design:type",String)],Zr.prototype,"pDifCBS",void 0);var go=require("class-validator");var hp=require("class-validator");function jd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(jd,"_ts_decorate");function Md(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Md,"_ts_metadata");var za=class{static{o(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"CSTReg",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"cClassTribReg",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegIBSUF",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegIBSUF",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegIBSMun",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegIBSMun",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"pAliqEfetRegCBS",void 0);jd([(0,hp.IsString)(),Md("design:type",String)],za.prototype,"vTribRegCBS",void 0);var iN=require("class-transformer");var tc=require("class-validator"),vP=require("class-transformer");var Cte=require("class-validator");function xCe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(xCe,"_ts_decorate");function bCe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(bCe,"_ts_metadata");var ua=class{static{o(this,"DevTrib")}vDevTrib};xCe([(0,Cte.IsString)(),bCe("design:type",String)],ua.prototype,"vDevTrib",void 0);var uj=require("class-validator");function Ate(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Ate,"_ts_decorate");function Nte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Nte,"_ts_metadata");var zs=class{static{o(this,"Dif")}pDif;vDif};Ate([(0,uj.IsString)(),Nte("design:type",String)],zs.prototype,"pDif",void 0);Ate([(0,uj.IsString)(),Nte("design:type",String)],zs.prototype,"vDif",void 0);var cj=require("class-validator");function Tte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Tte,"_ts_decorate");function Ite(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ite,"_ts_metadata");var Ks=class{static{o(this,"Red")}pAliqEfet;pRedAliq};Tte([(0,cj.IsString)(),Ite("design:type",String)],Ks.prototype,"pAliqEfet",void 0);Tte([(0,cj.IsString)(),Ite("design:type",String)],Ks.prototype,"pRedAliq",void 0);function $A(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o($A,"_ts_decorate");function ZA(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ZA,"_ts_metadata");var ec=class{static{o(this,"IBSMun")}pIBSMun;vIBSMun;gDevTrib;gDif;gRed};$A([(0,tc.IsString)(),ZA("design:type",String)],ec.prototype,"pIBSMun",void 0);$A([(0,tc.IsString)(),ZA("design:type",String)],ec.prototype,"vIBSMun",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>ua),ZA("design:type",typeof ua>"u"?Object:ua)],ec.prototype,"gDevTrib",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>zs),ZA("design:type",typeof zs>"u"?Object:zs)],ec.prototype,"gDif",void 0);$A([(0,tc.IsOptional)(),(0,tc.ValidateNested)(),(0,vP.Type)(()=>Ks),ZA("design:type",typeof Ks>"u"?Object:Ks)],ec.prototype,"gRed",void 0);var nc=require("class-validator"),yP=require("class-transformer");function eN(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(eN,"_ts_decorate");function tN(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(tN,"_ts_metadata");var rc=class{static{o(this,"IBSUF")}pIBSUF;vIBSUF;gDevTrib;gDif;gRed};eN([(0,nc.IsString)(),tN("design:type",String)],rc.prototype,"pIBSUF",void 0);eN([(0,nc.IsString)(),tN("design:type",String)],rc.prototype,"vIBSUF",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>ua),tN("design:type",typeof ua>"u"?Object:ua)],rc.prototype,"gDevTrib",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>zs),tN("design:type",typeof zs>"u"?Object:zs)],rc.prototype,"gDif",void 0);eN([(0,nc.IsOptional)(),(0,nc.ValidateNested)(),(0,yP.Type)(()=>Ks),tN("design:type",typeof Ks>"u"?Object:Ks)],rc.prototype,"gRed",void 0);var sc=require("class-validator"),SP=require("class-transformer");function rN(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(rN,"_ts_decorate");function nN(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(nN,"_ts_metadata");var ic=class{static{o(this,"CBS")}pCBS;vCBS;gDevTrib;gDif;gRed};rN([(0,sc.IsString)(),nN("design:type",String)],ic.prototype,"pCBS",void 0);rN([(0,sc.IsString)(),nN("design:type",String)],ic.prototype,"vCBS",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>ua),nN("design:type",typeof ua>"u"?Object:ua)],ic.prototype,"gDevTrib",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>zs),nN("design:type",typeof zs>"u"?Object:zs)],ic.prototype,"gDif",void 0);rN([(0,sc.IsOptional)(),(0,sc.ValidateNested)(),(0,SP.Type)(()=>Ks),nN("design:type",typeof Ks>"u"?Object:Ks)],ic.prototype,"gRed",void 0);function Rx(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Rx,"_ts_decorate");function Ox(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Ox,"_ts_metadata");var iu=class{static{o(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular};Rx([(0,go.IsString)(),Ox("design:type",String)],iu.prototype,"vBC",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>rc),Ox("design:type",typeof rc>"u"?Object:rc)],iu.prototype,"gIBSUF",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>ec),Ox("design:type",typeof ec>"u"?Object:ec)],iu.prototype,"gIBSMun",void 0);Rx([(0,go.IsString)(),Ox("design:type",String)],iu.prototype,"vIBS",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>ic),Ox("design:type",typeof ic>"u"?Object:ic)],iu.prototype,"gCBS",void 0);Rx([(0,go.IsOptional)(),(0,go.ValidateNested)(),(0,iN.Type)(()=>za),Ox("design:type",typeof za>"u"?Object:za)],iu.prototype,"gTribRegular",void 0);var Ud=require("class-transformer");function El(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(El,"_ts_decorate");function wl(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wl,"_ts_metadata");var Ri=class{static{o(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"CST",void 0);El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"cClassTrib",void 0);El([(0,qn.IsOptional)(),(0,qn.IsString)(),wl("design:type",String)],Ri.prototype,"indDoacao",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Fd),wl("design:type",typeof Fd>"u"?Object:Fd)],Ri.prototype,"gTransfCred",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>fp),wl("design:type",typeof fp>"u"?Object:fp)],Ri.prototype,"gCredPresIBSZFM",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Sl),wl("design:type",typeof Sl>"u"?Object:Sl)],Ri.prototype,"gCredPresOper",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>pp),wl("design:type",typeof pp>"u"?Object:pp)],Ri.prototype,"gAjusteCompet",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Vd),wl("design:type",typeof Vd>"u"?Object:Vd)],Ri.prototype,"gEstornoCred",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>Zr),wl("design:type",typeof Zr>"u"?Object:Zr)],Ri.prototype,"gIBSCBSMono",void 0);El([(0,qn.IsOptional)(),(0,qn.ValidateNested)(),(0,Ud.Type)(()=>iu),wl("design:type",typeof iu>"u"?Object:iu)],Ri.prototype,"gIBSCBS",void 0);var dp=require("class-validator");function qd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(qd,"_ts_decorate");function Hd(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Hd,"_ts_metadata");var su=class{static{o(this,"IS")}cClassTrib;CSTIS;pISEspec;vBCIS;uTrib;qTrib;pIS;vIS};qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"cClassTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"CSTIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"pISEspec",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"vBCIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"uTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"qTrib",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"pIS",void 0);qd([(0,dp.IsString)(),Hd("design:type",String)],su.prototype,"vIS",void 0);function vo(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(vo,"_ts_decorate");function au(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(au,"_ts_metadata");var mi=class{static{o(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IBSCBS;IS};vo([(0,en.IsOptional)(),(0,en.IsNumber)(),au("design:type",Number)],mi.prototype,"vTotTrib",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>xn),au("design:type",typeof IICMS>"u"?Object:IICMS)],mi.prototype,"ICMS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>ru),au("design:type",typeof IIPI>"u"?Object:IIPI)],mi.prototype,"IPI",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>nu),au("design:type",typeof IISSQN>"u"?Object:IISSQN)],mi.prototype,"ISSQN",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>ml),au("design:type",typeof III>"u"?Object:III)],mi.prototype,"II",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>vl),au("design:type",typeof IPIS>"u"?Object:IPIS)],mi.prototype,"PIS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Qu),au("design:type",typeof IPISST>"u"?Object:IPISST)],mi.prototype,"PISST",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>yl),au("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],mi.prototype,"COFINS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Zu),au("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],mi.prototype,"COFINSST",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>aa),au("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],mi.prototype,"ICMSUFDest",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>Ri),au("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],mi.prototype,"IBSCBS",void 0);vo([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,ou.Type)(()=>su),au("design:type",typeof IIS>"u"?Object:IIS)],mi.prototype,"IS",void 0);mi=vo([Br({properties:["ICMS","ISSQN"]})],mi);var kg=require("class-validator"),Dte=require("class-transformer");function lj(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(lj,"_ts_decorate");function fj(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(fj,"_ts_metadata");var xP=class{static{o(this,"IpiDevol")}vIPIDevol};lj([(0,kg.IsString)(),fj("design:type",String)],xP.prototype,"vIPIDevol",void 0);var Bx=class{static{o(this,"Devol")}pDevol;IPI};lj([(0,kg.IsString)(),fj("design:type",String)],Bx.prototype,"pDevol",void 0);lj([(0,kg.IsOptional)(),(0,kg.ValidateNested)(),(0,Dte.Type)(()=>xP),fj("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Bx.prototype,"IPI",void 0);var mp=require("class-validator"),pj=require("class-transformer");function bP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(bP,"_ts_decorate");function EP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(EP,"_ts_metadata");var Px=class{static{o(this,"Observation")}xCampo;xTexto};bP([(0,mp.IsString)(),EP("design:type",String)],Px.prototype,"xCampo",void 0);bP([(0,mp.IsString)(),EP("design:type",String)],Px.prototype,"xTexto",void 0);var _x=class{static{o(this,"ObsItem")}obsCont;obsFisco};bP([(0,mp.IsOptional)(),(0,mp.ValidateNested)(),(0,pj.Type)(()=>Px),EP("design:type",typeof IObservation>"u"?Object:IObservation)],_x.prototype,"obsCont",void 0);bP([(0,mp.IsOptional)(),(0,mp.ValidateNested)(),(0,pj.Type)(()=>Px),EP("design:type",typeof IObservation>"u"?Object:IObservation)],_x.prototype,"obsFisco",void 0);function zd(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(zd,"_ts_decorate");function Kd(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Kd,"_ts_metadata");var Fx=class{static{o(this,"DetAttributes")}nItem};zd([(0,ws.IsString)(),Kd("design:type",String)],Fx.prototype,"nItem",void 0);var ac=class{static{o(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem};zd([(0,ws.IsObject)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Fx),Kd("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],ac.prototype,"$",void 0);zd([(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Tt),Kd("design:type",typeof IProd>"u"?Object:IProd)],ac.prototype,"prod",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>mi),Kd("design:type",typeof IImposto>"u"?Object:IImposto)],ac.prototype,"imposto",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>Bx),Kd("design:type",typeof IDevol>"u"?Object:IDevol)],ac.prototype,"impostoDevol",void 0);zd([(0,ws.IsOptional)(),(0,ws.IsString)(),Kd("design:type",String)],ac.prototype,"infAdProd",void 0);zd([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,Lx.Type)(()=>_x),Kd("design:type",typeof IObsItem>"u"?Object:IObsItem)],ac.prototype,"obsItem",void 0);zd([(0,ws.IsOptional)(),$({fixed:2}),Kd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ac.prototype,"vItem",void 0);var As=require("class-validator");function oc(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(oc,"_ts_decorate");function uc(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(uc,"_ts_metadata");var Cs=class{static{o(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"CNPJ",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"xOrgao",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"matr",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"xAgente",void 0);oc([(0,As.IsOptional)(),(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"fone",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"UF",void 0);oc([(0,As.IsOptional)(),(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"nDAR",void 0);oc([(0,As.IsOptional)(),Df({format:"YYYY-MM-DD"}),uc("design:type",typeof Date>"u"?Object:Date)],Cs.prototype,"dEmi",void 0);oc([(0,As.IsOptional)(),$({fixed:2}),uc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cs.prototype,"vDAR",void 0);oc([(0,As.IsString)(),uc("design:type",String)],Cs.prototype,"repEmi",void 0);oc([(0,As.IsOptional)(),(0,As.IsDate)(),uc("design:type",typeof Date>"u"?Object:Date)],Cs.prototype,"dPag",void 0);var Rte=require("class-validator");function ECe(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(ECe,"_ts_decorate");function wCe(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(wCe,"_ts_metadata");var Vg=class{static{o(this,"InfSolicNFF")}xSolic};ECe([(0,Rte.IsString)(),wCe("design:type",String)],Vg.prototype,"xSolic",void 0);function Zn(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Zn,"_ts_decorate");function ei(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ei,"_ts_metadata");var jg=class{static{o(this,"InfNFeAttributes")}Id;versao};Zn([(0,gt.IsOptional)(),(0,gt.IsString)(),ei("design:type",String)],jg.prototype,"Id",void 0);Zn([(0,gt.IsOptional)(),(0,gt.IsString)(),ei("design:type",String)],jg.prototype,"versao",void 0);var pn=class{static{o(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,ci.Type)(()=>jg),(0,gt.ValidateNested)(),ei("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],pn.prototype,"$",void 0);Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Pr),ei("design:type",typeof IIde>"u"?Object:IIde)],pn.prototype,"ide",void 0);Zn([(0,gt.IsObject)(),(0,gt.IsNotEmptyObject)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Yi),ei("design:type",typeof IEmit>"u"?Object:IEmit)],pn.prototype,"emit",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Cs),ei("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],pn.prototype,"avulsa",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Qi),ei("design:type",typeof IDest>"u"?Object:IDest)],pn.prototype,"dest",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>cn),ei("design:type",typeof ILocal>"u"?Object:ILocal)],pn.prototype,"retirada",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>cn),ei("design:type",typeof ILocal>"u"?Object:ILocal)],pn.prototype,"entrega",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)({each:!0}),(0,gt.ArrayMaxSize)(10),(0,ci.Type)(()=>sl),ei("design:type",Array)],pn.prototype,"autXML",void 0);Zn([(0,gt.ValidateNested)({each:!0}),(0,gt.ArrayMaxSize)(990),(0,gt.ArrayMinSize)(1),(0,ci.Type)(()=>ac),ei("design:type",Array)],pn.prototype,"det",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Gu),ei("design:type",typeof ITotal>"u"?Object:ITotal)],pn.prototype,"total",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Us),ei("design:type",typeof ITransp>"u"?Object:ITransp)],pn.prototype,"transp",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Dd),ei("design:type",typeof ICobr>"u"?Object:ICobr)],pn.prototype,"cobr",void 0);Zn([(0,gt.ValidateNested)(),(0,ci.Type)(()=>Rd),ei("design:type",typeof IPag>"u"?Object:IPag)],pn.prototype,"pag",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>wd),ei("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],pn.prototype,"infIntermed",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Xu),ei("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],pn.prototype,"infAdic",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>kf),ei("design:type",typeof IExporta>"u"?Object:IExporta)],pn.prototype,"exporta",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Vf),ei("design:type",typeof ICompra>"u"?Object:ICompra)],pn.prototype,"compra",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>qs),ei("design:type",typeof ICana>"u"?Object:ICana)],pn.prototype,"cana",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Qo),ei("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],pn.prototype,"infRespTec",void 0);Zn([(0,gt.IsOptional)(),(0,gt.ValidateNested)(),(0,ci.Type)(()=>Vg),ei("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],pn.prototype,"infSolicNFF",void 0);var hj=require("class-transformer");function wP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(wP,"_ts_decorate");function CP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(CP,"_ts_metadata");var kx=class{static{o(this,"NFeAttributes")}xmlns};wP([(0,ca.IsString)(),(0,ca.IsNotEmpty)(),CP("design:type",String)],kx.prototype,"xmlns",void 0);var gp=class{static{o(this,"NFe")}$;infNFe;Signature};wP([(0,ca.IsObject)(),(0,ca.IsNotEmptyObject)(),(0,hj.Type)(()=>kx),(0,ca.ValidateNested)(),CP("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],gp.prototype,"$",void 0);wP([(0,ca.IsObject)(),(0,ca.IsNotEmptyObject)(),(0,hj.Type)(()=>pn),(0,ca.ValidateNested)(),CP("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],gp.prototype,"infNFe",void 0);wP([(0,ca.Allow)(),CP("design:type",typeof Signature>"u"?Object:Signature)],gp.prototype,"Signature",void 0);function yo(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(yo,"_ts_decorate");function er(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(er,"_ts_metadata");var rs=class{static{o(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,t="PL_009_V4"){return new this(e,t)}constructor(e,t="PL_009_V4"){this.listener=e,this.schema=t}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this}icms(e){return this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this}issqn(e){return this.data.imposto??={},this.data.imposto.ISSQN=e,this}ii(e){return this.data.imposto??={},this.data.imposto.II=e,this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}ibscbs(e){return this.schema===Of.PL_009_V4?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return this.schema===Of.PL_009_V4?this:(this.data.vItem=e.vItem,this)}assemble(){this.data.imposto&&this.imposto(this.data.imposto);let e={...this.data};return this.data={},e}};yo([Et(Fx),er("design:type",Function),er("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),er("design:returntype",void 0)],rs.prototype,"det",null);yo([Et(Tt),er("design:type",Function),er("design:paramtypes",[typeof IProd>"u"?Object:IProd]),er("design:returntype",void 0)],rs.prototype,"prod",null);yo([Et(mi),er("design:type",Function),er("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),er("design:returntype",void 0)],rs.prototype,"imposto",null);yo([Et(xn),er("design:type",Function),er("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),er("design:returntype",void 0)],rs.prototype,"icms",null);yo([Et(nu),er("design:type",Function),er("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),er("design:returntype",void 0)],rs.prototype,"issqn",null);yo([Et(ml),er("design:type",Function),er("design:paramtypes",[typeof III>"u"?Object:III]),er("design:returntype",void 0)],rs.prototype,"ii",null);yo([Et(ru),er("design:type",Function),er("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),er("design:returntype",void 0)],rs.prototype,"ipi",null);yo([Et(vl),er("design:type",Function),er("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),er("design:returntype",void 0)],rs.prototype,"pis",null);yo([Et(Qu),er("design:type",Function),er("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),er("design:returntype",void 0)],rs.prototype,"pisst",null);yo([Et(yl),er("design:type",Function),er("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),er("design:returntype",void 0)],rs.prototype,"cofins",null);yo([Et(Zu),er("design:type",Function),er("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),er("design:returntype",void 0)],rs.prototype,"cofinsst",null);yo([Et(aa),er("design:type",Function),er("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),er("design:returntype",void 0)],rs.prototype,"icmsufdest",null);yo([Et(Ri),er("design:type",Function),er("design:paramtypes",[typeof Ri>"u"?Object:Ri]),er("design:returntype",void 0)],rs.prototype,"ibscbs",null);function Oi(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Oi,"_ts_decorate");function ct(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(ct,"_ts_metadata");var hn=class{static{o(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;get entity(){return gp}root="NFe";$det=new SA(this);$total=new xA(this);nfeDetXmlBuilder;static create(e,t,n="PL_009_V4"){return new this(e,t,n)}constructor(e,t,n="PL_009_V4"){this.builder=e,this.contingency=t,this.schema=n,this.nfeDetXmlBuilder=rs.create(this.$det,this.schema)}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return this.data.infNFe.avulsa=e,this}dest(e){return this.data.infNFe.dest=e,this}retirada(e){return this.data.infNFe.retirada=e,this}entrega(e){return this.data.infNFe.entrega=e,this}autXML(e){return e==null?this:(this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),this)}det(e,t){return this.data.infNFe.det=e.map((n,i)=>{let s=t(this.nfeDetXmlBuilder.det({nItem:(i+1).toString()}),n);return this.collect(s),s.assemble()}),this}total(e){return this.data.infNFe.total=e,this}increment(e){let t=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...t.ICMSTot},ISSQNtot:t.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...t.ISSQNtot}:void 0},this.schema!==Of.PL_009_V4&&this.buildTotalForPL_010(t),this}buildTotalForPL_010(e){this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...this.data.infNFe.total.IBSCBSTot,gCBS:{...this.data.infNFe.total.IBSCBSTot?.gCBS},gIBS:{...this.data.infNFe.total.IBSCBSTot?.gIBS,gIBSMun:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSMun},gIBSUF:{...this.data.infNFe.total.IBSCBSTot?.gIBS?.gIBSUF}},gMono:{...this.data.infNFe.total.IBSCBSTot?.gMono}},vNFTot:e.vNFTot}}transp(e){return this.data.infNFe.transp=e,this}cobr(e){return this.data.infNFe.cobr=e,this}pag(e){return this.data.infNFe.pag=e,this}infIntermed(e){return this.data.infNFe.infIntermed=e,this}infAdic(e){return this.data.infNFe.infAdic=e,this}exporta(e){return this.data.infNFe.exporta=e,this}compra(e){return this.data.infNFe.compra=e,this}cana(e){return this.data.infNFe.cana=e,this}infRespTec(e){return this.data.infNFe.infRespTec=e,this}infSolicNFF(e){return this.data.infNFe.infSolicNFF=e,this}quiet(){return Reflect.deleteMetadata(Xa,this),this}toObject(){if(this.$data!==void 0)return Bt(this.$data);let e=this.errors();return e?or(new Rt(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=ab(this.data,this.entity,{clearEmptyValues:!0}),Bt(this.$data))}async assemble(){let e=this.toObject();return e.isLeft()?e:Bt(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Be.Homolog?!1:(this.data.infNFe.dest&&(this.data.infNFe.dest.xNome="NF-E EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL"),!0)}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{cUF:e,tpEmis:t}=this.data.infNFe.ide;if(t!==Fs.Normal)return;switch(eP[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=Fs.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=Fs.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:t,tpEmis:n}=this.data.infNFe.ide;if(!(!e&&!t&&n===Fs.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:t??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(Xa,this)}collect(e){let t=Reflect.getMetadata(Xa,e);if(!t)return;let n=this.errors();Reflect.defineMetadata(Xa,(n??[]).concat(t),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new yA().compile({cUF:this.data.infNFe.ide.cUF,year:this.data.infNFe.ide.dhEmi.substring(2,4),month:this.data.infNFe.ide.dhEmi.substring(5,7),identification:this.data.infNFe.emit.CPF??this.data.infNFe.emit.CNPJ,mod:this.data.infNFe.ide.mod,serie:this.data.infNFe.ide.serie,nNF:this.data.infNFe.ide.nNF,tpEmis:this.data.infNFe.ide.tpEmis,cNF:this.data.infNFe.ide.cNF});this.data.infNFe.ide.cDV=e.slice(-1),this.data.infNFe.$={Id:`${this.root}${e}`,versao:this.data.infNFe.$.versao}}};Oi([Et(jg),ct("design:type",Function),ct("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),ct("design:returntype",void 0)],hn.prototype,"infNFe",null);Oi([Et(Pr),ct("design:type",Function),ct("design:paramtypes",[typeof IIde>"u"?Object:IIde]),ct("design:returntype",void 0)],hn.prototype,"ide",null);Oi([Et(Yi),ct("design:type",Function),ct("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),ct("design:returntype",void 0)],hn.prototype,"emit",null);Oi([Et(Cs),ct("design:type",Function),ct("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),ct("design:returntype",void 0)],hn.prototype,"avulsa",null);Oi([Et(Qi),ct("design:type",Function),ct("design:paramtypes",[typeof IDest>"u"?Object:IDest]),ct("design:returntype",void 0)],hn.prototype,"dest",null);Oi([Et(cn),ct("design:type",Function),ct("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),ct("design:returntype",void 0)],hn.prototype,"retirada",null);Oi([Et(cn),ct("design:type",Function),ct("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),ct("design:returntype",void 0)],hn.prototype,"entrega",null);Oi([Et(sl),ct("design:type",Function),ct("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),ct("design:returntype",void 0)],hn.prototype,"autXML",null);Oi([Et(Gu),ct("design:type",Function),ct("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),ct("design:returntype",void 0)],hn.prototype,"total",null);Oi([Et(Us),ct("design:type",Function),ct("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),ct("design:returntype",void 0)],hn.prototype,"transp",null);Oi([Et(Dd),ct("design:type",Function),ct("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),ct("design:returntype",void 0)],hn.prototype,"cobr",null);Oi([Et(Rd),ct("design:type",Function),ct("design:paramtypes",[typeof IPag>"u"?Object:IPag]),ct("design:returntype",void 0)],hn.prototype,"pag",null);Oi([Et(wd),ct("design:type",Function),ct("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),ct("design:returntype",void 0)],hn.prototype,"infIntermed",null);Oi([Et(Xu),ct("design:type",Function),ct("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),ct("design:returntype",void 0)],hn.prototype,"infAdic",null);Oi([Et(kf),ct("design:type",Function),ct("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),ct("design:returntype",void 0)],hn.prototype,"exporta",null);Oi([Et(Vf),ct("design:type",Function),ct("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),ct("design:returntype",void 0)],hn.prototype,"compra",null);Oi([Et(qs),ct("design:type",Function),ct("design:paramtypes",[typeof ICana>"u"?Object:ICana]),ct("design:returntype",void 0)],hn.prototype,"cana",null);Oi([Et(Qo),ct("design:type",Function),ct("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),ct("design:returntype",void 0)],hn.prototype,"infRespTec",null);Oi([Et(Vg),ct("design:type",Function),ct("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),ct("design:returntype",void 0)],hn.prototype,"infSolicNFF",null);var sN=class extends QS{static{o(this,"NfeXmlBuilderPipeline")}certificate;schema;builder=hn.create(this.toolkit);constructor(e,t="PL_009_V4"){super(e),this.certificate=e,this.schema=t}build(e){return e(this.builder),this}async assemble(){let e=await this.builder.assemble();return e.isLeft()?e:this.assertXmlSignedAndValidated(e.value)}get nfeXsdSchema(){return Ote.default.resolve(vA(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return Bt(e);let t=await this.signXmlString(e);return t.isLeft()?t:this.validateXmlString(t.value)}async signXmlString(e){if(!this.certificate)return Bt(e);let t=await this.certificates.read(this.certificate);return t.isLeft()?t:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},t.value)}async validateXmlString(e){let t=await this.toolkit.validate(e,this.nfeXsdSchema);return t.isLeft()?t:Bt(e)}};var TP=require("class-transformer"),Ka=require("class-validator");var dj=require("class-validator");function Bte(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(Bte,"_ts_decorate");function Pte(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(Pte,"_ts_metadata");var Vx=class{static{o(this,"InfNFeSupl")}qrCode;urlChave};Bte([(0,dj.IsString)(),Pte("design:type",String)],Vx.prototype,"qrCode",void 0);Bte([(0,dj.IsString)(),Pte("design:type",String)],Vx.prototype,"urlChave",void 0);function AP(r,e,t,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,t):n,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(r,e,t,n);else for(var u=r.length-1;u>=0;u--)(a=r[u])&&(s=(i<3?a(s):i>3?a(e,t,s):a(e,t))||s);return i>3&&s&&Object.defineProperty(e,t,s),s}o(AP,"_ts_decorate");function NP(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}o(NP,"_ts_metadata");var Cl=class{static{o(this,"NFCe")}$;infNFe;infNFeSupl;Signature};AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>kx),(0,Ka.ValidateNested)(),NP("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Cl.prototype,"$",void 0);AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>pn),(0,Ka.ValidateNested)(),NP("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Cl.prototype,"infNFe",void 0);AP([(0,Ka.IsObject)(),(0,Ka.IsNotEmptyObject)(),(0,TP.Type)(()=>Vx),(0,Ka.ValidateNested)(),NP("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Cl.prototype,"infNFeSupl",void 0);AP([(0,Ka.Allow)(),NP("design:type",typeof Signature>"u"?Object:Signature)],Cl.prototype,"Signature",void 0);var aN=class extends hn{static{o(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Cl}static create(e,t,n="PL_009_V4"){return new this(e,t,n)}assertHomologValidations(){return super.assertHomologValidations()?(this.data.infNFe.det[0].prod.xProd="NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL",!0):!1}assertContingencyModes(){if(this.contingency===void 0)return this.automaticallyInferContingencyMode();this.data.infNFe.ide.dhCont??=this.contingency.dhCont,this.data.infNFe.ide.xJust??=this.contingency.xJust;let{tpEmis:e}=this.data.infNFe.ide;if(e===Fs.Normal)return this.data.infNFe.ide.tpEmis=Fs.OFFLINE,void 0}};var mj=class extends sN{static{o(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new ra(this.certificates);transmitter=new Ls(this.soap,this.nfceQrcode);constructor(e,t="PL_009_V4",n){super(e,t),this.options=n}builder=aN.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let t=await super.assertXmlSignedAndValidated(e);if(t.isLeft()||!this.options?.qrCode)return t;if(!this.certificate)return or(new Rt("Certificate is required to assemble NFCe XML with QR Code"));let n=t.value,i=await this.toolkit.parse(n),s=await this.generateQrCode(i,this.options,this.certificate);if(s.isLeft())return s;let a=await this.toolkit.build(s.value,{rootName:"infNFeSupl"}),u=this.toolkit.insertBefore(n,"Signature",a);return Bt(u)}async generateQrCode(e,t,n){let i=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),s={...t.qrCode};switch(s.version??=i.version,s.version){case"200":return await this.nfceQrcode.execute(e,{version:s.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url,CSC:s.CSC,CSCId:s.CSCId});case"300":{let a=await this.certificates.read(n);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:s.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:i.url})}default:return Zd(s.version)}}};var _te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZ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yNbMTwOcynliw6XtUyA4FA4NgQlIbA64YtO1pnAVfbvklwPlJLteOiQvJ6tStj0mWv2r4T8dCShZuDwhAIBN7wBKUh8LpjYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var jx=class r{static{o(this,"Header")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:t,right:n}=this.builder.pageMargins(),i=e?.x??t,s=this.context.data.infNFe.emit,{enderEmit:a}=s,{xNome:u}=s,c=this.context.defaults.font,l=`${c}-Bold`,f="left";this.builder.row({left:i,right:n},p=>this.builder.text(this.identification(s),{...p,continued:!0,align:f}).font(l).text(` ${u}`,{...p,align:f}).font(c)).row({left:i,right:n},p=>this.builder.text(this.addressLine1(a),{...p,continued:!0,align:f}).text(this.addressLine2(a),{...p,continued:!0,align:f}).text(this.addressLine3(a),{...p,align:f})).row({left:i,right:n},p=>this.builder.text(this.addressLine4(a),{...p,align:f}))}identification(e){let t=this.cpfOrCnpj(e),n=e.IE.length?` IE: ${e.IE}`:"";return`${t}${n}`}cpfOrCnpj(e){let{CNPJ:t,CPF:n}=e;return t?.length===14?`CNPJ ${t.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:t,nro:n}=e;return`${t}, ${n}`}addressLine2(e){let{xBairro:t}=e;return`, ${t}`}addressLine3(e){let{xMun:t,UF:n}=e;return`, ${t} - ${n}`}addressLine4(e){let{fone:t}=e;return t?`Fone: ${t.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:t}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:t},n=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...n,align:"center"})).row({left:e,right:t},n=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...n,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:t}=this.context.options;if(e)return e;if(!t)return _te}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){r._instance=void 0}};var vp=class r{static{o(this,"FiscalMessages")}context;static _instance;constants={issuedInContingency:"EMITIDA EM CONTING\xCANCIA",pendingOfAuthorization:"Pendente de autoriza\xE7\xE3o",notProtocoledInNormalEmission:"PENDENTE DE AUTORIZA\xC7\xC3O - SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return`${this.constants.issuedInContingency}
|
|
124
|
+
${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==Fs.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.contingencyBannerText,{...n,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let t=e?.x??0;this.builder.row({left:t},n=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...n,align:"center"}))}build(e){return this.setup(),this.builder.moveDown(.5),this.contingency(e),this.notProtocoledInNormalEmission(e),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){this.setup();let e=[.5],{left:t,right:n}=this.builder.pageMargins(),i=this.builder.pageWidth()-t-n;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:i,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:i,align:"center"})),e.reduce((s,a)=>s+a,0)}};var Mx=class r{static{o(this,"HomologMessage")}context;static _instance;constants={withoutFiscalValue:"EMITIDA EM AMBIENTE DE HOMOLOGA\xC7\xC3O \u2013 SEM VALOR FISCAL"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==Be.Production}withHomologMessage(){if(!this.hasHomologMessage)return;let{left:e}=this.builder.pageMargins();this.builder.text(this.constants.withoutFiscalValue,{x:e,align:"center"})}build(){return this.setup(),this.builder.moveDown(.5),this.withHomologMessage(),this.builder.font(this.context.defaults.font),this.builder}setup(){let e=this.context.defaults.font,t=`${e}-Bold`;this.builder.font(t,this.context.options.titleFontSize)}end(){r._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:t}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-t,align:"center"})}};var IP=class r{static{o(this,"Items")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get columnStyles(){return[15,32,60,"*","*","*","*"]}get rowStyles(){return{border:!1}}get defaultStyle(){return{padding:{top:1,bottom:1,left:0,right:0}}}get headers(){let e={src:`${this.context.defaults.font}-Bold`};return[{font:e,text:"#"},{font:e,text:"cod."},{font:e,text:"descri\xE7\xE3o"},{font:e,align:{x:"right"},text:"qtde"},{font:e,align:{x:"right"},text:"unit."},{font:e,align:{x:"right"},text:"desc."},{font:e,align:{x:"right"},text:"total"}]}item(e){let{prod:t,$:{nItem:n}}=e,{cProd:i,xProd:s,qCom:a,uCom:u,vUnCom:c,vDesc:l,vProd:f}=t,p={size:this.context.options.textFontSize},d={font:p,text:n.padStart(3,"0")},g={font:p,text:i},m=[{font:p,align:{x:"right"},text:`${this.context.currency(a,4)} ${u}`},{font:p,align:{x:"right"},text:this.context.currency(c,10)},{font:p,align:{x:"right"},text:this.context.currency(l??0)},{font:p,align:{x:"right"},text:this.context.currency(f)}],y=this.builder.widthOfString(i),v=this.columnStyles[1];if(y>=v)return[[d,{colSpan:6,font:p,text:`${i} ${s}`}],[{colSpan:3},...m]];let x=this.builder.widthOfString(s),w=this.columnStyles[2];if(x>=w)return[[d,g,{colSpan:5,font:p,text:s}],[{colSpan:3},...m]];let b=this.getFirstLineWidth();return this.builder.widthOfString(`${i} ${s}`)<=b?[[d,g,{font:p,text:s},...m]]:[[d,g,{colSpan:5,font:p,text:s}],[{colSpan:3},...m]]}items(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n}=this.builder.pageMargins();this.builder.table({position:{x:n},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...t.reduce((i,s)=>i.concat(this.item(s)),[])]})}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.items(),this.builder}end(){r._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((t,n)=>t+n,0)}getProportionalWidth(){let{left:e,right:t}=this.builder.pageMargins(),n=this.builder.pageWidth()-e-t,i=this.columnStyles.reduce((a,u)=>typeof u=="number"?a+u:a,0),s=this.columnStyles.filter(a=>a==="*").length;return(n-i)/s}getAvailableWidth(e,t){if(e.colSpan){let s=t.indexOf(e),a=this.columnStyles.slice(0,s).reduce((c,l)=>typeof l=="number"?c+l:c,0),u=this.getProportionalWidth()*e.colSpan;return a+u}let n=t.indexOf(e),i=this.columnStyles[n];return typeof i=="number"?i:this.getProportionalWidth()}calculateRowHeight(e,t){let n=t;for(let i of e){if(!i.text)continue;let s=i.text,a=this.builder.widthOfString(s),u=this.getAvailableWidth(i,e),c=a<=u?t:this.builder.heightOfString(s,{width:u});n=Math.max(n,c)}return n}height(){this.setup();let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],n=this.builder.currentLineHeight(),i=n*1.2,s=n*.5,a=n*.5,u=t.reduce((l,f)=>{let p=this.item(f),[d]=p,g=this.calculateRowHeight(d,n),m=0;if(p.length>1){let b=this.calculateRowHeight(p[1],n);m=Math.max(n,b)}let{top:y,bottom:v}=this.defaultStyle.padding,x=y+v,w=p.length>1?n*.2:0;return l+g+m+p.length*x+w},0),c=n*2;return s+i+a+u+c}};var Ux=class r{static{o(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,t=Array.isArray(e)?e:[e],{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Qtde. Total de Itens",{...s}),s=>this.builder.text(`${t.length}`,{...s,align:"right"}))}totalizers(){let{vProd:e,vDesc:t,vFrete:n,vSeg:i,vOutro:s}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new Tr(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",t,"-"),this.conditionalRowValue("Frete total R$",n),this.conditionalRowValue("Seguro total R$",i),this.conditionalRowValue("Outras despesas total R$",s)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,t=this.context.defaults.font,n=`${t}-Bold`,{left:i,right:s}=this.builder.pageMargins();this.builder.font(n).fontSize(this.context.options.titleFontSize).row({columns:2,left:i,right:s},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(t)}conditionalRowValue(e,t,n=""){if(!t||!Number.parseFloat(t.toString()))return;t=this.context.currency(t);let{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${n}${t}`,{...a,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.count(),this.totalizers(),this.total(),this.builder}end(){r._instance=void 0}};var gi={Dinheiro:"01",Cheque:"02",CartaoDeCredito:"03",CartaoDeDebito:"04",CartaoDaLoja:"05",ValeAlimentacao:"10",ValeRefeicao:"11",ValePresente:"12",ValeCombustivel:"13",BoletoBancario:"15",DepositoBancario:"16",PIXDinamico:"17",TransferenciaBancaria:"18",ProgramaFidelidade:"19",PIXEstatico:"20",CreditoEmLoja:"21",PagamentoNaoInformado:"22",SemPagamento:"90",PagamentoPosterior:"91",Outros:"99"},Fte={[gi.Dinheiro]:"Dinheiro",[gi.Cheque]:"Cheque",[gi.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[gi.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[gi.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[gi.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[gi.ValeRefeicao]:"Vale Refei\xE7\xE3o",[gi.ValePresente]:"Vale Presente",[gi.ValeCombustivel]:"Vale Combust\xEDvel",[gi.BoletoBancario]:"Boleto Banc\xE1rio",[gi.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[gi.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[gi.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[gi.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[gi.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[gi.CreditoEmLoja]:"Cr\xE9dito em Loja",[gi.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[gi.SemPagamento]:"Sem pagamento",[gi.PagamentoPosterior]:"Pagamento Posterior",[gi.Outros]:"Outros"};var qx=class r{static{o(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:t,vPag:n}=e,{left:i,right:s}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:s},a=>this.builder.text(Fte[t],{...a,align:"left"}),a=>this.builder.text(this.context.currency(n),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,t=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(t.length===0)return;let{left:n,right:i}=this.builder.pageMargins();this.builder.row({columns:2,left:n,right:i},s=>this.builder.text("Forma de Pagamento",{...s,align:"left"}),s=>this.builder.text("Valor pago R$",{...s,align:"right"})),t.forEach(s=>this.payment(s))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:t,right:n}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:t,right:n},i=>this.builder.text("Troco R$",{...i,align:"left"}),i=>this.builder.text(this.context.currency(e),{...i,align:"right"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.builder.moveDown(.5),this.payments(),this.change(),this.builder}end(){r._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:t}}=this.context.data.infNFe,n=Array.isArray(t)?t:[t],i=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*n.length-1+i}};var Hx=class r{static{o(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:t}=this.builder.pageMargins(),n=this.context.defaults.font,i=`${n}-Bold`;this.builder.font(i).row({left:e,right:t},s=>this.builder.text("Consulte pela Chave de Acesso em",{...s,align:"center"})).font(n)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:t,right:n}=this.builder.pageMargins();this.builder.row({left:t,right:n},i=>this.builder.text(e??"",{...i,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let t=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:n,right:i}=this.builder.pageMargins();this.builder.row({left:n,right:i},s=>this.builder.text(t,{...s,align:"center"}))}setup(){this.builder.font(this.context.defaults.font,this.context.options.titleFontSize)}build(){return this.builder.moveDown(.5),this.statics(),this.url(),this.accessKey(),this.builder}end(){r._instance=void 0}};var Kne=zt(zne(),1);var HP=class r{static{o(this,"QRCode")}context;static _instance;defaults={qrSize:65};qrCodeSvg;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}async getQrSvgString(e){try{return await Kne.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(t){return console.error("Error generating QR code:",t),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,t,n]=e.split(" ").map(Number),{qrSize:i}=this.defaults,s=i/t,a=i/n,u=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:c}=this.builder.pageMargins();this.builder.save().translate(c,this.builder.y()).scale(s,a),u.forEach(l=>{this.builder.path(l.$.d),l.$.fill&&this.builder.fill(l.$.fill),l.$.stroke&&this.builder.stroke(l.$.stroke)}),this.builder.restore()}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let t=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(t)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder}end(){r._instance=void 0}height(){return this.setup(),this.defaults.qrSize+.5}};var zP=class r{static{o(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:t,right:n}=this.builder.pageMargins(),i=this.context.defaults.font,s=`${i}-Bold`;this.builder.row({left:e?.x??t,right:n},a=>this.builder.font(s).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(i))}identification(e){let{CNPJ:t,CPF:n,idEstrangeiro:i}=e;return t?.length===14?`CNPJ: ${t.replace(/([A-Z0-9]{2})([A-Z0-9]{3})([A-Z0-9]{3})([A-Z0-9]{4})([A-Z0-9]{2})/,"$1.$2.$3/$4-$5")}`:n?.length===11?`CPF: ${n.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:i?.length?`Id. Estrangeiro: ${i}`:""}dest(e){let{dest:t}=this.context.data.infNFe;if(!t)return this.unknown(e);let{left:n,right:i}=this.builder.pageMargins(),s=this.identification(t),{xNome:a,enderDest:u}=t,c=this.addressLine(u),l=this.context.defaults.font,f=`${l}-Bold`;this.builder.row({left:e?.x??n,right:i},p=>this.builder.font(f).text(`CONSUMIDOR - ${s}`,{...p,align:"center"}).font(l)).row({left:e?.x??n,right:i},p=>this.builder.text(`${a}${c}`,{...p,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:t,nro:n,xBairro:i,xCpl:s,xMun:a,UF:u,CEP:c}=e;if(!t||!c)return"";let l=s?`, ${s}`:"";return` - Rua ${t}, ${n}, ${i}${l}, ${a} - ${u}`}addressLine2(e){let{xBairro:t,xCpl:n}=e,i=n?` - ${n}`:"";return`${t}${i}`}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.dest(e),this.builder}end(){r._instance=void 0}height(){let{dest:e}=this.context.data.infNFe;if(!e)return 0;this.setup();let{xNome:t,enderDest:n}=e,i=this.addressLine(n),{left:s,right:a}=this.builder.pageMargins(),u=this.builder.pageWidth()-s-a;return this.builder.fontSize(this.context.options.textFontSize),this.builder.heightOfString(`${t}${i}`,{align:"center",width:u})}};var KP=class r{static{o(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let t=this.context.protNFe;return this.isProtocoled(t)?this.protocoled(t.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:t,serie:n,dhEmi:i}=this.context.data.infNFe.ide,s=t.padStart(9,"0"),a=n.padStart(3,"0"),{left:u,right:c}=this.builder.pageMargins(),{cUF:l}=this.context.data.infNFe.ide,f=QP[l],p=kp(i).tz(f).format("DD/MM/YYYY HH:mm:ss"),d=this.context.defaults.font,g=`${d}-Bold`;this.builder.row({left:e?.x??u,right:c},m=>this.builder.font(g).text(`NFC-e n\xBA ${s} - s\xE9rie ${a} emitida em: ${p}`,{...m,align:"center"}).font(d))}protocoled(e,t){let{dhRecbto:n,nProt:i}=e,{left:s,right:a}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,c=QP[u],l=i.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),f=kp(n).tz(c).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:t?.x??s,right:a},p=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${l}
|
|
125
125
|
Data de autoriza\xE7\xE3o: ${f}`,{...p,align:"center"}))}assemble(e){let{cMsg:t,xMsg:n}=this.context.protNFe?.infProt??{},{left:i,right:s}=this.builder.pageMargins();return n&&this.builder.row({left:e?.x??i,right:s},a=>this.builder.text(`$(${t}) ${n}`,{...a,align:"left"})),this.protocol(e)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builder.moveDown(.5),this.metadata(e),this.assemble(e),this.builder}end(){r._instance=void 0}};var GP=class r{static{o(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builders(){return[zP.instance(this.context),KP.instance(this.context),vp.instance(this.context)]}get builder(){return this.context.builder}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(e){return this.setup(),this.builders.forEach(t=>t.build(e)),this.builder}end(){r._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,t)=>t instanceof vp?e:e+(t.height?.()??0),0)}};var $x=class r{static{o(this,"AggregateQrCodeToProtocols")}context;static _instance;static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builders(){return[HP.instance(this.context),GP.instance(this.context)]}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}get builder(){return this.context.builder}async build(){this.setup();let e=this.builders[0],t=this.builders[1],{left:n,right:i}=this.builder.pageMargins(),s=this.builder.y();await e.build();let a=this.builder.y();this.builder.row({columns:2,left:n,right:i,size:[4,8]},()=>this.builder,d=>t.build(d));let u=e.height(),c=s+u,l=t.height(),f=a+l,p=Math.max(c,f);this.builder.y()<p&&this.builder.text("",{y:p}),this.builder.moveDown(.5);for(let d of this.builders.slice(2))await d.build();return this.builder}end(){r._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,t)=>e+t.height(),0)}};var jNe=.35277777777777775,aM=.75,Gne={"80mm":80/jNe},XP="gerado por github.com/nfets/nfets";var Zx=class r{static{o(this,"Footer")}context;static _instance;constants={vTotTrib:"Tributos Totais Incidentes (Lei Federal 12.741/2012): R$"};static instance(e){return this._instance??=new r(e)}constructor(e){this.context=e}get builder(){return this.context.builder}vTotTrib(){let{vTotTrib:e}=this.context.data.infNFe.total.ICMSTot,{left:t,right:n}=this.builder.pageMargins(),i=!e||!Number.parseFloat(e.toString())?"-----":this.context.currency(e);this.builder.row({left:t,right:n},s=>this.builder.text(`${this.constants.vTotTrib} ${i}`,{...s,align:"center"}))}get infCplText(){return(this.context.data.infNFe.infAdic?.infCpl?.replace(/;/g,`
|
|
126
126
|
`)??"").split(`
|
|
127
127
|
`).map(t=>t.trim().replace(/[\x00-\x08\x0B-\x0C\x0E-\x1F\x7F-\x9F]/g,"")).filter(t=>t.length>0).join(`
|