@be-link/tfs-cli-nodejs 0.0.161 → 0.0.164

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/tfs-cli-nodejs",
3
- "version": "0.0.161",
3
+ "version": "0.0.164",
4
4
  "description": "交易履约服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -6,7 +6,7 @@ declare class OrderTouristMaterialService extends BaseService implements Service
6
6
  queryTouristMaterial(request: Service.Request.IQueryTouristMaterial): Promise<Record<string, Fulfill.Entity.PositiveOrderTouristMaterial>>;
7
7
  create(request: Service.Request.ICreate): Promise<void>;
8
8
  batchUpsert<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterial)[]>(request: Service.Request.IBatchUpsert<K>): Promise<void>;
9
- queryTouristMaterialAndMaterialItem(request: Service.Request.IQueryTouristMaterialAndMaterialItem): Promise<Service.Response.IQueryTouristMaterialAndMaterialItem>;
9
+ queryTouristMaterialAndMaterialItem(request: Service.Request.IQueryTouristMaterialAndMaterialItem): Promise<Service.Response.IQueryTouristMaterialAndMaterialItem[]>;
10
10
  getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Service.Request.IGetTouristMaterialItemById<K>): Promise<Partial<Fulfill.Entity.PositiveOrderTouristMaterialItem>>;
11
11
  checkOrderTouristMaterialDone(request: Service.Request.ICheckOrderTouristMaterialDone): Promise<Record<string, boolean>>;
12
12
  queryOrderTouristMaterialInfo(request: Service.Request.IQueryOrderTouristMaterialInfo): Promise<Record<string, Service.Response.IQueryOrderTouristMaterialInfo>>;
@@ -73,10 +73,10 @@ export declare namespace Service {
73
73
  }
74
74
  }
75
75
  namespace Response {
76
- type IQueryTouristMaterialAndMaterialItem = Record<string, {
76
+ interface IQueryTouristMaterialAndMaterialItem {
77
77
  touristMaterial: Fulfill.Entity.PositiveOrderTouristMaterial;
78
- touristMaterialItem: Fulfill.Entity.PositiveOrderTouristMaterialItem;
79
- }>;
78
+ touristMaterialItems: Fulfill.Entity.PositiveOrderTouristMaterialItem[];
79
+ }
80
80
  interface IQueryOrderTouristMaterialInfo {
81
81
  orderId: string;
82
82
  touristId: string;
@@ -138,7 +138,7 @@ export declare namespace Service {
138
138
  /** 批量插入或更新出行人材料记录 */
139
139
  batchUpsert<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterial)[]>(request: Request.IBatchUpsert<K>): Promise<void>;
140
140
  /** 查询出行人材料和材料项记录 */
141
- queryTouristMaterialAndMaterialItem(request: Request.IQueryTouristMaterialAndMaterialItem): Promise<Response.IQueryTouristMaterialAndMaterialItem>;
141
+ queryTouristMaterialAndMaterialItem(request: Request.IQueryTouristMaterialAndMaterialItem): Promise<Response.IQueryTouristMaterialAndMaterialItem[]>;
142
142
  /** 查询出行人材料项记录 */
143
143
  getTouristMaterialItemById<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterialItem)[]>(request: Request.IGetTouristMaterialItemById<K>): Promise<Partial<Fulfill.Entity.PositiveOrderTouristMaterialItem>>;
144
144
  /** 检查订单出行人材料是否都已完成 */