@be-link/pos-cli-nodejs 0.0.98 → 0.0.100

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.98",
3
+ "version": "0.0.100",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,6 +10,7 @@ declare class QueryByCommodityService extends BaseService implements Service.Que
10
10
  queryItineraryList(request: Service.Request.queryItineraryList): Promise<Service.Response.queryItineraryList[]>;
11
11
  getItineraryCount(request: Service.Request.getItineraryCount): Promise<number>;
12
12
  queryPartyOrderInfo(request: Service.Request.queryPartyOrderInfo): Promise<Service.Response.queryPartyOrderInfo[]>;
13
+ queryPartyOrderDetail<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Service.Request.IQueryPartyOrderDetail<K>): Promise<DTO.QueryDataRes<K>[]>;
13
14
  getPartyOrderCount(request: Service.Request.getPartyOrderCount): Promise<number>;
14
15
  queryPeriodTradeOrderList(request: Service.Request.queryPeriodTradeOrderList): Promise<Service.Response.queryPeriodTradeOrderList[]>;
15
16
  queryPeriodTradeOrderOperatorList(request: Service.Request.queryPeriodTradeOrderOperatorList): Promise<Service.Response.queryPeriodTradeOrderOperatorList[]>;
@@ -31,6 +31,9 @@ class QueryByCommodityService extends service_1.default {
31
31
  queryPartyOrderInfo(request) {
32
32
  return (0, http_1.callApi)(this.getApiUrl(this.queryPartyOrderInfo), request);
33
33
  }
34
+ queryPartyOrderDetail(request) {
35
+ return (0, http_1.callApi)(this.getApiUrl(this.queryPartyOrderDetail), request);
36
+ }
34
37
  getPartyOrderCount(request) {
35
38
  return (0, http_1.callApi)(this.getApiUrl(this.getPartyOrderCount), request);
36
39
  }
@@ -211,6 +211,22 @@ export declare namespace Service {
211
211
  /** 订单状态 */
212
212
  statusList?: PosConstants.TradeOrderStatusEnum[];
213
213
  }
214
+ interface IQueryPartyOrderDetail<K> {
215
+ /** 商品ID */
216
+ itemId: string;
217
+ /** 履约时间 */
218
+ fulfillAt: number;
219
+ /** 履约时间比较条件 */
220
+ fulfillAtComparer: 'LT' | 'EQ' | 'GT' | 'LTE' | 'GTE';
221
+ /** 订单状态列表 */
222
+ statusList: PosConstants.TradeOrderStatusEnum[];
223
+ /** 需要查询的块 */
224
+ needBlocks: K;
225
+ /** 页码 */
226
+ pageIndex?: number;
227
+ /** 条目数 */
228
+ pageSize?: number;
229
+ }
214
230
  interface getPartyOrderCount {
215
231
  /** 类目 */
216
232
  categoryTwo?: string;
@@ -266,6 +282,8 @@ export declare namespace Service {
266
282
  isNotFinishedNote?: boolean;
267
283
  /** 是否排除已合并的订单 */
268
284
  isExcludeMerged?: boolean;
285
+ /** 是否仅查询主单 */
286
+ isRootOrder?: boolean;
269
287
  /** 页面条数 */
270
288
  pageSize: number;
271
289
  /** 页面下标 */
@@ -473,6 +491,8 @@ export declare namespace Service {
473
491
  isNotFinishedNote?: boolean;
474
492
  /** 是否排除已合并的订单 */
475
493
  isExcludeMerged?: boolean;
494
+ /** 是否仅查询主单 */
495
+ isRootOrder?: boolean;
476
496
  }
477
497
  interface queryRejectReasons {
478
498
  /** 订单Id */
@@ -543,8 +563,6 @@ export declare namespace Service {
543
563
  storeId: string;
544
564
  /** 商品ID */
545
565
  itemId: string;
546
- /** skuId */
547
- skuId: string;
548
566
  /** 订单数量 */
549
567
  orderCount: number;
550
568
  /** 出行时间 */
@@ -750,6 +768,11 @@ export declare namespace Service {
750
768
  * @path /query/commodity/get-party-order-count
751
769
  */
752
770
  getPartyOrderCount(request: Request.getPartyOrderCount): Promise<number>;
771
+ /**
772
+ * 查询聚会单详情
773
+ * @path /query/commodity/query-party-order-detail
774
+ */
775
+ queryPartyOrderDetail<K extends (keyof DTO.QueryDataBlockTypeMap)[]>(request: Request.IQueryPartyOrderDetail<K>): Promise<DTO.QueryDataRes<K>[]>;
753
776
  /**
754
777
  * 查询某个时间段内下单情况
755
778
  * @path /query/commodity/query-order-by-time-range