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.
- package/dist/cjs/core/exceptions/logger.d.ts +2 -0
- package/dist/cjs/core/interfaces/SaveFilesImpl.d.ts +1 -1
- package/dist/cjs/core/types/NFeWizard.d.ts +1 -0
- package/dist/cjs/core/utils/Utility.d.ts +1 -1
- package/dist/cjs/index.cjs +3 -3
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/modules/dfe/base/SaveFiles.d.ts +1 -1
- package/dist/cjs/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +2 -2
- package/dist/esm/core/exceptions/logger.d.ts +2 -0
- package/dist/esm/core/interfaces/SaveFilesImpl.d.ts +1 -1
- package/dist/esm/core/types/NFeWizard.d.ts +1 -0
- package/dist/esm/core/utils/Utility.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/modules/dfe/base/SaveFiles.d.ts +1 -1
- package/dist/esm/modules/dfe/nfe/services/NFEDistribuicaoDFe/NFEDistribuicaoDFeService.d.ts +2 -2
- package/package.json +3 -2
|
@@ -7,6 +7,6 @@ declare class SaveFiles implements SaveFilesImpl {
|
|
|
7
7
|
utility: Utility;
|
|
8
8
|
environment: Environment;
|
|
9
9
|
constructor(environment: Environment, utility: Utility);
|
|
10
|
-
salvaArquivos(xmlConsulta: string, responseInJson: GenericObject, xmlRetorno: AxiosResponse<any, any>, metodo: string, options?: Record<string, any>): void;
|
|
10
|
+
salvaArquivos(xmlConsulta: string, responseInJson: GenericObject | undefined, xmlRetorno: AxiosResponse<any, any>, metodo: string, xmlFormated?: string, options?: Record<string, any>): void;
|
|
11
11
|
}
|
|
12
12
|
export default SaveFiles;
|
|
@@ -2,7 +2,7 @@ import { AxiosInstance } from 'axios';
|
|
|
2
2
|
import Environment from '@Modules/environment/Environment.js';
|
|
3
3
|
import Utility from '@Utils/Utility.js';
|
|
4
4
|
import XmlBuilder from '@Adapters/XmlBuilder.js';
|
|
5
|
-
import { ConsultaNFe } from '@Types';
|
|
5
|
+
import { ConsultaNFe, GenericObject } from '@Types';
|
|
6
6
|
import BaseNFE from '@Modules/dfe/base/BaseNFe.js';
|
|
7
7
|
import { GerarConsultaImpl, SaveFilesImpl } from '@Interfaces';
|
|
8
8
|
declare class NFEDistribuicaoDFeService extends BaseNFE {
|
|
@@ -10,7 +10,7 @@ declare class NFEDistribuicaoDFeService extends BaseNFE {
|
|
|
10
10
|
protected gerarXml(data: ConsultaNFe): string;
|
|
11
11
|
gerarXmlNFeDistribuicaoDFe(data: ConsultaNFe): string;
|
|
12
12
|
Exec(data: ConsultaNFe): Promise<{
|
|
13
|
-
data:
|
|
13
|
+
data: GenericObject;
|
|
14
14
|
xMotivo: any;
|
|
15
15
|
filesList: string[];
|
|
16
16
|
}>;
|
|
@@ -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
|
}
|
|
@@ -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;
|