@openbox/shared-types 0.5.16 → 0.5.18

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.
@@ -1,3 +1,4 @@
1
+ import { ServicesSellingTypes } from '../../services/SellingTypes/services.selling-types.types';
1
2
  import { InventoriesUnits } from '../Units';
2
3
  export type InventoriesProducts = {
3
4
  id: string;
@@ -6,7 +7,10 @@ export type InventoriesProducts = {
6
7
  barcode?: string;
7
8
  price?: number;
8
9
  threshold?: number;
10
+ trackInventory?: boolean;
9
11
  unit: InventoriesUnits;
12
+ incIva: boolean;
13
+ sellingType: ServicesSellingTypes;
10
14
  };
11
15
  export type InventoriesProductsRequest = Omit<InventoriesProducts, 'id' | 'unit'> & {
12
16
  unit: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.16",
3
+ "version": "0.5.18",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,3 +1,4 @@
1
+ import { ServicesSellingTypes } from '../../services/SellingTypes/services.selling-types.types'
1
2
  import { InventoriesUnits } from '../Units'
2
3
 
3
4
  export type InventoriesProducts = {
@@ -7,7 +8,10 @@ export type InventoriesProducts = {
7
8
  barcode?: string
8
9
  price?: number
9
10
  threshold?: number
11
+ trackInventory?: boolean
10
12
  unit: InventoriesUnits
13
+ incIva: boolean
14
+ sellingType: ServicesSellingTypes
11
15
  }
12
16
 
13
17
  export type InventoriesProductsRequest = Omit<InventoriesProducts, 'id' | 'unit'> & {