@openbox/shared-types 0.2.87 → 0.2.88
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/{GetSingle → Single}/Request.d.ts +1 -1
- package/lib/invoices/Calculation/Single/Request.js.map +1 -0
- package/lib/invoices/Calculation/{GetSingle → Single}/Response.d.ts +1 -1
- package/lib/invoices/Calculation/Single/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/lib/invoices/Details/invoices.details.type.d.ts +1 -1
- package/lib/invoices/Invoices/invoices.types.d.ts +2 -2
- package/lib/system/Logs/CreateSingle/Request.d.ts +7 -0
- package/lib/system/Logs/CreateSingle/Request.js +3 -0
- package/lib/system/Logs/CreateSingle/Request.js.map +1 -0
- package/lib/system/Logs/CreateSingle/Response.d.ts +2 -0
- package/lib/system/Logs/CreateSingle/Response.js +3 -0
- package/lib/system/Logs/CreateSingle/Response.js.map +1 -0
- package/lib/system/Logs/system.logs.types.d.ts +0 -1
- package/package.json +1 -1
- package/src/invoices/Calculation/{GetSingle → Single}/Request.ts +1 -1
- package/src/invoices/Calculation/{GetSingle → Single}/Response.ts +1 -1
- package/src/invoices/Calculation/index.ts +2 -2
- package/src/invoices/Details/invoices.details.type.ts +1 -1
- package/src/invoices/Invoices/invoices.types.ts +2 -2
- package/src/system/Logs/CreateSingle/Request.ts +8 -0
- package/src/system/Logs/CreateSingle/Response.ts +3 -0
- package/src/system/Logs/system.logs.types.ts +0 -1
- package/lib/invoices/Calculation/GetSingle/Request.js.map +0 -1
- package/lib/invoices/Calculation/GetSingle/Response.js.map +0 -1
- /package/lib/invoices/Calculation/{GetSingle → Single}/Request.js +0 -0
- /package/lib/invoices/Calculation/{GetSingle → Single}/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 InvoicesCalculationSingleRequest = {
|
|
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/Single/Request.ts"],"names":[],"mappings":""}
|
|
@@ -27,7 +27,7 @@ export type InvoicesCalculationsTotalsResponse = {
|
|
|
27
27
|
show: boolean;
|
|
28
28
|
style: string[];
|
|
29
29
|
};
|
|
30
|
-
export type
|
|
30
|
+
export type InvoicesCalculationSingleResponse = {
|
|
31
31
|
details: InvoicesCalculationsDetailsResponse[];
|
|
32
32
|
totals: InvoicesCalculationsTotalsResponse[];
|
|
33
33
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/Single/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './Single/Request';
|
|
2
|
+
export * from './Single/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("./Single/Request"), exports);
|
|
18
|
+
__exportStar(require("./Single/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,mDAAgC;AAChC,oDAAiC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Services } from '../../services/Services/services.types';
|
|
2
2
|
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
|
|
3
3
|
import { Invoices } from '../Invoices';
|
|
4
|
-
export type
|
|
4
|
+
export type InvoicesDetails = {
|
|
5
5
|
id: string;
|
|
6
6
|
quantity: number;
|
|
7
7
|
unitPrice: number;
|
|
@@ -2,7 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
|
|
|
2
2
|
import { Customers } from '../../customers/Customers/customers.types';
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types';
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
5
|
-
import {
|
|
5
|
+
import { InvoicesDetails } from '../Details/invoices.details.type';
|
|
6
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
|
|
7
7
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
|
|
8
8
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
|
|
@@ -50,5 +50,5 @@ export type Invoices = {
|
|
|
50
50
|
personType: Pick<SystemPersonTypes, 'id' | 'name'>;
|
|
51
51
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
|
|
52
52
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
|
|
53
|
-
invoiceDetails:
|
|
53
|
+
invoiceDetails: InvoicesDetails[];
|
|
54
54
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/system/Logs/CreateSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/Logs/CreateSingle/Response.ts"],"names":[],"mappings":""}
|
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 InvoicesCalculationSingleRequest = {
|
|
13
13
|
document: string
|
|
14
14
|
customer: string
|
|
15
15
|
details: InvoicesCalculationsDetailsRequest[]
|
|
@@ -30,7 +30,7 @@ export type InvoicesCalculationsTotalsResponse = {
|
|
|
30
30
|
style: string[]
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export type
|
|
33
|
+
export type InvoicesCalculationSingleResponse = {
|
|
34
34
|
details: InvoicesCalculationsDetailsResponse[]
|
|
35
35
|
totals: InvoicesCalculationsTotalsResponse[]
|
|
36
36
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
1
|
+
export * from './Single/Request'
|
|
2
|
+
export * from './Single/Response'
|
|
@@ -2,7 +2,7 @@ import { Services } from '../../services/Services/services.types'
|
|
|
2
2
|
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
|
|
3
3
|
import { Invoices } from '../Invoices'
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type InvoicesDetails = {
|
|
6
6
|
id: string
|
|
7
7
|
quantity: number
|
|
8
8
|
unitPrice: number
|
|
@@ -2,7 +2,7 @@ import { CustomersBranches } from '../../customers/Branches/customers.branches.t
|
|
|
2
2
|
import { Customers } from '../../customers/Customers/customers.types'
|
|
3
3
|
import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-types.types'
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
5
|
-
import {
|
|
5
|
+
import { InvoicesDetails } from '../Details/invoices.details.type'
|
|
6
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
|
|
7
7
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
|
|
8
8
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
|
|
@@ -51,7 +51,7 @@ export type Invoices = {
|
|
|
51
51
|
personType: Pick<SystemPersonTypes, 'id' | 'name'>
|
|
52
52
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
|
|
53
53
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
|
|
54
|
-
invoiceDetails:
|
|
54
|
+
invoiceDetails: InvoicesDetails[]
|
|
55
55
|
// echarges: Echarges
|
|
56
56
|
// accountingEntry: AccountingEntriesEntity
|
|
57
57
|
// relatedDocument: InvoicesEntity
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/GetSingle/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Calculation/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|