@esolve/ng-esolve-connect 0.20.2 → 0.20.3

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.
@@ -2840,13 +2840,17 @@ class EsolveStockItemBase {
2840
2840
  */
2841
2841
  this.allow_orders = true;
2842
2842
  /**
2843
- * Item must be collected, not delivery possible.
2843
+ * Item must be collected, not delivery possible
2844
2844
  */
2845
2845
  this.must_collect = false;
2846
2846
  /**
2847
2847
  * Item needs to be assembled after purchase
2848
2848
  */
2849
2849
  this.requires_assembly = false;
2850
+ /**
2851
+ * The type of delivery category associated with the item
2852
+ */
2853
+ this.delivery_category = 'regular_item';
2850
2854
  /**
2851
2855
  * Number of stock available
2852
2856
  */
@@ -2937,6 +2941,9 @@ class EsolveStockItemBase {
2937
2941
  this.subcategory_id = +(record.subcategory_id ?? 0);
2938
2942
  this.manufacturers_id = +(record.manufacturers_id ?? 0);
2939
2943
  this.ranges_id = +(record.ranges_id ?? 0);
2944
+ this.delivery_category = record.delivery_category ?? 'regular_item';
2945
+ this.must_collect = !!+(record.must_collect ?? false);
2946
+ this.requires_assembly = !!+(record.requires_assembly ?? false);
2940
2947
  this.active = !!+(record.is_active ?? false);
2941
2948
  this.featured = !!+(record.is_featured ?? false);
2942
2949
  this.allow_quotes = (record.allow_quotes ?? true);