@be-link/pos-cli-nodejs 1.0.109 → 1.0.111

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": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -276,6 +276,8 @@ export declare namespace Service {
276
276
  itemIdList?: string[];
277
277
  /** 二级类目列表 */
278
278
  categoryTwoList?: string[];
279
+ /** 是否有出行材料 */
280
+ tourMaterial?: boolean;
279
281
  }
280
282
  interface queryOrderMergeRecordByOrderId {
281
283
  /** 订单id */
@@ -6,6 +6,7 @@ declare class OrderTouristMaterialService extends BaseService implements Service
6
6
  get(request: Service.Request.IGet): Promise<ITradeOrderTourMaterialInfo>;
7
7
  queryExists(request: Service.Request.IQueryExists): Promise<Record<string, boolean>>;
8
8
  getTourMaterialInfo(request: Service.Request.IGetTourMaterialInfo): Promise<Service.Response.IGetTourMaterialInfo>;
9
+ initDepartureOrderTourMaterialInfo(request: Service.Request.InitDepartureOrderTourMaterialInfo): Promise<void>;
9
10
  }
10
11
  declare const orderTouristMaterialService: OrderTouristMaterialService;
11
12
  export default orderTouristMaterialService;
@@ -19,6 +19,9 @@ class OrderTouristMaterialService extends service_1.default {
19
19
  async getTourMaterialInfo(request) {
20
20
  return (0, http_1.callApi)(this.getApiUrl(this.getTourMaterialInfo), request);
21
21
  }
22
+ async initDepartureOrderTourMaterialInfo(request) {
23
+ return (0, http_1.callApi)(this.getApiUrl(this.initDepartureOrderTourMaterialInfo), request);
24
+ }
22
25
  }
23
26
  const orderTouristMaterialService = new OrderTouristMaterialService();
24
27
  exports.default = orderTouristMaterialService;
@@ -12,6 +12,10 @@ export declare namespace Service {
12
12
  interface IGetTourMaterialInfo {
13
13
  orderId: string;
14
14
  }
15
+ interface InitDepartureOrderTourMaterialInfo {
16
+ itemIds: string[];
17
+ departureDateRange: [number, number];
18
+ }
15
19
  }
16
20
  namespace Response {
17
21
  type IGetTourMaterialInfo = CsDto.ITourMaterialSnapshot & {
@@ -27,5 +31,7 @@ export declare namespace Service {
27
31
  queryExists(request: Request.IQueryExists): Promise<Record<string, boolean>>;
28
32
  /** 获取商品出行材料快照信息 */
29
33
  getTourMaterialInfo(request: Request.IGetTourMaterialInfo): Promise<Response.IGetTourMaterialInfo>;
34
+ /** 初始化出团订单的商品出行材料信息 */
35
+ initDepartureOrderTourMaterialInfo(request: Request.InitDepartureOrderTourMaterialInfo): Promise<void>;
30
36
  }
31
37
  }