merchi_sdk_js 0.0.29 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/product.js +2 -0
- package/src/variation_field.js +1 -0
package/package.json
CHANGED
package/src/product.js
CHANGED
@@ -13,6 +13,7 @@ import { DomainTag } from './domain_tag.js';
|
|
13
13
|
import { DiscountGroup } from './discount_group.js';
|
14
14
|
import { Domain } from './domain.js';
|
15
15
|
import { Inventory } from './inventory.js';
|
16
|
+
import { InventoryGroup } from './inventory_group.js';
|
16
17
|
import { ShipmentMethod } from './shipment_method.js';
|
17
18
|
import { VariationField } from './variation_field.js';
|
18
19
|
import { VariationsGroup } from './variations_group.js';
|
@@ -76,6 +77,7 @@ export function Product() {
|
|
76
77
|
addPropertyTo(this, 'suppliedByDomains', SupplyDomain);
|
77
78
|
addPropertyTo(this, 'autoAssignProductionOnAction');
|
78
79
|
addPropertyTo(this, 'supplyDomains', SupplyDomain);
|
80
|
+
addPropertyTo(this, 'inventoryGroup', InventoryGroup);
|
79
81
|
addPropertyTo(this, 'images', MerchiFile);
|
80
82
|
addPropertyTo(this, 'featureImage', MerchiFile);
|
81
83
|
addPropertyTo(this, 'publicFiles', MerchiFile);
|
package/src/variation_field.js
CHANGED
@@ -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');
|