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

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.
@@ -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?: string[];
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?: string[];
218
+ usedCoupons?: {
219
+ couponId: string;
220
+ couponName: string;
221
+ couponCode: string;
222
+ discountAmount: number;
223
+ }[];
212
224
  /** 是否有效 */
213
225
  isValid: boolean;
214
226
  /** 无效code */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-promotion-service-node-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "EcommercePromotionService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",