@be-link/vitality-cli-nodejs 0.0.21 → 0.0.22
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/package.json +1 -1
- package/vs/modules/biz/index.d.ts +1 -1
- package/vs/modules/biz/promotion/index.d.ts +1 -1
- package/vs/modules/biz/promotion/main/service.d.ts +1 -1
- package/vs/modules/biz/promotion/main/service.js +2 -2
- package/vs/modules/biz/promotion/main/service.js.map +1 -1
- package/vs/modules/biz/promotion/type.d.ts +1 -5
package/package.json
CHANGED
|
@@ -1309,7 +1309,7 @@ declare const bizService: {
|
|
|
1309
1309
|
queryCouponByUserAndTemplate(request: import("./promotion").Promotion.Main.Request.QueryCouponByUserAndTemplate): Promise<import("./promotion").Promotion.Coupon[]>;
|
|
1310
1310
|
countCouponByTemplateIdAndStatus(request: import("./promotion").Promotion.Main.Request.CountCouponByTemplateIdAndStatus): Promise<number>;
|
|
1311
1311
|
getItemActivityInfo(request: import("./promotion").Promotion.Main.Request.GetItemActivityInfo): Promise<Record<string, unknown>>;
|
|
1312
|
-
getItemListInDynamicCoupon(
|
|
1312
|
+
getItemListInDynamicCoupon(couponTemplateId: string): Promise<string[]>;
|
|
1313
1313
|
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1314
1314
|
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1315
1315
|
getHost(): string;
|
|
@@ -12,7 +12,7 @@ declare const promotionService: {
|
|
|
12
12
|
queryCouponByUserAndTemplate(request: import("./type").Promotion.Main.Request.QueryCouponByUserAndTemplate): Promise<import("./type").Promotion.Coupon[]>;
|
|
13
13
|
countCouponByTemplateIdAndStatus(request: import("./type").Promotion.Main.Request.CountCouponByTemplateIdAndStatus): Promise<number>;
|
|
14
14
|
getItemActivityInfo(request: import("./type").Promotion.Main.Request.GetItemActivityInfo): Promise<Record<string, unknown>>;
|
|
15
|
-
getItemListInDynamicCoupon(
|
|
15
|
+
getItemListInDynamicCoupon(couponTemplateId: string): Promise<string[]>;
|
|
16
16
|
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
17
17
|
readonly publicProdHost: "https://vs.wejourney.top";
|
|
18
18
|
getHost(): string;
|
|
@@ -10,7 +10,7 @@ declare class PromotionMainService extends BaseService implements Promotion.Main
|
|
|
10
10
|
queryCouponByUserAndTemplate(request: Promotion.Main.Request.QueryCouponByUserAndTemplate): Promise<Promotion.Coupon[]>;
|
|
11
11
|
countCouponByTemplateIdAndStatus(request: Promotion.Main.Request.CountCouponByTemplateIdAndStatus): Promise<number>;
|
|
12
12
|
getItemActivityInfo(request: Promotion.Main.Request.GetItemActivityInfo): Promise<Record<string, unknown>>;
|
|
13
|
-
getItemListInDynamicCoupon(
|
|
13
|
+
getItemListInDynamicCoupon(couponTemplateId: string): Promise<string[]>;
|
|
14
14
|
}
|
|
15
15
|
declare const promotionMainService: PromotionMainService;
|
|
16
16
|
export default promotionMainService;
|
|
@@ -34,8 +34,8 @@ class PromotionMainService extends baseService_1.default {
|
|
|
34
34
|
getItemActivityInfo(request) {
|
|
35
35
|
return (0, http_1.callScfApi)(this.getApiUrl(this.getItemActivityInfo), request);
|
|
36
36
|
}
|
|
37
|
-
getItemListInDynamicCoupon(
|
|
38
|
-
return (0, http_1.callScfApi)(this.getApiUrl(this.getItemListInDynamicCoupon),
|
|
37
|
+
getItemListInDynamicCoupon(couponTemplateId) {
|
|
38
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getItemListInDynamicCoupon), couponTemplateId);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
const promotionMainService = new PromotionMainService();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/promotion/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,oBAAqB,SAAQ,qBAAW;IAA9C;;QACE,cAAS,GAAG,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/promotion/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,oBAAqB,SAAQ,qBAAW;IAA9C;;QACE,cAAS,GAAG,qBAAqB,CAAA;IAwEnC,CAAC;IAtEC,gCAAgC,CAC9B,OAAgE;QAEhE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gCAAgC,CAAC,EACrD,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAA8C;QAC3D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAA8C;QAC3D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;IAED,WAAW,CAAC,OAA2C;QACrD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,EAChC,OAAO,CACR,CAAA;IACH,CAAC;IAED,aAAa,CAAC,QAAgB;QAC5B,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,aAAa,CAAC,EAClC,QAAQ,CACT,CAAA;IACH,CAAC;IAED,4BAA4B,CAC1B,OAA4D;QAE5D,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,4BAA4B,CAAC,EACjD,OAAO,CACR,CAAA;IACH,CAAC;IAED,gCAAgC,CAC9B,OAAgE;QAEhE,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gCAAgC,CAAC,EACrD,OAAO,CACR,CAAA;IACH,CAAC;IAED,mBAAmB,CACjB,OAAmD;QAEnD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mBAAmB,CAAC,EACxC,OAAO,CACR,CAAA;IACH,CAAC;IAED,0BAA0B,CAAC,gBAAwB;QACjD,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,0BAA0B,CAAC,EAC/C,gBAAgB,CACjB,CAAA;IACH,CAAC;CACF;AAED,MAAM,oBAAoB,GAAG,IAAI,oBAAoB,EAAE,CAAA;AACvD,kBAAe,oBAAoB,CAAA"}
|
|
@@ -112,10 +112,6 @@ export declare namespace Promotion {
|
|
|
112
112
|
itemId: string;
|
|
113
113
|
source: string;
|
|
114
114
|
}
|
|
115
|
-
/** CommodityService currently sends this object rather than a root string. */
|
|
116
|
-
interface GetItemListInDynamicCoupon {
|
|
117
|
-
couponTemplateId: string;
|
|
118
|
-
}
|
|
119
115
|
}
|
|
120
116
|
namespace Response {
|
|
121
117
|
interface CalculateLowestPriceForDirectPay {
|
|
@@ -155,7 +151,7 @@ export declare namespace Promotion {
|
|
|
155
151
|
queryCouponByUserAndTemplate(request: Request.QueryCouponByUserAndTemplate): Promise<Coupon[]>;
|
|
156
152
|
countCouponByTemplateIdAndStatus(request: Request.CountCouponByTemplateIdAndStatus): Promise<number>;
|
|
157
153
|
getItemActivityInfo(request: Request.GetItemActivityInfo): Promise<Record<string, unknown>>;
|
|
158
|
-
getItemListInDynamicCoupon(
|
|
154
|
+
getItemListInDynamicCoupon(couponTemplateId: string): Promise<string[]>;
|
|
159
155
|
}
|
|
160
156
|
}
|
|
161
157
|
namespace Job {
|