nfets 0.0.144 → 0.0.145
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/nfe/index.cjs +1 -1
- package/dist/nfe/index.mjs +1 -1
- package/package.json +1 -1
package/dist/nfe/index.cjs
CHANGED
|
@@ -33,7 +33,7 @@ Minimum version required to store current data is: `+n+`.
|
|
|
33
33
|
`),c=a===-1?-1:n.indexOf(`
|
|
34
34
|
`,a+1),p=c===-1?"":n.slice(c+1);String(i.stack).endsWith(p)||(i.stack+=`
|
|
35
35
|
`+n)}}catch{}}throw i}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=Li(this.defaults,o);let{transitional:i,paramsSerializer:r,headers:n}=o;i!==void 0&&dl.assertOptions(i,{silentJSONParsing:no.transitional(no.boolean),forcedJSONParsing:no.transitional(no.boolean),clarifyTimeoutError:no.transitional(no.boolean),legacyInterceptorReqResOrdering:no.transitional(no.boolean),advertiseZstdAcceptEncoding:no.transitional(no.boolean),validateStatusUndefinedResolves:no.transitional(no.boolean)},!1),r!=null&&(h.isFunction(r)?o.paramsSerializer={serialize:r}:dl.assertOptions(r,{encode:no.function,serialize:no.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),dl.assertOptions(o,{baseUrl:no.spelling("baseURL"),withXsrfToken:no.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let a=n&&h.merge(n.common,n[o.method]);n&&h.forEach(["delete","get","head","post","put","patch","query","common"],x=>{delete n[x]}),o.headers=we.concat(a,n);let c=[],p=!0;this.interceptors.request.forEach(s(function(N){if(typeof N.runWhen=="function"&&N.runWhen(o)===!1)return;p=p&&N.synchronous;let C=o.transitional||Gr;C&&C.legacyInterceptorReqResOrdering?c.unshift(N.fulfilled,N.rejected):c.push(N.fulfilled,N.rejected)},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(s(function(N){u.push(N.fulfilled,N.rejected)},"pushResponseInterceptors"));let l,d=0,m;if(!p){let x=[ul.bind(this),void 0];for(x.unshift(...c),x.push(...u),m=x.length,l=Promise.resolve(o);d<m;)l=l.then(x[d++],x[d++]);return l}m=c.length;let y=o;for(;d<m;){let x=c[d++],N=c[d++];try{y=x?x(y):y}catch(C){if(!N){l=Promise.reject(C);break}try{let b=N.call(this,C);h.isThenable(b)&&(l=Promise.resolve(b).then(()=>ul.call(this,y)))}catch(b){l=Promise.reject(b)}break}}if(!l)try{l=ul.call(this,y)}catch(x){l=Promise.reject(x)}for(d=0,m=u.length;d<m;)l=l.then(u[d++],u[d++]);return l}getUri(e){e=Li(this.defaults,e);let o=Ya(e.baseURL,e.url,e.allowAbsoluteUrls,e);return Za(o,e.params,e.paramsSerializer)}};h.forEach(["delete","get","head","options"],s(function(e){Ju.prototype[e]=function(o,i){return this.request(Li(i||{},{method:e,url:o,data:i&&h.hasOwnProp(i,"data")?i.data:void 0}))}},"forEachMethodNoData"));h.forEach(["post","put","patch","query"],s(function(e){function o(i){return s(function(n,a,c){return this.request(Li(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:n,data:a}))},"httpMethod")}s(o,"generateHTTPMethod"),Ju.prototype[e]=o(),e!=="query"&&(Ju.prototype[e+"Form"]=o(!0))},"forEachMethodWithData"));var fl=Ju;var pD=class z0{static{s(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(s(function(n){o=n},"promiseExecutor"));let i=this;this.promise.then(r=>{if(!i._listeners)return;let n=i._listeners.length;for(;n-- >0;)i._listeners[n](r);i._listeners=null}),this.promise.then=r=>{let n,a=new Promise(c=>{i.subscribe(c),n=c}).then(r);return a.cancel=s(function(){i.unsubscribe(n)},"reject"),a},e(s(function(n,a,c){i.reason||(i.reason=new Jo(n,a,c),o(i.reason))},"cancel"))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let o=this._listeners.indexOf(e);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){let e=new AbortController,o=s(i=>{e.abort(i)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new z0(s(function(r){e=r},"executor")),cancel:e}}},j0=pD;function rh(t){return s(function(o){return t.apply(null,o)},"wrap")}s(rh,"spread");function ah(t){return h.isObject(t)&&t.isAxiosError===!0}s(ah,"isAxiosError");var sh={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(sh).forEach(([t,e])=>{sh[e]=t});var B0=sh;function M0(t){let e=new fl(t),o=qp(fl.prototype.request,e);return h.extend(o,fl.prototype,e,{allOwnKeys:!0}),h.extend(o,e,null,{allOwnKeys:!0}),o.create=s(function(r){return M0(Li(t,r))},"create"),o}s(M0,"createInstance");var yt=M0($s);yt.Axios=fl;yt.CanceledError=Jo;yt.CancelToken=j0;yt.isCancel=Kp;yt.VERSION=er;yt.toFormData=kr;yt.AxiosError=w;yt.Cancel=yt.CanceledError;yt.all=s(function(e){return Promise.all(e)},"all");yt.spread=rh;yt.isAxiosError=ah;yt.mergeConfig=Li;yt.AxiosHeaders=we;yt.formToJSON=t=>Lu(h.isHTMLForm(t)?new FormData(t):t);yt.getAdapter=Yu.getAdapter;yt.HttpStatusCode=B0;yt.default=yt;var Xu=yt;var{Axios:CM,AxiosError:NM,CanceledError:RM,isCancel:wM,CancelToken:IM,VERSION:OM,all:AM,Cancel:FM,isAxiosError:DM,spread:EM,toFormData:PM,AxiosHeaders:TM,HttpStatusCode:zM,formToJSON:jM,getAdapter:BM,mergeConfig:MM,create:LM}=Xu;var Zr=require("nfets/core"),sc=require("nfets/core");var ac=class{static{s(this,"Pipeline")}certificate;xmlns="http://www.portalfiscal.inf.br/nfe";http=Xu.create();toolkit=new Zr.Xml2JsToolkit;caching=new Zr.MemoryCacheAdapter;certificates=new Zr.NativeCertificateRepository(this.http,this.caching);soap=new Zr.SoapRemoteTransmissionRepository(this.toolkit,this.certificates);signer=new sc.EntitySigner(this.toolkit,this.certificates);xmlSigner=new sc.XmlSigner(this.toolkit,this.certificates);constructor(e){this.certificate=e}errors(){return Reflect.getMetadata(sc.ValidateErrorsMetadata,this)}};var J0=lt(require("path"),1),fd=require("nfets/core"),hi=require("nfets/core"),md=require("nfets/core");var $u=require("nfets/core"),L0=require("class-transformer"),Vi=require("class-validator");function Ku(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ku,"_ts_decorate");function ph(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ph,"_ts_metadata");var Yr=class{static{s(this,"ConsultStatusPayload")}tpAmb;cUF;xServ="STATUS"};Ku([(0,Vi.IsEnum)($u.Environment),ph("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Yr.prototype,"tpAmb",void 0);Ku([(0,Vi.IsEnum)($u.StateCodes),ph("design:type",typeof StateCode>"u"?Object:StateCode)],Yr.prototype,"cUF",void 0);Ku([(0,Vi.IsOptional)()],Yr.prototype,"xServ",void 0);var ch=class{static{s(this,"ConsultStatusRequest")}consStatServ};Ku([(0,Vi.IsNotEmptyObject)(),(0,Vi.IsObject)(),(0,Vi.ValidateNested)(),(0,L0.Type)(()=>Yr),ph("design:type",typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload)],ch.prototype,"consStatServ",void 0);var V0=require("nfets/core"),td=require("nfets/core"),od=require("class-transformer"),W=require("class-validator");function Nt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Nt,"_ts_decorate");function Yt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yt,"_ts_metadata");var ed=class{static{s(this,"InfInutAttributes")}Id};Nt([(0,W.IsString)(),Yt("design:type",String)],ed.prototype,"Id",void 0);var ml=class{static{s(this,"InutNFeAttributes")}xmlns;versao};Nt([(0,W.IsString)(),Yt("design:type",String)],ml.prototype,"xmlns",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],ml.prototype,"versao",void 0);var Zt=class{static{s(this,"InfInut")}$;tpAmb;xServ="INUTILIZAR";cUF;ano;CNPJ;CPF;mod;serie;nNFIni;nNFFin;xJust};Nt([(0,W.ValidateNested)(),(0,od.Type)(()=>ed),Yt("design:type",typeof IInfInutAttributes>"u"?Object:IInfInutAttributes)],Zt.prototype,"$",void 0);Nt([(0,W.IsEnum)(td.Environment),Yt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],Zt.prototype,"tpAmb",void 0);Nt([(0,W.IsOptional)()],Zt.prototype,"xServ",void 0);Nt([(0,W.IsEnum)(td.StateCodes),Yt("design:type",typeof StateCode>"u"?Object:StateCode)],Zt.prototype,"cUF",void 0);Nt([(0,W.IsString)(),(0,W.Length)(2,2),(0,W.Matches)(/^[0-9]{2}$/),Yt("design:type",String)],Zt.prototype,"ano",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CNPJ",void 0);Nt([(0,W.IsString)(),(0,W.IsOptional)(),Yt("design:type",String)],Zt.prototype,"CPF",void 0);Nt([(0,W.IsString)(),(0,W.Length)(2,2),(0,W.Matches)(/^(55|65)$/),Yt("design:type",String)],Zt.prototype,"mod",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,3}$/),Yt("design:type",String)],Zt.prototype,"serie",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFIni",void 0);Nt([(0,W.IsString)(),(0,W.Matches)(/^[0-9]{1,9}$/),Yt("design:type",String)],Zt.prototype,"nNFFin",void 0);Nt([(0,W.IsString)(),(0,W.MinLength)(15),(0,W.MaxLength)(255),Yt("design:type",String)],Zt.prototype,"xJust",void 0);Zt=Nt([(0,V0.Choice)({properties:["CNPJ","CPF"],required:!0})],Zt);var or=class{static{s(this,"InutilizacaoPayload")}$;infInut;Signature};Nt([(0,W.IsObject)(),(0,W.ValidateNested)(),(0,od.Type)(()=>ml),Yt("design:type",typeof IInutNFeAttributes>"u"?Object:IInutNFeAttributes)],or.prototype,"$",void 0);Nt([(0,W.IsObject)(),(0,W.ValidateNested)(),(0,od.Type)(()=>Zt),Yt("design:type",typeof IInfInut>"u"?Object:IInfInut)],or.prototype,"infInut",void 0);Nt([(0,W.Allow)(),Yt("design:type",typeof Signature>"u"?Object:Signature)],or.prototype,"Signature",void 0);var U0=require("nfets/core"),Nn=require("class-validator");function lh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(lh,"_ts_decorate");function _0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_0,"_ts_metadata");var es=class{static{s(this,"ConsultaProtocoloPayload")}tpAmb;xServ="CONSULTAR";chNFe};lh([(0,Nn.IsEnum)(U0.Environment),_0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],es.prototype,"tpAmb",void 0);lh([(0,Nn.IsOptional)()],es.prototype,"xServ",void 0);lh([(0,Nn.IsString)(),(0,Nn.Length)(44,44),(0,Nn.Matches)(/^[A-Z0-9]{44}$/),_0("design:type",String)],es.prototype,"chNFe",void 0);var nd=require("nfets/core"),Ko=require("class-validator");function hl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hl,"_ts_decorate");function id(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(id,"_ts_metadata");var _i=class{static{s(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};hl([(0,Ko.IsEnum)(nd.Environment),(0,Ko.IsOptional)(),id("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],_i.prototype,"tpAmb",void 0);hl([(0,Ko.IsEnum)(nd.StateCodes),(0,Ko.IsOptional)(),id("design:type",typeof StateCode>"u"?Object:StateCode)],_i.prototype,"cUF",void 0);hl([(0,Ko.IsString)(),(0,Ko.IsOptional)(),id("design:type",String)],_i.prototype,"idLote",void 0);hl([(0,Ko.IsOptional)(),(0,Ko.IsEnum)(["0","1"])],_i.prototype,"indSinc",void 0);hl([(0,Ko.IsNotEmpty)(),id("design:type",typeof T>"u"?Object:T)],_i.prototype,"NFe",void 0);var k0=require("nfets/core"),rd=require("class-validator");function q0(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(q0,"_ts_decorate");function H0(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(H0,"_ts_metadata");var cc=class{static{s(this,"RetAutorizacaoPayload")}tpAmb;nRec};q0([(0,rd.IsEnum)(k0.Environment),H0("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],cc.prototype,"tpAmb",void 0);q0([(0,rd.IsString)(),H0("design:type",String)],cc.prototype,"nRec",void 0);var se=require("class-validator"),vl=require("class-transformer"),cd=require("nfets/core");function Rt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rt,"_ts_decorate");function jt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jt,"_ts_metadata");var ad=class{static{s(this,"InfEventoAttributes")}Id};Rt([(0,se.IsString)(),jt("design:type",String)],ad.prototype,"Id",void 0);var zt=class{static{s(this,"InfEvento")}$;cOrgao;tpAmb;CNPJ;CPF;chNFe;dhEvento;tpEvento;nSeqEvento;verEvento;detEvento};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>ad),jt("design:type",typeof IInfEventoAttributes>"u"?Object:IInfEventoAttributes)],zt.prototype,"$",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof StateCode>"u"?Object:StateCode)],zt.prototype,"cOrgao",void 0);Rt([(0,se.IsString)(),jt("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],zt.prototype,"tpAmb",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CNPJ",void 0);Rt([(0,se.IsString)(),(0,se.IsOptional)(),jt("design:type",String)],zt.prototype,"CPF",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"chNFe",void 0);Rt([(0,cd.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),jt("design:type",String)],zt.prototype,"dhEvento",void 0);Rt([(0,se.IsEnum)(gt),jt("design:type",typeof gt>"u"?Object:gt)],zt.prototype,"tpEvento",void 0);Rt([(0,se.IsNumber)(),jt("design:type",Number)],zt.prototype,"nSeqEvento",void 0);Rt([(0,se.IsString)(),jt("design:type",String)],zt.prototype,"verEvento",void 0);Rt([(0,se.IsObject)(),jt("design:type",typeof T>"u"?Object:T)],zt.prototype,"detEvento",void 0);zt=Rt([(0,cd.Choice)({properties:["CNPJ","CPF"],required:!0})],zt);var sd=class{static{s(this,"EventoItemAttributes")}xmlns};Rt([(0,se.IsString)(),jt("design:type",String)],sd.prototype,"xmlns",void 0);var Rn=class{static{s(this,"EventoItem")}$;infEvento;Signature};Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>sd),jt("design:type",typeof IEventoItemAttributes>"u"?Object:IEventoItemAttributes)],Rn.prototype,"$",void 0);Rt([(0,se.IsObject)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>zt),jt("design:type",typeof zt>"u"?Object:zt)],Rn.prototype,"infEvento",void 0);Rt([(0,se.Allow)(),jt("design:type",typeof Signature>"u"?Object:Signature)],Rn.prototype,"Signature",void 0);var pc=class{static{s(this,"EventoPayload")}idLote;evento};Rt([(0,se.IsString)(),jt("design:type",String)],pc.prototype,"idLote",void 0);Rt([(0,se.IsNotEmpty)(),(0,se.ValidateNested)(),(0,vl.Type)(()=>Rn),jt("design:type",typeof Rn>"u"?Object:Rn)],pc.prototype,"evento",void 0);var G0=require("nfets/core"),Q0=require("nfets/core"),mi=require("class-validator");function lc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(lc,"_ts_decorate");function pd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(pd,"_ts_metadata");var Ui=class{static{s(this,"ConsultaCadastroPayload")}xServ="CONS-CAD";UF;IE="";CNPJ="";CPF=""};lc([(0,mi.IsOptional)()],Ui.prototype,"xServ",void 0);lc([(0,mi.IsString)(),(0,mi.IsIn)(Object.values(G0.StateAcronyms)),pd("design:type",typeof StateAcronym>"u"?Object:StateAcronym)],Ui.prototype,"UF",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"IE",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"CNPJ",void 0);lc([(0,mi.IsOptional)(),(0,mi.IsString)(),pd("design:type",String)],Ui.prototype,"CPF",void 0);Ui=lc([(0,Q0.Choice)({properties:["IE","CNPJ","CPF"],required:!0})],Ui);var ud=require("nfets/core"),Z0=require("nfets/core"),Y0=require("class-transformer"),Bt=require("class-validator");function ts(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ts,"_ts_decorate");function uc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(uc,"_ts_metadata");var ld=class{static{s(this,"ConsChNFe")}chNFe};ts([(0,Bt.IsString)(),(0,Bt.Length)(44,44),(0,Bt.Matches)(/^[A-Z0-9]{44}$/),uc("design:type",String)],ld.prototype,"chNFe",void 0);var qi=class{static{s(this,"DistribuicaoDFePayload")}tpAmb;cUFAutor;CNPJ="";CPF="";consChNFe};ts([(0,Bt.IsEnum)(ud.Environment),uc("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],qi.prototype,"tpAmb",void 0);ts([(0,Bt.IsEnum)(ud.StateCodes),uc("design:type",typeof StateCode>"u"?Object:StateCode)],qi.prototype,"cUFAutor",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CNPJ",void 0);ts([(0,Bt.IsOptional)(),(0,Bt.IsString)(),uc("design:type",String)],qi.prototype,"CPF",void 0);ts([(0,Bt.IsObject)(),(0,Bt.ValidateNested)(),(0,Y0.Type)(()=>ld),uc("design:type",typeof IConsChNFe>"u"?Object:IConsChNFe)],qi.prototype,"consChNFe",void 0);qi=ts([(0,Z0.Choice)({properties:["CNPJ","CPF"],required:!0})],qi);var ce=require("nfets/core"),uh={AM:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",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"}},[ce.Environment.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEventoNF",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:{[ce.Environment.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:"NFeInutilizacao",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"}},[ce.Environment.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:"NFeInutilizacao",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:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[ce.Environment.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:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[ce.Environment.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:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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"}},[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[ce.Environment.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"}},[ce.Environment.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:{[ce.Environment.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"}},[ce.Environment.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:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};var ye=require("nfets/core"),lD={[ye.StateCodes.AC]:"SVRS",[ye.StateCodes.AL]:"SVRS",[ye.StateCodes.AM]:"AM",[ye.StateCodes.AP]:"SVRS",[ye.StateCodes.BA]:"BA",[ye.StateCodes.CE]:"SVRS",[ye.StateCodes.DF]:"SVRS",[ye.StateCodes.ES]:"SVRS",[ye.StateCodes.GO]:"GO",[ye.StateCodes.MA]:"SVAN",[ye.StateCodes.MG]:"MG",[ye.StateCodes.MS]:"MS",[ye.StateCodes.MT]:"MT",[ye.StateCodes.PA]:"SVRS",[ye.StateCodes.PB]:"SVRS",[ye.StateCodes.PE]:"PE",[ye.StateCodes.PI]:"SVRS",[ye.StateCodes.PR]:"PR",[ye.StateCodes.RJ]:"SVRS",[ye.StateCodes.RN]:"SVRS",[ye.StateCodes.RO]:"SVRS",[ye.StateCodes.RR]:"SVRS",[ye.StateCodes.RS]:"RS",[ye.StateCodes.SC]:"SVRS",[ye.StateCodes.SE]:"SVRS",[ye.StateCodes.SP]:"SP",[ye.StateCodes.TO]:"SVRS",91:"AN",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},W0=lD;var be=require("nfets/core"),dd={[be.StateCodes.AC]:"SVCAN",[be.StateCodes.AL]:"SVCAN",[be.StateCodes.AM]:"SVCRS",[be.StateCodes.AP]:"SVCAN",[be.StateCodes.BA]:"SVCRS",[be.StateCodes.CE]:"SVCAN",[be.StateCodes.DF]:"SVCAN",[be.StateCodes.ES]:"SVCAN",[be.StateCodes.GO]:"SVCRS",[be.StateCodes.MA]:"SVCRS",[be.StateCodes.MG]:"SVCAN",[be.StateCodes.MS]:"SVCRS",[be.StateCodes.MT]:"SVCRS",[be.StateCodes.PA]:"SVCAN",[be.StateCodes.PB]:"SVCAN",[be.StateCodes.PE]:"SVCRS",[be.StateCodes.PI]:"SVCAN",[be.StateCodes.PR]:"SVCRS",[be.StateCodes.RJ]:"SVCAN",[be.StateCodes.RN]:"SVCAN",[be.StateCodes.RO]:"SVCAN",[be.StateCodes.RR]:"SVCAN",[be.StateCodes.RS]:"SVCAN",[be.StateCodes.SC]:"SVCAN",[be.StateCodes.SE]:"SVCAN",[be.StateCodes.SP]:"SVCAN",[be.StateCodes.TO]:"SVCAN"};function Wr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wr,"_ts_decorate");function je(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(je,"_ts_metadata");var Ao=class{static{s(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}xmlns="http://www.portalfiscal.inf.br/nfe";options={timeout:6e4};configure(e){this.options={...this.options,...e};let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=Ng.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=this.options.contingency?dd[o]:W0[o];return uh[r][i][e.service]}errors(){return Reflect.getMetadata(hi.ValidateErrorsMetadata,this)}validate(e){try{let o=this.errors();return o?(0,md.left)(new fd.NFeTsError(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),(0,md.right)(e))}finally{Reflect.deleteMetadata(hi.ValidateErrorsMetadata,this)}}ns(e,o){let i=e.$??{};return i.xmlns=this.xmlns,i.versao=o,{...e,$:i}}xsd(e){return J0.default.resolve(Lp(),this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.ns(i,r.version)},method:r.method})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let{cUF:i,tpAmb:r}=o.value.infInut,n=o.value,a=this.service({cUF:i,tpAmb:r,service:"NfeInutilizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:a.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.ns(n,a.version)},method:a.method})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:i.chNFe.substring(0,2),tpAmb:i.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.ns(i,r.version)},method:r.method})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,timeout:this.options.timeout,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.ns(i,r.version)},method:r.method})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({...i,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.ns(i,r.version)},method:r.method})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({service:"RecepcaoEvento"});return i.evento=this.ns(i.evento,r.version),this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("envEvento_v1.00.xsd"),payload:{envEvento:this.ns(i,r.version)},method:r.method})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=this.service({cUF:fd.StateCodes[i.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:r.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.ns(i,r.version)},method:r.method})}async distribuicaoDFe(e){let o=this.validate(e);if(o.isLeft())return o;let i=o.value,r=uh.AN[i.tpAmb].NfeDistribuicaoDFe;return this.remoteTransmissionRepository.send({root:"nfeDistDFeInteresse",url:r.url,xsd:this.xsd("distDFeInt_v1.01.xsd"),payload:{nfeDadosMsg:{distDFeInt:this.ns(i,r.version)}},method:r.method})}};Wr([(0,hi.Validates)(Yr),je("design:type",Function),je("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),je("design:returntype",Promise)],Ao.prototype,"consultStatus",null);Wr([(0,hi.Validates)(or),je("design:type",Function),je("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"inutilizacao",null);Wr([(0,hi.Validates)(es),je("design:type",Function),je("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaProtocolo",null);Wr([(0,hi.Validates)(_i),je("design:type",Function),je("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"autorizacao",null);Wr([(0,hi.Validates)(cc),je("design:type",Function),je("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),je("design:returntype",Promise)],Ao.prototype,"retAutorizacao",null);Wr([(0,hi.Validates)(pc),je("design:type",Function),je("design:paramtypes",[Object]),je("design:returntype",Promise)],Ao.prototype,"recepcaoEvento",null);Wr([(0,hi.Validates)(Ui),je("design:type",Function),je("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),je("design:returntype",Promise)],Ao.prototype,"consultaCadastro",null);Wr([(0,hi.Validates)(qi),je("design:type",Function),je("design:paramtypes",[typeof IDistribuicaoDFePayload>"u"?Object:IDistribuicaoDFePayload]),je("design:returntype",Promise)],Ao.prototype,"distribuicaoDFe",null);var ro=class extends ac{static{s(this,"TransmissionPipeline")}certificate;transmitter=new Ao(this.soap);constructor(e){super(e),this.certificate=e}issuerFromIdentification(e){let o=e.toUpperCase().replace(/[^A-Z0-9]/g,"");if(!o)return(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 obrigat\xF3rio"));if(o.length===11)return(0,ir.right)({CPF:o,idDigits:o.padStart(14,"0")});let i=o.padStart(14,"0");return i.length!==14?(0,ir.left)(new ir.NFeTsError("CNPJ/CPF do emitente \xE9 inv\xE1lido")):(0,ir.right)({CNPJ:i,idDigits:i})}};var X0=require("nfets/core"),K0=require("nfets/core");var uD=["MT"],dD=[X0.StateCodes.MT],fD=[[/[áàâãªä]/g,"a"],[/[ÁÀÂÃÄ]/g,"A"],[/[ÍÌÎÏ]/g,"I"],[/[íìîï]/g,"i"],[/[éèêë]/g,"e"],[/[ÉÈÊË]/g,"E"],[/[óòôõºö]/g,"o"],[/[ÓÒÔÕÖ]/g,"O"],[/[úùûü]/g,"u"],[/[ÚÙÛÜ]/g,"U"],[/ç/g,"c"],[/Ç/g,"C"],[/ñ/g,"n"],[/Ñ/g,"N"]];function mD(t){if(!t)return!1;let e=t.toUpperCase();return uD.includes(e)||dD.includes(e)}s(mD,"shouldStripSefazAccents");function hD(t){return fD.reduce((e,[o,i])=>e.replace(o,i),t)}s(hD,"replaceSefazSpecialChars");function dc(t,e){return mD(e)?dh(t):t}s(dc,"sanitizeSefazText");function vD(t){return t===null||typeof t!="object"||t instanceof Date||t instanceof K0.Decimal?!1:!ArrayBuffer.isView(t)}s(vD,"isWalkableObject");function dh(t){if(typeof t=="string")return hD(t);if(Array.isArray(t))return t.map(i=>dh(i));if(!vD(t))return t;let e={};for(let[o,i]of Object.entries(t))e[o]=dh(i);return e}s(dh,"walk");function gD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(gD,"_ts_decorate");function fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(fh,"_ts_metadata");var os=class extends ro{static{s(this,"EventPipeline")}async event(e,o,i){let r=await this.certificates.read(this.certificate);if(r.isLeft())return r;let n=o.chNFe.slice(0,2);this.transmitter.configure({cUF:o.cOrgao??n,...i,certificate:r.value});let a=qs[e],c=this.issuerFromIdentification(o.identification);if(c.isLeft())return c;let{nSeqEvento:p,dhEvento:u,chNFe:l}=o,d=["ID",e,l,p.toString().padStart(2,"0")].join(""),m=dc({$:{xmlns:this.xmlns},infEvento:{$:{Id:d},cOrgao:o.cOrgao??n,tpAmb:i.tpAmb,CNPJ:c.value.CNPJ,CPF:c.value.CPF,chNFe:l,dhEvento:u,tpEvento:e,nSeqEvento:p,verEvento:a.version,detEvento:{$:{versao:a.version},descEvento:a.descEvento,...o.detEvento}}},n),y=this.validated(m);return y.isLeft()?y:await this.signer.sign(y.value,{tag:"infEvento",mark:"Id"},r.value)}versionedEvent(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infEvento;if(!Object.values(Ff).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"evento"});let n={evento:e,retEvento:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procEventoNFe"})}validated(e){let o=this.errors();return o?(0,Jr.left)(new Jr.NFeTsError(o.join(", "))):(0,Jr.right)(e)}};gD([(0,Jr.Validates)(Rn),fh("design:type",Function),fh("design:paramtypes",[typeof IEventoItem>"u"?Object:IEventoItem]),fh("design:returntype",void 0)],os.prototype,"validated",null);var fc=require("nfets/core");var gl=class extends os{static{s(this,"NfeCancelPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:{nProt:e.nProt,xJust:e.xJust},nSeqEvento:1,identification:e.identification},r=await this.event(gt.Cancelamento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[gt.Cancelamento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,fc.left)(new fc.NFeTsError("Evento de cancelamento n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,fc.right)({xml:l,response:p})}};var is=(function(t){return t.Asynchronous="0",t.Synchronous="1",t})({});var mh=(function(t){return t.LotReceived="103",t.ProcessedBatch="104",t})({});var $0=require("nfets/core");var yl=class extends $0.NFeTsError{static{s(this,"CouldNotReceiveResponseError")}constructor(e="Falha ao consultar protocolo de autoriza\xE7\xE3o ap\xF3s 3 tentativas, tente novamente mais tarde."){super(e)}};var $o=require("nfets/core");var Xr=(function(t){return t.Autorizada="100",t.AutorizadaForaDoPrazo="150",t.UsoDenegado="110",t.NfeDenegada="205",t.DenegadaIrregularidadeEmissor="301",t.DenegadaIrregularidadeDestinatario="302",t.DenegadaNaoHabilitadaNaUf="303",t})({});var bl=class extends ro{static{s(this,"NfeAuthorizerPipeline")}async execute(e,o){e.indSinc??=is.Synchronous;let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=await this.handleNfeBatch(i.value,e.xml);if(r.isLeft())return r;let[n]=r.value;this.transmitter.configure({cUF:n.infNFe.ide.cUF,tpAmb:n.infNFe.ide.tpAmb,...o,contingency:this.contingency(n),certificate:i.value}),e.idLote??=new Date().getTime().toString().slice(0,15);let a=await this.transmitter.autorizacao({...e,NFe:r.value});if(a.isLeft())return a;let c=a.value;return this.isLotNotProcessed(c,e)?(0,$o.right)(await this.handleLotNotProcessed(r.value,c)):e.indSinc===is.Synchronous&&this.isSyncResponse(c)?(0,$o.right)(await this.response(r.value,c)):e.indSinc===is.Asynchronous&&this.hasReceipt(c)?await this.handleAsyncResponse(r.value,c):(0,$o.left)(new yl)}async protocol(e,o){let{cStat:i}=o.infProt;if(!Object.values(Xr).includes(i))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"NFe"});let r={NFe:e,protNFe:o,$:{xmlns:this.xmlns,versao:o.$.versao}};return await this.toolkit.build(r,{renderOpts:{pretty:!1},rootName:"nfeProc"})}async response(e,o){let i=Array.isArray(o.retEnviNFe.protNFe)?o.retEnviNFe.protNFe:[o.retEnviNFe.protNFe],r=await Promise.all(e.map((n,a)=>this.protocol(n,i[a])));return r.length>1?{xml:r,response:o}:{xml:r[0],response:o}}async signNfe(e,o){return this.signer.sign(o,{tag:"infNFe",mark:"Id"},e)}async handleNfeBatch(e,o){if(!Array.isArray(o)){let r=await this.toolkit.parse(o),n=await this.signNfe(e,r);return n.isLeft()?(0,$o.left)(n.value):(0,$o.right)([n.value])}let i=await Promise.all(o.map(async r=>this.signNfe(e,await this.toolkit.parse(r))));return i.some(r=>r.isLeft())?(0,$o.left)(new $o.NFeTsError("Failed to sign a NFe in batch")):(0,$o.right)(i.filter(r=>r.isRight()).map(r=>r.value))}isLotNotProcessed(e,o){let{cStat:i}=e.retEnviNFe,r=o.indSinc??is.Synchronous;return r===is.Asynchronous&&i!==mh.LotReceived.toString()||r===is.Synchronous&&i!==mh.ProcessedBatch.toString()}async handleLotNotProcessed(e,o){return this.response(e,this.toRejectionSyncResponse(e,o))}toRejectionSyncResponse(e,o){let{retEnviNFe:i}=o,r=e.map(n=>this.buildRejectionProtNFe(n,i));return{retEnviNFe:{...i,protNFe:r.length===1?r[0]:r}}}buildRejectionProtNFe(e,o){return{$:{versao:o.$.versao},infProt:{tpAmb:o.tpAmb,verAplic:o.verAplic,chNFe:e.infNFe.$.Id?.substring(3)??"",dhRecbto:o.dhRecbto,nProt:"",digVal:"",cStat:o.cStat,xMotivo:o.xMotivo}}}isSyncResponse(e){return"protNFe"in e.retEnviNFe&&!!e.retEnviNFe.protNFe}hasReceipt(e){return"infRec"in e.retEnviNFe&&!!e.retEnviNFe.infRec.nRec}async handleAsyncResponse(e,o){let{tpAmb:i,infRec:r}=o.retEnviNFe,{nRec:n}=r;for(let a=1;a<=3;a++){await new Promise(u=>setTimeout(u,1e3));let c=await this.transmitter.retAutorizacao({nRec:n,tpAmb:i});if(c.isLeft())continue;let p=c.value.retConsReciNFe.protNFe;if(!(!p||Array.isArray(p)&&p.length===0))return(0,$o.right)(await this.response(e,{retEnviNFe:{...c.value.retConsReciNFe,protNFe:p}}))}return(0,$o.left)(new yl)}contingency(e){let{dhCont:o,xJust:i,tpEmis:r}=e.infNFe.ide;if(!(!o||!i||r===vt.Normal))return{dhCont:o,xJust:i}}};var Hi=require("nfets/core");function yD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yD,"_ts_decorate");function hh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hh,"_ts_metadata");var mc=class extends ro{static{s(this,"NfeVoidRangePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({...o,certificate:i.value});let n=e.ano??new Date().getFullYear().toString().slice(2),a=["ID",o.cUF,n,r.value.idDigits,e.mod,e.serie.padStart(3,"0"),e.nNFIni.padStart(9,"0"),e.nNFFin.padStart(9,"0")].join(""),c=dc({$:{xmlns:this.xmlns},infInut:{$:{Id:a},tpAmb:e.tpAmb??o.tpAmb,cUF:o.cUF,ano:n,CNPJ:r.value.CNPJ,CPF:r.value.CPF,mod:e.mod,serie:e.serie,nNFIni:e.nNFIni,nNFFin:e.nNFFin,xJust:e.xJust}},o.cUF),p=this.validated(c);if(p.isLeft())return p;let u=await this.signer.sign(p.value,{tag:"infInut",mark:"Id"},i.value);if(u.isLeft())return u;let l=await this.transmitter.inutilizacao(u.value);if(l.isLeft())return l;let d=l.value,m=d.retInutNFe;if(!m)return(0,Hi.left)(new Hi.NFeTsError("Retorno de inutiliza\xE7\xE3o n\xE3o retornado"));let y=m.$.versao,x=await this.protocol(this.versionedInutNFe(u.value,y),m,y);return(0,Hi.right)({xml:x,response:d})}versionedInutNFe(e,o){let i=e.$;return{...e,$:{...i,xmlns:this.xmlns,versao:o}}}async protocol(e,o,i){let{cStat:r}=o.infInut;if(!Object.values(Ef).includes(r))return await this.toolkit.build(e,{renderOpts:{pretty:!1},rootName:"inutNFe"});let n={inutNFe:e,retInutNFe:o,$:{xmlns:this.xmlns,versao:i}};return await this.toolkit.build(n,{renderOpts:{pretty:!1},rootName:"procInutNFe"})}validated(e){let o=this.errors();return o?(0,Hi.left)(new Hi.NFeTsError(o.join(", "))):(0,Hi.right)(e)}};yD([(0,Hi.Validates)(or),hh("design:type",Function),hh("design:paramtypes",[typeof IIInutilizacaoPayload>"u"?Object:IIInutilizacaoPayload]),hh("design:returntype",void 0)],mc.prototype,"validated",null);var xl=class extends ro{static{s(this,"NfeConsultStatusPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({...e,certificate:o.value}),await this.transmitter.consultStatus(e))}};var Sl=class extends ro{static{s(this,"NfeConsultProtocoloPipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({tpAmb:e.tpAmb,cUF:e.chNFe.substring(0,2),certificate:o.value}),await this.transmitter.consultaProtocolo(e))}};var vh=class extends ro{static{s(this,"NfeAuthorizationResponsePipeline")}async execute(e){let o=await this.certificates.read(this.certificate);return o.isLeft()?o:(this.transmitter.configure({cUF:e.cUF,tpAmb:e.tpAmb,certificate:o.value}),this.transmitter.retAutorizacao(e))}};var hc=require("nfets/core");var gh=class extends os{static{s(this,"NfeManifestacaoPipeline")}async execute(e,o){let i={chNFe:e.chNFe,dhEvento:e.dhEvento??new Date().toISOString(),detEvento:e.xJust?{xJust:e.xJust}:{},nSeqEvento:e.nSeqEvento??1,identification:e.identification,cOrgao:"91"},r=await this.event(e.tpEvento,i,o);if(r.isLeft())return r;let n=r.value,a=qs[e.tpEvento].version,c=await this.transmitter.recepcaoEvento({idLote:e.idLote??new Date().getTime().toString().slice(0,15),evento:n});if(c.isLeft())return c;let p=c.value,u=p.retEnvEvento.retEvento;if(!u)return(0,hc.left)(new hc.NFeTsError("Evento de manifesta\xE7\xE3o n\xE3o retornado"));let l=await this.protocol(this.versionedEvent(n,a),u,a);return(0,hc.right)({xml:l,response:p})}};var eS=require("zlib"),tS=require("nfets/core");var yh=class extends ro{static{s(this,"NfeDistribuicaoDFePipeline")}async execute(e,o){let i=await this.certificates.read(this.certificate);if(i.isLeft())return i;let r=this.issuerFromIdentification(e.identification);if(r.isLeft())return r;this.transmitter.configure({cUF:"91",...o,certificate:i.value});let n=await this.transmitter.distribuicaoDFe({tpAmb:o.tpAmb,cUFAutor:e.cUFAutor,CNPJ:r.value.CNPJ,CPF:r.value.CPF,consChNFe:{chNFe:e.chNFe}});if(n.isLeft())return n;let a=n.value.nfeDistDFeInteresseResult.retDistDFeInt,c=a.loteDistDFeInt?.docZip;return(0,tS.right)({response:a,xml:c?(0,eS.gunzipSync)(Buffer.from(c.$value,"base64")).toString("utf8"):void 0})}};var oS=lt(require("crypto"),1),nr=require("nfets/core");var Wt=class{static{s(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let i=await this.content(e,o);return i.isLeft()?i:(0,nr.right)(this.assemble(i.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):(0,nr.unreachable)(o)}isVersion200(e){return e.version==="200"}isVersion300(e){return e.version==="300"}assemble(e,o){return{qrCode:e,urlChave:o.urlConsult}}getSequence(e,o){let{version:i,CSCId:r}=o,n=e.infNFe.ide.tpAmb,a=Number.parseInt(r),c=e.infNFe.$.Id?.substring(3),p=Number.parseInt(i??"")/100;if(e.infNFe.ide.tpEmis!==vt.OFFLINE)return`${c}|${p}|${n}|${a}`;let l=e.Signature.SignedInfo.Reference.DigestValue.split("").map(y=>y.charCodeAt(0).toString(16).padStart(2,"0")).join(""),d=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),m=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${c}|${p}|${n}|${d}|${m}|${l}|${a}`}async execute200(e,o){let{urlService:i,CSC:r}=o,n=this.getSequence(e,o),a=oS.default.createHash("sha1").update(`${n}${r}`).digest("hex").toUpperCase(),c=`${i}?p=`;return Promise.resolve((0,nr.right)(`${c}${n}|${a}`))}getQrcodeV300OfflineIdentification(e){if(!e)return{tipo:"",documento:""};let{CPF:o,CNPJ:i,idEstrangeiro:r}=e,n=o?o.replace(/\D/g,""):i?i.replace(/[^A-Z0-9]/g,""):r?.replace(/\D/g,"");return n?n.length===11?{tipo:"2",documento:n}:n.length===14?{tipo:"1",documento:n}:r&&n.length>=3&&n.length<=14?{tipo:"3",documento:n}:{tipo:"",documento:""}:{tipo:"",documento:""}}emissionDayOfMonthFormatted(e){return String(new Date(e).getDate()).padStart(2,"0")}async execute300(e,o){let{urlService:i}=o,r=`${i}?p=`,n=e.infNFe.ide.tpAmb,a=e.infNFe.$.Id?.substring(3),c=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==vt.OFFLINE)return(0,nr.right)(`${r}${a}|${c}|${n}`);let p=this.emissionDayOfMonthFormatted(e.infNFe.ide.dhEmi),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),{tipo:l,documento:d}=this.getQrcodeV300OfflineIdentification(e.infNFe.dest),m=`${a}|${c}|${n}|${p}|${u}|${l}|${d}`,y=await this.certificateRepository.sign(m,o.certificate,nr.SignatureAlgorithm.SHA1);return y.isLeft()?y:(0,nr.right)(`${r}${m}|${y.value}`)}};var Sh=require("nfets/core");var M=require("nfets/core"),bh={AC:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[M.Environment.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:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",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"}},[M.Environment.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",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:"nfeRecepcaoEventoNF",operation:"NFeRecepcaoEvento4",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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[M.Environment.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:"nfeRecepcaoEventoNF",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"}},[M.Environment.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:"nfeRecepcaoEventoNF",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:{[M.Environment.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[M.Environment.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[M.Environment.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"}},[M.Environment.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:{[M.Environment.Homolog]:{},[M.Environment.Production]:{}}};var V=require("nfets/core"),iS={[V.Environment.Homolog]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfcehom",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[V.Environment.Production]:{[V.StateCodes.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[V.StateCodes.AL]:"www.sefaz.al.gov.br/nfce/consulta",[V.StateCodes.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[V.StateCodes.AM]:"www.sefaz.am.gov.br/nfce/consulta",[V.StateCodes.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[V.StateCodes.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[V.StateCodes.DF]:"www.fazenda.df.gov.br/nfce/consulta",[V.StateCodes.ES]:"www.sefaz.es.gov.br/nfce/consulta",[V.StateCodes.GO]:"www.sefaz.go.gov.br/nfce/consulta",[V.StateCodes.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[V.StateCodes.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[V.StateCodes.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[V.StateCodes.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[V.StateCodes.PA]:"www.sefa.pa.gov.br/nfce/consulta",[V.StateCodes.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[V.StateCodes.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[V.StateCodes.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[V.StateCodes.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[V.StateCodes.RN]:"www.set.rn.gov.br/nfce/consulta",[V.StateCodes.RO]:"www.sefin.ro.gov.br/nfce/consulta",[V.StateCodes.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[V.StateCodes.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[V.StateCodes.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[V.StateCodes.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[V.StateCodes.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[V.StateCodes.TO]:"www.sefaz.to.gov.br/nfce/consulta",[V.StateCodes.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};var xe=require("nfets/core"),bD={[xe.StateCodes.AC]:"SVRS",[xe.StateCodes.AL]:"SVRS",[xe.StateCodes.AM]:"AM",[xe.StateCodes.AP]:"SVRS",[xe.StateCodes.BA]:"SVRS",[xe.StateCodes.CE]:"SVRS",[xe.StateCodes.DF]:"SVRS",[xe.StateCodes.ES]:"SVRS",[xe.StateCodes.GO]:"GO",[xe.StateCodes.MA]:"SVRS",[xe.StateCodes.MG]:"MG",[xe.StateCodes.MS]:"MS",[xe.StateCodes.MT]:"MT",[xe.StateCodes.PA]:"SVRS",[xe.StateCodes.PB]:"SVRS",[xe.StateCodes.PE]:"SVRS",[xe.StateCodes.PI]:"SVRS",[xe.StateCodes.PR]:"PR",[xe.StateCodes.RJ]:"SVRS",[xe.StateCodes.RN]:"SVRS",[xe.StateCodes.RO]:"SVRS",[xe.StateCodes.RR]:"SVRS",[xe.StateCodes.RS]:"RS",[xe.StateCodes.SC]:"SVRS",[xe.StateCodes.SE]:"SVRS",[xe.StateCodes.SP]:"SP",[xe.StateCodes.TO]:"SVRS",SVRS:"SVRS"},nS=bD;var hd=class extends _i{static{s(this,"NfceAutorizacaoPayload")}};var rS=require("nfets/core");function xD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(xD,"_ts_decorate");function xh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(xh,"_ts_metadata");var Mt=class extends Ao{static{s(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={timeout:6e4};constructor(e,o){super(e),this.remoteTransmissionRepository=e,this.qrCode=o}configure(e){return super.configure(e)}service(e){let o=e.cUF??this.options.cUF,i=e.tpAmb??this.options.tpAmb,r=nS[o],c=bh[r][i][e.service];if(c)return c;let p=Object.keys(Sh.StateCodes).find(u=>Sh.StateCodes[u]===o);return bh[p][i][e.service]}getUrlConsult(e){let o=e.infNFe.ide.cUF,i=e.infNFe.ide.tpAmb;return iS[i][o]}async autorizacao(e){return super.autorizacao(e)}};xD([(0,rS.Validates)(hd),xh("design:type",Function),xh("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),xh("design:returntype",Promise)],Mt.prototype,"autorizacao",null);var Ch=class extends gl{static{s(this,"NfceCancelPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Cl=class extends bl{static{s(this,"NfceAuthorizerPipeline")}certificate;qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}};var Lt=require("nfets/core");var Nh=class extends Cl{static{s(this,"NfceContingencyXmlAuthorizerPipeline")}certificate;qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode);constructor(e){super(e),this.certificate=e}async handleNfeBatch(e,o){if(!Array.isArray(o))return this.parseContingencyXml(o).then(r=>r.isLeft()?r:(0,Lt.right)([r.value]));let i=await Promise.all(o.map(r=>this.parseContingencyXml(r)));if(i.some(r=>r.isLeft())){let r=i.find(n=>n.isLeft());return(0,Lt.left)(r?.value??new Lt.NFeTsError("NFC-e XML must be signed"))}return(0,Lt.right)(i.filter(r=>r.isRight()).map(r=>r.value))}async parseContingencyXml(e){let o=await this.toolkit.parse(e);return this.assertSignatureIntegrity(o)}async assertSignatureIntegrity(e){let o=e.Signature?.SignedInfo?.Reference?.DigestValue;if(!o)return(0,Lt.left)(new Lt.NFeTsError("NFC-e XML must be signed"));let i=await this.rebuildInfNFeNode(e);if(i.isLeft())return i;let r=this.signatureAlgorithm(e);return this.toolkit.digest(i.value,r)!==o?(0,Lt.left)(new Lt.NFeTsError("NFC-e XML signature digest mismatch")):(0,Lt.right)(e)}async rebuildInfNFeNode(e){let o=e.$?.xmlns,{$:i,...r}=e.infNFe??{};delete i.xmlns;let n=await this.toolkit.build({$:{xmlns:o,...i},...r},{headless:!0,rootName:"infNFe",renderOpts:{pretty:!1}});return(0,Lt.right)(n)}signatureAlgorithm(e){return e.Signature?.SignedInfo?.Reference?.DigestMethod?.$?.Algorithm===Lt.DigestAlgorithm.SHA256?Lt.SignatureAlgorithm.SHA256:Lt.SignatureAlgorithm.SHA1}};var Rh=class extends mc{static{s(this,"NfceVoidRangePipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var wh=class extends xl{static{s(this,"NfceConsultStatusPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var Ih=class extends Sl{static{s(this,"NfceConsultProtocoloPipeline")}qrCode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.qrCode)};var tC=lt(require("path"),1),sp=require("nfets/core");var Mo=require("class-validator");var _=require("class-validator"),tt=require("class-transformer");var O=require("class-validator"),rs=require("class-transformer"),sr=require("nfets/core"),aS=require("nfets/core");function B(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(B,"_ts_decorate");function L(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(L,"_ts_metadata");var rr=class{static{s(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"AAMM",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"CNPJ",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],rr.prototype,"nNF",void 0);var ei=class{static{s(this,"RefNFP")}cUF;AAMM;CNPJ="";CPF="";IE;mod;serie;nNF};B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"AAMM",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ei.prototype,"CNPJ",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ei.prototype,"CPF",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"IE",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],ei.prototype,"nNF",void 0);ei=B([(0,sr.Choice)({properties:["CNPJ","CPF"],required:!0})],ei);var vc=class{static{s(this,"RefECF")}mod;nECF;nCOO};B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"nECF",void 0);B([(0,O.IsString)(),L("design:type",String)],vc.prototype,"nCOO",void 0);var ar=class{static{s(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refNFe",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refNFeSig",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>rr),L("design:type",typeof IRefNF>"u"?Object:IRefNF)],ar.prototype,"refNF",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ei),L("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],ar.prototype,"refNFP",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ar.prototype,"refCTe",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>vc),L("design:type",typeof IRefECF>"u"?Object:IRefECF)],ar.prototype,"refECF",void 0);var ns=class{static{s(this,"CompraGov")}tpEnteGov;pRedutor;tpOperGov;refDFeAnt};B([(0,O.IsString)(),L("design:type",String)],ns.prototype,"tpEnteGov",void 0);B([(0,sr.TransformDecimal)({fixed:4}),L("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ns.prototype,"pRedutor",void 0);B([(0,O.IsString)(),L("design:type",String)],ns.prototype,"tpOperGov",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],ns.prototype,"refDFeAnt",void 0);var vd=class{static{s(this,"PagAntecipado")}refNFe};B([(0,O.IsArray)(),(0,O.ArrayMaxSize)(99),(0,O.IsString)({each:!0}),L("design:type",Array)],vd.prototype,"refNFe",void 0);var $=class{static{s(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;dPrevEntrega;tpNF;idDest;cMunFG;cMunFGIBS;tpImp;tpEmis;cDV="";tpAmb;finNFe;tpNFDebito;tpNFCredito;indFinal;indPres;indIntermed;cIndOp;procEmi;verProc;dhCont;xJust;NFref;gCompraGov;gPagAntecipado};B([(0,O.IsEnum)(aS.StateCodes),L("design:type",typeof StateCode>"u"?Object:StateCode)],$.prototype,"cUF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"cNF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"natOp",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"mod",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"serie",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"nNF",void 0);B([(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhEmi",void 0);B([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhSaiEnt",void 0);B([(0,O.IsOptional)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD"}),L("design:type",String)],$.prototype,"dPrevEntrega",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNF",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"idDest",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"cMunFG",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"cMunFGIBS",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"tpImp",void 0);B([(0,O.IsString)(),L("design:type",typeof TpEmis>"u"?Object:TpEmis)],$.prototype,"tpEmis",void 0);B([(0,O.IsString)(),(0,O.IsOptional)(),L("design:type",String)],$.prototype,"cDV",void 0);B([(0,O.IsString)(),L("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],$.prototype,"tpAmb",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"finNFe",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNFDebito",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"tpNFCredito",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"indFinal",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"indPres",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"indIntermed",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"cIndOp",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"procEmi",void 0);B([(0,O.IsString)(),L("design:type",String)],$.prototype,"verProc",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),(0,sr.TransformDateString)({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),L("design:type",String)],$.prototype,"dhCont",void 0);B([(0,O.IsOptional)(),(0,O.IsString)(),L("design:type",String)],$.prototype,"xJust",void 0);B([(0,O.IsOptional)(),(0,O.IsArray)(),(0,O.ArrayMaxSize)(999),(0,O.ValidateNested)({each:!0}),(0,rs.Type)(()=>ar),L("design:type",Array)],$.prototype,"NFref",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>ns),L("design:type",typeof ICompraGov>"u"?Object:ICompraGov)],$.prototype,"gCompraGov",void 0);B([(0,O.IsOptional)(),(0,O.ValidateNested)(),(0,rs.Type)(()=>vd),L("design:type",typeof IPagAntecipado>"u"?Object:IPagAntecipado)],$.prototype,"gPagAntecipado",void 0);var ut=require("class-validator"),sS=require("nfets/core"),cS=require("class-transformer");var Xt=require("class-validator");function ki(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ki,"_ts_decorate");function Gi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Gi,"_ts_metadata");var Jt=class{static{s(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xLgr",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"nro",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xCpl",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xBairro",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"cMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xMun",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"UF",void 0);ki([(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"CEP",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"cPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"xPais",void 0);ki([(0,Xt.IsOptional)(),(0,Xt.IsString)(),Gi("design:type",String)],Jt.prototype,"fone",void 0);function vi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vi,"_ts_decorate");function Qi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qi,"_ts_metadata");var wt=class{static{s(this,"Emit")}CNPJ="";CPF="";xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT;ISUFEmit};vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CNPJ",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CPF",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"xNome",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"xFant",void 0);vi([(0,ut.ValidateNested)(),(0,cS.Type)(()=>Jt),Qi("design:type",typeof Jt>"u"?Object:Jt)],wt.prototype,"enderEmit",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IE",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IEST",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"IM",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CNAE",void 0);vi([(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"CRT",void 0);vi([(0,ut.IsOptional)(),(0,ut.IsString)(),Qi("design:type",String)],wt.prototype,"ISUFEmit",void 0);wt=vi([(0,sS.Choice)({properties:["CNPJ","CPF"],required:!0})],wt);var nt=require("class-validator"),pS=require("class-transformer");var Be=require("class-validator");function Zi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zi,"_ts_decorate");function Yi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yi,"_ts_metadata");var Fo=class{static{s(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xLgr",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"nro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xCpl",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xBairro",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xMun",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"UF",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"CEP",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"cPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"xPais",void 0);Zi([(0,Be.IsOptional)(),(0,Be.IsString)(),Yi("design:type",String)],Fo.prototype,"fone",void 0);var lS=require("nfets/core");function Wi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wi,"_ts_decorate");function wn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wn,"_ts_metadata");var Vt=class{static{s(this,"Dest")}CNPJ="";CPF="";idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"CNPJ",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"CPF",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"idEstrangeiro",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"xNome",void 0);Wi([(0,nt.IsOptional)(),(0,nt.ValidateNested)(),(0,pS.Type)(()=>Fo),wn("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],Vt.prototype,"enderDest",void 0);Wi([(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"indIEDest",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"IE",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"ISUF",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"IM",void 0);Wi([(0,nt.IsOptional)(),(0,nt.IsString)(),wn("design:type",String)],Vt.prototype,"email",void 0);Vt=Wi([(0,lS.Choice)({properties:["CNPJ","CPF"],required:!0})],Vt);var Se=require("class-validator"),uS=require("nfets/core");function Kt(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Kt,"_ts_decorate");function ao(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ao,"_ts_metadata");var Ie=class{static{s(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CNPJ",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CPF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xNome",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xLgr",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"nro",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xCpl",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xBairro",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xMun",void 0);Kt([(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"UF",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"CEP",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"cPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"xPais",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"fone",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"email",void 0);Kt([(0,Se.IsOptional)(),(0,Se.IsString)(),ao("design:type",String)],Ie.prototype,"IE",void 0);Ie=Kt([(0,uS.Choice)({properties:["CNPJ","CPF"]})],Ie);var gc=require("class-validator"),fS=require("nfets/core");function Oh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Oh,"_ts_decorate");function dS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(dS,"_ts_metadata");var In=class{static{s(this,"AutXML")}CNPJ;CPF};Oh([(0,gc.IsOptional)(),(0,gc.IsString)(),dS("design:type",String)],In.prototype,"CNPJ",void 0);Oh([(0,gc.IsOptional)(),(0,gc.IsString)(),dS("design:type",String)],In.prototype,"CPF",void 0);In=Oh([(0,fS.Choice)({properties:["CNPJ","CPF"]})],In);var Nl=require("class-validator");function mS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(mS,"_ts_decorate");function hS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hS,"_ts_metadata");var Kr=class{static{s(this,"InfIntermed")}CNPJ;idCadIntTran};mS([(0,Nl.IsString)(),hS("design:type",String)],Kr.prototype,"CNPJ",void 0);mS([(0,Nl.IsOptional)(),(0,Nl.IsString)(),hS("design:type",String)],Kr.prototype,"idCadIntTran",void 0);var as=require("class-validator");function Ah(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ah,"_ts_decorate");function Fh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fh,"_ts_metadata");var cr=class{static{s(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};Ah([(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"UFSaidaPais",void 0);Ah([(0,as.IsOptional)(),(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"xLocExporta",void 0);Ah([(0,as.IsOptional)(),(0,as.IsString)(),Fh("design:type",String)],cr.prototype,"xLocDespacho",void 0);var $r=require("class-validator");function Dh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Dh,"_ts_decorate");function Eh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Eh,"_ts_metadata");var pr=class{static{s(this,"Compra")}xNEmp;xPed;xCont};Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xNEmp",void 0);Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xPed",void 0);Dh([(0,$r.IsOptional)(),(0,$r.IsString)(),Eh("design:type",String)],pr.prototype,"xCont",void 0);var On=require("class-validator");function yc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yc,"_ts_decorate");function bc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bc,"_ts_metadata");var gi=class{static{s(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"CNPJ",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"xContato",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"email",void 0);yc([(0,On.IsString)(),bc("design:type",String)],gi.prototype,"fone",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"idCSRT",void 0);yc([(0,On.IsOptional)(),(0,On.IsString)(),bc("design:type",String)],gi.prototype,"hashCSRT",void 0);var Si=require("class-validator"),Oc=require("class-transformer");var Ji=require("class-validator"),le=require("nfets/core");function fe(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fe,"_ts_decorate");function me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(me,"_ts_metadata");var re=class{static{s(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};fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBC",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSDeson",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPUFDest",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFDest",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSUFRemet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCP",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vBCST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPST",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFCPSTRet",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMono",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMono",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoReten",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoReten",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"qBCMonoRet",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vICMSMonoRet",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vProd",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vFrete",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vSeg",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vDesc",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vII",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPI",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vIPIDevol",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vPIS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vCOFINS",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vOutro",void 0);fe([(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vNF",void 0);fe([(0,Ji.IsOptional)(),(0,le.TransformDecimal)({fixed:2}),me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],re.prototype,"vTotTrib",void 0);var Do=require("class-validator"),Xi=require("nfets/core");function yi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(yi,"_ts_decorate");function bi(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(bi,"_ts_metadata");var so=class{static{s(this,"ISSQNtot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vServ",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vPIS",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vCOFINS",void 0);yi([(0,Do.IsString)(),bi("design:type",String)],so.prototype,"dCompet",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDeducao",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vOutro",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescIncond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vDescCond",void 0);yi([(0,Do.IsOptional)(),(0,Xi.TransformDecimal)({fixed:2}),bi("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vISSRet",void 0);yi([(0,Do.IsOptional)(),(0,Do.IsString)(),bi("design:type",String)],so.prototype,"cRegTrib",void 0);var ea=require("class-validator"),ta=require("nfets/core");function ss(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ss,"_ts_decorate");function cs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(cs,"_ts_metadata");var Ki=class{static{s(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPIS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCOFINS",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetCSLL",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vIRRF",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vBCRetPrev",void 0);ss([(0,ea.IsOptional)(),(0,ta.TransformDecimal)({fixed:2}),cs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ki.prototype,"vRetPrev",void 0);var en=require("class-validator");var ur=require("class-validator");var gd=require("nfets/core");function Ph(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ph,"_ts_decorate");function Th(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Th,"_ts_metadata");var ps=class{static{s(this,"IBSMunTot")}vDif="0.00";vDevTrib="0.00";vIBSMun="0.00"};Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDif",void 0);Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vDevTrib",void 0);Ph([(0,gd.TransformDecimal)({fixed:2}),Th("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ps.prototype,"vIBSMun",void 0);var Bh=require("class-transformer");var yd=require("nfets/core");function zh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(zh,"_ts_decorate");function jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jh,"_ts_metadata");var ls=class{static{s(this,"IBSUFTot")}vDif="0.00";vDevTrib="0.00";vIBSUF="0.00"};zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDif",void 0);zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vDevTrib",void 0);zh([(0,yd.TransformDecimal)({fixed:2}),jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ls.prototype,"vIBSUF",void 0);var bd=require("nfets/core");function Rl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rl,"_ts_decorate");function wl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wl,"_ts_metadata");var lr=class{static{s(this,"IBSTot")}gIBSUF;gIBSMun;vIBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,Bh.Type)(()=>ls),wl("design:type",typeof IIBSUFTot>"u"?Object:IIBSUFTot)],lr.prototype,"gIBSUF",void 0);Rl([(0,ur.IsOptional)(),(0,ur.ValidateNested)(),(0,Bh.Type)(()=>ps),wl("design:type",typeof IIBSMunTot>"u"?Object:IIBSMunTot)],lr.prototype,"gIBSMun",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vIBS",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPres",void 0);Rl([(0,ur.IsOptional)(),(0,bd.TransformDecimal)({fixed:2}),wl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],lr.prototype,"vCredPresCondSus",void 0);var yS=require("nfets/core"),Dl=require("class-transformer");var xc=require("nfets/core"),Sc=require("class-validator");function Il(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Il,"_ts_decorate");function Ol(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ol,"_ts_metadata");var dr=class{static{s(this,"CBSTot")}vDif="0.00";vDevTrib="0.00";vCBS="0.00";vCredPres="0.00";vCredPresCondSus="0.00"};Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDif",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vDevTrib",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCBS",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPres",void 0);Il([(0,Sc.IsOptional)(),(0,xc.TransformDecimal)({fixed:2}),Ol("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dr.prototype,"vCredPresCondSus",void 0);var us=require("nfets/core"),ds=require("class-validator");function Cc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Cc,"_ts_decorate");function Nc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Nc,"_ts_metadata");var An=class{static{s(this,"IBSMonoTot")}vIBSMono="0.00";vCBSMono="0.00";vIBSMonoReten="0.00";vCBSMonoReten="0.00";vIBSMonoRet="0.00";vCBSMonoRet="0.00"};Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMono",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoReten",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vIBSMonoRet",void 0);Cc([(0,ds.IsOptional)(),(0,us.TransformDecimal)({fixed:2}),Nc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"vCBSMonoRet",void 0);var Mh=require("class-validator"),Lh=require("nfets/core");function vS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(vS,"_ts_decorate");function gS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(gS,"_ts_metadata");var Rc=class{static{s(this,"EstornoCredTot")}vIBSEstCred;vCBSEstCred};vS([(0,Mh.IsOptional)(),(0,Lh.TransformDecimal)({fixed:2}),gS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vIBSEstCred",void 0);vS([(0,Mh.IsOptional)(),(0,Lh.TransformDecimal)({fixed:2}),gS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Rc.prototype,"vCBSEstCred",void 0);function Al(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Al,"_ts_decorate");function Fl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fl,"_ts_metadata");var $i=class{static{s(this,"IBSCBSTot")}vBCIBSCBS="0.00";gIBS;gCBS;gMono;gEstornoCred};Al([(0,en.IsOptional)(),(0,yS.TransformDecimal)({fixed:2}),Fl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$i.prototype,"vBCIBSCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>lr),Fl("design:type",typeof IIBSTot>"u"?Object:IIBSTot)],$i.prototype,"gIBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>dr),Fl("design:type",typeof ICBSTot>"u"?Object:ICBSTot)],$i.prototype,"gCBS",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>An),Fl("design:type",typeof IIBSMonoTot>"u"?Object:IIBSMonoTot)],$i.prototype,"gMono",void 0);Al([(0,en.IsOptional)(),(0,en.ValidateNested)(),(0,Dl.Type)(()=>Rc),Fl("design:type",typeof IEstornoCredTot>"u"?Object:IEstornoCredTot)],$i.prototype,"gEstornoCred",void 0);var bS=require("nfets/core"),xS=require("class-validator");function SD(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(SD,"_ts_decorate");function CD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(CD,"_ts_metadata");var fs=class{static{s(this,"ISTot")}vIS="0.00"};SD([(0,xS.IsOptional)(),(0,bS.TransformDecimal)({fixed:2}),CD("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fs.prototype,"vIS",void 0);var SS=require("nfets/core");function wc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(wc,"_ts_decorate");function Ic(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ic,"_ts_metadata");var xi=class{static{s(this,"Total")}ICMSTot;ISSQNtot;retTrib;ISTot;IBSCBSTot;vNFTot};wc([(0,Si.ValidateNested)(),(0,Oc.Type)(()=>re),Ic("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],xi.prototype,"ICMSTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>so),Ic("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],xi.prototype,"ISSQNtot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>Ki),Ic("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],xi.prototype,"retTrib",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>fs),Ic("design:type",typeof IISTot>"u"?Object:IISTot)],xi.prototype,"ISTot",void 0);wc([(0,Si.IsOptional)(),(0,Si.ValidateNested)(),(0,Oc.Type)(()=>$i),Ic("design:type",typeof IIBSCBSTot>"u"?Object:IIBSCBSTot)],xi.prototype,"IBSCBSTot",void 0);wc([(0,Si.IsOptional)(),(0,SS.TransformDecimal)({fixed:2}),Ic("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xi.prototype,"vNFTot",void 0);var dt=require("class-validator"),zc=require("class-transformer");var po=require("class-validator"),CS=require("nfets/core");function oa(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oa,"_ts_decorate");function ms(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ms,"_ts_metadata");var co=class{static{s(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CNPJ",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"CPF",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xNome",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"IE",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xEnder",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"xMun",void 0);oa([(0,po.IsOptional)(),(0,po.IsString)(),ms("design:type",String)],co.prototype,"UF",void 0);co=oa([(0,CS.Choice)({properties:["CNPJ","CPF"]})],co);var Fn=require("class-validator"),El=require("nfets/core");function Ac(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ac,"_ts_decorate");function Fc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fc,"_ts_metadata");var ti=class{static{s(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vServ",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vBCRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:4}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"pICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,El.TransformDecimal)({fixed:2}),Fc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ti.prototype,"vICMSRet",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"CFOP",void 0);Ac([(0,Fn.IsOptional)(),(0,Fn.IsString)(),Fc("design:type",String)],ti.prototype,"cMunFG",void 0);var Ho=require("class-validator");function Dc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Dc,"_ts_decorate");function Ec(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ec,"_ts_metadata");var Dn=class{static{s(this,"VeicTransp")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],Dn.prototype,"RNTC",void 0);var hs=class{static{s(this,"Reboque")}placa;UF;RNTC};Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"placa",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"UF",void 0);Dc([(0,Ho.IsOptional)(),(0,Ho.IsString)(),Ec("design:type",String)],hs.prototype,"RNTC",void 0);var Ci=require("class-validator"),Vh=require("nfets/core");function Pc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Pc,"_ts_decorate");function Tc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Tc,"_ts_metadata");var En=class{static{s(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"qVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"esp",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"marca",void 0);Pc([(0,Ci.IsOptional)(),(0,Ci.IsString)(),Tc("design:type",String)],En.prototype,"nVol",void 0);Pc([(0,Ci.IsOptional)(),(0,Vh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoL",void 0);Pc([(0,Ci.IsOptional)(),(0,Vh.TransformDecimal)({fixed:3}),Tc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pesoB",void 0);var _h=require("nfets/core");function fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(fr,"_ts_decorate");function ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ia,"_ts_metadata");var lo=class{static{s(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};fr([(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"modFrete",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>co),ia("design:type",typeof co>"u"?Object:co)],lo.prototype,"transporta",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>ti),ia("design:type",typeof ti>"u"?Object:ti)],lo.prototype,"retTransp",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)(),(0,zc.Type)(()=>Dn),ia("design:type",typeof Dn>"u"?Object:Dn)],lo.prototype,"veicTransp",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)({each:!0}),(0,zc.Type)(()=>hs),(0,dt.ArrayMaxSize)(5),ia("design:type",Array)],lo.prototype,"reboque",void 0);fr([(0,dt.IsOptional)(),(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"vagao",void 0);fr([(0,dt.IsOptional)(),(0,dt.IsString)(),ia("design:type",String)],lo.prototype,"balsa",void 0);fr([(0,dt.IsOptional)(),(0,dt.ValidateNested)({each:!0}),(0,zc.Type)(()=>En),(0,dt.ArrayMaxSize)(5e3),ia("design:type",Array)],lo.prototype,"vol",void 0);lo=fr([(0,_h.Choice)({properties:["veicTransp","reboque"]}),(0,_h.Choice)({properties:["vagao","balsa"]})],lo);var It=require("class-validator"),Uh=require("class-transformer"),Pl=require("nfets/core");function hr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hr,"_ts_decorate");function vr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vr,"_ts_metadata");var mr=class{static{s(this,"Fat")}nFat;vOrig;vDesc;vLiq};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],mr.prototype,"nFat",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vOrig",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vDesc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vLiq",void 0);var jc=class{static{s(this,"Dup")}nDup;dVenc;vDup};hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"nDup",void 0);hr([(0,It.IsOptional)(),(0,It.IsString)(),vr("design:type",String)],jc.prototype,"dVenc",void 0);hr([(0,It.IsOptional)(),(0,Pl.TransformDecimal)({fixed:2}),vr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jc.prototype,"vDup",void 0);var na=class{static{s(this,"Cobr")}fat;dup};hr([(0,It.IsOptional)(),(0,It.ValidateNested)(),(0,Uh.Type)(()=>mr),vr("design:type",typeof mr>"u"?Object:mr)],na.prototype,"fat",void 0);hr([(0,It.IsOptional)(),(0,It.ValidateNested)({each:!0}),(0,It.ArrayMaxSize)(120),(0,Uh.Type)(()=>jc),vr("design:type",Array)],na.prototype,"dup",void 0);var ca=require("class-validator"),IS=require("class-transformer");var Eo=require("class-validator"),NS=require("class-transformer");var ko=require("class-validator");function Bc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Bc,"_ts_decorate");function Mc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Mc,"_ts_metadata");var oi=class{static{s(this,"Card")}tpIntegra;CNPJ;tBand;cAut;CNPJReceb;idTermPag};Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tpIntegra",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJ",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"tBand",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"cAut",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"CNPJReceb",void 0);Bc([(0,ko.IsOptional)(),(0,ko.IsString)(),Mc("design:type",String)],oi.prototype,"idTermPag",void 0);var xd=require("nfets/core");function ra(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ra,"_ts_decorate");function aa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(aa,"_ts_metadata");var Ni=class{static{s(this,"DetPag")}indPag;tPag;xPag;vPag;dPag;CNPJPag;UFPag;card};ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"indPag",void 0);ra([(0,Eo.IsString)(),aa("design:type",typeof TPag>"u"?Object:TPag)],Ni.prototype,"tPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"xPag",void 0);ra([(0,xd.TransformDecimal)({fixed:2}),aa("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ni.prototype,"vPag",void 0);ra([(0,Eo.IsOptional)(),(0,xd.TransformDateString)({format:"YYYY-MM-DD"}),aa("design:type",String)],Ni.prototype,"dPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"CNPJPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.IsString)(),aa("design:type",String)],Ni.prototype,"UFPag",void 0);ra([(0,Eo.IsOptional)(),(0,Eo.ValidateNested)(),(0,NS.Type)(()=>oi),aa("design:type",typeof oi>"u"?Object:oi)],Ni.prototype,"card",void 0);var OS=require("nfets/core");function RS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(RS,"_ts_decorate");function wS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wS,"_ts_metadata");var sa=class{static{s(this,"Pag")}detPag;vTroco};RS([(0,ca.ValidateNested)({each:!0}),(0,ca.ArrayMinSize)(1),(0,ca.ArrayMaxSize)(100),(0,IS.Type)(()=>Ni),wS("design:type",Array)],sa.prototype,"detPag",void 0);RS([(0,ca.IsOptional)(),(0,OS.TransformDecimal)({fixed:2}),wS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],sa.prototype,"vTroco",void 0);var $e=require("class-validator"),Sd=require("class-transformer");function gr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(gr,"_ts_decorate");function yr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yr,"_ts_metadata");var Lc=class{static{s(this,"InfAdicObs")}xCampo;xTexto};gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xCampo",void 0);gr([(0,$e.IsString)(),yr("design:type",String)],Lc.prototype,"xTexto",void 0);var Tl=class{static{s(this,"ProcRef")}nProc;indProc};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"nProc",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],Tl.prototype,"indProc",void 0);var tn=class{static{s(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infAdFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.IsString)(),yr("design:type",String)],tn.prototype,"infCpl",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsCont",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Lc),(0,$e.ArrayMaxSize)(10),yr("design:type",Array)],tn.prototype,"obsFisco",void 0);gr([(0,$e.IsOptional)(),(0,$e.ValidateNested)({each:!0}),(0,Sd.Type)(()=>Tl),(0,$e.ArrayMaxSize)(100),yr("design:type",Array)],tn.prototype,"procRef",void 0);var Re=require("class-validator"),Nd=require("class-transformer"),Bl=require("nfets/core");function Po(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Po,"_ts_decorate");function To(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(To,"_ts_metadata");var Cd=class{static{s(this,"ForDiaAttributes")}dia};Po([(0,Re.IsString)(),To("design:type",String)],Cd.prototype,"dia",void 0);var zl=class{static{s(this,"ForDia")}$;qtde};Po([(0,Re.IsObject)(),(0,Re.IsNotEmptyObject)(),(0,Nd.Type)(()=>Cd),To("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],zl.prototype,"$",void 0);Po([(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zl.prototype,"qtde",void 0);var jl=class{static{s(this,"Deduc")}xDed;vDed};Po([(0,Re.IsString)(),To("design:type",String)],jl.prototype,"xDed",void 0);Po([(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],jl.prototype,"vDed",void 0);var uo=class{static{s(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"safra",void 0);Po([(0,Re.IsString)(),To("design:type",String)],uo.prototype,"ref",void 0);Po([(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(31),(0,Nd.Type)(()=>zl),To("design:type",Array)],uo.prototype,"forDia",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotMes",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotAnt",void 0);Po([(0,Re.IsOptional)(),(0,Re.IsString)(),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"qTotGer",void 0);Po([(0,Re.IsOptional)(),(0,Re.ValidateNested)({each:!0}),(0,Re.ArrayMaxSize)(10),(0,Nd.Type)(()=>jl),To("design:type",Array)],uo.prototype,"deduc",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vFor",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vTotDed",void 0);Po([(0,Re.IsOptional)(),(0,Bl.TransformDecimal)({fixed:2}),To("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],uo.prototype,"vLiqFor",void 0);var Ot=require("class-validator"),Is=require("class-transformer");var F=require("class-validator"),Pn=require("nfets/core"),nn=require("class-transformer");var on=require("class-validator");function Ml(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ml,"_ts_decorate");function Ll(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ll,"_ts_metadata");var br=class{static{s(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};Ml([(0,on.IsString)(),Ll("design:type",String)],br.prototype,"nLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"qLote",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dFab",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"dVal",void 0);Ml([(0,on.IsOptional)(),(0,on.IsString)(),Ll("design:type",String)],br.prototype,"cAgreg",void 0);var BS=require("nfets/core");var he=require("class-validator"),AS=require("class-transformer"),Vl=require("nfets/core");function Ut(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ut,"_ts_decorate");function $t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s($t,"_ts_metadata");var pa=class{static{s(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nAdicao",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nSeqAdic",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],pa.prototype,"cFabricante",void 0);Ut([(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],pa.prototype,"vDescDI",void 0);Ut([(0,he.IsOptional)(),(0,he.IsString)(),$t("design:type",String)],pa.prototype,"nDraw",void 0);var _t=class{static{s(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ="";CPF="";UFTerceiro;adi};Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"nDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDI",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"xLocDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"UFDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"dDesemb",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpViaTransp",void 0);Ut([(0,he.IsOptional)(),(0,Vl.TransformDecimal)({fixed:2}),$t("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_t.prototype,"vAFRMM",void 0);Ut([(0,he.IsString)(),$t("design:type",String)],_t.prototype,"tpIntermedio",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CNPJ",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"CPF",void 0);Ut([(0,he.IsString)(),(0,he.IsOptional)(),$t("design:type",String)],_t.prototype,"UFTerceiro",void 0);Ut([(0,he.IsArray)(),(0,he.ValidateNested)({each:!0}),(0,AS.Type)(()=>pa),(0,he.ArrayMaxSize)(999),(0,he.ArrayMinSize)(1),$t("design:type",Array)],_t.prototype,"adi",void 0);_t=Ut([(0,Vl.Choice)({properties:["CNPJ","CPF"],required:!0})],_t);var FS=require("class-transformer"),xr=require("class-validator"),DS=require("nfets/core");function _l(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(_l,"_ts_decorate");function Ul(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ul,"_ts_metadata");var Vc=class{static{s(this,"ExportInd")}nRE;chNFe;qExport};_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"nRE",void 0);_l([(0,xr.IsString)(),Ul("design:type",String)],Vc.prototype,"chNFe",void 0);_l([(0,DS.TransformDecimal)({fixed:4}),Ul("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Vc.prototype,"qExport",void 0);var _c=class{static{s(this,"DetExport")}nDraw;exportInd};_l([(0,xr.IsOptional)(),(0,xr.IsString)(),Ul("design:type",String)],_c.prototype,"nDraw",void 0);_l([(0,xr.IsOptional)(),(0,xr.ValidateNested)(),(0,FS.Type)(()=>Vc),Ul("design:type",typeof IExportInd>"u"?Object:IExportInd)],_c.prototype,"exportInd",void 0);var qh=require("class-validator");function ES(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ES,"_ts_decorate");function PS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(PS,"_ts_metadata");var Uc=class{static{s(this,"InfProdNFF")}cProdFisco;cOperNFF};ES([(0,qh.IsString)(),PS("design:type",String)],Uc.prototype,"cProdFisco",void 0);ES([(0,qh.IsString)(),PS("design:type",String)],Uc.prototype,"cOperNFF",void 0);var Gh=require("class-validator"),TS=require("nfets/core");function Hh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Hh,"_ts_decorate");function kh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(kh,"_ts_metadata");var vs=class{static{s(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};Hh([(0,Gh.IsString)(),kh("design:type",String)],vs.prototype,"xEmb",void 0);Hh([(0,TS.TransformDecimal)({fixed:3}),kh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vs.prototype,"qVolEmb",void 0);Hh([(0,Gh.IsString)(),kh("design:type",String)],vs.prototype,"uEmb",void 0);var Fe=require("class-validator");function Me(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Me,"_ts_decorate");function Le(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Le,"_ts_metadata");var Ce=class{static{s(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};Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpOp",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"chassi",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"xCor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pot",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cilin",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoL",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"pesoB",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nSerie",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpComb",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"nMotor",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"CMT",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"dist",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"anoFab",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpPint",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"espVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"VIN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"condVeic",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cMod",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"cCorDENATRAN",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"lota",void 0);Me([(0,Fe.IsString)(),Le("design:type",String)],Ce.prototype,"tpRest",void 0);var Yh=require("class-validator"),zS=require("nfets/core");function Qh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qh,"_ts_decorate");function Zh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zh,"_ts_metadata");var gs=class{static{s(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Qh([(0,Yh.IsString)(),Zh("design:type",String)],gs.prototype,"cProdANVISA",void 0);Qh([(0,Yh.IsString)(),Zh("design:type",String)],gs.prototype,"xMotivoIsencao",void 0);Qh([(0,zS.TransformDecimal)({fixed:2}),Zh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gs.prototype,"vPMC",void 0);var ql=require("class-validator");function Rd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Rd,"_ts_decorate");function wd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(wd,"_ts_metadata");var la=class{static{s(this,"Arma")}tpArma;nSerie;nCano;descr};Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"tpArma",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"nSerie",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"nCano",void 0);Rd([(0,ql.IsString)(),wd("design:type",String)],la.prototype,"descr",void 0);var ae=require("class-validator"),Id=require("class-transformer"),ii=require("nfets/core");function Ve(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ve,"_ts_decorate");function _e(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_e,"_ts_metadata");var qc=class{static{s(this,"OrigComb")}indImport;cUFOrig;pOrig};Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"indImport",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],qc.prototype,"cUFOrig",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qc.prototype,"pOrig",void 0);var Hc=class{static{s(this,"CIDE")}qBCProd;vAliqProd;vCIDE};Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"qBCProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vAliqProd",void 0);Ve([(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Hc.prototype,"vCIDE",void 0);var ua=class{static{s(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBico",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nBomba",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],ua.prototype,"nTanque",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncIni",void 0);Ve([(0,ii.TransformDecimal)({fixed:3}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ua.prototype,"vEncFin",void 0);var eo=class{static{s(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"cProdANP",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"descANP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGLP",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNn",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pGNi",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:2}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"vPart",void 0);Ve([(0,ae.IsString)(),(0,ae.IsOptional)(),_e("design:type",String)],eo.prototype,"CODIF",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"qTemp",void 0);Ve([(0,ae.IsString)(),_e("design:type",String)],eo.prototype,"UFCons",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Id.Type)(()=>Hc),_e("design:type",typeof ICIDE>"u"?Object:ICIDE)],eo.prototype,"CIDE",void 0);Ve([(0,ae.IsOptional)(),(0,ae.IsObject)(),(0,ae.ValidateNested)(),(0,Id.Type)(()=>ua),_e("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],eo.prototype,"encerrante",void 0);Ve([(0,ae.IsOptional)(),(0,ii.TransformDecimal)({fixed:4}),_e("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],eo.prototype,"pBio",void 0);Ve([(0,ae.IsArray)(),(0,ae.ValidateNested)({each:!0}),(0,Id.Type)(()=>qc),(0,ae.ArrayMaxSize)(30),(0,ae.IsOptional)(),_e("design:type",Array)],eo.prototype,"origComb",void 0);var jS=require("class-validator"),Xh=require("nfets/core");function Wh(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wh,"_ts_decorate");function Jh(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jh,"_ts_metadata");var ys=class{static{s(this,"GCred")}cCredPresumido;pCredPresumido;vCredPresumido};Wh([(0,jS.IsString)(),Jh("design:type",String)],ys.prototype,"cCredPresumido",void 0);Wh([(0,Xh.TransformDecimal)({fixed:4}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"pCredPresumido",void 0);Wh([(0,Xh.TransformDecimal)({fixed:2}),Jh("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ys.prototype,"vCredPresumido",void 0);function Y(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Y,"_ts_decorate");function J(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(J,"_ts_metadata");var q=class{static{s(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;tpCredPresIBSZFM;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;cBarraTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;indBemMovelUsado;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cEAN",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBarra",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"xProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"NCM",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(8),(0,F.IsString)({each:!0}),J("design:type",Array)],q.prototype,"NVE",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"CEST",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"indEscala",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"CNPJFab",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBenef",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ArrayMaxSize)(4),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>ys),J("design:type",Array)],q.prototype,"gCred",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"tpCredPresIBSZFM",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"EXTIPI",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"CFOP",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"uCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"qCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vUnCom",void 0);Y([(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vProd",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"cEANTrib",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"cBarraTrib",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"uTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:4}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"qTrib",void 0);Y([(0,Pn.TransformDecimal)({fixed:10}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vUnTrib",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vFrete",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vSeg",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vDesc",void 0);Y([(0,F.IsOptional)(),(0,Pn.TransformDecimal)({fixed:2}),J("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],q.prototype,"vOutro",void 0);Y([(0,F.IsString)(),J("design:type",String)],q.prototype,"indTot",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"indBemMovelUsado",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(100),(0,nn.Type)(()=>_t),J("design:type",Array)],q.prototype,"DI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>_c),J("design:type",Array)],q.prototype,"detExport",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"xPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nItemPed",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nFCI",void 0);Y([(0,F.IsOptional)(),(0,F.IsArray)(),(0,F.ValidateNested)({each:!0}),(0,F.ArrayMaxSize)(500),(0,nn.Type)(()=>br),J("design:type",Array)],q.prototype,"rastro",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Uc),J("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],q.prototype,"infProdNFF",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>vs),J("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],q.prototype,"infProdEmb",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>Ce),J("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],q.prototype,"veicProd",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>gs),J("design:type",typeof IMed>"u"?Object:IMed)],q.prototype,"med",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)({each:!0}),(0,nn.Type)(()=>la),(0,F.ArrayMaxSize)(500),J("design:type",Array)],q.prototype,"arma",void 0);Y([(0,F.IsOptional)(),(0,F.IsObject)(),(0,F.ValidateNested)(),(0,nn.Type)(()=>eo),J("design:type",typeof IComb>"u"?Object:IComb)],q.prototype,"comb",void 0);Y([(0,F.IsOptional)(),(0,F.IsString)(),J("design:type",String)],q.prototype,"nRECOPI",void 0);q=Y([(0,BS.Choice)({properties:["veicProd","med","arma","comb"]})],q);var Pi=require("class-transformer"),Pe=require("class-validator");var f=require("class-validator"),rt=require("class-transformer"),S=require("nfets/core");function v(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(v,"_ts_decorate");function g(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(g,"_ts_metadata");var Ri=class{static{s(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP};v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ri.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ri.prototype,"vFCP",void 0);var da=class{static{s(this,"ICMS02")}orig;CST;qBCMono;adRemICMS;vICMSMono};v([(0,f.IsString)(),g("design:type",String)],da.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],da.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],da.prototype,"vICMSMono",void 0);var ft=class{static{s(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],ft.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ft.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ft.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ft.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vFCPST",void 0);var ni=class{static{s(this,"ICMS15")}orig;CST;qBCMono;adRemICMS;vICMSMono;qBCMonoReten;adRemICMSReten;vICMSMonoReten;pRedAdRem;motRedAdRem};v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ni.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMono",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMS",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"qBCMonoReten",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"adRemICMSReten",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"vICMSMonoReten",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ni.prototype,"pRedAdRem",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],ni.prototype,"motRedAdRem",void 0);var zo=class{static{s(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],zo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],zo.prototype,"motDesICMS",void 0);var fo=class{static{s(this,"ICMS30")}orig;CST;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fo.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],fo.prototype,"motDesICMS",void 0);var bs=class{static{s(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],bs.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bs.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],bs.prototype,"motDesICMS",void 0);var wi=class{static{s(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],wi.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],wi.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],wi.prototype,"vICMSDif",void 0);var ri=class{static{s(this,"ICMS53")}orig;CST;qBCMono;adRemICMS;vICMSMonoOp;pDif;vICMSMonoDif;vICMSMono;qBCMonoDif;adRemICMSDif};v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ri.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoOp",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),(0,f.Max)(100),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"pDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"vICMSMono",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"qBCMonoDif",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ri.prototype,"adRemICMSDif",void 0);var mo=class{static{s(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],mo.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mo.prototype,"vICMSEfet",void 0);var fa=class{static{s(this,"ICMS61")}orig;CST;qBCMonoRet;adRemICMSRet;vICMSMonoRet};v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],fa.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"qBCMonoRet",void 0);v([(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"adRemICMSRet",void 0);v([(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fa.prototype,"vICMSMonoRet",void 0);var Ue=class{static{s(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Ue.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Ue.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ue.prototype,"vFCPST",void 0);var qe=class{static{s(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;vBCFCP;pFCP;vFCP;vICMSDeson;motDesICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;vBCFCPST;pFCPST;vFCPST};v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qe.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCP",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSDeson",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"motDesICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qe.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vBCFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"pFCPST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qe.prototype,"vFCPST",void 0);var qt=class{static{s(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],qt.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pMVAST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pRedBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"pBCOp",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],qt.prototype,"UFST",void 0);var Sr=class{static{s(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Sr.prototype,"CST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Sr.prototype,"vICMSSTRet",void 0);var xs=class{static{s(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],xs.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xs.prototype,"vCredICMSSN",void 0);var Hl=class{static{s(this,"ICMSSN102")}orig;CSOSN};v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Hl.prototype,"CSOSN",void 0);var rn=class{static{s(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],rn.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],rn.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],rn.prototype,"vCredICMSSN",void 0);var Cr=class{static{s(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],Cr.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],Cr.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Cr.prototype,"vICMSST",void 0);var ho=class{static{s(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet;vBCFCPSTRet;pFCPSTRet;vFCPSTRet;pRedBCEfet;vBCEfet;pICMSEfet;vICMSEfet};v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],ho.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSubstituto",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vFCPSTRet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pRedBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vBCEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"pICMSEfet",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ho.prototype,"vICMSEfet",void 0);var vo=class{static{s(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"orig",void 0);v([(0,f.IsString)(),g("design:type",String)],vo.prototype,"CSOSN",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pRedBC",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMS",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMS",void 0);v([(0,f.IsOptional)(),(0,f.IsString)(),g("design:type",String)],vo.prototype,"modBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vBCST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vICMSST",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:4}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"pCredSN",void 0);v([(0,f.IsOptional)(),(0,S.TransformDecimal)({fixed:2}),g("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],vo.prototype,"vCredICMSSN",void 0);var ve=class{static{s(this,"ICMS")}ICMS00;ICMS02;ICMS10;ICMS15;ICMS20;ICMS30;ICMS40;ICMS51;ICMS53;ICMS60;ICMS61;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Ri),g("design:type",typeof IICMS00>"u"?Object:IICMS00)],ve.prototype,"ICMS00",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>da),g("design:type",typeof IICMS02>"u"?Object:IICMS02)],ve.prototype,"ICMS02",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ft),g("design:type",typeof IICMS10>"u"?Object:IICMS10)],ve.prototype,"ICMS10",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ni),g("design:type",typeof IICMS15>"u"?Object:IICMS15)],ve.prototype,"ICMS15",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>zo),g("design:type",typeof IICMS20>"u"?Object:IICMS20)],ve.prototype,"ICMS20",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>fo),g("design:type",typeof IICMS30>"u"?Object:IICMS30)],ve.prototype,"ICMS30",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>bs),g("design:type",typeof IICMS40>"u"?Object:IICMS40)],ve.prototype,"ICMS40",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>wi),g("design:type",typeof IICMS51>"u"?Object:IICMS51)],ve.prototype,"ICMS51",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ri),g("design:type",typeof IICMS53>"u"?Object:IICMS53)],ve.prototype,"ICMS53",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>mo),g("design:type",typeof IICMS60>"u"?Object:IICMS60)],ve.prototype,"ICMS60",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>fa),g("design:type",typeof IICMS61>"u"?Object:IICMS61)],ve.prototype,"ICMS61",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Ue),g("design:type",typeof IICMS70>"u"?Object:IICMS70)],ve.prototype,"ICMS70",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>qe),g("design:type",typeof IICMS90>"u"?Object:IICMS90)],ve.prototype,"ICMS90",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>qt),g("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],ve.prototype,"ICMSPart",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Sr),g("design:type",typeof IICMSST>"u"?Object:IICMSST)],ve.prototype,"ICMSST",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>xs),g("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],ve.prototype,"ICMSSN101",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Hl),g("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],ve.prototype,"ICMSSN102",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>rn),g("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],ve.prototype,"ICMSSN201",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>Cr),g("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],ve.prototype,"ICMSSN202",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>ho),g("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],ve.prototype,"ICMSSN500",void 0);v([(0,f.IsOptional)(),(0,f.ValidateNested)(),(0,rt.Type)(()=>vo),g("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],ve.prototype,"ICMSSN900",void 0);ve=v([(0,S.Choice)({properties:["ICMS00","ICMS02","ICMS10","ICMS15","ICMS20","ICMS30","ICMS40","ICMS51","ICMS53","ICMS60","ICMS61","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],ve);var Oe=require("class-validator"),Kh=require("class-transformer");function ai(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ai,"_ts_decorate");function si(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(si,"_ts_metadata");var Nr=class{static{s(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ai([(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"CST",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vBC",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"pIPI",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"qUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vUnid",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Nr.prototype,"vIPI",void 0);var Od=class{static{s(this,"IPINT")}CST};ai([(0,Oe.IsString)(),si("design:type",String)],Od.prototype,"CST",void 0);var Ii=class{static{s(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"CNPJProd",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cSelo",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"qSelo",void 0);ai([(0,Oe.IsString)(),si("design:type",String)],Ii.prototype,"cEnq",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Kh.Type)(()=>Nr),si("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],Ii.prototype,"IPITrib",void 0);ai([(0,Oe.IsOptional)(),(0,Oe.ValidateNested)(),(0,Kh.Type)(()=>Od),si("design:type",typeof IIPINT>"u"?Object:IIPINT)],Ii.prototype,"IPINT",void 0);var zn=require("class-validator");function Ad(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ad,"_ts_decorate");function Fd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Fd,"_ts_metadata");var Tn=class{static{s(this,"II")}vBC;vDespAdu;vII;vIOF};Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vBC",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vDespAdu",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vII",void 0);Ad([(0,zn.IsOptional)(),(0,zn.IsString)(),Fd("design:type",String)],Tn.prototype,"vIOF",void 0);var G=require("class-validator"),kl=require("class-transformer"),cn=require("nfets/core");function He(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(He,"_ts_decorate");function ke(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ke,"_ts_metadata");var Rr=class{static{s(this,"PISAliq")}CST;vBC;pPIS;vPIS};He([(0,G.IsString)(),ke("design:type",String)],Rr.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],Rr.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],Rr.prototype,"vPIS",void 0);var wr=class{static{s(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};He([(0,G.IsString)(),ke("design:type",String)],wr.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],wr.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],wr.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],wr.prototype,"vPIS",void 0);var kc=class{static{s(this,"PISNT")}CST};He([(0,G.IsString)(),ke("design:type",String)],kc.prototype,"CST",void 0);var an=class{static{s(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,G.IsString)(),ke("design:type",String)],an.prototype,"CST",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],an.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],an.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],an.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],an.prototype,"vPIS",void 0);var jn=class{static{s(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>Rr),ke("design:type",typeof Rr>"u"?Object:Rr)],jn.prototype,"PISAliq",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>wr),ke("design:type",typeof wr>"u"?Object:wr)],jn.prototype,"PISQtde",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>kc),ke("design:type",typeof kc>"u"?Object:kc)],jn.prototype,"PISNT",void 0);He([(0,G.IsOptional)(),(0,G.ValidateNested)(),(0,kl.Type)(()=>an),ke("design:type",typeof an>"u"?Object:an)],jn.prototype,"PISOutr",void 0);var sn=class{static{s(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vBC",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:4}),ke("design:type",String)],sn.prototype,"pPIS",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],sn.prototype,"qBCProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),ke("design:type",String)],sn.prototype,"vAliqProd",void 0);He([(0,G.IsOptional)(),(0,G.IsString)(),(0,cn.TransformDecimal)({fixed:2}),ke("design:type",String)],sn.prototype,"vPIS",void 0);var Q=require("class-validator"),Gl=require("class-transformer"),un=require("nfets/core");function Ge(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ge,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Qe,"_ts_metadata");var Ir=class{static{s(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],Ir.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],Ir.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Ir.prototype,"vCOFINS",void 0);var Or=class{static{s(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],Or.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],Or.prototype,"vCOFINS",void 0);var Gc=class{static{s(this,"COFINSNT")}CST};Ge([(0,Q.IsString)(),Qe("design:type",String)],Gc.prototype,"CST",void 0);var pn=class{static{s(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"CST",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],pn.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],pn.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],pn.prototype,"vCOFINS",void 0);var Bn=class{static{s(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Ir),Qe("design:type",typeof Ir>"u"?Object:Ir)],Bn.prototype,"COFINSAliq",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Or),Qe("design:type",typeof Or>"u"?Object:Or)],Bn.prototype,"COFINSQtde",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>Gc),Qe("design:type",typeof Gc>"u"?Object:Gc)],Bn.prototype,"COFINSNT",void 0);Ge([(0,Q.IsOptional)(),(0,Q.ValidateNested)(),(0,Gl.Type)(()=>pn),Qe("design:type",typeof pn>"u"?Object:pn)],Bn.prototype,"COFINSOutr",void 0);var ln=class{static{s(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vBC",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:4}),Qe("design:type",String)],ln.prototype,"pCOFINS",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],ln.prototype,"qBCProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),Qe("design:type",String)],ln.prototype,"vAliqProd",void 0);Ge([(0,Q.IsOptional)(),(0,Q.IsString)(),(0,un.TransformDecimal)({fixed:2}),Qe("design:type",String)],ln.prototype,"vCOFINS",void 0);var Ze=require("class-validator"),Ar=require("nfets/core");function go(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(go,"_ts_decorate");function yo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(yo,"_ts_metadata");var at=class{static{s(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;indISS;indIncentivo;cServico;cMun;cPais;nProcesso};go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vBC",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:4}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vAliq",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vISSQN",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cMunFG",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cListServ",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDeducao",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vOutro",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDescIncond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vDescCond",void 0);go([(0,Ze.IsOptional)(),(0,Ar.TransformDecimal)({fixed:2}),yo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],at.prototype,"vISSRet",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"indISS",void 0);go([(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"indIncentivo",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cServico",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cMun",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"cPais",void 0);go([(0,Ze.IsOptional)(),(0,Ze.IsString)(),yo("design:type",String)],at.prototype,"nProcesso",void 0);var bt=require("class-validator");function Fr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Fr,"_ts_decorate");function Dr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Dr,"_ts_metadata");var jo=class{static{s(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vBCFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInter",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"pICMSInterPart",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vFCPUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFDest",void 0);Fr([(0,bt.IsOptional)(),(0,bt.IsString)(),Dr("design:type",String)],jo.prototype,"vICMSUFRemet",void 0);var et=require("class-validator");var Qc=require("class-validator");function MS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(MS,"_ts_decorate");function LS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(LS,"_ts_metadata");var ma=class{static{s(this,"TransferenciaCredito")}vIBS;vCBS};MS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),LS("design:type",String)],ma.prototype,"vIBS",void 0);MS([(0,Qc.IsOptional)(),(0,Qc.IsString)(),LS("design:type",String)],ma.prototype,"vCBS",void 0);var Dd=require("class-validator");function $h(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s($h,"_ts_decorate");function ev(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ev,"_ts_metadata");var Er=class{static{s(this,"CredPresIBSZFM")}tpCredPresIBSZFM;vCredPresIBSZFM;competApur};$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"tpCredPresIBSZFM",void 0);$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"vCredPresIBSZFM",void 0);$h([(0,Dd.IsString)(),ev("design:type",String)],Er.prototype,"competApur",void 0);var Bo=require("class-validator"),tv=require("class-transformer");function Ln(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ln,"_ts_decorate");function Vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vn,"_ts_metadata");var ha=class{static{s(this,"IBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],ha.prototype,"vCredPres",void 0);var va=class{static{s(this,"CBSCredPres")}vCredPresCondSus;pCredPres;vCredPres};Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPresCondSus",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"pCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],va.prototype,"vCredPres",void 0);var Mn=class{static{s(this,"CredPresOper")}gIBSCredPres;gCBSCredPres;vBCCredPres;cCredPres};Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,tv.Type)(()=>ha),Vn("design:type",typeof ha>"u"?Object:ha)],Mn.prototype,"gIBSCredPres",void 0);Ln([(0,Bo.IsOptional)(),(0,Bo.ValidateNested)(),(0,tv.Type)(()=>va),Vn("design:type",typeof va>"u"?Object:va)],Mn.prototype,"gCBSCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"vBCCredPres",void 0);Ln([(0,Bo.IsString)(),Vn("design:type",String)],Mn.prototype,"cCredPres",void 0);var ov=require("class-validator");function VS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(VS,"_ts_decorate");function _S(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(_S,"_ts_metadata");var ga=class{static{s(this,"EstornoCred")}vIBSEstCred;vCBSEstCred};VS([(0,ov.IsString)(),_S("design:type",String)],ga.prototype,"vIBSEstCred",void 0);VS([(0,ov.IsString)(),_S("design:type",String)],ga.prototype,"vCBSEstCred",void 0);var Ed=require("class-validator");function iv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(iv,"_ts_decorate");function nv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(nv,"_ts_metadata");var Pr=class{static{s(this,"AjusteCompet")}competApur;vCBS;vIBS};iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"competApur",void 0);iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"vCBS",void 0);iv([(0,Ed.IsString)(),nv("design:type",String)],Pr.prototype,"vIBS",void 0);var Hn=require("class-validator"),st=require("nfets/core"),Ql=require("class-transformer");function De(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(De,"_ts_decorate");function Ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ee,"_ts_metadata");var _n=class{static{s(this,"MonoPadrao")}qBCMono;adRemIBS;adRemCBS;vIBSMono;vCBSMono};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"qBCMono",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemIBS",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"adRemCBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vIBSMono",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_n.prototype,"vCBSMono",void 0);var Un=class{static{s(this,"MonoReten")}qBCMonoReten;adRemIBSReten;vIBSMonoReten;adRemCBSReten;vCBSMonoReten};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"qBCMonoReten",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemIBSReten",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vIBSMonoReten",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"adRemCBSReten",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Un.prototype,"vCBSMonoReten",void 0);var qn=class{static{s(this,"MonoRet")}qBCMonoRet;adRemIBSRet;vIBSMonoRet;adRemCBSRet;vCBSMonoRet};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"qBCMonoRet",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemIBSRet",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vIBSMonoRet",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"adRemCBSRet",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qn.prototype,"vCBSMonoRet",void 0);var Tr=class{static{s(this,"MonoDif")}pDifIBS;vIBSMonoDif;pDifCBS;vCBSMonoDif};De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifIBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vIBSMonoDif",void 0);De([(0,st.TransformDecimal)({fixed:4}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"pDifCBS",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Tr.prototype,"vCBSMonoDif",void 0);var Oi=class{static{s(this,"IBSCBSMono")}gMonoPadrao;gMonoReten;gMonoRet;gMonoDif;vTotIBSMonoItem;vTotCBSMonoItem};De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>_n),Ee("design:type",typeof _n>"u"?Object:_n)],Oi.prototype,"gMonoPadrao",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Un),Ee("design:type",typeof Un>"u"?Object:Un)],Oi.prototype,"gMonoReten",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>qn),Ee("design:type",typeof qn>"u"?Object:qn)],Oi.prototype,"gMonoRet",void 0);De([(0,Hn.IsOptional)(),(0,Hn.ValidateNested)(),(0,Ql.Type)(()=>Tr),Ee("design:type",typeof Tr>"u"?Object:Tr)],Oi.prototype,"gMonoDif",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotIBSMonoItem",void 0);De([(0,st.TransformDecimal)({fixed:2}),Ee("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Oi.prototype,"vTotCBSMonoItem",void 0);var Di=require("class-validator"),fv=require("nfets/core");var Ss=require("nfets/core"),rv=require("class-validator");function ya(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ya,"_ts_decorate");function ba(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ba,"_ts_metadata");var Go=class{static{s(this,"TribRegular")}CSTReg;cClassTribReg;pAliqEfetRegIBSUF;vTribRegIBSUF;pAliqEfetRegIBSMun;vTribRegIBSMun;pAliqEfetRegCBS;vTribRegCBS};ya([(0,rv.IsString)(),ba("design:type",String)],Go.prototype,"CSTReg",void 0);ya([(0,rv.IsString)(),ba("design:type",String)],Go.prototype,"cClassTribReg",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSUF",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegIBSMun",void 0);ya([(0,Ss.TransformDecimal)({fixed:4}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"pAliqEfetRegCBS",void 0);ya([(0,Ss.TransformDecimal)({fixed:2}),ba("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Go.prototype,"vTribRegCBS",void 0);var Cs=require("nfets/core");function Zc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zc,"_ts_decorate");function Yc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yc,"_ts_metadata");var Ai=class{static{s(this,"TribCompraGov")}pAliqIBSUF;vTribIBSUF;pAliqIBSMun;vTribIBSMun;pAliqCBS;vTribCBS};Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSUF",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribIBSMun",void 0);Zc([(0,Cs.TransformDecimal)({fixed:4}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"pAliqCBS",void 0);Zc([(0,Cs.TransformDecimal)({fixed:2}),Yc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ai.prototype,"vTribCBS",void 0);var Xc=require("class-transformer");var xa=require("class-validator"),pv=require("nfets/core"),Pd=require("class-transformer");var av=require("nfets/core"),HS=require("class-validator");function US(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(US,"_ts_decorate");function qS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qS,"_ts_metadata");var bo=class{static{s(this,"DevTrib")}pDevTrib;vDevTrib};US([(0,HS.IsOptional)(),(0,av.TransformDecimal)({fixed:4}),qS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"pDevTrib",void 0);US([(0,av.TransformDecimal)({fixed:2}),qS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],bo.prototype,"vDevTrib",void 0);var sv=require("nfets/core");function kS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(kS,"_ts_decorate");function GS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(GS,"_ts_metadata");var xo=class{static{s(this,"Dif")}pDif;vDif};kS([(0,sv.TransformDecimal)({fixed:4}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"pDif",void 0);kS([(0,sv.TransformDecimal)({fixed:2}),GS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vDif",void 0);var cv=require("nfets/core");function QS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(QS,"_ts_decorate");function ZS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(ZS,"_ts_metadata");var So=class{static{s(this,"Red")}pRedAliq;pAliqEfet};QS([(0,cv.TransformDecimal)({fixed:4}),ZS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pRedAliq",void 0);QS([(0,cv.TransformDecimal)({fixed:4}),ZS("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],So.prototype,"pAliqEfet",void 0);function Zl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Zl,"_ts_decorate");function Yl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Yl,"_ts_metadata");var dn=class{static{s(this,"IBSMun")}pIBSMun;gDif;gDevTrib;gRed;vIBSMun};Zl([(0,pv.TransformDecimal)({fixed:4}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"pIBSMun",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>xo),Yl("design:type",typeof xo>"u"?Object:xo)],dn.prototype,"gDif",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>bo),Yl("design:type",typeof bo>"u"?Object:bo)],dn.prototype,"gDevTrib",void 0);Zl([(0,xa.IsOptional)(),(0,xa.ValidateNested)(),(0,Pd.Type)(()=>So),Yl("design:type",typeof So>"u"?Object:So)],dn.prototype,"gRed",void 0);Zl([(0,pv.TransformDecimal)({fixed:2}),Yl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],dn.prototype,"vIBSMun",void 0);var Sa=require("class-validator"),lv=require("nfets/core"),Td=require("class-transformer");function Wl(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wl,"_ts_decorate");function Jl(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jl,"_ts_metadata");var fn=class{static{s(this,"IBSUF")}pIBSUF;gDif;gDevTrib;gRed;vIBSUF};Wl([(0,lv.TransformDecimal)({fixed:4}),Jl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"pIBSUF",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>xo),Jl("design:type",typeof xo>"u"?Object:xo)],fn.prototype,"gDif",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>bo),Jl("design:type",typeof bo>"u"?Object:bo)],fn.prototype,"gDevTrib",void 0);Wl([(0,Sa.IsOptional)(),(0,Sa.ValidateNested)(),(0,Td.Type)(()=>So),Jl("design:type",typeof So>"u"?Object:So)],fn.prototype,"gRed",void 0);Wl([(0,lv.TransformDecimal)({fixed:2}),Jl("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],fn.prototype,"vIBSUF",void 0);var Gn=require("class-validator"),dv=require("nfets/core"),Kl=require("class-transformer");var uv=require("nfets/core"),Xl=require("class-validator");function zd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(zd,"_ts_decorate");function jd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(jd,"_ts_metadata");var kn=class{static{s(this,"ALCZFMCBS")}tpALCZFMCBS;nProcSuframa;pAliqEfetRegCBS;vTribRegCBS};zd([(0,Xl.IsString)(),jd("design:type",String)],kn.prototype,"tpALCZFMCBS",void 0);zd([(0,Xl.IsOptional)(),(0,Xl.IsString)(),jd("design:type",String)],kn.prototype,"nProcSuframa",void 0);zd([(0,uv.TransformDecimal)({fixed:4}),jd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"pAliqEfetRegCBS",void 0);zd([(0,uv.TransformDecimal)({fixed:2}),jd("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],kn.prototype,"vTribRegCBS",void 0);function Wc(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Wc,"_ts_decorate");function Jc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Jc,"_ts_metadata");var Fi=class{static{s(this,"CBS")}pCBS;gDif;gDevTrib;gRed;gALCZFMCBS;vCBS};Wc([(0,dv.TransformDecimal)({fixed:4}),Jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"pCBS",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>xo),Jc("design:type",typeof xo>"u"?Object:xo)],Fi.prototype,"gDif",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>bo),Jc("design:type",typeof bo>"u"?Object:bo)],Fi.prototype,"gDevTrib",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>So),Jc("design:type",typeof So>"u"?Object:So)],Fi.prototype,"gRed",void 0);Wc([(0,Gn.IsOptional)(),(0,Gn.ValidateNested)(),(0,Kl.Type)(()=>kn),Jc("design:type",typeof kn>"u"?Object:kn)],Fi.prototype,"gALCZFMCBS",void 0);Wc([(0,dv.TransformDecimal)({fixed:2}),Jc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fi.prototype,"vCBS",void 0);function Ns(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ns,"_ts_decorate");function Rs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Rs,"_ts_metadata");var ci=class{static{s(this,"GIBSCBS")}vBC;gIBSUF;gIBSMun;vIBS;gCBS;gTribRegular;gTribCompraGov};Ns([(0,fv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vBC",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>fn),Rs("design:type",typeof fn>"u"?Object:fn)],ci.prototype,"gIBSUF",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>dn),Rs("design:type",typeof dn>"u"?Object:dn)],ci.prototype,"gIBSMun",void 0);Ns([(0,fv.TransformDecimal)({fixed:2}),Rs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ci.prototype,"vIBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Fi),Rs("design:type",typeof Fi>"u"?Object:Fi)],ci.prototype,"gCBS",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Go),Rs("design:type",typeof Go>"u"?Object:Go)],ci.prototype,"gTribRegular",void 0);Ns([(0,Di.IsOptional)(),(0,Di.ValidateNested)(),(0,Xc.Type)(()=>Ai),Rs("design:type",typeof Ai>"u"?Object:Ai)],ci.prototype,"gTribCompraGov",void 0);var Ca=require("class-transformer");function Qn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Qn,"_ts_decorate");function Zn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Zn,"_ts_metadata");var Co=class{static{s(this,"IBSCBS")}CST;cClassTrib;indDoacao;gTransfCred;gCredPresIBSZFM;gCredPresOper;gAjusteCompet;gEstornoCred;gIBSCBSMono;gIBSCBS};Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"CST",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"cClassTrib",void 0);Qn([(0,et.IsOptional)(),(0,et.IsString)(),Zn("design:type",String)],Co.prototype,"indDoacao",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ma),Zn("design:type",typeof ma>"u"?Object:ma)],Co.prototype,"gTransfCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Er),Zn("design:type",typeof Er>"u"?Object:Er)],Co.prototype,"gCredPresIBSZFM",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Mn),Zn("design:type",typeof Mn>"u"?Object:Mn)],Co.prototype,"gCredPresOper",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Pr),Zn("design:type",typeof Pr>"u"?Object:Pr)],Co.prototype,"gAjusteCompet",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ga),Zn("design:type",typeof ga>"u"?Object:ga)],Co.prototype,"gEstornoCred",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>Oi),Zn("design:type",typeof Oi>"u"?Object:Oi)],Co.prototype,"gIBSCBSMono",void 0);Qn([(0,et.IsOptional)(),(0,et.ValidateNested)(),(0,Ca.Type)(()=>ci),Zn("design:type",typeof ci>"u"?Object:ci)],Co.prototype,"gIBSCBS",void 0);var Kc=require("nfets/core"),mn=require("class-validator");function Na(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Na,"_ts_decorate");function Ra(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ra,"_ts_metadata");var Qo=class{static{s(this,"IS")}CSTIS;cClassTribIS;vBCIS;pIS;adRemIS;uTrib;qTrib;vIS};Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"CSTIS",void 0);Na([(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"cClassTribIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vBCIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"pIS",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"adRemIS",void 0);Na([(0,mn.IsOptional)(),(0,mn.IsString)(),Ra("design:type",String)],Qo.prototype,"uTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:4}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"qTrib",void 0);Na([(0,mn.IsOptional)(),(0,Kc.TransformDecimal)({fixed:2}),Ra("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qo.prototype,"vIS",void 0);var Bd=require("nfets/core");function pi(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(pi,"_ts_decorate");function Ei(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ei,"_ts_metadata");var xt=class{static{s(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest;IS;IBSCBS};pi([(0,Pe.IsOptional)(),(0,Bd.TransformDecimal)({fixed:2}),Ei("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xt.prototype,"vTotTrib",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ve),Ei("design:type",typeof IICMS>"u"?Object:IICMS)],xt.prototype,"ICMS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Ii),Ei("design:type",typeof IIPI>"u"?Object:IIPI)],xt.prototype,"IPI",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>at),Ei("design:type",typeof IISSQN>"u"?Object:IISSQN)],xt.prototype,"ISSQN",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Tn),Ei("design:type",typeof III>"u"?Object:III)],xt.prototype,"II",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jn),Ei("design:type",typeof IPIS>"u"?Object:IPIS)],xt.prototype,"PIS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>sn),Ei("design:type",typeof IPISST>"u"?Object:IPISST)],xt.prototype,"PISST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Bn),Ei("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],xt.prototype,"COFINS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>ln),Ei("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],xt.prototype,"COFINSST",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>jo),Ei("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],xt.prototype,"ICMSUFDest",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Qo),Ei("design:type",typeof IIS>"u"?Object:IIS)],xt.prototype,"IS",void 0);pi([(0,Pe.IsOptional)(),(0,Pe.ValidateNested)(),(0,Pi.Type)(()=>Co),Ei("design:type",typeof IIBSCBS>"u"?Object:IIBSCBS)],xt.prototype,"IBSCBS",void 0);xt=pi([(0,Bd.Choice)({properties:["ICMS","ISSQN"]})],xt);var ws=require("class-validator"),YS=require("class-transformer");function mv(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(mv,"_ts_decorate");function hv(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(hv,"_ts_metadata");var Md=class{static{s(this,"IpiDevol")}vIPIDevol};mv([(0,ws.IsString)(),hv("design:type",String)],Md.prototype,"vIPIDevol",void 0);var $c=class{static{s(this,"Devol")}pDevol;IPI};mv([(0,ws.IsString)(),hv("design:type",String)],$c.prototype,"pDevol",void 0);mv([(0,ws.IsOptional)(),(0,ws.ValidateNested)(),(0,YS.Type)(()=>Md),hv("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],$c.prototype,"IPI",void 0);var zr=require("class-validator"),vv=require("class-transformer");function Ld(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ld,"_ts_decorate");function Vd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Vd,"_ts_metadata");var ep=class{static{s(this,"Observation")}xCampo;xTexto};Ld([(0,zr.IsString)(),Vd("design:type",String)],ep.prototype,"xCampo",void 0);Ld([(0,zr.IsString)(),Vd("design:type",String)],ep.prototype,"xTexto",void 0);var tp=class{static{s(this,"ObsItem")}obsCont;obsFisco};Ld([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,vv.Type)(()=>ep),Vd("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsCont",void 0);Ld([(0,zr.IsOptional)(),(0,zr.ValidateNested)(),(0,vv.Type)(()=>ep),Vd("design:type",typeof IObservation>"u"?Object:IObservation)],tp.prototype,"obsFisco",void 0);var $l=require("class-validator");function WS(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(WS,"_ts_decorate");function JS(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(JS,"_ts_metadata");var wa=class{static{s(this,"DFeReferenciado")}chaveAcesso;nItem};WS([(0,$l.IsString)(),JS("design:type",String)],wa.prototype,"chaveAcesso",void 0);WS([(0,$l.IsOptional)(),(0,$l.IsString)(),JS("design:type",String)],wa.prototype,"nItem",void 0);var XS=require("nfets/core");function jr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(jr,"_ts_decorate");function Br(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Br,"_ts_metadata");var op=class{static{s(this,"DetAttributes")}nItem};jr([(0,Ot.IsString)(),Br("design:type",String)],op.prototype,"nItem",void 0);var Ti=class{static{s(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem;vItem;DFeReferenciado};jr([(0,Ot.IsObject)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>op),Br("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],Ti.prototype,"$",void 0);jr([(0,Ot.ValidateNested)(),(0,Is.Type)(()=>q),Br("design:type",typeof IProd>"u"?Object:IProd)],Ti.prototype,"prod",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>xt),Br("design:type",typeof IImposto>"u"?Object:IImposto)],Ti.prototype,"imposto",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>$c),Br("design:type",typeof IDevol>"u"?Object:IDevol)],Ti.prototype,"impostoDevol",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.IsString)(),Br("design:type",String)],Ti.prototype,"infAdProd",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>tp),Br("design:type",typeof IObsItem>"u"?Object:IObsItem)],Ti.prototype,"obsItem",void 0);jr([(0,Ot.IsOptional)(),(0,XS.TransformDecimal)({fixed:2}),Br("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ti.prototype,"vItem",void 0);jr([(0,Ot.IsOptional)(),(0,Ot.ValidateNested)(),(0,Is.Type)(()=>wa),Br("design:type",typeof IDFeReferenciado>"u"?Object:IDFeReferenciado)],Ti.prototype,"DFeReferenciado",void 0);var oo=require("class-validator"),_d=require("nfets/core");function hn(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(hn,"_ts_decorate");function vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(vn,"_ts_metadata");var to=class{static{s(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"CNPJ",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xOrgao",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"matr",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"xAgente",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"fone",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"UF",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsString)(),vn("design:type",String)],to.prototype,"nDAR",void 0);hn([(0,oo.IsOptional)(),(0,_d.TransformDateString)({format:"YYYY-MM-DD"}),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dEmi",void 0);hn([(0,oo.IsOptional)(),(0,_d.TransformDecimal)({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],to.prototype,"vDAR",void 0);hn([(0,oo.IsString)(),vn("design:type",String)],to.prototype,"repEmi",void 0);hn([(0,oo.IsOptional)(),(0,oo.IsDate)(),vn("design:type",typeof Date>"u"?Object:Date)],to.prototype,"dPag",void 0);var KS=require("class-validator");function ND(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ND,"_ts_decorate");function RD(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(RD,"_ts_metadata");var Os=class{static{s(this,"InfSolicNFF")}xSolic};ND([(0,KS.IsString)(),RD("design:type",String)],Os.prototype,"xSolic",void 0);var Ht=require("class-validator"),gv=require("class-transformer"),$S=require("nfets/core");function Mr(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Mr,"_ts_decorate");function Ia(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Ia,"_ts_metadata");var eu=class{static{s(this,"Defensivo")}nReceituario;CPFRespTec};Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"nReceituario",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],eu.prototype,"CPFRespTec",void 0);var As=class{static{s(this,"GuiaTransito")}tpGuia;UFGuia;serieGuia;nGuia};Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"tpGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"UFGuia",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"serieGuia",void 0);Mr([(0,Ht.IsString)(),Ia("design:type",String)],As.prototype,"nGuia",void 0);var Yn=class{static{s(this,"Agropecuario")}defensivo;guiaTransito};Mr([(0,Ht.IsOptional)(),(0,Ht.IsArray)(),(0,Ht.ArrayMaxSize)(20),(0,Ht.ValidateNested)({each:!0}),(0,gv.Type)(()=>eu),Ia("design:type",Array)],Yn.prototype,"defensivo",void 0);Mr([(0,Ht.IsOptional)(),(0,Ht.ValidateNested)(),(0,gv.Type)(()=>As),Ia("design:type",typeof IGuiaTransito>"u"?Object:IGuiaTransito)],Yn.prototype,"guiaTransito",void 0);Yn=Mr([(0,$S.Choice)({properties:["defensivo","guiaTransito"]})],Yn);var Aa=require("class-validator"),yv=require("class-transformer");function ip(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(ip,"_ts_decorate");function np(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(np,"_ts_metadata");var tu=class{static{s(this,"RSAKeyValue")}Modulus;Exponent};ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Modulus",void 0);ip([(0,Aa.IsString)(),np("design:type",String)],tu.prototype,"Exponent",void 0);var ou=class{static{s(this,"PAASignature")}SignatureValue;RSAKeyValue};ip([(0,Aa.IsString)(),np("design:type",String)],ou.prototype,"SignatureValue",void 0);ip([(0,Aa.ValidateNested)(),(0,yv.Type)(()=>tu),np("design:type",typeof IRSAKeyValue>"u"?Object:IRSAKeyValue)],ou.prototype,"RSAKeyValue",void 0);var Oa=class{static{s(this,"InfPAA")}CNPJPAA;PAASignature};ip([(0,Aa.IsString)(),np("design:type",String)],Oa.prototype,"CNPJPAA",void 0);ip([(0,Aa.ValidateNested)(),(0,yv.Type)(()=>ou),np("design:type",typeof IPAASignature>"u"?Object:IPAASignature)],Oa.prototype,"PAASignature",void 0);function Ye(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ye,"_ts_decorate");function We(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(We,"_ts_metadata");var Fs=class{static{s(this,"InfNFeAttributes")}Id;versao};Ye([(0,_.IsOptional)(),(0,_.IsString)(),We("design:type",String)],Fs.prototype,"Id",void 0);Ye([(0,_.IsOptional)(),(0,_.IsString)(),We("design:type",String)],Fs.prototype,"versao",void 0);var Ne=class{static{s(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF;agropecuario;infPAA};Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,tt.Type)(()=>Fs),(0,_.ValidateNested)(),We("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],Ne.prototype,"$",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>$),We("design:type",typeof IIde>"u"?Object:IIde)],Ne.prototype,"ide",void 0);Ye([(0,_.IsObject)(),(0,_.IsNotEmptyObject)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>wt),We("design:type",typeof IEmit>"u"?Object:IEmit)],Ne.prototype,"emit",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>to),We("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],Ne.prototype,"avulsa",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Vt),We("design:type",typeof IDest>"u"?Object:IDest)],Ne.prototype,"dest",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),We("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"retirada",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Ie),We("design:type",typeof ILocal>"u"?Object:ILocal)],Ne.prototype,"entrega",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(10),(0,tt.Type)(()=>In),We("design:type",Array)],Ne.prototype,"autXML",void 0);Ye([(0,_.ValidateNested)({each:!0}),(0,_.ArrayMaxSize)(990),(0,_.ArrayMinSize)(1),(0,tt.Type)(()=>Ti),We("design:type",Array)],Ne.prototype,"det",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>xi),We("design:type",typeof ITotal>"u"?Object:ITotal)],Ne.prototype,"total",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>lo),We("design:type",typeof ITransp>"u"?Object:ITransp)],Ne.prototype,"transp",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>na),We("design:type",typeof ICobr>"u"?Object:ICobr)],Ne.prototype,"cobr",void 0);Ye([(0,_.ValidateNested)(),(0,tt.Type)(()=>sa),We("design:type",typeof IPag>"u"?Object:IPag)],Ne.prototype,"pag",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Kr),We("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],Ne.prototype,"infIntermed",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>tn),We("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],Ne.prototype,"infAdic",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>cr),We("design:type",typeof IExporta>"u"?Object:IExporta)],Ne.prototype,"exporta",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>pr),We("design:type",typeof ICompra>"u"?Object:ICompra)],Ne.prototype,"compra",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>uo),We("design:type",typeof ICana>"u"?Object:ICana)],Ne.prototype,"cana",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>gi),We("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],Ne.prototype,"infRespTec",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Os),We("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],Ne.prototype,"infSolicNFF",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Yn),We("design:type",typeof IAgropecuario>"u"?Object:IAgropecuario)],Ne.prototype,"agropecuario",void 0);Ye([(0,_.IsOptional)(),(0,_.ValidateNested)(),(0,tt.Type)(()=>Oa),We("design:type",typeof IInfPAA>"u"?Object:IInfPAA)],Ne.prototype,"infPAA",void 0);var bv=require("class-transformer");function Ud(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Ud,"_ts_decorate");function qd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(qd,"_ts_metadata");var rp=class{static{s(this,"NFeAttributes")}xmlns};Ud([(0,Mo.IsString)(),(0,Mo.IsNotEmpty)(),qd("design:type",String)],rp.prototype,"xmlns",void 0);var Lr=class{static{s(this,"NFe")}$;infNFe;Signature};Ud([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,bv.Type)(()=>rp),(0,Mo.ValidateNested)(),qd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Lr.prototype,"$",void 0);Ud([(0,Mo.IsObject)(),(0,Mo.IsNotEmptyObject)(),(0,bv.Type)(()=>Ne),(0,Mo.ValidateNested)(),qd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Lr.prototype,"infNFe",void 0);Ud([(0,Mo.Allow)(),qd("design:type",typeof Signature>"u"?Object:Signature)],Lr.prototype,"Signature",void 0);var eC=require("nfets/core");var Ro=require("nfets/core");var gn=s((t=[Tf])=>(e,o,i)=>{let r=i.value;r!=null&&(i.value=function(...n){return t.includes(this.schema)?r.apply(this,n):this})},"SchemaValidates");function No(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(No,"_ts_decorate");function k(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(k,"_ts_metadata");var mt=class{static{s(this,"NfeDetXmlBuilder")}listener;schema;data={};static create(e,o="PL_009_V4"){return new this(e,o)}constructor(e,o="PL_009_V4"){this.listener=e,this.schema=o}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.listener?.imposto(e),this}icms(e){return e?(this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this):this}issqn(e){return e?(this.data.imposto??={},this.data.imposto.ISSQN=e,this.listener?.issqn(e),this):this}ii(e){return e?(this.data.imposto??={},this.data.imposto.II=e,this.listener?.ii(e),this):this}ipi(e){return e?(this.data.imposto??={},this.data.imposto.IPI=e,this.listener?.ipi(e),this):this}pis(e){return e?(this.data.imposto??={},this.data.imposto.PIS=e,this.listener?.pis(e),this):this}pisst(e){return e?(this.data.imposto??={},this.data.imposto.PISST=e,this):this}cofins(e){return e?(this.data.imposto??={},this.data.imposto.COFINS=e,this.listener?.cofins(e),this):this}cofinsst(e){return e?(this.data.imposto??={},this.data.imposto.COFINSST=e,this):this}icmsufdest(e){return e?(this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this):this}is(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IS=e,this)}ibscbs(e){return e==null?this:(this.data.imposto??={},this.data.imposto.IBSCBS=e,this)}vItem(e){return e?(this.data.vItem=e.vItem,this):this}dfeReferenciado(e){return e?(this.data.DFeReferenciado=e,this):this}assemble(){let e={...this.data};return this.data={},e}};No([(0,Ro.Validates)(op),k("design:type",Function),k("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),k("design:returntype",void 0)],mt.prototype,"det",null);No([(0,Ro.Validates)(q),k("design:type",Function),k("design:paramtypes",[typeof IProd>"u"?Object:IProd]),k("design:returntype",void 0)],mt.prototype,"prod",null);No([(0,Ro.Validates)(xt),k("design:type",Function),k("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),k("design:returntype",void 0)],mt.prototype,"imposto",null);No([(0,Ro.Validates)(ve),k("design:type",Function),k("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),k("design:returntype",void 0)],mt.prototype,"icms",null);No([(0,Ro.Validates)(at),k("design:type",Function),k("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),k("design:returntype",void 0)],mt.prototype,"issqn",null);No([(0,Ro.Validates)(Tn),k("design:type",Function),k("design:paramtypes",[typeof III>"u"?Object:III]),k("design:returntype",void 0)],mt.prototype,"ii",null);No([(0,Ro.Validates)(Ii),k("design:type",Function),k("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),k("design:returntype",void 0)],mt.prototype,"ipi",null);No([(0,Ro.Validates)(jn),k("design:type",Function),k("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),k("design:returntype",void 0)],mt.prototype,"pis",null);No([(0,Ro.Validates)(sn),k("design:type",Function),k("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),k("design:returntype",void 0)],mt.prototype,"pisst",null);No([(0,Ro.Validates)(Bn),k("design:type",Function),k("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),k("design:returntype",void 0)],mt.prototype,"cofins",null);No([(0,Ro.Validates)(ln),k("design:type",Function),k("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),k("design:returntype",void 0)],mt.prototype,"cofinsst",null);No([(0,Ro.Validates)(jo),k("design:type",Function),k("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),k("design:returntype",void 0)],mt.prototype,"icmsufdest",null);No([gn(Io),(0,Ro.Validates)(Qo),k("design:type",Function),k("design:paramtypes",[typeof IIS>"u"?Object:IIS]),k("design:returntype",void 0)],mt.prototype,"is",null);No([gn(Io),(0,Ro.Validates)(Co),k("design:type",Function),k("design:paramtypes",[typeof IIBSCBS>"u"?Object:IIBSCBS]),k("design:returntype",void 0)],mt.prototype,"ibscbs",null);No([gn(Io),k("design:type",Function),k("design:paramtypes",[typeof IVItem>"u"?Object:IVItem]),k("design:returntype",void 0)],mt.prototype,"vItem",null);No([gn(Io),(0,Ro.Validates)(wa),k("design:type",Function),k("design:paramtypes",[typeof IDFeReferenciado>"u"?Object:IDFeReferenciado]),k("design:returntype",void 0)],mt.prototype,"dfeReferenciado",null);var ap=require("nfets/core"),ge=require("nfets/core"),Hd=require("nfets/core");function Je(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(Je,"_ts_decorate");function E(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(E,"_ts_metadata");var pe=class{static{s(this,"NfeXmlBuilder")}builder;contingency;schema;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};$data=void 0;aggregators=[new Up(this)];root="NFe";$det=new _p(this);nfeDetXmlBuilder;static create(e,o,i="PL_009_V4"){return new this(e,o,i)}constructor(e,o,i="PL_009_V4"){this.builder=e,this.contingency=o,this.schema=i,this.nfeDetXmlBuilder=mt.create(this.$det,i)}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 e==null?this:(this.data.infNFe.avulsa=e,this)}dest(e){return e==null?this:(this.data.infNFe.dest=e,this)}retirada(e){return e==null?this:(this.data.infNFe.retirada=e,this)}entrega(e){return e==null?this:(this.data.infNFe.entrega=e,this)}autXML(e){return e?.length?(this.data.infNFe.autXML=e,this):this}det(e,o){return this.data.infNFe.det=e.map((i,r)=>{let n=o(this.nfeDetXmlBuilder.det({nItem:(r+1).toString()}),i);return this.collect(n),n.assemble()}),this}total(e){return e==null?this:(this.data.infNFe.total=e,this)}ISSQNtot(e){return e==null?this:(this.data.infNFe.total.ISSQNtot??={},this.data.infNFe.total.ISSQNtot={...this.data.infNFe.total.ISSQNtot,...e},this)}ICMSTot(e){return e==null?this:(this.data.infNFe.total.ICMSTot={...this.data.infNFe.total.ICMSTot,...e},this)}IBSCBSTot(e){return e==null?this:(this.data.infNFe.total.IBSCBSTot={...this.data.infNFe.total.IBSCBSTot,...e},this)}ISTot(e){return e==null?this:(this.data.infNFe.total.ISTot={...this.data.infNFe.total.ISTot,...e},this)}increment(e){let o=e(this.data.infNFe.total,this.data.infNFe.det);return this.data.infNFe.total={...this.data.infNFe.total,ICMSTot:{...this.data.infNFe.total.ICMSTot,...o.ICMSTot},ISSQNtot:o.ISSQNtot?{...this.data.infNFe.total.ISSQNtot,...o.ISSQNtot}:this.data.infNFe.total.ISSQNtot},Io.includes(this.schema)&&this.buildTotalForPL_010(o),this}buildTotalForPL_010(e){let o=this.data.infNFe.total.IBSCBSTot,i=e.IBSCBSTot,r=this.data.infNFe.total.ISTot,n=e.ISTot;this.data.infNFe.total={...this.data.infNFe.total,IBSCBSTot:{...o,...i,gCBS:{...o?.gCBS,...i?.gCBS},gIBS:{...o?.gIBS,...i?.gIBS,gIBSMun:{...o?.gIBS?.gIBSMun,...i?.gIBS?.gIBSMun},gIBSUF:{...o?.gIBS?.gIBSUF,...i?.gIBS?.gIBSUF}},...i?.gMono!=null||o?.gMono!=null?{gMono:{...o?.gMono,...i?.gMono}}:{},...i?.gEstornoCred!=null||o?.gEstornoCred!=null?{gEstornoCred:{...o?.gEstornoCred,...i?.gEstornoCred}}:{}},ISTot:r||n?{...r,...n}:r,vNFTot:e.vNFTot??this.data.infNFe.total.vNFTot}}transp(e){return e==null?this:(this.data.infNFe.transp=e,this)}cobr(e){return e==null?this:(this.data.infNFe.cobr=e,this)}pag(e){return e==null?this:(this.data.infNFe.pag=e,this)}infIntermed(e){return e==null?this:(this.data.infNFe.infIntermed=e,this)}infAdic(e){return e==null?this:(this.data.infNFe.infAdic=e,this)}exporta(e){return e==null?this:(this.data.infNFe.exporta=e,this)}compra(e){return e==null?this:(this.data.infNFe.compra=e,this)}cana(e){return e==null?this:(this.data.infNFe.cana=e,this)}infRespTec(e){return e==null?this:(this.data.infNFe.infRespTec=e,this)}infSolicNFF(e){return e==null?this:(this.data.infNFe.infSolicNFF=e,this)}agropecuario(e){return e==null?this:(this.data.infNFe.agropecuario=e,this)}infPAA(e){return e==null?this:(this.data.infNFe.infPAA=e,this)}toInstance(){return(0,eC.plainToInstance)(this.data,Lr,{clearEmptyValues:!0})}quiet(){return Reflect.deleteMetadata(ge.ValidateErrorsMetadata,this),this}toObject(){if(this.$data!==void 0)return(0,ap.right)(this.$data);let e=this.errors();if(e)return(0,ap.left)(new Hd.NFeTsError(e.join(", ")));for(let o of this.aggregators)o.aggregate();return this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),this.$data=dc(this.toInstance(),this.data.infNFe.emit.enderEmit.UF),(0,ap.right)(this.$data)}async assemble(){let e=this.toObject();return e.isLeft()?e:(0,ap.right)(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Hd.Environment.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:o}=this.data.infNFe.ide;if(o!==vt.Normal)return;switch(dd[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=vt.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=vt.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:i}=this.data.infNFe.ide;if(!(!e&&!o&&i===vt.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ge.ValidateErrorsMetadata,this)}collect(e){let o=Reflect.getMetadata(ge.ValidateErrorsMetadata,e);if(!o)return;let i=this.errors();Reflect.defineMetadata(ge.ValidateErrorsMetadata,(i??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Vp().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}}};Je([(0,ge.Validates)(Fs),E("design:type",Function),E("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),E("design:returntype",void 0)],pe.prototype,"infNFe",null);Je([(0,ge.Validates)($),E("design:type",Function),E("design:paramtypes",[typeof IIde>"u"?Object:IIde]),E("design:returntype",void 0)],pe.prototype,"ide",null);Je([(0,ge.Validates)(wt),E("design:type",Function),E("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),E("design:returntype",void 0)],pe.prototype,"emit",null);Je([(0,ge.Validates)(to),E("design:type",Function),E("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),E("design:returntype",void 0)],pe.prototype,"avulsa",null);Je([(0,ge.Validates)(Vt),E("design:type",Function),E("design:paramtypes",[typeof IDest>"u"?Object:IDest]),E("design:returntype",void 0)],pe.prototype,"dest",null);Je([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"retirada",null);Je([(0,ge.Validates)(Ie),E("design:type",Function),E("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),E("design:returntype",void 0)],pe.prototype,"entrega",null);Je([(0,ge.Validates)(In,{each:!0}),E("design:type",Function),E("design:paramtypes",[Array]),E("design:returntype",void 0)],pe.prototype,"autXML",null);Je([(0,ge.Validates)(xi),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"total",null);Je([gn(Io),(0,ge.Validates)($i),E("design:type",Function),E("design:paramtypes",[typeof IIBSCBSTot>"u"?Object:IIBSCBSTot]),E("design:returntype",void 0)],pe.prototype,"IBSCBSTot",null);Je([gn(Io),(0,ge.Validates)(fs),E("design:type",Function),E("design:paramtypes",[typeof IISTot>"u"?Object:IISTot]),E("design:returntype",void 0)],pe.prototype,"ISTot",null);Je([gn(Io),E("design:type",Function),E("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),E("design:returntype",void 0)],pe.prototype,"buildTotalForPL_010",null);Je([(0,ge.Validates)(lo),E("design:type",Function),E("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),E("design:returntype",void 0)],pe.prototype,"transp",null);Je([(0,ge.Validates)(na),E("design:type",Function),E("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),E("design:returntype",void 0)],pe.prototype,"cobr",null);Je([(0,ge.Validates)(sa),E("design:type",Function),E("design:paramtypes",[typeof IPag>"u"?Object:IPag]),E("design:returntype",void 0)],pe.prototype,"pag",null);Je([(0,ge.Validates)(Kr),E("design:type",Function),E("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),E("design:returntype",void 0)],pe.prototype,"infIntermed",null);Je([(0,ge.Validates)(tn),E("design:type",Function),E("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),E("design:returntype",void 0)],pe.prototype,"infAdic",null);Je([(0,ge.Validates)(cr),E("design:type",Function),E("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),E("design:returntype",void 0)],pe.prototype,"exporta",null);Je([(0,ge.Validates)(pr),E("design:type",Function),E("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),E("design:returntype",void 0)],pe.prototype,"compra",null);Je([(0,ge.Validates)(uo),E("design:type",Function),E("design:paramtypes",[typeof ICana>"u"?Object:ICana]),E("design:returntype",void 0)],pe.prototype,"cana",null);Je([(0,ge.Validates)(gi),E("design:type",Function),E("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),E("design:returntype",void 0)],pe.prototype,"infRespTec",null);Je([(0,ge.Validates)(Os),E("design:type",Function),E("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),E("design:returntype",void 0)],pe.prototype,"infSolicNFF",null);Je([gn(Io),(0,ge.Validates)(Yn),E("design:type",Function),E("design:paramtypes",[typeof IAgropecuario>"u"?Object:IAgropecuario]),E("design:returntype",void 0)],pe.prototype,"agropecuario",null);Je([gn(Io),(0,ge.Validates)(Oa),E("design:type",Function),E("design:paramtypes",[typeof IInfPAA>"u"?Object:IInfPAA]),E("design:returntype",void 0)],pe.prototype,"infPAA",null);var iu=class extends ac{static{s(this,"NfeXmlBuilderPipeline")}certificate;schema;builder;constructor(e,o="PL_009_V4"){super(e),this.certificate=e,this.schema=o,this.builder=pe.create(this.toolkit,void 0,this.schema)}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 tC.default.resolve(Lp(),this.schema,"nfe_v4.00.xsd")}async assertXmlSignedAndValidated(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.signXmlString(e);return o.isLeft()?o:this.validateXmlString(o.value)}async signXmlString(e){if(!this.certificate)return(0,sp.right)(e);let o=await this.certificates.read(this.certificate);return o.isLeft()?o:this.xmlSigner.sign(e,{tag:"infNFe",mark:"Id"},o.value)}async validateXmlString(e){let o=await this.toolkit.validate(e,this.nfeXsdSchema);return o.isLeft()?(0,sp.left)(new Mp(o.value.message,e,{cause:o.value.cause})):(0,sp.right)(e)}};var rC=require("nfets/core");var Zd=require("nfets/core"),aC=require("nfets/core");var nC=require("nfets/core");var Qd=require("class-transformer"),Zo=require("class-validator");var xv=require("class-validator");function oC(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(oC,"_ts_decorate");function iC(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(iC,"_ts_metadata");var cp=class{static{s(this,"InfNFeSupl")}qrCode;urlChave};oC([(0,xv.IsString)(),iC("design:type",String)],cp.prototype,"qrCode",void 0);oC([(0,xv.IsString)(),iC("design:type",String)],cp.prototype,"urlChave",void 0);function kd(t,e,o,i){var r=arguments.length,n=r<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,o):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,o,i);else for(var c=t.length-1;c>=0;c--)(a=t[c])&&(n=(r<3?a(n):r>3?a(e,o,n):a(e,o))||n);return r>3&&n&&Object.defineProperty(e,o,n),n}s(kd,"_ts_decorate");function Gd(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}s(Gd,"_ts_metadata");var Wn=class{static{s(this,"NFCe")}$;infNFe;infNFeSupl;Signature};kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>rp),(0,Zo.ValidateNested)(),Gd("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],Wn.prototype,"$",void 0);kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>Ne),(0,Zo.ValidateNested)(),Gd("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],Wn.prototype,"infNFe",void 0);kd([(0,Zo.IsObject)(),(0,Zo.IsNotEmptyObject)(),(0,Qd.Type)(()=>cp),(0,Zo.ValidateNested)(),Gd("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],Wn.prototype,"infNFeSupl",void 0);kd([(0,Zo.Allow)(),Gd("design:type",typeof Signature>"u"?Object:Signature)],Wn.prototype,"Signature",void 0);var nu=class extends pe{static{s(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};static create(e,o,i="PL_009_V4"){return new this(e,o,i)}toInstance(){return(0,nC.plainToInstance)(this.data,Wn,{clearEmptyValues:!0})}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===vt.Normal)return this.data.infNFe.ide.tpEmis=vt.OFFLINE,void 0}};var Sv=class extends iu{static{s(this,"NfceXmlBuilderPipeline")}options;nfceQrcode=new Wt(this.certificates);transmitter=new Mt(this.soap,this.nfceQrcode);constructor(e,o="PL_009_V4",i){super(e,o),this.options=i}builder=nu.create(this.toolkit,void 0,this.schema);async assertXmlSignedAndValidated(e){let o=await super.assertXmlSignedAndValidated(e);if(o.isLeft()||!this.options?.qrCode)return o;if(!this.certificate)return(0,Zd.left)(new rC.NFeTsError("Certificate is required to assemble NFCe XML with QR Code"));let i=o.value,r=await this.toolkit.parse(i),n=await this.generateQrCode(r,this.options,this.certificate);if(n.isLeft())return n;let a=await this.toolkit.build(n.value,{rootName:"infNFeSupl"}),c=this.toolkit.insertBefore(i,"Signature",a);return(0,Zd.right)(c)}async generateQrCode(e,o,i){let r=this.transmitter.service({cUF:e.infNFe.ide.cUF,tpAmb:e.infNFe.ide.tpAmb,service:"NfeConsultaQR"}),n={...o.qrCode};switch(n.version??=r.version,n.version){case"200":return await this.nfceQrcode.execute(e,{version:n.version,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url,CSC:n.CSC,CSCId:n.CSCId});case"300":{let a=await this.certificates.read(i);return a.isLeft()?a:await this.nfceQrcode.execute(e,{version:n.version,certificate:a.value,urlConsult:this.transmitter.getUrlConsult(e),urlService:r.url})}default:return(0,aC.unreachable)(n.version)}}};var sC="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAg0AAAFXCAYAAAAh5X2YAAAgAElEQVR4nOy9e5xdZX3v//7sDENMY0zTNCcnJ+XQlEORw0TkRzkUYSCZaKkSBrwEa8XLD5tgBtA2M6HUenxZj1Umk1pJhpLUS71Uy2gp4WK9ZAJM1HootZpYDz9+/CylkQaIiCHEECbz/f2xnmettffc9mWtfZl53jDZa6/P2mt/n2evtZ7v831uIhCokN7d+9qRFgAL3d98jIWGLUJaLOOXEEsMu31r18qvNtjcQCAQCGSEGm1AoP5sGt7fJmw+a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jYEdrk+xzkN4PdNheDKpJmxxZI5L4yEmUHTC8LLvH8NiSRZtDkFwgEDhpCEpD4HXNwI6lGaGzsLNIFwMXAfNsWiQyaftA5SsNXquR2SNIh8AHQVsxLyB+CmwCdh6rSpiBQCBwIhGUhsAbii07WrGZI/lsw2JgIWa+pDnALOyoaFEcq2AzIrEPOIC9B9iN9H+AndjbLe1asjDEKgQCgQDA/wf59f5AwcXxcQAAAABJRU5ErkJggg==";var pp=class t{static{s(this,"Header")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}emit(e){let{left:o,right:i}=this.builder.pageMargins(),r=e?.x??o,n=this.context.data.infNFe.emit,{enderEmit:a}=n,{xNome:c}=n,p=this.context.defaults.font,u=`${p}-Bold`,l="center";this.builder.row({left:r,right:i},d=>this.builder.text(this.identification(n),{...d,align:l})).row({left:r,right:i},d=>this.builder.font(u).text(c,{...d,align:l}).font(p)).row({left:r,right:i},d=>this.builder.text(`${this.addressLine1(a)}${this.addressLine2(a)}${this.addressLine3(a)}`,{...d,align:l})).row({left:r,right:i},d=>this.builder.text(this.addressLine4(a),{...d,align:l}))}identification(e){let o=this.cpfOrCnpj(e),i=e.IE.length?` IE: ${e.IE}`:"";return`${o}${i}`}cpfOrCnpj(e){let{CNPJ:o,CPF:i}=e;return o?.length===14?`CNPJ ${o.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")}`:i?.length===11?`CPF ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:""}addressLine1(e){let{xLgr:o,nro:i}=e;return`${o}, ${i}`}addressLine2(e){let{xBairro:o}=e;return`, ${o}`}addressLine3(e){let{xMun:o,UF:i}=e;return`, ${o} - ${i}`}addressLine4(e){let{fone:o}=e;return o?`Fone: ${o.replace(/(\d{2})(\d{4,5})(\d{4})/,"($1) $2-$3")}`:""}staticTexts(){let{left:e,right:o}=this.builder.pageMargins();this.builder.moveDown(.5).fontSize(this.context.options.titleFontSize).row({left:e,right:o},i=>this.builder.text("Documento Auxiliar da Nota Fiscal de Consumidor Eletr\xF4nica",{...i,align:"center"})).row({left:e,right:o},i=>this.builder.text("N\xE3o permite aproveitamento de cr\xE9dito de ICMS",{...i,align:"center"}))}get logo(){let{logo:e,ignoreDefaultLogo:o}=this.context.options;if(e)return e;if(!o)return sC}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}build(){return this.setup(),this.emit(),this.staticTexts(),this.builder}end(){t._instance=void 0}};var Fa=class t{static{s(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 t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get contingencyBannerText(){return this.context.protNFe?.infProt?this.constants.issuedInContingency:`${this.constants.issuedInContingency}
|
|
36
|
-
${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.contingencyBannerText,{...i,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let o=e?.x??0;this.builder.row({left:o},i=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...i,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,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,a)=>n+a,0)}};var cC=require("nfets/core");var lp=class t{static{s(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 t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==cC.Environment.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,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:o}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-o,align:"center"})}};var Yd=class t{static{s(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(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:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:a,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},m={font:d,text:i.padStart(3,"0")},y={font:d,text:r},x=[{font:d,align:{x:"right"},text:`${this.context.currency(a,4)} ${c}`},{font:d,align:{x:"right"},text:this.context.currency(p,10)},{font:d,align:{x:"right"},text:this.context.currency(u??0)},{font:d,align:{x:"right"},text:this.context.currency(l)}],N=this.builder.widthOfString(r),C=this.columnStyles[1];if(N>=C)return[[m,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...x]];let b=this.builder.widthOfString(n),I=this.columnStyles[2];if(b>=I)return[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]];let A=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=A?[[m,y,{font:d,text:n},...x]]:[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}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(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((a,c)=>typeof c=="number"?a+c:a,0),n=this.columnStyles.filter(a=>a==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),a=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return a+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,a=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=a<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,a=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[m]=d,y=this.calculateRowHeight(m,i),x=0;if(d.length>1){let A=this.calculateRowHeight(d[1],i);x=Math.max(i,A)}let{top:N,bottom:C}=this.defaultStyle.padding,b=N+C,I=d.length>1?i*.2:0;return u+y+x+d.length*b+I},0),p=i*2;return n+r+a+c+p}};var pC=require("nfets/core");var up=class t{static{s(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Qtde. Total de Itens",{...n}),n=>this.builder.text(`${o.length}`,{...n,align:"right"}))}totalizers(){let{vProd:e,vDesc:o,vFrete:i,vSeg:r,vOutro:n}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new pC.Decimal(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${i}${o}`,{...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(){t._instance=void 0}};var St={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"},lC={[St.Dinheiro]:"Dinheiro",[St.Cheque]:"Cheque",[St.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[St.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[St.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[St.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[St.ValeRefeicao]:"Vale Refei\xE7\xE3o",[St.ValePresente]:"Vale Presente",[St.ValeCombustivel]:"Vale Combust\xEDvel",[St.BoletoBancario]:"Boleto Banc\xE1rio",[St.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[St.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[St.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[St.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[St.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[St.CreditoEmLoja]:"Cr\xE9dito em Loja",[St.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[St.SemPagamento]:"Sem pagamento",[St.PagamentoPosterior]:"Pagamento Posterior",[St.Outros]:"Outros"};var dp=class t{static{s(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:o,vPag:i}=e,{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(lC[o],{...a,align:"left"}),a=>this.builder.text(this.context.currency(i),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,o=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(o.length===0)return;let{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Forma de Pagamento",{...n,align:"left"}),n=>this.builder.text("Valor pago R$",{...n,align:"right"})),o.forEach(n=>this.payment(n))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:o,right:i}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:o,right:i},r=>this.builder.text("Troco R$",{...r,align:"left"}),r=>this.builder.text(this.context.currency(e),{...r,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(){t._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:o}}=this.context.data.infNFe,i=Array.isArray(o)?o:[o],r=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*i.length-1+r}};var fp=class t{static{s(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font,r=`${i}-Bold`;this.builder.font(r).row({left:e,right:o},n=>this.builder.text("Consulte pela Chave de Acesso em",{...n,align:"center"})).font(i)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:o,right:i},r=>this.builder.text(e??"",{...r,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let o=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:i,right:r}=this.builder.pageMargins();this.builder.row({left:i,right:r},n=>this.builder.text(o,{...n,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(){t._instance=void 0}};var bR=lt(dg(),1);var lf=class t{static{s(this,"QRCode")}context;static _instance;qrCodeSvg;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get qrSize(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.hasContingency?.6:.4;return Math.floor(i*r)}async getQrSvgString(e){try{return await bR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,a=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,d=p+(l-r)/2,m=this.builder.y();this.builder.save().translate(d,m).scale(n,a),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:m+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var uf=class t{static{s(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},a=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.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")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:a,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(u)).row({left:e?.x??i,right:r},d=>this.builder.text(`${a}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:a,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${a} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}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(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,d)=>l+d,0);let a=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${a}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var _r=require("nfets/core");var df=class t{static{s(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),a=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=_r.timezones[u],d=(0,_r.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),m=this.context.defaults.font,y=`${m}-Bold`;this.builder.row({left:e?.x??c,right:p},x=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${a} emitida em: ${d}`,{...x,align:"center"}).font(m))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:a}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=_r.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,_r.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:a},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
|
|
36
|
+
${this.constants.pendingOfAuthorization}`}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get hasNotProtocoledInNormalEmission(){return!this.hasContingency&&!this.context.protNFe}contingency(e){if(!this.hasContingency)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.contingencyBannerText,{...r,align:"center"}))}notProtocoledInNormalEmission(e){if(!this.hasNotProtocoledInNormalEmission)return;let{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:e?.x??o,right:i},r=>this.builder.text(this.constants.notProtocoledInNormalEmission,{...r,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,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i;return this.hasContingency&&e.push(this.builder.heightOfString(this.contingencyBannerText,{width:r,align:"center"})),this.hasNotProtocoledInNormalEmission&&e.push(this.builder.heightOfString(this.constants.notProtocoledInNormalEmission,{width:r,align:"center"})),e.reduce((n,a)=>n+a,0)}};var cC=require("nfets/core");var lp=class t{static{s(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 t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasHomologMessage(){let{tpAmb:e}=this.context.data.infNFe.ide;return e!==cC.Environment.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,o=`${e}-Bold`;this.builder.font(o,this.context.options.titleFontSize)}end(){t._instance=void 0}height(){if(!this.hasHomologMessage)return 0;this.setup();let{left:e,right:o}=this.builder.pageMargins();return this.builder.heightOfString(this.constants.withoutFiscalValue,{width:this.builder.pageWidth()-e-o,align:"center"})}};var Yd=class t{static{s(this,"Items")}context;static _instance;static instance(e){return this._instance??=new t(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:o,$:{nItem:i}}=e,{cProd:r,xProd:n,qCom:a,uCom:c,vUnCom:p,vDesc:u,vProd:l}=o,d={size:this.context.options.textFontSize},m={font:d,text:i.padStart(3,"0")},y={font:d,text:r},x=[{font:d,align:{x:"right"},text:`${this.context.currency(a,4)} ${c}`},{font:d,align:{x:"right"},text:this.context.currency(p,10)},{font:d,align:{x:"right"},text:this.context.currency(u??0)},{font:d,align:{x:"right"},text:this.context.currency(l)}],N=this.builder.widthOfString(r),C=this.columnStyles[1];if(N>=C)return[[m,{colSpan:6,font:d,text:`${r} ${n}`}],[{colSpan:3},...x]];let b=this.builder.widthOfString(n),I=this.columnStyles[2];if(b>=I)return[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]];let A=this.getFirstLineWidth();return this.builder.widthOfString(`${r} ${n}`)<=A?[[m,y,{font:d,text:n},...x]]:[[m,y,{colSpan:5,font:d,text:n}],[{colSpan:3},...x]]}items(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i}=this.builder.pageMargins();this.builder.table({position:{x:i},defaultStyle:this.defaultStyle,columnStyles:this.columnStyles,rowStyles:this.rowStyles,data:[this.headers,...o.reduce((r,n)=>r.concat(this.item(n)),[])]})}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(){t._instance=void 0}getFirstLineWidth(){return this.columnStyles.slice(1,3).reduce((o,i)=>o+i,0)}getProportionalWidth(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.columnStyles.reduce((a,c)=>typeof c=="number"?a+c:a,0),n=this.columnStyles.filter(a=>a==="*").length;return(i-r)/n}getAvailableWidth(e,o){if(e.colSpan){let n=o.indexOf(e),a=this.columnStyles.slice(0,n).reduce((p,u)=>typeof u=="number"?p+u:p,0),c=this.getProportionalWidth()*e.colSpan;return a+c}let i=o.indexOf(e),r=this.columnStyles[i];return typeof r=="number"?r:this.getProportionalWidth()}calculateRowHeight(e,o){let i=o;for(let r of e){if(!r.text)continue;let n=r.text,a=this.builder.widthOfString(n),c=this.getAvailableWidth(r,e),p=a<=c?o:this.builder.heightOfString(n,{width:c});i=Math.max(i,p)}return i}height(){this.setup();let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],i=this.builder.currentLineHeight(),r=i*1.2,n=i*.5,a=i*.5,c=o.reduce((u,l)=>{let d=this.item(l),[m]=d,y=this.calculateRowHeight(m,i),x=0;if(d.length>1){let A=this.calculateRowHeight(d[1],i);x=Math.max(i,A)}let{top:N,bottom:C}=this.defaultStyle.padding,b=N+C,I=d.length>1?i*.2:0;return u+y+x+d.length*b+I},0),p=i*2;return n+r+a+c+p}};var pC=require("nfets/core");var up=class t{static{s(this,"Totals")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}count(){let{det:e}=this.context.data.infNFe,o=Array.isArray(e)?e:[e],{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Qtde. Total de Itens",{...n}),n=>this.builder.text(`${o.length}`,{...n,align:"right"}))}totalizers(){let{vProd:e,vDesc:o,vFrete:i,vSeg:r,vOutro:n}=this.context.data.infNFe.total.ICMSTot,{vServ:a}=this.context.data.infNFe.total.ISSQNtot??{};this.conditionalRowValue("Valor Total R$",new pC.Decimal(e).add(a??0).toNumber()),this.conditionalRowValue("Desconto total R$",o,"-"),this.conditionalRowValue("Frete total R$",i),this.conditionalRowValue("Seguro total R$",r),this.conditionalRowValue("Outras despesas total R$",n)}total(){let{vNF:e}=this.context.data.infNFe.total.ICMSTot,o=this.context.defaults.font,i=`${o}-Bold`,{left:r,right:n}=this.builder.pageMargins();this.builder.font(i).fontSize(this.context.options.titleFontSize).row({columns:2,left:r,right:n},a=>this.builder.text("Valor a Pagar R$",{...a,align:"left"}),a=>this.builder.text(this.context.currency(e),{...a,align:"right"})).font(o)}conditionalRowValue(e,o,i=""){if(!o||!Number.parseFloat(o.toString()))return;o=this.context.currency(o);let{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(e,{...a,align:"left"}),a=>this.builder.text(`${i}${o}`,{...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(){t._instance=void 0}};var St={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"},lC={[St.Dinheiro]:"Dinheiro",[St.Cheque]:"Cheque",[St.CartaoDeCredito]:"Cart\xE3o de Cr\xE9dito",[St.CartaoDeDebito]:"Cart\xE3o de D\xE9bito",[St.CartaoDaLoja]:"Cart\xE3o da Loja/Outros Credi\xE1rios",[St.ValeAlimentacao]:"Vale Alimenta\xE7\xE3o",[St.ValeRefeicao]:"Vale Refei\xE7\xE3o",[St.ValePresente]:"Vale Presente",[St.ValeCombustivel]:"Vale Combust\xEDvel",[St.BoletoBancario]:"Boleto Banc\xE1rio",[St.DepositoBancario]:"Dep\xF3sito Banc\xE1rio",[St.PIXDinamico]:"Pagamento Instant\xE2neo (PIX) - Din\xE2mico",[St.TransferenciaBancaria]:"Transfer\xEAncia banc\xE1ria, Carteira Digital",[St.ProgramaFidelidade]:"Programa fidelidade, Cashback, Cr\xE9d Virt",[St.PIXEstatico]:"Pagamento Instant\xE2neo (PIX) - Est\xE1tico",[St.CreditoEmLoja]:"Cr\xE9dito em Loja",[St.PagamentoNaoInformado]:"Pagamento Eletr\xF4nico n\xE3o Informado - falha de hardware do sistema emissor",[St.SemPagamento]:"Sem pagamento",[St.PagamentoPosterior]:"Pagamento Posterior",[St.Outros]:"Outros"};var dp=class t{static{s(this,"Payments")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}payment(e){let{tPag:o,vPag:i}=e,{left:r,right:n}=this.builder.pageMargins();this.builder.row({columns:2,left:r,right:n},a=>this.builder.text(lC[o],{...a,align:"left"}),a=>this.builder.text(this.context.currency(i),{...a,align:"right"}))}payments(){let{pag:e}=this.context.data.infNFe,o=Array.isArray(e.detPag)?e.detPag:[e.detPag];if(o.length===0)return;let{left:i,right:r}=this.builder.pageMargins();this.builder.row({columns:2,left:i,right:r},n=>this.builder.text("Forma de Pagamento",{...n,align:"left"}),n=>this.builder.text("Valor pago R$",{...n,align:"right"})),o.forEach(n=>this.payment(n))}change(){let{vTroco:e}=this.context.data.infNFe.pag;if(!this.context.isValueNotEmpty(e))return;let{left:o,right:i}=this.builder.pageMargins();this.builder.moveDown(.5).row({columns:2,left:o,right:i},r=>this.builder.text("Troco R$",{...r,align:"left"}),r=>this.builder.text(this.context.currency(e),{...r,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(){t._instance=void 0}height(){this.setup();let{pag:{vTroco:e,detPag:o}}=this.context.data.infNFe,i=Array.isArray(o)?o:[o],r=this.context.isValueNotEmpty(e)?this.builder.currentLineHeight()+.5:0;return this.builder.currentLineHeight()*i.length-1+r}};var fp=class t{static{s(this,"AccessKey")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}statics(){let{left:e,right:o}=this.builder.pageMargins(),i=this.context.defaults.font,r=`${i}-Bold`;this.builder.font(r).row({left:e,right:o},n=>this.builder.text("Consulte pela Chave de Acesso em",{...n,align:"center"})).font(i)}url(){let{urlChave:e}=this.context.data.infNFeSupl??{},{left:o,right:i}=this.builder.pageMargins();this.builder.row({left:o,right:i},r=>this.builder.text(e??"",{...r,link:e,align:"center"}))}accessKey(){let{Id:e}=this.context.data.infNFe.$;if(!e)return;this.builder.moveDown(.5);let o=e.substring(3).replace(/(.{4})/g,"$1 ").trim(),{left:i,right:r}=this.builder.pageMargins();this.builder.row({left:i,right:r},n=>this.builder.text(o,{...n,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(){t._instance=void 0}};var bR=lt(dg(),1);var lf=class t{static{s(this,"QRCode")}context;static _instance;qrCodeSvg;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}get hasContingency(){let{tpEmis:e}=this.context.data.infNFe.ide;return e!==vt.Normal}get qrSize(){let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=this.hasContingency?.6:.4;return Math.floor(i*r)}async getQrSvgString(e){try{return await bR.toString(e,{margin:0,type:"svg",errorCorrectionLevel:"M",color:{dark:"#000000",light:"#FFFFFF"}})}catch(o){return console.error("Error generating QR code:",o),""}}drawQrCode(){if(!this.qrCodeSvg)return;let e=this.qrCodeSvg.$.viewBox,[,,o,i]=e.split(" ").map(Number),r=this.qrSize,n=r/o,a=r/i,c=Array.isArray(this.qrCodeSvg.path)?this.qrCodeSvg.path:[this.qrCodeSvg.path],{left:p,right:u}=this.builder.pageMargins(),l=this.builder.pageWidth()-p-u,d=p+(l-r)/2,m=this.builder.y();this.builder.save().translate(d,m).scale(n,a),c.forEach(y=>{this.builder.path(y.$.d),y.$.fill&&this.builder.fill(y.$.fill),y.$.stroke&&this.builder.stroke(y.$.stroke)}),this.builder.restore(),this.builder.text("",{y:m+r})}async make(){let{qrCode:e}=this.context.data.infNFeSupl??{};if(!e)return this.builder;let o=await this.getQrSvgString(e);this.qrCodeSvg=await this.context.toolkit.parse(o)}setup(){this.builder.font(this.context.defaults.font,this.context.options.textFontSize)}async build(){return await this.make(),this.qrCodeSvg?(this.setup(),this.builder.moveDown(.5),this.drawQrCode(),this.builder):this.builder}end(){t._instance=void 0}height(){let{qrCode:e}=this.context.data.infNFeSupl??{};return e?(this.setup(),this.qrSize+.5):0}};var uf=class t{static{s(this,"Recipient")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}unknown(e){let{left:o,right:i}=this.builder.pageMargins(),r=this.context.defaults.font,n=`${r}-Bold`;this.builder.row({left:e?.x??o,right:i},a=>this.builder.font(n).text("CONSUMIDOR N\xC3O IDENTIFICADO",{...a,align:"center"}).font(r))}identification(e){let{CNPJ:o,CPF:i,idEstrangeiro:r}=e;return o?.length===14?`CNPJ: ${o.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")}`:i?.length===11?`CPF: ${i.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/,"$1.$2.$3-$4")}`:r?.length?`Id. Estrangeiro: ${r}`:""}dest(e){let{dest:o}=this.context.data.infNFe;if(!o)return this.unknown(e);let{left:i,right:r}=this.builder.pageMargins(),n=this.identification(o),{xNome:a,enderDest:c}=o,p=this.addressLine(c),u=this.context.defaults.font,l=`${u}-Bold`;this.builder.row({left:e?.x??i,right:r},d=>this.builder.font(l).text(`CONSUMIDOR - ${n}`,{...d,align:"center"}).font(u)).row({left:e?.x??i,right:r},d=>this.builder.text(`${a}${p}`,{...d,align:"center"}))}addressLine(e){if(!e)return"";let{xLgr:o,nro:i,xBairro:r,xCpl:n,xMun:a,UF:c,CEP:p}=e;if(!o||!p)return"";let u=n?`, ${n}`:"";return` - Rua ${o}, ${i}, ${r}${u}, ${a} - ${c}`}addressLine2(e){let{xBairro:o,xCpl:i}=e,r=i?` - ${i}`:"";return`${o}${r}`}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(){t._instance=void 0}height(){this.setup();let{left:e,right:o}=this.builder.pageMargins(),i=this.builder.pageWidth()-e-o,r=[this.builder.currentLineHeight()*.5],{dest:n}=this.context.data.infNFe;if(!n)return r.push(this.builder.heightOfString("CONSUMIDOR N\xC3O IDENTIFICADO",{width:i,align:"center"})),r.reduce((l,d)=>l+d,0);let a=this.identification(n),{xNome:c,enderDest:p}=n,u=this.addressLine(p);return r.push(this.builder.heightOfString(`CONSUMIDOR - ${a}`,{width:i,align:"center"}),this.builder.heightOfString(`${c}${u}`,{width:i,align:"center"})),r.reduce((l,d)=>l+d,0)}};var _r=require("nfets/core");var df=class t{static{s(this,"Protocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}isProtocoled(e){return!!e}protocol(e){let o=this.context.protNFe;return this.isProtocoled(o)?this.protocoled(o.infProt,e):this.unprotocoled()}unprotocoled(){}metadata(e){let{nNF:o,serie:i,dhEmi:r}=this.context.data.infNFe.ide,n=o.padStart(9,"0"),a=i.padStart(3,"0"),{left:c,right:p}=this.builder.pageMargins(),{cUF:u}=this.context.data.infNFe.ide,l=_r.timezones[u],d=(0,_r.dateToolkit)(r).tz(l).format("DD/MM/YYYY HH:mm:ss"),m=this.context.defaults.font,y=`${m}-Bold`;this.builder.row({left:e?.x??c,right:p},x=>this.builder.font(y).text(`NFC-e n\xBA ${n} - s\xE9rie ${a} emitida em: ${d}`,{...x,align:"center"}).font(m))}protocoled(e,o){let{dhRecbto:i,nProt:r}=e,{left:n,right:a}=this.builder.pageMargins(),{cUF:c}=this.context.data.infNFe.ide,p=_r.timezones[c],u=r.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),l=(0,_r.dateToolkit)(i).tz(p).format("DD/MM/YYYY HH:mm:ss");this.builder.row({left:o?.x??n,right:a},d=>this.builder.text(`Protocolo de autoriza\xE7\xE3o: ${u}
|
|
37
37
|
Data de autoriza\xE7\xE3o: ${l}`,{...d,align:"center"}))}assemble(e){let{cMsg:o,xMsg:i}=this.context.protNFe?.infProt??{},{left:r,right:n}=this.builder.pageMargins();return i&&this.builder.row({left:e?.x??r,right:n},a=>this.builder.text(`$(${o}) ${i}`,{...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(){t._instance=void 0}height(){this.setup();let e=[.5],{left:o,right:i}=this.builder.pageMargins(),r=this.builder.pageWidth()-o-i,{nNF:n,serie:a,dhEmi:c}=this.context.data.infNFe.ide,p=n.padStart(9,"0"),u=a.padStart(3,"0"),{cUF:l}=this.context.data.infNFe.ide,d=_r.timezones[l],m=(0,_r.dateToolkit)(c).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`NFC-e n\xBA ${p} - s\xE9rie ${u} emitida em: ${m}`,{width:r,align:"center"}));let{cMsg:y,xMsg:x}=this.context.protNFe?.infProt??{};x&&e.push(this.builder.heightOfString(`$(${y}) ${x}`,{width:r,align:"left"}));let N=this.context.protNFe;if(N){let{dhRecbto:C,nProt:b}=N.infProt,I=b.replace(/([0-9]{3})([0-9]{10})(.*)/g,"$1 $2 $3"),A=(0,_r.dateToolkit)(C).tz(d).format("DD/MM/YYYY HH:mm:ss");e.push(this.builder.heightOfString(`Protocolo de autoriza\xE7\xE3o: ${I}
|
|
38
38
|
Data de autoriza\xE7\xE3o: ${A}`,{width:r,align:"center"}))}return e.reduce((C,b)=>C+b,0)}};var ff=class t{static{s(this,"AggregateRecipientToProtocols")}context;static _instance;static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builders(){return[uf.instance(this.context),df.instance(this.context),Fa.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(o=>o.build(e)),this.builder}end(){t._instance=void 0,this.builders.forEach(e=>e.end())}height(){return this.setup(),this.builders.reduce((e,o)=>e+(o.height?.()??0),0)}};var _P=.35277777777777775,fg=.75,xR={"80mm":80/_P},Ma="gerado por github.com/nfets/nfets";var mf=class t{static{s(this,"Footer")}context;static _instance;constants={vTotTrib:"Tributos Totais Incidentes (Lei Federal 12.741/2012): R$"};static instance(e){return this._instance??=new t(e)}constructor(e){this.context=e}get builder(){return this.context.builder}vTotTrib(){let{vTotTrib:e}=this.context.data.infNFe.total.ICMSTot,{left:o,right:i}=this.builder.pageMargins(),r=!e||!Number.parseFloat(e.toString())?"-----":this.context.currency(e);this.builder.row({left:o,right:i},n=>this.builder.text(`${this.constants.vTotTrib} ${r}`,{...n,align:"center"}))}get infCplText(){return(this.context.data.infNFe.infAdic?.infCpl?.replace(/;/g,`
|
|
39
39
|
`)??"").split(`
|