@be-link/ecommerce-promotion-service-node-sdk 0.1.41 → 0.1.43

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.
@@ -189,6 +189,7 @@ export declare namespace Service {
189
189
  couponName: string;
190
190
  couponCode: string;
191
191
  discountAmount: number;
192
+ starttime: number;
192
193
  endtime: number;
193
194
  }[];
194
195
  /** 可用优惠券模版 */
@@ -229,7 +230,9 @@ export declare namespace Service {
229
230
  couponName: string;
230
231
  couponCode: string;
231
232
  discountAmount: number;
233
+ starttime: number;
232
234
  endtime: number;
235
+ couponType: ENUM.PRICING_CALCULATION_ENUM.COUPON_TYPE;
233
236
  }[];
234
237
  /** 选中的订单券列表 */
235
238
  selectedOrderCoupons: {
@@ -237,10 +240,20 @@ export declare namespace Service {
237
240
  couponName: string;
238
241
  couponCode: string;
239
242
  discountAmount: number;
243
+ starttime: number;
240
244
  endtime: number;
245
+ couponType: ENUM.PRICING_CALCULATION_ENUM.COUPON_TYPE;
246
+ }[];
247
+ /** 选中券信息集合(订单侧使用,包含单品券+订单券) */
248
+ selectedCouponCodes: {
249
+ couponId: string;
250
+ couponName: string;
251
+ couponCode: string;
252
+ discountAmount: number;
253
+ starttime: number;
254
+ endtime: number;
255
+ couponType: ENUM.PRICING_CALCULATION_ENUM.COUPON_TYPE;
241
256
  }[];
242
- /** 选中券码集合(订单侧使用,包含单品券+订单券的券码) */
243
- selectedCouponCodes: string[];
244
257
  /** 可用单品券模版ID列表 */
245
258
  availableItemCouponTemplates: string[];
246
259
  /** 订单券可用性信息 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-promotion-service-node-sdk",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "EcommercePromotionService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",