@be-link/ecommerce-promotion-service-node-sdk 0.1.3 → 0.1.5
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 +2 -1
- package/enum.js +1 -0
- package/modules/coupon/types.d.ts +4 -0
- package/modules/pricingCalculation/types.d.ts +14 -2
- package/package.json +1 -1
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;
|
|
@@ -287,6 +287,10 @@ export declare namespace Service {
|
|
|
287
287
|
receivedCount: number;
|
|
288
288
|
/** 未领取数量 */
|
|
289
289
|
unreceivedCount: number;
|
|
290
|
+
/** 限领类型 */
|
|
291
|
+
receiveLimitType: ENUM.COUPON_ENUM.RECEIVE_LIMIT_TYPE;
|
|
292
|
+
/** 限领数量 */
|
|
293
|
+
receiveLimit: number;
|
|
290
294
|
/** 状态 */
|
|
291
295
|
status: ENUM.COUPON_ENUM.COUPON_STATUS;
|
|
292
296
|
/** 创建时间 */
|
|
@@ -162,6 +162,8 @@ export declare namespace Service {
|
|
|
162
162
|
};
|
|
163
163
|
/** 优惠券组合 */
|
|
164
164
|
selectedCoupons: {
|
|
165
|
+
couponId: string;
|
|
166
|
+
couponName: string;
|
|
165
167
|
couponCode: string;
|
|
166
168
|
discountAmount: number;
|
|
167
169
|
}[];
|
|
@@ -187,7 +189,12 @@ export declare namespace Service {
|
|
|
187
189
|
/** 用户可用积分数量 */
|
|
188
190
|
userAvailablePoints?: number;
|
|
189
191
|
/** 使用兑换券券码列表 */
|
|
190
|
-
usedCoupons?:
|
|
192
|
+
usedCoupons?: {
|
|
193
|
+
couponId: string;
|
|
194
|
+
couponName: string;
|
|
195
|
+
couponCode: string;
|
|
196
|
+
discountAmount: number;
|
|
197
|
+
}[];
|
|
191
198
|
}
|
|
192
199
|
/** 积分商城用户选择后再次算价响应 */
|
|
193
200
|
interface recalculatePointsMallOrder {
|
|
@@ -208,7 +215,12 @@ export declare namespace Service {
|
|
|
208
215
|
/** 用户选择优惠券聚合 */
|
|
209
216
|
selectedCouponStats?: Entity.CouponGroupStats[];
|
|
210
217
|
/** 使用兑换券券码列表 */
|
|
211
|
-
usedCoupons?:
|
|
218
|
+
usedCoupons?: {
|
|
219
|
+
couponId: string;
|
|
220
|
+
couponName: string;
|
|
221
|
+
couponCode: string;
|
|
222
|
+
discountAmount: number;
|
|
223
|
+
}[];
|
|
212
224
|
/** 是否有效 */
|
|
213
225
|
isValid: boolean;
|
|
214
226
|
/** 无效code */
|