@openbox/shared-types 0.3.8 → 0.3.10

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.
@@ -13,8 +13,8 @@ export type InvoicesCalculationsDetailsResponse = {
13
13
  vExenta: number;
14
14
  vGravada: number;
15
15
  totalIvaPrice: number;
16
- renta5Price: number;
17
- renta10Price: number;
16
+ rentaPrice5: number;
17
+ rentaPrice10: number;
18
18
  sellingType: number;
19
19
  unitPriceToShow: number;
20
20
  vExentaToShow: number;
@@ -22,11 +22,11 @@ export type InvoicesCalculationsDetailsResponse = {
22
22
  vGravadaToShow: number;
23
23
  };
24
24
  export type InvoicesCalculationsTotalsResponse = {
25
+ id: string;
25
26
  name: string;
27
+ value: number;
26
28
  amount: number;
27
- id: string;
28
- show: boolean;
29
- style: string[];
29
+ style?: string[];
30
30
  };
31
31
  export type InvoicesCalculationSingleResponse = {
32
32
  details: InvoicesCalculationsDetailsResponse[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.08",
3
+ "version": "0.3.10",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -16,8 +16,8 @@ export type InvoicesCalculationsDetailsResponse = {
16
16
  vExenta: number
17
17
  vGravada: number
18
18
  totalIvaPrice: number
19
- renta5Price: number
20
- renta10Price: number
19
+ rentaPrice5: number
20
+ rentaPrice10: number
21
21
  sellingType: number
22
22
 
23
23
  // Returns values to show in details table
@@ -28,11 +28,11 @@ export type InvoicesCalculationsDetailsResponse = {
28
28
  }
29
29
 
30
30
  export type InvoicesCalculationsTotalsResponse = {
31
+ id: string
31
32
  name: string
33
+ value: number
32
34
  amount: number
33
- id: string
34
- show: boolean
35
- style: string[]
35
+ style?: string[]
36
36
  }
37
37
 
38
38
  export type InvoicesCalculationSingleResponse = {