fiscalapi 4.0.410 → 4.0.417
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/common/file-response.d.ts +8 -8
- package/dist/cjs/common/file-response.d.ts.map +1 -1
- package/dist/cjs/models/manifest.d.ts +1 -2
- package/dist/cjs/models/manifest.d.ts.map +1 -1
- package/dist/cjs/models/manifest.js +1 -0
- package/dist/cjs/models/manifest.js.map +1 -1
- package/dist/cjs/services/manifest-service.d.ts +8 -7
- package/dist/cjs/services/manifest-service.d.ts.map +1 -1
- package/dist/cjs/services/manifest-service.js +11 -11
- package/dist/cjs/services/manifest-service.js.map +1 -1
- package/dist/esm/common/file-response.d.ts +8 -8
- package/dist/esm/common/file-response.d.ts.map +1 -1
- package/dist/esm/models/manifest.d.ts +1 -2
- package/dist/esm/models/manifest.d.ts.map +1 -1
- package/dist/esm/models/manifest.js +1 -0
- package/dist/esm/models/manifest.js.map +1 -1
- package/dist/esm/services/manifest-service.d.ts +8 -7
- package/dist/esm/services/manifest-service.d.ts.map +1 -1
- package/dist/esm/services/manifest-service.js +11 -11
- package/dist/esm/services/manifest-service.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*Por ejemplo:
|
|
2
|
+
* Modelo de respuesta de los endpoints que devuelven un archivo.
|
|
3
|
+
* Por ejemplo: generación del PDF o recuperación del XML de una factura.
|
|
4
4
|
*/
|
|
5
5
|
export interface FileResponse {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Contenido del archivo en base64
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
base64File?: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Nombre del archivo
|
|
12
12
|
*/
|
|
13
|
-
fileName
|
|
13
|
+
fileName?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Extensión del archivo
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
fileExtension?: string;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=file-response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-response.d.ts","sourceRoot":"","sources":["../../../src/common/file-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-response.d.ts","sourceRoot":"","sources":["../../../src/common/file-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { BaseDto } from '../common/base-dto';
|
|
2
1
|
/**
|
|
3
2
|
* Solicitud para firmar un manifiesto.
|
|
4
3
|
* Contiene el certificado, llave privada y contraseña en base64.
|
|
5
4
|
*/
|
|
6
|
-
export interface SignManifestRequest
|
|
5
|
+
export interface SignManifestRequest {
|
|
7
6
|
/** Certificado (.cer) en base64 */
|
|
8
7
|
base64Cer?: string;
|
|
9
8
|
/** Llave privada (.key) en base64 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IAEnB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,4BAA4B;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":";AAAA,yBAAyB"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { IFiscalapiHttpClient } from '../http/fiscalapi-http-client.interface';
|
|
2
1
|
import { ApiResponse } from '../common/api-response';
|
|
3
|
-
import {
|
|
2
|
+
import { IFiscalapiHttpClient } from '../http/fiscalapi-http-client.interface';
|
|
4
3
|
import { IManifestService } from '../abstractions/manifest-service.interface';
|
|
5
4
|
import { SignManifestRequest, SignManifestResponse } from '../models/manifest';
|
|
6
5
|
/**
|
|
7
6
|
* Implementación del servicio de manifiestos
|
|
8
7
|
*/
|
|
9
|
-
export declare class ManifestService
|
|
8
|
+
export declare class ManifestService implements IManifestService {
|
|
9
|
+
/** Cliente HTTP */
|
|
10
|
+
private readonly httpClient;
|
|
11
|
+
/** Ruta base del recurso */
|
|
12
|
+
private readonly baseEndpoint;
|
|
10
13
|
/**
|
|
11
14
|
* Crea una nueva instancia del servicio de manifiestos
|
|
12
15
|
* @param {IFiscalapiHttpClient} httpClient - Cliente HTTP
|
|
13
16
|
* @param {string} apiVersion - Versión de la API
|
|
14
17
|
*/
|
|
15
|
-
constructor(httpClient: IFiscalapiHttpClient, apiVersion
|
|
18
|
+
constructor(httpClient: IFiscalapiHttpClient, apiVersion?: string);
|
|
16
19
|
/**
|
|
17
|
-
*
|
|
18
|
-
* @param {SignManifestRequest} request - Solicitud con certificado, llave y contraseña
|
|
19
|
-
* @returns {Promise<ApiResponse<SignManifestResponse>>} Respuesta con el archivo firmado
|
|
20
|
+
* @inheritdoc
|
|
20
21
|
*/
|
|
21
22
|
sign(request: SignManifestRequest): Promise<ApiResponse<SignManifestResponse>>;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-service.d.ts","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"manifest-service.d.ts","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/E;;GAEG;AACH,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,mBAAmB;IACnB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD,4BAA4B;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;IAEtC;;;;OAIG;gBACS,UAAU,EAAE,oBAAoB,EAAE,UAAU,GAAE,MAAa;IAQvE;;OAEG;IACG,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;CAQrF"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ManifestService = void 0;
|
|
4
|
-
const base_fiscalapi_service_1 = require("./base-fiscalapi-service");
|
|
5
4
|
/**
|
|
6
5
|
* Implementación del servicio de manifiestos
|
|
7
6
|
*/
|
|
8
|
-
class ManifestService
|
|
7
|
+
class ManifestService {
|
|
9
8
|
/**
|
|
10
9
|
* Crea una nueva instancia del servicio de manifiestos
|
|
11
10
|
* @param {IFiscalapiHttpClient} httpClient - Cliente HTTP
|
|
12
11
|
* @param {string} apiVersion - Versión de la API
|
|
13
12
|
*/
|
|
14
|
-
constructor(httpClient, apiVersion) {
|
|
15
|
-
|
|
13
|
+
constructor(httpClient, apiVersion = 'v4') {
|
|
14
|
+
if (!httpClient)
|
|
15
|
+
throw new Error('httpClient no puede ser nulo o indefinido');
|
|
16
|
+
if (!apiVersion)
|
|
17
|
+
throw new Error('apiVersion no puede ser nulo o indefinido');
|
|
18
|
+
this.httpClient = httpClient;
|
|
19
|
+
this.baseEndpoint = `api/${apiVersion}/manifests`;
|
|
16
20
|
}
|
|
17
21
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @param {SignManifestRequest} request - Solicitud con certificado, llave y contraseña
|
|
20
|
-
* @returns {Promise<ApiResponse<SignManifestResponse>>} Respuesta con el archivo firmado
|
|
22
|
+
* @inheritdoc
|
|
21
23
|
*/
|
|
22
24
|
async sign(request) {
|
|
23
25
|
if (!request) {
|
|
24
26
|
throw new Error('request cannot be null');
|
|
25
27
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
method: 'POST',
|
|
29
|
-
});
|
|
28
|
+
// POST /api/v4/manifests
|
|
29
|
+
return this.httpClient.postAsync(this.baseEndpoint, request);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
exports.ManifestService = ManifestService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-service.js","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"manifest-service.js","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":";;;AAKA;;GAEG;AACH,MAAa,eAAe;IAO1B;;;;OAIG;IACH,YAAY,UAAgC,EAAE,aAAqB,IAAI;QACrE,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAC9E,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAE9E,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,OAAO,UAAU,YAAY,CAAC;IACpD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CAAC,OAA4B;QACrC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,yBAAyB;QACzB,OAAO,IAAI,CAAC,UAAU,CAAC,SAAS,CAA4C,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAC1G,CAAC;CACF;AA/BD,0CA+BC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*Por ejemplo:
|
|
2
|
+
* Modelo de respuesta de los endpoints que devuelven un archivo.
|
|
3
|
+
* Por ejemplo: generación del PDF o recuperación del XML de una factura.
|
|
4
4
|
*/
|
|
5
5
|
export interface FileResponse {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Contenido del archivo en base64
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
base64File?: string;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Nombre del archivo
|
|
12
12
|
*/
|
|
13
|
-
fileName
|
|
13
|
+
fileName?: string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Extensión del archivo
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
fileExtension?: string;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=file-response.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-response.d.ts","sourceRoot":"","sources":["../../../src/common/file-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-response.d.ts","sourceRoot":"","sources":["../../../src/common/file-response.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { BaseDto } from '../common/base-dto';
|
|
2
1
|
/**
|
|
3
2
|
* Solicitud para firmar un manifiesto.
|
|
4
3
|
* Contiene el certificado, llave privada y contraseña en base64.
|
|
5
4
|
*/
|
|
6
|
-
export interface SignManifestRequest
|
|
5
|
+
export interface SignManifestRequest {
|
|
7
6
|
/** Certificado (.cer) en base64 */
|
|
8
7
|
base64Cer?: string;
|
|
9
8
|
/** Llave privada (.key) en base64 */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manifest.d.ts","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,mBAAmB;IAClC,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,qCAAqC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC,gCAAgC;IAChC,UAAU,EAAE,MAAM,CAAC;IAEnB,yBAAyB;IACzB,QAAQ,EAAE,MAAM,CAAC;IAEjB,4BAA4B;IAC5B,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../../src/models/manifest.ts"],"names":[],"mappings":"AAAA,yBAAyB"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { IFiscalapiHttpClient } from '../http/fiscalapi-http-client.interface';
|
|
2
1
|
import { ApiResponse } from '../common/api-response';
|
|
3
|
-
import {
|
|
2
|
+
import { IFiscalapiHttpClient } from '../http/fiscalapi-http-client.interface';
|
|
4
3
|
import { IManifestService } from '../abstractions/manifest-service.interface';
|
|
5
4
|
import { SignManifestRequest, SignManifestResponse } from '../models/manifest';
|
|
6
5
|
/**
|
|
7
6
|
* Implementación del servicio de manifiestos
|
|
8
7
|
*/
|
|
9
|
-
export declare class ManifestService
|
|
8
|
+
export declare class ManifestService implements IManifestService {
|
|
9
|
+
/** Cliente HTTP */
|
|
10
|
+
private readonly httpClient;
|
|
11
|
+
/** Ruta base del recurso */
|
|
12
|
+
private readonly baseEndpoint;
|
|
10
13
|
/**
|
|
11
14
|
* Crea una nueva instancia del servicio de manifiestos
|
|
12
15
|
* @param {IFiscalapiHttpClient} httpClient - Cliente HTTP
|
|
13
16
|
* @param {string} apiVersion - Versión de la API
|
|
14
17
|
*/
|
|
15
|
-
constructor(httpClient: IFiscalapiHttpClient, apiVersion
|
|
18
|
+
constructor(httpClient: IFiscalapiHttpClient, apiVersion?: string);
|
|
16
19
|
/**
|
|
17
|
-
*
|
|
18
|
-
* @param {SignManifestRequest} request - Solicitud con certificado, llave y contraseña
|
|
19
|
-
* @returns {Promise<ApiResponse<SignManifestResponse>>} Respuesta con el archivo firmado
|
|
20
|
+
* @inheritdoc
|
|
20
21
|
*/
|
|
21
22
|
sign(request: SignManifestRequest): Promise<ApiResponse<SignManifestResponse>>;
|
|
22
23
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-service.d.ts","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"manifest-service.d.ts","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAAE,MAAM,4CAA4C,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/E;;GAEG;AACH,qBAAa,eAAgB,YAAW,gBAAgB;IACtD,mBAAmB;IACnB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuB;IAElD,4BAA4B;IAC5B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAS;IAEtC;;;;OAIG;gBACS,UAAU,EAAE,oBAAoB,EAAE,UAAU,GAAE,MAAa;IAQvE;;OAEG;IACG,IAAI,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;CAQrF"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { BaseFiscalapiService } from './base-fiscalapi-service.js';
|
|
2
1
|
/**
|
|
3
2
|
* Implementación del servicio de manifiestos
|
|
4
3
|
*/
|
|
5
|
-
export class ManifestService
|
|
4
|
+
export class ManifestService {
|
|
6
5
|
/**
|
|
7
6
|
* Crea una nueva instancia del servicio de manifiestos
|
|
8
7
|
* @param {IFiscalapiHttpClient} httpClient - Cliente HTTP
|
|
9
8
|
* @param {string} apiVersion - Versión de la API
|
|
10
9
|
*/
|
|
11
|
-
constructor(httpClient, apiVersion) {
|
|
12
|
-
|
|
10
|
+
constructor(httpClient, apiVersion = 'v4') {
|
|
11
|
+
if (!httpClient)
|
|
12
|
+
throw new Error('httpClient no puede ser nulo o indefinido');
|
|
13
|
+
if (!apiVersion)
|
|
14
|
+
throw new Error('apiVersion no puede ser nulo o indefinido');
|
|
15
|
+
this.httpClient = httpClient;
|
|
16
|
+
this.baseEndpoint = `api/${apiVersion}/manifests`;
|
|
13
17
|
}
|
|
14
18
|
/**
|
|
15
|
-
*
|
|
16
|
-
* @param {SignManifestRequest} request - Solicitud con certificado, llave y contraseña
|
|
17
|
-
* @returns {Promise<ApiResponse<SignManifestResponse>>} Respuesta con el archivo firmado
|
|
19
|
+
* @inheritdoc
|
|
18
20
|
*/
|
|
19
21
|
async sign(request) {
|
|
20
22
|
if (!request) {
|
|
21
23
|
throw new Error('request cannot be null');
|
|
22
24
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
method: 'POST',
|
|
26
|
-
});
|
|
25
|
+
// POST /api/v4/manifests
|
|
26
|
+
return this.httpClient.postAsync(this.baseEndpoint, request);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=manifest-service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-service.js","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manifest-service.js","sourceRoot":"","sources":["../../../src/services/manifest-service.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,MAAM,OAAO,eAAe;IAO1B;;;;OAIG;IACH,YAAY,UAAgC,EAAE,aAAqB,IAAI;QACrE,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAC9E,IAAI,CAAC,UAAU;YAAE,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;QAE9E,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,YAAY,GAAG,OAAO,UAAU,YAAY,CAAC;IACpD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI,CAAC,OAA4B;QACrC,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,yBAAyB;QACzB,OAAO,IAAI,CAAC,UAAU,CAAC,SAAS,CAA4C,IAAI,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fiscalapi",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.417",
|
|
4
4
|
"description": "SDK de Node.js para Fiscalapi",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test": "jest",
|
|
22
22
|
"lint": "eslint 'src/**/*.ts'",
|
|
23
23
|
"prepare": "npm run build",
|
|
24
|
-
"main": "ts-node examples/
|
|
24
|
+
"main": "ts-node examples/all-samples.ts"
|
|
25
25
|
},
|
|
26
26
|
"keywords": [
|
|
27
27
|
"fiscalapi",
|