@be-link/pos-cli-nodejs 0.0.81 → 0.0.83
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
|
@@ -15,7 +15,7 @@ declare class QueryByCommodityService extends BaseService implements Service.Que
|
|
|
15
15
|
queryPeriodTradeOrderOperatorList(request: Service.Request.queryPeriodTradeOrderOperatorList): Promise<Service.Response.queryPeriodTradeOrderOperatorList[]>;
|
|
16
16
|
queryRollingSalesStatistics(request: Service.Request.queryRollingSalesStatistics): Promise<Service.Response.queryRollingSalesStatistics[]>;
|
|
17
17
|
queryItemSalesInfoInDays(request: Service.Request.IQueryItemSaleInfoInDays): Promise<Service.Response.IQueryItemSaleInfoInDays[]>;
|
|
18
|
-
|
|
18
|
+
getRollingSalesStatisticsTotalAmount(request: Service.Request.getRollingSalesStatisticsTotalAmount): Promise<number>;
|
|
19
19
|
}
|
|
20
20
|
declare const queryByCommodityService: QueryByCommodityService;
|
|
21
21
|
export default queryByCommodityService;
|
|
@@ -46,8 +46,8 @@ class QueryByCommodityService extends service_1.default {
|
|
|
46
46
|
queryItemSalesInfoInDays(request) {
|
|
47
47
|
return (0, http_1.callApi)(this.getApiUrl(this.queryItemSalesInfoInDays), request);
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
49
|
+
getRollingSalesStatisticsTotalAmount(request) {
|
|
50
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getRollingSalesStatisticsTotalAmount), request);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
const queryByCommodityService = new QueryByCommodityService();
|
|
@@ -343,6 +343,20 @@ export declare namespace Service {
|
|
|
343
343
|
/** 商品类目列表 */
|
|
344
344
|
categoryList?: string[];
|
|
345
345
|
}
|
|
346
|
+
interface getRollingSalesStatisticsTotalAmount {
|
|
347
|
+
/** 商品id */
|
|
348
|
+
itemId?: string;
|
|
349
|
+
/** 下单起始时间 */
|
|
350
|
+
startTime?: number;
|
|
351
|
+
/** 下单结束时间 */
|
|
352
|
+
endTime?: number;
|
|
353
|
+
/** 履约开始时间 */
|
|
354
|
+
fulfillStartTime?: number;
|
|
355
|
+
/** 履约结束时间 */
|
|
356
|
+
fulfillEndTime?: number;
|
|
357
|
+
/** 商品类目列表 */
|
|
358
|
+
categoryList?: string[];
|
|
359
|
+
}
|
|
346
360
|
interface getStoreOrderCount {
|
|
347
361
|
/** 状态 */
|
|
348
362
|
statusList?: string[];
|
|
@@ -500,8 +514,10 @@ export declare namespace Service {
|
|
|
500
514
|
applicablePeople: string;
|
|
501
515
|
/** 份数 */
|
|
502
516
|
quantity: number;
|
|
503
|
-
/** gmv */
|
|
517
|
+
/** gmv(实付金额. 不包含退款金额) */
|
|
504
518
|
gmv: number;
|
|
519
|
+
/** 剩余金额 */
|
|
520
|
+
remainAmount: number;
|
|
505
521
|
/** 商品名称 */
|
|
506
522
|
itemName: string;
|
|
507
523
|
}
|
|
@@ -668,7 +684,7 @@ export declare namespace Service {
|
|
|
668
684
|
/**
|
|
669
685
|
* 查询动销统计总计金额
|
|
670
686
|
*/
|
|
671
|
-
|
|
687
|
+
getRollingSalesStatisticsTotalAmount(request: Request.getRollingSalesStatisticsTotalAmount): Promise<number>;
|
|
672
688
|
/**
|
|
673
689
|
* 查询近N天的商品售卖信息
|
|
674
690
|
* @path /query/commodity/query-item-sales-info-in-days
|