nfets 0.0.12 → 0.0.14
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/README.md +4 -0
- package/dist/chunk-3WPW27WV.mjs +24 -0
- package/dist/chunk-VB5FKAWY.mjs +7 -0
- package/dist/{chunk-Z2TLKKAE.mjs → chunk-W6MRGYXP.mjs} +0 -1
- package/dist/chunk-XYOTPYUB.mjs +238 -0
- package/dist/core/index.cjs +261 -0
- package/dist/core/index.d.cts +576 -0
- package/dist/core/index.d.ts +576 -0
- package/dist/core/index.mjs +1 -0
- package/dist/either-CdHd_Yt7.d.cts +20 -0
- package/dist/either-CdHd_Yt7.d.ts +20 -0
- package/dist/index.cjs +82 -77
- package/dist/index.d.cts +70 -706
- package/dist/index.d.ts +70 -706
- package/dist/index.mjs +1 -260
- package/dist/nfe/index.cjs +30 -0
- package/dist/nfe/index.d.cts +4622 -0
- package/dist/nfe/index.d.ts +4622 -0
- package/dist/nfe/index.mjs +1 -0
- package/dist/src-NRIPS2N7.mjs +7 -0
- package/package.json +17 -6
- package/packages/nfe/schemas/PL_009_V4/110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_009_V4/Averb_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_009_V4/CCe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_009_V4/EPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/EPP1.xml +13 -0
- package/packages/nfe/schemas/PL_009_V4/ERP1.xml +19 -0
- package/packages/nfe/schemas/PL_009_V4/EventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/EventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/EventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/EventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/MT_inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/SuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/SuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/confRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consGTIN_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/consNFeDest_v1.01.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/consReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/consStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/distDFeInt_v1.00.xsd +71 -0
- package/packages/nfe/schemas/PL_009_V4/distDFeInt_v1.01.xsd +97 -0
- package/packages/nfe/schemas/PL_009_V4/downloadNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/e110110_v1.00.xsd +58 -0
- package/packages/nfe/schemas/PL_009_V4/e110111_v1.00.xsd +42 -0
- package/packages/nfe/schemas/PL_009_V4/e110112_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_009_V4/e110130_v1.00.xsd +102 -0
- package/packages/nfe/schemas/PL_009_V4/e110131_v1.00.xsd +51 -0
- package/packages/nfe/schemas/PL_009_V4/e110140NFCe_v1.00.xsd +118 -0
- package/packages/nfe/schemas/PL_009_V4/e110140NFe_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_009_V4/e110140_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_009_V4/e110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_009_V4/e110192_v1.00.xsd +106 -0
- package/packages/nfe/schemas/PL_009_V4/e110193_v1.00.xsd +40 -0
- package/packages/nfe/schemas/PL_009_V4/e110750_v1.00.xsd +138 -0
- package/packages/nfe/schemas/PL_009_V4/e110751_v1.00.xsd +39 -0
- package/packages/nfe/schemas/PL_009_V4/e111500_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_009_V4/e111501_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_009_V4/e111502_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_009_V4/e111503_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_009_V4/e210200_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_009_V4/e210210_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_009_V4/e210220_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_009_V4/e210240_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_009_V4/e411500_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_009_V4/e411501_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_009_V4/e411502_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_009_V4/e411503_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_009_V4/e610130_v1.00.xsd +128 -0
- package/packages/nfe/schemas/PL_009_V4/e610131_v1.00.xsd +68 -0
- package/packages/nfe/schemas/PL_009_V4/e790700_v1.00.xsd +125 -0
- package/packages/nfe/schemas/PL_009_V4/e990900_v1.00.xsd +87 -0
- package/packages/nfe/schemas/PL_009_V4/e990910_v1.00.xsd +81 -0
- package/packages/nfe/schemas/PL_009_V4/envAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envCancelPProrrogNFe_v1.0.xsd +50 -0
- package/packages/nfe/schemas/PL_009_V4/envComprovanteEntregaNFe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_009_V4/envConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoCancEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEventoInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envFiscoNfe_v1.0.xsd +179 -0
- package/packages/nfe/schemas/PL_009_V4/envPProrrogNFe_v1.0.xsd +65 -0
- package/packages/nfe/schemas/PL_009_V4/envRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/envSuframaInternaliza_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/envSuframaVistoria_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/enviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/enviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoEPEC_v0.01.xsd +267 -0
- package/packages/nfe/schemas/PL_009_V4/eventoEPEC_v1.00.xsd +231 -0
- package/packages/nfe/schemas/PL_009_V4/eventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/eventoRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/inutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteAverb_v1.00.xsd +482 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteCCe_v1.00.xsd +382 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteCcgConsGTIN_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConfRecebto_v1.00.xsd +369 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsNFeDest_v1.01.xsd +483 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsSitNFe_v3.10.xsd +502 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsStatServ_v3.10.xsd +98 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsStatServ_v4.00.xsd +98 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteConsultaCadastro_v2.00.xsd +404 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteDownloadNFe_v1.00.xsd +149 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEPEC_v1.00.xsd +423 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoCancEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoCancNFe_v1.00.xsd +358 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoCancSubst_v1.00.xsd +366 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteEvento_v1.00.xsd +335 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteInutNFe_v3.10.xsd +193 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteInutNFe_v4.00.xsd +193 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteInutNFe_v4.00_MT.xsd +200 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteNFe_v3.10.xsd +6060 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteNFe_v4.00.xsd +7339 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteRemIndus_v1.00.xsd +344 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- package/packages/nfe/schemas/PL_009_V4/leiauteSuframaVistoria_v1.00.xsd +648 -0
- package/packages/nfe/schemas/PL_009_V4/nfe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/nfe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procAverbNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/procCCeNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/procComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/procConfRecebtoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procEventoNFe_v99.99.xsd +37 -0
- package/packages/nfe/schemas/PL_009_V4/procInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/procRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/prod_leiauteNFe_v4.00.xsd +6736 -0
- package/packages/nfe/schemas/PL_009_V4/resEvento_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_009_V4/resEvento_v1.01.xsd +108 -0
- package/packages/nfe/schemas/PL_009_V4/resNFe_v1.00.xsd +110 -0
- package/packages/nfe/schemas/PL_009_V4/resNFe_v1.01.xsd +122 -0
- package/packages/nfe/schemas/PL_009_V4/retComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/retConsCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsGTIN_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retConsStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retDistDFeInt_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_009_V4/retDistDFeInt_v1.01.xsd +99 -0
- package/packages/nfe/schemas/PL_009_V4/retDownloadNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvAverb_v1.00_1.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvFiscoNFe_v1.0.xsd +234 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnvSuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEnviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoEPEC_v0.01.xsd +207 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/retPProrrogNFe_v1.0.xsd +233 -0
- package/packages/nfe/schemas/PL_009_V4/retconsNFeDest_v1.01.xsd +9 -0
- package/packages/nfe/schemas/PL_009_V4/tiposBasico_v1.03.xsd +873 -0
- package/packages/nfe/schemas/PL_009_V4/tiposBasico_v3.10.xsd +571 -0
- package/packages/nfe/schemas/PL_009_V4/tiposBasico_v4.00.xsd +598 -0
- package/packages/nfe/schemas/PL_009_V4/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.00.xsd +217 -0
- package/packages/nfe/schemas/PL_009_V4/tiposDistDFe_v1.01.xsd +222 -0
- package/packages/nfe/schemas/PL_009_V4/xmldsig-core-schema_v1.01.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1/110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1/Averb_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1/CCe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1/DFeTiposBasicos_v1.00.xsd +1088 -0
- package/packages/nfe/schemas/PL_010_V1/EPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/EPP1.xml +13 -0
- package/packages/nfe/schemas/PL_010_V1/ERP1.xml +19 -0
- package/packages/nfe/schemas/PL_010_V1/EventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/EventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/EventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/EventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/MT_inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/SuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/SuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/confRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consGTIN_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/consNFeDest_v1.01.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/consReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/consStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/distDFeInt_v1.00.xsd +71 -0
- package/packages/nfe/schemas/PL_010_V1/distDFeInt_v1.01.xsd +97 -0
- package/packages/nfe/schemas/PL_010_V1/downloadNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/e110001_v1.00.xsd +73 -0
- package/packages/nfe/schemas/PL_010_V1/e110110_v1.00.xsd +58 -0
- package/packages/nfe/schemas/PL_010_V1/e110111_v1.00.xsd +42 -0
- package/packages/nfe/schemas/PL_010_V1/e110112_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e110130_v1.00.xsd +102 -0
- package/packages/nfe/schemas/PL_010_V1/e110131_v1.00.xsd +51 -0
- package/packages/nfe/schemas/PL_010_V1/e110140NFCe_v1.00.xsd +118 -0
- package/packages/nfe/schemas/PL_010_V1/e110140NFe_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1/e110140_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1/e110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1/e110192_v1.00.xsd +106 -0
- package/packages/nfe/schemas/PL_010_V1/e110193_v1.00.xsd +40 -0
- package/packages/nfe/schemas/PL_010_V1/e110750_v1.00.xsd +138 -0
- package/packages/nfe/schemas/PL_010_V1/e110751_v1.00.xsd +39 -0
- package/packages/nfe/schemas/PL_010_V1/e111500_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e111501_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e111502_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1/e111503_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1/e112110_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e112120_v1.00 .xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1/e112130_v1.00.xsd +119 -0
- package/packages/nfe/schemas/PL_010_V1/e112140_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1/e210200_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_010_V1/e210210_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_010_V1/e210220_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_010_V1/e210240_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_010_V1/e211110_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1/e211120_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1/e211124_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1/e211128_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e211130_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1/e211140_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1/e211150_v1.00.xsd +85 -0
- package/packages/nfe/schemas/PL_010_V1/e212110_v1.00.xsd +70 -0
- package/packages/nfe/schemas/PL_010_V1/e212120_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1/e411500_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1/e411501_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1/e411502_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_010_V1/e411503_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_010_V1/e412120_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1/e412130_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1/e610130_v1.00.xsd +128 -0
- package/packages/nfe/schemas/PL_010_V1/e610131_v1.00.xsd +68 -0
- package/packages/nfe/schemas/PL_010_V1/e790700_v1.00.xsd +148 -0
- package/packages/nfe/schemas/PL_010_V1/e990900_v1.00.xsd +87 -0
- package/packages/nfe/schemas/PL_010_V1/e990910_v1.00.xsd +81 -0
- package/packages/nfe/schemas/PL_010_V1/envAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envCancelPProrrogNFe_v1.0.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1/envComprovanteEntregaNFe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1/envConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoCancEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEventoInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envFiscoNfe_v1.0.xsd +179 -0
- package/packages/nfe/schemas/PL_010_V1/envPProrrogNFe_v1.0.xsd +65 -0
- package/packages/nfe/schemas/PL_010_V1/envRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/envSuframaInternaliza_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/envSuframaVistoria_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/enviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/enviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoEPEC_v0.01.xsd +267 -0
- package/packages/nfe/schemas/PL_010_V1/eventoEPEC_v1.00.xsd +231 -0
- package/packages/nfe/schemas/PL_010_V1/eventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/eventoRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/inutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteAverb_v1.00.xsd +468 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteCCe_v1.00.xsd +382 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteCcgConsGTIN_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConfRecebto_v1.00.xsd +369 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsNFeDest_v1.01.xsd +483 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsSitNFe_v3.10.xsd +502 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsStatServ_v3.10.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsStatServ_v4.00.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteConsultaCadastro_v2.00.xsd +404 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteDownloadNFe_v1.00.xsd +149 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEPEC_v1.00.xsd +423 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoCancEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoCancNFe_v1.00.xsd +358 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoCancSubst_v1.00.xsd +366 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteEvento_v1.00.xsd +335 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteInutNFe_v3.10.xsd +193 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteInutNFe_v4.00.xsd +193 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteInutNFe_v4.00_MT.xsd +200 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteNFe_v3.10.xsd +6060 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteNFe_v4.00.xsd +7557 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteRemIndus_v1.00.xsd +344 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- package/packages/nfe/schemas/PL_010_V1/leiauteSuframaVistoria_v1.00.xsd +648 -0
- package/packages/nfe/schemas/PL_010_V1/nfe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/nfe_v4.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/procAverbNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/procCCeNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/procComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/procConfRecebtoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procEventoNFe_v99.99.xsd +37 -0
- package/packages/nfe/schemas/PL_010_V1/procInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/procRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/prod_leiauteNFe_v4.00.xsd +6736 -0
- package/packages/nfe/schemas/PL_010_V1/resEvento_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_010_V1/resEvento_v1.01.xsd +108 -0
- package/packages/nfe/schemas/PL_010_V1/resNFe_v1.00.xsd +110 -0
- package/packages/nfe/schemas/PL_010_V1/resNFe_v1.01.xsd +122 -0
- package/packages/nfe/schemas/PL_010_V1/retComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/retConsCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsGTIN_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retConsStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retDistDFeInt_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_010_V1/retDistDFeInt_v1.01.xsd +99 -0
- package/packages/nfe/schemas/PL_010_V1/retDownloadNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvAverb_v1.00_1.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvFiscoNFe_v1.0.xsd +234 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnvSuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEnviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoEPEC_v0.01.xsd +207 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/retPProrrogNFe_v1.0.xsd +233 -0
- package/packages/nfe/schemas/PL_010_V1/retconsNFeDest_v1.01.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1/tiposBasico_v1.03.xsd +872 -0
- package/packages/nfe/schemas/PL_010_V1/tiposBasico_v3.10.xsd +571 -0
- package/packages/nfe/schemas/PL_010_V1/tiposBasico_v4.00.xsd +598 -0
- package/packages/nfe/schemas/PL_010_V1/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_010_V1/tiposDistDFe_v1.00.xsd +217 -0
- package/packages/nfe/schemas/PL_010_V1/tiposDistDFe_v1.01.xsd +222 -0
- package/packages/nfe/schemas/PL_010_V1/xmldsig-core-schema_v1.01.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1.21/110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1.21/Averb_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1.21/CCe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1.21/DFeTiposBasicos_v1.00.xsd +1097 -0
- package/packages/nfe/schemas/PL_010_V1.21/EPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/EPP1.xml +13 -0
- package/packages/nfe/schemas/PL_010_V1.21/ERP1.xml +19 -0
- package/packages/nfe/schemas/PL_010_V1.21/EventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/EventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/EventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/EventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/MT_inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/SuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/SuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/confRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consGTIN_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/consNFeDest_v1.01.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/consReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/consStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/distDFeInt_v1.00.xsd +71 -0
- package/packages/nfe/schemas/PL_010_V1.21/distDFeInt_v1.01.xsd +97 -0
- package/packages/nfe/schemas/PL_010_V1.21/downloadNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110001_v1.00.xsd +73 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110110_v1.00.xsd +58 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110111_v1.00.xsd +42 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110112_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110130_v1.00.xsd +102 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110131_v1.00.xsd +51 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110140NFCe_v1.00.xsd +118 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110140NFe_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110140_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110150_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110192_v1.00.xsd +106 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110193_v1.00.xsd +40 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110750_v1.00.xsd +138 -0
- package/packages/nfe/schemas/PL_010_V1.21/e110751_v1.00.xsd +39 -0
- package/packages/nfe/schemas/PL_010_V1.21/e111500_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e111501_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e111502_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1.21/e111503_v1.00.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1.21/e112110_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e112120_v1.00 .xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1.21/e112130_v1.00.xsd +119 -0
- package/packages/nfe/schemas/PL_010_V1.21/e112140_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1.21/e210200_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_010_V1.21/e210210_v1.00.xsd +31 -0
- package/packages/nfe/schemas/PL_010_V1.21/e210220_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_010_V1.21/e210240_v1.00.xsd +44 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211110_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211120_v1.00.xsd +124 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211124_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211128_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211130_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211140_v1.00.xsd +107 -0
- package/packages/nfe/schemas/PL_010_V1.21/e211150_v1.00.xsd +85 -0
- package/packages/nfe/schemas/PL_010_V1.21/e212110_v1.00.xsd +70 -0
- package/packages/nfe/schemas/PL_010_V1.21/e212120_v1.00.xsd +69 -0
- package/packages/nfe/schemas/PL_010_V1.21/e411500_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1.21/e411501_v1.00.xsd +134 -0
- package/packages/nfe/schemas/PL_010_V1.21/e411502_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_010_V1.21/e411503_v1.00.xsd +95 -0
- package/packages/nfe/schemas/PL_010_V1.21/e412120_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1.21/e412130_v1.00.xsd +88 -0
- package/packages/nfe/schemas/PL_010_V1.21/e610130_v1.00.xsd +128 -0
- package/packages/nfe/schemas/PL_010_V1.21/e610131_v1.00.xsd +68 -0
- package/packages/nfe/schemas/PL_010_V1.21/e790700_v1.00.xsd +148 -0
- package/packages/nfe/schemas/PL_010_V1.21/e990900_v1.00.xsd +87 -0
- package/packages/nfe/schemas/PL_010_V1.21/e990910_v1.00.xsd +81 -0
- package/packages/nfe/schemas/PL_010_V1.21/envAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envCancelPProrrogNFe_v1.0.xsd +50 -0
- package/packages/nfe/schemas/PL_010_V1.21/envComprovanteEntregaNFe_v1.00.xsd +11 -0
- package/packages/nfe/schemas/PL_010_V1.21/envConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoCancEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoCancEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoCancInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoEConf_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEventoInsucessoNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envFiscoNfe_v1.0.xsd +179 -0
- package/packages/nfe/schemas/PL_010_V1.21/envPProrrogNFe_v1.0.xsd +65 -0
- package/packages/nfe/schemas/PL_010_V1.21/envRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/envSuframaInternaliza_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/envSuframaVistoria_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/enviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/enviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoEPEC_v0.01.xsd +267 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoEPEC_v1.00.xsd +231 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/eventoRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/inutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/inutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteAverb_v1.00.xsd +468 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteCCe_v1.00.xsd +382 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteCcgConsGTIN_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteComprovanteEntregaNFe_v1.00.xsd +487 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConfRecebto_v1.00.xsd +369 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsNFeDest_v1.01.xsd +483 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsSitNFe_v3.10.xsd +502 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsSitNFe_v4.00.xsd +502 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsStatServ_v3.10.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsStatServ_v4.00.xsd +98 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteConsultaCadastro_v2.00.xsd +404 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteDownloadNFe_v1.00.xsd +149 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEPEC_v1.00.xsd +423 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoAtorInteressado_v1.00.xsd +384 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoCancEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoCancEntregaNFe_v1.00.xsd +307 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoCancInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoCancNFe_v1.00.xsd +358 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoCancSubst_v1.00.xsd +366 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoEConf_v1.00.xsd +296 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoEntregaNFe_v1.00.xsd +321 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEventoInsucessoNFe_v1.00.xsd +297 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteEvento_v1.00.xsd +335 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteInutNFe_v3.10.xsd +193 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteInutNFe_v4.00.xsd +193 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteInutNFe_v4.00_MT.xsd +200 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteNFe_v3.10.xsd +6060 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteNFe_v4.00.xsd +7558 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteRemIndus_v1.00.xsd +344 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteSuframaInternaliza_v1.00.xsd +642 -0
- package/packages/nfe/schemas/PL_010_V1.21/leiauteSuframaVistoria_v1.00.xsd +648 -0
- package/packages/nfe/schemas/PL_010_V1.21/nfe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/nfe_v4.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/procAverbNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/procCCeNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/procComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/procConfRecebtoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procEventoNFe_v99.99.xsd +37 -0
- package/packages/nfe/schemas/PL_010_V1.21/procInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/procRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/prod_leiauteNFe_v4.00.xsd +6736 -0
- package/packages/nfe/schemas/PL_010_V1.21/resEvento_v1.00.xsd +94 -0
- package/packages/nfe/schemas/PL_010_V1.21/resEvento_v1.01.xsd +108 -0
- package/packages/nfe/schemas/PL_010_V1.21/resNFe_v1.00.xsd +110 -0
- package/packages/nfe/schemas/PL_010_V1.21/resNFe_v1.01.xsd +122 -0
- package/packages/nfe/schemas/PL_010_V1.21/retComprovanteEntregaNFe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsCad_v2.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsGTIN_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsReciNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsReciNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsSitNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsSitNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsStatServ_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retConsStatServ_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retDistDFeInt_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_010_V1.21/retDistDFeInt_v1.01.xsd +99 -0
- package/packages/nfe/schemas/PL_010_V1.21/retDownloadNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvAverb_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvAverb_v1.00_1.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvCCe_v1.00.xsd +10 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvCancelPProrrogNFe_v1.0.xsd +231 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvConfRecebto_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvEPEC_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvEventoAtorInteressado_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvEventoCancNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvEventoCancSubst_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvEvento_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvFiscoNFe_v1.0.xsd +234 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvRemIndus_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvSuframaInternaliza_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnvSuframaVistoria_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnviNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEnviNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoCancEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoCancEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoCancInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoEConf_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoEPEC_v0.01.xsd +207 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoEntregaNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retEventoInsucessoNFe_v1.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retInutNFe_v3.10.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retInutNFe_v4.00.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/retPProrrogNFe_v1.0.xsd +233 -0
- package/packages/nfe/schemas/PL_010_V1.21/retconsNFeDest_v1.01.xsd +9 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposBasico_v1.03.xsd +872 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposBasico_v3.10.xsd +571 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposBasico_v4.00.xsd +598 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposBasicosCcgConsGTIN_v1.00.xsd +84 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposDistDFe_v1.00.xsd +217 -0
- package/packages/nfe/schemas/PL_010_V1.21/tiposDistDFe_v1.01.xsd +222 -0
- package/packages/nfe/schemas/PL_010_V1.21/xmldsig-core-schema_v1.01.xsd +98 -0
- package/dist/src-QBEIGHGM.mjs +0 -8
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{b as Wc,c as Kc,d as Xc}from"./chunk-3WPW27WV.mjs";import{a,e as Gc,f as Na}from"./chunk-W6MRGYXP.mjs";var bm=(function(t){return t.Normal="1",t.SVCAN="6",t.SVCRS="7",t.OFFLINE="9",t})({});var Fm=process.env.NFETS_NFE_SCHEMAS_DIR??"";var Ts=class{static{a(this,"AccessKeyBuilder")}compile(e){let o=e.cUF.toString().padStart(2,"0"),n=e.year.toString().padStart(2,"0"),i=e.month.toString().padStart(2,"0"),r=(e.identification??"").padStart(14,"0"),s=e.mod.toString().padStart(2,"0"),p=e.serie.toString().padStart(3,"0"),l=e.nNF.toString().padStart(9,"0"),u=e.tpEmis.toString().padStart(1,"0"),v=(e.cNF??this.code()).toString().padStart(8,"0"),g=`${o}${n}${i}${r}${s}${p}${l}${u}${v}`;return`${g}${this.verifyingDigit(g)}`}decompile(e){if(e.length!==44)return;let n=/^([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{14})([0-9]{2})([0-9]{3})([0-9]{9})([0-9]{1})([0-9]{8})([0-9]{1})$/.exec(e);if(!n)return;let[i,r,s,p,l,u,v,g,C,b,y]=n;return{cUF:r,year:s,month:p,identification:l,mod:u,serie:v,nNF:g,tpEmis:C,cNF:b,vd:y}}code(){let e=Math.floor(Math.random()*1e8).toString().padStart(8,"0");return this.isCodeValid(e)?e:this.code()}isCodeValid(e){return!~["00000000","11111111","22222222","33333333","44444444","55555555","66666666","77777777","88888888","99999999","12345678","23456789","34567890","45678901","56789012","67890123","78901234","89012345","90123456","01234567"].indexOf(e)}verifyingDigit(e){let o=[2,3,4,5,6,7,8,9],n=42,i=0;for(;n>=0;)for(let s=0;s<8&&n>=0;s++){let p=parseInt(e[n]);i+=p*o[s],n--}let r=11-i%11;return r>9?0:r}};import{Decimal as kr}from"@nfets/core/infrastructure";var Vs=class{static{a(this,"DefaultDetBuilderAggregator")}builder;constructor(e){this.builder=e}prod(e){let o=kr.from(0);this.builder.increment(({ICMSTot:n})=>({ICMSTot:{vProd:kr.newOrZero(n?.vProd).add(e.vProd).toFixed(2),vFrete:kr.newOrZero(n?.vFrete).add(e.vFrete??o).toFixed(2),vSeg:kr.newOrZero(n?.vSeg).add(e.vSeg??o).toFixed(2),vDesc:kr.newOrZero(n?.vDesc).add(e.vDesc??o).toFixed(2),vOutro:kr.newOrZero(n?.vOutro).add(e.vOutro??o).toFixed(2)}}))}icms(e){}};import{Decimal as Ms}from"@nfets/core/infrastructure";var _s=class{static{a(this,"DefaultTotalBuilderAggregator")}builder;constructor(e){this.builder=e}aggregate(){let e=Ms.from(0);this.builder.increment(({ICMSTot:o,ISSQNtot:n})=>({ICMSTot:{vNF:Ms.newOrZero(o?.vProd).sub(o?.vDesc??e).sub(o?.vICMSDeson??e).add(o?.vST??e).add(o?.vFCPST??e).add(o?.vFrete??e).add(o?.vSeg??e).add(o?.vOutro??e).add(o?.vII??e).add(o?.vIPI??e).add(o?.vIPIDevol??e).add(n?.vServ??e).toFixed(2)}}))}};function Hn(t,e){return a(function(){return t.apply(e,arguments)},"wrap")}a(Hn,"bind");var{toString:Yc}=Object.prototype,{getPrototypeOf:ba}=Object,{iterator:Fi,toStringTag:Bs}=Symbol,Ii=(t=>e=>{let o=Yc.call(e);return t[o]||(t[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),wt=a(t=>(t=t.toLowerCase(),e=>Ii(e)===t),"kindOfTest"),zi=a(t=>e=>typeof e===t,"typeOfTest"),{isArray:tn}=Array,en=zi("undefined");function $n(t){return t!==null&&!en(t)&&t.constructor!==null&&!en(t.constructor)&&nt(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}a($n,"isBuffer");var Us=wt("ArrayBuffer");function Zc(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Us(t.buffer),e}a(Zc,"isArrayBufferView");var kc=zi("string"),nt=zi("function"),qs=zi("number"),Jn=a(t=>t!==null&&typeof t=="object","isObject"),ef=a(t=>t===!0||t===!1,"isBoolean"),Ri=a(t=>{if(Ii(t)!=="object")return!1;let e=ba(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Bs in t)&&!(Fi in t)},"isPlainObject"),tf=a(t=>{if(!Jn(t)||$n(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},"isEmptyObject"),of=wt("Date"),rf=wt("File"),nf=wt("Blob"),af=wt("FileList"),sf=a(t=>Jn(t)&&nt(t.pipe),"isStream"),pf=a(t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||nt(t.append)&&((e=Ii(t))==="formdata"||e==="object"&&nt(t.toString)&&t.toString()==="[object FormData]"))},"isFormData"),cf=wt("URLSearchParams"),[ff,df,uf,lf]=["ReadableStream","Request","Response","Headers"].map(wt),mf=a(t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),"trim");function Gn(t,e,{allOwnKeys:o=!1}={}){if(t===null||typeof t>"u")return;let n,i;if(typeof t!="object"&&(t=[t]),tn(t))for(n=0,i=t.length;n<i;n++)e.call(null,t[n],n,t);else{if($n(t))return;let r=o?Object.getOwnPropertyNames(t):Object.keys(t),s=r.length,p;for(n=0;n<s;n++)p=r[n],e.call(null,t[p],p,t)}}a(Gn,"forEach");function Qs(t,e){if($n(t))return null;e=e.toLowerCase();let o=Object.keys(t),n=o.length,i;for(;n-- >0;)if(i=o[n],e===i.toLowerCase())return i;return null}a(Qs,"findKey");var Rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Hs=a(t=>!en(t)&&t!==Rr,"isContextDefined");function Ca(){let{caseless:t,skipUndefined:e}=Hs(this)&&this||{},o={},n=a((i,r)=>{let s=t&&Qs(o,r)||r;Ri(o[s])&&Ri(i)?o[s]=Ca(o[s],i):Ri(i)?o[s]=Ca({},i):tn(i)?o[s]=i.slice():(!e||!en(i))&&(o[s]=i)},"assignValue");for(let i=0,r=arguments.length;i<r;i++)arguments[i]&&Gn(arguments[i],n);return o}a(Ca,"merge");var vf=a((t,e,o,{allOwnKeys:n}={})=>(Gn(e,(i,r)=>{o&&nt(i)?t[r]=Hn(i,o):t[r]=i},{allOwnKeys:n}),t),"extend"),yf=a(t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),"stripBOM"),gf=a((t,e,o,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),o&&Object.assign(t.prototype,o)},"inherits"),hf=a((t,e,o,n)=>{let i,r,s,p={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),r=i.length;r-- >0;)s=i[r],(!n||n(s,t,e))&&!p[s]&&(e[s]=t[s],p[s]=!0);t=o!==!1&&ba(t)}while(t&&(!o||o(t,e))&&t!==Object.prototype);return e},"toFlatObject"),Sf=a((t,e,o)=>{t=String(t),(o===void 0||o>t.length)&&(o=t.length),o-=e.length;let n=t.indexOf(e,o);return n!==-1&&n===o},"endsWith"),Nf=a(t=>{if(!t)return null;if(tn(t))return t;let e=t.length;if(!qs(e))return null;let o=new Array(e);for(;e-- >0;)o[e]=t[e];return o},"toArray"),Cf=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&ba(Uint8Array)),bf=a((t,e)=>{let n=(t&&t[Fi]).call(t),i;for(;(i=n.next())&&!i.done;){let r=i.value;e.call(t,r[0],r[1])}},"forEachEntry"),Rf=a((t,e)=>{let o,n=[];for(;(o=t.exec(e))!==null;)n.push(o);return n},"matchAll"),Ff=wt("HTMLFormElement"),If=a(t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,a(function(o,n,i){return n.toUpperCase()+i},"replacer")),"toCamelCase"),Ls=(({hasOwnProperty:t})=>(e,o)=>t.call(e,o))(Object.prototype),zf=wt("RegExp"),$s=a((t,e)=>{let o=Object.getOwnPropertyDescriptors(t),n={};Gn(o,(i,r)=>{let s;(s=e(i,r,t))!==!1&&(n[r]=s||i)}),Object.defineProperties(t,n)},"reduceDescriptors"),Of=a(t=>{$s(t,(e,o)=>{if(nt(t)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;let n=t[o];if(nt(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},"freezeMethods"),xf=a((t,e)=>{let o={},n=a(i=>{i.forEach(r=>{o[r]=!0})},"define");return tn(t)?n(t):n(String(t).split(e)),o},"toObjectSet"),Af=a(()=>{},"noop"),wf=a((t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,"toFiniteNumber");function Pf(t){return!!(t&&nt(t.append)&&t[Bs]==="FormData"&&t[Fi])}a(Pf,"isSpecCompliantForm");var Ef=a(t=>{let e=new Array(10),o=a((n,i)=>{if(Jn(n)){if(e.indexOf(n)>=0)return;if($n(n))return n;if(!("toJSON"in n)){e[i]=n;let r=tn(n)?[]:{};return Gn(n,(s,p)=>{let l=o(s,i+1);!en(l)&&(r[p]=l)}),e[i]=void 0,r}}return n},"visit");return o(t,0)},"toJSONObject"),Df=wt("AsyncFunction"),jf=a(t=>t&&(Jn(t)||nt(t))&&nt(t.then)&&nt(t.catch),"isThenable"),Js=((t,e)=>t?setImmediate:e?((o,n)=>(Rr.addEventListener("message",({source:i,data:r})=>{i===Rr&&r===o&&n.length&&n.shift()()},!1),i=>{n.push(i),Rr.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",nt(Rr.postMessage)),Tf=typeof queueMicrotask<"u"?queueMicrotask.bind(Rr):typeof process<"u"&&process.nextTick||Js,Vf=a(t=>t!=null&&nt(t[Fi]),"isIterable"),c={isArray:tn,isArrayBuffer:Us,isBuffer:$n,isFormData:pf,isArrayBufferView:Zc,isString:kc,isNumber:qs,isBoolean:ef,isObject:Jn,isPlainObject:Ri,isEmptyObject:tf,isReadableStream:ff,isRequest:df,isResponse:uf,isHeaders:lf,isUndefined:en,isDate:of,isFile:rf,isBlob:nf,isRegExp:zf,isFunction:nt,isStream:sf,isURLSearchParams:cf,isTypedArray:Cf,isFileList:af,forEach:Gn,merge:Ca,extend:vf,trim:mf,stripBOM:yf,inherits:gf,toFlatObject:hf,kindOf:Ii,kindOfTest:wt,endsWith:Sf,toArray:Nf,forEachEntry:bf,matchAll:Rf,isHTMLForm:Ff,hasOwnProperty:Ls,hasOwnProp:Ls,reduceDescriptors:$s,freezeMethods:Of,toObjectSet:xf,toCamelCase:If,noop:Af,toFiniteNumber:wf,findKey:Qs,global:Rr,isContextDefined:Hs,isSpecCompliantForm:Pf,toJSONObject:Ef,isAsyncFn:Df,isThenable:jf,setImmediate:Js,asap:Tf,isIterable:Vf};function on(t,e,o,n,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),o&&(this.config=o),n&&(this.request=n),i&&(this.response=i,this.status=i.status?i.status:null)}a(on,"AxiosError");c.inherits(on,Error,{toJSON:a(function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:c.toJSONObject(this.config),code:this.code,status:this.status}},"toJSON")});var Gs=on.prototype,Ws={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Ws[t]={value:t}});Object.defineProperties(on,Ws);Object.defineProperty(Gs,"isAxiosError",{value:!0});on.from=(t,e,o,n,i,r)=>{let s=Object.create(Gs);c.toFlatObject(t,s,a(function(v){return v!==Error.prototype},"filter"),u=>u!=="isAxiosError");let p=t&&t.message?t.message:"Error",l=e==null&&t?t.code:e;return on.call(s,p,l,o,n,i),t&&s.cause==null&&Object.defineProperty(s,"cause",{value:t,configurable:!0}),s.name=t&&t.name||"Error",r&&Object.assign(s,r),s};var S=on;var Ks=Na(Wc(),1),Oi=Ks.default;function Ra(t){return c.isPlainObject(t)||c.isArray(t)}a(Ra,"isVisitable");function Ys(t){return c.endsWith(t,"[]")?t.slice(0,-2):t}a(Ys,"removeBrackets");function Xs(t,e,o){return t?t.concat(e).map(a(function(i,r){return i=Ys(i),!o&&r?"["+i+"]":i},"each")).join(o?".":""):e}a(Xs,"renderKey");function Mf(t){return c.isArray(t)&&!t.some(Ra)}a(Mf,"isFlatArray");var _f=c.toFlatObject(c,{},null,a(function(e){return/^is[A-Z]/.test(e)},"filter"));function Lf(t,e,o){if(!c.isObject(t))throw new TypeError("target must be an object");e=e||new(Oi||FormData),o=c.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,a(function(R,h){return!c.isUndefined(h[R])},"defined"));let n=o.metaTokens,i=o.visitor||v,r=o.dots,s=o.indexes,l=(o.Blob||typeof Blob<"u"&&Blob)&&c.isSpecCompliantForm(e);if(!c.isFunction(i))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(c.isDate(y))return y.toISOString();if(c.isBoolean(y))return y.toString();if(!l&&c.isBlob(y))throw new S("Blob is not supported. Use a Buffer instead.");return c.isArrayBuffer(y)||c.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}a(u,"convertValue");function v(y,R,h){let U=y;if(y&&!h&&typeof y=="object"){if(c.endsWith(R,"{}"))R=n?R:R.slice(0,-2),y=JSON.stringify(y);else if(c.isArray(y)&&Mf(y)||(c.isFileList(y)||c.endsWith(R,"[]"))&&(U=c.toArray(y)))return R=Ys(R),U.forEach(a(function(_,ve){!(c.isUndefined(_)||_===null)&&e.append(s===!0?Xs([R],ve,r):s===null?R:R+"[]",u(_))},"each")),!1}return Ra(y)?!0:(e.append(Xs(h,R,r),u(y)),!1)}a(v,"defaultVisitor");let g=[],C=Object.assign(_f,{defaultVisitor:v,convertValue:u,isVisitable:Ra});function b(y,R){if(!c.isUndefined(y)){if(g.indexOf(y)!==-1)throw Error("Circular reference detected in "+R.join("."));g.push(y),c.forEach(y,a(function(U,Y){(!(c.isUndefined(U)||U===null)&&i.call(e,U,c.isString(Y)?Y.trim():Y,R,C))===!0&&b(U,R?R.concat(Y):[Y])},"each")),g.pop()}}if(a(b,"build"),!c.isObject(t))throw new TypeError("data must be an object");return b(t),e}a(Lf,"toFormData");var sr=Lf;function Zs(t){let e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,a(function(n){return e[n]},"replacer"))}a(Zs,"encode");function ks(t,e){this._pairs=[],t&&sr(t,this,e)}a(ks,"AxiosURLSearchParams");var ep=ks.prototype;ep.append=a(function(e,o){this._pairs.push([e,o])},"append");ep.toString=a(function(e){let o=e?function(n){return e.call(this,n,Zs)}:Zs;return this._pairs.map(a(function(i){return o(i[0])+"="+o(i[1])},"each"),"").join("&")},"toString");var tp=ks;function Bf(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}a(Bf,"encode");function Fr(t,e,o){if(!e)return t;let n=o&&o.encode||Bf;c.isFunction(o)&&(o={serialize:o});let i=o&&o.serialize,r;if(i?r=i(e,o):r=c.isURLSearchParams(e)?e.toString():new tp(e,o).toString(n),r){let s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}a(Fr,"buildURL");var Uf=class{static{a(this,"InterceptorManager")}constructor(){this.handlers=[]}use(e,o,n){return this.handlers.push({fulfilled:e,rejected:o,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){c.forEach(this.handlers,a(function(n){n!==null&&e(n)},"forEachHandler"))}},Fa=Uf;var rn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};import Qf from"crypto";import qf from"url";var op=qf.URLSearchParams;var Ia="abcdefghijklmnopqrstuvwxyz",rp="0123456789",np={DIGIT:rp,ALPHA:Ia,ALPHA_DIGIT:Ia+Ia.toUpperCase()+rp},Hf=a((t=16,e=np.ALPHA_DIGIT)=>{let o="",{length:n}=e,i=new Uint32Array(t);Qf.randomFillSync(i);for(let r=0;r<t;r++)o+=e[i[r]%n];return o},"generateString"),ip={isNode:!0,classes:{URLSearchParams:op,FormData:Oi,Blob:typeof Blob<"u"&&Blob||null},ALPHABET:np,generateString:Hf,protocols:["http","https","file","data"]};var xa={};Gc(xa,{hasBrowserEnv:()=>Oa,hasStandardBrowserEnv:()=>$f,hasStandardBrowserWebWorkerEnv:()=>Jf,navigator:()=>za,origin:()=>Gf});var Oa=typeof window<"u"&&typeof document<"u",za=typeof navigator=="object"&&navigator||void 0,$f=Oa&&(!za||["ReactNative","NativeScript","NS"].indexOf(za.product)<0),Jf=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gf=Oa&&window.location.href||"http://localhost";var L={...xa,...ip};function Aa(t,e){return sr(t,new L.classes.URLSearchParams,{visitor:a(function(o,n,i,r){return L.isNode&&c.isBuffer(o)?(this.append(n,o.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},"visitor"),...e})}a(Aa,"toURLEncodedForm");function Wf(t){return c.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}a(Wf,"parsePropPath");function Kf(t){let e={},o=Object.keys(t),n,i=o.length,r;for(n=0;n<i;n++)r=o[n],e[r]=t[r];return e}a(Kf,"arrayToObject");function Xf(t){function e(o,n,i,r){let s=o[r++];if(s==="__proto__")return!0;let p=Number.isFinite(+s),l=r>=o.length;return s=!s&&c.isArray(i)?i.length:s,l?(c.hasOwnProp(i,s)?i[s]=[i[s],n]:i[s]=n,!p):((!i[s]||!c.isObject(i[s]))&&(i[s]=[]),e(o,n,i[s],r)&&c.isArray(i[s])&&(i[s]=Kf(i[s])),!p)}if(a(e,"buildPath"),c.isFormData(t)&&c.isFunction(t.entries)){let o={};return c.forEachEntry(t,(n,i)=>{e(Wf(n),i,o,0)}),o}return null}a(Xf,"formDataToJSON");var xi=Xf;function Yf(t,e,o){if(c.isString(t))try{return(e||JSON.parse)(t),c.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(o||JSON.stringify)(t)}a(Yf,"stringifySafely");var wa={transitional:rn,adapter:["xhr","http","fetch"],transformRequest:[a(function(e,o){let n=o.getContentType()||"",i=n.indexOf("application/json")>-1,r=c.isObject(e);if(r&&c.isHTMLForm(e)&&(e=new FormData(e)),c.isFormData(e))return i?JSON.stringify(xi(e)):e;if(c.isArrayBuffer(e)||c.isBuffer(e)||c.isStream(e)||c.isFile(e)||c.isBlob(e)||c.isReadableStream(e))return e;if(c.isArrayBufferView(e))return e.buffer;if(c.isURLSearchParams(e))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let p;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Aa(e,this.formSerializer).toString();if((p=c.isFileList(e))||n.indexOf("multipart/form-data")>-1){let l=this.env&&this.env.FormData;return sr(p?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||i?(o.setContentType("application/json",!1),Yf(e)):e},"transformRequest")],transformResponse:[a(function(e){let o=this.transitional||wa.transitional,n=o&&o.forcedJSONParsing,i=this.responseType==="json";if(c.isResponse(e)||c.isReadableStream(e))return e;if(e&&c.isString(e)&&(n&&!this.responseType||i)){let s=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(e,this.parseReviver)}catch(p){if(s)throw p.name==="SyntaxError"?S.from(p,S.ERR_BAD_RESPONSE,this,null,this.response):p}}return e},"transformResponse")],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:L.classes.FormData,Blob:L.classes.Blob},validateStatus:a(function(e){return e>=200&&e<300},"validateStatus"),headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};c.forEach(["delete","get","head","post","put","patch"],t=>{wa.headers[t]={}});var nn=wa;var Zf=c.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),ap=a((t=>{let e={},o,n,i;return t&&t.split(`
|
|
2
|
+
`).forEach(a(function(s){i=s.indexOf(":"),o=s.substring(0,i).trim().toLowerCase(),n=s.substring(i+1).trim(),!(!o||e[o]&&Zf[o])&&(o==="set-cookie"?e[o]?e[o].push(n):e[o]=[n]:e[o]=e[o]?e[o]+", "+n:n)},"parser")),e}),"default");var sp=Symbol("internals");function Wn(t){return t&&String(t).trim().toLowerCase()}a(Wn,"normalizeHeader");function Ai(t){return t===!1||t==null?t:c.isArray(t)?t.map(Ai):String(t)}a(Ai,"normalizeValue");function kf(t){let e=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=o.exec(t);)e[n[1]]=n[2];return e}a(kf,"parseTokens");var ed=a(t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()),"isValidHeaderName");function Pa(t,e,o,n,i){if(c.isFunction(n))return n.call(this,e,o);if(i&&(e=o),!!c.isString(e)){if(c.isString(n))return e.indexOf(n)!==-1;if(c.isRegExp(n))return n.test(e)}}a(Pa,"matchHeaderValue");function td(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,o,n)=>o.toUpperCase()+n)}a(td,"formatHeader");function od(t,e){let o=c.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+o,{value:a(function(i,r,s){return this[n].call(this,e,i,r,s)},"value"),configurable:!0})})}a(od,"buildAccessors");var wi=class{static{a(this,"AxiosHeaders")}constructor(e){e&&this.set(e)}set(e,o,n){let i=this;function r(p,l,u){let v=Wn(l);if(!v)throw new Error("header name must be a non-empty string");let g=c.findKey(i,v);(!g||i[g]===void 0||u===!0||u===void 0&&i[g]!==!1)&&(i[g||l]=Ai(p))}a(r,"setHeader");let s=a((p,l)=>c.forEach(p,(u,v)=>r(u,v,l)),"setHeaders");if(c.isPlainObject(e)||e instanceof this.constructor)s(e,o);else if(c.isString(e)&&(e=e.trim())&&!ed(e))s(ap(e),o);else if(c.isObject(e)&&c.isIterable(e)){let p={},l,u;for(let v of e){if(!c.isArray(v))throw TypeError("Object iterator must return a key-value pair");p[u=v[0]]=(l=p[u])?c.isArray(l)?[...l,v[1]]:[l,v[1]]:v[1]}s(p,o)}else e!=null&&r(o,e,n);return this}get(e,o){if(e=Wn(e),e){let n=c.findKey(this,e);if(n){let i=this[n];if(!o)return i;if(o===!0)return kf(i);if(c.isFunction(o))return o.call(this,i,n);if(c.isRegExp(o))return o.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,o){if(e=Wn(e),e){let n=c.findKey(this,e);return!!(n&&this[n]!==void 0&&(!o||Pa(this,this[n],n,o)))}return!1}delete(e,o){let n=this,i=!1;function r(s){if(s=Wn(s),s){let p=c.findKey(n,s);p&&(!o||Pa(n,n[p],p,o))&&(delete n[p],i=!0)}}return a(r,"deleteHeader"),c.isArray(e)?e.forEach(r):r(e),i}clear(e){let o=Object.keys(this),n=o.length,i=!1;for(;n--;){let r=o[n];(!e||Pa(this,this[r],r,e,!0))&&(delete this[r],i=!0)}return i}normalize(e){let o=this,n={};return c.forEach(this,(i,r)=>{let s=c.findKey(n,r);if(s){o[s]=Ai(i),delete o[r];return}let p=e?td(r):String(r).trim();p!==r&&delete o[r],o[p]=Ai(i),n[p]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let o=Object.create(null);return c.forEach(this,(n,i)=>{n!=null&&n!==!1&&(o[i]=e&&c.isArray(n)?n.join(", "):n)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,o])=>e+": "+o).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...o){let n=new this(e);return o.forEach(i=>n.set(i)),n}static accessor(e){let n=(this[sp]=this[sp]={accessors:{}}).accessors,i=this.prototype;function r(s){let p=Wn(s);n[p]||(od(i,s),n[p]=!0)}return a(r,"defineAccessor"),c.isArray(e)?e.forEach(r):r(e),this}};wi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(wi.prototype,({value:t},e)=>{let o=e[0].toUpperCase()+e.slice(1);return{get:a(()=>t,"get"),set(n){this[o]=n}}});c.freezeMethods(wi);var ce=wi;function Kn(t,e){let o=this||nn,n=e||o,i=ce.from(n.headers),r=n.data;return c.forEach(t,a(function(p){r=p.call(o,r,i.normalize(),e?e.status:void 0)},"transform")),i.normalize(),r}a(Kn,"transformData");function Xn(t){return!!(t&&t.__CANCEL__)}a(Xn,"isCancel");function pp(t,e,o){S.call(this,t??"canceled",S.ERR_CANCELED,e,o),this.name="CanceledError"}a(pp,"CanceledError");c.inherits(pp,S,{__CANCEL__:!0});var mt=pp;import{connect as Sd,constants as Nd}from"http2";function Yt(t,e,o){let n=o.config.validateStatus;!o.status||!n||n(o.status)?t(o):e(new S("Request failed with status code "+o.status,[S.ERR_BAD_REQUEST,S.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}a(Yt,"settle");function Ea(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}a(Ea,"isAbsoluteURL");function Da(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}a(Da,"combineURLs");function Ir(t,e,o){let n=!Ea(e);return t&&(n||o==!1)?Da(t,e):e}a(Ir,"buildFullPath");var Cp=Na(Kc(),1),Rp=Na(Xc(),1);import Cd from"http";import bd from"https";import bp from"util";import cr from"zlib";var zr="1.13.1";function Yn(t){let e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}a(Yn,"parseProtocol");var rd=/^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;function ja(t,e,o){let n=o&&o.Blob||L.classes.Blob,i=Yn(t);if(e===void 0&&n&&(e=!0),i==="data"){t=i.length?t.slice(i.length+1):t;let r=rd.exec(t);if(!r)throw new S("Invalid URL",S.ERR_INVALID_URL);let s=r[1],p=r[2],l=r[3],u=Buffer.from(decodeURIComponent(l),p?"base64":"utf8");if(e){if(!n)throw new S("Blob is not supported",S.ERR_NOT_SUPPORT);return new n([u],{type:s})}return u}throw new S("Unsupported protocol "+i,S.ERR_NOT_SUPPORT)}a(ja,"fromDataURI");import pr from"stream";import nd from"stream";var Ta=Symbol("internals"),id=class extends nd.Transform{static{a(this,"AxiosTransformStream")}constructor(e){e=c.toFlatObject(e,{maxRate:0,chunkSize:64*1024,minChunkSize:100,timeWindow:500,ticksRate:2,samplesCount:15},null,(n,i)=>!c.isUndefined(i[n])),super({readableHighWaterMark:e.chunkSize});let o=this[Ta]={timeWindow:e.timeWindow,chunkSize:e.chunkSize,maxRate:e.maxRate,minChunkSize:e.minChunkSize,bytesSeen:0,isCaptured:!1,notifiedBytesLoaded:0,ts:Date.now(),bytes:0,onReadCallback:null};this.on("newListener",n=>{n==="progress"&&(o.isCaptured||(o.isCaptured=!0))})}_read(e){let o=this[Ta];return o.onReadCallback&&o.onReadCallback(),super._read(e)}_transform(e,o,n){let i=this[Ta],r=i.maxRate,s=this.readableHighWaterMark,p=i.timeWindow,l=1e3/p,u=r/l,v=i.minChunkSize!==!1?Math.max(i.minChunkSize,u*.01):0,g=a((b,y)=>{let R=Buffer.byteLength(b);i.bytesSeen+=R,i.bytes+=R,i.isCaptured&&this.emit("progress",i.bytesSeen),this.push(b)?process.nextTick(y):i.onReadCallback=()=>{i.onReadCallback=null,process.nextTick(y)}},"pushChunk"),C=a((b,y)=>{let R=Buffer.byteLength(b),h=null,U=s,Y,_=0;if(r){let ve=Date.now();(!i.ts||(_=ve-i.ts)>=p)&&(i.ts=ve,Y=u-i.bytes,i.bytes=Y<0?-Y:0,_=0),Y=u-i.bytes}if(r){if(Y<=0)return setTimeout(()=>{y(null,b)},p-_);Y<U&&(U=Y)}U&&R>U&&R-U>v&&(h=b.subarray(U),b=b.subarray(0,U)),g(b,h?()=>{process.nextTick(y,null,h)}:y)},"transformChunk");C(e,a(function b(y,R){if(y)return n(y);R?C(R,b):n(null)},"transformNextChunk"))}},Va=id;import{EventEmitter as Rd}from"events";import sd from"util";import{Readable as pd}from"stream";var{asyncIterator:cp}=Symbol,ad=a(async function*(t){t.stream?yield*t.stream():t.arrayBuffer?yield await t.arrayBuffer():t[cp]?yield*t[cp]():yield t},"readBlob"),Pi=ad;var cd=L.ALPHABET.ALPHA_DIGIT+"-_",Zn=typeof TextEncoder=="function"?new TextEncoder:new sd.TextEncoder,Or=`\r
|
|
4
|
+
`,fd=Zn.encode(Or),dd=2,ud=class{static{a(this,"FormDataPart")}constructor(e,o){let{escapeName:n}=this.constructor,i=c.isString(o),r=`Content-Disposition: form-data; name="${n(e)}"${!i&&o.name?`; filename="${n(o.name)}"`:""}${Or}`;i?o=Zn.encode(String(o).replace(/\r?\n|\r\n?/g,Or)):r+=`Content-Type: ${o.type||"application/octet-stream"}${Or}`,this.headers=Zn.encode(r+Or),this.contentLength=i?o.byteLength:o.size,this.size=this.headers.byteLength+this.contentLength+dd,this.name=e,this.value=o}async*encode(){yield this.headers;let{value:e}=this;c.isTypedArray(e)?yield e:yield*Pi(e),yield fd}static escapeName(e){return String(e).replace(/[\r\n"]/g,o=>({"\r":"%0D","\n":"%0A",'"':"%22"})[o])}},ld=a((t,e,o)=>{let{tag:n="form-data-boundary",size:i=25,boundary:r=n+"-"+L.generateString(i,cd)}=o||{};if(!c.isFormData(t))throw TypeError("FormData instance required");if(r.length<1||r.length>70)throw Error("boundary must be 10-70 characters long");let s=Zn.encode("--"+r+Or),p=Zn.encode("--"+r+"--"+Or),l=p.byteLength,u=Array.from(t.entries()).map(([g,C])=>{let b=new ud(g,C);return l+=b.size,b});l+=s.byteLength*u.length,l=c.toFiniteNumber(l);let v={"Content-Type":`multipart/form-data; boundary=${r}`};return Number.isFinite(l)&&(v["Content-Length"]=l),e&&e(v),pd.from((async function*(){for(let g of u)yield s,yield*g.encode();yield p})())},"formDataToStream"),fp=ld;import md from"stream";var vd=class extends md.Transform{static{a(this,"ZlibHeaderTransformStream")}__transform(e,o,n){this.push(e),n()}_transform(e,o,n){if(e.length!==0&&(this._transform=this.__transform,e[0]!==120)){let i=Buffer.alloc(2);i[0]=120,i[1]=156,this.push(i,o)}this.__transform(e,o,n)}},dp=vd;var yd=a((t,e)=>c.isAsyncFn(t)?function(...o){let n=o.pop();t.apply(this,o).then(i=>{try{e?n(null,...e(i)):n(null,i)}catch(r){n(r)}},n)}:t,"callbackify"),up=yd;function gd(t,e){t=t||10;let o=new Array(t),n=new Array(t),i=0,r=0,s;return e=e!==void 0?e:1e3,a(function(l){let u=Date.now(),v=n[r];s||(s=u),o[i]=l,n[i]=u;let g=r,C=0;for(;g!==i;)C+=o[g++],g=g%t;if(i=(i+1)%t,i===r&&(r=(r+1)%t),u-s<e)return;let b=v&&u-v;return b?Math.round(C*1e3/b):void 0},"push")}a(gd,"speedometer");var lp=gd;function hd(t,e){let o=0,n=1e3/e,i,r,s=a((u,v=Date.now())=>{o=v,i=null,r&&(clearTimeout(r),r=null),t(...u)},"invoke");return[a((...u)=>{let v=Date.now(),g=v-o;g>=n?s(u,v):(i=u,r||(r=setTimeout(()=>{r=null,s(i)},n-g)))},"throttled"),a(()=>i&&s(i),"flush")]}a(hd,"throttle");var mp=hd;var go=a((t,e,o=3)=>{let n=0,i=lp(50,250);return mp(r=>{let s=r.loaded,p=r.lengthComputable?r.total:void 0,l=s-n,u=i(l),v=s<=p;n=s;let g={loaded:s,total:p,progress:p?s/p:void 0,bytes:l,rate:u||void 0,estimated:u&&p&&v?(p-s)/u:void 0,event:r,lengthComputable:p!=null,[e?"download":"upload"]:!0};t(g)},o)},"progressEventReducer"),an=a((t,e)=>{let o=t!=null;return[n=>e[0]({lengthComputable:o,total:t,loaded:n}),e[1]]},"progressEventDecorator"),sn=a(t=>(...e)=>c.asap(()=>t(...e)),"asyncDecorator");function Ma(t){if(!t||typeof t!="string"||!t.startsWith("data:"))return 0;let e=t.indexOf(",");if(e<0)return 0;let o=t.slice(5,e),n=t.slice(e+1);if(/;base64/i.test(o)){let r=n.length,s=n.length;for(let C=0;C<s;C++)if(n.charCodeAt(C)===37&&C+2<s){let b=n.charCodeAt(C+1),y=n.charCodeAt(C+2);(b>=48&&b<=57||b>=65&&b<=70||b>=97&&b<=102)&&(y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102)&&(r-=2,C+=2)}let p=0,l=s-1,u=a(C=>C>=2&&n.charCodeAt(C-2)===37&&n.charCodeAt(C-1)===51&&(n.charCodeAt(C)===68||n.charCodeAt(C)===100),"tailIsPct3D");l>=0&&(n.charCodeAt(l)===61?(p++,l--):u(l)&&(p++,l-=3)),p===1&&l>=0&&(n.charCodeAt(l)===61||u(l))&&p++;let g=Math.floor(r/4)*3-(p||0);return g>0?g:0}return Buffer.byteLength(n,"utf8")}a(Ma,"estimateDataURLDecodedBytes");var vp={flush:cr.constants.Z_SYNC_FLUSH,finishFlush:cr.constants.Z_SYNC_FLUSH},Fd={flush:cr.constants.BROTLI_OPERATION_FLUSH,finishFlush:cr.constants.BROTLI_OPERATION_FLUSH},{HTTP2_HEADER_SCHEME:Id,HTTP2_HEADER_METHOD:zd,HTTP2_HEADER_PATH:Od,HTTP2_HEADER_STATUS:yp}=Nd,gp=c.isFunction(cr.createBrotliDecompress),{http:xd,https:Ad}=Rp.default,wd=/https:?/,hp=L.protocols.map(t=>t+":"),Sp=a((t,[e,o])=>(t.on("end",o).on("error",o),e),"flushOnFinish"),Pd=class{static{a(this,"Http2Sessions")}constructor(){this.sessions=Object.create(null)}getSession(e,o){o=Object.assign({sessionTimeout:1e3},o);let n;if(n=this.sessions[e]){let g=n.length;for(let C=0;C<g;C++){let[b,y]=n[C];if(!b.destroyed&&!b.closed&&bp.isDeepStrictEqual(y,o))return b}}let i=Sd(e,o),r,s=a(()=>{if(r)return;r=!0;let g=n,C=g.length,b=C;for(;b--;)if(g[b][0]===i&&(g.splice(b,1),C===1)){delete this.sessions[e];return}},"removeSession"),p=i.request,{sessionTimeout:l}=o;if(l!=null){let g,C=0;i.request=function(){let b=p.apply(this,arguments);return C++,g&&(clearTimeout(g),g=null),b.once("close",()=>{--C||(g=setTimeout(()=>{g=null,s()},l))}),b}}i.once("close",s);let u=this.sessions[e],v=[i,o];return u?this.sessions[e].push(v):n=this.sessions[e]=[v],i}},Ed=new Pd;function Dd(t,e){t.beforeRedirects.proxy&&t.beforeRedirects.proxy(t),t.beforeRedirects.config&&t.beforeRedirects.config(t,e)}a(Dd,"dispatchBeforeRedirect");function Fp(t,e,o){let n=e;if(!n&&n!==!1){let i=Cp.default.getProxyForUrl(o);i&&(n=new URL(i))}if(n){if(n.username&&(n.auth=(n.username||"")+":"+(n.password||"")),n.auth){(n.auth.username||n.auth.password)&&(n.auth=(n.auth.username||"")+":"+(n.auth.password||""));let r=Buffer.from(n.auth,"utf8").toString("base64");t.headers["Proxy-Authorization"]="Basic "+r}t.headers.host=t.hostname+(t.port?":"+t.port:"");let i=n.hostname||n.host;t.hostname=i,t.host=i,t.port=n.port,t.path=o,n.protocol&&(t.protocol=n.protocol.includes(":")?n.protocol:`${n.protocol}:`)}t.beforeRedirects.proxy=a(function(r){Fp(r,e,r.href)},"beforeRedirect")}a(Fp,"setProxy");var jd=typeof process<"u"&&c.kindOf(process)==="process",Td=a(t=>new Promise((e,o)=>{let n,i,r=a((l,u)=>{i||(i=!0,n&&n(l,u))},"done"),s=a(l=>{r(l),e(l)},"_resolve"),p=a(l=>{r(l,!0),o(l)},"_reject");t(s,p,l=>n=l).catch(p)}),"wrapAsync"),Vd=a(({address:t,family:e})=>{if(!c.isString(t))throw TypeError("address must be a string");return{address:t,family:e||(t.indexOf(".")<0?6:4)}},"resolveFamily"),Np=a((t,e)=>Vd(c.isObject(t)?t:{address:t,family:e}),"buildAddressEntry"),Md={request(t,e){let o=t.protocol+"//"+t.hostname+":"+(t.port||80),{http2Options:n,headers:i}=t,r=Ed.getSession(o,n),s={[Id]:t.protocol.replace(":",""),[zd]:t.method,[Od]:t.path};c.forEach(i,(l,u)=>{u.charAt(0)!==":"&&(s[u]=l)});let p=r.request(s);return p.once("response",l=>{let u=p;l=Object.assign({},l);let v=l[yp];delete l[yp],u.headers=l,u.statusCode=+v,e(u)}),p}},Ip=jd&&a(function(e){return Td(a(async function(n,i,r){let{data:s,lookup:p,family:l,httpVersion:u=1,http2Options:v}=e,{responseType:g,responseEncoding:C}=e,b=e.method.toUpperCase(),y,R=!1,h;if(u=+u,Number.isNaN(u))throw TypeError(`Invalid protocol version: '${e.httpVersion}' is not a number`);if(u!==1&&u!==2)throw TypeError(`Unsupported protocol version '${u}'`);let U=u===2;if(p){let E=up(p,z=>c.isArray(z)?z:[z]);p=a((z,$,lt)=>{E(z,$,(ge,At,ar)=>{if(ge)return lt(ge);let rt=c.isArray(At)?At.map(bi=>Np(bi)):[Np(At,ar)];$.all?lt(ge,rt):lt(ge,rt[0].address,rt[0].family)})},"lookup")}let Y=new Rd;function _(E){try{Y.emit("abort",!E||E.type?new mt(null,e,h):E)}catch(z){console.warn("emit error",z)}}a(_,"abort"),Y.once("abort",i);let ve=a(()=>{e.cancelToken&&e.cancelToken.unsubscribe(_),e.signal&&e.signal.removeEventListener("abort",_),Y.removeAllListeners()},"onFinished");(e.cancelToken||e.signal)&&(e.cancelToken&&e.cancelToken.subscribe(_),e.signal&&(e.signal.aborted?_():e.signal.addEventListener("abort",_))),r((E,z)=>{if(y=!0,z){R=!0,ve();return}let{data:$}=E;if($ instanceof pr.Readable||$ instanceof pr.Duplex){let lt=pr.finished($,()=>{lt(),ve()})}else ve()});let tt=Ir(e.baseURL,e.url,e.allowAbsoluteUrls),ye=new URL(tt,L.hasBrowserEnv?L.origin:void 0),Ae=ye.protocol||hp[0];if(Ae==="data:"){if(e.maxContentLength>-1){let z=String(e.url||tt||"");if(Ma(z)>e.maxContentLength)return i(new S("maxContentLength size of "+e.maxContentLength+" exceeded",S.ERR_BAD_RESPONSE,e))}let E;if(b!=="GET")return Yt(n,i,{status:405,statusText:"method not allowed",headers:{},config:e});try{E=ja(e.url,g==="blob",{Blob:e.env&&e.env.Blob})}catch(z){throw S.from(z,S.ERR_BAD_REQUEST,e)}return g==="text"?(E=E.toString(C),(!C||C==="utf8")&&(E=c.stripBOM(E))):g==="stream"&&(E=pr.Readable.from(E)),Yt(n,i,{data:E,status:200,statusText:"OK",headers:new ce,config:e})}if(hp.indexOf(Ae)===-1)return i(new S("Unsupported protocol "+Ae,S.ERR_BAD_REQUEST,e));let De=ce.from(e.headers).normalize();De.set("User-Agent","axios/"+zr,!1);let{onUploadProgress:nr,onDownloadProgress:Yr}=e,br=e.maxRate,vo,Xt;if(c.isSpecCompliantForm(s)){let E=De.getContentType(/boundary=([-_\w\d]{10,70})/i);s=fp(s,z=>{De.set(z)},{tag:`axios-${zr}-boundary`,boundary:E&&E[1]||void 0})}else if(c.isFormData(s)&&c.isFunction(s.getHeaders)){if(De.set(s.getHeaders()),!De.hasContentLength())try{let E=await bp.promisify(s.getLength).call(s);Number.isFinite(E)&&E>=0&&De.setContentLength(E)}catch{}}else if(c.isBlob(s)||c.isFile(s))s.size&&De.setContentType(s.type||"application/octet-stream"),De.setContentLength(s.size||0),s=pr.Readable.from(Pi(s));else if(s&&!c.isStream(s)){if(!Buffer.isBuffer(s))if(c.isArrayBuffer(s))s=Buffer.from(new Uint8Array(s));else if(c.isString(s))s=Buffer.from(s,"utf-8");else return i(new S("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",S.ERR_BAD_REQUEST,e));if(De.setContentLength(s.length,!1),e.maxBodyLength>-1&&s.length>e.maxBodyLength)return i(new S("Request body larger than maxBodyLength limit",S.ERR_BAD_REQUEST,e))}let yo=c.toFiniteNumber(De.getContentLength());c.isArray(br)?(vo=br[0],Xt=br[1]):vo=Xt=br,s&&(nr||vo)&&(c.isStream(s)||(s=pr.Readable.from(s,{objectMode:!1})),s=pr.pipeline([s,new Va({maxRate:c.toFiniteNumber(vo)})],c.noop),nr&&s.on("progress",Sp(s,an(yo,go(sn(nr),!1,3)))));let ir;if(e.auth){let E=e.auth.username||"",z=e.auth.password||"";ir=E+":"+z}if(!ir&&ye.username){let E=ye.username,z=ye.password;ir=E+":"+z}ir&&De.delete("authorization");let ut;try{ut=Fr(ye.pathname+ye.search,e.params,e.paramsSerializer).replace(/^\?/,"")}catch(E){let z=new Error(E.message);return z.config=e,z.url=e.url,z.exists=!0,i(z)}De.set("Accept-Encoding","gzip, compress, deflate"+(gp?", br":""),!1);let je={path:ut,method:b,headers:De.toJSON(),agents:{http:e.httpAgent,https:e.httpsAgent},auth:ir,protocol:Ae,family:l,beforeRedirect:Dd,beforeRedirects:{},http2Options:v};!c.isUndefined(p)&&(je.lookup=p),e.socketPath?je.socketPath=e.socketPath:(je.hostname=ye.hostname.startsWith("[")?ye.hostname.slice(1,-1):ye.hostname,je.port=ye.port,Fp(je,e.proxy,Ae+"//"+ye.hostname+(ye.port?":"+ye.port:"")+je.path));let ot,Zr=wd.test(je.protocol);if(je.agent=Zr?e.httpsAgent:e.httpAgent,U?ot=Md:e.transport?ot=e.transport:e.maxRedirects===0?ot=Zr?bd:Cd:(e.maxRedirects&&(je.maxRedirects=e.maxRedirects),e.beforeRedirect&&(je.beforeRedirects.config=e.beforeRedirect),ot=Zr?Ad:xd),e.maxBodyLength>-1?je.maxBodyLength=e.maxBodyLength:je.maxBodyLength=1/0,e.insecureHTTPParser&&(je.insecureHTTPParser=e.insecureHTTPParser),h=ot.request(je,a(function(z){if(h.destroyed)return;let $=[z],lt=c.toFiniteNumber(z.headers["content-length"]);if(Yr||Xt){let rt=new Va({maxRate:c.toFiniteNumber(Xt)});Yr&&rt.on("progress",Sp(rt,an(lt,go(sn(Yr),!0,3)))),$.push(rt)}let ge=z,At=z.req||h;if(e.decompress!==!1&&z.headers["content-encoding"])switch((b==="HEAD"||z.statusCode===204)&&delete z.headers["content-encoding"],(z.headers["content-encoding"]||"").toLowerCase()){case"gzip":case"x-gzip":case"compress":case"x-compress":$.push(cr.createUnzip(vp)),delete z.headers["content-encoding"];break;case"deflate":$.push(new dp),$.push(cr.createUnzip(vp)),delete z.headers["content-encoding"];break;case"br":gp&&($.push(cr.createBrotliDecompress(Fd)),delete z.headers["content-encoding"])}ge=$.length>1?pr.pipeline($,c.noop):$[0];let ar={status:z.statusCode,statusText:z.statusMessage,headers:new ce(z.headers),config:e,request:At};if(g==="stream")ar.data=ge,Yt(n,i,ar);else{let rt=[],bi=0;ge.on("data",a(function(Ke){rt.push(Ke),bi+=Ke.length,e.maxContentLength>-1&&bi>e.maxContentLength&&(R=!0,ge.destroy(),_(new S("maxContentLength size of "+e.maxContentLength+" exceeded",S.ERR_BAD_RESPONSE,e,At)))},"handleStreamData")),ge.on("aborted",a(function(){if(R)return;let Ke=new S("stream has been aborted",S.ERR_BAD_RESPONSE,e,At);ge.destroy(Ke),i(Ke)},"handlerStreamAborted")),ge.on("error",a(function(Ke){h.destroyed||i(S.from(Ke,null,e,At))},"handleStreamError")),ge.on("end",a(function(){try{let Ke=rt.length===1?rt[0]:Buffer.concat(rt);g!=="arraybuffer"&&(Ke=Ke.toString(C),(!C||C==="utf8")&&(Ke=c.stripBOM(Ke))),ar.data=Ke}catch(Ke){return i(S.from(Ke,null,e,ar.request,ar))}Yt(n,i,ar)},"handleStreamEnd"))}Y.once("abort",rt=>{ge.destroyed||(ge.emit("error",rt),ge.destroy())})},"handleResponse")),Y.once("abort",E=>{h.close?h.close():h.destroy(E)}),h.on("error",a(function(z){i(S.from(z,null,e,h))},"handleRequestError")),h.on("socket",a(function(z){z.setKeepAlive(!0,1e3*60)},"handleRequestSocket")),e.timeout){let E=parseInt(e.timeout,10);if(Number.isNaN(E)){_(new S("error trying to parse `config.timeout` to int",S.ERR_BAD_OPTION_VALUE,e,h));return}h.setTimeout(E,a(function(){if(y)return;let $=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",lt=e.transitional||rn;e.timeoutErrorMessage&&($=e.timeoutErrorMessage),_(new S($,lt.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,e,h))},"handleRequestTimeout"))}if(c.isStream(s)){let E=!1,z=!1;s.on("end",()=>{E=!0}),s.once("error",$=>{z=!0,h.destroy($)}),s.on("close",()=>{!E&&!z&&_(new mt("Request stream has been aborted",e,h))}),s.pipe(h)}else s&&h.write(s),h.end()},"dispatchHttpRequest"))},"httpAdapter");var zp=L.hasStandardBrowserEnv?((t,e)=>o=>(o=new URL(o,L.origin),t.protocol===o.protocol&&t.host===o.host&&(e||t.port===o.port)))(new URL(L.origin),L.navigator&&/(msie|trident)/i.test(L.navigator.userAgent)):()=>!0;var Op=L.hasStandardBrowserEnv?{write(t,e,o,n,i,r,s){if(typeof document>"u")return;let p=[`${t}=${encodeURIComponent(e)}`];c.isNumber(o)&&p.push(`expires=${new Date(o).toUTCString()}`),c.isString(n)&&p.push(`path=${n}`),c.isString(i)&&p.push(`domain=${i}`),r===!0&&p.push("secure"),c.isString(s)&&p.push(`SameSite=${s}`),document.cookie=p.join("; ")},read(t){if(typeof document>"u")return null;let e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};var xp=a(t=>t instanceof ce?{...t}:t,"headersToObject");function Pt(t,e){e=e||{};let o={};function n(u,v,g,C){return c.isPlainObject(u)&&c.isPlainObject(v)?c.merge.call({caseless:C},u,v):c.isPlainObject(v)?c.merge({},v):c.isArray(v)?v.slice():v}a(n,"getMergedValue");function i(u,v,g,C){if(c.isUndefined(v)){if(!c.isUndefined(u))return n(void 0,u,g,C)}else return n(u,v,g,C)}a(i,"mergeDeepProperties");function r(u,v){if(!c.isUndefined(v))return n(void 0,v)}a(r,"valueFromConfig2");function s(u,v){if(c.isUndefined(v)){if(!c.isUndefined(u))return n(void 0,u)}else return n(void 0,v)}a(s,"defaultToConfig2");function p(u,v,g){if(g in e)return n(u,v);if(g in t)return n(void 0,u)}a(p,"mergeDirectKeys");let l={url:r,method:r,data:r,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:p,headers:a((u,v,g)=>i(xp(u),xp(v),g,!0),"headers")};return c.forEach(Object.keys({...t,...e}),a(function(v){let g=l[v]||i,C=g(t[v],e[v],v);c.isUndefined(C)&&g!==p||(o[v]=C)},"computeConfigValue")),o}a(Pt,"mergeConfig");var Ei=a((t=>{let e=Pt({},t),{data:o,withXSRFToken:n,xsrfHeaderName:i,xsrfCookieName:r,headers:s,auth:p}=e;if(e.headers=s=ce.from(s),e.url=Fr(Ir(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),p&&s.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),c.isFormData(o)){if(L.hasStandardBrowserEnv||L.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(c.isFunction(o.getHeaders)){let l=o.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([v,g])=>{u.includes(v.toLowerCase())&&s.set(v,g)})}}if(L.hasStandardBrowserEnv&&(n&&c.isFunction(n)&&(n=n(e)),n||n!==!1&&zp(e.url))){let l=i&&r&&Op.read(r);l&&s.set(i,l)}return e}),"default");var _d=typeof XMLHttpRequest<"u",Ap=_d&&function(t){return new Promise(a(function(o,n){let i=Ei(t),r=i.data,s=ce.from(i.headers).normalize(),{responseType:p,onUploadProgress:l,onDownloadProgress:u}=i,v,g,C,b,y;function R(){b&&b(),y&&y(),i.cancelToken&&i.cancelToken.unsubscribe(v),i.signal&&i.signal.removeEventListener("abort",v)}a(R,"done");let h=new XMLHttpRequest;h.open(i.method.toUpperCase(),i.url,!0),h.timeout=i.timeout;function U(){if(!h)return;let _=ce.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),tt={data:!p||p==="text"||p==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:_,config:t,request:h};Yt(a(function(Ae){o(Ae),R()},"_resolve"),a(function(Ae){n(Ae),R()},"_reject"),tt),h=null}a(U,"onloadend"),"onloadend"in h?h.onloadend=U:h.onreadystatechange=a(function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(U)},"handleLoad"),h.onabort=a(function(){h&&(n(new S("Request aborted",S.ECONNABORTED,t,h)),h=null)},"handleAbort"),h.onerror=a(function(ve){let tt=ve&&ve.message?ve.message:"Network Error",ye=new S(tt,S.ERR_NETWORK,t,h);ye.event=ve||null,n(ye),h=null},"handleError"),h.ontimeout=a(function(){let ve=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded",tt=i.transitional||rn;i.timeoutErrorMessage&&(ve=i.timeoutErrorMessage),n(new S(ve,tt.clarifyTimeoutError?S.ETIMEDOUT:S.ECONNABORTED,t,h)),h=null},"handleTimeout"),r===void 0&&s.setContentType(null),"setRequestHeader"in h&&c.forEach(s.toJSON(),a(function(ve,tt){h.setRequestHeader(tt,ve)},"setRequestHeader")),c.isUndefined(i.withCredentials)||(h.withCredentials=!!i.withCredentials),p&&p!=="json"&&(h.responseType=i.responseType),u&&([C,y]=go(u,!0),h.addEventListener("progress",C)),l&&h.upload&&([g,b]=go(l),h.upload.addEventListener("progress",g),h.upload.addEventListener("loadend",b)),(i.cancelToken||i.signal)&&(v=a(_=>{h&&(n(!_||_.type?new mt(null,t,h):_),h.abort(),h=null)},"onCanceled"),i.cancelToken&&i.cancelToken.subscribe(v),i.signal&&(i.signal.aborted?v():i.signal.addEventListener("abort",v)));let Y=Yn(i.url);if(Y&&L.protocols.indexOf(Y)===-1){n(new S("Unsupported protocol "+Y+":",S.ERR_BAD_REQUEST,t));return}h.send(r||null)},"dispatchXhrRequest"))};var Ld=a((t,e)=>{let{length:o}=t=t?t.filter(Boolean):[];if(e||o){let n=new AbortController,i,r=a(function(u){if(!i){i=!0,p();let v=u instanceof Error?u:this.reason;n.abort(v instanceof S?v:new mt(v instanceof Error?v.message:v))}},"onabort"),s=e&&setTimeout(()=>{s=null,r(new S(`timeout ${e} of ms exceeded`,S.ETIMEDOUT))},e),p=a(()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(r):u.removeEventListener("abort",r)}),t=null)},"unsubscribe");t.forEach(u=>u.addEventListener("abort",r));let{signal:l}=n;return l.unsubscribe=()=>c.asap(p),l}},"composeSignals"),wp=Ld;var Bd=a(function*(t,e){let o=t.byteLength;if(!e||o<e){yield t;return}let n=0,i;for(;n<o;)i=n+e,yield t.slice(n,i),n=i},"streamChunk"),Ud=a(async function*(t,e){for await(let o of qd(t))yield*Bd(o,e)},"readBytes"),qd=a(async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}let e=t.getReader();try{for(;;){let{done:o,value:n}=await e.read();if(o)break;yield n}}finally{await e.cancel()}},"readStream"),_a=a((t,e,o,n)=>{let i=Ud(t,e),r=0,s,p=a(l=>{s||(s=!0,n&&n(l))},"_onFinish");return new ReadableStream({async pull(l){try{let{done:u,value:v}=await i.next();if(u){p(),l.close();return}let g=v.byteLength;if(o){let C=r+=g;o(C)}l.enqueue(new Uint8Array(v))}catch(u){throw p(u),u}},cancel(l){return p(l),i.return()}},{highWaterMark:2})},"trackStream");var Pp=64*1024,{isFunction:Di}=c,Qd=(({Request:t,Response:e})=>({Request:t,Response:e}))(c.global),{ReadableStream:Ep,TextEncoder:Dp}=c.global,jp=a((t,...e)=>{try{return!!t(...e)}catch{return!1}},"test"),Hd=a(t=>{t=c.merge.call({skipUndefined:!0},Qd,t);let{fetch:e,Request:o,Response:n}=t,i=e?Di(e):typeof fetch=="function",r=Di(o),s=Di(n);if(!i)return!1;let p=i&&Di(Ep),l=i&&(typeof Dp=="function"?(y=>R=>y.encode(R))(new Dp):async y=>new Uint8Array(await new o(y).arrayBuffer())),u=r&&p&&jp(()=>{let y=!1,R=new o(L.origin,{body:new Ep,method:"POST",get duplex(){return y=!0,"half"}}).headers.has("Content-Type");return y&&!R}),v=s&&p&&jp(()=>c.isReadableStream(new n("").body)),g={stream:v&&(y=>y.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(y=>{!g[y]&&(g[y]=(R,h)=>{let U=R&&R[y];if(U)return U.call(R);throw new S(`Response type '${y}' is not supported`,S.ERR_NOT_SUPPORT,h)})});let C=a(async y=>{if(y==null)return 0;if(c.isBlob(y))return y.size;if(c.isSpecCompliantForm(y))return(await new o(L.origin,{method:"POST",body:y}).arrayBuffer()).byteLength;if(c.isArrayBufferView(y)||c.isArrayBuffer(y))return y.byteLength;if(c.isURLSearchParams(y)&&(y=y+""),c.isString(y))return(await l(y)).byteLength},"getBodyLength"),b=a(async(y,R)=>{let h=c.toFiniteNumber(y.getContentLength());return h??C(R)},"resolveBodyLength");return async y=>{let{url:R,method:h,data:U,signal:Y,cancelToken:_,timeout:ve,onDownloadProgress:tt,onUploadProgress:ye,responseType:Ae,headers:De,withCredentials:nr="same-origin",fetchOptions:Yr}=Ei(y),br=e||fetch;Ae=Ae?(Ae+"").toLowerCase():"text";let vo=wp([Y,_&&_.toAbortSignal()],ve),Xt=null,yo=vo&&vo.unsubscribe&&(()=>{vo.unsubscribe()}),ir;try{if(ye&&u&&h!=="get"&&h!=="head"&&(ir=await b(De,U))!==0){let z=new o(R,{method:"POST",body:U,duplex:"half"}),$;if(c.isFormData(U)&&($=z.headers.get("content-type"))&&De.setContentType($),z.body){let[lt,ge]=an(ir,go(sn(ye)));U=_a(z.body,Pp,lt,ge)}}c.isString(nr)||(nr=nr?"include":"omit");let ut=r&&"credentials"in o.prototype,je={...Yr,signal:vo,method:h.toUpperCase(),headers:De.normalize().toJSON(),body:U,duplex:"half",credentials:ut?nr:void 0};Xt=r&&new o(R,je);let ot=await(r?br(Xt,Yr):br(R,je)),Zr=v&&(Ae==="stream"||Ae==="response");if(v&&(tt||Zr&&yo)){let z={};["status","statusText","headers"].forEach(At=>{z[At]=ot[At]});let $=c.toFiniteNumber(ot.headers.get("content-length")),[lt,ge]=tt&&an($,go(sn(tt),!0))||[];ot=new n(_a(ot.body,Pp,lt,()=>{ge&&ge(),yo&&yo()}),z)}Ae=Ae||"text";let E=await g[c.findKey(g,Ae)||"text"](ot,y);return!Zr&&yo&&yo(),await new Promise((z,$)=>{Yt(z,$,{data:E,headers:ce.from(ot.headers),status:ot.status,statusText:ot.statusText,config:y,request:Xt})})}catch(ut){throw yo&&yo(),ut&&ut.name==="TypeError"&&/Load failed|fetch/i.test(ut.message)?Object.assign(new S("Network Error",S.ERR_NETWORK,y,Xt),{cause:ut.cause||ut}):S.from(ut,ut&&ut.code,y,Xt)}}},"factory"),$d=new Map,La=a(t=>{let e=t&&t.env||{},{fetch:o,Request:n,Response:i}=e,r=[n,i,o],s=r.length,p=s,l,u,v=$d;for(;p--;)l=r[p],u=v.get(l),u===void 0&&v.set(l,u=p?new Map:Hd(e)),v=u;return u},"getFetch"),Ch=La();var Ba={http:Ip,xhr:Ap,fetch:{get:La}};c.forEach(Ba,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});var Tp=a(t=>`- ${t}`,"renderReason"),Gd=a(t=>c.isFunction(t)||t===null||t===!1,"isResolvedHandle");function Wd(t,e){t=c.isArray(t)?t:[t];let{length:o}=t,n,i,r={};for(let s=0;s<o;s++){n=t[s];let p;if(i=n,!Gd(n)&&(i=Ba[(p=String(n)).toLowerCase()],i===void 0))throw new S(`Unknown adapter '${p}'`);if(i&&(c.isFunction(i)||(i=i.get(e))))break;r[p||"#"+s]=i}if(!i){let s=Object.entries(r).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build")),p=o?s.length>1?`since :
|
|
5
|
+
`+s.map(Tp).join(`
|
|
6
|
+
`):" "+Tp(s[0]):"as no adapter specified";throw new S("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return i}a(Wd,"getAdapter");var ji={getAdapter:Wd,adapters:Ba};function Ua(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new mt(null,t)}a(Ua,"throwIfCancellationRequested");function Ti(t){return Ua(t),t.headers=ce.from(t.headers),t.data=Kn.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),ji.getAdapter(t.adapter||nn.adapter,t)(t).then(a(function(n){return Ua(t),n.data=Kn.call(t,t.transformResponse,n),n.headers=ce.from(n.headers),n},"onAdapterResolution"),a(function(n){return Xn(n)||(Ua(t),n&&n.response&&(n.response.data=Kn.call(t,t.transformResponse,n.response),n.response.headers=ce.from(n.response.headers))),Promise.reject(n)},"onAdapterRejection"))}a(Ti,"dispatchRequest");var Vi={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Vi[t]=a(function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t},"validator")});var Vp={};Vi.transitional=a(function(e,o,n){function i(r,s){return"[Axios v"+zr+"] Transitional option '"+r+"'"+s+(n?". "+n:"")}return a(i,"formatMessage"),(r,s,p)=>{if(e===!1)throw new S(i(s," has been removed"+(o?" in "+o:"")),S.ERR_DEPRECATED);return o&&!Vp[s]&&(Vp[s]=!0,console.warn(i(s," has been deprecated since v"+o+" and will be removed in the near future"))),e?e(r,s,p):!0}},"transitional");Vi.spelling=a(function(e){return(o,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)},"spelling");function Kd(t,e,o){if(typeof t!="object")throw new S("options must be an object",S.ERR_BAD_OPTION_VALUE);let n=Object.keys(t),i=n.length;for(;i-- >0;){let r=n[i],s=e[r];if(s){let p=t[r],l=p===void 0||s(p,r,t);if(l!==!0)throw new S("option "+r+" must be "+l,S.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new S("Unknown option "+r,S.ERR_BAD_OPTION)}}a(Kd,"assertOptions");var kn={assertOptions:Kd,validators:Vi};var Zt=kn.validators,Mi=class{static{a(this,"Axios")}constructor(e){this.defaults=e||{},this.interceptors={request:new Fa,response:new Fa}}async request(e,o){try{return await this._request(e,o)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;let r=i.stack?i.stack.replace(/^.+\n/,""):"";try{n.stack?r&&!String(n.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
7
|
+
`+r):n.stack=r}catch{}}throw n}}_request(e,o){typeof e=="string"?(o=o||{},o.url=e):o=e||{},o=Pt(this.defaults,o);let{transitional:n,paramsSerializer:i,headers:r}=o;n!==void 0&&kn.assertOptions(n,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean)},!1),i!=null&&(c.isFunction(i)?o.paramsSerializer={serialize:i}:kn.assertOptions(i,{encode:Zt.function,serialize:Zt.function},!0)),o.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?o.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:o.allowAbsoluteUrls=!0),kn.assertOptions(o,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),o.method=(o.method||this.defaults.method||"get").toLowerCase();let s=r&&c.merge(r.common,r[o.method]);r&&c.forEach(["delete","get","head","post","put","patch","common"],y=>{delete r[y]}),o.headers=ce.concat(s,r);let p=[],l=!0;this.interceptors.request.forEach(a(function(R){typeof R.runWhen=="function"&&R.runWhen(o)===!1||(l=l&&R.synchronous,p.unshift(R.fulfilled,R.rejected))},"unshiftRequestInterceptors"));let u=[];this.interceptors.response.forEach(a(function(R){u.push(R.fulfilled,R.rejected)},"pushResponseInterceptors"));let v,g=0,C;if(!l){let y=[Ti.bind(this),void 0];for(y.unshift(...p),y.push(...u),C=y.length,v=Promise.resolve(o);g<C;)v=v.then(y[g++],y[g++]);return v}C=p.length;let b=o;for(;g<C;){let y=p[g++],R=p[g++];try{b=y(b)}catch(h){R.call(this,h);break}}try{v=Ti.call(this,b)}catch(y){return Promise.reject(y)}for(g=0,C=u.length;g<C;)v=v.then(u[g++],u[g++]);return v}getUri(e){e=Pt(this.defaults,e);let o=Ir(e.baseURL,e.url,e.allowAbsoluteUrls);return Fr(o,e.params,e.paramsSerializer)}};c.forEach(["delete","get","head","options"],a(function(e){Mi.prototype[e]=function(o,n){return this.request(Pt(n||{},{method:e,url:o,data:(n||{}).data}))}},"forEachMethodNoData"));c.forEach(["post","put","patch"],a(function(e){function o(n){return a(function(r,s,p){return this.request(Pt(p||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:s}))},"httpMethod")}a(o,"generateHTTPMethod"),Mi.prototype[e]=o(),Mi.prototype[e+"Form"]=o(!0)},"forEachMethodWithData"));var ei=Mi;var Xd=class Mp{static{a(this,"CancelToken")}constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(a(function(r){o=r},"promiseExecutor"));let n=this;this.promise.then(i=>{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](i);n._listeners=null}),this.promise.then=i=>{let r,s=new Promise(p=>{n.subscribe(p),r=p}).then(i);return s.cancel=a(function(){n.unsubscribe(r)},"reject"),s},e(a(function(r,s,p){n.reason||(n.reason=new mt(r,s,p),o(n.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=a(n=>{e.abort(n)},"abort");return this.subscribe(o),e.signal.unsubscribe=()=>this.unsubscribe(o),e.signal}static source(){let e;return{token:new Mp(a(function(i){e=i},"executor")),cancel:e}}},_p=Xd;function qa(t){return a(function(o){return t.apply(null,o)},"wrap")}a(qa,"spread");function Qa(t){return c.isObject(t)&&t.isAxiosError===!0}a(Qa,"isAxiosError");var Ha={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ha).forEach(([t,e])=>{Ha[e]=t});var Lp=Ha;function Bp(t){let e=new ei(t),o=Hn(ei.prototype.request,e);return c.extend(o,ei.prototype,e,{allOwnKeys:!0}),c.extend(o,e,null,{allOwnKeys:!0}),o.create=a(function(i){return Bp(Pt(t,i))},"create"),o}a(Bp,"createInstance");var Se=Bp(nn);Se.Axios=ei;Se.CanceledError=mt;Se.CancelToken=_p;Se.isCancel=Xn;Se.VERSION=zr;Se.toFormData=sr;Se.AxiosError=S;Se.Cancel=Se.CanceledError;Se.all=a(function(e){return Promise.all(e)},"all");Se.spread=qa;Se.isAxiosError=Qa;Se.mergeConfig=Pt;Se.AxiosHeaders=ce;Se.formToJSON=t=>xi(c.isHTMLForm(t)?new FormData(t):t);Se.getAdapter=ji.getAdapter;Se.HttpStatusCode=Lp;Se.default=Se;var _i=Se;var{Axios:OS,AxiosError:xS,CanceledError:AS,isCancel:wS,CancelToken:PS,VERSION:ES,all:DS,Cancel:jS,isAxiosError:TS,spread:VS,toFormData:MS,AxiosHeaders:_S,HttpStatusCode:LS,formToJSON:BS,getAdapter:US,mergeConfig:qS}=_i;import{Xml2JsToolkit as gl,NativeCertificateRepository as hl,SoapRemoteTransmissionRepository as Sl,MemoryCacheAdapter as Nl}from"@nfets/core/infrastructure";import{EntitySigner as Cl}from"@nfets/core/application";import al from"path";import{NFeTsError as wc,StateCodes as sl}from"@nfets/core/domain";import{ValidateErrorsMetadata as Pc,Validates as Xr}from"@nfets/core/application";import{left as Ec,right as pl}from"@nfets/core/shared";import{ConsultStatusPayload as cl}from"@nfets/nfe/infrastructure/dto/services/consult-status";import{InutilizacaoPayload as fl}from"@nfets/nfe/infrastructure/dto/services/inutilizacao";import{ConsultaProtocoloPayload as dl}from"@nfets/nfe/infrastructure/dto/services/consulta-protocolo";import{StateCodes as el,Environment as tl}from"@nfets/core/domain";import{Type as ol}from"class-transformer";import{IsEnum as ws,IsOptional as Ps,IsString as rl,IsNotEmpty as nl}from"class-validator";import{IsNotEmpty as Zu,IsNotEmptyObject as Rc,IsObject as Fc,IsString as ku,ValidateNested as Ic}from"class-validator";import{ArrayMaxSize as Cc,ArrayMinSize as Yu,IsNotEmptyObject as zs,IsObject as Os,IsOptional as et,IsString as bc,ValidateNested as Ie}from"class-validator";import{Type as ze}from"class-transformer";import{ArrayMaxSize as Yd,IsArray as Zd,IsEnum as kd,IsOptional as it,IsString as D,ValidateNested as Li}from"class-validator";import{Type as Bi}from"class-transformer";import{Choice as eu,TransformDateString as $a}from"@nfets/core/application";import{StateCodes as tu}from"@nfets/core";function A(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(A,"_ts_decorate");function w(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(w,"_ts_metadata");var ho=class{static{a(this,"RefNF")}cUF;AAMM;CNPJ;mod;serie;nNF};A([D(),w("design:type",String)],ho.prototype,"cUF",void 0);A([D(),w("design:type",String)],ho.prototype,"AAMM",void 0);A([D(),w("design:type",String)],ho.prototype,"CNPJ",void 0);A([D(),w("design:type",String)],ho.prototype,"mod",void 0);A([D(),w("design:type",String)],ho.prototype,"serie",void 0);A([D(),w("design:type",String)],ho.prototype,"nNF",void 0);var vt=class{static{a(this,"RefNFP")}cUF;AAMM;CNPJ;CPF;IE;mod;serie;nNF};A([D(),w("design:type",String)],vt.prototype,"cUF",void 0);A([D(),w("design:type",String)],vt.prototype,"AAMM",void 0);A([it(),D(),w("design:type",String)],vt.prototype,"CNPJ",void 0);A([it(),D(),w("design:type",String)],vt.prototype,"CPF",void 0);A([D(),w("design:type",String)],vt.prototype,"IE",void 0);A([D(),w("design:type",String)],vt.prototype,"mod",void 0);A([D(),w("design:type",String)],vt.prototype,"serie",void 0);A([D(),w("design:type",String)],vt.prototype,"nNF",void 0);vt=A([eu({properties:["CNPJ","CPF"],required:!0})],vt);var pn=class{static{a(this,"RefECF")}mod;nECF;nCOO};A([D(),w("design:type",String)],pn.prototype,"mod",void 0);A([D(),w("design:type",String)],pn.prototype,"nECF",void 0);A([D(),w("design:type",String)],pn.prototype,"nCOO",void 0);var So=class{static{a(this,"NFref")}refNFe;refNFeSig;refNF;refNFP;refCTe;refECF};A([it(),D(),w("design:type",String)],So.prototype,"refNFe",void 0);A([it(),D(),w("design:type",String)],So.prototype,"refNFeSig",void 0);A([it(),Li(),Bi(()=>ho),w("design:type",typeof IRefNF>"u"?Object:IRefNF)],So.prototype,"refNF",void 0);A([it(),Li(),Bi(()=>vt),w("design:type",typeof IRefNFP>"u"?Object:IRefNFP)],So.prototype,"refNFP",void 0);A([it(),D(),w("design:type",String)],So.prototype,"refCTe",void 0);A([it(),Li(),Bi(()=>pn),w("design:type",typeof IRefECF>"u"?Object:IRefECF)],So.prototype,"refECF",void 0);var J=class{static{a(this,"Ide")}cUF;cNF;natOp;mod;serie;nNF;dhEmi;dhSaiEnt;tpNF;idDest;cMunFG;tpImp;tpEmis;cDV="";tpAmb;finNFe;indFinal;indPres;indIntermed;procEmi;verProc;dhCont;xJust;NFref};A([kd(tu),w("design:type",typeof StateCode>"u"?Object:StateCode)],J.prototype,"cUF",void 0);A([D(),w("design:type",String)],J.prototype,"cNF",void 0);A([D(),w("design:type",String)],J.prototype,"natOp",void 0);A([D(),w("design:type",String)],J.prototype,"mod",void 0);A([D(),w("design:type",String)],J.prototype,"serie",void 0);A([D(),w("design:type",String)],J.prototype,"nNF",void 0);A([$a({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),w("design:type",String)],J.prototype,"dhEmi",void 0);A([it(),$a({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),w("design:type",String)],J.prototype,"dhSaiEnt",void 0);A([D(),w("design:type",String)],J.prototype,"tpNF",void 0);A([D(),w("design:type",String)],J.prototype,"idDest",void 0);A([D(),w("design:type",String)],J.prototype,"cMunFG",void 0);A([D(),w("design:type",String)],J.prototype,"tpImp",void 0);A([D(),w("design:type",typeof TpEmis>"u"?Object:TpEmis)],J.prototype,"tpEmis",void 0);A([D(),it(),w("design:type",String)],J.prototype,"cDV",void 0);A([D(),w("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],J.prototype,"tpAmb",void 0);A([D(),w("design:type",String)],J.prototype,"finNFe",void 0);A([D(),w("design:type",String)],J.prototype,"indFinal",void 0);A([D(),w("design:type",String)],J.prototype,"indPres",void 0);A([it(),D(),w("design:type",String)],J.prototype,"indIntermed",void 0);A([D(),w("design:type",String)],J.prototype,"procEmi",void 0);A([D(),w("design:type",String)],J.prototype,"verProc",void 0);A([it(),D(),$a({format:"YYYY-MM-DD[T]HH:mm:ssZ"}),w("design:type",String)],J.prototype,"dhCont",void 0);A([it(),D(),w("design:type",String)],J.prototype,"xJust",void 0);A([it(),Zd(),Yd(999),Li({each:!0}),Bi(()=>So),w("design:type",Array)],J.prototype,"NFref",void 0);import{IsOptional as cn,IsString as No,ValidateNested as ou}from"class-validator";import{Choice as ru}from"@nfets/core/application";import{Type as nu}from"class-transformer";import{IsOptional as Ui,IsString as jt}from"class-validator";function Et(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Et,"_ts_decorate");function Dt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Dt,"_ts_metadata");var Te=class{static{a(this,"EnderEmit")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Et([jt(),Dt("design:type",String)],Te.prototype,"xLgr",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"nro",void 0);Et([Ui(),jt(),Dt("design:type",String)],Te.prototype,"xCpl",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"xBairro",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"cMun",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"xMun",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"UF",void 0);Et([jt(),Dt("design:type",String)],Te.prototype,"CEP",void 0);Et([Ui(),jt(),Dt("design:type",String)],Te.prototype,"cPais",void 0);Et([Ui(),jt(),Dt("design:type",String)],Te.prototype,"xPais",void 0);Et([Ui(),jt(),Dt("design:type",String)],Te.prototype,"fone",void 0);function Tt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Tt,"_ts_decorate");function kt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(kt,"_ts_metadata");var Ue=class{static{a(this,"Emit")}CNPJ;CPF;xNome;xFant;enderEmit;IE;IEST;IM;CNAE;CRT};Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"CNPJ",void 0);Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"CPF",void 0);Tt([No(),kt("design:type",String)],Ue.prototype,"xNome",void 0);Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"xFant",void 0);Tt([ou(),nu(()=>Te),kt("design:type",typeof Te>"u"?Object:Te)],Ue.prototype,"enderEmit",void 0);Tt([No(),kt("design:type",String)],Ue.prototype,"IE",void 0);Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"IEST",void 0);Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"IM",void 0);Tt([cn(),No(),kt("design:type",String)],Ue.prototype,"CNAE",void 0);Tt([No(),kt("design:type",String)],Ue.prototype,"CRT",void 0);Ue=Tt([ru({properties:["CNPJ","CPF"],required:!0})],Ue);import{IsOptional as Co,IsString as bo,ValidateNested as iu}from"class-validator";import{Type as au}from"class-transformer";import{IsOptional as _t,IsString as Lt}from"class-validator";function Vt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Vt,"_ts_decorate");function Mt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mt,"_ts_metadata");var Xe=class{static{a(this,"EnderDest")}xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone};Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"xLgr",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"nro",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"xCpl",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"xBairro",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"cMun",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"xMun",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"UF",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"CEP",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"cPais",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"xPais",void 0);Vt([_t(),Lt(),Mt("design:type",String)],Xe.prototype,"fone",void 0);import{Choice as su}from"@nfets/core/application";function Bt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Bt,"_ts_decorate");function eo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(eo,"_ts_metadata");var qe=class{static{a(this,"Dest")}CNPJ;CPF;idEstrangeiro;xNome;enderDest;indIEDest;IE;ISUF;IM;email};Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"CNPJ",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"CPF",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"idEstrangeiro",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"xNome",void 0);Bt([Co(),iu(),au(()=>Xe),eo("design:type",typeof IEnderDest>"u"?Object:IEnderDest)],qe.prototype,"enderDest",void 0);Bt([bo(),eo("design:type",String)],qe.prototype,"indIEDest",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"IE",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"ISUF",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"IM",void 0);Bt([Co(),bo(),eo("design:type",String)],qe.prototype,"email",void 0);qe=Bt([su({properties:["CNPJ","CPF"],required:!0})],qe);import{IsOptional as to,IsString as He}from"class-validator";import{Choice as pu}from"@nfets/core/application";function Ve(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ve,"_ts_decorate");function Qe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Qe,"_ts_metadata");var fe=class{static{a(this,"Local")}CNPJ;CPF;xNome;xLgr;nro;xCpl;xBairro;cMun;xMun;UF;CEP;cPais;xPais;fone;email;IE};Ve([to(),He(),Qe("design:type",String)],fe.prototype,"CNPJ",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"CPF",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"xNome",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"xLgr",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"nro",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"xCpl",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"xBairro",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"cMun",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"xMun",void 0);Ve([He(),Qe("design:type",String)],fe.prototype,"UF",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"CEP",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"cPais",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"xPais",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"fone",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"email",void 0);Ve([to(),He(),Qe("design:type",String)],fe.prototype,"IE",void 0);fe=Ve([pu({properties:["CNPJ","CPF"]})],fe);import{IsOptional as qp,IsString as Qp}from"class-validator";import{Choice as cu}from"@nfets/core/application";function Ja(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ja,"_ts_decorate");function Up(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Up,"_ts_metadata");var fr=class{static{a(this,"AutXML")}CNPJ;CPF};Ja([qp(),Qp(),Up("design:type",String)],fr.prototype,"CNPJ",void 0);Ja([qp(),Qp(),Up("design:type",String)],fr.prototype,"CPF",void 0);fr=Ja([cu({properties:["CNPJ","CPF"]})],fr);import{IsOptional as fu,IsString as Jp}from"class-validator";function Hp(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Hp,"_ts_decorate");function $p(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($p,"_ts_metadata");var fn=class{static{a(this,"InfIntermed")}CNPJ;idCadIntTran};Hp([Jp(),$p("design:type",String)],fn.prototype,"CNPJ",void 0);Hp([fu(),Jp(),$p("design:type",String)],fn.prototype,"idCadIntTran",void 0);import{IsOptional as Gp,IsString as Ka}from"class-validator";function Ga(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ga,"_ts_decorate");function Wa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wa,"_ts_metadata");var xr=class{static{a(this,"Exporta")}UFSaidaPais;xLocExporta;xLocDespacho};Ga([Ka(),Wa("design:type",String)],xr.prototype,"UFSaidaPais",void 0);Ga([Gp(),Ka(),Wa("design:type",String)],xr.prototype,"xLocExporta",void 0);Ga([Gp(),Ka(),Wa("design:type",String)],xr.prototype,"xLocDespacho",void 0);import{IsOptional as Za,IsString as ka}from"class-validator";function Xa(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Xa,"_ts_decorate");function Ya(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ya,"_ts_metadata");var Ar=class{static{a(this,"Compra")}xNEmp;xPed;xCont};Xa([Za(),ka(),Ya("design:type",String)],Ar.prototype,"xNEmp",void 0);Xa([Za(),ka(),Ya("design:type",String)],Ar.prototype,"xPed",void 0);Xa([Za(),ka(),Ya("design:type",String)],Ar.prototype,"xCont",void 0);import{IsOptional as Wp,IsString as ln}from"class-validator";function dn(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(dn,"_ts_decorate");function un(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(un,"_ts_metadata");var oo=class{static{a(this,"InfRespTec")}CNPJ;xContato;email;fone;idCSRT;hashCSRT};dn([ln(),un("design:type",String)],oo.prototype,"CNPJ",void 0);dn([ln(),un("design:type",String)],oo.prototype,"xContato",void 0);dn([ln(),un("design:type",String)],oo.prototype,"email",void 0);dn([ln(),un("design:type",String)],oo.prototype,"fone",void 0);dn([Wp(),ln(),un("design:type",String)],oo.prototype,"idCSRT",void 0);dn([Wp(),ln(),un("design:type",String)],oo.prototype,"hashCSRT",void 0);import{IsOptional as Kp,ValidateNested as os}from"class-validator";import{Type as rs}from"class-transformer";import{IsOptional as ro}from"class-validator";import{TransformDecimal as H}from"@nfets/core/application";function q(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(q,"_ts_decorate");function Q(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Q,"_ts_metadata");var M=class{static{a(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};q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vBC",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMS",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSDeson",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vFCPUFDest",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSUFDest",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSUFRemet",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vFCP",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vBCST",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vST",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vFCPST",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vFCPSTRet",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"qBCMono",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSMono",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"qBCMonoReten",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSMonoReten",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"qBCMonoRet",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vICMSMonoRet",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vProd",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vFrete",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vSeg",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vDesc",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vII",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vIPI",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vIPIDevol",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vPIS",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vCOFINS",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vOutro",void 0);q([H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vNF",void 0);q([ro(),H({fixed:2}),Q("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],M.prototype,"vTotTrib",void 0);import{IsOptional as Ut,IsString as Ft}from"class-validator";function bt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(bt,"_ts_decorate");function Rt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Rt,"_ts_metadata");var $e=class{static{a(this,"ISSQNTot")}vServ;vBC;vISS;vPIS;vCOFINS;dCompet;vDeducao;vOutro;vDescIncond;vDescCond;vISSRet;cRegTrib};bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vServ",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vBC",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vISS",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vPIS",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vCOFINS",void 0);bt([Ft(),Rt("design:type",String)],$e.prototype,"dCompet",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vDeducao",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vOutro",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vDescIncond",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vDescCond",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"vISSRet",void 0);bt([Ut(),Ft(),Rt("design:type",String)],$e.prototype,"cRegTrib",void 0);import{IsOptional as Er}from"class-validator";import{TransformDecimal as Dr}from"@nfets/core/application";function wr(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(wr,"_ts_decorate");function Pr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Pr,"_ts_metadata");var qt=class{static{a(this,"RetTrib")}vRetPIS;vRetCOFINS;vRetCSLL;vBCIRRF;vIRRF;vBCRetPrev;vRetPrev};wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vRetPIS",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vRetCOFINS",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vRetCSLL",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCIRRF",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vIRRF",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vBCRetPrev",void 0);wr([Er(),Dr({fixed:2}),Pr("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qt.prototype,"vRetPrev",void 0);function es(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(es,"_ts_decorate");function ts(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ts,"_ts_metadata");var jr=class{static{a(this,"Total")}ICMSTot;ISSQNtot;retTrib};es([os(),rs(()=>M),ts("design:type",typeof IICMSTot>"u"?Object:IICMSTot)],jr.prototype,"ICMSTot",void 0);es([Kp(),os(),rs(()=>$e),ts("design:type",typeof IISSQNTot>"u"?Object:IISSQNTot)],jr.prototype,"ISSQNtot",void 0);es([Kp(),os(),rs(()=>qt),ts("design:type",typeof IRetTrib>"u"?Object:IRetTrib)],jr.prototype,"retTrib",void 0);import{ArrayMaxSize as kp,IsOptional as Lr,IsString as ns,ValidateNested as ti}from"class-validator";import{Type as oi}from"class-transformer";import{IsOptional as Vr,IsString as Mr}from"class-validator";import{Choice as du}from"@nfets/core/application";function dr(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(dr,"_ts_decorate");function Tr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Tr,"_ts_metadata");var Je=class{static{a(this,"Transporta")}CNPJ;CPF;xNome;IE;xEnder;xMun;UF};dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"CNPJ",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"CPF",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"xNome",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"IE",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"xEnder",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"xMun",void 0);dr([Vr(),Mr(),Tr("design:type",String)],Je.prototype,"UF",void 0);Je=dr([du({properties:["CNPJ","CPF"]})],Je);import{IsOptional as yn,IsString as Xp}from"class-validator";import{TransformDecimal as qi}from"@nfets/core/application";function mn(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(mn,"_ts_decorate");function vn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(vn,"_ts_metadata");var yt=class{static{a(this,"RetTransp")}vServ;vBCRet;pICMSRet;vICMSRet;CFOP;cMunFG};mn([yn(),qi({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"vServ",void 0);mn([yn(),qi({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"vBCRet",void 0);mn([yn(),qi({fixed:4}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"pICMSRet",void 0);mn([yn(),qi({fixed:2}),vn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yt.prototype,"vICMSRet",void 0);mn([yn(),Xp(),vn("design:type",String)],yt.prototype,"CFOP",void 0);mn([yn(),Xp(),vn("design:type",String)],yt.prototype,"cMunFG",void 0);import{IsOptional as Sn,IsString as Nn}from"class-validator";function gn(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(gn,"_ts_decorate");function hn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hn,"_ts_metadata");var no=class{static{a(this,"VeicTransp")}placa;UF;RNTC};gn([Sn(),Nn(),hn("design:type",String)],no.prototype,"placa",void 0);gn([Sn(),Nn(),hn("design:type",String)],no.prototype,"UF",void 0);gn([Sn(),Nn(),hn("design:type",String)],no.prototype,"RNTC",void 0);var _r=class{static{a(this,"Reboque")}placa;UF;RNTC};gn([Sn(),Nn(),hn("design:type",String)],_r.prototype,"placa",void 0);gn([Sn(),Nn(),hn("design:type",String)],_r.prototype,"UF",void 0);gn([Sn(),Nn(),hn("design:type",String)],_r.prototype,"RNTC",void 0);import{IsOptional as Rn,IsString as Qi}from"class-validator";import{TransformDecimal as Yp}from"@nfets/core/application";function Cn(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Cn,"_ts_decorate");function bn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(bn,"_ts_metadata");var io=class{static{a(this,"Vol")}qVol;esp;marca;nVol;pesoL;pesoB};Cn([Rn(),Qi(),bn("design:type",String)],io.prototype,"qVol",void 0);Cn([Rn(),Qi(),bn("design:type",String)],io.prototype,"esp",void 0);Cn([Rn(),Qi(),bn("design:type",String)],io.prototype,"marca",void 0);Cn([Rn(),Qi(),bn("design:type",String)],io.prototype,"nVol",void 0);Cn([Rn(),Yp({fixed:3}),bn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pesoL",void 0);Cn([Rn(),Yp({fixed:3}),bn("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],io.prototype,"pesoB",void 0);import{Choice as Zp}from"@nfets/core/application";function Ro(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ro,"_ts_decorate");function ur(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ur,"_ts_metadata");var at=class{static{a(this,"Transp")}modFrete;transporta;retTransp;veicTransp;reboque;vagao;balsa;vol};Ro([ns(),ur("design:type",String)],at.prototype,"modFrete",void 0);Ro([Lr(),ti(),oi(()=>Je),ur("design:type",typeof Je>"u"?Object:Je)],at.prototype,"transporta",void 0);Ro([Lr(),ti(),oi(()=>yt),ur("design:type",typeof yt>"u"?Object:yt)],at.prototype,"retTransp",void 0);Ro([Lr(),ti(),oi(()=>no),ur("design:type",typeof no>"u"?Object:no)],at.prototype,"veicTransp",void 0);Ro([Lr(),ti({each:!0}),oi(()=>_r),kp(5),ur("design:type",Array)],at.prototype,"reboque",void 0);Ro([Lr(),ns(),ur("design:type",String)],at.prototype,"vagao",void 0);Ro([Lr(),ns(),ur("design:type",String)],at.prototype,"balsa",void 0);Ro([Lr(),ti({each:!0}),oi(()=>io),kp(5e3),ur("design:type",Array)],at.prototype,"vol",void 0);at=Ro([Zp({properties:["veicTransp","reboque"]}),Zp({properties:["vagao","balsa"]})],at);import{ArrayMaxSize as uu,IsOptional as Oo,IsString as is,ValidateNested as ec}from"class-validator";import{Type as tc}from"class-transformer";import{TransformDecimal as Hi}from"@nfets/core/application";function Io(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Io,"_ts_decorate");function zo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(zo,"_ts_metadata");var Fo=class{static{a(this,"Fat")}nFat;vOrig;vDesc;vLiq};Io([Oo(),is(),zo("design:type",String)],Fo.prototype,"nFat",void 0);Io([Oo(),Hi({fixed:2}),zo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vOrig",void 0);Io([Oo(),Hi({fixed:2}),zo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vDesc",void 0);Io([Oo(),Hi({fixed:2}),zo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fo.prototype,"vLiq",void 0);var Fn=class{static{a(this,"Dup")}nDup;dVenc;vDup};Io([Oo(),is(),zo("design:type",String)],Fn.prototype,"nDup",void 0);Io([Oo(),is(),zo("design:type",String)],Fn.prototype,"dVenc",void 0);Io([Oo(),Hi({fixed:2}),zo("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Fn.prototype,"vDup",void 0);var In=class{static{a(this,"Cobr")}fat;dup};Io([Oo(),ec(),tc(()=>Fo),zo("design:type",typeof Fo>"u"?Object:Fo)],In.prototype,"fat",void 0);Io([Oo(),ec({each:!0}),uu(120),tc(()=>Fn),zo("design:type",Array)],In.prototype,"dup",void 0);import{ArrayMaxSize as yu,ArrayMinSize as gu,IsOptional as hu,ValidateNested as Su}from"class-validator";import{Type as Nu}from"class-transformer";import{IsOptional as fs,IsString as ds,ValidateNested as lu}from"class-validator";import{Type as mu}from"class-transformer";import{IsOptional as ps,IsString as cs}from"class-validator";function as(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(as,"_ts_decorate");function ss(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ss,"_ts_metadata");var ao=class{static{a(this,"Card")}cNPJ;tBand;cAut};as([ps(),cs(),ss("design:type",String)],ao.prototype,"cNPJ",void 0);as([ps(),cs(),ss("design:type",String)],ao.prototype,"tBand",void 0);as([ps(),cs(),ss("design:type",String)],ao.prototype,"cAut",void 0);import{TransformDecimal as vu}from"@nfets/core/application";function ri(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ri,"_ts_decorate");function ni(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ni,"_ts_metadata");var xo=class{static{a(this,"DetPag")}indPag;tPag;vPag;card;xPag};ri([fs(),ds(),ni("design:type",String)],xo.prototype,"indPag",void 0);ri([ds(),ni("design:type",String)],xo.prototype,"tPag",void 0);ri([vu({fixed:2}),ni("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],xo.prototype,"vPag",void 0);ri([fs(),lu(),mu(()=>ao),ni("design:type",typeof ao>"u"?Object:ao)],xo.prototype,"card",void 0);ri([fs(),ds(),ni("design:type",String)],xo.prototype,"xPag",void 0);import{TransformDecimal as Cu}from"@nfets/core/application";function oc(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(oc,"_ts_decorate");function rc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(rc,"_ts_metadata");var zn=class{static{a(this,"Pag")}detPag;vTroco};oc([Su({each:!0}),gu(1),yu(100),Nu(()=>xo),rc("design:type",Array)],zn.prototype,"detPag",void 0);oc([hu(),Cu({fixed:2}),rc("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zn.prototype,"vTroco",void 0);import{ArrayMaxSize as us,IsOptional as Br,IsString as xn,ValidateNested as ls}from"class-validator";import{Type as ms}from"class-transformer";function wo(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(wo,"_ts_decorate");function Po(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Po,"_ts_metadata");var On=class{static{a(this,"InfAdicObs")}xCampo;xTexto};wo([xn(),Po("design:type",String)],On.prototype,"xCampo",void 0);wo([xn(),Po("design:type",String)],On.prototype,"xTexto",void 0);var ii=class{static{a(this,"ProcRef")}nProc;indProc};wo([Br(),xn(),Po("design:type",String)],ii.prototype,"nProc",void 0);wo([Br(),xn(),Po("design:type",String)],ii.prototype,"indProc",void 0);var Ao=class{static{a(this,"InfAdic")}infAdFisco;infCpl;obsCont;obsFisco;procRef};wo([Br(),xn(),Po("design:type",String)],Ao.prototype,"infAdFisco",void 0);wo([Br(),xn(),Po("design:type",String)],Ao.prototype,"infCpl",void 0);wo([Br(),ls({each:!0}),ms(()=>On),us(10),Po("design:type",Array)],Ao.prototype,"obsCont",void 0);wo([Br(),ls({each:!0}),ms(()=>On),us(10),Po("design:type",Array)],Ao.prototype,"obsFisco",void 0);wo([Br(),ls({each:!0}),ms(()=>ii),us(100),Po("design:type",Array)],Ao.prototype,"procRef",void 0);import{ArrayMaxSize as nc,IsNotEmptyObject as bu,IsObject as Ru,IsOptional as Ur,IsString as lr,ValidateNested as ic}from"class-validator";import{Type as vs}from"class-transformer";import{TransformDecimal as Ji}from"@nfets/core/application";function Ye(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ye,"_ts_decorate");function Ze(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ze,"_ts_metadata");var $i=class{static{a(this,"ForDiaAttributes")}dia};Ye([lr(),Ze("design:type",String)],$i.prototype,"dia",void 0);var ai=class{static{a(this,"ForDia")}$;qtde};Ye([Ru(),bu(),vs(()=>$i),Ze("design:type",typeof IForDiaAttributes>"u"?Object:IForDiaAttributes)],ai.prototype,"$",void 0);Ye([lr(),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ai.prototype,"qtde",void 0);var si=class{static{a(this,"Deduc")}xDed;vDed};Ye([lr(),Ze("design:type",String)],si.prototype,"xDed",void 0);Ye([Ji({fixed:2}),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],si.prototype,"vDed",void 0);var st=class{static{a(this,"Cana")}safra;ref;forDia;qTotMes;qTotAnt;qTotGer;deduc;vFor;vTotDed;vLiqFor};Ye([lr(),Ze("design:type",String)],st.prototype,"safra",void 0);Ye([lr(),Ze("design:type",String)],st.prototype,"ref",void 0);Ye([ic({each:!0}),nc(31),vs(()=>ai),Ze("design:type",Array)],st.prototype,"forDia",void 0);Ye([Ur(),lr(),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"qTotMes",void 0);Ye([Ur(),lr(),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"qTotAnt",void 0);Ye([Ur(),lr(),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"qTotGer",void 0);Ye([Ur(),ic({each:!0}),nc(10),vs(()=>si),Ze("design:type",Array)],st.prototype,"deduc",void 0);Ye([Ur(),Ji({fixed:2}),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vFor",void 0);Ye([Ur(),Ji({fixed:2}),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vTotDed",void 0);Ye([Ur(),Ji({fixed:2}),Ze("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],st.prototype,"vLiqFor",void 0);import{IsObject as Hu,IsOptional as ua,IsString as Nc,ValidateNested as yi}from"class-validator";import{Type as gi}from"class-transformer";import{ArrayMaxSize as mi,IsArray as Zi,IsObject as Hr,IsOptional as Z,IsString as Ne,ValidateNested as jo}from"class-validator";import{TransformDecimal as To}from"@nfets/core/application";import{Type as Vo}from"class-transformer";import{IsOptional as Gi,IsString as fi}from"class-validator";function pi(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(pi,"_ts_decorate");function ci(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ci,"_ts_metadata");var Eo=class{static{a(this,"Rastro")}nLote;qLote;dFab;dVal;cAgreg};pi([fi(),ci("design:type",String)],Eo.prototype,"nLote",void 0);pi([Gi(),fi(),ci("design:type",String)],Eo.prototype,"qLote",void 0);pi([Gi(),fi(),ci("design:type",String)],Eo.prototype,"dFab",void 0);pi([Gi(),fi(),ci("design:type",String)],Eo.prototype,"dVal",void 0);pi([Gi(),fi(),ci("design:type",String)],Eo.prototype,"cAgreg",void 0);import{Choice as Vu}from"@nfets/core/application";import{IsString as pt,IsOptional as di,IsArray as Fu,ValidateNested as Iu,ArrayMaxSize as zu,ArrayMinSize as Ou}from"class-validator";import{Type as xu}from"class-transformer";import{TransformDecimal as ac,Choice as Au}from"@nfets/core/application";function Pe(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Pe,"_ts_decorate");function Me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Me,"_ts_metadata");var mr=class{static{a(this,"Adi")}nAdicao;nSeqAdic;cFabricante;vDescDI;nDraw};Pe([pt(),Me("design:type",String)],mr.prototype,"nAdicao",void 0);Pe([pt(),Me("design:type",String)],mr.prototype,"nSeqAdic",void 0);Pe([pt(),Me("design:type",String)],mr.prototype,"cFabricante",void 0);Pe([ac({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],mr.prototype,"vDescDI",void 0);Pe([di(),pt(),Me("design:type",String)],mr.prototype,"nDraw",void 0);var we=class{static{a(this,"DI")}nDI;dDI;xLocDesemb;UFDesemb;dDesemb;tpViaTransp;vAFRMM;tpIntermedio;CNPJ;CPF;UFTerceiro;adi};Pe([pt(),Me("design:type",String)],we.prototype,"nDI",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"dDI",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"xLocDesemb",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"UFDesemb",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"dDesemb",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"tpViaTransp",void 0);Pe([di(),ac({fixed:2}),Me("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],we.prototype,"vAFRMM",void 0);Pe([pt(),Me("design:type",String)],we.prototype,"tpIntermedio",void 0);Pe([pt(),di(),Me("design:type",String)],we.prototype,"CNPJ",void 0);Pe([pt(),di(),Me("design:type",String)],we.prototype,"CPF",void 0);Pe([pt(),di(),Me("design:type",String)],we.prototype,"UFTerceiro",void 0);Pe([Fu(),Iu({each:!0}),xu(()=>mr),zu(999),Ou(1),Me("design:type",Array)],we.prototype,"adi",void 0);we=Pe([Au({properties:["CNPJ","CPF"],required:!0})],we);import{Type as wu}from"class-transformer";import{IsOptional as sc,IsString as ys,ValidateNested as Pu}from"class-validator";import{TransformDecimal as Eu}from"@nfets/core/application";function ui(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ui,"_ts_decorate");function li(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(li,"_ts_metadata");var An=class{static{a(this,"ExportInd")}nRE;chNFe;qExport};ui([ys(),li("design:type",String)],An.prototype,"nRE",void 0);ui([ys(),li("design:type",String)],An.prototype,"chNFe",void 0);ui([Eu({fixed:4}),li("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],An.prototype,"qExport",void 0);var wn=class{static{a(this,"DetExport")}nDraw;exportInd};ui([sc(),ys(),li("design:type",String)],wn.prototype,"nDraw",void 0);ui([sc(),Pu(),wu(()=>An),li("design:type",typeof IExportInd>"u"?Object:IExportInd)],wn.prototype,"exportInd",void 0);import{IsString as fc}from"class-validator";function pc(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(pc,"_ts_decorate");function cc(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(cc,"_ts_metadata");var Pn=class{static{a(this,"InfProdNFF")}cProdFisco;cOperNFF};pc([fc(),cc("design:type",String)],Pn.prototype,"cProdFisco",void 0);pc([fc(),cc("design:type",String)],Pn.prototype,"cOperNFF",void 0);import{IsString as dc}from"class-validator";import{TransformDecimal as Du}from"@nfets/core/application";function gs(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(gs,"_ts_decorate");function hs(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(hs,"_ts_metadata");var qr=class{static{a(this,"InfProdEmb")}xEmb;qVolEmb;uEmb};gs([dc(),hs("design:type",String)],qr.prototype,"xEmb",void 0);gs([Du({fixed:3}),hs("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qr.prototype,"qVolEmb",void 0);gs([dc(),hs("design:type",String)],qr.prototype,"uEmb",void 0);import{IsString as te}from"class-validator";function k(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(k,"_ts_decorate");function ee(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ee,"_ts_metadata");var G=class{static{a(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};k([te(),ee("design:type",String)],G.prototype,"tpOp",void 0);k([te(),ee("design:type",String)],G.prototype,"chassi",void 0);k([te(),ee("design:type",String)],G.prototype,"cCor",void 0);k([te(),ee("design:type",String)],G.prototype,"xCor",void 0);k([te(),ee("design:type",String)],G.prototype,"pot",void 0);k([te(),ee("design:type",String)],G.prototype,"cilin",void 0);k([te(),ee("design:type",String)],G.prototype,"pesoL",void 0);k([te(),ee("design:type",String)],G.prototype,"pesoB",void 0);k([te(),ee("design:type",String)],G.prototype,"nSerie",void 0);k([te(),ee("design:type",String)],G.prototype,"tpComb",void 0);k([te(),ee("design:type",String)],G.prototype,"nMotor",void 0);k([te(),ee("design:type",String)],G.prototype,"CMT",void 0);k([te(),ee("design:type",String)],G.prototype,"dist",void 0);k([te(),ee("design:type",String)],G.prototype,"anoMod",void 0);k([te(),ee("design:type",String)],G.prototype,"anoFab",void 0);k([te(),ee("design:type",String)],G.prototype,"tpPint",void 0);k([te(),ee("design:type",String)],G.prototype,"tpVeic",void 0);k([te(),ee("design:type",String)],G.prototype,"espVeic",void 0);k([te(),ee("design:type",String)],G.prototype,"VIN",void 0);k([te(),ee("design:type",String)],G.prototype,"condVeic",void 0);k([te(),ee("design:type",String)],G.prototype,"cMod",void 0);k([te(),ee("design:type",String)],G.prototype,"cCorDENATRAN",void 0);k([te(),ee("design:type",String)],G.prototype,"lota",void 0);k([te(),ee("design:type",String)],G.prototype,"tpRest",void 0);import{IsString as uc}from"class-validator";import{TransformDecimal as ju}from"@nfets/core/application";function Ss(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ss,"_ts_decorate");function Ns(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ns,"_ts_metadata");var Qr=class{static{a(this,"Med")}cProdANVISA;xMotivoIsencao;vPMC};Ss([uc(),Ns("design:type",String)],Qr.prototype,"cProdANVISA",void 0);Ss([uc(),Ns("design:type",String)],Qr.prototype,"xMotivoIsencao",void 0);Ss([ju({fixed:2}),Ns("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qr.prototype,"vPMC",void 0);import{IsString as Xi}from"class-validator";function Wi(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Wi,"_ts_decorate");function Ki(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ki,"_ts_metadata");var vr=class{static{a(this,"Arma")}tpArma;nSerie;nCano;descr};Wi([Xi(),Ki("design:type",String)],vr.prototype,"tpArma",void 0);Wi([Xi(),Ki("design:type",String)],vr.prototype,"nSerie",void 0);Wi([Xi(),Ki("design:type",String)],vr.prototype,"nCano",void 0);Wi([Xi(),Ki("design:type",String)],vr.prototype,"descr",void 0);import{IsString as Do,IsOptional as gr,IsObject as Cs,ValidateNested as bs,ArrayMaxSize as Tu,Max as Yi}from"class-validator";import{Type as Rs}from"class-transformer";import{TransformDecimal as It}from"@nfets/core/application";function oe(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(oe,"_ts_decorate");function re(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(re,"_ts_metadata");var En=class{static{a(this,"OrigComb")}indImport;cUFOrig;pOrig};oe([Do(),re("design:type",String)],En.prototype,"indImport",void 0);oe([Do(),re("design:type",String)],En.prototype,"cUFOrig",void 0);oe([It({fixed:4}),Yi(100),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],En.prototype,"pOrig",void 0);var Dn=class{static{a(this,"CIDE")}qBCProd;vAliqProd;vCIDE};oe([It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dn.prototype,"qBCProd",void 0);oe([It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dn.prototype,"vAliqProd",void 0);oe([It({fixed:2}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Dn.prototype,"vCIDE",void 0);var yr=class{static{a(this,"Encerrante")}nBico;nBomba;nTanque;vEncIni;vEncFin};oe([Do(),re("design:type",String)],yr.prototype,"nBico",void 0);oe([Do(),re("design:type",String)],yr.prototype,"nBomba",void 0);oe([Do(),re("design:type",String)],yr.prototype,"nTanque",void 0);oe([It({fixed:3}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vEncIni",void 0);oe([It({fixed:3}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],yr.prototype,"vEncFin",void 0);var _e=class{static{a(this,"Comb")}cProdANP;descANP;pGLP;pGNn;pGNi;vPart;CODIF;qTemp;UFCons;CIDE;encerrante;pBio;origComb};oe([Do(),re("design:type",String)],_e.prototype,"cProdANP",void 0);oe([Do(),re("design:type",String)],_e.prototype,"descANP",void 0);oe([gr(),Yi(100),It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"pGLP",void 0);oe([gr(),Yi(100),It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"pGNn",void 0);oe([gr(),Yi(100),It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"pGNi",void 0);oe([gr(),It({fixed:2}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"vPart",void 0);oe([Do(),gr(),re("design:type",String)],_e.prototype,"CODIF",void 0);oe([gr(),It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"qTemp",void 0);oe([Do(),re("design:type",String)],_e.prototype,"UFCons",void 0);oe([Cs(),bs(),Rs(()=>Dn),re("design:type",typeof ICIDE>"u"?Object:ICIDE)],_e.prototype,"CIDE",void 0);oe([Cs(),bs(),Rs(()=>yr),re("design:type",typeof IEncerrante>"u"?Object:IEncerrante)],_e.prototype,"encerrante",void 0);oe([gr(),It({fixed:4}),re("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_e.prototype,"pBio",void 0);oe([Cs(),bs({each:!0}),Rs(()=>En),Tu(30),gr(),re("design:type",Array)],_e.prototype,"origComb",void 0);function j(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(j,"_ts_decorate");function T(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(T,"_ts_metadata");var P=class{static{a(this,"Prod")}cProd;cEAN;cBarra;xProd;NCM;NVE;CEST;indEscala;CNPJFab;cBenef;gCred;EXTIPI;CFOP;uCom;qCom;vUnCom;vProd;cEANTrib;uTrib;qTrib;vUnTrib;vFrete;vSeg;vDesc;vOutro;indTot;DI;detExport;xPed;nItemPed;nFCI;rastro;infProdNFF;infProdEmb;veicProd;med;arma;comb;nRECOPI};j([Ne(),T("design:type",String)],P.prototype,"cProd",void 0);j([Ne(),T("design:type",String)],P.prototype,"cEAN",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"cBarra",void 0);j([Ne(),T("design:type",String)],P.prototype,"xProd",void 0);j([Ne(),T("design:type",String)],P.prototype,"NCM",void 0);j([Z(),Zi(),mi(8),Ne({each:!0}),T("design:type",Array)],P.prototype,"NVE",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"CEST",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"indEscala",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"CNPJFab",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"cBenef",void 0);j([Z(),Hr(),T("design:type",Object)],P.prototype,"gCred",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"EXTIPI",void 0);j([Ne(),T("design:type",String)],P.prototype,"CFOP",void 0);j([Ne(),T("design:type",String)],P.prototype,"uCom",void 0);j([To({fixed:4}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"qCom",void 0);j([To({fixed:10}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vUnCom",void 0);j([To({fixed:2}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vProd",void 0);j([Ne(),T("design:type",String)],P.prototype,"cEANTrib",void 0);j([Ne(),T("design:type",String)],P.prototype,"uTrib",void 0);j([To({fixed:4}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"qTrib",void 0);j([To({fixed:10}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vUnTrib",void 0);j([Z(),To({fixed:2}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vFrete",void 0);j([Z(),To({fixed:2}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vSeg",void 0);j([Z(),To({fixed:2}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vDesc",void 0);j([Z(),To({fixed:2}),T("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],P.prototype,"vOutro",void 0);j([Ne(),T("design:type",String)],P.prototype,"indTot",void 0);j([Z(),Zi(),jo({each:!0}),mi(100),Vo(()=>we),T("design:type",Array)],P.prototype,"DI",void 0);j([Z(),Zi(),jo({each:!0}),mi(500),Vo(()=>wn),T("design:type",Array)],P.prototype,"detExport",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"xPed",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"nItemPed",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"nFCI",void 0);j([Z(),Zi(),jo({each:!0}),mi(500),Vo(()=>Eo),T("design:type",Array)],P.prototype,"rastro",void 0);j([Z(),Hr(),jo(),Vo(()=>Pn),T("design:type",typeof IInfProdNFF>"u"?Object:IInfProdNFF)],P.prototype,"infProdNFF",void 0);j([Z(),Hr(),jo(),Vo(()=>qr),T("design:type",typeof IInfProdEmb>"u"?Object:IInfProdEmb)],P.prototype,"infProdEmb",void 0);j([Z(),Hr(),jo(),Vo(()=>G),T("design:type",typeof IVeicProd>"u"?Object:IVeicProd)],P.prototype,"veicProd",void 0);j([Z(),Hr(),jo(),Vo(()=>Qr),T("design:type",typeof IMed>"u"?Object:IMed)],P.prototype,"med",void 0);j([Z(),Hr(),jo({each:!0}),Vo(()=>vr),mi(500),T("design:type",Array)],P.prototype,"arma",void 0);j([Z(),Hr(),jo(),Vo(()=>_e),T("design:type",typeof IComb>"u"?Object:IComb)],P.prototype,"comb",void 0);j([Z(),Ne(),T("design:type",String)],P.prototype,"nRECOPI",void 0);P=j([Vu({properties:["veicProd","med","arma","comb"]})],P);import{Type as er}from"class-transformer";import{IsNumber as Lu,IsOptional as lo,ValidateNested as tr}from"class-validator";import{IsOptional as m,IsString as x,Max as Mu,ValidateNested as Le}from"class-validator";import{Type as Be}from"class-transformer";import{Choice as _u,TransformDecimal as N}from"@nfets/core/application";function f(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(f,"_ts_decorate");function d(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(d,"_ts_metadata");var Mo=class{static{a(this,"ICMS00")}orig;CST;modBC;vBC;pICMS;vICMS};f([x(),d("design:type",String)],Mo.prototype,"orig",void 0);f([x(),d("design:type",String)],Mo.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],Mo.prototype,"modBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mo.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mo.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Mo.prototype,"vICMS",void 0);var gt=class{static{a(this,"ICMS10")}orig;CST;modBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};f([x(),d("design:type",String)],gt.prototype,"orig",void 0);f([x(),d("design:type",String)],gt.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],gt.prototype,"modBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"vICMS",void 0);f([m(),x(),d("design:type",String)],gt.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],gt.prototype,"vICMSST",void 0);var so=class{static{a(this,"ICMS20")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS};f([x(),d("design:type",String)],so.prototype,"orig",void 0);f([x(),d("design:type",String)],so.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],so.prototype,"modBC",void 0);f([m(),x(),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pRedBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],so.prototype,"vICMS",void 0);var _o=class{static{a(this,"ICMS30")}orig;CST;modBCST;vBCST;pICMSST;vICMSST};f([x(),d("design:type",String)],_o.prototype,"orig",void 0);f([x(),d("design:type",String)],_o.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],_o.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_o.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_o.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],_o.prototype,"vICMSST",void 0);var $r=class{static{a(this,"ICMS40")}orig;CST;vICMSDeson;motDesICMS};f([x(),d("design:type",String)],$r.prototype,"orig",void 0);f([x(),d("design:type",String)],$r.prototype,"CST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],$r.prototype,"vICMSDeson",void 0);f([m(),x(),d("design:type",String)],$r.prototype,"motDesICMS",void 0);var zt=class{static{a(this,"ICMS51")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;pDif;vICMSDif};f([x(),d("design:type",String)],zt.prototype,"orig",void 0);f([x(),d("design:type",String)],zt.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],zt.prototype,"modBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"pRedBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"vICMS",void 0);f([m(),N({fixed:4}),Mu(100),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"pDif",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],zt.prototype,"vICMSDif",void 0);var Lo=class{static{a(this,"ICMS60")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};f([x(),d("design:type",String)],Lo.prototype,"orig",void 0);f([x(),d("design:type",String)],Lo.prototype,"CST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lo.prototype,"vBCSTRet",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lo.prototype,"pST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lo.prototype,"vICMSSubstituto",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Lo.prototype,"vICMSSTRet",void 0);var ct=class{static{a(this,"ICMS70")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};f([x(),d("design:type",String)],ct.prototype,"orig",void 0);f([x(),d("design:type",String)],ct.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],ct.prototype,"modBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"pRedBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"vICMS",void 0);f([m(),x(),d("design:type",String)],ct.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ct.prototype,"vICMSST",void 0);var ft=class{static{a(this,"ICMS90")}orig;CST;modBC;pRedBC;vBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST};f([x(),d("design:type",String)],ft.prototype,"orig",void 0);f([x(),d("design:type",String)],ft.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],ft.prototype,"modBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pRedBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMS",void 0);f([m(),x(),d("design:type",String)],ft.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ft.prototype,"vICMSST",void 0);var Ee=class{static{a(this,"ICMSPart")}orig;CST;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;pMVAST;pRedBCST;vBCST;pICMSST;vICMSST;pBCOp;UFST};f([x(),d("design:type",String)],Ee.prototype,"orig",void 0);f([x(),d("design:type",String)],Ee.prototype,"CST",void 0);f([m(),x(),d("design:type",String)],Ee.prototype,"modBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pRedBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"vICMS",void 0);f([m(),x(),d("design:type",String)],Ee.prototype,"modBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pMVAST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pRedBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"vICMSST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ee.prototype,"pBCOp",void 0);f([m(),x(),d("design:type",String)],Ee.prototype,"UFST",void 0);var Bo=class{static{a(this,"ICMSST")}orig;CST;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};f([x(),d("design:type",String)],Bo.prototype,"orig",void 0);f([x(),d("design:type",String)],Bo.prototype,"CST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bo.prototype,"vBCSTRet",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bo.prototype,"pST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bo.prototype,"vICMSSubstituto",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Bo.prototype,"vICMSSTRet",void 0);var Jr=class{static{a(this,"ICMSSN101")}orig;CSOSN;pCredSN;vCredICMSSN};f([x(),d("design:type",String)],Jr.prototype,"orig",void 0);f([x(),d("design:type",String)],Jr.prototype,"CSOSN",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jr.prototype,"pCredSN",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Jr.prototype,"vCredICMSSN",void 0);var vi=class{static{a(this,"ICMSSN102")}orig;CSOSN};f([x(),d("design:type",String)],vi.prototype,"orig",void 0);f([x(),d("design:type",String)],vi.prototype,"CSOSN",void 0);var Qt=class{static{a(this,"ICMSSN201")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};f([x(),d("design:type",String)],Qt.prototype,"orig",void 0);f([x(),d("design:type",String)],Qt.prototype,"CSOSN",void 0);f([m(),x(),d("design:type",String)],Qt.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"vICMSST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"pCredSN",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Qt.prototype,"vCredICMSSN",void 0);var Uo=class{static{a(this,"ICMSSN202")}orig;CSOSN;modBCST;vBCST;pICMSST;vICMSST};f([x(),d("design:type",String)],Uo.prototype,"orig",void 0);f([x(),d("design:type",String)],Uo.prototype,"CSOSN",void 0);f([m(),x(),d("design:type",String)],Uo.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Uo.prototype,"vICMSST",void 0);var qo=class{static{a(this,"ICMSSN500")}orig;CSOSN;vBCSTRet;pST;vICMSSubstituto;vICMSSTRet};f([x(),d("design:type",String)],qo.prototype,"orig",void 0);f([x(),d("design:type",String)],qo.prototype,"CSOSN",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qo.prototype,"vBCSTRet",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qo.prototype,"pST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qo.prototype,"vICMSSubstituto",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],qo.prototype,"vICMSSTRet",void 0);var Ge=class{static{a(this,"ICMSSN900")}orig;CSOSN;modBC;vBC;pRedBC;pICMS;vICMS;modBCST;vBCST;pICMSST;vICMSST;pCredSN;vCredICMSSN};f([x(),d("design:type",String)],Ge.prototype,"orig",void 0);f([x(),d("design:type",String)],Ge.prototype,"CSOSN",void 0);f([m(),x(),d("design:type",String)],Ge.prototype,"modBC",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"vBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"pRedBC",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"pICMS",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"vICMS",void 0);f([m(),x(),d("design:type",String)],Ge.prototype,"modBCST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"vBCST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"pICMSST",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"vICMSST",void 0);f([m(),N({fixed:4}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"pCredSN",void 0);f([m(),N({fixed:2}),d("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],Ge.prototype,"vCredICMSSN",void 0);var de=class{static{a(this,"ICMS")}ICMS00;ICMS10;ICMS20;ICMS30;ICMS40;ICMS51;ICMS60;ICMS70;ICMS90;ICMSPart;ICMSST;ICMSSN101;ICMSSN102;ICMSSN201;ICMSSN202;ICMSSN500;ICMSSN900};f([m(),Le(),Be(()=>Mo),d("design:type",typeof IICMS00>"u"?Object:IICMS00)],de.prototype,"ICMS00",void 0);f([m(),Le(),Be(()=>gt),d("design:type",typeof IICMS10>"u"?Object:IICMS10)],de.prototype,"ICMS10",void 0);f([m(),Le(),Be(()=>so),d("design:type",typeof IICMS20>"u"?Object:IICMS20)],de.prototype,"ICMS20",void 0);f([m(),Le(),Be(()=>_o),d("design:type",typeof IICMS30>"u"?Object:IICMS30)],de.prototype,"ICMS30",void 0);f([m(),Le(),Be(()=>$r),d("design:type",typeof IICMS40>"u"?Object:IICMS40)],de.prototype,"ICMS40",void 0);f([m(),Le(),Be(()=>zt),d("design:type",typeof IICMS51>"u"?Object:IICMS51)],de.prototype,"ICMS51",void 0);f([m(),Le(),Be(()=>Lo),d("design:type",typeof IICMS60>"u"?Object:IICMS60)],de.prototype,"ICMS60",void 0);f([m(),Le(),Be(()=>ct),d("design:type",typeof IICMS70>"u"?Object:IICMS70)],de.prototype,"ICMS70",void 0);f([m(),Le(),Be(()=>ft),d("design:type",typeof IICMS90>"u"?Object:IICMS90)],de.prototype,"ICMS90",void 0);f([m(),Le(),Be(()=>Ee),d("design:type",typeof IICMSPart>"u"?Object:IICMSPart)],de.prototype,"ICMSPart",void 0);f([m(),Le(),Be(()=>Bo),d("design:type",typeof IICMSST>"u"?Object:IICMSST)],de.prototype,"ICMSST",void 0);f([m(),Le(),Be(()=>Jr),d("design:type",typeof IICMSSN101>"u"?Object:IICMSSN101)],de.prototype,"ICMSSN101",void 0);f([m(),Le(),Be(()=>vi),d("design:type",typeof IICMSSN102>"u"?Object:IICMSSN102)],de.prototype,"ICMSSN102",void 0);f([m(),Le(),Be(()=>Qt),d("design:type",typeof IICMSSN201>"u"?Object:IICMSSN201)],de.prototype,"ICMSSN201",void 0);f([m(),Le(),Be(()=>Uo),d("design:type",typeof IICMSSN202>"u"?Object:IICMSSN202)],de.prototype,"ICMSSN202",void 0);f([m(),Le(),Be(()=>qo),d("design:type",typeof IICMSSN500>"u"?Object:IICMSSN500)],de.prototype,"ICMSSN500",void 0);f([m(),Le(),Be(()=>Ge),d("design:type",typeof IICMSSN900>"u"?Object:IICMSSN900)],de.prototype,"ICMSSN900",void 0);de=f([_u({properties:["ICMS00","ICMS10","ICMS20","ICMS30","ICMS40","ICMS51","ICMS60","ICMS70","ICMS90","ICMSPart","ICMSST","ICMSSN101","ICMSSN102","ICMSSN201","ICMSSN202","ICMSSN500","ICMSSN900"]})],de);import{IsOptional as co,IsString as Ht,ValidateNested as lc}from"class-validator";import{Type as mc}from"class-transformer";function ht(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ht,"_ts_decorate");function St(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(St,"_ts_metadata");var Qo=class{static{a(this,"IPITrib")}CST;vBC;pIPI;qUnid;vUnid;vIPI};ht([Ht(),St("design:type",String)],Qo.prototype,"CST",void 0);ht([co(),Ht(),St("design:type",String)],Qo.prototype,"vBC",void 0);ht([co(),Ht(),St("design:type",String)],Qo.prototype,"pIPI",void 0);ht([co(),Ht(),St("design:type",String)],Qo.prototype,"qUnid",void 0);ht([co(),Ht(),St("design:type",String)],Qo.prototype,"vUnid",void 0);ht([co(),Ht(),St("design:type",String)],Qo.prototype,"vIPI",void 0);var ki=class{static{a(this,"IPINT")}CST};ht([Ht(),St("design:type",String)],ki.prototype,"CST",void 0);var po=class{static{a(this,"IPI")}CNPJProd;cSelo;qSelo;cEnq;IPITrib;IPINT};ht([co(),Ht(),St("design:type",String)],po.prototype,"CNPJProd",void 0);ht([co(),Ht(),St("design:type",String)],po.prototype,"cSelo",void 0);ht([co(),Ht(),St("design:type",String)],po.prototype,"qSelo",void 0);ht([Ht(),St("design:type",String)],po.prototype,"cEnq",void 0);ht([co(),lc(),mc(()=>Qo),St("design:type",typeof IIPITrib>"u"?Object:IIPITrib)],po.prototype,"IPITrib",void 0);ht([co(),lc(),mc(()=>ki),St("design:type",typeof IIPINT>"u"?Object:IIPINT)],po.prototype,"IPINT",void 0);import{IsOptional as oa,IsString as ra}from"class-validator";function ea(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ea,"_ts_decorate");function ta(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ta,"_ts_metadata");var hr=class{static{a(this,"II")}vBC;vDespAdu;vII;vIOF};ea([oa(),ra(),ta("design:type",String)],hr.prototype,"vBC",void 0);ea([oa(),ra(),ta("design:type",String)],hr.prototype,"vDespAdu",void 0);ea([oa(),ra(),ta("design:type",String)],hr.prototype,"vII",void 0);ea([oa(),ra(),ta("design:type",String)],hr.prototype,"vIOF",void 0);import{IsOptional as Ce,IsString as be,ValidateNested as na}from"class-validator";import{Type as ia}from"class-transformer";function ne(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ne,"_ts_decorate");function ie(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ie,"_ts_metadata");var Ho=class{static{a(this,"PISAliq")}CST;vBC;pPIS;vPIS};ne([be(),ie("design:type",String)],Ho.prototype,"CST",void 0);ne([Ce(),be(),ie("design:type",String)],Ho.prototype,"vBC",void 0);ne([Ce(),be(),ie("design:type",String)],Ho.prototype,"pPIS",void 0);ne([Ce(),be(),ie("design:type",String)],Ho.prototype,"vPIS",void 0);var $o=class{static{a(this,"PISQtde")}CST;qBCProd;vAliqProd;vPIS};ne([be(),ie("design:type",String)],$o.prototype,"CST",void 0);ne([Ce(),be(),ie("design:type",String)],$o.prototype,"qBCProd",void 0);ne([Ce(),be(),ie("design:type",String)],$o.prototype,"vAliqProd",void 0);ne([Ce(),be(),ie("design:type",String)],$o.prototype,"vPIS",void 0);var jn=class{static{a(this,"PISNT")}CST};ne([be(),ie("design:type",String)],jn.prototype,"CST",void 0);var $t=class{static{a(this,"PISOutr")}CST;vBC;pPIS;qBCProd;vAliqProd;vPIS};ne([be(),ie("design:type",String)],$t.prototype,"CST",void 0);ne([Ce(),be(),ie("design:type",String)],$t.prototype,"vBC",void 0);ne([Ce(),be(),ie("design:type",String)],$t.prototype,"pPIS",void 0);ne([Ce(),be(),ie("design:type",String)],$t.prototype,"qBCProd",void 0);ne([Ce(),be(),ie("design:type",String)],$t.prototype,"vAliqProd",void 0);ne([Ce(),be(),ie("design:type",String)],$t.prototype,"vPIS",void 0);var Sr=class{static{a(this,"PIS")}PISAliq;PISQtde;PISNT;PISOutr};ne([Ce(),na(),ia(()=>Ho),ie("design:type",typeof Ho>"u"?Object:Ho)],Sr.prototype,"PISAliq",void 0);ne([Ce(),na(),ia(()=>$o),ie("design:type",typeof $o>"u"?Object:$o)],Sr.prototype,"PISQtde",void 0);ne([Ce(),na(),ia(()=>jn),ie("design:type",typeof jn>"u"?Object:jn)],Sr.prototype,"PISNT",void 0);ne([Ce(),na(),ia(()=>$t),ie("design:type",typeof $t>"u"?Object:$t)],Sr.prototype,"PISOutr",void 0);var Jo=class{static{a(this,"PISST")}vBC;pPIS;qBCProd;vAliqProd;vPIS};ne([Ce(),be(),ie("design:type",String)],Jo.prototype,"vBC",void 0);ne([Ce(),be(),ie("design:type",String)],Jo.prototype,"pPIS",void 0);ne([Ce(),be(),ie("design:type",String)],Jo.prototype,"qBCProd",void 0);ne([Ce(),be(),ie("design:type",String)],Jo.prototype,"vAliqProd",void 0);ne([Ce(),be(),ie("design:type",String)],Jo.prototype,"vPIS",void 0);import{IsOptional as Re,IsString as Fe,ValidateNested as aa}from"class-validator";import{Type as sa}from"class-transformer";function ae(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ae,"_ts_decorate");function se(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(se,"_ts_metadata");var Go=class{static{a(this,"COFINSAliq")}CST;vBC;pCOFINS;vCOFINS};ae([Fe(),se("design:type",String)],Go.prototype,"CST",void 0);ae([Re(),Fe(),se("design:type",String)],Go.prototype,"vBC",void 0);ae([Re(),Fe(),se("design:type",String)],Go.prototype,"pCOFINS",void 0);ae([Re(),Fe(),se("design:type",String)],Go.prototype,"vCOFINS",void 0);var Wo=class{static{a(this,"COFINSQtde")}CST;qBCProd;vAliqProd;vCOFINS};ae([Fe(),se("design:type",String)],Wo.prototype,"CST",void 0);ae([Re(),Fe(),se("design:type",String)],Wo.prototype,"qBCProd",void 0);ae([Re(),Fe(),se("design:type",String)],Wo.prototype,"vAliqProd",void 0);ae([Re(),Fe(),se("design:type",String)],Wo.prototype,"vCOFINS",void 0);var Tn=class{static{a(this,"COFINSNT")}CST};ae([Fe(),se("design:type",String)],Tn.prototype,"CST",void 0);var Jt=class{static{a(this,"COFINSOutr")}CST;vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ae([Fe(),se("design:type",String)],Jt.prototype,"CST",void 0);ae([Re(),Fe(),se("design:type",String)],Jt.prototype,"vBC",void 0);ae([Re(),Fe(),se("design:type",String)],Jt.prototype,"pCOFINS",void 0);ae([Re(),Fe(),se("design:type",String)],Jt.prototype,"qBCProd",void 0);ae([Re(),Fe(),se("design:type",String)],Jt.prototype,"vAliqProd",void 0);ae([Re(),Fe(),se("design:type",String)],Jt.prototype,"vCOFINS",void 0);var Nr=class{static{a(this,"COFINS")}COFINSAliq;COFINSQtde;COFINSNT;COFINSOutr};ae([Re(),aa(),sa(()=>Go),se("design:type",typeof Go>"u"?Object:Go)],Nr.prototype,"COFINSAliq",void 0);ae([Re(),aa(),sa(()=>Wo),se("design:type",typeof Wo>"u"?Object:Wo)],Nr.prototype,"COFINSQtde",void 0);ae([Re(),aa(),sa(()=>Tn),se("design:type",typeof Tn>"u"?Object:Tn)],Nr.prototype,"COFINSNT",void 0);ae([Re(),aa(),sa(()=>Jt),se("design:type",typeof Jt>"u"?Object:Jt)],Nr.prototype,"COFINSOutr",void 0);var Ko=class{static{a(this,"COFINSST")}vBC;pCOFINS;qBCProd;vAliqProd;vCOFINS};ae([Re(),Fe(),se("design:type",String)],Ko.prototype,"vBC",void 0);ae([Re(),Fe(),se("design:type",String)],Ko.prototype,"pCOFINS",void 0);ae([Re(),Fe(),se("design:type",String)],Ko.prototype,"qBCProd",void 0);ae([Re(),Fe(),se("design:type",String)],Ko.prototype,"vAliqProd",void 0);ae([Re(),Fe(),se("design:type",String)],Ko.prototype,"vCOFINS",void 0);import{IsOptional as _n,IsString as Ln}from"class-validator";function Vn(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Vn,"_ts_decorate");function Mn(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Mn,"_ts_metadata");var fo=class{static{a(this,"ISSQN")}vBC;vAliq;vISSQN;cMunFG;cListServ;cSitTrib};Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"vBC",void 0);Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"vAliq",void 0);Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"vISSQN",void 0);Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"cMunFG",void 0);Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"cListServ",void 0);Vn([_n(),Ln(),Mn("design:type",String)],fo.prototype,"cSitTrib",void 0);import{IsOptional as Zo,IsString as ko}from"class-validator";function Xo(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Xo,"_ts_decorate");function Yo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Yo,"_ts_metadata");var Nt=class{static{a(this,"ICMSUFDest")}vBCUFDest;vBCFCPUFDest;pFCPUFDest;pICMSUFDest;pICMSInter;pICMSInterPart;vFCPUFDest;vICMSUFDest;vICMSUFRemet};Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"vBCUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"vBCFCPUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"pFCPUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"pICMSUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"pICMSInter",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"pICMSInterPart",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"vFCPUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"vICMSUFDest",void 0);Xo([Zo(),ko(),Yo("design:type",String)],Nt.prototype,"vICMSUFRemet",void 0);import{Choice as Bu}from"@nfets/core/application";function Gt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Gt,"_ts_decorate");function uo(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(uo,"_ts_metadata");var We=class{static{a(this,"Imposto")}vTotTrib;ICMS;IPI;ISSQN;II;PIS;PISST;COFINS;COFINSST;ICMSUFDest};Gt([lo(),Lu(),uo("design:type",Number)],We.prototype,"vTotTrib",void 0);Gt([lo(),tr(),er(()=>de),uo("design:type",typeof IICMS>"u"?Object:IICMS)],We.prototype,"ICMS",void 0);Gt([lo(),tr(),er(()=>po),uo("design:type",typeof IIPI>"u"?Object:IIPI)],We.prototype,"IPI",void 0);Gt([lo(),tr(),er(()=>fo),uo("design:type",typeof IISSQN>"u"?Object:IISSQN)],We.prototype,"ISSQN",void 0);Gt([lo(),tr(),er(()=>hr),uo("design:type",typeof III>"u"?Object:III)],We.prototype,"II",void 0);Gt([lo(),tr(),er(()=>Sr),uo("design:type",typeof IPIS>"u"?Object:IPIS)],We.prototype,"PIS",void 0);Gt([lo(),tr(),er(()=>Jo),uo("design:type",typeof IPISST>"u"?Object:IPISST)],We.prototype,"PISST",void 0);Gt([lo(),tr(),er(()=>Nr),uo("design:type",typeof ICOFINS>"u"?Object:ICOFINS)],We.prototype,"COFINS",void 0);Gt([lo(),tr(),er(()=>Ko),uo("design:type",typeof ICOFINSST>"u"?Object:ICOFINSST)],We.prototype,"COFINSST",void 0);Gt([lo(),tr(),er(()=>Nt),uo("design:type",typeof IICMSUFDest>"u"?Object:IICMSUFDest)],We.prototype,"ICMSUFDest",void 0);We=Gt([Bu({properties:["ICMS","ISSQN"]})],We);import{IsOptional as Uu,IsString as vc,ValidateNested as qu}from"class-validator";import{Type as Qu}from"class-transformer";function Fs(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Fs,"_ts_decorate");function Is(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Is,"_ts_metadata");var pa=class{static{a(this,"IpiDevol")}vIPIDevol};Fs([vc(),Is("design:type",String)],pa.prototype,"vIPIDevol",void 0);var Bn=class{static{a(this,"Devol")}pDevol;IPI};Fs([vc(),Is("design:type",String)],Bn.prototype,"pDevol",void 0);Fs([Uu(),qu(),Qu(()=>pa),Is("design:type",typeof IIpiDevol>"u"?Object:IIpiDevol)],Bn.prototype,"IPI",void 0);import{IsOptional as yc,IsString as gc,ValidateNested as hc}from"class-validator";import{Type as Sc}from"class-transformer";function ca(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(ca,"_ts_decorate");function fa(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(fa,"_ts_metadata");var Un=class{static{a(this,"Observation")}xCampo;xTexto};ca([gc(),fa("design:type",String)],Un.prototype,"xCampo",void 0);ca([gc(),fa("design:type",String)],Un.prototype,"xTexto",void 0);var qn=class{static{a(this,"ObsItem")}obsCont;obsFisco};ca([yc(),hc(),Sc(()=>Un),fa("design:type",typeof IObservation>"u"?Object:IObservation)],qn.prototype,"obsCont",void 0);ca([yc(),hc(),Sc(()=>Un),fa("design:type",typeof IObservation>"u"?Object:IObservation)],qn.prototype,"obsFisco",void 0);function Gr(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Gr,"_ts_decorate");function Wr(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Wr,"_ts_metadata");var da=class{static{a(this,"DetAttributes")}nItem};Gr([Nc(),Wr("design:type",String)],da.prototype,"nItem",void 0);var mo=class{static{a(this,"Det")}prod;imposto;impostoDevol;infAdProd;obsItem};Gr([Hu(),yi(),gi(()=>da),Wr("design:type",typeof IDetAttributes>"u"?Object:IDetAttributes)],mo.prototype,"$",void 0);Gr([yi(),gi(()=>P),Wr("design:type",typeof IProd>"u"?Object:IProd)],mo.prototype,"prod",void 0);Gr([ua(),yi(),gi(()=>We),Wr("design:type",typeof IImposto>"u"?Object:IImposto)],mo.prototype,"imposto",void 0);Gr([ua(),yi(),gi(()=>Bn),Wr("design:type",typeof IDevol>"u"?Object:IDevol)],mo.prototype,"impostoDevol",void 0);Gr([ua(),Nc(),Wr("design:type",String)],mo.prototype,"infAdProd",void 0);Gr([ua(),yi(),gi(()=>qn),Wr("design:type",typeof IObsItem>"u"?Object:IObsItem)],mo.prototype,"obsItem",void 0);import{IsDate as $u,IsOptional as hi,IsString as Cr}from"class-validator";import{TransformDecimal as Ju,TransformDateString as Gu}from"@nfets/core/application";function Wt(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Wt,"_ts_decorate");function Kt(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Kt,"_ts_metadata");var ke=class{static{a(this,"Avulsa")}CNPJ;xOrgao;matr;xAgente;fone;UF;nDAR;dEmi;vDAR;repEmi;dPag};Wt([Cr(),Kt("design:type",String)],ke.prototype,"CNPJ",void 0);Wt([Cr(),Kt("design:type",String)],ke.prototype,"xOrgao",void 0);Wt([Cr(),Kt("design:type",String)],ke.prototype,"matr",void 0);Wt([Cr(),Kt("design:type",String)],ke.prototype,"xAgente",void 0);Wt([hi(),Cr(),Kt("design:type",String)],ke.prototype,"fone",void 0);Wt([Cr(),Kt("design:type",String)],ke.prototype,"UF",void 0);Wt([hi(),Cr(),Kt("design:type",String)],ke.prototype,"nDAR",void 0);Wt([hi(),Gu({format:"YYYY-MM-DD"}),Kt("design:type",typeof Date>"u"?Object:Date)],ke.prototype,"dEmi",void 0);Wt([hi(),Ju({fixed:2}),Kt("design:type",typeof DecimalValue>"u"?Object:DecimalValue)],ke.prototype,"vDAR",void 0);Wt([Cr(),Kt("design:type",String)],ke.prototype,"repEmi",void 0);Wt([hi(),$u(),Kt("design:type",typeof Date>"u"?Object:Date)],ke.prototype,"dPag",void 0);import{IsString as Xu}from"class-validator";function Wu(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Wu,"_ts_decorate");function Ku(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ku,"_ts_metadata");var Si=class{static{a(this,"InfSolicNFF")}xSolic};Wu([Xu(),Ku("design:type",String)],Si.prototype,"xSolic",void 0);function le(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(le,"_ts_decorate");function me(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(me,"_ts_metadata");var Ni=class{static{a(this,"InfNFeAttributes")}Id;versao};le([et(),bc(),me("design:type",String)],Ni.prototype,"Id",void 0);le([et(),bc(),me("design:type",String)],Ni.prototype,"versao",void 0);var pe=class{static{a(this,"InfNFe")}ide;emit;avulsa;dest;retirada;entrega;autXML;det;total;transp;cobr;pag;infIntermed;infAdic;exporta;compra;cana;infRespTec;infSolicNFF};le([Os(),zs(),ze(()=>Ni),Ie(),me("design:type",typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes)],pe.prototype,"$",void 0);le([Os(),zs(),Ie(),ze(()=>J),me("design:type",typeof IIde>"u"?Object:IIde)],pe.prototype,"ide",void 0);le([Os(),zs(),Ie(),ze(()=>Ue),me("design:type",typeof IEmit>"u"?Object:IEmit)],pe.prototype,"emit",void 0);le([et(),Ie(),ze(()=>ke),me("design:type",typeof IAvulsa>"u"?Object:IAvulsa)],pe.prototype,"avulsa",void 0);le([et(),Ie(),ze(()=>qe),me("design:type",typeof IDest>"u"?Object:IDest)],pe.prototype,"dest",void 0);le([et(),Ie(),ze(()=>fe),me("design:type",typeof ILocal>"u"?Object:ILocal)],pe.prototype,"retirada",void 0);le([et(),Ie(),ze(()=>fe),me("design:type",typeof ILocal>"u"?Object:ILocal)],pe.prototype,"entrega",void 0);le([et(),Ie({each:!0}),Cc(10),ze(()=>fr),me("design:type",Array)],pe.prototype,"autXML",void 0);le([Ie({each:!0}),Cc(990),Yu(1),ze(()=>mo),me("design:type",Array)],pe.prototype,"det",void 0);le([Ie(),ze(()=>jr),me("design:type",typeof ITotal>"u"?Object:ITotal)],pe.prototype,"total",void 0);le([Ie(),ze(()=>at),me("design:type",typeof ITransp>"u"?Object:ITransp)],pe.prototype,"transp",void 0);le([et(),Ie(),ze(()=>In),me("design:type",typeof ICobr>"u"?Object:ICobr)],pe.prototype,"cobr",void 0);le([Ie(),ze(()=>zn),me("design:type",typeof IPag>"u"?Object:IPag)],pe.prototype,"pag",void 0);le([et(),Ie(),ze(()=>fn),me("design:type",typeof IInfIntermed>"u"?Object:IInfIntermed)],pe.prototype,"infIntermed",void 0);le([et(),Ie(),ze(()=>Ao),me("design:type",typeof IInfAdic>"u"?Object:IInfAdic)],pe.prototype,"infAdic",void 0);le([et(),Ie(),ze(()=>xr),me("design:type",typeof IExporta>"u"?Object:IExporta)],pe.prototype,"exporta",void 0);le([et(),Ie(),ze(()=>Ar),me("design:type",typeof ICompra>"u"?Object:ICompra)],pe.prototype,"compra",void 0);le([et(),Ie(),ze(()=>st),me("design:type",typeof ICana>"u"?Object:ICana)],pe.prototype,"cana",void 0);le([et(),Ie(),ze(()=>oo),me("design:type",typeof IInfRespTec>"u"?Object:IInfRespTec)],pe.prototype,"infRespTec",void 0);le([et(),Ie(),ze(()=>Si),me("design:type",typeof ISolicNFF>"u"?Object:ISolicNFF)],pe.prototype,"infSolicNFF",void 0);import{Type as zc}from"class-transformer";function xs(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(xs,"_ts_decorate");function As(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(As,"_ts_metadata");var la=class{static{a(this,"NFeAttributes")}xmlns};xs([ku(),Zu(),As("design:type",String)],la.prototype,"xmlns",void 0);var or=class{static{a(this,"NFe")}$;infNFe};xs([Fc(),Rc(),zc(()=>la),Ic(),As("design:type",typeof INFeAttributes>"u"?Object:INFeAttributes)],or.prototype,"$",void 0);xs([Fc(),Rc(),zc(()=>pe),Ic(),As("design:type",typeof IInfNFe>"u"?Object:IInfNFe)],or.prototype,"infNFe",void 0);function Ci(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ci,"_ts_decorate");function ma(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(ma,"_ts_metadata");var rr=class{static{a(this,"NfeAutorizacaoPayload")}tpAmb;cUF;idLote;indSinc="1";NFe};Ci([ws(tl),Ps(),ma("design:type",typeof EnvironmentCode>"u"?Object:EnvironmentCode)],rr.prototype,"tpAmb",void 0);Ci([ws(el),Ps(),ma("design:type",typeof StateCode>"u"?Object:StateCode)],rr.prototype,"cUF",void 0);Ci([rl(),ma("design:type",String)],rr.prototype,"idLote",void 0);Ci([Ps(),ws(["0","1"])],rr.prototype,"indSinc",void 0);Ci([nl(),ol(()=>or),ma("design:type",typeof SignedEntity>"u"?Object:SignedEntity)],rr.prototype,"NFe",void 0);import{RetAutorizacaoPayload as ul}from"@nfets/nfe/infrastructure/dto/services/ret-autorizacao";import{EventoPayload as ll}from"@nfets/nfe/infrastructure/dto/services/evento";import{ConsultaCadastroPayload as ml}from"@nfets/nfe/infrastructure/dto/services/consulta-cadastro";import{Environment as B}from"@nfets/core/domain";var Oc={AM:{[B.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"}},[B.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:{[B.Homolog]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hom1.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://hom1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://hom.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://hom.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}},[B.Production]:{RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://www.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeDistribuicaoDFe:{method:"nfeDistDFeInteresse",operation:"NFeDistribuicaoDFe",version:"1.01",url:"https://www1.nfe.fazenda.gov.br/NFeDistribuicaoDFe/NFeDistribuicaoDFe.asmx"},NfeConsultaDest:{method:"nfeConsultaNFDest",operation:"NfeConsultaDest",version:"1.01",url:"https://www.nfe.fazenda.gov.br/NFeConsultaDest/NFeConsultaDest.asmx"},NfeDownloadNF:{method:"nfeDownloadNF",operation:"NfeDownloadNF",version:"4.00",url:"https://www.nfe.fazenda.gov.br/NfeDownloadNF/NfeDownloadNF.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx"}}},BA:{[B.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeStatusServico4/NFeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeAutorizacao4/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeConsultaProtocolo4/NFeConsultaProtocolo4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeInutilizacao4/NFeInutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRetAutorizacao4/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.ba.gov.br/webservices/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.ba.gov.br/webservices/CadConsultaCadastro4/CadConsultaCadastro4.asmx"}}},GO:{[B.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"}},[B.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:{[B.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://hnfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.fazenda.mg.gov.br/nfe2/services/CadConsultaCadastro4"}}},MS:{[B.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"}},[B.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:{[B.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"}},[B.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:{[B.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfehomolog.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefaz.pe.gov.br/nfe-service/services/CadConsultaCadastro4"}}},PR:{[B.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://homologacao.nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeStatusServico4"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeAutorizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeConsultaProtocolo4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeInutilizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRetAutorizacao4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefa.pr.gov.br/nfe/NFeRecepcaoEvento4"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://nfe.sefa.pr.gov.br/nfe/CadConsultaCadastro4"}}},RS:{[B.Homolog]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe-homologacao.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.sefazrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.sefazrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SP:{[B.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"}},[B.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:{[B.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"}},[B.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:{[B.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"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}},SVCAN:{[B.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"}},[B.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:{[B.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"}},[B.Production]:{NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico4.asmx"},NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfe.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfe.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento4.asmx"},NfeConsultaCadastro:{method:"consultaCadastro4",operation:"CadConsultaCadastro4",version:"2.00",url:"https://cad.svrs.rs.gov.br/ws/cadconsultacadastro/cadconsultacadastro4.asmx"}}}};import{StateCodes as W}from"@nfets/core/domain";var il={[W.AC]:"SVRS",[W.AL]:"SVRS",[W.AM]:"AM",[W.AP]:"SVRS",[W.BA]:"BA",[W.CE]:"SVRS",[W.DF]:"SVRS",[W.ES]:"SVRS",[W.GO]:"GO",[W.MA]:"SVAN",[W.MG]:"MG",[W.MS]:"MS",[W.MT]:"MT",[W.PA]:"SVRS",[W.PB]:"SVRS",[W.PE]:"PE",[W.PI]:"SVRS",[W.PR]:"PR",[W.RJ]:"SVRS",[W.RN]:"SVRS",[W.RO]:"SVRS",[W.RR]:"SVRS",[W.RS]:"RS",[W.SC]:"SVRS",[W.SE]:"SVRS",[W.SP]:"SP",[W.TO]:"SVRS",AN:"AN",SVAN:"SVAN",SVRS:"SVRS",SVCAN:"SVCAN",SVCRS:"SVCRS"},xc=il;import{StateCodes as K}from"@nfets/core";var Ac={[K.AC]:"SVCAN",[K.AL]:"SVCAN",[K.AM]:"SVCRS",[K.AP]:"SVCAN",[K.BA]:"SVCRS",[K.CE]:"SVCAN",[K.DF]:"SVCAN",[K.ES]:"SVCAN",[K.GO]:"SVCRS",[K.MA]:"SVCRS",[K.MG]:"SVCAN",[K.MS]:"SVCRS",[K.MT]:"SVCRS",[K.PA]:"SVCAN",[K.PB]:"SVCAN",[K.PE]:"SVCRS",[K.PI]:"SVCAN",[K.PR]:"SVCRS",[K.RJ]:"SVCAN",[K.RN]:"SVCAN",[K.RO]:"SVCAN",[K.RR]:"SVCAN",[K.RS]:"SVCAN",[K.SC]:"SVCAN",[K.SE]:"SVCAN",[K.SP]:"SVCAN",[K.TO]:"SVCAN"};import vl,{directory as yl}from"@nfets/nfe/domain/entities/transmission/schemas";function Kr(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Kr,"_ts_decorate");function he(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(he,"_ts_metadata");var Ct=class{static{a(this,"NfeRemoteTransmitter")}remoteTransmissionRepository;constructor(e){this.remoteTransmissionRepository=e}options={};xmlns="http://www.portalfiscal.inf.br/nfe";configure(e){this.options=e;let{certificate:o}=this.options;return o&&this.remoteTransmissionRepository.setCertificate(o),this.options.schema??=vl.PL_009_V4,this}service(e){let o=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb,i=this.options.contingency?Ac[o]:xc[o];return Oc[i][n][e.service]}errors(){return Reflect.getMetadata(Pc,this)}validate(e){try{let o=this.errors();return o?Ec(new wc(o.join(", "))):("cUF"in e&&(e.cUF??=this.options.cUF),"tpAmb"in e&&(e.tpAmb??=this.options.tpAmb),pl(e))}finally{Reflect.deleteMetadata(Pc,this)}}payload(e,o){return{$:{xmlns:this.xmlns,versao:o},...e}}xsd(e){return al.resolve(yl,this.options.schema,e)}async consultStatus(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({...n,service:"NfeStatusServico"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consStatServ_v4.00.xsd"),payload:{consStatServ:this.payload(n,i.version)},method:"nfeStatusServicoNF"})}async inutilizacao(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({cUF:n.cUF,tpAmb:n.tpAmb,service:"NfeInutilizacao"}),r=["ID",n.cUF,n.ano.substring(0,2),n.CNPJ.padStart(14,"0"),n.mod,n.serie.padStart(3,"0"),n.nNFIni.padStart(9,"0"),n.nNFFin.padStart(9,"0")].join("");return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("inutNFe_v4.00.xsd"),payload:{inutNFe:this.payload({infInut:{$:{Id:r},...n}},i.version)},method:"nfeInutilizacaoNF"})}async consultaProtocolo(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({cUF:n.chNFe.substring(0,2),tpAmb:n.tpAmb,service:"NfeConsultaProtocolo"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consSitNFe_v4.00.xsd"),payload:{consSitNFe:this.payload(n,i.version)},method:"nfeConsultaNF"})}async autorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({...n,service:"NfeAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("enviNFe_v4.00.xsd"),payload:{enviNFe:this.payload(n,i.version)},method:"nfeAutorizacaoLote"})}async retAutorizacao(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({...n,service:"NfeRetAutorizacao"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("consReciNFe_v4.00.xsd"),payload:{consReciNFe:this.payload(n,i.version)},method:"nfeRetAutorizacaoLote"})}async recepcaoEvento(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value,i=this.service({...n,service:"RecepcaoEvento"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("envEvento_v4.00.xsd"),payload:{envEvento:this.payload(n,i.version)},method:"nfeRecepcaoEvento"})}async consultaCadastro(e){let o=this.validate(e);if(o.isLeft())return o;let n=o.value;if(!n.CNPJ&&!n.CPF&&!n.IE)return Ec(new wc("consultaCadastro: At least one identification field (CNPJ, CPF, or IE) must be provided"));let i=this.service({cUF:sl[n.UF],service:"NfeConsultaCadastro"});return this.remoteTransmissionRepository.send({root:"nfeDadosMsg",url:i.url,xsd:this.xsd("ConsCad_v4.00.xsd"),payload:{ConsCad:this.payload(n,i.version)},method:"consultaCadastro"})}};Kr([Xr(cl),he("design:type",Function),he("design:paramtypes",[typeof IConsultStatusPayload>"u"?Object:IConsultStatusPayload]),he("design:returntype",Promise)],Ct.prototype,"consultStatus",null);Kr([Xr(fl),he("design:type",Function),he("design:paramtypes",[typeof IInutilizacaoPayload>"u"?Object:IInutilizacaoPayload]),he("design:returntype",Promise)],Ct.prototype,"inutilizacao",null);Kr([Xr(dl),he("design:type",Function),he("design:paramtypes",[typeof IConsultaProtocoloPayload>"u"?Object:IConsultaProtocoloPayload]),he("design:returntype",Promise)],Ct.prototype,"consultaProtocolo",null);Kr([Xr(rr),he("design:type",Function),he("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),he("design:returntype",Promise)],Ct.prototype,"autorizacao",null);Kr([Xr(ul),he("design:type",Function),he("design:paramtypes",[typeof IRetAutorizacaoPayload>"u"?Object:IRetAutorizacaoPayload]),he("design:returntype",Promise)],Ct.prototype,"retAutorizacao",null);Kr([Xr(ll),he("design:type",Function),he("design:paramtypes",[typeof IEventoPayload>"u"?Object:IEventoPayload]),he("design:returntype",Promise)],Ct.prototype,"recepcaoEvento",null);Kr([Xr(ml),he("design:type",Function),he("design:paramtypes",[typeof IConsultaCadastroPayload>"u"?Object:IConsultaCadastroPayload]),he("design:returntype",Promise)],Ct.prototype,"consultaCadastro",null);import{TpEmis as bl}from"@nfets/nfe/domain/entities/constants/tp-emis";var Dc=class{static{a(this,"NfeAuthorizerPipeline")}certificate;http=_i.create();toolkit=new gl;caching=new Nl;certificates=new hl(this.http,this.caching);soap=new Sl(this.toolkit,this.certificates);transmitter=new Ct(this.soap);signer=new Cl(this.toolkit,this.certificates);constructor(e){this.certificate=e}async execute(e,o){let n=await this.certificates.read(this.certificate);if(n.isLeft())return n;let i=await this.signer.sign(e.NFe,{tag:"infNFe",mark:"Id"},n.value);return i.isLeft()?i:(this.transmitter.configure({cUF:e.NFe.infNFe.ide.cUF,tpAmb:e.NFe.infNFe.ide.tpAmb,...o,contingency:this.contingency(e),certificate:n.value}),e.idLote??=new Date().getTime().toString().slice(0,15),await this.transmitter.autorizacao({...e,NFe:i.value}))}contingency(e){let{dhCont:o,xJust:n,tpEmis:i}=e.NFe.infNFe.ide;if(!(!o||!n||i===bl.Normal))return{dhCont:o,xJust:n}}};import{NFeTsError as Il,StateCodes as Mc}from"@nfets/core/domain";import{Environment as F}from"@nfets/core/domain";var Es={AC:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hml.sefaznet.ac.gov.br/nfce/qrcode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaznet.ac.gov.br/nfce/qrcode"}}},AL:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.al.gov.br/QRCode/consultarNFCe.jsp"}}},AM:{[F.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"}},[F.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:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.sefaz.ap.gov.br/nfcehml/nfce.php"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.ap.gov.br/nfce/nfcep.php"}}},BA:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hnfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfe.sefaz.ba.gov.br/servicos/nfce/qrcode.aspx"}}},CE:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfceh.sefaz.ce.gov.br/pages/ShowNFCe.html"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.ce.gov.br/pages/ShowNFCe.html"}}},DF:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://dec.fazenda.df.gov.br/ConsultarNFCe.aspx"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.df.gov.br/nfce/qrcode"}}},ES:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://app.sefaz.es.gov.br/ConsultaNFCe/qrcode.aspx"}}},GO:{[F.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"}},[F.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:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefaz.ma.gov.br/portal/consultarNFCe.jsp"}}},MG:{[F.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"}},[F.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:{[F.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"}},[F.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:{[F.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"}},[F.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:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://appnfc.sefa.pa.gov.br/portal-homologacao/view/consultas/nfce/nfceForm.seam"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://appnfc.sefa.pa.gov.br/portal/view/consultas/nfce/nfceForm.seam"}}},PB:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pb.gov.br/nfcehom"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pb.gov.br/nfce"}}},PE:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://nfcehomolog.sefaz.pe.gov.br/nfce/consulta"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.sefaz.pe.gov.br/nfce/consulta"}}},PI:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.pi.gov.br/nfce/qrcode"}}},PR:{[F.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://homologacao.nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}},[F.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4"},NfeRetAutorizacao:{method:"nfeRetAutorizacao",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeStatusServico4"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento",version:"1.00",url:"https://nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.fazenda.pr.gov.br/nfce/qrcode"}}},RJ:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www4.fazenda.rj.gov.br/consultaNFCe/QRCode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://consultadfe.fazenda.rj.gov.br/consultaNFCe/QRCode"}}},RN:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://hom.nfce.set.rn.gov.br/consultarNFCe.aspx"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://nfce.set.rn.gov.br/consultarNFCe.aspx"}}},RO:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.sefin.ro.gov.br/consultanfce/consulta.jsp"}}},RR:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://200.174.88.103:8080/nfce/servlet/qrcode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.sefaz.rr.gov.br/servlet/qrcode"}}},RS:{[F.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"}},[F.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:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://hom.sat.sef.sc.gov.br/nfce/consulta"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://sat.sef.sc.gov.br/nfce/consulta"}}},SE:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://www.hom.nfe.se.gov.br/nfce/qrcode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.nfce.se.gov.br/nfce/qrcode"}}},SP:{[F.Homolog]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://homologacao.nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://homologacao.nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode"}},[F.Production]:{NfeAutorizacao:{method:"nfeAutorizacaoLote",operation:"NFeAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeAutorizacao4.asmx"},NfeRetAutorizacao:{method:"nfeRetAutorizacaoLote",operation:"NFeRetAutorizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRetAutorizacao4.asmx"},NfeInutilizacao:{method:"nfeInutilizacaoNF",operation:"NFeInutilizacao4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeInutilizacao4.asmx"},NfeConsultaProtocolo:{method:"nfeConsultaNF",operation:"NFeConsultaProtocolo4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeConsultaProtocolo4.asmx"},NfeStatusServico:{method:"nfeStatusServicoNF",operation:"NFeStatusServico4",version:"4.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeStatusServico4.asmx"},RecepcaoEvento:{method:"nfeRecepcaoEvento",operation:"NFeRecepcaoEvento4",version:"1.00",url:"https://nfce.fazenda.sp.gov.br/ws/NFeRecepcaoEvento4.asmx"},RecepcaoEPEC:{method:"nfeRecepcaoEvento",operation:"RecepcaoEvento",version:"1.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/RecepcaoEPEC.asmx"},EPECStatusServico:{method:"nfeStatusServicoNF2",operation:"NfeStatusServico2",version:"4.00",url:"https://nfce.epec.fazenda.sp.gov.br/EPECws/EPECStatusServico.asmx"},NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"https://www.nfce.fazenda.sp.gov.br/qrcode"}}},TO:{[F.Homolog]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"300",url:"http://homologacao.sefaz.to.gov.br/nfce/qrcode"}},[F.Production]:{NfeConsultaQR:{method:"QR-CODE",operation:"NfeConsultaQR",version:"200",url:"http://www.sefaz.to.gov.br/nfce/qrcode"}}},SVRS:{[F.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"}},[F.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:{[F.Homolog]:{},[F.Production]:{}}};import{Environment as jc,StateCodes as O}from"@nfets/core";var Tc={[jc.Homolog]:{[O.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[O.AL]:"www.sefaz.al.gov.br/nfce/consulta",[O.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[O.AM]:"www.sefaz.am.gov.br/nfce/consulta",[O.BA]:"http://hinternet.sefaz.ba.gov.br/nfce/consulta",[O.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[O.DF]:"www.fazenda.df.gov.br/nfce/consulta",[O.ES]:"www.sefaz.es.gov.br/nfce/consulta",[O.GO]:"www.nfce.go.gov.br/post/ver/214413/consulta-nfc-e-homologacao",[O.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[O.MG]:"https://hportalsped.fazenda.mg.gov.br/portalnfce",[O.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[O.MT]:"http://homologacao.sefaz.mt.gov.br/nfce/consultanfce",[O.PA]:"www.sefa.pa.gov.br/nfce/consulta",[O.PB]:"www.sefaz.pb.gov.br/nfcehom",[O.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[O.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[O.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[O.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[O.RN]:"www.set.rn.gov.br/nfce/consulta",[O.RO]:"www.sefin.ro.gov.br/nfce/consulta",[O.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[O.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[O.SE]:"http://www.hom.nfe.se.gov.br/nfce/consulta",[O.SC]:"https://hom.sat.sef.sc.gov.br/nfce/consulta",[O.SP]:"https://www.homologacao.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[O.TO]:"http://homologacao.sefaz.to.gov.br/nfce/consulta.jsf"},[jc.Production]:{[O.AC]:"www.sefaznet.ac.gov.br/nfce/consulta",[O.AL]:"www.sefaz.al.gov.br/nfce/consulta",[O.AP]:"www.sefaz.ap.gov.br/nfce/consulta",[O.AM]:"www.sefaz.am.gov.br/nfce/consulta",[O.BA]:"http://www.sefaz.ba.gov.br/nfce/consulta",[O.CE]:"www.sefaz.ce.gov.br/nfce/consulta",[O.DF]:"www.fazenda.df.gov.br/nfce/consulta",[O.ES]:"www.sefaz.es.gov.br/nfce/consulta",[O.GO]:"www.sefaz.go.gov.br/nfce/consulta",[O.MA]:"www.sefaz.ma.gov.br/nfce/consulta",[O.MG]:"https://portalsped.fazenda.mg.gov.br/portalnfce",[O.MS]:"http://www.dfe.ms.gov.br/nfce/consulta",[O.MT]:"http://www.sefaz.mt.gov.br/nfce/consultanfce",[O.PA]:"www.sefa.pa.gov.br/nfce/consulta",[O.PE]:"nfce.sefaz.pe.gov.br/nfce/consulta",[O.PR]:"http://www.fazenda.pr.gov.br/nfce/consulta",[O.PI]:"www.sefaz.pi.gov.br/nfce/consulta",[O.RJ]:"www.fazenda.rj.gov.br/nfce/consulta",[O.RN]:"www.set.rn.gov.br/nfce/consulta",[O.RO]:"www.sefin.ro.gov.br/nfce/consulta",[O.RR]:"www.sefaz.rr.gov.br/nfce/consulta",[O.RS]:"www.sefaz.rs.gov.br/nfce/consulta",[O.SC]:"https://sat.sef.sc.gov.br/nfce/consulta",[O.SE]:"http://www.nfce.se.gov.br/nfce/consulta",[O.SP]:"https://www.nfce.fazenda.sp.gov.br/NFCeConsultaPublica",[O.TO]:"www.sefaz.to.gov.br/nfce/consulta",[O.PB]:"www.sefaz.pb.gov.br/nfce/consulta"}};import{StateCodes as X}from"@nfets/core/domain";var Rl={[X.AC]:"SVRS",[X.AL]:"SVRS",[X.AM]:"AM",[X.AP]:"SVRS",[X.BA]:"SVRS",[X.CE]:"SVRS",[X.DF]:"SVRS",[X.ES]:"SVRS",[X.GO]:"GO",[X.MA]:"SVRS",[X.MG]:"MG",[X.MS]:"MS",[X.MT]:"MT",[X.PA]:"SVRS",[X.PB]:"SVRS",[X.PE]:"SVRS",[X.PI]:"SVRS",[X.PR]:"PR",[X.RJ]:"SVRS",[X.RN]:"SVRS",[X.RO]:"SVRS",[X.RR]:"SVRS",[X.RS]:"RS",[X.SC]:"SVRS",[X.SE]:"SVRS",[X.SP]:"SP",[X.TO]:"SVRS",SVRS:"SVRS"},Vc=Rl;import{NfceAutorizacaoPayload as zl}from"@nfets/nfe/infrastructure/dto/services/nfce-autorizacao";import{Validates as Ol}from"@nfets/core/application";import{left as xl}from"@nfets/core/shared/either";import{unreachable as Al}from"@nfets/core/shared";function Fl(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Fl,"_ts_decorate");function Ds(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Ds,"_ts_metadata");var js=class extends Ct{static{a(this,"NfceRemoteTransmitter")}remoteTransmissionRepository;qrCode;options={};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,n=e.tpAmb??this.options.tpAmb,i=Vc[o],p=Es[i][n][e.service];if(p)return p;let l=Object.keys(Mc).find(u=>Mc[u]===o);return Es[l][n][e.service]}async autorizacao(e){let o=await this.infNfeSupl(e);return o.isLeft()?o:(e.NFe.infNFeSupl=o.value,super.autorizacao(e))}getUrlConsult(e){let o=e.cUF??this.options.cUF,n=e.tpAmb??this.options.tpAmb;return Tc[n][o]}async infNfeSupl(e){let o=this.options.qrCode,n=this.service({...e,service:"NfeConsultaQR"});switch(o.version??=n.version,o.version){case"200":return await this.qrCode.execute(e.NFe,{version:o.version,urlConsult:this.getUrlConsult(e),urlService:n.url,CSC:o.CSC,CSCId:o.CSCId});case"300":return this.options.certificate?await this.qrCode.execute(e.NFe,{version:o.version,certificate:this.options.certificate,urlConsult:this.getUrlConsult(e),urlService:n.url}):xl(new Il("Certificate is required in QRCode version 3.00"));default:return Al(o.version)}}};Fl([Ol(zl),Ds("design:type",Function),Ds("design:paramtypes",[typeof IAutorizacaoPayload>"u"?Object:IAutorizacaoPayload]),Ds("design:returntype",Promise)],js.prototype,"autorizacao",null);import wl from"crypto";import{right as va,SignatureAlgorithm as Pl,unreachable as El}from"@nfets/core";import{TpEmis as _c}from"@nfets/nfe/domain";var Lc=class{static{a(this,"NfceQrcode")}certificateRepository;constructor(e){this.certificateRepository=e}async execute(e,o){let n=await this.content(e,o);return n.isLeft()?n:va(this.assemble(n.value,o))}async content(e,o){return this.isVersion200(o)?await this.execute200(e,o):this.isVersion300(o)?await this.execute300(e,o):El(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:n,CSCId:i}=o,r=e.infNFe.ide.tpAmb,s=Number.parseInt(i),p=e.infNFe.$.Id?.substring(3),l=Number.parseInt(n??"")/100;if(e.infNFe.ide.tpEmis!==_c.OFFLINE)return`${p}|${l}|${r}|${s}`;let v=e.Signature.SignedInfo.Reference.DigestValue.split("").map(b=>b.charCodeAt(0).toString(16).padStart(2,"0")).join(""),g=new Date(e.infNFe.ide.dhEmi).getDate(),C=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2);return`${p}|${l}|${r}|${g}|${C}|${v}|${s}`}async execute200(e,o){let{urlService:n,CSC:i}=o,r=this.getSequence(e,o),s=wl.createHash("sha1").update(`${r}${i}`).digest("hex").toUpperCase(),p=`${n}?p=`;return Promise.resolve(va(`${p}${r}|${s}`))}async execute300(e,o){let{urlService:n}=o,i=`${n}?p=`,r=e.infNFe.ide.tpAmb,s=e.infNFe.$.Id?.substring(3),p=Number.parseInt(o.version)/100;if(e.infNFe.ide.tpEmis!==_c.OFFLINE)return va(`${i}${s}|${p}|${r}`);let l=new Date(e.infNFe.ide.dhEmi).getDate(),u=Number(e.infNFe.total.ICMSTot.vNF).toFixed(2),v=e.infNFe.dest?.CNPJ??e.infNFe.dest?.CPF??e.infNFe.dest?.idEstrangeiro??"",g=v.length?e.infNFe.ide.idDest:"",C=`${s}|${p}|${r}|${l}|${u}|${g}$`,b=await this.certificateRepository.sign(C,o.certificate.privateKey,Pl.SHA1);return b.isLeft()?b:va(`${i}${C}|${b.value}`)}};import{Environment as Dl,NFeTsError as jl}from"@nfets/core/domain";import{left as Tl,right as Bc}from"@nfets/core/shared";import{ValidateErrorsMetadata as ya,Validates as xe}from"@nfets/core/application";import{NFe as Vl}from"@nfets/nfe/infrastructure/dto/nfe/nfe";import{InfNFeAttributes as Ml}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/inf-nfe";import{Ide as _l}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/ide";import{Emit as Ll}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/emit";import{Total as Bl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/total";import{Pag as Ul}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/pag";import{Transp as ql}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/transp";import{AccessKeyBuilder as Ql}from"@nfets/nfe/application/access-key/access-key-builder";import{NfeDetXmlBuilder as Hl}from"@nfets/nfe/application/xml-builder/nfe-det-xml-builder";import{DefaultDetBuilderAggregator as $l}from"@nfets/nfe/application/aggregator/det-builder-aggregator";import{plainToInstance as Jl}from"@nfets/core/application/validations/transformers/plain-to-instance";import{DefaultTotalBuilderAggregator as Gl}from"@nfets/nfe/application/aggregator/total-builder-aggregator";import{Cobr as Wl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/cobr";import{InfRespTec as Kl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/infresptec";import{InfSolicNFF as Xl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/inf-solic-nff";import{Avulsa as Yl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/avulsa";import{Dest as Zl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/dest";import{Local as Uc}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/local";import{AutXML as kl}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/autxml";import{InfIntermed as em}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/infintermed";import{Exporta as tm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/exporta";import{Compra as om}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/compra";import{InfAdic as rm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/infadic";import{Cana as nm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/cana";import{TpEmis as ga}from"@nfets/nfe/domain/entities/constants/tp-emis";import im from"@nfets/nfe/services/contingency-webservices-mod55";function Oe(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Oe,"_ts_decorate");function I(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(I,"_ts_metadata");var ue=class{static{a(this,"NfeXmlBuilder")}builder;contingency;data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}}};get entity(){return Vl}root="NFe";$det=new $l(this);$total=new Gl(this);nfeDetXmlBuilder=Hl.create(this.$det);static create(e,o){return new this(e,o)}constructor(e,o){this.builder=e,this.contingency=o}infNFe(e){return this.data.infNFe.$=e,this}ide(e){return this.data.infNFe.ide=e,this}emit(e){return this.data.infNFe.emit=e,this}avulsa(e){return this.data.infNFe.avulsa=e,this}dest(e){return this.data.infNFe.dest=e,this}retirada(e){return this.data.infNFe.retirada=e,this}entrega(e){return this.data.infNFe.entrega=e,this}autXML(e){return this.data.infNFe.autXML??=[],this.data.infNFe.autXML.push(e),this}det(e,o){return this.data.infNFe.det=e.map((n,i)=>{let r=o(this.nfeDetXmlBuilder.det({nItem:(i+1).toString()}),n);return this.collect(r),r.assemble()}),this}total(e){return this.data.infNFe.total=e,this}increment(e){let o=e(this.data.infNFe.total);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}:void 0},this}transp(e){return this.data.infNFe.transp=e,this}cobr(e){return this.data.infNFe.cobr=e,this}pag(e){return this.data.infNFe.pag=e,this}infIntermed(e){return this.data.infNFe.infIntermed=e,this}infAdic(e){return this.data.infNFe.infAdic=e,this}exporta(e){return this.data.infNFe.exporta=e,this}compra(e){return this.data.infNFe.compra=e,this}cana(e){return this.data.infNFe.cana=e,this}infRespTec(e){return this.data.infNFe.infRespTec=e,this}infSolicNFF(e){return this.data.infNFe.infSolicNFF=e,this}quiet(){return Reflect.deleteMetadata(ya,this),this}toObject(){let e=this.errors();return e?Tl(new jl(e.join(", "))):(this.$total?.aggregate(),this.assertHomologValidations(),this.assertContingencyModes(),this.fillAccessKeyIfEmpty(),Bc(Jl(this.data,this.entity)))}async assemble(){let e=this.toObject();return e.isLeft()?e:Bc(await this.builder.build(e.value,{rootName:this.root}))}assertHomologValidations(){return this.data.infNFe.ide.tpAmb!==Dl.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!==ga.Normal)return;switch(im[e]){case"SVCAN":return this.data.infNFe.ide.tpEmis=ga.SVCAN,void 0;case"SVCRS":return this.data.infNFe.ide.tpEmis=ga.SVCRS,void 0}}automaticallyInferContingencyMode(){let{xJust:e,dhCont:o,tpEmis:n}=this.data.infNFe.ide;if(!(!e&&!o&&n===ga.Normal))return this.contingency={xJust:e??"SEFAZ fora do Ar",dhCont:o??new Date().toISOString()},this.assertContingencyModes()}errors(){return Reflect.getMetadata(ya,this)}collect(e){let o=Reflect.getMetadata(ya,e);if(!o)return;let n=this.errors();Reflect.defineMetadata(ya,(n??[]).concat(o),this)}fillAccessKeyIfEmpty(){if(this.data.infNFe.$.Id)return;let e=new Ql().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}}};Oe([xe(Ml),I("design:type",Function),I("design:paramtypes",[typeof IInfNFeAttributes>"u"?Object:IInfNFeAttributes]),I("design:returntype",void 0)],ue.prototype,"infNFe",null);Oe([xe(_l),I("design:type",Function),I("design:paramtypes",[typeof IIde>"u"?Object:IIde]),I("design:returntype",void 0)],ue.prototype,"ide",null);Oe([xe(Ll),I("design:type",Function),I("design:paramtypes",[typeof IEmit>"u"?Object:IEmit]),I("design:returntype",void 0)],ue.prototype,"emit",null);Oe([xe(Yl),I("design:type",Function),I("design:paramtypes",[typeof IAvulsa>"u"?Object:IAvulsa]),I("design:returntype",void 0)],ue.prototype,"avulsa",null);Oe([xe(Zl),I("design:type",Function),I("design:paramtypes",[typeof IDest>"u"?Object:IDest]),I("design:returntype",void 0)],ue.prototype,"dest",null);Oe([xe(Uc),I("design:type",Function),I("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),I("design:returntype",void 0)],ue.prototype,"retirada",null);Oe([xe(Uc),I("design:type",Function),I("design:paramtypes",[typeof ILocal>"u"?Object:ILocal]),I("design:returntype",void 0)],ue.prototype,"entrega",null);Oe([xe(kl),I("design:type",Function),I("design:paramtypes",[typeof IAutXML>"u"?Object:IAutXML]),I("design:returntype",void 0)],ue.prototype,"autXML",null);Oe([xe(Bl),I("design:type",Function),I("design:paramtypes",[typeof ITotal>"u"?Object:ITotal]),I("design:returntype",void 0)],ue.prototype,"total",null);Oe([xe(ql),I("design:type",Function),I("design:paramtypes",[typeof ITransp>"u"?Object:ITransp]),I("design:returntype",void 0)],ue.prototype,"transp",null);Oe([xe(Wl),I("design:type",Function),I("design:paramtypes",[typeof ICobr>"u"?Object:ICobr]),I("design:returntype",void 0)],ue.prototype,"cobr",null);Oe([xe(Ul),I("design:type",Function),I("design:paramtypes",[typeof IPag>"u"?Object:IPag]),I("design:returntype",void 0)],ue.prototype,"pag",null);Oe([xe(em),I("design:type",Function),I("design:paramtypes",[typeof IInfIntermed>"u"?Object:IInfIntermed]),I("design:returntype",void 0)],ue.prototype,"infIntermed",null);Oe([xe(rm),I("design:type",Function),I("design:paramtypes",[typeof IInfAdic>"u"?Object:IInfAdic]),I("design:returntype",void 0)],ue.prototype,"infAdic",null);Oe([xe(tm),I("design:type",Function),I("design:paramtypes",[typeof IExporta>"u"?Object:IExporta]),I("design:returntype",void 0)],ue.prototype,"exporta",null);Oe([xe(om),I("design:type",Function),I("design:paramtypes",[typeof ICompra>"u"?Object:ICompra]),I("design:returntype",void 0)],ue.prototype,"compra",null);Oe([xe(nm),I("design:type",Function),I("design:paramtypes",[typeof ICana>"u"?Object:ICana]),I("design:returntype",void 0)],ue.prototype,"cana",null);Oe([xe(Kl),I("design:type",Function),I("design:paramtypes",[typeof IInfRespTec>"u"?Object:IInfRespTec]),I("design:returntype",void 0)],ue.prototype,"infRespTec",null);Oe([xe(Xl),I("design:type",Function),I("design:paramtypes",[typeof ISolicNFF>"u"?Object:ISolicNFF]),I("design:returntype",void 0)],ue.prototype,"infSolicNFF",null);import{NFCe as am}from"@nfets/nfe/infrastructure/dto/nfe/nfce";import{TpEmis as qc}from"@nfets/nfe/domain";var Qc=class extends ue{static{a(this,"NfceXmlBuilder")}data={$:{xmlns:"http://www.portalfiscal.inf.br/nfe"},infNFe:{total:{ICMSTot:{}}},infNFeSupl:{}};get entity(){return am}static create(e,o){return new this(e,o)}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===qc.Normal)return this.data.infNFe.ide.tpEmis=qc.OFFLINE,void 0}};import{Validates as xt}from"@nfets/core/application";import{Prod as sm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/prod";import{DetAttributes as pm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det";import{Imposto as cm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto";import{IPI as fm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/ipi";import{ICMS as dm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/icms";import{ISSQN as um}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/issqn";import{PIS as lm,PISST as mm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/pis";import{COFINS as vm,COFINSST as ym}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/cofins";import{ICMSUFDest as gm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/icmsufdest";import{II as hm}from"@nfets/nfe/infrastructure/dto/nfe/inf-nfe/det/imposto/ii";function Ot(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Ot,"_ts_decorate");function V(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(V,"_ts_metadata");var dt=class{static{a(this,"NfeDetXmlBuilder")}listener;data={};static create(e){return new this(e)}constructor(e){this.listener=e}det(e){return this.data.$=e,this}prod(e){return this.data.prod=e,this.listener?.prod(e),this}imposto(e){return this.data.imposto=e,this}icms(e){return this.data.imposto??={},this.data.imposto.ICMS=e,this.listener?.icms(e),this}issqn(e){return this.data.imposto??={},this.data.imposto.ISSQN=e,this}ii(e){return this.data.imposto??={},this.data.imposto.II=e,this}ipi(e){return this.data.imposto??={},this.data.imposto.IPI=e,this}pis(e){return this.data.imposto??={},this.data.imposto.PIS=e,this}pisst(e){return this.data.imposto??={},this.data.imposto.PISST=e,this}cofins(e){return this.data.imposto??={},this.data.imposto.COFINS=e,this}cofinsst(e){return this.data.imposto??={},this.data.imposto.COFINSST=e,this}icmsufdest(e){return this.data.imposto??={},this.data.imposto.ICMSUFDest=e,this}assemble(){return this.data.imposto&&this.imposto(this.data.imposto),this.data}};Ot([xt(pm),V("design:type",Function),V("design:paramtypes",[typeof IDetAttributes>"u"?Object:IDetAttributes]),V("design:returntype",void 0)],dt.prototype,"det",null);Ot([xt(sm),V("design:type",Function),V("design:paramtypes",[typeof IProd>"u"?Object:IProd]),V("design:returntype",void 0)],dt.prototype,"prod",null);Ot([xt(cm),V("design:type",Function),V("design:paramtypes",[typeof IImposto>"u"?Object:IImposto]),V("design:returntype",void 0)],dt.prototype,"imposto",null);Ot([xt(dm),V("design:type",Function),V("design:paramtypes",[typeof IICMS>"u"?Object:IICMS]),V("design:returntype",void 0)],dt.prototype,"icms",null);Ot([xt(um),V("design:type",Function),V("design:paramtypes",[typeof IISSQN>"u"?Object:IISSQN]),V("design:returntype",void 0)],dt.prototype,"issqn",null);Ot([xt(hm),V("design:type",Function),V("design:paramtypes",[typeof III>"u"?Object:III]),V("design:returntype",void 0)],dt.prototype,"ii",null);Ot([xt(fm),V("design:type",Function),V("design:paramtypes",[typeof IIPI>"u"?Object:IIPI]),V("design:returntype",void 0)],dt.prototype,"ipi",null);Ot([xt(lm),V("design:type",Function),V("design:paramtypes",[typeof IPIS>"u"?Object:IPIS]),V("design:returntype",void 0)],dt.prototype,"pis",null);Ot([xt(mm),V("design:type",Function),V("design:paramtypes",[typeof IPISST>"u"?Object:IPISST]),V("design:returntype",void 0)],dt.prototype,"pisst",null);Ot([xt(vm),V("design:type",Function),V("design:paramtypes",[typeof ICOFINS>"u"?Object:ICOFINS]),V("design:returntype",void 0)],dt.prototype,"cofins",null);Ot([xt(ym),V("design:type",Function),V("design:paramtypes",[typeof ICOFINSST>"u"?Object:ICOFINSST]),V("design:returntype",void 0)],dt.prototype,"cofinsst",null);Ot([xt(gm),V("design:type",Function),V("design:paramtypes",[typeof IICMSUFDest>"u"?Object:IICMSUFDest]),V("design:returntype",void 0)],dt.prototype,"icmsufdest",null);import{Type as Cm}from"class-transformer";import{IsString as Jc}from"class-validator";function Hc(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Hc,"_ts_decorate");function $c(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a($c,"_ts_metadata");var Qn=class{static{a(this,"InfNFeSupl")}qrCode;urlChave};Hc([Jc(),$c("design:type",String)],Qn.prototype,"qrCode",void 0);Hc([Jc(),$c("design:type",String)],Qn.prototype,"urlChave",void 0);function Sm(t,e,o,n){var i=arguments.length,r=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,o,n);else for(var p=t.length-1;p>=0;p--)(s=t[p])&&(r=(i<3?s(r):i>3?s(e,o,r):s(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r}a(Sm,"_ts_decorate");function Nm(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}a(Nm,"_ts_metadata");var ha=class extends or{static{a(this,"NFCe")}infNFeSupl};Sm([Cm(()=>Qn),Nm("design:type",typeof IInfNFeSupl>"u"?Object:IInfNFeSupl)],ha.prototype,"infNFeSupl",void 0);export{bm as a,Fm as b,Ts as c,Vs as d,_s as e,or as f,Ct as g,Dc as h,js as i,Lc as j,ue as k,Qc as l,dt as m,ha as n};
|