@cbm-common/cbm-types 0.0.205 → 0.0.206

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.
@@ -273,6 +273,12 @@ export declare namespace CbmItemModel {
273
273
  warehouse_available_stock: number;
274
274
  warehouse_stock_in_transit: number;
275
275
  last_purchases: Item.LastPurchases;
276
+ not_apply_discount_group?: boolean;
277
+ unit_measure_group_indicator?: boolean;
278
+ price_lists?: Item.PriceList[];
279
+ unit_measure_price_lists?: Item.UnitMeasurePriceList[];
280
+ tax_iva?: Item.TaxIva;
281
+ category?: Item.Category;
276
282
  }
277
283
  namespace Item {
278
284
  interface ItemWarehouse {
@@ -280,9 +286,35 @@ export declare namespace CbmItemModel {
280
286
  location?: string | null;
281
287
  }
282
288
  interface LastPurchases {
283
- _id1: string;
289
+ _id?: string | number;
284
290
  unit_cost: number;
285
291
  }
292
+ interface PriceList {
293
+ _id: string;
294
+ price_list_id: string;
295
+ base_price: number;
296
+ tax_price: number;
297
+ name: string;
298
+ independent: boolean;
299
+ }
300
+ interface UnitMeasurePriceList {
301
+ _id: string;
302
+ unit_measure_id: string;
303
+ price_list_id: string;
304
+ unit_measure_group_id: string;
305
+ base_price: number;
306
+ tax_price: number;
307
+ }
308
+ interface TaxIva {
309
+ _id: string;
310
+ code: string;
311
+ percentage: number;
312
+ description: string;
313
+ }
314
+ interface Category {
315
+ _id: string;
316
+ name: string;
317
+ }
286
318
  }
287
319
  }
288
320
  interface GetOneResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.205",
3
+ "version": "0.0.206",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {