UNPKG

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).

21 lines (20 loc) 550 B
import https from 'https'; import { NFeWizardProps } from 'src/core/types'; import { AxiosInstance } from 'axios'; declare class Environment { config: NFeWizardProps; certificate: string; cert_key: string; agent: https.Agent; isLoaded: boolean; constructor(config: NFeWizardProps); getIsLoaded(): boolean; getConfig(): NFeWizardProps; getCertKey(): string; getCert(): string; getHttpAgent(): https.Agent; loadEnvironment(): Promise<{ axios: AxiosInstance; }>; } export default Environment;