shopoflex-types 1.0.54 → 1.0.55
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/common.d.ts +8 -13
- package/package.json +1 -1
package/dist/common.d.ts
CHANGED
|
@@ -172,19 +172,15 @@ export interface ProductType {
|
|
|
172
172
|
};
|
|
173
173
|
sku?: string;
|
|
174
174
|
categoriesIds: string[];
|
|
175
|
-
dimensions?:
|
|
176
|
-
active: boolean;
|
|
177
|
-
};
|
|
175
|
+
dimensions?: Dimensions;
|
|
178
176
|
label?: Label;
|
|
179
|
-
priceModel?: PriceModel;
|
|
180
|
-
stockHandle?: StockHandle;
|
|
181
177
|
tags?: string[];
|
|
182
178
|
branchesIds?: string[];
|
|
183
179
|
modifiers?: Modifier[];
|
|
184
180
|
hasModifiers?: boolean;
|
|
185
181
|
sort?: number;
|
|
186
182
|
hasVariants?: boolean;
|
|
187
|
-
variants
|
|
183
|
+
variants: VariantType[];
|
|
188
184
|
specifications?: {
|
|
189
185
|
active: boolean;
|
|
190
186
|
values: any[];
|
|
@@ -192,20 +188,19 @@ export interface ProductType {
|
|
|
192
188
|
linkedProduct?: any;
|
|
193
189
|
createdAt?: Date;
|
|
194
190
|
updatedAt?: Date;
|
|
195
|
-
files?: FileType[];
|
|
196
191
|
isActive: boolean;
|
|
197
192
|
vendorId: any;
|
|
198
193
|
}
|
|
199
194
|
export interface VariantType {
|
|
200
195
|
variantId: string;
|
|
201
|
-
sku
|
|
196
|
+
sku?: string;
|
|
202
197
|
priceModel: PriceModel;
|
|
203
198
|
stockHandle: StockHandle;
|
|
204
|
-
attributes
|
|
205
|
-
files
|
|
206
|
-
barcode
|
|
207
|
-
isActive
|
|
208
|
-
sortOrder
|
|
199
|
+
attributes?: VariantAttribute[];
|
|
200
|
+
files?: FileType[];
|
|
201
|
+
barcode?: string;
|
|
202
|
+
isActive?: boolean;
|
|
203
|
+
sortOrder?: number;
|
|
209
204
|
}
|
|
210
205
|
export interface VariantAttribute {
|
|
211
206
|
type: string;
|