@be-link/pos-cli-nodejs 1.0.103 → 1.0.105

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.103",
3
+ "version": "1.0.105",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -50,7 +50,7 @@
50
50
  "axios-retry": "^4.0.0",
51
51
  "uuid": "^9.0.1",
52
52
  "vitality-meta": "1.0.197",
53
- "@be-link/cs-cli-nodejs": "0.1.1",
53
+ "@be-link/cs-cli-nodejs": "0.1.97",
54
54
  "lodash": "4.17.21"
55
55
  }
56
56
  }
@@ -1,5 +1,6 @@
1
- import * as PosEnums from 'vitality-meta/enums/pos';
2
- import { ITourMaterialSnapshot, ITradeOrderTourMaterialInfo } from '../../../types';
1
+ import * as CommodityEnums from 'vitality-meta/enums/commodity';
2
+ import { ITradeOrderTourMaterialInfo } from '../../../types';
3
+ import * as CsDto from '@be-link/cs-cli-nodejs/types';
3
4
  export declare namespace Service {
4
5
  namespace Request {
5
6
  interface IGet {
@@ -13,11 +14,11 @@ export declare namespace Service {
13
14
  }
14
15
  }
15
16
  namespace Response {
16
- interface IGetTourMaterialInfo extends ITourMaterialSnapshot {
17
+ type IGetTourMaterialInfo = CsDto.ITourMaterialSnapshot & {
17
18
  orderId: string;
18
- process: PosEnums.TouristMaterialTotalStatus[];
19
- process2: PosEnums.TouristMaterialTotalStatus[];
20
- }
19
+ process: CommodityEnums.TouristMaterialStatus[];
20
+ process2: CommodityEnums.TouristMaterialStatus[];
21
+ };
21
22
  }
22
23
  interface Controller {
23
24
  /** 获取订单上的商品出行人材料快照信息 */
package/types.d.ts CHANGED
@@ -981,7 +981,7 @@ export interface ITradeOrderTourMaterialSnapshot {
981
981
  createdAt: number;
982
982
  updatedAt: number;
983
983
  itemId: string;
984
- tourMaterialSnapShot: ITourMaterialSnapshot;
984
+ tourMaterialSnapShot: CSDto.ITourMaterialSnapshot;
985
985
  tourMaterialStatus: number;
986
986
  }
987
987
  export interface IWxPrepayResult {
@@ -1236,7 +1236,7 @@ export interface ITradeOrderTourMaterialInfo {
1236
1236
  /**
1237
1237
  * 商品出行材料快照信息
1238
1238
  */
1239
- tourMaterialSnapShot: ITourMaterialSnapshot;
1239
+ tourMaterialSnapShot: CSDto.ITourMaterialSnapshot;
1240
1240
  /**
1241
1241
  * 出行材料类型
1242
1242
  */
@@ -1250,49 +1250,6 @@ export interface ITradeOrderTourMaterialInfo {
1250
1250
  */
1251
1251
  tourMaterialStatus: number;
1252
1252
  }
1253
- /** 商品出行材料项信息 */
1254
- export interface ITourMaterialItem {
1255
- /** 材料项id */
1256
- id?: string;
1257
- createdAt?: number;
1258
- updatedAt?: number;
1259
- deletedAt?: number;
1260
- /** 商品id */
1261
- itemId: string;
1262
- /** 标题 */
1263
- title: string;
1264
- /** 签证类型 */
1265
- visaType: commodityEnums.TourMaterialVisaType;
1266
- /** 收集类型 */
1267
- collectType: commodityEnums.TourMaterialCollectType;
1268
- /** 具体要求 */
1269
- specificInfo: string;
1270
- /** 实例图片 */
1271
- attachments: string[];
1272
- /** 是否可用 */
1273
- isEnable: boolean;
1274
- }
1275
- /** 商品出行材料快照信息信息 */
1276
- export interface ITourMaterialSnapshot {
1277
- /** 商品id */
1278
- id: string;
1279
- createdAt?: number;
1280
- updatedAt?: number;
1281
- /** 材料类型 */
1282
- materialType: commodityEnums.TourMaterialType;
1283
- /** 代办费用 */
1284
- agentCharge: number;
1285
- /** 是否面签 */
1286
- visaInterview: boolean;
1287
- /** 是否消签 */
1288
- visaCancel: boolean;
1289
- /** 是否可用 */
1290
- isEnable: boolean;
1291
- /** 材料项1:实体材料或 代办材料*/
1292
- items: ITourMaterialItem[];
1293
- /** 材料项2:自备材料 */
1294
- items2?: ITourMaterialItem[];
1295
- }
1296
1253
  /** 订单查询结果 */
1297
1254
  export type QueryDataRes<K extends (keyof QueryDataBlockTypeMap)[]> = {
1298
1255
  [key in K[number]]: QueryDataBlockTypeMap[key];