@openbox/shared-types 0.4.43 → 0.4.45

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.
@@ -1,3 +1,7 @@
1
+ export declare enum InvoicesElectronicDataActions {
2
+ PRESENTAR = "PRESENTAR",
3
+ ANULAR = "ANULAR"
4
+ }
1
5
  export type InvoicesElectronicSVDataResponse = {
2
6
  ambiente: '00' | '01';
3
7
  fhProcesamiento: string;
@@ -7,7 +11,8 @@ export type InvoicesElectronicSVDataResponse = {
7
11
  };
8
12
  export type InvoicesElectronicSVData = {
9
13
  id: string;
10
- response: string;
14
+ response: InvoicesElectronicSVDataResponse;
11
15
  isProduction: boolean;
12
16
  success: boolean;
17
+ action: InvoicesElectronicDataActions;
13
18
  };
@@ -1,3 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvoicesElectronicDataActions = void 0;
4
+ var InvoicesElectronicDataActions;
5
+ (function (InvoicesElectronicDataActions) {
6
+ InvoicesElectronicDataActions["PRESENTAR"] = "PRESENTAR";
7
+ InvoicesElectronicDataActions["ANULAR"] = "ANULAR";
8
+ })(InvoicesElectronicDataActions = exports.InvoicesElectronicDataActions || (exports.InvoicesElectronicDataActions = {}));
3
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/invoices/Electronic/SVData/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/invoices/Electronic/SVData/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,wDAAuB,CAAA;IACvB,kDAAiB,CAAA;AACnB,CAAC,EAHW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAGxC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.43",
3
+ "version": "0.4.45",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,3 +1,8 @@
1
+ export enum InvoicesElectronicDataActions {
2
+ PRESENTAR = 'PRESENTAR',
3
+ ANULAR = 'ANULAR',
4
+ }
5
+
1
6
  export type InvoicesElectronicSVDataResponse = {
2
7
  ambiente: '00' | '01'
3
8
  fhProcesamiento: string
@@ -8,7 +13,8 @@ export type InvoicesElectronicSVDataResponse = {
8
13
 
9
14
  export type InvoicesElectronicSVData = {
10
15
  id: string
11
- response: string
16
+ response: InvoicesElectronicSVDataResponse
12
17
  isProduction: boolean
13
18
  success: boolean
19
+ action: InvoicesElectronicDataActions
14
20
  }