nextemos 3.7.3 → 3.7.4
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/interfaces/product.d.ts +50 -50
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IResponse, IResponsePaging } from "./response";
|
|
2
2
|
export interface IProductResponse extends IResponse {
|
|
3
|
-
product:
|
|
3
|
+
product: IProduct;
|
|
4
4
|
}
|
|
5
5
|
export interface IProductCategoryResponse extends IResponse {
|
|
6
6
|
category: ICategory;
|
|
@@ -12,61 +12,61 @@ export interface ICategoryTreeResponse extends IResponse {
|
|
|
12
12
|
category: ICategoryWithChilds;
|
|
13
13
|
}
|
|
14
14
|
export interface ISearchProductsResponse extends IResponsePaging {
|
|
15
|
-
products:
|
|
15
|
+
products: IProduct[];
|
|
16
16
|
facets: IFacet[];
|
|
17
17
|
pointInTimeId: string;
|
|
18
18
|
}
|
|
19
19
|
export interface IGetAllProductsResponse extends IResponsePaging {
|
|
20
|
-
products:
|
|
20
|
+
products: IProduct[];
|
|
21
21
|
pointInTimeId: string;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
24
|
-
id
|
|
25
|
-
productUrl
|
|
26
|
-
routePath
|
|
27
|
-
routeTitle
|
|
28
|
-
routeLocalizations
|
|
29
|
-
routeDescription
|
|
30
|
-
parameterName
|
|
31
|
-
templateId
|
|
32
|
-
barcode
|
|
33
|
-
name
|
|
34
|
-
deci
|
|
35
|
-
shortName
|
|
36
|
-
description
|
|
37
|
-
sku
|
|
38
|
-
className
|
|
39
|
-
code
|
|
40
|
-
isApproved
|
|
41
|
-
isCompleted
|
|
42
|
-
scopeTypeId
|
|
43
|
-
isAssembleRequired
|
|
44
|
-
year
|
|
45
|
-
rptDate
|
|
46
|
-
seasonCode
|
|
47
|
-
orderRate
|
|
48
|
-
salesCount
|
|
49
|
-
isGiftCard
|
|
50
|
-
integrationCode
|
|
51
|
-
rates
|
|
52
|
-
extensionData
|
|
53
|
-
stocksByBarcode
|
|
54
|
-
stocksByWarehouse
|
|
55
|
-
basePrice
|
|
56
|
-
discountPrice
|
|
57
|
-
salesPrice
|
|
58
|
-
discountRate
|
|
59
|
-
brand
|
|
60
|
-
unitOfMeasure
|
|
61
|
-
displayType
|
|
62
|
-
categories
|
|
63
|
-
variations
|
|
64
|
-
channelProperties
|
|
65
|
-
types
|
|
66
|
-
barcodes
|
|
67
|
-
documents
|
|
68
|
-
vendors
|
|
69
|
-
attributeGroupMappings
|
|
23
|
+
export interface IProduct {
|
|
24
|
+
id?: number;
|
|
25
|
+
productUrl?: string;
|
|
26
|
+
routePath?: string;
|
|
27
|
+
routeTitle?: string;
|
|
28
|
+
routeLocalizations?: RouteLocalization[];
|
|
29
|
+
routeDescription?: string;
|
|
30
|
+
parameterName?: string;
|
|
31
|
+
templateId?: number;
|
|
32
|
+
barcode?: string;
|
|
33
|
+
name?: string;
|
|
34
|
+
deci?: number;
|
|
35
|
+
shortName?: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
sku?: string;
|
|
38
|
+
className?: string;
|
|
39
|
+
code?: string;
|
|
40
|
+
isApproved?: boolean;
|
|
41
|
+
isCompleted?: boolean;
|
|
42
|
+
scopeTypeId?: number;
|
|
43
|
+
isAssembleRequired?: boolean;
|
|
44
|
+
year?: number;
|
|
45
|
+
rptDate?: string;
|
|
46
|
+
seasonCode?: string;
|
|
47
|
+
orderRate?: number;
|
|
48
|
+
salesCount?: number;
|
|
49
|
+
isGiftCard?: boolean;
|
|
50
|
+
integrationCode?: string;
|
|
51
|
+
rates?: Rate[];
|
|
52
|
+
extensionData?: any;
|
|
53
|
+
stocksByBarcode?: StocksByBarcode;
|
|
54
|
+
stocksByWarehouse?: StocksByWarehouse;
|
|
55
|
+
basePrice?: number;
|
|
56
|
+
discountPrice?: number;
|
|
57
|
+
salesPrice?: number;
|
|
58
|
+
discountRate?: number;
|
|
59
|
+
brand?: Brand;
|
|
60
|
+
unitOfMeasure?: UnitOfMeasure;
|
|
61
|
+
displayType?: DisplayType;
|
|
62
|
+
categories?: ICategory[];
|
|
63
|
+
variations?: number[];
|
|
64
|
+
channelProperties?: ChannelProperty[];
|
|
65
|
+
types?: Type[];
|
|
66
|
+
barcodes?: Barcode[];
|
|
67
|
+
documents?: Document[];
|
|
68
|
+
vendors?: Vendor[];
|
|
69
|
+
attributeGroupMappings?: AttributeGroupMapping[];
|
|
70
70
|
}
|
|
71
71
|
export interface RouteLocalization {
|
|
72
72
|
id: number;
|