@be-link/ecommerce-trade-service-node-sdk 0.1.72 → 0.1.73
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/enums.d.ts +3 -1
- package/enums.js +2 -0
- package/modules/pos/orderQuery/types.d.ts +20 -0
- package/package.json +1 -1
package/enums.d.ts
CHANGED
|
@@ -202,7 +202,9 @@ export declare namespace ENUM {
|
|
|
202
202
|
/** 满减优惠券 */
|
|
203
203
|
FULL_REDUCE = "FULL_REDUCE",
|
|
204
204
|
/** 积分抵扣 */
|
|
205
|
-
POINT_REDUCE = "POINT_REDUCE"
|
|
205
|
+
POINT_REDUCE = "POINT_REDUCE",
|
|
206
|
+
/** 会员价 */
|
|
207
|
+
MEMBER_PRICE = "MEMBER_PRICE"
|
|
206
208
|
}
|
|
207
209
|
/** 活动类型 */
|
|
208
210
|
enum ActivityType {
|
package/enums.js
CHANGED
|
@@ -232,6 +232,8 @@ var ENUM;
|
|
|
232
232
|
OrderPromotionType["FULL_REDUCE"] = "FULL_REDUCE";
|
|
233
233
|
/** 积分抵扣 */
|
|
234
234
|
OrderPromotionType["POINT_REDUCE"] = "POINT_REDUCE";
|
|
235
|
+
/** 会员价 */
|
|
236
|
+
OrderPromotionType["MEMBER_PRICE"] = "MEMBER_PRICE";
|
|
235
237
|
})(OrderPromotionType = ENUM.OrderPromotionType || (ENUM.OrderPromotionType = {}));
|
|
236
238
|
/** 活动类型 */
|
|
237
239
|
let ActivityType;
|
|
@@ -221,6 +221,10 @@ export declare namespace PosOrderQueryService {
|
|
|
221
221
|
name: string;
|
|
222
222
|
discount?: number;
|
|
223
223
|
}[];
|
|
224
|
+
member?: {
|
|
225
|
+
discount: number;
|
|
226
|
+
quantity: number;
|
|
227
|
+
}[];
|
|
224
228
|
};
|
|
225
229
|
createdAt: number;
|
|
226
230
|
updatedAt: number;
|
|
@@ -384,6 +388,10 @@ export declare namespace PosOrderQueryService {
|
|
|
384
388
|
name: string;
|
|
385
389
|
discount?: number;
|
|
386
390
|
}[];
|
|
391
|
+
member?: {
|
|
392
|
+
discount: number;
|
|
393
|
+
quantity: number;
|
|
394
|
+
}[];
|
|
387
395
|
};
|
|
388
396
|
createdAt: number;
|
|
389
397
|
updatedAt: number;
|
|
@@ -759,6 +767,18 @@ export declare namespace PosOrderQueryService {
|
|
|
759
767
|
/** 积分数量 */
|
|
760
768
|
quantity: number;
|
|
761
769
|
};
|
|
770
|
+
/** 会员价信息 */
|
|
771
|
+
member?: {
|
|
772
|
+
/** 会员价总优惠金额 */
|
|
773
|
+
totalDiscount: number;
|
|
774
|
+
/** 会员价详情 */
|
|
775
|
+
detail: {
|
|
776
|
+
/** 优惠金额 */
|
|
777
|
+
discount: number;
|
|
778
|
+
/** 份数 */
|
|
779
|
+
quantity: number;
|
|
780
|
+
}[];
|
|
781
|
+
};
|
|
762
782
|
};
|
|
763
783
|
/** 任务活动信息 */
|
|
764
784
|
taskActivity?: {
|