@openbox/shared-types 0.3.12 → 0.3.13

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.
@@ -21,14 +21,27 @@ export type InvoicesCalculationsDetailsResponse = {
21
21
  vNoSujetaToShow: number;
22
22
  vGravadaToShow: number;
23
23
  };
24
- export type InvoicesCalculationsTotalsResponse = {
24
+ export type InvoicesCalculationsTotalsItem = {
25
25
  id: string;
26
26
  name: string;
27
27
  value: number;
28
28
  amount: number;
29
29
  style?: string[];
30
+ show: true | false;
31
+ };
32
+ export type InvoicesCalculationsTotalsResponse = {
33
+ sumas: InvoicesCalculationsTotalsItem;
34
+ iva: InvoicesCalculationsTotalsItem;
35
+ subtotal: InvoicesCalculationsTotalsItem;
36
+ ivaRetenido: InvoicesCalculationsTotalsItem;
37
+ ivaPercibido: InvoicesCalculationsTotalsItem;
38
+ renta5: InvoicesCalculationsTotalsItem;
39
+ renta10: InvoicesCalculationsTotalsItem;
40
+ ventasExentas: InvoicesCalculationsTotalsItem;
41
+ ventasNoSujetas: InvoicesCalculationsTotalsItem;
42
+ ventaTotal: InvoicesCalculationsTotalsItem;
30
43
  };
31
- export type InvoicesCalculationCalculateSingleResponse = {
44
+ export type InvoicesCalculationsCalculateSingleResponse = {
32
45
  details: InvoicesCalculationsDetailsResponse[];
33
- totals: InvoicesCalculationsTotalsResponse[];
46
+ totals: InvoicesCalculationsTotalsResponse;
34
47
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.12",
3
+ "version": "0.3.13",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -27,15 +27,29 @@ export type InvoicesCalculationsDetailsResponse = {
27
27
  vGravadaToShow: number
28
28
  }
29
29
 
30
- export type InvoicesCalculationsTotalsResponse = {
30
+ export type InvoicesCalculationsTotalsItem = {
31
31
  id: string
32
32
  name: string
33
33
  value: number
34
34
  amount: number
35
35
  style?: string[]
36
+ show: true | false
37
+ }
38
+
39
+ export type InvoicesCalculationsTotalsResponse = {
40
+ sumas: InvoicesCalculationsTotalsItem
41
+ iva: InvoicesCalculationsTotalsItem
42
+ subtotal: InvoicesCalculationsTotalsItem
43
+ ivaRetenido: InvoicesCalculationsTotalsItem
44
+ ivaPercibido: InvoicesCalculationsTotalsItem
45
+ renta5: InvoicesCalculationsTotalsItem
46
+ renta10: InvoicesCalculationsTotalsItem
47
+ ventasExentas: InvoicesCalculationsTotalsItem
48
+ ventasNoSujetas: InvoicesCalculationsTotalsItem
49
+ ventaTotal: InvoicesCalculationsTotalsItem
36
50
  }
37
51
 
38
- export type InvoicesCalculationCalculateSingleResponse = {
52
+ export type InvoicesCalculationsCalculateSingleResponse = {
39
53
  details: InvoicesCalculationsDetailsResponse[]
40
- totals: InvoicesCalculationsTotalsResponse[]
54
+ totals: InvoicesCalculationsTotalsResponse
41
55
  }