@merchi/sdk 1.42.33 → 1.42.35
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/variation_field.d.ts +1 -0
- package/dist/entities/variation_field.js +4 -0
- package/dist/entities/variation_fields_option.d.ts +4 -0
- package/dist/entities/variation_fields_option.js +16 -0
- package/package.json +1 -1
- package/src/entities/variation_field.ts +3 -0
- package/src/entities/variation_fields_option.ts +12 -0
|
@@ -39,6 +39,7 @@ export declare class VariationField extends Entity {
|
|
|
39
39
|
shippingTimeIncluded?: boolean;
|
|
40
40
|
sellerProductEditable?: boolean;
|
|
41
41
|
multipleSelect?: boolean;
|
|
42
|
+
rebaseShipmentMeasurements?: boolean;
|
|
42
43
|
showFilePreview?: boolean;
|
|
43
44
|
allowFileMultiple?: boolean;
|
|
44
45
|
allowFileJpeg?: boolean;
|
|
@@ -254,6 +254,10 @@ var VariationField = /** @class */ (function (_super) {
|
|
|
254
254
|
VariationField.property(),
|
|
255
255
|
__metadata("design:type", Boolean)
|
|
256
256
|
], VariationField.prototype, "multipleSelect", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
VariationField.property(),
|
|
259
|
+
__metadata("design:type", Boolean)
|
|
260
|
+
], VariationField.prototype, "rebaseShipmentMeasurements", void 0);
|
|
257
261
|
__decorate([
|
|
258
262
|
VariationField.property(),
|
|
259
263
|
__metadata("design:type", Boolean)
|
|
@@ -17,6 +17,10 @@ export declare class VariationFieldsOption extends Entity {
|
|
|
17
17
|
default?: boolean;
|
|
18
18
|
include?: boolean;
|
|
19
19
|
noInventory?: boolean;
|
|
20
|
+
unitWeight?: number | null;
|
|
21
|
+
unitHeight?: number | null;
|
|
22
|
+
unitWidth?: number | null;
|
|
23
|
+
unitDepth?: number | null;
|
|
20
24
|
position?: number;
|
|
21
25
|
deliveryDays?: number;
|
|
22
26
|
variationCost?: number;
|
|
@@ -96,6 +96,22 @@ var VariationFieldsOption = /** @class */ (function (_super) {
|
|
|
96
96
|
VariationFieldsOption.property(),
|
|
97
97
|
__metadata("design:type", Boolean)
|
|
98
98
|
], VariationFieldsOption.prototype, "noInventory", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
VariationFieldsOption.property({ type: Number }),
|
|
101
|
+
__metadata("design:type", Object)
|
|
102
|
+
], VariationFieldsOption.prototype, "unitWeight", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
VariationFieldsOption.property({ type: Number }),
|
|
105
|
+
__metadata("design:type", Object)
|
|
106
|
+
], VariationFieldsOption.prototype, "unitHeight", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
VariationFieldsOption.property({ type: Number }),
|
|
109
|
+
__metadata("design:type", Object)
|
|
110
|
+
], VariationFieldsOption.prototype, "unitWidth", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
VariationFieldsOption.property({ type: Number }),
|
|
113
|
+
__metadata("design:type", Object)
|
|
114
|
+
], VariationFieldsOption.prototype, "unitDepth", void 0);
|
|
99
115
|
__decorate([
|
|
100
116
|
VariationFieldsOption.property(),
|
|
101
117
|
__metadata("design:type", Number)
|
package/package.json
CHANGED
|
@@ -102,6 +102,9 @@ export class VariationField extends Entity {
|
|
|
102
102
|
@VariationField.property()
|
|
103
103
|
public multipleSelect?: boolean;
|
|
104
104
|
|
|
105
|
+
@VariationField.property()
|
|
106
|
+
public rebaseShipmentMeasurements?: boolean;
|
|
107
|
+
|
|
105
108
|
@VariationField.property()
|
|
106
109
|
public showFilePreview?: boolean;
|
|
107
110
|
|
|
@@ -37,6 +37,18 @@ export class VariationFieldsOption extends Entity {
|
|
|
37
37
|
@VariationFieldsOption.property()
|
|
38
38
|
public noInventory?: boolean;
|
|
39
39
|
|
|
40
|
+
@VariationFieldsOption.property({type: Number})
|
|
41
|
+
public unitWeight?: number | null;
|
|
42
|
+
|
|
43
|
+
@VariationFieldsOption.property({type: Number})
|
|
44
|
+
public unitHeight?: number | null;
|
|
45
|
+
|
|
46
|
+
@VariationFieldsOption.property({type: Number})
|
|
47
|
+
public unitWidth?: number | null;
|
|
48
|
+
|
|
49
|
+
@VariationFieldsOption.property({type: Number})
|
|
50
|
+
public unitDepth?: number | null;
|
|
51
|
+
|
|
40
52
|
@VariationFieldsOption.property()
|
|
41
53
|
public position?: number;
|
|
42
54
|
|