@be-link/ecommerce-product-service-node-sdk 0.1.35 → 0.1.36

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.
@@ -226,6 +226,8 @@ export declare namespace ProductService {
226
226
  isCombo?: number;
227
227
  /** 69码列表 */
228
228
  skuCodes?: string[];
229
+ /** SKU ID列表 */
230
+ skuIds?: string[];
229
231
  /** 取货方式 */
230
232
  pickTypes?: string[];
231
233
  /** 是否有会员价 0:无 1:有 */
@@ -486,6 +488,8 @@ export declare namespace ProductService {
486
488
  autoFetchOrderQuantity?: number;
487
489
  /** 提货方式 */
488
490
  pickType?: string;
491
+ /** 商品图片列表 */
492
+ imgList?: string[];
489
493
  }[];
490
494
  }
491
495
  interface queryProductSkuList {
@@ -522,9 +526,11 @@ export declare namespace ProductService {
522
526
  /** SKU上下架状态(需求 163 新增) */
523
527
  skuStatus: string;
524
528
  /** 规格图片URL数组(需求 163 新增) */
525
- imageUrls: string[];
529
+ skuImageUrls: string[];
526
530
  /** 提货方式 */
527
531
  pickType?: string;
532
+ /** 商品图片列表 */
533
+ imgList?: string[];
528
534
  }[];
529
535
  }
530
536
  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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-product-service-node-sdk",
3
- "version": "0.1.35",
3
+ "version": "0.1.36",
4
4
  "description": "EcommerceProductService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",