@be-link/ecommerce-product-service-node-sdk 0.1.35 → 0.1.37
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.
|
@@ -15,7 +15,7 @@ export declare namespace ProductService {
|
|
|
15
15
|
供应商: string;
|
|
16
16
|
产品经理: string;
|
|
17
17
|
直播分组: string;
|
|
18
|
-
|
|
18
|
+
商品上下架状态: string;
|
|
19
19
|
起售数量: number;
|
|
20
20
|
限购数量: number | string;
|
|
21
21
|
商品类型: string;
|
|
@@ -23,6 +23,7 @@ export declare namespace ProductService {
|
|
|
23
23
|
规格明细: string;
|
|
24
24
|
/** SKU ID(需求 163 新增) */
|
|
25
25
|
'SKU ID': string;
|
|
26
|
+
SKU上下架状态: string;
|
|
26
27
|
规格编码: string;
|
|
27
28
|
库存: number;
|
|
28
29
|
划线价: number;
|
|
@@ -226,6 +227,8 @@ export declare namespace ProductService {
|
|
|
226
227
|
isCombo?: number;
|
|
227
228
|
/** 69码列表 */
|
|
228
229
|
skuCodes?: string[];
|
|
230
|
+
/** SKU ID列表 */
|
|
231
|
+
skuIds?: string[];
|
|
229
232
|
/** 取货方式 */
|
|
230
233
|
pickTypes?: string[];
|
|
231
234
|
/** 是否有会员价 0:无 1:有 */
|
|
@@ -486,6 +489,10 @@ export declare namespace ProductService {
|
|
|
486
489
|
autoFetchOrderQuantity?: number;
|
|
487
490
|
/** 提货方式 */
|
|
488
491
|
pickType?: string;
|
|
492
|
+
/** 商品图片列表 */
|
|
493
|
+
imgList?: string[];
|
|
494
|
+
/** 是否套餐 */
|
|
495
|
+
isCombo?: number;
|
|
489
496
|
}[];
|
|
490
497
|
}
|
|
491
498
|
interface queryProductSkuList {
|
|
@@ -522,9 +529,13 @@ export declare namespace ProductService {
|
|
|
522
529
|
/** SKU上下架状态(需求 163 新增) */
|
|
523
530
|
skuStatus: string;
|
|
524
531
|
/** 规格图片URL数组(需求 163 新增) */
|
|
525
|
-
|
|
532
|
+
skuImageUrls: string[];
|
|
526
533
|
/** 提货方式 */
|
|
527
534
|
pickType?: string;
|
|
535
|
+
/** 商品图片列表 */
|
|
536
|
+
imgList?: string[];
|
|
537
|
+
/** 是否套餐 */
|
|
538
|
+
isCombo?: number;
|
|
528
539
|
}[];
|
|
529
540
|
}
|
|
530
541
|
interface querySkuBaseInfo extends Partial<SkuField> {
|
|
@@ -13,6 +13,7 @@ declare class ProductExpService extends BaseService implements Service.ProductEx
|
|
|
13
13
|
queryStoreScopeV2(request: Service.Request.queryStoreScopeV2): Promise<Service.Response.queryStoreScopeV2>;
|
|
14
14
|
checkStoreVisible(request: Service.Request.checkStoreVisible): Promise<Service.Response.checkStoreVisible>;
|
|
15
15
|
batchQueryProductStatus(request: Service.Request.batchQueryProductStatus): Promise<Service.Response.batchQueryProductStatus>;
|
|
16
|
+
queryProductExpList(request: Service.Request.queryProductExpList): Promise<Service.Response.queryProductExpList>;
|
|
16
17
|
}
|
|
17
18
|
export declare const productExpService: ProductExpService;
|
|
18
19
|
export default productExpService;
|
|
@@ -54,6 +54,9 @@ let ProductExpService = class ProductExpService extends BaseService_1.default {
|
|
|
54
54
|
batchQueryProductStatus(request) {
|
|
55
55
|
return (0, http_1.callApi)(this.getApiUrl(this.batchQueryProductStatus), request);
|
|
56
56
|
}
|
|
57
|
+
queryProductExpList(request) {
|
|
58
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryProductExpList), request);
|
|
59
|
+
}
|
|
57
60
|
};
|
|
58
61
|
__decorate([
|
|
59
62
|
(0, tsoa_1.OperationId)('获取供应商列表'),
|
|
@@ -114,6 +117,11 @@ __decorate([
|
|
|
114
117
|
(0, tsoa_1.Post)('batch-query-product-status'),
|
|
115
118
|
__param(0, (0, tsoa_1.Body)())
|
|
116
119
|
], ProductExpService.prototype, "batchQueryProductStatus", null);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, tsoa_1.OperationId)('批量查询商品扩展信息'),
|
|
122
|
+
(0, tsoa_1.Post)('query-product-exp-list'),
|
|
123
|
+
__param(0, (0, tsoa_1.Body)())
|
|
124
|
+
], ProductExpService.prototype, "queryProductExpList", null);
|
|
117
125
|
ProductExpService = __decorate([
|
|
118
126
|
(0, tsoa_1.Route)('product-exp'),
|
|
119
127
|
(0, tsoa_1.Tags)('Product-exp')
|
|
@@ -44,6 +44,8 @@ export declare namespace ProductExpService {
|
|
|
44
44
|
pageSize: number;
|
|
45
45
|
/** 供应商名称,模糊匹配 */
|
|
46
46
|
supplierName?: string;
|
|
47
|
+
/** 供应商ID列表 */
|
|
48
|
+
supplierIds?: string[];
|
|
47
49
|
}
|
|
48
50
|
interface addSupplier {
|
|
49
51
|
/** 供应商名称 */
|
|
@@ -107,6 +109,15 @@ export declare namespace ProductExpService {
|
|
|
107
109
|
/** 商品 ID 列表(最多 100 个) */
|
|
108
110
|
productIds: string[];
|
|
109
111
|
}
|
|
112
|
+
/** 批量查询商品扩展信息 */
|
|
113
|
+
interface queryProductExpList {
|
|
114
|
+
/** 页码,0开始 */
|
|
115
|
+
pageIndex: number;
|
|
116
|
+
/** 每页数量,最大100 */
|
|
117
|
+
pageSize: number;
|
|
118
|
+
/** 商品ID列表 */
|
|
119
|
+
productIds?: string[];
|
|
120
|
+
}
|
|
110
121
|
}
|
|
111
122
|
namespace Response {
|
|
112
123
|
interface addSupplier {
|
|
@@ -180,6 +191,34 @@ export declare namespace ProductExpService {
|
|
|
180
191
|
visible: boolean;
|
|
181
192
|
};
|
|
182
193
|
}
|
|
194
|
+
/** 批量查询商品扩展信息响应 */
|
|
195
|
+
interface queryProductExpList {
|
|
196
|
+
total: number;
|
|
197
|
+
list: {
|
|
198
|
+
/** 商品ID */
|
|
199
|
+
productId: string;
|
|
200
|
+
/** 产品经理ID */
|
|
201
|
+
productManagerId: string;
|
|
202
|
+
/** 供应商ID */
|
|
203
|
+
supplierId: string;
|
|
204
|
+
/** 直播分组ID */
|
|
205
|
+
liveGroupId: string;
|
|
206
|
+
/** 销量 */
|
|
207
|
+
salesQuantity: number;
|
|
208
|
+
/** 退款数量 */
|
|
209
|
+
refundQuantity: number;
|
|
210
|
+
/** 可见门店列表 */
|
|
211
|
+
visibleStores: string[] | null;
|
|
212
|
+
/** 不可见门店列表 */
|
|
213
|
+
invisibleStores: string[] | null;
|
|
214
|
+
/** 门店范围配置 */
|
|
215
|
+
storeScopeConfig: Entity.StoreScopeConfig | null;
|
|
216
|
+
/** 创建时间 */
|
|
217
|
+
createdAt: number;
|
|
218
|
+
/** 更新时间 */
|
|
219
|
+
updatedAt: number;
|
|
220
|
+
}[];
|
|
221
|
+
}
|
|
183
222
|
}
|
|
184
223
|
/**
|
|
185
224
|
* ProductLive Controller 接口定义
|
|
@@ -229,5 +268,9 @@ export declare namespace ProductExpService {
|
|
|
229
268
|
* 批量查询商品状态(积分商城专用)(需求 163 新增)
|
|
230
269
|
*/
|
|
231
270
|
batchQueryProductStatus(request: ProductExpService.Request.batchQueryProductStatus): Promise<ProductExpService.Response.batchQueryProductStatus>;
|
|
271
|
+
/**
|
|
272
|
+
* 批量查询商品扩展信息
|
|
273
|
+
*/
|
|
274
|
+
queryProductExpList(request: ProductExpService.Request.queryProductExpList): Promise<ProductExpService.Response.queryProductExpList>;
|
|
232
275
|
}
|
|
233
276
|
}
|