@cbm-common/cbm-types 0.0.205 → 0.0.207

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.
@@ -48,7 +48,6 @@ export declare namespace CbmItemModel {
48
48
  automatic_code?: boolean;
49
49
  not_apply_discount_group?: boolean;
50
50
  tax_ice?: boolean;
51
- tax_ice_code?: null;
52
51
  tax_ice_name?: null;
53
52
  tax_irbpn?: boolean;
54
53
  purchases_unit_measure_id?: string;
@@ -85,17 +84,18 @@ export declare namespace CbmItemModel {
85
84
  warehouses?: Item.Warehouse[];
86
85
  tax_iva?: Item.TaxIva;
87
86
  unit_measure_price_lists?: Item.UnitMeasurePriceLists[];
87
+ tax_ice_vehicle?: boolean;
88
+ disabled_reason?: string;
89
+ manufacturer_name?: string;
90
+ manufacturer_code?: string;
91
+ tax_ice_code?: string;
88
92
  tax_ice_description?: string;
89
93
  tax_ice_end_range?: number;
90
94
  tax_ice_id?: string;
91
95
  tax_ice_percentage?: number;
92
- tax_ice_value?: number;
93
96
  tax_ice_start_range?: number;
94
97
  tax_ice_type?: string;
95
- tax_ice_vehicle?: boolean;
96
- disabled_reason?: string;
97
- manufacturer_name?: string;
98
- manufacturer_code?: string;
98
+ tax_ice_value?: number;
99
99
  }
100
100
  namespace Item {
101
101
  interface Category {
@@ -273,6 +273,20 @@ 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;
282
+ tax_ice_code?: string;
283
+ tax_ice_description?: string;
284
+ tax_ice_end_range?: number;
285
+ tax_ice_id?: string;
286
+ tax_ice_percentage?: number;
287
+ tax_ice_start_range?: number;
288
+ tax_ice_type?: string;
289
+ tax_ice_value?: number;
276
290
  }
277
291
  namespace Item {
278
292
  interface ItemWarehouse {
@@ -280,9 +294,35 @@ export declare namespace CbmItemModel {
280
294
  location?: string | null;
281
295
  }
282
296
  interface LastPurchases {
283
- _id1: string;
297
+ _id?: string | number;
284
298
  unit_cost: number;
285
299
  }
300
+ interface PriceList {
301
+ _id: string;
302
+ price_list_id: string;
303
+ base_price: number;
304
+ tax_price: number;
305
+ name: string;
306
+ independent: boolean;
307
+ }
308
+ interface UnitMeasurePriceList {
309
+ _id: string;
310
+ unit_measure_id: string;
311
+ price_list_id: string;
312
+ unit_measure_group_id: string;
313
+ base_price: number;
314
+ tax_price: number;
315
+ }
316
+ interface TaxIva {
317
+ _id: string;
318
+ code: string;
319
+ percentage: number;
320
+ description: string;
321
+ }
322
+ interface Category {
323
+ _id: string;
324
+ name: string;
325
+ }
286
326
  }
287
327
  }
288
328
  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.207",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {