@be-link/ecommerce-promotion-service-node-sdk 0.1.4 → 0.1.6

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.
package/enum.d.ts CHANGED
@@ -20,7 +20,8 @@ export declare namespace ENUM {
20
20
  ORDER = "\u4E0B\u5355",
21
21
  TASK = "\u4EFB\u52A1",
22
22
  ACTIVITY = "\u76F4\u64AD\u95F4\u6D3B\u52A8",
23
- USER = "\u7528\u6237\u4E3B\u52A8\u9886\u53D6"
23
+ USER = "\u7528\u6237\u4E3B\u52A8\u9886\u53D6",
24
+ MANUAL = "\u624B\u52A8\u53D1\u653E"
24
25
  }
25
26
  /** 积分发放渠道中文 */
26
27
  enum POINTS_ISSUE_CHANNEL_CHINESE {
package/enum.js CHANGED
@@ -28,6 +28,7 @@ var ENUM;
28
28
  DISTRIBUTION_CHANNEL_CHINESE["TASK"] = "\u4EFB\u52A1";
29
29
  DISTRIBUTION_CHANNEL_CHINESE["ACTIVITY"] = "\u76F4\u64AD\u95F4\u6D3B\u52A8";
30
30
  DISTRIBUTION_CHANNEL_CHINESE["USER"] = "\u7528\u6237\u4E3B\u52A8\u9886\u53D6";
31
+ DISTRIBUTION_CHANNEL_CHINESE["MANUAL"] = "\u624B\u52A8\u53D1\u653E";
31
32
  })(DISTRIBUTION_CHANNEL_CHINESE = AWARD_ENUM.DISTRIBUTION_CHANNEL_CHINESE || (AWARD_ENUM.DISTRIBUTION_CHANNEL_CHINESE = {}));
32
33
  /** 积分发放渠道中文 */
33
34
  let POINTS_ISSUE_CHANNEL_CHINESE;
@@ -220,6 +220,8 @@ export declare namespace Service {
220
220
  couponType?: ENUM.COUPON_ENUM.COUPON_TYPE;
221
221
  /** 券状态 */
222
222
  status?: ENUM.COUPON_ENUM.COUPON_STATUS;
223
+ /** 库存 */
224
+ stock?: number;
223
225
  }
224
226
  /** 增加券库存 */
225
227
  interface addCouponStock {
@@ -287,6 +289,10 @@ export declare namespace Service {
287
289
  receivedCount: number;
288
290
  /** 未领取数量 */
289
291
  unreceivedCount: number;
292
+ /** 限领类型 */
293
+ receiveLimitType: ENUM.COUPON_ENUM.RECEIVE_LIMIT_TYPE;
294
+ /** 限领数量 */
295
+ receiveLimit: number;
290
296
  /** 状态 */
291
297
  status: ENUM.COUPON_ENUM.COUPON_STATUS;
292
298
  /** 创建时间 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-promotion-service-node-sdk",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "EcommercePromotionService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",