@openbox/shared-types 0.2.87 → 0.2.89
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/index.d.ts +3 -0
- package/lib/system/Logs/index.js +20 -0
- package/lib/system/Logs/index.js.map +1 -0
- package/lib/system/Logs/system.logs.types.d.ts +0 -1
- package/lib/system/index.d.ts +1 -0
- package/lib/system/index.js +1 -0
- package/lib/system/index.js.map +1 -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/index.ts +3 -0
- package/src/system/Logs/system.logs.types.ts +0 -1
- package/src/system/index.ts +1 -0
- 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":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CreateSingle/Request"), exports);
|
|
18
|
+
__exportStar(require("./CreateSingle/Response"), exports);
|
|
19
|
+
__exportStar(require("./system.logs.types"), exports);
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/Logs/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,sDAAmC"}
|
package/lib/system/index.d.ts
CHANGED
package/lib/system/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./Cities/"), exports);
|
|
18
18
|
__exportStar(require("./Countries/"), exports);
|
|
19
19
|
__exportStar(require("./Directory/"), exports);
|
|
20
|
+
__exportStar(require("./Logs/"), exports);
|
|
20
21
|
__exportStar(require("./NaturalTypes"), exports);
|
|
21
22
|
__exportStar(require("./PersonTypes/"), exports);
|
|
22
23
|
__exportStar(require("./SellingTypes/"), exports);
|
package/lib/system/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
|
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
|
package/src/system/index.ts
CHANGED
|
@@ -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
|