merchi_sdk_js 0.0.29 → 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
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, 'inventoryGroups', 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');
|
@@ -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');
|