@openbox/shared-types 0.3.10 → 0.3.12

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.
@@ -8,7 +8,7 @@ export type InvoicesCalculationsDetailsRequest = {
8
8
  incRenta10: boolean;
9
9
  chargeDescription: string;
10
10
  };
11
- export type InvoicesCalculationSingleRequest = {
11
+ export type InvoicesCalculationsCalculateSingleRequest = {
12
12
  document: string;
13
13
  customer: string;
14
14
  details: InvoicesCalculationsDetailsRequest[];
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/CalculateSingle/Request.ts"],"names":[],"mappings":""}
@@ -14,7 +14,7 @@ export type InvoicesCalculationsDetailsResponse = {
14
14
  vGravada: number;
15
15
  totalIvaPrice: number;
16
16
  rentaPrice5: number;
17
- rentaPrice10: number;
17
+ rentaPrice10?: number;
18
18
  sellingType: number;
19
19
  unitPriceToShow: number;
20
20
  vExentaToShow: number;
@@ -28,7 +28,7 @@ export type InvoicesCalculationsTotalsResponse = {
28
28
  amount: number;
29
29
  style?: string[];
30
30
  };
31
- export type InvoicesCalculationSingleResponse = {
31
+ export type InvoicesCalculationCalculateSingleResponse = {
32
32
  details: InvoicesCalculationsDetailsResponse[];
33
33
  totals: InvoicesCalculationsTotalsResponse[];
34
34
  };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/CalculateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export * from './Single/Request';
2
- export * from './Single/Response';
1
+ export * from './CalculateSingle/Request';
2
+ export * from './CalculateSingle/Response';
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./Single/Request"), exports);
18
- __exportStar(require("./Single/Response"), exports);
17
+ __exportStar(require("./CalculateSingle/Request"), exports);
18
+ __exportStar(require("./CalculateSingle/Response"), exports);
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Calculation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAgC;AAChC,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Calculation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,6DAA0C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -9,7 +9,7 @@ export type InvoicesCalculationsDetailsRequest = {
9
9
  chargeDescription: string
10
10
  }
11
11
 
12
- export type InvoicesCalculationSingleRequest = {
12
+ export type InvoicesCalculationsCalculateSingleRequest = {
13
13
  document: string
14
14
  customer: string
15
15
  details: InvoicesCalculationsDetailsRequest[]
@@ -17,7 +17,7 @@ export type InvoicesCalculationsDetailsResponse = {
17
17
  vGravada: number
18
18
  totalIvaPrice: number
19
19
  rentaPrice5: number
20
- rentaPrice10: number
20
+ rentaPrice10?: number
21
21
  sellingType: number
22
22
 
23
23
  // Returns values to show in details table
@@ -35,7 +35,7 @@ export type InvoicesCalculationsTotalsResponse = {
35
35
  style?: string[]
36
36
  }
37
37
 
38
- export type InvoicesCalculationSingleResponse = {
38
+ export type InvoicesCalculationCalculateSingleResponse = {
39
39
  details: InvoicesCalculationsDetailsResponse[]
40
40
  totals: InvoicesCalculationsTotalsResponse[]
41
41
  }
@@ -1,2 +1,2 @@
1
- export * from './Single/Request'
2
- export * from './Single/Response'
1
+ export * from './CalculateSingle/Request'
2
+ export * from './CalculateSingle/Response'
@@ -1 +0,0 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/Single/Request.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/Single/Response.ts"],"names":[],"mappings":""}