@be-link/tfs-cli-nodejs 0.0.155 → 0.0.157

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.155",
3
+ "version": "0.0.157",
4
4
  "description": "交易履约服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,7 +13,7 @@ declare class OrderTouristMaterialService extends BaseService implements Service
13
13
  verifyVisaInterviewInfo(request: Service.Request.IVerifyVisaInterviewInfo): Promise<void>;
14
14
  verifyVisaIssueInfo(request: Service.Request.IVerifyVisaIssueInfo): Promise<void>;
15
15
  verifyVisaCancelInfo(request: Service.Request.IVerifyVisaCancelInfo): Promise<void>;
16
- getOrderTouristMaterialDetail(request: Service.Request.IGetOrderTouristMaterialDetail): Promise<Service.Response.IQueryOrderTouristMaterialDetail>;
16
+ getOrderTouristMaterialDetail(request: Service.Request.IGetOrderTouristMaterialDetail): Promise<Service.Response.IQueryOrderTouristMaterialDetail[]>;
17
17
  firstApprove(request: Service.Request.IApproveTouristMaterial): Promise<void>;
18
18
  }
19
19
  declare const touristMaterialService: OrderTouristMaterialService;
@@ -18,7 +18,7 @@ export declare namespace Service {
18
18
  }
19
19
  interface IBatchUpsert<K extends (keyof Fulfill.Entity.PositiveOrderTouristMaterial)[]> {
20
20
  updateColumns: K;
21
- updateData: Fulfill.Entity.PositiveOrderTouristMaterial[];
21
+ updateData: Partial<Fulfill.Entity.PositiveOrderTouristMaterial>[];
22
22
  }
23
23
  interface ICheckOrderTouristMaterialDone {
24
24
  orderIds: string[];
@@ -91,33 +91,31 @@ export declare namespace Service {
91
91
  approvalRemark: string;
92
92
  }
93
93
  interface IQueryOrderTouristMaterialDetail {
94
+ id: string;
94
95
  orderId: string;
95
- touristMaterialList: {
96
- id: string;
97
- touristId: string;
98
- touristName: string;
99
- visaType: string;
100
- touristMaterial: {
101
- digitalMaterial: {
102
- total: number;
103
- tipStr: string;
104
- };
105
- physicalMaterial: {
106
- total: number;
107
- tipStr: string;
108
- };
96
+ touristId: string;
97
+ touristName: string;
98
+ visaType: string;
99
+ touristMaterial: {
100
+ digitalMaterial: {
101
+ total: number;
102
+ tipStr: string;
103
+ };
104
+ physicalMaterial: {
105
+ total: number;
106
+ tipStr: string;
109
107
  };
110
- /** 实体材料进度*/
111
- process: {
112
- updatedAt: number;
113
- approvalStatus?: CommodityEnums.TouristMaterialItemStatus;
114
- approvalStatusDisplay: string;
115
- operator: string;
116
- remark: string;
117
- }[];
118
- /** 审核状态 */
119
- approvalStatus: CommodityEnums.TouristMaterialStatus;
108
+ };
109
+ /** 实体材料进度*/
110
+ process: {
111
+ updatedAt: number;
112
+ approvalStatus?: CommodityEnums.TouristMaterialItemStatus;
113
+ approvalStatusDisplay: string;
114
+ operator: string;
115
+ remark: string;
120
116
  }[];
117
+ /** 审核状态 */
118
+ approvalStatus: CommodityEnums.TouristMaterialStatus;
121
119
  }
122
120
  }
123
121
  interface Controller {
@@ -142,7 +140,7 @@ export declare namespace Service {
142
140
  /** 商家消签操作 */
143
141
  verifyVisaCancelInfo(request: Request.IVerifyVisaCancelInfo): Promise<void>;
144
142
  /** 后台查询订单出行人材料详情 */
145
- getOrderTouristMaterialDetail(request: Request.IGetOrderTouristMaterialDetail): Promise<Response.IQueryOrderTouristMaterialDetail>;
143
+ getOrderTouristMaterialDetail(request: Request.IGetOrderTouristMaterialDetail): Promise<Response.IQueryOrderTouristMaterialDetail[]>;
146
144
  /** 共比邻初审 */
147
145
  firstApprove(request: Request.IApproveTouristMaterial): Promise<void>;
148
146
  }
package/types.d.ts CHANGED
@@ -536,7 +536,7 @@ export declare namespace Fulfill {
536
536
  /** 材料项快照 */
537
537
  materialItemSnapShot: ITourMaterialItem;
538
538
  /** 材料项审核状态 */
539
- approvalStatus: string;
539
+ approvalStatus: CommodityEnums.TouristMaterialItemStatus;
540
540
  /** 面签&出签信息 */
541
541
  extraInfo: TouristMaterialExtraInfo;
542
542
  /** 面签确认 */