@openbox/shared-types 0.4.50 → 0.4.52
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/inventories/Products/inventories.products.type.d.ts +3 -2
- package/lib/inventories/index.d.ts +0 -1
- package/lib/inventories/index.js +0 -1
- package/lib/inventories/index.js.map +1 -1
- package/lib/system/MeasurementUnits/GetMany/Request.d.ts +2 -0
- package/lib/system/MeasurementUnits/GetMany/Request.js.map +1 -0
- package/lib/system/MeasurementUnits/GetMany/Response.d.ts +7 -0
- package/lib/system/MeasurementUnits/GetMany/Response.js.map +1 -0
- package/lib/system/MeasurementUnits/GetSingle/Response.d.ts +2 -0
- package/lib/system/MeasurementUnits/GetSingle/Response.js.map +1 -0
- package/lib/{inventories/Units → system/MeasurementUnits}/index.d.ts +1 -1
- package/lib/{inventories/Units → system/MeasurementUnits}/index.js +1 -1
- package/lib/system/MeasurementUnits/index.js.map +1 -0
- package/lib/{inventories/Units/inventories.units.type.d.ts → system/MeasurementUnits/system.measurement-units.type.d.ts} +1 -1
- package/lib/{inventories/Units/inventories.units.type.js → system/MeasurementUnits/system.measurement-units.type.js} +1 -1
- package/lib/system/MeasurementUnits/system.measurement-units.type.js.map +1 -0
- 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/System/MeasurementUnits/GetMany/Request.ts +3 -0
- package/src/System/MeasurementUnits/GetMany/Response.ts +6 -0
- package/src/System/MeasurementUnits/GetSingle/Response.ts +3 -0
- package/src/{inventories/Units → System/MeasurementUnits}/index.ts +1 -1
- package/src/{inventories/Units/inventories.units.type.ts → System/MeasurementUnits/system.measurement-units.type.ts} +1 -1
- package/src/System/index.ts +1 -0
- package/src/inventories/Products/inventories.products.type.ts +3 -2
- package/src/inventories/index.ts +0 -1
- package/lib/inventories/Units/GetMany/Request.d.ts +0 -2
- package/lib/inventories/Units/GetMany/Request.js.map +0 -1
- package/lib/inventories/Units/GetMany/Response.d.ts +0 -7
- package/lib/inventories/Units/GetMany/Response.js.map +0 -1
- package/lib/inventories/Units/GetSingle/Response.d.ts +0 -2
- package/lib/inventories/Units/GetSingle/Response.js.map +0 -1
- package/lib/inventories/Units/index.js.map +0 -1
- package/lib/inventories/Units/inventories.units.type.js.map +0 -1
- package/src/inventories/Units/GetMany/Request.ts +0 -3
- package/src/inventories/Units/GetMany/Response.ts +0 -6
- package/src/inventories/Units/GetSingle/Response.ts +0 -3
- /package/lib/{inventories/Units → system/MeasurementUnits}/GetMany/Request.js +0 -0
- /package/lib/{inventories/Units → system/MeasurementUnits}/GetMany/Response.js +0 -0
- /package/lib/{inventories/Units → system/MeasurementUnits}/GetSingle/Response.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SystemMeasurementUnits } from '../../System/MeasurementUnits';
|
|
1
2
|
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types';
|
|
2
3
|
import { InventoriesCategories } from '../Categories';
|
|
3
|
-
import { InventoriesUnits } from '../Units';
|
|
4
4
|
export type InventoriesProducts = {
|
|
5
5
|
id: string;
|
|
6
6
|
name: string;
|
|
@@ -8,7 +8,8 @@ export type InventoriesProducts = {
|
|
|
8
8
|
price: number;
|
|
9
9
|
incIva: boolean;
|
|
10
10
|
active: boolean;
|
|
11
|
+
individual_sale: boolean;
|
|
11
12
|
sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>;
|
|
12
|
-
unit:
|
|
13
|
+
unit: SystemMeasurementUnits;
|
|
13
14
|
category: Pick<InventoriesCategories, 'id' | 'name'>;
|
|
14
15
|
};
|
package/lib/inventories/index.js
CHANGED
|
@@ -16,5 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Categories"), exports);
|
|
18
18
|
__exportStar(require("./Products"), exports);
|
|
19
|
-
__exportStar(require("./Units"), exports);
|
|
20
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/inventories/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,6CAA0B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { GetManyResponse } from '../../../interfaces';
|
|
2
|
+
import { SystemMeasurementUnits } from '../system.measurement-units.type';
|
|
3
|
+
export type SystemMeasurementUnitsGetManyResponse = GetManyResponse & {
|
|
4
|
+
data: Array<SystemMeasurementUnits & {
|
|
5
|
+
index: number;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/system/MeasurementUnits/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./GetMany/Request"), exports);
|
|
18
18
|
__exportStar(require("./GetMany/Response"), exports);
|
|
19
19
|
__exportStar(require("./GetSingle/Response"), exports);
|
|
20
|
-
__exportStar(require("./
|
|
20
|
+
__exportStar(require("./system.measurement-units.type"), exports);
|
|
21
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,kEAA+C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"system.measurement-units.type.js","sourceRoot":"","sources":["../../../src/system/MeasurementUnits/system.measurement-units.type.ts"],"names":[],"mappings":""}
|
package/lib/system/index.d.ts
CHANGED
package/lib/system/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./Cities/"), exports);
|
|
|
18
18
|
__exportStar(require("./Countries/"), exports);
|
|
19
19
|
__exportStar(require("./Directory/"), exports);
|
|
20
20
|
__exportStar(require("./Logs/"), exports);
|
|
21
|
+
__exportStar(require("./MeasurementUnits"), exports);
|
|
21
22
|
__exportStar(require("./NaturalTypes"), exports);
|
|
22
23
|
__exportStar(require("./PersonTypes/"), exports);
|
|
23
24
|
__exportStar(require("./SV/"), 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,0CAAuB;AACvB,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,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,qDAAkC;AAClC,iDAA8B;AAC9B,iDAA8B;AAC9B,wCAAqB;AACrB,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
|
package/package.json
CHANGED
package/src/System/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { SystemMeasurementUnits } from '../../System/MeasurementUnits'
|
|
1
2
|
import { SystemSellingTypes } from '../../system/SellingTypes/system.selling-types.types'
|
|
2
3
|
import { InventoriesCategories } from '../Categories'
|
|
3
|
-
import { InventoriesUnits } from '../Units'
|
|
4
4
|
|
|
5
5
|
export type InventoriesProducts = {
|
|
6
6
|
id: string
|
|
@@ -9,7 +9,8 @@ export type InventoriesProducts = {
|
|
|
9
9
|
price: number
|
|
10
10
|
incIva: boolean
|
|
11
11
|
active: boolean
|
|
12
|
+
individual_sale: boolean
|
|
12
13
|
sellingType: Omit<SystemSellingTypes, 'includeInServices' | 'includeInCustomers'>
|
|
13
|
-
unit:
|
|
14
|
+
unit: SystemMeasurementUnits
|
|
14
15
|
category: Pick<InventoriesCategories, 'id' | 'name'>
|
|
15
16
|
}
|
package/src/inventories/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Request.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/inventories/Units/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/inventories/Units/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,2DAAwC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inventories.units.type.js","sourceRoot":"","sources":["../../../src/inventories/Units/inventories.units.type.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|