@be-link/ecommerce-promotion-service-node-sdk 0.1.38 → 0.1.40

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.
@@ -243,21 +243,14 @@ export declare namespace Service {
243
243
  availableItemCouponTemplates: string[];
244
244
  /** 订单券可用性信息 */
245
245
  orderCouponsAvailability: {
246
- /** 可用的订单券列表 */
247
- available: Array<{
248
- couponId: string;
249
- couponName: string;
250
- couponCode: string;
251
- discountAmount: number;
252
- endtime: number;
253
- }>;
254
- /** 不可用的订单券列表 */
246
+ /** 可用的订单券模板ID列表 */
247
+ available: string[];
248
+ /** 不可用的订单券模板及原因 */
255
249
  unavailable: Array<{
250
+ /** 券模板ID */
256
251
  couponId: string;
257
- couponName: string;
258
- couponCode: string;
259
252
  /** 不可用原因 */
260
- unavailableReason: string;
253
+ tips: string;
261
254
  }>;
262
255
  };
263
256
  /** 校验结果(仅在用户选择场景下有值) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-promotion-service-node-sdk",
3
- "version": "0.1.38",
3
+ "version": "0.1.40",
4
4
  "description": "EcommercePromotionService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",