@be-link/pos-cli-nodejs 1.0.48 → 1.0.50

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +9 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -550,6 +550,13 @@ export interface TouristInfo {
550
550
  isVoiceSucceed?: boolean;
551
551
  /** 是否发送短信 */
552
552
  isSmsSucceed?: boolean;
553
+ cardType?: string;
554
+ passportInfo?: {
555
+ region: string;
556
+ birthday: number;
557
+ validityDate: number;
558
+ imageUrl: string;
559
+ };
553
560
  }
554
561
  /** 旅游出行信息,已不再适用,兼容旧数据 */
555
562
  export interface ItineraryInfo {
@@ -945,8 +952,8 @@ export interface ITradeTourismInfo {
945
952
  /** 护照信息 */
946
953
  passportInfo: {
947
954
  region: string;
948
- birthday: string;
949
- validityDate: string;
955
+ birthday: number;
956
+ validityDate: number;
950
957
  imageUrl: string;
951
958
  };
952
959
  }[];