merchi_sdk_js 0.0.30 → 0.0.31-b

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.0.30",
3
+ "version": "0.0.31b",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/product.js CHANGED
@@ -77,7 +77,7 @@ export function Product() {
77
77
  addPropertyTo(this, 'suppliedByDomains', SupplyDomain);
78
78
  addPropertyTo(this, 'autoAssignProductionOnAction');
79
79
  addPropertyTo(this, 'supplyDomains', SupplyDomain);
80
- addPropertyTo(this, 'inventoryGroup', InventoryGroup);
80
+ addPropertyTo(this, 'inventoryGroups', InventoryGroup);
81
81
  addPropertyTo(this, 'images', MerchiFile);
82
82
  addPropertyTo(this, 'featureImage', MerchiFile);
83
83
  addPropertyTo(this, 'publicFiles', MerchiFile);
@@ -23,6 +23,7 @@ export function VariationField() {
23
23
  addPropertyTo(this, 'required');
24
24
  addPropertyTo(this, 'independent');
25
25
  addPropertyTo(this, 'inventoryGroup', InventoryGroup);
26
+ addPropertyTo(this, 'linkedInventoryGroup', InventoryGroup);
26
27
  addPropertyTo(this, 'variationCost');
27
28
  addPropertyTo(this, 'variationCostDiscountGroup', DiscountGroup);
28
29
  addPropertyTo(this, 'variationUnitCost');
@@ -15,6 +15,7 @@ export function VariationFieldsOption() {
15
15
  addPropertyTo(this, 'default');
16
16
  addPropertyTo(this, 'include');
17
17
  addPropertyTo(this, 'colour');
18
+ addPropertyTo(this, 'noInventory');
18
19
  addPropertyTo(this, 'variationCost');
19
20
  addPropertyTo(this, 'variationCostDiscountGroup', DiscountGroup);
20
21
  addPropertyTo(this, 'variationUnitCost');