nextemos 5.1.23 → 5.2.0
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.
|
@@ -297,13 +297,13 @@ export interface IProductType {
|
|
|
297
297
|
isAggregated: boolean;
|
|
298
298
|
extensionData: any;
|
|
299
299
|
}
|
|
300
|
-
export interface IGetFavoritesResponse extends
|
|
300
|
+
export interface IGetFavoritesResponse extends IResponsePaging {
|
|
301
301
|
data: IProductFavorite[];
|
|
302
302
|
}
|
|
303
|
-
export interface IGetPriceAlertsResponse extends
|
|
303
|
+
export interface IGetPriceAlertsResponse extends IResponsePaging {
|
|
304
304
|
data: IProductPriceAlert[];
|
|
305
305
|
}
|
|
306
|
-
export interface IGetStockAlertsResponse extends
|
|
306
|
+
export interface IGetStockAlertsResponse extends IResponsePaging {
|
|
307
307
|
data: IProductStockAlert[];
|
|
308
308
|
}
|
|
309
309
|
export interface IProductFavorite {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiResponse, IRequestInit, ICategoryTreeResponse, IGetAllProductsResponse, IProductCategoryResponse, IProductResponse, ISearchProductsResponse, IProductCategoryAllResponse, IProductCategoryHierarchyResponse, IService, IProductTypeResponse, IProductTypeListResponse, IResponse, IGetFavoritesResponse, IRequestBase, IGetPriceAlertsResponse, IGetStockAlertsResponse } from
|
|
1
|
+
import { IApiResponse, IRequestInit, ICategoryTreeResponse, IGetAllProductsResponse, IProductCategoryResponse, IProductResponse, ISearchProductsResponse, IProductCategoryAllResponse, IProductCategoryHierarchyResponse, IService, IProductTypeResponse, IProductTypeListResponse, IResponse, IGetFavoritesResponse, IRequestBase, IGetPriceAlertsResponse, IGetStockAlertsResponse } from "../..";
|
|
2
2
|
export interface IProductRequest extends IRequestBase {
|
|
3
3
|
id: number;
|
|
4
4
|
flags?: string | number | string[];
|
|
@@ -65,7 +65,7 @@ export interface ICategoryTreeRequest extends IRequestBase {
|
|
|
65
65
|
categoryId?: number;
|
|
66
66
|
includes?: string[];
|
|
67
67
|
levelCount?: number;
|
|
68
|
-
ReturnProductCounts?:
|
|
68
|
+
ReturnProductCounts?: "true" | "false";
|
|
69
69
|
}
|
|
70
70
|
export interface IAllCategoriesRequest extends IRequestBase {
|
|
71
71
|
categoryId?: number;
|
|
@@ -92,6 +92,8 @@ export interface IProductTypeListRequest extends IRequestBase {
|
|
|
92
92
|
includes?: string[];
|
|
93
93
|
}
|
|
94
94
|
export interface IGetFavoritesRequest extends IRequestBase {
|
|
95
|
+
currentPage?: number;
|
|
96
|
+
pageSize?: number;
|
|
95
97
|
}
|
|
96
98
|
export interface IAddFavoritesRequest extends IRequestBase {
|
|
97
99
|
productIds: number[];
|
|
@@ -100,6 +102,8 @@ export interface IRemoveFavoritesRequest extends IRequestBase {
|
|
|
100
102
|
productIds: number[];
|
|
101
103
|
}
|
|
102
104
|
export interface IGetPriceAlertsRequest extends IRequestBase {
|
|
105
|
+
currentPage?: number;
|
|
106
|
+
pageSize?: number;
|
|
103
107
|
}
|
|
104
108
|
export interface IAddPriceAlertRequest extends IRequestBase {
|
|
105
109
|
productPriceAlerts: {
|
|
@@ -110,6 +114,8 @@ export interface IRemovePriceAlertRequest extends IRequestBase {
|
|
|
110
114
|
productIds: number[];
|
|
111
115
|
}
|
|
112
116
|
export interface IGetStockAlertsRequest extends IRequestBase {
|
|
117
|
+
currentPage?: number;
|
|
118
|
+
pageSize?: number;
|
|
113
119
|
}
|
|
114
120
|
export interface IAddStockAlertRequest extends IRequestBase {
|
|
115
121
|
productStockAlerts: {
|