@be-link/pos-cli-nodejs 0.0.81 → 0.0.82

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,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "0.0.81",
3
+ "version": "0.0.82",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
- countRollingSalesStatistics(request: Service.Request.queryRollingSalesStatistics): Promise<number>;
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
- countRollingSalesStatistics(request) {
50
- return (0, http_1.callApi)(this.getApiUrl(this.countRollingSalesStatistics), request);
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[];
@@ -502,6 +516,8 @@ export declare namespace Service {
502
516
  quantity: number;
503
517
  /** gmv */
504
518
  gmv: number;
519
+ /** 实付金额 */
520
+ paidAmount: number;
505
521
  /** 商品名称 */
506
522
  itemName: string;
507
523
  }
@@ -668,7 +684,7 @@ export declare namespace Service {
668
684
  /**
669
685
  * 查询动销统计总计金额
670
686
  */
671
- countRollingSalesStatistics(request: Request.queryRollingSalesStatistics): Promise<number>;
687
+ getRollingSalesStatisticsTotalAmount(request: Request.getRollingSalesStatisticsTotalAmount): Promise<number>;
672
688
  /**
673
689
  * 查询近N天的商品售卖信息
674
690
  * @path /query/commodity/query-item-sales-info-in-days