@be-link/ecommerce-product-service-node-sdk 0.1.39 → 0.1.41

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.
@@ -1,3 +1,4 @@
1
+ import type { PointsMallServiceTypes } from '@be-link/ecommerce-promotion-service-node-sdk';
1
2
  export declare namespace ProductExpService {
2
3
  /**
3
4
  * Entity 命名空间
@@ -126,14 +127,19 @@ export declare namespace ProductExpService {
126
127
  /** 查询积分商城纯积分兑换销量 Top10 响应 */
127
128
  interface queryPurePointsSalesTopList {
128
129
  list: {
129
- /** 商品ID */
130
+ /** 商品ID(本服务) */
130
131
  productId: string;
131
- /** 商品名称 */
132
+ /** 商品名称(本服务) */
132
133
  productName: string;
133
- /** 商品图片 */
134
+ /** 商品图片(本服务) */
134
135
  productImage: string;
135
- /** 销量 */
136
+ /** 销量(本服务扩展表) */
136
137
  salesQuantity: number;
138
+ /**
139
+ * 积分商城后台列表项(促销侧 AdminProductItem 全量)
140
+ * 仅返回 POINTS_ONLY 且在积分商城命中的商品,因此该字段恒有值
141
+ */
142
+ pointsMallProduct: PointsMallServiceTypes.Entity.AdminProductItem;
137
143
  }[];
138
144
  }
139
145
  interface addSupplier {
@@ -40,6 +40,11 @@ export declare namespace ProductLiveService {
40
40
  /** 库存 */
41
41
  stock: number;
42
42
  }[];
43
+ /**
44
+ * 会员开卡卡片是否已在本服务落库为「开通」(潘多拉开关)
45
+ * 无表记录或未开通时为 false;首次 syncMemberCard(enableSync:true) 成功后为 true
46
+ */
47
+ memberCardSyncEnabled?: boolean;
43
48
  }
44
49
  }
45
50
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-product-service-node-sdk",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "EcommerceProductService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -10,6 +10,7 @@
10
10
  "access": "public"
11
11
  },
12
12
  "dependencies": {
13
+ "@be-link/ecommerce-promotion-service-node-sdk": "0.1.56",
13
14
  "@fastify/request-context": "6.2.1",
14
15
  "axios": "1.13.2",
15
16
  "axios-retry": "4.0.0",