@openbox/shared-types 0.4.51 → 0.4.53

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,5 +1,5 @@
1
1
  import { InventoriesProducts } from '../inventories.products.type';
2
- export type InventoriesProductsCreateSingleRequest = Omit<InventoriesProducts, 'id' | 'sellingType' | 'unit' | 'category'> & {
2
+ export type InventoriesProductsCreateSingleRequest = Omit<InventoriesProducts, 'id' | 'sellingType' | 'unit' | 'category' | 'active'> & {
3
3
  sellingType: number;
4
4
  unit: string;
5
5
  category: string;
@@ -8,6 +8,7 @@ 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
13
  unit: SystemMeasurementUnits;
13
14
  category: Pick<InventoriesCategories, 'id' | 'name'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.51",
3
+ "version": "0.4.53",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -2,7 +2,7 @@ import { InventoriesProducts } from '../inventories.products.type'
2
2
 
3
3
  export type InventoriesProductsCreateSingleRequest = Omit<
4
4
  InventoriesProducts,
5
- 'id' | 'sellingType' | 'unit' | 'category'
5
+ 'id' | 'sellingType' | 'unit' | 'category' | 'active'
6
6
  > & {
7
7
  sellingType: number
8
8
  unit: string
@@ -9,6 +9,7 @@ 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
14
  unit: SystemMeasurementUnits
14
15
  category: Pick<InventoriesCategories, 'id' | 'name'>