@be-link/ecommerce-backend-bff-service-node-sdk 0.0.73 → 0.0.74

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.
@@ -86,4 +86,10 @@ export declare class PandoraProductService extends BaseService implements Servic
86
86
  * @returns Promise,解析为标准响应格式
87
87
  */
88
88
  searchProductByName(request: Service.Request.searchProductByName): Promise<StandardResponse<Service.Response.searchProductByName[]>>;
89
+ /**
90
+ * 获取绑定的SKU信息
91
+ * @param request - 请求参数
92
+ * @returns Promise,解析为标准响应格式
93
+ */
94
+ queryBindSkus(request: Service.Request.queryBindSkus): Promise<StandardResponse<Service.Response.queryBindSkus[]>>;
89
95
  }
@@ -119,5 +119,13 @@ class PandoraProductService extends BaseService_1.default {
119
119
  searchProductByName(request) {
120
120
  return this.request(this.searchProductByName, request);
121
121
  }
122
+ /**
123
+ * 获取绑定的SKU信息
124
+ * @param request - 请求参数
125
+ * @returns Promise,解析为标准响应格式
126
+ */
127
+ queryBindSkus(request) {
128
+ return this.request(this.queryBindSkus, request);
129
+ }
122
130
  }
123
131
  exports.PandoraProductService = PandoraProductService;
@@ -255,6 +255,10 @@ export declare namespace PandoraProductService {
255
255
  /** 商品名称 */
256
256
  productName: string;
257
257
  }
258
+ interface queryBindSkus {
259
+ /** SKU Id */
260
+ skuId: string;
261
+ }
258
262
  }
259
263
  namespace Response {
260
264
  interface create {
@@ -372,6 +376,26 @@ export declare namespace PandoraProductService {
372
376
  /** 商品ID */
373
377
  productId: string;
374
378
  }
379
+ interface queryBindSkus {
380
+ /** 商品Id */
381
+ productId: string;
382
+ /** SKU Id */
383
+ skuId: string;
384
+ /** 商品名称 */
385
+ productName: string;
386
+ /** 分类 */
387
+ cateName: string;
388
+ /** 数量 */
389
+ quantity: number;
390
+ /** 69码 */
391
+ skuCode: string;
392
+ /** 规格 */
393
+ attrs: Attr[];
394
+ /** 价格 */
395
+ price: number;
396
+ /** 上下架状态 */
397
+ status: string;
398
+ }
375
399
  }
376
400
  /**
377
401
  * ProductLive Controller 接口定义
@@ -429,5 +453,9 @@ export declare namespace PandoraProductService {
429
453
  * 根据商品名获取商品id列表
430
454
  */
431
455
  searchProductByName(request: PandoraProductService.Request.searchProductByName): Promise<StandardResponse<PandoraProductService.Response.searchProductByName[]>>;
456
+ /**
457
+ * 获取绑定的SKU信息
458
+ */
459
+ queryBindSkus(request: PandoraProductService.Request.queryBindSkus): Promise<StandardResponse<PandoraProductService.Response.queryBindSkus[]>>;
432
460
  }
433
461
  }
@@ -86,4 +86,10 @@ export declare class PandoraProductService extends BaseService implements Servic
86
86
  * @returns Promise,解析为标准响应格式
87
87
  */
88
88
  searchProductByName(request: Service.Request.searchProductByName): Promise<StandardResponse<Service.Response.searchProductByName[]>>;
89
+ /**
90
+ * 获取绑定的SKU信息
91
+ * @param request - 请求参数
92
+ * @returns Promise,解析为标准响应格式
93
+ */
94
+ queryBindSkus(request: Service.Request.queryBindSkus): Promise<StandardResponse<Service.Response.queryBindSkus[]>>;
89
95
  }
@@ -113,4 +113,12 @@ export class PandoraProductService extends BaseService {
113
113
  searchProductByName(request) {
114
114
  return this.request(this.searchProductByName, request);
115
115
  }
116
+ /**
117
+ * 获取绑定的SKU信息
118
+ * @param request - 请求参数
119
+ * @returns Promise,解析为标准响应格式
120
+ */
121
+ queryBindSkus(request) {
122
+ return this.request(this.queryBindSkus, request);
123
+ }
116
124
  }
@@ -255,6 +255,10 @@ export declare namespace PandoraProductService {
255
255
  /** 商品名称 */
256
256
  productName: string;
257
257
  }
258
+ interface queryBindSkus {
259
+ /** SKU Id */
260
+ skuId: string;
261
+ }
258
262
  }
259
263
  namespace Response {
260
264
  interface create {
@@ -372,6 +376,26 @@ export declare namespace PandoraProductService {
372
376
  /** 商品ID */
373
377
  productId: string;
374
378
  }
379
+ interface queryBindSkus {
380
+ /** 商品Id */
381
+ productId: string;
382
+ /** SKU Id */
383
+ skuId: string;
384
+ /** 商品名称 */
385
+ productName: string;
386
+ /** 分类 */
387
+ cateName: string;
388
+ /** 数量 */
389
+ quantity: number;
390
+ /** 69码 */
391
+ skuCode: string;
392
+ /** 规格 */
393
+ attrs: Attr[];
394
+ /** 价格 */
395
+ price: number;
396
+ /** 上下架状态 */
397
+ status: string;
398
+ }
375
399
  }
376
400
  /**
377
401
  * ProductLive Controller 接口定义
@@ -429,5 +453,9 @@ export declare namespace PandoraProductService {
429
453
  * 根据商品名获取商品id列表
430
454
  */
431
455
  searchProductByName(request: PandoraProductService.Request.searchProductByName): Promise<StandardResponse<PandoraProductService.Response.searchProductByName[]>>;
456
+ /**
457
+ * 获取绑定的SKU信息
458
+ */
459
+ queryBindSkus(request: PandoraProductService.Request.queryBindSkus): Promise<StandardResponse<PandoraProductService.Response.queryBindSkus[]>>;
432
460
  }
433
461
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-backend-bff-service-node-sdk",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",
@@ -31,7 +31,7 @@
31
31
  "@be-link/ecommerce-promotion-service-node-sdk": "^0.0.23",
32
32
  "@be-link/ecommerce-trade-service-node-sdk": "^0.0.17",
33
33
  "axios": "1.13.2",
34
- "@be-link/ecommerce-product-service-node-sdk": "0.0.21"
34
+ "@be-link/ecommerce-product-service-node-sdk": "0.0.22"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^20.0.0",