@be-link/ecommerce-product-service-node-sdk 0.1.43 → 0.1.45

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,6 +15,7 @@ declare class ProductExpService extends BaseService implements Service.ProductEx
15
15
  checkStoreVisible(request: Service.Request.checkStoreVisible): Promise<Service.Response.checkStoreVisible>;
16
16
  batchQueryProductStatus(request: Service.Request.batchQueryProductStatus): Promise<Service.Response.batchQueryProductStatus>;
17
17
  queryProductExpList(request: Service.Request.queryProductExpList): Promise<Service.Response.queryProductExpList>;
18
+ batchGetProductLiveGroupByProductIds(request: Service.Request.batchGetProductLiveGroupByProductIds): Promise<Service.Response.batchGetProductLiveGroupByProductIds>;
18
19
  }
19
20
  export declare const productExpService: ProductExpService;
20
21
  export default productExpService;
@@ -60,6 +60,9 @@ let ProductExpService = class ProductExpService extends BaseService_1.default {
60
60
  queryProductExpList(request) {
61
61
  return (0, http_1.callApi)(this.getApiUrl(this.queryProductExpList), request);
62
62
  }
63
+ batchGetProductLiveGroupByProductIds(request) {
64
+ return (0, http_1.callApi)(this.getApiUrl(this.batchGetProductLiveGroupByProductIds), request);
65
+ }
63
66
  };
64
67
  __decorate([
65
68
  (0, tsoa_1.OperationId)('查询积分商城纯积分兑换销量 Top10'),
@@ -130,6 +133,11 @@ __decorate([
130
133
  (0, tsoa_1.Post)('query-product-exp-list'),
131
134
  __param(0, (0, tsoa_1.Body)())
132
135
  ], ProductExpService.prototype, "queryProductExpList", null);
136
+ __decorate([
137
+ (0, tsoa_1.OperationId)('按商品ID批量查询商品直播分组'),
138
+ (0, tsoa_1.Post)('batch-get-product-live-group-by-product-ids'),
139
+ __param(0, (0, tsoa_1.Body)())
140
+ ], ProductExpService.prototype, "batchGetProductLiveGroupByProductIds", null);
133
141
  ProductExpService = __decorate([
134
142
  (0, tsoa_1.Route)('product-exp'),
135
143
  (0, tsoa_1.Tags)('Product-exp')
@@ -122,6 +122,11 @@ export declare namespace ProductExpService {
122
122
  /** 商品ID列表 */
123
123
  productIds?: string[];
124
124
  }
125
+ /** 按商品ID批量查询商品直播分组 */
126
+ interface batchGetProductLiveGroupByProductIds {
127
+ /** 商品ID列表 */
128
+ productIds: string[];
129
+ }
125
130
  }
126
131
  namespace Response {
127
132
  /** 查询积分商城纯积分兑换销量 Top10 响应 */
@@ -241,6 +246,17 @@ export declare namespace ProductExpService {
241
246
  updatedAt: number;
242
247
  }[];
243
248
  }
249
+ /** 按商品ID批量查询商品直播分组响应 */
250
+ interface batchGetProductLiveGroupByProductIds {
251
+ list: {
252
+ /** 商品ID */
253
+ productId: string;
254
+ /** 直播分组ID */
255
+ liveGroupId: string;
256
+ /** 直播分组名称 */
257
+ liveGroupName: string;
258
+ }[];
259
+ }
244
260
  }
245
261
  /**
246
262
  * ProductLive Controller 接口定义
@@ -298,5 +314,9 @@ export declare namespace ProductExpService {
298
314
  * 批量查询商品扩展信息
299
315
  */
300
316
  queryProductExpList(request: ProductExpService.Request.queryProductExpList): Promise<ProductExpService.Response.queryProductExpList>;
317
+ /**
318
+ * 按商品ID批量查询商品直播分组
319
+ */
320
+ batchGetProductLiveGroupByProductIds(request: ProductExpService.Request.batchGetProductLiveGroupByProductIds): Promise<ProductExpService.Response.batchGetProductLiveGroupByProductIds>;
301
321
  }
302
322
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-product-service-node-sdk",
3
- "version": "0.1.43",
3
+ "version": "0.1.45",
4
4
  "description": "EcommerceProductService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",