@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.
- package/lib/invoices/Calculation/{Single → CalculateSingle}/Request.d.ts +1 -1
- package/lib/invoices/Calculation/CalculateSingle/Request.js.map +1 -0
- package/lib/invoices/Calculation/{Single → CalculateSingle}/Response.d.ts +2 -2
- package/lib/invoices/Calculation/CalculateSingle/Response.js.map +1 -0
- package/lib/invoices/Calculation/index.d.ts +2 -2
- package/lib/invoices/Calculation/index.js +2 -2
- package/lib/invoices/Calculation/index.js.map +1 -1
- package/package.json +1 -1
- package/src/invoices/Calculation/{Single → CalculateSingle}/Request.ts +1 -1
- package/src/invoices/Calculation/{Single → CalculateSingle}/Response.ts +2 -2
- package/src/invoices/Calculation/index.ts +2 -2
- package/lib/invoices/Calculation/Single/Request.js.map +0 -1
- package/lib/invoices/Calculation/Single/Response.js.map +0 -1
- /package/lib/invoices/Calculation/{Single → CalculateSingle}/Request.js +0 -0
- /package/lib/invoices/Calculation/{Single → CalculateSingle}/Response.js +0 -0
|
@@ -8,7 +8,7 @@ export type InvoicesCalculationsDetailsRequest = {
|
|
|
8
8
|
incRenta10: boolean;
|
|
9
9
|
chargeDescription: string;
|
|
10
10
|
};
|
|
11
|
-
export type
|
|
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
|
|
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
|
|
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 './
|
|
2
|
-
export * from './
|
|
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("./
|
|
18
|
-
__exportStar(require("./
|
|
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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Calculation/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAAyC;AACzC,6DAA0C"}
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ export type InvoicesCalculationsDetailsRequest = {
|
|
|
9
9
|
chargeDescription: string
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export type
|
|
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
|
|
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
|
|
38
|
+
export type InvoicesCalculationCalculateSingleResponse = {
|
|
39
39
|
details: InvoicesCalculationsDetailsResponse[]
|
|
40
40
|
totals: InvoicesCalculationsTotalsResponse[]
|
|
41
41
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
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":""}
|
|
File without changes
|
|
File without changes
|