nfewizard-io
Version:
NFeWizard-io é uma biblioteca Node.js projetada para simplificar a interação com os webservices da SEFAZ, proporcionando uma solução robusta para automação de processos relacionados à Nota Fiscal Eletrônica (NF-e).
19 lines (18 loc) • 870 B
TypeScript
import { GenericObject } from 'src/core/types';
export default class XmlParser {
constructor();
findInObj: (obj: GenericObject, chave: string) => any;
removeJsonTextAttribute(value: string, parentElement: any): void;
getStatusServicoBody(jsonData: any): any;
getConsultaProtocoloBody(jsonData: any): any;
getRecepcaoEventoBody(jsonData: any): any;
getDistribuicaoDFe(jsonData: any): any;
getDistribuicaoDFeProcBody(jsonData: any): any;
getDistribuicaoDFeResBody(jsonData: any): any;
getDistribuicaoDFeEventBody(jsonData: any): any;
getAutorizacaoEventBody(jsonData: any): any;
getAutorizacaoFinalEventBody(jsonData: any): any;
getAutorizacaoRetornoEventBody(jsonData: any): any;
getInutilizacaoRetornoEventBody(jsonData: any): any;
convertXmlToJson(xml: string, metodo: string, nsu?: string): GenericObject;
}