@be-link/tfs-cli-nodejs 0.0.12 → 0.0.14
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/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/tfs/modules/departureGroup/service.d.ts +10 -0
- package/tfs/modules/departureGroup/service.js +25 -0
- package/tfs/modules/departureGroup/service.js.map +1 -0
- package/tfs/modules/departureGroup/type.d.ts +86 -0
- package/tfs/modules/departureGroup/type.js +3 -0
- package/tfs/modules/departureGroup/type.js.map +1 -0
- package/tfs/modules/itinerary/service.d.ts +11 -0
- package/tfs/modules/itinerary/service.js +28 -0
- package/tfs/modules/itinerary/service.js.map +1 -0
- package/tfs/modules/itinerary/type.d.ts +130 -0
- package/tfs/modules/itinerary/type.js +3 -0
- package/tfs/modules/itinerary/type.js.map +1 -0
- package/types.d.ts +36 -0
package/index.d.ts
CHANGED
|
@@ -3,5 +3,7 @@ import rescheduleService from './tfs/modules/reschedule/service';
|
|
|
3
3
|
import tourTeamService from './tfs/modules/tourTeam/service';
|
|
4
4
|
import tourGroupService from './tfs/modules/tourGroup/service';
|
|
5
5
|
import tourismInfoService from './tfs/modules/tourismInfo/service';
|
|
6
|
+
import itineraryService from './tfs/modules/itinerary/service';
|
|
7
|
+
import departureGroupService from './tfs/modules/departureGroup/service';
|
|
6
8
|
/** 业务模块 */
|
|
7
|
-
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService };
|
|
9
|
+
export { BizError, rescheduleService, tourTeamService, tourGroupService, tourismInfoService, itineraryService, departureGroupService };
|
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.tourismInfoService = exports.tourGroupService = exports.tourTeamService = exports.rescheduleService = exports.BizError = void 0;
|
|
6
|
+
exports.departureGroupService = exports.itineraryService = exports.tourismInfoService = exports.tourGroupService = exports.tourTeamService = exports.rescheduleService = exports.BizError = void 0;
|
|
7
7
|
const BizError_1 = __importDefault(require("./errors/BizError"));
|
|
8
8
|
exports.BizError = BizError_1.default;
|
|
9
9
|
const service_1 = __importDefault(require("./tfs/modules/reschedule/service"));
|
|
@@ -14,4 +14,8 @@ const service_3 = __importDefault(require("./tfs/modules/tourGroup/service"));
|
|
|
14
14
|
exports.tourGroupService = service_3.default;
|
|
15
15
|
const service_4 = __importDefault(require("./tfs/modules/tourismInfo/service"));
|
|
16
16
|
exports.tourismInfoService = service_4.default;
|
|
17
|
+
const service_5 = __importDefault(require("./tfs/modules/itinerary/service"));
|
|
18
|
+
exports.itineraryService = service_5.default;
|
|
19
|
+
const service_6 = __importDefault(require("./tfs/modules/departureGroup/service"));
|
|
20
|
+
exports.departureGroupService = service_6.default;
|
|
17
21
|
//# sourceMappingURL=index.js.map
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iEAAwC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,iEAAwC;AAUtC,mBAVK,kBAAQ,CAUL;AATV,+EAAgE;AAU9D,4BAVK,iBAAiB,CAUL;AATnB,6EAA4D;AAU1D,0BAVK,iBAAe,CAUL;AATjB,8EAA8D;AAU5D,2BAVK,iBAAgB,CAUL;AATlB,gFAAkE;AAUhE,6BAVK,iBAAkB,CAUL;AATpB,8EAA8D;AAU5D,2BAVK,iBAAgB,CAUL;AATlB,mFAAwE;AAUtE,gCAVK,iBAAqB,CAUL"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { DepartureGroup } from './type';
|
|
3
|
+
declare class DepartureGroupService extends BaseService implements DepartureGroup.Controller {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
createDepartureGroup(request: DepartureGroup.Request.createDepartureGroup): Promise<void>;
|
|
6
|
+
updateDepartureGroup(request: DepartureGroup.Request.updateDepartureGroup): Promise<void>;
|
|
7
|
+
getDepartureGroupByBizId(request: DepartureGroup.Request.getDepartureGroupByBizId): Promise<DepartureGroup.Response.getDepartureGroupByBizId>;
|
|
8
|
+
}
|
|
9
|
+
declare const departureGroupService: DepartureGroupService;
|
|
10
|
+
export default departureGroupService;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const http_1 = require("../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../baseService"));
|
|
8
|
+
class DepartureGroupService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/departure-group';
|
|
12
|
+
}
|
|
13
|
+
createDepartureGroup(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.createDepartureGroup), request);
|
|
15
|
+
}
|
|
16
|
+
updateDepartureGroup(request) {
|
|
17
|
+
return (0, http_1.callApi)(this.getApiUrl(this.updateDepartureGroup), request);
|
|
18
|
+
}
|
|
19
|
+
getDepartureGroupByBizId(request) {
|
|
20
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getDepartureGroupByBizId), request);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const departureGroupService = new DepartureGroupService();
|
|
24
|
+
exports.default = departureGroupService;
|
|
25
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/departureGroup/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,qBAAsB,SAAQ,qBAAW;IAA/C;;QACY,cAAS,GAAW,kBAAkB,CAAA;IAWlD,CAAC;IATC,oBAAoB,CAAC,OAAoD;QACvE,OAAO,IAAA,cAAO,EAAoD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC,CAAA;IACvH,CAAC;IACD,oBAAoB,CAAC,OAAoD;QACvE,OAAO,IAAA,cAAO,EAAoD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,OAAO,CAAC,CAAA;IACvH,CAAC;IACD,wBAAwB,CAAC,OAAwD;QAC/E,OAAO,IAAA,cAAO,EAAwD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC/H,CAAC;CACF;AAED,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAA;AAEzD,kBAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Fulfill } from '../../../types';
|
|
2
|
+
export declare namespace DepartureGroup {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface createDepartureGroup {
|
|
5
|
+
type: Fulfill.Constants.DepartureGroupTypeEnum;
|
|
6
|
+
bizId: string;
|
|
7
|
+
data: {
|
|
8
|
+
tourGuideInfo: {
|
|
9
|
+
name: string;
|
|
10
|
+
mobile: string;
|
|
11
|
+
};
|
|
12
|
+
volunteerInfo: {
|
|
13
|
+
name: string;
|
|
14
|
+
mobile: string;
|
|
15
|
+
};
|
|
16
|
+
wxQrCode: string;
|
|
17
|
+
preDepartureStatement: string;
|
|
18
|
+
note: string;
|
|
19
|
+
attachments: string[];
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
interface updateDepartureGroup {
|
|
23
|
+
type: Fulfill.Constants.DepartureGroupTypeEnum;
|
|
24
|
+
bizId: string;
|
|
25
|
+
data: {
|
|
26
|
+
tourGuideInfo: {
|
|
27
|
+
name: string;
|
|
28
|
+
mobile: string;
|
|
29
|
+
};
|
|
30
|
+
volunteerInfo: {
|
|
31
|
+
name: string;
|
|
32
|
+
mobile: string;
|
|
33
|
+
};
|
|
34
|
+
wxQrCode: string;
|
|
35
|
+
preDepartureStatement: string;
|
|
36
|
+
note: string;
|
|
37
|
+
attachments: string[];
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
interface getDepartureGroupByBizId {
|
|
41
|
+
type: Fulfill.Constants.DepartureGroupTypeEnum;
|
|
42
|
+
bizId: string;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
namespace Response {
|
|
46
|
+
interface getDepartureGroupByBizId {
|
|
47
|
+
id: string;
|
|
48
|
+
createdAt: number;
|
|
49
|
+
updatedAt: number;
|
|
50
|
+
deletedAt: number;
|
|
51
|
+
bizId: string;
|
|
52
|
+
type: Fulfill.Constants.DepartureGroupTypeEnum;
|
|
53
|
+
data: {
|
|
54
|
+
tourGuideInfo: {
|
|
55
|
+
name: string;
|
|
56
|
+
mobile: string;
|
|
57
|
+
};
|
|
58
|
+
volunteerInfo: {
|
|
59
|
+
name: string;
|
|
60
|
+
mobile: string;
|
|
61
|
+
};
|
|
62
|
+
wxQrCode: string;
|
|
63
|
+
preDepartureStatement: string;
|
|
64
|
+
note: string;
|
|
65
|
+
attachments: string[];
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
interface Controller {
|
|
70
|
+
/**
|
|
71
|
+
* 创建出团信息
|
|
72
|
+
* @path /departure-group/create-departure-group
|
|
73
|
+
*/
|
|
74
|
+
createDepartureGroup(request: Request.createDepartureGroup): Promise<void>;
|
|
75
|
+
/**
|
|
76
|
+
* 编辑出团信息
|
|
77
|
+
* @path /departure-group/update-departure-group
|
|
78
|
+
*/
|
|
79
|
+
updateDepartureGroup(request: Request.updateDepartureGroup): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* 根据bizId查询出团信息
|
|
82
|
+
* @path /departure-group/query-departure-group-by-biz-id
|
|
83
|
+
*/
|
|
84
|
+
getDepartureGroupByBizId(request: Request.getDepartureGroupByBizId): Promise<Response.getDepartureGroupByBizId>;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../src/tfs/modules/departureGroup/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { Itinerary } from './type';
|
|
3
|
+
declare class ItineraryService extends BaseService implements Itinerary.Controller {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
batchUpsertItineraryInfo(request: Itinerary.Request.batchUpsertItineraryInfo): Promise<void>;
|
|
6
|
+
importPreCheck(request: Itinerary.Request.importPreCheck): Promise<Itinerary.Response.importPreCheck>;
|
|
7
|
+
importSeatNumber(request: Itinerary.Request.importPreCheck): Promise<void>;
|
|
8
|
+
queryItineraryInfoByOrderIdList(request: Itinerary.Request.queryItineraryInfoByOrderIdList): Promise<Itinerary.Response.queryItineraryInfoByOrderIdList>;
|
|
9
|
+
}
|
|
10
|
+
declare const itineraryService: ItineraryService;
|
|
11
|
+
export default itineraryService;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const http_1 = require("../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../baseService"));
|
|
8
|
+
class ItineraryService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/itinerary';
|
|
12
|
+
}
|
|
13
|
+
batchUpsertItineraryInfo(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.batchUpsertItineraryInfo), request);
|
|
15
|
+
}
|
|
16
|
+
importPreCheck(request) {
|
|
17
|
+
return (0, http_1.callApi)(this.getApiUrl(this.importPreCheck), request);
|
|
18
|
+
}
|
|
19
|
+
importSeatNumber(request) {
|
|
20
|
+
return (0, http_1.callApi)(this.getApiUrl(this.importSeatNumber), request);
|
|
21
|
+
}
|
|
22
|
+
queryItineraryInfoByOrderIdList(request) {
|
|
23
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryItineraryInfoByOrderIdList), request);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const itineraryService = new ItineraryService();
|
|
27
|
+
exports.default = itineraryService;
|
|
28
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/itinerary/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,gBAAiB,SAAQ,qBAAW;IAA1C;;QACY,cAAS,GAAW,YAAY,CAAA;IAc5C,CAAC;IAZC,wBAAwB,CAAC,OAAmD;QAC1E,OAAO,IAAA,cAAO,EAAmD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1H,CAAC;IACD,cAAc,CAAC,OAAyC;QACtD,OAAO,IAAA,cAAO,EAAyC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAA;IACtG,CAAC;IACD,gBAAgB,CAAC,OAAyC;QACxD,OAAO,IAAA,cAAO,EAA2C,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1G,CAAC;IACD,+BAA+B,CAAC,OAA0D;QACxF,OAAO,IAAA,cAAO,EAA0D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,+BAA+B,CAAC,EAAE,OAAO,CAAC,CAAA;IACxI,CAAC;CACF;AAED,MAAM,gBAAgB,GAAG,IAAI,gBAAgB,EAAE,CAAA;AAE/C,kBAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { Fulfill } from '../../../types';
|
|
2
|
+
export declare namespace Itinerary {
|
|
3
|
+
namespace Request {
|
|
4
|
+
interface batchUpsertItineraryInfo {
|
|
5
|
+
/** 商品Id */
|
|
6
|
+
itemId: string;
|
|
7
|
+
/** skuId */
|
|
8
|
+
skuId: string;
|
|
9
|
+
/** 出行信息更新范围, touristId[]*/
|
|
10
|
+
upsertScope: {
|
|
11
|
+
[tradeOrderId: string]: string[];
|
|
12
|
+
};
|
|
13
|
+
/** 出行信息更新参数 */
|
|
14
|
+
upsertParam: {
|
|
15
|
+
/** 返程 */
|
|
16
|
+
RETURN?: {
|
|
17
|
+
/** 交通方式 */
|
|
18
|
+
transportationType: Fulfill.Constants.TransportationTypeEnum;
|
|
19
|
+
/** 始发点 */
|
|
20
|
+
departureStation?: string;
|
|
21
|
+
/** 集合时间 */
|
|
22
|
+
assemblyTime?: number;
|
|
23
|
+
/** 交通工具发车时间 */
|
|
24
|
+
transportationDepartureTime?: number;
|
|
25
|
+
/** 车次 | 航班信息 | 车牌号 */
|
|
26
|
+
serialNumber?: string;
|
|
27
|
+
/** 行程备注 */
|
|
28
|
+
remark?: string;
|
|
29
|
+
/** 座位号 */
|
|
30
|
+
seatNumber?: string;
|
|
31
|
+
/** 司机电话 */
|
|
32
|
+
driverPhone?: string;
|
|
33
|
+
};
|
|
34
|
+
/** 去程 */
|
|
35
|
+
DEPARTURE?: batchUpsertItineraryInfo['upsertParam']['RETURN'];
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
interface importPreCheck {
|
|
39
|
+
/** 商品id */
|
|
40
|
+
itemId: string;
|
|
41
|
+
/** skuId */
|
|
42
|
+
skuId: string;
|
|
43
|
+
/** 导入数据 */
|
|
44
|
+
importDataList: {
|
|
45
|
+
/** 姓名 */
|
|
46
|
+
name: string;
|
|
47
|
+
/** 身份证 */
|
|
48
|
+
idCard: string;
|
|
49
|
+
/** 去程座位号 */
|
|
50
|
+
departureSeatNumber: string;
|
|
51
|
+
/** 返程座位号 */
|
|
52
|
+
returnSeatNumber: string;
|
|
53
|
+
}[];
|
|
54
|
+
}
|
|
55
|
+
type importSeatNumber = importPreCheck;
|
|
56
|
+
interface queryItineraryInfoByOrderIdList {
|
|
57
|
+
[tradeOrderId: string]: {
|
|
58
|
+
/** skuId*/
|
|
59
|
+
skuId: string;
|
|
60
|
+
/** 出行人Id列表 */
|
|
61
|
+
touristIdList: string[];
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
namespace Response {
|
|
66
|
+
interface queryItineraryInfoByOrderIdList {
|
|
67
|
+
[tradeOrderIdList: string]: {
|
|
68
|
+
/** 类型 */
|
|
69
|
+
type: Fulfill.Constants.ItineraryTypeEnum;
|
|
70
|
+
/** 交通方式 */
|
|
71
|
+
transportationType: Fulfill.Constants.TransportationTypeEnum;
|
|
72
|
+
/** 始发点 */
|
|
73
|
+
departureStation: string;
|
|
74
|
+
/** 集合时间 */
|
|
75
|
+
assemblyTime: number;
|
|
76
|
+
/** 交通工具发车时间 */
|
|
77
|
+
transportationDepartureTime: number;
|
|
78
|
+
/** 座位号 */
|
|
79
|
+
seatNumber: string;
|
|
80
|
+
/** 车次 | 航班信息 | 车牌号 */
|
|
81
|
+
serialNumber: string;
|
|
82
|
+
/** 司机电话 */
|
|
83
|
+
driverPhone: string;
|
|
84
|
+
/** 行程备注 */
|
|
85
|
+
remark: string;
|
|
86
|
+
/** 订单Id */
|
|
87
|
+
tradeOrderId: string;
|
|
88
|
+
/** 出行人Id */
|
|
89
|
+
touristId: string;
|
|
90
|
+
/** 姓名 */
|
|
91
|
+
name: string;
|
|
92
|
+
}[];
|
|
93
|
+
}
|
|
94
|
+
type importPreCheck = {
|
|
95
|
+
/** 更新的参数 */
|
|
96
|
+
updateParamList: {
|
|
97
|
+
/** 行程id */
|
|
98
|
+
_id: string;
|
|
99
|
+
/** 座位号 */
|
|
100
|
+
seatNumber: string;
|
|
101
|
+
}[];
|
|
102
|
+
/** 无效身份证数组 */
|
|
103
|
+
invalidIdCardList: string[];
|
|
104
|
+
/** 有效身份证数组 */
|
|
105
|
+
validIdCardList: string[];
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
interface Controller {
|
|
109
|
+
/**
|
|
110
|
+
* 批量添加出行信息
|
|
111
|
+
* @path /itinerary/batch-upsert-itinerary-info
|
|
112
|
+
*/
|
|
113
|
+
batchUpsertItineraryInfo(request: Request.batchUpsertItineraryInfo): Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* 导入前置校验
|
|
116
|
+
* @path /itinerary/import-pre-check
|
|
117
|
+
*/
|
|
118
|
+
importPreCheck(request: Request.importPreCheck): Promise<Response.importPreCheck>;
|
|
119
|
+
/**
|
|
120
|
+
* 导入座位号
|
|
121
|
+
* @path /itinerary/import-seat-number
|
|
122
|
+
*/
|
|
123
|
+
importSeatNumber(request: Request.importSeatNumber): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* 查询旅游出行信息
|
|
126
|
+
* @path /itinerary/query-itinerary-info-by-order-id-list
|
|
127
|
+
*/
|
|
128
|
+
queryItineraryInfoByOrderIdList(request: Request.queryItineraryInfoByOrderIdList): Promise<Response.queryItineraryInfoByOrderIdList>;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../src/tfs/modules/itinerary/type.ts"],"names":[],"mappings":""}
|
package/types.d.ts
CHANGED
|
@@ -8,6 +8,42 @@ export declare namespace Fulfill {
|
|
|
8
8
|
GROUP_ORDER = "GROUP_ORDER",
|
|
9
9
|
GROUP_TEAM = "GROUP_TEAM"
|
|
10
10
|
}
|
|
11
|
+
/** 旅游行程类型枚举 */
|
|
12
|
+
const enum ItineraryTypeEnum {
|
|
13
|
+
/** 去程 */
|
|
14
|
+
DEPARTURE = "DEPARTURE",
|
|
15
|
+
/** 返程 */
|
|
16
|
+
RETURN = "RETURN"
|
|
17
|
+
}
|
|
18
|
+
/** 交通方式枚举 */
|
|
19
|
+
const enum TransportationTypeEnum {
|
|
20
|
+
/** 飞机 */
|
|
21
|
+
AIRPLANE = "AIRPLANE",
|
|
22
|
+
/** 火车 */
|
|
23
|
+
TRAIN = "TRAIN",
|
|
24
|
+
/** 动车 */
|
|
25
|
+
BULLET_TRAIN = "BULLET_TRAIN",
|
|
26
|
+
/** 高铁 */
|
|
27
|
+
HIGH_SPEED_RAIL = "HIGH_SPEED_RAIL",
|
|
28
|
+
/** 大巴 */
|
|
29
|
+
BUS = "BUS",
|
|
30
|
+
/** 无 */
|
|
31
|
+
ABSENT = "ABSENT"
|
|
32
|
+
}
|
|
33
|
+
/** 班车类型枚举 */
|
|
34
|
+
const enum ShuttleTypeEnum {
|
|
35
|
+
/** 去程 */
|
|
36
|
+
DEPARTURE = "DEPARTURE",
|
|
37
|
+
/** 返程 */
|
|
38
|
+
RETURN = "RETURN"
|
|
39
|
+
}
|
|
40
|
+
/** 出团类型 */
|
|
41
|
+
const enum DepartureGroupTypeEnum {
|
|
42
|
+
/** 小团 */
|
|
43
|
+
SMALL_GROUP = "SMALL_GROUP",
|
|
44
|
+
/** 大团 */
|
|
45
|
+
LARGE_GROUP = "LARGE_GROUP"
|
|
46
|
+
}
|
|
11
47
|
}
|
|
12
48
|
namespace Entity {
|
|
13
49
|
interface TradeOrderTourismInfo {
|