@be-link/tfs-cli-nodejs 0.0.46 → 0.0.48
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
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import BaseService from '../baseService';
|
|
2
2
|
import { CouponCode } from './type';
|
|
3
3
|
declare class CouponCodeService extends BaseService implements CouponCode.Controller {
|
|
4
|
+
listCouponCodeRecordByOrderList(request: CouponCode.Request.listCouponCodeOrderIdsReq): Promise<CouponCode.Response.queryTradeOrderCouponCodeRecordList>;
|
|
4
5
|
protected prefixUrl: string;
|
|
5
6
|
listStoreByCode(request: CouponCode.Request.listStoreByCodeReq): Promise<CouponCode.Response.IStore[]>;
|
|
6
7
|
listCouponCodeRecord(request: CouponCode.Request.listCouponCodeReq): Promise<CouponCode.Response.queryTradeOrderCouponCodeRecordList>;
|
|
@@ -10,6 +10,9 @@ class CouponCodeService extends baseService_1.default {
|
|
|
10
10
|
super(...arguments);
|
|
11
11
|
this.prefixUrl = '/trade-coupon';
|
|
12
12
|
}
|
|
13
|
+
listCouponCodeRecordByOrderList(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.listCouponCodeRecordByOrderList), request);
|
|
15
|
+
}
|
|
13
16
|
listStoreByCode(request) {
|
|
14
17
|
return (0, http_1.callApi)(this.getApiUrl(this.listStoreByCode), request);
|
|
15
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tradeOrderCouponCode/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,iBAAkB,SAAQ,qBAAW;IAA3C;;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tradeOrderCouponCode/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,iBAAkB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|
|
4
4
|
interface updateCouponCodeReq {
|
|
5
5
|
orderId: string;
|
|
6
|
-
|
|
6
|
+
fromStatus: string;
|
|
7
|
+
toStatus: string;
|
|
7
8
|
}
|
|
8
9
|
interface listCouponCodeReq {
|
|
9
10
|
orderId: string;
|
|
10
11
|
}
|
|
12
|
+
interface listCouponCodeOrderIdsReq {
|
|
13
|
+
orderIds: string;
|
|
14
|
+
}
|
|
11
15
|
interface listStoreByCodeReq {
|
|
12
16
|
code: string;
|
|
13
17
|
}
|
|
@@ -123,6 +127,11 @@ export declare namespace CouponCode {
|
|
|
123
127
|
* @path /trade-coupon/list-coupon-code-record
|
|
124
128
|
*/
|
|
125
129
|
listCouponCodeRecord(request: Request.listCouponCodeReq): Promise<Response.queryTradeOrderCouponCodeRecordList>;
|
|
130
|
+
/**
|
|
131
|
+
* 订单券码核销记录
|
|
132
|
+
* @path /trade-coupon/list-coupon-code-record-by-order-list
|
|
133
|
+
*/
|
|
134
|
+
listCouponCodeRecordByOrderList(request: Request.listCouponCodeOrderIdsReq): Promise<Response.queryTradeOrderCouponCodeRecordList>;
|
|
126
135
|
/**
|
|
127
136
|
* 订单券码list
|
|
128
137
|
* @path /trade-coupon/list-coupon-code
|