@openbox/shared-types 0.3.11 → 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.
- package/lib/invoices/Calculation/{Single → CalculateSingle}/Request.d.ts +3 -3
- package/lib/invoices/Calculation/CalculateSingle/Request.js.map +1 -0
- package/lib/invoices/Calculation/{Single → CalculateSingle}/Response.d.ts +16 -3
- 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 +3 -3
- package/src/invoices/Calculation/{Single → CalculateSingle}/Response.ts +17 -3
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type InvoicesCalculationsDetailsRequest = {
|
|
2
2
|
service: string;
|
|
3
3
|
quantity: number;
|
|
4
4
|
unitPrice: number;
|
|
@@ -8,8 +8,8 @@ export type InvoicesCalculationsCalculateSingleRequest = {
|
|
|
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
|
-
details:
|
|
14
|
+
details: InvoicesCalculationsDetailsRequest[];
|
|
15
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/CalculateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -21,14 +21,27 @@ export type InvoicesCalculationsDetailsResponse = {
|
|
|
21
21
|
vNoSujetaToShow: number;
|
|
22
22
|
vGravadaToShow: number;
|
|
23
23
|
};
|
|
24
|
-
export type
|
|
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
|
|
44
|
+
export type InvoicesCalculationsCalculateSingleResponse = {
|
|
32
45
|
details: InvoicesCalculationsDetailsResponse[];
|
|
33
|
-
totals: InvoicesCalculationsTotalsResponse
|
|
46
|
+
totals: InvoicesCalculationsTotalsResponse;
|
|
34
47
|
};
|
|
@@ -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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export type InvoicesCalculationsDetailsRequest = {
|
|
2
2
|
service: string
|
|
3
3
|
quantity: number
|
|
4
4
|
unitPrice: number
|
|
@@ -9,8 +9,8 @@ export type InvoicesCalculationsCalculateSingleRequest = {
|
|
|
9
9
|
chargeDescription: string
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export type
|
|
12
|
+
export type InvoicesCalculationsCalculateSingleRequest = {
|
|
13
13
|
document: string
|
|
14
14
|
customer: string
|
|
15
|
-
details:
|
|
15
|
+
details: InvoicesCalculationsDetailsRequest[]
|
|
16
16
|
}
|
|
@@ -27,15 +27,29 @@ export type InvoicesCalculationsDetailsResponse = {
|
|
|
27
27
|
vGravadaToShow: number
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export type
|
|
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
|
|
52
|
+
export type InvoicesCalculationsCalculateSingleResponse = {
|
|
39
53
|
details: InvoicesCalculationsDetailsResponse[]
|
|
40
|
-
totals: InvoicesCalculationsTotalsResponse
|
|
54
|
+
totals: InvoicesCalculationsTotalsResponse
|
|
41
55
|
}
|
|
@@ -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
|