nfewizard-io 0.3.13 → 0.3.15

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.
@@ -0,0 +1,2 @@
1
+ import winston from 'winston';
2
+ export declare const logger: winston.Logger;
@@ -1,5 +1,5 @@
1
1
  import { GenericObject } from '@Types/Utils';
2
2
  import { AxiosResponse } from 'axios';
3
3
  export interface SaveFilesImpl {
4
- salvaArquivos(xmlConsulta: string, responseInJson: GenericObject, xmlRetorno: AxiosResponse<any, any>, metodo: string, options?: Record<string, any>): void;
4
+ salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void;
5
5
  }
@@ -157,6 +157,7 @@ export type NFeWizardProps = {
157
157
  */
158
158
  log?: {
159
159
  exibirLogNoConsole?: boolean;
160
+ armazenarLogs?: boolean;
160
161
  };
161
162
  /**
162
163
  * @param {boolean} useOpenSSL - Define se a lib deve utilizar métodos que fazem uso do OpenSSL ou não
@@ -81,6 +81,6 @@ declare class Utility {
81
81
  };
82
82
  private getRequestLogFileName;
83
83
  salvaConsulta(xmlConsulta: string, xmlFormated: string, metodo: string, name?: string): void;
84
- salvaRetorno(xmlRetorno: string, responseInJson: GenericObject, metodo: string, name?: string): void;
84
+ salvaRetorno(xmlRetorno: string, responseInJson: GenericObject | undefined, metodo: string, name?: string): void;
85
85
  }
86
86
  export default Utility;