@be-link/ecommerce-backend-bff-service-node-sdk 0.0.92 → 0.0.93
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.
|
@@ -182,7 +182,7 @@ export declare namespace CouponService {
|
|
|
182
182
|
/** 券生命周期 */
|
|
183
183
|
lifeCycle: Entity.CouponLifeCycle;
|
|
184
184
|
/** 使用限制 */
|
|
185
|
-
usageLimit
|
|
185
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
186
186
|
/** 领取限制列表 */
|
|
187
187
|
receiveLimits?: Array<{
|
|
188
188
|
/** 限制维度 */
|
|
@@ -191,7 +191,7 @@ export declare namespace CouponService {
|
|
|
191
191
|
limitValue: number;
|
|
192
192
|
}>;
|
|
193
193
|
/** 优惠规则列表 */
|
|
194
|
-
|
|
194
|
+
discountRule?: Array<{
|
|
195
195
|
/** 优惠类型 */
|
|
196
196
|
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_RULE_TYPE;
|
|
197
197
|
/** 优惠值(金额:分,折扣:0-100) */
|
|
@@ -334,7 +334,7 @@ export declare namespace CouponService {
|
|
|
334
334
|
/** 券生命周期 */
|
|
335
335
|
lifeCycle: Entity.CouponLifeCycle;
|
|
336
336
|
/** 使用限制 */
|
|
337
|
-
usageLimit
|
|
337
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
338
338
|
/** 领取限制列表 */
|
|
339
339
|
receiveLimits?: Array<{
|
|
340
340
|
/** 限制维度 */
|
|
@@ -360,9 +360,11 @@ export declare namespace CouponService {
|
|
|
360
360
|
/** 是否可用 */
|
|
361
361
|
available: boolean;
|
|
362
362
|
/** 范围值 */
|
|
363
|
-
scopeValue
|
|
363
|
+
scopeValue?: string;
|
|
364
364
|
/** 范围类型 */
|
|
365
365
|
scopeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
366
|
+
/** 商品列表 */
|
|
367
|
+
idList: string[];
|
|
366
368
|
}>;
|
|
367
369
|
}
|
|
368
370
|
/** 扣减券库存响应 */
|
|
@@ -182,7 +182,7 @@ export declare namespace CouponService {
|
|
|
182
182
|
/** 券生命周期 */
|
|
183
183
|
lifeCycle: Entity.CouponLifeCycle;
|
|
184
184
|
/** 使用限制 */
|
|
185
|
-
usageLimit
|
|
185
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
186
186
|
/** 领取限制列表 */
|
|
187
187
|
receiveLimits?: Array<{
|
|
188
188
|
/** 限制维度 */
|
|
@@ -191,7 +191,7 @@ export declare namespace CouponService {
|
|
|
191
191
|
limitValue: number;
|
|
192
192
|
}>;
|
|
193
193
|
/** 优惠规则列表 */
|
|
194
|
-
|
|
194
|
+
discountRule?: Array<{
|
|
195
195
|
/** 优惠类型 */
|
|
196
196
|
type: PROMOTION_SERVICE_ENUM.COUPON_ENUM.DISCOUNT_RULE_TYPE;
|
|
197
197
|
/** 优惠值(金额:分,折扣:0-100) */
|
|
@@ -334,7 +334,7 @@ export declare namespace CouponService {
|
|
|
334
334
|
/** 券生命周期 */
|
|
335
335
|
lifeCycle: Entity.CouponLifeCycle;
|
|
336
336
|
/** 使用限制 */
|
|
337
|
-
usageLimit
|
|
337
|
+
usageLimit?: Entity.CouponUsageLimit;
|
|
338
338
|
/** 领取限制列表 */
|
|
339
339
|
receiveLimits?: Array<{
|
|
340
340
|
/** 限制维度 */
|
|
@@ -360,9 +360,11 @@ export declare namespace CouponService {
|
|
|
360
360
|
/** 是否可用 */
|
|
361
361
|
available: boolean;
|
|
362
362
|
/** 范围值 */
|
|
363
|
-
scopeValue
|
|
363
|
+
scopeValue?: string;
|
|
364
364
|
/** 范围类型 */
|
|
365
365
|
scopeType: PROMOTION_SERVICE_ENUM.COUPON_ENUM.SCOPE_TYPE;
|
|
366
|
+
/** 商品列表 */
|
|
367
|
+
idList: string[];
|
|
366
368
|
}>;
|
|
367
369
|
}
|
|
368
370
|
/** 扣减券库存响应 */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@be-link/ecommerce-backend-bff-service-node-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.93",
|
|
4
4
|
"description": "EcommerceBackendBffService Node.js SDK",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@be-link/ecommerce-client-backend-service-node-sdk": "^0.0.11",
|
|
29
29
|
"@be-link/ecommerce-tag-service-node-sdk": "^0.0.11",
|
|
30
30
|
"@be-link/ecommerce-store-service-node-sdk": "^0.0.22",
|
|
31
|
-
"@be-link/ecommerce-trade-service-node-sdk": "^0.0.
|
|
31
|
+
"@be-link/ecommerce-trade-service-node-sdk": "^0.0.53",
|
|
32
32
|
"@be-link/ecommerce-task-center-service-node-sdk": "^0.0.34",
|
|
33
33
|
"@be-link/ecommerce-promotion-service-node-sdk": "^0.0.28",
|
|
34
34
|
"axios": "1.13.2",
|