merchi_sdk_ts 1.0.44 → 1.0.45
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.
package/dist/entities/product.js
CHANGED
|
@@ -525,7 +525,7 @@ var Product = /** @class */ (function (_super) {
|
|
|
525
525
|
__decorate([
|
|
526
526
|
Product.property({ arrayType: 'InventoryGroup' }),
|
|
527
527
|
__metadata("design:type", Array)
|
|
528
|
-
], Product.prototype, "
|
|
528
|
+
], Product.prototype, "inventoryGroups", void 0);
|
|
529
529
|
__decorate([
|
|
530
530
|
Product.property({ arrayType: 'CartItem' }),
|
|
531
531
|
__metadata("design:type", Array)
|
|
@@ -88,6 +88,10 @@ var VariationFieldsOption = /** @class */ (function (_super) {
|
|
|
88
88
|
VariationFieldsOption.property(),
|
|
89
89
|
__metadata("design:type", Boolean)
|
|
90
90
|
], VariationFieldsOption.prototype, "include", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
VariationFieldsOption.property(),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], VariationFieldsOption.prototype, "noInventory", void 0);
|
|
91
95
|
__decorate([
|
|
92
96
|
VariationFieldsOption.property(),
|
|
93
97
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
package/src/entities/product.ts
CHANGED
|
@@ -290,7 +290,7 @@ export class Product extends Entity {
|
|
|
290
290
|
public inventories?: Inventory[];
|
|
291
291
|
|
|
292
292
|
@Product.property({arrayType: 'InventoryGroup'})
|
|
293
|
-
public
|
|
293
|
+
public inventoryGroups?: InventoryGroup[];
|
|
294
294
|
|
|
295
295
|
@Product.property({arrayType: 'CartItem'})
|
|
296
296
|
public cartItems?: CartItem[];
|
|
@@ -31,6 +31,9 @@ export class VariationFieldsOption extends Entity {
|
|
|
31
31
|
@VariationFieldsOption.property()
|
|
32
32
|
public include?: boolean;
|
|
33
33
|
|
|
34
|
+
@VariationFieldsOption.property()
|
|
35
|
+
public noInventory?: boolean;
|
|
36
|
+
|
|
34
37
|
@VariationFieldsOption.property()
|
|
35
38
|
public position?: number;
|
|
36
39
|
|