@openbox/shared-types 0.4.44 → 0.4.46

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,13 +1,19 @@
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;
4
8
  estado: 'PROCESADO' | 'RECHAZADO';
5
9
  codigoGeneracion: string;
6
10
  selloRecibido: string | null;
11
+ observaciones: Array<string>;
7
12
  };
8
13
  export type InvoicesElectronicSVData = {
9
14
  id: string;
10
15
  response: InvoicesElectronicSVDataResponse;
11
16
  isProduction: boolean;
12
17
  success: boolean;
18
+ action: InvoicesElectronicDataActions;
13
19
  };
@@ -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.44",
3
+ "version": "0.4.46",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,9 +1,15 @@
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
4
9
  estado: 'PROCESADO' | 'RECHAZADO'
5
10
  codigoGeneracion: string
6
11
  selloRecibido: string | null
12
+ observaciones: Array<string>
7
13
  }
8
14
 
9
15
  export type InvoicesElectronicSVData = {
@@ -11,4 +17,5 @@ export type InvoicesElectronicSVData = {
11
17
  response: InvoicesElectronicSVDataResponse
12
18
  isProduction: boolean
13
19
  success: boolean
20
+ action: InvoicesElectronicDataActions
14
21
  }